CN104244033B - Video broadcasting method and device, intelligent terminal - Google Patents

Video broadcasting method and device, intelligent terminal Download PDF

Info

Publication number
CN104244033B
CN104244033B CN201410446996.9A CN201410446996A CN104244033B CN 104244033 B CN104244033 B CN 104244033B CN 201410446996 A CN201410446996 A CN 201410446996A CN 104244033 B CN104244033 B CN 104244033B
Authority
CN
China
Prior art keywords
played
data
broadcast
control condition
duration
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.)
Expired - Fee Related
Application number
CN201410446996.9A
Other languages
Chinese (zh)
Other versions
CN104244033A (en
Inventor
黄鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410446996.9A priority Critical patent/CN104244033B/en
Priority to EP14864134.3A priority patent/EP3076680A4/en
Priority to US15/037,048 priority patent/US20160309210A1/en
Priority to PCT/CN2014/092181 priority patent/WO2015074623A1/en
Priority to RU2016121189A priority patent/RU2016121189A/en
Publication of CN104244033A publication Critical patent/CN104244033A/en
Application granted granted Critical
Publication of CN104244033B publication Critical patent/CN104244033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a kind of video broadcasting method and device, intelligent terminal, methods described includes:Receive video playback request;Obtain and broadcast control condition, the address mark and described Broadcast Control condition of the data to be played included according to video playback request download the data to be played;Control condition, which is broadcast, according to described plays the data to be played;Calculate the played duration of the data to be played;Judge whether the played duration of the data to be played is more than default playing duration;If the played duration of the data to be played is more than the default playing duration, obtains and play control condition, downloaded according to the broadcasting control condition and play the remaining data to be played.The present invention broadcasts control condition and broadcasting control condition by having adjusted respectively, picture can also be not only avoided in the case where guarantee quickly rises and broadcast once the situation appearance for showing buffering, it can also be ensured that buffer time is more reasonable after normal play.

Description

Video broadcasting method and device, intelligent terminal
Technical field
The present invention relates to technical field of media play, especially, is related to a kind of video broadcasting method and device, intelligence eventually End.
Background technology
Media player passes through the Internet video address provided when playing Internet video(URI, Uniform Resource Identifier), foradownloaded video initial data;When meeting buffer condition, start to parse data, separation sound, regard Frequency initial data, sound and image are exported after carrying out sound, video decoding respectively.
The shortcomings that existing network media player, is:, it is necessary to pre-set the size of buffering area before video playback, no matter Buffering area is much, and media player can just play after the completion of can only passively waiting it.Therefore, existing media player is in network In playing process, act the speed broadcast and depend on the speed that buffering is completed;When default buffering area is bigger or network speed is slow In the case of, the bad experience that period of reservation of number is long can be caused.
The content of the invention
The present invention provides a kind of video broadcasting method, larger or network passes in buffering area for solving existing media player Defeated condition can cause the long bad experience problem of period of reservation of number when poor.
Present invention also offers a kind of intelligent terminal and its video play device, with ensure the above method in practice should With.
In order to solve the above problems, the invention discloses a kind of video broadcasting method, including:Video playback request is received, The video playback request includes the address mark of data to be played;Obtain and broadcast control condition, according to the data to be played Address mark and described Broadcast Control condition download the data to be played;Treated according to described is broadcast control condition broadcasting Played data;Calculate the played duration of the data to be played;Judge whether the played duration of the data to be played is big In default playing duration, if the played duration of the data to be played is more than the default playing duration, obtains and play control Condition, downloaded according to the broadcasting control condition and play the remaining data to be played.
Preferably, broadcast control condition and included broadcasting time threshold for described;The address according to the data to be played Mark and described Broadcast Control condition download the data to be played, including:It is used for according to threshold calculations between described sowing time The data volume for the data to be played broadcast;Downloaded according to the data volume and address mark for acting the data to be played broadcast For acting the data to be played broadcast.
Preferably, broadcast control condition and broadcast time threshold including minimum for described;Risen described in the basis and broadcast control condition The data to be played are played, including:Whether the playable duration of the data volume for the data to be played downloaded described in judging is big In it is described it is minimum broadcast time threshold;If it is not, then pause plays the data to be played, continue the download of the data to be played Process.
Preferably, the minimum reproduction time threshold value, which has been less than, broadcasts time threshold.
Preferably, the broadcasting control condition includes minimum reproduction time threshold value and highest reproduction time threshold value;It is described most Low reproduction time threshold value is less than highest reproduction time threshold value;The side of the data to be played is played according to the broadcasting control condition Method specifically includes:Whether the playable duration for judging to have downloaded the data to be played not played is less than minimum reproduction time threshold value, If so, then pause plays the data to be played, continue the downloading process of the data to be played;Judgement has downloaded what is do not played Whether the playable duration of data to be played is more than or equal to highest reproduction time threshold value, if so, then continuing to wait to broadcast described in broadcasting Data are put, suspend the downloading process of the data to be played.
Preferably, time threshold, minimum reproduction time threshold value and highest reproduction time threshold value are broadcast according to actual net for described Speed dynamic setting.
According to another preferred embodiment of the present invention, a kind of video play device is also disclosed, including:Playing request obtains Unit, for receiving video playback request, the video playback request includes the address mark of data to be played;Data are downloaded single Member, control condition is broadcast for having obtained, institute is downloaded according to the address of the data to be played mark and described Broadcast Control condition State data to be played;Rise and broadcast control unit, for broadcasting what the control condition broadcasting data download unit was downloaded according to described rise Data to be played;Timer, for calculating the played duration of the data to be played;Playing control unit, based on judging When the played duration of the data to be played that obtains of device whether be more than default playing duration;When the data to be played When playing duration is more than the default playing duration, obtains and play control condition, downloaded and played according to the broadcasting control condition The remaining data to be played.
Preferably, broadcast control condition and included broadcasting time threshold for described;The data download unit includes data volume Operator unit and lower subelements;The data volume computation subunit is used to be used to broadcast according to threshold calculations between described sowing time The data to be played data volume;The lower subelements are used for the data according to the data to be played for being used to broadcast Amount and address mark download the data to be played for being used to broadcast.
Preferably, broadcast that control condition has included broadcasting time threshold and minimum is broadcast time threshold for described, it is described minimum to broadcast Put time threshold and be less than and broadcast time threshold;Described is broadcast the number that control unit is used to judge the data to be played downloaded Whether more than described minimum time threshold is broadcast according to the playable duration of amount;If it is not, then pause plays the data to be played, after Continue the downloading process of the data to be played.
Preferably, the playing control unit specifically includes:Control condition conversion subunit, for judging that timer obtains The played durations of the data to be played whether be more than default playing duration, when the played duration of the data to be played During more than the default playing duration, scheduling playing condition obtains subelement and obtains broadcasting control condition, and scheduling process control Subunit plays the remaining data to be played according to the broadcasting control condition;Playing condition obtains subelement, is used for Obtain and play control condition, wherein, the broadcasting control condition includes minimum reproduction time threshold value and highest reproduction time threshold value, And the minimum reproduction time threshold value is less than highest reproduction time threshold value;Process control subelement, it is remaining to be played for controlling The broadcasting of data and downloading process, wherein, when the playable duration for having downloaded the data to be played not played is less than minimum broadcasting During time threshold, pause plays the data to be played, waits pending data download unit to continue to download the data to be played;When When the playable duration for the data to be played that download does not play is more than or equal to highest reproduction time threshold value, continue to treat described in broadcasting Played data, suspend the downloading process of data download unit.
Preferably, time threshold, minimum reproduction time threshold value and highest reproduction time threshold value are broadcast according to actual net for described Speed dynamic setting.
According to the further preferred embodiment of the present invention, a kind of intelligence for including above-mentioned video play device is disclosed eventually End.
Compared with prior art, the present invention has advantages below:
The preferred embodiment of the present invention broadcasts control condition and broadcasting control condition by having adjusted respectively, can not only ensure to regard Frequency can quickly rise and broadcast, additionally it is possible to avoid picture from occurring once the situation for showing buffering, buffer time is more after guarantee normal play To be reasonable, so as to effectively avoid cause period of reservation of number long in the case that network condition is poor the problem of.
In further preferred embodiment of the present invention, by setting the highest reproduction time threshold value of buffering area, buffering area In data can suspend download buffering course when exceeding the threshold values, save other application request network data of the bandwidth for equipment.
Brief description of the drawings
Fig. 1 is the flow chart of video broadcasting method first embodiment of the present invention;
Fig. 2 is the flow chart of video broadcasting method second embodiment of the present invention;
Fig. 3 is the schematic diagram of relation between the buffering area playing condition parameter being related in the embodiment of the method shown in Fig. 2;
Fig. 4 is to perform information exchanging process timing diagram between the part included by the system of the embodiment of the method shown in Fig. 2;
Fig. 5 is the structural representation of the embodiment of video play device one of the present invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
Embodiment of the method:
Reference picture 1, shows the flow of video broadcasting method first embodiment of the present invention, and this method for optimizing embodiment includes Following steps:
Step S101:Receive video playback request;
In the preferred embodiment, video playback request includes needing the address mark of played data;
Step S102:Obtain and broadcast control condition, according to the address of data to be played mark and under the conditions of this plays Broadcast Control system Carry data to be played;
In the preferred embodiment, this broadcast control condition be used for identify the data to be played for being used to broadcast downloaded of needs Data volume size and rise broadcast during control condition.
This broadcasts control condition and can preset as needed, can also be set dynamically according to network environment;Set former It is then:Not only to ensure that video can quickly rise to broadcast, additionally it is possible to avoid picture from once the situation for showing buffering occurring, ensure normal Buffer time is more reasonable after broadcasting, so as to effectively avoid causing period of reservation of number mistake in the case where network condition is poor The problem of long.
To improve playing efficiency, reduce the stand-by period of user(During including between a sowing time with the wait in playing process Between), for data downloading process, present invention preferably employs asynchronous downloading mode.
In this method embodiment further preferred embodiment, rise to broadcast control condition and included and broadcast time threshold;On State and identify and rise the method that Broadcast Control condition downloads the data to be played according to the address of data to be played, specifically include:Root It has been used for the data volume for the data to be played broadcast according to threshold calculations between a sowing time;Then, according to for acting the data to be played broadcast Data volume and address mark download and be used for the data to be played broadcast.
Wherein, the data volume of the above-mentioned data to be played for being used to broadcast can use following methods to calculate:
For acting the data volume of the data to be played broadcast=rise and broadcast the code check of time threshold × video to be played.
Step S103:The control condition broadcasting data to be played are broadcast according to rising;And calculate the data to be played Played duration;
Step S104:Judge whether the played duration of data to be played is more than default playing duration;If so, go to step S105;Otherwise S103 is gone to step to continue to play data to be played;
Default playing duration in the present embodiment refers to that system broadcasts the Rule of judgment that state enters normal playing status from. Generally, time threshold is broadcast when having used(Prepare_Buffer_Duration)As rise broadcast control condition when, preset Playing duration can be artificial experience arranges value, it can also be provided that when Prepare_Buffer_Duration is with minimum broadcasting Between threshold value(Min-Buffer-Duration)Difference, can also be directly disposed as broadcasting time threshold(Prepare_Buffer_ Duration).
Step S105:Obtain and play control condition, wait to broadcast according to remaining in broadcasting control condition download play buffer Put data.
In the preferred embodiment, the broadcasting control condition can be preset as needed, can also be according to network rings Border is set dynamically;When playing control condition and using mode set in advance, broadcasting control condition in step S105 can be with Rising in step S102 is broadcast control condition while obtained, and can also be obtained again after broadcasting;Dynamic is used when playing control condition During set-up mode, broadcasting control condition in step S105 preferably rise broadcast after obtain again.
This preferred embodiment broadcasts control condition by setting to play control condition and rise respectively, can ensure to rise as early as possible to broadcast In the case of, effectively avoid picture from occurring once the situation for showing buffering, so as to preferably resolve existing player default Buffering area it is bigger or be likely to result in the long bad experience problem of period of reservation of number in the case that network speed is slow.
Reference picture 2, the flow of video broadcasting method second embodiment of the present invention is shown, in the preferred embodiment, is adopted Time threshold is broadcast with rising(Prepare_Buffer_Duration)Time threshold is broadcast with minimum be used as broadcast control condition control Video rises and broadcasts process;Using minimum reproduction time threshold value(Min-Buffer-Duration)With highest reproduction time threshold value(Max- Buffer-Duration)The video display process after broadcasting has been controlled as control condition is played, has been specifically included:
Step S201:Receive the video playback request for including data address mark to be played;
In the preferred embodiment, for ease of asynchronous process download and playing process, the system for performing methods described(Or dress Put)Be provided with upper strata player and lower floor's player, lower floor's player has two types, including be responsible for live NuPlayer with It is responsible for the StagefrightPlayer of program request, they all use identical buffer technology.Upper strata player can be according to number to be played According to adress analysis judge its type, for live type, NuPlayer can be selected as lower floor's player and instantiated;For Program request type, then StagefrightPlayer can be selected as lower floor's player and instantiated.Other modules will not become Change.
Step S202:Obtain and broadcast control condition;
In this method embodiment, time threshold is broadcast by rising(Prepare_Buffer_Duration)With minimum sowing time Between threshold value(Low_WaterMark_Duration)Control condition is broadcast as rising, is risen and is broadcast the sphere of action of control condition and only rising Before broadcasting, control can be played out according to control condition is played after broadcasting.
By taking Android system platform as an example, upper strata player can use what is obtained to issue orders to play Broadcast Control condition setting To lower floor's player:
setParameter(9500, Prepare_Buffer_Duration);
setParameter(9501, Low_WaterMark_Duration);
In mentioned order, 9500 and 9501 be the communication cryptology of upper strata broadcast unit and lower floor's broadcast unit agreement.
Prepare_Buffer_Duration effect be notice lower floor player need buffering can play how long Data, lower floor's player can be calculated according to this time buffering data volume have it is much.In order to which image can be shown as early as possible Out and rise broadcast after buffering situation will not occur at once, it is necessary to set one can not too small Prepare_ that can not be excessive Buffer_Duration values;Too small to have caused occur buffering situation after broadcasting at once, user's impression is bad;It is excessive, need very The existing picture of broadcast could be played for a long time, and user's impression is also bad.
If for example, defining Prepare_Buffer_Duration=1.5s, lower floor's player can be by being intended to play frequency The code check in road calculates the data of 1.5s bufferings;Assuming that the code check of the channel is 1000KB, then required amount of buffered data(It is used for Act the data volume for the data to be played broadcast)It is theoretical in the case where network speed is 2M/s bandwidth for 1000KB * 1.5s=1500KB Finished as long as upper 0.75s can be buffered.
Above-mentioned Low_WaterMark_Duration(Minimum is broadcast time threshold)Effect be that play buffering pond is set Low level threshold values, less than the value, player will suspend broadcasting, upper strata player is in loading states.Rise to set before broadcasting and be somebody's turn to do The first purpose of value is to ensure that Low_WaterMark_Duration values are less than set by Prepare_Buffer_Duration Value, and more than the actual playable time(As shown in Figure 4), can guarantee that while quick broadcasting and protect as far as possible so that playing sowing time Demonstrate,prove picture is not in upon the situation for showing just buffering.The threshold values that general Low_WaterMark_Duration is set compares It is low, may only there was only hundreds of milliseconds, and Prepare_Buffer_Duration values may be several seconds.If for example, definition Low_WaterMark_Duration is 200ms, it is assumed that the code check of the channel is 1000KB, then if the data volume of buffering area It is less than(200ms / 1000)* 1000KB/s=200KB size, then broadcasting can be suspended.
Step S203:Data to be played are downloaded according to the address of data to be played mark is asynchronous;
By taking Android system as an example, upper strata player sends warning order prepareAsync (), and lower floor's player receives this Order, can be according to the buffer condition set above(Rise and broadcast condition), data to be played are downloaded, and be cached in buffering area.Lower floor Player, can be by ordering onPrepared () to notify after data and other some data initializations work have been buffered Upper strata player is in the state that can be played.
Step S204:Judge whether the data volume to be played in buffering area has met to broadcast time threshold;If so, go to step S205 commences play out the data to be played in buffering area, while goes to step S206 and perform follow-up broadcasting control process;Otherwise, turn Step S204 waiting steps S203 feedback result.
Step S205:Decode the data to be played in simultaneously output buffer;
In the case where meeting playing condition, upper strata player sends play command start (), and now lower floor's player enters Enter broadcast state, be initially separated sound, video data, decode and do sound, audio video synchronization, export audio frequency and video.
In a further preferred embodiment, for avoid the data in buffering area reach or less than the actual playable time and Cause to play the problem of abnormal, rise after broadcasting beginning, in addition to:Judge whether remaining data volume to be played is less than most in buffering area Low is broadcast time threshold Low_WaterMark_Duration;If so, then suspend the decoding of data to be played, output procedure.
Step S206:Obtain and play remaining data to be played according to control condition is played.Obtain minimum reproduction time threshold Value and highest reproduction time threshold value are as broadcasting control condition;According to the number to be played played in control condition play buffer According to.
After broadcasting starts, start second and buffering area playing condition is set, after ensureing normal play, buffer time closes Reason.Playing control condition includes minimum reproduction time threshold value(Min-Buffer-Duration)With highest reproduction time threshold value (Max-Buffer-Duration).
By taking Android system platform as an example, upper strata player can use the broadcasting control condition obtained to issue orders to set To lower floor's player:
setParameter(9501, Min-Buffer-Duration);
setParameter(9502, Max-Buffer-Duration);
In mentioned order, 9501 and 9502 be the communication cryptology of upper strata broadcast unit and lower floor's broadcast unit agreement.
For example, it is 1s by the Prepare_Buffer_Duration times set, then timer can be after 1s again Buffer size is set.Minimum reproduction time threshold value Min-Buffer-Duration and highest reproduction time threshold value Max- Buffer-Duration can be used cooperatively, when minimum reproduction time threshold value Min-Buffer-Duration is more than actual can play Between, and it is less than highest reproduction time threshold value Max-Buffer-Duration.When the anticipated playback time of buffering area remaining data is low When the time that Min-Buffer-Duration is defined, pause plays.It is higher than when the time that buffering area remaining data can play During Max-Buffer-Duration, buffering can be suspended, save other application request network data of the bandwidth for equipment.
Reference picture 3, show mutually closed in above-mentioned second method embodiment threshold value between sowing time, minimum broadcast time threshold, Relation between the conditional parameters such as minimum reproduction time threshold value, highest reproduction time threshold value, actual playable time, wherein:
Highest reproduction time threshold value > rise broadcast time threshold >=minimum reproduction time threshold value >=minimum broadcast time threshold >= The actual playable time.
Above-mentioned reality can play the time for the time referring to can play video in theory, when the data volume in buffering area is only full When full border can play the time, if the moment played can not obtain new data, playing process will force stop/pause, It is possible that other play abnormal problem;
In addition, the setting of above-mentioned condition parameter is related to network environment, generally, act that to broadcast time threshold bigger Reproduction time threshold value is broadcast in minimum;When network speed is very fast(When network speed of download is not less than video playout speed), it is Rise and broadcast as early as possible, reduce the stand-by period of user, can will rise and broadcast time threshold and be arranged to a relatively small numerical value, typically It is equal that time threshold, minimum reproduction time threshold value, actual playable time value are broadcast with minimum;When network speed is slower, it is Reduction suspending count, it can will rise and broadcast time threshold and be arranged to relatively large numerical value, and rise and broadcast time threshold > most Low reproduction time threshold value>Minimum is broadcast the time threshold > actual playable times.
It should be noted that above-mentioned Broadcast Control conditional parameter and broadcasting control condition parameter, can be by art technology Personnel provide according to various network conditions and the experience of oneself, can also be tested automatically by program network environment at that time, The type and size of video to be played calculate the size of buffering area, so that netcast is more smooth.
Reference picture 4, show information exchanging process between the part included by the system of above-mentioned second method embodiment Timing diagram, it is described as follows:
First, after upper strata player receives media play request, the address mark of data to be played is passed through into communication service Unit forwards give lower floor's broadcast unit;
Secondly, upper strata player sets a Broadcast Control conditional parameter for lower floor's player by communication service unit;
Rise and broadcast control condition and included broadcasting time threshold Prepare_Buffer_Duration; Prepare_Buffer_ Duration effect is to tell lower floor's broadcast unit needs to buffer can play data how long.The effect of this setting Scope only before rising and broadcasting, after broadcasting can the buffer size that sets in addition below of basis play out control.
3rd, upper strata player sends asynchronous data download instruction by communication service unit to lower floor's player, then, Lower floor's player sends asynchronous data download request to data download unit;
4th, data download unit is joined to lower floor's player feedback download status information, lower floor's player according to buffering area Number judges whether to commence play out, if it is then by communication service unit to upper strata player feedback status information;
5th, upper strata player sends video playback to lower floor's player by communication service unit and instructed;
6th, rise after broadcasting, upper strata player sets the broadcasting control condition of lower floor's player by communication service unit.
Wherein, above-mentioned broadcasting control condition parameter includes minimum reproduction time threshold value Min-Buffer-Duration and most High reproduction time threshold value Max-Buffer-Duration;It is less than Min-Buffer- when the video data time in buffering area During Duration, lower floor's player will suspend video display process, until the data that data download unit is downloaded in buffering area It disclosure satisfy that broadcast request;When the video data time in buffering area being more than or equal to Max-Buffer-Duration, data Download unit will suspend data downloading process, and network data is asked for the other application of equipment to save network bandwidth.
It is simple in order to describe for foregoing each method embodiment, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, Some steps can serially or simultaneously be performed using other;Secondly, those skilled in the art should also know, the above method is implemented Example belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Device embodiment:
Reference picture 5, show that the structured flowchart of the embodiment of video play device one of the present invention, including playing request obtain list Member 21, data download unit 22, rise and broadcast control unit 23, timer 24 and playing control unit 25, wherein:
Playing request acquiring unit 21, the video playback request of the address mark of data to be played is included for receiving;
Data download unit 22, control condition is broadcast for having obtained, wait to broadcast according to what playing request acquiring unit 21 obtained The address mark and described Broadcast Control condition for putting data download data to be played;To improve running efficiency of system, data are downloaded Unit 22 preferably downloads data to be played in an asynchronous manner;
Rise broadcast control unit 23, for according to data download unit 22 obtains rise broadcast control condition played data download singly The data to be played that member 22 is downloaded in buffering area;
In further device embodiment, rise and broadcast control condition and included broadcasting time threshold, data download unit 23 has Body includes data volume computation subunit 23-1 and lower subelements 23-2;Wherein:
Data volume computation subunit 23-1 is used to be used for the data to be played broadcast according to threshold calculations between a sowing time Data volume;
Lower subelements 23-2 is used to be downloaded according to the data volume for the data to be played for being used to broadcast and address mark For acting the data to be played broadcast.
In another further device embodiment, rise to broadcast control condition and included and broadcast time threshold and minimum sowing time Between threshold value, and minimum reproduction time threshold value has been less than and broadcasts time threshold;Rise and broadcast control unit 23 and be used to judging described downloaded Whether the playable duration of the data volume of data to be played more than described minimum broadcasts time threshold;If it is not, then pause plays institute Data to be played are stated, continue the downloading process of the data to be played.
Timer 24, for calculating the played duration of data to be played;
Whether playing control unit 25, the played duration of the data to be played obtained for judging timer 24 are more than in advance If playing duration;When the played duration of data to be played is more than default playing duration, obtains and play control condition, and according to The broadcasting control condition, which is downloaded, plays remaining data to be played.
In further device embodiment, playing control unit 25 specifically includes:
Control condition conversion subunit 25-1, the played duration of the data to be played obtained for judging timer 24 are No to be more than default playing duration, when the played duration of data to be played is more than default playing duration, scheduling playing condition obtains Take subelement 25-2 to obtain and play control condition, and scheduling process control subelement 25-3 is broadcast according to above-mentioned broadcasting control condition Put remaining data to be played;
Playing condition obtains subelement 25-2, and control condition is played for obtaining, wherein, control condition is played including minimum Reproduction time threshold value and highest reproduction time threshold value, and minimum reproduction time threshold value is less than highest reproduction time threshold value;
Process control subelement 25-3, for controlling broadcasting and the downloading process of remaining data to be played, wherein, under When the playable duration for the data to be played that load does not play is less than minimum reproduction time threshold value, pause plays above-mentioned number to be played According to waiting pending data download unit 22 to continue to download data to be played;When downloaded the data to be played not played it is playable when When length is more than or equal to highest reproduction time threshold value, continue to play data to be played, while suspend under data download unit 22 Load process.
In a further preferred embodiment of the invention, condition setting unit 26 is additionally provided with, available for Test Network Speed, and be set dynamically according to the network speed actually obtained and broadcast control condition and broadcasting control condition.Wherein, when network speed is very fast, It can will rise and broadcast time threshold and be arranged to a relatively small numerical value;When network speed is slower, it can will rise and broadcast time threshold and set A relatively large numerical value is set to, meanwhile, accordingly increase minimum reproduction time threshold value, be larger than the actual playable time.
In addition, the invention also discloses a kind of intelligent terminal, the intelligent terminal includes above-mentioned video play device, energy Control condition and broadcasting control condition are enough broadcast according to rising for network environment situation dynamic adjustment buffering area, improving first broadcast speed Simultaneously, additionally it is possible to the problem of avoiding frequently occurring buffering prompting in playing process as far as possible.Intelligent terminal provided by the invention can be with For intelligent television or smart mobile phone, the present invention is not limited the type of intelligent terminal, as long as being configured with Android operation System platform.
It should be noted that said apparatus or system embodiment belong to preferred embodiment, involved unit and module are simultaneously It is not necessarily necessary to the present invention.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.For the dress of the present invention For putting embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is real referring to method Apply the part explanation of example.
Above to a kind of video broadcasting method provided by the present invention and device, intelligent terminal, it is described in detail, this Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to Help to understand method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (14)

  1. A kind of 1. video broadcasting method, it is characterised in that including:
    Video playback request is received, the video playback request includes the address mark of data to be played;
    Obtain and broadcast control condition, treated according to being downloaded the address of the data to be played mark and described Broadcast Control condition Played data;
    Control condition, which is broadcast, according to described plays the data to be played;
    Calculate the played duration of the data to be played;
    Judge whether the played duration of the data to be played is more than default playing duration, if the data to be played have been broadcast Put duration and be more than the default playing duration, obtain and play control condition, it is remaining to download broadcasting according to the broadcasting control condition The data to be played, wherein, the default playing duration refers to be used to judge that system broadcasts state from and enters normal play shape The parameter of state.
  2. 2. video broadcasting method as claimed in claim 1, it is characterised in that broadcasting control condition for described has included threshold between sowing time Value;
    It is described that the data to be played, bag are downloaded according to the address of the data to be played mark and described Broadcast Control condition Include:
    The data volume for the data to be played for being used to broadcast according to threshold calculations between described sowing time;
    The number to be played for being used to broadcast is downloaded according to the data volume and address mark for acting the data to be played broadcast According to.
  3. 3. video broadcasting method as claimed in claim 1, it is characterised in that broadcasting control condition for described includes minimum sowing time Between threshold value;
    Risen described in the basis and broadcast the control condition broadcasting data to be played, including:
    Whether the playable duration for the data volume of data to be played for judging to have downloaded more than described minimum broadcasts time threshold;If No, then pause plays the data to be played, continues the downloading process of the data to be played.
  4. 4. video broadcasting method as claimed in claim 3, it is characterised in that described minimum is broadcast time threshold and be less than sowing time Between threshold value.
  5. 5. video broadcasting method as claimed in claim 1, it is characterised in that when the broadcasting control condition includes minimum broadcasting Between threshold value and highest reproduction time threshold value;The minimum reproduction time threshold value is less than highest reproduction time threshold value;Broadcast according to described The method for putting the control condition broadcasting data to be played specifically includes:
    Whether the playable duration for judging to have downloaded the data to be played not played is less than minimum reproduction time threshold value, if so, then Pause plays the data to be played, continues the downloading process of the data to be played;
    Whether the playable duration for judging to have downloaded the data to be played not played is more than or equal to highest reproduction time threshold value, if It is then to continue to play the data to be played, suspends the downloading process of the data to be played.
  6. 6. the video broadcasting method as described in claim 2 or 4, it is characterised in that described is broadcast time threshold according to actual net Speed dynamic setting.
  7. 7. video broadcasting method as claimed in claim 5, it is characterised in that the minimum reproduction time threshold value and highest play Time threshold is set dynamically according to actual network speed.
  8. A kind of 8. video play device, it is characterised in that including:
    Playing request acquiring unit, for receiving video playback request, the video playback request includes the ground of data to be played Location identifies;
    Data download unit, control condition is broadcast for having obtained, broadcast according to the address of the data to be played mark and described Control condition downloads the data to be played;
    Rise and broadcast control unit, for acting the number to be played for broadcasting control condition and playing the data download unit and downloading according to described According to;
    Timer, for calculating the played duration of the data to be played;
    Whether playing control unit, the played duration of the data to be played obtained for judging timer are more than default broadcast Put duration;When the played duration of the data to be played is more than the default playing duration, obtains and play control condition, root Downloaded according to the broadcasting control condition and play the remaining data to be played, wherein, the default playing duration refers to be used to sentence Disconnected system broadcasts the parameter that state enters normal playing status from.
  9. 9. video play device as claimed in claim 8, it is characterised in that broadcasting control condition for described has included threshold between sowing time Value;
    The data download unit includes data volume computation subunit and lower subelements;
    The data volume computation subunit is used to be used for the data to be played broadcast according to threshold calculations between described sowing time Data volume;
    The lower subelements are used to be used for according to the data volume for the data to be played for being used to broadcast and address mark download Act the data to be played broadcast.
  10. 10. video play device as claimed in claim 8, it is characterised in that broadcasting control condition for described was included between sowing time Threshold value and minimum broadcast time threshold, broadcast time threshold and have been less than for described minimum and broadcast time threshold;
    Described broadcast control unit be used for judge the playable duration of the data volumes of data to be played downloaded whether be more than institute State minimum and broadcast time threshold;If it is not, then pause plays the data to be played, continue the download of the data to be played Journey.
  11. 11. video play device as claimed in claim 8, it is characterised in that the playing control unit specifically includes:
    Whether control condition conversion subunit, the played duration of the data to be played obtained for judging timer are more than Default playing duration, when the played duration of the data to be played is more than the default playing duration, dispatch playing condition Obtain subelement acquisition and play control condition, and scheduling process control subelement plays residue according to the broadcasting control condition The data to be played;
    Playing condition obtains subelement, and control condition is played for obtaining, wherein, the broadcasting control condition includes minimum broadcasting Time threshold and highest reproduction time threshold value, and the minimum reproduction time threshold value is less than highest reproduction time threshold value;
    Process control subelement, for controlling broadcasting and the downloading process of remaining data to be played, wherein, do not played when having downloaded The playable duration of data to be played when being less than minimum reproduction time threshold value, pause plays the data to be played, waits number Continue to download the data to be played according to download unit;Be more than when the playable duration for having downloaded the data to be played not played or During equal to highest reproduction time threshold value, continue to play the data to be played, suspend the downloading process of data download unit.
  12. 12. the video play device as described in claim 9 or 10, it is characterised in that described is broadcast time threshold according to reality Network speed is set dynamically.
  13. 13. video play device as claimed in claim 11, it is characterised in that the minimum reproduction time threshold value and highest are broadcast Time threshold is put to be set dynamically according to actual network speed.
  14. 14. a kind of intelligent terminal, it is characterised in that including any described video play device of claim 7 to 11.
CN201410446996.9A 2013-11-25 2014-09-03 Video broadcasting method and device, intelligent terminal Expired - Fee Related CN104244033B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201410446996.9A CN104244033B (en) 2014-09-03 2014-09-03 Video broadcasting method and device, intelligent terminal
EP14864134.3A EP3076680A4 (en) 2013-11-25 2014-11-25 Video playback method, apparatus and intelligent terminal
US15/037,048 US20160309210A1 (en) 2013-11-25 2014-11-25 Video playback method, apparatus and intelligent terminal
PCT/CN2014/092181 WO2015074623A1 (en) 2013-11-25 2014-11-25 Video playback method, apparatus and intelligent terminal
RU2016121189A RU2016121189A (en) 2013-11-25 2014-11-25 VIDEO PLAYBACK METHOD, DEVICE AND INTELLIGENT TERMINAL

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410446996.9A CN104244033B (en) 2014-09-03 2014-09-03 Video broadcasting method and device, intelligent terminal

Publications (2)

Publication Number Publication Date
CN104244033A CN104244033A (en) 2014-12-24
CN104244033B true CN104244033B (en) 2017-12-08

Family

ID=52231243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410446996.9A Expired - Fee Related CN104244033B (en) 2013-11-25 2014-09-03 Video broadcasting method and device, intelligent terminal

Country Status (1)

Country Link
CN (1) CN104244033B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954877B (en) * 2015-06-29 2019-02-12 深圳市微浦技术有限公司 The data load method and system of set-top box
CN106713948B (en) * 2015-11-13 2019-10-11 北京国双科技有限公司 Video segmentation loading method and device
CN105979346A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for playing streaming media
CN105898323A (en) * 2015-12-04 2016-08-24 乐视致新电子科技(天津)有限公司 Method used for adding watermark in video and determining watermark information and device
CN106851341B (en) * 2015-12-04 2019-05-31 中国电信股份有限公司 For measuring the method and mobile terminal of network video delivery quality
CN105635254B (en) * 2015-12-23 2018-12-18 小米科技有限责任公司 Multimedia resource method for down loading and device
CN105681883B (en) * 2016-01-07 2019-05-31 深圳Tcl数字技术有限公司 Audio data method for pushing and system
CN106488325B (en) * 2016-11-08 2019-09-17 青岛海信电器股份有限公司 Network media file playback method, device and equipment
CN106850629B (en) * 2017-02-09 2020-05-12 Oppo广东移动通信有限公司 Streaming media data processing method and mobile terminal
CN106851340B (en) * 2017-02-10 2020-05-05 聚好看科技股份有限公司 Video plug-streaming method and device
CN107528834A (en) * 2017-08-10 2017-12-29 佛山市三水区彦海通信工程有限公司 A kind of method in intelligent Switch Video play signal source
CN109982159B (en) * 2017-12-27 2021-10-22 华为技术有限公司 Method and terminal for playing streaming media on line
CN108259998B (en) * 2018-03-01 2021-01-22 海信视像科技股份有限公司 Player, play control method and device, electronic equipment and play system
CN110677730A (en) * 2018-07-03 2020-01-10 微鲸科技有限公司 Play control method and device
CN110933516B (en) * 2018-09-19 2022-06-10 华为技术有限公司 Multimedia live broadcasting method, device and equipment
CN109618216B (en) * 2018-12-25 2021-07-30 北京微播视界科技有限公司 Method, device and equipment for displaying video loading state identification and storage medium
CN109951446B (en) * 2019-01-30 2022-04-12 亦非云互联网技术(上海)有限公司 Method and system for stabilizing live stream, computer storage medium and electronic device
CN109819312B (en) * 2019-03-19 2020-06-30 四川长虹电器股份有限公司 Player system based on dynamic buffer area and control method thereof
CN110035014B (en) * 2019-03-21 2022-08-16 维沃移动通信有限公司 Network speed control method and device and mobile terminal
CN114979771A (en) * 2022-07-26 2022-08-30 北京智象信息技术有限公司 Method, device and medium for controlling video pre-rolling water level of multimedia player

Citations (6)

* 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
CN103379379A (en) * 2012-04-13 2013-10-30 腾讯科技(深圳)有限公司 Streaming media buffer play method and apparatus
CN103391468A (en) * 2012-05-08 2013-11-13 安凯(广州)微电子技术有限公司 Network video data buffer control method and system based on mobile terminal
CN103731720A (en) * 2013-11-25 2014-04-16 乐视致新电子科技(天津)有限公司 Method and device for caching multimedia data of smart television
CN103873889A (en) * 2012-12-17 2014-06-18 财团法人工业技术研究院 Video stream transmission method, video device and video providing device
CN103873927A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Stream media data processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379379A (en) * 2012-04-13 2013-10-30 腾讯科技(深圳)有限公司 Streaming media buffer play method and apparatus
CN103391468A (en) * 2012-05-08 2013-11-13 安凯(广州)微电子技术有限公司 Network video data buffer control method and system based on mobile terminal
CN102802075A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Online play buffering system and method
CN103873889A (en) * 2012-12-17 2014-06-18 财团法人工业技术研究院 Video stream transmission method, video device and video providing device
CN103873927A (en) * 2012-12-17 2014-06-18 联想(北京)有限公司 Stream media data processing method and electronic equipment
CN103731720A (en) * 2013-11-25 2014-04-16 乐视致新电子科技(天津)有限公司 Method and device for caching multimedia data of smart television

Also Published As

Publication number Publication date
CN104244033A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104244033B (en) Video broadcasting method and device, intelligent terminal
CN101001362B (en) Method and terminal of on-line playing flow media
CN105611328B (en) Video data based on HLS Streaming Media accelerates method for down loading and device
CN105791985A (en) Method and device for downloading media stream data
CN108828966B (en) Method and device for displaying equipment information in smart home system
CN106303933A (en) The power regulating method of a kind of bluetooth and device
CN103412782B (en) Dynamic resource loading method and system based on flash
CN105898551A (en) Network video playing method and device
CN106162332A (en) One is televised control method and device
CN104883564B (en) A kind of OTT set-top box produces the method for testing and system of ageing stability
CN104506943A (en) Set top box software customized upgrading method
CN103905897A (en) Video playing device and method thereof
CN110120965A (en) Method for down loading, tutoring system and the storage medium of courseware
CN103096133B (en) The acquisition methods of a kind of data and device
CN105760377B (en) Information processing method and device, terminal and storage medium
CN1855824B (en) Method and apparatus for streaming data processing
CN104168446B (en) Audio-video signal digital-to-analogue switching system based on scheduling message and hard decoder
CN104780393A (en) Method and device for allocating resources
CN106254961B (en) Video broadcasting method and TV in TV
WO2015074623A1 (en) Video playback method, apparatus and intelligent terminal
US20090286571A1 (en) Apparatus and method for providing a massage function for a mobile phone
CN103702219A (en) Video playing control method and equipment
CN111083527A (en) Video playing method and device of application, storage medium and electronic equipment
CN106658208A (en) Live interaction method and device
CN103491382B (en) The play handling method of a kind of Streaming Media and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171208

Termination date: 20180903