A live broadcast room interaction service processing method and device
By using a strategy of grouping live stream activities and handling timeout results with timers, the problem of instability in multi-live stream interactive business processing was solved, resulting in improved stability and reliability, and optimized user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BIGO TECH PTE LTD
- Filing Date
- 2022-03-23
- Publication Date
- 2026-07-03
Smart Images

Figure CN114721851B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method and apparatus for processing interactive business in a live streaming room. Background Technology
[0002] Currently, with the widespread use of live streaming applications, interactive activities for live streaming users are becoming increasingly diverse. For example, to enhance the entertainment value of live streams, competitive PK events are held between live stream rooms. Through interactive activities between live stream rooms, and by setting corresponding rewards, the enthusiasm of live streamers can be increased, while viewers' interest can be enhanced, thus strengthening user stickiness on the live streaming platform.
[0003] However, traditional live streaming interaction processing solutions are mainly designed for interactions between a small number of live streaming users (such as interactions between two live streaming rooms). For multi-live streaming interaction scenarios that involve all users across the entire live streaming platform, when there are a large number of concurrent interaction requests during an event period, traditional live streaming interaction processing solutions lack stable interaction processing mechanisms and architectures. This makes it difficult to maintain the stability of processing a large number of interaction requests, which can easily lead to interaction request failures and affect the user's live streaming interaction experience. Summary of the Invention
[0004] This application provides a method and apparatus for processing interactive services in live streaming rooms, which can improve the stability and reliability of interactive service processing in live streaming rooms and solve the technical problem of unstable processing of a large number of interactive services in multi-live streaming interactive activity scenarios.
[0005] In a first aspect, embodiments of this application provide a method for processing interactive services in a live streaming room, including:
[0006] Obtain the event registration requests from each live streaming client, and load the corresponding user data for the live streaming client based on the event registration requests;
[0007] Based on user data, determine the activity groups for each live streaming client, and start interactive activities in the live streaming room based on the activity groups;
[0008] The system collects the interactive business processing results of each activity group in the live broadcast room based on a pre-built timer, and processes the next round of group business based on the interactive business processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive business processing result is received and timed out.
[0009] In a second aspect, embodiments of this application provide a live streaming interactive service processing device, including: an activity control layer, an activity service layer, and a basic component layer;
[0010] The overall event control layer is configured to obtain event registration requests from each live streaming client, load the corresponding user data of the live streaming client based on the event registration requests, determine the event group for each live streaming client based on the user data, start interactive events in the live streaming room based on the event group, collect the interactive business processing results of each event group in the live streaming room interactive events from the event business layer based on the pre-built timer, and process the next round of group business based on the interactive business processing results. The timer is configured to execute a pre-set fallback strategy if the corresponding interactive business processing result is received and times out.
[0011] The activity business layer integrates activity processors for different interactive businesses. The activity processors are configured to process the corresponding interactive businesses of each activity group in the live broadcast interactive activities, generate interactive business processing results, and report the interactive business processing results to the activity master control layer.
[0012] The basic component layer is configured to forward the interactive business processing results generated by the activity business layer to the corresponding live streaming client.
[0013] In a third aspect, embodiments of this application provide a live-streaming room interaction processing device, comprising:
[0014] The acquisition module is configured to acquire event registration requests from various live streaming clients and load the corresponding user data for each live streaming client based on the event registration requests.
[0015] The grouping module is configured to determine the activity groups for each live streaming client based on user data, and to start interactive activities in the live streaming room based on the activity groups.
[0016] The collection module is configured to collect the interactive business processing results of each activity group in the live broadcast interactive activity based on a pre-built timer, and process the next round of group business based on the interactive business processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive business processing result is received and timed out.
[0017] In a fourth aspect, embodiments of this application provide a live streaming interactive service processing device, comprising:
[0018] Memory and one or more processors;
[0019] The memory is configured to store one or more programs;
[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the live streaming interactive service processing method as described in the first aspect.
[0021] In a fifth aspect, embodiments of this application provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are configured to perform the live-streaming interactive service processing method as described in the first aspect.
[0022] This application embodiment obtains activity registration requests from various live streaming clients and loads the corresponding user data for each client based on these requests. Then, it determines activity groups for each live streaming client based on the user data and initiates interactive activities in the live streaming room based on these groups. Furthermore, it collects the interactive service processing results of each activity group during the live streaming interactive activities based on a pre-built timer, and processes the next round of group services based on these results. The timer is configured to execute a pre-set fallback strategy if the corresponding interactive service processing result times out. By employing the above technical means, conducting live streaming interactive activities through activity groups ensures the stability of live streaming interactive service processing. By handling timed-out interactive service processing results through timers, it improves the reliability of live streaming interactive service processing, optimizes the effect of live streaming interactive service processing, and enhances the user's live streaming interactive experience. Attached Figure Description
[0023] Figure 1 This is a flowchart of a live streaming interactive service processing method provided in an embodiment of this application;
[0024] Figure 2 This is a schematic diagram of the structure of a live streaming interactive service processing system and access layer provided in an embodiment of this application;
[0025] Figure 3 This is a flowchart illustrating interactive services based on activity grouping in an embodiment of this application;
[0026] Figure 4 This is a flowchart illustrating the process of collecting interactive event records in an embodiment of this application;
[0027] Figure 5 This is a flowchart of the live room interactive activity processing device in the embodiments of this application;
[0028] Figure 6 This is a schematic diagram of the structure of a live streaming interactive service processing device provided in the embodiments of this application;
[0029] Figure 7 This is a schematic diagram of the structure of a live streaming interactive service processing device provided in the embodiments of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely configured to explain this application and not to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0031] The live streaming interactive service processing method provided in this application aims to improve the stability and reliability of live streaming interactive service processing by grouping activities into groups and retrying to send notifications of failed interactive service processing results. Traditional live streaming interactive service processing solutions primarily target interactions between a small number of live streaming users (such as interactions between two live streaming rooms). However, to create a vibrant atmosphere across the entire live streaming platform, it is often necessary to conduct live streaming interactive activities for all live streaming users across the network. When a large number of live streaming users participate in interactive activities, it can lead to problems such as high request volumes, large data storage volumes, and complex service structures. Continuing to use the original interactive service processing solution for a small number of live streaming users in this situation can result in unstable live streaming interactive service processing and even service processing failures. Therefore, this application provides a live streaming interactive service processing method and apparatus to solve the technical problem of unstable large-scale interactive service processing in existing multi-live streaming interactive activity scenarios.
[0032] Example:
[0033] Figure 1 A flowchart of a live streaming interactive service processing method according to an embodiment of this application is provided. This method can be executed by a live streaming interactive service processing device, which can be implemented through software and / or hardware. The device can consist of two or more physical entities, or it can consist of a single physical entity. Generally, the device can be a server host or other processing equipment.
[0034] The following description uses the live streaming interactive service processing device as an example to illustrate the live streaming interactive service processing method. (Refer to...) Figure 1The specific methods for handling interactive business in this live streaming room include:
[0035] S110. Obtain the event registration requests from each live streaming client, and load the user data of the corresponding live streaming client based on the event registration requests.
[0036] In this embodiment of the application, to handle the large volume of interactive transactions generated by live streaming clients across the entire network during live streaming interactive service processing, a live streaming interactive service processing device is used, and live streaming interactive activities are conducted in groups of live streaming clients. This live streaming interactive service processing device relies on a live streaming interactive service processing system to execute interactive service processing methods. Through interaction between this device and the access layer and relevant modules in the system, functions such as grouping, result notification, settlement, and reward distribution of live streaming interactive activities are realized, thereby achieving stable and reliable live streaming interactive service processing.
[0037] Among them, reference Figure 2 This application provides a schematic diagram of the structure of a live streaming interactive service processing system and its access layer according to an embodiment of the present application. The live streaming interactive service processing system includes: an activity control layer, an activity service layer, and a basic component layer. The activity control layer is configured to: acquire activity registration requests from various live streaming clients; load user data for the corresponding live streaming clients based on the activity registration requests; determine activity groups for each live streaming client based on the user data; initiate live streaming interactive activities based on the activity groups; collect interactive service processing results for each activity group in the live streaming interactive activities from the activity service layer based on a pre-built timer; process the next round of group services based on the interactive service processing results; the timer is configured to execute a pre-set fallback strategy if the corresponding interactive service processing result reception times out; the activity service layer integrates activity processors for different interactive services; the activity processors are configured to process the corresponding interactive services of each activity group in the live streaming interactive activities, generate interactive service processing results, and report the interactive service processing results to the activity control layer; the basic component layer is configured to forward the interactive service processing results generated by the activity service layer to the corresponding live streaming clients.
[0038] Specifically, the access layer is configured to provide relevant data for live interactive activities. This includes client requests and events from the interactive event message queue. The overall activity control layer is the live interactive service processing device that executes the live interactive service processing method of this application embodiment. It is configured to control the start, end, progression, and event subscription of the entire live interactive activity. Specifically, the grouper is configured to group live clients, the subscriber is configured to subscribe to interactive events of live clients, the retry device is configured to handle failed control signaling, such as interactive service processing results and grouping information, and the timer is configured to periodically receive interactive service processing results. As the core control layer of the entire activity, the overall activity control layer can achieve overall system fault tolerance and stability through timers and retry devices. The various components of the overall activity control layer are decoupled from each other, allowing for more flexible configuration of activity service processing strategies and adaptation to the processing needs of different services.
[0039] The activity business layer is configured to handle various interactive activities in the live streaming room. It provides a notification interface to the upper-level activity control layer. Once the activity control layer notifies the start of an activity, it begins processing each interactive activity and reports the processing results to the activity control layer. The activity control layer then uses these results to process the grouping for the next round of interactive activities. For example, it might group live streaming clients that advanced from the previous round of interactive activities into groups for the next round, until the entire live streaming interactive activity is completed. The logic of the activity business layer can be customized by the business side, enabling customizability of global interactive business processing. Depending on the actual interactive business to be processed, the activity business layer can set corresponding activity processors to handle the appropriate type of interactive business. The activity processors in the activity business layer are decoupled from each other, allowing for quick customization of business processing strategies or addition of components, reducing the development cost when integrating new interactive businesses into live streaming interactive activities. The basic component layer includes a notification module and a reward distribution platform, used to execute the notification of interactive business processing results from the activity control layer and the distribution of rewards after the activity ends.
[0040] Furthermore, the various layers in the live streaming interactive service processing system are decoupled from each other. The activity service layer only needs to report the interactive service processing results to the overall activity control layer without needing to consider the upper-layer logic. When the overall activity control layer fails to receive the interactive service processing results or fails to send control signaling, it can also execute corresponding fallback strategies through timers and retryers to ensure the stability and reliability of the system's interactive service processing.
[0041] Based on this live streaming interactive service processing system, when launching an interactive event for all live streaming rooms across the network, the system obtains event registration requests uploaded by each live streaming client through client interaction between the event control layer and the access layer. To address the issue of grouping live streaming clients based on their registration for the current interactive event, this embodiment preloads user data to delay the grouping calculation, thereby enabling the grouping results to be calculated quickly and reducing the waiting time for users when launching a live streaming interactive event.
[0042] It is understandable that for interactive activities in live streams targeting the entire network, performing grouping operations on the live stream client after the registration period ends and the interactive activities begin would prolong the waiting time for users to participate. Therefore, this embodiment of the application optimizes the user's interactive experience by preloading user data to group the live stream client in advance based on the user data.
[0043] S120. Determine the activity groups for each live streaming client based on user data, and start interactive activities in the live streaming room based on the activity groups.
[0044] Furthermore, after obtaining the corresponding user data based on the registered live stream clients, this embodiment of the application groups the clients according to the user data. The user data includes the live stream client's level information, activity level information, and region information. (Refer to...) Figure 3 The activity grouping process for each live streaming client is determined based on user data, including:
[0045] S1201. Divide the activity groups of each live streaming client according to the set number of people in each group, as well as the level information, activity information, and region information of the live streaming client;
[0046] S1202. For activity groups with fewer than the set number of participants, use the activity skipping strategy or the activity round reduction strategy to perform interactive services.
[0047] Specifically, when grouping live streaming clients, the overall activity control layer of the live streaming interactive service processing system executes the activity grouping operation through a grouper. The grouper first determines the number of clients in each group according to the set group size. Then, based on this set group size, and combined with the level information, activity information, and region information of each live streaming client, it performs activity grouping. This embodiment does not impose fixed restrictions on the specific grouping strategy; according to actual grouping needs, live streaming clients with the same or adjacent region information can be grouped into the same group. This facilitates centralized processing of interactive services within the same region, avoids significant interaction delays caused by cross-regional services, and improves the efficiency of interactive service processing.
[0048] Furthermore, for live streaming clients within the same group, their level and activity levels must be identical or similar to ensure that the live streaming clients within the same group are of similar strength. This avoids negative impacts on the user's interactive experience due to differences in level and activity levels. In actual grouping scenarios, relevant user data can be adaptively obtained based on the specific grouping needs of the interactive activity, and appropriate grouping strategies can be selected for grouping. This application embodiment does not impose fixed limitations on specific grouping strategies, which will not be elaborated upon here.
[0049] By adopting centralized grouping and preloading user data during registration as the grouping basis, the time spent on user grouping can be reduced, while ensuring the accuracy of grouping. Furthermore, grouping for event processing can avoid processing errors that are prone to occur in scenarios with a large number of interactive transactions, thus ensuring the stability of interactive business processing.
[0050] It should be noted that in actual event grouping scenarios, the number of live streaming clients remaining in each group may not reach the number of clients set for the group's size. For these remaining clients, a strategy of either skipping rounds or reducing the number of rounds can be used to execute interactive services. For example, in this event group, two clients can be paired up for competitive interaction, and the winners can then continue the competition until a certain number of live streaming clients advance. Since there are relatively few live streaming clients in this group, the number of rounds of paired competitive interaction can be reduced, or a random, fixed rule can be used to select live streaming clients to skip a round of paired competitive interaction and directly enter the next round. This ensures a good interactive experience for the live streaming clients in this event group.
[0051] S130. Collect the interactive service processing results of each activity group in the live room interactive activity based on the pre-built timer, and process the group service in the next round based on the interactive service processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive service processing result is received and timed out.
[0052] Subsequently, based on the aforementioned activity groups, during live stream interactive activities, the activity business layer of the live stream interactive business processing system handles the interactive business of each activity group. After each activity processor in the activity business layer completes its corresponding interactive business, it reports the activity processing results to the overall activity control layer. The activity business layer also notifies the corresponding live stream clients of the activity processing results through the notification module of the basic component layer. For example, if the activity business layer processes a competitive interactive business between two live stream clients and generates an activity processing result, including the advancing and eliminated sides in this round of competitive interaction, then the activity business layer sends the activity processing result to the corresponding live stream client through the notification module of the basic component layer to notify the corresponding user of the result of this round of competitive interaction. This interactive business processing result is then reported to the overall activity control layer so that the overall activity control layer can execute the next round of activity control procedures based on the live stream clients that have advanced in the current interactive activity. This could include regrouping the advancing live stream clients or enabling interactive activity notifications.
[0053] Furthermore, in this embodiment of the application, when collecting the interaction processing results of each activity group in the live broadcast interactive activity, a pre-built timer is also used to collect the interaction processing results. After the live broadcast interactive activity is started, the timer will listen for the interaction processing results of each activity group based on a set waiting time. If no interaction processing result of the corresponding activity group is received within the set waiting time, a pre-set fallback strategy will be executed. This fallback strategy may be to ignore the listening for the timed-out activity group results, or to continuously request and obtain the results of this part of the activity group within a set time period, or to let the corresponding activity group skip and directly advance to the next round, etc.
[0054] A timer is activated in the overall activity control layer to handle situations where the activity business layer fails to report interactive business processing results. The timer's function is to ignore the timed-out results of each activity group if no interactive business processing results are received from each group after a specified waiting time. This ensures a smooth activity experience for most users and prevents a single business from impacting the overall stability of the live interactive activity.
[0055] Optionally, to improve the stability and success rate of control signaling notifications from the overall activity control layer, the overall activity control layer will retransmit failed control signaling through a retry mechanism. The retry mechanism processes failed control signaling based on a retry queue. It places failed control signaling into the retry queue based on a set delay time, and sequentially retrieves and retransmits failed control signaling from the retry queue. For example, when sending packet information to the corresponding client fails, the retry logic of the retry mechanism is executed to ensure the stability of packet information delivery.
[0056] In this embodiment, when handling signaling loss from the overall activity control layer to downstream clients, a continuous retry approach is used. When a control signaling notification is lost, the overall activity control layer temporarily stores the control signaling in a database using a retry mechanism and creates a corresponding retry task, adding it to a retry queue with a random or fixed delay. Based on this retry queue, failed control signaling is sequentially retrieved and resent to the corresponding live streaming clients. This avoids a sudden surge in system load when a large number of control signaling failures occur simultaneously. Optionally, for control signaling that still fails to retry, the above process can be repeated until the retry succeeds or the activity ends, thereby ensuring the stability and reliability of the control signaling notification.
[0057] Optionally, in processing live stream interaction services, this embodiment of the application also collects and records interaction events from each live stream through the overall activity control layer. (Referring to...) Figure 4 The process for collecting live stream interaction event records includes:
[0058] S1401. Subscribe to the interactive event message queue. The interactive event message queue is configured to collect interactive event records from each live streaming client after the live streaming interactive activity is started.
[0059] S1402. Receive interactive event records and store the interactive event records to the database for each corresponding live streaming client.
[0060] An event message queue is built at the access layer to collect interactive events from various live streaming rooms. These events can include virtual gift sending, live chat messages, and the number of viewers. Depending on the specific scenario, appropriate interactive events can be selected for recording. Correspondingly, the subscriber in the overall activity control layer subscribes to this event message queue to collect these interactive event records. These records are then stored in a database. Based on these records, relevant interactive information from each live streaming client can be analyzed and determined, serving as a basis for statistical analysis and reward distribution.
[0061] Based on this interaction event record, the overall event control layer calculates and distributes activity rewards to each live streaming client when the live streaming interactive activity ends, according to the interaction event record. During the activity settlement phase after the live streaming interactive activity concludes, the overall event control layer extracts the interaction event record to determine the relevant interaction information of each live streaming client, and then uses this as the basis for calculating and distributing activity rewards. For example, by counting the number of virtual gifts received by each live streaming client, a set percentage of the virtual gift value is used as the reward during the activity reward settlement and distribution, and the reward is distributed to the corresponding live streaming client. This aims to enhance the fun of audience participation in interactive activities and optimize the audience experience.
[0062] For example, refer to Figure 5 Steps 1-11 are provided as follows: When launching an interactive event for all live streaming clients in the entire live streaming room, the overall event control layer receives registration requests from live streaming clients within a fixed registration period. After user registration, user data is pre-loaded as the grouping basis, and a registration success notification is returned to the live streaming client. Before launching the live interactive event, users are first grouped according to the user data, and then each live streaming client is notified to launch the live interactive event. During the live interactive event, the overall event control layer records event data in real time, obtains the interaction business processing results from the event business layer, and processes the next round of grouping based on the interaction business processing results until the entire live interactive event is completed. The event business layer synchronously notifies the live streaming clients of the interaction business processing results. Timers and retry mechanisms ensure the stability of event notification result collection and control signaling notifications. Interaction events from each live streaming client are subscribed to for subsequent event reward settlement. After the live interactive event ends, the overall event control layer unsubscribes from the message queue. During the settlement phase, rewards for each live streaming client are calculated based on the interaction event records, thus completing the entire live interactive business processing flow.
[0063] The above describes a process where activity registration requests from various live streaming clients are obtained, and user data for each client is loaded based on these requests. Then, activity groups for each client are determined based on the user data, and interactive activities are initiated within these groups. Furthermore, a pre-built timer collects the interaction processing results for each activity group within the live streaming interactive activities, and the next round of group activities is processed based on these results. The timer is configured to execute a pre-defined fallback strategy if the corresponding interaction processing result times out. By employing these techniques and conducting live streaming interactive activities through activity groups, the stability of live streaming interactive business processing can be ensured. The timer also improves the reliability of live streaming interactive business processing by handling timed-out interaction processing results, optimizes the effectiveness of live streaming interactive business processing, and enhances the user's live streaming interactive experience.
[0064] Based on the above embodiments, Figure 6 A schematic diagram of a live streaming interactive service processing device provided in this application. (Reference) Figure 6 The live streaming interactive service processing device provided in this embodiment specifically includes: an acquisition module 21, a grouping module 22, and a collection module 23.
[0065] Module 21 is configured to retrieve activity registration requests from each live streaming client and load the corresponding user data for the live streaming client based on the activity registration requests.
[0066] Grouping module 22 is configured to determine the activity groups of each live streaming client based on user data, and to start interactive activities in the live streaming room based on the activity groups;
[0067] The collection module 23 is configured to collect the interactive business processing results of each activity group in the live room interactive activity based on a pre-built timer, and process the next round of group business based on the interactive business processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive business processing result is received and timed out.
[0068] Specifically, the grouping module 22 divides the live streaming clients into activity groups according to the set number of participants, the client's level information, activity level information, and region information; for activity groups with fewer participants than the set number, an activity skipping strategy or a strategy to reduce the number of activity rounds is used to perform interactive services. The user data includes the live streaming client's level information, activity level information, and region information.
[0069] Specifically, after the live broadcast interactive activity is started, the collection module 23 listens to the interactive business processing results of each activity group through a timer based on a set waiting time, and ignores the results of the activity group that have timed out.
[0070] Specifically, the collection module 23 also places the failed control signaling into the retry queue based on a set delay time, and sequentially extracts the failed control signaling from the retry queue and retransmits it.
[0071] Furthermore, the live streaming interactive service processing device provided in this embodiment is also configured to subscribe to an interactive event message queue. This message queue is configured to collect interactive event records from each live streaming client after the live streaming interactive activity is started; upon receiving the interactive event records, each live streaming client stores the records in a database. And, upon ending the live streaming interactive activity, the activity rewards for each live streaming client are calculated and distributed based on the interactive event records.
[0072] The above describes a process where activity registration requests from various live streaming clients are obtained, and user data for each client is loaded based on these requests. Then, activity groups for each client are determined based on the user data, and interactive activities are initiated within these groups. Furthermore, a pre-built timer collects the interaction processing results for each activity group within the live streaming interactive activities, and the next round of group activities is processed based on these results. The timer is configured to execute a pre-defined fallback strategy if the corresponding interaction processing result times out. By employing these techniques and conducting live streaming interactive activities through activity groups, the stability of live streaming interactive business processing can be ensured. The timer also improves the reliability of live streaming interactive business processing by handling timed-out interaction processing results, optimizes the effectiveness of live streaming interactive business processing, and enhances the user's live streaming interactive experience.
[0073] The live streaming interactive service processing device provided in this application embodiment can be configured to execute the live streaming interactive service processing method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0074] Based on the above practical examples, this application also provides a live streaming interactive service processing device, referring to... Figure 7 The live streaming interactive service processing device includes a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The memory, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the live streaming interactive service processing method described in any embodiment of this application (e.g., the acquisition module, grouping module, and collection module in the live streaming interactive service processing device). The communication module is configured to perform data transmission. The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory, thereby implementing the aforementioned live streaming interactive service processing method. The input device 34 can be configured to receive input digital or character information and generate key signal inputs related to user settings and function control of the device. The output device 35 may include a display screen or other display device. The live streaming interactive service processing device provided above can be configured to execute the live streaming interactive service processing method provided in the above embodiments, possessing corresponding functions and beneficial effects.
[0075] Based on the above embodiments, this application also provides a storage medium containing computer-executable instructions. When executed by a computer processor, these computer-executable instructions are configured to perform a live-stream interactive service processing method. The storage medium can be any type of memory device or storage device. Of course, the computer-executable instructions provided in this application are not limited to the live-stream interactive service processing method described above; they can also execute related operations within the live-stream interactive service processing method provided in any embodiment of this application.
Claims
1. A method for processing interactive services in a live streaming room, characterized in that, include: Obtain the event registration requests from each live streaming client, and load the corresponding user data of the live streaming client based on the event registration requests; Based on the user data, determine the activity groups for each of the live streaming clients, and initiate interactive activities in the live streaming room based on the activity groups; The system collects the interaction processing results of each activity group in the live broadcast interactive activity based on a pre-built timer, and processes the next round of group services based on the interaction processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interaction processing result reception times out. The interaction processing results include advancement and elimination. Processing the next round of group services based on the interaction processing results includes: performing the next round of group services according to the live broadcast clients that advanced in the previous round of interaction processing results, until the end of the live broadcast activity. Executing the pre-set fallback strategy includes: monitoring the interaction processing results of each activity group through the timer based on a set waiting time, and giving the activity group corresponding to the result of the activity group whose monitoring timed out an empty advancement round.
2. The live streaming interactive service processing method according to claim 1, characterized in that, The user data includes the live streaming client's level information, activity level information, and region information.
3. The live streaming interactive service processing method according to claim 2, characterized in that, Based on the user data, the activity groups of each of the live streaming clients are determined, including: The activity groups of each live streaming client are divided according to the set number of people in each group, as well as the level information, activity information, and region information of the live streaming client. For activity groups with fewer than the set number of participants, an activity skipping strategy or a strategy to reduce the number of activity rounds is used to perform interactive services.
4. The live streaming interactive service processing method according to claim 1, characterized in that, Also includes: Based on a set delay time, control signaling that fails to be transmitted is placed in a retry queue, and the failed control signaling is extracted from the retry queue and retransmitted in sequence.
5. The live streaming interactive service processing method according to claim 1, characterized in that, After initiating interactive activities in the live stream based on the aforementioned activity groups, the process also includes: Subscribe to an interactive event message queue, which is configured to collect interactive event records from each of the live streaming clients after the live streaming interactive activity is started. The interactive event records are received, and each of the live streaming clients stores the interactive event records in the database.
6. The live streaming interactive service processing method according to claim 5, characterized in that, After each of the aforementioned live streaming clients stores the interactive event records to the database, the process further includes: When the live stream interaction activity ends, the activity rewards for each of the live stream clients are calculated and distributed based on the interaction event records.
7. A live streaming interactive business processing system, characterized in that, include: The event consists of a central control layer, an event business layer, and a basic component layer. The overall event control layer is configured to obtain event registration requests from each live streaming client and load the corresponding user data of the live streaming client based on the event registration requests. Based on the user data, determine the activity groups for each of the live streaming clients, and initiate interactive activities in the live streaming room based on the activity groups; Based on a pre-built timer, the interactive service processing results of each activity group in the live broadcast interactive activity are collected from the activity service layer, and the next round of group services are processed based on the interactive service processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive service processing result is received and timed out. The interactive service processing results include advancement and elimination. The activity control layer is specifically configured to: perform the next round of group services based on the live broadcast clients that have advanced in the previous round of interactive service processing results, until the end of the live broadcast activity; and monitor the interactive service processing results of each activity group based on a set waiting time using the timer, and give the activity group corresponding to the result of the activity group whose monitoring timed out an empty advancement. The activity service layer integrates activity processors for different interactive services. The activity processors are configured to process the corresponding interactive services of each activity group in the live broadcast interactive activities, generate the interactive service processing results, and report the interactive service processing results to the activity master control layer. The basic component layer is configured to forward the interactive service processing results generated by the activity service layer to the corresponding live streaming client.
8. A device for processing interactive business in a live broadcast room, characterized in that, include: The acquisition module is configured to acquire activity registration requests from each live streaming client and load the corresponding user data of the live streaming client based on the activity registration requests. The grouping module is configured to determine the activity group of each of the live streaming clients based on the user data, and to start interactive activities in the live streaming room based on the activity group. The collection module is configured to collect the interactive service processing results of each activity group in the live broadcast interactive activity based on a pre-built timer, and process the next round of group services based on the interactive service processing results. The timer is configured to execute a pre-set fallback strategy when the corresponding interactive service processing result is received and timed out. The interactive service processing results include advancement and elimination. The collection module is specifically configured to: perform the next round of group services based on the live broadcast clients that have advanced in the previous round of interactive service processing results, until the live broadcast activity ends. Furthermore, the timer monitors the interactive service processing results of each activity group based on a set waiting time, and the activity group corresponding to the result of the activity group whose monitoring timed out is given a round-robin promotion.
9. A live streaming interactive service processing device, characterized in that, include: Memory and one or more processors; The memory is configured to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the live streaming interactive service processing method as described in any one of claims 1-6.
10. A storage medium containing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are configured to perform the live streaming interactive service processing method as described in any one of claims 1-6.