Interaction method and device for live streaming room, electronic device and storage medium
By selecting gift effects based on contextual information in the live stream, the problem of virtual gift effects being disconnected from the live stream information is solved, thus improving the interactive effect of the live stream.
Patent Information
- Application Number
- CN202611308554.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-27
AI Technical Summary
In existing live streaming interaction methods, the special effects of virtual gifts are disconnected from real-time information in the live stream, affecting the interactive experience.
In the live stream, the system selects the target effect from multiple gift effects based on the context information of the live stream. This is achieved by obtaining context information such as the live stream scene and the relationship between the streamer and the audience, and then choosing the most suitable gift effect.
It achieves a close integration of special effects and real-time information in the live stream, optimizing the interactive experience of the live stream.
Smart Images

Figure CN123185378A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an interactive method, apparatus, electronic device, and storage medium for a live streaming room. Background Technology
[0002] With the development of internet technology, live streaming interaction methods are becoming increasingly diverse. Among them, virtual gifting in the live streaming room is one of the core interactive forms connecting viewers and streamers.
[0003] Currently, one type of virtual gifting involves viewers sending virtual gift blind boxes to the streamer during a live stream. These blind boxes randomly contain a virtual gift, and the corresponding special effects are displayed in the live stream. Another type of virtual gifting involves viewers sending virtual gifts equipped with multiple preset scripts to the streamer. The viewer or streamer then selects one script from these scripts, and the special effects corresponding to the selected script are displayed in the live stream.
[0004] The aforementioned interactive methods in the live stream either display special effects corresponding to random virtual gifts or special effects corresponding to preset scripts. The content of these special effects is unrelated to the real-time information in the live stream, causing the special effects to become disconnected from the current state of the live stream and affecting the interactive effect of the live stream. Summary of the Invention
[0005] This disclosure provides an interactive method, apparatus, electronic device, and storage medium for live streaming rooms, which can optimize the interactive effects of live streaming rooms. The technical solution of this disclosure is as follows: According to one aspect of the embodiments of this disclosure, an interactive method for a live streaming room is provided, including: Show the live stream room; Interactive behavior occurs in the live stream targeting a virtual gift, which is associated with multiple gift effects; In response to the interactive behavior, a target effect determined from the plurality of gift effects based on the context information of the live stream is displayed in the live stream room.
[0006] According to another aspect of the embodiments of this disclosure, an interactive device for a live streaming room is provided, comprising: The live stream display module is configured to display live streams; An interactive module is configured to generate interactive behavior in the live stream targeting a virtual gift, which is associated with multiple gift effects; The special effects display module is configured to, in response to the interactive behavior, display a target special effect determined from the plurality of gift special effects based on the context information of the live stream in the live stream room.
[0007] In some embodiments, the apparatus further includes: The context acquisition module is configured to acquire the context information of the live broadcast room, the context information including at least one of the following: the live broadcast scene information of the live broadcast room, the live broadcast popularity information, the type of the anchor object in the live broadcast room, and the relationship information between the audience object and the anchor object in the live broadcast room.
[0008] In some embodiments, the context acquisition module is further configured to determine the relationship information between the audience object and the streamer object based on the audience object's historical interaction information, wherein the historical interaction information includes at least one of the following: historical gift-giving data, historical comment information, historical bullet screen information, duration of following the streamer object, historical like information, and historical collection information.
[0009] In some embodiments, the apparatus further includes: The weight determination module is configured to determine the weight of each candidate effect among multiple candidate effects based on the matching coefficient between the candidate effect and the context information of the live broadcast room. The probability acquisition module is configured to normalize the weights of the multiple candidate effects to obtain the probability distribution of the multiple candidate effects. The extraction module is configured to extract the target effect from the plurality of candidate effects according to the probability distribution of the plurality of candidate effects.
[0010] In some embodiments, the weight determination module is configured to: The weight of the candidate effect is determined based on its base weight, the matching coefficient between the candidate effect and each item in the context information, and the operational configuration weight; or, The weight of the candidate special effect is determined based on the rarity weight of the special effect tier to which the candidate special effect belongs, the basic weight of the candidate special effect, the matching coefficient between the candidate special effect and each item in the context information, and the operation configuration weight. The matching coefficient between the candidate effect and each piece of information in the context information indicates the degree of matching between the candidate effect and the corresponding information. The operation configuration weight indicates the weight configured by the operator for the candidate effect. The rarity weight of any effect level indicates the rarity of the gift effect under the corresponding effect level.
[0011] In some embodiments, the multiple candidate effects have the same base weight.
[0012] In some embodiments, the special effects display module is configured as follows: The option display unit is configured to display multiple virtual gift options for the target virtual gift in the live broadcast room in response to the interactive behavior, wherein each of the multiple virtual gift options corresponds to a special effect entity type of the target virtual gift; The special effects display unit is configured to display the target special effects in the live broadcast room in response to a trigger operation on a target virtual gift option among the plurality of virtual gift options. The target special effects are determined based on the special effects entity type corresponding to the target virtual gift option and the context information.
[0013] In some embodiments, the option display unit is configured to: In response to the interactive behavior, a virtual gift-giving animation of the target virtual gift is displayed in the live stream room; After the virtual gift-giving animation ends, multiple virtual gift options for the target virtual gift are displayed in the live stream room.
[0014] In some embodiments, the special effects display unit is configured as follows: In the live stream, the host makes a first preset gesture towards the target virtual gift option among the multiple virtual gift options. In response to the first preset gesture made by the host meeting a first triggering condition, the target special effect is displayed in the live stream. In the live stream, the host clicks on the target virtual gift among the multiple virtual gift options. In response to the click operation performed by the host meeting the second triggering condition, the target special effect is displayed in the live stream. The host is shown making a verbal announcement about the target virtual gift option in the live stream room. In response to the host's verbal announcement meeting a third triggering condition, the target special effect is displayed in the live stream room.
[0015] In some embodiments, the special effects display unit is configured as follows: The number of times the streamer makes the first preset gesture towards the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host makes the first preset gesture.
[0016] In some embodiments, the special effects display unit is configured as follows: The number of times the streamer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host clicks.
[0017] In some embodiments, the special effects display unit is configured as follows: In response to a second preset gesture made by a viewer who has gifted the target virtual gift to the target virtual gift option, which meets a fourth triggering condition, the target effect is displayed in the live stream room; In response to the audience's click on the target virtual gift option meeting the fifth trigger condition, the target effect is displayed in the live stream room; In response to the audience's input of voice content for the target virtual gift option meeting the sixth trigger condition, the target effect is displayed in the live stream.
[0018] In some embodiments, the special effects display unit is configured as follows: The number of times the viewer makes the second preset gesture in response to the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience makes the second preset gesture.
[0019] In some embodiments, the special effects display unit is configured as follows: The number of times the viewer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience clicks on it.
[0020] In some embodiments, the apparatus further includes: The countdown display module is configured to display a countdown in the live stream room in response to the end of the virtual gift-giving animation. The selection module is configured to display the target effect in the live stream in response to the end of the countdown. The target effect is determined based on the effect entity type corresponding to any of the multiple virtual gift options and the context information.
[0021] In some embodiments, the apparatus further includes: The audience information display module is configured to display the audience object's information at a preset position in each of the plurality of virtual gift options. The audience object's information includes at least one of the following: the audience object's avatar, nickname, message, preset text, and message prompt information. The message prompt information indicates that the corresponding virtual gift option should be triggered to display the audience object's message.
[0022] In some embodiments, the apparatus further includes: The message control display module is configured to display a message control in the live broadcast room in response to the interactive behavior; The message input box display module is configured to display a message input box in the live broadcast room in response to a trigger operation on the message control; The message input module is configured to display a message from the audience object who sent the target virtual gift in response to an input operation on the message input box.
[0023] In some embodiments, different effect entity types of the target virtual gift indicate different appearances or themes of the target virtual gift.
[0024] In some embodiments, any special effects entity type corresponds to different special effects pools at different special effects levels, and the rarity of gift special effects varies at different special effects levels. The device further includes: The entity type determination module is configured to determine the special effect entity type corresponding to the target virtual gift option as the target special effect entity type; The candidate effect determination module is configured to determine the effects of the target effect entity type in the corresponding effect pool under the target effect level as the multiple candidate effects, or to determine the effects of the target effect entity type in the corresponding effect pool under multiple effect levels as the multiple candidate effects.
[0025] In some embodiments, the apparatus further includes: The gear selection module is configured to randomly select the target special effect gear from the multiple special effect gears according to the probability distribution of the multiple special effect gears; The device further includes: The probability adjustment module is configured to adjust the probability distribution of the multiple special effects levels within a preset range based on the popularity information of the live broadcast room or the verbal information of the anchor.
[0026] In some embodiments, the apparatus further includes: The elimination module is configured to, before determining candidate effects, eliminate gift effects that are irrelevant to the context information from the effect pool corresponding to each effect level of the target effect entity type, based on the context information of the live broadcast room.
[0027] In some embodiments, the apparatus further includes: The candidate effect determination module is also configured to determine the gift effects in the effect pool corresponding to the preset effect entity type of the target virtual gift as multiple candidate effects.
[0028] In some embodiments, the apparatus further includes: The resource quantity determination module is configured to determine the virtual resource quantity corresponding to each virtual gift in the live broadcast room based on the gift-giving status of the audience object. The virtual resource quantity corresponding to each virtual gift indicates the virtual resource quantity consumed by giving the corresponding virtual gift to the broadcaster object. The virtual resource quantity corresponding to each virtual gift is the initial virtual resource quantity or the repurchased virtual resource quantity. The gift-giving status indicates the number of times the audience object has given a gift. The resource quantity display module is configured to display the virtual resource quantity corresponding to each virtual gift in the live broadcast room.
[0029] In some embodiments, the special effects display module is configured as follows: If the target effect belongs to the first effect level, the target effect is displayed using the first display strategy in the live broadcast room. If the target effect belongs to the second effect level, the target effect will be displayed in the live broadcast room using the second display strategy. Among them, the different display strategies indicate at least one of the following differences: special effect playback duration, special effect display position, whether to display audience information, special effect clarity, and special effect playback smoothness.
[0030] According to another aspect of the embodiments of this disclosure, an electronic device is provided, the electronic device comprising: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the interactive methods of the live streaming room.
[0031] According to another aspect of the present disclosure, a computer-readable storage medium is provided, which, when the program code in the computer-readable storage medium is executed by the processor of an electronic device, enables the electronic device to perform the above-described live streaming interaction method.
[0032] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the above-described interactive method for a live streaming room.
[0033] This disclosure provides an interactive method for a live streaming room. The method provides a target virtual gift associated with multiple gift effects. After an interactive action occurs in the live streaming room targeting the target virtual gift, in response to the interactive action, the method displays the target effect determined from the multiple gift effects based on the context information of the live streaming room. Since the target effect is determined based on the context information of the live streaming room, it is closely related to the real-time information of the live streaming room, preventing the displayed effects from becoming disconnected from the live streaming environment, thereby optimizing the interactive effect of the live streaming room.
[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0036] Figure 1 This is a schematic diagram illustrating the implementation environment of an interactive method for a live streaming room according to an exemplary embodiment; Figure 2 This is a flowchart illustrating an interactive method for a live streaming room according to an exemplary embodiment; Figure 3 This is a flowchart illustrating another interactive method for a live streaming room according to an exemplary embodiment; Figure 4 This is a schematic diagram of a live streaming room according to an exemplary embodiment; Figure 5 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 6 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 7 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 8 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 9 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 10 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 11 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 12 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 13 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 14 This is a schematic diagram of another live streaming room according to an exemplary embodiment; Figure 15 This is a block diagram illustrating an interactive device for a live streaming room according to an exemplary embodiment; Figure 16 This is a block diagram illustrating an electronic device according to an exemplary embodiment; Figure 17 This is a block diagram illustrating a server according to an exemplary embodiment. Detailed Implementation
[0037] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0038] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0039] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the interactive behaviors, contextual information of the live broadcast room, information of the audience, and special effects pool involved in this disclosure were all obtained with full authorization.
[0040] Figure 1 This is a schematic diagram illustrating an implementation environment for an interactive method in a live streaming room, according to an exemplary embodiment. See also... Figure 1The implementation environment specifically includes: terminal 101 and server 102. Terminal 101 and server 102 can be connected directly or indirectly through wired or wireless communication, which is not limited herein.
[0041] In some embodiments, terminal 101 is at least one of devices such as a smartphone, smartwatch, desktop computer, laptop, MP3 player, MP4 player, and laptop computer. Terminal 101 has an application that supports live streaming installed and running, allowing users to log in to the application through terminal 101 to access the services provided by the application. Terminal 101 generally refers to one of multiple terminals; this embodiment uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. For example, there may be several terminals, or dozens or hundreds of terminals, or even more. This disclosure does not limit the number or type of terminals.
[0042] In some embodiments, server 102 may be at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 102 provides backend services for applications supporting live streaming. Server 102 can connect to terminal 101 via a wireless or wired network. Server 102 can provide the terminal with live stream forwarding and database services related to live streaming, and of course, it can also provide other types of video services. In some embodiments, the number of servers may be more or less, and this disclosure does not limit this. Of course, server 102 may also include other functional servers to provide more comprehensive and diversified services.
[0043] Figure 2 This is a flowchart illustrating an interactive method in a live streaming room according to an exemplary embodiment. See also... Figure 2 The interactive methods in this live stream include the following steps: In step 201, the terminal displays the live broadcast room.
[0044] In this embodiment of the disclosure, the terminal has an application that supports live streaming installed and running. While running this application, the terminal can receive live data streams pushed by the application's backend server, obtain live data from the live data streams, and display the corresponding live streaming room in the application's interface.
[0045] In step 202, an interactive action occurs in the live stream targeting a virtual gift, which is associated with multiple gift effects.
[0046] A target virtual gift is a special type of virtual gift provided by the live streaming platform. This special virtual gift corresponds to multiple special effect entity types, each indicating a different appearance or theme. For example, a target virtual gift might be a "mystery egg," with multiple special effect entity types: "normal egg," "glittering egg," and "darkened egg." Each special effect entity type of the target virtual gift corresponds to an effect pool, which includes multiple gift effects. The target virtual gift is associated with the gift effects in each effect pool. Each time a viewer in the live stream sends this target virtual gift to the streamer, the gift effect displayed in the live stream is randomly selected from the effect pool corresponding to that specific effect entity type. An example of an interaction involving a target virtual gift is when a viewer in the live stream sends it to the streamer.
[0047] It should be noted that the aforementioned target virtual gift is a special effects entity, which is the main visual object of the gift's special effects. The above content is illustrated using the example of a virtual Easter egg as the target virtual gift. In some embodiments, the target virtual gift is a virtual treasure chest, a virtual Rubik's Cube, a virtual planet, or a virtual blind box, etc. This disclosure does not limit this.
[0048] In this embodiment of the disclosure, the terminal displays a gift control in the live streaming room. In response to a viewer's triggering operation on the gift control, a virtual gift panel is displayed in the live streaming room, which displays multiple virtual gifts. In response to a viewer's triggering operation on a target virtual gift among the multiple virtual gifts, the terminal initiates an interactive behavior targeting the target virtual gift in the live streaming room.
[0049] In step 203, the terminal responds to the interactive behavior by displaying the target effect determined from multiple gift effects based on the context information of the live stream in the live stream room.
[0050] In some embodiments, the context information of the live streaming room includes at least one of the following: scene information of the live streaming room, live streaming popularity information, the type of the streamer in the live streaming room, and the relationship information between the audience and the streamer. The scene information indicates the live streaming room scene, such as a PK scene, a talent show scene, a casual chat scene, or a multi-person live streaming scene. The live streaming popularity information, also known as the real-time atmosphere information of the live streaming room, includes, for example, the barrage popularity information (number of barrages per unit time), the average concurrent users (ACU), and the recent interaction frequency. The type of streamer in the live streaming room is, for example, a talent show streamer, a game streamer, an e-commerce streamer, or a travel streamer, etc., which will not be elaborated further in this embodiment. The relationship information between the audience and the streamer, also known as the UA relationship, indicates the intimacy between the audience who sent the target virtual gift and the streamer, and the relationship information is, for example, new UA new A, old UA new A, or old UA old A, etc. Here, U refers to the audience (User) and A refers to the anchor (Anchor). New U and New A indicate that the intimacy between the audience and the anchor is not high, old U and New A indicate that the intimacy between the audience and the anchor is at a medium level, and old U and Old A indicate that the intimacy between the audience and the anchor is high.
[0051] In this embodiment of the disclosure, the terminal responds to the aforementioned interactive behavior by sending an interaction request to the backend server of the live streaming platform. The server responds to the interaction request by obtaining the context information of the live streaming room, and based on this context information, determines a target effect from multiple gift effects and returns the target effect to the terminal. The terminal receives the target effect returned by the server and displays the target effect determined based on the context information in the live streaming room.
[0052] This disclosure provides an interactive method for a live streaming room. The method provides a target virtual gift associated with multiple gift effects. After an interactive action occurs in the live streaming room targeting the target virtual gift, in response to the interactive action, the method displays the target effect determined from the multiple gift effects based on the context information of the live streaming room. Since the target effect is determined based on the context information of the live streaming room, it is closely related to the real-time information of the live streaming room, preventing the displayed effects from becoming disconnected from the live streaming environment, thereby optimizing the interactive effect of the live streaming room.
[0053] The above Figure 2 The diagram shown is merely the basic process of this disclosure. The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 3 This is a flowchart illustrating another interactive method for a live streaming room according to an exemplary embodiment. See also... Figure 3The interactive methods in this live stream include: In step 301, the terminal displays the live broadcast room.
[0054] In step 302, an interactive action occurs in the live stream targeting a virtual gift, which is associated with multiple gift effects.
[0055] Steps 301-302 are the same as steps 201-202 above, and will not be described again in this embodiment of the application.
[0056] In some embodiments, the terminal displays a virtual gift panel in the live streaming room. The virtual gift panel displays multiple virtual gifts and the corresponding virtual resource quantity for each virtual gift. This virtual resource quantity indicates the amount of virtual resources consumed when gifting a corresponding virtual gift to the streamer in the live streaming room. (Illustratively,) Figure 4 This is a schematic diagram of a live streaming room according to an exemplary embodiment, such as... Figure 4 As shown, the live stream room displays a virtual gift panel 401, which displays multiple virtual gifts 402 and the amount of virtual resources for each virtual gift 403.
[0057] In some embodiments, for any virtual gift in the virtual gift panel, the terminal displays different amounts of virtual resources corresponding to the virtual gift in the live stream based on the different gift-giving statuses of the viewers. In this process, the server pre-determines the amount of virtual resources corresponding to each virtual gift in the live stream based on the gift-giving statuses of the viewers. The gift-giving status of the viewers indicates the number of times the viewers have gifted the virtual gift; it can be the first time gifting the virtual gift or multiple times gifting the virtual gift. When the viewer's gift-giving status is the first time gifting the virtual gift, the amount of virtual resources corresponding to the virtual gift is the initial amount of virtual resources. When the viewer's gift-giving status is multiple times gifting the virtual gift, the amount of virtual resources corresponding to the virtual gift is the repurchased amount of virtual resources.
[0058] Correspondingly, when an interactive behavior occurs in the live broadcast room regarding the target virtual gift, if the viewer is sending the target virtual gift for the first time, the live broadcast platform will deduct virtual resources based on the initial virtual resource amount of the target virtual gift. If the viewer is sending the target virtual gift for the second time or more, the live broadcast platform will deduct virtual resources based on the amount of virtual resources purchased repeatedly.
[0059] Of course, the virtual resource quantity corresponding to each of the above virtual gifts can also be a uniform virtual resource quantity or a virtual resource quantity set in other ways, and this disclosure does not limit this.
[0060] In addition, the number of times a viewer sends a virtual gift can be the number of times a viewer sends the virtual gift to the aforementioned streamer, or the total number of times a viewer sends the virtual gift to different streamers. This embodiment does not limit this.
[0061] In some embodiments, the backend server of the live streaming platform maintains the gift-giving status of the audience objects based on the audience object's identifier. For example, for each virtual gift, the backend server maintains the number of times each audience object has given that virtual gift.
[0062] In other embodiments, the backend server of the live streaming platform maintains the gift-giving status of the viewer based on the viewer's identifier and at least one of the following: the identifier of each virtual gift, the identifier of the streamer, and the session identifier of the live stream. For example, for any viewer, the backend server maintains the number of times the viewer has gifted a target virtual gift to the streamer, based on the viewer's identifier, the identifier of the target virtual gift, and the identifier of the streamer.
[0063] In some embodiments, the terminal responds to the aforementioned interactive behavior by displaying a message control in the live stream, for example, such as... Figure 5 As shown, the terminal displays a message control 501 in the live broadcast room. Figure 5 The example shown illustrates the display of a message control in a virtual gift panel on the terminal. This message control can be located anywhere in the live stream, and this embodiment of the disclosure is not limited to this. In response to a trigger operation on the message control, the terminal displays a message input box in the live stream, for example, as shown... Figure 6 As shown, the terminal displays the message input box 601 in the live broadcast room. Figure 6 The example shown is merely one display format of the message input box; it can also be displayed in other formats, and this disclosure does not limit this. In response to an input operation into the message input box, the terminal displays the message from the viewer who sent the aforementioned target virtual gift. By providing a message function to the viewer, this process enhances viewer engagement and immersion, thereby improving the interactive effect of the live stream.
[0064] After the target virtual gift is successfully sent, the live stream will enter the target virtual gift display stage. Please refer to steps 303-304 below for details.
[0065] In step 303, in response to the interactive behavior, the terminal displays multiple virtual gift options for the target virtual gift in the live broadcast room, each of the multiple virtual gift options corresponding to a special effect entity type of the target virtual gift.
[0066] The various special effects entity types of the target virtual gift are pre-set. Different special effects entity types correspond to different appearances or themes of the target virtual gift. Each of the above virtual gift options displays the target virtual gift with the appearance or theme indicated by the corresponding special effects entity type. Taking the target virtual gift as a mystery easter egg as an example, such as... Figure 7 As shown, the live stream displays multiple Easter eggs 701 with different styles. Each Easter egg 701 corresponds to a special effect entity type, and the style of the Easter egg 701 is based on the appearance indicated by the corresponding special effect entity type.
[0067] In this embodiment of the disclosure, in response to the above-mentioned interactive behavior, the terminal displays multiple virtual gift options of the target virtual gift in the live broadcast room. The multiple virtual gift options can be arranged in a row or in other arrangements. The multiple virtual gift options can be displayed in the same size or in a manner that decreases in size from the middle to both sides. This embodiment of the disclosure does not limit the display format of the multiple virtual gift options.
[0068] In some embodiments, before displaying multiple virtual gift options, the terminal displays a virtual gift-giving animation for the target virtual gift. Illustratively, in response to the aforementioned interactive behavior, the terminal displays the virtual gift-giving animation for the target virtual gift in the live stream room. After the virtual gift-giving animation for the target virtual gift finishes playing, multiple virtual gift options for the target virtual gift are displayed in the live stream room. For example, in response to the aforementioned interactive behavior, the terminal plays a merged video in the live stream room, and after the merged video finishes playing, three different styles of Easter eggs are displayed in the live stream room.
[0069] In some embodiments, for each of a plurality of virtual gift options, the terminal displays information about the audience object at a preset location of the virtual gift option. For example, such as Figure 7 As shown, the terminal displays the avatar 702 of the gift-giving audience member and the text 703 above the Easter egg 701: "A mysterious Easter egg from audience member 'xxx'".
[0070] The information of the aforementioned audience includes at least one of the following: the audience's avatar, nickname, message, preset text, and message prompt information, wherein the message prompt information indicates that the corresponding virtual gift option should be triggered to display the audience's message. For example, such as... Figure 7 As shown, the terminal displays message 704 above Easter egg 701: "Someone left you a private message."
[0071] In some embodiments, the terminal displays viewer comments received by the streamer in the live broadcast room, for example, such as... Figure 7As shown, the terminal displays a message display box 705 in the live broadcast room, which displays the audience messages that the host has received, such as "Today's Whispers".
[0072] In some embodiments, the terminal displays an identifier for each virtual gift option, such as the name of the virtual gift option, on each virtual gift option. For example, such as... Figure 7 As shown, the terminal displays the name of the first Easter egg 701 as "Sweet Honey", the name of the second Easter egg 701 as "Flame Egg", and the name of the third Easter egg 701 as "Mystery Egg".
[0073] In some embodiments, the terminal displays a trigger prompt in the live broadcast room, indicating how to trigger a target virtual gift option among multiple virtual gift options, to guide viewers or the broadcaster in their actions, thereby improving the efficiency of human-computer interaction. For example, as... Figure 7 As shown, the terminal displays trigger prompt 707 in the live broadcast room: "Point to an egg with your index finger. Click to click."
[0074] In some embodiments, the terminal displays operation prompts in the live broadcast room to guide viewers or broadcasters in performing operations. For example, ... Figure 7 As shown, the terminal displays operation prompt 708 in the live broadcast room: "Please put your hand into the screen".
[0075] In step 304, in response to the triggering operation of the target virtual gift option among multiple virtual gift options, the terminal displays the target effect in the live broadcast room. The target effect is determined based on the effect entity type corresponding to the target virtual gift option and the context information of the live broadcast room.
[0076] The triggering operation for the target virtual gift among multiple virtual gift options can be performed by either the broadcaster object or the viewer object. When performed by the broadcaster object, the broadcaster object can trigger the target virtual gift option through any of the following operations, which are explained below.
[0077] (1) Gesture Trigger: The terminal displays the first preset gesture of the host in the live broadcast room towards the target virtual gift option among multiple virtual gift options. In response to the first preset gesture made by the host meeting the first triggering condition, the target effect is displayed in the live broadcast room. For example, if the host makes a fist and taps the target Easter egg three times in a row, the gesture recognition system of the live broadcast platform detects that the number of valid taps has reached the tap count threshold, confirms that the target Easter egg has been triggered, and displays the corresponding target effect.
[0078] The aforementioned gesture triggering method allows viewers to see the host's fist clenching and tapping actions in real time, and feel that the host is "personally opening" the Easter egg they sent. This ritualistic design creates a strong sense of immersion for viewers—"the egg I sent was personally broken by the host," thereby optimizing the interactive effect of the live broadcast.
[0079] In some embodiments, the terminal displays the number of times the streamer makes a first preset gesture towards the target virtual gift option in the live broadcast room, so that both the streamer and the audience can intuitively see the streamer's triggering progress, improving the efficiency of human-computer interaction. For example, as... Figure 8 As shown, the terminal displays 801 taps made by the streamer in the live stream: "Tapped xx times." Simultaneously, the appearance of the target virtual gift option displayed on the terminal changes according to the number of times the streamer makes the first preset gesture. For example, as... Figure 8 As shown, the terminal displays Easter egg 802 in the live broadcast room, which gradually breaks apart as the host taps it more. This design allows viewers to perceive the interaction with the host more concretely, further optimizing the live broadcast interaction effect.
[0080] Furthermore, the above description is based on the example of the first preset gesture being a clenched fist and a tap. The first preset gesture can also be a waving hand or other body movements. In addition, the broadcaster can trigger the target virtual gift option not only through gestures but also through movements of other body parts. This disclosure does not limit this aspect.
[0081] (2) Click Trigger: The terminal displays in the live broadcast room that the host clicks on the target virtual gift among multiple virtual gift options, and in response to the host's click operation meeting the second trigger condition, displays the target effect in the live broadcast room. For example, if the host clicks on the target Easter egg in the live broadcast room 3 times, after the live broadcast platform detects that the click operation has reached the click count threshold, it confirms that the target Easter egg has been triggered and displays the corresponding target effect.
[0082] In some embodiments, the terminal displays the number of times the streamer clicks on the target virtual gift option in the live broadcast room, so that both the streamer and the audience can intuitively see the streamer's triggering progress, improving the efficiency of human-computer interaction. For example, Figure 9 As shown, the terminal displays 901 clicks made by the streamer in the live stream: "Clicked xx times". Simultaneously, the appearance of the target virtual gift option displayed on the terminal changes according to the number of clicks made by the streamer. For example, as... Figure 9As shown, the terminal displays Easter egg 902 in the live stream, which gradually breaks apart as the number of clicks by the streamer increases. This design allows viewers to perceive the interaction with the streamer more concretely, further optimizing the live stream's interactive effect.
[0083] (3) Voice Trigger: The terminal displays the host's verbal announcement of the target virtual gift option in the live broadcast room. In response to the host's verbal announcement meeting the third triggering condition, the target special effect is displayed in the live broadcast room. The above scheme enables the host to trigger the target virtual gift option through verbal announcement, realizing voice interaction between the host and the audience, and enriching the interactive methods of the live broadcast room.
[0084] (4) Automatic Time Trigger: Upon the end of the virtual gift-giving animation, the terminal displays a countdown in the live stream. Upon the end of the countdown, it randomly triggers any one of the multiple virtual gift options and displays the corresponding target effect in the live stream. The target effect is determined based on the effect entity type and context information corresponding to any triggered virtual gift option. For example, ... Figure 10 As shown, the terminal displays multiple Easter eggs (1001) in the live stream and a countdown timer (1002) on the interface. This countdown timer is, for example, 7 seconds. Upon the end of the countdown timer (1002), the terminal automatically triggers one of several virtual gift options according to a default strategy. For example, it may randomly trigger any virtual gift option to ensure uninterrupted interaction in the live stream. Additionally, displaying the countdown timer also prompts the broadcaster to make a timely selection, improving the efficiency of human-computer interaction.
[0085] It should be noted that, in addition to the four triggering methods mentioned above, the broadcaster can also trigger the target virtual gift option through other methods, which will not be described in detail here.
[0086] The aforementioned scheme, which allows streamers to select a target virtual gift from multiple options, enables them to actively choose the type of special effects entity through gesture triggers, creating a genuine sense of participation for the streamer's audience. Combined with the context-aware random special effects extraction mechanism described below, the gift-giving gameplay simultaneously possesses two dimensions: the will to choose and random surprise, achieving a dual-driven mechanism for both the streamer and the audience. From the streamer's perspective, gift interaction is no longer a passive acceptance; the streamer's participation is enhanced through autonomous selection, upgrading them from a presenter to a content co-creator, forming a perceptible ritual of participation for the audience. The tangible actions of clenching a fist and tapping automatically form program content, achieving a certain program effect and helping to increase the live stream's buzz. From the audience's perspective, watching the streamer personally trigger a gift after sending it greatly enhances their sense of immersion. Furthermore, viewers' motivation to continue watching is generated by observing the streamer's choice of virtual gift options and gestures, contributing to increased live stream popularity. This scheme simultaneously satisfies the streamer's will to participate and the audience's expectation of surprise, optimizing the live stream's interactive effect.
[0087] The aforementioned target virtual gift option can be triggered not only by the streamer but also by the viewer who sends the target virtual gift. In the case of being triggered by a viewer, the viewer can trigger the target virtual gift option through any of the following operations, which are explained below.
[0088] (1) Gesture trigger: The terminal responds to the second preset gesture made by the audience member who sent the target virtual gift to the target virtual gift option, which meets the fourth trigger condition, and displays the target effect in the live broadcast room. This process, in which the audience member actively selects the target virtual gift option, can improve the audience member's participation and thus optimize the live broadcast interaction effect.
[0089] In some embodiments, the terminal displays the number of times a viewer makes a second preset gesture toward a target virtual gift option in the live broadcast room, and displays the shape of the target virtual gift option in the live broadcast room as the viewer makes the second preset gesture, so as to enrich the gift display effect in the live broadcast room.
[0090] This process is similar to the gesture triggering process of the aforementioned anchor object, and will not be described again in this embodiment.
[0091] (2) Click Trigger: The terminal responds to the viewer's click operation on the target virtual gift option, which meets the fifth trigger condition, and displays the target effect in the live broadcast room. This process, in which the viewer actively selects the target virtual gift option, can improve the viewer's participation and thus optimize the live broadcast interaction effect.
[0092] In some embodiments, the terminal displays the number of times a viewer clicks on a target virtual gift option in the live stream, and displays the appearance of the target virtual gift option changing as the viewer clicks, thereby enriching the gift display effect in the live stream.
[0093] This process is similar to the click triggering process of the aforementioned anchor object, and will not be described again in this embodiment.
[0094] (3) Voice trigger: The terminal responds to the audience's voice content for the target virtual gift option, which meets the sixth trigger condition, and displays the target effect in the live broadcast room.
[0095] This process is similar to the voice triggering process of the aforementioned broadcaster, and will not be described again in this embodiment.
[0096] (4) Automatic timing trigger: In response to the end of the virtual gift giving animation, the terminal displays a countdown in the live broadcast room. In response to the end of the countdown, it randomly triggers any one of the multiple virtual gift options and displays the corresponding target effect in the live broadcast room. This process is the same as the automatic timing trigger process of the anchor object described above, and will not be repeated here in this embodiment.
[0097] In addition, the aforementioned target virtual gift option can also be triggered by other viewers in the live stream, and the triggering method is the same as described above. This disclosure does not limit this aspect.
[0098] In some embodiments, in response to a triggering operation on a target virtual gift option among a plurality of virtual gift options, the terminal displays a message from the viewer who sent the target virtual gift in the live stream. For example, such as Figure 11 As shown, after the target Easter egg is triggered, the terminal displays the message 1101 of the viewer who sent the mystery Easter egg gift in the live broadcast room.
[0099] In some embodiments, in response to a selection operation of a target virtual gift option among multiple virtual gift options, the terminal deselects the virtual gift options other than the target virtual gift option from the multiple virtual gift options. For example, such as Figure 12 As shown, after Easter egg 1201 is selected, the terminal cancels the display of other Easter eggs and only keeps Easter egg 1201.
[0100] Through the aforementioned triggering process, the selection of the special effect entity type for the target virtual gift has been completed in the live stream. Given the determined special effect entity type, the following describes the final target special effect to be played dynamically using a "two-stage extraction + multi-factor weighting" algorithm, constrained by the real-time context information of the live stream. It should be noted that the following process can be executed by the backend server of the live stream platform or by the terminal; this embodiment uses server execution as an example for explanation.
[0101] The following is an introduction to the weighted random special effects extraction mechanism provided in this publication, which uses the context information of the live broadcast room as a constraint.
[0102] In some embodiments, the server receives interactive information from a terminal, which indicates the target virtual gift sent by the viewer and the triggered target virtual gift option, such as a "glittering Easter egg." In response to this interactive information, the server obtains the context information of the live stream and then extracts the target effect through a two-stage extraction mechanism (also known as an effect appearance strategy). In the first stage of the two-stage extraction mechanism, the server randomly selects the target effect tier from multiple effect tiers according to the probability distribution of multiple effect tiers. In the second stage, the server determines the effect entity type corresponding to the target virtual gift option as the target effect entity type. For each candidate effect among multiple candidate effects, the server determines the weight of the candidate effect based on the matching coefficient between the candidate effect and the context information of the live stream. The weights of the multiple candidate effects are normalized to obtain the probability distribution of the multiple candidate effects, and then the target effect is extracted from the multiple candidate effects according to the probability distribution of the multiple candidate effects.
[0103] In some embodiments, during the process of acquiring the context information of the live broadcast room, the server collects a snapshot of the live broadcast room context. Illustratively, the server reads information such as scene tags from the live broadcast room state machine or scene tag service, and obtains information such as relationship tags between the live broadcast room audience and the broadcaster, and the live broadcast room popularity value, through the aforementioned related processes. After acquiring the aforementioned context snapshot, for each type of information, the server converts that type of information into discrete feature tags or numerical ranges, and adds the converted tags or numerical ranges to the context information. For example, if the number of bullet comments in the live broadcast room per unit time is less than x1, the live broadcast room popularity information is determined to be low popularity; if the number of bullet comments in the live broadcast room per unit time is between x1 and x2, the live broadcast room popularity information is determined to be medium popularity; if the number of bullet comments in the live broadcast room per unit time is greater than x2, the live broadcast room popularity information is determined to be high popularity. The same applies to the number of online users and interaction frequency, which will not be elaborated further in this embodiment. x1 and x2 are the bucket thresholds configured by the operators, where x1 is less than x2, and both x1 and x2 are integers greater than 0.
[0104] In some embodiments, the server determines the relationship information between the viewer and the streamer based on the viewer's historical interaction information. This historical interaction information includes at least one of the following: historical gift-giving data, historical comment information, historical bullet screen information, the viewer's follow duration on the streamer, historical likes, and historical favorites. Taking historical gift-giving data as an example, this data represents the amount of virtual resources consumed by the viewer's historical interactions of gifting virtual gifts to the streamer. Different relationship information corresponds to different ranges of virtual resources. The server determines the relationship information between the viewer and the streamer based on the range of virtual resources associated with the viewer's historical gift-giving data. For example, if the relationship information "Old U Old A" corresponds to a virtual resource range greater than or equal to 5000, the server determines the relationship information between the viewer and the streamer to be "Old U Old A" based on the fact that the resource consumption of the viewer's historical interactions of gifting virtual gifts to the streamer is greater than 5000. Similarly, taking historical comment data as another example, historical comment information includes at least one of the following: the number of times the viewer sent comments to the streamer, and the content of the comments sent by the viewer to the streamer. When historical comment information refers to the number of times comments were sent, the method for determining relationship information based on historical comment information is similar to the process described above for determining relationship information based on historical gift-giving data. When historical comment information refers to comment content, the server can determine relationship information based on the degree of matching between the comment content and the corresponding thesaurus of different types of relationship information. Alternatively, it can process the comment content using a pre-trained text processing model to obtain relationship information. Of course, the server can also use other methods to determine relationship information, which are not limited in this embodiment. The aforementioned historical bullet screen information, the duration of the audience's attention to the streamer, historical likes, and historical favorites are similar to the aforementioned historical gift-giving data or historical comment information, and will not be elaborated upon in this embodiment. When historical interaction information includes multiple pieces of information, each piece of information has a corresponding weight. The server determines the relationship information that best matches the aforementioned audience and streamer based on the relationship information indicated by each piece of information and the weights of each piece of information. For example, for each type of relationship information, the server adds the weights of at least one piece of information indicating that relationship information to obtain the weight of that relationship information, and determines the relationship information with the highest weight as the relationship information between the aforementioned audience and streamer.
[0105] It should be noted that the server can determine the relationship information between the audience and the broadcaster in real time based on the audience's historical interaction information in response to the above interactive operation, or it can maintain the relationship information between the audience and the broadcaster periodically based on the audience's historical interaction information, or it can update the relationship information between the audience and the broadcaster in real time in response to changes in the audience's historical interaction information. When the above interactive behavior occurs, the server can directly obtain the pre-maintained relationship information. This disclosure embodiment does not limit this.
[0106] The context information can be represented by a context feature vector, such as ctx={s,u,a,...}, where ctx indicates context information, s indicates scene information, u indicates relationship information, and a indicates live stream popularity information.
[0107] In some embodiments, in the first stage of the two-stage extraction mechanism, the server performs rarity tier extraction to determine the target effect tier. These effect tiers include, for example, SSR (Super Super Rare, legendary rarity effect tier), SR (Super Rare, ultra-rare rarity effect tier), R (Rare, rare rarity effect tier), and N (Normal, common rarity effect tier). The rarity of these four effect tiers decreases sequentially, with N being the backup tier. The display effect of the gift differs depending on the effect tier; the rarer the effect tier, the more elaborate or complex the corresponding gift effect, and vice versa. During the extraction process, the server can randomly select the target effect tier according to a pre-configured probability distribution of multiple effect tiers. For example, in a pre-configured probability distribution, the probabilities of the N, R, SR, and SSR tiers are 60%, 20%, 15%, and 5%, respectively. The server randomly selects the target effect tier from the N, R, SR, and SSR tiers according to this probability distribution. This process controls the probability of selecting gift effects at different tiers from a macro perspective, determining "whether a surprise is given and how big the surprise is," regardless of the specific content of the gift effect. This ensures that the overall winning rate, cost, and revenue intensity of the live streaming platform are globally controllable.
[0108] In some embodiments, the server adjusts the probability distribution of multiple special effects tiers based on the popularity of the live stream or the broadcaster's verbal information. For example, the server adds a context adjustment factor δ to the probability of a certain special effect tier based on the popularity of the live stream or the broadcaster's verbal information, and after adjusting the probability of that special effect tier, normalizes the probabilities of multiple special effects tiers to obtain a new probability distribution. For example, when the popularity of the live stream is high, the probabilities of the SR and SSR tiers are slightly increased, and when the popularity of the live stream decreases, the probabilities of the SR and SSR tiers are decreased.
[0109] In some embodiments, the aforementioned context adjustment factor δ is subject to preset upper and lower limits. Accordingly, for each of the multiple effect levels, the server adjusts the probability of the effect level within a preset range to avoid probability runaway.
[0110] After determining the target effect level through the above process, the server identifies multiple candidate effects for the gift effects in the corresponding effect pool for the target effect entity type.
[0111] To illustrate, for any given effect entity type, it corresponds to different effect pools at different effect tiers. For example, for the target effect entity type, it corresponds to the N pool, R pool, SR pool, and SSR pool at the N, R, SR, and SSR tiers, respectively. The gift effects in different effect pools are independent of each other, and the rarity of gift effects varies at different effect tiers. For example, the rarity of gift effects is lowest at the N effect tier and highest at the SSR effect tier. The server determines the corresponding effect pool based on the target effect entity type and the target effect tier, and selects multiple gift effects from that pool as candidate effects.
[0112] In some embodiments, in the second stage of the two-stage extraction mechanism, the server performs weighted random extraction on multiple candidate effects with the current context information of the live room as a constraint, thereby achieving context-aware random extraction and realizing content matching between the effects and the live room. The extracted target effects are associated with the real-time context information of the live room, avoiding the disconnect between the effects content and the live room, which would affect the topicality and secondary dissemination value of the live room.
[0113] In some embodiments, during the execution of the second phase, for each candidate effect among multiple candidate effects, the server determines the weight of the candidate effect based on the candidate effect's base weight, the matching coefficient between the candidate effect and each piece of information in the context information, and the operational configuration weight. The matching coefficient between the candidate effect and each piece of information in the context information indicates the degree of matching between the candidate effect and the corresponding information; a higher matching coefficient indicates a higher degree of matching, and a lower matching coefficient indicates a lower degree of matching. The operational configuration weight indicates the weight configured by the operators for the candidate effect. Illustratively, the server obtains the weight of the candidate effect using the following formula (1).
[0114] W_i=w_base(i)×Π_k f_k(context_k,i)×w_op(i)(1) Wherein, W_i is used to indicate the weight of the i-th candidate effect, w_base(i) is used to indicate the base weight of the i-th candidate effect, f_k(context_k,i) is used to indicate the matching coefficient between the i-th candidate effect and the k-th item in the context information, Π_k f_k(context_k,i) is used to indicate the product of the matching coefficients between the i-th candidate effect and each item in the context information, and w_op(i) is used to indicate the operational configuration weight of the i-th candidate effect.
[0115] The matching coefficient between the candidate effects and any piece of contextual information indicates the degree of matching between the candidate effect and that information. A higher degree of matching results in a larger matching coefficient, and vice versa. For example, if the contextual information of a live stream indicates a PK scene and high-intensity comments, then among the multiple candidate effects, the matching coefficients between confrontational and high-energy effects and their corresponding contextual information are relatively high (e.g., greater than 1). Consequently, the probability of these effects being selected as the target effect increases. Conversely, among the multiple candidate effects, the matching coefficients between relaxed effects and their corresponding contextual information are relatively low (e.g., less than 1). Consequently, the probability of these effects being selected as the target effect decreases. As another example, if the contextual information of a live stream indicates a talent show scene and long-time fans (old Us, old As), then among the multiple candidate effects, aesthetic effects and emotional expression effects have relatively high matching coefficients with their corresponding contextual information. For example, if the context information in the live stream indicates a casual chat or interaction scenario, or new fans (new users and new users), then among the multiple candidate effects, prank effects and lighthearted effects have a higher matching coefficient with the corresponding information in the context.
[0116] In some embodiments, the matching coefficient between the candidate effect and any item in the context information is obtained by comparing the content or tag of the candidate effect with the context information. For example, the server obtains the similarity between the information of the candidate effect and any item in the context information, and determines the matching coefficient between the candidate effect and that item in the context information based on the range of similarity values.
[0117] In some embodiments, the base weights of the multiple candidate effects are equal by default, meaning that the base weights of the multiple candidate effects are the same. In some embodiments, the above-mentioned operational configuration weights are configured by operators based on at least one of the following information: activity, volume control, and grayscale, and are used to enable operators to manually adjust the extraction probability of gift effects.
[0118] The process of obtaining candidate effect weights involves multiplying the "matching coefficient" and applying it to the weights of the candidate effects. This makes it more likely that "gift effects that are more closely related to the current state of the live stream will appear." It also allows the live stream to output different gift effects based on different contextual information, even when the effect entity type and rarity level are the same. This results in "dynamic random effect displays that are strongly correlated with the current state of the live stream," making each effect both surprising and matching the current content of the live stream, thus optimizing the interactive effect of the live stream.
[0119] In some embodiments, after obtaining the weights of multiple candidate effects, the server normalizes the weights of multiple candidate effects using the following formula (2) to obtain the probability distribution of multiple candidate weights.
[0120] P_i=W_i / Σ_jW_j(2) Where P_i indicates the probability of the i-th candidate effect, W_i indicates the weight of the i-th candidate effect, Σ_jW_j indicates the sum of the weights of multiple candidate effects, and W_j indicates the weight of the j-th candidate effect.
[0121] After obtaining the probability distribution of multiple candidate effects, the server randomly selects the target effect from the multiple candidate effects according to the probability distribution.
[0122] The above-mentioned scheme for extracting target effects decouples the "rarity probability layer" and the "contextual content layer" in a structural manner, forming a two-layer orthogonal candidate effect pool organization and extraction architecture. The first layer: Rarity Probability Layer (Macro-controllable): Candidate effects are divided into four tiers based on rarity: N (common), R (rare), SR (super rare), and SSR (legendary). Each tier has an independent base hit probability (configurable by operations). This layer only determines "whether or not to give a surprise, and how big of a surprise," and is unrelated to the specific content of the gift effect or contextual information. It is used to ensure that the overall winning rate, cost, and revenue intensity on the platform side are globally controllable and auditable. The second layer: Contextual Content Layer (Fine-grained matching within each tier): Each rarity tier is independently attached to an effect pool, such as a common pool, an advanced pool, a premium pool, and a limited pool. The probability of each gift effect appearing within each tier is dynamically determined by the context weighting of the second stage mentioned above. This layer only determines "which content best matches the current live stream within a given surprise level." The aforementioned two-layer decoupled architecture decouples probabilistic controllability from content diversity: adjustments to rarity probabilities by operations personnel do not affect content matching logic, and adding or removing special effects does not affect the overall winning rate. Furthermore, the two layers of architecture can iterate independently; for example, the same rarity tier can output different target special effects under different contextual information, avoiding the predictable decay of "high rarity equals a fixed special effect," and achieving different outputs for the same tier.
[0123] The process of extracting target effects described above retains the element of surprise from randomness while incorporating the streamer's active choice and the context of the live stream. This ensures that each gift effect is both a result of the streamer's participation and matches the current state of the live stream, thereby optimizing the interactive experience. Furthermore, displaying the target effect determined based on contextual information naturally generates the question, "Why did this effect appear?", which helps increase the live stream's popularity, enhances its topicality, and increases its secondary dissemination value. From the platform's perspective, this process enhances the diversity of live stream content, providing differentiated material for the dissemination of live stream segments or clips.
[0124] In some embodiments, before extracting special effects, the server, based on the context information of the live stream, removes gift effects irrelevant to the context from the special effect pool corresponding to each special effect tier for each target special effect entity type. This achieves availability filtering of the special effect pools for each tier, and removes gift effects that are obviously conflicting with, irrelevant to, or offline in real time. In some embodiments, during the removal process, for each gift effect, the server obtains the similarity between the content or tags of the effect and the context information. If the similarity is less than a similarity threshold, the effect is removed.
[0125] The above process is illustrated using a two-stage extraction mechanism employed by the server to extract the target effect. In some embodiments, the server combines the two-stage extraction into a single weighted extraction to improve extraction efficiency. Illustratively, the server identifies multiple candidate effects based on the gift effects of the target effect entity type within the corresponding effect pools across multiple effect tiers. The server determines the weight of each candidate effect based on the rarity weight of its effect tier, the candidate effect's base weight, the matching coefficient between the candidate effect and each piece of information in the context, and the operational configuration weight. For example, the server multiplies the rarity weight of the candidate effect's effect tier, the candidate effect's base weight, the matching coefficient between the candidate effect and each piece of information in the context, and the operational configuration weight to obtain the candidate effect's weight. Then, the server normalizes the weights of the multiple candidate effects to obtain a probability distribution, and then extracts the target effect from the multiple candidate effects based on this probability distribution. The rarity weight of any special effect tier indicates the rarity of the gift effect under that tier. The higher the rarity weight, the lower the rarity of the gift effect under that tier, and vice versa.
[0126] In other embodiments, the server obtains a probability distribution of multiple candidate effects based on at least one of the rarity weight of candidate effects, the context matching weight of candidate effects, and the operational configuration weight. Then, based on this probability distribution, the server extracts the target effect from the multiple candidate effects, achieving target effect extraction based on a single random probability, thereby further improving extraction efficiency. The context matching weight of a candidate effect is obtained by multiplying the matching coefficients between the candidate effect and various information in the context information.
[0127] In some embodiments, the server records information such as context information, hit level, target effect, and target effect extraction probability involved in this extraction process for subsequent weight optimization and effect analysis.
[0128] Through the above process, the server obtains information such as the target effect, the effect level, the playback duration, and the display strategy of the target effect, and sends the above information to the terminal so that the terminal can display the target effect based on the above information.
[0129] In some embodiments, the display strategies for special effects belonging to different effect tiers are different. When the target special effect belongs to the first effect tier, the first display strategy is used to display the target special effect in the live broadcast room. When the target special effect belongs to the second effect tier, the second display strategy is used to display the target special effect in the live broadcast room. The different display strategies indicate at least one of the following: effect playback duration, effect display position, whether audience information is displayed, effect clarity, and effect playback smoothness. For example, for a target special effect in the N tier, the effect is a short effect of less than 3 seconds, and a "Try again" reminder is displayed after the effect finishes playing. For a target special effect in the R or SR tier, the effect playback duration is approximately 3 seconds. For a target special effect in the SSR tier, the effect playback duration is approximately 5 seconds and is displayed in full-screen with a title, meaning the effect is displayed in full-screen mode on the terminal, and the information of the audience who sent the gift is displayed within the effect.
[0130] Schematic illustration: In some embodiments, when the target effect belongs to the SSR effect tier, the terminal displays the target effect in full screen in the live stream and also displays information about the audience in the live stream. For example, such as Figure 13 As shown, the terminal plays the target effect obtained in the live stream, and displays the effect in full screen when the SSR effect is playing, along with the gift-giving viewer information 1301, visible to all viewers in the live stream. If the target effect is at the N-level, it is displayed in a preset area of the live stream. For example, as... Figure 14 As shown, the terminal plays the target special effect obtained in the live broadcast room, and when the N-level (backup) special effect finishes playing, it displays a strong reminder 1401, such as "Nothing was drawn, try again," thereby cooperating with the repurchase mechanism described below to guide secondary gift sending. Illustratively, in some embodiments, when the target special effect belongs to a preset special effect level, after the target special effect finishes playing, the terminal displays a prompt message instructing the user to try sending virtual gifts again. The terminal can display the prompt message in the form of a pop-up window in the live broadcast room, or in the chat interface of the audience; this embodiment does not limit this to specific methods.
[0131] Optionally, if the target effect is at the first level, the terminal displays the initial virtual resource quantity of the target virtual gift in the live stream after the target effect finishes playing. For example, if the target effect is at level N, the terminal also displays the repurchase virtual resource quantity of the target virtual gift in the live stream, so that viewers can decide whether to send the gift again based on the repurchase virtual resource quantity, thereby increasing the repurchase rate.
[0132] Optionally, if the target effect is in the second-tier effect category, the terminal displays the initial virtual resource quantity of the target virtual gift in the live stream after the target effect finishes playing. For example, if the target effect is in the SSR tier, the terminal also displays the initial virtual resource quantity of the target virtual gift in the live stream to attract other viewers to participate in gift-giving.
[0133] The aforementioned virtual resource quantity display mechanism based on different special effects levels strongly binds the special effects display with the revenue rhythm, making the rarity level the scheduling anchor point for the revenue rhythm and realizing the automation of revenue rhythm scheduling.
[0134] The aforementioned target special effects display scheme, combined with special effects tiers, forms a linkage mechanism based on the gift-giving state machine to differentiate the determination of virtual resource quantity for first-time / repeat purchases and the "feedback extraction - virtual resource quantity determination" process. This mechanism constructs a gift-giving state machine driven by the gift-giving status of viewers and gifts, creating a closed-loop linkage between the determination of virtual resource quantity and the feedback from randomly selected target special effects. Specifically, the live streaming platform, based on the number of times viewers have given gifts, proposes using an initial virtual resource quantity if the first-time purchase status is achieved, and a repeat purchase virtual resource quantity if the repeat purchase status is achieved. These two sets of virtual resource quantities are configured independently, and the relationship between the initial and repeat purchase virtual resource quantities can be configured bidirectionally. For example, a low initial virtual resource quantity is used to lower the experience threshold and increase new user acquisition, while a high initial virtual resource quantity is used to strengthen the sense of ritual or scarcity of the first purchase, achieving the same mechanism to adapt to both "new user acquisition" and "revenue" operational goals. Furthermore, the aforementioned two sets of virtual resource quantities and the "feedback extraction - virtual resource quantity determination" linkage form a closed loop. For example, the N-tier target effect triggers a strong "Try Again" reminder, which directly carries the amount of virtual resources for repeat purchases. This instantly connects the "draw result feedback" with the "virtual resources consumed in the next gift," forming a short closed loop of "draw failure → instant recall → guidance for repeat purchases of virtual resources." Another example is the full-screen display of the SSR-tier target effect, which encourages onlookers. Most onlookers are in their first-time purchase state, and their entry utilizes the initial amount of virtual resources, forming a new user acquisition link of "highlight display → conversion of onlookers into first-time purchases." Thus, the linkage between the randomly drawn target effect tier and the gifting status (first-time purchase / repeat purchase) constitutes a positive revenue feedback loop of "single transaction → multiple repeat purchases / onlooker conversions." This loop effectively solves the problem of "insufficient repeat purchase motivation," converting single gift transactions into multiple repeat purchases, resulting in a higher frequency of purchases compared to single high-virtual-resource-amount gifts. In addition, the above mechanism prevents viewers from feeling frustrated when they draw the N-level target effect by displaying prompts, and creates a highlight moment for viewers by displaying the SSR-level target effect in full screen, thus optimizing the viewer's experience.
[0135] Steps 303-304 above represent a possible implementation method for the terminal to display target special effects in the live stream room in response to the aforementioned interactive behavior, based on the context information of the live stream room. This possible implementation method provides a live stream room interactive gift gameplay where the host or viewer's active selection of the special effect entity type serves as a trigger, and the special effect is randomly selected based on context-aware weighted selection of the special effect using the context information of the live stream room as a constraint. This enables the gift gameplay to achieve a dual drive of "selection will + context randomness," which can effectively enhance the host's sense of participation, the viewer's sense of immersion, and the richness of the live stream room content.
[0136] The above process is illustrated using the example of the host or audience choosing the type of special effect entity. In some embodiments, the server determines the gift special effects in the special effect pool corresponding to the preset special effect entity type of the target virtual gift as multiple candidate special effects, and extracts the target special effect from these multiple candidate special effects to simplify the live broadcast interaction process.
[0137] This disclosure provides an interactive method for a live streaming room. The method provides a target virtual gift associated with multiple gift effects. After an interactive action occurs in the live streaming room targeting the target virtual gift, in response to the interactive action, the method displays the target effect determined from the multiple gift effects based on the context information of the live streaming room. Since the target effect is determined based on the context information of the live streaming room, it is closely related to the real-time information of the live streaming room, preventing the displayed effects from becoming disconnected from the live streaming environment, thereby optimizing the interactive effect of the live streaming room.
[0138] Figure 15 This is a block diagram illustrating an interactive device for a live streaming room according to an exemplary embodiment. See also... Figure 15 The interactive features in the live stream include: The live streaming room display module 1501 is configured to display the live streaming room. Interaction module 1502 is configured to perform interactive behavior in the live broadcast room for a target virtual gift, the target virtual gift being associated with multiple gift effects; The special effects display module 1503 is configured to, in response to the interactive behavior, display a target special effect determined from the plurality of gift special effects based on the context information of the live broadcast room.
[0139] In some embodiments, the apparatus further includes: The context acquisition module is configured to acquire the context information of the live broadcast room, the context information including at least one of the following: the live broadcast scene information of the live broadcast room, the live broadcast popularity information, the type of the anchor object in the live broadcast room, and the relationship information between the audience object and the anchor object in the live broadcast room.
[0140] In some embodiments, the context acquisition module is further configured to determine the relationship information between the audience object and the streamer object based on the audience object's historical interaction information, wherein the historical interaction information includes at least one of the following: historical gift-giving data, historical comment information, historical bullet screen information, duration of following the streamer object, historical like information, and historical collection information.
[0141] In some embodiments, the apparatus further includes: The weight determination module is configured to determine the weight of each candidate effect among multiple candidate effects based on the matching coefficient between the candidate effect and the context information of the live broadcast room. The probability acquisition module is configured to normalize the weights of the multiple candidate effects to obtain the probability distribution of the multiple candidate effects. The extraction module is configured to extract the target effect from the plurality of candidate effects according to the probability distribution of the plurality of candidate effects.
[0142] In some embodiments, the weight determination module is configured to: The weight of the candidate effect is determined based on its base weight, the matching coefficient between the candidate effect and each item in the context information, and the operational configuration weight; or, The weight of the candidate special effect is determined based on the rarity weight of the special effect tier to which the candidate special effect belongs, the basic weight of the candidate special effect, the matching coefficient between the candidate special effect and each item in the context information, and the operation configuration weight. The matching coefficient between the candidate effect and each piece of information in the context information indicates the degree of matching between the candidate effect and the corresponding information. The operation configuration weight indicates the weight configured by the operator for the candidate effect. The rarity weight of any effect level indicates the rarity of the gift effect under the corresponding effect level.
[0143] In some embodiments, the multiple candidate effects have the same base weight.
[0144] In some embodiments, the special effects display module 1503 is configured to: The option display unit is configured to display multiple virtual gift options for the target virtual gift in the live broadcast room in response to the interactive behavior, wherein each of the multiple virtual gift options corresponds to a special effect entity type of the target virtual gift; The special effects display unit is configured to display the target special effects in the live broadcast room in response to a trigger operation on a target virtual gift option among the plurality of virtual gift options. The target special effects are determined based on the special effects entity type corresponding to the target virtual gift option and the context information.
[0145] In some embodiments, the option display unit is configured to: In response to the interactive behavior, a virtual gift-giving animation of the target virtual gift is displayed in the live stream room; After the virtual gift-giving animation ends, multiple virtual gift options for the target virtual gift are displayed in the live stream room.
[0146] In some embodiments, the special effects display unit is configured as follows: In the live stream, the host makes a first preset gesture towards the target virtual gift option among the multiple virtual gift options. In response to the first preset gesture made by the host meeting a first triggering condition, the target special effect is displayed in the live stream. In the live stream, the host clicks on the target virtual gift among the multiple virtual gift options. In response to the click operation performed by the host meeting the second triggering condition, the target special effect is displayed in the live stream. The host is shown making a verbal announcement about the target virtual gift option in the live stream room. In response to the host's verbal announcement meeting a third triggering condition, the target special effect is displayed in the live stream room.
[0147] In some embodiments, the special effects display unit is configured as follows: The number of times the streamer makes the first preset gesture towards the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host makes the first preset gesture.
[0148] In some embodiments, the special effects display unit is configured as follows: The number of times the streamer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host clicks.
[0149] In some embodiments, the special effects display unit is configured as follows: In response to a second preset gesture made by a viewer who has gifted the target virtual gift to the target virtual gift option, which meets a fourth triggering condition, the target effect is displayed in the live stream room; In response to the audience's click on the target virtual gift option meeting the fifth trigger condition, the target effect is displayed in the live stream room; In response to the audience's input of voice content for the target virtual gift option meeting the sixth trigger condition, the target effect is displayed in the live stream.
[0150] In some embodiments, the special effects display unit is configured as follows: The number of times the viewer makes the second preset gesture in response to the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience makes the second preset gesture.
[0151] In some embodiments, the special effects display unit is configured as follows: The number of times the viewer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience clicks on it.
[0152] In some embodiments, the apparatus further includes: The countdown display module is configured to display a countdown in the live stream room in response to the end of the virtual gift-giving animation. The selection module is configured to display the target effect in the live stream in response to the end of the countdown. The target effect is determined based on the effect entity type corresponding to any of the multiple virtual gift options and the context information.
[0153] In some embodiments, the apparatus further includes: The audience information display module is configured to display the audience object's information at a preset position in each of the plurality of virtual gift options. The audience object's information includes at least one of the following: the audience object's avatar, nickname, message, preset text, and message prompt information. The message prompt information indicates that the corresponding virtual gift option should be triggered to display the audience's message.
[0154] In some embodiments, the apparatus further includes: The message control display module is configured to display a message control in the live broadcast room in response to the interactive behavior; The message input box display module is configured to display a message input box in the live broadcast room in response to a trigger operation on the message control; The message input module is configured to display a message from the audience object who sent the target virtual gift in response to an input operation on the message input box.
[0155] In some embodiments, different effect entity types of the target virtual gift indicate different appearances or themes of the target virtual gift.
[0156] In some embodiments, any special effects entity type corresponds to different special effects pools at different special effects levels, and the rarity of gift special effects varies at different special effects levels. The device further includes: The entity type determination module is configured to determine the special effect entity type corresponding to the target virtual gift option as the target special effect entity type; The candidate effect determination module is configured to determine the effects of the target effect entity type in the corresponding effect pool under the target effect level as the multiple candidate effects, or to determine the effects of the target effect entity type in the corresponding effect pool under multiple effect levels as the multiple candidate effects.
[0157] In some embodiments, the apparatus further includes: The gear selection module is configured to randomly select the target special effect gear from the multiple special effect gears according to the probability distribution of the multiple special effect gears; The device further includes: The probability adjustment module is configured to adjust the probability distribution of the multiple special effects levels within a preset range based on the popularity information of the live broadcast room or the verbal information of the anchor.
[0158] In some embodiments, the apparatus further includes: The elimination module is configured to, before determining candidate effects, eliminate gift effects that are irrelevant to the context information from the effect pool corresponding to each effect level of the target effect entity type, based on the context information of the live broadcast room.
[0159] In some embodiments, the apparatus further includes: The candidate effect determination module is also configured to determine the gift effects in the effect pool corresponding to the preset effect entity type of the target virtual gift as multiple candidate effects.
[0160] In some embodiments, the apparatus further includes: The resource quantity determination module is configured to determine the virtual resource quantity corresponding to each virtual gift in the live broadcast room based on the gift-giving status of the audience object. The virtual resource quantity corresponding to each virtual gift indicates the virtual resource quantity consumed by giving the corresponding virtual gift to the broadcaster object. The virtual resource quantity corresponding to each virtual gift is the initial virtual resource quantity or the repurchased virtual resource quantity. The gift-giving status indicates the number of times the audience object has given a gift. The resource quantity display module is configured to display the virtual resource quantity corresponding to each virtual gift in the live broadcast room.
[0161] In some embodiments, the special effects display module 1503 is configured to: If the target effect belongs to the first effect level, the target effect is displayed using the first display strategy in the live broadcast room. If the target effect belongs to the second effect level, the target effect will be displayed in the live broadcast room using the second display strategy. Among them, the different display strategies indicate at least one of the following differences: special effect playback duration, special effect display position, whether to display audience information, special effect clarity, and special effect playback smoothness.
[0162] It should be noted that the interactive device for the live streaming room provided in the above embodiments is only illustrated by the division of the above functional units when performing live streaming interaction. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device can be divided into different functional units to complete all or part of the functions described above. In addition, the interactive device for the live streaming room provided in the above embodiments and the interactive method embodiments for the live streaming room belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0163] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0164] Electronic devices can be implemented as terminals. Figure 16 This is a block diagram illustrating a terminal 1600 according to an exemplary embodiment. Figure 16A structural block diagram of a terminal 1600 provided in an exemplary embodiment of this disclosure is shown. The terminal 1600 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1600 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0165] Typically, terminal 1600 includes a processor 1601 and a memory 1602.
[0166] Processor 1601 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1601 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1601 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1601 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1601 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0167] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 are used to store at least one computer program, which is executed by the processor 1601 to implement the interactive method of the live streaming room provided in the method embodiments of this application.
[0168] In some embodiments, the terminal 1600 may also optionally include a peripheral device interface 1603 and at least one peripheral device. The processor 1601, memory 1602, and peripheral device interface 1603 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607, and a power supply 1608.
[0169] Peripheral interface 1603 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1601 and memory 1602. In some embodiments, processor 1601, memory 1602 and peripheral interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1601, memory 1602 and peripheral interface 1603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0170] The radio frequency (RF) circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1604 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1604 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1604 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0171] Display screen 1605 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1605 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1601 for processing. In this case, display screen 1605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1605, disposed on the front panel of terminal 1600; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1600 or in a folded design; in still other embodiments, display screen 1605 may be a flexible display screen, disposed on a curved or folded surface of terminal 1600. Furthermore, display screen 1605 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0172] The camera assembly 1606 is used to acquire images or videos. In some embodiments, the camera assembly 1606 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0173] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1601 for processing, or to the radio frequency circuit 1604 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1600. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1607 may also include a headphone jack.
[0174] Power supply 1608 is used to power the various components in terminal 1600. Power supply 1608 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1608 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0175] Those skilled in the art will understand that Figure 16 The structure shown does not constitute a limitation on terminal 1600 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0176] Figure 17 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 1700 can vary significantly depending on its configuration or accuracy. It may include one or more Central Processing Units (CPUs) 1701 and one or more memories 1702. The memories 1702 store at least one computer program, which is loaded and executed by the processor 1701 to implement the methods provided in the various method embodiments described above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0177] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, which can be executed by a processor of an electronic device, such as a terminal, to complete the aforementioned interactive method in the live streaming room. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0178] This disclosure also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-described interactive method for the live streaming room.
[0179] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0180] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for interaction in a live streaming room, characterized in that, The method includes: Show the live stream room; Interactive behavior occurs in the live stream targeting a virtual gift, which is associated with multiple gift effects; In response to the interactive behavior, a target effect determined from the plurality of gift effects based on the context information of the live stream is displayed in the live stream room.
2. The interactive method for a live streaming room according to claim 1, characterized in that, The method further includes: Obtain the context information of the live broadcast room, which includes at least one of the following: the live broadcast scene information of the live broadcast room, the live broadcast popularity information, the type of the host object in the live broadcast room, and the relationship information between the audience object and the host object in the live broadcast room.
3. The interactive method for a live streaming room according to claim 2, characterized in that, The method further includes: Based on the audience's historical interaction information, the relationship information between the audience and the streamer is determined. The historical interaction information includes at least one of the following: historical gift-giving data, historical comment information, historical bullet screen information, duration of following the streamer, historical likes, and historical favorites.
4. The interactive method for a live streaming room according to claim 1, characterized in that, The method further includes: For each candidate effect among multiple candidate effects, the weight of the candidate effect is determined based on the matching coefficient between the candidate effect and the context information of the live broadcast room; The weights of the multiple candidate effects are normalized to obtain the probability distribution of the multiple candidate effects; The target effect is extracted from the multiple candidate effects according to their probability distribution.
5. The interactive method for a live streaming room according to claim 4, characterized in that, The determination of the weight of the candidate special effect based on the matching coefficient between the candidate special effect and the context information of the live broadcast room includes: The weight of the candidate effect is determined based on its base weight, the matching coefficient between the candidate effect and each item in the context information, and the operational configuration weight; or, The weight of the candidate special effect is determined based on the rarity weight of the special effect tier to which the candidate special effect belongs, the basic weight of the candidate special effect, the matching coefficient between the candidate special effect and each item in the context information, and the operation configuration weight. The matching coefficient between the candidate effect and each piece of information in the context information indicates the degree of matching between the candidate effect and the corresponding information. The operation configuration weight indicates the weight configured by the operator for the candidate effect. The rarity weight of any effect level indicates the rarity of the gift effect under the corresponding effect level.
6. The interactive method for a live streaming room according to claim 5, characterized in that, The base weights of the multiple candidate effects are the same.
7. The interactive method for a live streaming room according to claim 1, characterized in that, The response to the interactive behavior, displaying a target effect determined from the plurality of gift effects in the live stream based on the context information of the live stream, includes: In response to the interactive behavior, multiple virtual gift options of the target virtual gift are displayed in the live broadcast room, each of the multiple virtual gift options corresponding to a special effect entity type of the target virtual gift; In response to a triggering operation on a target virtual gift option among the plurality of virtual gift options, the target effect is displayed in the live stream room. The target effect is determined based on the effect entity type corresponding to the target virtual gift option and the context information.
8. The method according to claim 7, characterized in that, In response to the interactive behavior, displaying multiple virtual gift options for the target virtual gift in the live stream includes: In response to the interactive behavior, a virtual gift-giving animation of the target virtual gift is displayed in the live stream room; After the virtual gift-giving animation ends, multiple virtual gift options for the target virtual gift are displayed in the live stream room.
9. The interactive method for a live streaming room according to claim 7, characterized in that, The response to a triggering operation on a target virtual gift option among the plurality of virtual gift options, displaying the target effect in the live stream includes any of the following: In the live stream, the host makes a first preset gesture towards the target virtual gift option among the multiple virtual gift options. In response to the first preset gesture made by the host meeting a first triggering condition, the target special effect is displayed in the live stream. In the live stream, the host clicks on the target virtual gift among the multiple virtual gift options. In response to the click operation performed by the host meeting the second triggering condition, the target special effect is displayed in the live stream. The host is shown making a verbal announcement about the target virtual gift option in the live stream room. In response to the host's verbal announcement meeting a third triggering condition, the target special effect is displayed in the live stream room.
10. The interactive method for a live streaming room according to claim 9, characterized in that, The method further includes at least one of the following: The number of times the streamer makes the first preset gesture towards the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host makes the first preset gesture.
11. The interactive method for a live streaming room according to claim 9, characterized in that, The method further includes at least one of the following: The number of times the streamer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the host clicks.
12. The interactive method for a live streaming room according to claim 7, characterized in that, The response to a triggering operation on a target virtual gift option among the plurality of virtual gift options, displaying the target effect in the live stream includes any of the following: In response to a second preset gesture made by a viewer who has gifted the target virtual gift to the target virtual gift option, which meets a fourth triggering condition, the target effect is displayed in the live stream room; In response to the audience's click on the target virtual gift option meeting the fifth trigger condition, the target effect is displayed in the live stream room; In response to the audience's input of voice content for the target virtual gift option meeting the sixth trigger condition, the target effect is displayed in the live stream.
13. The interactive method for a live streaming room according to claim 12, characterized in that, The method further includes at least one of the following: The number of times the viewer makes the second preset gesture in response to the target virtual gift option is displayed in the live stream room; The form of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience makes the second preset gesture.
14. The interactive method for a live streaming room according to claim 12, characterized in that, The method further includes at least one of the following: The number of times the viewer clicks on the target virtual gift option is displayed in the live stream room; The appearance of the target virtual gift option displayed in the live broadcast room changes according to the number of times the audience clicks on it.
15. The interactive method for a live streaming room according to claim 7, characterized in that, The method further includes: In response to the end of the virtual gift-giving animation, a countdown is displayed in the live stream room; In response to the end of the countdown, the target effect is displayed in the live stream room. The target effect is determined based on the effect entity type corresponding to any of the multiple virtual gift options and the context information.
16. The interactive method for a live streaming room according to claim 7, characterized in that, The method further includes: For each of the plurality of virtual gift options, the audience object's information is displayed at a preset position of the virtual gift option. The audience object's information includes at least one of the following: the audience object's avatar, nickname, message, preset text, and message prompt information. The message prompt information indicates that the corresponding virtual gift option should be triggered to display the audience object's message.
17. The interactive method for a live streaming room according to claim 16, characterized in that, The method further includes: In response to the interactive behavior, a message control is displayed in the live stream room; In response to a trigger operation on the message control, a message input box is displayed in the live stream room; In response to an input operation in the message input box, the message from the viewer is displayed in the message input box.
18. The interactive method for a live streaming room according to claim 7, characterized in that, The different special effects entity types of the target virtual gift indicate different appearances or themes of the target virtual gift.
19. The interactive method for a live streaming room according to claim 7, characterized in that, Any special effects entity type corresponds to a different special effects pool under different special effects tiers, and the rarity of gift special effects varies under different special effects tiers. The method also includes: The special effect entity type corresponding to the target virtual gift option is determined as the target special effect entity type; The gift effects of the target effect entity type in the corresponding effect pool under the target effect level are determined as the multiple candidate effects, or the gift effects of the target effect entity type in the corresponding effect pool under multiple effect levels are determined as the multiple candidate effects.
20. The interactive method for a live streaming room according to claim 19, characterized in that, The method further includes: According to the probability distribution of multiple special effects levels, the target special effects level is randomly selected from the multiple special effects levels; The method further includes: Based on the popularity information of the live stream or the verbal information of the streamer, the probability distribution of the multiple special effects levels is adjusted within a preset range.
21. The interactive method for a live streaming room according to claim 19, characterized in that, The method further includes: Before determining candidate effects, based on the context information of the live stream, gift effects that are irrelevant to the context information are removed from the effect pool corresponding to each effect level of the target effect entity type.
22. The interactive method for a live streaming room according to claim 1, characterized in that, The method further includes: The gift effects in the effect pool corresponding to the preset effect entity type of the target virtual gift are identified as multiple candidate effects.
23. The interactive method for a live streaming room according to claim 7, characterized in that, The method further includes: Based on the gift-giving status of the audience, the amount of virtual resources corresponding to each virtual gift in the live broadcast room is determined. The amount of virtual resources corresponding to each virtual gift indicates the amount of virtual resources consumed in giving the corresponding virtual gift to the streamer. The amount of virtual resources corresponding to each virtual gift is the initial amount of virtual resources or the amount of virtual resources purchased repeatedly. The gift-giving status indicates the number of times the audience has given a gift. The amount of virtual resources corresponding to each virtual gift is displayed in the live broadcast room.
24. The interactive method for a live streaming room according to claim 5, characterized in that, The target special effects determined based on the context information of the live stream are displayed in the live stream room, including: If the target effect belongs to the first effect level, the target effect shall be displayed in the live broadcast room using the first display strategy. If the target effect belongs to the second effect level, the target effect will be displayed in the live broadcast room using the second display strategy. Among them, the different display strategies indicate at least one of the following differences: special effect playback duration, special effect display position, whether to display audience information, special effect clarity, and special effect playback smoothness.
25. An interactive device for a live streaming room, characterized in that, The device includes: The live stream display module is configured to display live streams; An interactive module is configured to generate interactive behavior in the live stream targeting a virtual gift, which is associated with multiple gift effects; The special effects display module is configured to, in response to the interactive behavior, display a target special effect determined from the plurality of gift special effects based on the context information of the live stream in the live stream room.
26. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the interactive method of the live streaming room as described in any one of claims 1 to 24.
27. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the interactive method of the live streaming room as described in any one of claims 1 to 24.
28. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the interactive method for the live streaming room as described in any one of claims 1 to 24.
