CN110312140B - Live broadcast data processing method, device and system and computer readable storage medium - Google Patents

Live broadcast data processing method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN110312140B
CN110312140B CN201910464527.2A CN201910464527A CN110312140B CN 110312140 B CN110312140 B CN 110312140B CN 201910464527 A CN201910464527 A CN 201910464527A CN 110312140 B CN110312140 B CN 110312140B
Authority
CN
China
Prior art keywords
terminal
server
data
live broadcast
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910464527.2A
Other languages
Chinese (zh)
Other versions
CN110312140A (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910464527.2A priority Critical patent/CN110312140B/en
Publication of CN110312140A publication Critical patent/CN110312140A/en
Application granted granted Critical
Publication of CN110312140B publication Critical patent/CN110312140B/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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices

Landscapes

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

Abstract

The invention provides a live data processing method, a live data processing device, a live data processing system and a computer readable storage medium, and belongs to the technical field of computers. The server responds to a data acquisition request sent by the first terminal, determines a second terminal from connected terminals, sends connection information of the second terminal to the first terminal, the first terminal establishes communication connection with the second terminal based on the connection information, the server sends live broadcast data to the second terminal when receiving the live broadcast data, and the second terminal sends the received live broadcast data to the first terminal. Therefore, the first terminal can acquire the data transmitted in real time from the connected second terminal, and accordingly, the server does not need to cache and exchange data between the terminals, and transmission of live broadcast data can be realized, so that delay of live broadcast data transmission can be reduced to a certain extent, and real-time performance of data transmission is improved.

Description

Live broadcast data processing method, device and system and computer readable storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a live broadcast data processing method, a live broadcast data processing device, a live broadcast data processing system and a computer readable storage medium.
Background
In order to meet the use requirements of users, data transmission is often required, and in different scenes, the requirements of data transmission are different, for example, when live data is transmitted, it is often required to shorten the data transmission time as much as possible to ensure the real-time performance of data transmission, where the live data may be a live data stream generated in live broadcasting.
In the prior art, a point-to-point (P2P) technology is usually adopted for transmission, specifically, a server receives live broadcast data provided by a data source, caches the received live broadcast data, divides the cached data into N parts of data after a certain amount of live broadcast data is cached, then respectively sends the parts of data to N terminals connected to the server, and controls the N terminals to establish communication connection to exchange the received data, so that the N terminals all obtain the live broadcast data cached at this time by the server, then the N terminals block the respectively obtained data and send the blocked data to connected lower layer terminals, data exchange is performed between the lower layer terminals connected to the terminals to obtain the live broadcast data cached at this time, and the previous steps are repeated, and further realize the transmission of the live broadcast data.
However, when a certain amount of live data is cached by the server, delay is brought to transmission of the live data, and meanwhile, a mode of acquiring a section of complete data can be realized only by exchanging data received by each terminal, so that a large delay is brought to a transmission band of the live data, and the real-time performance of a data transmission process is poor.
Disclosure of Invention
The invention provides a live broadcast data processing method, a live broadcast data processing device, a live broadcast data processing system and a computer readable storage medium, which are used for solving the problem of poor real-time performance caused by large time delay during data transmission to a certain extent.
According to a first aspect of the present invention, there is provided a live data processing method, including:
the server responds to a data acquisition request sent by the first terminal and determines a second terminal from the connected terminals;
the server sends the connection information of the second terminal to the first terminal;
the first terminal sends a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
when receiving live broadcast data, the server sends the live broadcast data to the second terminal;
and the second terminal sends the received live broadcast data to the first terminal.
According to a second aspect of the present invention, there is provided a live data processing method, applied to a server, the method including:
determining a second terminal from the connected terminals in response to a data acquisition request sent by the first terminal;
sending the connection information of the second terminal to the first terminal;
and when receiving live broadcast data, sending the live broadcast data to the second terminal.
Optionally, the determining the second terminal from the connected terminals includes:
determining the number of connected terminals corresponding to each terminal connected with the server;
and selecting one terminal from the terminals of which the number of the corresponding connected terminals is less than a preset threshold value to serve as the second terminal.
Optionally, the method further includes:
determining an alternative terminal from the connected terminals, and sending the connection information of the alternative terminal to the first terminal, so that the first terminal acquires live broadcast data from the alternative terminal when a preset condition occurs in a second terminal connected with the first terminal.
Optionally, the method further includes:
receiving the equipment performance parameters sent by the first terminal;
if the equipment performance parameter is not smaller than a preset performance parameter threshold value and the number of the current second terminals is not larger than a preset terminal number threshold value, sending upgrade notification information to the first terminal;
and the upgrade notification information is used for indicating the first terminal to establish communication connection with the server and disconnecting the connected second terminal.
According to a third aspect of the present invention, there is provided a live data processing method applied to a first terminal, the method including:
sending a data acquisition request to a server;
receiving connection information of a second terminal sent by the server;
sending a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
receiving live broadcast data sent by the second terminal; and the live broadcast data sent by the second terminal is sent to the second terminal when the server receives the live broadcast data.
Optionally, the method further includes:
receiving connection information of the alternative terminal sent by the server;
establishing equipment connection with the alternative terminal based on the connection information of the alternative terminal;
and when the connected second terminal has a preset condition, disconnecting the connected second terminal, and establishing communication connection with the alternative terminal to acquire live broadcast data from the alternative terminal.
Optionally, after receiving the live data sent by the second terminal, the method further includes:
performing data verification on the live data to determine whether errors exist in the live data sent by the second terminal;
correspondingly, when the preset condition occurs to the connected second terminal, disconnecting the connected second terminal and establishing a communication connection with the alternative terminal, including:
if the live broadcast data sent by the second terminal is wrong, disconnecting the connected second terminal and establishing communication connection with the alternative terminal; alternatively, the first and second electrodes may be,
if the sending speed of the second terminal is less than a preset speed threshold or less than the sending speed of the connected alternative terminal, establishing communication connection with the alternative terminal, and disconnecting the connected second terminal under the condition that the connection quality of the alternative terminal is not less than the connection quality of the connected second terminal.
According to a fourth aspect of the present invention there is provided a live data processing system, the system comprising: the terminal comprises a server, a first terminal and a terminal connected with the server;
the server is used for responding to a data acquisition request sent by the first terminal and determining a second terminal from the connected terminals;
the server is used for sending the connection information of the second terminal to the first terminal;
the first terminal is used for sending a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
the server is used for sending the live data to the second terminal when receiving the live data;
and the second terminal is used for sending the received live broadcast data to the first terminal.
According to a fifth aspect of the present invention, there is provided a live data processing apparatus applied to a server, the apparatus comprising:
the first determining module is used for determining a second terminal from the connected terminals under the condition of responding to a data acquisition request sent by a first terminal;
a first sending module, configured to send the connection information of the second terminal to the first terminal;
and the second sending module is used for sending the live data to the second terminal when receiving the live data.
Optionally, the first determining module is specifically configured to:
determining the number of connected terminals corresponding to each terminal connected with the server;
and selecting one terminal from the terminals of which the number of the corresponding connected terminals is less than a preset threshold value to serve as the second terminal.
Optionally, the apparatus further comprises:
and the third sending module is used for determining an alternative terminal from the connected terminals and sending the connection information of the alternative terminal to the first terminal so as to enable the first terminal to obtain live broadcast data from the alternative terminal when a preset condition occurs in a second terminal connected with the first terminal.
Optionally, the apparatus further comprises:
a receiving module, configured to receive the device performance parameter sent by the first terminal;
a fourth sending module, configured to send upgrade notification information to the first terminal if the device performance parameter is not smaller than the preset performance parameter threshold and the current number of the second terminals is not greater than the preset terminal number threshold; and the upgrade notification information is used for indicating the first terminal to establish communication connection with the server and disconnecting the connected second terminal.
According to a sixth aspect of the present invention, there is provided a live data processing apparatus, the apparatus comprising:
the first sending module is used for sending a data acquisition request to the server;
the first receiving module is used for receiving the connection information of the second terminal sent by the server;
a second sending module, configured to send a connection request to the second terminal based on the connection information, so as to establish a communication connection with the second terminal;
the second receiving module is used for receiving the live broadcast data sent by the second terminal; and the live broadcast data sent by the second terminal is sent to the second terminal when the server receives the live broadcast data.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive connection information of the candidate terminal sent by the server;
the establishing module is used for establishing equipment connection with the alternative terminal based on the connection information of the alternative terminal;
and the connection module is used for disconnecting the connected second terminal when the preset condition occurs to the connected second terminal and establishing communication connection with the alternative terminal so as to acquire live broadcast data from the alternative terminal.
Optionally, the apparatus further comprises:
the verification module is used for performing data verification on the live data to determine whether errors exist in the live data sent by the second terminal;
correspondingly, the connection module is specifically configured to:
if the live broadcast data sent by the second terminal is wrong, disconnecting the connected second terminal and establishing communication connection with the alternative terminal; alternatively, the first and second electrodes may be,
and if the sending speed of the second terminal is less than a preset speed threshold or less than the sending speed of the connected alternative terminal, establishing communication connection with the alternative terminal, and disconnecting the connected second terminal under the condition that the connection quality of the alternative terminal is not less than the connection quality of the connected second terminal.
According to a seventh aspect of the present invention, an embodiment of the present invention provides a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores thereon a computer program, and when being executed by a processor, the computer program implements the steps of the live data processing method according to the first aspect.
Aiming at the prior art, the invention has the following advantages:
the server responds to a data acquisition request sent by the first terminal, determines a second terminal from connected terminals, then sends connection information of the second terminal to the first terminal, the first terminal sends a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal, then the server sends live broadcast data to the second terminal when receiving the live broadcast data, and the second terminal sends the received live broadcast data to the first terminal. In the embodiment of the invention, the server directly sends the received live broadcast data to the second terminal, and meanwhile, the second terminal sends the received live broadcast data to the first terminal, so that the first terminal can acquire the data transmitted in real time from the connected second terminal, and accordingly, the server can realize the transmission of the live broadcast data without caching and data exchange between the terminals, thereby reducing the delay of the transmission of the live broadcast data to a certain extent and improving the real-time property of data transmission.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a live data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another live data processing method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another live data processing method according to an embodiment of the present invention;
fig. 4-1 is a flowchart illustrating steps of a live data processing method according to another embodiment of the present invention;
fig. 4-2 is a diagram illustrating a structure of a live data transmission according to an embodiment of the present invention;
4-3 are data flow diagrams of live data provided by embodiments of the present invention;
fig. 5-1 is a block diagram of a live data processing apparatus according to an embodiment of the present invention;
fig. 5-2 is a block diagram of another live data processing apparatus according to an embodiment of the present invention;
fig. 6-1 is a block diagram of another live data processing apparatus according to an embodiment of the present invention;
fig. 6-2 is a block diagram of another live data processing apparatus provided in an embodiment of the present invention;
fig. 7 is a block diagram of a live data processing system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart of steps of a live data processing method according to an embodiment of the present invention, and as shown in fig. 1, the method may include:
step 101, the server responds to the data acquisition request sent by the first terminal, and determines a second terminal from the connected terminals.
In the embodiment of the present invention, the data acquisition request may be sent by the first terminal to the server by triggering a data acquisition function, where the data acquisition function may be triggered by a virtual button provided by the first terminal or by a combination of physical keys, and further, the user may control the first terminal to send the data acquisition request when the user wants to acquire live data.
Further, the connected terminal of the server may be a terminal that previously requested the live data from the server, and further, to ensure normal execution of the live data processing method, the connected terminal may also be a terminal with preset good performance, where the connected terminal may be directly connected to the server or indirectly connected to the server through another terminal. Further, because the terminal connected with the server can exchange data with the server, the server can determine the second terminal from the connected terminals, so that the second terminal can provide live data to the terminal sending the data request, compared with the mode that the server is directly connected with the terminal requesting the live data, the mode that the server provides the live data to the terminal sending the data request through the second terminal can avoid the problem that the server is connected with too many terminals when more terminals requesting the live data are available, and further the server fails.
And 102, the server sends the connection information of the second terminal to the first terminal.
In this embodiment of the present invention, the connection information may be information required when establishing a communication connection with the second terminal, and for example, the connection information may be an IP address of the second terminal. In this way, by sending the connection information of the second terminal to the first terminal, the first terminal can be enabled to establish a communication connection with the second terminal.
And 103, the first terminal sends a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal.
In the embodiment of the present invention, the connection request is used to instruct to establish a communication connection with the first terminal, and specifically, the first terminal may send a connection request to a target address by using an IP address of the second terminal in the connection information as the target address, and accordingly, after receiving the connection request, the second terminal may establish a communication connection with the first terminal.
And step 104, when receiving the live broadcast data, the server sends the live broadcast data to the second terminal.
In the embodiment of the present invention, if the second terminal is a terminal directly connected to the server, the server may send live data to the second terminal in real time through direct connection with the second terminal when receiving the live data, and if the second terminal is a terminal indirectly connected to the server, the server may forward the live data to the second terminal through an indirect terminal with the second terminal when receiving the live data. Furthermore, when receiving the live broadcast data, the server sends the received live broadcast data to the second terminal, so that the delay of data transmission can be reduced to a certain extent compared with a mode of caching a certain amount of data and then sending the data in blocks.
And 105, the second terminal sends the received live broadcast data to the first terminal.
In the embodiment of the invention, the second terminal can send the received live broadcast data to the first terminal through the connection with the first terminal, compared with the prior art that the terminal acquires part of the live broadcast data received by the server, the mode of acquiring all live broadcast data received by the server is realized by mutually connecting and exchanging data, in the embodiment of the invention, because the second terminal can acquire all live broadcast data received by the server, the second terminal does not need to establish communication connection and data exchange with other terminals, the received live broadcast data can be sent to the first terminal, and simultaneously, the first terminal can obtain the data transmitted in real time from the connected second terminal, therefore, the second terminal can acquire the live broadcast data without establishing communication connection with other terminals and exchanging data, and the delay of data transmission can be reduced to a certain extent.
In summary, in the live data processing method provided in the embodiment of the present invention, in response to a data acquisition request sent by a first terminal, a server determines a second terminal from connected terminals, and then sends connection information of the second terminal to the first terminal, the first terminal sends a connection request to the second terminal based on the connection information to establish a communication connection with the second terminal, and then, when receiving live data, the server directly sends the live data to the second terminal, and the second terminal sends the received live data to the first terminal. In the embodiment of the invention, the server directly sends the received live broadcast data to the second terminal, and meanwhile, the second terminal sends the received live broadcast data to the first terminal, so that the first terminal can acquire the data transmitted in real time from the connected second terminal, and accordingly, the server can realize the transmission of the live broadcast data without caching and data exchange between the terminals, thereby reducing the delay of the transmission of the live broadcast data to a certain extent and improving the real-time property of data transmission.
Fig. 2 is a flowchart of steps of another live data processing method provided in an embodiment of the present invention, which is applied to a server, and as shown in fig. 2, the method may include:
step 201, in response to a data acquisition request sent to a first terminal, a second terminal is determined from connected terminals.
Specifically, the implementation manner of this step may refer to step 101, and details of the embodiment of the present invention are not described herein.
Step 202, sending the connection information of the second terminal to the first terminal.
Specifically, the implementation manner of this step may refer to step 102, and details of the embodiment of the present invention are not described herein.
And 203, when receiving the live broadcast data, sending the live broadcast data to the second terminal.
Specifically, the implementation manner of this step may refer to step 104, and details of this embodiment of the present invention are not described herein.
In summary, in the live data processing method provided in the embodiment of the present invention, the server, in response to the data acquisition request sent by the terminal, determines the second terminal from the connected terminals, then sends the connection information of the second terminal to the first terminal, so that the first terminal can establish a communication connection with the second terminal based on the connection information, and then, when receiving the live data, the server sends the live data to the second terminal, so that the second terminal can send the received live data to the first terminal. In the embodiment of the invention, the server directly sends the received live broadcast data to the second terminal, so that the second terminal can send the received live broadcast data to the first terminal, and the first terminal can acquire the data transmitted in real time from the connected second terminal.
Fig. 3 is a flowchart of steps of another live data processing method provided in an embodiment of the present invention, which is applied to a first terminal, and as shown in fig. 3, the method may include:
step 301, sending a data acquisition request to a server.
Specifically, the implementation manner of this step may refer to step 101 described above, and details of the embodiment of the present invention are not described herein.
Step 302, receiving the connection information of the second terminal sent by the server.
Specifically, the implementation manner of this step may refer to step 102, and details of the embodiment of the present invention are not described herein.
Step 303, sending a connection request to the second terminal based on the connection information, so as to establish a communication connection with the second terminal.
Specifically, the implementation manner of this step may refer to step 103, which is not described herein again in this embodiment of the present invention.
And step 304, receiving the live broadcast data sent by the second terminal.
Specifically, after receiving the live data sent by the second terminal, the first terminal can perform corresponding processing on the live data, and further, the live data sent by the second terminal can be directly sent to the second terminal by the server when receiving the live data, so that the second terminal can send the live data to the second terminal based on connection with the second terminal after receiving the live data sent by the server, and accordingly, the first terminal can acquire the live data received by the server by receiving the live data sent by the second terminal.
In summary, in the live data processing method provided in the embodiment of the present invention, the first terminal sends a data obtaining request to the server, then receives the connection information of the second terminal sent by the server, then sends a connection request to the second terminal based on the connection information to establish a communication connection with the second terminal, and finally, can receive the live data sent by the second terminal. Because the server can directly send the received live broadcast data to the second terminal, the first terminal can acquire the data transmitted in real time by receiving the live broadcast data received by the second terminal, and thus, the server does not need to cache, and data exchange is not needed between the terminals, so that the transmission of the live broadcast data can be realized, the delay of the live broadcast data transmission can be reduced to a certain extent, and the real-time performance of the data transmission is improved.
Fig. 4-1 is a flowchart of steps of another live data processing method provided in an embodiment of the present invention, and as shown in fig. 4-1, the method may include:
step 401, the first terminal sends a data acquisition request to the server.
Specifically, the implementation manner of this step may refer to step 201 described above, and details of the embodiment of the present invention are not described herein.
Step 402, the server responds to the data acquisition request sent by the first terminal, and determines a second terminal from the connected terminals.
In this step, when determining the second terminal from the connected terminals, the server may determine the number of connected terminals corresponding to each terminal connected to the server, specifically, the server may send an acquisition request to each connected terminal, and each terminal connected to the server may report the number of terminals connected to the server after receiving the acquisition request, so that the server may obtain the number of connected terminals corresponding to each terminal connected to the server, and then the server may select one terminal from terminals whose corresponding number of connected terminals is smaller than a preset threshold value, as the second terminal. The preset threshold value can be preset according to actual requirements, for example, the preset threshold value can be 1, accordingly, one terminal can be selected from terminals which are directly connected with the server and are not connected with other terminals, and the terminal serves as the second terminal, so that the first terminal and the server can be controlled to be separated by only one second terminal by setting the preset threshold value to be 1, therefore, the hierarchy in the whole network is few, live broadcast data can be transmitted to the first terminal only by data forwarding once, and transmission delay is further reduced to a certain extent. Of course, a higher preset threshold may also be set under the condition that the requirement on the real-time performance of transmission is lower, so as to increase the hierarchy in the network, further improve the sharing ratio in the network, and save the bandwidth resource of the server to a certain extent.
Further, due to the influence of network stability or the performance of the terminal itself, a problem may occur when the first terminal acquires live broadcast data from the second terminal, and therefore, in the embodiment of the present invention, the server may further determine the alternative terminals from the connected terminals and send connection information of the alternative terminals to the first terminal, specifically, the server may select one terminal from terminals whose number of connected terminals is less than a preset threshold value as the alternative terminal, where the alternative terminal is different from the second terminal to which the first terminal is connected. Therefore, when the second terminal connected with the first terminal is in a preset condition, the first terminal can acquire live broadcast data from the alternative terminal, so that the first terminal is ensured to have a stable data acquisition source, and further the stability of live broadcast data transmission is ensured.
For example, live data is taken as live data, a preset threshold is taken as an example, fig. 4-2 is a structure diagram for live data transmission according to an embodiment of the present invention, as shown in fig. 4-2, a stream push device is connected to a Server so as to push live data to the Server, a Mirror service (Edge Server) and an Edge service (Mirror Server) may be deployed in the Server, and further, in the figure, taking the case that there are multiple first terminals and a second terminal is allocated to each first terminal as an example, it can be seen that the second terminal is connected to the Server and the second terminal, and the second terminal may be expressed as: upper Node to send the live broadcast data to the connected second terminal, where the second terminal is connected to the first terminal, and the first terminal may be represented as: and the Lower Node is used for sending the received live broadcast data to the connected first terminals, and it can be seen that each first terminal is connected with an alternative terminal. In the figure, the alternative terminal to which the first terminal is connected is a terminal to which the first terminal is connected through a dotted line, and since only one second terminal is spaced between each first terminal and the server in the figure 4-2, live broadcast data can be transmitted to the first terminal only by once data forwarding, so that transmission delay can be reduced to a greater extent.
Step 403, the server sends the connection information of the second terminal to the first terminal.
Specifically, the implementation manner of this step may refer to step 102, which is not described herein again in this embodiment of the present invention.
Step 404, the first terminal sends a connection request to the second terminal based on the connection information.
Specifically, the implementation manner of this step may refer to step 103, which is not described herein again in this embodiment of the present invention.
And 405, the second terminal receives the connection information and establishes communication connection with the second terminal based on the connection information.
Specifically, the implementation manner of this step may refer to step 103, which is not described herein again in this embodiment of the present invention.
Further, in an actual application scenario, the device performance of the first terminal may often change with a change of an external factor, and therefore, in this embodiment of the present invention, the first terminal may send a device performance parameter to the server, and accordingly, the server may receive the device performance parameter sent by the first terminal, where the device performance parameter may be sent according to a preset period, the preset period is 1 day, that is, every other day, the server may receive the device performance parameter once, further, the device performance parameter may be a parameter that can affect the device performance, for example, the device performance parameter may include a parameter related to hardware of the first terminal, for example, a Central Processing Unit (CPU) occupancy, a memory occupancy, a wireless network connection quality, a historical upload bandwidth, and the like, the method may further include parameters representing connection quality between the first terminal and the server, for example, a packet loss rate, a connection speed, and a Round-Trip Time (RTT), where the RTT may be determined by the first terminal by periodically requesting a certain amount of test data from the server, and further, since the performance of the first terminal is different in networks of different operators, the device performance parameters may further include information of a regional operator where the first terminal is located.
Then, if the device performance parameter is not less than the preset performance parameter threshold and the number of the current second terminals is not greater than the preset terminal number threshold, the server may send upgrade notification information to the first terminal, where the preset performance parameter threshold may be preset, the preset performance parameter threshold may be the minimum performance required to complete the operation of acquiring live broadcast data from the server and forwarding the live broadcast data to other terminals, and the preset terminal number threshold may be preset according to the user requirement, further, the upgrade notification information may be used to instruct the first terminal to establish a communication connection with the server and disconnect the connected second terminal, and accordingly, the first terminal may establish a communication connection with the server and disconnect the connected second terminal after receiving the upgrade notification information, so that the first terminal in subsequent operations, can be used as an alternative second terminal.
In the embodiment of the invention, when the number of the current second terminals is not more than the preset terminal number threshold value, namely the number of the second terminals cannot meet the use requirement, the equipment performance parameter is not less than the preset performance parameter threshold value, namely the first terminal with higher equipment performance is upgraded to the second terminal, so that the use requirement is increased as much as possible, and the determined second terminals can be ensured to have enough performance to ensure the normal transmission of the live broadcast data.
And step 406, when receiving the live data, the server sends the live data to the second terminal.
Specifically, the implementation manner of this step may refer to step 104, and details of this embodiment of the present invention are not described herein.
And step 407, the second terminal sends the received live broadcast data to the first terminal.
Specifically, the implementation manner of this step may refer to step 105, and details of the embodiment of the present invention are not described herein.
And step 408, the first terminal receives the live broadcast data sent by the second terminal.
Specifically, in order to improve the security of data transmission and prevent error data diffusion, data needs to be checked before data transmission, but in the embodiment of the present invention, the source of live data is single, for example, the live data is often a live data stream pushed by a stream pushing device, so that the second terminal can omit a checking process when acquiring live data, and directly transmit the acquired live data to the first terminal, and accordingly, the first terminal can perform data checking after receiving the live data to check whether the live data has errors, and thus, the checking on the live data can be completed under the condition of reducing data transmission delay as much as possible.
Further, in this embodiment of the present invention, the first terminal may further receive connection information of an alternative terminal sent by the server, then establish a device connection with the alternative terminal based on the connection information of the alternative terminal, and then disconnect the connected second terminal when a preset condition occurs in the connected second terminal, and establish a communication connection with the alternative terminal, so as to acquire live broadcast data from the alternative terminal, where the device connection is a connection established when a connection state is maintained between devices but data transmission is not performed. Therefore, the first terminal can be in communication connection with the alternative terminal when the connected second terminal is in a preset condition by firstly establishing equipment connection with the alternative terminal, and then live broadcast data can be acquired from the alternative terminal, so that the first terminal is ensured to have a stable data acquisition source, and further the stability of live broadcast data transmission is ensured.
Specifically, if there is an error in the live data sent by the second terminal, the first terminal may disconnect the connected second terminal, and establish a communication connection with the alternative terminal, where the communication connection is established when data is transmitted between devices. Therefore, when the live broadcast data sent by the second terminal has errors, the connected second terminal is disconnected, and the communication connection is established with the alternative terminal, so that the diffusion of the data with errors can be prevented in time, and meanwhile, the alternative terminal is connected, so that the live broadcast data can be ensured to be continuously acquired. Further, the first terminal may also send report information to the server, where the report information may be used to indicate that the data transmitted by the second terminal is stored incorrectly, and accordingly, the server may add the second terminal to a blacklist and no longer serve as the second terminal, so as to avoid diffusion of data with errors.
Or, if the sending speed of the second terminal is less than the preset speed threshold or less than the sending speed of the connected candidate terminal, the first terminal may establish a communication connection with the candidate terminal, and disconnect the connected second terminal under the condition that the connection quality of the candidate terminal is not less than the connection quality of the connected second terminal. Wherein, the preset speed threshold may be preset, the sending speed of the candidate terminal may be determined by the first terminal sending the test data to the candidate terminal periodically, further, if the sending speed of the second terminal is less than the preset speed threshold, it may be considered that the sending speed of the second terminal cannot satisfy the transmission of the live broadcast data, if the sending speed of the second terminal is less than the sending speed of the connected candidate terminal, it may be considered that the candidate terminal can transmit the live broadcast data faster, and further, the transmission delay may be reduced to a certain extent, therefore, the second terminal may establish a communication connection with the candidate terminal first, so that the connection quality of the second terminal and the connection quality of the candidate terminal can be compared by connecting the second terminal and the candidate terminal at the same time, further, under the condition that the connection quality of the candidate terminal is greater than the connection quality of the connected second terminal, in the embodiment of the invention, the connection quality of the second terminal and the second terminal is compared before the connected terminal is switched, so that the connection quality after switching can be ensured not to be reduced, and the transmission quality of live broadcast data can be ensured.
Further, fig. 4-3 are data flow diagrams of live broadcast data provided in an embodiment of the present invention, and it can be seen that the live broadcast data is transmitted from a stream push device (publisher) provided for a server to the server, then transmitted from the server to a second terminal, and finally transmitted from the second terminal to the first terminal. It should be noted that, in an actual application scenario, due to a failure of the second terminal network, the first terminal may not be able to obtain data from the second terminal, so that the first terminal may directly obtain live data from a server closest to the first terminal in a poor network condition,
in summary, in the live data processing method provided in the embodiment of the present invention, in response to a data acquisition request sent by a first terminal, a server determines a second terminal from connected terminals, and then sends connection information of the second terminal to the first terminal, the first terminal sends a connection request to the second terminal based on the connection information to establish a communication connection with the second terminal, and then, when receiving live data, the server sends the live data to the second terminal, and the second terminal sends the received live data to the first terminal. In the embodiment of the invention, the server directly sends the received live broadcast data to the second terminal, and meanwhile, the second terminal sends the received live broadcast data to the first terminal, so that the first terminal can acquire the data transmitted in real time from the connected second terminal, and accordingly, the server can realize the transmission of the live broadcast data without caching and data exchange between the terminals, thereby reducing the delay of the transmission of the live broadcast data to a certain extent and improving the real-time property of data transmission.
Fig. 5-1 is a block diagram of a live data processing apparatus according to an embodiment of the present invention, and as shown in fig. 5-1, the apparatus 50 may include:
a first determining module 501, configured to determine a second terminal from connected terminals in response to a data acquisition request sent by a first terminal;
a first sending module 502, configured to send connection information of the second terminal to the first terminal;
a second sending module 503, configured to send live data to the second terminal when the live data is received.
Optionally, the first determining module 501 is specifically configured to:
determining the number of connected terminals corresponding to each terminal connected with the server;
and selecting one terminal from the terminals of which the number of the corresponding connected terminals is less than a preset threshold value to serve as the second terminal.
Optionally, the preset threshold is equal to one; the first determining module 501 is specifically configured to:
selecting one terminal from terminals directly connected to the server and to which other terminals are not connected, as the second terminal.
Optionally, fig. 5-2 is a block diagram of another live data processing apparatus provided in an embodiment of the present invention, and as shown in fig. 5-2, the apparatus 50 further includes:
a third sending module 504, configured to determine an alternative terminal from connected terminals, and send connection information of the alternative terminal to the first terminal, so that the first terminal obtains live broadcast data from the alternative terminal when a preset condition occurs in a second terminal connected to the first terminal.
Optionally, as shown in fig. 5-2, the apparatus 50 further includes:
a receiving module 505, configured to receive the device performance parameter sent by the first terminal;
a fourth sending module 506, configured to send upgrade notification information to the first terminal if the device performance parameter is not smaller than the preset performance parameter threshold and the current number of the second terminals is not greater than the preset terminal number threshold; and the upgrade notification information is used for indicating the first terminal to establish communication connection with the server and disconnecting the connected second terminal.
In summary, in the live broadcast data processing apparatus provided in the embodiment of the present invention, the first determining module determines the second terminal from the connected terminals in response to the data obtaining request sent by the first terminal, then the first sending module sends the connection information of the second terminal to the first terminal, so that the first terminal can establish a communication connection with the second terminal based on the connection information, and then the second sending module sends the live broadcast data to the second terminal when receiving the live broadcast data, so that the second terminal can send the received live broadcast data to the first terminal. Therefore, the first terminal can acquire the data transmitted in real time from the connected second terminal, accordingly, the server can realize the transmission of the live broadcast data without caching and data exchange between the terminals, the delay of the live broadcast data transmission can be reduced to a certain extent, and the real-time performance of the data transmission is improved.
Fig. 6-1 is a block diagram of another live data processing apparatus according to an embodiment of the present invention, and as shown in fig. 6-1, the apparatus 60 may include:
a first sending module 601, configured to send a data obtaining request to a server;
a first receiving module 602, configured to receive connection information of the second terminal sent by the server;
a second sending module 603, configured to send a connection request to the second terminal based on the connection information, so as to establish a communication connection with the second terminal;
a second receiving module 604, configured to receive live data sent by the second terminal; and the live broadcast data sent by the second terminal is sent to the second terminal when the server receives the live broadcast data.
Optionally, fig. 6-2 is a block diagram of another live data processing apparatus provided in an embodiment of the present invention, and as shown in fig. 6-2, the apparatus 60 further includes:
a third receiving module 605, configured to receive connection information of the alternative terminal sent by the server;
an establishing module 606, configured to establish a device connection with the alternative terminal based on the connection information of the alternative terminal;
a connection module 607, configured to disconnect the connected second terminal when a preset condition occurs in the connected second terminal, and establish a communication connection with the alternative terminal, so as to obtain live broadcast data from the alternative terminal.
Optionally, as shown in fig. 6-2, the apparatus 60 further includes:
a checking module 608, configured to perform data checking on the live data to determine whether an error exists in the live data sent by the second terminal;
correspondingly, the connection module 607 is specifically configured to:
if the live broadcast data sent by the second terminal is wrong, disconnecting the connected second terminal and establishing communication connection with the alternative terminal; alternatively, the first and second liquid crystal display panels may be,
and if the sending speed of the second terminal is less than a preset speed threshold or less than the sending speed of the connected alternative terminal, establishing communication connection with the alternative terminal, and disconnecting the connected second terminal under the condition that the connection quality of the alternative terminal is not less than the connection quality of the connected second terminal.
In summary, in the live data processing apparatus provided in the embodiment of the present invention, the first sending module may send the data obtaining request to the server, the first receiving module may receive the connection information of the second terminal sent by the server, the second sending module may send the connection request to the second terminal based on the connection information to establish a communication connection with the second terminal, and the second receiving module may receive the live data sent by the second terminal. Because the server can directly send the received live broadcast data to the second terminal, the first terminal can acquire the data transmitted in real time by receiving the live broadcast data received by the second terminal, and thus, the server does not need to cache, and data exchange is not needed between the terminals, so that the transmission of the live broadcast data can be realized, the delay of the live broadcast data transmission can be reduced to a certain extent, and the real-time performance of the data transmission is improved.
Fig. 7 is a block diagram of a live data processing system according to an embodiment of the present invention, and as shown in fig. 7, the system 70 may include: a server 701, a first terminal 702, and a terminal 703 connected to the server 701;
the server 701 is configured to determine a second terminal from the connected terminals 703 in response to a data acquisition request sent by the first terminal 702;
the server 701 is configured to send the connection information of the second terminal to the first terminal 702;
the first terminal 702 is configured to send a connection request to the second terminal based on the connection information, so as to establish a communication connection with the second terminal;
the server 701 is configured to send live data to the second terminal when receiving the live data;
the second terminal is configured to send the received live data to the first terminal 703.
In summary, in the live broadcast data processing system provided in the embodiment of the present invention, in response to a data acquisition request sent by a first terminal, a server determines a second terminal from connected terminals, then, the server sends connection information of the second terminal to the first terminal, the first terminal sends a connection request to the second terminal based on the connection information to establish a communication connection with the second terminal, then, when receiving live broadcast data, the server sends the live broadcast data to the second terminal, and the second terminal sends the received live broadcast data to the first terminal. In the embodiment of the invention, the server directly sends the received live broadcast data to the second terminal, and meanwhile, the second terminal sends the received live broadcast data to the first terminal, so that the first terminal can acquire the data transmitted in real time from the connected second terminal, and accordingly, the server can realize the transmission of the live broadcast data without caching and data exchange between the terminals, thereby reducing the delay of the transmission of the live broadcast data to a certain extent and improving the real-time performance of data transmission.
Preferably, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the live data processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the above live data processing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but this specification is not necessarily detailed herein for reasons of space limitation.
The live data processing methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system embodying aspects of the present invention will be apparent from the above description. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: rather, the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the devices in an embodiment may be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of the live data processing method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website, or provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A live data processing method, characterized in that the method comprises:
the server responds to a data acquisition request sent by the first terminal and determines a second terminal from the connected terminals; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
the server sends the connection information of the second terminal to the first terminal;
the first terminal sends a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
when the server receives all live broadcast data, directly sending all the live broadcast data to terminals connected with the server;
and the second terminal does not exchange data with other terminals connected with the server, responds to the first terminal and directly sends all the received live broadcast data to the first terminal in real time through the communication connection.
2. A live data processing method is applied to a server, and comprises the following steps:
responding to a data acquisition request sent by a first terminal, and determining a second terminal from connected terminals; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
sending the connection information of the second terminal to the first terminal;
and when receiving all live broadcast data, directly sending all live broadcast data to each terminal connected with the server in real time so that the second terminal does not exchange data with other terminals connected with the server.
3. The method of claim 2, wherein determining the second terminal from the connected terminals comprises:
determining the number of connected terminals corresponding to each terminal connected with the server;
and selecting one terminal from the terminals of which the number of the corresponding connected terminals is less than a preset threshold value to serve as the second terminal.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
determining an alternative terminal from the connected terminals, and sending the connection information of the alternative terminal to the first terminal, so that the first terminal acquires live broadcast data from the alternative terminal when a preset condition occurs in a second terminal connected with the first terminal.
5. The method of claim 3, further comprising:
receiving the equipment performance parameters sent by the first terminal;
if the equipment performance parameter is not smaller than a preset performance parameter threshold value and the number of the current second terminals is not larger than a preset terminal number threshold value, sending upgrade notification information to the first terminal; and the upgrade notification information is used for indicating the first terminal to establish communication connection with the server and disconnecting the connected second terminal.
6. A live broadcast data processing method is applied to a first terminal, and comprises the following steps:
sending a data acquisition request to a server;
receiving connection information of a second terminal sent by the server; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
sending a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
receiving all live broadcast data which are directly sent by the second terminal through the communication connection in response to the first terminal; and all live data sent by the second terminal are directly sent to the second terminal in real time when the server receives all live data, so that the second terminal does not exchange data with other terminals connected with the server.
7. The method of claim 6, further comprising:
receiving connection information of the alternative terminal sent by the server;
establishing equipment connection with the alternative terminal based on the connection information of the alternative terminal;
and when the connected second terminal has a preset condition, disconnecting the connected second terminal, and establishing communication connection with the alternative terminal so as to acquire live broadcast data from the alternative terminal.
8. The method according to claim 7, wherein after receiving the live data sent by the second terminal, the method further comprises:
performing data verification on the live data to determine whether errors exist in the live data sent by the second terminal;
correspondingly, when the preset condition occurs to the connected second terminal, disconnecting the connected second terminal and establishing a communication connection with the alternative terminal, including:
if the live broadcast data sent by the second terminal is wrong, disconnecting the connected second terminal and establishing communication connection with the alternative terminal; alternatively, the first and second electrodes may be,
and if the sending speed of the second terminal is less than a preset speed threshold or less than the sending speed of the connected alternative terminal, establishing communication connection with the alternative terminal, and disconnecting the connected second terminal under the condition that the connection quality of the alternative terminal is not less than the connection quality of the connected second terminal.
9. A live broadcast data processing system is characterized by comprising a server, a first terminal and a terminal connected with the server;
the server is used for responding to a data acquisition request sent by the first terminal and determining a second terminal from the connected terminals; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
the server is used for sending the connection information of the second terminal to the first terminal;
the first terminal is used for sending a connection request to the second terminal based on the connection information so as to establish communication connection with the second terminal;
the server is used for directly sending all live broadcast data to the terminals connected with the server when receiving all live broadcast data;
the second terminal does not exchange data with other terminals connected with the server, and the second terminal is used for responding to the first terminal and directly sending all received live broadcast data to the first terminal in real time through the communication connection.
10. A live data processing device is applied to a server, and comprises:
a first determining module, configured to determine a second terminal from connected terminals in response to a data acquisition request sent by a first terminal; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
a first sending module, configured to send the connection information of the second terminal to the first terminal;
and the second sending module is used for directly sending all live broadcast data to each terminal connected with the server in real time when receiving all live broadcast data so as to ensure that the second terminal does not exchange data with other terminals connected with the server.
11. A live data processing device, applied to a first terminal, the device comprising:
the first sending module is used for sending a data acquisition request to the server;
the first receiving module is used for receiving the connection information of the second terminal sent by the server; the second terminal is a terminal of which the number of connected terminals is less than a preset threshold value;
a second sending module, configured to send a connection request to the second terminal based on the connection information, so as to establish a communication connection with the second terminal;
a second receiving module, configured to receive all live data sent by the second terminal through the communication connection and directly sent in response to the first terminal; and all live broadcast data sent by the second terminal are directly sent to the second terminal in real time when the server receives all live broadcast data, so that the second terminal does not exchange data with other terminals connected with the server.
12. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a live data processing method as claimed in any one of claims 1 to 8.
CN201910464527.2A 2019-05-30 2019-05-30 Live broadcast data processing method, device and system and computer readable storage medium Active CN110312140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910464527.2A CN110312140B (en) 2019-05-30 2019-05-30 Live broadcast data processing method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910464527.2A CN110312140B (en) 2019-05-30 2019-05-30 Live broadcast data processing method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110312140A CN110312140A (en) 2019-10-08
CN110312140B true CN110312140B (en) 2022-07-22

Family

ID=68075311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910464527.2A Active CN110312140B (en) 2019-05-30 2019-05-30 Live broadcast data processing method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110312140B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314303B (en) * 2020-01-17 2022-11-22 网易(杭州)网络有限公司 Live broadcast system, and data processing method and device of live broadcast system
CN115243080B (en) * 2022-09-21 2022-12-20 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN116456123B (en) * 2023-06-16 2023-09-12 北京焦点新干线信息技术有限公司 Method, device and equipment for realizing multi-equipment switching live broadcast

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355448B (en) * 2011-06-29 2015-07-01 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN107872424B (en) * 2016-09-23 2021-05-25 北京乐我无限科技有限责任公司 Method and device for watching and live broadcasting streaming media information
JP2018148310A (en) * 2017-03-02 2018-09-20 オリンパス株式会社 Information collection device, information terminal device, information processing system, information processing method, and information processing program
CN107623723B (en) * 2017-08-21 2019-05-24 腾讯科技(深圳)有限公司 Transmission method and device, the storage medium and electronic device of net cast data
CN109032787B (en) * 2018-05-29 2021-02-12 北京奇艺世纪科技有限公司 Task allocation method and device
CN109120946B (en) * 2018-08-27 2021-05-11 视联动力信息技术股份有限公司 Method and device for watching live broadcast

Also Published As

Publication number Publication date
CN110312140A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
US10827421B2 (en) Network slice selection method, user equipment, and network device
US20210337046A1 (en) Intelligent scheduling method, terminal device, edge node cluster and intelligent scheduling system
CN106302434B (en) Server adaptation method, device and system
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
US20170155928A1 (en) Method, Device and System for Playing Live Video
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
US20230161541A1 (en) Screen projection method and system
CN109302437B (en) Method and device for redirecting website
US11838381B2 (en) Device cross-area access method, electronic device, and non-transitory computer-readable storage medium
US20230079314A1 (en) Service server switching control method and apparatus, electronic device, and storage medium
CN111769997A (en) Method, server, device and computer readable medium for network monitoring
CN110661673B (en) Heartbeat detection method and device
CN113300962A (en) Path acquisition method, access method, device and equipment
WO2019011142A1 (en) Network link switching method and system
EP2709337A1 (en) Service data processing method, device and system
CN114268631B (en) Low-delay network system, communication connection method thereof and readable storage medium
CN113572750B (en) Video data transmission method and device
CN108306923A (en) A kind of live video method for uploading, device, electronic equipment and storage medium
CN109194706B (en) Network resource dial testing method and terminal
CN106792895B (en) method and equipment for determining size of data packet
CN109788075B (en) Private network system, data acquisition method and edge server
CN110380981B (en) Flow distribution method and equipment
WO2017185632A1 (en) Data transmission method and electronic device
CN110784510A (en) Method for accessing target service node to bus and information interaction method of service node
CN105554116A (en) Remote interconnection method and system for UPnP (Universal Plug and Play) equipment

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