Live video stream generation method, data processing method and electronic equipment
Through the collaborative work of data perception, process driving and content expression equipment, live video streams are directly generated, which solves the problem of low data organization efficiency in the existing technology and achieves efficient generation of live video streams and meets user needs.
Patent Information
- Application Number
- CN202310416318.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-22
AI Technical Summary
In existing live broadcast technology, data organization efficiency is low, and multiple types of data are difficult to organize efficiently, resulting in a complicated and inefficient live broadcast process.
User demand data is obtained through data sensing equipment. The process driving equipment and content expression equipment output corresponding live broadcast process data and content data. The live broadcast data generation equipment generates live video streams based on these data, directly converting user needs into live video streams to avoid data Organizational issues and improve data organization efficiency.
It achieves efficient generation of live video streams, simplifies the process of setting up live broadcast rooms, improves data organization efficiency, meets user needs, and improves user experience.
Smart Images

Figure CN118828030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for generating a live video stream, a data processing method, and an electronic device. Background Art
[0002] With the development of live broadcast technology, online live broadcasting is gradually being chosen by more and more users to achieve different purposes, such as real-time live broadcasting of games, videos or selling products.
[0003] At present, the planning and implementation of the live broadcast room of online live broadcast at least include designing the live broadcast process of the live broadcast room, forming a live broadcast team, setting up the background of the live broadcast room, collecting the image and voice of the anchor, etc. It can be seen that the implementation process of live broadcast is relatively complicated, and the types of data involved in live broadcast (for example, audio data, image data, etc.) are relatively large. It is difficult to organize multiple types of data efficiently, resulting in low data organization efficiency. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a method for generating a live video stream, a data processing method and an electronic device, which can improve data organization efficiency.
[0005] The technical solution of this application is as follows:
[0006] In a first aspect, the present application provides a method for generating a live video stream, which is applied to a live broadcast system. The live broadcast system includes a data sensing device, a process driving device, a content expression device and a live broadcast data generation device. The method includes: the data sensing device receives user demand data, pre-processes the user demand data, obtains live broadcast feature data, and sends the live broadcast feature data to the process driving device and the content expression device; the process driving device receives the live broadcast feature data, determines the live broadcast process data corresponding to the live broadcast feature data from the process library, determines the live broadcast rule data corresponding to the live broadcast feature data from the rule library, and sends the live broadcast process data and the live broadcast rule data to the live broadcast data generation device; the content expression device receives the live broadcast feature data, determines the live broadcast content data corresponding to the live broadcast feature data from the content library, and sends the live broadcast content data to the live broadcast data generation device; the live broadcast data generation device generates a live video stream based on the live broadcast process data, the live broadcast rule data and the live broadcast content data, and the live video stream includes live image data and live audio data.
[0007] In combination with the first aspect, in another possible implementation method, the live broadcast feature data includes the live broadcast type, and the process library includes the correspondence between multiple live broadcast types and multiple live broadcast process data; the rule library includes the correspondence between multiple live broadcast types and multiple live broadcast rule data; the live broadcast process data corresponding to the live broadcast feature data is determined from the process library, and the live broadcast rule data corresponding to the live broadcast feature data is determined from the rule library, including: based on the live broadcast type, the correspondence between multiple live broadcast types and multiple live broadcast process data, and the correspondence between multiple live broadcast types and multiple live broadcast rule data, the live broadcast process data corresponding to the live broadcast type is determined from multiple live broadcast process data, and the live broadcast rule data corresponding to the live broadcast type is determined from multiple live broadcast rule data.
[0008] In combination with the first aspect, in another possible implementation method, the content library includes a correspondence between multiple live broadcast types and multiple live broadcast content data; the content library determines the live broadcast content data corresponding to the live broadcast feature data, including: based on the correspondence between the live broadcast type, multiple live broadcast types and multiple live broadcast content data, determining the live broadcast content data corresponding to the live broadcast type from the multiple live broadcast content data.
[0009] In combination with the first aspect, in another possible implementation method, the method also includes: a process-driven device receives a first operation of a user; in response to the first operation, determines process adjustment information and / or rule adjustment information corresponding to the first operation; and adjusts the live broadcast process data and / or live broadcast rule data according to the process adjustment information and / or rule adjustment information.
[0010] In combination with the first aspect, in another possible implementation, the method also includes: the process-driven device receives a second operation of the user; in response to the second operation, the live audio data in the live video stream is switched to target audio data, and the target audio data is audio data collected in real time using an audio acquisition device.
[0011] In combination with the first aspect, in another possible implementation manner, the method further includes: the content expression device receives a third operation of the user; in response to the third operation, determines content adjustment information corresponding to the third operation; and adjusts the live content data according to the content adjustment information.
[0012] In combination with the first aspect, in another possible implementation manner, the method also includes: a content expression device receives a user's selection operation of a first facial image from multiple preset facial images; in response to the selection operation, facial features are extracted from the first facial image to obtain facial feature data; the facial image of the live broadcast host is obtained, and the facial image of the live broadcast host is image data collected by an image acquisition device; the facial feature data and the facial image of the live broadcast host are fused to obtain fused target facial data, and the fused target facial data is used to replace the facial image of the live broadcast host in the live video stream.
[0013] In combination with the first aspect, in another possible implementation method, the method also includes: the content expression device receives a user's selection operation of a first timbre from multiple preset timbres; in response to the selection operation, extracts timbre features of the first timbre to obtain timbre feature data; obtains audio data of the live broadcast host; fuses the audio data and the timbre feature data to obtain fused target audio data, and uses the fused target audio data to replace the audio data in the live video stream.
[0014] In the second aspect, the present application provides a data processing method applied to a process-driven device, the method comprising: receiving live broadcast feature data from a data sensing device; determining live broadcast process data corresponding to the live broadcast feature data from a process library based on the live broadcast feature data, and determining live broadcast rule data corresponding to the live broadcast feature data from a rule library; and sending live broadcast process data and live broadcast rule data to a live broadcast data generating device.
[0015] In a third aspect, the present application provides a data processing method, which is applied to a content expression device, and the method includes: receiving live broadcast feature data from a data perception device; determining live broadcast content data corresponding to the live broadcast feature data from a content library based on the live broadcast feature data; and sending the live broadcast content data to a live broadcast data generation device.
[0016] In a fourth aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used to store computer instructions, and when the electronic device is running, the processor executes the computer instructions stored in the memory to enable the electronic device to perform the data processing method as described in the second aspect above.
[0017] In a fifth aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used to store computer instructions, and when the electronic device is running, the processor executes the computer instructions stored in the memory to enable the electronic device to perform the data processing method as described in the third aspect above.
[0018] In a seventh aspect, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on an electronic device, the electronic device can execute the method in the second aspect or the third aspect.
[0019] In an eighth aspect, a computer program product including computer instructions is provided. When the computer instructions are executed on an electronic device, the electronic device can execute the method in the second aspect or the third aspect.
[0020] In a ninth aspect, a device (for example, the device may be a chip system) is provided, the device including a processor for supporting an electronic device to implement the functions involved in the second aspect or the third aspect. In one possible design, the device also includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.
[0021] In this application, the above names do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.
[0022] These and other aspects of the present application will become more apparent from the following description.
[0023] Compared with the prior art, the technical solution provided by the present application has the following advantages: the user's demand data is obtained through the data sensing device, and according to the user's demand data, the process driving device and the content expression device output the live broadcast process data, live broadcast rule data and live broadcast content data corresponding to the user's demand data, and finally the live broadcast data generation device generates a live broadcast video stream according to the live broadcast process data, live broadcast rule data and live broadcast content data. Applying the technical solution disclosed in the present application, the user's demand data can be directly converted into a live broadcast video stream through the cooperation between the data sensing device, the process driving device, the content expression device and the live broadcast data generation device, avoiding the data organization problem in the existing live broadcast room formation process and improving the data organization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0026] Figure 1 A schematic diagram of the structure of an implementation environment provided for an embodiment of the present application.
[0027] Figure 2 A schematic diagram of the structure of a live broadcast system provided in an embodiment of the present application.
[0028] Figure 3One of the flow charts of a method for generating a live video stream provided in an embodiment of the present application.
[0029] Figure 4 The present invention provides a second flowchart of a method for generating a live video stream in an embodiment of the present application.
[0030] Figure 5 The third flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0031] Figure 6 The fourth flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0032] Figure 7 This is one of the scenario diagrams provided in an embodiment of the present application.
[0033] Figure 8 The present invention provides a second scenario diagram for an embodiment of the present application.
[0034] Fig. 9 The fifth flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0035] Fig.10 The sixth flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0036] Fig.11 The third scenario diagram provided for an embodiment of the present application.
[0037] Fig.12 FIG7 is a flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0038] Fig.13 FIG8 is a flowchart of a method for generating a live video stream provided in an embodiment of the present application.
[0039] Fig.14 A flowchart of a data processing method provided in an embodiment of the present application.
[0040] Fig.15 A flowchart of another data processing method provided in an embodiment of the present application.
[0041] Fig.16 A schematic diagram of the structure of a process driving device provided in an embodiment of the present application.
[0042] Fig.17 A schematic diagram of the structure of a content presentation device provided in an embodiment of the present application.
[0043] Fig.18A schematic diagram of the framework of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0046] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0047] In view of the problems described in the background technology, the embodiments of the present application provide a method for generating a live video stream, obtain user demand data through a data sensing device, and according to the user demand data, a process driving device and a content expression device output the live process data, live rule data and live content data corresponding to the user demand data, and finally a live data generation device generates a live video stream according to the live process data, live rule data and live content data. By applying the technical solution disclosed in the present invention, the user's demand data can be directly converted into a live video stream through the cooperation between the data sensing device, the process driving device, the content expression device and the live data generation device, thereby avoiding the data organization problem in the existing live broadcast room formation process and improving the data organization efficiency.
[0048] The following describes the method for generating a live video stream provided by the embodiment of the present application. A person skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
[0049] The embodiment of the present application provides a live broadcast system, which can be applied to Figure 1In the implementation environment shown, the implementation environment may include a live broadcast system 01, a live broadcast platform 02 and a user terminal 03. The live broadcast system 01 and the live broadcast platform 02 may communicate with each other via a wired or wireless communication method, and the live broadcast platform 02 and the user terminal 03 may also communicate with each other via a wired or wireless communication method.
[0050] The live broadcast system 01 is mainly used to generate a live video stream, and then push the live video stream to the live broadcast platform 02 for live broadcast. In the embodiment of the present application, there can be one or more live broadcast platforms 02. Figure 1 Only one live broadcast platform 02 is used as an example, and no specific limitation is made to it.
[0051] The live broadcast platform 02 is mainly used to push the live broadcast data stream to the user terminal 03 according to specific rules after receiving the live broadcast video stream from the live broadcast system 01, so that the user terminal 03 plays the live broadcast data corresponding to the live broadcast video stream for the user to watch. In the embodiment of the present application, there can be one or more user terminals 03. The user terminal 03 can be an electronic device installed with the live broadcast application corresponding to the live broadcast platform 02.
[0052] like Figure 2 As shown, the live broadcast system 01 may include: a data perception device 10, a process driving device 20, a content expression device 30 and a live broadcast data generation device 40. Among them, the data perception device 10 can communicate with the process driving device 20 and the content expression device 30 respectively. The process driving device 20 and the content expression device 30 can both communicate with the live broadcast data generation device 40. It should be noted that the data perception device 10, the process driving device 20, the content expression device 30 and the live broadcast data generation device 40 can be multiple separate devices, or different functional components in a device, or modules that implement different functions in a data center.
[0053] Among them, the data perception module 10 is used to receive user demand data, pre-process the user demand data, obtain live broadcast feature data, and send the live broadcast feature data to the process driving device 20 and the content expression device 30; the process driving device 20 is used to receive the live broadcast feature data, determine the live broadcast process data corresponding to the live broadcast feature data from the process library, determine the live broadcast rule data corresponding to the live broadcast feature data from the rule library, and send the live broadcast process data and live broadcast rule data to the live broadcast data generation device 40; the content expression device 30 is used to receive the live broadcast feature data, determine the live broadcast content data corresponding to the live broadcast feature data from the content library, and send the live broadcast content data to the live broadcast data generation device 40; the live broadcast data generation device 40 generates a live video stream based on the live broadcast process data, the live broadcast rule data and the live broadcast content data, and the live broadcast video stream includes live image data and live audio data.
[0054] based on Figure 2 The live broadcast system shown in the figure is shown in the figure. Figure 3 , a flow chart of a method for generating a live video stream provided in an embodiment of the present application. Figure 3 As shown, the method may include steps 301 to 304.
[0055] Step 301: The data sensing device receives user demand data, pre-processes the user demand data, obtains live broadcast feature data, and sends the live broadcast feature data to the decision-making device.
[0056] Among them, the user's demand data can be used to describe a live broadcast room that meets the user's needs. For example, a live broadcast room that meets the user's needs can be a live broadcast room with goods, and the category of goods brought is maternal and child products.
[0057] In some embodiments, the data sensing device may include an order system. A user may publish demand data on the order system, and the data sensing device may obtain the user's demand data through the order system. After obtaining the user's demand data, the data sensing device may pre-process the user's demand data to obtain live broadcast feature data corresponding to the demand data.
[0058] Generally, the user can input the demand data in the order system in a variety of different forms. For example, the user can input the demand data in the order system in the form of text. Or, the user can input the demand data in the order system in the form of audio. Or, the user can select the demand data from multiple demand options provided by the order system.
[0059] Since users can input demand data in the order system in a variety of different forms, the way in which the data perception device preprocesses the user's demand data will also be adjusted according to the form in which the user inputs the demand data. For example, if the user inputs the demand data in the form of text, the data perception device may preprocess the user's demand data by performing a semantic analysis on the text and outputting the semantic result corresponding to the text, that is, obtaining the live broadcast feature data. For another example, if the user inputs the demand data in the form of audio, the data perception device may preprocess the user's demand data by first converting the audio into text, then performing a semantic analysis on the text, and outputting the semantic result corresponding to the text, that is, obtaining the live broadcast feature data. For another example, if the user selects demand data from multiple demand options provided by the order system, the data perception device may obtain the live broadcast feature data based on the selected demand option.
[0060] For example, the user inputs the demand data "create a live broadcast room for selling kitchen supplies". The data sensing device preprocesses the user's demand data and outputs the live broadcast feature data of "live broadcast room for selling kitchen supplies" and "kitchen supplies". After the live broadcast feature data is obtained, the live broadcast feature data can be sent to the process driving device and the content driving device. The process driving device and the content driving device determine the corresponding live broadcast room based on the live broadcast feature data.
[0061] Step 302: The process driving device receives the live broadcast feature data, determines the live broadcast process data corresponding to the live broadcast feature data from the process library, determines the live broadcast rule data corresponding to the live broadcast feature data from the rule library, and sends the live broadcast process data and live broadcast rule data to the live broadcast data generating device.
[0062] Among them, the process-driven device includes a process library and a rule library. The process library includes multiple live broadcast processes, such as the opening ice-breaking process, the welfare broadcast process, the continuous warm-up process, the product introduction process, the interactive lottery process, the ending process, etc. The rule library includes multiple rules, and multiple rules can be designed for different contents. For example, rules set for the number of online people, rules set for interval time, rules set for keywords, rules for newly added attention settings, rules for newly added gift settings, rules for newly added browsing settings, rules for newly added likes settings, rules for scheduled broadcast settings, and so on.
[0063] Live streaming process data can help make the live streaming sessions in the live streaming room more in line with user expectations, thereby increasing the popularity of the live streaming room. Live streaming rule data can help increase the interactivity of the live streaming room and improve the retention rate of users in the live streaming room.
[0064] Exemplarily, the live broadcast process data may include the live broadcast process of the live broadcast room. The live broadcast rule data may be some live broadcast rules set according to the user's demand data. For example, the live broadcast rule data is set to trigger the anchor to say a welcome speech every 30 minutes, "Thank you very much to all the fans who stay in my live broadcast room. My live broadcast time is XX o'clock to XX o'clock every day, rain or shine. If you haven't followed me, remember to follow me. If you have followed me, remember to come on time every day."
[0065] Step 303: The content expression device receives the live broadcast characteristic data, determines the live broadcast content data corresponding to the live broadcast characteristic data from the content library, and sends the live broadcast content data to the live broadcast data generation device.
[0066] The live content data includes live image data and live audio data. The live content data helps to enrich the content of the live broadcast room, thereby attracting more users to stay in the live broadcast room. For example, in addition to the live image data and live audio data, the live content data can also include all the content of the live broadcast room. For example, the anchor information, speech information, live broadcast room background information, and product information.
[0067] In the embodiment of the present application, in order to avoid adverse effects on the live broadcast due to personal reasons of the anchor, the anchor of the live broadcast room can be a digital human anchor, and the anchor information in the live broadcast content data can include the image information and sound information of the digital human anchor. Among them, the image information can include the expression, action, clothing, body features and facial features of the digital human anchor. The sound information can include multiple optional sound features (such as timbre, volume, etc.).
[0068] The speech information may include the speech that the digital human anchor says in different live broadcast processes and the speech corresponding to different interactive rules. For example, the speech corresponding to the live broadcast process may include opening speech, warm-up speech, stocking speech, fan-loving speech, and ending speech. The speech corresponding to the interactive rules may include: promotional speech (used to promote products), guiding speech (users guide users to buy products), explanation speech (used to explain products), interactive speech (used to improve the atmosphere of the live broadcast room), barrage response speech (used to respond to barrage questions, etc.), event response speech (used to respond to specific live broadcast events), etc. Taking interactive speech as an example, the interactive speech can be specifically for the case where the user watching the live broadcast room requests to send benefits, and the digital human anchor can say such words as "Please like more, the more likes, the anchor can apply for more benefits for everyone".
[0069] The live broadcast room background information may include all the scenes required for the live broadcast room. For example, the live broadcast room background information may include the main background of the live broadcast room (such as a kitchen with stickers, a shopping mall, etc.), lighting (brightness, direction, etc.), background music, and parameters of the ornaments in the background (position, size, etc.).
[0070] Product information may include content related to the products for sale, such as the product's corresponding sales pitch and product materials (product pictures, product videos, product inspection reports), etc.
[0071] It should be noted that the execution relationship between step 202 and step 203 is not limited in the embodiment of the present application. Step 202 may be executed first, and then step 203; step 203 may be executed first, and then step 202; and step 202 and step 203 may be executed simultaneously.
[0072] Step 304: The live broadcast data generating device generates a live broadcast video stream based on the live broadcast process data, the live broadcast rule data and the live broadcast content data.
[0073] The live video stream includes live image data and live audio data.
[0074] After the live data generating device obtains the live process data, live rule data and live content data, it can merge the live process data, live rule data and live content data to generate a live video stream, and display the live room to the viewing users by playing the live video stream. Afterwards, the live video stream can be pushed to the live platform 02, so that the live platform 02 pushes the live video stream to the user terminal 03 for live broadcast, thereby displaying the live room to the viewing users.
[0075] The embodiment of the present disclosure provides a method for generating a live video stream, which obtains user demand data through a data sensing device, and according to the user demand data, a process driving device and a content expression device output the live process data, live rule data and live content data corresponding to the user demand data, and finally a live data generation device generates a live video stream according to the live process data, live rule data and live content data. By applying the technical solution of the present disclosure, the user's demand data can be directly converted into a live video stream through the cooperation between the data sensing device, the process driving device, the content expression device and the live data generation device, thereby avoiding the data organization problem in the existing live broadcast room formation process and improving the data organization efficiency.
[0076] In some embodiments, Figure 4 As shown, in step 302, "determining the live broadcast process data corresponding to the live broadcast feature data from the process library, and determining the live broadcast rule data corresponding to the live broadcast feature data from the rule library" includes:
[0077] Step 3021: Based on the live broadcast type, the correspondence between multiple live broadcast types and multiple live broadcast process data, and the correspondence between multiple live broadcast types and multiple live broadcast rule data, determine the live broadcast process data corresponding to the live broadcast type from the multiple live broadcast process data, and determine the live broadcast rule data corresponding to the live broadcast type from the multiple live broadcast rule data.
[0078] The live broadcast feature data includes the live broadcast type, the process library includes the corresponding relationship between multiple live broadcast types and multiple live broadcast process data, and the rule library includes the corresponding relationship between multiple live broadcast types and multiple live broadcast rule data.
[0079] Generally, the live broadcast types in the live broadcast market include daily chat live broadcast, talent show live broadcast (used to perform a certain talent), e-commerce live broadcast (used to sell and convert products) and knowledge live broadcast (used to illustrate knowledge and skills in a certain field or share on a certain topic).
[0080] Since the live broadcast process and live broadcast rules of the live broadcast rooms corresponding to different live broadcast types are slightly different, the live broadcast process data and live broadcast rule data of several common types of live broadcast rooms can be sorted out in advance, and then multiple live broadcast types and the live broadcast process data corresponding to each live broadcast type can be stored in the process library, and multiple live broadcast types and the live broadcast rule data corresponding to each live broadcast type can be stored in the rule library.
[0081] When it is necessary to create a live broadcast room for a user, the live broadcast process data and live broadcast rule data corresponding to the live broadcast type can be selected in the process library and rule library according to the live broadcast type corresponding to the user's demand data. Exemplarily, the process library includes at least the live broadcast process data corresponding to daily chat type live broadcast, the live broadcast process data corresponding to talent display type live broadcast, the live broadcast process data corresponding to e-commerce live broadcast with goods, and the live broadcast process data corresponding to knowledge type live broadcast. The rule library includes at least the live broadcast rule data corresponding to daily chat type live broadcast, the live broadcast rule data corresponding to talent display type live broadcast, the live broadcast rule data corresponding to e-commerce live broadcast with goods, and the live broadcast rule data corresponding to knowledge type live broadcast.
[0082] For example, the user's demand data is "create a live broadcast room for selling maternal and infant products, and the products sold include XX milk powder, XX milk bottles, etc." According to the user's demand data, the live broadcast type in the live broadcast feature data is an e-commerce live broadcast with goods. Then, the live broadcast process data corresponding to the e-commerce live broadcast with goods can be determined from the process library, such as opening data, warm-up data, stocking data, fan-loving data, and ending data. Among them, the opening data includes the opening words and the opening time. The warm-up data includes the warm-up words and the warm-up time. The stocking data includes the stocking words and the stocking time. The fan-loving data includes the fan-loving words and the fan-loving time. The ending data includes the ending words and the ending time, etc. The live broadcast rule data corresponding to the e-commerce live broadcast with goods can be determined from the rule library. For example, when the condition of "the number of online people reaches 100" is triggered, the live broadcast host is triggered to say the welcome words. When the condition of "every 30 minutes" is triggered, the live broadcast host is triggered to say the attention words.
[0083] In some embodiments, the specific implementation of the live broadcast rules included in the live broadcast rule data can be implemented by an artificial intelligence (AI) robot (specifically an AI device or an AI module). After the process-driven device determines the live broadcast rule data, the live broadcast rule data can be sent to the AI robot. The AI robot can perform corresponding rule response operations during the live broadcast of the live data stream based on the rules in the live broadcast rule data. For example, the first rule in the live broadcast rule data is "if the barrage asks about the price, the product price will be displayed in the barrage". When the first rule is triggered during the live broadcast, the AI robot will instruct the live broadcast device to display the product price. In practice, the AI robot can be a section of program code, or a functional module that executes the program code. In the embodiment of the present application, the AI robot can be a part of the process-driven device, or it can be a device (or a part thereof) separate from the process-driven device, and the present application does not make specific restrictions on this. In the case where the AI robot does not belong to the process-driven device, the AI robot or the device where the AI robot is located can communicate with the process-driven device so that the process-driven device can use the function of the AI robot.
[0084] In some embodiments, Figure 5 As shown, in step 303, "the content library determines the live content data corresponding to the live feature data" includes:
[0085] Step 3031: Based on the correspondence between the live broadcast type, multiple live broadcast types and multiple live broadcast content data, determine the live broadcast content data corresponding to the live broadcast type from the multiple live broadcast content data.
[0086] The live broadcast feature data includes the live broadcast type, and the content library includes the correspondence between multiple live broadcast types and multiple live broadcast content data.
[0087] In combination with step 3021, it can be known that the live broadcast content of the live broadcast room corresponding to different live broadcast types is slightly different, so the live broadcast content data of several common types of live broadcast rooms can be sorted out in advance, and then multiple live broadcast types and the live broadcast content data corresponding to each live broadcast type can be stored in the content library. When it is necessary to create a live broadcast room for a user, the live broadcast content data corresponding to the live broadcast type can be selected from the content library according to the live broadcast type corresponding to the user's demand data.
[0088] Exemplarily, the content library includes at least live broadcast content data corresponding to daily chat-type live broadcasts, live broadcast content data corresponding to talent show-type live broadcasts, live broadcast content data corresponding to e-commerce product-selling live broadcasts, and live broadcast content data corresponding to knowledge-based live broadcasts.
[0089] For example, the user's demand data is "create a live broadcast room that sells maternal and infant products, including XX milk powder, XX milk bottles, etc." According to the user's demand data, the live broadcast type required by the user is e-commerce live broadcast with goods, and the live broadcast content data corresponding to the e-commerce live broadcast with goods can be determined in the content library, such as a live broadcast host wearing a professional suit, a background with stickers of goods, a material with the brand logo of the goods, a speech with the product introduction, etc.
[0090] In some other embodiments, when a live broadcast room needs to be created for a user, the process driving device and the content expression device can provide the user with all the content needed to create the live broadcast room, for example, multiple live broadcast process data, multiple live broadcast rule data, and multiple live broadcast content data. The user can filter out the target live broadcast process data, target live broadcast rule data, and target live broadcast content data from the multiple live broadcast process data, multiple live broadcast rule data, and multiple live broadcast content data provided by the process driving device and the content expression device according to the needs, and then the live broadcast data generation device can generate the final live broadcast video stream based on the filtered target live broadcast process data, target live broadcast rule data, and target live broadcast content data.
[0091] In some embodiments, after the process driving device receives the live broadcast process data and live broadcast rule data, the process driving device can display the live broadcast process data and live broadcast rule data in any way, and allow the user to adjust the live broadcast process data and live broadcast rule data. Afterwards, the live broadcast process data and / or live broadcast rule data can be adjusted according to the adjustment operation to achieve the effect of improving user experience. Based on this, if Figure 6 As shown in the above Figure 3 Based on the embodiment shown, the method further includes the following steps:
[0092] Step 601: The process driving device receives a first operation from a user.
[0093] Exemplarily, the first operation may be a process deletion operation, a process adjustment operation, a rule deletion operation, and a rule adjustment operation. For example, the process deletion operation may be to delete the first process (e.g., the warm-up process) in the live process data. The process adjustment operation may be to adjust the second process (e.g., the fan welfare process) in the live process data to before and / or after the third process (e.g., the stocking process). The rule deletion operation may be to delete the first rule in the live rule data (e.g., when the number of new followers reaches 3, the welcome speech is triggered). The rule adjustment operation may be to adjust the second rule (e.g., the warm-up process) in the live rule data. For example, the second rule in the live rule data (e.g., when the number of new followers reaches 100, the attention speech is triggered) is adjusted.
[0094] Step 602: In response to a first operation, determine process adjustment information and / or rule adjustment information corresponding to the first operation.
[0095] The process adjustment information and / or the rule adjustment information may be specific content corresponding to the first operation.
[0096] For example, if the first operation is to delete the first process in the live broadcast process data (for example, the warm-up process), the process adjustment information is to delete the first process in the live broadcast process data, or to indicate the relevant instructions to delete the first process in the live broadcast process data (for example, the delete instruction). If the first operation is to adjust the second rule in the live broadcast rule data (for example, the number of new people entering the live broadcast room reaches 100, triggering the attention speech), the rule adjustment information is to adjust the second rule, or to indicate the relevant instructions to adjust the second rule.
[0097] Step 603: adjust the live broadcast process data and / or live broadcast rule data according to the process adjustment information and / or rule adjustment information.
[0098] According to the process adjustment information and / or the rule adjustment information, the live broadcast process data and / or the live broadcast rule data are adjusted.
[0099] For example, if the process adjustment information is to delete the first process in the live broadcast process data, the first process is deleted according to the process adjustment information. For another example, if the rule adjustment information is to adjust the second rule in the live broadcast rule data, the second rule is adjusted according to the rule adjustment information to obtain the adjusted second rule (for example, the number of new people entering the live broadcast room reaches 30, triggering the attention speech).
[0100] like Figure 7 As shown, the process driving device receives the user's process script editing operation, which specifically edits the script of the opening ice-breaking process, such as adding scripts, modifying scripts, exporting scripts, etc. In response to the user's script editing operation on the opening ice-breaking process, the process adjustment information corresponding to the script editing operation is determined. According to the process adjustment information, the script of the opening ice-breaking process is adjusted. Among them, the operable objects of the process script editing operation are detailed in Figure 7 The content shown.
[0101] like Figure 8 As shown, the process driving device receives the user's rule adjustment operation, which is specifically to adjust the rules configured in the live broadcast room, such as creating a new rule and modifying a rule. In response to the user's rule adjustment operation, the rule adjustment information corresponding to the rule adjustment operation is determined. According to the rule adjustment information, the rules of the live broadcast room are adjusted. Among them, the operable objects of the rule adjustment operation are detailed in Figure 8 The content shown.
[0102] Based on the above technical solution, before generating the live video stream, the user can arbitrarily change and adjust the live process data and live rule data according to their own needs, so that the final live video stream is more in line with the user's needs and the user experience is improved.
[0103] In some embodiments, Fig. 9 As shown in the above Figure 3 Based on the embodiment shown, the method further includes the following steps:
[0104] Step 901: The process driving device receives a second operation from a user.
[0105] Exemplarily, the second operation may be an audio switching operation. For example, the audio switching operation may be switching live audio data in a live video stream.
[0106] Step 902: In response to the second operation, the live audio data in the live video stream is switched to the target audio data.
[0107] Exemplarily, in response to the second operation, the process driving device switches the audio in the live video stream from one type (e.g., live audio data) to another type (e.g., target audio data). For example, the live audio data may be audio data in the live video stream, and the target audio data may be audio data collected in real time from an audio acquisition device. For another example, the live audio data may be audio data collected in real time from an audio acquisition device, and the target audio data may be audio data pre-synthesized according to a fixed script.
[0108] Based on the above technical solution, before generating the live video stream, the user can arbitrarily change and adjust the live content data according to his own needs, so that the final live video stream is more in line with the user's needs, thereby improving the user's experience.
[0109] In some embodiments, Fig.10 As shown in the above Figure 3 Based on the embodiment shown, the method further includes the following steps:
[0110] Step 1001: The content presentation device receives a third operation from a user.
[0111] Exemplarily, the third operation may include a content deletion operation, a content adjustment operation, and a content addition operation. For example, the content deletion operation may be to delete the first content (e.g., background content) in the live content data. The content adjustment operation may be to adjust the second content (e.g., lighting content) in the live content data (e.g., adjusting the lighting angle). The content addition operation may be to add the third content (e.g., interactive content) in the live content data.
[0112] Step 1002: In response to a third operation, determine content adjustment information corresponding to the third operation.
[0113] The content adjustment information may be specific content corresponding to the third operation. For example, if the third operation is to delete the first content (e.g., background content) in the live content data, the content adjustment information may be a command to delete the first content in the live content data, or a command to delete the first content in the live content data (e.g., a delete command).
[0114] Step 1003: Adjust the live content data according to the content adjustment information.
[0115] According to the content adjustment information, the specific content in the live content data is adjusted. For example, if the content adjustment information is to delete the first content in the live content data, the first content (eg, background content) is deleted according to the content adjustment information, that is, the background content is deleted.
[0116] like Fig.11 As shown, the content presentation device receives the anchor selection operation of the user, and the anchor selection operation is specifically to select the live anchor of the live broadcast room. Fig.11 Select the target anchor Xiao A from the anchor Xiao A and anchor Xiao B shown in the figure. In response to the anchor selection operation of the user, determine the content adjustment information corresponding to the anchor selection operation. According to the content adjustment information, adjust the live anchor of the live broadcast room. Among them, the selectable objects of the anchor selection operation are detailed in Fig.11 The content shown.
[0117] Based on the above technical solution, users can arbitrarily change and adjust the image of the live broadcast host in the live broadcast content data according to their own needs, so that the image of the live broadcast host in the live video stream better meets the needs of users and improves the user experience. Fig.12 , the present application embodiment provides a flowchart of another method for generating a live video stream. Figure 1 The content presentation device in the live broadcast system shown in FIG. Fig.12 As shown, the method may include steps 1201 to 1204.
[0118] Step 1201: A content expression device receives a user's selection operation of a first facial image from among a plurality of preset facial images.
[0119] In order to improve the user experience of the live broadcast system, a plurality of preset facial images are pre-stored in the content library of the content expression device. No matter before or after generating the live video stream, the user can select a face from the plurality of preset facial images to adjust the image of the live broadcast host in the live broadcast room, so that the adjusted image of the live broadcast host can be more attractive to the viewing users.
[0120] Typically, a user can directly select a certain face image (for example, a first face image) from a plurality of preset face images as the digital human anchor image of the live broadcast room, or can select the first face image from a plurality of preset face images and modify the image of the live broadcast anchor based on the first face image.
[0121] Step 1202: In response to the selection operation, facial feature extraction is performed on the first facial image to obtain facial feature data.
[0122] After receiving the user's selection operation on the first face image, the content presentation device can extract facial features from the first face image in response to the selection operation to obtain facial feature data, and then integrate the extracted facial feature data into the image of the live broadcast host.
[0123] Exemplarily, performing facial feature extraction on the first face image to obtain facial feature data may be inputting the first face image into a facial feature extraction model, and the facial feature extraction model outputs facial feature data corresponding to the first face image. In an embodiment of the present application, the facial feature extraction model may be obtained by training a convolutional neural network based on multiple face images and facial feature data of the face images, and the specific training method may be any feasible method, and the embodiment of the present application does not impose any specific limitation on this.
[0124] Step 1203: Acquire the facial image of the live broadcast host, where the facial image of the live broadcast host is image data acquired by an image acquisition device.
[0125] If the facial image of the live broadcast host is obtained before the live video stream is generated, then the image acquisition device may be a content expression device, that is, the facial image of the live broadcast host in the live broadcast room is generated through the content expression device.
[0126] If the facial image of the live broadcast host is obtained during the playback of the live video stream, and the live broadcast host is a real person, then the image acquisition device may be a live broadcast camera in the live broadcast room, that is, the facial image of the live broadcast host in the live broadcast room is obtained through the live broadcast camera.
[0127] Step 1204: fuse the facial feature data and the facial image of the live broadcast host to obtain fused target facial data, and use the fused target facial data to replace the facial image of the live broadcast host in the live video stream.
[0128] After obtaining the facial feature data of the facial image of the live broadcast host and the first facial image, the facial feature data of the facial image of the live broadcast host and the first facial image can be fused to obtain fused target facial data. The fused target facial data is more in line with user expectations than the facial image of the live broadcast host.
[0129] Based on the above technical solution, users can arbitrarily change and adjust the voice of the live host in the live content data according to their own needs, so that the voice of the live host in the final live video stream better meets the needs of users and improves the user experience. Fig.13 , the present application embodiment provides a flowchart of another method for generating a live video stream. Figure 1 The process driving device in the live broadcast system shown in FIG. Fig.13 As shown, the method may include steps 1301 to 1304.
[0130] Step 1301: The content expression device receives a user's selection operation of a first timbre from a plurality of preset timbres.
[0131] In order to meet users' needs for sound optimization and change, multiple preset tones are pre-stored in the content library of the content expression device. Before generating the live video stream, users can select from multiple preset tones to adjust the voice of the live broadcast host in the live broadcast room, so that the adjusted voice of the live broadcast host can attract more viewers.
[0132] If the user is not satisfied with his original voice, he can directly select a certain voice (for example, the first voice) from multiple preset voices as the voice of the live broadcast host. If the user wants to optimize his voice, he can select the first voice from multiple preset voices and use the first voice to modify the original voice of the live broadcast host.
[0133] Step 1302: In response to the selection operation, extract timbre features of the first timbre to obtain timbre feature data.
[0134] When the user wants to optimize his voice using the first timbre, the content expression device can extract the timbre features of the first timbre in response to the selection operation after receiving the user's selection operation on the first timbre, and then integrate the extracted timbre features into the voice of the live broadcast host.
[0135] Exemplarily, the timbre feature extraction for the first timbre may be to extract the frequency domain feature and the time domain feature of the first timbre respectively, so as to obtain the timbre feature data corresponding to the first timbre. Specifically, the timbre feature extraction for the first timbre may be performed using the MFCC algorithm to obtain the timbre feature data. Alternatively, the first timbre may be input into a timbre extraction model, and the timbre extraction model outputs the timbre feature data corresponding to the first timbre. In an embodiment of the present application, the timbre extraction model may be obtained by training a neural network model based on multiple timbres and the timbre feature data of multiple timbres, and the specific training method may be any feasible method, and the embodiment of the present application does not impose any specific limitation on this.
[0136] Step 1303: Obtain the audio data of the live broadcast host.
[0137] Among them, the audio data of the live broadcast host is the audio data collected by using the audio collection equipment.
[0138] In some embodiments, the audio data of the live broadcast host may be pre-edited before the live video stream is generated. For example, in response to a user's selection operation in a sound library, the sound selected by the user is used as the host's audio data. For another example, in response to a user's sound recording operation, the sound pre-recorded from a microphone or other recording device is used as the host's audio data.
[0139] The audio data of the live broadcast host can also be collected in real time along with the live video stream. For example, when playing the live video stream, the sound collected in real time by a microphone or other audio collection device.
[0140] Step 1304: fuse the audio data and the timbre feature data to obtain fused target audio data, and use the fused target audio data to replace the audio data in the live video stream.
[0141] After obtaining the audio data of the live broadcast host and the timbre feature data of the first timbre, the audio data and the timbre feature data of the live broadcast host can be fused to obtain fused target audio data. The fused target audio data is more in line with user expectations than the audio data of the live broadcast host.
[0142] refer to Fig.14 , the present application embodiment provides a flowchart of a data processing method. Figure 2 The process driving device in the live broadcast system shown in FIG. Fig.14 As shown, the method may include steps 1401 to 1408.
[0143] Step 1401: Receive live feature data from a data sensing device.
[0144] Step 1402: According to the live broadcast feature data, determine the live broadcast process data corresponding to the live broadcast feature data from the process library, and determine the live broadcast rule data corresponding to the live broadcast feature data from the rule library.
[0145] Step 1403: Send the live broadcast process data and live broadcast rule data to the live broadcast data generating device.
[0146] For details of steps 1401-1403, refer to the aforementioned Figure 3 The description is not repeated here.
[0147] In some other embodiments, the method further comprises:
[0148] Step 1404: Receive the user's first operation.
[0149] Step 1405: In response to the first operation, determine process adjustment information and / or rule adjustment information corresponding to the first operation;
[0150] Step 1406: adjust the live broadcast process data and / or live broadcast rule data according to the process adjustment information and / or rule adjustment information.
[0151] For details of steps 1404-1406, refer to the aforementioned Figure 6-Figure 8 The description is not repeated here.
[0152] In some other embodiments, the method further comprises:
[0153] Step 1407: receiving a second operation of the user;
[0154] Step 1408: In response to the second operation, the live audio data in the live video stream is switched to target audio data, wherein the target audio data is audio data collected in real time by an audio collection device.
[0155] For details of steps 1407-1408, refer to the aforementioned Fig. 9 The description is not repeated here.
[0156] refer to Fig.15 , the present application embodiment provides a flowchart of another data processing method. Figure 1 The content presentation device in the implementation environment shown is Fig.15 As shown, the method may include steps 1501 to 1514.
[0157] Step 1501: Receive live feature data from a data sensing device.
[0158] Step 1502: According to the live broadcast characteristic data, determine the live broadcast content data corresponding to the live broadcast characteristic data from the content library.
[0159] Step 1503: Send the live content data to the live data generating device.
[0160] The details of steps 1501-1503 refer to the above Figure 3 The description is not repeated here.
[0161] In some other embodiments, the method further comprises:
[0162] Step 1504: receiving a third operation from the user;
[0163] Step 1505: In response to the third operation, determine content adjustment information corresponding to the third operation;
[0164] Step 1506: Adjust the live content data according to the content adjustment information.
[0165] The details of steps 1504-1506 refer to the above Figure 10-11 The description is not repeated here.
[0166] In some other embodiments, the method further comprises:
[0167] Step 1507: receiving a user's selection operation of a first facial image from among a plurality of preset facial images;
[0168] Step 1508: In response to the selection operation, extract facial features from the first facial image to obtain facial feature data;
[0169] Step 1509: Acquire a facial image of the live broadcast host, where the facial image of the live broadcast host is image data collected by an image acquisition device;
[0170] Step 1510: fuse the facial feature data and the facial image of the live broadcast host to obtain fused target facial data, and use the fused target facial data to replace the facial image of the live broadcast host in the live video stream.
[0171] Among them, the details of steps 1507-1510 refer to the above Fig.12 The description is not repeated here.
[0172] In some other embodiments, the method further comprises:
[0173] Step 1511, receiving a user's selection operation of a first timbre from a plurality of preset timbres;
[0174] Step 1512: In response to the selection operation, extract the timbre feature of the first timbre to obtain timbre feature data;
[0175] Step 1513: Obtain audio data of the live broadcast host;
[0176] Step 1514: fuse the audio data and the timbre feature data to obtain fused target audio data, and use the fused target audio data to replace the audio data in the live video stream.
[0177] Among them, the details of steps 1511-1514 refer to the above Fig.13 The description is not repeated here.
[0178] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0179] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0180] Corresponding to the method in the above embodiment, the embodiment of the present application further provides a process driving device. The process driving device is used to implement the above data processing method. The function of the process driving device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0181] For example, Fig.16 A schematic diagram of the structure of a process driving device is shown. Fig.16As shown, the process driving device may include: a first receiving module 1601, a first determining module 1602 and a first sending module 1603. The first receiving module 1601 is used to receive live feature data from a data sensing device; the first determining module 1602 is used to determine live process data corresponding to the live feature data from a process library and determine live rule data corresponding to the live feature data from a rule library according to the live feature data; the first sending module 1603 is used to send live process data and live rule data to a live data generating device.
[0182] The embodiment of the present application also provides a content expression device. The content expression device is used to implement the aforementioned data processing method. The functions of the content expression device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0183] For example, Fig.17 A schematic diagram of the structure of a content expression device is shown. Fig.17 As shown, the content expression device may include: a second receiving module 1701, a second determining module 1702, and a second sending module 1703. The second receiving module 1701 is used to receive live feature data from a data sensing device; the second determining module 1702 is used to determine live content data corresponding to the live feature data from a content library according to the live feature data; and the second sending module 1703 is used to send the live content data to a live data generating device.
[0184] Fig.18 A structural diagram of an electronic device provided in an embodiment of the present disclosure, such as Fig.18 As shown, the electronic device 1800 includes one or more processors 1801 and a memory 1802 .
[0185] The processor 1801 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 1800 to perform desired functions.
[0186] The memory 1802 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1801 may execute the program instructions to implement the live video stream generation method, data processing method, and / or other desired functions of the various embodiments of the present disclosure described above.
[0187] In one example, the electronic device 1800 may further include: an input device 1803 and an output device 1804 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0188] Of course, to simplify, Fig.18 Only some of the components related to the present disclosure in the electronic device 1800 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 1800 may also include any other appropriate components.
[0189] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps in the method for generating a live video stream in the above embodiments of this specification.
[0190] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0191] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the method for generating a live video stream according to various embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0192] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0193] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0194] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0195] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0196] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0197] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A method for generating a live video stream, applied to a live broadcast system, wherein the live broadcast system includes a data sensing device, a process driving device, a content expression device, and a live broadcast data generating device, and the method includes: The data sensing device receives user demand data, pre-processes the user demand data to obtain live broadcast feature data, and sends the live broadcast feature data to the process driving device and the content expression device; The process driving device receives the live broadcast feature data, determines the live broadcast process data corresponding to the live broadcast feature data from the process library, determines the live broadcast rule data corresponding to the live broadcast feature data from the rule library, and sends the live broadcast process data and the live broadcast rule data to the live broadcast data generating device; The content expression device receives the live broadcast characteristic data, determines the live broadcast content data corresponding to the live broadcast characteristic data from the content library, and sends the live broadcast content data to the live broadcast data generation device; The live broadcast data generating device generates a live broadcast video stream based on the live broadcast process data, the live broadcast rule data and the live broadcast content data, and the live broadcast video stream includes the live broadcast image data and the live broadcast audio data.
2. The method according to claim 1, wherein: The live broadcast feature data includes a live broadcast type, the process library includes a correspondence between multiple live broadcast types and multiple live broadcast process data; the rule library includes a correspondence between multiple live broadcast types and multiple live broadcast rule data; The step of determining the live broadcast process data corresponding to the live broadcast feature data from the process library, and determining the live broadcast rule data corresponding to the live broadcast feature data from the rule library includes: Based on the live broadcast type, the correspondence between the multiple live broadcast types and multiple live broadcast process data, and the correspondence between the multiple live broadcast types and multiple live broadcast rule data, the live broadcast process data corresponding to the live broadcast type is determined from the multiple live broadcast process data, and the live broadcast rule data corresponding to the live broadcast type is determined from the multiple live broadcast rule data.
3. The method according to claim 1 or 2, wherein: The content library includes a correspondence between multiple live broadcast types and multiple live broadcast content data; The content library determines the live content data corresponding to the live feature data, including: Based on the correspondence between the live broadcast type, the multiple live broadcast types and multiple live broadcast content data, the live broadcast content data corresponding to the live broadcast type is determined from the multiple live broadcast content data.
4. The method according to any one of claims 1 to 3, wherein: The method further comprises: The process driving device receives a first operation of a user; In response to the first operation, determining process adjustment information and / or rule adjustment information corresponding to the first operation; According to the process adjustment information and / or the rule adjustment information, the live broadcast process data and / or the live broadcast rule data are adjusted.
5. The method according to any one of claims 1 to 4, wherein: The method further comprises: The process driving device receives a second operation of the user; In response to the second operation, the live audio data in the live video stream is switched to target audio data, where the target audio data is audio data collected in real time using an audio collection device.
6. The method according to any one of claims 1 to 5, wherein: The method further comprises: The content expression device receives a third operation of the user; In response to the third operation, determining content adjustment information corresponding to the third operation; The live content data is adjusted according to the content adjustment information.
7. The method according to any one of claims 1 to 6, wherein: The method further comprises: The content expression device receives a user's selection operation of a first face image from among a plurality of preset face images; In response to the selection operation, extracting facial features from the first facial image to obtain facial feature data; Acquire a facial image of the live broadcast host, where the facial image of the live broadcast host is image data acquired by an image acquisition device; The facial feature data and the facial image of the live broadcast host are fused to obtain fused target facial data, and the fused target facial data is used to replace the facial image of the live broadcast host in the live video stream.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: The content expression device receives a user's selection operation of a first timbre from a plurality of preset timbres; In response to the selection operation, extracting timbre features of the first timbre to obtain timbre feature data; Acquire the audio data of the live broadcast host; The audio data and the timbre feature data are fused to obtain fused target audio data, and the fused target audio data is used to replace the audio data in the live video stream.
9. A data processing method, applied to a process driving device, the method comprising: Receiving live broadcast feature data from a data sensing device; According to the live broadcast characteristic data, determine the live broadcast process data corresponding to the live broadcast characteristic data from the process library, and determine the live broadcast rule data corresponding to the live broadcast characteristic data from the rule library; The live broadcast process data and the live broadcast rule data are sent to a live broadcast data generating device.
10. A data processing method, applied to a content presentation device, the method comprising: Receiving live broadcast feature data from a data sensing device; According to the live broadcast characteristic data, determining live broadcast content data corresponding to the live broadcast characteristic data from a content library; The live content data is sent to a live data generating device.
11. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the data processing method described in claim 9 when executing the computer program.
12. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the data processing method according to claim 10 when executing the computer program.
Citation Information
Patent Citations
Live broadcast data processing method and device, electronic device and readable storage medium
CN110062267A
Live broadcast content generation method and device
CN114125492A
Cross-live-broadcasting-platform interactive virtual anchor implementation method and cross-live-broadcasting-platform interactive virtual anchor implementation system
CN114302245A
Video live broadcast method and system and computer storage medium
CN114363652A
Livestreaming interaction method and apparatus
WO2022121592A1
