CN109729410B - Live broadcast room interactive event processing method, device, equipment and storage medium - Google Patents

Live broadcast room interactive event processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109729410B
CN109729410B CN201811648150.8A CN201811648150A CN109729410B CN 109729410 B CN109729410 B CN 109729410B CN 201811648150 A CN201811648150 A CN 201811648150A CN 109729410 B CN109729410 B CN 109729410B
Authority
CN
China
Prior art keywords
polling
listener
interaction
interactive
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811648150.8A
Other languages
Chinese (zh)
Other versions
CN109729410A (en
Inventor
李双洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811648150.8A priority Critical patent/CN109729410B/en
Publication of CN109729410A publication Critical patent/CN109729410A/en
Application granted granted Critical
Publication of CN109729410B publication Critical patent/CN109729410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for processing interaction events of a live broadcast room, wherein the method comprises the following steps: determining an interaction event associated with the preset type of control; starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listener is used for sending a trigger signal at set time intervals; different interaction events correspond to different polling listeners, and the time intervals for sending trigger signals by the polling listeners are different; and when a trigger signal sent by the polling listener is received, correspondingly processing the interaction event corresponding to the polling listener. The technical scheme provided by the embodiment of the disclosure can flexibly control the processing modes of different interaction events, meet the feedback requirements of different interactions, and meet the requirements of different interaction scenes.

Description

Live broadcast room interactive event processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to live broadcast technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing an interactive event in a live broadcast room.
Background
With the increasing development of live broadcast software, live broadcast is gradually becoming a mode which is deeply favored by users. In the live broadcast, a client of the anchor (called the anchor for short) can perform live broadcast to a user through live broadcast software. The user can interact with the anchor through the client.
When the user interacts with the anchor, the user can operate the live display interface, the user client generates interactive data, generates interactive response locally and displays the interactive data; and processing the interactive data, and sending the interactive data to each client through the server so that each client generates interactive response according to the interactive data sent by other clients and displays the interactive response. In the process of generating interactive response in a live broadcast room, a client often monitors a plurality of interactive events by using a polling listener, so that the interactive events are processed, but different time intervals need to be set for the interactive events in different scenes, and the processing of the interactive events by using the method in the prior art cannot cope with the change of different scenes.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, equipment and a storage medium for processing interaction events in a live broadcast room, which can flexibly control the processing modes of different interaction events, meet the feedback requirements of different interactions and meet the requirements of different interaction scenes.
In a first aspect, the disclosed embodiments provide a live broadcast room interaction event processing method,
the method is applied to a scene that a user triggers a control of a preset type on a live broadcast display interface locally at a client and/or other users in a live broadcast room trigger the control of the preset type on the live broadcast display interface at respective clients, and comprises the following steps:
determining an interaction event associated with the preset type of control;
starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different;
and when a trigger signal sent by the polling listener is received, correspondingly processing the interaction event corresponding to the polling listener.
In a second aspect, an embodiment of the present disclosure further provides a device for processing an interaction event in a live broadcast room, where the device is applied in a scenario where a user locally triggers a control of a preset type on a live broadcast display interface at a client, and/or other users in the live broadcast room trigger controls of a preset type on live broadcast display interfaces at respective clients, and the device includes:
the determining module is used for determining an interaction event associated with the control of the preset type;
the starting module is used for starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listener is used for sending a trigger signal at set time intervals; different interaction events correspond to different polling listeners, and the time intervals for sending trigger signals by the polling listeners are different;
and the processing module is used for correspondingly processing the interaction event corresponding to the polling listener when receiving the trigger signal sent by the polling listener.
In a third aspect, an embodiment of the present disclosure further provides an apparatus, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a live broadcast interaction event processing method provided by the embodiment of the disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a live broadcast room interaction event method provided by the disclosed embodiments.
The technical scheme provided by the embodiment of the disclosure includes determining an interaction event associated with a preset type of control, starting a polling listener corresponding to the interaction event, and when receiving a trigger signal sent by the polling listener, correspondingly processing the interaction event, wherein the polling listeners corresponding to different interaction events are different, and the time interval at which each polling listener sends the trigger signal is different, that is, each interaction event individually corresponds to one polling listener, wherein different interaction events correspond to different polling listeners, and the time interval at which each polling listener sends the trigger signal is different, so that each interaction event can be monitored by its own polling listener, and the monitoring of each interaction event can have different time intervals, thereby flexibly controlling different interaction event processing modes, and meeting the requirements of different interaction scenes, so that the feedback of each interaction can fully express different emotions of the user.
Drawings
Fig. 1 is a flowchart of a live broadcast room interaction event processing method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart of a live broadcast room interaction event processing method provided by an embodiment of the present disclosure;
fig. 3 is a flowchart of a live broadcast room interaction event processing method provided by an embodiment of the present disclosure;
fig. 4 is a block diagram of a live broadcast room interaction event processing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an apparatus provided in an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Fig. 1 is a flowchart of a live broadcast interactive event processing method provided by an embodiment of the present disclosure, where the method is performed by a live broadcast interactive event processing apparatus, and the apparatus is implemented by software and/or hardware. The device can be configured in a smart phone, a tablet computer and other equipment. Alternatively, the apparatus may be integrated in a terminal device held by a user entering the live broadcast room.
Optionally, the method provided by the embodiment of the present disclosure may be applied to a live broadcast room, and a scene where a user interacts with a main broadcast. Optionally, the method is applied to a scene in which a user triggers a preset type of control on the live broadcast display interface locally at the client, and/or other users in the live broadcast room trigger a preset type of control on the live broadcast display interface at respective clients.
Optionally, the method provided by the embodiment of the present disclosure may be applied in the following scenarios: when the user interacts with the anchor, the user can operate the live broadcast display interface, the user client generates interactive data, generates interactive response locally and displays the interactive response, processes the interactive data and sends the interactive data to each client through the server, so that each client generates interactive response according to the received interactive data and displays the interactive response. In the related art, in the process of generating an interactive response in a live broadcast room, multiple interactive events can occur, a client often monitors by using the same polling monitor to process the multiple interactive events, but different time intervals need to be set for interactive event processing in different scenes. The technical scheme provided by the embodiment of the disclosure determines an interaction event associated with a preset type of control, starts a polling listener corresponding to the interaction event, and when receiving a trigger signal sent by the polling listener, correspondingly processes the interaction event, wherein the polling listeners corresponding to different interaction events are different, and the time intervals at which the polling listeners send the trigger signal are different, that is, each interaction event individually corresponds to one polling listener, wherein different interaction events correspond to different polling listeners, and the time intervals at which the polling listeners send the trigger signal are different, so that each interaction event is monitored by the own polling listener, and the monitoring of each interaction event can have different time intervals, thereby flexibly controlling different interaction event processing modes, and meeting the requirements of different interaction scenes, so that the feedback of each interaction can fully express different emotions of the user.
As shown in fig. 1, the technical solution provided by the embodiment of the present disclosure includes:
s110: and determining an interaction event associated with the control of the preset type.
In this disclosure, the preset type of control may be a control that can generate an interactive response when being acted, and the preset type of control may be displayed on a live display interface, and the live display interface may include at least one preset type of control, for example, the preset type of control may be an expression control or another control used for interaction between a user and a main broadcast. The interaction event may be an event that occurs when a user interacts with a live display interface or may also be an event that occurs when a client interacts with a server. The interaction event associated with the preset type of control may be that the preset type of control is executed with a long press operation, or may also be that the client sends interaction data corresponding to the preset type of control to the server, or may also be that the client caches the interaction data sent by the server.
S120: starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, wherein different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different.
In this embodiment, each interactive event corresponds to one polling listener, different interactive events correspond to different polling listeners, and when an interactive event is determined to occur, the corresponding polling listener is started. Wherein the time intervals at which different poll listeners send trigger signals may not be the same.
Therefore, by starting the polling monitor corresponding to the interactive event, the processing of the interactive event under different scenes can be ensured to have different time intervals, the processing of the interactive event can be flexibly controlled, and the requirements of different interactive scenes are met.
In an implementation manner of the embodiment of the present disclosure, before starting the polling listener corresponding to the interaction event, the method may further include: the interaction event is bound to the polling listener. Specifically, the interaction events may correspond to polling listeners one-to-one, and each interaction event may correspond to a different polling listener. Therefore, by binding the interaction events with the polling listeners, different polling listeners can be started when different interaction events are triggered each time, and compared with a mode that the polling listeners monitor a plurality of interaction events in the related art, the polling listeners enable the monitoring and processing of each interaction event to be independent and not disturbed, subsequent optimization and improvement are facilitated, different interaction event processing modes can be flexibly controlled, the requirements of different interaction scenes can be met, and feedback brought by different interactions can be flexibly processed.
S130: and when a trigger signal sent by the polling listener is received, correspondingly processing the interaction event corresponding to the polling listener.
In the embodiment of the disclosure, when the client receives the trigger signal sent by the polling listener, the interaction event is processed, so that the interaction event is processed at intervals of a set time when the polling listener corresponding to the interaction event is started. The processing modes of different interaction events may be different, and the conditions for triggering the polling listener may also be different for different interaction events. When the interactive event is that a control of a preset type is executed with a long press operation, the client sends interactive data corresponding to the control of the preset type to the server, or the client receives the interactive data sent by the server, reference may be made to the following description of the embodiment for a corresponding processing manner of the interactive event.
It should be noted that the interactive events in the embodiment of the present disclosure may further include other events when the user interacts with the live display interface, or may further include other events when the client interacts with the server, and when the interactive events include the above other events, each of the other events may also be bound to an independent polling listener, so as to flexibly process feedback brought by the interactive events in different interactive scenes.
The interactive event processing method in the live broadcast room provided by the embodiment of the disclosure determines interactive events associated with preset types of controls, and starts the polling listeners corresponding to the interactive events, and correspondingly processes the interactive events when receiving trigger signals sent by the polling listeners, wherein different interactive events correspond to different polling listeners, and the time intervals at which each polling listener sends the trigger signals are different, that is, each interactive event corresponds to a polling listener independently, wherein different interactive events correspond to different polling listeners, and the time intervals at which each polling listener sends the trigger signals are different, so that each interactive event can be monitored by its own polling listener, and the monitoring of each interactive event can have different time intervals, thereby flexibly controlling different interactive event processing modes, the requirements of different interaction scenes can be met, and the feedback brought by different interactions can be flexibly processed, so that the feedback of each interaction can fully express different emotions of the user.
Fig. 2 is a flowchart of a live broadcast interactive event processing method provided in an embodiment of the present disclosure, which may be combined with alternatives in one or more of the foregoing embodiments, and in this embodiment, optionally,
according to the type of the interactive event, starting a polling listener corresponding to the interactive event, comprising:
if the interaction event is that the control of the preset type is executed with long-time press operation, starting a first polling listener; the first polling listener is used for sending a first trigger signal at intervals of a first set time;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
displaying preset elements on a live broadcast display interface according to a first preset rule when a first trigger signal sent by the first polling listener is received;
and/or the presence of a gas in the gas,
if the interaction event is the interaction data corresponding to the control of the preset type sent to the server by the client, starting a second polling listener; the second polling listener is configured to send a second trigger signal at a second set time interval;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
sending interaction data corresponding to the locally cached control of the preset type to a server when a second trigger signal sent by the second polling listener is received;
and/or the presence of a gas in the gas,
if the interaction event is interaction data sent by a client cache server and the number of the cached interaction data is greater than a preset number, starting a third polling monitor, wherein the third polling monitor is used for sending a third trigger signal every third set time;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
reading the cached interaction data each time a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data;
wherein the first set time, the second set time, and the third set time are different from each other.
As shown in fig. 2, the technical solution provided by this embodiment includes:
s210: and determining an interaction event associated with the control of the preset type.
S220: if the interaction event is that the control of the preset type is executed with long-time press operation, starting a first polling listener; wherein the first polling listener is configured to send a first trigger signal at a first set time interval,
the first setting time can be set as required.
S230: and displaying preset elements on a live broadcast display interface according to a first preset rule when a first trigger signal sent by the first polling listener is received.
In this embodiment, the client may display a preset element on the live broadcast display interface according to a first preset rule when receiving, by the controller, each time the first polling listener sends the first trigger signal, where the first rule may be set as needed, and the preset element may be an expressive object, such as a smiling face, a crying face, or a heart-shaped picture, or may be another object.
In an implementation manner of the embodiment of the present disclosure, optionally, when receiving the first trigger signal sent by the first polling listener, displaying a preset element on a live broadcast display interface according to a first preset rule, where the displaying includes: generating an animation path when first trigger signals sent by the first polling listener are received, wherein the animation paths generated by two adjacent first trigger signals are different; and playing the animation according to each animation path.
In this embodiment, when the client receives every trigger signal sent by the first polling listener through the controller, an animation path may be randomly generated. Wherein, each two adjacent animation paths generated can be different, or each animation path generated is different. The controller can be a functional module used for controlling and managing a live broadcast display interface in the client side, and can be destroyed when a user exits from a live broadcast room.
In this embodiment, the client may integrate at least two algorithms for generating an animation path, and one of the algorithms is used to generate an animation path at intervals of a first set time. The client may integrate a plurality of (for example, 8) algorithms for generating animation paths, and randomly generate one animation path by using one of the algorithms at intervals of the first set time, or generate different animation paths by using one of the algorithms by inputting different variables. In the animation path, the transparency, state, rotation angle, or the like of the animation object may be set. The animated object may be an expressive object, such as a smiling face, a crying face, or a heart-shaped picture, etc. The animation object may also be an object of other forms, and is not limited to an emoticon object.
In this embodiment, playing the animation according to each animation path, respectively, may include: and aiming at each animation path, playing the animation object along the animation path. Wherein the animation object can be determined by the control which is executed with long press operation. For example, if the long-press operation is an operation of long-press control a, the animation object corresponding to the control a may be a, and for each animation path, animation is played by a along each animation path. Therefore, when the first trigger signal of the first polling listener is received, the animation path is generated, namely different animation paths can be generated at intervals of a first fixed time, so that when the control with the interaction event of a preset type is executed long-time pressing operation, the animation object can be played along different animation paths, fatigue caused by long-time focusing of the long-time pressing operation is avoided, and the interestingness of the animation is improved.
S240: if the interaction event is the interaction data corresponding to the control of the preset type sent to the server by the client, starting a second polling listener; and the second polling listener is used for sending a second trigger signal at intervals of second set time.
In the embodiment of the present disclosure, the second setting time may be set as needed. When the user acts on the preset type of control on the live broadcast display interface, interactive data corresponding to the preset type of control can be generated. Specifically, the user can act on a preset type of control on the live display interface in a click or long-press mode, so as to generate interactive data. The client locally displays the preset elements according to the interactive data and preset rules, caches the interactive data and sends the cached interactive data to the server. When the client sends the interactive data to the server, a second polling listener can be started to send the interactive data at a second set time interval.
S250: and sending the interaction data corresponding to the locally cached control of the preset type to a server when a second trigger signal sent by the second polling listener is received.
In the embodiment of the present disclosure, when a trigger signal sent by the second polling listener is received, the locally cached interaction data is sent to the server, that is, the locally cached interaction data is sent to the server every second set time, so that the server distributes the interaction data to each client, and thus each client displays the preset element according to the received interaction data and according to the third preset rule, and the user can view the interaction response lighted by other users at the client.
Therefore, the client can send the interactive data to the server at intervals of second set time by starting the second polling listener, and when the interactive data is generated at high frequency, the frequency of processing the data by the server can be controlled, so that the data processing pressure of the server can be reduced.
S260: and if the interaction event is interaction data sent by the client cache server and the number of the cached interaction data is greater than the preset number, starting a third polling monitor, wherein the third polling monitor is used for sending a third trigger signal every third set time.
The third setting time can be set according to needs, the preset number can also be set according to needs, and optionally, the preset number can be 1.
In this embodiment, optionally, the client may buffer the interactive data sent by the server into the data queue, and detect whether the number of the interactive data in the data queue is greater than one; if yes, starting a third polling listener, and sending a third trigger signal once every third set time through the third polling listener. Optionally, if there is only one interactive data in the data queue, the interactive data may be directly processed, and a third polling listener may not be started.
S270: reading the cached interaction data each time a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data; wherein the first set time, the second set time, and the third set time are different from each other.
And the client reads the cached interactive data every time the client receives a third trigger signal sent by a third polling listener through the controller, and the read interactive data displays the preset elements on the live broadcast display interface according to a third preset rule.
Optionally, in one mode of the embodiment of the present disclosure, whenever a third trigger signal sent by the third polling listener is received, the cached interaction data is read; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data, wherein the steps of: reading the cached interaction data and generating an animation path when a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, determining an animation object according to the read interactive data; and playing the animation object along the animation path, and displaying.
Specifically, when the client reads the interactive data each time a third trigger signal sent by a third polling listener is received, the animation object is determined according to the read interactive data, and an animation path may be randomly generated; and playing the animation object along the animation path. The interactive data may include control identification information corresponding to the interactive data type information, and the control identification information may be expression identification information or other identification information. For example, an animation object may be determined according to control identification information in the interaction data, and if the control identification is expression identification information, the animation object may be an expression object.
In this embodiment, optionally, the client may buffer the interactive data sent by the server into a data buffer queue, and when the client receives a trigger signal sent by the third polling listener through the controller, the client reads the interactive data from the data buffer queue according to the sequence of the queue, generates an animation according to the interactive data, and displays the animation, that is, processes one interactive data in the data queue according to the sequence at every third set time.
Therefore, in this embodiment, by starting the third polling listener, the cached interactive data sent by the server is processed at intervals of the third set time, so that the frequency of processing the interactive data by the client can be controlled, and the phenomenon that the resource of the client is insufficient due to simultaneous processing of a large amount of interactive data can be avoided.
In the embodiment of the present disclosure, the first setting time, the second setting time, and the third setting time are different from each other, that is, when it is detected that the preset type control is executed to perform the long-press operation, a time interval of displaying the preset element according to the first preset rule on the live broadcast display interface, a time interval of sending the interactive data to the server by the client, and a time interval of displaying the preset element according to the third preset rule on the live broadcast display interface by the client according to the interactive data sent by the server are different from each other. When detecting that the control of the preset type is executed for a long time, the time interval of displaying the preset elements on the live broadcast display interface according to the first preset rule is different from the time interval of generating the animation by the client according to the interactive data sent by the server, so that the user can distinguish interactive responses of own lighting and lighting of other people in the live broadcast room conveniently, the interestingness of the live broadcast room can be increased, and the emotion of the user can be fully expressed.
Optionally, the first setting time may be less than the third setting time, that is, when it is detected that the preset type control is executed to perform the long-time pressing operation, a time interval of displaying the preset element on the live broadcast display interface according to the first preset rule is less than a time interval of displaying the preset element on the live broadcast display interface according to the third preset rule by the client according to the interactive data sent by the server. In order to fully express the strong emotion of the user, the user can press a control of a preset type on the live broadcast display interface for a long time. And when detecting that the control of the preset type is executed with long-time pressing operation, the client displays the preset element on the live broadcast display interface according to a first preset rule. If the time interval of the preset elements is displayed on the live broadcast display interface according to the first preset rule and is smaller than the time interval of the preset elements displayed on the live broadcast display interface according to the third preset rule by the client according to the interactive data sent by the server, the display frequency of the lighting interactive response of the user on the display interface of the live broadcast room can be higher than that of the lighting interactive response of other people, the interestingness of the live broadcast room can be improved, and the user can distinguish the lighting interactive response of the user and the lighting interactive response of other people more easily.
In this embodiment of the present disclosure, optionally, the first set time may be less than the second set time, that is, when it is detected that the preset type control is executed to perform the long-press operation, a time interval of displaying the preset element on the live broadcast display interface according to the first preset rule is less than a time interval of the interactive data sent by the client to the server. In order to sufficiently express the strong emotion of the user, the first set time may be set to be smaller than a first preset time threshold, and the first preset time threshold may be set as needed. The user can press the preset type of control on the live display interface for a long time, when the client detects that the preset type of control is executed to press for a long time, the time interval for displaying the preset elements on the live display interface according to the first preset rule is smaller than a first preset time threshold, and the first preset time threshold is shorter, so that the user can watch the interactive response with the shorter display interval, namely the user can watch the interactive response with continuous display. However, in order to control the frequency of sending the interactive data from the client to the server, the time interval between the client and the server needs to be greater than a second preset time threshold, where the second time threshold is greater than the first time threshold. Namely, the time interval for sending the interactive data to the server by the client is longer, so that the data processing pressure of the server can be reduced. Therefore, when it is detected that the control of the preset type is executed with the long-time pressing operation, the time interval of displaying the preset elements on the live broadcast display interface according to the first preset rule needs to be smaller than the time interval of the interactive data sent by the client to the server.
Therefore, different polling listeners monitor different interactive events, different time intervals are set for monitoring each interactive event, the processing interval of each interactive event can be flexibly controlled, the requirements of different interactive scenes are met, the emotion of a user can be fully expressed by feedback of each kind of interaction, and the feedback brought by different interactive events can be flexibly processed, for example, the display frequency of the interactive response of the user self long-pressing operation feedback and the display frequency of the other lighting interactive response (the display frequency of the interactive data generating animation sent by a client processing server) are different, compared with the prior art that the same polling listener is adopted, the condition that the display frequency of the user self lighting interactive response and the display frequency of the other lighting interactive response are the same can be avoided, thereby enriching the lighting function in a live broadcast room, the interest of the live broadcast room is increased.
It should be noted that, in the live broadcast interactive event processing method disclosed in the embodiment of the present disclosure, an example shows a case where three interactive events occur simultaneously in one embodiment, but this embodiment is merely an example, and in other embodiments of the present disclosure, any one of the three interactive events or any two of the three interactive events may also occur simultaneously.
Fig. 3 is a flowchart of a live broadcast room interaction event processing method provided in an embodiment of the present disclosure, which may be combined with an alternative in one or more of the embodiments described above;
optionally, when the first trigger signal sent by the first polling listener is received, displaying a preset element on a live broadcast display interface according to a first preset rule, where the displaying includes:
generating an animation path when first trigger signals sent by the first polling listener are received, wherein the animation paths generated by two adjacent first trigger signals are different;
and playing the animation according to each animation path.
Optionally, the cached interaction data is read whenever a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data, wherein the steps of:
reading the cached interaction data and generating an animation path when a third trigger signal sent by the third polling listener is received;
if the read interactive data are interactive data generated by other clients, determining an animation object according to the read interactive data;
and playing the animation object along the animation path, and displaying.
As shown in fig. 3, the technical solution provided by this embodiment includes:
s310: and determining the determined interaction event associated with the control of the preset type.
S320: if the interaction event is that the control of the preset type is executed with long-time press operation, starting a first polling listener; the first polling listener is used for sending a first trigger signal at intervals of a first set time.
S330: and generating an animation path each time a first trigger signal sent by the first polling listener is received, wherein the animation paths generated by two adjacent first trigger signals are different.
In this embodiment, each time the client receives the first trigger signal sent by the first polling listener through the controller, an animation path may be randomly generated. Wherein, each two adjacent animation paths generated can be different, or each animation path generated is different. The controller can be used for controlling and managing a live broadcast display interface, and when a user exits from a live broadcast room, the controller can be destroyed.
In this embodiment, the client may integrate at least two algorithms for generating an animation path, and one of the algorithms is used to generate an animation path at intervals of a first set time. The client may be integrated with multiple (for example, 8) algorithms for generating animation paths, and one of the algorithms is randomly used to generate an animation path at every first set time. In the animation path, the transparency, state, rotation angle, or the like of the animation object may be set. The animated object may be an expressive object, such as a smiling face, a crying face, or a heart-shaped picture, etc. The animation object may also be an object of other forms, and is not limited to an emoticon object.
Therefore, when the trigger signal of the first polling listener is received, the animation path is generated, namely different animation paths can be generated at intervals of a first fixed time, so that when the interaction event is long-time pressing operation, the animation object can be played along different animation paths, the fatigue caused by long-time focusing of the long-time pressing operation is avoided, and the interestingness of the animation is improved.
S340: and playing the animation according to each animation path.
In this embodiment, playing the animation according to each animation path, respectively, may include: and aiming at each animation path, playing the animation object along the animation path. Wherein the animation object can be determined by the control which is executed with long press operation. For example, if the long-press operation is an operation of long-press control a, the animation object corresponding to the control a may be a, and for each animation path, animation is played by a along each animation path.
In an implementation manner of the embodiment of the present disclosure, optionally, generating an animation path each time a first trigger signal sent by a first polling listener is received, includes: generating an animation path on the UI thread when a first trigger signal sent by a first polling listener is received; correspondingly, playing the animation according to each animation path respectively, comprising: and respectively playing the animation on the UI thread according to each animation path. The animation path can be generated on the UI thread at intervals of first set time through the controller, and playing is performed on the UI thread through the controller according to the animation paths. Therefore, by generating an animation path on the UI thread and playing the animation, caching the interactive data, sending the cached interactive data, receiving the interactive data sent by the server and other operations are realized on the non-UI thread, the data processing efficiency can be improved, and the phenomenon of page jamming can be avoided.
S350: if the interaction event is the interaction data corresponding to the control of the preset type sent to the server by the client, starting a second polling listener; and the second polling listener is used for sending a second trigger signal at intervals of second set time.
When a user operates a preset type of control of the live display interface, interactive data corresponding to the preset type of control can be generated. Specifically, the user can act on a preset type of control on the live display interface in a click or long-press mode, so as to generate interactive data. The client side can generate animation locally according to the interactive data and display the animation, and the client side can cache the interactive data and send the cached interactive data to the server. When the client sends the interactive data to the server, a second polling listener can be started to send the interactive data at a second set time interval. The second setting time may be set as needed.
S360: and sending the locally cached interaction data to a server when a second trigger signal sent by the second polling listener is received.
In the embodiment of the present disclosure, when a second trigger signal sent by a second polling listener is received, the locally cached interaction data is sent to the server, that is, the locally cached interaction data is sent to the server every second set time, so that the server distributes the interaction data to each client, and thus each client generates an animation according to the received interaction data and displays the animation, so that a user can view the animation lighted by other users at the client.
Therefore, the client can send the interactive data to the server at intervals of second set time by starting the second polling listener, and when the interactive data is generated at high frequency, the frequency of processing the data by the server can be controlled, so that the data processing pressure of the server can be reduced.
In an implementation manner provided by the embodiment of the present disclosure, optionally, the sending the locally cached interaction data to the server each time the trigger signal sent by the polling listener is received includes: detecting whether interactive data exists in a local cache data queue or not when a trigger signal sent by the second polling listener is received; and if so, sending the interactive data in the cache data queue to a server. The client can cache locally generated interactive data into a cache data queue, detect the cache data queue every time a trigger signal sent by the second polling listener is received, and send the interactive data to the server if the interactive data exists in the cache data queue. If the interactive data does not exist in the cache data queue, the operation of sending the interactive data can be omitted, and the operation of detecting whether the interactive data exists in the local cache data queue is returned, so that the locally generated interactive data is sent to the server every second set time.
S370: and if the interaction event is interaction data sent by the client cache server and the number of the cached interaction data is greater than the preset number, starting a third polling monitor, wherein the third polling monitor is used for sending a third trigger signal every third set time.
S380: and generating animation paths when receiving the trigger signals sent by the third polling listener, and playing the animation according to each animation path. And animation paths triggered and generated by two adjacent first trigger signals are different.
Wherein the first setting time, the second setting time and the third setting time are different from each other.
And the client reads one piece of cached interactive data through the controller every time the third trigger signal sent by the third polling listener is received, generates animation according to the interactive data, and displays the animation, namely processes one piece of interactive data at every third set time. Specifically, when the client reads the interactive data through the controller, an animation path is randomly generated, the animation object is determined according to the interactive data, and the animation object is played along the animation path. The interaction data may include control identification information, and the control identification may be expression identification information or other identification information. For example, an animation object may be determined according to control identification information in the interaction data, and if the control identification information is expression identification information, the animation object may be an expression object.
In this embodiment, if the client buffers the interactive data sent by the server in the data queue, the client reads the interactive data from the data queue according to the sequence of the queue through the controller each time when receiving a third trigger signal sent by a third polling listener, generates an animation according to the interactive data, and displays the animation, that is, processes one interactive data in the data queue at every third set time.
Therefore, in this embodiment, by starting the third polling listener, the cached interactive data sent by the server is processed at intervals of the third set time, so that the frequency of processing the interactive data by the client can be controlled, and the phenomenon that the resource of the client is insufficient due to simultaneous processing of a large amount of interactive data can be avoided.
In this embodiment, the first setting time, the second setting time, and the third setting time are different, that is, when it is detected that the preset type of control is executed with a long press operation, a time interval for generating an animation, a time interval for sending the interactive data from the client to the server, and a time interval for generating an animation by the client according to the interactive data sent by the server are different. When detecting that the control of the preset type is executed for a long time, the time interval for generating the animation is different from the time interval for generating the animation by the client according to the interactive data sent by the server, so that the user can distinguish the animation lighted by the user and the animation lighted by other people in the live broadcast room, the interestingness of the live broadcast room can be increased, and the emotion of the user can be fully expressed.
Optionally, the first set time may be shorter than the third set time, that is, when it is detected that the preset type of control is executed with a long press operation, a time interval for generating the animation is shorter than a time interval for the client to generate the animation according to the interactive data sent by the server. In order to fully express the strong emotion of the user, the user can press the control on the live display interface for a long time. The client side can generate the animation when detecting that the control of the preset type is executed with the long-press operation. If the client detects that the preset type control is executed for a long time, the time interval of the animation can be generated, which is smaller than the time interval of the animation generated by the client according to the interactive data sent by the server, so that the display frequency of the self-lighted animation watched by the user on the display interface of the live broadcast room is higher than that of the other-lighted animation, the interestingness of the live broadcast room can be improved, and the user can distinguish the self-lighted animation from the other-lighted animation more easily.
In this embodiment of the present disclosure, optionally, the first set time may be less than the second set time, that is, when it is detected that the preset type of control is executed to perform the long-press operation, a time interval for generating the animation is less than a time interval for sending the interactive data to the server by the client. In order to sufficiently express the strong emotion of the user, the first set time may be set to be smaller than a first preset time threshold, and the first preset time threshold may be set as needed. The user can press the preset type of control on the live display interface for a long time, when the client detects that the preset type of control is executed to perform the long-press operation, the time interval for generating the animation is smaller than a first preset time threshold value, and the first preset time threshold value is shorter, so that the user can watch the animation with the smaller display interval, namely the user can watch the animation which is continuously displayed. However, in order to control the frequency of sending the interactive data from the client to the server, the time interval between sending the interactive data from the client to the server needs to be greater than a second time threshold, which is greater than the first time threshold. That is, the time interval for sending the interactive data to the server by the client is longer, so that the data processing pressure of the server can be reduced.
Therefore, different interaction events are monitored by different polling monitors, different time intervals are set for monitoring of each interaction event, the processing interval of each interaction event can be flexibly controlled, the requirements of different interaction scenes are met, the emotion of a user can be fully expressed by feedback of each interaction, and animation feedback brought by different interaction events can be flexibly processed, for example, the display frequency of the animation which is fed back by the user according to the long press operation is different from the display frequency of the animation which is lighted by other people (the display frequency of the animation generated by the interaction data sent by a client processing server), compared with the prior art which adopts the same polling monitor, the condition that the display frequency of the animation which is lighted by the user is the same as the display frequency of the animation which is lighted by other people can be avoided, so that the function of lighting the animation in a live broadcast room is enriched, the interest of the live broadcast room is increased.
Fig. 4 is a block diagram of a device for processing an interaction event in a live broadcast room according to an embodiment of the present disclosure, where the device is applied in a scenario where a user locally triggers a control of a preset type on a live broadcast display interface at a client, and/or other users in the live broadcast room trigger a control of a preset type on respective client-triggered live broadcast display interfaces. As shown in fig. 4, the apparatus provided in the embodiment of the present disclosure includes a determining module 510, an initiating module 520, and a processing module 530.
The determining module 510 is configured to determine an interaction event associated with the preset type of control;
a starting module 520, configured to start a polling listener corresponding to an interaction event according to the type of the interaction event; the polling listener is used for sending a trigger signal at set time intervals; different interaction events correspond to different polling listeners, and the time intervals for sending trigger signals by the polling listeners are different;
the processing module 530 is configured to, when receiving the trigger signal sent by the polling listener, perform corresponding processing on the interaction event corresponding to the polling listener.
Optionally, the starting module 520 is configured to start the first polling listener if the interaction event is that the preset type of control is executed with a long-press operation; the first polling listener is used for sending a first trigger signal at intervals of a first set time;
the processing module 530 is configured to display a preset element on a live broadcast display interface according to a first preset rule whenever a first trigger signal sent by the first polling listener is received;
and/or the presence of a gas in the gas,
the starting module 520 is configured to start a second polling listener if the interaction event is that the client sends interaction data corresponding to the preset type of control to the server; the second polling listener is configured to send a second trigger signal at a second set time interval;
the processing module 530 is configured to send, to the server, the interaction data corresponding to the locally cached control of the preset type whenever a second trigger signal sent by the second polling listener is received;
and/or the presence of a gas in the gas,
the starting module 520 is configured to start a third polling listener if the interaction event is interaction data sent by a client cache server and the number of the cached interaction data is greater than a preset number, where the third polling listener is configured to send a third trigger signal every third set time;
the processing module 530 is configured to read the cached interaction data each time a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data;
wherein the first set time, the second set time, and the third set time are different from each other.
Optionally, the processing module 530 is configured to generate an animation path each time a first trigger signal sent by the first polling listener is received, where animation paths generated by two adjacent first trigger signals are different;
and playing the animation according to each animation path.
Optionally, the processing module 530 is configured to detect whether there is interactive data in a local cache data queue when receiving a second trigger signal sent by the second polling listener;
and if so, sending the interactive data in the cache data queue to the server.
Optionally, the cached interaction data is read whenever a third trigger signal sent by the third polling listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data, wherein the steps of:
reading the cached interaction data and generating an animation path when a third trigger signal sent by the third polling listener is received;
if the read interactive data are interactive data generated by other clients, determining an animation object according to the read interactive data;
and playing the animation object along the animation path, and displaying.
The apparatus further comprises a binding module for binding the interaction event with the polling listener.
The device can execute the method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of an apparatus provided in an embodiment of the present disclosure. FIG. 5 illustrates a block diagram of an exemplary device 812 suitable for use in implementing embodiments of the present disclosure. The device 812 shown in fig. 5 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present disclosure.
As shown in FIG. 5, device 812 may take the form of a general purpose computing device. Components of device 812 may include, but are not limited to: one or more processors or processing units 816, a system memory 828, and a bus 818 that couples various system components including the system memory 828 and the processing unit 816.
Bus 818 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 812 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 812 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 828 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)830 and/or cache memory 832. Device 812 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 834 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, often referred to as a "hard disk drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 818 by one or more data media interfaces. Memory 828 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 840 having a set (at least one) of program modules 842, which may be stored for example in memory 828, such program modules 842 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 842 generally perform the functions and/or methods of the embodiments described in this disclosure.
Device 812 may also communicate with one or more external devices 814 (e.g., keyboard, pointing device, display 824, etc.), with one or more devices that enable a user to interact with device 812, and/or with any devices (e.g., network card, modem, etc.) that enable device 812 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 822. Also, device 812 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network such as the Internet) through network adapter 820. As shown, the network adapter 820 communicates with the other modules of the device 812 over the bus 818. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with device 812, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 816 executes various functional applications and data processing by executing programs stored in the system memory 828, for example, to implement a live broadcast interactive event processing method provided by the embodiment of the present disclosure. Namely:
determining an interaction event associated with the preset type of control;
starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different;
and when a trigger signal sent by the polling listener is received, correspondingly processing the interaction event corresponding to the polling listener.
The disclosed embodiments provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a live broadcast room interaction event processing method as provided by the disclosed embodiments:
determining an interaction event associated with the preset type of control;
starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different;
and when a trigger signal sent by the polling listener is received, correspondingly processing the interaction event corresponding to the polling listener.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the particular embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (10)

