Live broadcast room interactive synchronization processing method, device, system, equipment and storage medium

Through the live broadcast room interactive server, the terminal renders the perspective interface, which solves the problem of poor synchronization of interactive pictures in the existing technology, realizes synchronization and differentiated display of interactive pictures in each end in the live broadcast room, and improves the Interactive experience.

CN115396686BActive Publication Date: 2024-11-26GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202211025262.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2024-11-26
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

The existing live broadcast room interactive synchronization technology cannot meet the differentiated display needs of interactive pictures between different participants and audiences, resulting in poor interactive experience.

Method used

The basic data and interactive status information are pushed through the live broadcast room interactive server. The terminal renders the perspective-based interactive interface based on these data, and broadcasts the status information at the interaction process nodes to realize synchronization and differentiated display of the interfaces of each terminal.

Benefits of technology

It realizes synchronization of interactive pictures of each end in the live broadcast room, meets the differentiated display needs of each end, and improves the interactive experience of the live broadcast room.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396686B_ABST
    Figure CN115396686B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of network live broadcast, and provides a method, device, system, equipment and storage medium for synchronous processing of live broadcast room interaction. The present application can achieve the effect of synchronizing the interactive screens of each end in the live broadcast room and satisfying the differentiated display requirements of each end. The method includes: receiving the basic interactive data of the live broadcast room pushed by the interactive server of the live broadcast room, rendering the interactive interface of the live broadcast room from the perspective of the local end according to the basic interactive data of the live broadcast room, receiving the interactive status information broadcasted by the interactive server of the live broadcast room at the interactive process node, the interactive status information is broadcasted by the interactive server of the live broadcast room to each end of the live broadcast room when the interactive process node is reached, or broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node, and rendering the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of network live broadcasting, and in particular to a method, device, system, electronic device and computer-readable storage medium for interactive synchronization processing in a live broadcast room. Background Art

[0002] With the development of online live broadcast technology, some applications provide live broadcast functions, and further realize the function of live broadcast room interaction for multiple users such as anchors and viewers to participate, including but not limited to various small games in the live broadcast room.

[0003] In the implementation of live broadcast room interaction, it is necessary to synchronize the interactive screens of each end in the live broadcast room, that is, to synchronize the interactive screens to each end in the live broadcast room. In this regard, the solution provided by the current technology is mainly that the server prints the interactive screen frame into the video frame, and the audience end plays the video frame containing the interactive screen so that the audience can see the real-time interactive screen. However, the current interactive synchronization method cannot meet the needs of differentiated display of interactive screens at various ends of the live broadcast room, such as different interactive participating ends and audience ends. Summary of the invention

[0004] Based on this, it is necessary to provide a live broadcast room interactive synchronization processing method, device, system, electronic device and computer-readable storage medium to address the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a method for synchronously processing interactive broadcast rooms. Applied to a terminal. The method comprises:

[0006] Receive basic live broadcast room interaction data pushed by the live broadcast room interaction server;

[0007] Rendering the live broadcast room interaction interface from the perspective of the local end according to the live broadcast room interaction basic data;

[0008] Receiving the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node; the interactive status information is broadcasted by the live broadcast room interactive server to each end of the live broadcast room when the interactive process node is reached, or is broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node;

[0009] The live broadcast room interactive interface is rendered according to the interactive status information so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface.

[0010] In one embodiment, the interactive status information includes first interactive status information; the receiving of the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node includes: receiving the first interactive status information broadcasted by the live broadcast room interactive server when reaching the first interactive process node; the rendering of the live broadcast room interactive interface according to the interactive status information so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface, including: determining whether the trigger end identifier carried in the first interactive status information is consistent with the local end identifier; when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, rendering the live broadcast room interactive interface according to the first interactive status information so that the interactive screen for indicating waiting for the local end to trigger the interactive operation is presented in the live broadcast room interactive interface; when the local end identifier is inconsistent with the trigger end identifier carried in the first interactive status information, rendering the live broadcast room interactive interface according to the first interactive status information so that the interactive screen for indicating waiting for the other end to trigger the interactive operation is presented in the live broadcast room interactive interface.

[0011] In one embodiment, the interactive status information includes second interactive status information; the receiving of the interactive status information broadcast by the live broadcast room interactive server at the interactive process node includes: receiving the second interactive status information broadcast by the live broadcast room interactive server at the second interactive process node; wherein the second interactive status information is obtained by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end in the interactive participating end at the second interactive process node; the rendering of the live broadcast room interactive interface according to the interactive status information so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface, also includes: rendering the live broadcast room interactive interface according to the second interactive status information so that the interactive screen used to represent the interactive operation result of the triggering end at the second interactive process node is presented in the live broadcast room interactive interface.

[0012] In one embodiment, the interactive status information includes third interactive status information; the receiving of the interactive status information broadcast by the live broadcast room interactive server at the interactive process node also includes: receiving the third interactive status information broadcast by the live broadcast room interactive server at the third interactive process node; wherein the third interactive status information is obtained by the live broadcast room interactive server according to the interactive operation information triggered by the trigger end at the third interactive process node and the interactive operation result at the second interactive process node; the rendering of the live broadcast room interactive interface according to the interactive status information so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface also includes: rendering the live broadcast room interactive interface according to the third interactive status information so that the interactive screen used to represent the interactive operation result of the trigger end at the third interactive process node is presented in the live broadcast room interactive interface.

[0013] In one of the embodiments, the method also includes: receiving abnormal identification information broadcast by the live broadcast room interaction server when the interactive participant end is in an abnormal interactive state; rendering the live broadcast room interaction interface according to the abnormal identification information to identify in the live broadcast room interaction interface that the interactive participant end is in an abnormal interactive state; receiving normal identification information broadcast by the live broadcast room interaction server when the interactive participant end restores a normal interactive state; rendering the live broadcast room interaction interface according to the normal identification information to identify in the live broadcast room interaction interface that the interactive participant end is in a normal interactive state again.

[0014] In one of the embodiments, the method also includes: during the presentation of an interactive screen corresponding to an interactive process node, if the live broadcast room interactive application switches from the foreground to the background, the presentation of the interactive screen is suspended; if the application is restored from the background to the foreground, the live broadcast room interactive interface is rendered according to the interactive status information of the live broadcast room interactive server at the latest interactive process node and the time consumed in switching to the background, so that the live broadcast room interactive interface presents the interactive screen from the paused interactive screen to the latest interactive process node in a fast-forward manner.

[0015] In one of the embodiments, the method also includes: when it is detected that the live broadcast room is a live broadcast room with a target interactive template, sending a request for obtaining a live broadcast room interactive resource package to the live broadcast room interactive server; receiving an encrypted live broadcast room interactive resource package sent by the live broadcast room interactive server; decrypting the encrypted live broadcast room interactive resource package according to a preset secret key to obtain a live broadcast room interactive resource package; the live broadcast room interactive resource package is used to establish a communication connection for live broadcast room interaction with the live broadcast room interactive server after the live broadcast room interactive resource package is loaded in the live broadcast room.

[0016] In a second aspect, the present application provides a method for synchronously processing live broadcast room interactions. Applied to a live broadcast room interaction server. The method includes:

[0017] Pushing live broadcast room interaction basic data to each end of the live broadcast room, so that each end of the live broadcast room can render the live broadcast room interaction interface of its own perspective according to the live broadcast room interaction basic data;

[0018] The interactive status information is broadcast to each end of the live broadcast room when the interactive process node is reached, or the interactive status information is broadcast to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end in each end of the live broadcast room at the interactive process node; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0019] In a third aspect, the present application provides a live broadcast room interactive synchronization processing device. Applied to a terminal. The device includes:

[0020] A data receiving module is used to receive basic live broadcast room interaction data pushed by the live broadcast room interaction server;

[0021] A first rendering module, configured to render a live broadcast room interaction interface from the perspective of the local terminal according to the live broadcast room interaction basic data;

[0022] An information receiving module is used to receive the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node; the interactive status information is broadcasted by the live broadcast room interactive server to each end of the live broadcast room when the interactive process node is reached, or is broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node;

[0023] The second rendering module is used to render the live broadcast room interactive interface according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface.

[0024] In a fourth aspect, the present application provides a live broadcast room interactive synchronization processing device. Applied to a live broadcast room interactive server. The device includes:

[0025] A data sending module, used to push basic interactive data of the live broadcast room to each end of the live broadcast room, so that each end of the live broadcast room can render the interactive interface of the live broadcast room of its own perspective according to the basic interactive data of the live broadcast room;

[0026] An information sending module is used to broadcast interactive status information to each end of the live broadcast room when an interactive process node is reached, or to broadcast interactive status information to each end of the live broadcast room according to interactive operation information triggered by the interactive participating end at the interactive process node in each end of the live broadcast room; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0027] In a fifth aspect, the present application provides a live broadcast system. The system comprises: a live broadcast room interactive server and multiple terminals in the live broadcast room; wherein each of the multiple terminals is used to synchronize interactive screens with other terminals according to the method described above; and the live broadcast room interactive server is used to synchronize the interactive screens of the multiple terminals according to the method described above.

[0028] In a sixth aspect, the present application provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0029] Receive the basic interaction data of the live broadcast room pushed by the live broadcast room interaction server; render the live broadcast room interaction interface from the perspective of the local end according to the basic interaction data of the live broadcast room; receive the interaction status information broadcast by the live broadcast room interaction server at the interaction process node; the interaction status information is broadcast by the live broadcast room interaction server to each end of the live broadcast room when the interaction process node is reached, or is broadcast to each end of the live broadcast room according to the interaction operation information triggered by the interactive participating end at the interaction process node; render the live broadcast room interaction interface according to the interaction status information, so that the interaction screen corresponding to the interaction process node is presented in the live broadcast room interaction interface.

[0030] In a seventh aspect, the present application provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0031] Push the basic interactive data of the live broadcast room to each end of the live broadcast room, so that each end of the live broadcast room can render the interactive interface of the live broadcast room from its own perspective according to the basic interactive data of the live broadcast room; broadcast the interactive status information to each end of the live broadcast room when reaching the interactive process node, or broadcast the interactive status information to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end in each end of the live broadcast room at the interactive process node; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0032] In an eighth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0033] Receive the basic interaction data of the live broadcast room pushed by the live broadcast room interaction server; render the live broadcast room interaction interface from the perspective of the local end according to the basic interaction data of the live broadcast room; receive the interaction status information broadcast by the live broadcast room interaction server at the interaction process node; the interaction status information is broadcast by the live broadcast room interaction server to each end of the live broadcast room when the interaction process node is reached, or is broadcast to each end of the live broadcast room according to the interaction operation information triggered by the interactive participating end at the interaction process node; render the live broadcast room interaction interface according to the interaction status information, so that the interaction screen corresponding to the interaction process node is presented in the live broadcast room interaction interface.

[0034] In a ninth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0035] Push the basic interactive data of the live broadcast room to each end of the live broadcast room, so that each end of the live broadcast room can render the interactive interface of the live broadcast room from its own perspective according to the basic interactive data of the live broadcast room; broadcast the interactive status information to each end of the live broadcast room when reaching the interactive process node, or broadcast the interactive status information to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end in each end of the live broadcast room at the interactive process node; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0036] The above-mentioned live broadcast room interaction synchronization processing method, device, system, equipment and storage medium receive the live broadcast room interaction basic data pushed by the live broadcast room interaction server, render the live broadcast room interaction interface of the terminal perspective according to the live broadcast room interaction basic data, receive the interaction status information broadcast by the live broadcast room interaction server at the interaction process node, the interaction status information is broadcast by the live broadcast room interaction server to each terminal of the live broadcast room when the interaction process node is reached or broadcast to each terminal of the live broadcast room according to the interaction operation information triggered by the interactive participating terminal at the interaction process node, and render the live broadcast room interaction interface according to the interaction status information so that the interactive screen corresponding to the interaction process node is presented in the live broadcast room interaction interface. In this scheme, each terminal in the live broadcast room renders the live broadcast room interaction interface of its own perspective according to the live broadcast room interaction basic data pushed by the live broadcast room interaction server, and then receives the interaction status information broadcast by the live broadcast room interaction server at the interaction process node, and each terminal in the live broadcast room performs interface rendering according to the interaction status information to present the corresponding interactive screen, thereby, the live broadcast room interaction server can continuously broadcast the interaction status information, and each terminal can continuously perform interface rendering to present the corresponding interactive screen accordingly, which can achieve the effect of synchronization of the interactive screens of each terminal in the live broadcast room and meet the differentiated display requirements of each terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is an application scenario diagram of the live broadcast room interactive synchronization processing method in the embodiment of the present application;

[0038] Figure 2 This is a flow chart of a method for synchronously processing interactive broadcasts in an embodiment of the present application;

[0039] Figure 3 This is a flowchart of a live broadcast room interactive synchronization processing method in another embodiment of the present application;

[0040] Figure 4 This is a structural diagram of the live broadcast system in the embodiment of the present application;

[0041] Figure 5 This is a flowchart of the live broadcast room interactive synchronization processing method in the application example of this application;

[0042] Figure 6 This is a structural block diagram of a live broadcast room interactive synchronization processing device in an embodiment of the present application;

[0043] Figure 7 This is a structural block diagram of a live broadcast room interactive synchronization processing device in another embodiment of the present application;

[0044] Figure 8 This is a diagram of the internal structure of an electronic device in an embodiment of the present application;

[0045] Fig. 9 This is a diagram of the internal structure of an electronic device in another embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The live broadcast room interactive synchronization processing method provided in the embodiment of the present application can be applied to Figure 1 In the application scenario shown, the application scenario may include a terminal 110 and a live broadcast room interactive server 120. The terminal 110 may communicate with the live broadcast room interactive server 120 via a network. The terminal 110 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The live broadcast room interactive server 120 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0048] In one embodiment, Figure 2 As shown, a method for synchronous processing of live broadcast room interaction is provided, and the method is applied to Figure 1 The terminal 110 shown is used as an example for description, and the following steps are included:

[0049] Step S201, receiving the live broadcast room interaction basic data pushed by the live broadcast room interaction server.

[0050] In this step, the terminal 110 receives the basic data of the live broadcast room interaction pushed by the live broadcast room interaction server 120. Specifically, there are multiple terminals 110 entering the same live broadcast room. After the live broadcast room interaction components corresponding to the live broadcast room interaction in the live broadcast room are loaded and activated, these terminals 110 can establish a long connection channel of websocket with the live broadcast room interaction server 120 for the communication connection of the live broadcast room interaction, and start to send heartbeats to the live broadcast room interaction server 120 at a frequency of 1 second or 2 seconds. Among them, the live broadcast room interaction server 120 needs to establish a virtual room for each end in the live broadcast room (that is, each terminal 110 in the live broadcast room), so that the live broadcast room interaction server 120 can synchronize the relevant data and information of the live broadcast room interaction to each terminal 110 in the virtual room, and the channel number of this virtual room can be queried by the UID (User Identification) provided by each terminal 110. The channel number of the live broadcast service server 120 can be bound to the channel number of the live broadcast room. Then, after the live broadcast room interaction is initialized, the live broadcast room interaction server 120 will push the live broadcast room interaction basic data to all terminals 110 in the virtual room. Each terminal 110 receives the live broadcast room interaction basic data pushed by the live broadcast room interaction server 120. Taking the chess and card game in the live broadcast room mini-game as an example of live broadcast room interaction, the live broadcast room interaction basic data may include chessboard map data, each player's location data, etc.

[0051] Step S202, rendering the live broadcast room interaction interface from the perspective of the local end according to the basic data of the live broadcast room interaction.

[0052] In this step, after receiving the basic data of live room interaction pushed by the live room interaction server 120, the terminal 110 renders the live room interaction interface of the terminal's perspective according to the basic data of live room interaction. Among them, the live room interaction can be participated by several terminals 110 in the live room, and the several terminals 110 are recorded as interactive participating terminals, and the terminals 110 in the live room other than the interactive participating terminals are recorded as viewing terminals. Among them, each interactive participant end and audience end can have its own perspective. Taking the flying chess game of the board game in the live broadcast room mini-game as an example of live broadcast room interaction, it may include four interactive participant ends and multiple other audience ends. The four interactive participant ends can render the live broadcast room interaction interface of their own end perspective according to their respective operation directions combined with the basic data of the live broadcast room interaction, thereby realizing differentiated display of each end. For example, the interactive participant end of the red side can render the live broadcast room interaction interface with the red side's airport located in the lower left corner of the chessboard, and the interactive participant end of the green side can render the live broadcast room interaction interface with the green side's airport located in the lower left corner of the chessboard, and so on. Other audience ends can render the live broadcast room interaction interface of the perspective selected by the corresponding audience user (such as selecting the green side or red side perspective, etc.) combined with the basic data of the live broadcast room interaction. For the flying chess game scene, the live broadcast room interaction interface can present the initialized flying chess map, the player information of each party, the position of the players of each party on the chessboard, etc.

[0053] Step S203, receiving the interactive status information broadcast by the live broadcast room interactive server at the interactive process node.

[0054] In this step, the interactive state information refers to information used to instruct each end in the live broadcast room to render the interface accordingly. The live broadcast room interaction may include multiple interactive process nodes in sequence. The interactive state information represents the interactive state of the live broadcast room interaction at an interactive process node. The interactive state information may be broadcasted to each end of the live broadcast room by the live broadcast room interactive server 120 when reaching an interactive process node, or, broadcasted to each end of the live broadcast room by the live broadcast room interactive server 120 according to the interactive operation information triggered by the interactive participating end at an interactive process node. Specifically, the promotion method of the live broadcast room interaction on each interactive process node includes the promotion by the live broadcast room interactive server 120 and the promotion by the interactive participating end. For the former, the live broadcast room interactive server 120 may broadcast the interactive state information when an interactive process node is reached. For the latter, an interactive participating end may trigger interactive operation information (such as click) at an interactive process node and send it to the live broadcast room interactive server 120. The live broadcast room interactive server 120 broadcasts the corresponding interactive state information to each end of the live broadcast room according to the interactive operation information.

[0055] Step S204, rendering the live broadcast room interactive interface according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface.

[0056] In this step, after receiving the interactive status information of an interactive process node broadcasted by the live broadcast room interactive server 120, the terminal 110 renders the live broadcast room interactive interface according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface. Taking the flying chess game of the board game in the live broadcast room mini-game as an example of live broadcast room interaction, the interactive status information can be used to indicate the path information for moving the red side's No. 1 chess piece from point A to point B at the red side's chess move node. According to the interactive status information, the terminal 110 renders the live broadcast room interactive interface, so that the live broadcast room interactive interface presents the chess move screen of moving the red side's No. 1 chess piece from point A to point B. Thus, each end in the live broadcast room can render the live broadcast room interactive interface from the perspective of the end according to the interactive status information broadcasted by the live broadcast room interactive server 120 to present the corresponding interactive screen, so as to achieve the effect of synchronizing the interactive screens of each end in the live broadcast room and satisfying the differentiated display requirements of each end.

[0057] According to the method of this embodiment, the terminal 110 receives the basic interaction data of the live broadcast room pushed by the live broadcast room interaction server 120, and the terminal 110 renders the live broadcast room interaction interface from the perspective of the local end according to the basic interaction data of the live broadcast room. The terminal 110 receives the interaction status information broadcast by the live broadcast room interaction server 120 at the interaction process node. The interaction status information is broadcast by the live broadcast room interaction server 120 to each end of the live broadcast room when the interaction process node is reached, or is broadcast to each end of the live broadcast room according to the interaction operation information triggered by the interactive participating end at the interaction process node. The terminal 110 renders the live broadcast room interaction interface according to the interaction status information, so that the interaction screen corresponding to the interaction process node is presented in the live broadcast room interaction interface. In this solution, each end in the live broadcast room renders the live broadcast room interaction interface of its own perspective based on the live broadcast room interaction basic data pushed by the live broadcast room interaction server 120, and then each end in the live broadcast room receives the interaction status information broadcast by the live broadcast room interaction server 120 at the interaction process node, and each end in the live broadcast room performs interface rendering according to the interaction status information to present the corresponding interaction screen. As a result, the live broadcast room interaction server 120 can continuously broadcast the interaction status information, and each end can continuously perform interface rendering to present the corresponding interaction screen accordingly, which can achieve the effect of synchronizing the interaction screens of each end in the live broadcast room and satisfying the differentiated display needs of each end.

[0058] In one embodiment, the interaction status information may include first interaction status information; step S203 may include: receiving the first interaction status information broadcasted by the live broadcast room interaction server when reaching the first interaction process node; step S204 may include: determining whether the trigger end identifier carried in the first interaction status information is consistent with the local end identifier; when the local end identifier is consistent with the trigger end identifier carried in the first interaction status information, rendering the live broadcast room interaction interface according to the first interaction status information, so that the live broadcast room interaction interface presents an interactive screen for indicating waiting for the local end to trigger the interactive operation; when the local end identifier is inconsistent with the trigger end identifier carried in the first interaction status information, rendering the live broadcast room interaction interface according to the first interaction status information, so that the live broadcast room interaction interface presents an interactive screen for indicating waiting for the other end to trigger the interactive operation.

[0059] In this embodiment, the live broadcast room interaction may include a first interactive process node. The live broadcast room interactive server 120 may broadcast interactive state information to each end in the live broadcast room when reaching the first interactive process node. The interactive state information is recorded as the first interactive state information. The first interactive state information carries a trigger end identifier. The trigger end identifier can be used to identify the interactive participating end that can trigger the next interactive process node, which is recorded as the trigger end. The trigger end identifier can be the UID corresponding to the trigger end. Based on this, the terminal 110 receives the first interactive state information broadcast by the live broadcast room interactive server 120, and then the terminal 110 obtains the local end identifier, which can be the UID corresponding to the terminal 110 itself. Then, the terminal 110 compares the local end identifier with the trigger end identifier carried in the first interactive state information to determine whether the two are consistent. Then, if the two are consistent, the terminal 110 renders the live broadcast room interactive interface according to the first interactive state information, so that the live broadcast room interactive interface presents an interactive screen for indicating waiting for the local end to trigger the interactive operation. In the case of inconsistency between the two, the live broadcast room interactive interface is rendered according to the first interactive status information, so that an interactive screen for indicating waiting for the other end to trigger an interactive operation is presented in the live broadcast room interactive interface.

[0060] For example, taking the flying chess game of the board game in the live broadcast room as an example of live broadcast room interaction, the first interactive process node may correspond to the node instructing the red side to shake the dice. After the red side's terminal 110 receives the first interactive status information, it renders the live broadcast room interactive interface and presents an interactive screen waiting for the local side to trigger shaking the dice. After the non-red side's terminal 110 receives the first interactive status information, it renders the live broadcast room interactive interface and presents an interactive screen waiting for the red side to shake the dice.

[0061] The solution of this embodiment can be implemented based on the live broadcast room interactive server broadcasting corresponding interactive status information when an interactive process node is reached to instruct the corresponding trigger end to trigger the next interactive process node and can synchronize the interactive screen at each end of the live broadcast room.

[0062] Furthermore, in one embodiment, the interactive status information may also include second interactive status information; step S203 may also include: receiving the second interactive status information broadcast by the live broadcast room interactive server at the second interactive process node, the second interactive status information being obtained by the live broadcast room interactive server based on the interactive operation information triggered by the triggering end in the interactive participating end at the second interactive process node; step S204 may also include: rendering the live broadcast room interactive interface based on the second interactive status information, so that the live broadcast room interactive interface presents an interactive screen for representing the interactive operation result of the triggering end at the second interactive process node.

[0063] In this embodiment, based on rendering the interactive interface of the live broadcast room according to the first interactive state information to present an interactive screen for indicating waiting for other terminals to trigger an interactive operation or waiting for the terminal to trigger an interactive operation, the second interactive process node is entered. In the second interactive process node, the trigger terminal that can trigger the next interactive process node among several interactive participating terminals triggers the interactive operation information and sends it to the live broadcast room interactive server 120. After receiving the interactive operation information triggered by the trigger terminal at the second interactive process node, the live broadcast room interactive server 120 obtains the second interactive state information according to the interactive operation information. The second interactive state information can be information for indicating the interactive result of the trigger terminal at the second interactive process node. Then, the live broadcast room interactive server 120 broadcasts the second interactive state information to each terminal in the live broadcast room. After the terminal 110 receives the second interactive state information broadcasted by the live broadcast room interactive server 120 at the second interactive process node, it renders the interactive interface of the live broadcast room according to the second interactive state information to present an interactive screen for indicating the interactive result of the aforementioned trigger terminal at the second interactive process node.

[0064] Exemplarily, taking the flying chess game of the board game in the live broadcast room mini-game as an example of live broadcast room interaction, the second interactive process node can correspond to the node that displays the corresponding points of the red side shaking the dice. After the red side's terminal 110 triggers the click operation information on the dice, the click operation information is sent to the live broadcast room interactive server 120. The live broadcast room interactive server 120 can obtain the second interactive status information used to represent its points according to the click operation information, and then the live broadcast room interactive server 120 can broadcast the second interactive status information to each end in the live broadcast room. Each end in the live broadcast room can render the live broadcast room interactive interface according to the second interactive status information to present an interactive screen used to represent the corresponding points of the red side shaking the dice.

[0065] The solution of this embodiment can realize the synchronization of interactive screens at all ends of the live broadcast room based on the interactive operation triggered by the triggering end in an interactive process node combined with the broadcast of the live broadcast room interactive server.

[0066] Furthermore, in one embodiment, the interactive status information may also include third interactive status information; step S203 may also include: receiving the third interactive status information broadcast by the live broadcast room interactive server at the third interactive process node, the third interactive status information is obtained by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end at the third interactive process node and the interactive operation result at the second interactive process node; step S204 may also include: rendering the live broadcast room interactive interface according to the third interactive status information, so that the live broadcast room interactive interface presents an interactive screen for representing the interactive operation result of the triggering end at the third interactive process node.

[0067] In this embodiment, based on rendering the interactive interface of the live broadcast room according to the second interactive state information to present an interactive screen for representing the interactive operation result of the trigger end at the second interactive process node, the third interactive process node is entered. In the third interactive process node, the trigger end can further trigger the interactive operation information and then send the interactive operation information to the live broadcast room interactive server 120. The live broadcast room interactive server 120 obtains the third interactive state information according to the interactive operation information triggered by the trigger end at the third interactive process node and the interactive operation result at the second interactive process node. The third interactive state information can be information for representing the interactive result of the trigger end at the third interactive process node. Then, the live broadcast room interactive server 120 broadcasts the third interactive state information to each end in the live broadcast room, and the terminal 110 receives the third interactive state information broadcasted by the live broadcast room interactive server 120 at the third interactive process node. According to the third interactive state information, the live broadcast room interactive interface is rendered to present an interactive screen for representing the interactive operation result of the trigger end at the third interactive process node.

[0068] Exemplarily, taking the flying chess game of the board game in the live broadcast room mini-game as an example of live broadcast room interaction, the third interactive process node can correspond to the node showing the red side's move. After the red side's terminal 110 triggers the click operation information on the selected chess piece, the click operation information is sent to the live broadcast room interactive server 120. The live broadcast room interactive server 120 can obtain the third interactive status information for representing the moving path of the selected chess piece based on the click operation information and the corresponding points of the red side's dice roll. Then, the live broadcast room interactive server 120 can broadcast the third interactive status information to each end in the live broadcast room. Each end in the live broadcast room can render the live broadcast room interactive interface according to the third interactive status information to present an interactive screen for representing that the chess piece selected by the red side moves according to the corresponding moving path.

[0069] The solution of this embodiment can realize the synchronization of interactive screens at all ends of the live broadcast room based on the interactive operation triggered by the triggering end at an interactive process node and the interactive operation results of the previous interactive process node combined with the broadcast of the live broadcast room interactive server.

[0070] In actual applications, the first to third interaction process nodes mentioned above can be used to form a round of interaction. The live broadcast room interaction can include multiple rounds of interaction. Each round of interaction is promoted by one of the aforementioned several interactive participating terminals as a triggering terminal. At the end of each round of interaction, it is the turn of the next interactive participating terminal to act as a triggering terminal to promote the progress of this round of interaction. In this way, the interactive screens in turn-based game scenes such as board games in the live broadcast room can be synchronized and meet the differentiated display needs of each terminal.

[0071] In some embodiments, the above method may further include the following steps:

[0072] Receive abnormal identification information broadcasted by the live broadcast room interaction server when the interactive participating end is in an abnormal interactive state; render the live broadcast room interaction interface according to the abnormal identification information to indicate in the live broadcast room interaction interface that the interactive participating end is in an abnormal interactive state; receive normal identification information broadcasted by the live broadcast room interaction server when the interactive participating end restores to a normal interactive state; render the live broadcast room interaction interface according to the normal identification information to indicate in the live broadcast room interaction interface that the interactive participating end is in a normal interactive state again.

[0073] The solution of this embodiment can be used when there is an interactive participant terminal in an abnormal interactive state due to network or process disconnection, midway stop or direct exit from the live broadcast room interaction, without affecting the normal display and synchronization of the interactive screen by other terminals in the live broadcast room. Specifically, when an interactive participant terminal is in an abnormal interactive state, the live broadcast room interactive server 120 can broadcast abnormal identification information for the interactive participant terminal to each terminal in the live broadcast room. After receiving the abnormal identification information, the terminal 110 can render the live broadcast room interactive interface according to the abnormal identification information to mark the aforementioned interactive participant terminal in the live broadcast room interactive interface as being in an abnormal interactive state, such as graying out the color of the red party's avatar. In some cases, if the interactive participant terminal is restored to a normal interactive state, the live broadcast room interactive server 120 broadcasts normal identification information for the interactive participant terminal to each terminal in the live broadcast room when the interactive participant terminal is restored to a normal interactive state. After receiving the normal identification information, the terminal 110 can render the live broadcast room interactive interface according to the normal identification information to mark the interactive participant terminal in the live broadcast room interactive interface as being in a normal interactive state, such as restoring the color of the red party's avatar to color.

[0074] As an application example, when a user of an interactive participating end normally exits the live broadcast room interaction midway, the interactive participating end may pop up a window asking the user to confirm whether to exit the live broadcast room interaction. After the user confirms, the interactive participating end will send a message to exit the live broadcast room interaction to the live broadcast room interaction server 120. After receiving the message, the live broadcast room interaction server 120 will delete the UID corresponding to the interactive participating end from the UID list. When the round is carried out, it will not be the turn of the interactive participating end. For other ends, the live broadcast room interaction server 120 will broadcast abnormal identification information. When other ends receive the abnormal identification information, they can render the live broadcast room interaction interface to indicate in the live broadcast room interaction interface that the interactive participating end has exited the live broadcast room interaction.

[0075] As another application example, when an interactive participant terminal kills the process, loses power, or has a network abnormality, the interactive participant terminal cannot establish a heartbeat connection with the live broadcast room interactive server 120. When the live broadcast room interactive server 120 detects that an interactive participant terminal has no heartbeat report within a certain time range (such as two minutes), the live broadcast room interactive server 120 will determine that the interactive participant terminal is in an offline state. At this time, the live broadcast room interactive server 120 can broadcast abnormal identification information to each terminal in the live broadcast room to indicate that the interactive participant terminal is offline. When the interactive participant terminal returns to the live broadcast room due to network recovery and reopening of the application, it can send a heartbeat to the live broadcast room interactive server 120 again. After receiving the heartbeat, the live broadcast room interactive server 120 can set the state of the interactive participant terminal from offline to online, and at the same time broadcast normal identification information to each terminal of the live broadcast room. After receiving the normal identification information, each terminal of the live broadcast room renders the corresponding interface to indicate that the interactive participant terminal is back in a normal interactive state.

[0076] In some embodiments, the above method may further include the following steps:

[0077] During the presentation of the interactive screen corresponding to an interactive process node, if the live broadcast room interactive application switches from the foreground to the background, the presentation of the interactive screen is suspended; if the application is restored from the background to the foreground, the live broadcast room interactive interface is rendered according to the interactive status information of the live broadcast room interactive server at the latest interactive process node and the time consumed in the background switching, so that the live broadcast room interactive interface presents the interactive screen from the paused interactive screen to the latest interactive process node in a fast-forward manner.

[0078] This embodiment can realize the rapid synchronization recovery of the interactive screen when the live broadcast room interactive application of the terminal 110 switches from the foreground to the background and then returns to the foreground. Specifically, during the presentation of the interactive screen corresponding to an interactive process node, if the live broadcast room interactive application switches from the foreground to the background, the terminal 110 first pauses the presentation of the interactive screen, and then when the application is restored from the background to the foreground, the live broadcast room interactive interface is rendered according to the interactive state information of the live broadcast room interactive server 120 at the latest interactive process node and the background switching time, so that the live broadcast room interactive interface presents the interactive screen from the paused interactive screen to the latest interactive process node in a fast-forward manner, wherein the background switching time refers to the time consumed from the application switching to the background to returning to the foreground, and the terminal 110 can fast-forward the relevant interactive screen according to the background switching time, so that the terminal 110 can quickly recover to a state synchronized with the interactive screen of other terminals.

[0079] As an application example, when the user presses the HOME button on the terminal 110 to switch the interactive application in the live broadcast room from the foreground to the background, since the application is alive, the heartbeat of the terminal 110 will be maintained normally at this time. There is no need to perform separate processing for the terminal 110 that has switched to the background in other terminals 110 in the live broadcast room, and the terminal 110 that has switched to the background can save, clean up, and restore some states. If the terminal 110 that has switched to the background is playing a chess path animation when it switches to the background, it is necessary to pause the playing of this chess path animation. After a certain amount of time is spent switching from the background to the foreground, the next interactive process node may have been entered. At this time, the terminal 110 that has switched to the background needs to be switched in the middle In the process of returning from the backstage to the foreground, the previous interactive status is cleaned and updated, and the interactive status information of the latest interactive process node is obtained from the live broadcast room interactive server 120 to render the interface. For example, 10 seconds after switching to the backstage, the red chess piece moves from point A to point B. The terminal 110 that switches to the backstage can render the final position of the red chess piece at point B at the moment of returning to the foreground to ensure that its interactive screen is correctly synchronized. The interactive screen can also be fast-forwarded according to the time taken to switch to the background. For example, the background switching takes 3 seconds, and it takes 10 seconds for the red chess piece to move from point A to point B. The interactive animation that originally takes 10 seconds is modified to 7 seconds when returning to the foreground, so that it can quickly recover to a state synchronized with the interactive screen of other terminals.

[0080] In some embodiments, the above method may further include the following steps:

[0081] When it is detected that the live broadcast room is a live broadcast room with a target interactive template, a request for obtaining a live broadcast room interactive resource package is sent to the live broadcast room interactive server; the encrypted live broadcast room interactive resource package sent by the live broadcast room interactive server is received; the encrypted live broadcast room interactive resource package is decrypted according to a preset secret key to obtain the live broadcast room interactive resource package; wherein, the live broadcast room interactive resource package is used to establish a communication connection with the live broadcast room interactive server for live broadcast room interaction after the live broadcast room interactive resource package is loaded in the live broadcast room.

