CN109286856A - The P2P live broadcast system broadcast and method are opened in acceleration - Google Patents
The P2P live broadcast system broadcast and method are opened in acceleration Download PDFInfo
- Publication number
- CN109286856A CN109286856A CN201710600497.4A CN201710600497A CN109286856A CN 109286856 A CN109286856 A CN 109286856A CN 201710600497 A CN201710600497 A CN 201710600497A CN 109286856 A CN109286856 A CN 109286856A
- Authority
- CN
- China
- Prior art keywords
- broadcast
- push server
- coding segment
- data block
- nodes
- 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.)
- Pending
Links
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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Abstract
The invention discloses a kind of acceleration to open the P2P live broadcast system broadcast and method, and system includes push server and broadcast nodes, and the broadcast nodes and the push server communicate to connect;The push server is used to video data being cut into several data blocks, and each data block is encoded into several coding segments, and guarantees to include a key frame at least one the corresponding data block of coding segment cached;The broadcast nodes are for sending playing request to the push server;The push server is for being sent to the broadcast nodes for decoding parametric and the coding segment when receiving the playing request;The broadcast nodes after being decoded according to the decoding parametric to the coding segment for playing.Coding segment and decoding parameter are sent to broadcast nodes simultaneously by push server in the present invention, and broadcast nodes, which directly can be decoded realization to coding segment according to decoding parametric and open, to be broadcast, and are greatly accelerated to open and are broadcast speed, improve user experience.
Description
Technical field
The present invention relates to direct seeding technique field, in particular to a kind of acceleration open P2P (peer-to-peer network) live broadcast system broadcast and
Method.
Background technique
In increasingly universal Stream Media Application system, direct broadcast service has become main in each system more and more
One of service.P2P technology is because of its scalability, capacity of self-government, dynamically adapting ability etc. and become live broadcast service on internet
Primary solutions.P2P flow medium live system mainly has three class models at present: being based on tree topology agreement and expanded mode
Type, the model based on mesh topology agreement and extended model and based on Gossip agreement.Existing P2P flow medium live system
(such as DONet, TAG) when starting broadcasting, local buffer, which is intended to one section of longer stream medium data of buffering, can just start to broadcast
Put, thus user be added P2P network startup be played to Streaming Media start play need to wait longer time.Further, since
Existing P2P flow medium live system all uses unified broadcast strategy to all nodes, causes the download bandwidth of part of nodes
It is not big enough, there is the problem of causing broadcasting pictures to be paused because of stream medium data acquisition deficiency, to not can guarantee play quality
And user experience.
Summary of the invention
The technical problem to be solved by the present invention is to broadcast slow defect to overcome to open when live streaming in the prior art, one kind is provided
The P2P live broadcast system broadcast and method are opened in acceleration.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The P2P live broadcast system broadcast is opened in a kind of acceleration, it is characterized in that, the P2P live broadcast system include push server and
Broadcast nodes, the broadcast nodes and the push server communicate to connect;
The push server is used to video data being cut into several data blocks, and each data block is encoded into several
Segment is encoded, and guarantees to include a key frame at least one the corresponding data block of coding segment cached;
The broadcast nodes are for sending playing request to the push server;
The push server is used to send decoding parametric and the coding segment when receiving the playing request
To the broadcast nodes;
The broadcast nodes play after being decoded according to the decoding parametric to the coding segment.
Preferably, the push server is also used to look into from several data blocks when receiving the playing request
Target data block is looked for, and the coding segment of the target data block is sent to the broadcast nodes;
The target data block is with the data block with the time difference at current time the smallest key frame.
Preferably, the push server at least sends 5 decoding parametrics to the broadcast nodes.
Preferably, the P2P live broadcast system further includes tracker server and source node;
The tracker server is used to distribute the communication authority of corresponding connection source node for each broadcast nodes;
The broadcast nodes are also used to obtain the communication authority from the tracker server, and according to the communication
Permission is established with corresponding source node and is communicated to connect, and obtains coding segment.
Preferably, the decoding parametric includes correcting and eleting codes threshold value and coding segment byte number.
The present invention also provides a kind of acceleration to open the P2P live broadcasting method broadcast, and the P2P live broadcasting method is using as described above
P2P live broadcast system realize, the P2P live broadcasting method the following steps are included:
S1, video data is cut into several data blocks, and each data block is encoded into several codings by push server
Segment, and guarantee to include a key frame at least one the corresponding data block of coding segment cached;
S2, broadcast nodes send playing request to the push server;
S3, decoding parametric and the coding segment be sent to by the push server when receiving the playing request
The broadcast nodes;
S4, the broadcast nodes play after being decoded according to the decoding parametric to the coding segment.
Preferably, the step of coding segment is sent to the broadcast nodes by the push server, specifically includes:
The push server searches target data block from several data blocks, and by the volume of the target data block
Chip segment is sent to the broadcast nodes;
The target data block is with the data block with the time difference at current time the smallest key frame.
Preferably, in step S3In, the push server at least sends 5 decoding parametrics to the broadcast nodes.
Preferably, the P2P live broadcast system further includes tracker server and source node;The tracker server
It is stored with the communication authority connected with corresponding source node for distributing to each broadcast nodes;
The P2P live broadcasting method further include:
S5, the broadcast nodes from the tracker server obtain the communication authority, and according to the communication authority
It establishes and communicates to connect with corresponding source node, and obtain coding segment.
Preferably, the decoding parametric includes correcting and eleting codes threshold value and coding segment byte number.
The positive effect of the present invention is that: push server simultaneously will coding segment and decoding parameter hair in the present invention
It send to broadcast nodes, broadcast nodes, which directly can be decoded realization to coding segment according to decoding parametric and open, to be broadcast, and is greatly accelerated
It opens and broadcasts speed, improve user experience.
Detailed description of the invention
Fig. 1 is that the structural schematic diagram for the P2P live broadcast system broadcast is opened in the acceleration of the embodiment of the present invention 1.
Fig. 2 is that the flow chart for the P2P live broadcasting method broadcast is opened in the acceleration of the embodiment of the present invention 2.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality
It applies among a range.
Embodiment 1
As shown in Figure 1, it includes push server 1 and broadcast nodes 2 that the P2P live broadcast system broadcast is opened in the acceleration of the present embodiment,
Push server 1 and multiple broadcast nodes 2 communicate to connect.The push server of the present embodiment can be by being transformed CDN (content distribution
Network) in server realize, specifically, push server can realize following functions:
The video data of acquisition is cut into an equal amount of several data blocks (chunk) by push server, then will be each
Chunk generates N number of coding segment by [N, k] correcting and eleting codes, generates decoding parametric in cataloged procedure: correcting and eleting codes threshold value k and coding
The byte number psize of segment.Push server caches coding segment, and guarantees corresponding to the coding segment of caching extremely
It include a key frame in a few data block, to guarantee coding segment that push server is pushed to broadcast nodes corresponding the
One data block must be with key frame, this is because broadcast nodes only take key frame and are likely to open and broadcast success.It pushes away
It send server when receiving the playing request of broadcast nodes transmission, decoding parametric and coding segment is sent to broadcast nodes.
After broadcast nodes receive decoding parametric and k coding segment, then coding segment can be decoded simultaneously according to decoding parametric
It plays, realization, which is opened, to be broadcast.In this implementation, since broadcast nodes obtain coding parameter without requesting, it can be realized to coding segment
Decoding, greatly accelerates to open and broadcasts speed.
In order to user can from any point-in-time quickly, realize glibly and open and broadcast, in the present embodiment, push server is being connect
When receiving playing request, target data block is searched from several data blocks first, then sends out the coding segment of target data block
It send to broadcast nodes;Target data block be with current time (namely push server receive playing request at the time of)
The data block of time difference the smallest key frame, namely preferentially pushed away since the chunk with the key frame nearest away from current time
It send, to realize that quick, incision is opened and broadcast glibly.Certainly, after broadcast nodes realization is opened and broadcast, push server also persistently sends request
The coding segment of data block after time is to broadcast nodes.But due to each channel correcting and eleting codes threshold value k having the same and volume
The byte number psize of chip segment, therefore broadcast nodes only need to obtain decoding parametric open sowing time every time, after realization is opened and is broadcast,
Push server is without retransmiting decoding parametric to broadcast nodes.
In the present embodiment, in order to ensure broadcast nodes can receive decoding parametric, push server sends repeatedly decoding ginseng
Number is to broadcast nodes, for example, sending 1 time every 10ms, retries transmission 5 times.
In the present embodiment, P2P live broadcast system further includes tracker server 3 and source node 4, broadcast nodes 2 with
Tracker server 3 communicates to connect.Tracker server is used to distribute corresponding connection source node for each broadcast nodes
Communication authority, wherein communication authority includes direct broadcast band url (uniform resource locator).Broadcast nodes open broadcast after, can also be from
Tracker server obtains communication authority, and is established and communicated to connect with corresponding source node according to communication authority, plays at this time
Node can obtain coding segment from other source nodes, so as to reduce during live streaming because of broadcast nodes caused by network problem
From push server obtain coding segment delay and caused by Caton phenomenon.
Embodiment 2
The P2P live broadcasting method of the present embodiment is realized using the P2P live broadcast system in embodiment 1, as shown in Fig. 2, this implementation
Example P2P live broadcasting method the following steps are included:
Video data is cut into several data blocks by step 101, push server, and each data block is encoded into several
Encode segment.
When push server caches coding segment, guarantee at least one corresponding data block of coding segment of caching
In include a key frame.
Specifically, the video data of acquisition is cut into an equal amount of several data blocks (chunk) by push server, then
Each chunk is generated into N number of coding segment by [N, k] correcting and eleting codes, generates decoding parametric in cataloged procedure.Wherein, decoding ginseng
Number includes the correcting and eleting codes threshold value k and byte number psize for encoding segment.
Step 102, broadcast nodes send playing request to push server.
Decoding parametric and coding segment are sent to broadcasting section when receiving playing request by step 103, push server
Point.
In the present embodiment, the step of coding segment is sent to the broadcast nodes by push server, specifically include:
Push server searches target data block from several data blocks, and the coding segment of target data block is sent to broadcasting section
Point.Wherein, target data block is with the data block with the time difference at current time the smallest key frame.
In the present embodiment, in order to ensure broadcast nodes can receive decoding parametric, push server sends repeatedly decoding ginseng
Number is to broadcast nodes, for example, sending 1 time every 10ms, retries transmission 5 times.
Step 104, broadcast nodes play after being decoded according to decoding parametric to coding segment.
In the present embodiment, P2P live broadcast system further includes tracker server and source node.The storage of tracker server
There is the communication authority connected with corresponding source node for distributing to each broadcast nodes.
P2P live broadcasting method further include:
Broadcast nodes obtain communication authority from tracker server, and are built according to communication authority with corresponding source node
Vertical communication connection, and obtain coding segment.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that this is only
For example, protection scope of the present invention is to be defined by the appended claims.Those skilled in the art without departing substantially from
Under the premise of the principle and substance of the present invention, many changes and modifications may be made, but these change and
Modification each falls within protection scope of the present invention.
Claims (10)
1. the P2P live broadcast system broadcast is opened in a kind of acceleration, which is characterized in that the P2P live broadcast system includes push server and broadcasts
Node is put, the broadcast nodes and the push server communicate to connect;
The push server is used to video data being cut into several data blocks, and each data block is encoded into several codings
Segment, and guarantee to include a key frame at least one the corresponding data block of coding segment cached;
The broadcast nodes are for sending playing request to the push server;
The push server is for being sent to institute for decoding parametric and the coding segment when receiving the playing request
State broadcast nodes;
The broadcast nodes play after being decoded according to the decoding parametric to the coding segment.
2. P2P live broadcast system as described in claim 1, which is characterized in that the push server is also used to receiving
Target data block is searched when stating playing request from several data blocks, and the coding segment of the target data block is sent
To the broadcast nodes;
The target data block is with the data block with the time difference at current time the smallest key frame.
3. P2P live broadcast system as described in claim 1, which is characterized in that the push server is at least sending 5 solutions
Code parameter is to the broadcast nodes.
4. P2P live broadcast system as described in claim 1, which is characterized in that the P2P live broadcast system further includes tracker clothes
Business device and source node;
The tracker server is used to distribute the communication authority of corresponding connection source node for each broadcast nodes;
The broadcast nodes are also used to obtain the communication authority from the tracker server, and according to the communication authority
It establishes and communicates to connect with corresponding source node, and obtain coding segment.
5. the P2P live broadcast system as described in any one of claim 1-4, which is characterized in that the decoding parametric includes entangling
Delete yard threshold value and coding segment byte number.
6. the P2P live broadcasting method broadcast is opened in a kind of acceleration, which is characterized in that the P2P live broadcasting method utilizes described in claim 1
P2P live broadcast system realize, the P2P live broadcasting method the following steps are included:
S1, push server video data is cut into several data blocks, and each data block is encoded into several coding segments,
And guarantee to include a key frame at least one the corresponding data block of coding segment cached;
S2, broadcast nodes send playing request to the push server;
S3, the push server decoding parametric and the coding segment are sent to when receiving the playing request it is described
Broadcast nodes;
S4, the broadcast nodes play after being decoded according to the decoding parametric to the coding segment.
7. P2P live broadcasting method as claimed in claim 6, which is characterized in that the push server sends out the coding segment
The step of sending to the broadcast nodes, specifically includes:
The push server searches target data block from several data blocks, and by the coded slice of the target data block
Section is sent to the broadcast nodes;
The target data block is with the data block with the time difference at current time the smallest key frame.
8. P2P live broadcasting method as claimed in claim 6, which is characterized in that in step S3In, the push server is at least sent out
Send 5 decoding parametrics to the broadcast nodes.
9. P2P live broadcasting method as claimed in claim 6, which is characterized in that the P2P live broadcast system further includes tracker clothes
Business device and source node;The tracker server, which is stored with, distributes to connecting with corresponding source node for each broadcast nodes
The communication authority connect;
The P2P live broadcasting method further include:
S5, the broadcast nodes from the tracker server obtain the communication authority, and according to the communication authority with it is right
The source node answered establishes communication connection, and obtains coding segment.
10. the P2P live broadcasting method as described in any one of claim 6-9, which is characterized in that the decoding parametric includes entangling
Delete yard threshold value and coding segment byte number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710600497.4A CN109286856A (en) | 2017-07-21 | 2017-07-21 | The P2P live broadcast system broadcast and method are opened in acceleration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710600497.4A CN109286856A (en) | 2017-07-21 | 2017-07-21 | The P2P live broadcast system broadcast and method are opened in acceleration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109286856A true CN109286856A (en) | 2019-01-29 |
Family
ID=65184774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710600497.4A Pending CN109286856A (en) | 2017-07-21 | 2017-07-21 | The P2P live broadcast system broadcast and method are opened in acceleration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286856A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113316028A (en) * | 2020-02-27 | 2021-08-27 | 华为技术有限公司 | Screen projection method, screen projection equipment and storage medium |
CN113938760A (en) * | 2020-07-14 | 2022-01-14 | 北京金山云网络技术有限公司 | Method, system and device for transmitting multimedia resources |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193273A (en) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | A storage and playing method for real time multimedia image information |
CN101917388A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Streaming media data storage method and device |
JP2013021430A (en) * | 2011-07-08 | 2013-01-31 | Hitachi Consumer Electronics Co Ltd | Thumbnail image provision apparatus, method and system |
CN104185037A (en) * | 2014-02-28 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | Method, device and system for transmitting and playing video |
US20160050398A1 (en) * | 2014-08-15 | 2016-02-18 | Xiaomi Inc. | Method and apparatus for adjusting video quality based on network environment |
CN105376612A (en) * | 2014-08-26 | 2016-03-02 | 华为技术有限公司 | Video playing method, media equipment, playing equipment and multimedia system |
CN105516115A (en) * | 2015-12-02 | 2016-04-20 | 华为技术有限公司 | Method for quickly broadcasting channel and user equipment UE |
-
2017
- 2017-07-21 CN CN201710600497.4A patent/CN109286856A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193273A (en) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | A storage and playing method for real time multimedia image information |
CN101917388A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Streaming media data storage method and device |
JP2013021430A (en) * | 2011-07-08 | 2013-01-31 | Hitachi Consumer Electronics Co Ltd | Thumbnail image provision apparatus, method and system |
CN104185037A (en) * | 2014-02-28 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | Method, device and system for transmitting and playing video |
US20160050398A1 (en) * | 2014-08-15 | 2016-02-18 | Xiaomi Inc. | Method and apparatus for adjusting video quality based on network environment |
CN105376612A (en) * | 2014-08-26 | 2016-03-02 | 华为技术有限公司 | Video playing method, media equipment, playing equipment and multimedia system |
CN105516115A (en) * | 2015-12-02 | 2016-04-20 | 华为技术有限公司 | Method for quickly broadcasting channel and user equipment UE |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113316028A (en) * | 2020-02-27 | 2021-08-27 | 华为技术有限公司 | Screen projection method, screen projection equipment and storage medium |
CN113316028B (en) * | 2020-02-27 | 2022-03-08 | 华为技术有限公司 | Screen projection method, screen projection equipment and storage medium |
CN113938760A (en) * | 2020-07-14 | 2022-01-14 | 北京金山云网络技术有限公司 | Method, system and device for transmitting multimedia resources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3105903B1 (en) | Requesting multiple chunks from a network node on the basis of a single request message | |
US8386630B1 (en) | Video-aware P2P streaming and download with support for real-time content alteration | |
CN102694831B (en) | Mobile terminal streaming compensation data method and system, content distributing network | |
KR101743228B1 (en) | Streaming apparatus and method thereof, streaming service system using the streaming apparatus and computer readable recording medium | |
KR20030056701A (en) | Apparatus and method for providing multimedia streaming service by using point-to-point connection | |
US8316108B2 (en) | Method and apparatus for obtaining media over a communications network | |
CN104782147A (en) | Communication receiver | |
US11831700B2 (en) | Embedding MQTT messages in media streams | |
CN102394899B (en) | On-demand system and method for improving file downloading speed | |
CN108924609B (en) | Streaming media data transmission method, electronic equipment, device and storage medium | |
US8316148B2 (en) | Method and apparatus for obtaining media over a communications network | |
CN105049873A (en) | Method, device and system for streaming media transmission | |
CN108124166B (en) | Internet live broadcast system | |
CN109286856A (en) | The P2P live broadcast system broadcast and method are opened in acceleration | |
WO2022166593A1 (en) | Pont-to-point network scheduling method and system | |
WO2020078388A1 (en) | Streaming media data transmission method, device, and apparatus, and computer storage medium | |
KR101252947B1 (en) | Method and apparatus for push-pull hybrid streaming adaptive to video chunk distribution | |
CN107645475B (en) | File resource distribution system and method in heterogeneous network | |
CN103561013A (en) | Streaming media data distributing system | |
US11876851B2 (en) | Synchronizing independent media and data streams using media stream synchronization points | |
CN110545439A (en) | Rtmp multi-concurrent live broadcast system and method based on streaming media service | |
CN106982395B (en) | HLS-based P2P live broadcast system and method | |
WO2015109842A1 (en) | Method for processing segmented programs, server and client device | |
WO2016165596A1 (en) | Multimedia file control method and system | |
CN109286845B (en) | P2P on-demand system and method |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190129 |