[go: up one dir, main page]

CN116489424A - Live background generation method and device, electronic equipment and computer readable medium - Google Patents

Live background generation method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN116489424A
CN116489424A CN202310523669.8A CN202310523669A CN116489424A CN 116489424 A CN116489424 A CN 116489424A CN 202310523669 A CN202310523669 A CN 202310523669A CN 116489424 A CN116489424 A CN 116489424A
Authority
CN
China
Prior art keywords
live
background
generating
fragment
broadcasting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310523669.8A
Other languages
Chinese (zh)
Inventor
莫筱羽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202310523669.8A priority Critical patent/CN116489424A/en
Publication of CN116489424A publication Critical patent/CN116489424A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23412Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs for generating or manipulating the scene composition of objects, e.g. MPEG-4 objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a method and a device for generating a live background, electronic equipment and a computer readable medium, and belongs to the technical field of live broadcasting. The method comprises the following steps: acquiring live background materials at a live broadcast server, and dividing the live background materials to obtain material fragments corresponding to the live background materials; transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server, and placing the material fragments corresponding to the user pickup fragment identifier into a live broadcast background material library; and responding to background editing operation executed by a live-broadcasting user in the live-broadcasting room based on the material fragments in the live-broadcasting background material library at the live-broadcasting client, and generating a live-broadcasting background video stream corresponding to the live-broadcasting client. The method and the device can enhance the relevance of the live background and the live content and promote interactivity with viewers in a live room.

Description

Live background generation method and device, electronic equipment and computer readable medium
Technical Field
The disclosure relates to the field of live broadcasting technology, and in particular relates to a live broadcasting background generation method, a live broadcasting background generation device, electronic equipment and a computer readable medium.
Background
With the continuous development of the live broadcast industry, the live broadcast mode of green curtain live broadcast is widely applied. The green curtain technology is used in live broadcasting, so that live broadcasting is not limited by scenes and places, and immersive experience can be brought to audiences.
In the green screen live broadcast, a virtual background is generally randomly generated by a live broadcast side, or a host broadcast selects one of the existing backgrounds to replace the original green screen background. By the method, the live background is generated, so that the relevance with live content is difficult to generate, and interaction with viewers in a live broadcasting room is poor.
In view of this, there is a need in the art for a method for generating a live background, which can enhance the relevance between the live background and the live content, and promote interactivity with viewers in a live room.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure aims to provide a method for generating a live broadcast background, a device for generating a live broadcast background, an electronic device and a computer readable medium, so that the relevance between the live broadcast background and live broadcast content can be enhanced at least to a certain extent, and interactivity with viewers in a live broadcast room can be improved.
According to a first aspect of the present disclosure, there is provided a method for generating a live background, applied to a live server, including:
acquiring a live background material, and dividing the live background material to obtain material fragments corresponding to the live background material;
transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server, and placing the material fragments corresponding to the user pickup fragment identifier into a live broadcast background material library;
and responding to background editing operation executed by a live-broadcasting user in the live-broadcasting room based on the material fragments in the live-broadcasting background material library at the live-broadcasting client, and generating a live-broadcasting background video stream corresponding to the live-broadcasting client.
According to a second aspect of the present disclosure, there is provided a method for generating a live background, applied to a game server, including:
acquiring material fragments of live background materials from a live server, wherein the fragment identifiers correspond to the material fragments;
generating corresponding virtual fragment props according to the material fragments, and throwing the virtual fragment props into the game scene;
responding to the picking operation of a game terminal user on the virtual fragment prop in the game scene, and returning the user picking fragment identification corresponding to the picked virtual fragment prop to the live broadcast server terminal for generating a live broadcast background video stream of the live broadcast client terminal.
According to a third aspect of the present disclosure, there is provided a generating device of a live broadcast background, applied to a live broadcast server, including:
the material fragment generation module is used for acquiring live background materials, and dividing the live background materials to obtain material fragments corresponding to the live background materials;
the system comprises a pickup fragment acquisition module, a live background material library and a live background material library, wherein the pickup fragment acquisition module is used for transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server and placing the material fragments corresponding to the user pickup fragment identifier into the live background material library;
and the live background generation module is used for responding to background editing operation executed by a user in a live broadcasting room based on the material fragments in the live broadcasting background material library at the live broadcasting client side and generating a live broadcasting background video stream corresponding to the live broadcasting client side.
According to a fourth aspect of the present disclosure, there is provided a device for generating a live background, applied to a game server, including:
the system comprises a material fragment acquisition module, a live broadcast server side and a live broadcast background material acquisition module, wherein the material fragment acquisition module is used for acquiring material fragments of live broadcast background materials and fragment identifiers corresponding to the material fragments from the live broadcast server side;
the game prop generation module is used for generating corresponding virtual fragment props according to the material fragments and throwing the virtual fragment props into the game scene;
the system comprises a live broadcast server, a live broadcast server and a live broadcast background video stream, wherein the live broadcast server is used for generating a live broadcast background video stream of a live broadcast client, and the live broadcast server is used for receiving a virtual fragment prop in a game scene, and sending a user pick-up fragment identifier corresponding to the virtual fragment prop to the live broadcast server.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method of generating a live background of any of the above via execution of the executable instructions.
According to a sixth aspect of the present disclosure, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method of generating a live background of any of the above.
Exemplary embodiments of the present disclosure may have the following advantageous effects:
in the method for generating the live background in the exemplary embodiment of the disclosure, a live background material is segmented at a live server to obtain material fragments corresponding to the live background material, then the material fragments and fragment identifiers corresponding to the material fragments are sent to a game server, the game server generates corresponding virtual fragment props according to the material fragments and puts the corresponding virtual fragment props in a game scene, the user pick-up fragment identifiers corresponding to the virtual fragment props picked up by users are returned to the live server, the live server then puts the material fragments corresponding to the user pick-up fragment identifiers into a live background material library, and a live background video stream corresponding to a live client is generated in response to background editing operation executed by users in a live room based on the material fragments in the live background material library. According to the method for generating the live background in the example embodiment of the disclosure, on one hand, virtual fragment props corresponding to material fragments of the live background are put in a game scene, picked up by a user at a game end and put in a live background material library, so that the relevance between the live background generation process and game live contents is enhanced; on the other hand, the audience in the living broadcast room can generate personalized living broadcast background based on the material fragment customization in the living broadcast background material library, so that the interaction experience of the game living broadcast and the audience is increased, and the interaction of the living broadcast is promoted.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture to which the methods and apparatus for generating a live background of embodiments of the present disclosure may be applied;
fig. 2 illustrates a flowchart of a method for generating a live background applied to a live server according to an exemplary embodiment of the present disclosure;
fig. 3 shows a flow diagram of generating a live background video stream according to an example embodiment of the present disclosure;
fig. 4 shows a flow diagram of sending a live video stream according to an example embodiment of the present disclosure;
fig. 5 shows a flowchart of a method for generating a live background applied to a game server according to an exemplary embodiment of the present disclosure;
fig. 6 shows a block diagram of a generating apparatus of a live context applied to a live server according to an example embodiment of the present disclosure;
FIG. 7 shows a block diagram of a generating device of a live background applied to a game server according to an example embodiment of the present disclosure;
fig. 8 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 illustrates a schematic diagram of a system architecture of an exemplary application environment to which a method and apparatus for generating a live background of embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include a plurality of mobile terminals 101, 102, 103, a network 104, and a server 105. The network 104 is the medium used to provide communication links between the mobile terminals 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wireless communication links, etc.
It should be understood that the number of mobile terminals, networks and servers in fig. 1 is merely illustrative. There may be any number of mobile terminals, networks and servers, as desired for implementation. For example, the server 105 may be a server cluster formed by a plurality of servers.
The mobile terminals 101, 102, 103 may be various electronic devices with processors including, but not limited to, smartphones, tablets, portable computers, and the like. The server 105 may be a server providing various services. For example, the mobile terminals 101, 102, 103 may obtain live background material via the processor and upload to the server 105. The server 105 can segment the live background material to obtain material fragments corresponding to the live background material; transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving user pickup fragment identifiers returned by the game server, and placing the material fragments corresponding to the user pickup fragment identifiers into a live background material library; and finally, responding to the background editing operation executed by the user in the live broadcasting room based on the material fragments in the live broadcasting background material library at the live broadcasting client side, and generating a live broadcasting background video stream corresponding to the live broadcasting client side. The mobile terminals 101, 102, 103 can also complete the whole process from acquiring the live background material to generating the live background video stream corresponding to the live client through the server.
The embodiment firstly provides a generation method of a live broadcast background, which is applied to a live broadcast server. Referring to fig. 2, the method for generating the live background may include the following steps:
and S210, acquiring the live background material, and carrying out segmentation processing on the live background material to obtain material fragments corresponding to the live background material.
S220, sending the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server, and placing the material fragments corresponding to the user pickup fragment identifier into a live background material library.
And S230, responding to background editing operation executed by a user in the live broadcasting room based on material fragments in a live broadcasting background material library at the live broadcasting client, and generating a live broadcasting background video stream corresponding to the live broadcasting client.
In the method for generating the live background in the exemplary embodiment of the disclosure, a live background material is segmented at a live server to obtain material fragments corresponding to the live background material, then the material fragments and fragment identifiers corresponding to the material fragments are sent to a game server, the game server generates corresponding virtual fragment props according to the material fragments and puts the corresponding virtual fragment props in a game scene, the user pick-up fragment identifiers corresponding to the virtual fragment props picked up by users are returned to the live server, the live server then puts the material fragments corresponding to the user pick-up fragment identifiers into a live background material library, and a live background video stream corresponding to a live client is generated in response to background editing operation executed by users in a live room based on the material fragments in the live background material library. According to the method for generating the live background in the example embodiment of the disclosure, on one hand, virtual fragment props corresponding to material fragments of the live background are put in a game scene, picked up by a user at a game end and put in a live background material library, so that the relevance between the live background generation process and game live contents is enhanced; on the other hand, the audience in the living broadcast room can generate personalized living broadcast background based on the material fragment customization in the living broadcast background material library, so that the interaction experience of the game living broadcast and the audience is increased, and the interaction of the living broadcast is promoted.
Next, the above steps of the present exemplary embodiment will be described in more detail with reference to fig. 3 to 4.
In step S210, a live background material is obtained, and a segmentation process is performed on the live background material, so as to obtain material fragments corresponding to the live background material.
In the green screen live broadcast, the original green screen background needs to be replaced by using the virtual live broadcast background, so that a richer live broadcast effect is realized.
In this example embodiment, the live background material may mainly include two types, one is a virtual live background, for example, a two-dimensional planar background or a three-dimensional stereoscopic scene background; the other is a background decoration prop which is used for playing a decoration role in the virtual live broadcast background. The method for acquiring the live background material mainly comprises the following steps:
in the first mode, live broadcast background materials pre-stored in a live broadcast room can be obtained, wherein the live broadcast background materials comprise virtual live broadcast backgrounds and background decoration props.
A plurality of sets of virtual live broadcast backgrounds and a plurality of background decoration contents are generally pre-stored in the live broadcast room, so that live broadcast background materials pre-stored in the live broadcast room can be directly obtained.
In the second mode, material generation information triggered by a preset game event can be obtained from the game server, and corresponding live background materials can be obtained according to the material generation information.
For a game live room, material generation information triggered by a preset game event can be acquired from a game server, wherein the preset game event can comprise a special prop acquisition event, a game combat win event and the like. For example, when a user obtains a certain prop, such as a firearm prop, in a game, fragments generated by the firearm prop can be obtained synchronously, and the fragments information is sent to a live broadcast service end by a game service end, and when the fragments generated by the firearm prop reach a certain amount, corresponding firearm decorative props are synthesized. Alternatively, when the user obtains a win in a game, a game win interface diagram may be generated, and a corresponding background material picture may be generated according to the game win interface diagram.
In a third manner, live background material associated with a preset activity event may also be generated in response to the preset activity event within the live room.
Through live broadcasting room activities, such as gift giving, or live broadcasting room praise reaching a certain number, corresponding live broadcasting background materials, such as gift special effect material pictures and the like, can be triggered to be generated.
In this example embodiment, after acquiring the live background material, the live server may perform segmentation processing on the live background material, for example, perform random fragmentation processing similar to a jigsaw, to obtain material fragments corresponding to the live background material.
In step S220, the material fragments and the fragment identifiers corresponding to the material fragments are sent to the game server, the user pickup fragment identifiers returned by the game server are received, and the material fragments corresponding to the user pickup fragment identifiers are placed in the live background material library.
In this example embodiment, after identifying the material fragments, the live broadcast server sends the material fragments and fragment identifiers corresponding to the material fragments to the game server. Wherein the fragment identification may be in the form of, for example, a01, representing the 1 st fragment in material a.
After the game server acquires the material fragments and the fragment identification, the pickable props can be generated according to the material patterns and are randomly put into a scene map of the current game of the host. The host can pick up in the game, and after picking up, the game server obtains the corresponding user pick-up fragment identification and sends the fragment identification to the live broadcast server. The live broadcast server side can display an acquisition prompt at the front end and put the picked material fragments into a live broadcast background material library.
In step S230, in response to a background editing operation performed by the user in the live room based on the material fragments in the live background material library at the live client, a live background video stream corresponding to the live client is generated.
In this example embodiment, the users in the live broadcast room may edit and compose the personalized virtual live broadcast background of the respective live broadcast client based on the material fragments in the live broadcast background material library of the current live broadcast room.
In this example embodiment, as shown in fig. 3, in response to a background editing operation performed by a user in a live room at a live client based on material fragments in a live background material library, generating a live background video stream corresponding to the live client may specifically include the following steps:
and S310, providing virtual background editing controls at live broadcast clients of users in each live broadcast room.
The live broadcasting client side of each live broadcasting room user can be provided with a virtual background editing control through the live broadcasting front-end server to serve as a virtual background editing entrance.
And S320, responding to clicking operation of a live broadcasting room user on the virtual background editing control, and opening a virtual background editing interface of the live broadcasting client.
When the user in the live broadcasting room clicks the virtual background editing control, a virtual background editing interface of the live broadcasting client can be opened, and the virtual background editing state is entered. The virtual background editing state may be a 3D mesh map in the full background, similar to modeling scenes in modeling rendering simulation software.
S330, generating a background picture of the live client in response to background editing operation performed by a live studio user on a virtual background editing interface based on material fragments in a live background material library, and generating a live background video stream corresponding to the live client according to the background picture.
In this example embodiment, a user in a live broadcasting room may drag a required material fragment to a virtual background editing interface in an editing state in a live broadcasting background material library, and when editing is completed, a background picture of a current live broadcasting client is generated, and a live broadcasting background video stream corresponding to the live broadcasting client is generated according to the background picture. The background editing operation of the live broadcasting room user can be divided into the following two cases:
in the first case, the whole virtual live background is fragmented, the editing state is the virtual background of the whole live room, the editing interface is a 2D plane background, and after any fragment is selected by a user, the editing interface displays a grey live background map, such as a whitened state when no fragment is put in.
In the second case, the virtual background is fixed, and a background decorative prop can be added on the background. After entering an editing state, the editing interface is a 3D scene, the background decoration prop is a 3D prop, after the prop is selected, the prop can be placed in the 3D scene, and according to the grids, the prop can be rotated and other operations.
The two cases can be combined, and the whole virtual live broadcast background can be edited, or background decoration props can be added, and the embodiment is not particularly limited.
In this example embodiment, as shown in fig. 4, after generating the live background video stream corresponding to the live client, the method may further include the following steps:
and S410, merging the live background video stream corresponding to the live client with the main broadcast video stream to obtain the live video stream corresponding to the live client.
After the user in the live broadcasting room completes editing, the live broadcasting server side can generate a live broadcasting background video stream corresponding to the current live broadcasting client side. And merging the live background video stream corresponding to the current live client with the main broadcast video stream to obtain the live video stream corresponding to the live client.
And S420, marking the material type of the live video stream, and sending the marked live video stream to a live client.
In this example embodiment, when generating a live video stream corresponding to a current live client, the live server may mark the live video stream with a material type, for example, a material a or a material+b, if a background decoration prop exists, location information of the background decoration prop may also be marked, and then the location information may be sent to the corresponding live client to generate a live image.
In this example embodiment, if the material type marks corresponding to the plurality of live broadcast clients are the same, the same live broadcast video stream is sent to the plurality of live broadcast clients with the same material type marks, so as to improve the efficiency of video stream transmission.
The embodiment also provides a generation method of the live broadcast background, which is applied to the game server, wherein the game server provides a graphical user interface through the terminal equipment, and the graphical user interface at least comprises part of game scenes. Referring to fig. 5, the method for generating the live background may include the following steps:
s510, acquiring material fragments of the live background material and fragment identifiers corresponding to the material fragments from the live server.
The game server side can acquire the material fragments of the live background material and the fragment identifications corresponding to the material fragments from the live server side.
And S520, generating corresponding virtual fragment props according to the material fragments, and throwing the virtual fragment props into a game scene.
After the game server acquires the material fragments and the fragment identification, a virtual fragment prop which can be picked up can be generated according to the material style, and the virtual fragment prop is put in a game scene of the current game of the host player.
And S530, responding to the picking operation of a game terminal user on the virtual fragment prop in the game scene, and returning the user picking fragment identification corresponding to the picked virtual fragment prop to the live broadcast server terminal for generating a live broadcast background video stream of the live broadcast client terminal.
The game server responds to the pick-up operation of the host, obtains the user pick-up fragment identification corresponding to the picked-up virtual fragment prop, and returns the user pick-up fragment identification to the live broadcast server for generating the live broadcast background video stream of the live broadcast client.
In addition, at the game server, material generation information related to the preset game event can be generated in response to the preset game event triggered in the game, and the material generation information is sent to the live broadcast server for generating live broadcast background materials corresponding to the material generation information. For example, when a user obtains a certain prop, such as a firearm prop, in a game, fragments generated by the firearm prop can be obtained synchronously, and fragment information is sent to a live broadcast server by a game server for synthesizing corresponding firearm decorative props. Alternatively, when the user obtains a win in a game, a game win interface diagram may be generated and sent to the live server.
It should be noted that although the steps of the methods in the present disclosure are depicted in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
Further, the present disclosure also provides a device for generating the live broadcast background, which is applied to the live broadcast server. Referring to fig. 6, the live background generating apparatus may include a material fragment generating module 610, a picked-up fragment acquiring module 620, and a live background generating module 630. Wherein:
the material fragment generation module 610 may be configured to obtain a live background material, and segment the live background material to obtain material fragments corresponding to the live background material;
the picked-up fragment obtaining module 620 may be configured to send the material fragments and fragment identifiers corresponding to the material fragments to the game server, receive the user picked-up fragment identifiers returned by the game server, and place the material fragments corresponding to the user picked-up fragment identifiers into the live background material library;
the live background generation module 630 may be configured to generate a live background video stream corresponding to the live client in response to a background editing operation performed by a user at the live room based on material fragments in the live background material library at the live client.
In some exemplary embodiments of the present disclosure, the material fragment generation module 610 may include a first direct broadcast background material acquisition unit that may be configured to acquire a direct broadcast background material pre-stored in a direct broadcast room, where the direct broadcast background material includes a virtual direct broadcast background and a background decoration prop.
In some exemplary embodiments of the present disclosure, the material fragment generation module 610 may further include a second live background material obtaining unit, which may be configured to obtain material generation information triggered by a preset game event from the game server, and obtain a corresponding live background material according to the material generation information.
In some exemplary embodiments of the present disclosure, the material fragment generation module 610 may further include a third live background material acquisition unit that may be configured to generate live background material related to a preset activity event in response to the preset activity event within the live room.
In some exemplary embodiments of the present disclosure, the live background generation module 630 may include an edit control display unit, an edit interface display unit, and an edit operation execution unit. Wherein:
the editing control display unit can be used for providing virtual background editing controls on live clients of users in each live broadcasting room;
the editing interface display unit can be used for responding to clicking operation of a live broadcasting room user on the virtual background editing control, and opening a virtual background editing interface of the live broadcasting client;
the editing operation execution unit can be used for responding to the background editing operation executed by the user in the live broadcasting room on the virtual background editing interface based on the material fragments in the live broadcasting background material library, generating background pictures of the live broadcasting client, and generating live broadcasting background video streams corresponding to the live broadcasting client according to the background pictures.
In some exemplary embodiments of the present disclosure, a generation apparatus for a live context provided by the present disclosure may further include a live video stream generation module, where the live video stream generation may include a video stream merging unit and a video stream sending unit. Wherein:
the video stream converging unit can be used for converging the live background video stream corresponding to the live client and the main broadcast video stream to obtain the live video stream corresponding to the live client;
the video stream sending unit can be used for marking the material type of the live video stream and sending the marked live video stream to the live client.
In some exemplary embodiments of the present disclosure, the video stream sending unit may include a video stream tag sending unit, and may be configured to send the same live video stream to a plurality of live clients with the same material type tag if the material type tags corresponding to the plurality of live clients are the same.
Further, the present disclosure also provides a device for generating the live background, which is applied to the game server. Referring to fig. 7, the generation apparatus of the live background may include a material fragment acquisition module 710, a play object generation module 720, and a pickup fragment return module 730. Wherein:
the material fragment obtaining module 710 may be configured to obtain material fragments of live background materials and fragment identifiers corresponding to the material fragments from a live server;
the game prop generation module 720 can be used for generating corresponding virtual fragment props according to the material fragments and throwing the virtual fragment props into a game scene;
the picked-up fragment returning module 730 may be configured to, in response to a picking operation of a game end user on a virtual fragment prop in a game scene, return a user picked-up fragment identifier corresponding to the picked-up virtual fragment prop to the live broadcast server, and generate a live broadcast background video stream of the live broadcast client.
In some exemplary embodiments of the present disclosure, a live background generation device provided by the present disclosure may further include a material generation information sending module, configured to generate material generation information related to a preset game event in response to a preset game event triggered in a game, and send the material generation information to a live server, where the material generation information is used to generate live background material corresponding to the material generation information.
The specific details of each module/unit in the live background generation apparatus are described in detail in the corresponding method embodiment section, and are not described herein again.
Fig. 8 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present disclosure.
It should be noted that, the computer system 800 of the electronic device shown in fig. 8 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present disclosure.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for system operation are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. When executed by a Central Processing Unit (CPU) 801, performs the various functions defined in the system of the present disclosure.
It should be noted that the computer readable medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present disclosure also provides a computer-readable medium that may be contained in the electronic device described in the above embodiments; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the method as described in the above embodiments.
It should be noted that although in the above detailed description several modules of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. The method for generating the live broadcast background is applied to a live broadcast server and is characterized by comprising the following steps:
acquiring a live background material, and dividing the live background material to obtain material fragments corresponding to the live background material;
transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server, and placing the material fragments corresponding to the user pickup fragment identifier into a live broadcast background material library;
and responding to background editing operation executed by a live-broadcasting user in the live-broadcasting room based on the material fragments in the live-broadcasting background material library at the live-broadcasting client, and generating a live-broadcasting background video stream corresponding to the live-broadcasting client.
2. The method for generating a live background according to claim 1, wherein the acquiring live background material comprises:
and acquiring a live broadcast background material pre-stored in a live broadcast room, wherein the live broadcast background material comprises a virtual live broadcast background and a background decoration prop.
3. The method for generating a live background according to claim 1, wherein the acquiring live background material comprises:
and acquiring material generation information triggered by a preset game event from the game server, and acquiring corresponding live broadcast background materials according to the material generation information.
4. The method for generating a live background according to claim 1, wherein the acquiring live background material comprises:
and responding to a preset activity event in the live broadcasting room, and generating live broadcasting background materials related to the preset activity event.
5. The method for generating the live background according to claim 1, wherein the generating the live background video stream corresponding to the live client in response to a background editing operation performed by a user of the live room at the live client based on the material fragments in the live background material library includes:
providing virtual background editing controls at live broadcast clients of users in each live broadcast room;
responding to clicking operation of the live broadcasting room user on the virtual background editing control, and opening a virtual background editing interface of the live broadcasting client;
and responding to background editing operation executed by the live broadcasting room user on the virtual background editing interface based on the material fragments in the live broadcasting background material library, generating a background picture of the live broadcasting client, and generating a live broadcasting background video stream corresponding to the live broadcasting client according to the background picture.
6. The method for generating a live background according to claim 1, wherein after generating the live background video stream corresponding to the live client, the method further comprises:
merging the live background video stream corresponding to the live client with the main broadcast video stream to obtain a live video stream corresponding to the live client;
and marking the material type of the live video stream, and sending the marked live video stream to the live client.
7. The method for generating the live background according to claim 6, wherein the sending the marked live video stream to the live client includes:
and if the material type marks corresponding to the live broadcast clients are the same, transmitting the same live broadcast video stream to the live broadcast clients with the same material type marks.
8. The method for generating the live broadcast background is applied to a game server and is characterized in that a graphical user interface is provided through terminal equipment, wherein the graphical user interface at least comprises part of game scenes, and the method comprises the following steps:
acquiring material fragments of live background materials from a live server, wherein the fragment identifiers correspond to the material fragments;
generating corresponding virtual fragment props according to the material fragments, and throwing the virtual fragment props into the game scene;
responding to the picking operation of a game terminal user on the virtual fragment prop in the game scene, and returning the user picking fragment identification corresponding to the picked virtual fragment prop to the live broadcast server terminal for generating a live broadcast background video stream of the live broadcast client terminal.
9. The method for generating a live background of claim 8, further comprising:
and generating material generation information related to a preset game event in response to the preset game event triggered in the game, and sending the material generation information to the live broadcast server for generating live broadcast background materials corresponding to the material generation information.
10. The generation device of the live broadcast background is applied to a live broadcast server and is characterized by comprising the following components:
the material fragment generation module is used for acquiring live background materials, and dividing the live background materials to obtain material fragments corresponding to the live background materials;
the system comprises a pickup fragment acquisition module, a live background material library and a live background material library, wherein the pickup fragment acquisition module is used for transmitting the material fragments and fragment identifiers corresponding to the material fragments to a game server, receiving a user pickup fragment identifier returned by the game server and placing the material fragments corresponding to the user pickup fragment identifier into the live background material library;
and the live background generation module is used for responding to background editing operation executed by a user in a live broadcasting room based on the material fragments in the live broadcasting background material library at the live broadcasting client side and generating a live broadcasting background video stream corresponding to the live broadcasting client side.
11. A device for generating a live background, applied to a game server, characterized in that a graphical user interface is provided through a terminal device, the graphical user interface at least comprises a part of game scenes, and the device comprises:
the system comprises a material fragment acquisition module, a live broadcast server side and a live broadcast background material acquisition module, wherein the material fragment acquisition module is used for acquiring material fragments of live broadcast background materials and fragment identifiers corresponding to the material fragments from the live broadcast server side;
the game prop generation module is used for generating corresponding virtual fragment props according to the material fragments and throwing the virtual fragment props into the game scene;
the system comprises a live broadcast server, a live broadcast server and a live broadcast background video stream, wherein the live broadcast server is used for generating a live broadcast background video stream of a live broadcast client, and the live broadcast server is used for receiving a virtual fragment prop in a game scene, and sending a user pick-up fragment identifier corresponding to the virtual fragment prop to the live broadcast server.
12. An electronic device, comprising:
a processor; and
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the method of generating a live background as claimed in any one of claims 1 to 9.
13. A computer readable medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements a method of generating a live background according to any of claims 1 to 9.
CN202310523669.8A 2023-05-09 2023-05-09 Live background generation method and device, electronic equipment and computer readable medium Pending CN116489424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310523669.8A CN116489424A (en) 2023-05-09 2023-05-09 Live background generation method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310523669.8A CN116489424A (en) 2023-05-09 2023-05-09 Live background generation method and device, electronic equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN116489424A true CN116489424A (en) 2023-07-25

Family

ID=87221386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310523669.8A Pending CN116489424A (en) 2023-05-09 2023-05-09 Live background generation method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN116489424A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116800834A (en) * 2023-08-28 2023-09-22 深圳有咖互动科技有限公司 Virtual gift merging method, device, electronic equipment and computer readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116800834A (en) * 2023-08-28 2023-09-22 深圳有咖互动科技有限公司 Virtual gift merging method, device, electronic equipment and computer readable medium
CN116800834B (en) * 2023-08-28 2023-10-27 深圳有咖互动科技有限公司 Virtual gift merging method, device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN106658200B (en) Method, device and terminal device for sharing and obtaining live video
EP3883256A1 (en) Live stream processing method in webrtc and stream pushing client
US10965783B2 (en) Multimedia information sharing method, related apparatus, and system
CN111432235A (en) Live video generation method and device, computer readable medium and electronic equipment
CN112543344B (en) Live broadcast control method and device, computer readable medium and electronic equipment
CN112732152B (en) Live broadcast processing method and device, electronic equipment and storage medium
CN116708867B (en) Live broadcast data processing method, device, equipment and storage medium
CN109218754A (en) Information display method, device, equipment and medium in a kind of live streaming
CN108769824A (en) A kind of video mixed flow method, apparatus, system, equipment and medium
CN106162357A (en) Obtain the method and device of video content
CN116489424A (en) Live background generation method and device, electronic equipment and computer readable medium
CN110930325B (en) Image processing method and device based on artificial intelligence and storage medium
CN111031399B (en) Bullet screen processing method and system
CN114697703B (en) Video data generation method and device, electronic equipment and storage medium
CN112929685B (en) Interaction method and device for VR live broadcast room, electronic device and storage medium
CN110996087B (en) Video display method and device
CN117579885A (en) Special effect display method and system for live broadcasting room
CN115243064B (en) Live broadcast control method, device, equipment and storage medium
CN117896540A (en) Image quality optimization method and device applied to live broadcast system, terminal and storage medium
EP4496312A1 (en) Media data processing methods and apparatuses, device, and readable storage medium
CN112905082A (en) Interaction method, device, client, electronic equipment and computer readable medium
WO2023236815A1 (en) Three-dimensional model transmission method and apparatus, and storage medium and program product
CN116870480A (en) Interaction method and device for game roles, electronic equipment and computer readable medium
CN109522429A (en) Method and apparatus for generating information
CN104216951A (en) Method for realizing augmented reality based on mobile terminal and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination