CN112533012A - Live broadcast room interactive information method and device - Google Patents

Live broadcast room interactive information method and device Download PDF

Info

Publication number
CN112533012A
CN112533012A CN202011343229.7A CN202011343229A CN112533012A CN 112533012 A CN112533012 A CN 112533012A CN 202011343229 A CN202011343229 A CN 202011343229A CN 112533012 A CN112533012 A CN 112533012A
Authority
CN
China
Prior art keywords
real
information
feedback information
time feedback
content distribution
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
Application number
CN202011343229.7A
Other languages
Chinese (zh)
Other versions
CN112533012B (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011343229.7A priority Critical patent/CN112533012B/en
Publication of CN112533012A publication Critical patent/CN112533012A/en
Application granted granted Critical
Publication of CN112533012B publication Critical patent/CN112533012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2353Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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
    • H04N21/47202End-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 for requesting content on demand, e.g. video on demand
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a method and a device for transmitting interactive information of a live broadcast room, wherein the method comprises the following steps: the server identifies interactive information sent by the audience, wherein the interactive information comprises real-time interactive information and non-real-time interactive information, and sends non-real-time feedback information of the non-real-time interactive information to the target content distribution node. The server sends the identification information of the target content distribution node to the audience. And the target content distribution node sends corresponding non-real-time feedback information to the audience terminal according to the non-real-time feedback information acquisition request. The method reduces the load of the server by using the content distribution network, improves the processing speed of the server on the real-time interactive information, and simultaneously reduces the bandwidth of the live broadcast long connection between the audience side and the server, thereby saving the network cost.

Description

Live broadcast room interactive information method and device
Technical Field
The present disclosure relates to live broadcast information transmission technologies, and in particular, to a live broadcast room interactive information method and apparatus.
Background
The live video broadcasting refers to live broadcasting by utilizing the internet and a streaming media technology, and the live video broadcasting gradually becomes a mainstream expression mode of the internet along with the development of the internet technology because rich elements such as images, characters and sounds are fused in the video. In the related art, a user can interact with a main broadcast in a live broadcast room, a long connection is established between the user and a server, a communication connection is maintained, and an interactive message can be sent to the server and fed back to the user. However, in some large live activities, the number of online live rooms may reach hundreds of thousands or millions, and a large number of long connections between users and servers are required to ensure real-time performance and processing capability of messages for interacting between users and a host.
Disclosure of Invention
The disclosure provides a live broadcast room interactive information method, a live broadcast room interactive information device, live broadcast room interactive information equipment and a storage medium, and aims to at least solve the problems of overlarge server load and overhigh network cost in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for transmitting live broadcast interactive information is provided, where the method includes:
acquiring interactive information sent by a viewer terminal of a target live broadcast room;
identifying the type of the interaction information, wherein the type of the interaction information comprises real-time interaction information and non-real-time interaction information;
acquiring non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
sending the real-time feedback information to a viewer end of the target live broadcast room;
sending the non-real-time feedback information to a target content distribution node;
and sending the identification information of the target content distribution node to a spectator terminal of the target live broadcast room, so that the spectator terminal acquires corresponding non-real-time feedback information from the target content distribution node based on the identification information.
As an optional embodiment, the non-real-time feedback information includes domain name information of an audience of the target live broadcast room, and the sending the non-real-time feedback information to the target content distribution node includes:
and sending the non-real-time feedback information to a content distribution center server, so that the content distribution center server determines a target content distribution node matched with the domain name information of the audience from a plurality of content distribution nodes, and sends the non-real-time feedback information to the target content distribution node.
As an optional embodiment, the method further comprises:
when the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request does not exist in the target content distribution node, acquiring the non-real-time feedback information acquisition request forwarded by the target content distribution node based on source return path information, wherein the source return path information is used for determining an information transmission path from the target content distribution node to a server;
acquiring non-real-time feedback information corresponding to the non-real-time feedback information acquisition request;
and sending the non-real-time feedback information to the target content distribution node, so that the target content distribution node sends the corresponding non-real-time feedback information to the audience.
As an optional embodiment, the method further comprises:
acquiring the number of audience end connections in a live broadcast room;
taking the live broadcast rooms with the number of connections of the audience terminals being more than or equal to a preset threshold value as the target live broadcast rooms;
determining the information compression interval time of the non-real-time feedback information according to the number of connection of audience terminals in the target live broadcast room;
the sending the non-real-time feedback information to the target content distribution node comprises:
compressing the non-real-time feedback information according to the information compression interval time;
and sending the compressed non-real-time feedback information to the target content distribution node.
According to a second aspect of the embodiments of the present disclosure, a method for transmitting live broadcast interactive information is provided, where the method includes:
sending interaction information to a server so that the server can identify the type of the interaction information, wherein the type of the interaction information comprises real-time interaction information and non-real-time interaction information, and acquiring non-real-time feedback information of the non-real-time interaction information and real-time feedback information of the real-time interaction information; the server sends the non-real-time feedback information to a target content distribution node;
receiving identification information of a target content distribution node and real-time feedback information of the real-time interaction information sent by the server;
sending a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and receiving the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
As an optional embodiment, the sending, based on the identification information, a non-real-time feedback information acquisition request to a target content distribution node includes:
and sending the non-real-time feedback information acquisition request to a content distribution network router, wherein the non-real-time feedback information acquisition request carries the identification information, so that the content distribution network router determines the target content distribution node according to the identification information and forwards the non-real-time feedback information acquisition request to the target content distribution node.
As an optional embodiment, the method further comprises:
receiving a serial number of non-real-time feedback information corresponding to the identification information of the target content distribution node, which is sent by the server;
the sending of the non-real-time feedback information acquisition request to the target content distribution node based on the identification information comprises:
generating a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number based on the sequence of the serial numbers of the non-real-time feedback information;
taking a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number as a current non-real-time feedback information acquisition request;
determining a current target content distribution node according to the identification information of the target content distribution node corresponding to the current serial number;
and sending the current non-real-time feedback information acquisition request to the current target content distribution node.
As an optional embodiment, the non-real-time feedback information obtaining request includes device type information, and the sending the non-real-time feedback information obtaining request to the target content distribution node based on the identification information includes:
based on the identification information, sending the device type information to a target content distribution node so that the target content distribution node determines the information transmission amount matched with the device type information;
the receiving of the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node includes:
and receiving non-real-time feedback information which is sent by the target content distribution node and corresponds to the information transmission quantity.
As an optional embodiment, the method further comprises:
receiving live broadcast room service information sent by a server;
generating real-time interaction information corresponding to the service information of the live broadcast room;
sending the real-time interaction information corresponding to the live broadcast room service information to the server;
and receiving real-time feedback information of the real-time interaction information corresponding to the service information of the live broadcast room, which is sent by the server.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for transmitting live broadcast interactive information, the apparatus including:
the interactive information acquisition module is configured to execute acquisition of interactive information sent by a viewer side of a target live broadcast room;
the interactive information identification module is configured to identify the type of the interactive information, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information;
a feedback information acquisition module configured to perform acquisition of non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
a real-time feedback information sending module configured to execute sending the real-time feedback information to a viewer side of the target live broadcast room;
a non-real-time feedback information sending module configured to perform sending the non-real-time feedback information to a target content distribution node;
and the identification information sending module is configured to execute sending of the identification information of the target content distribution node to the audience of the target live broadcast room, so that the audience obtains corresponding non-real-time feedback information from the target content distribution node based on the identification information.
As an optional embodiment, the non-real-time feedback information includes domain name information of an audience of the target live broadcast room, and the non-real-time feedback information sending module includes:
a non-real-time feedback information sending execution unit configured to execute sending of the non-real-time feedback information to a content distribution center server, so that the content distribution center server determines a target content distribution node matching the domain name information of the audience from a plurality of content distribution nodes, and sends the non-real-time feedback information to the target content distribution node.
As an optional embodiment, the apparatus further comprises:
a non-real-time feedback information acquisition request acquisition module configured to execute, when non-real-time feedback information corresponding to the non-real-time feedback information acquisition request does not exist in the target content distribution node, acquiring the non-real-time feedback information acquisition request forwarded by the target content distribution node based on source return path information, where the source return path information is used to determine an information transmission path from the target content distribution node to a server;
a non-real-time feedback information acquisition module configured to perform acquisition of non-real-time feedback information corresponding to the non-real-time feedback information acquisition request;
and the non-real-time feedback information issuing module is configured to execute sending of the non-real-time feedback information to the target content distribution node, so that the target content distribution node sends the corresponding non-real-time feedback information to the audience.
As an optional embodiment, the apparatus further comprises:
the audience terminal connection number acquisition module is configured to acquire the number of audience terminal connections in a live broadcast room;
the target live broadcast room determining module is configured to execute the live broadcast room with the number of audience end connections greater than or equal to a preset threshold value as the target live broadcast room;
a compression interval determination module configured to determine an information compression interval of the non-real-time feedback information according to the number of viewer-side connections in the target live broadcast;
the non-real-time feedback information sending module comprises:
a compression processing unit configured to perform compression processing on the non-real-time feedback information according to the information compression interval time;
a compressed information sending unit configured to perform sending of the compressed non-real-time feedback information to the target content distribution node.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a device for transmitting live broadcast interactive information, the device including:
the interactive information sending module is configured to send interactive information to a server so that the server can identify the type of the interactive information, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information, and non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information are obtained; the server sends the non-real-time feedback information to a target content distribution node;
the real-time feedback information receiving module is configured to execute receiving of the identification information of the target content distribution node and the real-time feedback information of the real-time interaction information sent by the server;
an information acquisition request sending module configured to execute sending a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and the non-real-time feedback information receiving module is configured to execute receiving of non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
As an optional embodiment, the information obtaining request sending module includes:
and the information acquisition request sending execution unit is configured to execute sending of the non-real-time feedback information acquisition request to a content distribution network router, wherein the non-real-time feedback information acquisition request carries the identification information, so that the content distribution network router determines the target content distribution node according to the identification information and forwards the non-real-time feedback information acquisition request to the target content distribution node.
As an optional embodiment, the apparatus further comprises:
a sequence number receiving module configured to perform receiving a sequence number of non-real-time feedback information corresponding to the identification information of the target content distribution node, which is sent by the server;
the information acquisition request sending module comprises:
a current information acquisition request generation unit configured to execute a non-real-time feedback information acquisition request of non-real-time feedback information corresponding to a current sequence number based on a sequence order of the sequence numbers of the non-real-time feedback information; taking a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number as a current non-real-time feedback information acquisition request;
a current target content distribution node determining unit configured to execute determining a current target content distribution node according to the identification information of the target content distribution node corresponding to the current serial number;
an information obtaining request sending unit configured to perform sending the current non-real-time feedback information obtaining request to the current target content distribution node.
As an optional embodiment, the non-real-time feedback information obtaining request includes device type information, and the information obtaining request sending module includes:
a transmission amount determination unit configured to perform transmission of the device type information to a target content distribution node based on the identification information to cause the target content distribution node to determine an amount of information transmission matching the device type information;
the non-real-time feedback information receiving module comprises:
a non-real-time feedback information receiving unit configured to perform receiving non-real-time feedback information corresponding to the information transmission amount sent by the target content distribution node.
As an optional embodiment, the apparatus further comprises:
the service information receiving module is configured to execute the service information of the live broadcast room sent by the receiving server;
the real-time interactive information generation module is configured to execute generation of real-time interactive information corresponding to the live broadcast room service information;
the corresponding information sending module is configured to execute sending of the real-time interaction information corresponding to the live broadcast room service information to the server;
and the feedback information receiving module is configured to execute receiving of real-time feedback information of the real-time interaction information corresponding to the live broadcast room service information and sent by the server.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a method for transmitting live broadcast interactive information as described above.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a live broadcast interactive information transmission method as described above.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer program product stored in a storage medium, so that a processor of an electronic device can read the computer program product from the storage medium and execute a method for transmitting interactive information between live broadcast as described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the server identifies interactive information sent by the audience, wherein the interactive information comprises real-time interactive information and non-real-time interactive information, and sends non-real-time feedback information of the non-real-time interactive information to the target content distribution node. The server sends the identification information of the target content distribution node to the audience. And the target content distribution node sends corresponding non-real-time feedback information to the audience according to the non-real-time feedback information acquisition request. The method reduces the load of the server by using the content distribution network, improves the processing speed of the server on the real-time interactive information, and simultaneously reduces the bandwidth of the live broadcast long connection between the audience side and the server, thereby saving the network cost.
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 schematic view illustrating an application scenario of a method for transmitting live broadcast interactive information according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for transmitting live interactive information according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method for determining a target content distribution node in a live broadcast interactive information transmission method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a method for transmitting interactive information in a live broadcast room, in which a server dynamically adjusts a processing manner of non-real-time feedback information according to a number of connections of viewers in the live broadcast room according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a method for transmitting interactive information between live channels for a viewer to obtain non-real-time feedback information from a source according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method for transmitting interactive information between live channels according to an exemplary embodiment, where a server determines an order of non-real-time feedback information in a case of multiple viewers.
Fig. 7 is a flowchart illustrating a target content distribution node sending non-real-time feedback information according to different device types in a live broadcast interactive information transmission method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a method for transmitting interactive information between live channels, in which a viewer interacts with a live channel according to live control information according to an exemplary embodiment.
Fig. 9 is a flow chart illustrating a method for transmitting live interactive information on a server side according to an exemplary embodiment.
Fig. 10 is a flow chart illustrating a method for transmitting live interactive information at a viewer side according to an exemplary embodiment.
Fig. 11 is a schematic structural diagram of a transmission apparatus of live interactive information on a server side according to an exemplary embodiment.
Fig. 12 is a schematic structural diagram of a transmission apparatus of live interactive information on a viewer side according to an exemplary embodiment.
FIG. 13 is a block diagram of an electronic device showing a server in accordance with an example embodiment.
Fig. 14 is a block diagram of a viewer-side electronic device, 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.
Fig. 1 is a schematic diagram of an application scenario of a transmission method of live broadcast interactive information, and as shown in fig. 1, the application achievement includes a viewer end 110, a server 120 and a content distribution network 130, where the content distribution network 130 includes a content distribution center server 1301 and a target content distribution node 1302. The server 120 receives and identifies the interactive information sent by the viewer 110, and the interactive information includes real-time interactive information and non-real-time interactive information. The server 120 sends real-time feedback information of the real-time interaction information to the viewer, and sends non-real-time feedback information of the non-real-time interaction information to the target content distribution node 1302 in the content distribution network 130. The server 120 transmits identification information of the target content distribution node 1302 to the viewer terminal 110. When the viewer terminal 110 needs to obtain the non-real-time feedback information, it sends a non-real-time feedback information obtaining request to the target content distribution node 1302 based on the identification information. The target content distribution node 1302 sends the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request to the viewer 110.
In the embodiment of the present disclosure, the viewer end 110 includes a physical device of a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, etc., and may also include software running in the physical device, such as an application program, etc. The operating system running on the network node in the embodiment of the present application may include, but is not limited to, an android system, an IOS system, linux, Unix, windows, and the like. The viewer 110 includes a UI (User Interface) layer, and the viewer 110 displays real-time feedback information and non-real-time feedback information to the outside through the UI layer, and in addition, sends the interaction information to the server 120 based on an API (Application Programming Interface), receives the identification information of the target content distribution node 1302 sent by the server 120, sends a non-real-time feedback information acquisition request to the target content distribution node 1302 based on the identification information, and receives the non-real-time feedback information sent by the target content distribution node 1302.
In the disclosed embodiment, the server 120 may include a server operating independently, or a distributed server, or a server cluster composed of a plurality of servers. The server 120 may include a network communication unit, a processor, a memory, and the like. Specifically, the server 120 may be configured to establish a live connection with the viewer 110, send real-time feedback information to the viewer 110, and send non-real-time feedback information to the target content distribution node 1302.
In the embodiment of the present disclosure, the Content Delivery Network 130 (CDN) is composed of a Content Delivery center server 1301, a target Content Delivery node 1302, a Content Delivery Network router, and other Content Delivery nodes. The content distribution center server 1301 may balance the overall load of the content distribution network, distribute and schedule the content, and the like, the target content distribution node 1302 and other content distribution nodes are user-oriented content providing devices and may be used to store non-real-time feedback information, and the target content distribution node 1302 and other content distribution nodes constitute a distribution data storage system. The content distribution network router can forward the non-real-time feedback information acquisition request to the corresponding target content distribution node according to the identification information sent by the audience terminal.
Fig. 2 is a flowchart illustrating a method for transmitting live broadcast interactive information according to an exemplary embodiment, and fig. 1 illustrates a flow of multi-terminal interaction, which includes the following steps.
S210, the server acquires interactive information sent by a spectator terminal of a target live broadcast room;
s220, identifying the type of the interactive information by the server, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information;
as an optional embodiment, the real-time interaction information is interaction information with a high requirement on real-time performance, such as a red packet robbing or a lottery, and for the real-time interaction information, the user generally needs to obtain real-time feedback information in time. The non-real-time interactive information is interactive information with low real-time requirement, such as praise, comment, gift and the like sent by the audience, and for the non-real-time interactive information, the user can tolerate the delay of the non-real-time feedback information.
As an optional embodiment, when the real-time interactive information is the information of winning the bonus package or the information of drawing a lottery, the real-time feedback information is the result of winning the bonus package or the result of drawing a lottery. And when the non-real-time interaction information is comment information sent by the audience, the non-real-time feedback information is comment information displayed in the comment area of the audience. And when the non-real-time interaction information is the gift sending information, the non-real-time feedback information is the corresponding gift dynamic effect information.
S230, the server acquires non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
s240, the server sends real-time feedback information to a spectator end of the target live broadcast room;
as an alternative embodiment, the viewer establishes a live long connection with the server to obtain live content. After the live broadcast long connection is established, the audience sends interaction information to the server through an Application Programming Interface (API) of the live broadcast room. And for the real-time feedback information of the real-time interactive information, the server sends the real-time feedback information to the audience through the live broadcast long connection.
S250, the server sends non-real-time feedback information to a target content distribution node; (ii) a
As an alternative embodiment, referring to fig. 3, the non-real-time feedback information includes domain name information of the audience of the target live broadcast room, and the server sending the non-real-time feedback information to the target content distribution node includes:
s310, the server sends non-real-time feedback information to a content distribution center server;
s320, analyzing the domain name information by the content distribution center server to obtain address information of an audience of the target live broadcast room;
s330, the content distribution center server obtains node position information of a plurality of content distribution nodes;
s340, the content distribution center server determines a target content distribution node matched with the audience terminal from the plurality of content distribution nodes according to the address information and the node position information;
and S350, the content distribution center server forwards the non-real-time feedback information to the target content distribution node.
As an alternative embodiment, the server may send the non-real-time feedback information to the content distribution center server in a package manner through a long connection with the content distribution center server. The content distribution center server can store the non-real-time feedback information and acquire the domain name information of the audience terminal of the target live broadcast room in the non-real-time feedback information. The content distribution center server analyzes the domain name information to obtain an Internet Protocol Address (ip Address) of the audience, determines a content distribution node closest to the audience in each content distribution node of the content distribution network according to the ip Address of the audience, and takes the content distribution node as a target content distribution node. As an alternative embodiment, the content distribution center server may obtain the overall load status of the content distribution network and the load status of each content distribution node. The content distribution center server may determine a target content distribution node matched with the audience according to information such as the overall load state of the content distribution network, the load state of the content distribution node, and the distance between the content distribution node and the audience. And the content distribution center server sends the non-real-time feedback information to the target content distribution node for storage. In the subsequent steps, when the audience requests the non-real-time feedback information, the non-real-time feedback information can be directly obtained from the corresponding target content distribution node.
The audience obtains the non-real-time feedback information through the target content distribution node in the content distribution network, the load of the server can be reduced, the problem of server overload is avoided, the live broadcast long connection between the server and the audience is only used for transmitting the real-time feedback information, the bandwidth of the live broadcast long connection between the server and the audience is reduced, and the network cost is saved.
As an alternative embodiment, please refer to, 4, the method further includes:
s410, the server obtains the number of connections of the audience in the live broadcast room;
s420, the server takes live broadcast rooms with the number of connections of the audience terminals being larger than or equal to a preset threshold value as target live broadcast rooms;
s430, the server determines the information compression interval time of the non-real-time feedback information according to the number of connection of the audience terminals in the target live broadcast room;
the server sends the non-real-time feedback information to the target content distribution node comprises the following steps:
s440, the server compresses the non-real-time feedback information according to the information compression interval time;
and S450, the server sends the compressed non-real-time feedback information to the target content distribution node.
As an optional embodiment, the server obtains the number of connections of the audience in the live broadcast room, the server takes the live broadcast room in which the number of connections of the audience is greater than or equal to a preset threshold value as a target live broadcast room, and the server takes the live broadcast room in which the number of connections of the audience is less than the preset threshold value as a non-target live broadcast room. When the live broadcast room is a non-target live broadcast room, the server can directly send the non-real-time interactive feedback information and the real-time interactive feedback information to the audience without sending the non-real-time interactive feedback information to the target distribution node. The determination of the preset threshold value can be performed according to the load capacity of the server and the traffic cost generated by the live long connection between the audience and the server. For example, when the audience side connection of the live broadcast room is set to be more than or equal to 50 ten thousand, the live broadcast room is a large live broadcast room.
And the server determines the information compression interval time of the non-real-time feedback information according to the number of the connections of the audience in the target live broadcast room, wherein the compression interval time is the time interval between two adjacent times of compressing the non-real-time feedback information. For example, when the number of viewer-side connections in the target live broadcast room is greater than or equal to 50w, the compression interval time is 2 s. When the number of the connections of the audience is more than or equal to 100w, the compression interval time can be increased to 3s, so that the quantity of the non-real-time feedback information in each compression is increased, and more non-real-time feedback information can be compressed at one time. And the server sends the compressed non-real-time feedback information to the target content distribution node.
By adjusting the information compression interval time, the delay time of non-real-time feedback information can be dynamically adjusted, and the adaptability of the server in the process of feeding back the interactive information is improved.
S260, the server sends the identification information of the target content distribution node to a viewer end of the target live broadcast room;
s270, the audience terminal sends a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and S280, the audience receives the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
As an alternative embodiment, please refer to fig. 5, the method further includes:
s510, when non-real-time feedback information corresponding to the non-real-time feedback information acquisition request does not exist in the target content distribution node, the server acquires the non-real-time feedback information acquisition request forwarded by the target content distribution node based on the source return path information, wherein the source return path information is used for determining an information transmission path from the target content distribution node to the server;
s520, the server acquires non-real-time feedback information corresponding to the non-real-time feedback information acquisition request;
s530, the server sends corresponding non-real-time feedback information to a target content distribution node;
and S540, the target content distribution node sends corresponding non-real-time feedback information to the audience.
As an optional embodiment, when the target content distribution node does not have the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request, the server may not send the corresponding non-real-time feedback information to the target content distribution node. At the moment, the target content distribution node acquires the source returning path information between the target content distribution node and the server, wherein the source returning path information is the path information which starts from the target content distribution node to reach the content distribution center server and then reaches the server. As an optional embodiment, the content distribution network may have a hierarchical structure, a transition layer content distribution node may be set between the content distribution node and the content distribution center server, the content distribution node is used as a secondary node, the transition layer content distribution node is used as a primary node, and at this time, when the non-real-time feedback information is acquired from the server through the source return path information, the source return path information of the target content distribution node is the path information that starts from the target content distribution node, reaches the content distribution center server through the transition layer content distribution node, and then reaches the server.
The server receives a non-real-time feedback information acquisition request forwarded by a target content distribution node, acquires non-real-time feedback information corresponding to the non-real-time feedback information acquisition request, sends the corresponding non-real-time feedback information to the target content distribution node, and the target content distribution node sends the corresponding non-real-time feedback information to a viewer.
As an alternative embodiment, the target content distribution node N acquires a non-real-time feedback information acquisition request x, the target content distribution node does not have non-real-time feedback information corresponding to the non-real-time feedback information acquisition request x, and the target content distribution node N acquires back-source path information, where the back-source path information is the target content distribution node N → the content distribution node N in the transition layer → the content distribution center server → the server. The target content distribution node N forwards a non-real-time feedback information acquisition request x to a transition layer content distribution node N, the transition layer content distribution node N forwards the non-real-time feedback information acquisition request x to a content distribution center server, the content distribution center server forwards the non-real-time feedback information acquisition request x to a server, and after the server acquires non-real-time feedback information m corresponding to the non-real-time feedback information acquisition request x, the server sends the non-real-time feedback information m to the content distribution center server, the content distribution center server sends the non-real-time feedback information m to the transition layer content distribution node N, and then sends the non-real-time feedback information m to the target content distribution node N. And the target content distribution node n sends the non-real-time feedback information m to the corresponding audience.
The non-real-time feedback information acquisition request is forwarded by the target content distribution node, so that the audience can acquire the non-real-time feedback information from the server, and the problem that the non-real-time feedback information cannot be acquired when the server does not issue the non-real-time feedback information to the target content distribution node but the audience sends the non-real-time feedback information acquisition request to the target content distribution node is solved.
As an alternative embodiment, please refer to fig. 6, the method further includes:
s610, the audience receives the serial number of the non-real-time feedback information corresponding to the identification information of the target content distribution node, which is sent by the server;
s620, the audience generates a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number based on the arrangement sequence of the serial numbers of the non-real-time feedback information;
s630, the audience terminal takes a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number as a current non-real-time feedback information acquisition request;
s640, the audience terminal determines the current target content distribution node according to the identification information of the target content distribution node corresponding to the current serial number;
s650, the audience end sends a current non-real-time feedback information acquisition request to a current target content distribution node.
As an optional embodiment, when acquiring the non-real-time interaction information sent by the multiple audience terminals, the server may sort the non-real-time interaction information corresponding to the multiple audience terminals according to the acquisition time of the non-real-time interaction information, so as to obtain a sequence of each non-real-time interaction information. And the server determines the sequence of the corresponding non-real-time interactive feedback information according to the sequence of the non-real-time interactive information, so as to determine the sequence number of the non-real-time interactive feedback information. And the server sends the serial number of the non-real-time feedback information to each audience, wherein the serial number of the non-real-time feedback information corresponds to the identification information of the target content distribution node where the non-real-time feedback information is located. The spectator end can generate a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number according to the arrangement sequence of the serial numbers of the non-real-time counterattack information, and the non-real-time feedback information acquisition request is used as the current non-real-time feedback information acquisition request. And the audience terminal determines the current target content distribution node according to the identification information of the target content distribution node corresponding to the current serial number, and sends the current non-real-time feedback information acquisition request to the current target content distribution node to obtain the non-real-time interaction feedback information of the non-real-time interaction information corresponding to the current serial number.
As an optional embodiment, the spectator a sends comment information a1 and a2 in the target live broadcast, the spectator B sends comment information B1 in the target live broadcast, and the spectator C sends comment information C1 in the target live broadcast, wherein the server receives the comment information in a time sequence of a1, B1, a2, and C1, and the corresponding feedback information has a '1, B' 1, a '2, and C' 1, so that the feedback information a '1 corresponds to a sequence number of 1, B' 1 corresponds to a sequence number of 2, a '2 corresponds to a sequence number of 3, and C' 1 corresponds to a sequence number of 4. Taking the spectator a as an example, the server sends the feedback information a '1 of the comment information a1 to the target content distribution node X corresponding to the spectator a, and the server sends the feedback information b' 1 of the comment information b1, the feedback information a '2 of the comment information a2, and the feedback information c' 1 of the comment information c1 to another target content distribution node Y corresponding to the spectator a. The server sends the serial number of the feedback information to the audience A, wherein the serial number 1 corresponds to the target content distribution node X, and the serial numbers 2, 3 and 4 correspond to the target content distribution node Y. And when the audience A determines that the current serial number is the serial number 1 according to the sequence of the serial numbers of the feedback information, the audience A sends a corresponding non-real-time feedback information acquisition request to a target content node X to acquire the feedback information a '1, and when the audience A determines that the current serial number is the serial number 2, the serial number 3 or the serial number 4 according to the sequence of the serial numbers of the comment information, the audience A sends a corresponding non-real-time feedback information acquisition request to a target content node Y to acquire the feedback information b' 1, a '2 or c' 1. The audience a can thus sequentially obtain the feedback information in the order of a '1, b' 1, a '2, c' 1 from the target content distribution node X and the target content distribution node Y.
The sequence information of the non-real-time interactive information is determined, and the sequence number is sent to the audience, so that the problem of disorder of the information sequence can be avoided when the non-real-time feedback information is displayed, and the user experience is improved.
As an alternative embodiment, referring to fig. 7, the non-real-time feedback information obtaining request includes device type information, and the method further includes:
s710, the audience sends the equipment type information to the target content distribution node based on the identification information
S720, the target content distribution node determines the information transmission quantity matched with the equipment type information;
and S730, the audience end receives non-real-time feedback information which is sent by the target content distribution node and corresponds to the information transmission quantity.
As an alternative embodiment, the target distribution node obtains the device type information in the non-real-time feedback information obtaining request, and may determine the processing speed of the processor of the viewer according to the device type information, thereby determining the information transmission amount that the viewer can receive. And the target content distribution node sends non-real-time feedback information to the audience terminal according to the information transmission quantity after determining the information transmission quantity matched with the equipment type information.
As an alternative embodiment, the target content distribution node obtains the device type information D in the non-real-time feedback information obtaining request sent by the viewer D, determines that the information transmission amount is D1 according to the device type information D, obtains the device type information E in the non-real-time feedback information obtaining request sent by the viewer E, determines that the information transmission amount is E1 according to the device type information E, and sends the non-real-time feedback information to the viewer D based on the information transmission amount D1 and sends the non-real-time feedback information to the viewer E based on the information transmission amount E1.
According to different equipment type information, different information transmission amounts are determined, the sending mode for sending the non-real-time feedback information can be adjusted according to different audience terminals, and user experience is improved.
As an alternative embodiment, please refer to fig. 8, the method further includes:
s810, the server sends service information of the live broadcast room to a spectator end;
s820, the audience terminal generates real-time interaction information corresponding to the service information of the live broadcast room;
s830, a spectator end sends real-time interaction information corresponding to the service information of the live broadcast room to a server;
s840, the server generates real-time feedback information of real-time interaction information corresponding to the service information of the live broadcast room;
and S850, the server sends real-time feedback information of the real-time interaction information corresponding to the service information of the live broadcast room to the audience.
As an optional embodiment, the server may further send live broadcast service information to the audience, for example, a lottery service or a red packet sending service, after receiving the live broadcast service information, the audience may send real-time interaction information corresponding to the live broadcast service information to the server, and the server sends real-time feedback information to the audience, so that the user can obtain an interaction result in real time.
And determining that the service information of the live broadcast room sent by the server is real-time interactive information, so that the interaction between the audience and the anchor can be smoothly carried out, and the user experience is improved.
As an alternative embodiment, please refer to fig. 9, which provides a method for transmitting live broadcast interactive information, where the method is applied to a server side, and the method includes:
s910, acquiring interactive information sent by a spectator terminal of a target live broadcast room;
s920, identifying the type of the interactive information, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information;
s930, acquiring non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
s940, sending information fed back from a viewer end of the target live broadcast room to a real-time server;
s950, sending non-real-time feedback information to a target content distribution node;
and S960, sending the identification information of the target content distribution node to a spectator side of the target live broadcast room, so that the spectator side obtains corresponding non-real-time feedback information from the target content distribution node based on the identification information.
As an optional embodiment, the server acquires interactive information sent by a viewer side of a target live broadcast room. The target live broadcast room can be a live broadcast room in which the number of connections of the audience side in the live broadcast room is greater than or equal to a preset number. The server identifies interactive information sent by a spectator, wherein the interactive information comprises real-time interactive information and non-real-time interactive information, and respectively acquires real-time feedback information of the real-time interactive information and non-real-time feedback information of the non-real-time interactive information. The service sends real-time feedback information to the audience terminals and sends non-real-time feedback information to a content distribution center server of the content distribution network, the content distribution center server can determine target content distribution nodes matched with the audience terminals according to information such as the overall load state of the content distribution network, the load state of the content distribution nodes and the distance between the content distribution nodes and the audience terminals, and the non-real-time feedback information is forwarded to the target content distribution nodes. And the server sends the identification information of the target content distribution node to a viewer end of the target live broadcast room. As an optional embodiment, the server may further obtain the serial numbers of the non-real-time interaction information sent by the multiple audience terminals according to the sequence of the obtaining time of the real-time interaction information sent by the multiple audience terminals, and send the serial numbers of the non-real-time interaction information to the audience terminals, so that the audience terminals send the non-real-time interaction information obtaining requests to the target content distribution nodes according to the sequence of the serial numbers of the non-real-time interaction information.
The server sends the non-real-time feedback information to the target content distribution node, and the target content distribution node sends the non-real-time feedback information to the client, so that the load of the server can be reduced, the processing capacity of real-time interactive information is ensured, the bandwidth of live broadcast long connection can be reduced, and the network cost is saved.
In an alternative embodiment, please refer to fig. 10, a method for transmitting interactive information between live channels is provided, the method is applied to a viewer side, and the method includes:
s1010, sending interaction information to a server to enable the server to identify the interaction information, wherein the interaction information comprises real-time interaction information and non-real-time interaction information, and acquiring non-real-time feedback information of the non-real-time interaction information and real-time feedback information of the real-time interaction information; the server sends non-real-time feedback information to the target content distribution node;
s1020, receiving identification information and real-time feedback information of a target content distribution node sent by a server;
s1030, sending a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and S1040, receiving non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
As an optional embodiment, the audience sends the interactive information to the server, and receives the identification information of the target content distribution node and the real-time feedback information of the real-time interactive information in the interactive information sent by the server. As an optional embodiment, the spectator end may further receive the serial number of the non-real-time feedback information sent by the server, generate a non-real-time feedback information acquisition request corresponding to the current serial number according to the arrangement sequence of the serial numbers of the non-real-time feedback information, send the non-real-time feedback information acquisition request to the target distribution node corresponding to the serial number, acquire the non-real-time feedback information, and display the non-real-time feedback information according to the corresponding arrangement sequence.
As an optional embodiment, sending a non-real-time feedback information obtaining request to a target content distribution node based on the identification information includes:
and sending a non-real-time feedback information acquisition request to the content distribution network router, wherein the non-real-time feedback information acquisition request carries identification information, so that the content distribution network router determines a target content distribution node according to the identification information and forwards the non-real-time feedback information acquisition request to the target content distribution node.
And the audience terminal sends a non-real-time feedback information acquisition request carrying the identification information to the content distribution network router. The content distribution network router determines a target content distribution node corresponding to the identification information. And the content distribution network router redirects the non-real-time feedback information acquisition request and forwards the non-real-time feedback information acquisition request of the audience to the target content distribution node. And after acquiring the non-real-time feedback information acquisition request, the target content distribution node sends non-real-time feedback information corresponding to the non-real-time feedback information acquisition request to the audience. And if the target content distribution node does not have the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request, determining the back-to-source path information between the target content distribution node and the server. And the target content distribution node forwards the non-real-time feedback information acquisition request to the server based on the back-source path information, and acquires corresponding non-real-time feedback information from the server. And the target content distribution node sends corresponding non-real-time feedback information to the audience.
The audience terminal acquires the real-time feedback information from the server and acquires the non-real-time feedback information from the target content distribution node, so that the timeliness of the real-time feedback information can be improved, and the user experience is improved.
As an optional embodiment, in a live scene, a viewer end opens live broadcast software, selects a live broadcast room and establishes a live broadcast long connection with a server room. And the audience end sends the interactive information to the live broadcast room by using an application programming interface of the live broadcast room. The server detects the number of the audience end connections in the live broadcast room, and when the number of the audience end connections is smaller than a preset threshold value, the server sends feedback information of the interactive information to the audience end.
When the number of the connections of the audience terminals is larger than or equal to a preset threshold value, the server takes the live broadcast room as a target live broadcast room, identifies interactive information, wherein the interactive information comprises real-time interactive information and non-real-time interactive information, and determines real-time feedback information of the real-time interactive information and non-real-time feedback information of the non-real-time interactive information. The server sends real-time feedback information to the audience.
The server determines the compression interval time according to the number of the connection of the audience, and the compression interval time is longer when the number of the connection of the audience is more, namely more non-real-time feedback information is compressed at one time. And the server compresses the non-real-time feedback information according to the compression interval time, sends the compressed non-real-time feedback information to the content distribution center server, determines a target content distribution node matched with the audience terminal by the content distribution center server, and sends the non-real-time feedback information to the target content distribution node for storage.
And the server sends the identification information of the target content distribution node and the serial number of the non-real-time feedback information corresponding to the identification information to the audience. The sequence number of the non-real-time feedback information can be determined by the server according to the acquisition time of the non-real-time interaction information. And the audience terminal sends a non-real-time feedback information acquisition request carrying the identification information to the content distribution network router. And the content distribution network router determines a corresponding target content distribution node according to the identification information and sends a non-real-time feedback information acquisition request to the target content distribution node. And the target content distribution node sends the non-real-time feedback information to the audience terminal according to the non-real-time feedback information acquisition request.
And the audience terminal analyzes the non-real-time feedback information and the real-time feedback information and displays the analysis results of the non-real-time feedback information and the real-time feedback information.
The present disclosure provides a method for transmitting interactive information in a live broadcast room, including: the server identifies interactive information sent by the audience, wherein the interactive information comprises real-time interactive information and non-real-time interactive information, and sends non-real-time feedback information of the non-real-time interactive information to the target content distribution node. The server sends the identification information of the target content distribution node to the audience. And the target content distribution node sends corresponding non-real-time feedback information to the audience terminal according to the non-real-time feedback information acquisition request. The method reduces the load of the server by using the content distribution network, improves the processing speed of the server on the real-time interactive information, and simultaneously reduces the bandwidth of the live broadcast long connection between the audience and the server, thereby saving the network cost.
Fig. 11 is a block diagram illustrating an apparatus for transmitting live interactive information according to an exemplary embodiment. Referring to fig. 11, the server-side apparatus includes:
an interactive information obtaining module 1110 configured to perform obtaining of interactive information sent by a viewer in a target live broadcast;
an interactive information identification module 1120 configured to perform identifying a type of interactive information, the type of interactive information including real-time interactive information and non-real-time interactive information;
a feedback information obtaining module 1130 configured to perform obtaining non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
a real-time feedback information sending module 1140 configured to perform sending the real-time feedback information to the audience of the target live broadcast room;
a non-real-time feedback information sending module 1150 configured to perform sending non-real-time feedback information to a target content distribution node;
an identification information sending module 1160 configured to perform sending the identification information of the target content distribution node to the audience of the target live broadcast room, so that the audience obtains the corresponding non-real-time feedback information from the target content distribution node based on the identification information.
As an alternative embodiment, the non-real-time feedback information includes domain name information of the audience of the target live broadcast room, and the non-real-time feedback information sending module includes:
and the non-real-time feedback information sending execution unit is configured to execute sending of the non-real-time feedback information to the content distribution center server, so that the content distribution center server determines a target content distribution node matched with the domain name information of the audience from the plurality of content distribution nodes and sends the non-real-time feedback information to the target content distribution node.
As an optional embodiment, the apparatus further comprises:
the non-real-time feedback information acquisition request acquisition module is configured to execute a non-real-time feedback information acquisition request forwarded by a target content distribution node based on source return path information when non-real-time feedback information corresponding to the non-real-time feedback information acquisition request does not exist in the target content distribution node, and the source return path information is used for determining an information transmission path from the target content distribution node to a server;
the non-real-time feedback information acquisition module is configured to execute acquisition of non-real-time feedback information corresponding to the non-real-time feedback information acquisition request;
and the non-real-time feedback information issuing module is configured to execute sending of the non-real-time feedback information to the target content distribution node, so that the target content distribution node sends the corresponding non-real-time feedback information to the audience.
As an optional embodiment, the apparatus further comprises:
the audience terminal connection number acquisition module is configured to acquire the number of audience terminal connections in a live broadcast room;
the target live broadcast room determining module is configured to execute the step of taking the live broadcast room with the number of audience end connections greater than or equal to a preset threshold value as a target live broadcast room;
the compression interval determining module is configured to determine the information compression interval time of the non-real-time feedback information according to the number of the audience side connections in the target live broadcast room;
the non-real-time feedback information sending module comprises:
a compression processing unit configured to perform compression processing on the non-real-time feedback information according to the information compression interval time;
and the compressed information sending unit is configured to send the compressed non-real-time feedback information to the target content distribution node.
Fig. 12 is a block diagram illustrating an apparatus for transmitting live interactive information according to an exemplary embodiment. Referring to fig. 12, the viewer-side apparatus includes:
an interactive information sending module 1210 configured to execute sending of interactive information to a server, so that the server identifies a type of the interactive information, where the type of the interactive information includes real-time interactive information and non-real-time interactive information, and obtains non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information; the server sends non-real-time feedback information to the target content distribution node;
an information receiving module 1220 configured to execute receiving the identification information of the target content distribution node and the real-time feedback information of the real-time interaction information sent by the server;
an information acquisition request sending module 1230 configured to perform sending a non-real-time feedback information acquisition request to the target content distribution node based on the identification information;
and the non-real-time feedback information receiving module 1240 is configured to receive the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
As an alternative embodiment, the information obtaining request sending module 1230 includes:
and the information acquisition request sending execution unit is configured to execute sending of a non-real-time feedback information acquisition request to the content distribution network router, wherein the non-real-time feedback information acquisition request carries identification information, so that the content distribution network router determines a target content distribution node according to the identification information and forwards the non-real-time feedback information acquisition request to the target content distribution node.
As an optional embodiment, the apparatus further comprises:
the sequence number receiving module is configured to receive a sequence number of non-real-time feedback information corresponding to the identification information of the target content distribution node, wherein the sequence number is sent by the server;
the information acquisition request sending module 1230 includes:
a current information acquisition request generation unit configured to execute a ranking order of the serial numbers based on the non-real-time feedback information, and generate a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number; taking a non-real-time feedback information acquisition request of non-real-time feedback information corresponding to the current serial number as a current non-real-time feedback information acquisition request;
the current target content distribution node determining unit is configured to execute identification information of a target content distribution node corresponding to the current serial number and determine the current target content distribution node;
and the information acquisition request sending unit is configured to execute sending of the current non-real-time feedback information acquisition request to the current target content distribution node.
As an alternative embodiment, the non-real-time feedback information obtaining request includes device type information, and the information obtaining request sending module 1230 includes:
a transmission amount determination unit configured to perform transmission of the device type information to the target content distribution node based on the identification information so that the target content distribution node determines an amount of information transmission matching the device type information;
the non-real-time feedback information receiving module comprises:
and the non-real-time feedback information receiving unit is configured to receive the non-real-time feedback information corresponding to the information transmission amount sent by the target content distribution node.
As an optional embodiment, the apparatus further comprises:
the service information receiving module is configured to execute the service information of the live broadcast room sent by the receiving server;
the real-time interactive information generation module is configured to execute generation of real-time interactive information corresponding to the live broadcast room service information;
the corresponding information sending module is configured to execute sending of real-time interaction information corresponding to the live broadcast room service information to the server;
and the feedback information receiving module is configured to execute real-time feedback information of the real-time interaction information which is sent by the receiving server and corresponds to the service information of the 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. 13 illustrates a method for live interactive information transfer, according to an example embodiment. A block diagram of an electronic device, which may be a server, may be shown in fig. 13 as an internal block diagram. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to realize a method for transmitting interactive information between live broadcast rooms.
Fig. 14 is a block diagram of an electronic device for live interactive information transmission, which may be a viewer side according to an exemplary embodiment, and an internal structure diagram of the electronic device may be as shown in fig. 14. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to realize a method for transmitting interactive information between live broadcast rooms. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be understood by those skilled in the art that the configurations shown in fig. 13 and 14 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the electronic device to which the present disclosure may be applied, and a particular electronic device may include more or less components than those shown in the figures, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an apparatus for live interactive information transmission, including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a method for transmitting live broadcast interactive information according to the embodiment of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is further provided, and when instructions in the storage medium are executed by a processor of a live broadcast interactive information transmission apparatus, the live broadcast interactive information transmission apparatus is enabled to execute a live broadcast interactive information transmission method in the embodiments of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is further provided, and the computer program product is stored in a storage medium, so that a processor of an electronic device can read the computer program product from the storage medium and execute a transmission method of live broadcast-to-live broadcast interaction information in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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 application 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 transmitting interactive information of a live broadcast room is characterized by comprising the following steps:
acquiring interactive information sent by a viewer terminal of a target live broadcast room;
identifying the type of the interaction information, wherein the type of the interaction information comprises real-time interaction information and non-real-time interaction information;
acquiring non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
sending the real-time feedback information to a viewer end of the target live broadcast room;
sending the non-real-time feedback information to a target content distribution node;
and sending the identification information of the target content distribution node to a spectator terminal of the target live broadcast room, so that the spectator terminal acquires corresponding non-real-time feedback information from the target content distribution node based on the identification information.
2. The method as claimed in claim 1, wherein the non-real-time feedback information includes domain name information of an audience of the target live broadcast room, and the sending the non-real-time feedback information to the target content distribution node includes:
and sending the non-real-time feedback information to a content distribution center server, so that the content distribution center server determines a target content distribution node matched with the domain name information of the audience from a plurality of content distribution nodes, and sends the non-real-time feedback information to the target content distribution node.
3. The method for transmitting interactive information between live broadcast rooms as claimed in claim 1, wherein the method further comprises:
when the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request does not exist in the target content distribution node, acquiring the non-real-time feedback information acquisition request forwarded by the target content distribution node based on source return path information, wherein the source return path information is used for determining an information transmission path from the target content distribution node to a server;
acquiring non-real-time feedback information corresponding to the non-real-time feedback information acquisition request;
and sending the non-real-time feedback information to the target content distribution node, so that the target content distribution node sends the corresponding non-real-time feedback information to the audience.
4. The method for transmitting interactive information between live broadcast rooms as claimed in claim 1, wherein the method further comprises:
acquiring the number of audience end connections in a live broadcast room;
taking the live broadcast rooms with the number of connections of the audience terminals being more than or equal to a preset threshold value as the target live broadcast rooms;
determining the information compression interval time of the non-real-time feedback information according to the number of connection of audience terminals in the target live broadcast room;
the sending the non-real-time feedback information to the target content distribution node comprises:
compressing the non-real-time feedback information according to the information compression interval time;
and sending the compressed non-real-time feedback information to the target content distribution node.
5. A method for transmitting interactive information of a live broadcast room is characterized by comprising the following steps:
sending interaction information to a server so that the server can identify the type of the interaction information, wherein the type of the interaction information comprises real-time interaction information and non-real-time interaction information, and acquiring non-real-time feedback information of the non-real-time interaction information and real-time feedback information of the real-time interaction information; the server sends the non-real-time feedback information to a target content distribution node;
receiving identification information of a target content distribution node and real-time feedback information of the real-time interaction information sent by the server;
sending a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and receiving the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
6. The method as claimed in claim 5, wherein the sending a non-real-time feedback information obtaining request to the target content distribution node based on the identification information comprises:
and sending the non-real-time feedback information acquisition request to a content distribution network router, wherein the non-real-time feedback information acquisition request carries the identification information, so that the content distribution network router determines the target content distribution node according to the identification information and forwards the non-real-time feedback information acquisition request to the target content distribution node.
7. The method for transmitting interactive information between live channels as claimed in claim 5, further comprising:
receiving a serial number of non-real-time feedback information corresponding to the identification information of the target content distribution node, which is sent by the server;
the sending of the non-real-time feedback information acquisition request to the target content distribution node based on the identification information comprises:
generating a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number based on the sequence of the serial numbers of the non-real-time feedback information;
taking a non-real-time feedback information acquisition request of the non-real-time feedback information corresponding to the current serial number as a current non-real-time feedback information acquisition request;
determining a current target content distribution node according to the identification information of the target content distribution node corresponding to the current serial number;
and sending the current non-real-time feedback information acquisition request to the current target content distribution node.
8. The method as claimed in claim 5, wherein the request for obtaining non-real-time feedback information includes device type information, and sending the request for obtaining non-real-time feedback information to the target content distribution node based on the identification information includes:
based on the identification information, sending the device type information to a target content distribution node so that the target content distribution node determines the information transmission amount matched with the device type information;
the receiving of the non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node includes:
and receiving non-real-time feedback information which is sent by the target content distribution node and corresponds to the information transmission quantity.
9. A device for transmitting interactive information between live broadcast rooms, the device comprising:
the interactive information acquisition module is configured to execute acquisition of interactive information sent by a viewer side of a target live broadcast room;
the interactive information identification module is configured to identify the type of the interactive information, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information;
a feedback information acquisition module configured to perform acquisition of non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information;
a real-time feedback information sending module configured to execute sending the real-time feedback information to a viewer side of the target live broadcast room;
a non-real-time feedback information sending module configured to perform sending the non-real-time feedback information to a target content distribution node;
and the identification information sending module is configured to execute sending of the identification information of the target content distribution node to the audience of the target live broadcast room, so that the audience obtains corresponding non-real-time feedback information from the target content distribution node based on the identification information.
10. A device for transmitting interactive information between live broadcast rooms, the device comprising:
the interactive information sending module is configured to send interactive information to a server so that the server can identify the type of the interactive information, wherein the type of the interactive information comprises real-time interactive information and non-real-time interactive information, and non-real-time feedback information of the non-real-time interactive information and real-time feedback information of the real-time interactive information are obtained; the server sends the non-real-time feedback information to a target content distribution node;
the real-time feedback information receiving module is configured to execute receiving of the identification information of the target content distribution node and the real-time feedback information of the real-time interaction information sent by the server;
an information acquisition request sending module configured to execute sending a non-real-time feedback information acquisition request to a target content distribution node based on the identification information;
and the non-real-time feedback information receiving module is configured to execute receiving of non-real-time feedback information corresponding to the non-real-time feedback information acquisition request sent by the target content distribution node.
CN202011343229.7A 2020-11-25 2020-11-25 Transmission method, device, equipment and storage medium for interaction information of live broadcasting room Active CN112533012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011343229.7A CN112533012B (en) 2020-11-25 2020-11-25 Transmission method, device, equipment and storage medium for interaction information of live broadcasting room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011343229.7A CN112533012B (en) 2020-11-25 2020-11-25 Transmission method, device, equipment and storage medium for interaction information of live broadcasting room

Publications (2)

Publication Number Publication Date
CN112533012A true CN112533012A (en) 2021-03-19
CN112533012B CN112533012B (en) 2023-07-04

Family

ID=74994348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011343229.7A Active CN112533012B (en) 2020-11-25 2020-11-25 Transmission method, device, equipment and storage medium for interaction information of live broadcasting room

Country Status (1)

Country Link
CN (1) CN112533012B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316026A (en) * 2021-05-24 2021-08-27 康键信息技术(深圳)有限公司 Barrage message processing method, device, equipment and storage medium
CN116033189A (en) * 2023-03-31 2023-04-28 卓望数码技术(深圳)有限公司 Live broadcast interactive video partition intelligent control method and system based on cloud edge cooperation

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212721A (en) * 2007-12-25 2008-07-02 华为软件技术有限公司 Information processing method, system, and information consolidation device
CN102823266A (en) * 2010-03-26 2012-12-12 三星电子株式会社 Method and apparatus for receiving non-real time content included in real time broadcasting signal
CN104702627A (en) * 2015-04-01 2015-06-10 南京天溯自动化控制***有限公司 Packet classification-based synchronous concurrent communication method and system
CN105916045A (en) * 2016-05-11 2016-08-31 乐视控股(北京)有限公司 Interactive live broadcast method and device
CN107948664A (en) * 2017-11-20 2018-04-20 广州虎牙信息科技有限公司 Direct broadcasting room video playing control method, device and terminal
CN108028947A (en) * 2015-07-16 2018-05-11 构造数据有限责任公司 System and method for improving the workload management in ACR TV monitor systems
CN108111918A (en) * 2017-12-08 2018-06-01 深圳岚锋创视网络科技有限公司 Interactive approach, device and live streaming client during a kind of panoramic video live streaming
US20180220168A1 (en) * 2014-03-26 2018-08-02 Alticast Corporation Method and system for linking real-time broadcasting with non-real-time video service using user history information
CN111479095A (en) * 2020-06-24 2020-07-31 腾讯科技(深圳)有限公司 Service processing control system, method and device
CN111818359A (en) * 2020-09-14 2020-10-23 北京达佳互联信息技术有限公司 Processing method and device for live interactive video, electronic equipment and server

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212721A (en) * 2007-12-25 2008-07-02 华为软件技术有限公司 Information processing method, system, and information consolidation device
CN102823266A (en) * 2010-03-26 2012-12-12 三星电子株式会社 Method and apparatus for receiving non-real time content included in real time broadcasting signal
US20180220168A1 (en) * 2014-03-26 2018-08-02 Alticast Corporation Method and system for linking real-time broadcasting with non-real-time video service using user history information
CN104702627A (en) * 2015-04-01 2015-06-10 南京天溯自动化控制***有限公司 Packet classification-based synchronous concurrent communication method and system
CN108028947A (en) * 2015-07-16 2018-05-11 构造数据有限责任公司 System and method for improving the workload management in ACR TV monitor systems
CN105916045A (en) * 2016-05-11 2016-08-31 乐视控股(北京)有限公司 Interactive live broadcast method and device
CN107948664A (en) * 2017-11-20 2018-04-20 广州虎牙信息科技有限公司 Direct broadcasting room video playing control method, device and terminal
CN108111918A (en) * 2017-12-08 2018-06-01 深圳岚锋创视网络科技有限公司 Interactive approach, device and live streaming client during a kind of panoramic video live streaming
CN111479095A (en) * 2020-06-24 2020-07-31 腾讯科技(深圳)有限公司 Service processing control system, method and device
CN111818359A (en) * 2020-09-14 2020-10-23 北京达佳互联信息技术有限公司 Processing method and device for live interactive video, electronic equipment and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316026A (en) * 2021-05-24 2021-08-27 康键信息技术(深圳)有限公司 Barrage message processing method, device, equipment and storage medium
CN116033189A (en) * 2023-03-31 2023-04-28 卓望数码技术(深圳)有限公司 Live broadcast interactive video partition intelligent control method and system based on cloud edge cooperation
CN116033189B (en) * 2023-03-31 2023-06-30 卓望数码技术(深圳)有限公司 Live broadcast interactive video partition intelligent control method and system based on cloud edge cooperation

Also Published As

Publication number Publication date
CN112533012B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
WO2017202243A1 (en) Multimedia playback method and related device
US20020184314A1 (en) Method and system for transmitting multicast data signals
CN109151497B (en) Live wheat-connecting method and device, electronic equipment and storage medium
CN108235042B (en) Multi-user network live broadcast method, device, joining device, system, server and computer readable storage medium
CN109391851B (en) Video live broadcast method and device, computer equipment and storage medium
CN108810657B (en) Method and system for setting video cover
JP6472892B2 (en) Dynamic time window and cache mechanism in heterogeneous network transmission
CN111935536B (en) Live broadcast room request response method, device, equipment and storage medium
CN112533012B (en) Transmission method, device, equipment and storage medium for interaction information of live broadcasting room
CN111107386A (en) Live video playback method and device, electronic equipment, system and storage medium
CN112738140A (en) Video stream transmission method, device, storage medium and equipment based on WebRTC
CN111083536B (en) Method and device for adjusting video code rate
US11838572B2 (en) Streaming video trunking
CN113766251A (en) Processing method, system, server and storage medium for live broadcast and microphone connection
CN107332894B (en) Live broadcast method, device and system, server and storage medium
US11317135B2 (en) Identifying user devices for interactive media broadcast participation
CN108668151B (en) Audio and video interaction method and device
JP5997439B2 (en) Method and input / output device for rendering at least one of audio, video and computer graphics content, and at least one of pre-rendered audio, pre-rendered video and pre-rendered computer graphics content Devices that provide services to deliver
CN108668140B (en) Audio and video interaction state synchronization method and device
CN111314738A (en) Data transmission method and device
US20020002616A1 (en) Method and apparatus for providing multimedia service in network environment
CN109818999B (en) Data transmission method and device
US10567819B2 (en) Method and system for sponsoring data on a network
CN112511884A (en) Mixed flow control method and system of audio and video stream and storage medium
KR100864908B1 (en) System and method for producting communication network -based bifs service, and server applied to the same

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