Live broadcasting room gift synthesis method and device

By creating a gift collaboration session in the live broadcast platform, allowing multiple users to collaborate to synthesize virtual gifts, solving the problem of single gift interaction form in the prior art and improving the user experience.

CN120378704APending Publication Date: 2025-07-25SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510631055.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The gift of virtual gifts in existing live broadcast platforms is usually chosen by a single user, and the gift interaction form is single and the user experience is poor.

Method used

By creating a collaboration session for gift collaboration, multiple users allow collaborative synthesis of virtual gifts, including creating timelines, adjusting material locations, and synchronizing playback, generating collaborative information and displaying.

Benefits of technology

It enriches the interactive form of gifts in the live broadcast room and improves the fun and experience of the gifts given by users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378704A_ABST
    Figure CN120378704A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast room gift synthesis method, and the method comprises the steps: responding to a first instruction of live broadcast room gift collaboration, creating a collaboration session of gift collaboration, and adding a first account corresponding to the first instruction to the collaboration session; in response to a plurality of second instructions for joining the collaborative session, adding a plurality of second accounts corresponding to the second instructions to the collaborative session; receiving a first gift material uploaded by a first client corresponding to the first account, and receiving a second gift material uploaded by a second client corresponding to the second account; and synthesizing a virtual gift based on the first gift material and the second gift material. According to the technical scheme provided by the embodiment of the invention, the gift in the live broadcast room can be cooperatively synthesized and given through a plurality of gift providing materials, so that the gift interaction form of the live broadcast room is enriched, users in the live broadcast room have more choices, the interestingness of giving the gift by the users is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of network technologies, and in particular, to a method, device, computer device, computer-readable storage medium, and computer program product for synthesizing gifts in a live broadcast room. Background Art

[0002] When watching a live broadcast, a user may give virtual gifts to the host of the live broadcast room to express support for the host.

[0003] However, in current live broadcast platforms, the giving of virtual gifts is usually that a single user selects a virtual gift provided by the live broadcast platform to give, and the form of gift interaction is relatively single, and the user experience is not ideal enough.

[0004] It should be noted that the above content is not necessarily prior art and is not used to limit the patent protection scope of the present application. Summary of the Invention

[0005] Embodiments of the present application provide a method, device, computer device, computer-readable storage medium, and computer program product for synthesizing gifts in a live broadcast room to solve or alleviate one or more of the above technical problems.

[0006] One aspect of the embodiments of the present application provides a method for synthesizing gifts in a live broadcast room, and the method includes: In response to a first instruction for gift collaboration in the live broadcast room, create a collaboration session for gift collaboration, and add the first account corresponding to the first instruction to the collaboration session; In response to a plurality of second instructions for joining the collaboration session, add a plurality of second accounts corresponding to the second instructions to the collaboration session; Receive a first gift material uploaded by a first client corresponding to the first account, and receive a second gift material uploaded by a second client corresponding to the second account; Synthesize a virtual gift based on the first gift material and the second gift material.

[0007] Optionally, the synthesizing a virtual gift based on the first gift material and the second gift material includes: Create a timeline for gift synthesis; In response to an instruction for joining the timeline, add the first gift material and the second gift material to the timeline to specify the start playback time and the end playback time of the first gift material and the second gift material in the timeline; In response to an instruction for adjusting the timeline, adjust the positions of the first gift material and / or the second gift material in the timeline, so as to adjust the start playing time and the end playing time of the first gift material and / or the second gift material.

[0008] Optionally, the method further includes: In response to a third instruction for material synchronization, obtain two or more target gift materials corresponding to the third instruction, where the target gift materials are any of the first gift material and the second gift material; Set the start playing times of the target gift materials in the timeline at the same time point.

[0009] Optionally, the method further includes: When playing the virtual gift in the live broadcast room, generate collaborator information based on the first account and the second account; Display the collaborator information in a preset manner.

[0010] Optionally, the method further includes: Generate an invitation link based on the collaboration session, where the invitation link is used to generate the second instruction when clicked; Display the invitation link in the live broadcast room or send the invitation link to the second account based on a sending instruction for the invitation link.

[0011] Optionally, the collaboration session is established through WebSocket.

[0012] Optionally, the first gift material and the second gift material include audio, video, special effects, models, images, and text.

[0013] Another aspect of the embodiments of the present application provides a device for synthesizing gifts in a live broadcast room, where the device includes: A creation module, configured to create a collaboration session for gift collaboration in response to a first instruction for live broadcast room gift collaboration, and add a first account corresponding to the first instruction to the collaboration session; An addition module, configured to add several second accounts corresponding to second instructions to the collaboration session in response to several second instructions for joining the collaboration session; A receiving module, configured to receive a first gift material uploaded by a first client corresponding to the first account, and receive a second gift material uploaded by a second client corresponding to the second account; A synthesis module, configured to synthesize a virtual gift based on the first gift material and the second gift material.

[0014] Another aspect of the embodiments of the present application provides a computer device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein: the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method as described above.

[0015] Another aspect of the embodiments of the present application provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are executed by a processor, the method as described above is implemented.

[0016] Another aspect of the embodiments of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method as described above is implemented.

[0017] The embodiments of the present application adopting the above technical solutions may include the following advantages: By responding to a first instruction for gift collaboration in the live broadcast room, creating a collaboration session for gift collaboration, and adding the first account corresponding to the first instruction to the collaboration session; responding to a number of second instructions for joining the collaboration session, adding a number of second accounts corresponding to the second instructions to the collaboration session; receiving first gift materials uploaded by a first client corresponding to the first account, and receiving second gift materials uploaded by a second client corresponding to the second account, and synthesizing a virtual gift based on the first gift materials and the second gift materials, virtual gifts can be synthesized through the collaboration of multiple users in the live broadcast room, enabling users in the live broadcast room to give more diverse gifts, enriching the form of gift interaction in the live broadcast room, increasing the fun of users giving gifts, and thus improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings exemplarily show embodiments and form a part of the specification, and are used together with the written description of the specification to explain the exemplary embodiments. The shown embodiments are only for illustrative purposes and do not limit the scope of the claims. In all the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0019] Figure 1 Schematically shows an operating environment diagram of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 2 Schematically shows a flowchart of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 3 Schematically shows an additional process of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 4 Schematically shows Figure 2 a sub-step flowchart of step S206 in Figure 5 Schematically shows a gift synthesis example diagram of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 6 Schematically shows another new process of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 7 Schematically shows yet another new process of the live broadcast room gift synthesis method according to Embodiment 1 of the present application; Figure 8 Schematically shows a block diagram of the live broadcast room gift synthesis device according to Embodiment 2 of the present application; and Figure 9 Schematically shows a schematic diagram of the hardware architecture of the computer device according to Embodiment 3 of the present application. Detailed implementation manners

[0020] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0021] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions appears to be contradictory or unable to be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present application.

[0022] In the description of the present application, it should be understood that the numerical labels before the steps do not identify the order of execution of the steps, but are only used to facilitate the description of the present application and distinguish each step, so they cannot be understood as a limitation to the present application.

[0023] First, provide the term explanations involved in the present application: WebSocket: It is a network transmission protocol, located in the application layer of the OSI model, and can achieve full-duplex communication on a single TCP connection.

[0024] WebGL (Web Graphics Library): The Web Graphics Library is a JavaScript API used to render interactive 2D and 3D graphics on web pages.

[0025] Secondly, to facilitate the understanding of the technical solutions provided in the embodiments of the present application by those skilled in the art, the related technologies are described below: Currently, the giving of virtual gifts on live streaming platforms is usually done by a single user selecting virtual gifts provided by the live streaming platform for giving, and the form of gift interaction is relatively single, resulting in a poor user experience.

[0026] Therefore, the embodiments of the present application provide a technical solution for synthesizing gifts in a live broadcast room. In this technical solution, gifts in the live broadcast room are synthesized through multiple people providing gift materials for collaborative giving, which can enrich the form of gift interaction in the live broadcast room, provide users in the live broadcast room with more diverse gift choices, increase the fun of users giving gifts, and thus improve the user experience. See the following text for details.

[0027] Finally, for the convenience of understanding, an exemplary operating environment is provided below.

[0028] As Figure 1 shown, the environmental schematic diagram includes a service platform 2, a network 4, and a client 6, where: The service platform 2 can be composed of a single or multiple computing devices. The multiple computing devices can include virtualized computing instances. The virtualized computing instances can include virtual machines, such as emulations of computer systems, operating systems, servers, etc. The computing devices can load virtual machines based on virtual images and / or other data that define specific software (e.g., operating systems, dedicated applications, servers) for emulation. As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more computing devices. A hypervisor can be implemented to manage the use of different virtual machines on the same computing device.

[0029] The service platform 2 can be configured to communicate with the client 6, etc. through the network 4. The network 4 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network 4 can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links and their combinations, etc., or wireless links, such as cellular links, satellite links, Wi-Fi links, etc.

[0030] The service platform 2 can provide services such as storage, reading, writing, querying, deleting, etc., such as providing services for the client to watch the live broadcast room and give virtual gifts.

[0031] The client 6 can be an electronic device running an operating system such as Windows, Android™, or iOS, such as a smart phone, a tablet device, a laptop computer, a virtual reality device, a gaming device, a set-top box, an in-vehicle terminal, or a smart TV. Based on the above operating systems, various applications can be run, such as an application for running a live broadcast room.

[0032] The client 6 can provide / configure a user access page for manipulating the service platform 2 or uploading an object, etc.

[0033] It should be noted that the above devices are exemplary, and in different scenarios or according to different requirements, the number and types of devices can be adjusted.

[0034] The technical solutions of the present application will be introduced below through multiple embodiments. It should be noted that these embodiments can be implemented in various different forms and should not be construed as being limited only to the embodiments described herein.

[0035] Embodiment 1 Figure 2 A flowchart of a live broadcast room gift synthesis method according to Embodiment 1 of the present application is schematically shown. It should be noted that the execution subject of the live broadcast room gift synthesis method in the embodiments of the present application can be a service platform.

[0036] As Figure 2 shown, the live broadcast room gift synthesis method can include steps S200 to S206, where: Step S200, in response to a first instruction for live broadcast room gift collaboration, create a collaboration session for gift collaboration and add the first account corresponding to the first instruction to the collaboration session.

[0037] Step S202, in response to a plurality of second instructions for joining the collaboration session, add a plurality of second accounts corresponding to the second instructions to the collaboration session.

[0038] Step S204, receive a first gift material uploaded by a first client corresponding to the first account, and receive a second gift material uploaded by a second client corresponding to the second account.

[0039] Step S206, synthesize a virtual gift based on the first gift material and the second gift material.

[0040] The method for synthesizing live - broadcast gifts provided in this embodiment creates a collaboration session for gift collaboration by responding to a first instruction for live - broadcast gift collaboration, and adds the first account corresponding to the first instruction to the collaboration session; in response to a number of second instructions for joining the collaboration session, adds a number of second accounts corresponding to the second instructions to the collaboration session; receives the first gift material uploaded by the first client corresponding to the first account, and receives the second gift material uploaded by the second client corresponding to the second account, and synthesizes a virtual gift based on the first gift material and the second gift material. It is possible to synthesize virtual gifts through the collaboration of multiple users in the live - broadcast room, enabling users in the live - broadcast room to give more diverse gifts, enriching the form of gift interaction in the live - broadcast room, enhancing the fun of users giving gifts, and thus improving the user experience.

[0041] The following combines Figure 2 , elaborates in detail on each step in steps S200 - S206 and other optional steps.

[0042] Step S200 , in response to a first instruction for live - broadcast gift collaboration, creates a collaboration session for gift collaboration, and adds the first account corresponding to the first instruction to the collaboration session.

[0043] Specifically, the live - broadcast room can provide a control corresponding to the first instruction. When a user in the live - broadcast room clicks the corresponding control, it is determined that the first instruction is received. For example, the live - broadcast room can present a control for gift collaboration in the relevant area for gift giving. After a user in the live - broadcast room clicks this control, it is determined that the first instruction is received. Of course, the first instruction can also be in other forms, such as a preset operation trajectory (such as drawing a circle), etc., which is not specifically limited here. When the first instruction is received, the service platform can create a collaboration session for gift collaboration and add the first account corresponding to the first instruction to the collaboration session. In practical applications, the service platform can create a collaboration session by creating a new room for gift collaboration. For each newly created room for gift collaboration, a unique room ID can be generated for identification.

[0044] In an alternative embodiment, the collaboration session can be established through WebSocket, which is convenient for real - time communication, so that all users who join the collaboration session can see the operations and status of other participants in real time, and realize real - time synchronization of multiple collaborative operations.

[0045] Step S202 , in response to a number of second instructions for joining the collaboration session, adds a number of second accounts corresponding to the second instructions to the collaboration session.

[0046] After creating a collaborative session, the collaborative session (such as a collaborative room) can be broadcast in the live streaming room, and other users in the live streaming room can receive the broadcast and join the collaborative session according to the received broadcast. For example, after creating a collaborative session, the service platform can display a notification like "User A is creating a collaborative gift, click to join!" in the live streaming room. After other users receive the notification, they can click the notification to join. In this case, the click of the user on the notification can be used to determine the receipt of the second instruction. Of course, the second instruction can also be in other forms. Some exemplary solutions are provided below: In an alternative embodiment, such as Figure 3 shown, the method for synthesizing gifts in the live streaming room according to the embodiments of the present application may further include: Step S600: Generate an invitation link based on the collaborative session. The invitation link is used to generate a second instruction when a click is received.

[0047] Step S602: Display the invitation link in the live streaming room or send the invitation link to the target account based on the sending instruction of the invitation link.

[0048] Specifically, after generating the collaborative session, the service platform can generate an invitation link according to the ID and related information of the collaborative session, and then display the generated invitation link in the live streaming room so that other users in the live streaming room can join the collaborative session by clicking, or the generated invitation link can be displayed in a predetermined area of the collaborative session, and then the user of the first account can send the invitation link to the second account; the service platform then sends the invitation link to the second account according to the sending instruction of the invitation link. Among them, when the generated invitation link is displayed in the live streaming room, the invitation link can be sent in the form of a bullet screen, and other users in the live streaming room can join by clicking on the corresponding bullet screen. Optionally, a control similar to "send invitation" can also be displayed in a predetermined area of the collaborative session interface. After the user clicks the control, the service platform generates an invitation link according to the related information of the collaborative session, and after the user selects the second account, the service platform sends the generated invitation link to the second account.

[0049] In this embodiment, by generating an invitation link based on the collaborative session, the invitation link is used to generate a second instruction when a click is received, and the invitation link is displayed in the live streaming room or sent to the second account based on the sending instruction of the invitation link, other users can be enabled to join the collaborative session through the invitation link, thereby facilitating multi-person collaboration to synthesize gifts in the live streaming room.

[0050] Step S204 , receive the first gift material uploaded by the first client corresponding to the first account, and receive the second gift material uploaded by the second client corresponding to the second account.

[0051] The specific material forms of the first gift material and the second gift material may be the same or different.

[0052] In an exemplary embodiment, the first gift material and the second gift material may include, but are not limited to, audio, video, special effects, models, images, and text. Among them, the audio may be voice, for example, the video may be a GIF animation, and the models may include 2D models and 3D models. After receiving the first gift material or the second gift material, the format of the gift material can be converted as necessary according to a predetermined rule to make the gift material meet the needs of gift synthesis; for example, an audio-video tool (such as ffmpeg) can be used to convert the audio in wav format to MP3 format; the gift can also be parsed to implement a preview function. For example, a 3D model can provide real-time rendering preview through a model loading library (such as webGL). For a GIG animation or other videos, preview rendering can be performed by automatically detecting information such as frame rate and duration.

[0053] In practical applications, after receiving the first gift material and the second gift material, the service platform can store the second gift material in a certain location and generate a unique URL (Uniform Resource Locator) for each gift material, so as to facilitate subsequent acquisition of the corresponding gift material according to the URL when needed. Optionally, after receiving the second gift material uploaded by the second client, the service platform can store the second gift material together with the first gift material in the CDN node close to the first account, so as to facilitate obtaining the second gift material from the CDN node nearby when performing gift synthesis.

[0054] Step S206 , synthesize a virtual gift based on the first gift material and the second gift material.

[0055] Specifically, the service platform can provide an editing operation interface for gift synthesis in the collaboration session interface, enabling the users corresponding to the first account and / or the second account to perform synthesis operations on the editing operation interface, and finally synthesize a virtual gift. The following provides some exemplary solutions: In an alternative embodiment, as Figure 4 shown, step S206 may include: Step S300, create a timeline for gift synthesis.

