CN110012102A - P2P active seeding method and system based on hot video pre-push - Google Patents
P2P active seeding method and system based on hot video pre-push Download PDFInfo
- Publication number
- CN110012102A CN110012102A CN201910288651.8A CN201910288651A CN110012102A CN 110012102 A CN110012102 A CN 110012102A CN 201910288651 A CN201910288651 A CN 201910288651A CN 110012102 A CN110012102 A CN 110012102A
- Authority
- CN
- China
- Prior art keywords
- video
- hit
- equipment
- fragment
- local
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a P2P active seed planting method and a system based on hot video pre-push, which are missed if equipment is in a bandwidth peak period; judging whether the residual storage space of the equipment is enough, if so, hitting; judging whether the equipment is a target user, and if the equipment is online for a long time and has a good network and can watch the pushed video, hitting the equipment; selecting a hot door, pushing the online video to a hit device respectively according to the division as a unit, and playing the video as seed data uploaded by P2P and local video; all hot videos are pushed to a hitting device at regular time; when the hot video is played or downloaded, judging whether a local cache video fragment exists or not, and if so, directly playing the local video fragment; and if the local cache-free video fragment exists, requesting video data to the CDN, simultaneously requesting the video fragment on the hit device, taking the existing cache video fragment on the hit device as a P2P seed, and sharing the video data to the user. The invention can improve the playing experience.
Description
Technical field
The present invention relates to video broadcasting field, especially a kind of P2P based on the push of popular video preprocessor actively does kind of a method
And system.
Background technique
P2P(is end-to-end at present) application scenarios of the agreement in video software need in video playing from CDN(content
Distribution network) foradownloaded video data can be from each equipment for watching or having already viewed the video by P2P agreement
Foradownloaded video data up, other equipment provide data for current device and upload, thus reach the probability for reducing access CDN, drop
Low CDN bandwidth expense.
In the prior art, when a hot topic video is newly online, concurrent amount of access is very big, because there are no equipment sights for the whole network
Seen the video, or watched the video equipment it is less, when causing to download using P2P, seed number is inadequate, it is necessary to from
CDN request video data, cause the amount of access of CDN in the short time very big, access quality reduce, while the bandwidth consumption of CDN compared with
Height, the probability that Caton occurs in video playing is higher, and it is poor to play experience.
Summary of the invention
The technical problem to be solved by the present invention is to be pushed away in view of the shortcomings of the prior art, providing one kind based on popular video preprocessor
The P2P sent actively does kind of a method, by choosing target device, is pushed away on video slicing to target device group in advance in advance, guarantees under P2P
It is best to carry effect, while reducing and playing Caton probability, is promoted and plays experience.
In order to solve the above technical problems, the technical scheme adopted by the invention is that: it is a kind of based on popular video preprocessor push
P2P actively does kind of a method, including video pushing method and video broadcasting method;
The video pushing method includes:
1) judge whether to hit if non-bandwidth peak period, be not hit by if in bandwidth peak period in bandwidth peak period;
Judge whether equipment residual memory space is enough, if so, hit, otherwise, is not hit by;Judge whether equipment is target user,
If equipment long-term online (long-term whole day online 12, finger online is more than hour), network are good, (network refers to that well bandwidth is stablized, downlink band
It is wide have 50% or more free time), pushing video can be watched, then hit, be otherwise not hit by;
2) equipment hit after step 1) judges is chosen, hot topic is chosen and i.e. (popular video refers to that user sees by online video
See video of the ratio 10% or more), it is pushed in hit equipment, video is pushed to hit equipment by fragment for unit respectively
On, kind of the seed data uploaded as P2P is done in advance, while being played as local video;
3) step 1), 2) is repeated, periodically all popular videos are pushed in hit equipment;
The video broadcasting method includes: to judge locally whether there is buffered video fragment when playing or downloading popular video,
If there is then directly playing local video fragment;If local without buffered video fragment, video data is requested to CDN, is gone simultaneously
Video slicing is requested in the hit equipment, existing buffered video fragment is as P2P seed using in hit equipment, by video counts
According to being shared with user.
A kind of P2P based on the push of popular video preprocessor actively does kind of a system, comprising:
Video push module, for judging equipment whether to be in bandwidth peak period, (bandwidth peak period refers to equipment whole day using band
Width most period), it hits if non-bandwidth peak period, is not hit by if in bandwidth peak period;Judge that equipment residue is deposited
Whether enough space is stored up, if so, hit, otherwise, is not hit by;Judge whether equipment is target user, if equipment it is long-term online,
Network is good, can watch pushing video, then hits, be otherwise not hit by;It chooses hot topic and by online video, is by fragment by video
Unit is pushed to respectively in hit equipment, does kind of the seed data uploaded as P2P in advance, while playing as local video;
Video playback module, for when playing or downloading popular video, judging locally whether there is buffered video fragment, if
Have and then directly plays local video fragment;If local without buffered video fragment, when pulling video flowing using P2P downloading, to CDN
Video data is requested, while going in the hit equipment to request video slicing, by existing buffered video fragment in hit equipment
As P2P seed, and the equipment comprising P2P seed is provided to user.
The video push module includes:
First judging unit is hit if non-bandwidth peak period for judging whether equipment is in bandwidth peak period, is in band
Wide peak period is then not hit by;
Second judgment unit, for judging whether equipment residual memory space is enough, if so, hit, otherwise, is not hit by;
Third judging unit, for judging whether equipment is target user, if equipment is long-term online, network is good, can watch push
Video is then hit, and is otherwise not hit by;
Video is pushed to hit equipment by fragment for choosing hot topic and by online video for unit by selecting unit respectively
On, kind of the seed data uploaded as P2P is done in advance, while being played as local video.
The video playback module includes:
Broadcast unit, for when playing or downloading popular video, judging locally whether there is buffered video fragment, if there is then
Directly play local video fragment;
Request unit, for when pulling video flowing using P2P downloading, requesting video to CDN when local is without buffered video fragment
Data, while going in the hit equipment to request video slicing, using existing buffered video fragment in hit equipment as P2P kind
Son, and the equipment comprising P2P seed is provided to user.
Compared with prior art, the advantageous effect of present invention is that: the present invention can be by choosing target device, in advance
It pushes away on video slicing to target device group in advance, guarantees that P2P downloading effect is best, CDN bandwidth cost is lower;It can reduce and broadcast simultaneously
Put Caton probability, local existing part buffered video, when broadcasting can direct multiplexing part, downloaded by P2P, do not have to central access
CDN improves broadcasting experience.
Detailed description of the invention
Fig. 1 is the popular video pushing method schematic diagram of the present invention;
Fig. 2 is the popular video broadcasting method schematic diagram of the present invention.
Specific embodiment
Fig. 1 is popular video push scheme: preparing online popular video to hit equipment push, video presses fragment difference
It is stored in equipment, the seed uploaded as P2P.
Fig. 2 is popular video playing & download scenarios: judging locally whether there is video slicing when playing & downloading, has then straight
The local fragment of broadcasting is connect, not then by P2P agreement from CDN and other equipment foradownloaded video, because actively giving other equipment
Pushing video fragment is as seed, so just online popular video can continue to do P2P downloading, reduces the access of CDN, reduces band
Wide expense.
Video push scheme is as follows:
1. judging whether in bandwidth peak period: hitting if non-bandwidth peak period, be not hit by if in bandwidth peak period;
2. whether equipment residual memory space enough: if residual memory space enough if hit, residual memory space not enough if
It is not hit by;
3. whether equipment is target user: the equipment is long-term online (long-term to refer to that whole day exists online as P2P upload necessary condition
12, line are more than hour), preferably (P2P effect can be more preferable, and network refers to that well bandwidth is stablized, and downlink bandwidth has 50% with overhead for network
It is not busy), the conditions such as pushing video (can directly play local video) may be watched set up, then hit, be otherwise not hit by;
4. choose above-mentioned steps 1) ~ 3) equipment hit, it chooses popular and i.e. by online video, is pushed to hit equipment
On because P2P agreement be by fragment download, by video by fragment be unit respectively be pushed to hit equipment on (equipment can
To push single or multiple video slicings), kind of the seed data uploaded as P2P is done in advance, while also can be as local view
Frequency plays;
5. with step 1) ~ 4) circulation, periodically all popular videos are pushed in hit equipment;
Video playing scheme is as follows:
1. just online popular video playing & is downloaded: judging locally whether there is buffered video fragment, if there is then directly playing
Local video fragment;
2. if using while being loaded in request CDN under P2P and pull video flowing, can also go other equipment local without video slicing
Upper request video slicing has buffered video fragment at this time in other equipment, can be used as P2P seed and provide to current device
It passes;
With step 1) ~ 2) circulation, when playing just online popular video, P2P can be sufficiently from other equipment foradownloaded video, to subtract
It is few to be accessed to CDN, CDN central access pressure is reduced, bandwidth consumption is reduced.
Claims (5)
1. a kind of P2P based on the push of popular video preprocessor actively does kind of a method, which is characterized in that including video pushing method and view
Frequency playback method;
The video pushing method includes:
1) judge whether equipment is in bandwidth peak period, hit if non-bandwidth peak period, do not ordered if in bandwidth peak period
In;Judge whether equipment residual memory space is enough, if so, hit, otherwise, is not hit by;Judge whether equipment is that target is used
It hits, is otherwise not hit by if equipment is long-term online, network is good, can watch pushing video in family;
2) it chooses hot topic and by online video, by fragment is that unit is pushed to respectively in hit equipment by video, plants in advance
It is played as the seed data that P2P is uploaded, while as local video;
3) step 1), 2) is repeated, periodically all popular videos are pushed in hit equipment;
The video broadcasting method includes: to judge locally whether there is buffered video fragment when playing or downloading popular video,
If there is then directly playing local video fragment;If local without buffered video fragment, video data is requested to CDN, is gone simultaneously
Video slicing is requested in the hit equipment, existing buffered video fragment is as P2P seed using in hit equipment, by video counts
According to being shared with user.
2. the P2P according to claim 1 based on the push of popular video preprocessor actively does kind of a method, which is characterized in that when setting
When the percentage of standby residual memory space and total memory space is greater than 30%, it is determined as that equipment residual memory space is enough.
3. a kind of P2P based on the push of popular video preprocessor actively does kind of a system characterized by comprising
Video push module is hit if non-bandwidth peak period for judging whether equipment is in bandwidth peak period, is in band
Wide peak period is then not hit by;Judge whether equipment residual memory space is enough, if so, hit, otherwise, is not hit by;Judgement is set
Whether standby be target user, if equipment is long-term online, network is good, can watch pushing video, hits, is otherwise not hit by;It chooses
It is popular and by online video, by fragment it is that unit is pushed to respectively in hit equipment by video, does kind uploading as P2P in advance
Seed data, while as local video play;
Video playback module, for when playing or downloading popular video, judging locally whether there is buffered video fragment, if
Have and then directly plays local video fragment;If local without buffered video fragment, video data is requested to CDN, while being gone described
Video slicing is requested in hit equipment, using existing buffered video fragment in hit equipment as P2P seed, by video data point
It enjoys to user.
4. the P2P according to claim 3 based on the push of popular video preprocessor actively does kind of a system, which is characterized in that described
Video push module includes:
First judging unit is hit if non-bandwidth peak period for judging whether equipment is in bandwidth peak period, is in band
Wide peak period is then not hit by;
Second judgment unit, for judging whether equipment residual memory space is enough, if so, hit, otherwise, is not hit by;
Third judging unit, for judging whether equipment is target user, if equipment is long-term online, network is good, can watch push
Video is then hit, and is otherwise not hit by;
Video is pushed to hit equipment by fragment for choosing hot topic and by online video for unit by selecting unit respectively
On, kind of the seed data uploaded as P2P is done in advance, while being played as local video.
5. the P2P according to claim 3 based on the push of popular video preprocessor actively does kind of a system, which is characterized in that described
Video playback module includes:
Broadcast unit, for when playing or downloading popular video, judging locally whether there is buffered video fragment, if there is then
Directly play local video fragment;
Request unit, for requesting video data to CDN, while going the hit equipment when local is without buffered video fragment
Video data is shared with use as P2P seed by existing buffered video fragment in hit equipment by upper request video slicing
Family.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910288651.8A CN110012102A (en) | 2019-04-11 | 2019-04-11 | P2P active seeding method and system based on hot video pre-push |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910288651.8A CN110012102A (en) | 2019-04-11 | 2019-04-11 | P2P active seeding method and system based on hot video pre-push |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110012102A true CN110012102A (en) | 2019-07-12 |
Family
ID=67171053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910288651.8A Pending CN110012102A (en) | 2019-04-11 | 2019-04-11 | P2P active seeding method and system based on hot video pre-push |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110012102A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112241413A (en) * | 2019-07-18 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Pre-push content management method and device and computer equipment |
| CN113259688A (en) * | 2021-05-12 | 2021-08-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Storage allocation method and device for video resources |
| CN114827256A (en) * | 2022-05-09 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Data pre-pushing method, data downloading method and system |
| CN119562095A (en) * | 2024-11-29 | 2025-03-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Resource pre-pushing method, device, storage medium and program product |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101753567A (en) * | 2009-12-25 | 2010-06-23 | 中国科学院计算技术研究所 | Resource sharing method for operation business actively participating peer-to-peer network |
| US20160360066A1 (en) * | 2011-12-12 | 2016-12-08 | Samsung Electronics Co., Ltd. | Image forming apparatus supporting wi-fi direct and method of activating wi-fi direct |
| CN106330997A (en) * | 2015-06-19 | 2017-01-11 | 网宿科技股份有限公司 | A method and system for content distribution of mobile terminal applications |
| CN107566857A (en) * | 2017-08-31 | 2018-01-09 | 北京奇艺世纪科技有限公司 | A kind of method for downloading video, device, system, server and terminal |
-
2019
- 2019-04-11 CN CN201910288651.8A patent/CN110012102A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101753567A (en) * | 2009-12-25 | 2010-06-23 | 中国科学院计算技术研究所 | Resource sharing method for operation business actively participating peer-to-peer network |
| US20160360066A1 (en) * | 2011-12-12 | 2016-12-08 | Samsung Electronics Co., Ltd. | Image forming apparatus supporting wi-fi direct and method of activating wi-fi direct |
| CN106330997A (en) * | 2015-06-19 | 2017-01-11 | 网宿科技股份有限公司 | A method and system for content distribution of mobile terminal applications |
| CN107566857A (en) * | 2017-08-31 | 2018-01-09 | 北京奇艺世纪科技有限公司 | A kind of method for downloading video, device, system, server and terminal |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112241413A (en) * | 2019-07-18 | 2021-01-19 | 腾讯科技(深圳)有限公司 | Pre-push content management method and device and computer equipment |
| CN112241413B (en) * | 2019-07-18 | 2025-01-10 | 腾讯科技(深圳)有限公司 | A method, device and computer equipment for managing pre-promotion content |
| CN113259688A (en) * | 2021-05-12 | 2021-08-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Storage allocation method and device for video resources |
| CN114827256A (en) * | 2022-05-09 | 2022-07-29 | 北京奇艺世纪科技有限公司 | Data pre-pushing method, data downloading method and system |
| CN114827256B (en) * | 2022-05-09 | 2023-12-15 | 北京奇艺世纪科技有限公司 | Data pre-pushing method, data downloading method and system |
| CN119562095A (en) * | 2024-11-29 | 2025-03-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Resource pre-pushing method, device, storage medium and program product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110012102A (en) | P2P active seeding method and system based on hot video pre-push | |
| US6859839B1 (en) | Bandwidth reduction of on-demand streaming data using flexible merger hierarchies | |
| ES2845901T3 (en) | Device, system and procedure for adaptive speed change of streaming content | |
| CN105144741B (en) | Client device, Video service platform, the method for generating video clipping | |
| US20090063681A1 (en) | Systems and methods for distributing video on demand | |
| US11431777B2 (en) | Adaptive bitrate streaming techniques | |
| CN106658051B (en) | A kind of control method and system of buffered play Streaming Media | |
| US8595780B2 (en) | Systems and methods for processing media content requests | |
| CN103763635B (en) | A kind of control method and system of video buffer | |
| US10728630B2 (en) | Adaptive bitrate streaming techniques | |
| CN111263229A (en) | Video distribution method and device and electronic equipment | |
| US11089346B2 (en) | Adaptive bitrate streaming techniques | |
| CN101729549A (en) | Client configuration and management for fast channel change of multimedia services | |
| Zhang et al. | Short video streaming with data wastage awareness | |
| CN110381340A (en) | Video file processing system | |
| CN105578201B (en) | A kind of system and method for realizing HLS live streaming code check number dynamic adjustment | |
| CN101448139B (en) | A P2P network based digital media program order method | |
| US11997366B2 (en) | Method and apparatus for processing adaptive multi-view streaming | |
| WO2017121768A1 (en) | Managing spoilers for a transmitted event | |
| US20200037007A1 (en) | Adaptive bitrate streaming techniques | |
| CN111372103B (en) | A multicast method, device, equipment and computer storage medium | |
| CN109348265A (en) | Based on the live broadcasting method and system under HLS multi-code stream mode | |
| CN101431663B (en) | Twin-engine rotation method for VOD system | |
| CN103701827A (en) | Method for realizing stream media play based on self-adaption stream media service gateway system | |
| CN100401774C (en) | Method for Realizing Large-Scale Digital TV Video on Demand on Unidirectional TV Network |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190712 |
|
| RJ01 | Rejection of invention patent application after publication |