CN109587580A - Video segmentation downloading method and system based on self-adaptive CDN - Google Patents
Video segmentation downloading method and system based on self-adaptive CDN Download PDFInfo
- Publication number
- CN109587580A CN109587580A CN201811357278.9A CN201811357278A CN109587580A CN 109587580 A CN109587580 A CN 109587580A CN 201811357278 A CN201811357278 A CN 201811357278A CN 109587580 A CN109587580 A CN 109587580A
- Authority
- CN
- China
- Prior art keywords
- video
- group
- optimal
- cache
- cdn
- 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
- 230000011218 segmentation Effects 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 title claims abstract description 12
- 230000003044 adaptive effect Effects 0.000 claims description 9
- 239000012634 fragment Substances 0.000 claims description 6
- 238000000151 deposition Methods 0.000 claims 1
- 238000012544 monitoring process Methods 0.000 abstract description 2
- 238000009331 sowing Methods 0.000 description 4
- 230000015654 memory Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- RZTAMFZIAATZDJ-UHFFFAOYSA-N felodipine Chemical group CCOC(=O)C1=C(C)NC(C)=C(C(=O)OC)C1C1=CC=CC(Cl)=C1Cl RZTAMFZIAATZDJ-UHFFFAOYSA-N 0.000 description 1
- 238000005457 optimization Methods 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/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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23106—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
-
- 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/643—Communication protocols
- H04N21/64322—IP
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video segmentation downloading method and a video segmentation downloading system based on a self-adaptive CDN (content distribution network). for scenes which are poor in network and are in video starting and possibly have playing pause, an optimal CDN address is selected to accelerate the downloading of a video, so that the starting speed of the video is accelerated; the invention selects the optimal IP subsection download by monitoring the relation between the video pre-caching time and the preset threshold value in real time, thereby reducing the playing pause probability.
Description
Technical field
The present invention relates to video broadcasting field, especially a kind of video segmentation method for down loading based on adaptive CDN and it is
System.
Background technique
Video broadcasting field at present is started one or more link and is gone in video sowing time by video flowing address
CDN (content distributing network) foradownloaded video data.Under normal circumstances, network bandwidth is not otherwise fully engaged during this,
Video plays sowing time and does not do individual optimization, causes video to rise and broadcasts the certain time-consuming of needs.In addition without judging current network band
Wide quality, if normally linking downloading data in the scene of network difference with network, it is likely that occur under video data
It carries not in time, the case where playing frequent Caton occur or plays sowing time very long loading (video loads buffer time) state
Problem.The scene of multi-link leads to download general speed lower than live network bandwidth as link the consumption of itself.Various originals
It is undesirable between sowing time because will lead to.
Summary of the invention
The technical problem to be solved by the present invention is in view of the shortcomings of the prior art, provide a kind of view based on adaptive CDN
Frequency division section method for down loading and system calculate the optimal CDN of current network in real time, and downloading request every time selects optimal CDN to carry out down
It carries, guarantees certain pre-cache video length, broadcast speed to accelerate rising for video and reduce the Caton probability in playing process.
In order to solve the above technical problems, the technical scheme adopted by the invention is that: a kind of video based on adaptive CDN point
Section method for down loading, comprising the following steps:
1) before video is broadcast, using the domain name broadcast address of multiple videos, each domain name addresses parses multiple IP, obtains
To multiple IP groups, by the multiple IP group be arranged to testing device (testing device be special timing by the IP in IP group to CDN into
The meaning of row testing, testing is initiated the connection to CDN, calculates the time-consuming of each IP connection CDN, is arranged IP group with time-consuming sequence
Sequence calculates optimal IP), playing device timing testing CDN calculates optimal IP group to scheduler;
2) long video when fixed according to broadcast point position pre-cache in playing;
If 3) the fixed duration video length of pre-cache is partially short (partially short for a long time to refer to one section in video rises and broadcasts and play
The length of the video time of pre-cache is respectively less than video length fixed in step 2) in time, such as 5 seconds), then according to most
Excellent IP group calculates whether this selects optimal IP generation link to carry out segmentation foradownloaded video;
If 4) t≤T and f >=F, optimal IP group is selected to download the video slicing nearest apart from broadcast point, selection time
The video slicing of broadcast point relatively rearward is carried off under excellent IP group, and (that is, calculating since broadcast point, first segment backward has not been downloaded
At the optimal IP of video slicing download, second segment is not downloaded the video slicing of completion and is downloaded with suboptimum IP);Wherein T is pre- slow
Deposit video length;T is the currently practical pre-cache video length calculated in real time;F is lower than the threshold interval time;
5) return step 3), until entire video download is completed.
After step 5), the downloading of each fragment is completed to be transferred to player or slow being locally combined into continuous video data
It is stored to local.
Correspondingly, the present invention also provides a kind of video segmentation download systems based on adaptive CDN, comprising:
Parsing module, for video rise broadcast before, using the domain name broadcast address of multiple videos, each domain name broadcast address
Multiple IP are parsed, multiple IP groups are obtained, the multiple IP group is arranged and gives testing device, playing device timing testing CDN,
Optimal IP group is calculated to scheduler;
Pre-cache module, long video when for being fixed in playing according to broadcast point position pre-cache;
Judgment module, for making the following judgment: if pre-cache video is partially short for a long time in video rises and broadcasts and play,
Then calculate whether this selects optimal IP group generation link to carry out segmentation foradownloaded video according to the optimal IP group;
Comparison module, for carrying out following comparison procedure: if t≤T and f >=F, selecting optimal IP group downloading distance
The nearest video slicing of broadcast point selects to carry off the video slicing of broadcast point relatively rearward under suboptimum IP group;Wherein T is pre-cache
Video length;T is the currently practical pre-cache video length calculated in real time;F is lower than the threshold interval time.
The invention also includes memory modules, after the completion of the downloading of each fragment, are locally being combined into continuous video data
It is transferred to player or is cached to local.
Compared with prior art, the advantageous effect of present invention is that: the present invention it is poor for network and be in video
The scene broadcast and be likely to occur and play Caton is acted, selects the optimal address CDN that can accelerate the downloading of video, accelerates rising for video
Broadcast speed;The present invention is selected optimal IP segmentation downloading, is reduced by real-time monitoring video preprocessor cache-time and preset threshold relationship
Broadcasting Caton probability.
Detailed description of the invention
Fig. 1 is the integrated stand composition of data downloading in video playing of the present invention.
Specific embodiment
As shown in Figure 1, video is broadcast, the medium scene of video playing, scheduler is by calculating optimal IP group in real time, calculating in advance
Buffered video duration is lower than pre-cache video threshold interval time, and current download policy is calculated with this.
1., using the domain name broadcast address of multiple videos, each domain name addresses can be parsed out multiple before video is broadcast
IP group is arranged and gives testing device by IP, and playing device timing testing CDN calculates optimal IP group to scheduler;
2. (pre-cache data are too long can a large amount of committed memories for long video when fixed according to broadcast point position pre-cache in playing
Influence equipment performance, the too short frequent Caton of meeting of pre-cache video);
3. if calculated act the scene that pre-cache video is partially short for a long time in the scene and broadcasting broadcast in video according to 1,2
Optimal IP group, average recently using downlink bandwidth, generate link calculating the optimal IP of this selection and carry out segmentation downloading
Video, specific formula is as follows:
Pre-cache video length T;
Currently practical pre-cache video length t;
Pre-cache video threshold F;
Lower than threshold interval time f;
Optimal IP group IP1 (optimal), IP2 (suboptimum);
T < T and f < F keep original link downloading;
T > T keeps original link downloading;
T≤T and f >=F select optimal IP group downloading.
4. calculating currently practical pre-cache video length t in real time, lower than between threshold value according to real-time video playing point position
Every time f, optimal IP group.When if there is t≤T and f >=F, optimal IP1 is selected to download the video nearest apart from broadcast point point
Piece, selecting to carry off the video slicing of broadcast point relatively rearward under suboptimum IP2 (can be according to the actual bandwidth and code rate of video dynamic
Extension selects several IP downloadings);
5. the downloading of each fragment is completed to be transferred to player or be cached to local being locally combined into continuous video data;
6. downloading completes a fragment and according to step 3,4 recalculates t, f, optimal IP group every time, choose whether to need after
It is continuous to be downloaded using more IP groups;
7. successively poll, until entire video download is completed.
Claims (4)
1. a kind of video segmentation method for down loading based on adaptive CDN, which comprises the following steps:
1) before video is broadcast, using the domain name broadcast address of multiple videos, each domain name broadcast address parses multiple IP, obtains
To multiple IP groups, the setting of the multiple IP group is given to testing device, playing device timing testing CDN calculates optimal IP group;
2) long video when fixed according to broadcast point position pre-cache in playing;
If 3) pre-cache video is partially short for a long time in video rises and broadcasts and play, then calculating this according to the optimal IP group is
The no optimal IP group of selection generates link and carries out segmentation foradownloaded video;
If 4) t≤T and f >=F, optimal IP group is selected to download the video slicing nearest apart from broadcast point, selects suboptimum IP
The video slicing of broadcast point relatively rearward is carried off under group;Wherein T is pre-cache video length;T be calculate in real time it is currently practical
Pre-cache video length;F is lower than the threshold interval time;
5) return step 3), until entire video download is completed.
2. the video segmentation method for down loading according to claim 1 based on adaptive CDN, which is characterized in that step 5) it
Afterwards, the downloading of each fragment is completed to be transferred to player or be cached to local being locally combined into continuous video data.
3. a kind of video segmentation download system based on adaptive CDN characterized by comprising
Parsing module, for before video rises and broadcasts, using the domain name broadcast address of multiple videos, each domain name broadcast address to be solved
Multiple IP are precipitated, obtain multiple IP groups, give the setting of the multiple IP group to testing device, playing device timing testing CDN is calculated
Optimal IP group is to scheduler;
Pre-cache module, long video when for being fixed in playing according to broadcast point position pre-cache;
Judgment module, for making the following judgment: if pre-cache video is partially short for a long time, then root in video rises and broadcasts and play
Calculate whether this selects optimal IP group generation link to carry out segmentation foradownloaded video according to the optimal IP group;
Comparison module, for carrying out following comparison procedure: if t≤T and f >=F, optimal IP group downloading distance being selected to play
The nearest video slicing of point selects to carry off the video slicing of broadcast point relatively rearward under suboptimum IP group;Wherein T is pre-cache video
Duration;T is the currently practical pre-cache video length calculated in real time;F is lower than the threshold interval time.
4. the video segmentation download system according to claim 3 based on adaptive CDN, which is characterized in that further include depositing
Module is stored up, after the completion of the downloading of each fragment, player is transferred to being locally combined into continuous video data or is cached to
It is local.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357278.9A CN109587580A (en) | 2018-11-15 | 2018-11-15 | Video segmentation downloading method and system based on self-adaptive CDN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357278.9A CN109587580A (en) | 2018-11-15 | 2018-11-15 | Video segmentation downloading method and system based on self-adaptive CDN |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109587580A true CN109587580A (en) | 2019-04-05 |
Family
ID=65922592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811357278.9A Pending CN109587580A (en) | 2018-11-15 | 2018-11-15 | Video segmentation downloading method and system based on self-adaptive CDN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587580A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065859A (en) * | 2022-06-07 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Video data acquisition method, device, equipment and medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471919A (en) * | 2007-12-29 | 2009-07-01 | 突触计算机系统(上海)有限公司 | Method and device for downloading slicing of equipment based on point-to-point transmission protocol |
CN101478556A (en) * | 2007-12-31 | 2009-07-08 | 突触计算机系统(上海)有限公司 | Method and apparatus for downloading peer-to-peer transmitted data slice |
CN102547395A (en) * | 2011-12-31 | 2012-07-04 | 上海聚力传媒技术有限公司 | Method and device for determining video data source of network player |
US20130243079A1 (en) * | 2012-03-19 | 2013-09-19 | Nokia Siemens Networks Oy | Storage and processing savings when adapting video bit rate to link speed |
CN103327415A (en) * | 2013-06-05 | 2013-09-25 | 北京奇虎科技有限公司 | Method and device for accelerating network video downloading |
CN104954866A (en) * | 2015-06-19 | 2015-09-30 | 杭州施强网络科技有限公司 | Dynamic control method for playing point in live broadcast of streaming media data |
CN105450675A (en) * | 2016-01-25 | 2016-03-30 | 杭州施强网络科技有限公司 | Method for selecting CDN service nodes through clients in streaming medium playing |
CN105611328A (en) * | 2015-12-25 | 2016-05-25 | 深圳Tcl新技术有限公司 | Video data accelerated downloading method and device based on HLS (HTTP Live Streaming)stream media |
WO2016181383A2 (en) * | 2015-05-14 | 2016-11-17 | Hola Networks Ltd. | System and method for streaming content from multiple servers |
CN107071535A (en) * | 2017-03-22 | 2017-08-18 | 百视通网络电视技术发展有限责任公司 | The Android players and its automation check system and method downloaded based on multiple spot |
CN108574883A (en) * | 2018-02-11 | 2018-09-25 | 广东南方新媒体股份有限公司 | The method for realizing multiple CDN Parallel downloads video segments |
-
2018
- 2018-11-15 CN CN201811357278.9A patent/CN109587580A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471919A (en) * | 2007-12-29 | 2009-07-01 | 突触计算机系统(上海)有限公司 | Method and device for downloading slicing of equipment based on point-to-point transmission protocol |
CN101478556A (en) * | 2007-12-31 | 2009-07-08 | 突触计算机系统(上海)有限公司 | Method and apparatus for downloading peer-to-peer transmitted data slice |
CN102547395A (en) * | 2011-12-31 | 2012-07-04 | 上海聚力传媒技术有限公司 | Method and device for determining video data source of network player |
US20130243079A1 (en) * | 2012-03-19 | 2013-09-19 | Nokia Siemens Networks Oy | Storage and processing savings when adapting video bit rate to link speed |
CN103327415A (en) * | 2013-06-05 | 2013-09-25 | 北京奇虎科技有限公司 | Method and device for accelerating network video downloading |
WO2016181383A2 (en) * | 2015-05-14 | 2016-11-17 | Hola Networks Ltd. | System and method for streaming content from multiple servers |
CN104954866A (en) * | 2015-06-19 | 2015-09-30 | 杭州施强网络科技有限公司 | Dynamic control method for playing point in live broadcast of streaming media data |
CN105611328A (en) * | 2015-12-25 | 2016-05-25 | 深圳Tcl新技术有限公司 | Video data accelerated downloading method and device based on HLS (HTTP Live Streaming)stream media |
CN105450675A (en) * | 2016-01-25 | 2016-03-30 | 杭州施强网络科技有限公司 | Method for selecting CDN service nodes through clients in streaming medium playing |
CN107071535A (en) * | 2017-03-22 | 2017-08-18 | 百视通网络电视技术发展有限责任公司 | The Android players and its automation check system and method downloaded based on multiple spot |
CN108574883A (en) * | 2018-02-11 | 2018-09-25 | 广东南方新媒体股份有限公司 | The method for realizing multiple CDN Parallel downloads video segments |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065859A (en) * | 2022-06-07 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Video data acquisition method, device, equipment and medium |
CN115065859B (en) * | 2022-06-07 | 2024-05-07 | 北京达佳互联信息技术有限公司 | Video data acquisition method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3318067B1 (en) | A media user client, a media user agent and respective methods performed thereby for providing media from a media server to the media user client | |
US6859839B1 (en) | Bandwidth reduction of on-demand streaming data using flexible merger hierarchies | |
CN102238419B (en) | Method and apparatus for playing live content | |
CN110198495A (en) | A kind of method, apparatus, equipment and the storage medium of video download and broadcasting | |
US11863841B2 (en) | Video playing control method and system | |
JP2022524639A (en) | How to deliver streaming content in a peer-to-peer network | |
CN110022482A (en) | Video playing starting method, video service system and storage medium | |
CN110809167B (en) | Video playing method and device, electronic equipment and storage medium | |
CN109587580A (en) | Video segmentation downloading method and system based on self-adaptive CDN | |
WO2020135562A1 (en) | Multicast method, device, apparatus, and computer storage medium | |
CN111556344A (en) | Method, device, equipment and system for downloading video stream | |
CN113285947B (en) | HLS live broadcast and multicast live broadcast connection method and device | |
CN110012102A (en) | P2P active seeding method and system based on hot video pre-push | |
CN101146221B (en) | Dynamic adjusting method and system for playing pointer in P2P direct broadcasting | |
CN101378356B (en) | Method for playing real time stream medium | |
CN105578216B (en) | A method of realizing HLS program request fast forwarding and fast rewindings | |
CN110933516B (en) | Multimedia live broadcasting method, device and equipment | |
CN114363303B (en) | Streaming media transcoding method for realizing rapid playing of surveillance video | |
CN101626400B (en) | Compensation method of P2P music on-demand system | |
CN108965928B (en) | Self-adaptive link video downloading method and system | |
CN115336283B (en) | Client device and method for streaming media content to client device | |
EP2351371A1 (en) | Method for buffering streaming data and a terminal device | |
TW201112683A (en) | Multimedia streaming flow control method | |
Kang | A Novel Bit Rate Adaptation using Buffer Size Optimization for Video Streaming | |
CN115002086B (en) | Real-time streaming media transmission method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |