CN105025330A - Media file playing control method and apparatus based on DASH protocol - Google Patents

Media file playing control method and apparatus based on DASH protocol Download PDF

Info

Publication number
CN105025330A
CN105025330A CN201410182184.8A CN201410182184A CN105025330A CN 105025330 A CN105025330 A CN 105025330A CN 201410182184 A CN201410182184 A CN 201410182184A CN 105025330 A CN105025330 A CN 105025330A
Authority
CN
China
Prior art keywords
buffer memory
utilization rate
memory utilization
threshold interval
section
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.)
Granted
Application number
CN201410182184.8A
Other languages
Chinese (zh)
Other versions
CN105025330B (en
Inventor
周文杰
江中央
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201410182184.8A priority Critical patent/CN105025330B/en
Publication of CN105025330A publication Critical patent/CN105025330A/en
Application granted granted Critical
Publication of CN105025330B publication Critical patent/CN105025330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a media file playing control method based on a DASH (Dynamic Adaptive Streaming over HTTP) protocol, comprising downloading and analyzing description files of partial media files, obtaining the media information of a certain duration of a lowest code rate, and playing slices of the lowest code rate; querying the media description files to obtain the media information of the slices, gradually increasing the code rate of the downloaded media file slices, and determining whether a buffer memory utilization rate is in a preset threshold interval range; and if the buffer memory utilization rate is not in a preset threshold interval range, adjusting the code rate of the downloaded media file slices until the buffer memory utilization rate is in a preset threshold interval range. The invention also discloses a media file playing control apparatus based on a DASH protocol. The media file playing control method and apparatus can find an optimum matching code rate in a larger bandwidth range, automatically adjust when a bandwidth changes, accelerate a starting speed under the condition of guaranteeing the fluency in watching for users, and improve the robustness of a player to network jittering.

Description

Based on media file broadcast control method and the device of DASH agreement
Technical field
The present invention relates to Web TV technical field, particularly relate to the Broadcast Control media file method and apparatus based on DASH agreement.
Background technology
DASH (Dynamic Adaptive Streaming over HTTP, dynamic self-adapting Streaming Media) is a kind of agreement utilizing HTTP Web server traditional on the Internet to provide high-quality files in stream media.Media file is divided into the burst group of multiple code check by DASH, to cover different network bandwidth requirements; When DASH client starts to play a video file, it can select the highest supported code check according to network condition, thus while guarantee viewing effect, the card reducing client pauses and cushions.The thought of DASH technology is mainly: file organization structure media file being divided into a stratification, a series of Time Continuous is divided into and nonoverlapping fragment by one group of media resource comprising different code check audio frequency and video, again these fragments are divided into a series of section, using these sections as the minimum atom of media delivery; Then, use an XML file to describe this file organization structure, client downloads resolves this description document, obtain URL and the information of each section, then by relevant control algorithm, download the media section group of mating most according to network condition, thus realize network self-adapting.
Mainly there is two large problems in current DASH software: one is description document parses policy, mostly need to resolve whole description document, set up media organization tree, must this organization tree be remained in internal memory during broadcasting, to switch the section of adaptive code check at any time, when cutting into slices more, the generation of this organization tree, maintenance, can cause client terminal start-up slowly and resources occupation rate is high, affect Consumer's Experience; Two is that bitstreams switching controls, and mostly select media to cut into slices according to speed of download, these class methods, when network jitter, can cause client repetitive requests to be cut into slices, thus increase the weight of server burden, extend buffer time.
Therefore, be necessary to resolve the description document of DASH client and bitstreams switching method is optimized, ensureing that user watches on the basis of fluency, start quickly speed, improving the robustness of player for network jitter.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Main purpose of the present invention is to provide the Broadcast Control media file method and apparatus based on DASH agreement, is ensureing that user watches on the basis of fluency, start quickly speed, improves the robustness of player for network jitter.
For achieving the above object, the method for a kind of Broadcast Control media file based on DASH agreement provided by the invention, comprises the following steps:
Download and resolve the description document of part media file, obtaining the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
Inquiry media description file, to obtain the media information of section, increases the media section code check of download step by step, judges buffer memory utilization rate whether within the scope of default threshold interval;
When buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
Preferably, buffer memory utilization rate is calculated in the following manner:
Timing statistics section t kn the size inside altogether received is p n (k)packet, now buffer area data volume is period network average bandwidth is V a (k)=P a (k)/ t k; Therefore timing statistics section t kin, buffer memory utilization rate is δ k=3* δ k-1/ 5+2*V a (k)/ (V s (k)* 5), wherein, n is the quantity needing burst according to buffer time determined each media queue of setting; δ 0=0.5, k=1...m is sample count.
Preferably, described inquiry media description file, to obtain the media information of section, increases the media section code check of download step by step, judges that the step of buffer memory utilization rate whether within the scope of default threshold interval comprises:
Increase the media section code check of download step by step, judge buffer memory utilization rate whether higher than the higher limit of default threshold interval;
When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of default threshold interval.
Preferably, described when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, the step entered within the scope of default threshold interval to buffer memory utilization rate comprises:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
Preferably, described when buffer memory utilization rate is not within the scope of the threshold interval preset, after the step of the code check of adjustment section, also comprise:
Judge whether current slice is the section of the highest code check or the section of lowest bit rate;
If current slice is the section of the highest code check, in units of preset step-length, increases the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate;
If current slice is the section of lowest bit rate, in units of preset step-length, reduces the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate.
Preferably, described when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, after buffer memory utilization rate enters the step within the scope of default threshold interval, also comprises:
Judge whether to need to upgrade described description document; If so, then download new description document and upgrade.
The present invention further provides a kind of media file Broadcast Control device based on DASH agreement, comprising:
Resolve and acquisition module, for downloading and resolving the description document of part media file, obtain the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
First judge module, for inquiring about media description file to obtain the media information of section, increasing the media section code check of download step by step, judging buffer memory utilization rate whether within the scope of default threshold interval;
Adjusting module, for when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
Preferably, described first judge module specifically for:
Increase the media section code check of download step by step, judge buffer memory utilization rate whether higher than the higher limit of default threshold interval;
When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of default threshold interval.
Preferably, described adjusting module specifically for:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
Preferably, described adjusting module also for:
Judge whether current slice is the section of the highest code check or the section of lowest bit rate;
If current slice is the section of the highest code check, in units of preset step-length, increases the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate;
If current slice is the section of lowest bit rate, in units of preset step-length, reduces the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate.
Preferably, the media file Broadcast Control device based on DASH agreement also comprises:
Second judge module, needs to upgrade described description document for judging whether;
Update module, for when needs upgrade described description document, downloads new description document and upgrades.
The present invention is by resolving the description document of part media file, obtain the media information of the lowest bit rate of certain time length, and play the section of this lowest bit rate, then the media section code check of download is increased step by step, judge buffer memory utilization rate whether within the scope of the threshold interval preset, when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enter within the scope of default threshold interval to buffer memory utilization rate, thus can be implemented in larger bandwidth range and find optimum Match code check, also self-adaptative adjustment can be carried out when bandwidth changes, and ensureing that user watches on the basis of fluency, accelerate toggle speed, improve the robustness of player for network jitter.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of media file broadcast control method first embodiment that the present invention is based on DASH agreement;
Fig. 2 is the refinement schematic flow sheet judging the step of buffer memory utilization rate whether within the scope of the threshold interval preset in Fig. 1;
Fig. 3 is the schematic flow sheet of media file broadcast control method second embodiment that the present invention is based on DASH agreement;
Fig. 4 is the schematic flow sheet of media file broadcast control method the 3rd embodiment that the present invention is based on DASH agreement;
Fig. 5 is the high-level schematic functional block diagram of media file Broadcast Control device first embodiment that the present invention is based on DASH agreement;
Fig. 6 is the high-level schematic functional block diagram of media file Broadcast Control device second embodiment that the present invention is based on DASH agreement.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of media file broadcast control method based on DASH agreement.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are media file broadcast control method first embodiment that the present invention is based on DASH agreement.
In one embodiment, should comprise based on the media file broadcast control method of DASH agreement:
Step S10, downloads and resolves the description document of part media file, obtaining the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
When playing media file, download the description document of this media file be made up of the section of multiple Time Continuous, and be stored in internal memory, resolve the description document of part media file, initialization client ends relative, inquires about and compares, obtain the media information of the lowest bit rate of the certain time length of these media in description document, preferably obtain the information of the section of the lowermost level code check of first time slice of media file in the present embodiment, and start the broadcasting of media file with this section.
Step S20, inquiry media description file, to obtain the media information of section, increases the media section code check of download step by step;
Step S21, judges buffer memory utilization rate whether within the scope of the threshold interval preset;
When after the broadcasting starting media file with the section of lowermost level code check, according to the incremental order of code check, the media information of section is obtained in the mode of query specification file, and increase the media section code check of download step by step, judge buffer memory utilization rate whether within the scope of default threshold interval according to the code check of each section and the parameter such as the current speed of download of bandwidth sum of network.This threshold interval preset is determined by input combined factors such as bandwidth, CPU and internal memories, comprise higher limit and lower limit, when buffer memory utilization rate is within the scope of the threshold interval that this higher limit and lower limit form, the disturbance that network jitter, operating system scheduling etc. produce can be overcome in a certain degree, in the present embodiment, preferably the higher limit of threshold interval is set to 70%, lower limit is set to 30%.In the present embodiment, calculate buffer memory utilization rate in the following manner:
Timing statistics section t kn the size inside altogether received is p n (k)packet, now buffer area data volume is period network average bandwidth is V a (k)=P a (k)/ t k; Therefore timing statistics section t kin, buffer memory utilization rate is δ k=3* δ k-1/ 5+2*V a (k)/ (V s (k)* 5), wherein, n is the quantity needing burst according to buffer time determined each media queue of setting; δ 0=0.5, k=1...m is sample count.
Step S30, when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
In the process of media section code check increasing download step by step, as judged buffer memory utilization rate not within the scope of the threshold interval preset, then need the code check adjusting section, namely the section of more senior code check or the section of even lower level code check is selected, until buffer memory utilization rate enters within the scope of default threshold interval, just play with the section corresponding to this code check.Certainly, in the present embodiment, during as judged that according to the code check of current slice buffer memory utilization rate is within the scope of the threshold interval preset, then play this section.
The present embodiment is by resolving the description document of part media file, obtain the media information of the lowest bit rate of certain time length, and play the section of this lowest bit rate, then the media section code check of download is increased step by step, judge buffer memory utilization rate whether within the scope of the threshold interval preset, when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enter within the scope of default threshold interval to buffer memory utilization rate, thus can be implemented in larger bandwidth range and find optimum Match code check, also self-adaptative adjustment can be carried out when bandwidth changes, and ensureing that user watches on the basis of fluency, accelerate toggle speed, improve the robustness of player for network jitter.
It is the refinement schematic flow sheet judging the step of buffer memory utilization rate whether within the scope of the threshold interval preset in Fig. 1 with reference to Fig. 2, Fig. 2.
In the above-described embodiments, step S21 comprises:
Step S211, increases the media section code check of download step by step, judges buffer memory utilization rate whether higher than the higher limit of default threshold interval;
Step S212, when buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judges buffer memory utilization rate whether lower than the lower limit of default threshold interval.
When after the broadcasting starting media file with the section of lowermost level code check, according to the incremental order of code check, increase the media section code check of download step by step, section continuous print with lowermost level code check is cut into slices in the process sent into and download queue, and judge buffer memory utilization rate whether within the scope of the threshold interval preset, be specially and first judge buffer memory utilization rate whether higher than the higher limit of the threshold interval preset, when higher than time, show that now buffer level is higher, as the section with this code check is play, then the resolution of played file can be caused lower; When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of the threshold interval preset further, when lower than time, show that now buffer level is lower, player plays speed, as the section with this code check is play, then the broadcasting of media file can be caused not smooth.
Further, step S30 comprises following two kinds of situations:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When judging buffer memory utilization rate not within the scope of the threshold interval preset, and during higher than the higher limit of threshold interval preset, show that the code check of current slice is lower, cause buffer level higher, now, obtain the section of more senior code check by the incremental order of code check step by step, send into and download queue and continue to judge buffer memory utilization rate, until buffer memory utilization rate enters within the scope of default threshold interval.
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
When judging buffer memory utilization rate not within the scope of the threshold interval preset, and during lower than the lower limit of threshold interval preset, show that the code check of current slice is higher, cause buffer level lower, now, obtain the section of even lower level code check by the order of successively decreasing of code check step by step, send into and download queue and continue to judge buffer memory utilization rate, until buffer memory utilization rate enters within the scope of default threshold interval.
Pressing the incremental order of code check, step by step the section continuous print with lowermost level code check is cut into slices and send into when downloading queue, judge buffer memory utilization rate whether higher than the higher limit of the threshold interval preset, if not higher than, judge buffer memory utilization rate further whether lower than the lower limit of default threshold interval; When buffer memory utilization rate is higher than the higher limit of threshold interval preset, section to the buffer memory utilization rate obtaining more senior code check step by step enters within the scope of default threshold interval, when buffer memory utilization rate is lower than the lower limit of threshold interval preset, section to the buffer memory utilization rate obtaining even lower level code check step by step enters within the scope of default threshold interval, further ensure to can be implemented in larger bandwidth range and find optimum Match code check, and also can carry out self-adaptative adjustment when bandwidth changes.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are media file broadcast control method second embodiment that the present invention is based on DASH agreement.
On the basis of media file broadcast control method first embodiment that the present invention is based on DASH agreement, after step S30, the method also comprises:
Step S40, judges whether current slice is the section of the highest code check or the section of lowest bit rate;
Step S41, if current slice is the section of the highest code check, increases the download time delay of downloading queue, enters within the scope of default threshold interval to buffer memory utilization rate in units of preset step-length;
Step S42, if current slice is the section of lowest bit rate, reduces the download time delay of downloading queue, enters within the scope of default threshold interval to buffer memory utilization rate in units of preset step-length.
When after the broadcasting starting media file with the section of lowermost level code check, in the incremental order according to code check, step by step the section continuous print with lowermost level code check is cut into slices in the process sent into and download queue, as judged buffer memory utilization rate not within the scope of the threshold interval preset, and when selecting the section of more senior or even lower level code check, judge whether this current slice is the section of the highest code check or the section of lowest bit rate.
If current slice is the section of the highest code check, and buffer memory utilization rate is still higher than the higher limit of threshold interval, then show that now speed of download is too fast, the download time delay of downloading queue is increased in units of preset step-length, to slow down the speed of download downloading queue, thus buffer memory utilization rate is made to enter within the scope of default threshold interval; If current slice is the section of lowest bit rate, and buffer memory utilization rate is still lower than the lower limit of threshold interval, then show that now speed of download is excessively slow, the download time delay of downloading queue is reduced in units of preset step-length, to increase the speed of download downloading queue, thus buffer memory utilization rate is entered within the scope of default threshold interval.In the present embodiment, preset step-length can carry out different settings according to actual conditions, is preferably set to 50ms in the present embodiment.
Judge whether current slice is the section of the highest code check or the section of lowest bit rate; If current slice is the section of the highest code check, increases download time delay to the buffer memory utilization rate downloading queue and enter within the scope of default threshold interval; If current slice is the section of lowest bit rate, the download time delay reducing to download queue enters within the scope of default threshold interval to buffer memory utilization rate, accelerates toggle speed further, and further increases the robustness of player for network jitter.
With reference to the schematic flow sheet that Fig. 4, Fig. 4 are media file broadcast control method the 3rd embodiment that the present invention is based on DASH agreement.
On the basis of first and second embodiment of media file broadcast control method that the present invention is based on DASH agreement, after step S30, the method also comprises:
Step S50, judges whether to need to upgrade description document;
Step S51, when needs upgrade description document, downloads new description document and upgrades.
When the code check of adjustment section, buffer memory utilization rate is remained on after within the scope of default threshold interval, judges whether new description document, namely the need of upgrading current description document, as needs, then download new description document, and upgrade current description document with this new description document.If do not needed to upgrade description document, then judge whether media file finishes playing, as unfinished, continue to play with the section of the code check of buffer memory utilization rate adaptation.
The present invention further provides a kind of media file Broadcast Control device based on DASH agreement.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are media file Broadcast Control device first embodiment that the present invention is based on DASH agreement.
In one embodiment, based on the media file Broadcast Control device of DASH agreement, comprising:
Resolve and acquisition module 10, for downloading and resolving the description document of part media file, obtain the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
First judge module 20, for inquiring about media description file to obtain the media information of section, increasing the media section code check of download step by step, judging buffer memory utilization rate whether within the scope of default threshold interval;
Adjusting module 30, for when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
When playing media file, download the description document of this media file be made up of the section of multiple Time Continuous, and be stored in internal memory, parsing and acquisition module 10 resolve this description document of part media file, initialization client ends relative, inquire about in description document and compare, obtain the media information of the lowest bit rate of the certain time length of this media file, preferably obtain the information of the section of the lowermost level code check of first time slice of media file in the present embodiment, and start the broadcasting of media file with this section.
When after the broadcasting starting media file with the section of lowermost level code check, according to the incremental order of code check, the media information of section is obtained in the mode of query specification file, and the section of the section Time Continuous with lowermost level code check is sent into and downloaded queue by the media section code check increasing download step by step, the first judge module 20 judges buffer memory utilization rate whether within the scope of default threshold interval according to parameters such as the current speeds of download of bandwidth sum of each code check of cutting into slices and network.This threshold interval preset is determined by input combined factors such as bandwidth, CPU and internal memories, comprise higher limit and lower limit, when buffer memory utilization rate is within the scope of the threshold interval that this higher limit and lower limit form, the disturbance that network jitter, operating system scheduling etc. produce can be overcome in a certain degree, in the present embodiment, preferably the higher limit of threshold interval is set to 70%, lower limit is set to 30%.In the present embodiment, calculate buffer memory utilization rate in the following manner:
Timing statistics section t kn the size inside altogether received is p n (k)packet, now buffer area data volume is period network average bandwidth is V a (k)=P a (k)/ t k; Therefore timing statistics section t kin, buffer memory utilization rate is δ k=3* δ k-1/ 5+2*V a (k)/ (V s (k)* 5), wherein, n is the quantity needing burst according to buffer time determined each media queue of setting; δ 0=0.5, k=1...m is sample count.
In the process of media section code check increasing download step by step, step by step the section of the section Time Continuous with lowermost level code check is sent in the process downloading queue, as judged buffer memory utilization rate not within the scope of the threshold interval preset, then adjusting module 30 needs the code check of adjustment section, namely the section of more senior code check or the section of even lower level code check is selected, until buffer memory utilization rate enters within the scope of default threshold interval, just play with the section corresponding to this code check.Certainly, in the present embodiment, during as judged that according to the code check of current slice buffer memory utilization rate is within the scope of the threshold interval preset, then play this section.
The description document of the media file that the present embodiment is downloaded by the description document of resolving part media file, obtain the media information of the lowest bit rate of certain time length, and the section of playing this lowest bit rate obtains the slice information of lowermost level code check, and play the section of this lowermost level code check, then the incremental order of media section code check by code check of download is increased step by step, step by step the section continuous print with lowermost level code check is cut into slices to send into and download queue, judge buffer memory utilization rate whether within the scope of the threshold interval preset, when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enter within the scope of default threshold interval to buffer memory utilization rate, thus can be implemented in larger bandwidth range and find optimum Match code check, also self-adaptative adjustment can be carried out when bandwidth changes, and ensureing that user watches on the basis of fluency, accelerate toggle speed, improve the robustness of player for network jitter.
In the above-described embodiments, the first judge module 20 specifically for:
Increase the media section code check of download step by step, judge buffer memory utilization rate whether higher than the higher limit of default threshold interval;
When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of default threshold interval.
When after the broadcasting starting media file with the section of lowermost level code check, according to the incremental order of code check, increase the media section code check of download step by step, section continuous print with lowermost level code check is cut into slices in the process sent into and download queue, first judge module 20 judges buffer memory utilization rate whether within the scope of the threshold interval preset, be specially and first judge buffer memory utilization rate whether higher than the higher limit of the threshold interval preset, when higher than time, show that now buffer level is higher, as the section with this code check is play, then the resolution of played file can be caused lower; When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of the threshold interval preset further, when lower than time, show that now buffer level is lower, player plays speed, as the section with this code check is play, then the broadcasting of media file can be caused not smooth.
Further, adjusting module 30 is for following two kinds of situations:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
When judging buffer memory utilization rate not within the scope of the threshold interval preset, and during higher than the higher limit of threshold interval preset, show that the code check of current slice is lower, cause buffer level higher, now, adjusting module 30 obtains the section of more senior code check step by step by the incremental order of code check, sends into and downloads queue and continue to judge buffer memory utilization rate, until buffer memory utilization rate enters within the scope of default threshold interval.When judging buffer memory utilization rate not within the scope of the threshold interval preset, and during lower than the lower limit of threshold interval preset, show that the code check of current slice is higher, cause buffer level lower, now, adjusting module 30 obtains the section of even lower level code check step by step by the order of successively decreasing of code check, sends into and downloads queue and continue to judge buffer memory utilization rate, until buffer memory utilization rate enters within the scope of default threshold interval.
Pressing the incremental order of code check, step by step the section continuous print with lowermost level code check is cut into slices and send into when downloading queue, judge buffer memory utilization rate whether higher than the higher limit of the threshold interval preset, if not higher than, judge buffer memory utilization rate further whether lower than the lower limit of default threshold interval; When buffer memory utilization rate is higher than the higher limit of threshold interval preset, section to the buffer memory utilization rate obtaining more senior code check step by step enters within the scope of default threshold interval, when buffer memory utilization rate is lower than the lower limit of threshold interval preset, section to the buffer memory utilization rate obtaining even lower level code check step by step enters within the scope of default threshold interval, further ensure to can be implemented in larger bandwidth range and find optimum Match code check, and also can carry out self-adaptative adjustment when bandwidth changes.
In the above-described embodiments, adjusting module 30 also for:
Judge whether current slice is the section of the highest code check or the section of lowest bit rate;
If current slice is the section of the highest code check, in units of preset step-length, increases the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate;
If current slice is the section of lowest bit rate, in units of preset step-length, reduces the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate.
When after the broadcasting starting media file with the section of lowermost level code check, in the incremental order according to code check, step by step the section continuous print with lowermost level code check is cut into slices in the process sent into and download queue, as judged buffer memory utilization rate not within the scope of the threshold interval preset, and when selecting the section of more senior or even lower level code check, judge whether this current slice is the section of the highest code check or the section of lowest bit rate.
If current slice is the section of the highest code check, and buffer memory utilization rate is still higher than the higher limit of threshold interval, then show that now speed of download is too fast, adjusting module 30 increases the download time delay of downloading queue in units of preset step-length, to slow down the speed of download downloading queue, thus buffer memory utilization rate is made to enter within the scope of default threshold interval; If current slice is the section of lowest bit rate, and buffer memory utilization rate is still lower than the lower limit of threshold interval, then show that now speed of download is excessively slow, the download time delay of downloading queue is reduced in units of preset step-length, to increase the speed of download downloading queue, thus buffer memory utilization rate is entered within the scope of default threshold interval.In the present embodiment, preset step-length can carry out different settings according to actual conditions, is preferably set to 50ms in the present embodiment.
Judge whether current slice is the section of the highest code check or the section of lowest bit rate; If current slice is the section of the highest code check, adjusting module 30 increases download time delay to the buffer memory utilization rate downloading queue and enters within the scope of default threshold interval; If current slice is the section of lowest bit rate, the download time delay reducing to download queue enters within the scope of default threshold interval to buffer memory utilization rate, accelerates toggle speed further, and further increases the robustness of player for network jitter.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are media file Broadcast Control device second embodiment that the present invention is based on DASH agreement.
On the basis of media file Broadcast Control device first embodiment that the present invention is based on DASH agreement, this device also comprises:
Second judge module 40, needs to upgrade described description document for judging whether;
Update module 50, for when needs upgrade description document, downloads new description document and upgrades.
When the code check of adjustment section, buffer memory utilization rate is remained on after within the scope of default threshold interval, second judge module 40 judges whether new description document, namely the need of upgrading current description document, as needs, then download new description document, and upgrade current description document by update module 50 with this new description document.If do not needed to upgrade description document, then judge whether media file finishes playing, as unfinished, continue to play with the section of the code check of buffer memory utilization rate adaptation.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (11)

1., based on a method for the Broadcast Control media file of DASH agreement, it is characterized in that, comprise the following steps:
Download and resolve the description document of part media file, obtaining the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
Inquiry media description file, to obtain the media information of section, increases the media file section code check of download step by step, judges buffer memory utilization rate whether within the scope of default threshold interval;
When buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
2. as claimed in claim 1 based on the method for the Broadcast Control media file of DASH agreement, it is characterized in that, calculate buffer memory utilization rate in the following manner:
Timing statistics section t kn the size inside altogether received is p n (k)packet, now buffer area data volume is period network average bandwidth is V a (k)=P a (k)/ t k; Therefore timing statistics section t kin, buffer memory utilization rate is δ k=3* δ k-1/ 5+2*V a (k)/ (V s (k)* 5), wherein, n is the quantity needing burst according to buffer time determined each media queue of setting; δ 0=0.5, k=1...m is sample count.
3. as claimed in claim 2 based on the method for the Broadcast Control media file of DASH agreement, it is characterized in that, described inquiry media description file is to obtain the media information of section, increase the media section code check of download step by step, judge that the step of buffer memory utilization rate whether within the scope of default threshold interval comprises:
Increase the media section code check of download step by step, judge buffer memory utilization rate whether higher than the higher limit of default threshold interval;
When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of default threshold interval.
4. as claimed in claim 3 based on the method for the Broadcast Control media file of DASH agreement, it is characterized in that, described when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, the step entered within the scope of default threshold interval to buffer memory utilization rate comprises:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
5. as claimed in claim 4 based on the method for the Broadcast Control media file of DASH agreement, it is characterized in that, described when buffer memory utilization rate is not within the scope of the threshold interval preset, after the step of the code check of adjustment section, also comprise:
Judge whether current slice is the section of the highest code check or the section of lowest bit rate;
If current slice is the section of the highest code check, in units of preset step-length, increases the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate;
If current slice is the section of lowest bit rate, in units of preset step-length, reduces the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate.
6. the method for the Broadcast Control media file based on DASH agreement according to any one of claim 1 to 5, it is characterized in that, described when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, after buffer memory utilization rate enters the step within the scope of default threshold interval, also comprise:
Judge whether to need to upgrade described description document; If so, then download new description document and upgrade.
7., based on a media file Broadcast Control device for DASH agreement, it is characterized in that, comprising:
Resolve and acquisition module, for downloading and resolving the description document of part media file, obtain the media information of the lowest bit rate of certain time length, play the section of this lowest bit rate;
First judge module, for inquiring about media description file to obtain the media information of section, increasing the media section code check of download step by step, judging buffer memory utilization rate whether within the scope of default threshold interval;
Adjusting module, for when buffer memory utilization rate is not within the scope of the threshold interval preset, the code check of adjustment section, enters within the scope of default threshold interval to buffer memory utilization rate.
8., as claimed in claim 7 based on the media file Broadcast Control device of DASH agreement, it is characterized in that, described first judge module specifically for:
Increase the media section code check of download step by step, judge buffer memory utilization rate whether higher than the higher limit of default threshold interval;
When buffer memory utilization rate is not higher than the higher limit of threshold interval preset, judge buffer memory utilization rate whether lower than the lower limit of default threshold interval.
9., as claimed in claim 8 based on the media file Broadcast Control device of DASH agreement, it is characterized in that, described adjusting module specifically for:
When buffer memory utilization rate is higher than the higher limit of threshold interval preset, obtains the section of more senior code check by the incremental order of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate;
When buffer memory utilization rate is lower than the lower limit of threshold interval preset, obtains the section of even lower level code check by the order of successively decreasing of code check step by step, enter within the scope of default threshold interval to buffer memory utilization rate.
10., as claimed in claim 9 based on the media file Broadcast Control device of DASH agreement, it is characterized in that, described adjusting module also for:
Judge whether current slice is the section of the highest code check or the section of lowest bit rate;
If current slice is the section of the highest code check, in units of preset step-length, increases the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate;
If current slice is the section of lowest bit rate, in units of preset step-length, reduces the download time delay of downloading queue, enter within the scope of default threshold interval to buffer memory utilization rate.
11. media file Broadcast Control devices based on DASH agreement according to any one of claim 7 to 10, is characterized in that, also comprise:
Second judge module, needs to upgrade described description document for judging whether;
Update module, for when needs upgrade described description document, downloads new description document and upgrades.
CN201410182184.8A 2014-04-30 2014-04-30 Media file broadcast control method and device based on DASH agreements Active CN105025330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410182184.8A CN105025330B (en) 2014-04-30 2014-04-30 Media file broadcast control method and device based on DASH agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410182184.8A CN105025330B (en) 2014-04-30 2014-04-30 Media file broadcast control method and device based on DASH agreements

Publications (2)

Publication Number Publication Date
CN105025330A true CN105025330A (en) 2015-11-04
CN105025330B CN105025330B (en) 2018-04-10

Family

ID=54414979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410182184.8A Active CN105025330B (en) 2014-04-30 2014-04-30 Media file broadcast control method and device based on DASH agreements

Country Status (1)

Country Link
CN (1) CN105025330B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611328A (en) * 2015-12-25 2016-05-25 深圳Tcl新技术有限公司 Video data accelerated downloading method and device based on HLS (HTTP Live Streaming)stream media
CN106028057A (en) * 2016-05-05 2016-10-12 北京邮电大学 Caching method for adaptive streaming content of scalable coding in mobile CCN (Content-Centric Network)
CN106993237A (en) * 2017-04-13 2017-07-28 中北大学 Dynamic self-adapting code rate selection method based on MPEG DASH agreements
CN108833996A (en) * 2018-07-03 2018-11-16 湖北大学 Service node selection, update and code rate adaptive approach in distributed DASH system
CN109040855A (en) * 2018-09-03 2018-12-18 重庆邮电大学 A kind of wireless DASH streaming media bit rate smooth adaptive transmission method
CN109151614A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 A kind of method and device reducing the delay of HLS live play
CN109714631A (en) * 2019-02-26 2019-05-03 华南理工大学 One kind being based on HTTP video flowing dynamic self-adaptation bit-rate selection method
CN109862442A (en) * 2019-02-22 2019-06-07 伟乐视讯科技股份有限公司 A kind of input method for stream processing and processing unit based on IP transmission
CN111491206A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video processing method, video processing device and electronic equipment
CN113473248A (en) * 2020-03-30 2021-10-01 中国电信股份有限公司 Streaming media transmission method, device and computer readable storage medium
CN115361578A (en) * 2022-07-25 2022-11-18 海信视像科技股份有限公司 Playing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010073665A (en) * 2000-01-19 2001-08-01 오길록 Apparatus and method of controlling time code modification and rate buffer level for low-delay video communication
CN101562737A (en) * 2009-05-19 2009-10-21 华中科技大学 Multi-code rate dispatching method in peer-to-peer live broadcast system
CN101902625A (en) * 2009-05-27 2010-12-01 深圳市九洲电器有限公司 Interactive-type internet protocol television video data processing method and system as well as set top box
CN102130936A (en) * 2010-08-17 2011-07-20 华为技术有限公司 Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
CN103338412A (en) * 2013-06-07 2013-10-02 洛阳亿唯信息技术有限公司 Adaptive video coding systemcwireless adaptive modulation and coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010073665A (en) * 2000-01-19 2001-08-01 오길록 Apparatus and method of controlling time code modification and rate buffer level for low-delay video communication
CN101562737A (en) * 2009-05-19 2009-10-21 华中科技大学 Multi-code rate dispatching method in peer-to-peer live broadcast system
CN101902625A (en) * 2009-05-27 2010-12-01 深圳市九洲电器有限公司 Interactive-type internet protocol television video data processing method and system as well as set top box
CN102130936A (en) * 2010-08-17 2011-07-20 华为技术有限公司 Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
CN103338412A (en) * 2013-06-07 2013-10-02 洛阳亿唯信息技术有限公司 Adaptive video coding systemcwireless adaptive modulation and coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KONSTANTIN MILLER等: "Adaptation Algorithm for Adaptive Streaming over HTTP", 《PROCEEDINGS OF 2012 IEEE 19TH INTERNATIONAL PACKET VIDEO WORKSHOP》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107378A1 (en) * 2015-12-25 2017-06-29 深圳Tcl新技术有限公司 Accelerated video data downloading method and device based on hls stream media
CN105611328B (en) * 2015-12-25 2019-01-01 深圳Tcl新技术有限公司 Video data based on HLS Streaming Media accelerates method for down loading and device
CN105611328A (en) * 2015-12-25 2016-05-25 深圳Tcl新技术有限公司 Video data accelerated downloading method and device based on HLS (HTTP Live Streaming)stream media
CN106028057A (en) * 2016-05-05 2016-10-12 北京邮电大学 Caching method for adaptive streaming content of scalable coding in mobile CCN (Content-Centric Network)
CN106993237A (en) * 2017-04-13 2017-07-28 中北大学 Dynamic self-adapting code rate selection method based on MPEG DASH agreements
CN106993237B (en) * 2017-04-13 2019-05-10 中北大学 Dynamic self-adapting code rate selection method based on MPEG-DASH agreement
CN109151614A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 A kind of method and device reducing the delay of HLS live play
CN108833996A (en) * 2018-07-03 2018-11-16 湖北大学 Service node selection, update and code rate adaptive approach in distributed DASH system
CN108833996B (en) * 2018-07-03 2020-07-10 湖北大学 Service node selection, update and code rate self-adaption method in distributed DASH system
CN109040855A (en) * 2018-09-03 2018-12-18 重庆邮电大学 A kind of wireless DASH streaming media bit rate smooth adaptive transmission method
CN109862442B (en) * 2019-02-22 2022-05-17 伟乐视讯科技股份有限公司 Input stream processing method and processing device based on IP transmission
CN109862442A (en) * 2019-02-22 2019-06-07 伟乐视讯科技股份有限公司 A kind of input method for stream processing and processing unit based on IP transmission
CN109714631A (en) * 2019-02-26 2019-05-03 华南理工大学 One kind being based on HTTP video flowing dynamic self-adaptation bit-rate selection method
CN113473248A (en) * 2020-03-30 2021-10-01 中国电信股份有限公司 Streaming media transmission method, device and computer readable storage medium
CN111491206A (en) * 2020-04-17 2020-08-04 维沃移动通信有限公司 Video processing method, video processing device and electronic equipment
CN115361578A (en) * 2022-07-25 2022-11-18 海信视像科技股份有限公司 Playing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105025330B (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN105025330A (en) Media file playing control method and apparatus based on DASH protocol
Miller et al. Adaptation algorithm for adaptive streaming over HTTP
KR102086873B1 (en) Method and apparatus for providing a plurality of transcoded content streams
US10291681B2 (en) Directory limit based system and method for storing media segments
JP6170920B2 (en) Method and apparatus for adaptive transcoding of multimedia streams
US20140095593A1 (en) Method and apparatus for transmitting data file to client
US9628547B2 (en) Media file receiving and media file sending methods, apparatuses, and systems
EP3257218B1 (en) System and method for managing bandwidth responsive to the duty cycle of an abr client
WO2012071998A1 (en) Method and client for downloading media file in content distribution network
WO2018060489A1 (en) Viewer importance adaptive bit rate delivery
CN103702237A (en) Rate self-adapting method and device for HTTP (Hyper Text Transport Protocol) streaming media
EP3520421B1 (en) Viewer importance adaptive bit rate delivery
US20180191803A1 (en) Low latency media streaming
Rahman et al. A client side buffer management algorithm to improve QoE
CN108124169A (en) A kind of P2P Video service accelerated methods of household radio router
CN103607638A (en) Network media playing method, intelligent display terminal and intelligent display system
CN114040256A (en) Live broadcast data processing method, equipment and medium based on HLS protocol
Yarnagula et al. Quality of experience assessment of rate adaptation algorithms in DASH: An experimental study
CN106791993B (en) P2P live broadcast system and P2P live broadcasting method
Lazic et al. One Implementation of adaptive streaming over HTTP on Android DTV platform
CN110933516B (en) Multimedia live broadcasting method, device and equipment
US20230247205A1 (en) Bandwidth management using dynamic quality factor adjustments
WO2017114393A1 (en) Http streaming media transmission method and device
WO2018112539A1 (en) Content streaming via a communications network
Le et al. Adaptive video streaming with smooth advertisement insertion

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