CN112752114A - Method and device for generating live broadcast playback interactive message, server and storage medium - Google Patents
Method and device for generating live broadcast playback interactive message, server and storage medium Download PDFInfo
- Publication number
- CN112752114A CN112752114A CN202011588319.2A CN202011588319A CN112752114A CN 112752114 A CN112752114 A CN 112752114A CN 202011588319 A CN202011588319 A CN 202011588319A CN 112752114 A CN112752114 A CN 112752114A
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- long connection
- target
- interactive message
- broadcast room
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present disclosure relates to a method, an apparatus, a server and a storage medium for generating a live playback interactive message, wherein the method comprises: acquiring the play type of a current live broadcast room; if the broadcasting type belongs to the target broadcasting type, determining a target long connection server which is associated with the current live broadcasting room and is used for connecting the audience terminals from a plurality of long connection servers which are corresponding to the current live broadcasting room and are used for connecting the audience terminals; acquiring an interactive message sent by a target long connection server from a message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers used for connecting audience terminals and corresponding to the current live broadcast room, and the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room; and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message. By adopting the method, the playback interactivity of the live video played by the non-mobile terminal is improved.
Description
Technical Field
The present disclosure relates to the field of live broadcast technologies, and in particular, to a method, an apparatus, a server, and a storage medium for generating a live broadcast playback interactive message.
Background
In the process of network live broadcast, the anchor can carry out live broadcast at the anchor end, and audiences can watch the live broadcast at the audience end in real time. In addition, in the process of watching the live video, the audience can interact with the anchor in real time; for example, the audience can send an interactive message to the anchor end through the audience end to comment on the live video, like a comment or give a gift to the anchor end; meanwhile, during live playback, the audience also hopes to watch the interactive message sent from the audience end to the anchor end in the live process.
However, for live broadcast of a non-mobile terminal, such as live cloud broadcast started by a non-mobile phone, the anchor terminal cannot be connected to the long connection server, and thus a live playback interactive message cannot be generated, which results in poor playback interactivity of live video broadcast by the non-mobile terminal.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a server, and a storage medium for generating a live playback interactive message, so as to at least solve the problem in the related art that playback interactivity of a live video played by a non-mobile terminal is poor. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for generating a live playback interactive message is provided, including:
acquiring the play type of a current live broadcast room;
if the broadcasting type belongs to a target broadcasting type, determining a target long connection server which is associated with the current live broadcasting room and is used for connecting audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcasting room;
acquiring the interactive message sent by the target long connection server from the message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers connected with audience terminals and corresponding to the current live broadcast room, wherein the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room;
and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message.
In an exemplary embodiment, the obtaining the type of play of the current live broadcast room includes:
acquiring a live broadcast address of the current live broadcast room;
extracting feature information of the live broadcast address;
and inquiring the matching relation between the characteristic information of a preset live broadcast address and the broadcasting type to obtain the broadcasting type matched with the live broadcast address as the broadcasting type of the current live broadcast room.
In an exemplary embodiment, before determining, if the play type belongs to a target play type, a target long connection server for connecting the audience terminal, which is associated with the current live broadcast room, from among a plurality of long connection servers for connecting the audience terminal corresponding to the current live broadcast room, the method further includes:
if the broadcasting type belongs to the target broadcasting type, generating an instruction containing a live broadcast identification of the current live broadcast room;
distributing the instruction to the long connection servers for connecting the audience terminals, so that each long connection server receiving the instruction tries to lock the live broadcast identification;
receiving a locking result returned by the long connection server which successfully locks the live broadcast identification; the locking result comprises a long connection server identifier of a long connection server which successfully locks the live broadcast identifier;
and taking the long connection server identification in the locking result as a target long connection server identification matched with the live broadcast identification.
In an exemplary embodiment, if the play type belongs to a target play type, determining a target long connection server, which is associated with the current live broadcast room and is used for connecting the audience terminal, from a plurality of long connection servers, which are used for connecting the audience terminal, corresponding to the current live broadcast room, includes:
and if the broadcasting type belongs to a target broadcasting type, determining a long connection server to which the target long connection server identifier belongs from a plurality of long connection servers used for connecting audience terminals and corresponding to the current live broadcasting room, and using the long connection server as a target long connection server which is associated with the current live broadcasting room and used for connecting the audience terminals.
In an exemplary embodiment, the generating a live playback interactive message of the current live broadcast room according to the target interactive message includes:
acquiring the sending time of the target interaction message;
determining the display time of the target interaction message in the playback video of the current live broadcast room according to the sending time of the target interaction message;
and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message and the corresponding display time.
In an exemplary embodiment, after generating the live playback interactive message of the current live broadcast room according to the target interactive message, the method further includes:
acquiring a live broadcast playback interactive message of the current live broadcast room;
sending the live playback interactive message to a target terminal, so that the target terminal displays the live playback interactive message when playing a playback video of the current live broadcast room; and the target terminal is a terminal requesting to play the playback video of the current live broadcast room.
In an exemplary embodiment, after generating the live playback interactive message of the current live broadcast room according to the target interactive message, the method further includes:
detecting whether the target long connection server is in a survival state or not according to a preset frequency;
and if the target long connection server is not in a survival state, determining the target long connection server which is associated with the current live broadcast room and is used for connecting the audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcast room again.
In an exemplary embodiment, the target playback type is used for describing playback of a live broadcast room through a web page or a cloud platform.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for generating a live playback interactive message, including:
the broadcasting type acquisition unit is configured to acquire the broadcasting type of the current live broadcasting room;
the server determining unit is configured to determine a target long connection server which is associated with the current live broadcast room and is used for connecting the audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcast room if the broadcast type belongs to a target broadcast type;
the interactive message acquisition unit is configured to acquire the interactive message sent by the target long connection server from a message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers connected with audience terminals and corresponding to the current live broadcast room, wherein the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room;
and the interactive message generating unit is configured to execute the generation of the live broadcast playback interactive message of the current live broadcast room according to the target interactive message.
In an exemplary embodiment, the broadcast type obtaining unit is further configured to perform obtaining a live address of the current live broadcast room; extracting feature information of the live broadcast address; and inquiring the matching relation between the characteristic information of a preset live broadcast address and the broadcasting type to obtain the broadcasting type matched with the live broadcast address as the broadcasting type of the current live broadcast room.
In an exemplary embodiment, the apparatus further includes an associated instruction distribution unit configured to execute an instruction to generate a live broadcast identifier including the current live broadcast room if the broadcast type belongs to the target broadcast type; distributing the instruction to the long connection servers for connecting the audience terminals, so that each long connection server receiving the instruction tries to lock the live broadcast identification; receiving a locking result returned by the long connection server which successfully locks the live broadcast identification; the locking result comprises a long connection server identifier of a long connection server which successfully locks the live broadcast identifier; and taking the long connection server identification in the locking result as a target long connection server identification matched with the live broadcast identification.
In an exemplary embodiment, the server determining unit is further configured to determine, if the playback type belongs to a target playback type, a target long connection server to which the target long connection server identifier belongs, from among a plurality of long connection servers for connecting to the audience terminals corresponding to the current live broadcast room, as a target long connection server for connecting to the audience terminals associated with the current live broadcast room.
In an exemplary embodiment, the interactive message generating unit is further configured to execute acquiring a sending time of the target interactive message; determining the display time of the target interaction message in the playback video of the current live broadcast room according to the sending time of the target interaction message; and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message and the corresponding display time.
In an exemplary embodiment, the apparatus further includes an interactive message sending unit configured to perform acquiring a live playback interactive message of the current live broadcast room; sending the live playback interactive message to a target terminal, so that the target terminal displays the live playback interactive message when playing a playback video of the current live broadcast room; and the target terminal is a terminal requesting to play the playback video of the current live broadcast room.
In an exemplary embodiment, the apparatus further includes a state detection unit configured to perform detecting whether the target long connection server is in a alive state according to a preset frequency; and if the target long connection server is not in a survival state, determining the target long connection server associated with the current live broadcast room again from a plurality of long connection servers used for connecting audience terminals corresponding to the current live broadcast room.
In an exemplary embodiment, the target playback type is used for describing playback of a live broadcast room through a web page or a cloud platform.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of generating a live playback interactive message as described in any embodiment of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium comprising: the instructions in the computer readable storage medium, when executed by a processor of a server, enable the server to perform the method of generating a live playback interactive message as described in any embodiment of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, the program product comprising a computer program, the computer program being stored in a computer-readable storage medium, from which the computer program is read and executed by at least one processor of a device, such that the device performs the method for generating a live playback interactive message as described in any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
acquiring the play type of the current live broadcast room; if the broadcasting type belongs to the target broadcasting type, determining a target long connection server which is associated with the current live broadcasting room and is used for connecting the audience terminals from a plurality of long connection servers which are corresponding to the current live broadcasting room and are used for connecting the audience terminals; then acquiring an interactive message sent by a target long connection server from the message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers used for connecting audience terminals and corresponding to the current live broadcast room, and the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room; finally, according to the target interactive message, generating a live broadcast playback interactive message of the current live broadcast room; therefore, under the condition that the live broadcast room is played through the non-mobile terminal, the target interaction message sent by the target long connection server associated with the current live broadcast room is obtained from the message queue in which the interaction messages sent by the plurality of long connection servers used for connecting audience terminals corresponding to the current live broadcast room are stored, and the live broadcast playback interaction message is generated based on the target interaction message, so that the problem that the live broadcast playback interaction message cannot be generated under the condition that the live broadcast room is played through the non-mobile terminal is solved, the live broadcast playback interaction message can be displayed when the live broadcast video played by the non-mobile terminal is played back, and the playback interactivity of the live broadcast video played by the non-mobile terminal is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a diagram illustrating an application environment of a method for generating a live playback interactive message according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of generating a live playback interactive message according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating steps for generating a live playback interactive message for a current live room, according to an example embodiment.
Fig. 4 is a flow chart illustrating another method of generating a live playback interactive message in accordance with an exemplary embodiment.
Fig. 5 is a block diagram illustrating a generation apparatus for live playback of an interactive message according to an exemplary embodiment.
Fig. 6 is an internal block diagram of a server according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The method for generating the live playback interactive message provided by the present disclosure can be applied to the application environment shown in fig. 1. The spectator terminal 110 is connected to the live server 130 and the long connection server 140 through the network, the spectator terminal 120 is connected to the live server 130 and the long connection server 150 through the network, and the long connection server 140 and the long connection server 150 are further connected to the live server 130 through the network. Specifically, referring to fig. 1, in a live scene played by a non-mobile terminal, the audience terminal 110 sends an interactive message a1 issued by a corresponding audience account a in a live broadcast room to the live broadcast server 130, and the audience terminal 120 sends an interactive message B1 issued by a corresponding audience account B in a live broadcast room to the live broadcast server 130; the live server 130 stores the received interactive message a1 and interactive message B1 in a database, such as redis; then, the long connection server 140 reads the interactive message a1 and the interactive message B1 from the database, so that the full amount of interactive messages can be obtained, on one hand, the long connection server 140 sends the interactive message a1 and the interactive message B1 to the viewer terminal 110 that is in long connection with the long connection server 140, so that the viewer terminal 110 can display the interactive message a1 and the interactive message B1 on the corresponding live interfaces, and on the other hand, the long connection server 140 sends the interactive message a1 and the interactive message B1 to the message queue; similarly, the long connection server 150 also reads the interactive message a1 and the interactive message B1 from the database, so that the full amount of interactive messages can be obtained, on one hand, the long connection server 150 sends the interactive message a1 and the interactive message B1 to the viewer terminal 120 that is in long connection with the long connection server 150, so that the viewer terminal 150 can display the interactive message a1 and the interactive message B1 on the corresponding live interfaces, and on the other hand, the long connection server 150 also sends the interactive message a1 and the interactive message B1 to the message queue; thus, the message queue stores the interactive message a1 and the interactive message B1 sent by the long connection server 140, and the interactive message a1 and the interactive message B1 sent by the long connection server 150.
It should be noted that, a plurality of long connection servers for connecting the viewer terminals may be corresponding to the same live broadcast room, and the long connection servers are not limited to the long connection server 140 and the long connection server 150; there may be a plurality of viewer terminals, not just viewer terminal 110, that maintain a long connection with long connection server 140; there may be more than one viewer terminal 120 that maintains a long connection with the long connection server 150.
In a specific implementation, the message processing server 160 obtains the broadcast type of the current live broadcast room; if the broadcasting type belongs to a target broadcasting type, for example, the broadcasting type belongs to cloud platform broadcasting, determining a target long connection server associated with the current live broadcasting room from a plurality of long connection servers, such as the long connection server 140 and the long connection server 150, corresponding to the current live broadcasting room and used for connecting audience terminals; the target broadcasting type is used for describing broadcasting of a live broadcast room through a non-mobile terminal, for example, broadcasting of the live broadcast room through a webpage end or a cloud platform; acquiring an interactive message sent by a target long connection server from a message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers (such as the long connection server 140 and the long connection server 150) used for connecting audience terminals and corresponding to the current live broadcast room, wherein the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room (namely, full interactive messages of the current live broadcast room); and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message. Thus, when the live broadcast of the current live broadcast room is played back, the message processing server 160 can send the corresponding live broadcast playback interactive message to the corresponding audience terminal, so that the audience terminal can display the received live broadcast playback interactive message when playing the playback video of the current live broadcast room, and the playback interactivity of the live broadcast video played by the non-mobile terminal is improved.
It should be noted that the spectator terminals 110 and 120 may be, but are not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, and the live server 130, the long-connection server 140, the long-connection server 150, and the message processing server 160 may be implemented by independent servers or a server cluster formed by a plurality of servers.
Fig. 2 is a flowchart illustrating a method for generating a live playback interactive message according to an exemplary embodiment, where as shown in fig. 2, the method for generating a live playback interactive message is used in a message processing server shown in fig. 1, and includes the following steps:
in step S210, the play type of the current live broadcast room is acquired.
The broadcasting type refers to a path for opening a live broadcast room, such as mobile terminal broadcasting and non-mobile terminal broadcasting; the mobile terminal broadcasting can be mobile phone broadcasting, and the non-mobile terminal broadcasting can be cloud platform broadcasting, such as live cloud broadcasting, or webpage broadcasting; certainly, the non-mobile terminal playing may also refer to other ways of starting a live broadcast room besides the mobile phone playing, which are not specifically listed in this disclosure.
It should be noted that, in a scene played through a mobile phone, the anchor terminal is connected with a long connection server; in a live cloud broadcasting scene, a main broadcasting user broadcasts by directly filling a stream address, but not by a mobile phone, and at this time, a main broadcasting terminal where the main broadcasting user is located is not connected with a long connection server, so that the message processing server cannot directly read an interactive message sent by the long connection server connected with the main broadcasting terminal from a message queue, and generates a live playback interactive message after processing.
It should be noted that, in a scenario of web page end broadcasting, an anchor user also broadcasts by filling a stream address at the web page end, but not by using a mobile phone, in this case, the anchor terminal where the anchor user is located will not be connected to the long connection server, and the message processing server cannot directly read the interactive message sent by the long connection server connected to the anchor terminal from the message queue, and generates a live broadcast playback interactive message after processing.
In step S220, if the playback type belongs to the target playback type, a target long connection server for connecting the audience terminals associated with the current live broadcast room is determined from a plurality of long connection servers for connecting the audience terminals corresponding to the current live broadcast room.
The target broadcasting type is used for describing broadcasting of a live broadcast room through a non-mobile terminal, and is particularly used for describing broadcasting of the live broadcast room through a webpage end or a cloud platform.
The method comprises the steps that each audience terminal where each audience account of a current live broadcast room is located is connected with a long connection server, a plurality of audience accounts are arranged in one live broadcast room, and the fact that the current live broadcast room corresponds to a plurality of long connection servers used for being connected with the audience terminals is indicated, each long connection server used for being connected with the audience terminals is connected with one or a plurality of audience terminals and used for sending interactive messages read from the live broadcast server to the audience terminals which are in long connection with the live broadcast server and sending the interactive messages to a message queue, and therefore the interactive messages sent by the long connection servers used for being connected with the audience terminals and corresponding to the current live broadcast room are stored in the message queue; it should be noted that the live broadcast server is configured to receive the interactive message issued by the audience account in the current live broadcast room, store the interactive message in the database, and provide the long connection server for connecting the audience terminal to read the entire amount of interactive message from the database.
The target long connection server which is associated with the current live broadcast room and used for connecting the audience terminal is a long connection server which is used for connecting the audience terminal and corresponds to the long connection server identification which is matched with the live broadcast identification of the current live broadcast room, and specifically is a long connection server which is used for connecting the audience terminal and competes for the lock.
Specifically, the message processing server matches the broadcasting type of the current live broadcasting room with the target broadcasting type, if the matching is successful, the broadcasting type of the current live broadcasting room is indicated to belong to the target broadcasting type, and the long connection server which is used for connecting the audience terminal and corresponds to the long connection server identification which is used for connecting the audience terminal and is matched with the live broadcasting identification of the current live broadcasting room is determined from a plurality of long connection servers which are used for connecting the audience terminal and correspond to the live broadcasting identification of the current live broadcasting room, and the long connection server is used as the target long connection server which is associated with the current live broadcasting room and is used for connecting the audience terminal.
In step S230, an interactive message sent by the target long connection server is obtained from the message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers used for being connected with audience terminals and corresponding to the current live broadcast room, and the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room.
The interactive message refers to an interactive message issued by a viewer account of a current live broadcast room, such as a comment, a praise, a gift, and the like. It should be noted that, in an actual scene, the interactive message sent by the target long connection server for connecting the audience terminals specifically includes a live broadcast ID, an anchor ID, an interactive message received by the anchor, a server IP of the target long connection server, and a message timestamp.
Specifically, the message processing server obtains, from a message queue storing interactive messages sent by a plurality of long connection servers for connecting audience terminals corresponding to the current live broadcast room, an interactive message sent by a target long connection server for connecting the audience terminals, as a target interactive message.
It should be noted that after the target long connection server for connecting the audience terminal associated with the current live broadcast room is determined, the message processing server always obtains the interactive message sent by the target long connection server for connecting the audience terminal from the message queue within a preset time period (for example, half a day, one day, two days, and the like), and it is not necessary to determine the target long connection server for connecting the audience terminal associated with the current live broadcast room from the plurality of long connection servers for connecting the audience terminal corresponding to the current live broadcast room again.
In step S240, a live playback interactive message of the current live broadcast room is generated according to the target interactive message.
Specifically, the message processing server acquires the display time of the target interaction message in the playback video of the current live broadcast room, and generates the live broadcast playback interaction message of the current live broadcast room according to the target interaction message and the display time thereof; and storing the live broadcast playback interactive message of the current live broadcast room into a preset database according to the live broadcast identification, so that the corresponding live broadcast playback interactive message can be directly obtained from the preset database and sent to the corresponding audience terminal during live broadcast playback.
In the method for generating the live broadcast playback interactive message, the playing type of the current live broadcast room is obtained; if the broadcasting type belongs to the target broadcasting type, determining a target long connection server which is associated with the current live broadcasting room and is used for connecting the audience terminals from a plurality of long connection servers which are corresponding to the current live broadcasting room and are used for connecting the audience terminals; then acquiring an interactive message sent by a target long connection server from the message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers used for connecting audience terminals and corresponding to the current live broadcast room, and the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room; finally, according to the target interactive message, generating a live broadcast playback interactive message of the current live broadcast room; therefore, under the condition that the live broadcast room is played through the non-mobile terminal, the target interactive message which is associated with the current live broadcast room and is sent by the target long connection server and used for being connected with the audience terminal is obtained from the message queue which stores the interactive messages which are sent by the plurality of long connection servers used for being connected with the audience terminal and corresponding to the current live broadcast room, and the live broadcast playback interactive message is generated based on the target interactive message.
In an exemplary embodiment, in step S210, acquiring the play type of the current live broadcast room includes: acquiring a live broadcast address of a current live broadcast room; extracting feature information of a live broadcast address; and inquiring the matching relation between the characteristic information of the preset live broadcast address and the broadcasting type to obtain the broadcasting type matched with the live broadcast address as the broadcasting type of the current live broadcast room.
In a scene of broadcasting by a non-mobile terminal, a main broadcasting user broadcasts through a special interface (such as a remote procedure call interface), specifically broadcasts through directly filling a stream address, but not broadcasts through a mobile phone, wherein the stream address has a specific format, such as specific protocol information, a specific domain name, specific address suffix information and the like; the format of the live address of the live broadcast room broadcast by the non-mobile terminal is different from the format of the live broadcast address of the live broadcast room broadcast by the mobile terminal.
The feature information of the live address is used for representing format information of the live address, such as protocol information, a domain name, address suffix information and the like; the live broadcast address of the live broadcast room broadcast by the non-mobile terminal has specific protocol information, domain name or address suffix information, so that the broadcast type of the live broadcast room can be determined by analyzing the format of the live broadcast address.
Specifically, the message processing server acquires a live broadcast address of a current live broadcast room according to a preset live broadcast address acquisition instruction; extracting the characteristic information in the live broadcast address, inquiring the corresponding relation between the preset characteristic information of the live broadcast address and the play type, and determining the play type corresponding to the live broadcast address of the current live broadcast room as the play type of the current live broadcast room.
According to the technical scheme, the broadcasting type corresponding to the live broadcast address of the current live broadcast room is obtained and serves as the broadcasting type of the current live broadcast room, and therefore the subsequent broadcasting type of the current live broadcast room is favorable for determining the target long connection server which is associated with the current live broadcast room and used for being connected with the audience terminal from a plurality of long connection servers which are used for being connected with the audience terminal and correspond to the current live broadcast room when the broadcasting type belongs to the target broadcasting type.
In an exemplary embodiment, in step S220, before determining, from a plurality of long connection servers for connecting to the viewer terminal corresponding to the current live broadcast room, a target long connection server for connecting to the viewer terminal associated with the current live broadcast room if the broadcast type belongs to the target broadcast type, the method further includes: if the broadcasting type belongs to the target broadcasting type, generating an instruction containing a live broadcast identification of the current live broadcast room; distributing an instruction to a plurality of long connection servers for connecting audience terminals, and enabling each long connection server receiving the instruction to try to lock a live broadcast identifier; receiving a locking result returned by the long connection server which successfully locks the live broadcast identification; the locking result comprises a long connection server identifier of a long connection server which successfully locks the live broadcast identifier; and taking the long connection server identification in the locking result as a target long connection server identification matched with the live broadcast identification.
The live broadcast identification of the current live broadcast room refers to unique identification information of the current live broadcast room, and specifically refers to a live broadcast ID.
The command containing the live broadcast identification of the current live broadcast room refers to a setNX command based on redis, when the live broadcast identification of the current live broadcast room is matched with a long connection server identification (such as a long connection server IP), no processing is performed, when the live broadcast identification of the current live broadcast room is not matched with the long connection server identification, a matching relation between the live broadcast identification of the current live broadcast room and the corresponding long connection server identification is established, namely, the value of the live broadcast identification of the current live broadcast room is set to be the corresponding long connection server identification.
The redis a Key-Value database which is open, written by using C language, supports network interaction, can be based on a memory and can also be persistent; the setNX command based on redis is a command for locking, if the value of Key (such as live broadcast identifier) does not exist, the current Key is set to be successful, and 1 is returned; if the value of the current Key already exists, the current Key is set to fail, and 0 is returned.
The locking of the live broadcast identification means that the live broadcast identification is matched with the identification of the corresponding long connection server, and the locked live broadcast identification cannot be locked by other long connection servers; the live broadcast identification is successfully locked, namely the live broadcast identification is successfully matched with the corresponding long connection server identification; the locking result comprises a matching result of the live broadcast identification and the corresponding long connection server identification.
The long connection server which successfully locks the live broadcast identification specifically refers to a long connection server which competes for the lock; the long connection server identification refers to unique identification information of the long connection server, such as the long connection server IP.
Specifically, if the broadcast type belongs to a target broadcast type, generating an instruction containing a live broadcast identifier of a current live broadcast room through the message processing server, and distributing the instruction to a plurality of long connection servers for connecting audience terminals, so that each long connection server receiving the instruction tries to lock the live broadcast identifier, and when one long connection server successfully locks the live broadcast identifier, other long connection servers can only wait and cannot lock the live broadcast identifier; and then, the message processing server receives a locking result returned by the long connection server which successfully locks the live broadcast identification, and analyzes the locking result to obtain the long connection server identification of the long connection server which successfully locks the live broadcast identification, and the long connection server identification is used as a target long connection server identification matched with the live broadcast identification of the current live broadcast room.
For example, for a live broadcast room broadcast through a live broadcast cloud, long connection servers corresponding to the live broadcast room and used for connecting audience terminals all send interactive messages to a message queue, wherein the interactive messages specifically include a live broadcast ID, an anchor ID, interactive messages received by an anchor, an IP of the long connection server, and a message timestamp; firstly, a message processing server corresponding to the message queue acquires a lock (key is a live broadcast ID, value is a server IP) according to a setNX command of redis of a long connection server IP in the interactive message; the message processing server only processes the interactive message sent by the long connection server which acquires the lock, and then the live broadcast playback interactive message is generated after the processing. For example, there are 5 long connection servers for connecting audience terminals, which are respectively long connection server a, long connection server B, long connection server C, long connection server D, and long connection server E, if long connection server a competes for a lock, the message processing server only processes the interactive message sent by long connection server a, and long connection server B, long connection server C, and long connection server D can only wait and cannot acquire the lock, that is, a matching relationship between the live broadcast ID of the live broadcast room and its own server IP cannot be established.
According to the technical scheme, the target long connection server which is associated with the current live broadcast room and used for being connected with the audience terminal is determined from the plurality of long connection servers used for being connected with the audience terminal through the competition lock principle, the duplication elimination effect of the interactive messages sent by the plurality of long connection servers used for being connected with the audience terminal is favorably realized, and the repetition of the interactive messages is avoided.
In an exemplary embodiment, in step S220, if the play type belongs to the target play type, determining a target long connection server for connecting the viewer terminal, which is associated with the current live broadcast room, from a plurality of long connection servers for connecting the viewer terminal corresponding to the current live broadcast room, includes: and if the broadcasting type belongs to the target broadcasting type, determining a target long connection server to which the target long connection server identifier belongs from a plurality of long connection servers used for connecting the audience terminals and corresponding to the current live broadcasting room, and using the target long connection server as a target long connection server which is associated with the current live broadcasting room and used for connecting the audience terminals.
The target long connection server identification is the long connection server identification of the long connection server which successfully locks the live broadcast identification.
For example, if the broadcasting type of the current live broadcasting room belongs to the target broadcasting type, a long connection server with a long connection server identifier matching the target long connection server identifier is determined from a plurality of long connection servers used for connecting the audience terminals and corresponding to the current live broadcasting room, and the long connection server is used as the target long connection server associated with the current live broadcasting room and used for connecting the audience terminals.
According to the technical scheme, the target long connection server which is associated with the current live broadcast room and used for being connected with the audience terminal is determined from the plurality of long connection servers which are used for being connected with the audience terminal and correspond to the current live broadcast room, the target long connection server which is associated with the current live broadcast room and used for being connected with the audience terminal is beneficial to obtaining the target interaction message sent by the target long connection server from the message queue subsequently, the live broadcast playback interaction message of the current live broadcast room is generated based on the target interaction message, and the problem that the live broadcast playback interaction message cannot be generated under the condition that the live broadcast room is played through a non-mobile terminal.
In an exemplary embodiment, as shown in fig. 3, generating a live playback interactive message of a current live broadcast room according to a target interactive message specifically includes the following steps:
in step S310, the sending time of the target interaction message is obtained.
In step S320, the display time of the target interactive message in the playback video of the current live broadcast room is determined according to the sending time of the target interactive message.
The display time of the target interaction message in the playback video of the current live broadcast room refers to the display time of the target interaction message when the playback video is played, such as the second-time display.
For example, the message processing server determines a time interval between the sending time of the target interactive message and the playing time of the current live broadcast room according to the sending time of the target interactive message and the playing time of the current live broadcast room, and may determine the display time of the target interactive message in the playback video of the current live broadcast room according to the time interval.
In step S330, a live playback interactive message in the current live broadcast room is generated according to the target interactive message and the corresponding display time.
According to the technical scheme provided by the embodiment of the disclosure, the live playback interactive message of the current live broadcast room is generated according to the target interactive message sent by the target long connection server acquired from the message queue, so that the problem that the live playback interactive message cannot be generated under the condition that the live broadcast room is played through a non-mobile terminal is solved, the live playback interactive message can be displayed when the live broadcast video played by the non-mobile terminal is played back, and the playback interactivity of the live broadcast video played by the non-mobile terminal is improved.
In an exemplary embodiment, in step S240, after generating a live playback interactive message of a current live broadcast room according to the target interactive message, the method further includes: acquiring a live broadcast playback interactive message of a current live broadcast room; sending the live playback interactive message to a target terminal, so that the target terminal displays the live playback interactive message when playing a playback video of the current live broadcast room; the target terminal is a terminal requesting to play a playback video of the current live broadcast room.
For example, when a viewer user wants to watch live playback of a current live broadcast room, the viewer user can click a live broadcast playback option of the current live broadcast room on an interface of a target terminal, trigger the target terminal to generate a live broadcast playback request for the current live broadcast room, and send the live broadcast playback request to a corresponding message processing server through the target terminal; the message processing server acquires the live playback interactive message of the current live broadcast room and sends the live playback interactive message to the corresponding target terminal, so that the target terminal displays the live playback interactive message when playing the playback video of the current live broadcast room.
According to the technical scheme provided by the embodiment of the disclosure, the live playback interactive message can be displayed when the live video played by the non-mobile terminal is played back, so that the playback interactivity of the live video played by the non-mobile terminal is improved.
In an exemplary embodiment, in step S240, after generating a live playback interactive message of a current live broadcast room according to the target interactive message, the method further includes: detecting whether a target long connection server is in a survival state or not according to a preset frequency; and if the target long connection server is not in a survival state, determining the target long connection server which is associated with the current live broadcast room and is used for connecting the audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcast room again.
The target long connection server is in a survival state, namely the target long connection server is started and is on line; the target long connection server is not in a survival state, which means that the target long connection server is restarted or exits unexpectedly, but the lock is not released, namely the matching relationship between the live broadcast identifier of the current live broadcast room and the long connection server identifier is not released.
For example, referring to fig. 4, the message processing server starts a timing task, periodically (at a level of seconds) scans whether a target long connection server corresponding to a long connection server identifier matched with a live broadcast identifier of a current live broadcast room is in a live state, and if the target long connection server is not in the live state, deletes the long connection server identifier associated with the live broadcast identifier of the current live broadcast room, and re-competes for the lock, that is, determines the target long connection server associated with the current live broadcast room and used for connecting the audience terminal from a plurality of long connection servers corresponding to the current live broadcast room and used for connecting the audience terminal, so that the lock is not frequently competed.
For another example, the aging time of the long connection server identifier associated with the live broadcast identifier of the current live broadcast room is set, for example, 2 days, and after the aging time, the message processing server determines the target long connection server associated with the current live broadcast room and used for connecting the audience terminal from the plurality of long connection servers used for connecting the audience terminal corresponding to the current live broadcast room again. Thus, deadlock is advantageously prevented.
According to the technical scheme provided by the embodiment of the disclosure, after the live broadcast playback interactive message of the current live broadcast room is generated according to the target interactive message, whether the target long connection server is in a survival state or not is detected according to the preset frequency, and when the target long connection server is confirmed not to be in the survival state, the target long connection server which is associated with the current live broadcast room and is used for connecting audience terminals is determined again from a plurality of long connection servers which are corresponding to the current live broadcast room and are used for connecting the audience terminals, so that deadlock and frequent competition locks can be avoided, and the process of generating the live broadcast playback interactive message of the current live broadcast room is guaranteed.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
Fig. 5 is a block diagram illustrating a generation apparatus for live playback of an interactive message according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a play type acquiring unit 510, a server determining unit 520, an interactive message acquiring unit 530, and an interactive message generating unit 540.
An opening type obtaining unit 510 configured to perform obtaining the opening type of the current live broadcast room.
A server determining unit 520, configured to determine, if the play type belongs to the target play type, a target long connection server for connecting the audience terminal, which is associated with the current live broadcast room, from among a plurality of long connection servers for connecting the audience terminal corresponding to the current live broadcast room.
An interactive message acquiring unit 530 configured to acquire an interactive message sent by a target long connection server from a message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers used for being connected with audience terminals and corresponding to the current live broadcast room, and the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room.
And an interactive message generating unit 540 configured to generate a live playback interactive message of the current live broadcast room according to the target interactive message.
In an exemplary embodiment, the playback type obtaining unit 510 is further configured to perform obtaining a live address of a current live broadcast room; extracting feature information of a live broadcast address; and inquiring the matching relation between the characteristic information of the preset live broadcast address and the broadcasting type to obtain the broadcasting type matched with the live broadcast identification as the broadcasting type of the current live broadcast room.
In an exemplary embodiment, the apparatus for generating a live playback interactive message provided by the present disclosure further includes an instruction distribution unit configured to execute an instruction that includes a live identifier of a current live broadcast room if the broadcast type belongs to the target broadcast type; distributing an instruction to a plurality of long connection servers for connecting audience terminals, and enabling each long connection server receiving the instruction to try to lock a live broadcast identifier; receiving a locking result returned by the long connection server which successfully locks the live broadcast identification; the locking result comprises a long connection server identifier of a long connection server which successfully locks the live broadcast identifier; and taking the long connection server identification in the locking result as a target long connection server identification matched with the live broadcast identification.
In an exemplary embodiment, the server determining unit 520 is further configured to determine, if the broadcast type belongs to the target broadcast type, a target long connection server to which the target long connection server identifier belongs, from a plurality of long connection servers for connecting to the audience terminals corresponding to the current live broadcast room, as a target long connection server for connecting to the audience terminals associated with the current live broadcast room.
In an exemplary embodiment, the interactive message generating unit 540 is further configured to execute acquiring a sending time of the target interactive message; determining the display time of the target interactive message in the playback video of the current live broadcast room according to the sending time of the target interactive message; and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message and the corresponding display time.
In an exemplary embodiment, the apparatus for generating a live playback interactive message provided by the present disclosure further includes an interactive message sending unit configured to execute acquiring a live playback interactive message of a current live broadcast room; sending the live playback interactive message to a target terminal, so that the target terminal displays the live playback interactive message when playing a playback video of the current live broadcast room; the target terminal is a terminal requesting to play a playback video of the current live broadcast room.
In an exemplary embodiment, the apparatus for generating a live playback interactive message provided by the present disclosure further includes a state detection unit configured to perform detection of whether the target long connection server is in a live state according to a preset frequency; and if the target long connection server is not in a survival state, determining the target long connection server associated with the current live broadcast room again from a plurality of long connection servers used for connecting audience terminals corresponding to the current live broadcast room.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an apparatus 600 for performing the above-described method for generating a live playback interactive message according to an exemplary embodiment. For example, the device 600 may be a server. Referring to fig. 6, device 600 includes a processing component 620 that further includes one or more processors and memory resources, represented by memory 622, for storing instructions, such as applications, that are executable by processing component 620. The application programs stored in memory 622 may include one or more modules that each correspond to a set of instructions. Further, the processing component 620 is configured to execute the instructions to perform the above-described method of generating a live playback interactive message.
The device 600 may also include a power component 624 configured to perform power management for the device 600, a wired or wireless network interface 626 configured to connect the device 600 to a network, and an input/output (I/O) interface 628. The device 600 may operate based on an operating system stored in the memory 622, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a storage medium comprising instructions, such as the memory 622 comprising instructions, executable by the processor of the device 600 to perform the method described above is also provided. The storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product, the program product comprising a computer program, the computer program being stored in a computer-readable storage medium, from which at least one processor of a device reads and executes the computer program, causing the device to perform the method of generating a live playback interactive message in any one of the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A method for generating a live playback interactive message is characterized by comprising the following steps:
acquiring the play type of a current live broadcast room;
if the broadcasting type belongs to a target broadcasting type, determining a target long connection server which is associated with the current live broadcasting room and is used for connecting audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcasting room;
acquiring the interactive message sent by the target long connection server from the message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers connected with audience terminals and corresponding to the current live broadcast room, wherein the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room;
and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message.
2. The method of claim 1, wherein the obtaining the type of the current live broadcast of the live broadcast room comprises:
acquiring a live broadcast address of the current live broadcast room;
extracting feature information of the live broadcast address;
and inquiring the matching relation between the characteristic information of a preset live broadcast address and the broadcasting type to obtain the broadcasting type matched with the live broadcast address as the broadcasting type of the current live broadcast room.
3. The method of claim 1, wherein before determining a target long connection server for connecting the audience terminal associated with the current live broadcast room from among a plurality of long connection servers for connecting the audience terminal corresponding to the current live broadcast room if the broadcast type belongs to a target broadcast type, the method further comprises:
if the broadcasting type belongs to the target broadcasting type, generating an instruction containing a live broadcast identification of the current live broadcast room;
distributing the instruction to the long connection servers for connecting the audience terminals, so that each long connection server receiving the instruction tries to lock the live broadcast identification;
receiving a locking result returned by the long connection server which successfully locks the live broadcast identification; the locking result comprises a long connection server identifier of a long connection server which successfully locks the live broadcast identifier;
and taking the long connection server identification in the locking result as a target long connection server identification matched with the live broadcast identification.
4. The method as claimed in claim 3, wherein if the playback type is a target playback type, determining a target long connection server for connecting the audience terminals associated with the current live broadcast room from among a plurality of long connection servers for connecting the audience terminals corresponding to the current live broadcast room, includes:
and if the broadcasting type belongs to a target broadcasting type, determining a long connection server to which the target long connection server identifier belongs from a plurality of long connection servers used for connecting audience terminals and corresponding to the current live broadcasting room, and using the long connection server as a target long connection server which is associated with the current live broadcasting room and used for connecting the audience terminals.
5. The method for generating a live playback interactive message according to claim 1, wherein the generating a live playback interactive message of the current live broadcast room according to the target interactive message includes:
acquiring the sending time of the target interaction message;
determining the display time of the target interaction message in the playback video of the current live broadcast room according to the sending time of the target interaction message;
and generating the live broadcast playback interactive message of the current live broadcast room according to the target interactive message and the corresponding display time.
6. The method for generating a live playback interactive message according to any one of claims 1 to 5, further comprising, after generating the live playback interactive message of the current live broadcast room according to the target interactive message:
acquiring a live broadcast playback interactive message of the current live broadcast room;
sending the live playback interactive message to a target terminal, so that the target terminal displays the live playback interactive message when playing a playback video of the current live broadcast room; and the target terminal is a terminal requesting to play the playback video of the current live broadcast room.
7. An apparatus for generating a live playback interactive message, comprising:
the broadcasting type acquisition unit is configured to acquire the broadcasting type of the current live broadcasting room;
the server determining unit is configured to determine a target long connection server which is associated with the current live broadcast room and is used for connecting the audience terminals from a plurality of long connection servers which are used for connecting the audience terminals and correspond to the current live broadcast room if the broadcast type belongs to a target broadcast type;
the interactive message acquisition unit is configured to acquire the interactive message sent by the target long connection server from a message queue as a target interactive message; the message queue stores interactive messages sent by a plurality of long connection servers connected with audience terminals and corresponding to the current live broadcast room, wherein the interactive messages comprise interactive messages issued by audience accounts of the current live broadcast room;
and the interactive message generating unit is configured to execute the generation of the live broadcast playback interactive message of the current live broadcast room according to the target interactive message.
8. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of generating a live playback interactive message as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the method of generating a live playback interactive message of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the method of generating a live playback interactive message of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011588319.2A CN112752114B (en) | 2020-12-28 | 2020-12-28 | Method and device for generating live broadcast playback interactive message, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011588319.2A CN112752114B (en) | 2020-12-28 | 2020-12-28 | Method and device for generating live broadcast playback interactive message, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112752114A true CN112752114A (en) | 2021-05-04 |
CN112752114B CN112752114B (en) | 2022-07-01 |
Family
ID=75646547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011588319.2A Active CN112752114B (en) | 2020-12-28 | 2020-12-28 | Method and device for generating live broadcast playback interactive message, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112752114B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259704A (en) * | 2021-05-19 | 2021-08-13 | 杭州米络星科技(集团)有限公司 | Method, device and equipment for initializing live broadcast room and storage medium |
CN113411620A (en) * | 2021-05-25 | 2021-09-17 | 北京达佳互联信息技术有限公司 | Live broadcast clip display method and device, electronic equipment and storage medium |
CN113596492A (en) * | 2021-07-26 | 2021-11-02 | 上海哔哩哔哩科技有限公司 | Gift display method and system in network live broadcast |
CN114339354A (en) * | 2021-12-31 | 2022-04-12 | 广州趣丸网络科技有限公司 | Live broadcast rebroadcasting method, device, equipment and readable storage medium |
CN115460428A (en) * | 2022-09-05 | 2022-12-09 | 北京达佳互联信息技术有限公司 | Data processing method, data processing apparatus, electronic device, and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259246A (en) * | 2020-01-17 | 2020-06-09 | 北京达佳互联信息技术有限公司 | Information pushing method and device, electronic equipment and storage medium |
-
2020
- 2020-12-28 CN CN202011588319.2A patent/CN112752114B/en active Active
Non-Patent Citations (2)
Title |
---|
李永钢等: "Web***消息推送技术的研究", 《电子世界》 * |
石云: "程序员的小目标 从云端搭建一个小程序开始", 《计算机与网络》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113259704A (en) * | 2021-05-19 | 2021-08-13 | 杭州米络星科技(集团)有限公司 | Method, device and equipment for initializing live broadcast room and storage medium |
CN113259704B (en) * | 2021-05-19 | 2023-06-09 | 杭州米络星科技(集团)有限公司 | Live broadcast room initialization method, device, equipment and storage medium |
CN113411620A (en) * | 2021-05-25 | 2021-09-17 | 北京达佳互联信息技术有限公司 | Live broadcast clip display method and device, electronic equipment and storage medium |
CN113596492A (en) * | 2021-07-26 | 2021-11-02 | 上海哔哩哔哩科技有限公司 | Gift display method and system in network live broadcast |
CN114339354A (en) * | 2021-12-31 | 2022-04-12 | 广州趣丸网络科技有限公司 | Live broadcast rebroadcasting method, device, equipment and readable storage medium |
CN115460428A (en) * | 2022-09-05 | 2022-12-09 | 北京达佳互联信息技术有限公司 | Data processing method, data processing apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112752114B (en) | 2022-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112752114B (en) | Method and device for generating live broadcast playback interactive message, server and storage medium | |
US11025967B2 (en) | Method for inserting information push into live video streaming, server, and terminal | |
CN105933375B (en) | Method and device for monitoring microphone connection session and server | |
CN105635180B (en) | Information push method and device | |
CN110659121B (en) | Task data acquisition method and device, task configuration method and device and server | |
WO2018196733A1 (en) | Data sharing method and device, storage medium and electronic device | |
CN113518247A (en) | Video playing method, related equipment and computer readable storage medium | |
CN111083517B (en) | Live broadcast room interaction method and device, electronic equipment, system and storage medium | |
CN111312240A (en) | Data control method and device, electronic equipment and storage medium | |
CN111836074A (en) | Live wheat-connecting method, device and system | |
CN111770355A (en) | Media server determination method, device, server and storage medium | |
CN111246238A (en) | Live broadcast method, device, storage medium and live broadcast system | |
CN111107390A (en) | Live broadcast service system and live broadcast connection establishment method | |
US20220385969A1 (en) | Method and apparatus for displaying live clip | |
CN110536147B (en) | Live broadcast processing method, device and system | |
US20220021715A1 (en) | Live streaming method and apparatus, device and computer readable storage medium | |
CN111314648A (en) | Information processing method, processing device, first electronic equipment and server | |
CN113873269B (en) | Information pushing method, device, server and storage medium | |
CN111447458A (en) | Live broadcast system, method and device based on content explanation and live broadcast server | |
CN111885167B (en) | Data synchronization method, device, electronic equipment and storage medium | |
CN111954041A (en) | Video loading method, computer equipment and readable storage medium | |
CN113115065B (en) | Live broadcast-based data processing method and device | |
CN112804542B (en) | Method and terminal for requesting video and audio by browser applied to cloud video fusion platform | |
CN112511884B (en) | Mixed flow control method, system and storage medium for audio and video flow | |
CN112653896A (en) | House source information playback method and device with watching assistant, electronic equipment and medium |
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 |