[0082] The solution of this embodiment can be executed before step S201, so that when the live broadcast room is a live broadcast room with a target interactive template, the live broadcast room interactive resource package can be safely obtained from the live broadcast room interactive server 120, so that the live broadcast room interaction can be carried out after loading and activating it.

[0083] Specifically, the live broadcast room interaction development end can encrypt the live broadcast room interaction resource package, identify the version number, and then send it to the live broadcast room interaction server 120. The live broadcast room interaction server 120 is an independent server decoupled from the live broadcast room business server. In order to facilitate the decoupling of the live broadcast room interaction business from the live broadcast room business, the live broadcast room interaction related code can be abstracted into an independent component. This component can be independent of other business components of the live broadcast room to constitute a live broadcast room interaction resource package, which can specifically include rendering engine related code and live broadcast room interaction business code. For live broadcast room interaction in H5 format, its related business code can run in a webview container.

[0084] Since different live broadcast rooms may have different templates, some live broadcast rooms do not have the target interactive template, so for the live broadcast room without the target interactive template, the live broadcast room interactive resource package will not be loaded. Therefore, when it is detected that the live broadcast room is a live broadcast room with a target interactive template, the terminal 110 can send a live broadcast room interactive resource package acquisition request to the live broadcast room interactive server 120. In actual application, if the terminal 110 has obtained the live broadcast room interactive resource package from the live broadcast room interactive server 120, the live broadcast room interactive resource package acquisition request can carry the current version number, and if it has not been obtained, it can be without the version number. After receiving the live broadcast room interactive resource package acquisition request, the live broadcast room interactive server 120 can issue the corresponding encrypted live broadcast room interactive resource package. The terminal 110 receives the encrypted live broadcast room interactive resource package issued by the live broadcast room interactive server 120. The live broadcast room interactive application in the terminal 110 will pre-embed the key used to decrypt the encrypted live broadcast room interactive resource package, which is recorded as the preset key. Therefore, the terminal 110 decrypts the encrypted live broadcast room interactive resource package according to the preset key to obtain the live broadcast room interactive resource package. The terminal 110 can decompress it, and the decompressed live broadcast room interaction resource package can be stored in the application path of the live broadcast room interaction application. At this time, the terminal 110 can load the corresponding live broadcast room interaction resource package locally by initializing the webview component in the live broadcast room. After the live broadcast room interaction resource package is loaded successfully, the live broadcast room interaction resource package is officially activated. After the live broadcast room interaction resource package is activated, the terminal 110 can establish a long connection channel of websocket with the live broadcast room interaction server 120 for the communication connection of the live broadcast room interaction, and start sending heartbeats to the live broadcast room interaction server 120 at a frequency such as 1 second or 2 seconds.

[0085] In some embodiments, the above method may also include the following steps: the live broadcast room interactive server 120 records the interactive participation information of each interactive participating terminal, such as the nickname, UID, avatar, interactive participation time, whether to quit midway, interactive ranking and other information corresponding to each interactive participating terminal. The live broadcast room interactive server 120 can store the interactive participation information in the database, and when the live broadcast room interaction ends, it can push the interactive list data to each terminal in the live broadcast room, and each terminal in the live broadcast room can display it after receiving the interactive list data. Among them, the interactive participation information recorded by the live broadcast room interactive server 120 can be used for ranking, sharing, rewards, etc. When the business needs it, the live broadcast room interactive server 120 can be requested to obtain the corresponding data for display.

[0086] In one embodiment, Figure 3 As shown, a method for synchronous processing of live broadcast room interaction is provided, wherein the method is as follows Figure 1 The live broadcast room interactive server 120 shown executes the following steps:

[0087] Step S301, push the basic data of live broadcast room interaction to each end of the live broadcast room, so that each end of the live broadcast room can render the live broadcast room interaction interface of its own perspective according to the basic data of live broadcast room interaction.

[0088] Step S302, broadcasting the interactive status information to each end of the live broadcast room when reaching the interactive process node, or broadcasting the interactive status information to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end in each end of the live broadcast room at the interactive process node; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0089] The method of this embodiment is executed by the live broadcast room interactive server 120, and the method steps executed by it correspond to the method steps executed by the terminal 110 disclosed in the above embodiments. For the specific method steps executed by the live broadcast room interactive server 120, reference can be made to the relevant descriptions of the above embodiments. In this embodiment, the live broadcast room interactive server 120 can continuously broadcast the interactive status information, and each terminal can continuously perform interface rendering to present the corresponding interactive screen, which can achieve the effect of synchronizing the interactive screens of each terminal in the live broadcast room and meet the differentiated display requirements of each terminal.

[0090] In one embodiment, Figure 4 As shown, a live broadcast system is provided, including: multiple terminals 410 in a live broadcast room and a live broadcast room interactive server 420. Each of the multiple terminals 410 in the live broadcast room is used to synchronize interactive screens with other terminals according to the live broadcast room interactive synchronization processing method described above; the live broadcast room interactive server 420 is used to synchronize the interactive screens of the multiple terminals 410 in the live broadcast room according to the live broadcast room interactive synchronization processing method described above.

[0091] Based on Figure 4 The live broadcast system shown, combined with Figure 5, taking the flying chess game of the board game in the live broadcast room as an example of live broadcast room interaction, an application example of the present application is provided. Specifically, after the flying chess game component begins to be activated, the terminal 410 will establish a long connection channel of websocket with the live broadcast room interactive server 420 to log in, the live broadcast room interactive server 420 sends a successful login message, the terminal 410 calls back the successful login, and sends a heartbeat to the live broadcast room interactive server 420 at a frequency not limited to 2 seconds or 1 second. When the flying chess game is initialized, the terminal 410 obtains the chessboard data from the live broadcast room interactive server 420, and the live broadcast room interactive server 420 sends the chessboard data to the terminal 410, including map data, player position data, etc. After receiving the chessboard data, the terminal 410 will start to render the chess game interface, presenting the game map, game player information, the position of the game player on the chessboard, etc. In a turn-based game taking the flying chess game as an example, since players start one by one, the live broadcast room interactive server 420 needs to push a broadcast to the terminal 410 according to the nodes of the game rules, and send a broadcast of which player's turn it is to start. After receiving the pushed broadcast, the terminal 410 will render the interface. For example, after receiving the broadcast, a certain player is triggered to roll the dice. The broadcast sent by the live broadcast room interactive server 420 will carry the UID of the player who rolled the dice. When the terminal 410 matches its UID with the one sent, a dice-shaking screen can appear, and corresponding interfaces will also appear on the terminals of other players. The start of dice-shaking is triggered by the player with the UID. Each terminal 410 plays the dice-shaking animation and can report the animation completion message to the live broadcast room interactive server 420. Then, after the user in the live broadcast room shakes the dice, he can enter the chess selection node. The live broadcast room interactive server 420 can broadcast to the current player's terminal 410 whether the shaken dice can be used to move chess. If it can be used, the chess is selected. The current player's terminal 410 reports the chess piece selected by the player to the live broadcast room interactive server 420. The live broadcast room interactive server 420 broadcasts the chess moving path according to the selected chess piece and the points of the shaken dice. After receiving the broadcast, each terminal 410 renders the interface to play the chess moving path animation, and can report the animation completion message to the live broadcast room interactive server 420. Therefore, the live broadcast room interactive server 420 can broadcast the synchronization status at the interactive process node in the virtual room, so that each terminal 410 continuously renders the interface, thereby achieving the effect of synchronizing the interactive screens at each end in the live broadcast room and satisfying the differentiated display requirements for the player's perspective and the audience's perspective.

