CN105872722A - Online video start playing caching system and method - Google Patents

Online video start playing caching system and method Download PDF

Info

Publication number
CN105872722A
CN105872722A CN201510974268.XA CN201510974268A CN105872722A CN 105872722 A CN105872722 A CN 105872722A CN 201510974268 A CN201510974268 A CN 201510974268A CN 105872722 A CN105872722 A CN 105872722A
Authority
CN
China
Prior art keywords
video
player
relief area
module
buffering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510974268.XA
Other languages
Chinese (zh)
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510974268.XA priority Critical patent/CN105872722A/en
Publication of CN105872722A publication Critical patent/CN105872722A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/266Channel 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/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides an online video start playing caching system and method. The system comprises a pre-caching module, a player, a video information analyzing module and a player control module. The pre-caching module is used for pre-caching received video data. The player is used for reading the video data from the pre-caching module, filling a caching region with the video data and playing the video data in response to a command of the player control module. The video analyzing module is used for analyzing the video data of the pre-caching module so as to obtain code rate information and transmitting the code rate information to the player control module. The player control module is used for setting the playing threshold value S of the caching region according to the code rate information and sending the playing command to the player when the data quantity in the cache region is greater than the playing threshold value S. According to the method and the system, the videos of various code rates can be adapted flexibly by dynamically setting start playing conditions, and especially the start playing speed of the video with the low code rate is improved.

Description

A kind of Online Video rises broadcasts buffer system and method
Technical field
The present invention relates to Technology of Multimedia Stream Playing field, be specifically related to a kind of Online Video and rise and broadcast buffering System and method.
Background technology
Online Video broadcasting is an important use scene of current Android device.Along with country Greatly developing of network bandwidth capital construction, the Internet bandwidth that current family uses growth at double. The resolution of Online Video also steps up.High definition (resolution is generally 720P) at present, full HD (point Resolution is 1080P), the even video of ultra high-definition (resolution is more than 1080P) has become everybody sight See the basic definition selected by Online Video.
Speed is broadcast in rising of Online Video, and i.e. clicking on and being played to the time that video the first frame picture show is to weigh One important indicator of amount Online Video Consumer's Experience.The difference of Online Video and local video is video Initial data deposit position is different, therefore before commencing play out (i.e. data being delivered to decoder), needs First to download data in the relief area of this locality.So broadcasting in speed rising, can be slower than local video Some.Playing, with this locality, the demand that video is consistent for realizing experiencing of user, different manufacturers is to slow as far as possible Size and buffering how many data of rushing district begin to play and set different standards.If the number of caching According to just playing very little, broadcasting speed can make broadcasting the phenomenon paused occur than speed of download soon, experiences not Good;If the data of caching the most just go to play, then acting the time broadcast can be elongated.
General player system on the market be the most all single be provided with relief area 2% rise broadcast bar Part, the so video council for some little code checks have caused broadcasts slower problem.
Summary of the invention
The technical problem to be solved in the present invention is that how improving rising of Online Video broadcasts speed.
Rise broadcast buffer system, including pre-buffering to this end, embodiments provide a kind of Online Video Module, player, video information are analyzed module and play control module, it is characterised in that:
The video data that described pre-buffering module is set to receiving carries out pre-buffering;
Described player is set to reading video data from described pre-buffering module and fills relief area, with And the order responding described broadcasting control module plays out;
Described analysis module is set to the video data analysis of described pre-buffering module is obtained code check Information, and described code rate information is passed to described player control module;
Described broadcasting control module is set to according to described code rate information the relief area of described player Play threshold value S to be configured, and after the data volume in relief area is more than playing threshold value S, to broadcasting Device sends play command, and wherein, described broadcasting control module is when arranging described broadcasting threshold value S, first Relatively play the size of video T second desired data amount S1 and the fixed threshold S2 of relief area, as S1 > S2, S=S2 is then set, as S1≤S2, then S=S1 is set.
Preferably, described fixed threshold S2 is the 2% of relief area.
Preferably, the described T second is 2 seconds.
The embodiment of the present invention additionally provides a kind of Online Video and rises and broadcast way to play for time, comprises the following steps:
Video data is carried out pre-buffering;
It is analyzed obtaining code rate information to the described video data of buffering;
Being configured broadcasting threshold value S of the relief area of player according to described code rate information, startup is broadcast Put device;
Read the described video data of buffering, fill the relief area of player;
After the data volume in described relief area is more than described threshold value S, sends to player and commence play out Order;
Play video;
Wherein, it is configured wrapping to broadcasting threshold value S of the relief area of player according to described code rate information Include:
Calculate video playback T second desired data amount S1;
Relatively S1 and the size of the fixed threshold S2 of relief area, as S1 > S2, then arrange S=S2, if S1≤S2, then arrange S=S1.
Preferably, described fixed threshold S2 is the 2% of relief area.
Preferably, the described T second is 2 seconds.
The embodiment of the present invention by dynamically having arranged the condition of broadcasting, can with the video of the various code check of flexible adaptation, It is improved particularly rising of little bit-rate video and has broadcast speed, effectively reduced the waiting time of user, improve use Family is experienced.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, under The accompanying drawing used required in detailed description of the invention or description of the prior art will be briefly described by face, It should be evident that the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is that the Online Video of the embodiment of the present invention acts the structured flowchart broadcasting buffer system;
Fig. 2 is that the Online Video of the embodiment of the present invention acts the flow chart broadcasting way to play for time.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is clearly and completely described, it is clear that Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on this Embodiment in bright, those of ordinary skill in the art are obtained under not making creative work premise Every other embodiment, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the Online Video in this preferred embodiment rises and broadcasts buffer system, including pre-buffering Module 11, player 17, video information are analyzed module 13 and play control module 15.
Above-mentioned pre-buffering module is set to receive the video that data reception module (not shown) sends over Data, and the video data received is carried out pre-buffering, then serve data to extraneous module and use, This data reception module is for from Network Capture data.
Above-mentioned player is set to reading video data from this pre-buffering module and fills relief area, and The order responding above-mentioned broadcasting control module plays out;
Above-mentioned video information is analyzed module and is set to from pre-buffering module reading video data, to video counts According to being analyzed obtaining code rate information, and code rate information is passed to player control module;
After above-mentioned broadcasting control module is set to receive the code rate information of video, according to code rate information to broadcasting Broadcasting threshold value S (unit is MB) putting the relief area of device is configured.When arranging broadcasting threshold value S, First compare the fixed threshold S2 (list playing video T second desired data amount S1 (unit is MB) with relief area Position be MB) size, as S1 > S2, then S=S2 is set, as S1≤S2, then S=S1 is set;Above-mentioned S, S1, S2 are positive number;
Above-mentioned broadcasting control module is after the data volume in relief area is more than playing threshold value S, to player Sending play command, player commences play out video.
Above-mentioned broadcasting threshold value is rising of video and broadcasts condition, as it was previously stated, existing player is the most pre- If the broadcasting threshold value of fixed size.And the present embodiment can dynamically arrange according to the code check of video and broadcast bar Part, if the coding of video is relatively big, then comes data cached according to the fixed numbers preset, if video Code check less, just reduce the data of caching according to the code check of video.Code check according to video comes rising It is optimized between sowing time, due to the video for little code check, decreases the waiting time of user, improve Consumer's Experience.
Preferably, above-mentioned fixed threshold S2 can but be not limited to the 2% of relief area.Fixed threshold is arranged Too much, the waste of system space will be caused, and increased between sowing time, and fixed threshold will be arranged Little, buffer after will having caused broadcasting and exhausted rapidly thus affect the normal play of video.Fixing threshold is set It is also contemplated that network speed during value, if network speed is the highest, can suitably reduce, if network speed is the lowest, Then should suitably increase.
Preferably, the above-mentioned T second can but be not limited to 2,10,20,50,100,120 seconds.T's Selection should also be as in view of network speed, if network speed is the highest, then need not buffered many data, and net Speed the slowest or unstable time, it would be desirable that many buffered datas so that video commence play out after as far as possible smoothness.
As in figure 2 it is shown, the Online Video in being originally preferable to carry out rises and broadcasts way to play for time, comprise the following steps:
Step S21, carries out pre-buffering to video data.
Specifically, this video is Online Video, including the video in the Internet or LAN.
Step S22, is analyzed obtaining code rate information to the video data of buffering.
Step S23, is configured broadcasting threshold value S of the relief area of player according to described code rate information, Start player.
Specifically, it is configured including to broadcasting threshold value S:
Calculate video playback T second desired data amount S1;
Relatively S1 and the size of the fixed threshold S2 of relief area, as S1 > S2, then arrange S=S2, if S1≤S2, then arrange S=S1.
Above-mentioned S, S1, S2 are positive number;
Step S24, reads the described video data of buffering, fills the relief area of player.
Step S25, after the data volume in relief area is more than threshold value S, sends to player and commences play out Order.
Step S26, plays video.
The present embodiment, can be various with flexible adaptation by dynamically having arranged, according to the code check of video, the condition of broadcasting The video of code check, has been improved particularly rising of little bit-rate video and has broadcast speed, when effectively reducing the wait of user Between, improve Consumer's Experience.
Preferably, above-mentioned fixed threshold S2 can but be not limited to the 2% of relief area.Fixed threshold is arranged Too much, the waste of system space will be caused, and increased between sowing time, and fixed threshold will be arranged Little, buffer after will having caused broadcasting and exhausted rapidly thus affect the normal play of video.Fixing threshold is set It is also contemplated that network speed during value, if network speed is the highest, can suitably reduce, if network speed is the lowest, Then should suitably increase.
Preferably, the above-mentioned T second can but be not limited to 2,10,20,50,100,120 seconds.T's Selection should also be as in view of network speed, if network speed is the highest, then need not buffered many data, and net Speed the slowest or unstable time, it would be desirable that many buffered datas so that video commence play out after as far as possible smoothness.
The following is a concrete Online Video and act the embodiment broadcasting way to play for time:
1, the buffer size arranging player is 18MB, and arrange that relief area commences play out fixing Threshold value S1 is the 2% of buffer size, i.e. 18MB x 2%=0.36MB, about 1080P video Play 2 seconds required buffer size;
2, the when of playing an Online Video, get the header of Online Video in advance, obtain file Size and playing duration;
3, the code check (unit is Mbps) of this video is calculated;
4,2 seconds desired data amount S2 (unit is MB): code check x 2 ÷ 8 of this video playback are calculated
5, the size of S1 and S2 is compared;
1) S1 > S2, policy selection S2 commenced play out, the data volume i.e. caching S2 begins to Play;
2) S1≤S2, policy selection S1 commenced play out, the data volume i.e. caching S1 is the most permissible Commence play out.
Obviously, above-described embodiment is only for clearly demonstrating example, and not to embodiment party The restriction of formula.For those of ordinary skill in the field, the most also may be used To make other changes in different forms.Here without also all of embodiment being given With exhaustive.And the obvious change thus extended out or variation are still in the guarantor of the invention Protect among scope.

Claims (6)

1. Online Video rises and broadcasts a buffer system, divides including pre-buffering module, player, video information Analysis module and broadcasting control module, it is characterised in that:
The video data that described pre-buffering module is set to receiving carries out pre-buffering;
Described player is set to reading video data from described pre-buffering module and fills relief area, and The order responding described broadcasting control module plays out;
Described analysis module is set to the video data analysis of described pre-buffering module is obtained code check Information, and described code rate information is passed to described player control module;
Described broadcasting control module is set to according to described code rate information the relief area of described player Play threshold value S to be configured, and after the data volume in relief area is more than playing threshold value S, to broadcasting Device sends play command, and wherein, described broadcasting control module is when arranging described broadcasting threshold value S, first Relatively play the size of video T second desired data amount S1 and the fixed threshold S2 of relief area, as S1 > S2, S=S2 is then set, as S1≤S2, then S=S1 is set.
2. online play buffering system as claimed in claim 1, it is characterised in that: described fixed threshold S2 is the 2% of relief area.
3. online play buffering system as claimed in claim 1, it is characterised in that: the described T second is 2 Second.
4. an Online Video rises and broadcasts way to play for time, it is characterised in that comprise the following steps:
Video data is carried out pre-buffering;
It is analyzed obtaining code rate information to the described video data of buffering;
According to described code rate information, broadcasting threshold value S of the relief area of player is configured, starts and play Device;
Read the described video data of buffering, fill the relief area of player;
After the data volume in described relief area is more than described threshold value S, sends to player and commence play out life Order;
Play video;
Wherein, it is configured including to broadcasting threshold value S of the relief area of player according to described code rate information:
Calculate video playback T second desired data amount S1;
Relatively S1 and the size of the fixed threshold S2 of relief area, as S1 > S2, then arrange S=S2, if S1 ≤ S2, then arrange S=S1.
5. method as claimed in claim 3, it is characterised in that: described fixed threshold S2 is relief area 2%.
6. method as claimed in claim 3, it is characterised in that: the described T second is 2 seconds.
CN201510974268.XA 2015-12-18 2015-12-18 Online video start playing caching system and method Pending CN105872722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510974268.XA CN105872722A (en) 2015-12-18 2015-12-18 Online video start playing caching system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510974268.XA CN105872722A (en) 2015-12-18 2015-12-18 Online video start playing caching system and method

Publications (1)

Publication Number Publication Date
CN105872722A true CN105872722A (en) 2016-08-17

Family

ID=56624502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510974268.XA Pending CN105872722A (en) 2015-12-18 2015-12-18 Online video start playing caching system and method

Country Status (1)

Country Link
CN (1) CN105872722A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412676A (en) * 2016-10-21 2017-02-15 乐视控股(北京)有限公司 Video code stream switching method and device, and electronic device
CN106658049A (en) * 2016-12-31 2017-05-10 深圳市优必选科技有限公司 Video playing buffer method and system
CN106792139A (en) * 2017-02-24 2017-05-31 腾讯科技(深圳)有限公司 A kind of data dispatching method and data dispatch equipment
CN106851337A (en) * 2017-02-21 2017-06-13 聚好看科技股份有限公司 Video buffer control method and device
CN108206969A (en) * 2016-12-16 2018-06-26 北京酷我科技有限公司 A kind of video playing quick start method and system
CN108259975A (en) * 2018-02-01 2018-07-06 广州市百果园信息技术有限公司 Video broadcasting method, storage medium and terminal
CN110677730A (en) * 2018-07-03 2020-01-10 微鲸科技有限公司 Play control method and device
CN111294634A (en) * 2020-02-27 2020-06-16 腾讯科技(深圳)有限公司 Live broadcast method, device, system, equipment and computer readable storage medium
CN114979771A (en) * 2022-07-26 2022-08-30 北京智象信息技术有限公司 Method, device and medium for controlling video pre-rolling water level of multimedia player

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802075A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Online play buffering system and method
CN102868908A (en) * 2011-07-04 2013-01-09 哈尔滨融智达网络科技有限公司 High-efficiency streaming media playing method and device
CN104219286A (en) * 2014-08-13 2014-12-17 腾讯科技(深圳)有限公司 Method and device for processing stream media, client, CDN (content delivery network) node server and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868908A (en) * 2011-07-04 2013-01-09 哈尔滨融智达网络科技有限公司 High-efficiency streaming media playing method and device
CN102802075A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Online play buffering system and method
CN104219286A (en) * 2014-08-13 2014-12-17 腾讯科技(深圳)有限公司 Method and device for processing stream media, client, CDN (content delivery network) node server and terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412676A (en) * 2016-10-21 2017-02-15 乐视控股(北京)有限公司 Video code stream switching method and device, and electronic device
CN108206969A (en) * 2016-12-16 2018-06-26 北京酷我科技有限公司 A kind of video playing quick start method and system
CN106658049A (en) * 2016-12-31 2017-05-10 深圳市优必选科技有限公司 Video playing buffer method and system
CN106658049B (en) * 2016-12-31 2019-08-30 深圳市优必选科技有限公司 A kind of video playing way to play for time and system
CN106851337A (en) * 2017-02-21 2017-06-13 聚好看科技股份有限公司 Video buffer control method and device
CN106851337B (en) * 2017-02-21 2019-12-24 聚好看科技股份有限公司 Video buffering control method and device
CN106792139A (en) * 2017-02-24 2017-05-31 腾讯科技(深圳)有限公司 A kind of data dispatching method and data dispatch equipment
CN108259975A (en) * 2018-02-01 2018-07-06 广州市百果园信息技术有限公司 Video broadcasting method, storage medium and terminal
CN108259975B (en) * 2018-02-01 2020-11-06 广州市百果园信息技术有限公司 Video playing method, storage medium and terminal
CN110677730A (en) * 2018-07-03 2020-01-10 微鲸科技有限公司 Play control method and device
CN111294634A (en) * 2020-02-27 2020-06-16 腾讯科技(深圳)有限公司 Live broadcast method, device, system, equipment and computer readable storage medium
CN111294634B (en) * 2020-02-27 2022-02-18 腾讯科技(深圳)有限公司 Live broadcast method, device, system, equipment and computer readable storage medium
CN114979771A (en) * 2022-07-26 2022-08-30 北京智象信息技术有限公司 Method, device and medium for controlling video pre-rolling water level of multimedia player

Similar Documents

Publication Publication Date Title
CN105872722A (en) Online video start playing caching system and method
US10972772B2 (en) Variable bit video streams for adaptive streaming
US9781183B2 (en) Accelerated playback of streaming media
US9648385B2 (en) Adaptive streaming for digital content distribution
US9521354B2 (en) Adaptive streaming for digital content distribution
US8689267B2 (en) Variable bit video streams for adaptive streaming
CN105100876B (en) A kind of playback method and device of Streaming Media
CN103916716B (en) The code rate smoothing method of realtime video transmission under a kind of wireless network
JP2014505425A (en) System and method for adaptive bitrate streaming based on stream delay and channel rate
AU2012207151A1 (en) Variable bit video streams for adaptive streaming
CN105323604A (en) QoE (Quality of Experience) driven HTTP streaming media on demand buffer area control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817