CN106210751B - The method and system of internet video live broadcasting data hierarchy transmission - Google Patents
The method and system of internet video live broadcasting data hierarchy transmission Download PDFInfo
- Publication number
- CN106210751B CN106210751B CN201610669634.5A CN201610669634A CN106210751B CN 106210751 B CN106210751 B CN 106210751B CN 201610669634 A CN201610669634 A CN 201610669634A CN 106210751 B CN106210751 B CN 106210751B
- Authority
- CN
- China
- Prior art keywords
- video
- live broadcast
- data
- channel
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000013500 data storage Methods 0.000 claims description 9
- 238000010276 construction Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/632—Control 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/226—Characteristics of the server or Internal components of the server
- H04N21/2265—Server identification by a unique number or address, e.g. serial number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The method that the present invention discloses the transmission of internet video live broadcasting data hierarchy, comprising: each net cast site receives the channel number threshold value of net cast data on setting server;The tree-shaped for creating at least two layers based on net cast site is layered peer-to-peer network transmission structure, records the channel information of each direct broadcast band on net cast site;Net cast data are received, the identification information and channel identication of net cast data are parsed;By channel identication target direct broadcast band corresponding with each channel information of record matching acquisition net cast data, net cast data are stored onto the net cast site where target direct broadcast band, and identification information is transmitted to each node of tree-shaped layering peer-to-peer network transmission structure;Node, to when net cast data are not present, request net cast data to a upper node layer for the node, receives the net cast data of feedback and store according to identification information judgment.The present invention improves the effect of internet video live broadcasting data transmission.
Description
Technical Field
The invention relates to the technical field of network video live broadcast, in particular to a method and a system for layered transmission of network video live broadcast data.
Background
Peer-to-Peer networking (P2P for short), i.e. Peer-to-Peer computer network, is a distributed application architecture for distributing tasks and workloads among peers (peers), and is a networking or network form formed by Peer-to-Peer computing models in application layers. In a P2P network environment, multiple computers connected to each other are in a peer-to-peer relationship, each computer has the same functionality, without a master-slave relationship, and a computer can serve as both a server, setting shared resources for use by other computers in the network, and a workstation, and the overall network generally does not rely on a dedicated centralized server, nor does it have a dedicated workstation. Each computer in the network can both act as a requester of network services and provide resources, services and content in response to requests from other computers. Typically these resources and services include: sharing and exchange of information, computing resources (e.g., CPU computing power sharing), storage sharing (e.g., use of cache and disk space), network sharing, printer sharing, and the like.
Peer-to-peer network live video (P2P live video) is a live video service using internet resources, and is synchronously distributed to the network by live video shooting, so that users can see real-time live conditions on the network at the same time. The transmission mode of P2P live video data in the prior art is as follows: and uploading videos shot by different channels to the same live broadcast network, and transmitting live broadcast data to different users through the live broadcast network and then playing the live broadcast data at a user side. However, through the data transmission mode of the network video live broadcast, users all acquire live broadcast video data of different photographed channels from the same live broadcast website, which may cause a phenomenon that the server pressure of the live broadcast website is increased due to the fact that a large number of users acquire the live broadcast video data from the live broadcast website, and the problem that the user acquires the live broadcast video data is seriously affected, and finally the watching effect of the user is increasingly poor.
Therefore, it is an urgent need to solve the problem in the art to provide a network video live broadcast scheme for performing voltage-division data transmission at a live broadcast site.
Disclosure of Invention
In view of this, the present invention provides a method and a system for layered transmission of network video live broadcast data, which solve the problem in the prior art that the live broadcast watching effect of a user is increasingly poor due to the fact that live broadcast data is acquired from the same network video live broadcast network point.
In order to solve the technical problem, the invention provides a method for layered transmission of network video live broadcast data, which comprises the following steps:
setting a channel number threshold value of each video live broadcast network point on a server for receiving and storing video live broadcast data;
creating at least two layers of tree-type layered peer-to-peer network transmission structures based on the video live broadcast network points, and recording channel information of each live broadcast channel on the video live broadcast network points;
the server receives live video data and analyzes identification information and channel identification of the live video data from the live video data; matching the channel identification with the recorded channel information to obtain a target live broadcast channel corresponding to the live video data, storing the live video data to a live video website where the target live broadcast channel is located, and transmitting the identification information to each node of the tree-type hierarchical peer-to-peer network transmission structure;
when the node judges that the video live broadcast data does not exist according to the identification information, the node requests the video live broadcast data to a node at the upper layer of the node, receives the fed back video live broadcast data and stores the video live broadcast data; wherein,
and when the live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast network points reach the channel number threshold value, a video live broadcast network point is newly established on the server, and the video live broadcast data is received and stored on the newly established video live broadcast network point.
Further, wherein the fed-back live video data is received and stored, further comprising:
the node receives the fed back live video data and stores the live video data into a corresponding live channel on the node according to the playing time sequence of the live video data;
and when the video live broadcast data stored in the live broadcast channel on the node exceeds a preset length threshold of the video live broadcast data, reserving the video live broadcast data with the threshold length from back to front on the node.
Further, wherein the length threshold is 16-32 megabits.
Further, when the live channel of the live video data is not in the recorded live video channel and the channel numbers of the live video channels on all the live video websites reach the channel number threshold, a live video website is newly created on the server, the live video data is received and stored on the newly created live video website, further comprising:
when the live broadcast channel of the video live broadcast data is not in the recorded live broadcast channel and the channel number of the live broadcast channel on all the video live broadcast network points does not reach the channel number threshold value, receiving the video live broadcast data and storing the video live broadcast data on the video live broadcast network points with the channel number smaller than the channel number threshold value;
and when the live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast network points reach the channel number threshold value, a video live broadcast network point is newly established on the server, and the video live broadcast data is received and stored on the newly established video live broadcast network point.
Further, wherein the channel number threshold is 5-50.
On the other hand, the invention also provides a system for layered transmission of network video live broadcast data, which comprises the following steps: the system comprises a setting module, a peer-to-peer network construction module, a video live broadcast data storage module, a video live broadcast data receiving module and a video live broadcast website creation module; wherein,
the setting module is used for setting a channel number threshold value of each video live broadcast network point on a server for receiving and storing the video live broadcast data;
the peer-to-peer network construction module is used for creating at least two layers of tree-shaped layered peer-to-peer network transmission structures based on the video live broadcast network points and recording channel information of each live broadcast channel on the video live broadcast network points;
the video live broadcast data storage module is used for receiving the video live broadcast data by the server and analyzing the identification information and the channel identification of the video live broadcast data from the video live broadcast data; matching the channel identification with the recorded channel information to obtain a target live broadcast channel corresponding to the live video data, storing the live video data to a live video website where the target live broadcast channel is located, and transmitting the identification information to each node of the tree-type hierarchical peer-to-peer network transmission structure;
the video live broadcast data receiving module is used for requesting the video live broadcast data to a node at the upper layer of the node when the node judges that the video live broadcast data does not exist according to the identification information, receiving the fed back video live broadcast data and storing the video live broadcast data; further, the method comprises, among others,
and the video live broadcast website creating module is used for creating a video live broadcast website on the server when a live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast websites reach the channel number threshold, receiving the video live broadcast data and storing the video live broadcast data on the newly created video live broadcast website.
Further, the video live broadcast data receiving module is further configured to:
the node receives the fed back live video data and stores the live video data into a corresponding live channel on the node according to the playing time sequence of the live video data;
and when the video live broadcast data stored in the live broadcast channel on the node exceeds a preset length threshold of the video live broadcast data, reserving the video live broadcast data with the threshold length from back to front on the node.
Further, wherein the length threshold is 16-32 megabits.
Further, wherein the live video website creating module is further configured to:
when the live broadcast channel of the video live broadcast data is not in the recorded live broadcast channel and the channel number of the live broadcast channel on all the video live broadcast network points does not reach the channel number threshold value, receiving the video live broadcast data and storing the video live broadcast data on the video live broadcast network points with the channel number smaller than the channel number threshold value;
and when the live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast network points reach the channel number threshold value, a video live broadcast network point is newly established on the server, and the video live broadcast data is received and stored on the newly established video live broadcast network point.
Further, wherein the channel number threshold is 5-50.
Compared with the prior art, the method and the system for layered transmission of the network video live broadcast data have the advantages that:
(1) according to the method and the system for layered transmission of the network video live broadcast data, the shot live broadcast video source is pushed to a plurality of network video live broadcast network points for storage, the P2P video live broadcast data transmission network is established based on the plurality of network video live broadcast network points, a user can acquire live broadcast data from different P2P video live broadcast network nodes for watching, and the problem that the live broadcast watching effect is increasingly poor because all users acquire the live broadcast data from the same live broadcast network point is solved.
(2) According to the method and the system for the layered transmission of the network video live broadcast data, the video live broadcast data are stored and transmitted in a tree-shaped layered mode, users acquire the video data from the branched nodes to watch, the users do not need to acquire the video live broadcast data from the same live broadcast network node but acquire the video live broadcast data from the P2P video live broadcast network node nearby, the transmission time of the video live broadcast data is shortened, and the real-time property of transmitting the video live broadcast data is guaranteed.
Of course, it is not necessary for any product in which the present invention is practiced to achieve all of the above-described technical effects simultaneously.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flowchart of a method for layered transmission of network video live data according to embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram of a tree-type hierarchical peer-to-peer network for live network video data according to embodiment 1 of the present invention;
fig. 3 is a schematic flowchart of a method for layered transmission of network video live broadcast data according to embodiment 2 of the present invention;
fig. 4 is a schematic structural diagram of a system for hierarchical transmission of network video live data according to embodiment 3 of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Example 1
Fig. 1 is a schematic flow chart of the method for layered transmission of live network video data in this embodiment. In this embodiment, a proper number of live webcast video nodes are set based on the number of live webcast video channels to receive the shot live webcast video data, a P2P live webcast data transmission network is constructed based on each live webcast node, and a user acquires live webcast data from a nearby P2P live webcast network node, so that the live webcast data transmission efficiency is improved. The method for layered transmission of network video live broadcast data in the embodiment comprises the following steps:
step 101, setting a channel number threshold value of each video live broadcast network point on a server for receiving and storing video live broadcast data.
The shot live video data are sent to the server according to a preset corresponding live video channel, and a plurality of live video websites are arranged on the server and used for storing live video data of different live video channels. The method and the device have the advantages that the video live broadcast data are not stored in the same video live broadcast network point in the prior art, so that the problem that all users acquire the video live broadcast data from the same video live broadcast network point to influence the data transmission efficiency is solved.
Step 102, respectively creating at least two layers of tree-type layered peer-to-peer network transmission structures based on each live video network, and recording channel information of each live video channel on each live video network, wherein the channel information comprises a channel identifier of a corresponding channel.
In a transmission structure of a tree-type hierarchical peer-to-peer network (P2P), the positions of all nodes are equal, so that communication on the peer-to-peer network becomes easy and direct sharing and interaction are realized, the latest live video data are pushed to nodes on the lower layer through nodes on the upper layer, the live video data are stored by a plurality of nodes on each layer, so that the nodes on the lower layer can have more choices when acquiring the live video data from the nodes on the upper layer, and the transmission efficiency of the live video data is improved.
103, the server receives the live video data, analyzes identification information and channel identification of the live video data from the live video data, matches the channel identification with each recorded channel information to obtain a target live broadcast channel corresponding to the live video data, and stores the live video data to a live video website where the target live broadcast channel is located.
The live video data in the same live video channel are stored on the corresponding live video network nodes in a centralized manner, so that the live video data related to the live video channel can be pushed to each node on the live video network node.
And step 104, transmitting the identification information to nodes of each layer in a peer-to-peer network transmission structure of the live video network point.
The identification information includes: and information such as ID of the live video data, size and content description of the live video data and the like. Whether the video live broadcast data exist on the node or not can be judged through the identification information, and the video live broadcast data are prevented from being repeatedly pushed.
And 105, when the node of the peer-to-peer network transmission structure judges that the video live broadcast data does not exist according to the identification information, requesting the video live broadcast data from a node at the upper layer of the node in the peer-to-peer network transmission structure.
And 106, the nodes of the peer-to-peer network transmission structure receive and store the video live broadcast data fed back by the nodes of the upper layer.
And 107, when the live video channel to which the live video data belongs is not in the recorded live video channel, receiving the live video data and storing the live video data in the live video network node with the channel number smaller than the channel number threshold.
And 108, when the live video channel to which the live video data belongs is not in the recorded live video channel and the channel numbers of all live video websites reach the channel number threshold, creating a live video website on the server, and receiving the live video data and storing the live video data on the newly-created live video website.
Fig. 2 is a schematic diagram of a tree-type hierarchical peer-to-peer network structure of live network video data in this embodiment. The server 201 includes a live video website 211, and 2 live video websites are taken as an example for explanation here. Under each live video network node 211, the network node branches into a plurality of second-level nodes 212, and each second-level node 212 branches into a plurality of third-level nodes 213, so as to establish a tree-type hierarchical peer-to-peer network structure.
Example 2
Fig. 3 is a schematic flow chart of the method for layered transmission of live network video data in this embodiment. The embodiment describes specific contents for controlling the storage length of live video data at each node in the P2P network on the basis of embodiment 1. The method described in this embodiment comprises the steps of:
step 301, setting a channel number threshold for each live video website to receive live video data and a threshold for storing live video data length on each live video data storage node on a server for receiving and storing live video data.
Preferably, the channel number threshold is 10-20; the threshold value of the length of the stored video live data is 32 megabytes. In the step, the characteristics of P2P data transmission are utilized, the video live broadcast data with the length not more than 32 megabytes are stored at the storage node, and the video live broadcast data can be transmitted quickly and efficiently based on the P2P video live broadcast data hierarchical network.
Step 302, respectively creating at least two layers of tree-type layered peer-to-peer network transmission structures based on each live video website, and recording channel information of live video channels corresponding to the live video data stored in each live video website.
In a transmission structure of a tree-type hierarchical peer-to-peer network (P2P), the positions of all nodes are equal, so that communication on the peer-to-peer network becomes easy and direct sharing and interaction are realized, the latest live video data are pushed to nodes on the lower layer through nodes on the upper layer, the live video data are stored by a plurality of nodes on each layer, so that the nodes on the lower layer can have more choices when acquiring the live video data from the nodes on the upper layer, and the transmission efficiency of the live video data is improved.
And 303, the server receives the live video data, analyzes identification information and channel identification of the live video data from the live video data, matches the channel identification with recorded channel information to obtain a target live broadcast channel corresponding to the live video data, and stores the live video data to a live video website where the target live broadcast channel is located.
The live video data in the same live video channel are stored on the corresponding live video network nodes in a centralized manner, so that the live video data related to the live video channel can be pushed to each node on the live video network node.
And step 304, transmitting the identification information to nodes of each layer in a peer-to-peer network transmission structure of the live video network point.
The identification information includes: and information such as ID of the live video data, size and content description of the live video data and the like. Whether the video live broadcast data exist on the node or not can be judged through the identification information, and the video live broadcast data are prevented from being repeatedly pushed.
And 305, judging whether the video live broadcast data exists by the node of the peer-to-peer network transmission structure according to the identification information.
Step 306, when the node of the peer-to-peer network transmission structure judges that the video live broadcast data exists according to the identification information, the node does not request the video live broadcast data from the node at the upper layer in the peer-to-peer network transmission structure.
And 307, when judging that the video live broadcast data does not exist according to the identification information, the node of the peer-to-peer network transmission structure requests the video live broadcast data from a node at the upper layer in the peer-to-peer network transmission structure, and receives and stores the video live broadcast data fed back by the node at the upper layer.
And 308, when the live video channel to which the live video data belongs is not in the recorded live video channel, receiving the live video data and storing the live video data in the live video network node with the channel number smaller than the channel number threshold.
And 309, when the live video channel to which the live video data belongs is not in the recorded live video channel and the channel numbers of all live video websites reach the channel number threshold, creating a live video website on the server, and receiving the live video data and storing the live video data on the newly-created live video website.
And 310, the node of the peer-to-peer network transmission structure receives the live video data and stores the live video data according to the receiving time sequence, and judges whether the live video data stored in each live video channel on the node exceeds the threshold value of the length of the stored live video data.
And 311, when the stored video live broadcast data in each video live broadcast channel on the node exceeds the length threshold of the stored video live broadcast data, reserving the video live broadcast data with the threshold length from back to front. In the step, according to the characteristics of the live video, the latest live video data is reserved on the storage node each time, and the live video data which exceeds the length threshold and is positioned in front is deleted.
And step 312, when the stored video live broadcast data in each video live broadcast channel on the node does not exceed the length threshold, retaining the currently stored video live broadcast data on the node.
In the embodiment, the network video live broadcast data is transmitted based on a P2P hierarchical tree network structure, the latest video live broadcast data is reserved when each storage node is updated, the user can conveniently acquire the latest video live broadcast data in real time, the user acquires the video data from the branched nodes for watching, the user does not need to acquire the video live broadcast data from the same live broadcast node but acquires the video live broadcast data from the P2P video live broadcast network node nearby, the transmission time of the video live broadcast data is shortened, and the real-time property of transmitting the video live broadcast data is ensured.
Example 3
Fig. 4 is a schematic structural diagram of a system for hierarchical transmission of network video live data according to this embodiment. The system for hierarchical transmission of network video live data in this embodiment may implement the method for hierarchical transmission of network video live data in the above embodiments. The system for layered transmission of network video live broadcast data in the embodiment comprises: the system comprises a setting module 401, a peer-to-peer network construction module 402, a live video data storage module 403, a live video data receiving module 404 and a live video website creation module 405; wherein,
the setting module 401 is coupled to the live video website creating module 405, and configured to set a channel number threshold for each live video website on a server that receives and stores live video data to receive live video data.
The peer-to-peer network construction module 402 is coupled to the live video data storage module 403, and is configured to create at least two layers of tree-type layered peer-to-peer network transmission structures based on each live video website, and record channel information of a live video channel corresponding to live video data stored in each live video website.
The live video data storage module 403 is coupled to the peer-to-peer network construction module 402 and the live video data receiving module 404, and is configured to receive the live video data from the server, parse out the live video data identification information and the channel identification from the live video data, match the recorded channel information to obtain a target live video channel corresponding to the live video data, store the live video data to a live video website where the target live video channel is located, and transmit the identification information to each node of the tree-type hierarchical peer-to-peer network transmission structure.
The live video data receiving module 404 is coupled to the live video data storage module 403 and the live video website creating module 405, and is configured to, when the node of the peer-to-peer network transmission structure determines that the live video data does not exist according to the identification information, request the live video data from a node on a previous layer of the node in the peer-to-peer network transmission structure, receive the fed back live video data, and store the live video data.
The video live broadcast website creating module 405 is coupled to the video live broadcast data receiving module 404 and the setting module 401, and is configured to create a video live broadcast website on the server when a live broadcast channel of the video live broadcast data is not in a recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast websites reach the channel number threshold, receive the video live broadcast data, and store the video live broadcast data on the newly created video live broadcast website.
Further, wherein the setting module 401 is further configured to:
setting a channel number threshold value for each video live broadcast network point to receive video live broadcast data and a threshold value for storing the length of the video live broadcast data on each node in a peer-to-peer network established based on the video live broadcast network points on a server for receiving and storing the video live broadcast data.
The video live broadcast data receiving module 404 is further configured to:
the node receives the fed back live video data and stores the live video data into a corresponding live channel on the node according to the playing time sequence of the live video data;
and when the video live broadcast data stored in the live broadcast channel on the node exceeds a preset length threshold of the video live broadcast data, reserving the video live broadcast data with the threshold length from back to front on the node. Preferably, the length threshold is 16-32 megabits.
The live video website creating module 405 is further configured to:
when the live broadcast channel of the video live broadcast data is not in the recorded live broadcast channel and the channel number of the live broadcast channel on all the video live broadcast network points does not reach the channel number threshold value, receiving the video live broadcast data and storing the video live broadcast data on the video live broadcast network points with the channel number smaller than the channel number threshold value;
and when the live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast network points reach the channel number threshold value, a video live broadcast network point is newly established on the server, and the video live broadcast data is received and stored on the newly established video live broadcast network point. Preferably, the channel number threshold is 5-50.
According to the embodiments, the method and the system for layered transmission of the network video live broadcast data have the following beneficial effects:
(1) according to the method and the system for layered transmission of the network video live broadcast data, the shot live broadcast video source is pushed to a plurality of network video live broadcast network points for storage, the P2P video live broadcast data transmission network is established based on the plurality of network video live broadcast network points, a user can acquire live broadcast data from different P2P video live broadcast network nodes for watching, and the problem that the live broadcast watching effect is increasingly poor because all users acquire the live broadcast data from the same live broadcast network point is solved.
(2) According to the method and the system for the layered transmission of the network video live broadcast data, the video live broadcast data are stored and transmitted in a tree-shaped layered mode, users acquire the video data from the branched nodes to watch, the users do not need to acquire the video live broadcast data from the same live broadcast network node but acquire the video live broadcast data from the P2P video live broadcast network node nearby, the transmission time of the video live broadcast data is shortened, and the real-time property of transmitting the video live broadcast data is guaranteed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Although some specific embodiments of the present invention have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustrative purposes only and are not intended to limit the scope of the present invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (10)
1. A method for layered transmission of network video live broadcast data is characterized by comprising the following steps:
setting a channel number threshold value of each video live broadcast network point on a server for receiving and storing video live broadcast data;
creating at least two layers of tree-type layered peer-to-peer network transmission structures based on the video live broadcast network points, and recording channel information of each live broadcast channel on the video live broadcast network points;
the server receives live video data and analyzes identification information and channel identification of the live video data from the live video data; matching the channel identification with the recorded channel information to obtain a target live broadcast channel corresponding to the live video data, storing the live video data to a live video website where the target live broadcast channel is located, and transmitting the identification information to each node of the tree-type hierarchical peer-to-peer network transmission structure;
when the node judges that the video live broadcast data does not exist according to the identification information, the node requests the video live broadcast data to a node at the upper layer of the node, receives the fed back video live broadcast data and stores the video live broadcast data; wherein,
and when the live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast network points reach the channel number threshold value, a video live broadcast network point is newly established on the server, and the video live broadcast data is received and stored on the newly established video live broadcast network point.
2. The method for hierarchical transmission of network video live data according to claim 1, wherein the fed back video live data is received and stored, and further comprising:
the node receives the fed back live video data and stores the live video data into a corresponding live channel on the node according to the playing time sequence of the live video data;
when the video live broadcast data stored in the live broadcast channel on the node exceeds the preset length threshold of the video live broadcast data, the latest video live broadcast data are reserved on the node, and the video live broadcast data which exceed the threshold length and are positioned in front of the reserved latest video live broadcast data are deleted.
3. The method for hierarchical transmission of network video live data according to claim 2, wherein the length threshold is 16-32 megabits.
4. The method for hierarchical transmission of network video live data according to claim 1, further comprising the steps of:
and when the live broadcast channel of the video live broadcast data is not in the recorded live broadcast channel and the channel number of the live broadcast channel on all the video live broadcast network points does not reach the channel number threshold, receiving the video live broadcast data and storing the video live broadcast data on the video live broadcast network points with the channel number smaller than the channel number threshold.
5. The method of claim 1, wherein the channel number threshold is 5-50.
6. A system for layered transmission of network video live data is characterized by comprising: the system comprises a setting module, a peer-to-peer network construction module, a video live broadcast data storage module, a video live broadcast data receiving module and a video live broadcast website creation module; wherein,
the setting module is used for setting a channel number threshold value of each video live broadcast network point on a server for receiving and storing the video live broadcast data;
the peer-to-peer network construction module is used for creating at least two layers of tree-shaped layered peer-to-peer network transmission structures based on the video live broadcast network points and recording channel information of each live broadcast channel on the video live broadcast network points;
the video live broadcast data storage module is used for receiving the video live broadcast data by the server and analyzing the identification information and the channel identification of the video live broadcast data from the video live broadcast data; matching the channel identification with the recorded channel information to obtain a target live broadcast channel corresponding to the live video data, storing the live video data to a live video website where the target live broadcast channel is located, and transmitting the identification information to each node of the tree-type hierarchical peer-to-peer network transmission structure;
the video live broadcast data receiving module is used for requesting the video live broadcast data to a node at the upper layer of the node when the node judges that the video live broadcast data does not exist according to the identification information, receiving the fed back video live broadcast data and storing the video live broadcast data; further, the method comprises, among others,
and the video live broadcast website creating module is used for creating a video live broadcast website on the server when a live broadcast channel of the video live broadcast data is not in the recorded video live broadcast channel and the channel numbers of the live broadcast channels on all the video live broadcast websites reach the channel number threshold, receiving the video live broadcast data and storing the video live broadcast data on the newly created video live broadcast website.
7. The system for hierarchical transmission of network video live data according to claim 6, wherein the video live data receiving module is further configured to:
the node receives the fed back live video data and stores the live video data into a corresponding live channel on the node according to the playing time sequence of the live video data;
when the video live broadcast data stored in the live broadcast channel on the node exceeds the preset length threshold of the video live broadcast data, the latest video live broadcast data are reserved on the node, and the video live broadcast data which exceed the threshold length and are positioned in front of the reserved latest video live broadcast data are deleted.
8. The system for hierarchical transmission of network video live data according to claim 7, wherein the length threshold is 16-32 megabits.
9. The system for hierarchical delivery of network video live data according to claim 6, wherein the live video website creation module is further configured to:
and when the live broadcast channel of the video live broadcast data is not in the recorded live broadcast channel and the channel number of the live broadcast channel on all the video live broadcast network points does not reach the channel number threshold, receiving the video live broadcast data and storing the video live broadcast data on the video live broadcast network points with the channel number smaller than the channel number threshold.
10. The system for hierarchical delivery of network video live data according to claim 6, wherein the channel number threshold is 5-50.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610669634.5A CN106210751B (en) | 2016-08-15 | 2016-08-15 | The method and system of internet video live broadcasting data hierarchy transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610669634.5A CN106210751B (en) | 2016-08-15 | 2016-08-15 | The method and system of internet video live broadcasting data hierarchy transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210751A CN106210751A (en) | 2016-12-07 |
CN106210751B true CN106210751B (en) | 2019-07-19 |
Family
ID=57521551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610669634.5A Active CN106210751B (en) | 2016-08-15 | 2016-08-15 | The method and system of internet video live broadcasting data hierarchy transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210751B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109902256A (en) * | 2019-02-26 | 2019-06-18 | 北京金堤科技有限公司 | Monitoring method, device, electronic equipment and the computer-readable medium of data |
CN110069342B (en) * | 2019-04-11 | 2021-01-15 | 西安交通大学 | Method for deploying fusion video live broadcast channel in mobile cloud computing environment |
CN111355970B (en) * | 2019-05-15 | 2023-03-24 | 深圳市鸿合创新信息技术有限责任公司 | Live broadcast management method and device and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996843A (en) * | 2005-12-26 | 2007-07-11 | 北大方正集团有限公司 | Light distributed file storage system and file upload method |
CN101631034A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Method, device and system for node management and access in peer-to-peer network |
CN101741750A (en) * | 2010-01-15 | 2010-06-16 | 中国科学院计算技术研究所 | Resource downloading method in P2P (peer-to peer) and system thereof |
EP2237529B1 (en) * | 2009-03-30 | 2012-02-01 | Alcatel Lucent | Method for building up two parallel distribution trees of a peer-to-peer network |
CN103139656A (en) * | 2011-12-01 | 2013-06-05 | 苏州达联信息科技有限公司 | Method of managing cluster type dynamic network distribution trees of video live broadcast distribution network |
CN103731753A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Personal live video stream routing system and method |
CN104301741A (en) * | 2014-09-26 | 2015-01-21 | 北京奇艺世纪科技有限公司 | Data live broadcast system and method |
CN104660677A (en) * | 2015-01-16 | 2015-05-27 | 北京邮电大学 | Tree CDN-P2P fusion network framework based on grid structure and method thereof |
CN105828093A (en) * | 2016-03-21 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Network video live broadcasting method and device |
-
2016
- 2016-08-15 CN CN201610669634.5A patent/CN106210751B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996843A (en) * | 2005-12-26 | 2007-07-11 | 北大方正集团有限公司 | Light distributed file storage system and file upload method |
CN101631034A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Method, device and system for node management and access in peer-to-peer network |
EP2237529B1 (en) * | 2009-03-30 | 2012-02-01 | Alcatel Lucent | Method for building up two parallel distribution trees of a peer-to-peer network |
CN101741750A (en) * | 2010-01-15 | 2010-06-16 | 中国科学院计算技术研究所 | Resource downloading method in P2P (peer-to peer) and system thereof |
CN103139656A (en) * | 2011-12-01 | 2013-06-05 | 苏州达联信息科技有限公司 | Method of managing cluster type dynamic network distribution trees of video live broadcast distribution network |
CN103731753A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Personal live video stream routing system and method |
CN104301741A (en) * | 2014-09-26 | 2015-01-21 | 北京奇艺世纪科技有限公司 | Data live broadcast system and method |
CN104660677A (en) * | 2015-01-16 | 2015-05-27 | 北京邮电大学 | Tree CDN-P2P fusion network framework based on grid structure and method thereof |
CN105828093A (en) * | 2016-03-21 | 2016-08-03 | 乐视网信息技术(北京)股份有限公司 | Network video live broadcasting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106210751A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11979474B2 (en) | Resource response expansion | |
CN107483627B (en) | File distribution method, file download method, distribution server, client and system | |
JP6937918B2 (en) | Video live broadcasting method and equipment | |
CN103379362B (en) | VOD method and system | |
US20140115641A1 (en) | Personal Content Sharing Method, System, Server, and Terminal Device | |
CN101677325B (en) | Method, device and system for publishing media description information and acquiring media | |
CN103078847B (en) | Method for storing and reading multi-code-rate stream file and relevant device | |
US20100241757A1 (en) | System and Method for Storing Streaming Media File | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
US9445162B2 (en) | Interactive personal/internet protocol television reservation system, reservation plan management method and device | |
CN106210751B (en) | The method and system of internet video live broadcasting data hierarchy transmission | |
CN101631034A (en) | Method, device and system for node management and access in peer-to-peer network | |
US20200288183A1 (en) | Live video replay method, replay server and system | |
US11373116B2 (en) | Model parameter fusion method and apparatus | |
WO2019051628A1 (en) | File distribution method, file download method, distribution server, client, and system | |
US9578356B1 (en) | Live video matching method and system | |
US20100306687A1 (en) | System and method for avatar management | |
CN103634616A (en) | Cloud storage-based streaming media video-on-demand method and apparatus | |
CN104780202A (en) | End-to-end cloud service database virtualization and management framework and method | |
CN101448139B (en) | A P2P network based digital media program order method | |
WO2022057525A1 (en) | Method and device for data retrieval, electronic device, and storage medium | |
CN107659626B (en) | Temporary metadata oriented separation storage method | |
CN106210779B (en) | Optimize the method and system of internet video live broadcasting data hierarchy transmission | |
US20210344741A1 (en) | A method and device for feeding back a resource file | |
US20160357875A1 (en) | Techniques for promoting and viewing social content written by nearby people |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20190705 Granted publication date: 20190719 |
|
PP01 | Preservation of patent right |