1. A live broadcast room interactive event processing method is applied to a scene that a user locally triggers a control of a preset type on a live broadcast display interface at a client side and/or other users in a live broadcast room trigger the control of the preset type on the live broadcast display interface at respective client sides, and the method comprises the following steps:
determining an interaction event associated with the preset type of control;
starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different;
when a trigger signal sent by the polling listener is received, the interaction event corresponding to the polling listener is correspondingly processed;
according to the type of the interactive event, starting a polling listener corresponding to the interactive event, comprising:
if the interaction event is that the control of the preset type is executed with long-time press operation, starting a first polling listener; the first polling listener is used for sending a first trigger signal at intervals of a first set time;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
displaying preset elements on a live broadcast display interface according to a first preset rule when a first trigger signal sent by the first polling listener is received;
and/or the presence of a gas in the gas,
if the interaction event is interaction data sent by a client cache server and the number of the cached interaction data is greater than a preset number, starting a third polling monitor, wherein the third polling monitor is used for sending a third trigger signal every third set time;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
reading the cached interaction data each time a third trigger signal sent by the third polling listener is received; and if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data.
2. The method of claim 1,
according to the type of the interactive event, starting a polling listener corresponding to the interactive event, comprising:
if the interaction event is the interaction data corresponding to the control of the preset type sent to the server by the client, starting a second polling listener; the second polling listener is configured to send a second trigger signal at a second set time interval;
when receiving the trigger signal sent by the polling listener, the processing the interaction event corresponding to the polling listener correspondingly includes:
sending interaction data corresponding to the locally cached control of the preset type to a server when a second trigger signal sent by the second polling listener is received;
wherein the first set time, the second set time, and the third set time are different from each other.
3. The method according to claim 2, wherein displaying preset elements on a live display interface according to a first preset rule each time a first trigger signal sent by the first polling listener is received, comprises:
generating an animation path when first trigger signals sent by the first polling listener are received, wherein the animation paths generated by two adjacent first trigger signals are different;
and playing the animation according to each animation path.
4. The method of claim 2, wherein sending the locally cached interaction data to a server each time a second trigger signal sent by the second poll listener is received comprises:
detecting whether interactive data exists in a local cache data queue or not when a second trigger signal sent by the second polling listener is received;
and if so, sending the interactive data in the cache data queue to the server.
5. The method of claim 2, wherein the buffered interaction data is read whenever a third trigger signal sent by the third poll listener is received; if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data, wherein the steps of:
reading the cached interaction data and generating an animation path when a third trigger signal sent by the third polling listener is received;
if the read interactive data are interactive data generated by other clients, determining an animation object according to the read interactive data;
and playing the animation object along the animation path, and displaying.
6. The method of claim 1, further comprising:
and binding the interaction event with the polling listener.
7. The utility model provides a live broadcast room interactive event processing apparatus, its characterized in that, the device is applied to the scene that the user triggered the control of preset type on the live broadcast display interface at the client locally, and/or other users in the live broadcast room triggered the control of preset type on the live broadcast display interface at respective client, the device includes:
the determining module is used for determining an interaction event associated with the control of the preset type;
the starting module is used for starting a polling monitor corresponding to the interactive event according to the type of the interactive event; the polling listeners are used for sending trigger signals at set time intervals, different interaction events correspond to different polling listeners, and the time intervals for sending the trigger signals by the polling listeners are different;
the processing module is used for correspondingly processing the interaction event corresponding to the polling listener when receiving the trigger signal sent by the polling listener;
the starting module is used for starting a first polling listener if the interaction event is that the preset type of control is executed with long-time pressing operation; the first polling listener is used for sending a first trigger signal at intervals of a first set time;
the processing module is used for displaying preset elements on a live broadcast display interface according to a first preset rule when receiving a first trigger signal sent by the first polling listener;
the starting module is configured to start a third polling listener if the interaction event is interaction data sent by a client cache server and the number of the cached interaction data is greater than a preset number, where the third polling listener is configured to send a third trigger signal every third set time;
the processing module is used for reading the cached interaction data when receiving a third trigger signal sent by the third polling listener; and if the read interactive data are interactive data generated by other clients, displaying preset elements on a live broadcast display interface according to a third preset rule according to the read interactive data.
8. The apparatus of claim 7,
the starting module is used for starting a second polling listener if the interaction event is that the client sends interaction data corresponding to the preset type of control to the server; the second polling listener is configured to send a second trigger signal at a second set time interval;
the processing module is used for sending the interaction data corresponding to the locally cached control of the preset type to a server when a second trigger signal sent by the second polling listener is received;
wherein the first set time, the second set time, and the third set time are different from each other.
9. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a live-room interaction event processing method as recited in any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a live room interaction event processing method according to any one of claims 1-6.
CN201811648150.8A 2018-12-29 2018-12-29 Live broadcast room interactive event processing method, device, equipment and storage medium Active CN109729410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811648150.8A CN109729410B (en) 2018-12-29 2018-12-29 Live broadcast room interactive event processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811648150.8A CN109729410B (en) 2018-12-29 2018-12-29 Live broadcast room interactive event processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109729410A CN109729410A (en) 2019-05-07
CN109729410B true CN109729410B (en) 2022-03-04

Family

ID=66298622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811648150.8A Active CN109729410B (en) 2018-12-29 2018-12-29 Live broadcast room interactive event processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109729410B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697694A (en) * 2022-03-24 2022-07-01 上海哔哩哔哩科技有限公司 Interactive processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
CN107491488A (en) * 2017-07-18 2017-12-19 北京京东尚科信息技术有限公司 The method and apparatus of page data collection
CN107656783A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN109002249A (en) * 2017-05-31 2018-12-14 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and the system of present double hit are realized by long-pressing gesture

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7668928B2 (en) * 2001-03-13 2010-02-23 Goldpocket Interactive Inc. System and method for recording and playing back interactive content during a broadcast event
US20080117933A1 (en) * 2006-11-10 2008-05-22 Ubroadcast, Inc. Internet broadcasting
CN101064619B (en) * 2007-05-25 2010-11-17 上海众恒信息产业股份有限公司 Resource management platform having topics distribution function and its method
US20110307917A1 (en) * 2010-06-11 2011-12-15 Brian Shuster Method and apparatus for interactive mobile coupon/offer delivery, storage and redemption system
CN103049164B (en) * 2011-10-14 2017-09-19 上海可鲁系统软件有限公司 The method and its control device of a kind of dynamic vector graphics quick response operation
CN106155662B (en) * 2015-04-15 2019-11-15 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN105872853A (en) * 2016-05-27 2016-08-17 乐视控股(北京)有限公司 Polling control method, device and system
CN105897770B (en) * 2016-06-20 2018-11-27 武汉斗鱼网络科技有限公司 A kind of virtual gift display method and device based on live streaming
CN106326016A (en) * 2016-07-28 2017-01-11 武汉票据交易中心有限公司 Multi-thread event dispatching method and system
CN108924661B (en) * 2018-07-12 2020-02-18 北京微播视界科技有限公司 Data interaction method, device, terminal and storage medium based on live broadcast room

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
CN107656783A (en) * 2016-07-25 2018-02-02 武汉票据交易中心有限公司 A kind of flow path processing method and system based on event
CN109002249A (en) * 2017-05-31 2018-12-14 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and the system of present double hit are realized by long-pressing gesture
CN107491488A (en) * 2017-07-18 2017-12-19 北京京东尚科信息技术有限公司 The method and apparatus of page data collection

Also Published As

Publication number Publication date
CN109729410A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN108763012B (en) Card pause information acquisition method and device and terminal
CN110351572B (en) Method, device and equipment for updating live broadcast room information and storage medium
US8806518B2 (en) Performance analysis for combining remote audience responses
JP6127150B2 (en) Send notifications to multiple devices associated with a user
CN112416284B (en) Method, apparatus, device and storage medium for sharing screen
US9686510B1 (en) Selectable interaction elements in a 360-degree video stream
CN111565334A (en) Live broadcast playback method, device, terminal, server and storage medium
US20140208211A1 (en) Allowing Web Meeting Attendees to Navigate Content During a Presentation
CN112866809B (en) Video processing method, device, electronic equipment and readable storage medium
WO2020135776A1 (en) Interaction data transmission method, device, terminal and server
US20160259512A1 (en) Information processing apparatus, information processing method, and program
CN114727146B (en) Information processing method, device, equipment and storage medium
CN110362288B (en) Same-screen control method, device, equipment and storage medium
US20170353740A1 (en) Method, apparatus and system for playing multimedia file
CN112822431B (en) Method and equipment for private audio and video call
CN113596488B (en) Live broadcast room display method and device, electronic equipment and storage medium
CN109032732B (en) Notification display method and device, storage medium and electronic equipment
CN114748873B (en) Interface rendering method, device, equipment and storage medium
CN109729410B (en) Live broadcast room interactive event processing method, device, equipment and storage medium
CN109831673B (en) Live broadcast room data processing method, device, equipment and storage medium
CN113536147B (en) Group interaction method, device, equipment and storage medium
US11294474B1 (en) Controlling video data content using computer vision
US11064259B2 (en) Interaction data distribution control method, apparatus, electronic device, and storage medium
US11209902B2 (en) Controlling input focus based on eye gaze

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant