Component triggering method, apparatus, device, and storage medium for live streaming
Patent Information
- Application Number
- JP2025526662
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-11-10
- Filing Date
- 2023-11-10
- Publication Date
- 2026-09-09
- Estimated Expiration
- 2043-11-10
Smart Images

Figure 0007918354000001 
Figure 0007918354000002 
Figure 0007918354000003
Abstract
Description
Technical Field
[0001] (Reference to Related Application) The present application claims the priority of the Chinese patent application filed on November 10, 2022, with the application number CN202211407232.X and the title "Component Trigger Method, Apparatus, Device and Storage Medium for Live Streaming", the entire content of which is incorporated herein by reference.
[0002] (Technical Field) Embodiments of the present disclosure relate to the technical field of Internet, and in particular, to a component trigger method, apparatus, device and storage medium for live streaming.
Background Art
[0003] In an application scenario of live streaming of competitive sports events, a user can enter a live streaming room of a sports event through a client side of a live streaming application running on a terminal device, and watch the live streaming video of the competitive sports event. In order to meet the user's interaction needs in the process of watching the competitive sports event, various functional components for realizing interaction in the live streaming room are also provided on the client side of the live streaming application, and corresponding interaction operations and tasks are realized by triggering the functional components.
[0004] However, in the conventional technology, the functional components on the live streaming room page are usually triggered based on manual operation on the back end of the server side, which causes the problems that the real-time performance of component triggering is degraded and the interaction effect is low.
Summary of the Invention
[0005] Embodiments of this disclosure provide a component triggering method, apparatus, device, and storage medium for live streaming in order to overcome problems present in existing functional components, such as reduced real-time performance and low interaction effectiveness of component triggers.
[0006] In a first embodiment, an embodiment of the present disclosure provides a component triggering method for live streaming, the method being: The process includes receiving a live streaming message from a target live streaming room, the live streaming message characterizing a live streaming event occurring in the live streaming video delivered in the live streaming room, determining a corresponding target component based on the live streaming message from the target live streaming room, and triggering the target component within the live streaming room page of the target live streaming room, the target component being used to implement a first interaction function for the target live streaming event occurring in the live streaming video delivered in the target live streaming room.
[0007] In a second embodiment, an embodiment of the present disclosure provides a display device for a live streaming room page, which is a device that A receiving module for receiving live streaming messages from a target live streaming room, wherein the live streaming message characterizes a live streaming event occurring in a live streaming video delivered in the live streaming room; and a display module for determining a corresponding target component based on the live streaming message of the target live streaming room and for triggering the target component within the live streaming room page of the target live streaming room, wherein the target component is used to implement a first interaction function for target live streaming events occurring in a live streaming video delivered in the target live streaming room.
[0008] In a third embodiment, the embodiments of the present disclosure provide an electronic device, which is It comprises a processor and memory that is communicably connected to the processor, Memory stores computer execution instructions. The processor executes computer execution instructions stored in memory to implement the component triggering method for live streaming described in the first embodiment and various possible designs of the first embodiment.
[0009] In a fourth embodiment, an embodiment of the present disclosure provides a computer-readable storage medium in which computer execution instructions are stored, and when a processor executes the computer execution instructions, a component trigger method for live streaming described in the first embodiment and various possible designs of the first embodiment is realized.
[0010] In a fifth embodiment, embodiments of the present disclosure provide a computer program product that, when executed by a processor, implements a component triggering method for live streaming described in the first embodiment and various possible designs of the first embodiment.
[0011] The component triggering method, apparatus, device, and storage medium for live streaming provided by this embodiment perform the following: receive a live streaming message from a target live streaming room, the live streaming message characterizes a live streaming event occurring in the live streaming video streamed in the live streaming room; determine a corresponding target component based on the live streaming message from the target live streaming room; and trigger the target component within the live streaming room page of the target live streaming room, the target component being used to implement a first interaction function for the target live streaming event occurring in the live streaming video streamed in the target live streaming room. In a live streaming scenario of a sports event, the live streaming event continues to change as the game progresses. Therefore, this embodiment achieves dynamic triggering of components used to implement interaction functions within the live streaming room page by determining a corresponding target component based on a live streaming message characterizing the live streaming event and displaying the target component. As a result, it improves the diversity of component trigger modes and the real-time nature of triggers, thereby improving the interaction effect between users within the live streaming room. [Brief explanation of the drawing]
[0012] To more clearly illustrate the embodiments of this disclosure or the technical proposals in the prior art, the following is a brief introduction to the accompanying drawings that may be used in the description of the embodiments or the prior art. The accompanying drawings in the following description are some embodiments of this disclosure, and it is obvious to an ordinary person of the art that other drawings can be obtained by following these accompanying drawings without expending any creative effort.
[0013] [Figure 1] This is a diagram illustrating an application scenario of the component trigger method for live streaming provided by the embodiments of this disclosure. [Figure 2]This is a schematic flowchart 1 of a component trigger method for live streaming provided by an embodiment of the present disclosure. [Figure 3] Figure 2 is a flowchart of a specific embodiment of step S102 in the example shown. [Figure 4] This is a schematic diagram of the structure of an event identifier in a live-streaming message provided by an embodiment of the present disclosure. [Figure 5] This is a schematic diagram of the process for triggering the effect function provided by the embodiments of this disclosure. [Figure 6] This is a schematic diagram of the process for triggering the resource transfer function provided by the embodiments of this disclosure. [Figure 7] This is a schematic flowchart 2 of a component trigger method for live streaming provided by an embodiment of the present disclosure. [Figure 8] This is a schematic diagram of the process for determining and triggering the target component provided by the embodiments of this disclosure. [Figure 9] Figure 7 is a flowchart of a specific embodiment of step S207 in the example shown. [Figure 10] This is a schematic diagram of the process for determining the target visual effect provided by the embodiments of this disclosure. [Figure 11] This is a block diagram of the configuration of a component trigger device for live streaming provided by an embodiment of the present disclosure. [Figure 12] This is a schematic diagram of the configuration of an electronic device provided by the embodiments of this disclosure. [Figure 13] This is a schematic diagram of the hardware configuration of an electronic device provided by an embodiment of the present disclosure. [Modes for carrying out the invention]
[0014] In order to clarify the objectives, technical solutions and advantages of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by a person skilled in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.
[0015] Application scenarios of the embodiments of the present disclosure are described below.
[0016] FIG. 1 is a diagram of an application scenario of a component triggering method for live streaming provided according to an embodiment of the present disclosure. The component triggering method for live streaming provided according to an embodiment of the present disclosure can be applied to an application scenario of live streaming of sports events. As shown in FIG. 1, the method provided by the embodiment of the present disclosure can be applied to a terminal device running a client side of a live streaming application. The terminal device communicates with a server running a live streaming server side. The server transmits live streaming data to the terminal device, and the terminal device acquires the live streaming data and streams it within the client-side page, so as to implement video live streaming of competitive sports events such as football matches, basketball matches, and esports matches. Wherein, the client side of the live streaming application is provided with a component (invisible before being triggered) for realizing interaction between users. After the component is triggered, specific event tasks and visual effects can be realized, for example, specifically, the visual effect of "fireworks display", the event task of sending "virtual points", and so on.
[0017] Furthermore, the component triggering method for live streaming provided by the embodiments of the present disclosure can also be applied to other application scenarios of live streaming of other competitive events, confrontational content or other content, such as anchor versus (PK), etc. The specific embodiments can be adjusted based on the specific application scenarios, and repeated description is omitted here.
[0018] In the prior art, the triggering of the above-mentioned components is usually realized based on manual operation on the server-side backend, that is, the live streaming server is manually operated to send a trigger instruction to the client-side of the terminal device, and the client-side responds after receiving the trigger instruction to realize triggering of the target component corresponding to the trigger instruction. However, for example, in the application scenario of live streaming of sports events, various game events such as goals and fouls may occur randomly in the live-streamed match. The method of sending trigger instructions through manual operation has the problem of low real-time performance of transmission. Meanwhile, as the number of various components increases and the trigger logic becomes more complex, not only does the real-time performance further decrease, but also problems such as component triggering errors and limited diversity of component triggering modes occur, which ultimately affects the interaction effect among users in the live streaming room.
[0019] Embodiments of the present disclosure provide a component triggering method for live streaming to solve the above problems.
[0020] Referring to FIG. 2, FIG. 2 is a first schematic flowchart of a component triggering method for live streaming provided by an embodiment of the present disclosure. The method of the present embodiment can be applied to a terminal device, and the component triggering method for live streaming includes the following steps.
[0021] Step S101: Receive a live streaming message from the target live streaming room, and the live streaming message characterizes the live streaming event that occurs in the live streaming video being streamed in the live streaming room.
[0022] Exemplary, the entity performing the method provided by this embodiment may be a terminal device, such as a smartphone. Referring to the schematic diagram of the application scenario shown in Figure 1, the terminal device runs the client side of a live streaming application. After entering the target live streaming room via the client side of the live streaming application, the live streaming room page of this target live streaming room is displayed on the terminal device's display screen, and the live streaming video is displayed via this live streaming room page. Specifically, in the application scenario for live streaming of a sports event, the live streaming message is a match message, the live streaming event is a match event, and the live streaming type corresponds to the sport. The live streaming video is, for example, a match video (e.g., a soccer match video, a basketball match video, etc.).
[0023] Furthermore, the terminal device distributes live streaming video via the live streaming room page and simultaneously receives live streaming messages transmitted from the server (server-side). In the application scenario of live streaming of a sports event, the live streaming message is information that characterizes the live streaming events occurring in the live streaming video. In the application scenario of live streaming of a sports event, the live streaming event is a match event, and specifically refers to a particular event that occurs during the match based on the rules of the match, such as the start of the match, a goal scored, a foul, halftime, etc. In one possible embodiment, the live streaming message includes an event identifier, and the corresponding live streaming event is indicated by the event identifier.
[0024] Furthermore, illustratively, this live streaming message may be included in the live streaming data (video stream) used to implement live video streaming. After receiving the live streaming data transmitted from the server, the terminal device analyzes the live streaming data to obtain information characterizing the live streaming events that occurred in the live streaming video, i.e., the live streaming message. Moreover, this live streaming message is generated on the server (server-side) based on the content of the live streaming video. Specifically, it is obtained by the server processing one or more video frames in the live streaming video based on image recognition, etc., and a detailed description of its specific embodiment will not be repeated. Therefore, the live streaming events characterized by the live streaming message are almost synchronized with the content of the live streaming video, and the high real-time nature of the live streaming message effectively improves the real-time nature of subsequent triggering of target components based on the live streaming message.
[0025] Step S102: Based on the live streaming messages in the target live streaming room, the corresponding target component is determined, and the target component is used to implement the first interaction function for the target live streaming event that occurs in the live streaming video delivered in the target live streaming room.
[0026] Exemplary, after obtaining the live streaming message from the target live streaming room, the corresponding target component is determined based on the live streaming event indicated by the live streaming message from the target live streaming room. For example, a live streaming event has a predetermined matching relationship with a target component, such that if the live streaming event is "Match Start," it corresponds to target component A, and if the live streaming event is "Match End," it corresponds to target component B. In one possible embodiment, the live streaming message includes an event identifier that characterizes the live streaming event, and a specific embodiment of step S102 includes the following steps, as shown in Figure 3.
[0027] Step S1021: Obtain the event identifier in the live streaming message of the target live streaming room in real time.
[0028] Step S1022: Determine the corresponding target component based on the event identifier.
[0029] It is understood that different types of live streams correspond to different live stream events. Taking the application scenario of live streaming of sports events as an example, the type of live stream corresponds to the sport. For example, a basketball game would include a live stream event called "End of First Quarter," while a soccer game would not. Therefore, the live stream message that characterizes a live stream event corresponds to the live stream video currently being streamed in the target live stream room. In one possible embodiment, the event identifier includes a first field and a second field, where the first field indicates the live stream type corresponding to the live stream video, and the second field characterizes the live stream event based on the live stream type. Figure 4 is a schematic diagram of the structure of an event identifier in a live streaming room message provided by an embodiment of the present disclosure. As shown in Figure 4, exemplarily, one exemplary live streaming message includes an event identifier [type_01, event_03], where "type_01" is the first field, characterizing that the live streaming type is "football match," and "event_03" is the second field, characterizing that the live streaming event in the "football match" is "handball foul." The first field is separated from the second field by a predetermined symbol ",". The above embodiment of the event identifier is merely illustrative and can be configured as needed in a specific application. In this embodiment, since the event identifier is composed of the first and second fields, the event identifier can accurately indicate live streaming events in different live streaming types, thereby improving the accuracy of the determined target component and the rationality of the application scenario of the target component when determining the target component based on the event identifier in the live streaming message.
[0030] Step S103: Trigger the target component within the live streaming room page of the target live streaming room.
[0031] Furthermore, after determining the target component, in one possible embodiment, the target component can be directly triggered to execute the functional logic corresponding to the target component, i.e., the first interaction function. Here, the first interaction function includes an effects function or a resource transfer function, the effects function being used to display visual effects on the live streaming room page, and the resource transfer function being used to transfer virtual resources to the target user. The effects function and the resource transfer function are described in detail below.
[0032] Exemplary, an effect function is an effect map displayed on the live streaming room page, such as a "fireworks" effect map or a "cheerleader cheer" effect map. Selectively, a visual effect is a dynamic map generated based on a multi-frame image. Furthermore, exemplary, the live streaming room page includes a first area for displaying the live streaming video and a second area for displaying resident functional components, such as a "channel chat" component or a "team data" component, for which a detailed explanation is omitted. Exemplary, the effect function may be displayed in the first area or the second area of the live streaming room page. Figure 5 is a schematic diagram of the process for triggering an effect function provided by an embodiment of this disclosure. As shown in Figure 5, when a "goal-in event" occurs based on the content of the live streaming video being delivered in the target live streaming room (when the terminal device receives the target live streaming message Info_1 corresponding to the goal-in event), the terminal device triggers the target component and displays the "fireworks" visual effect in the second area of the live streaming room page. Thus, automatic triggering of the target component based on the live streaming message is achieved. Of course, in other possible embodiments, the “fireworks” visual effect may also be displayed in the first area of the live streaming room page, and it should be understood that this description is not repeated.
[0033] Exemplary, if the first interaction function includes a resource transfer function, executing the corresponding first interaction function in response to a trigger operation on a target component includes transferring virtual resources to a target user in response to a trigger on the target component by the target user. Figure 6 is a schematic diagram of the process for triggering the resource transfer function provided by an embodiment of the present disclosure. As shown in Figure 6, when a “goal-in event” occurs based on the content of a live-streamed video being delivered in a target live-streaming room (when the terminal device receives a target live-streaming message Info_2 corresponding to the goal-in event), the terminal device triggers the target component, executes the resource transfer function, and performs a transfer to virtual resources in the user account corresponding to the terminal device, for example, increasing the virtual points of the target number. Specifically, as shown in Figure 6, after the target component is triggered, first, an icon or map corresponding to this resource transfer function, for example, a map with specific characters or patterns, is displayed on the live-streaming room page, the corresponding explanatory characters are displayed, and the target user corresponding to the terminal device is notified of the specific amount of virtual resource to be transferred (for example, to acquire 100 points). Simultaneously, a transfer is performed to the virtual resources within the user account corresponding to the terminal device, increasing them by, for example, 100 points, and the resource transfer function execution process is completed. Of these, the specific implementation of displaying the icon and map corresponding to this resource transfer function on the live streaming room page can be configured as needed, and no further examples are given here.
[0034] In this embodiment, a live streaming message is received from a target live streaming room, the live streaming message characterizes a live streaming event occurring in the live streaming video delivered in the live streaming room, the corresponding target component is determined based on the live streaming message of the target live streaming room, the target component is triggered within the live streaming room page of the target live streaming room, and the target component is used to realize a first interaction function for the live streaming event occurring in the live streaming video delivered in the target live streaming room. In a live streaming scenario of a sports event, the live streaming event continues to change as the game progresses, so this embodiment determines the corresponding target component based on the live streaming message characterizing the live streaming event and displays the target component, thereby enabling dynamic triggering of components to realize interaction functions within the live streaming room page, improving the diversity of component trigger modes and the real-time nature of triggers, and enhancing the interaction effect between users within the live streaming room.
[0035] Referring to Figure 7, Figure 7 is a schematic flowchart 2 of a component trigger method for live streaming provided by an embodiment of the present disclosure. This embodiment further subdivides step S102 in addition to the embodiment shown in Figure 2, and this component trigger method for live streaming is applied to a live streaming application scenario for a sports event, in which the live streaming message is a match message, the live streaming event is a match event, and the live streaming type corresponds to a sport, and the method provided by this embodiment includes the following steps.
[0036] Step S201: Receive a match message from the target live streaming room. The match message characterizes the match events that occur in the live streaming video being broadcast in the live streaming room.
[0037] Step S202: The live streaming room message is received from the target live streaming room, and the live streaming room message is used to characterize the number of times the second interaction feature was triggered within the target live streaming room.
[0038] Step S203: Based on the live streaming room messages of the target live streaming room, determine the trigger timing to trigger the target component within the live streaming room page of the target live streaming room.
[0039] Here, the specific embodiment of receiving the match message in step S101 is described in detail in the embodiment shown in Figure 2, so it will not be repeated here.
[0040] Furthermore, in addition to receiving match messages, the system also receives live streaming room messages from the target live streaming room. In one possible embodiment, the live streaming room messages, like the match messages, may be included in the live streaming data and sent by the server (server-side) to the terminal device (client-side). In another possible embodiment, the live streaming room messages may also be sent independently of the live streaming data, i.e., the live streaming room messages are sent by the server to the terminal device, for example, at regular intervals, according to a specific strategy, so that the terminal device can obtain the live streaming room messages and perform subsequent steps based on the live streaming room messages.
[0041] Furthermore, the live streaming room information characterizes the number of times a second interaction function was triggered in the target live streaming room where the live streaming video is delivered. Here, the second interaction function is an interaction function other than the first interaction function (e.g., "Like", "Follow", "Support Selected Team") that is triggered by a user in the live streaming room, and the second interaction function is implemented by a corresponding interaction component, and the number of times the second interaction function was triggered is the number of times a user in the target live streaming room triggers the above interaction component to perform the "Like" or "Support Selected Team" function. Specifically, each time a user in the target live streaming room sends a trigger instruction for the second interaction function via a terminal device, the server side records this trigger instruction, and thereby counts the total number of triggers for the second interaction function in the target live streaming room and generates a live streaming room message. Subsequently, the terminal device determines the trigger timing for triggering the target component within the target live streaming room page based on the number of times the target component is triggered by the live streaming room message. More specifically, for example, it will trigger the target component when the number of "Likes" (second interaction function) reaches 30,000, or when the number of "Support Users" triggers reaches 100,000.
[0042] In this embodiment, the trigger timing of the target component is determined by the live streaming room message. This allows the trigger timing of the target component to be dynamically determined based on the user's interaction status within the target live streaming room, thereby achieving the objective of improving feedback from interactions within the live streaming room and enhancing the interaction effect.
[0043] Step S204: Determine the corresponding target component based on the match message and live streaming room message of the target live streaming room.
[0044] For example, in acquiring live streaming messages, the match message and the live streaming room message are combined to jointly determine the corresponding target component. Specifically, for example, first, the corresponding match event is determined based on the event identifier in the match message; then, the corresponding component category is determined based on the match event; and then, based on the live streaming room message, the target component corresponding to the live streaming room message is selected from the component category corresponding to the match event. Figure 8 is a schematic diagram of the process for determining and triggering target components provided by an embodiment of this disclosure, and the above process will be described in detail below in conjunction with Figure 8. As shown in Figure 8, for example, first, based on the match message Info_1, it is indicated that the match event is the start of the second half of a soccer match. Based on this match event, it is determined that the corresponding component category is the visual effect component set C for "cheerleader cheering," and for example, in addition to this, the terminal device also includes a visual effect component set B that characterizes "fireworks." Furthermore, Visual Effects Component Set C includes a total of 10 Visual Effects Components, C1 to C10. For example, when Visual Effects Component C1 is triggered, it displays a visual effect of "one cheerleader performing cheerleading," when Visual Effects Component C2 is triggered, it displays a visual effect of "two cheerleaders performing cheerleading," and the effects after Visual Effects Components C3 to C10 are triggered can be inferred from this, and the explanation will not be repeated.
[0045] Subsequently, based on the live streaming room message Info_2, the number of times the "Like the game" function (second interaction function) is currently triggered is obtained as an example, count_1 = 20000. Based on this count_1, the corresponding target component is determined as visual effect component C2 in the visual effect component set C mentioned above. When this target component is triggered, a visual effect of "two cheerleaders performing cheerleading" is displayed. Thus, the objective of jointly determining the target component based on the live streaming room message and the live streaming message is achieved, and the more times the user in the target live streaming room "likes the game," the more complex and elaborate the visual effect will be.
[0046] In the steps of this embodiment, the match message and live streaming room message of the target live streaming room are combined, and the corresponding target component is jointly determined. As a result, the specific implementation details of the target component are dynamically determined based on the user interaction status within the target live streaming room, thereby achieving the objective of improving interaction feedback in the live streaming room and enhancing the interaction effect.
[0047] Step S205: Display the target component and receive trigger instructions for the target component. The target component is used to implement an effects function for target match events that occur in the live streaming video delivered in the target live streaming room, and the effects function is used to display visual effects on the live streaming room page.
[0048] Step S206: Obtain the first cumulative count, which is the cumulative number of times the target component has received a trigger instruction during the display phase of the target component.
[0049] Step S207: Determine the corresponding target visual effect based on the first cumulative count.
[0050] Step S208: Display the target visual effect on the live streaming room page, determine the status of the target component, and if the target component is in the display phase, return to step S205; otherwise, exit the loop.
[0051] Unlike the embodiment shown in Figure 2, which exemplifies a solution where determining a target component automatically triggers the corresponding target component and executes the corresponding first interaction function, this embodiment first displays the target component within the terminal device's live streaming room page after determining the target component. The terminal device then triggers the target component and executes the corresponding first interaction function after receiving a user trigger operation for this target component. Specifically, the target component is used to implement an effect function or resource transfer function for the live streaming video. The specific embodiments of the effect function and resource transfer function were described in the corresponding parts of the embodiment shown in Figure 2 and will not be repeated here.
[0052] In this embodiment, when a target component is used to implement an effect function, for example, when it is used to implement a "fireworks effect" or a "cheerleader cheering effect," the terminal device calculates the cumulative number of all trigger instructions received during the target component's display phase, i.e., the first cumulative count, each time it receives a trigger instruction entered by the user during the target component's display phase. Here, the display phase is the corresponding time phase from when the target component appears on the live streaming room page until it disappears. The display phase corresponds to a certain display time length. More specifically, for example, when the trigger condition is met, the target component appears on the live streaming room page and remains there for 10 seconds. During those 10 seconds, the user can trigger the corresponding first interaction function by manipulating this target component. After 10 seconds, the target component disappears, and the terminal device stops receiving trigger instructions for the target component. The phase from the appearance to the disappearance of this target component is the display phase.
[0053] Furthermore, as the terminal device continuously receives trigger instructions, this first cumulative count continues to increase, and accordingly, the corresponding target visual effect is determined based on the first cumulative count. As the target component is continuously triggered by the user, a visual effect is achieved in which the target visual effect changes continuously.
[0054] As shown in Figure 9, in one possible embodiment, a specific embodiment of step S207 includes the following steps:
[0055] Step S2071: A predetermined visual effect library is obtained, which contains at least two visual effect options arranged in an orderly manner, and the visual color tone of each visual effect option changes continuously according to the effect library index of each visual effect option.
[0056] Step S2072: Based on the first cumulative count and the total number of visual effect options in the visual effect library, determine the target effect library index, which is the remainder when the first cumulative count is divided by the total number.
[0057] Step S2073: Determine the corresponding target visual effect from the visual effect library based on the target effect library index.
[0058] For example, a visual effects library is a database for storing visual effects of a visual effects target type, such as a database of 100 different "fireworks effects" in different colors. The visual effects library stores multiple visual effects options, each of which corresponds to one effect library index for localization. Visual effects options with consecutive effect library indexes are arranged sequentially according to their visual color tones. Visual color tones refer to the relative degree of brightness and darkness of an image, expressed as color for a color image. Therefore, the visual color tones corresponding to consecutive visual effects options with consecutive effect library indexes form a continuously changing color spectrum.
[0059] More specifically, taking the "fireworks effect" as an example, a visual effect selection stored in the visual effect library with the effect type "fireworks effect" will be visually represented as the color of "fireworks" in the effect map changing continuously, that is, the RGB values changing continuously, for example, "fireworks" continuously changing between red, yellow, blue, and intermediate colors between the above colors.
[0060] Furthermore, the obtained first cumulative count is divided by the total number of visual effect options in the visual effect library, and the remainder is used as the target effect library index that characterizes the target visual effect. Figure 10 is a schematic diagram of the process for determining the target visual effect provided by an embodiment of the present disclosure. As shown in Figure 10, for example, if the total number of visual effect options in the visual effect library is 100 (effect library index is #1 to #100) and the first cumulative count = 1, the remainder when the first cumulative count is divided by the total number = 1, i.e., the target effect library index = #1, i.e., the first visual effect option in the visual effect library is the target visual effect, and the RGB value corresponding to this target visual effect is (50, 50, 50). If the first cumulative count = 2, the remainder when the first cumulative count is divided by the total number is 2, i.e., the target effect library index = #2, i.e., the second visual effect option in the visual effect library is the target visual effect, and the RGB value corresponding to this target visual effect is (51, 51, 51). By analogy, if the first cumulative count is 100, the remainder when the first cumulative count is divided by the total is 0. In this case, the target effect library index is set to the total, so the target effect library index is #100. That is, the 100th visual effect option in the visual effect library is set as the target visual effect, and the RGB value corresponding to this target visual effect is (149,149,149). If the first cumulative count is 101, the remainder when the first cumulative count is divided by the total is 1. In this case, we return to the starting position of the visual effect library, set the target effect library index to #1, that is, the first visual effect option in the visual effect library is set as the target visual effect, and the RGB value corresponding to this target visual effect is (50,50,50). The process described above is repeated again.
[0061] In this embodiment, a visual effect library with continuously changing visual tones is obtained, and target visual effects with continuously changing tones are sequentially determined by polling based on a first cumulative count. As a result, during the process in which the user continuously triggers target components, the visual effects corresponding to the target components can exhibit continuous color changes. On the one hand, this enhances the degree of visual appreciation, and on the other hand, the continuous color changes serve to indicate the number of operation instructions entered by the user, thereby improving interaction feedback during the component triggering process and enhancing the interaction effect.
[0062] In an optional, alternative possible embodiment, a specific embodiment of step S207 includes the following steps:
[0063] Step S2074: Send the first cumulative count to the server side and receive a second cumulative count as feedback from the server side, the second cumulative count being the cumulative number of trigger instructions for the target component entered by a user in the target live streaming room over a second time duration.
[0064] Step S2075: Determine the corresponding target visual effect based on the second cumulative count.
[0065] Exemplary, in another embodiment, after obtaining a first cumulative count, the first cumulative count is sent to the server side, which obtains a second cumulative count by counting the total number of times each user in the target live streaming room triggered this target component, and then returns the second cumulative count to the terminal device, which determines the corresponding target visual effect based on this second cumulative count. The specific implementation of this target visual effect is determined based on the first cumulative count contributed by all users in the live streaming room, for example, a dynamic change effect is achieved where the color of the "fireworks" in the fireworks effect map becomes darker or the tone warmer the more clicks there are. This improves the feedback of user interaction in the live streaming room and enhances the interaction effect.
[0066] Here, a specific embodiment in which the target visual effect is determined based on a second cumulative count in step S2075 may refer to a specific embodiment in which the target visual effect is determined based on a first cumulative count in steps S2071 to S2073, and both embodiments may be the same, and the description herein will not be repeated.
[0067] Corresponding to the component triggering method for live streaming in the above embodiment, Figure 11 is a block diagram of the configuration of a component triggering device for live streaming provided by an embodiment of the present disclosure. For the sake of clarity, only the parts relevant to the embodiment of the present disclosure are shown. Referring to Figure 11, the component triggering device 3 for live streaming comprises a receiving module 31 and a display module 32.
[0068] The receiving module 31 is used to receive live streaming messages from the target live streaming room, and the live streaming messages characterize live streaming events that occur in the live streaming video being delivered in the live streaming room.
[0069] The display module 32 determines the corresponding target component based on the live streaming message of the target live streaming room and is used to trigger the target component within the live streaming room page of the target live streaming room. The target component is used to implement a first interaction function for target live streaming events that occur in the live streaming video delivered in the target live streaming room.
[0070] In one embodiment of the present disclosure, the display module 32 is configured to determine a corresponding target component based on a live streaming message of a target live streaming room, specifically by obtaining an event identifier in the live streaming message of a target live streaming room in real time, wherein the event identifier includes a first field representing a live streaming type corresponding to a live streaming video and a second field characterizing a live streaming event based on the live streaming type, and by determining a corresponding target component based on the event identifier.
[0071] In one embodiment of the present disclosure, the receiving module 31 is further used to receive live streaming room messages from a target live streaming room, the live streaming room messages being used to characterize the number of times a second interaction feature was triggered within the target live streaming room.
[0072] The display module 32 is used to determine the corresponding target component based on the live streaming messages of the target live streaming room, specifically, to determine the corresponding target component based on the live streaming messages and live streaming room messages of the target live streaming room.
[0073] In one embodiment of the present disclosure, the display module 32 is further used to determine trigger timing to trigger a target component within the live streaming page of the target live streaming room, based on the live streaming room message of the target live streaming room.
[0074] In one embodiment of the present disclosure, the display module 32 is used to trigger a target component within the live streaming room page of a target live streaming room, specifically to execute a corresponding first interaction function in response to a trigger operation on the target component, the first interaction function including an effects function or a resource transfer function, the effects function being used to display a visual effect on the live streaming room page, and the resource transfer function being used to transfer a virtual resource to a target user.
[0075] In one embodiment of the present disclosure, if the first interaction function includes an effect function, the display module 32 is used to, in response to a trigger operation on a target component, execute the corresponding first interaction function, specifically by obtaining a first cumulative count, the first cumulative count being the cumulative number of times a trigger instruction has been received on the target component during the display phase of the target component, and determining a corresponding target visual effect based on the first cumulative count, and displaying the target visual effect on the live streaming room page.
[0076] In one embodiment of the present disclosure, the display module 32 is used to determine a corresponding target visual effect based on a first cumulative count, specifically by obtaining a predetermined visual effect library, wherein the visual effect library includes at least two visual effect options arranged in order, and the visual color of each visual effect option changes continuously according to the effect library index of each visual effect option; by determining a target effect library index based on the first cumulative count and the total number of visual effect options in the visual effect library, wherein the target effect library index is the remainder when the first cumulative count is divided by the total number; and by determining a corresponding target visual effect from the visual effect library based on the target effect library index.
[0077] In one embodiment of the present disclosure, the display module 32 is used to determine a corresponding target visual effect based on a first cumulative count, specifically by sending the first cumulative count to the server side and obtaining a second cumulative count fed back from the server side, wherein the second cumulative count is the cumulative number of trigger instructions for a target component entered by a user in a target live streaming room over a second time period, and by determining a corresponding target visual effect based on the second cumulative count.
[0078] Here, the receiving module 31 and the display module 32 are connected in sequence. The component trigger device 3 for live streaming provided by this embodiment can implement the technical proposal of the embodiment relating to the above method, and its implementation principle and technical effect are the same, so the description of this embodiment will not be repeated here.
[0079] Figure 12 is a schematic diagram of the configuration of an electronic device provided by an embodiment of the present disclosure, and as shown in Figure 12, the electronic device 4 is The system comprises a processor 41 and a memory 42 that is communicatively connected to the processor 41. Memory 42 stores computer execution instructions. The processor 41 executes computer execution instructions stored in memory 42 to implement the component triggering method for live streaming in the embodiments shown in Figures 2 to 10.
[0080] Here, the processor 41 and memory 42 are selectively connected via the bus 43.
[0081] Related explanations can be understood by referring to the related explanations and effects corresponding to the steps in the embodiments shown in Figures 2 to 10, so such explanations are omitted here.
[0082] Referring to Figure 13, which shows a schematic diagram of the configuration of an electronic device 900 suitable for carrying out an embodiment of the present disclosure, this electronic device 900 may be a terminal device or a server. Here, the terminal device includes, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (abbreviated as PDAs), tablet computers (abbreviated as Portable Android Devices, PADs), portable media players (abbreviated as PMPs), in-vehicle terminals (e.g., vehicle navigation terminals), digital TVs, and desktop computers. Note that the electronic device shown in Figure 13 is merely an example and does not in any way limit the functions and scope of use of the embodiments of the present disclosure.
[0083] As shown in Figure 13, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 901 capable of performing various appropriate operations and processes based on a program stored in a read-only memory (ROM) 902, or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data necessary for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0084] Typically, the I / O interface 905 may be connected to an input device 906, which may include, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, output device 907, which may include, for example, a liquid crystal display (LCD), speaker, vibrator, storage device 908, which may include, for example, magnetic tape, hard disk, and communication device 909. The communication device 909 may enable the electronic device 900 to communicate with other devices wirelessly or via a wired connection to exchange data. Figure 13 illustrates an electronic device 900 with various devices, but it should be understood that it is not necessary to implement or include all of the devices shown. More or fewer devices may be implemented or included as alternatives.
[0085] In particular, according to embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure have a computer program product which includes a computer program stored on a computer-readable medium, the computer program which includes program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing unit 901, it performs the functions described above as defined in the methods of embodiments of the present disclosure.
[0086] In this disclosure, the computer-readable medium described above may be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that is used by, or can be used in combination with, an instruction execution system, apparatus, or device. Furthermore, in this disclosure, a computer-readable signal medium may include data signals propagated in the baseband or as part of a carrier carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium for transmitting, propagating, or transmitting programs used by or in combination with instruction execution systems, apparatus, or devices. Program code contained in a computer-readable medium can be transmitted using any suitable medium, including but not limited to wires, fiber optic cables, RF (radio frequency), or any suitable combination thereof.
[0087] The computer-readable medium described above may be included in the electronic device described above, or it may be a separate component and not be assembled into the electronic device.
[0088] The computer-readable medium described above stores one or more programs, and when the one or more programs are executed by this electronic device, the electronic device is made to perform the method shown in the above embodiment.
[0089] Computer program code for performing the operations of this disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and traditional procedural programming languages such as the C language or similar programming languages. The program code may run entirely on a user computer, partially on a user computer, run as a standalone software package, run partially on a user computer and partially on a remote computer, or run entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).
[0090] The flowcharts and block diagrams in the accompanying drawings illustrate architectures, functions, and operations that may be implemented according to the systems, methods, and computer program products relating to each embodiment of this disclosure. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or part of code, which contains one or more executable instructions for implementing a specified logical function. Note that in some alternative implementations, the functions associated with a box may occur in a different order than those associated with the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or in reverse order depending on the functions involved. Also note that each box in the block diagram and / or flowchart, and combinations of boxes in the block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs a given function or operation, or in a combination of dedicated hardware and computer instructions.
[0091] The units described in the embodiments of this disclosure may be implemented in software or in hardware. Here, the names of the units do not constitute an limitation to the unit itself in a given context; for example, the first acquisition unit may also be described as "a unit for acquiring at least two Internet Protocol addresses."
[0092] In this specification, the functions described above may be performed, at least in part, by one or more hardware logic units. For example, non-limiting examples of usable and exemplary hardware logic units include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standards (ASSPs), systems-on-a-chip (SOCs), and composite programmable logic devices (CPLDs).
[0093] In the context of this disclosure, machine-readable media may be tangible media that contain or can store programs for use by or in conjunction with instruction execution systems, apparatus, or devices. Machine-readable media may be machine-readable signal media or machine-readable storage media. Machine-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0094] In a first embodiment, one or more embodiments of the present disclosure provide a component triggering method for live streaming, which is: Receiving a live streaming message from a target live streaming room, the live streaming message characterizing a live streaming event occurring in a live streaming video delivered in the live streaming room, and determining a corresponding target component based on the live streaming message from the target live streaming room, and triggering the target component within the live streaming room page of the target live streaming room, the target component being used to implement a first interaction function for the target live streaming event occurring in the live streaming video delivered in the target live streaming room.
[0095] According to one or more embodiments of the present disclosure, determining a corresponding target component based on a live streaming message of the target live streaming room includes obtaining an event identifier in the live streaming message of the target live streaming room in real time, wherein the event identifier includes a first field representing a live streaming type corresponding to the live streaming video and a second field characterizing a live streaming event based on the live streaming type, and determining a corresponding target component based on the event identifier.
[0096] According to one or more embodiments of the present disclosure, the method further includes receiving live streaming room messages from the target live streaming room, the live streaming room messages being used to characterize the number of times a second interaction function has been triggered within the target live streaming room, determining a corresponding target component based on the live streaming messages from the target live streaming room, and determining a corresponding target component based on the live streaming messages from the target live streaming room and the live streaming room messages.
[0097] According to one or more embodiments of the present disclosure, the method further includes determining a trigger timing for triggering the target component within the live streaming page of the target live streaming room, based on the live streaming room message of the target live streaming room.
[0098] According to one or more embodiments of the present disclosure, triggering the target component within the live streaming room page of the target live streaming room includes executing a corresponding first interaction function in response to a trigger operation on the target component, the first interaction function including an effects function for displaying visual effects on the live streaming room page, or a resource transfer function for transferring virtual resources to a target user.
[0099] According to one or more embodiments of the present disclosure, if the first interaction function includes an effect function, executing the corresponding first interaction function in response to a trigger operation on the target component includes obtaining a first cumulative count, the first cumulative count being the cumulative number of times a trigger instruction has been received on the target component during the display phase of the target component, and determining a corresponding target visual effect based on the first cumulative count and displaying the target visual effect on the live streaming room page.
[0100] According to one or more embodiments of the present disclosure, determining a corresponding target visual effect based on the first cumulative count includes obtaining a predetermined visual effect library, the visual effect library comprising at least two visual effect options arranged in an ordered manner, the visual color of each of the visual effect options changing continuously according to the effect library index of each of the visual effect options; determining a target effect library index based on the first cumulative count and the total number of visual effect options in the visual effect library, the target effect library index being the remainder when the first cumulative count is divided by the total number; and determining a corresponding target visual effect from the visual effect library based on the target effect library index.
[0101] According to one or more embodiments of the present disclosure, determining a corresponding target visual effect based on the first cumulative count includes transmitting the first cumulative count to a server-side and obtaining a second cumulative count, which is fed back by the server-side, the second cumulative count being the cumulative number of trigger instructions for a target component entered by a user in the target live streaming room over a second time duration, and determining a corresponding target visual effect based on the second cumulative count.
[0102] In a second embodiment, according to one or more embodiments of the present disclosure, a component trigger device for live streaming of a sporting event is provided, which is: A receiving module for receiving live streaming messages from a target live streaming room, wherein the live streaming messages characterize live streaming events occurring in live streaming video distributed in the live streaming room, and the receiving module... A display module for determining a corresponding target component based on a live streaming message from the target live streaming room, and for triggering the target component within the live streaming room page of the target live streaming room, wherein the target component is used to implement a first interaction function for target live streaming events occurring in the live streaming video delivered in the target live streaming room.
[0103] According to one or more embodiments of the present disclosure, the display module is used to determine a corresponding target component based on a live streaming message of the target live streaming room, specifically by obtaining an event identifier in the live streaming message of the target live streaming room in real time, wherein the event identifier includes a first field representing a live streaming type corresponding to the live streaming video and a second field characterizing the live streaming event based on the live streaming type, and by determining a corresponding target component based on the event identifier.
[0104] According to one or more embodiments of the present disclosure, the receiving module is further used to receive live streaming room messages from the target live streaming room, the live streaming room messages are used to characterize the number of times a second interaction function is triggered within the target live streaming room, and the display module is used to determine a corresponding target component based on the live streaming messages from the target live streaming room, specifically, based on the live streaming messages and live streaming room messages from the target live streaming room.
[0105] According to one or more embodiments of the present disclosure, the display module is further used to determine trigger timing for triggering the target component within the live streaming room page of the target live streaming room, based on the live streaming room messages of the target live streaming room.
[0106] According to one or more embodiments of the present disclosure, the display module is used to trigger the target component within the live streaming room page of the target live streaming room, specifically to execute a corresponding first interaction function in response to a trigger operation on the target component, the first interaction function including an effects function for displaying visual effects on the live streaming room page, or a resource transfer function for transferring virtual resources to a target user.
[0107] According to one or more embodiments of the present disclosure, if the first interaction function includes an effect function, the display module is used to, in response to a trigger operation on the target component, execute the corresponding first interaction function, specifically by obtaining a first cumulative count, the first cumulative count being the cumulative number of times a trigger instruction for the target component has been received within the display phase of the target component, and by determining a corresponding target visual effect based on the first cumulative count and displaying the target visual effect on the live streaming room page.
[0108] According to one or more embodiments of the present disclosure, the display module is used to determine a corresponding target visual effect based on a first cumulative count, specifically by: obtaining a predetermined visual effect library, the visual effect library comprising at least two visual effect options arranged in an ordered manner, wherein the visual color of each visual effect option changes continuously according to the effect library index of each visual effect option; determining a target effect library index based on the first cumulative count and the total number of visual effect options in the visual effect library, wherein the target effect library index is the remainder when the first cumulative count is divided by the total number; and determining a corresponding target visual effect from the visual effect library based on the target effect library index.
[0109] According to one or more embodiments of the present disclosure, the display module is used to determine a corresponding target visual effect based on the first cumulative count, specifically by transmitting the first cumulative count to the server side and obtaining a second cumulative count, which is fed back by the server side, the second cumulative count being the cumulative number of trigger instructions for a target component entered by a user in the target live streaming room over a second time period, and determining a corresponding target visual effect based on the second cumulative count.
[0110] In a third embodiment, according to one or more embodiments of the present disclosure, an electronic device is provided which comprises a processor and a memory communicably connected to the processor, The aforementioned memory stores computer execution instructions, The processor executes computer execution instructions stored in the memory to implement the component triggering method for live streaming described in the first embodiment and various possible designs of the first embodiment.
[0111] In a fourth embodiment, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, in which computer execution instructions are stored, and when a processor executes the computer execution instructions, a component trigger method for live streaming described in the first embodiment and various possible designs of the first embodiment is realized.
[0112] In a fifth embodiment, embodiments of the present disclosure provide a computer program product that, when executed by a processor, implements a component triggering method for live streaming described in the first embodiment and various possible designs of the first embodiment.
[0113] The above description is merely an explanation of preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will understand that the scope of the disclosure is not limited to any technical solution formed by a specific combination of the above technical features, but also covers other technical solutions formed by any combination of the above technical features or equivalent features without departing from the disclosed concepts. For example, this includes technical solutions formed by replacing the above features with (but not limited to) similarly functional technical features disclosed in this disclosure.
[0114] Furthermore, although each operation is described using a specific order, this should not be interpreted as requiring these operations to be executed in a specific order or sequentially. Multitasking and parallel processing may be advantageous in certain environments. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of this disclosure. Some features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, each feature described in the context of a single embodiment can also be implemented in multiple embodiments, individually or in any appropriate subcombination.
[0115] While this subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter as defined in the attached claims is not necessarily limited to the specific features or behaviors described above. Rather, the specific features and behaviors described above are merely exemplary forms of implementing the claims.
Claims
1. Receiving live streaming messages from a target live streaming room, wherein the live streaming messages characterize live streaming events occurring in the live streaming video distributed in the live streaming room. The process includes determining a corresponding target component based on the live streaming messages of the target live streaming room, and triggering the target component within the live streaming room page of the target live streaming room, wherein the target component is used to implement a first interaction function for target live streaming events occurring in the live streaming video delivered in the target live streaming room. Triggering the target component within the live streaming room page of the target live streaming room means that This includes displaying the target component and executing a corresponding first interaction function in response to a trigger operation on the target component. The first interaction function includes an effects function for displaying visual effects on the live streaming room page. If the first interaction function includes an effect function, executing the corresponding first interaction function in response to a trigger operation on the target component is: Obtaining a first cumulative count, wherein the first cumulative count is the cumulative number of times a trigger instruction has been received for the target component during the display phase of the target component. This includes determining a corresponding target visual effect based on the first cumulative count and displaying the target visual effect on the live streaming room page, Determining the corresponding target visual effect based on the first cumulative count is: The method involves obtaining a predetermined visual effect library, wherein the visual effect library includes at least two visual effect options arranged in an orderly manner, and the visual color tone of each of the visual effect options changes continuously according to the effect library index of each of the visual effect options. The target effect library index is determined based on the first cumulative count and the total number of visual effect options in the visual effect library, wherein the target effect library index is the remainder when the first cumulative count is divided by the total number. This includes determining a corresponding target visual effect from the visual effect library based on the target effect library index, How to trigger components for live streaming.
2. Determining the corresponding target component based on the live streaming messages of the aforementioned target live streaming room is: The method involves obtaining an event identifier in a live streaming message of the target live streaming room in real time, wherein the event identifier includes a first field representing the live streaming type corresponding to the live streaming video, and a second field characterizing the live streaming event based on the live streaming type. This includes determining the corresponding target component based on the event identifier, A component triggering method for live streaming according to claim 1.
3. Further including receiving live streaming room messages from the target live streaming room, The aforementioned live streaming room message is used to characterize the number of times the second interaction function was triggered within the target live streaming room. Determining the corresponding target component based on the live streaming messages of the aforementioned target live streaming room is: This includes determining the corresponding target component based on the live streaming messages and live streaming room messages of the aforementioned target live streaming room, A component triggering method for live streaming according to claim 1.
4. The component trigger method for a live stream according to claim 2, further comprising determining a trigger timing for triggering the target component within the live stream page of the target live stream room, based on the live stream room message of the target live stream room.
5. The component triggering method for live streaming according to claim 1, wherein the first interaction function further includes a resource transfer function for transferring virtual resources to a target user.
6. If the first interaction function includes a resource transfer function, then executing the corresponding first interaction function in response to a trigger operation on the target component is: This includes transferring virtual resources to the target user in response to a trigger from the target user on the target component, The component triggering method for live streaming according to claim 5.
7. Determining the corresponding target visual effect based on the first cumulative count is: The first cumulative count is sent to the server side, and a second cumulative count is obtained as feedback from the server side, wherein the second cumulative count is the cumulative number of trigger instructions for the target component entered by a user in the target live streaming room over a second time period. The process includes determining a corresponding target visual effect based on the second cumulative count, A component triggering method for live streaming according to claim 1.
8. A receiving module for receiving live streaming messages from a target live streaming room, wherein the live streaming messages characterize live streaming events occurring in live streaming video distributed in the live streaming room, and the receiving module... A display module for determining a corresponding target component based on a live streaming message in the target live streaming room, and for triggering the target component within the live streaming room page of the target live streaming room, wherein the target component is used to implement a first interaction function for target live streaming events occurring in the live streaming video delivered in the target live streaming room, The display module, when triggering the target component within the live streaming room page of the target live streaming room, It is configured to display the target component and to execute a corresponding first interaction function in response to a trigger operation on the target component. The first interaction function includes an effects function for displaying visual effects on the live streaming room page. If the first interaction function includes an effect function, the display module, in response to a trigger operation on the target component, executes the corresponding first interaction function. Obtaining a first cumulative count, wherein the first cumulative count is the cumulative number of times a trigger instruction has been received for the target component during the display phase of the target component. The system is configured to determine a corresponding target visual effect based on the first cumulative count and to display the target visual effect on the live streaming room page. The display module, when determining a corresponding target visual effect based on the first cumulative count, The method involves obtaining a predetermined visual effect library, wherein the visual effect library includes at least two visual effect options arranged in an orderly manner, and the visual color tone of each of the visual effect options changes continuously according to the effect library index of each of the visual effect options. The target effect library index is determined based on the first cumulative count and the total number of visual effect options in the visual effect library, wherein the target effect library index is the remainder when the first cumulative count is divided by the total number. The system is configured to determine a corresponding target visual effect from the visual effect library based on the target effect library index, A component trigger device for live streaming.
9. The system comprises a processor and a memory that is communicably connected to the processor, The aforementioned memory stores computer execution instructions, The processor executes computer execution instructions stored in the memory to realize the component triggering method for live streaming according to any one of claims 1 to 7. electronic equipment.
10. A computer-readable storage medium that stores computer execution instructions and, when the computer execution instructions are executed by a processor, realizes a component trigger method for live streaming according to any one of claims 1 to 7.
11. A computer program, when executed by a processor, that implements a component triggering method for live streaming according to any one of claims 1 to 7.
Citation Information
Patent Citations
Interaction method, device and system in video live broadcasting
CN109660853A
Live broadcast match interaction method, electronic equipment, storage medium and system
CN110505521A
Live broadcast service control method and device, computer readable medium and electronic equipment
CN111147887A
Audio interaction method and device in live streaming, computer equipment and storage medium
CN113453030A
Video playing method, terminal, device, electronic equipment, medium and program product
CN115022701A