[0092] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0093] Based on the same inventive concept, the embodiment of the present application also provides a live broadcast room interactive synchronization processing device for implementing the live broadcast room interactive synchronization processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more live broadcast room interactive synchronization processing device embodiments provided below can refer to the limitations of the live broadcast room interactive synchronization processing method above, and will not be repeated here.

[0094] In one embodiment, Figure 6 As shown, a live broadcast room interactive synchronization processing device is provided, which can be applied to a terminal. The device 600 may include:

[0095] The data receiving module 601 is used to receive the basic data of the live broadcast room interaction pushed by the live broadcast room interaction server;

[0096] A first rendering module 602, configured to render a live broadcast room interaction interface from the perspective of the local terminal according to the live broadcast room interaction basic data;

[0097] The information receiving module 603 is used to receive the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node; the interactive status information is broadcasted by the live broadcast room interactive server to each end of the live broadcast room when the interactive process node is reached, or is broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node;

[0098] The second rendering module 604 is used to render the live broadcast room interactive interface according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface.

[0099] In one embodiment, the interactive status information includes first interactive status information; an information receiving module 603 is used to receive the first interactive status information broadcasted by the live broadcast room interactive server when reaching the first interactive process node; a second rendering module 604 is used to determine whether the trigger end identifier carried in the first interactive status information is consistent with the local end identifier; when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the live broadcast room interactive interface presents an interactive screen for indicating waiting for the local end to trigger an interactive operation; when the local end identifier is inconsistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the live broadcast room interactive interface presents an interactive screen for indicating waiting for the other end to trigger an interactive operation.

[0100] In one embodiment, the interactive status information includes second interactive status information; the information receiving module 603 is used to receive the second interactive status information broadcast by the live broadcast room interactive server at the second interactive process node; wherein the second interactive status information is obtained by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end in the interactive participating end at the second interactive process node; the second rendering module 604 is used to render the live broadcast room interactive interface according to the second interactive status information, so that the live broadcast room interactive interface presents an interactive screen for representing the interactive operation result of the triggering end at the second interactive process node.

[0101] In one embodiment, the interactive status information includes third interactive status information; the information receiving module 603 is used to receive the third interactive status information broadcast by the live broadcast room interactive server at the third interactive process node; wherein the third interactive status information is obtained by the live broadcast room interactive server according to the interactive operation information triggered by the trigger end at the third interactive process node and the interactive operation result at the second interactive process node; the second rendering module 604 is used to render the live broadcast room interactive interface according to the third interactive status information, so that the live broadcast room interactive interface presents an interactive screen for representing the interactive operation result of the trigger end at the third interactive process node.

[0102] In one embodiment, the device also includes: an exception handling module, which is used to receive exception identification information broadcast by the live broadcast room interaction server when the interactive participant end is in an abnormal interactive state; render the live broadcast room interaction interface according to the exception identification information to identify that the interactive participant end is in an abnormal interactive state in the live broadcast room interaction interface; receive normal identification information broadcast by the live broadcast room interaction server when the interactive participant end restores a normal interactive state; render the live broadcast room interaction interface according to the normal identification information to identify that the interactive participant end is in a normal interactive state again in the live broadcast room interaction interface.

[0103] In one embodiment, the device also includes: a switching processing module, which is used for pausing the presentation of the interactive screen corresponding to an interactive process node if the live broadcast room interactive application switches from the foreground to the background; if the application is restored to the foreground from the background, the live broadcast room interactive interface is rendered according to the interactive status information of the live broadcast room interactive server at the latest interactive process node and the time consumed for the background switching, so that the live broadcast room interactive interface presents the interactive screen from the paused interactive screen to the latest interactive process node in a fast-forward manner.

[0104] In one embodiment, the device also includes: a resource package acquisition module, which is used to send a live broadcast room interaction resource package acquisition request to the live broadcast room interaction server when it detects that the live broadcast room is a live broadcast room with a target interaction template; receive the encrypted live broadcast room interaction resource package sent by the live broadcast room interaction server; decrypt the encrypted live broadcast room interaction resource package according to a preset secret key to obtain the live broadcast room interaction resource package; the live broadcast room interaction resource package is used to establish a communication connection with the live broadcast room interaction server for live broadcast room interaction after the live broadcast room interaction resource package is loaded in the live broadcast room.

[0105] In one embodiment, Figure 7 As shown, a live broadcast room interaction synchronization processing device is provided, which can be applied to a live broadcast room interaction server. The device 700 may include:

[0106] The data sending module 701 is used to push the basic data of the live broadcast room interaction to each end of the live broadcast room, so that each end of the live broadcast room can render the live broadcast room interaction interface of its own perspective according to the basic data of the live broadcast room interaction;

[0107] The information sending module 702 is used to broadcast the interactive status information to each end of the live broadcast room when reaching the interactive process node, or to broadcast the interactive status information to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end in each end of the live broadcast room at the interactive process node; wherein, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room.

[0108] Each module in the above-mentioned live broadcast room interactive synchronization processing device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.

[0109] In one embodiment, an electronic device is provided. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store basic data of live broadcast room interaction, interaction status information, etc. The network interface of the electronic device is used to communicate with external devices through a network connection. When the computer program is executed by the processor, a method for synchronous processing of live broadcast room interaction is implemented.

[0110] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig. 9As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with external devices in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for interactive synchronization processing in a live broadcast room is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse.

[0111] Those skilled in the art will understand that Figure 8 and Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0112] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0115] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0116] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0117] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for synchronous processing of live broadcast room interaction, characterized in that: Applied to a terminal, the method comprises: Receive basic live broadcast room interaction data pushed by the live broadcast room interaction server; Rendering the live broadcast room interaction interface from the perspective of the local end according to the live broadcast room interaction basic data; Receive the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node; the interactive status information is broadcasted by the live broadcast room interactive server to each end of the live broadcast room when the interactive process node is reached or is broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node; the interactive status information includes: the first interactive status information broadcasted at the first interactive process node, the second interactive status information broadcasted at the second interactive process node by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end among the interactive participating ends at the second interactive process node, and the third interactive status information broadcasted at the third interactive process node by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end at the third interactive process node and the interactive operation result at the second interactive process node; According to the interactive status information, the live broadcast room interactive interface is rendered so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface; including: when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the interactive screen for indicating waiting for the local end to trigger the interactive operation is presented in the live broadcast room interactive interface; according to the second interactive status information, the live broadcast room interactive interface is rendered so that the interactive screen for indicating the interactive operation result of the trigger end at the second interactive process node is presented in the live broadcast room interactive interface; according to the third interactive status information, the live broadcast room interactive interface is rendered so that the interactive screen for indicating the interactive operation result of the trigger end at the third interactive process node is presented in the live broadcast room interactive interface.

2. The method according to claim 1, characterized in that The rendering of the live broadcast room interactive interface according to the interactive state information so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface also includes: Determining whether the triggering end identifier carried in the first interactive state information is consistent with the local end identifier; When the local end identifier is inconsistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information so that an interactive screen for indicating waiting for the other end to trigger an interactive operation is presented in the live broadcast room interactive interface.

3. The method according to claim 1, characterized in that The method further comprises: Receiving abnormal identification information broadcasted by the live broadcast room interactive server when the interactive participating terminal is in an abnormal interactive state; Rendering the live broadcast room interactive interface according to the abnormal identification information, so as to identify in the live broadcast room interactive interface that the interactive participating terminal is in an abnormal interactive state; Receiving normal identification information broadcasted by the live broadcast room interactive server when the interactive participant terminal resumes a normal interactive state; The live broadcast room interactive interface is rendered according to the normal identification information to indicate in the live broadcast room interactive interface that the interactive participant terminal is in a normal interactive state again.

4. The method according to claim 1, characterized in that: The method further comprises: During the presentation of the interactive screen corresponding to an interactive process node, if the interactive application in the live broadcast room is switched from the foreground to the background, the presentation of the interactive screen is suspended; If the application is restored from the background to the foreground, the live broadcast room interaction interface is rendered according to the interaction status information of the live broadcast room interaction server at the latest interaction process node and the time consumed in switching to the background, so that the live broadcast room interaction interface presents the interaction screen from the paused interaction screen to the latest interaction process node in a fast-forward manner.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When detecting that the live broadcast room is a live broadcast room with a target interactive template, sending a live broadcast room interactive resource package acquisition request to the live broadcast room interactive server; Receiving the encrypted live broadcast room interaction resource package sent by the live broadcast room interaction server; The encrypted live broadcast room interaction resource package is decrypted according to a preset key to obtain a live broadcast room interaction resource package; the live broadcast room interaction resource package is used to establish a communication connection for live broadcast room interaction with the live broadcast room interaction server after the live broadcast room interaction resource package is loaded in the live broadcast room.

6. A method for synchronous processing of live broadcast room interaction, characterized in that: Applied to a live broadcast room interactive server, the method includes: Pushing live broadcast room interaction basic data to each end of the live broadcast room, so that each end of the live broadcast room can render the live broadcast room interaction interface of its own perspective according to the live broadcast room interaction basic data; Broadcasting interactive status information to each end of the live broadcast room when reaching an interactive process node, or broadcasting interactive status information to each end of the live broadcast room according to interactive operation information triggered by an interactive participating end among the ends of the live broadcast room at an interactive process node; the interactive status information includes: first interactive status information broadcast at a first interactive process node, second interactive status information broadcast at a second interactive process node obtained by the interactive server of the live broadcast room according to interactive operation information triggered by a triggering end among the interactive participating ends at the second interactive process node, and third interactive status information broadcast at a third interactive process node obtained by the interactive server of the live broadcast room according to interactive operation information triggered by the triggering end at the third interactive process node and the interactive operation result at the second interactive process node; Among them, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room; including: when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the interactive screen for indicating waiting for the local end to trigger the interactive operation is presented in the interactive interface of the live broadcast room; according to the second interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the second interactive process node is presented in the interactive interface of the live broadcast room; according to the third interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the third interactive process node is presented in the interactive interface of the live broadcast room.

7. A live broadcast system, characterized in that: include: A live broadcast room interactive server and multiple terminals in the live broadcast room; wherein each of the multiple terminals is used to synchronize the interactive screen with other terminals according to the method described in any one of claims 1 to 5; the live broadcast room interactive server is used to synchronize the interactive screens of the multiple terminals according to the method described in claim 6.

8. A live broadcast room interactive synchronization processing device, characterized in that: Applied to a terminal, the device comprises: A data receiving module is used to receive basic live broadcast room interaction data pushed by the live broadcast room interaction server; A first rendering module, configured to render a live broadcast room interaction interface from the perspective of the local terminal according to the live broadcast room interaction basic data; An information receiving module is used to receive the interactive status information broadcasted by the live broadcast room interactive server at the interactive process node; the interactive status information is broadcasted by the live broadcast room interactive server to each end of the live broadcast room when the interactive process node is reached or is broadcasted to each end of the live broadcast room according to the interactive operation information triggered by the interactive participating end at the interactive process node; the interactive status information includes: the first interactive status information broadcasted at the first interactive process node, the second interactive status information broadcasted at the second interactive process node by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end among the interactive participating ends at the second interactive process node, and the third interactive status information broadcasted at the third interactive process node by the live broadcast room interactive server according to the interactive operation information triggered by the triggering end at the third interactive process node and the interactive operation result at the second interactive process node; A second rendering module is used to render the live broadcast room interactive interface according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the live broadcast room interactive interface; including: when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the interactive screen for indicating waiting for the local end to trigger the interactive operation is presented in the live broadcast room interactive interface; according to the second interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the second interactive process node is presented in the live broadcast room interactive interface; according to the third interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the third interactive process node is presented in the live broadcast room interactive interface.

9. A live broadcast room interactive synchronization processing device, characterized in that: Applied to a live broadcast room interactive server, the device comprises: A data sending module, used to push basic interactive data of the live broadcast room to each end of the live broadcast room, so that each end of the live broadcast room can render the interactive interface of the live broadcast room of its own perspective according to the basic interactive data of the live broadcast room; An information sending module is used to broadcast interactive status information to each end of the live broadcast room when reaching an interactive process node, or to broadcast interactive status information to each end of the live broadcast room according to interactive operation information triggered by an interactive participating end among the ends of the live broadcast room at an interactive process node; the interactive status information includes: first interactive status information broadcast at a first interactive process node, second interactive status information broadcast at a second interactive process node obtained by the live broadcast room interactive server according to interactive operation information triggered by a triggering end among the interactive participating ends at the second interactive process node, and third interactive status information broadcast at a third interactive process node obtained by the live broadcast room interactive server according to interactive operation information triggered by the triggering end at the third interactive process node and the interactive operation result at the second interactive process node; Among them, the interactive status information is used by each end of the live broadcast room to render the interactive interface of the live broadcast room according to the interactive status information, so that the interactive screen corresponding to the interactive process node is presented in the interactive interface of the live broadcast room; including: when the local end identifier is consistent with the trigger end identifier carried in the first interactive status information, the live broadcast room interactive interface is rendered according to the first interactive status information, so that the interactive screen for indicating waiting for the local end to trigger the interactive operation is presented in the interactive interface of the live broadcast room; according to the second interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the second interactive process node is presented in the interactive interface of the live broadcast room; according to the third interactive status information, the live broadcast room interactive interface is rendered, so that the interactive screen for indicating the interactive operation result of the trigger end at the third interactive process node is presented in the interactive interface of the live broadcast room.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 or claim 6 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 or claim 6 are implemented.

Citation Information

Patent Citations

  • Microphone-connected live streaming method and host end device

    CN106303657A

  • Game control method and device, terminal equipment, server and medium

    CN110559663A

  • Game data processing method and device, computer storage medium and electronic equipment

    CN111467797A

  • Information display method, system and device, electronic equipment and storage medium

    CN111818350A

  • Video superposition information updating method and device thereof, electronic equipment and storage medium

    CN112929684A