[0056] Step S302, in response to an instruction to join the timeline, add the first gift material and the second gift material to the timeline to specify the start playback time and end playback time of the first gift material and the second gift material in the timeline.

[0057] Step S304: In response to an instruction for timeline adjustment, adjust the positions of the first gift material and the second gift material in the timeline to adjust the start playback time and the end playback time of the first gift material and the second gift material.

[0058] Among them, the timeline for gift synthesis can be a timeline with a duration within a certain threshold, for example, a timeline within 5 seconds, so that the synthesized gift meets the requirements for display in the live broadcast room. The specific duration can be configured by the users of the collaborative session or can be the default duration.

[0059] Specifically, the service platform can determine the duration of the timeline according to the operations of the users in the collaborative session, and then create a timeline for gift synthesis; or, the service platform can create a timeline for gift synthesis according to the default duration in the interface of the collaborative session. Then, the users of the collaborative session can add the first gift material and the second gift material to a certain position in the timeline according to actual needs, thereby generating an instruction to add to the timeline; after receiving the instruction to add to the timeline, the service platform adds the first gift material and the second gift material to the timeline according to the timeline positions corresponding to the instruction, so as to specify the start playback time and the end playback time of the first gift material and the second gift material in the timeline. For example, as Figure 5 shown, the start playback time of the gift material of voice can be set to 1.5 seconds, and the end playback time can be set to 3.5 seconds; the start playback time of the gift material of gift animation can be set to 1.5 seconds, and the end playback time can be set to 5 seconds. During the synthesis process, if the users of the collaborative session are not satisfied with the position arrangement of the gift materials in the timeline, the position can be adjusted. For example, the position of a certain gift material in the timeline can be dragged for adjustment. After receiving the instruction for timeline adjustment, the service platform adjusts the positions of the first gift material and / or the second gift material in the timeline to adjust the start playback time and the end playback time of the first gift material and / or the second gift material.

[0060] In this embodiment, by creating a timeline for gift synthesis, in response to the instruction to add to the timeline, the first gift material and the second gift material are added to the timeline to specify the start playback time of the first gift material and the second gift material in the timeline; in response to the instruction for timeline adjustment, the positions of the first gift material and / or the second gift material in the timeline are adjusted to adjust the start playback time of the first gift material and / or the second gift material. The various gift materials can be effectively arranged and managed through the timeline, improving the coherence and coordination of the synthesized gift, thereby improving the quality of the synthesized gift.

[0061] In an alternative embodiment, as Figure 6 shown, the method for synthesizing gifts in the live broadcast room according to the embodiment of the present application may further include: Step S400, in response to a third instruction for material synchronization, obtain two or more target gift materials corresponding to the third instruction, where the target gift materials are any of the first gift material and the second gift material.

[0062] Step S402, set the start playback time of the target gift materials on the timeline at the same time point.

[0063] Specifically, an operation interface for selecting the first gift material and the second gift material can be provided, so that the user can select any two or more gift materials on this operation interface; and, similar controls such as "synchronization" can be provided on this operation interface, so that the user can click on this control, and when the user clicks on this control, it is determined that the third instruction is received; when it is determined that the third instruction is received, obtain the target gift materials selected by the user, and set the start playback time of these target gift materials to the same time point on the timeline. Among them, the same time point can be configured by the user, or based on the position of a certain target gift material on the timeline, synchronize other target gift materials to the reference position. Of course, in practical applications, other methods or interfaces can also be used to achieve a similar effect, which is not specifically limited here.

[0064] In this embodiment, by responding to the third instruction for material synchronization, obtaining two or more target gift materials corresponding to the third instruction, where the target gift materials are any of the first gift material and the second gift material, and setting the start playback time of the target gift materials on the timeline at the same time point, the effect of synchronous playback of several gift materials (such as the effect of simultaneous appearance of voice, text, and animation) can be achieved during the gift synthesis process, improving the diversification of gift synthesis.

[0065] In an alternative embodiment, as Figure 7 shown, the method for synthesizing live broadcast gifts in the embodiments of the present application may further include: Step S500, when a virtual gift is played in the live broadcast room, generate collaborator information based on the first account and the second account.

[0066] Step S502, display the collaborator information in a preset manner.

[0067] Among them, the preset manner may be to display it in the form of bullet comments. For example, if the collaborator information is users A, B, C, and D, then information similar to "the gift is jointly presented by users A, B, C, and D" can be displayed in the form of scrolling bullet comments. Or, the preset manner may be a special effect manner. For example, when the synthesized virtual gift is played, the IDs of each collaborator can appear dynamically near the playback position. Of course, the preset manner may also be other forms, which are not specifically limited here.

[0068] Specifically, after synthesizing a virtual gift, the user can send the virtual gift to the live broadcast room; when the virtual gift is played in the live broadcast room, the service platform can obtain the first account and the second account, and generate collaborator information based on the first account and the second account. The collaborator information may include information such as the user nickname, user avatar, user ID, etc., and the specific content included can be set according to actual needs. After generating the collaborator information, the collaborator information is displayed according to a preset method, so that the audience in the live broadcast room can know which contributors the synthesized virtual gift has.

[0069] In actual applications, the given virtual gifts can be stored in the records of the first account and the second account, and the user can replay them at any time; optionally, the live broadcast room host background can also record them and replay them as needed, or the live broadcast room host can select them and then display the selected gifts.

[0070] In this embodiment, by generating collaborator information based on the first account and the second account when the virtual gift is played in the live broadcast room, and displaying the collaborator information in a preset manner, the users in the live broadcast room can understand the contributors of the currently played virtual gift, thereby improving the enthusiasm of the collaborators of the synthesized gift and enhancing the user experience of the collaborators.

[0071] Embodiment 2 Figure 8 The block diagram of the live broadcast room gift synthesis device according to Embodiment 2 of the present application is schematically shown. The device can be divided into one or more program modules. One or more program modules are stored in a storage medium and are executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. As Figure 8 shown, the device 700 may include a creation module 710, a joining module 720, a receiving module 730, and a synthesis module 740, where: The creation module 710 is configured to create a collaboration session for gift collaboration in response to a first instruction for live broadcast room gift collaboration, and add the first account corresponding to the first instruction to the collaboration session; The joining module 720 is configured to add a plurality of second accounts corresponding to the second instructions to the collaboration session in response to a plurality of second instructions for joining the collaboration session; The receiving module 730 is configured to receive the first gift material uploaded by the first client corresponding to the first account, and receive the second gift material uploaded by the second client corresponding to the second account; The synthesis module 740 is configured to synthesize a virtual gift based on the first gift material and the second gift material.

[0072] In an alternative embodiment, the synthesis module 740 is further configured to: Create a timeline for gift synthesis; In response to an instruction to join the timeline, add the first gift material and the second gift material to the timeline to specify the start playback time and the end playback time of the first gift material and the second gift material in the timeline; In response to an instruction to adjust the timeline, adjust the positions of the first gift material and / or the second gift material in the timeline to adjust the start playback time and the end playback time of the first gift material and / or the second gift material.

[0073] In an alternative embodiment, the apparatus 700 is further configured to: In response to a third instruction for material synchronization, obtain two or more target gift materials corresponding to the third instruction, where the target gift materials are any of the first gift material and the second gift material; Set the start playback time of the target gift material in the timeline at the same time point.

[0074] In an alternative embodiment, the apparatus 700 is further configured to: When the virtual gift is played in the live broadcast room, generate collaborator information based on the first account and the second account; Display the collaborator information in a preset manner.

[0075] In an alternative embodiment, the apparatus 700 is further configured to: Generate an invitation link based on the collaboration session, where the invitation link is used to generate the second instruction when clicked; Display the invitation link in the live broadcast room or send the invitation link to the second account based on a sending instruction for the invitation link.

[0076] In an alternative embodiment, the collaboration session is established through WebSocket.

[0077] In an alternative embodiment, the first gift material and the second gift material include audio, video, special effects, models, images, and text.

[0078] Embodiment III Figure 9Schematically shown is a hardware architecture diagram of a computer device 10000 suitable for implementing the live broadcast room gift synthesis method according to Embodiment 3 of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers), etc. As Figure 9 shown, the computer device 10000 includes, but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can be communicatively linked to each other through a system bus. Among them: The memory 10010 includes at least one type of computer-readable storage medium. The readable storage medium includes flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as the hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 10000. Of course, the memory 10010 may also include both the internal storage module and the external storage device of the computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the live broadcast room gift synthesis method. In addition, the memory 10010 may also be used to temporarily store various data that have been output or will be output.

[0079] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.

[0080] The network interface 10030 may include a wireless network interface or a wired network interface, which is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an enterprise intranet (Intranet), the Internet, the Global System of Mobile communication (GSM for short), Wideband Code Division Multiple Access (WCDMA for short), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0081] It should be noted that Figure 9 only the computer device with components 10010 - 10030 is shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented alternatively.

[0082] In this embodiment, the live room gift synthesis method stored in the memory 10010 may also be divided into one or more program modules and executed by one or more processors (such as the processor 10020) to complete the embodiments of the present application.

[0083] Embodiment 4 The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the live room gift synthesis method in the embodiments are implemented.

[0084] In this embodiment, the computer-readable storage medium includes flash memory, hard disks, multimedia cards, card-type memories (such as SD or DX memories, etc.), random access memories (RAM), static random access memories (SRAM), read-only memories (ROM), electrically erasable programmable read-only memories (EEPROM), programmable read-only memories (PROM), magnetic memories, magnetic disks, optical disks, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc., equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is generally used to store the operating system installed on the computer device and various application software, such as the program code of the live room gift synthesis method in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various data that have been output or will be output.

[0085] Embodiment 5 The embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.

[0086] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application can be implemented by a general computer device. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Optionally, they can be implemented by program codes executable by the computer device. Thus, they can be stored in a storage device and executed by the computer device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0087] It should be noted that the above are only the preferred embodiments of the present application, and do not limit the patent protection scope of the present application accordingly. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A method for synthesizing gifts in a live broadcast room, characterized in that, The method includes: In response to a first instruction for live room gift collaboration, creating a collaboration session for gift collaboration and adding the first account corresponding to the first instruction to the collaboration session; In response to several second instructions for joining the collaboration session, adding several second accounts corresponding to the second instructions to the collaboration session; Receiving a first gift material uploaded by a first client corresponding to the first account, and receiving a second gift material uploaded by a second client corresponding to the second account; Synthesizing a virtual gift based on the first gift material and the second gift material.

2. The method according to claim 1, characterized in that The synthesizing the virtual gift based on the first gift material and the second gift material includes: Creating a timeline for gift synthesis; In response to an instruction for joining the timeline, adding the first gift material and the second gift material to the timeline to specify the start playing time and the end playing time of the first gift material and the second gift material in the timeline; In response to an instruction for adjusting the timeline, adjusting the positions of the first gift material and / or the second gift material in the timeline to adjust the start playing time and the end playing time of the first gift material and / or the second gift material.

3. The method according to claim 2, wherein The method further includes: In response to a third instruction for material synchronization, obtaining two or more target gift materials corresponding to the third instruction, where the target gift materials are any of the first gift material and the second gift material; Setting the start playing time of the target gift materials in the timeline at the same time point.

4. The method according to claim 2, wherein The method further includes: When the virtual gift is played in the live room, generating collaborator information based on the first account and the second account; Displaying the collaborator information in a preset manner.

5. The method according to claim 1, wherein The method further includes: Generating an invitation link based on the collaboration session, where the invitation link is used to generate the second instruction when clicked; Displaying the invitation link in the live room or sending the invitation link to the second account based on a sending instruction for the invitation link.

6. The method according to claim 5, wherein The collaboration session is established through WebSocket.

7. The method according to any one of claims 1 to 6, characterized in that The first gift material and the second gift material include audio, video, special effects, models, images, and text.

8. A live broadcast room gift synthesis device, characterized in that, The device includes: A creation module, configured to create a collaboration session for gift collaboration in response to a first instruction for live room gift collaboration, and add the first account corresponding to the first instruction to the collaboration session; An addition module, configured to add several second accounts corresponding to second instructions to the collaboration session in response to several second instructions for joining the collaboration session; A receiving module, configured to receive a first gift material uploaded by a first client corresponding to the first account, and receive a second gift material uploaded by a second client corresponding to the second account; A synthesis module, configured to synthesize a virtual gift based on the first gift material and the second gift material.

9. A computer device, characterized in that, including: At least one processor; and A memory communicatively connected to the at least one processor; wherein: The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.