CN107396171A - Live network broadcast method, device and storage medium - Google Patents
Live network broadcast method, device and storage medium Download PDFInfo
- Publication number
- CN107396171A CN107396171A CN201710608303.5A CN201710608303A CN107396171A CN 107396171 A CN107396171 A CN 107396171A CN 201710608303 A CN201710608303 A CN 201710608303A CN 107396171 A CN107396171 A CN 107396171A
- Authority
- CN
- China
- Prior art keywords
- duration
- live data
- current period
- network
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 230000003139 buffering effect Effects 0.000 claims abstract description 104
- 230000006641 stabilisation Effects 0.000 claims description 19
- 238000011105 stabilization Methods 0.000 claims description 19
- 238000012546 transfer Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000007423 decrease Effects 0.000 claims description 7
- 241000208340 Araliaceae Species 0.000 claims description 6
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 6
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 6
- 235000008434 ginseng Nutrition 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/439—Processing of audio elementary streams
- H04N21/4392—Processing of audio elementary streams involving audio buffer management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44227—Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of live network broadcast method, device and storage medium, belong to network technique field.Methods described includes:During live data is played, periodically determined to refer to duration according to local terminal network state;The size for the reference duration that the duration of buffering live data that is more currently stored and not playing determines with current period;When the duration for buffering live data is less than the reference duration that current period determines, reduce the broadcasting speed of live data;When the duration for buffering live data is more than the reference duration that current period determines, increase the broadcasting speed of live data.The present invention reduces the broadcasting speed of the broadcasting speed of live data or increase live data by the length according to Current buffer live data with the relative size with reference to duration, flexibly have adjusted the length of buffering live data.Solve the problems, such as that the flexibility of live network broadcast method in correlation technique is poor.The effect for the length that buffering live data can be adjusted flexibly is reached.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of live network broadcast method, device and storage medium.
Background technology
Network direct broadcasting is that a kind of scene for being carried out by way of video and audio in the network platform emerging at present is straight
Broadcast.Spectators can watch network direct broadcasting by computer, mobile phone and flat board apparatus such as computer.
In a kind of live network broadcast method of correlation technique, client can persistently obtain live data from direct broadcast server (can
With including video data and voice data) and play, and in order to avoid becoming due to the network state of network residing for client
Interim card caused by change, client would generally store preset duration, and (duration of live data refers to play according to conventional broadcasting speed
Time span needed for live data, conventional broadcasting speed are determined in itself by live data) live data, be stored in client
In live data be properly termed as buffer live data, client while play buffering live data, can by network after
It is continuous to obtain buffering live data, it is always preset duration with the duration for keeping buffering live data, i.e., client is played straight
The delay of the preset duration, the so network in network residing for client with the live data that main broadcaster uploads in real time be present in multicast data
During state poor (such as network speed is unstable), the buffering live data for buffering can be still played.
During the present invention is realized, inventor has found that correlation technique at least has problems with:If when above-mentioned default
Longer, then the delay of the live data of client terminal playing is larger, influences live effect, if preset duration is shorter, client
When the network state of residing network changes, the broadcasting of live data may interim card, i.e. network direct broadcasting side in correlation technique
The flexibility of method is poor.
The content of the invention
In order to solve the problems, such as that the flexibility of the live network broadcast method in correlation technique is poor, the embodiments of the invention provide
A kind of live network broadcast method, device and storage medium.The technical scheme is as follows:
According to the first aspect of the invention, there is provided a kind of live network broadcast method, methods described include:
During live data is played, periodically determined to refer to duration according to local terminal network state;
The reference duration that the duration of buffering live data that is more currently stored and not playing determines with current period it is big
It is small;
When the duration of the buffering live data is less than the reference duration that the current period determines, reduce described live
The broadcasting speed of data;
When the duration of the buffering live data is more than the reference duration that the current period determines, increase is described live
The broadcasting speed of data.
Optionally, it is described during live data is played, periodically determined to refer to duration according to local terminal network state,
Including:
When playing the live data, periodically judge whether the network state reaches preparatory condition, it is described default
Condition reaches pre-set velocity including network transfer speeds and network stabilization reaches preset value;
Within each cycle, when the network state of current period is not up to the preparatory condition, by the current period
Reference duration be arranged to preset maximum duration Cm;
When the network state of current period is not up to the preparatory condition, then work as according to being set preset duration formula
The reference duration in preceding cycle, the preset duration formula are:
Wherein, the CyLess than the Cm,
The CxFor the reference duration of the current period, in the CxIt is described when not being the reference duration set first
Cx-1The reference duration set for the previous cycle of current period, in the CxFor set first reference duration when, the Cx-1
To preset initial duration, the default initial duration is less than or equal to the Cm, the CyFor the default duration that successively decreases, the CnFor
Preset minimum duration.
Optionally, when the duration in the buffering live data is less than the reference duration that the current period determines,
Reduce the broadcasting speed of the live data, including:
When the duration of the buffering live data is less than the reference duration that the current period determines, slow down according to first
Formula determines the broadcasting speed of the live data after slowing down, and the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/
Cm)), wherein, Vn<V100, the VxFor the broadcasting speed of the live data after deceleration, the VnFor the first minimum broadcasting speed
Degree, the V100For conventional broadcasting speed, the CcFor the duration of the buffering live data.
Optionally, methods described also includes:
When the duration of the buffering live data is less than minimum threshold, according to determining after slowing down the second deceleration formula
The broadcasting speed of live data, the second deceleration formula are:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, institute
State CcnLess than the Cn, the VnnFor the second minimum broadcasting speed, the V50For parameter preset, the CcnThe minimum threshold.
Optionally, it is described when playing the live data, periodically judge whether the network state reaches default bar
Part, including:
Within each cycle, judge whether the network stabilization of current period reaches described pre- by the Internet packets survey meter
If value;
Within each cycle, by whether occur in the previous cycle of the current period network interim card judge it is described current
Whether the transmission speed of the network in cycle reaches the Preset Transfer speed.
Optionally, when the duration in the buffering live data is more than the reference duration that the current period determines,
Increase the broadcasting speed of the live data, including:
When the duration of the buffering live data is more than the reference duration that the current period determines, by the live number
According to broadcasting speed be defined as PV100, the P is predetermined coefficient more than 1, the V100For conventional broadcasting speed.
Optionally, methods described also includes:It is equal to what the current period determined in the duration of the buffering live data
During with reference to duration, the live data is played with conventional broadcasting speed.
According to the second aspect of the invention, there is provided a kind of network direct broadcasting device, the network direct broadcasting device include:
Duration determining module, for during live data is played, periodically determining to join according to local terminal network state
Examine duration;
Comparison module, what the duration for buffering live data that is more currently stored and not playing determined with current period
With reference to the size of duration;
Slowdown module, for being less than the reference duration of current period determination in the duration of the buffering live data
When, reduce the broadcasting speed of the live data;
Accelerating module, for being more than the reference duration of current period determination in the duration of the buffering live data
When, increase the broadcasting speed of the live data.
Optionally, the duration determining module, including:
Network judging submodule, for when playing the live data, periodically judging whether the network state reaches
To preparatory condition, the preparatory condition reaches pre-set velocity including network transfer speeds and network stabilization reaches preset value;
First sets submodule, within each cycle, when the network state of current period is not up to the default bar
During part, the reference duration of the current period is arranged to preset maximum duration Cm;
Second sets submodule, when the network state of current period is not up to the preparatory condition, then when basis is default
Long formula sets the reference duration of the current period, and the preset duration formula is:
Wherein, the CyLess than the Cm,
The CxFor the reference duration of the current period, in the CxIt is described when not being the reference duration set first
Cx-8The reference duration set for the previous cycle of current period, in the CxFor set first reference duration when, the Cx-8
To preset initial duration, the default initial duration is less than or equal to the Cm, the CyFor the default duration that successively decreases, the CnFor
Preset minimum duration.
Optionally, the slowdown module, is used for:
When the duration of the buffering live data is less than the reference duration that the current period determines, slow down according to first
Formula determines the broadcasting speed of the live data after slowing down, and the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/
Cm)), wherein, Vn<V800, the VxFor the broadcasting speed of the live data after deceleration, the VnFor the first minimum broadcasting speed
Degree, the V800For conventional broadcasting speed, the CcFor the duration of the buffering live data.
Optionally, the network direct broadcasting device also includes:Minimum deceleration module, for it is described buffering live data when
When length is less than minimum threshold, the broadcasting speed of the live data after slowing down is determined according to the second deceleration formula, described second subtracts
Fast formula is:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, the CcnLess than the Cn, the VnnFor second most
Small broadcasting speed, the V50For parameter preset, the CcnThe minimum threshold.
Optionally, the network judging submodule is used for:
Within each cycle, judge whether the network stabilization of current period reaches described pre- by the Internet packets survey meter
If value;
Within each cycle, by whether occur in the previous cycle of the current period network interim card judge it is described current
Whether the transmission speed of the network in cycle reaches the Preset Transfer speed.
Optionally, the accelerating module, is used for:
When the duration of the buffering live data is more than the reference duration that the current period determines, by the live number
According to broadcasting speed be defined as PV100, the P is predetermined coefficient more than 1, the V800For conventional broadcasting speed.
Optionally, the network direct broadcasting device also includes:Conventional playing module, for it is described buffering live data when
When length is equal to the reference duration that the current period determines, the live data is played with conventional broadcasting speed.
According to the third aspect of the invention we, there is provided a kind of storage medium, instruction is stored with the storage medium, when described
Storage medium on network direct broadcasting device when running so that the network direct broadcasting device performs the network direct broadcasting described in first aspect
Method.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By being determined to refer to duration according to local terminal network state, and according to buffering live data that is currently stored and not playing
Length with reference to duration relative size come reduce the broadcasting speed of live data or increase live data broadcasting speed, spirit
The length that have adjusted buffering live data living.Solve the problems, such as that the flexibility of live network broadcast method in correlation technique is poor.
The length of buffering live data can be adjusted flexibly according to the length of buffering live data with the relative size with reference to duration by having reached
The effect of degree.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the implementation environment schematic diagram for the live network broadcast method that each embodiment of the present invention is provided;
Fig. 2 is a kind of flow chart of live network broadcast method shown in the embodiment of the present invention;
Fig. 3-1 is the flow chart of another live network broadcast method shown in the embodiment of the present invention;
Fig. 3-2 is to judge whether network state reaches the flow chart of preparatory condition in Fig. 3-1 illustrated embodiments;
Fig. 4-1 is a kind of block diagram of network direct broadcasting device shown in the embodiment of the present invention;
Fig. 4-2 is a kind of block diagram of duration determining module in Fig. 4-1 illustrated embodiments;
Fig. 4-3 is the structured flowchart of another network direct broadcasting device provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart of another network direct broadcasting device provided in an embodiment of the present invention.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the present invention, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of present inventive concept by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate idea of the invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the implementation environment schematic diagram for the live network broadcast method that each embodiment of the present invention is provided, the implementation environment
The webserver 11, user terminal 12 and live on-site terminal 13 can be included.The webserver 11 and user terminal 12 and
Connection can be established by wired or wireless mode between live on-site terminal 13.
The webserver 11 can be single server or server cluster, and the webserver 11 can be live flat
The server of platform, for providing live data to user terminal 12.
User terminal 12 can be computer, notebook computer, mobile phone, tablet personal computer and intelligent wearable device etc..With
Family terminal 12 can run client, and the client can include being used for player (such as ijkplayer for playing live data
Player), user terminal 12 can obtain live data from the webserver 11 by the client and play.
Live on-site terminal 13 can be computer, notebook computer, mobile phone, tablet personal computer and intelligent wearable device
Deng.Terminal 13 can run client, and terminal 13 can upload live number to the webserver 11 in real time by the client
According to.
Fig. 2 is a kind of flow chart of live network broadcast method shown in the embodiment of the present invention.The live network broadcast method can answer
For in the user terminal 12 in implementation environment shown in Fig. 1, the network direct broadcasting can to include the following steps:
Step 201, during live data is played, periodically according to local terminal network state determine refer to duration.
Step 202, more currently stored and the duration of buffering live data not played and the reference of current period determination
The size of duration.
Step 203, buffer live data duration be less than current period determine reference duration when, reduction live data
Broadcasting speed.
Step 204, buffer live data duration be more than current period determine reference duration when, increase live data
Broadcasting speed.
In summary, live network broadcast method provided in an embodiment of the present invention, by determining to refer to according to local terminal network state
Duration, and the length according to buffering live data that is currently stored and not playing and the relative size with reference to duration are live to reduce
The broadcasting speed of data or the broadcasting speed for increasing live data, flexibly have adjusted the length of buffering live data.Solve
The problem of flexibility of live network broadcast method is poor in correlation technique.Having reached can be according to the length and ginseng of buffering live data
The effect for the length for buffering live data is adjusted flexibly in the relative size for examining duration.
Fig. 3-1 is the flow chart of another live network broadcast method shown in the embodiment of the present invention.The live network broadcast method can
With applied in the user terminal 12 in implementation environment shown in Fig. 1.The network direct broadcasting can include the following steps:
Step 301, when playing live data, periodically judge whether network state reaches preparatory condition.In each week
In phase, when the network state of current period, which reaches, does not arrive preparatory condition, step 302 is performed;Reached in the network state of current period
During to preparatory condition, step 303 is performed.
Terminal can carve at the beginning of each cycle judges whether the network state of local terminal reaches preparatory condition.Wherein,
Each cycle can be 10 seconds, and preparatory condition can reach pre-set velocity including network transfer speeds and network stabilization reaches
Preset value.
As shown in figure 3-2, this step can include following two sub-step:
Sub-step 3011, within each cycle, the network stabilization for judging current period by the Internet packets survey meter is
It is no to reach preset value.
The Internet packets survey meter (English:Packet Internet Groper;Referred to as:PING it is) that one kind is used for Test Network
The program of network stability.Terminal, can be with every when whether the network stabilization that current period is judged by PING reaches preset value
Every preset time period (such as 2 seconds), to reference server, (reference server is the stable server for reference, such as Baidu's server
Deng) and Fig. 1 shown in the webserver send PING packets respectively, return to the time of PING packets in two servers
When difference exceedes predetermined time period (such as 300 milliseconds) or does not receive the PING packets of two servers returns, it is determined that
The network stabilization of current period, which reaches, does not arrive preset value, and in other situations, it may be determined that the network stabilization of current period reaches
To preset value.Judge that network stabilization can also refer to correlation technique by PING, will not be repeated here.
Further, it is also possible to judge whether the network stabilization of current period reaches by the other modes in correlation technique
Preset value.
Sub-step 3012, within each cycle, by whether occur in the previous cycle of current period network interim card judge
Whether the transmission speed of the network of current period reaches Preset Transfer speed.
Interim card occurred within the previous cycle of current period, terminal can determine the transmission speed of the network of current period
Not up to Preset Transfer speed.Exemplary, interim card can refer to that video blocks 300 milliseconds or audio blocks 150 milliseconds.
Further, it is also possible to whether judge the transmission speed of the network of current period by the other modes in correlation technique
Reach Preset Transfer speed.
Step 302, by the reference duration of current period be arranged to preset maximum duration Cm.Perform step 304.
Within each cycle, when the network state of current period is not up to preparatory condition, show current network state not
Good, the reference duration of current period can be arranged to preset maximum duration C by terminalm, it is exemplary, preset maximum duration CmCan
Think 6 seconds.
Step 303, the reference duration according to preset duration formula setting current period.Perform step 304.
When the network state of current period reaches preparatory condition, show that current network state is preferable, then when basis is default
Long formula sets the reference duration of current period.
Preset duration formula can be:
Wherein, CyLess than Cm。
Wherein, CxFor the reference duration of current period, in CxWhen not being the reference duration set first, Cx-1For current period
The previous cycle set reference duration, in CxFor set first reference duration when, Cx-1To preset initial duration, preset just
Beginning duration is less than or equal to Cm, CyFor the default duration that successively decreases, CnTo preset minimum duration.Exemplary, the default duration C that successively decreasesyFor
2 seconds, preset minimum duration CnFor 2 seconds, being more than or equal to 2 seconds for initial duration is preset, and less than or equal to 6 seconds.
The size for the buffering area for being used to store buffering live data in terminal is may be considered with reference to duration.Correlation technique
In, what the size of buffering area was usually fixed.And in live network broadcast method provided in an embodiment of the present invention, terminal can be according to net
Network state and data cached size dynamic adjust the size of buffering area.
Step 304, more currently stored and the duration of buffering live data not played and the reference of current period determination
The size of duration.When the duration for buffering live data is less than the reference duration that current period determines, step 305 is performed;Slow
When rushing the duration of live data more than the reference duration that current period determines, step 308 is performed;In the duration of buffering live data
Equal to current period determine reference duration when, execution step 309.
Buffering live data that is currently stored and not playing is really that terminal obtains from the webserver and to play
Live data, this part live data can be stored in buffer, and terminal can be with the live data in play-out buffer, and incites somebody to action
The live data played is deleted, while continues to obtain live data from the webserver, and such buffer just can be all the time
Preserve some buffering live data not played.
If network state is poor, the speed that terminal obtains live data is slower, such as the broadcasting speed of uncomfortable straightening multicast data,
Then the buffering live data of terminal storage may be less and less.
Step 305, buffer live data duration be less than current period determine reference duration when, with broadcasting after deceleration
Put speed and play live data.Perform step 306.
When the duration for buffering live data is less than the reference duration that current period determines, show the live number of current buffering
According to less, such as continue to play live data according to conventional broadcasting speed, in fact it could happen that the situation of interim card, now terminal can basis
First deceleration formula determines the broadcasting speed of live data after slowing down, and the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/
Cm)), wherein, Vn<V100, VxFor the broadcasting speed of live data after deceleration, VnFor the first minimum broadcasting speed, V100Broadcast to be conventional
Put speed, CcTo buffer the duration of live data, according to the first deceleration formula, the broadcasting speed of live data is in V100To VnIt
Between.Wherein, conventional broadcasting speed is generally determined by the attribute (such as frame number) of live data in itself, and the first minimum broadcasting speed can be with
For 80%V100。
Whether step 306, the duration for judging to buffer live data are less than minimum threshold, small in the duration of buffering live data
When minimum threshold, step 307 is performed;When the duration for buffering live data is not less than minimum threshold, step 305 is performed.
Minimum threshold, which is less than, presets minimum duration, and whether terminal is less than Minimum Threshold by the duration for judging to buffer live data
Value, it may be determined that whether terminal plays live data is on the verge of interim card.
Step 307, the broadcasting speed according to live data after the determination deceleration of the second deceleration formula.
When the duration for buffering live data is less than minimum threshold, show that the duration for buffering live data is minimum, now eventually
Interim card may occur in a short time for end, and the broadcasting speed of live data after slowing down can be now determined by the second deceleration formula
Degree, the second deceleration formula are:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, CcnLess than Cn, VnnBroadcast for the second minimum
Put speed, V50For parameter preset, CcnMinimum threshold, CcTo buffer the duration of live data.It is live according to the second deceleration formula
The broadcasting speed of data is in VnnTo Vnn+V50Between.It is exemplary, the second minimum broadcasting speed VnnCan be 20%V100, preset ginseng
Number V50Can be 50%V100, minimum threshold CcnCan be 0.5.
After further slowing down by the second deceleration formula, when can reduce terminal plays live data, the possibility of interim card
Property.
Step 308, buffer live data duration be more than current period determine reference duration when, with broadcasting after acceleration
Put speed and play live data.
When the duration for buffering live data is more than the reference duration that current period determines, show the live number of current buffering
According to more, the delay for the live data that the live data that terminal is played uploads in real time with live on-site terminal is larger, now may be used
To accelerate to play live data, when accelerating to play live data, the broadcasting speed of live data can be defined as PV100,
P is predetermined coefficient more than 1, V100For conventional broadcasting speed.P can be less than 1.2, such as P can be 1.05, so can be
The spectators of terminal are difficult to reduce above-mentioned delay in the case of realizing.
Step 309, when the duration for buffering live data is equal to reference the duration that current period determines, with it is conventional play it is fast
Degree plays live data.
When the duration for buffering live data is equal to the reference duration that current period determines, show Current buffer live data
Duration and network state it is more good, live data can be played with conventional broadcasting speed.
Live network broadcast method provided in an embodiment of the present invention, when the network state of terminal is poor, terminal can increase reference
Duration, and the time that interim card occurs is postponed by slowing down, to ensure that user watches live fluency.And in the network of terminal
When state is preferable, can progressively reduce and refer to duration, with reduce live data that terminal played and live on-site terminal it is real-time on
The delay of the live data of biography, improve user and watch live viewing experience.
In summary, live network broadcast method provided in an embodiment of the present invention, by determining to refer to according to local terminal network state
Duration, and the length according to buffering live data that is currently stored and not playing and the relative size with reference to duration are live to reduce
The broadcasting speed of data or the broadcasting speed for increasing live data, flexibly have adjusted the length of buffering live data.Solve
The problem of flexibility of live network broadcast method is poor in correlation technique.Having reached can be according to the length and ginseng of buffering live data
The effect for the length for buffering live data is adjusted flexibly in the relative size for examining duration.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 4-1 is a kind of block diagram of network direct broadcasting device shown in the embodiment of the present invention, and the bat network direct broadcasting device can be with
Pass through being implemented in combination with as some or all of of the user terminal in implementation environment shown in Fig. 1 for software, hardware or both.
The network direct broadcasting device 400 can include:
Duration determining module 410, for during live data is played, periodically being determined according to local terminal network state
With reference to duration;
Comparison module 420, the duration and current period for buffering live data that is more currently stored and not playing are true
The size of fixed reference duration.
Slowdown module 430, for when buffering the duration of live data less than the reference duration that current period determines, reducing
The broadcasting speed of live data.
Accelerating module 440, for when buffering the duration of live data more than the reference duration that current period determines, increasing
The broadcasting speed of live data.
In summary, network direct broadcasting device provided in an embodiment of the present invention, by determining to refer to according to local terminal network state
Duration, and the length according to buffering live data that is currently stored and not playing and the relative size with reference to duration are live to reduce
The broadcasting speed of data or the broadcasting speed for increasing live data, flexibly have adjusted the length of buffering live data.Solve
The problem of flexibility of live network broadcast method is poor in correlation technique.Having reached can be according to the length and ginseng of buffering live data
The effect for the length for buffering live data is adjusted flexibly in the relative size for examining duration.
Optionally, as shown in the Fig. 4-2, duration determining module 410, including:
Network judging submodule 411, for when playing live data, periodically judging whether network state reaches default
Condition, preparatory condition reaches pre-set velocity including network transfer speeds and network stabilization reaches preset value;
First sets submodule 412, within each cycle, when the network state of current period is not up to preparatory condition
When, the reference duration of current period is arranged to preset maximum duration Cm;
Second sets submodule 413, when the network state of current period is not up to preparatory condition, then according to preset duration
Formula sets the reference duration of current period, and preset duration formula is:
Wherein, CyLess than Cm,
CxFor the reference duration of current period, in CxWhen not being the reference duration set first, Cx-8Before current period
The reference duration that one cycle was set, in CxFor set first reference duration when, Cx-8To preset initial duration, when presetting initial
Length is less than or equal to Cm, CyFor the default duration that successively decreases, CnTo preset minimum duration.
Optionally, slowdown module 430, it is used for:
When the duration for buffering live data is less than the reference duration that current period determines, determined according to the first deceleration formula
The broadcasting speed of live data after deceleration, the first deceleration formula are:Vx=Vn+((V100-Vn)·(Cc/Cm)), wherein, Vn<V800,
VxFor the broadcasting speed of live data after deceleration, VnFor the first minimum broadcasting speed, V800For conventional broadcasting speed, CcIt is straight to buffer
The duration of multicast data.
Optionally, network direct broadcasting device also includes:Minimum deceleration module, for being less than most in the duration of buffering live data
During small threshold value, the broadcasting speed of live data after slowing down is determined according to the second deceleration formula, the second deceleration formula is:Vx=Vnn+
(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, CcnLess than Cn, VnnFor the second minimum broadcasting speed, V50For parameter preset, CcnMost
Small threshold value.
Optionally, network judging submodule 411 is used for:
Within each cycle, judge whether the network stabilization of current period reaches default by the Internet packets survey meter
Value;
Within each cycle, the net that judges current period by the way that network interim card whether occurs in the previous cycle of current period
Whether the transmission speed of network reaches Preset Transfer speed.
Optionally, accelerating module 440, it is used for:
When the duration for buffering live data is more than the reference duration that current period determines, by the broadcasting speed of live data
It is defined as PV100, P is predetermined coefficient more than 1, V800For conventional broadcasting speed.
Optionally, as shown in Fig. 4-3, it is the structural frames of another network direct broadcasting device provided in an embodiment of the present invention
Figure, the network direct broadcasting device 400 also include:Conventional playing module 450, for being equal to current week in the duration of buffering live data
During the reference duration that the phase determines, live data is played with conventional broadcasting speed.
In summary, network direct broadcasting device provided in an embodiment of the present invention, by determining to refer to according to local terminal network state
Duration, and the length according to buffering live data that is currently stored and not playing and the relative size with reference to duration are live to reduce
The broadcasting speed of data or the broadcasting speed for increasing live data, flexibly have adjusted the length of buffering live data.Solve
The problem of flexibility of live network broadcast method is poor in correlation technique.Having reached can be according to the length and ginseng of buffering live data
The effect for the length for buffering live data is adjusted flexibly in the relative size for examining duration.
Fig. 5 is a kind of block diagram of device 500 for network direct broadcasting according to an exemplary embodiment.For example, dress
It can be mobile phone to put 500, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing component 502, memory 504, power supply
Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Processing component 502 can refer to including one or more processors 520 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 502 can include one or more modules, just
Interaction between processing component 502 and other assemblies.For example, processing component 502 can include multi-media module, it is more to facilitate
Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown
Example includes the instruction of any application program or method for operating on device 500, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 is in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike
Wind (MIC), when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set
Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device
Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500
Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in no any physical contact
The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 500
When device performs so that device 500 is able to carry out the live network broadcast method that above-mentioned each embodiment provides.
The embodiment of the present invention also provides a kind of storage medium, and instruction is stored with the storage medium, when storage medium is in net
When being run on network live broadcast device so that network direct broadcasting device performs above-described embodiment and provides live network broadcast method.For example, this method
Including:
During live data is played, periodically determined to refer to duration according to local terminal network state;
The reference duration that the duration of buffering live data that is more currently stored and not playing determines with current period it is big
It is small;
When the duration of the buffering live data is less than the reference duration that the current period determines, reduce described live
The broadcasting speed of data;
When the duration of the buffering live data is more than the reference duration that the current period determines, increase is described live
The broadcasting speed of data.
Optionally, it is described during live data is played, periodically determined to refer to duration according to local terminal network state,
Including:
When playing the live data, periodically judge whether the network state reaches preparatory condition, it is described default
Condition reaches pre-set velocity including network transfer speeds and network stabilization reaches preset value;
Within each cycle, when the network state of current period is not up to the preparatory condition, by the current period
Reference duration be arranged to preset maximum duration Cm;
When the network state of current period is not up to the preparatory condition, then work as according to being set preset duration formula
The reference duration in preceding cycle, the preset duration formula are:
Wherein, the CyLess than the Cm,
The CxFor the reference duration of the current period, in the CxIt is described when not being the reference duration set first
Cx-1The reference duration set for the previous cycle of current period, in the CxFor set first reference duration when, the Cx-1
To preset initial duration, the default initial duration is less than or equal to the Cm, the CyFor the default duration that successively decreases, the CnFor
Preset minimum duration.
Optionally, when the duration in the buffering live data is less than the reference duration that the current period determines,
Reduce the broadcasting speed of the live data, including:
When the duration of the buffering live data is less than the reference duration that the current period determines, slow down according to first
Formula determines the broadcasting speed of the live data after slowing down, and the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/
Cm)), wherein, Vn<V100, the VxFor the broadcasting speed of the live data after deceleration, the VnFor the first minimum broadcasting speed
Degree, the V100For conventional broadcasting speed, the CcFor the duration of the buffering live data.
Optionally, methods described also includes:
When the duration of the buffering live data is less than minimum threshold, according to determining after slowing down the second deceleration formula
The broadcasting speed of live data, the second deceleration formula are:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, institute
State CcnLess than the Cn, the VnnFor the second minimum broadcasting speed, the V50For parameter preset, the CcnThe minimum threshold.
Optionally, it is described when playing the live data, periodically judge whether the network state reaches default bar
Part, including:
Within each cycle, judge whether the network stabilization of current period reaches described pre- by the Internet packets survey meter
If value;
Within each cycle, by whether occur in the previous cycle of the current period network interim card judge it is described current
Whether the transmission speed of the network in cycle reaches the Preset Transfer speed.
Optionally, when the duration in the buffering live data is more than the reference duration that the current period determines,
Increase the broadcasting speed of the live data, including:
When the duration of the buffering live data is more than the reference duration that the current period determines, by the live number
According to broadcasting speed be defined as PV100, the P is predetermined coefficient more than 1, the V100For conventional broadcasting speed.
Optionally, methods described also includes:It is equal to what the current period determined in the duration of the buffering live data
During with reference to duration, the live data is played with conventional broadcasting speed.
In the present invention, term " first " and " second " are only used for describing purpose, and it is not intended that instruction or hint phase
To importance.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or module
Letter connection, can be electrical, mechanical or other forms.
The module illustrated as separating component can be or may not be physically separate, show as module
The part shown can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (15)
1. a kind of live network broadcast method, it is characterised in that methods described includes:
During live data is played, periodically determined to refer to duration according to local terminal network state;
The size for the reference duration that the duration of buffering live data that is more currently stored and not playing determines with current period;
When the duration of the buffering live data is less than the reference duration that the current period determines, reduce the live data
Broadcasting speed;
When the duration of the buffering live data is more than the reference duration that the current period determines, increase the live data
Broadcasting speed.
2. according to the method for claim 1, it is characterised in that described during live data is played, periodicity root
Determine to refer to duration according to local terminal network state, including:
When playing the live data, periodically judge whether the network state reaches preparatory condition, the preparatory condition
Reach pre-set velocity including network transfer speeds and network stabilization reaches preset value;
Within each cycle, when the network state of current period is not up to the preparatory condition, by the ginseng of the current period
Duration is examined to be arranged to preset maximum duration Cm;
When the network state of current period is not up to the preparatory condition, then the current week is set according to preset duration formula
The reference duration of phase, the preset duration formula are:
Wherein, the CyLess than the Cm,
The CxFor the reference duration of the current period, in the CxWhen not being the reference duration set first, the Cx-1For
The reference duration that the previous cycle of current period is set, in the CxFor set first reference duration when, the Cx-1It is default
Initial duration, the default initial duration are less than or equal to the Cm, the CyFor the default duration that successively decreases, the CnTo preset most
Small duration.
3. according to the method for claim 2, it is characterised in that the duration in the buffering live data is less than described
During the reference duration that current period determines, reduce the broadcasting speed of the live data, including:
When the duration of the buffering live data is less than the reference duration that the current period determines, according to the first deceleration formula
It is determined that after slowing down the live data broadcasting speed, the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/Cm)),
Wherein, Vn<V100, the VxFor the broadcasting speed of the live data after deceleration, the VnIt is described for the first minimum broadcasting speed
V100For conventional broadcasting speed, the CcFor the duration of the buffering live data.
4. according to the method for claim 3, it is characterised in that methods described also includes:
When the duration of the buffering live data is less than minimum threshold, determined according to the second deceleration formula described live after slowing down
The broadcasting speed of data, the second deceleration formula are:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+V50<Vn, the Ccn
Less than the Cn, the VnnFor the second minimum broadcasting speed, the V50For parameter preset, the CcnThe minimum threshold.
5. according to the method for claim 2, it is characterised in that it is described when playing the live data, periodically judge
Whether the network state reaches preparatory condition, including:
Within each cycle, judge whether the network stabilization of current period reaches described default by the Internet packets survey meter
Value;
Within each cycle, the current period is judged by the way that network interim card whether occurs in the previous cycle of the current period
The transmission speed of network whether reach the Preset Transfer speed.
6. method according to any one of claims 1 to 5, it is characterised in that the duration in the buffering live data
During the reference duration determined more than the current period, increase the broadcasting speed of the live data, including:
When the duration of the buffering live data is more than the reference duration that the current period determines, by the live data
Broadcasting speed is defined as PV100, the P is predetermined coefficient more than 1, the V100For conventional broadcasting speed.
7. method according to any one of claims 1 to 5, it is characterised in that methods described also includes:
When the duration of the buffering live data is equal to the reference duration that the current period determines, broadcast with conventional broadcasting speed
Put the live data.
8. a kind of network direct broadcasting device, it is characterised in that the network direct broadcasting device includes:
Duration determining module, for during live data is played, when periodically determining to refer to according to local terminal network state
It is long;
Comparison module, the reference that the duration for buffering live data that is more currently stored and not playing determines with current period
The size of duration;
Slowdown module, for when the duration of the buffering live data is less than the reference duration that the current period determines, subtracting
The broadcasting speed of the small live data;
Accelerating module, for when the duration of the buffering live data is more than the reference duration that the current period determines, increasing
The broadcasting speed of the big live data.
9. network direct broadcasting device according to claim 8, it is characterised in that the duration determining module, including:
Network judging submodule, for when playing the live data, periodically judging whether the network state reaches pre-
If condition, the preparatory condition reaches pre-set velocity including network transfer speeds and network stabilization reaches preset value;
First sets submodule, within each cycle, when the network state of current period is not up to the preparatory condition,
The reference duration of the current period is arranged to preset maximum duration Cm;
Second sets submodule, when the network state of current period is not up to the preparatory condition, then public according to preset duration
Formula sets the reference duration of the current period, and the preset duration formula is:
Wherein, the CyLess than the Cm,
The CxFor the reference duration of the current period, in the CxWhen not being the reference duration set first, the Cx-8For
The reference duration that the previous cycle of current period is set, in the CxFor set first reference duration when, the Cx-8It is default
Initial duration, the default initial duration are less than or equal to the Cm, the CyFor the default duration that successively decreases, the CnTo preset most
Small duration.
10. network direct broadcasting device according to claim 9, it is characterised in that the slowdown module, be used for:
When the duration of the buffering live data is less than the reference duration that the current period determines, according to the first deceleration formula
It is determined that after slowing down the live data broadcasting speed, the first deceleration formula is:Vx=Vn+((V100-Vn)·(Cc/Cm)),
Wherein, Vn<V800, the VxFor the broadcasting speed of the live data after deceleration, the VnIt is described for the first minimum broadcasting speed
V800For conventional broadcasting speed, the CcFor the duration of the buffering live data.
11. network direct broadcasting device according to claim 10, it is characterised in that the network direct broadcasting device also includes:Most
Small slowdown module, for when the duration of the buffering live data is less than minimum threshold, determining to subtract according to the second deceleration formula
The broadcasting speed of the live data after speed, the second deceleration formula are:Vx=Vnn+(V50·(Cc/Ccn)), wherein, Vnn+
V50<Vn, the CcnLess than the Cn, the VnnFor the second minimum broadcasting speed, the V50For parameter preset, the CcnIt is described
Minimum threshold.
12. network direct broadcasting device according to claim 9, it is characterised in that the network judging submodule is used for:
Within each cycle, judge whether the network stabilization of current period reaches described default by the Internet packets survey meter
Value;
Within each cycle, the current period is judged by the way that network interim card whether occurs in the previous cycle of the current period
The transmission speed of network whether reach the Preset Transfer speed.
13. according to any described network direct broadcasting device of claim 8 to 12, it is characterised in that the accelerating module, be used for:
When the duration of the buffering live data is more than the reference duration that the current period determines, by the live data
Broadcasting speed is defined as PV100, the P is predetermined coefficient more than 1, the V800For conventional broadcasting speed.
14. according to any described network direct broadcasting device of claim 8 to 12, it is characterised in that the network direct broadcasting device is also
Including:Conventional playing module, for being equal to the reference duration of current period determination in the duration of the buffering live data
When, the live data is played with conventional broadcasting speed.
15. a kind of storage medium, it is characterised in that instruction is stored with the storage medium, when the storage medium is in network
When being run on live broadcast device so that the network direct broadcasting device perform claim requires any described live network broadcast methods of 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710608303.5A CN107396171A (en) | 2017-07-24 | 2017-07-24 | Live network broadcast method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710608303.5A CN107396171A (en) | 2017-07-24 | 2017-07-24 | Live network broadcast method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107396171A true CN107396171A (en) | 2017-11-24 |
Family
ID=60336026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710608303.5A Pending CN107396171A (en) | 2017-07-24 | 2017-07-24 | Live network broadcast method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396171A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235136A (en) * | 2018-03-15 | 2018-06-29 | 青岛海信传媒网络技术有限公司 | A kind of data playing method and terminal device |
CN108495151A (en) * | 2018-03-22 | 2018-09-04 | 深圳牛视科技有限公司 | A kind of m3u8 format videos live broadcast system and method |
CN108810656A (en) * | 2018-06-12 | 2018-11-13 | 深圳国微视安科技有限公司 | A kind of the debounce processing method and processing system of real-time live broadcast TS streams |
CN108900906A (en) * | 2018-06-19 | 2018-11-27 | 网宿科技股份有限公司 | A kind of delay control method and device of live video stream |
CN108965807A (en) * | 2018-07-17 | 2018-12-07 | 深圳市共进电子股份有限公司 | Control method for playing back, device, terminal and the storage medium of real-time video |
CN109194975A (en) * | 2018-11-02 | 2019-01-11 | 深圳市云威物联科技有限公司 | Audio-video live streaming chases after stream method and device |
CN109348307A (en) * | 2018-10-23 | 2019-02-15 | 安徽慧视金瞳科技有限公司 | A kind of intelligent view cloud Teaching System audio-video low latency method |
CN109963184A (en) * | 2017-12-14 | 2019-07-02 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus and electronic equipment of audio-video network broadcasting |
CN110493164A (en) * | 2018-05-15 | 2019-11-22 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of media packet |
CN110636324A (en) * | 2019-10-24 | 2019-12-31 | 腾讯科技(深圳)有限公司 | Interface display method and device, computer equipment and storage medium |
CN110933516A (en) * | 2018-09-19 | 2020-03-27 | 华为技术有限公司 | Multimedia live broadcast method, device and equipment |
CN111083514A (en) * | 2019-12-26 | 2020-04-28 | 北京达佳互联信息技术有限公司 | Live broadcast method and device, electronic equipment and storage medium |
CN111583952A (en) * | 2020-05-19 | 2020-08-25 | 北京达佳互联信息技术有限公司 | Audio processing method and device, electronic equipment and storage medium |
CN112752109A (en) * | 2019-10-30 | 2021-05-04 | 上海哔哩哔哩科技有限公司 | Video playing control method and system |
CN112788360A (en) * | 2020-12-30 | 2021-05-11 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN112995780A (en) * | 2021-02-05 | 2021-06-18 | 北京字节跳动网络技术有限公司 | Network state evaluation method, device, equipment and storage medium |
CN113645477A (en) * | 2021-08-09 | 2021-11-12 | 杭州米络星科技(集团)有限公司 | Live broadcast data processing method and device, live broadcast client equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104079955A (en) * | 2013-03-26 | 2014-10-01 | 华为技术有限公司 | Method, device and system of OTT (Over The Top) live broadcast |
CN104735485A (en) * | 2015-03-05 | 2015-06-24 | 上海小蚁科技有限公司 | Method and device for playing video |
CN105100876A (en) * | 2015-08-28 | 2015-11-25 | 北京奇艺世纪科技有限公司 | Streaming media playing method and device |
CN105376607A (en) * | 2015-10-29 | 2016-03-02 | 深圳云聚汇数码有限公司 | Live video method and device in network jittering environment |
CN105430475A (en) * | 2015-11-04 | 2016-03-23 | 北京奇虎科技有限公司 | Buffering method and device of video data |
CN106165439A (en) * | 2012-11-13 | 2016-11-23 | 谷歌技术控股有限责任公司 | Dynamic buffer for multimedia content delivery system manages |
CN106412664A (en) * | 2016-10-08 | 2017-02-15 | 广东欧珀移动通信有限公司 | Multimedia synchronous play method, device and system, and terminal |
-
2017
- 2017-07-24 CN CN201710608303.5A patent/CN107396171A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106165439A (en) * | 2012-11-13 | 2016-11-23 | 谷歌技术控股有限责任公司 | Dynamic buffer for multimedia content delivery system manages |
CN104079955A (en) * | 2013-03-26 | 2014-10-01 | 华为技术有限公司 | Method, device and system of OTT (Over The Top) live broadcast |
CN104735485A (en) * | 2015-03-05 | 2015-06-24 | 上海小蚁科技有限公司 | Method and device for playing video |
CN105100876A (en) * | 2015-08-28 | 2015-11-25 | 北京奇艺世纪科技有限公司 | Streaming media playing method and device |
CN105376607A (en) * | 2015-10-29 | 2016-03-02 | 深圳云聚汇数码有限公司 | Live video method and device in network jittering environment |
CN105430475A (en) * | 2015-11-04 | 2016-03-23 | 北京奇虎科技有限公司 | Buffering method and device of video data |
CN106412664A (en) * | 2016-10-08 | 2017-02-15 | 广东欧珀移动通信有限公司 | Multimedia synchronous play method, device and system, and terminal |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109963184A (en) * | 2017-12-14 | 2019-07-02 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus and electronic equipment of audio-video network broadcasting |
CN108235136A (en) * | 2018-03-15 | 2018-06-29 | 青岛海信传媒网络技术有限公司 | A kind of data playing method and terminal device |
CN108235136B (en) * | 2018-03-15 | 2021-06-01 | 青岛海信传媒网络技术有限公司 | Data playing method and terminal equipment |
CN108495151A (en) * | 2018-03-22 | 2018-09-04 | 深圳牛视科技有限公司 | A kind of m3u8 format videos live broadcast system and method |
CN110493164A (en) * | 2018-05-15 | 2019-11-22 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of media packet |
CN108810656A (en) * | 2018-06-12 | 2018-11-13 | 深圳国微视安科技有限公司 | A kind of the debounce processing method and processing system of real-time live broadcast TS streams |
CN108900906A (en) * | 2018-06-19 | 2018-11-27 | 网宿科技股份有限公司 | A kind of delay control method and device of live video stream |
CN108965807A (en) * | 2018-07-17 | 2018-12-07 | 深圳市共进电子股份有限公司 | Control method for playing back, device, terminal and the storage medium of real-time video |
CN110933516A (en) * | 2018-09-19 | 2020-03-27 | 华为技术有限公司 | Multimedia live broadcast method, device and equipment |
CN110933516B (en) * | 2018-09-19 | 2022-06-10 | 华为技术有限公司 | Multimedia live broadcasting method, device and equipment |
CN109348307A (en) * | 2018-10-23 | 2019-02-15 | 安徽慧视金瞳科技有限公司 | A kind of intelligent view cloud Teaching System audio-video low latency method |
CN109194975B (en) * | 2018-11-02 | 2021-04-20 | 深圳市云威物联科技有限公司 | Audio and video live broadcast stream following method and device |
CN109194975A (en) * | 2018-11-02 | 2019-01-11 | 深圳市云威物联科技有限公司 | Audio-video live streaming chases after stream method and device |
CN110636324A (en) * | 2019-10-24 | 2019-12-31 | 腾讯科技(深圳)有限公司 | Interface display method and device, computer equipment and storage medium |
CN110636324B (en) * | 2019-10-24 | 2021-06-11 | 腾讯科技(深圳)有限公司 | Interface display method and device, computer equipment and storage medium |
CN112752109A (en) * | 2019-10-30 | 2021-05-04 | 上海哔哩哔哩科技有限公司 | Video playing control method and system |
WO2021082642A1 (en) * | 2019-10-30 | 2021-05-06 | 上海哔哩哔哩科技有限公司 | Video playing control method and system |
CN112752109B (en) * | 2019-10-30 | 2022-05-17 | 上海哔哩哔哩科技有限公司 | Video playing control method and system |
US11863841B2 (en) | 2019-10-30 | 2024-01-02 | Shanghai Bilibili Technology Co., Ltd. | Video playing control method and system |
CN111083514B (en) * | 2019-12-26 | 2021-05-18 | 北京达佳互联信息技术有限公司 | Live broadcast method and device, electronic equipment and storage medium |
CN111083514A (en) * | 2019-12-26 | 2020-04-28 | 北京达佳互联信息技术有限公司 | Live broadcast method and device, electronic equipment and storage medium |
CN111583952A (en) * | 2020-05-19 | 2020-08-25 | 北京达佳互联信息技术有限公司 | Audio processing method and device, electronic equipment and storage medium |
CN111583952B (en) * | 2020-05-19 | 2024-05-07 | 北京达佳互联信息技术有限公司 | Audio processing method, device, electronic equipment and storage medium |
CN112788360A (en) * | 2020-12-30 | 2021-05-11 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN112788360B (en) * | 2020-12-30 | 2023-06-20 | 北京达佳互联信息技术有限公司 | Live broadcast method, live broadcast device and computer program product |
CN112995780A (en) * | 2021-02-05 | 2021-06-18 | 北京字节跳动网络技术有限公司 | Network state evaluation method, device, equipment and storage medium |
CN112995780B (en) * | 2021-02-05 | 2022-11-25 | 北京字节跳动网络技术有限公司 | Network state evaluation method, device, equipment and storage medium |
CN113645477A (en) * | 2021-08-09 | 2021-11-12 | 杭州米络星科技(集团)有限公司 | Live broadcast data processing method and device, live broadcast client equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107396171A (en) | Live network broadcast method, device and storage medium | |
WO2021093583A1 (en) | Video stream processing method and apparatus, terminal device, and computer readable storage medium | |
CN108737908B (en) | Media playing method, device and storage medium | |
RU2643192C1 (en) | Method and device for playing multimedia file | |
WO2016177296A1 (en) | Video generation method and apparatus | |
JP6121621B2 (en) | Voice call method, apparatus, program, and recording medium | |
WO2020042350A1 (en) | Desktop screen projection method and device, apparatus, and storage medium | |
CN104639977B (en) | The method and device that program plays | |
CN106488265A (en) | A kind of method and apparatus sending Media Stream | |
WO2020134559A1 (en) | Data transmission method and apparatus, terminal device, and storage medium | |
EP3739585A1 (en) | Method and apparatus for playing audio, playing device, and storage medium | |
CN107682715A (en) | Video synchronization method and device | |
JP2022546165A (en) | SOUND PLAYING METHOD, APPARATUS AND STORAGE MEDIUM | |
CN110611829A (en) | Video preloading method and device, electronic equipment and storage medium | |
CN104112459B (en) | Method and apparatus for playing audio data | |
WO2020151570A1 (en) | Congestion control method and apparatus, electronic device, and storage medium | |
CN106412712A (en) | Video playing method and apparatus | |
CN105939289A (en) | Network jitter processing method, network jitter processing device and terminal equipment | |
CN104735485A (en) | Method and device for playing video | |
CN107888965A (en) | Image present methods of exhibiting and device, terminal, system, storage medium | |
CN107529065A (en) | Multi-medium data caching method, device and computer-readable recording medium | |
CN111081283A (en) | Music playing method and device, storage medium and terminal equipment | |
CN112910592B (en) | Clock synchronization method and device, terminal and storage medium | |
CN114466283A (en) | Audio acquisition method and device, electronic equipment and peripheral component method | |
CN111352605A (en) | Audio playing and sending method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |