Virtual gift sending method and device, electronic equipment and storage medium

By displaying dynamically determined controls within the live stream interface, virtual gifts matching the live stream content are automatically sent, solving the problem of low efficiency in sending virtual gifts and improving the user's interactive experience.

CN121665012APending Publication Date: 2026-03-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-17
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Current technologies for sending virtual gifts are inefficient and time-consuming for users, which negatively impacts the user experience.

Method used

By displaying a first control dynamically determined based on the live stream content within the live stream interface, and automatically sending targeted virtual gifts in response to user triggers, the system combines dynamic and traditional virtual gift sending methods to improve interaction efficiency.

Benefits of technology

This reduces the steps users need to manually select virtual gifts, improves the efficiency of sending virtual gifts and interaction, and ensures that matching virtual gifts can be sent in a timely manner when the live broadcast content changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121665012A_ABST
    Figure CN121665012A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a virtual gift sending method and device, electronic equipment and a storage medium, a live broadcast room interface is displayed, the live broadcast room interface is at least used for displaying a target live broadcast room and a first control, and the first control is used for sending a target virtual gift to the target live broadcast room. The target virtual gift is dynamically determined according to the live broadcast content of the target live broadcast room; and in response to a trigger operation for the first control, sending the target virtual gift to the target live broadcast room. The method comprises the following steps: displaying a first control capable of sending a target virtual gift based on the live broadcast content dynamic change of the target live broadcast room while displaying the target live broadcast room in a live broadcast room interface, and then responding to a trigger operation for the first control to realize sending of the dynamic virtual gift matched with the current live broadcast content of the target live broadcast room. The time consumption caused by manual selection of the virtual gift adaptive to the current live broadcast room content by the user is avoided, and the interaction efficiency in the process of sending the virtual gift is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for sending virtual gifts. Background Technology

[0002] Currently, sending virtual gifts is a common way for viewers and streamers to interact in live streaming scenarios. By sending virtual gifts and displaying special effects in the live stream, the interaction between users and streamers and the live stream effect can be effectively improved.

[0003] In existing technologies, on the viewer's client side, virtual gifts are usually configured within a virtual gift interface, which is invoked by the user and selected from which the desired virtual gift is sent.

[0004] However, in practical applications, the solutions in the aforementioned existing technologies suffer from low efficiency in sending virtual gifts and long user operation times, which affect the user experience. Summary of the Invention

[0005] This disclosure provides a method, apparatus, electronic device, and storage medium for sending virtual gifts, in order to overcome the problems of low efficiency and long user operation time in sending virtual gifts.

[0006] In a first aspect, embodiments of this disclosure provide a method for sending virtual gifts, including:

[0007] The live stream interface is used to display at least a target live stream and a first control, wherein the first control is used to send a target virtual gift to the target live stream, the target virtual gift being dynamically determined based on the live stream content of the target live stream; and in response to a trigger operation on the first control, the target virtual gift is sent to the target live stream.

[0008] Secondly, embodiments of this disclosure provide a virtual gift sending device, comprising:

[0009] The display module is used to display the live streaming room interface, which is used to display at least the target live streaming room and the first control, wherein the first control is used to send a target virtual gift to the target live streaming room, and the target virtual gift is dynamically determined according to the live streaming content of the target live streaming room;

[0010] The sending module is used to send a target virtual gift to the target live streaming room in response to a trigger operation on the first control.

[0011] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;

[0012] The memory stores computer-executed instructions;

[0013] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the virtual gift sending method as described in the first aspect and various possible designs of the first aspect.

[0014] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the virtual gift sending method described in the first aspect and various possible designs of the first aspect.

[0015] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the virtual gift sending method as described in the first aspect and various possible designs of the first aspect.

[0016] The virtual gift sending method, apparatus, electronic device, and storage medium provided in this embodiment display a live streaming interface, which at least displays a target live streaming room and a first control. The first control is used to send a target virtual gift to the target live streaming room, and the target virtual gift is dynamically determined based on the live streaming content of the target live streaming room. In response to a trigger operation on the first control, the target virtual gift is sent to the target live streaming room. By displaying the target live streaming room simultaneously with the first control, which can send target virtual gifts that dynamically change based on the live streaming content of the target live streaming room, and then responding to a trigger operation on the first control, the sending of a dynamic virtual gift matching the current live streaming content of the target live streaming room is achieved. This avoids the time-consuming process of users manually selecting virtual gifts that match the current live streaming content, and improves the interactive efficiency during the virtual gift sending process. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 An application scenario diagram of the virtual gift sending method provided in this disclosure embodiment;

[0019] Figure 2 Flowchart of the virtual gift sending method provided in the embodiments of this disclosure Figure 1 ;

[0020] Figure 3A schematic diagram of a first type of live streaming interface provided in an embodiment of this disclosure;

[0021] Figure 4 A schematic diagram of a second type of live streaming interface provided in this embodiment of the present disclosure;

[0022] Figure 5 A schematic diagram of a third type of live streaming interface provided in this embodiment of the present disclosure;

[0023] Figure 6 A schematic diagram of a fourth live streaming room interface provided in this embodiment of the present disclosure;

[0024] Figure 7 Flowchart of the virtual gift sending method provided in the embodiments of this disclosure Figure 2 ;

[0025] Figure 8 for Figure 7 A flowchart illustrating the specific implementation of step S203 in the illustrated embodiment;

[0026] Figure 9 This is a schematic diagram illustrating a process for generating and displaying a first control, provided in an embodiment of the present disclosure.

[0027] Figure 10 This is a schematic diagram illustrating a process of sending a target virtual gift, provided as an embodiment of the present disclosure.

[0028] Figure 11 A structural block diagram of the virtual gift sending device provided in the embodiments of this disclosure;

[0029] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure;

[0030] Figure 13 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0032] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0033] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0034] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0035] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0036] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0037] The application scenarios of the embodiments of this disclosure are explained below:

[0038] The virtual gift sending method provided in this embodiment can be applied to applications (APPs) with live streaming functionality, such as the viewer-side client of live streaming software. More specifically, it can be applied to application scenarios where viewers send virtual gifts during a live stream. The executing entity in this embodiment can be a terminal device running the viewer-side client of the aforementioned live streaming software, a server deploying the server corresponding to the viewer-side client, or other electronic devices performing similar functions. Specifically, when the executing entity is a terminal device, the terminal device executes the method provided in this embodiment by running the aforementioned application. When the executing entity is a server, the server of the aforementioned application with live streaming functionality can run partially or entirely on the server, and the method provided in this embodiment is executed on the server side, while the terminal device runs the client of the application. Communication between the server and the terminal device is based on server-client communication, thereby enabling the terminal device to obtain the execution result of the method provided in this embodiment and display it as needed.

[0039] In some embodiments, the terminal device or server can implement the virtual gift sending method provided in this disclosure by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be program-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be local applications, i.e., programs that need to be installed in the operating system to run, or mini-programs embedded in any app, i.e., programs that run in a browser environment. In summary, the aforementioned computer-executable instructions can be any form of instruction, and the aforementioned computer programs can be any form of application, module, or plugin; the specific implementation can be configured as needed. Furthermore, in implementing the virtual gift sending method provided in this disclosure, the terminal device can execute the method by running locally configured computer-executable instructions or computer programs, or by calling computer-executable instructions or computer programs configured in an external server. In some embodiments, the server may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud storage, cloud communication, cloud database, cloud computing, cloud functions, network services, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. Among these, cloud services may be interactive processing services that can be invoked by terminal devices.

[0040] Figure 1 This is an application scenario diagram of the virtual gift sending method provided in the embodiments of this disclosure, with reference to... Figure 1As shown in the diagram, taking a terminal device as an example, the terminal device runs a target application with live streaming capabilities, i.e., a live streaming client for the viewer. In this target application, when a user enters the target live stream room, the application displays the live stream room interface. Within this interface, a virtual gift control is also configured. By clicking this control, the user can access the virtual gift interface, select a virtual gift to send, and send it to the currently playing target live stream room, thus achieving the goal of sending a virtual gift within the live stream room. Subsequently, the virtual gift will be displayed within the target live stream room to facilitate interaction between the streamer and the viewer.

[0041] In existing technologies, on the viewer's client side of live streaming software, virtual gifts are typically configured within a virtual gift interface, which users access and select to send. However, due to the large number and types of gifts available in the virtual gift interface, the process of users selecting gifts can be time-consuming. In live streaming scenarios, some interactions between streamers and viewers are time-sensitive, such as highlights or performances by the streamer. Existing manual gift-sending solutions based on the virtual gift interface suffer from long operation times and low virtual gift sending efficiency, causing users to miss opportunities to receive and send virtual gifts matching the current live stream content, thus impacting their user experience.

[0042] This disclosure provides a method for sending virtual gifts to solve the above-mentioned problems.

[0043] refer to Figure 2 , Figure 2 Flowchart of the virtual gift sending method provided in the embodiments of this disclosure Figure 1 The method of this embodiment can be applied to a terminal device or a server. In one possible implementation, for a terminal device executing the method provided in this embodiment, the terminal device can implement the virtual gift sending method provided in this embodiment by executing program code deployed locally and / or externally. In another possible implementation, a server can be used to deploy functional services based on the virtual gift sending method provided in this embodiment, and the terminal device can implement the virtual gift sending method provided in this embodiment by accessing the server and calling the corresponding functional services. For example, the virtual gift sending method provided in this embodiment includes:

[0044] Step S101: Display the live stream interface. The live stream interface is used to display at least the target live stream and the first control. The first control is used to send the target virtual gift to the target live stream. The target virtual gift is dynamically determined based on the live stream content of the target live stream.

[0045] Step S102: In response to the trigger operation for the first control, send the target virtual gift to the target live room.

[0046] refer to Figure 1 The illustrated application scenario diagram illustrates the virtual gift sending method provided in this embodiment, using a terminal device as the execution subject. For example, the terminal device runs a target application with live streaming functionality and displays a live streaming interface through the application. On one hand, the terminal device displays the user's current live streaming room (the target live streaming room) on the live streaming interface. On the other hand, the terminal device displays a first control within the live streaming interface. This first control, configured as a button or icon, is used to quickly send virtual gifts to the target live streaming room. When the user triggers this first control, it quickly sends the mapped target virtual gift to the target live streaming room without requiring manual selection by the user, thus saving the step of selecting a virtual gift from the virtual gift interface. Furthermore, the target virtual gift mapped by the first control is dynamically determined based on the live streaming content of the target live streaming room. That is, in one possible scenario, when the live streaming content of the target live streaming room changes, the target virtual gift mapped by the first control will also change accordingly. Figure 3 A schematic diagram of the first type of live streaming interface provided in this embodiment of the present disclosure, as shown below. Figure 3 As shown, the live streaming interface includes a playback window for displaying the live content of the target live stream, and a first control for quickly sending target virtual gifts at the bottom of the playback window. When the target live stream is playing the first live stream content through the playback window, clicking the first control sends a first virtual gift matching the first live stream content to the target live stream, such as the "star" effect shown in the image—the visual effect displayed in the target live stream after sending the first virtual gift. When the target live stream is playing the second live stream content, clicking the first control sends a second virtual gift matching the second live stream content to the target live stream, such as the "sports car" effect shown in the image. This embodiment achieves the effect of sending a target virtual gift corresponding to the live stream content when the first control is triggered, regardless of the live stream content being played.

[0047] Furthermore, in one possible implementation, the first control has at least two control appearances that match the target virtual gift. Figure 4 This is a schematic diagram of a second type of live streaming interface provided in an embodiment of this disclosure, as shown below. Figure 4As shown, the live streaming interface includes a playback window for displaying the live content of the target live stream and a first control. When the first live stream content is playing, the first control displays its appearance, such as a heart-shaped icon as shown in the image. When a user clicks this first control with the first control appearance, the terminal device sends a first virtual gift matching the first live stream content to the target live stream, such as a star effect as shown in the image. When the second live stream content is playing, the first control displays its appearance, such as a sports car icon as shown in the image. When a user clicks this first control with the second control appearance, a second virtual gift matching the second live stream content is sent to the target live stream, such as a sports car effect as shown in the image. By dynamically adjusting the appearance of the first control based on the live stream content of the target live stream, users can understand the content of the current target virtual gift and decide whether to send the system-recommended target virtual gift, thus improving interaction efficiency.

[0048] Further, optionally, refer to Figure 4 As shown, a second control is also configured in the live broadcast room interface. The second control is used to display the virtual gift interface. That is, when the user triggers the second control, a virtual gift interface will be displayed to show the virtual gifts that can be sent. By configuring the first control and the second control in the live broadcast room interface at the same time, the fast sending scheme of dynamic virtual gifts and the traditional manual sending scheme of gifts are compatible.

[0049] Furthermore, in another possible implementation, the first control has at least a first control appearance and a second control appearance. The first control appearance is used to indicate the virtual gift interface or a preset virtual gift. The preset virtual gift is, for example, a commonly used virtual gift, such as a free virtual gift. The first control with the first control appearance enables the quick sending of preset virtual gifts. The virtual gift interface is used to display available virtual gifts; the second control appearance is used to indicate the target virtual gift. Specifically, the first control has two types of control appearances. When the content played in the target live stream does not meet the preset triggering conditions, the first control has the traditional virtual gift interface appearance, i.e., the first control appearance. In this case, triggering the first control will display the virtual gift interface on the terminal device, and the user can then manually select the target virtual gift from the available virtual gifts displayed on the virtual gift interface to send. When the content played in the target live stream meets the preset triggering conditions, the first control has the dynamic target virtual gift appearance, i.e., the second control appearance. In this case, triggering the first control will retrieve the target virtual gift mapped by the first control and send it to the target live stream. Figure 5This is a schematic diagram of a third type of live streaming interface provided in an embodiment of this disclosure, as shown below. Figure 5 As shown, within the live stream interface, when the first live stream content is displayed, the first control's appearance is as shown. When a user triggers this first control with the first control's appearance, a virtual gift interface will be displayed within the live stream interface, allowing virtual gifts to be sent via traditional manual selection. When the live stream interface displays the second live stream content, such as a host's announcement or a host-host interactive session (PK), the first control displays the appearance of a second control used to indicate the virtual gift interface. The appearance of the second control will change depending on the specific implementation of the second live stream content. For example, when the second live stream content is a host's announcement, the second control's appearance includes a "star" icon, representing a "star" virtual gift. After the virtual gift is sent, a "star" effect will appear in the target live stream (not shown in the figure). When the second live stream content is a host-host interactive session, the second control's appearance includes a "sports car" icon, representing a "sports car" virtual gift. After the virtual gift is sent, a "sports car" effect will appear in the target live stream. Alternatively, in other possible implementations, the user can display the virtual gift interface through different triggering operations when the first control presents the appearance of the second control. For example, when the first control presents the appearance of the second control, the terminal device triggers the sending of the target virtual gift after the user clicks the first control; and when the user long-presses the first control, the terminal device triggers the display of the virtual gift interface.

[0050] In this embodiment, the first control for quickly sending dynamic virtual gifts and the traditional virtual gift interface control are integrated through the first control appearance and the second control appearance. When different live content is played in the live room, the corresponding control appearance is displayed, thereby guiding users to quickly send virtual gifts or manually select virtual gifts. This improves the efficiency of sending virtual gifts, accommodates users' personalized needs, and enhances flexibility.

[0051] Furthermore, in one possible implementation, this embodiment also includes:

[0052] Step S104: In response to the display duration of the second control appearance exceeding the first duration threshold and the first control not being triggered, the first control is displayed in the live broadcast room interface with the appearance of the first control.

[0053] For example, in Figure 5Based on the illustrated embodiment, the appearance of the second control can be automatically switched back to the appearance of the first control to further improve the efficiency of sending virtual gifts. Specifically, after the terminal device starts displaying the appearance of the second control of the first control, if the user does not trigger the first control after a first time threshold is exceeded, it indicates that the target virtual gift recommended by the system and indicated by the appearance of the second control does not meet the user's needs. In this case, the first control is switched back to the appearance of the first control, and the target virtual gift is determined and sent by manual selection (virtual gift interface). This avoids the inconvenience and reduced accuracy caused by the user needing to use multiple operation methods to trigger the first control, and improves the interaction efficiency in the virtual gift sending process.

[0054] Furthermore, in one possible implementation, the control appearance includes a text-based control appearance. This text-based control appearance presents the reasons for recommending the target virtual gift; for example, the text-based control appearance might display phrases like "most frequently given away" or "most popular gift." By displaying the text-based control appearance, the terminal device can inform the user of the characteristics of the target virtual gift mapped to the current first control, as well as the reasons for recommendation, thereby improving information visibility and more efficiently guiding the user to send the target virtual gift through the first control. Figure 6 This is a schematic diagram of the fourth type of live streaming interface provided in the embodiments of this disclosure, as shown below. Figure 6 As shown, exemplarily, within the live streaming interface, when the target live streaming room is playing the first live streaming content, the first control displays a text-based control appearance A. The first live streaming content is, for example, a user-generated message. Correspondingly, as shown in the figure, the content of text-based control appearance A is "Most Gifts Given". Subsequently, when the user clicks the first control with text-based control appearance A, the terminal device sends a target virtual gift with the "Most Gifts Given" characteristic to the target live streaming room, such as the "Star" effect gift shown in the figure. When the target live streaming room is playing the second live streaming content, the first control displays a text-based control appearance B. The second live streaming content is, for example, an interactive session with the streamer. Correspondingly, as shown in the figure, the content of text-based control appearance B is "Fastest Popularity Gain". Subsequently, when the user clicks the first control with text-based control appearance B, the terminal device sends a target virtual gift with the "Fastest Popularity Gain" characteristic to the target live streaming room, such as the "Sports Car" effect gift shown in the figure. In one possible implementation, after the first control displays the appearance of a text-based control for a preset duration, it switches to displaying the appearance of a pattern-based control representing the target virtual gift. The pattern-based control appearance is used to represent the appearance of the target virtual gift. For example, if the target virtual gift is a "sports car", then the pattern-based control appearance is based on an image of a "sports car".

[0055] In this embodiment, the first control is displayed through a text-based control, which realizes the display of the recommendation reasons for the target virtual gift mapped by the first control, improves the efficiency of information display, and allows users to understand the characteristics of the target virtual gift currently recommended by the system in real time. This helps guide users to quickly send virtual gifts through the first control, thereby improving the efficiency of human-computer interaction.

[0056] In this embodiment, a live streaming interface is displayed, which at least shows the target live streaming room and a first control. The first control is used to send a target virtual gift to the target live streaming room, and the target virtual gift is dynamically determined based on the live streaming content of the target live streaming room. In response to a trigger operation on the first control, the target virtual gift is sent to the target live streaming room. By displaying the target live streaming room within the live streaming interface while simultaneously displaying the first control, which can send a target virtual gift that dynamically changes based on the live streaming content of the target live streaming room, and then responding to a trigger operation on the first control, the sending of a dynamic virtual gift matching the current live streaming content of the target live streaming room is achieved. This avoids the time-consuming process of users manually selecting virtual gifts that are suitable for the current live streaming content, and improves the interactive efficiency during the virtual gift sending process.

[0057] refer to Figure 7 , Figure 7 Flowchart of the virtual gift sending method provided in the embodiments of this disclosure Figure 2 This embodiment is in Figure 2 Based on the illustrated embodiment, step S101 is further refined, and the virtual gift sending method includes:

[0058] Step S201: In the live room interface, the first control is displayed with the appearance of the first control. The live room interface is used to display at least the target live room and the first control. The first control is used to send the target virtual gift to the target live room. The target virtual gift is dynamically determined according to the live content of the target live room.

[0059] Step S202: In response to a trigger operation on a first control having the appearance of a first control, a virtual gift interface is displayed, which is used to display virtual gifts that can be sent.

[0060] Step S203: In response to the display duration of the virtual gift interface exceeding the second duration threshold, the first control is displayed with the appearance of the second control, wherein the appearance of the second control is used to indicate the target virtual gift among the virtual gifts that can be sent in the virtual gift interface.

[0061] For example, the first control with the appearance of the first control is used to trigger the virtual gift interface. It can be understood as the gift control used in the traditional virtual gift sending method. When the user clicks the first control with the appearance of the first control, the terminal device displays the virtual gift interface in the live broadcast room interface. The virtual gift interface is configured with multiple virtual gifts that can be sent. After that, if the user clicks on a virtual gift in the virtual gift interface, the virtual gift will be sent. The specific implementation method and possible content of the virtual gift interface have been described in the previous embodiments and will not be repeated here. The above step S202 is the traditional step of sending virtual gifts. In this embodiment, after step S202, if the display duration of the virtual gift interface exceeds the second duration threshold (e.g., 10 seconds), indicating that the user is experiencing difficulty in selecting a gift, it may lead to missed opportunities to send virtual gifts in highly real-time live streaming interactive scenarios such as host performances, host announcements, and host live interactions. Therefore, in this embodiment, when the display duration of the virtual gift interface exceeds the second duration threshold, indicating that the user is experiencing difficulty in selecting a gift, the appearance of the first control is automatically switched to the appearance of the second control. The appearance of the second control is used to indicate the target virtual gift among the sendable virtual gifts in the virtual gift interface, i.e., the virtual gift automatically recommended by the system from the aforementioned sendable virtual gifts. Afterwards, the user can directly trigger the first control to quickly send the target virtual gift that matches the current live content of the target live streaming room.

[0062] For example, such as Figure 8 As shown, the specific implementation of step S203 includes:

[0063] Step S2031: Obtain the scene information corresponding to the target live room. The scene information is used to represent the current live scene of the target live room.

[0064] Step S2032: Determine the corresponding target virtual gift based on the scene information;

[0065] Step S2033: Determine the appearance of the first control based on the target virtual gift, and display the first control in the live broadcast interface.

[0066] For example, in determining the appearance of the first control, the terminal device first obtains the scene information corresponding to the target live stream room. The scene information is used to characterize the current live stream scene of the target live stream room. The live stream scene includes, for example, a product announcement scene, a host performance scene, or a host interaction scene. Different live stream scenes correspond to different target virtual gifts, and the above mapping relationship can be pre-configured. Then, based on the determined target virtual gift, the function of the first control and the corresponding plugin are determined. In another possible implementation, the appearance of the first control can also be determined based on the live stream scene. The implementation method is similar and will not be elaborated further. Finally, the first control is displayed in the live stream room interface.

[0067] Furthermore, the scene information can be information stored in the live data stream corresponding to the target live room and sent by the server. The terminal device can obtain the above-mentioned real-time changing scene information from the live data stream corresponding to the target live room while playing the target live room through the live room interface. The scene information can be represented by scene identifiers, such as text, symbols, letters, numbers, etc. that represent the live scene.

[0068] In another possible implementation, the scene information can also be generated by the terminal device after parsing the live content of the target live room. For example, the specific implementation of step S2031 includes:

[0069] Step S2031-1: Obtain the live video and / or live audio of the target live room.

[0070] Step S2031-2: Call the semantic model to parse the live video and / or live audio to obtain content semantics.

[0071] Step S2031-3: Determine the corresponding scene information based on the semantics of the content.

[0072] For example, firstly, the terminal device parses the live stream data from the target live stream room to obtain the live video and / or live audio. Then, by calling a locally deployed semantic model or a cloud-deployed semantic model, it parses and semantically understands the live video and / or live audio to generate content semantics representing the live content. The content semantics can be represented in text form, or in the form of identifiers, vectors, or matrices; there are no restrictions here. Finally, based on the content semantics, it maps to the corresponding scene information. This mapping process can be implemented through a pre-defined mapping table of keywords (content semantics) and scene identifiers (scene information), or through a pre-trained large language model or intelligent agent; details will not be elaborated here.

[0073] Furthermore, the steps in this embodiment may also include:

[0074] Step S2031-4: Obtain the interactive information corresponding to the target live stream room.

[0075] Accordingly, the specific implementation of step S2031-3 is as follows: determine the corresponding scene information based on the content semantics and interaction information.

[0076] For example, in another possible implementation, the live stream interface is also used to display interactive information from the target live stream. This interactive information includes chat text, emoticons, special effects, and bullet comments sent by viewers within the live stream. This interactive information can be carried within the live stream data of the target live stream. The terminal device retrieves this information from the live stream data, extracts the content semantics corresponding to the interactive information, and combines it with the content semantics corresponding to the live stream content to generate a more complete and information-rich comprehensive content semantic. Then, based on this comprehensive content semantic, the scene information is determined. Alternatively, a pre-trained language model can be invoked to process the interactive information and the content language obtained in the previous steps to generate the corresponding scene information. In this embodiment, by further combining the interactive information of the target live stream to determine the scene information, the reference information for generating the scene information becomes richer and more complete, thereby improving the accuracy of the generated scene information.

[0077] Figure 9 This is a schematic diagram illustrating a process for generating and displaying a first control according to an embodiment of the present disclosure. The following is in conjunction with... Figure 9 To further explain the above process, such as... Figure 9 As shown, exemplarily, when a terminal device starts playing the live content of a target live room through the live room interface, the terminal device acquires the live room screen, live room audio, and live room interaction information by frame extraction. Then, it processes the aforementioned live room screen, live room audio, and live room interaction information by calling a semantic model to generate corresponding scene information. Next, based on a preset mapping relationship, the scene information is mapped to the corresponding target virtual gift. Then, by further combining the scene information and the target virtual gift, the corresponding control appearance is determined, such as a text-based control appearance describing the recommendation reason, or a pattern-based control appearance representing the appearance of the target virtual gift. Finally, based on this control appearance, the first control is displayed in the live room interface. In this embodiment, by combining the live room screen, live room audio, and live room interaction information to jointly determine scene information, then determining the target virtual gift matching the scene information, and then using the target virtual gift and scene information to determine the control appearance of the first control, the first control is displayed, ensuring that the appearance of the first control matches the live room scene represented by the current scene information, thereby further improving the accuracy of information display and improving human-computer interaction efficiency.

[0078] Step S204: In response to the trigger operation on the first control, send the target virtual gift to the target live room.

[0079] For example, after displaying the first control in the live streaming room interface, the first control responds to the user's trigger operation. In one implementation, it directly sends the target virtual gift to the target live streaming room, reducing user operation steps and achieving the goal of sending virtual gifts efficiently and quickly. In another possible implementation, the specific implementation of step S204 includes:

[0080] Step S2041: In response to the trigger operation on the first control, a confirmation screen is displayed, which is used to display the gift name and / or virtual resources of the target virtual gift;

[0081] Step S2042: In response to the second operation on the confirmation screen, send the target virtual gift to the target live stream room.

[0082] For example, after the user triggers the first control through the first operation, the terminal device first displays a confirmation interface before sending the target virtual gift to the target live stream room. The confirmation interface is configured to display the gift name and / or virtual resources of the target virtual gift. The gift name includes one or more of text (e.g., "sports car"), numbers (e.g., "001"), and identifiers (e.g., "ABC_1"), and the virtual resources are the platform resources consumed in sending the virtual gift. After the user confirms the above information through the confirmation interface, in response to the confirmation operation on the confirmation interface, i.e., the second operation, the target virtual gift is sent to the target live stream room. Through the steps of the above embodiment, detailed information about the target virtual gift can be displayed to the user before sending the target virtual gift, thereby avoiding incorrect system recommendations or user misoperation leading to the accidental sending of virtual gifts and improving security.

[0083] Furthermore, in one possible implementation, this embodiment further includes, before sending the target virtual gift to the target live stream room:

[0084] Step S205: Determine the target quantity corresponding to the target virtual gift based on the scene information.

[0085] Accordingly, the specific implementation of step S204 includes:

[0086] Step S204A: In response to the trigger operation on the first control, send the target number of target virtual gifts to the target live stream.

[0087] For example, after obtaining the scene information in the previous steps, the terminal device can further determine a recommended quantity, i.e., a target quantity, that matches the current live streaming scene based on the scene information. For example, based on the "live streamer interaction" scene represented by the scene information, after determining the target virtual gift, if the target virtual gift is a virtual gift that does not consume virtual resources, the terminal device determines the corresponding target quantity based on the upper limit of the quantity that can be given (for example, directly using the upper limit of the quantity as the target quantity). Then, when the user triggers the first control to send the target virtual gift, the gift is sent based on the target quantity, avoiding the time consumption caused by the user sending repeatedly and improving the sending efficiency.

[0088] Figure 10 This is a schematic diagram illustrating a process of sending a target virtual gift according to an embodiment of the present disclosure. The following is in conjunction with... Figure 10 To further explain the above process, such as... Figure 10 As shown, exemplarily, after the terminal device displays the first control in the live streaming interface, in response to a first operation (e.g., a click operation) on the first control, a confirmation interface is displayed in the live streaming interface. The confirmation interface displays the name, quantity, and virtual resources of the target virtual gift to be sent. For example, as shown in the figure, the confirmation interface displays "2 [Stars] to be sent, consuming 0.2 virtual points, confirm?". Then, in response to a second operation (e.g., a click operation) on the confirmation interface (within which the "Confirm" button is located), 0.2 virtual points are deducted from the current user's virtual resource library, and 2 virtual gifts "Stars" are sent to the target live streaming room. In this embodiment, by displaying a confirmation interface before sending the target virtual gift and displaying detailed information about the target virtual gift to be sent through the confirmation interface, information display efficiency and sending security are improved.

[0089] In this embodiment, the implementation of step S204 is the same as that in this disclosure. Figure 2 The implementation of step S102 in the illustrated embodiment is the same, and will not be described in detail here.

[0090] Corresponding to the virtual gift sending method in the above embodiment, Figure 11 This is a structural block diagram of a virtual gift sending device provided in an embodiment of this disclosure. The method described in the above embodiments can be executed by this virtual gift sending device, which can be implemented by software and / or hardware, and can be integrated into an electronic device with certain data processing capabilities. The electronic device may include, but is not limited to, mobile terminals with big data processing capabilities, as well as fixed terminals with big data processing capabilities such as desktop computers and supercomputers.

[0091] For ease of explanation, only the parts relevant to embodiments of this disclosure are shown. (Refer to...) Figure 11 The virtual gift sending device 3 includes:

[0092] Display module 31 is used to display the live room interface. The live room interface is used to display at least the target live room and the first control. The first control is used to send the target virtual gift to the target live room. The target virtual gift is dynamically determined according to the live content of the target live room.

[0093] The sending module 32 is used to send a target virtual gift to the target live room in response to a trigger operation on the first control.

[0094] According to one or more embodiments of this disclosure, the first control has at least two control appearances that match the target virtual gift.

[0095] According to one or more embodiments of this disclosure, the first control has at least a first control appearance and a second control appearance, wherein the first control appearance is used to indicate a virtual gift interface or a preset virtual gift, the virtual gift interface is used to display virtual gifts that can be sent, and the second control appearance is used to indicate a target virtual gift.

[0096] According to one or more embodiments of this disclosure, the display module 31 is further configured to: display the first control in the appearance of the first control on the live broadcast interface in response to the display duration of the appearance of the second control exceeding a first duration threshold and the first control not being triggered.

[0097] According to one or more embodiments of this disclosure, the control appearance includes a text-based control appearance used to present the recommendation reason for the target virtual gift.

[0098] According to one or more embodiments of this disclosure, the sending module 32 is specifically configured to: display a confirmation interface in response to a trigger operation on a first control, the confirmation interface being used to display the gift name and / or virtual resources of the target virtual gift; and send the target virtual gift to the target live streaming room in response to a second operation on the confirmation interface.

[0099] According to one or more embodiments of this disclosure, the display module 31 is specifically configured to: display a first control with a first control appearance in a live streaming interface; display a virtual gift interface in response to a trigger operation on the first control having the first control appearance, the virtual gift interface being used to display virtual gifts that can be sent; and display the first control with a second control appearance in response to the display duration of the virtual gift interface exceeding a second duration threshold, wherein the second control appearance is used to indicate a target virtual gift among the virtual gifts that can be sent in the virtual gift interface.

[0100] According to one or more embodiments of this disclosure, the display module 31 is specifically used to: obtain scene information corresponding to the target live room, the scene information being used to characterize the current live scene of the target live room; determine the corresponding target virtual gift based on the scene information; determine the appearance of the first control based on the target virtual gift, and display the first control in the live room interface.

[0101] According to one or more embodiments of this disclosure, when the display module 31 obtains the scene information corresponding to the target live room, it is specifically used to: obtain the live screen and / or live audio of the target live room; call the semantic model to parse the live screen and / or live audio to obtain content semantics; and determine the corresponding scene information based on the content semantics.

[0102] According to one or more embodiments of this disclosure, the display module 31 is further configured to: acquire interactive information corresponding to the target live streaming room; when the display module 31 determines the corresponding scene information based on the content semantics, it is specifically configured to: determine the corresponding scene information based on the content semantics and the interactive information.

[0103] According to one or more embodiments of this disclosure, the sending module 32 is further configured to: determine the target quantity corresponding to the target virtual gift based on the scene information; when the sending module 32 sends the target virtual gift to the target live room in response to a trigger operation on the first control, it is specifically configured to: send the target quantity of target virtual gifts to the target live room in response to a trigger operation on the first control.

[0104] The display module 31 and the sending module 32 are connected. The virtual gift sending device 3 provided in this embodiment can execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0105] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, such as... Figure 12 As shown, the electronic device 4 includes:

[0106] Processor 41, and memory 42 communicatively connected to processor 41;

[0107] Memory 42 stores instructions executed by the computer;

[0108] The processor 41 executes computer execution instructions stored in the memory 42 to achieve, for example, Figures 2-10 The virtual gift sending method in the illustrated embodiment.

[0109] Optionally, the processor 41 and the memory 42 are connected via a bus 43.

[0110] For relevant instructions, please refer to the corresponding text. Figures 2-10The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0111] This disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement this disclosure. Figures 2-10 The virtual gift sending method provided in any of the corresponding embodiments.

[0112] This disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements this disclosure. Figures 2-10 The virtual gift sending method provided in any of the corresponding embodiments.

[0113] To implement the above embodiments, this disclosure also provides an electronic device.

[0114] refer to Figure 13 The diagram illustrates a structural schematic of an electronic device 900 suitable for implementing embodiments of the present disclosure. The electronic device 900 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 13 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0115] like Figure 13 As shown, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0116] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 13 An electronic device 900 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0117] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by a processing device 901, it performs the functions defined in the methods of embodiments of this disclosure.

[0118] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0119] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0120] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0121] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0123] The units or modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units or modules do not necessarily limit the specific unit itself.

[0124] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0125] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0126] In a first aspect, according to one or more embodiments of this disclosure, a method for sending virtual gifts is provided, comprising:

[0127] The live stream interface is displayed, which at least shows the target live stream and the first control. The first control is used to send a target virtual gift to the target live stream. The target virtual gift is dynamically determined based on the live stream content of the target live stream. In response to a trigger operation on the first control, the target virtual gift is sent to the target live stream.

[0128] According to one or more embodiments of this disclosure, the first control has at least two control appearances that match the target virtual gift.

[0129] According to one or more embodiments of this disclosure, the first control has at least a first control appearance and a second control appearance, wherein the first control appearance is used to indicate a virtual gift interface or a preset virtual gift, the virtual gift interface is used to display virtual gifts that can be sent, and the second control appearance is used to indicate a target virtual gift.

[0130] According to one or more embodiments of this disclosure, the method further includes: in response to the display duration of the second control appearance exceeding a first duration threshold and the first control not being triggered, displaying the first control in the appearance of the first control on the live broadcast interface.

[0131] According to one or more embodiments of this disclosure, the control appearance includes a text-based control appearance used to present the recommendation reason for the target virtual gift.

[0132] According to one or more embodiments of this disclosure, in response to a triggering operation on a first control, sending a target virtual gift to a target live stream includes: in response to a triggering operation on the first control, displaying a confirmation interface, the confirmation interface being used to display the gift name and / or virtual resources of the target virtual gift; and in response to a second operation on the confirmation interface, sending the target virtual gift to the target live stream.

[0133] According to one or more embodiments of this disclosure, displaying a live streaming interface includes: displaying a first control with a first control appearance within the live streaming interface; displaying a virtual gift interface in response to a trigger operation on the first control having the first control appearance, the virtual gift interface being used to display virtual gifts that can be sent; and displaying the first control with a second control appearance in response to the display duration of the virtual gift interface exceeding a second duration threshold, wherein the second control appearance is used to indicate a target virtual gift among the virtual gifts that can be sent within the virtual gift interface.

[0134] According to one or more embodiments of this disclosure, displaying a live streaming interface includes: obtaining scene information corresponding to a target live streaming room, the scene information being used to characterize the current live streaming scene of the target live streaming room; determining a corresponding target virtual gift based on the scene information; determining the appearance of a first control based on the target virtual gift, and displaying the first control within the live streaming interface.

[0135] According to one or more embodiments of this disclosure, obtaining scene information corresponding to a target live streaming room includes: obtaining the live streaming screen and / or live audio of the target live streaming room; calling a semantic model to parse the live streaming screen and / or live audio to obtain content semantics; and determining the corresponding scene information based on the content semantics.

[0136] According to one or more embodiments of this disclosure, the method further includes: obtaining interactive information corresponding to the target live streaming room; determining corresponding scene information based on content semantics, including: determining corresponding scene information based on content semantics and interactive information.

[0137] According to one or more embodiments of this disclosure, the method further includes: determining a target quantity corresponding to a target virtual gift based on scene information; and sending a target virtual gift to a target live stream in response to a trigger operation on a first control, including: sending a target quantity of target virtual gifts to the target live stream in response to a trigger operation on a first control.

[0138] Secondly, according to one or more embodiments of this disclosure, a virtual gift sending device is provided, comprising:

[0139] The display module is used to display the live room interface. The live room interface is used to display at least the target live room and the first control. The first control is used to send the target virtual gift to the target live room. The target virtual gift is dynamically determined according to the live content of the target live room.

[0140] The sending module is used to send the target virtual gift to the target live stream in response to a trigger operation on the first control.

[0141] According to one or more embodiments of this disclosure, the first control has at least two control appearances that match the target virtual gift.

[0142] According to one or more embodiments of this disclosure, the first control has at least a first control appearance and a second control appearance, wherein the first control appearance is used to indicate a virtual gift interface or a preset virtual gift, the virtual gift interface is used to display virtual gifts that can be sent, and the second control appearance is used to indicate a target virtual gift.

[0143] According to one or more embodiments of this disclosure, the display module is further configured to: in response to the display duration of the second control appearance exceeding a first duration threshold and the first control not being triggered, display the first control in the live broadcast interface with the appearance of the first control.

[0144] According to one or more embodiments of this disclosure, the control appearance includes a text-based control appearance used to present the recommendation reason for the target virtual gift.

[0145] According to one or more embodiments of this disclosure, the sending module is specifically configured to: display a confirmation interface in response to a trigger operation on a first control, the confirmation interface being used to display the gift name and / or virtual resources of the target virtual gift; and send the target virtual gift to the target live streaming room in response to a second operation on the confirmation interface.

[0146] According to one or more embodiments of this disclosure, the display module is specifically configured to: display a first control with a first control appearance in a live streaming interface; display a virtual gift interface in response to a trigger operation on the first control having the first control appearance, the virtual gift interface being used to display virtual gifts that can be sent; and display the first control with a second control appearance in response to the display duration of the virtual gift interface exceeding a second duration threshold, wherein the second control appearance is used to indicate a target virtual gift among the virtual gifts that can be sent in the virtual gift interface.

[0147] According to one or more embodiments of this disclosure, the display module is specifically configured to: obtain scene information corresponding to the target live room, the scene information being used to characterize the current live scene of the target live room; determine the corresponding target virtual gift based on the scene information; determine the appearance of the first control based on the target virtual gift, and display the first control in the live room interface.

[0148] According to one or more embodiments of this disclosure, when the display module obtains scene information corresponding to the target live room, it is specifically used to: obtain the live screen and / or live audio of the target live room; call the semantic model to parse the live screen and / or live audio to obtain content semantics; and determine the corresponding scene information based on the content semantics.

[0149] According to one or more embodiments of this disclosure, the display module is further configured to: acquire interactive information corresponding to the target live streaming room; when the display module determines the corresponding scene information based on the content semantics, it is specifically configured to: determine the corresponding scene information based on the content semantics and the interactive information.

[0150] According to one or more embodiments of this disclosure, the sending module is further configured to: determine the target quantity corresponding to the target virtual gift based on scene information; when the sending module sends the target virtual gift to the target live room in response to a trigger operation on the first control, it is specifically configured to: send the target quantity of target virtual gifts to the target live room in response to a trigger operation on the first control.

[0151] Thirdly, according to one or more embodiments of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory;

[0152] The memory stores the instructions that the computer executes;

[0153] At least one processor executes computer execution instructions stored in memory, causing at least one processor to perform the virtual gift sending method as described in the first aspect above and various possible designs of the first aspect.

[0154] Fourthly, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, which stores computer-executable instructions that, when executed by a processor, implement the virtual gift sending method as described in the first aspect and various possible designs of the first aspect.

[0155] Fifthly, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the virtual gift sending method as described in the first aspect above and various possible designs of the first aspect.

[0156] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0157] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0158] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for sending virtual gifts, characterized in that, include: The live stream interface is displayed, which is at least used to display the target live stream and a first control, wherein the first control is used to send a target virtual gift to the target live stream, and the target virtual gift is dynamically determined according to the live stream content of the target live stream. In response to a trigger operation on the first control, a target virtual gift is sent to the target live stream room.

2. The method according to claim 1, characterized in that, The first control has at least two control appearances, which match the target virtual gift.

3. The method according to claim 2, characterized in that, The first control has at least a first control appearance and a second control appearance, wherein the first control appearance is used to indicate a virtual gift interface or a preset virtual gift, and the virtual gift interface is used to display virtual gifts that can be sent; The second control appearance is used to indicate the target virtual gift.

4. The method according to claim 3, characterized in that, The method further includes: In response to the display duration of the second control's appearance exceeding a first duration threshold and the first control not being triggered, the first control is displayed in the live streaming interface with the appearance of the first control.

5. The method according to claim 2, characterized in that, The control appearance includes text-based control appearances, which are used to present the reasons for recommending the target virtual gift.

6. The method according to claim 1, characterized in that, The step of sending a target virtual gift to the target live stream in response to a trigger operation on the first control includes: In response to a trigger operation on the first control, a confirmation interface is displayed, which is used to display the gift name and / or virtual resources of the target virtual gift; In response to a second operation on the confirmation interface, a target virtual gift is sent to the target live stream room.

7. The method according to claim 1, characterized in that, The live stream interface includes: Within the live streaming interface, the first control is displayed with the appearance of the first control; In response to a trigger operation on a first control having the appearance of the first control, a virtual gift interface is displayed, the virtual gift interface being used to display virtual gifts that can be sent; In response to the display duration of the virtual gift interface exceeding a second duration threshold, the first control is displayed with a second control appearance, wherein the second control appearance is used to indicate the target virtual gift among the sendable virtual gifts in the virtual gift interface.

8. The method according to claim 1, characterized in that, The live stream interface includes: Obtain scene information corresponding to the target live streaming room, wherein the scene information is used to characterize the current live streaming scene of the target live streaming room; Based on the scenario information, determine the corresponding target virtual gift; Based on the target virtual gift, determine the appearance of the first control and display the first control in the live broadcast interface.

9. The method according to claim 8, characterized in that, The step of obtaining the scene information corresponding to the target live streaming room includes: Acquire the live video and / or live audio of the target live room; The semantic model is invoked to parse the live video and / or live audio to obtain the content semantics; Based on the semantics of the content, determine the corresponding scene information.

10. The method according to claim 9, characterized in that, Also includes: Obtain the interactive information corresponding to the target live stream room; The step of determining the corresponding scene information based on the content semantics includes: Based on the semantic content and the interaction information, the corresponding scene information is determined.

11. The method according to claim 8, characterized in that, The method further includes: Based on the scenario information, determine the target quantity corresponding to the target virtual gift; The step of sending a target virtual gift to the target live stream in response to a trigger operation on the first control includes: In response to a trigger operation on the first control, the target number of target virtual gifts are sent to the target live stream room.

12. A virtual gift sending device, characterized in that, include: The display module is used to display the live streaming room interface, which is used to display at least the target live streaming room and the first control, wherein the first control is used to send a target virtual gift to the target live streaming room, and the target virtual gift is dynamically determined according to the live streaming content of the target live streaming room; The sending module is used to send a target virtual gift to the target live streaming room in response to a trigger operation on the first control.

13. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the virtual gift sending method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the virtual gift sending method as described in any one of claims 1 to 11.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the virtual gift sending method as described in any one of claims 1 to 11.