WO2019001407A1 - 下载控制方法及装置、多媒体终端、计算机存储介质 - Google Patents
下载控制方法及装置、多媒体终端、计算机存储介质 Download PDFInfo
- Publication number
- WO2019001407A1 WO2019001407A1 PCT/CN2018/092797 CN2018092797W WO2019001407A1 WO 2019001407 A1 WO2019001407 A1 WO 2019001407A1 CN 2018092797 W CN2018092797 W CN 2018092797W WO 2019001407 A1 WO2019001407 A1 WO 2019001407A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- rate
- download
- source
- slice
- current
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 239000012634 fragment Substances 0.000 claims description 69
- 238000013467 fragmentation Methods 0.000 claims description 4
- 238000006062 fragmentation reaction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 239000000523 sample Substances 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000009795 derivation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004224 protection Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- 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/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/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
- H04N21/23805—Controlling the feeding rate to the network, e.g. by controlling the video pump
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- 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/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
Definitions
- the present disclosure relates to the field of audio and video playback technologies, and in particular, to a download control method and apparatus, and a multimedia terminal.
- OTT Over The Top
- HLS HTTP Live Streaming, dynamic rate adaptation technology proposed by Apple
- DASH Dynamic Adaptive Streaming over HTTP
- HSS HTTP Smooth Streaming
- the commonality of these protocols is that the source of the chip is encoded into a plurality of bit rate source sources, and then the chip sources of various code rates are respectively sliced into a plurality of fixed-length segments, and the same sequence number is used in the chip sources of different code rates.
- the shards correspond to the same video content, and the index file describes the information of each shard in detail, which is used to guide the player how to play each shard.
- An embodiment of the present disclosure provides a download control method, including the steps of: acquiring a real-time download rate of a slice source fragment that downloads a current code rate; and downloading the acquired download rate corresponding to a code rate of a currently downloaded slice source.
- the speed limit threshold is compared; when the acquired real-time download rate is greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded source, the download rate is limited until the download rate is less than or equal to the currently downloaded source.
- the rate limit threshold of the download rate corresponding to the code rate is
- the embodiment of the present disclosure further provides a download control apparatus, including: an obtaining module configured to acquire a real-time download rate during downloading a slice source slice; and a comparison module configured to acquire the obtained real-time download rate and The speed limit threshold of the download rate corresponding to the code rate of the currently downloaded source is compared; the processing module is configured to: when the acquired real-time download rate is greater than the speed limit threshold of the download rate corresponding to the currently downloaded source source, The download rate is limited until the download rate is less than or equal to the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source.
- Embodiments of the present disclosure also provide a multimedia terminal, comprising: a memory configured to store a download control program; and a processor configured to execute a download control program stored in the memory to implement the download control method described above.
- Embodiments of the present disclosure also provide a computer storage medium having stored therein computer executable instructions that are executed by a computer to perform the download control method described above.
- FIG. 1 is a schematic diagram of a fragment structure of a chip source
- FIG. 2 is a schematic flow chart of a download control method according to an embodiment of the present disclosure
- FIG. 3 is another schematic flowchart of a download control method according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a download control apparatus according to an embodiment of the present disclosure.
- FIG. 5 is a schematic structural diagram of a multimedia terminal according to an embodiment of the present disclosure.
- Figure 1 shows a schematic diagram of the fragmentation structure of a chip source.
- the index file includes a primary index and a plurality of secondary indexes.
- the primary index points to multiple adaptive stream media sources of different code rates, and the secondary index points to an adaptive streaming media slice corresponding to the code rate.
- the fragmentation of the source is not limited to any one of the code rates.
- the actual download rate of the current code rate source fragment is detected, if the actual download rate of the current code rate source fragment is higher than the adjacent high code rate source.
- the code source is switched to the adjacent high code rate source to download the next slice, if the actual download rate of the current code rate slice source is lower than the current slice source code. Rate, after downloading the current slice, switch to the adjacent low bit rate source to download the next slice.
- the network condition shown as the real-time actual download rate
- it can be switched to the source of the optimal code rate for downloading, so that the playback fluency and the video picture clarity and/or Or the best quality playback in terms of audio quality.
- the download rate of the terminal may be high during a certain period of time, and the highest download rate may be several times higher than the encoding rate of the currently downloaded source itself, but in theory, as long as the actual When the download rate reaches the encoding rate of the source, the smooth playback of the source of the code rate can be realized. Therefore, the excessive download rate only occupies the network bandwidth resources, causing other users in the same network environment to be affected, instead of Substantial assistance in obtaining video picture clarity and/or audio quality.
- the unsteadyness of the download code stream curve may cause an error in the state parameters of the probe acquisition and play, and affect the normal play of the audio and/or video.
- Embodiments of the present disclosure provide a download control method that describes a download policy of a terminal, can avoid the problem of excessively occupying network broadband resources, and can ensure normal play of audio and/or video.
- FIG. 2 shows a flow chart of a download control method of an embodiment of the present disclosure. As shown in FIG. 2, the download control method includes steps S21 to S23.
- the download rate may be an average download rate for downloading the current slice, that is, an average download rate from a time period from the download of the current slice to the current time.
- the download rate at any time can be calculated.
- the real-time download rate when the real-time download rate is obtained in the foregoing manner, the amount of the source fragment that has been downloaded at the current moment needs to be collected, and the collection may be performed in any manner, for example, by detecting the throughput of the network port of the terminal in real time. Acquisition, no restrictions here.
- the real-time download rate can be obtained according to a preset time interval. For example, when the current playback time of the slice source is 2 ms, the current download can be obtained every 0.01 ms, 0.1 ms, or 0.2 ms. Rate, through this high-frequency, high-accuracy acquisition, and through the subsequent steps S22 and S23 to control the download rate, the download rate can be controlled very accurately, which can well solve the excessive occupation caused by not downloading the rate limit. Network broadband resources are not conducive to the normal use of other users in the same network environment or other applications of the same terminal.
- the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source is obtained, for example, by referring to the preset correspondence table, and then the acquired real-time download rate and the acquired download rate limit are obtained.
- the speed threshold is compared.
- Table 1 shows the correspondence between the preset slice source rate and the rate limit threshold of the download rate.
- Code rate Rate limit threshold for download rate 128kbps 40KB/s 256kbps 70KB/s 512kbps 80KB/s
- the source code of the currently downloaded source is 128 kbps
- the download rate of downloading the source fragment is 60 KB/s at a certain time.
- the speed threshold is 40 KB/s. Therefore, the obtained download rate of 60 KB/s is compared with the speed limit threshold of 40 KB/s corresponding to the download rate of the slice source. It can be seen that the obtained download rate is 60 KB/s, which is larger than the corresponding source.
- the rate limit threshold for downloading is 40KB/s.
- the rate limit of the download rate of the source is greater than the smooth playback rate of the source, and the smooth playback rate of the source is the minimum download rate of the source.
- the source of the same bit rate corresponds to a unique smooth playback rate.
- smooth playback of the source can be achieved. That is, the download rate reaches the minimum download rate of the smooth playback source, and the smooth playback of the source can be realized. In this case, the source can be smoothly played without occupying additional network broadband resources, thereby maximizing network bandwidth resources. .
- Table 2 shows the correspondence between the code rate of the source, the smooth playback rate, and the rate limit threshold of the download rate.
- Rate limit threshold for download rate 128kbps 16KB/s 40KB/s 256kbps 32KB/s 70KB/s 512kbps 64KB/s 80KB/s
- the rate limit of the download rate of the source is greater than the smooth rate corresponding to the code rate of the source, so as to ensure that the source is smoothly downloaded and played.
- the value of the rate limit and the rate limit threshold of the corresponding download rate are only used as an example. In the actual application scenario, the code rate shown above and the corresponding download rate limit are not limited. The value of the speed threshold, the technical solution provided by this embodiment can be applied to the source of other code rates.
- the download when the current download rate is greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, the download is suspended, thereby indirectly limiting the download rate until the download rate is less than or equal to the currently downloaded slice.
- the download rate is restarted when the rate limit of the download rate of the source corresponds to the rate limit threshold, so that the download rate is maintained near the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded source (slightly greater than, equal to, or slightly less than ).
- v total download time
- v ie, the download rate
- the download is paused according to the preset pause time length, and when the preset pause time length is passed, the current download rate is calculated, and it is determined that the current download rate is still greater than the currently downloaded source.
- the preset pause time length is suspended again until the current download rate is less than or equal to the speed limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, and then the download is restarted. .
- the download rate is still greater than the speed limit threshold of the download rate corresponding to the currently downloaded slice source rate, so pause for 0.5s again. After 0.5s, judge the download again.
- the download rate is equal to the speed limit threshold of the download rate corresponding to the currently downloaded slice source rate of 5KB/s, so the rest of the downloaded slice is restarted. 10KB capacity.
- the actual required pause time length is calculated according to the preset rule, and the download is restarted when the actual required pause time length is passed.
- the preset rule is the amount of the currently downloaded slice.
- the time limit threshold of the download rate corresponding to the slice source of the slice is subtracted from the time length from the start of downloading the slice to the current time.
- the amount of fragments that have been downloaded currently is 0.1 KB (assuming that the total number of fragments is 0.5 KB), and the total length of time from the start of downloading the fragment to the current time is 1 ms (1 ms is equal to 0.001 s),
- the rate limit of the download rate corresponding to the source of the fragment is 80 KB/s.
- the download rate is equal to the download rate of the currently downloaded slice source rate.
- the rate limit is 80KB/s.
- the second way of calculating the pause time is to avoid the multiple pauses and the multiple calculations of the download rate while reaching the speed limit threshold of the corresponding download rate, compared to the first way of calculating the pause time.
- source sources may be encoded at different code rates, for example, the source P may be encoded at two different code rates as shown in Table 3.
- the corresponding sampling rate can be adopted to form a slice source of the corresponding code rate.
- the higher the sampling rate the closer the encoded file is to the original.
- the slice sources of each code rate are sliced according to a fixed duration to obtain a slice source slice of each code rate.
- the content of the slice of the same slice number is the same (of course, since the sample rate of the low-rate slice source and the high-rate slice source is different, the image and/or audio are The quality is different).
- the contents of the source fragment 11 and the source fragment 21 should be the same, and the contents of the source fragment 12 and the source fragment 22 should be the same, the source fragment 13 and the source fragment.
- the content of 23 should be the same.
- the source of the 16 kbps code rate in Table 4 is not limited to including only three slices of slice 11, slice 12, and slice 13, and may include more or fewer slices.
- the rate limit threshold of the download rate corresponding to the code rate of the slice source may be set to be greater than or equal to the smooth play rate of the corresponding slice source of the higher level code rate adjacent to the current code rate.
- the current first-order code rate adjacent to the current code rate is not necessarily a theoretically adjacent high-order code rate (for example, a theoretical adjacent code rate of 16 kbps is 32 kbps), but should be based on actual existence.
- the code rate of the slice source is determined. Referring to Table 4, it is assumed that the slice source P is only encoded at two code rates of 16 kbps and 64 kbps. At this time, the high-order code rate adjacent to the code rate of 16 kbps is a code rate of 64 kbps instead of a code rate of 32 kbps.
- the rate limit threshold (10 KB/s) of the download rate of the source P of the code rate of 16 kbps is set to be slightly larger than the smooth playback rate of the source P of the bit rate of 64 kbps 8 KB/s, thus, at the network speed
- the download rate of the fragment that downloads the source P can be well guaranteed to reach 8 KB/s, that is, the source of the 64 kbps source can be achieved when the network speed allows.
- the shards are downloaded.
- the slice 22 is selected for download ( The content of the slice 22 is the same as the content of the slice 12) to achieve smooth playback of the slice source P.
- the rate limit threshold of the download rate corresponding to the chip source of the highest code rate is set to be greater than the highest code.
- the download rate of the source is limited to the rate limit of the download rate corresponding to the code rate of the source, ensuring normal rate switching and avoiding excessive use during the download process. The problem of network bandwidth resources.
- a real-time download rate of a slice source fragment that downloads a current code rate is obtained, and a rate limit threshold of a download rate corresponding to a code rate of a currently downloaded slice source is obtained.
- the download rate is limited until the download rate is less than or equal to the download rate corresponding to the code rate of the currently downloaded slice source.
- the rate limit threshold is set by setting the rate limit threshold of the download rate corresponding to the source code rate to be greater than the smooth playback rate of the source of the code rate, and the terminal can be well restricted in the case that the terminal can be normally downloaded and played smoothly.
- the download rate of downloading source fragments is not too high, which can solve the problem of excessively occupying network broadband resources and avoid the influence of other users in the same network environment.
- the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded source may be set to be greater than or equal to the smooth playback rate of the source source of the higher level code rate adjacent to the code rate, thereby ensuring downloading in the source.
- the code rate can be switched freely, and the download stream is smoothed, and the peak or trough of the downloaded code stream curve is avoided, which can effectively reduce the impact on the probe collection and playback function.
- FIG. 3 shows another flow diagram of a download control method of an embodiment of the present disclosure.
- the download control method includes the following steps S301 to S318.
- the source of the live broadcast of the network is encoded at three code rates of VL (low code rate), VM (medium code rate), and VH (high code rate), and the user passes through the terminal (eg, mobile phone, network).
- VL low code rate
- VM medium code rate
- VH high code rate
- the user passes through the terminal eg, mobile phone, network.
- the TV, etc. starts to watch, that is, the broadcast stage
- the source of the rate is not limited in this embodiment.
- the source code fragment of the low code rate (VL) is first downloaded.
- the correspondence between the preset chip source rate and the rate limit threshold of the download rate is as shown in Table 5.
- the rate limit threshold of the download rate corresponding thereto is 1.1 VM, and thus the download rate of the control slice source is less than or equal to 1.1 VM.
- the rate limit threshold of the download rate set in this embodiment can ensure normal downloading and smooth playback of each code rate chip source, and does not excessively occupy network broadband resources, and can implement switching download of different code rate sources during the download process (for example, When the download rate of the source code fragment of the low bit rate VL is downloaded between the VM and the 1.1VM, the source of the medium code rate VM is downloaded for download when the next slice is downloaded.
- step S302 For the specific implementation process of step S302, refer to the detailed description of steps S22 and S23, and details are not described herein again.
- step S303 It is judged whether the currently downloaded source code rate of the VL source fragment is completed. If the download is completed, the process goes to step S304. If the download has not been completed, the process returns to step S301.
- step S304 Determine whether the download rate of the source fragment of the download code rate VL reaches the VM (the smooth playback rate of the adjacent high-level code rate source), and if the download rate of the source fragment of the download rate VL reaches If it is VM, the process goes to step S305. If the download rate of the source patch of the download code rate VL does not reach the VM, the process goes to step S306.
- the download code rate is the next slice of the corresponding slice source of the VM.
- step S301 After downloading the slice source fragment with the code rate VL downloaded in step S301, if the download rate of downloading the slice reaches the VM (between VM and 1.1 VM), then switching to the code rate is VM. The corresponding source is downloaded to download the next slice to improve the quality of the video and/or audio.
- the download rate is controlled to be less than or equal to 1.1 VH.
- step S308 It is judged whether the currently downloaded code rate is the completion of the download of the source fragment of the VM. If the download is completed, the process goes to step S309, and if the download has not been completed, the process returns to step S305.
- step S309 determining whether the download rate of the source code fragment of the VM reaches VH. If the download rate of the source fragment of the VM is VH, the process proceeds to step S310, and if the download rate is VM. If the download rate of the source fragment does not reach VH, the process goes to step S311.
- step S305 after downloading the code source downloaded in step S305 as the source fragment of the VM, if the download rate of downloading the slice reaches VH (the smooth playback rate of the adjacent high-order code rate source), then Switch to the corresponding source of the code rate VH to download the next slice.
- VH the smooth playback rate of the adjacent high-order code rate source
- step S311 Determine whether the download rate of the source code fragment of the VM reaches the VM. If the download rate of the source fragment of the VM reaches the VM, the process proceeds to step S312, if the download rate is VM. If the download rate of the source fragment does not reach the VM, the process goes to step S313.
- the download code rate is the next slice of the corresponding slice source of the VM.
- step S315 It is judged whether the currently downloaded source code of the VH source fragment is completed. If the download is completed, the process goes to step S316. If the download has not been completed, the process returns to step S310.
- step S316 Determine whether the download rate of the source fragment of the download code rate VH reaches VH. If the download rate of the source fragment of the download code rate VH reaches VH, then go to step S317, if the download rate is VH. If the download rate of the source fragment does not reach VH, then go to step S318.
- the download code rate is the next slice of the corresponding slice source of the VM.
- the download rate of the source fragment of the download code rate VH reaches VH (between VH and 1.2VH)
- the next slice of the corresponding source of the code rate VH is continuously downloaded, if the download rate is If the download rate of the VH source fragment does not reach VH, switch to the corresponding source of the VM rate to download the next slice to ensure the smoothness of playback.
- Embodiments of the present disclosure also provide a download control apparatus for implementing the above-described download control method.
- FIG. 4 is a block diagram showing the structure of a download control device of an embodiment of the present disclosure.
- the download control device 40 includes an acquisition module 41, a comparison module 42, and a processing module 43.
- the obtaining module 41 is configured to obtain a real-time download rate during the process of downloading the source fragment, and the download rate may be an average download rate from the time when the source fragment is downloaded to the current time.
- the obtaining module 41 may obtain an average download rate for downloading the source fragment by dividing the amount of the slice source that has been downloaded currently by the duration of the period from the start of downloading the source fragment to the current time. It should be understood that the obtaining module 41 can obtain the amount of the slice source fragments that have been downloaded currently by detecting the throughput of the network port of the terminal in real time, but the embodiment is not limited thereto. In addition, the method can be used to obtain the real-time download rate, which is not limited in this embodiment.
- the obtaining module 41 can obtain the real-time download rate according to the preset time interval. For example, if the currently downloaded source fragment is played for 10 ms, the current download rate can be obtained every 0.01 ms, 0.1 ms, or 0.5 ms. Through such high-frequency, high-accuracy acquisition, and controlling the download rate through subsequent steps, the download rate can be controlled very accurately, so that the excessive use of network broadband resources caused by the download rate limitation can be well solved without Conducive to the normal use of other users in the same network environment or other applications of the same terminal.
- the comparison module 42 is configured to compare the real-time download rate acquired by the acquisition module 41 with a rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source.
- the rate limit of the download rate of the source is greater than the smooth playback rate of the source. It should be noted that the smooth playback rate is the minimum download rate for playing the source smoothly, that is, the download rate corresponding to the code rate of the source.
- the speed limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source is obtained by referring to the preset correspondence table, and then the obtained real-time download rate is compared with the obtained rate limit threshold of the download rate.
- the rate limit of the download rate of the source is greater than the smooth playback rate of the source, and the smooth playback rate of the source is the minimum download rate of the source.
- the source of the same bit rate corresponds to a unique smooth playback rate.
- the smooth playback of the source can be achieved, that is, the download rate reaches the minimum of the smooth playback source.
- the download rate can realize the smooth playback of the source. In this case, the source can be played smoothly without occupying extra network bandwidth resources, and the network broadband resources can be saved to the utmost.
- the processing module 43 is configured to limit the download rate until the download rate is less than or equal to the code of the currently downloaded source when the acquired real-time download rate is greater than the rate limit threshold of the download rate corresponding to the currently downloaded slice source.
- the rate limit threshold for the download rate corresponding to the rate is configured to limit the download rate until the download rate is less than or equal to the code of the currently downloaded source when the acquired real-time download rate is greater than the rate limit threshold of the download rate corresponding to the currently downloaded slice source.
- the download when the current download rate is greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, the download is suspended, thereby indirectly limiting the download rate until the download rate is less than or equal to the currently downloaded slice.
- the download rate is restarted when the rate limit of the download rate corresponding to the source code rate is restarted, so that the download rate is maintained near the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source.
- the download may be paused according to the preset pause time length (for example, the pause time length flexibly set according to the simulation result), after the preset When the time length is suspended, the current download rate is calculated.
- the preset pause time is suspended again until the current download. The download is restarted when the rate is less than or equal to the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source.
- the actual required pause time length may also be calculated according to a preset rule, and the download may be restarted when the actually required pause time length is passed.
- the preset rule is the rate limit of the currently downloaded slice divided by the rate limit of the download rate corresponding to the slice source of the slice, and subtracts the length of time from the start of downloading the slice to the current time.
- the rate limit threshold of the download rate corresponding to the code rate of the slice source may be set to be greater than or equal to the smooth play rate of the corresponding slice source of the higher level code rate adjacent to the current code rate.
- the rate limit threshold of the download rate corresponding to the chip source of the highest code rate is set to be greater than the highest code.
- the download rate of the source is limited to the rate limit of the download rate corresponding to the code rate of the source, ensuring normal rate switching and avoiding excessive use during the download process. The problem of network bandwidth resources.
- the processing module 43 is further configured to detect an actual download rate of the source fragment of the current code rate, if the actual download rate of the current source rate of the slice source is higher than that of the adjacent high-level source. Rate, after downloading the current slice, switch to the adjacent high-order code rate source to download the next slice.
- the processing module 43 is further configured to: detect an actual download rate of the source fragment of the current code rate, and if the actual download rate of the current source rate of the slice source is lower than the smooth playback rate of the current source, the current score is downloaded. After the slice, switch to the adjacent low-order code rate source to download the next slice.
- the obtaining module 41, the comparing module 42 and the processing module 43 can be implemented by a processor or a controller or the like.
- the download control apparatus 40 provided by the embodiment of the present disclosure includes an acquisition module 41, a comparison module 42 and a processing module 43.
- the acquisition module 41 is configured to acquire a real-time download rate in the process of downloading the source fragment
- the comparison module 42 is configured to The real-time download rate obtained by the obtaining module 41 is compared with the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source
- the processing module 43 is configured to: when the acquired real-time download rate is greater than the currently downloaded source code
- the rate limit threshold of the download rate is the same, the download rate is limited until the download rate is less than or equal to the speed limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, and the processing module 43 is further configured to detect the download current code.
- Rate the actual download rate of the source fragment. If the actual download rate of the current source rate fragment is higher than the smooth playback rate of the adjacent high-order source, then switch to the current fragment after downloading the current fragment. Adjacent high-level code rate source to download the next next slice, if the actual download rate of the current code rate source fragment is lower than the current broadcast of the current source After the current rate is downloaded, the current fragment is downloaded, and the adjacent low-level code rate source is downloaded to download the next fragment, so that the code rate can be freely switched during the source download process, and the guarantee is also guaranteed.
- the downloading of the code stream is gentle, avoiding the occurrence of peaks or troughs in the downloaded code stream curve, and can effectively reduce the influence on the probe collection and playback function.
- FIG. 5 shows a schematic structural diagram of a multimedia terminal of an embodiment of the present disclosure.
- the multimedia terminal 50 includes a memory 51 configured to store a download control program, and a processor 52 configured to execute a download control program stored in the memory 51 to implement downloading of an embodiment of the present disclosure. Control Method.
- the processor 52 executes the download control program stored in the memory 51 to perform the steps of: acquiring a real-time download rate of the slice source slice downloading the current code rate; and obtaining the downloaded download rate and the code rate of the currently downloaded slice source. Comparing the rate limit thresholds of the corresponding download rates, when the acquired real-time download rate is greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, limiting the download rate until the download rate is less than or equal to the current The rate limit of the download rate corresponding to the code rate of the downloaded source.
- the processor 52 executes the download control program stored in the memory 51 to perform the step of suspending when the acquired real-time download rate is greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source. Downloading, thereby indirectly limiting the download rate, and restarting the download until the download rate is less than or equal to the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source.
- the processor 52 executes the download control program stored in the memory 51 to perform the steps of: suspending the download according to the preset pause time length, and calculating the current download rate when the preset pause time length elapses, When it is determined that the current download rate is still greater than the rate limit threshold of the download rate corresponding to the code rate of the currently downloaded slice source, the preset pause time length is suspended again until the current download rate is less than or equal to the code rate of the currently downloaded slice source. Restart the download when the rate limit threshold of the download rate is reached.
- the processor 52 executes the download control program stored in the memory 51 to perform the steps of: calculating the actually required pause time length according to a preset rule, and restarting the download when the actual required pause time length elapses.
- the preset rule is that the amount of the currently downloaded slice is divided by the speed limit threshold of the download rate corresponding to the slice source of the slice, and the length of time from the start of downloading the slice to the current time is subtracted.
- the rate limit of the download rate corresponding to the code rate of the source of the chip source is greater than or equal to the smooth play rate of the source of the higher code rate adjacent to the current code rate, and the download rate corresponding to the source of the highest code rate.
- the rate limit threshold is greater than the smooth playback rate of the source of the highest code rate.
- the processor 52 executes the download control program stored in the memory 51 to perform the steps of detecting the actual download rate of the current code rate slice source slice if the actual download rate of the current code rate slice source slice is high. After the current slicing is downloaded, the adjacent high-level code rate source is downloaded to download the next slice.
- the processor 52 executes the download control program stored in the memory 51 to perform the steps of detecting the actual download rate of the current code rate slice source slice if the actual download rate of the current code rate slice source slice is low. After the current slice rate is downloaded, the current slice is downloaded, and the adjacent low-level code rate source is switched to download the next slice.
- the multimedia terminal 50 includes, but is not limited to, a mobile phone, a set top box, a tablet computer, a network television, and the like.
- the multimedia terminal 50 provided by the embodiment of the present disclosure includes a memory 51 configured to store a download control program, and a processor 52 configured to execute a download control program stored in the memory 51 to implement an embodiment of the present disclosure.
- the download control method solves the problem of excessively occupying network broadband resources, avoids the influence on the use of other users in the same network environment, ensures that the code rate can be freely switched during the source download process, and also helps to ensure the download code.
- the smoothness of the flow avoids the occurrence of peaks or troughs in the download stream curve, which can effectively reduce the impact on the probe capture and playback function.
- modules or steps of the above-described embodiments can be implemented with a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices.
- the modules or steps of the above embodiments may be implemented by program code executable by the computing device, such that they may be stored by a computing device in a computer storage medium (ROM/RAM, disk, optical disk).
- ROM/RAM read-only memory
- disk disk
- optical disk optical disk
- each module or step of the embodiments of the present disclosure may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps of the embodiments of the present disclosure may be implemented as a single integrated circuit module.
- the present disclosure is not limited to any particular combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
码率 | 下载速率的限速阈值 |
128kbps | 40KB/s |
256kbps | 70KB/s |
512kbps | 80KB/s |
码率 | 流畅播放速率 | 下载速率的限速阈值 |
128kbps | 16KB/s | 40KB/s |
256kbps | 32KB/s | 70KB/s |
512kbps | 64KB/s | 80KB/s |
码率 | 下载速率的限速阈值 |
低码率VL | 1.1VM |
中码率VM | 1.1VH |
高码率VH | 1.2VH |
Claims (20)
- 一种下载控制方法,包括步骤:获取下载当前码率的片源分片的实时的下载速率;将获取的下载速率与当前下载的片源的码率对应的下载速率的限速阈值进行比较;当获取的实时的下载速率大于当前下载的片源的码率对应的下载速率的限速阈值时,限制下载速率,直到所述下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值。
- 如权利要求1所述的下载控制方法,其中,限制下载速率直到所述下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值的步骤包括:暂停下载来限制下载速率,直到该下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值时再重新启动下载。
- 如权利要求2所述的下载控制方法,其中,根据预设的暂停时间长度暂停下载,在经过预设的暂停时间长度时,计算当前的下载速率,在判断当前的下载速率仍然大于当前下载的片源的码率对应的下载速率的限速阈值时,再次暂停所述预设的暂停时间长度,直到当前的下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值时再重新启动下载。
- 如权利要求2所述的下载控制方法,其中,根据预设规则计算实际所需的暂停时间长度,根据计算出的实际所需的暂停时间长度暂停下载,在经过实际所需的暂停时间长度时重新启动下载,所述预设规则为当前已经下载的分片的量除以所述分片的片源对应的下载速率的限速阈值,再减去自开始下载所述分片到当前时刻的时间长度。
- 如权利要求1至4中的任一项所述的下载控制方法,其中, 片源的码率对应的下载速率的限速阈值大于或等于当前码率相邻的高一级码率的对应片源的流畅播放速率,最高码率的片源对应的下载速率的限速阈值大于该最高码率的片源的流畅播放速率。
- 如权利要求5所述的下载控制方法,还包括步骤:检测下载当前码率的片源分片的实际下载速率,如果当前码率的片源分片的实际下载速率高于相邻的高一级码率片源的流畅播放速率,则下载完当前分片后,切换到该相邻的高一级码率的片源来下载下一分片。
- 如权利要求5所述的下载控制方法,还包括步骤:检测下载当前码率的片源分片的实际下载速率,如果当前码率的片源分片的实际下载速率低于当前片源的流畅播放速率,则下载完当前分片后,切换到相邻的低一级码率的片源来下载下一分片。
- 如权利要求1所述的下载控制方法,其中,获取的下载速率为从下载当前分片开始到当前时刻的时间段内的平均下载速率。
- 如权利要求1所述的下载控制方法,其中,片源的码率对应的下载速率的限速阈值大于该码率的片源的流畅播放速率,所述流畅播放速率为流畅播放所述片源的最小下载速率。
- 一种下载控制装置,包括:获取模块,配置为在下载片源分片的过程中,获取实时的下载速率;比较模块,配置为将获取到的实时的下载速率与当前下载的片源的码率对应的下载速率的限速阈值进行比较;处理模块,配置为当获取的实时的下载速率大于当前下载的片源的码率对应的下载速率的限速阈值时,限制下载速率,直到所述下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈 值。
- 如权利要求10所述的下载控制装置,其中,所述处理模块配置为通过暂停下载来限制下载速率,直到该下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值时再重新启动下载。
- 如权利要求11所述的下载控制装置,其中,所述处理模块配置为根据预设的暂停时间长度暂停下载,在经过预设的暂停时间长度时,计算当前的下载速率,在判断当前的下载速率仍然大于当前下载的片源的码率对应的下载速率的限速阈值时,再次暂停所述预设的暂停时间长度,直到当前的下载速率小于或等于当前下载的片源的码率对应的下载速率的限速阈值时再重新启动下载。
- 如权利要求11所述的下载控制装置,其中,所述处理模块配置为根据预设规则计算实际所需的暂停时间长度,根据计算出的实际所需的暂停时间长度暂停下载,在经过实际所需的暂停时间长度时重新启动下载,所述预设规则为当前已经下载的分片的量除以所述分片的片源对应的下载速率的限速阈值,再减去自开始下载所述分片到当前时刻的时间长度。
- 如权利要求10至13中的任一项所述的下载控制装置,其中,片源的码率对应的下载速率的限速阈值大于或等于当前码率相邻的高一级码率的对应片源的流畅播放速率,最高码率的片源对应的下载速率的限速阈值大于该最高码率的片源的流畅播放速率。
- 如权利要求14所述的下载控制装置,其中,所述处理模块还配置为检测下载当前码率的片源分片的实际下载速率,如果当前码率的片源分片的实际下载速率高于相邻的高一级码率片源的流畅播放速率,则下载完当前分片后,切换到该相邻的高一级码率的片源来下载下一分片。
- 如权利要求14所述的下载控制装置,其中,所述处理模块还配置为检测下载当前码率的片源分片的实际下载速率,如果当前码率的片源分片的实际下载速率低于当前片源的流畅播放速率,则下载完当前分片后,切换到相邻的低一级码率的片源来下载下一分片。
- 如权利要求10所述的下载控制装置,其中,获取的下载速率为从下载当前分片开始到当前时刻的时间段内的平均下载速率。
- 如权利要求10所述的下载控制装置,其中,片源的码率对应的下载速率的限速阈值大于该码率的片源的流畅播放速率,所述流畅播放速率为流畅播放所述片源的最小下载速率。
- 一种多媒体终端,包括:存储器,配置为存储下载控制程序;处理器,配置为执行所述存储器中存储的下载控制程序,以实现如权利要求1至9中的任一项所述的下载控制方法。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令被计算机执行来实现如权利要求1至9中的任一项所述的下载控制方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710525616.4 | 2017-06-30 | ||
CN201710525616.4A CN109218847B (zh) | 2017-06-30 | 2017-06-30 | 一种下载控制方法、装置以及多媒体终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019001407A1 true WO2019001407A1 (zh) | 2019-01-03 |
Family
ID=64741125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/092797 WO2019001407A1 (zh) | 2017-06-30 | 2018-06-26 | 下载控制方法及装置、多媒体终端、计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109218847B (zh) |
WO (1) | WO2019001407A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473248A (zh) * | 2020-03-30 | 2021-10-01 | 中国电信股份有限公司 | 流媒体传输方法、装置和计算机可读存储介质 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035014B (zh) * | 2019-03-21 | 2022-08-16 | 维沃移动通信有限公司 | 一种网络速度的控制方法、装置及移动终端 |
CN110401691B (zh) * | 2019-05-09 | 2021-11-16 | 腾讯科技(深圳)有限公司 | 一种资源下载控制方法、装置及终端 |
CN110430453B (zh) * | 2019-08-28 | 2022-03-25 | 咪咕视讯科技有限公司 | 视频多码率切换处理方法、装置、电子设备及存储介质 |
CN110740174A (zh) * | 2019-09-30 | 2020-01-31 | 北京字节跳动网络技术有限公司 | 文件下载限速方法、装置及电子设备 |
CN110868626B (zh) * | 2019-11-06 | 2021-06-11 | 北京达佳互联信息技术有限公司 | 一种内容数据预加载的方法及装置 |
CN111193772B (zh) * | 2019-12-05 | 2022-04-05 | 商客通尚景科技(上海)股份有限公司 | 文件下载方法及服务器 |
CN111917585A (zh) * | 2020-08-07 | 2020-11-10 | 湖南快乐阳光互动娱乐传媒有限公司 | 一种ota升级方法及装置 |
CN112153428B (zh) * | 2020-11-04 | 2022-07-12 | 上海连尚网络科技有限公司 | 视频的处理方法和装置 |
CN114827715B (zh) * | 2022-04-13 | 2024-08-27 | 海信视像科技股份有限公司 | 显示设备和媒资播放方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296184A (zh) * | 2008-05-30 | 2008-10-29 | 华为技术有限公司 | 一种数据传输的方法、系统及装置 |
CN102457486A (zh) * | 2010-10-19 | 2012-05-16 | 华为技术有限公司 | 一种媒体内容的传输方法及装置 |
CN106559715A (zh) * | 2016-11-23 | 2017-04-05 | 中国联合网络通信集团有限公司 | 移动网络视频传输优化方法及装置 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2590965C (en) * | 2004-12-24 | 2016-05-03 | Aspera, Inc. | Bulk data transfer |
CN102571894B (zh) * | 2010-12-07 | 2015-09-09 | 中国电信股份有限公司 | 在线流媒体传输控制方法及播放器 |
ES2401270B1 (es) * | 2011-03-17 | 2014-02-25 | Vodafone España, S.A.U. | Método y entidad de red para descargar vídeo en redes móviles |
US9306994B2 (en) * | 2012-06-06 | 2016-04-05 | Cisco Technology, Inc. | Stabilization of adaptive streaming video clients through rate limiting |
US8843656B2 (en) * | 2012-06-12 | 2014-09-23 | Cisco Technology, Inc. | System and method for preventing overestimation of available bandwidth in adaptive bitrate streaming clients |
CN104661088A (zh) * | 2013-11-22 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | 一种视频源切换方法及装置 |
CN103747283B (zh) * | 2013-12-24 | 2017-02-01 | 中国科学院声学研究所 | 视频分片的下载方法 |
CN103686448A (zh) * | 2013-12-25 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | 视频转码下载限速的方法和系统 |
CN106303563B (zh) * | 2016-08-19 | 2020-04-14 | 腾讯科技(深圳)有限公司 | 流媒体在线播放方法、装置、执行终端以及存储介质 |
-
2017
- 2017-06-30 CN CN201710525616.4A patent/CN109218847B/zh active Active
-
2018
- 2018-06-26 WO PCT/CN2018/092797 patent/WO2019001407A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296184A (zh) * | 2008-05-30 | 2008-10-29 | 华为技术有限公司 | 一种数据传输的方法、系统及装置 |
CN102457486A (zh) * | 2010-10-19 | 2012-05-16 | 华为技术有限公司 | 一种媒体内容的传输方法及装置 |
CN106559715A (zh) * | 2016-11-23 | 2017-04-05 | 中国联合网络通信集团有限公司 | 移动网络视频传输优化方法及装置 |
Non-Patent Citations (2)
Title |
---|
DING, XUEYAO: "The Study of Adaptive Streaming System Based on the DASH Protocol", MASTER'S DEGREE THESIS, 30 November 2013 (2013-11-30) * |
TRUONG, C. T. ET AL.: "Adaptive Streaming of Audiovisual Content using MPEG DASH", IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, vol. 58, no. 1, 21 March 2012 (2012-03-21), pages 78 - 85, XP011434215 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473248A (zh) * | 2020-03-30 | 2021-10-01 | 中国电信股份有限公司 | 流媒体传输方法、装置和计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN109218847B (zh) | 2022-03-04 |
CN109218847A (zh) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019001407A1 (zh) | 下载控制方法及装置、多媒体终端、计算机存储介质 | |
CN103051955B (zh) | 流媒体播放方法及装置 | |
KR101500892B1 (ko) | 적응 스트리밍을 위한 가변 비트 비디오 스트림들 | |
US9781183B2 (en) | Accelerated playback of streaming media | |
CA2840091C (en) | Fast start of streaming digital media playback with deferred license retrieval | |
US11282534B2 (en) | Systems and methods for intelligent playback | |
CN110198495B (zh) | 一种视频下载和播放的方法、装置、设备和存储介质 | |
US10091269B2 (en) | Buffering in HTTP streaming client | |
CN101409808B (zh) | 一种音频重采样方法、装置及一种数字电视芯片 | |
US20120141089A1 (en) | Variable Bit Video Streams for Adaptive Streaming | |
CN103596036B (zh) | 一种流媒体播放器智能缓冲方法 | |
CN110022498B (zh) | 一种实现码率切换的方法及装置 | |
CN106658226B (zh) | 一种播放方法及装置 | |
CN105025351A (zh) | 流媒体播放器缓冲的方法及装置 | |
CN101431638A (zh) | 一种媒体播放的音量调节方法和装置 | |
CN105072480B (zh) | 一种视频直播方法及装置 | |
US20160073153A1 (en) | Automated audio adjustment | |
CN107333163A (zh) | 一种视频处理方法及装置、一种终端及存储介质 | |
WO2015183466A1 (en) | Method for reducing pre-fetching of multimedia streaming data with minimal impact on playback user experience | |
CN101404741A (zh) | 一种音频播放装置、方法及一种数字电视芯片 | |
US20180020031A1 (en) | Method for adaptively streaming an audio/visual material | |
CN105791987B (zh) | 媒体数据播放的方法及终端 | |
WO2016112641A1 (zh) | 客户端、流媒体数据接收方法和流媒体数据传输系统 | |
WO2020155956A1 (zh) | 首帧均衡限流方法、装置、计算机设备及可读存储介质 | |
CN103686311A (zh) | 一种音视频播放方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18823420 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18823420 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/05/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18823420 Country of ref document: EP Kind code of ref document: A1 |