Livestream gift synthesis method and apparatus

By creating collaborative sessions on live streaming platforms, multiple users can collaborate to create virtual gifts, solving the problem of limited forms of virtual gift giving and improving the user experience.

WO2026237999A1PCT designated stage Publication Date: 2026-11-19SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/096701
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-15
Filing Date
2026-05-13
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

The current virtual gift-giving methods on live streaming platforms are relatively limited, resulting in a poor user experience.

Method used

By creating collaborative sessions for gift collaboration, multiple users can collaborate to upload gift materials and create virtual gifts, including steps such as creating a timeline, adjusting material positions and times, and generating collaborator information.

Benefits of technology

It enriches the interactive forms of gifts in the live broadcast room, and enhances the fun and experience of users giving gifts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026096701_19112026_PF_FP_ABST
    Figure CN2026096701_19112026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a livestream gift synthesis method. The livestream gift synthesis method comprises: in response to a first instruction for livestream gift collaboration, creating a collaboration session for gift collaboration, and adding a first account corresponding to the first instruction to the collaboration session; in response to multiple second instructions for joining the collaboration session, adding multiple 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 second gift materials uploaded by second clients corresponding to the second accounts; and synthesizing a virtual gift on the basis of the first gift material and the second gift materials. According to the technical solutions of the embodiments of the present application, a plurality of gift materials can be provided to collaboratively synthesize livestream gifts for gifting, thereby enriching forms of livestream gifting interaction, providing more choices for users in a live stream, making gifting more engaging for the users, and thus improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Methods and devices for creating gifts in live streaming rooms

[0001] This application claims priority to Chinese Patent Application No. 202510631055.0, filed on May 15, 2025, entitled “Method and Apparatus for Synthesizing Gifts in Live Streaming Rooms”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of network technology, and in particular to a method, apparatus, computer device, computer-readable storage medium, and computer-readable instruction product for synthesizing gifts in a live streaming room. Background Technology

[0003] While watching a live stream, users may send virtual gifts to the streamer to show their support.

[0004] However, in current live streaming platforms, virtual gifts are usually sent by individual users who select virtual gifts provided by the platform. The form of gift interaction is relatively simple, and the user experience is not ideal.

[0005] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the Invention

[0006] This application provides a method, apparatus, computer device, computer-readable storage medium, and computer-readable instruction product for synthesizing gifts in a live streaming room, in order to solve or alleviate one or more of the technical problems mentioned above.

[0007] One aspect of this application provides a method for synthesizing live-streaming room gifts, the method comprising:

[0008] In response to the first instruction for live stream gift collaboration, a collaboration session for gift collaboration is created, and the first account corresponding to the first instruction is added to the collaboration session;

[0009] In response to several second instructions to join the collaboration session, several second accounts corresponding to the second instructions are added to the collaboration session;

[0010] 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;

[0011] A virtual gift is created based on the first gift material and the second gift material.

[0012] Optionally, the step of synthesizing a virtual gift based on the first gift material and the second gift material includes:

[0013] Create a timeline for gift crafting;

[0014] 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 and end times of the first gift material and the second gift material in the timeline;

[0015] In response to the instruction to adjust the timeline, the positions of the first gift material and / or the second gift material in the timeline are adjusted to adjust the start and end times of the first gift material and / or the second gift material.

[0016] Optionally, the method further includes:

[0017] In response to a third instruction to synchronize materials, two or more target gift materials corresponding to the third instruction are obtained, wherein the target gift materials are any one of the first gift material and the second gift material;

[0018] Set the start playback time of the target gift material on the timeline to the same point in time.

[0019] Optionally, the method further includes:

[0020] When the virtual gift is played in the live stream, collaborator information is generated based on the first account and the second account;

[0021] The collaborator information is displayed in a preset manner.

[0022] Optionally, the method further includes:

[0023] An invitation link is generated based on the collaboration session, and the invitation link is used to generate the second instruction when a click is received;

[0024] The invitation link is displayed in the live stream room or sent to the second account based on the sending command of the invitation link.

[0025] Optionally, the collaboration session is established via WebSocket.

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

[0027] Another aspect of this application provides a live-streaming gift synthesis device, the device comprising:

[0028] A creation module is used to respond to a first instruction for live room gift collaboration, create a collaboration session for gift collaboration, and add the first account corresponding to the first instruction to the collaboration session;

[0029] The add module is used to add several second accounts corresponding to the second instructions to the collaboration session in response to several second instructions.

[0030] The receiving module is used to receive the first gift material uploaded by the first client corresponding to the first account, and to receive the second gift material uploaded by the second client corresponding to the second account;

[0031] The synthesis module is used to synthesize a virtual gift based on the first gift material and the second gift material.

[0032] Another aspect of this 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 computer-readable instructions executable by the at least one processor, the computer-readable instructions being executed by the at least one processor to enable the at least one processor to perform the method described above.

[0033] Another aspect of this application provides a computer-readable storage medium storing computer-readable instructions that, when executed by a processor, implement the method described above.

[0034] Another aspect of this application provides a computer-readable instruction product, including computer-readable instructions that, when executed by a processor, implement the method described above.

[0035] The embodiments of this application employing the above-described technical solution may have the following advantages:

[0036] In response to a first instruction to collaborate on gifts in the live stream, a collaborative session for gift collaboration is created, and the first account corresponding to the first instruction is added to the collaborative session. In response to several second instructions to join the collaborative session, several second accounts corresponding to the second instructions are added to the collaborative session. The system receives the first gift material uploaded by the first client corresponding to the first account and the second gift material uploaded by the second client corresponding to the second account. Based on the first and second gift materials, a virtual gift is synthesized. Virtual gifts can be synthesized through collaboration among multiple users in the live stream, allowing users to send more diverse gifts, enriching the forms of gift interaction in the live stream, increasing the fun of gift-giving, and thus improving the user experience. Attached Figure Description

[0037] The accompanying drawings exemplify embodiments and form part of the specification, serving to explain exemplary implementations of the embodiments together with the textual description. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0038] Figure 1 schematically illustrates the operating environment of the live-streaming gift synthesis method according to Embodiment 1 of this application;

[0039] Figure 2 schematically illustrates a flowchart of a live-stream gift synthesis method according to Embodiment 1 of this application;

[0040] Figure 3 schematically illustrates the new process of the live-streaming gift synthesis method according to Embodiment 1 of this application;

[0041] Figure 4 schematically shows the flowchart of the sub-steps of step S206 in Figure 2;

[0042] Figure 5 schematically illustrates an example of gift synthesis in the live-streaming gift synthesis method according to Embodiment 1 of this application;

[0043] Figure 6 schematically illustrates another additional process of the live-streaming gift synthesis method according to Embodiment 1 of this application;

[0044] Figure 7 schematically illustrates another new process in the live-streaming gift synthesis method according to Embodiment 1 of this application;

[0045] Figure 8 schematically shows a block diagram of a live-streaming gift synthesis device according to Embodiment 2 of this application; and

[0046] Figure 9 schematically illustrates a hardware architecture diagram of a computer device according to Embodiment 3 of this application. Embodiments of the present invention

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0048] It should be noted that the descriptions involving "first," "second," etc., in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0049] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order of the steps, but are only used to facilitate the description of this application and to distinguish each step, and therefore should not be construed as a limitation of this application.

[0050] First, a definition of the terminology used in this application is provided:

[0051] WebSocket is a network transmission protocol located at the application layer of the OSI model, which enables full-duplex communication over a single TCP connection.

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

[0053] Secondly, to facilitate understanding of the technical solutions provided in the embodiments of this application by those skilled in the art, the relevant technologies are described below:

[0054] Currently, virtual gifts on live streaming platforms are typically sent by individual users who choose virtual gifts provided by the platform. This results in a rather simplistic form of interaction and a poor user experience.

[0055] Therefore, this application provides a technical solution for synthesizing live-streaming gifts. In this solution, multiple users contribute gift materials to collaboratively synthesize live-streaming gifts for gift-giving, enriching the interactive elements of live-streaming gifts, providing users with more diverse gift choices, increasing the fun of gift-giving, and thus improving user experience. See below for details.

[0056] Finally, for ease of understanding, an exemplary operating environment is provided below.

[0057] As shown in Figure 1, the environment diagram includes a service platform 2, a network 4, and a client 6, wherein:

[0058] Service platform 2 can consist of one or more computing devices. These computing devices may include virtualized computing instances. Virtualized computing instances may 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 used for emulation (e.g., operating systems, dedicated applications, servers). 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.

[0059] Service platform 2 can be configured to communicate with clients 6, etc., via network 4. Network 4 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or similar devices. Network 4 may include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, or combinations thereof, or wireless links, such as cellular links, satellite links, Wi-Fi links, etc.

[0060] Service platform 2 can provide services such as storage, reading, writing, querying, and deleting, as well as providing clients with services such as live streaming and virtual gift sending.

[0061] Client 6 can be an electronic device running operating systems such as Windows, Android™, or iOS, including smartphones, tablets, laptops, virtual reality devices, gaming devices, set-top boxes, in-vehicle terminals, and smart TVs. Based on these operating systems, various applications can run, such as applications that run live streaming rooms.

[0062] Client 6 can provide / configure user access pages, which can be used to control service platform 2 or upload objects, etc.

[0063] It should be noted that the above-mentioned equipment is exemplary, and the number and type of equipment can be adjusted in different scenarios or according to different needs.

[0064] The technical solutions of this application are described below through several embodiments. It should be understood that these embodiments can be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein.

[0065] Example 1

[0066] Figure 2 schematically illustrates a flowchart of a live-streaming gift synthesis method according to Embodiment 1 of this application. It should be noted that the entity executing the live-streaming gift synthesis method of this embodiment can be a service platform.

[0067] As shown in Figure 2, the method for synthesizing gifts in the live streaming room may include steps S200~S206, wherein:

[0068] Step S200: In response to the first instruction for live room gift collaboration, create a collaboration session for gift collaboration and add the first account corresponding to the first instruction to the collaboration session.

[0069] Step S202: In response to several second instructions to join the collaboration session, several second accounts corresponding to the second instructions are added to the collaboration session.

[0070] 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.

[0071] Step S206: Synthesize a virtual gift based on the first gift material and the second gift material.

[0072] The live-stream gift synthesis method provided in this embodiment creates a collaborative session for gift collaboration in response to a first instruction for live-stream gift collaboration, and adds a first account corresponding to the first instruction to the collaborative session; in response to several second instructions to join the collaborative session, adds several second accounts corresponding to the second instructions to the collaborative session; receives a first gift material uploaded by a first client corresponding to the first account, and receives a second gift material uploaded by a second client corresponding to the second account; and synthesizes a virtual gift based on the first and second gift materials. This method allows multiple users in the live-stream to collaborate in synthesizing virtual gifts, enabling users to send more diverse gifts, enriching the forms of gift interaction in the live-stream, increasing the fun of gift-giving, and thus improving the user experience.

[0073] The following, with reference to Figure 2, elaborates on each step in steps S200 to S206, as well as other optional steps.

[0074] Step S200: In response to the first instruction for live room gift collaboration, create a collaboration session for gift collaboration and add the first account corresponding to the first instruction to the collaboration session.

[0075] Specifically, the live stream room can provide controls corresponding to the first instruction. When a user clicks the corresponding control, it is determined that the first instruction has been received. For example, the live stream room can display a gift collaboration control in the relevant gift-giving area. When a user clicks this control, it is determined that the first instruction has been received. Of course, the first instruction can also take other forms, such as a preset operation trajectory (e.g., drawing a circle), etc., without specific limitations. Upon receiving the first instruction, the service platform can create a gift collaboration session 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 gift collaboration room. For each newly created gift collaboration room, a unique room ID can be generated for identification.

[0076] In an optional embodiment, the collaboration session can be established via WebSocket, facilitating real-time communication. This allows all users who join the collaboration session to see the operations and status of other participants in real time, enabling real-time synchronization of multiple collaborative operations.

[0077] Step S202: In response to several second instructions to join the collaboration session, several second accounts corresponding to the second instructions are added to the collaboration session.

[0078] After creating a collaborative session, it can be broadcast in the live stream (e.g., a collaborative room). Other users in the live stream can receive the broadcast and join the collaborative session based on the received broadcast. For example, after creating a collaborative session, the service platform can display a notification in the live stream such as "User A is creating a collaborative gift, click to join!" Other users can click the notification to join after receiving it. In this case, the user's click on the notification can be used to determine if a second instruction has been received. Of course, the second instruction can also take other forms; some exemplary solutions are provided below:

[0079] In an optional embodiment, as shown in FIG3, the live-streaming gift synthesis method of this application embodiment may further include:

[0080] Step S600: Generate an invitation link based on the collaboration session. The invitation link is used to generate a second instruction when a click is received.

[0081] Step S602: Display the invitation link in the live stream or send the invitation link to the target account based on the sending command of the invitation link.

[0082] Specifically, after a collaborative session is generated, the service platform can generate an invitation link based on the session's ID and related information. This invitation link is then displayed in the live stream room, allowing other users to join the session. Alternatively, the generated invitation link can be displayed in a designated area within the collaborative session, allowing the first user to send it to a second user's account. The service platform then sends the invitation link to the second user's account according to the sending command. When displaying the generated invitation link in the live stream room, it can be sent via a bullet screen (or "bullet screen"), allowing other users to join by clicking the corresponding bullet screen. Optionally, a "Send Invitation" control can be displayed in a designated area of ​​the collaborative session interface. After a user clicks this control, the service platform generates another invitation link based on the collaborative session's information. Once the user selects a second user's account, the service platform sends the generated invitation link to that account.

[0083] In this embodiment, an invitation link is generated based on the collaborative session. The invitation link is used to generate a second instruction when a click is received, displaying the invitation link in the live room or sending the invitation link to a second account based on the sending instruction of the invitation link. Other users can be invited to join the collaborative session through the invitation link, thereby facilitating multiple people to collaborate in creating gifts in the live room.

[0084] 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.

[0085] The materials for the first gift and the materials for the second gift can be in the same or different formats.

[0086] 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. Audio may be, for example, speech; video may be, for example, a GIF animation; and models may include 2D and 3D models. Upon receiving the first or second gift material, the format of the gift material can be converted according to predetermined rules to meet the needs of gift composition. For example, audio and video tools (such as ffmpeg) can be used to convert WAV format audio to MP3 format. Furthermore, the gift can be parsed to implement a preview function. For example, 3D models can provide real-time rendering previews through model loading libraries (such as WebGL), and for GIF animations or other videos, preview rendering can be performed by automatically detecting information such as frame rate and duration.

[0087] In practical applications, after receiving the first and second gift materials, 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, making it convenient to retrieve the corresponding gift material based on 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 a CDN node near the first account, making it convenient to retrieve the second gift material from the nearest CDN node when performing gift synthesis.

[0088] Step S206: Synthesize a virtual gift based on the first gift material and the second gift material.

[0089] Specifically, the service platform can provide an editing interface for gift creation within the collaborative session, allowing users corresponding to the first and / or second accounts to perform the creation operation on this interface, ultimately resulting in a virtual gift. The following are some exemplary solutions:

[0090] In an optional embodiment, as shown in FIG4, step S206 may include:

[0091] Step S300: Create a timeline for gift composition.

[0092] In step S302, 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 and end times of the first gift material and the second gift material in the timeline.

[0093] Step S304: In response to the instruction to adjust the timeline, adjust the positions of the first gift material and the second gift material in the timeline to adjust the start and end playback times of the first gift material and the second gift material.

[0094] The timeline for gift creation can be a timeline with a duration within a certain threshold, such as 5 seconds or less, to ensure that the created gifts meet the requirements for display in the live stream. The specific duration can be configured by the users in the collaboration session or can be the default duration.

[0095] Specifically, the service platform can determine the duration of the timeline based on the actions of users in the collaborative session, and then create the gift synthesis timeline; alternatively, the service platform can create the gift synthesis timeline based on the default duration within the collaborative session interface. Then, users in the collaborative session can add the first and second gift materials to a specific position on the timeline according to their needs, thus generating an instruction to add them to the timeline. Upon receiving the instruction, the service platform adds the first and second gift materials to the timeline according to the timeline position corresponding to the instruction, thereby specifying the start and end times of the first and second gift materials on the timeline. For example, as shown in Figure 5, the start time of the voice gift material can be set to 1.5 seconds, and the end time to 3.5 seconds; the start time of the animation gift material can be set to 1.5 seconds, and the end time to 5 seconds. During the synthesis process, if users in the collaborative session are not satisfied with the arrangement of the gift materials on the timeline, they can adjust the positions, for example, by dragging a gift material on the timeline. After receiving the instruction to adjust the timeline, the service platform adjusts the position of the first gift material and / or the second gift material in the timeline to adjust the start and end times of the first gift material and / or the second gift material.

[0096] 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 to adjust the timeline, 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 timeline can effectively arrange and manage each gift material, improve the coherence and coordination of the synthesized gift, and thus improve the quality of the synthesized gift.

[0097] In an optional embodiment, as shown in FIG6, the live-streaming gift synthesis method of this application embodiment may further include:

[0098] Step S400: In response to the third instruction to synchronize materials, obtain two or more target gift materials corresponding to the third instruction, wherein the target gift material is any one of the first gift material and the second gift material.

[0099] Step S402: Set the start playback time of the target gift material on the timeline to the same time point.

[0100] Specifically, an interface can be provided to select between the first and second gift materials, allowing users to choose any two or more gift materials. This interface can also include controls such as "Synchronize," which, when clicked, indicates a third instruction has been received. Upon receiving the third instruction, the selected target gift materials are retrieved, and their start times on the timeline are set to the same point. This "same time point" can be configured by the user, or it can be based on the position of one target gift material on the timeline, synchronizing other target gift materials to that position. Of course, other methods or interfaces can achieve similar effects in practical applications; specific limitations are not specified here.

[0101] In this embodiment, by responding to the third instruction for material synchronization, two or more target gift materials corresponding to the third instruction are obtained. The target gift material is any one of the first gift material and the second gift material. The start playback time of the target gift material on the timeline is set to the same time point, which can achieve the effect of simultaneous playback of several gift materials (such as the effect of voice, text and animation appearing at the same time) during the gift synthesis process, and improve the diversity of gift synthesis.

[0102] In an optional embodiment, as shown in FIG7, the live-streaming gift synthesis method of this application embodiment may further include:

[0103] Step S500: When virtual gifts are played in the live broadcast room, collaborator information is generated based on the first account and the second account.

[0104] Step S502: Display the collaborator information in a preset manner.

[0105] One preset method is to display the gift as a bullet screen. For example, if the collaborators are users A, B, C, and D, a scrolling bullet screen could display information such as "The gift was jointly given by users A, B, C, and D." Alternatively, the preset method can be a special effect, such as dynamically displaying the IDs of each collaborator near the playback position when the synthesized virtual gift is played. Of course, other preset methods are also possible, and no specific restrictions are placed here.

[0106] Specifically, after creating a virtual gift, users can send it to the live stream. When the virtual gift is played in the live stream, the service platform can obtain a first account and a second account, and generate collaborator information based on these accounts. This collaborator information may include user nicknames, avatars, user IDs, etc., and the specific content can be customized as needed. After generating the collaborator information, it is displayed according to a preset method, allowing live stream viewers to see who contributed to the created virtual gift.

[0107] In practical applications, virtual gifts that have been given can be stored in the records of the first and second accounts, and users can replay them at any time. Optionally, the live stream host can also record them in the backend and replay them as needed, or the live stream host can select and display the selected gifts.

[0108] In this embodiment, when virtual gifts are played in the live broadcast room, collaborator information is generated based on the first account and the second account. The collaborator information is displayed in a preset manner, which allows users in the live broadcast room to know the contributors who are currently playing virtual gifts, thereby increasing the enthusiasm of collaborators in synthesizing gifts and improving the user experience of collaborators.

[0109] Example 2

[0110] Figure 8 schematically illustrates a block diagram of a live-streaming gift synthesis device according to Embodiment 2 of this application. This device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of this application. The program module referred to in this embodiment is a series of computer-readable instruction segments capable of performing a specific function. The following description will specifically introduce the functions of each program module in this embodiment. As shown in Figure 8, the device 700 may include a creation module 710, an addition module 720, a receiving module 730, and a synthesis module 740, wherein:

[0111] The creation module 710 is used to respond to the first instruction of live room gift collaboration, create a collaboration session for gift collaboration, and add the first account corresponding to the first instruction to the collaboration session;

[0112] The module 720 is configured to add several second accounts corresponding to the second instructions to the collaboration session in response to several second instructions to join the collaboration session;

[0113] The receiving module 730 is used to receive the first gift material uploaded by the first client corresponding to the first account, and to receive the second gift material uploaded by the second client corresponding to the second account;

[0114] The synthesis module 740 is used to synthesize a virtual gift based on the first gift material and the second gift material.

[0115] In an optional embodiment, the synthesis module 740 is further configured to:

[0116] Create a timeline for gift crafting;

[0117] 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 and end times of the first gift material and the second gift material in the timeline;

[0118] In response to the instruction to adjust the timeline, the positions of the first gift material and / or the second gift material in the timeline are adjusted to adjust the start and end times of the first gift material and / or the second gift material.

[0119] In an optional embodiment, the device 700 is further used for:

[0120] In response to a third instruction to synchronize materials, two or more target gift materials corresponding to the third instruction are obtained, wherein the target gift materials are any one of the first gift material and the second gift material;

[0121] Set the start playback time of the target gift material on the timeline to the same point in time.

[0122] In an optional embodiment, the device 700 is further used for:

[0123] When the virtual gift is played in the live stream, collaborator information is generated based on the first account and the second account;

[0124] The collaborator information is displayed in a preset manner.

[0125] In an optional embodiment, the device 700 is further used for:

[0126] An invitation link is generated based on the collaboration session, and the invitation link is used to generate the second instruction when a click is received;

[0127] The invitation link is displayed in the live stream room or sent to the second account based on the sending command of the invitation link.

[0128] In an optional embodiment, the collaboration session is established via WebSocket.

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

[0130] Example 3

[0131] Figure 9 schematically illustrates the hardware architecture of a computer device 10000 suitable for implementing a live-stream gift synthesis method according to Embodiment 3 of this application. In some embodiments, the computer device 10000 may be a smartphone, wearable device, tablet computer, personal computer, vehicle terminal, game console, virtual device, workbench, digital assistant, set-top box, robot, or other terminal device. In other embodiments, the computer device 10000 may be a rack server, blade server, tower server, or cabinet server (including independent servers or server clusters composed of multiple servers). As shown in Figure 9, the computer device 10000 includes, but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate and be linked to each other via a system bus. Wherein:

[0132] The memory 10010 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of a 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, smart media card (SMC), secure digital (SD) card, 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 typically used to store the operating system and various application software installed on the computer device 10000, such as the program code for the live-stream gift synthesis method. In addition, the memory 10010 can also be used to temporarily store various types of data that have been output or will be output.

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

[0134] Network interface 10030 may include a wireless network interface or a wired network interface, which is typically used to establish a communication link between computer device 10000 and other computer devices. For example, network interface 10030 is used to connect computer device 10000 to an external terminal via a network, establishing a data transmission channel and communication link between computer device 10000 and the external terminal. The network may be an intranet, the Internet, Global System for Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, or other wireless or wired networks.

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

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

[0137] Example 4

[0138] This application also provides a computer-readable storage medium storing computer-readable instructions thereon, wherein the computer-readable instructions, when executed by a processor, implement the steps of the live-streaming gift synthesis method in the embodiment.

[0139] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can 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 can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device. Of course, the computer-readable storage medium can 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 typically used to store the operating system and various application software installed on the computer device, such as the program code of the live-stream gift synthesis method in this embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0140] Example 5

[0141] This application also provides a computer-readable instruction product, including computer-readable instructions that, when executed by a processor, implement the methods described in the above embodiments.

[0142] Obviously, those skilled in the art should understand that the modules or steps of the embodiments of this application described above can be implemented using general-purpose computer devices. They can be centralized on a single computer device or distributed across a network of multiple computer devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computer device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of this application are not limited to any particular combination of hardware and software.

[0143] It should be noted that the above are merely preferred embodiments of this application and do not limit the scope of patent protection of this application. Any equivalent structural or procedural changes made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.

Claims

1. A method for synthesizing gifts in a live-streaming room, the method comprising: In response to the first instruction for live stream gift collaboration, a collaboration session for gift collaboration is created, and the first account corresponding to the first instruction is added to the collaboration session; In response to several second instructions to join the collaboration session, several second accounts corresponding to the second instructions are added to the collaboration session; 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; A virtual gift is created based on the first gift material and the second gift material.

2. The method according to claim 1, wherein synthesizing a virtual gift based on the first gift material and the second gift material comprises: Create a timeline for gift crafting; 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 and end times of the first gift material and the second gift material in the timeline; In response to the instruction to adjust the timeline, the positions of the first gift material and / or the second gift material in the timeline are adjusted to adjust the start and end times of the first gift material and / or the second gift material.

3. The method according to claim 2, further comprising: In response to a third instruction to synchronize materials, two or more target gift materials corresponding to the third instruction are obtained, wherein the target gift materials are any one of the first gift material and the second gift material; Set the start playback time of the target gift material on the timeline to the same point in time.

4. The method according to claim 2, further comprising: When the virtual gift is played in the live stream, collaborator information is generated based on the first account and the second account; The collaborator information is displayed in a preset manner.

5. The method according to claim 1, further comprising: An invitation link is generated based on the collaboration session, and the invitation link is used to generate the second instruction when a click is received; The invitation link is displayed in the live stream room or sent to the second account based on the sending command of the invitation link.

6. The method according to claim 5, wherein the collaborative session is established via WebSocket.

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

8. A live-streaming gift synthesis device, the device comprising: A creation module is used to respond to a first instruction for live room gift collaboration, create a collaboration session for gift collaboration, and add the first account corresponding to the first instruction to the collaboration session; The add module is used to add several second accounts corresponding to the second instructions to the collaboration session in response to several second instructions. The receiving module is used to receive the first gift material uploaded by the first client corresponding to the first account, and to receive the second gift material uploaded by the second client corresponding to the second account; The synthesis module is used to synthesize a virtual gift based on the first gift material and the second gift material.

9. A computer device, comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein: The memory stores computer-readable instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.

10. A computer-readable storage medium storing computer-readable instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 7.

11. A computer-readable instruction product comprising computer-readable instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7.