CN103458305B - Video broadcasting method, device, terminal unit server - Google Patents

Video broadcasting method, device, terminal unit server Download PDF

Info

Publication number
CN103458305B
CN103458305B CN201310382133.5A CN201310382133A CN103458305B CN 103458305 B CN103458305 B CN 103458305B CN 201310382133 A CN201310382133 A CN 201310382133A CN 103458305 B CN103458305 B CN 103458305B
Authority
CN
China
Prior art keywords
video
described
video source
source
labeling
Prior art date
Application number
CN201310382133.5A
Other languages
Chinese (zh)
Other versions
CN103458305A (en
Inventor
江波
李锋
李少雄
丁晓亮
蒋黎峰
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201310382133.5A priority Critical patent/CN103458305B/en
Publication of CN103458305A publication Critical patent/CN103458305A/en
Application granted granted Critical
Publication of CN103458305B publication Critical patent/CN103458305B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • H04N21/2225Local VOD servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The invention discloses a kind of video broadcasting method, device, terminal unit server, belong to networking technology area.Methods described includes:Receive the first video playback request;According to the weight of multiple video source, obtain preferential video source;Send the second video playback request to server so that described server returns broadcast address list according to described second video playback request;When receiving the broadcast address list that described server returns, according to described broadcast address list, play the corresponding video of described video labeling.The present invention can consider the factor of multiple impact video display effect such as broadcasting speed, pause frequency, automatically choose the more preferable video source of video display effect in multiple video source and carry out video playback, easy and simple to handle, avoid multiple Switch Video source, and then solve the incoherent problem of video plot leading to due to Switch Video source.

Description

Video broadcasting method, device, terminal unit server

Technical field

The present invention relates to networking technology area, particularly to a kind of video broadcasting method, device, terminal unit and service Device.

Background technology

With the development of network technology and video technique, there are many video vendor can provide the user video source, such as Youku.com, strange skill, Sohu etc..And play video for the ease of user, in the way of using video aggregation, multiple videos can be provided The video source of person is aggregating, and user accesses the website of this video aggregation service or using the client of this video aggregation service is The Online Video service of multiple video vendor can be enjoyed.

By the way of video aggregation, a video council corresponds to multiple video source, when needing to play this video, Ke Yiyou User selects a video source from multiple video source, can also randomly choose a video source from multiple video source.

During realizing the present invention, inventor finds at least there is problems with:

When user voluntarily selects video source, the video source of selection there may be the various factors leading to broadcasting interim card, and Lead to play not smooth so that user's needs multiple Switch Video source, complex operation;When terminal unit randomly chooses video source When it is impossible to be selected to the demand of different video according to user, and for having the videos of many collection, because different video source is divided The method difference of collection is it is also possible to lead to video plot discontinuous.

Content of the invention

In order to solve multiple Switch Video source and video source cannot be selected to the demand of different video according to user, lead to The incoherent problem of video plot, embodiments provides a kind of video broadcasting method, device, terminal unit and service Device.Described technical scheme is as follows:

A kind of first aspect, there is provided video broadcasting method, methods described includes:

Receive the first video playback request, described first video playback request carries video labeling;

According to the weight of multiple video source, obtain preferential video source;

Send the second video playback request to server, described second video playback request carries described video labeling and institute State preferential video source so that described server returns broadcast address list, described broadcasting according to described second video playback request Address list at least includes broadcast address in described preferential video source for the described video labeling;

When receiving the broadcast address list that described server returns, according to described broadcast address list, play described The corresponding video of video labeling.

Preferably, according to the weight of multiple video source, obtaining preferential video source and include:

According to the weight of multiple video source, weight highest video source in the plurality of video source is retrieved as described preferential Video source.

Preferably, according to the weight of multiple video source, before obtaining preferential video source, methods described also includes:

The plurality of video source is tested the speed, obtains the broadcasting speed of the plurality of video source;

According to the broadcasting speed of the plurality of video source, determine the weight of the plurality of video source.

Preferably, according to the weight of multiple video source, before obtaining preferential video source, methods described also includes:

According to the history handover operation to the plurality of video source, obtain last video in described history handover operation Source;

Improve the weight of last video source described.

Preferably, according to the weight of multiple video source, before obtaining preferential video source, methods described also includes:

During playing video, count the pause frequency of the plurality of video source;

According to the pause frequency of the plurality of video source, adjust the weight of the plurality of video source.

Preferably, according to the pause frequency of the plurality of video source, the weight adjusting the plurality of video source includes:

When the pause frequency arbitrary video source is detected is less than predetermined threshold value, improves described pause frequency and be less than default threshold The weight of the video source of value.

Preferably, according to the weight of multiple video source, before obtaining preferential video source, methods described also includes:

When the video playback failure of arbitrary video source is detected, reduce the power of the video source of described video playback failure Weight.

Preferably, when receiving the broadcast address list that described server returns, according to described broadcast address list, broadcasting Put the corresponding video of described video labeling to include:

When receiving described broadcast address list, according to first broadcast address in described broadcast address list, broadcast Put the corresponding video of described video labeling.

Second aspect, there is provided a kind of video broadcasting method is it is characterised in that methods described includes:

Receive the second video playback request, described second video playback request carries video labeling and preferential video source;

According to described video labeling, obtain the list of broadcast address in multiple video source for the described video labeling;

Described video labeling is defined as in described broadcast address list in the broadcast address in described preferential video source First broadcast address;

Send described broadcast address list to terminal unit so that described terminal unit is according to described broadcast address list, Play the corresponding video of described video labeling.

A kind of third aspect, there is provided video play device, described device includes:

First receiver module, for receiving the first video playback request, described first video playback request carries video mark Know;

Preferential acquisition module, for the weight according to multiple video source, obtains preferential video source;

Second request sending module, for sending the second video playback request to server, described second video playback please Ask and carry described video labeling and described preferential video source so that described server returns according to described second video playback request Broadcast address list, described broadcast address list at least includes broadcasting ground in described preferential video source for the described video labeling Location;

Video playback module, for when receiving the broadcast address list that described server returns, according to described broadcasting Address list, plays the corresponding video of described video labeling.

Preferably, described preferential acquisition module is used for the weight according to multiple video source, will weigh in the plurality of video source Weight highest video source is retrieved as described preferential video source.

Preferably, described device also includes:

Speed measuring module, for testing the speed, obtains the broadcasting speed of the plurality of video source to the plurality of video source;

Weight determination module, for the broadcasting speed according to the plurality of video source, determines the power of the plurality of video source Weight.

Preferably, described device also includes:

Switching acquisition module, for according to the history handover operation to the plurality of video source, obtaining described history switching Last video source in operation;

First adjusting module, for improving the weight of last video source described.

Preferably, described device also includes:

Interim card statistical module, for, during playing video, counting the pause frequency of the plurality of video source;

Second adjusting module, for the pause frequency according to the plurality of video source, adjusts the power of the plurality of video source Weight.

Preferably, the pause frequency that described second adjusting module is used for when arbitrary video source is detected is less than predetermined threshold value When, improve the weight that described pause frequency is less than the video source of predetermined threshold value.

Preferably, described device also includes:

3rd adjusting module, for when the video playback failure of arbitrary video source is detected, reducing described video playback The weight of the video source of failure.

Preferably, described video playback module is used for, when receiving described broadcast address list, playing ground according to described First broadcast address in the list of location, plays the corresponding video of described video labeling.

A kind of fourth aspect, there is provided video play device, described device includes:

Second request receiving module, for receiving the second video playback request, described second video playback request carries and regards Frequency marking is known and preferential video source;

List acquisition module, for according to described video labeling, obtaining described video labeling broadcasting in multiple video source Put the list of address;

Position determination module, is defined as described for the broadcast address in described preferential video source by described video labeling First broadcast address in broadcast address list;

List sending module, for terminal unit send described broadcast address list so that described terminal unit according to Described broadcast address list, plays the corresponding video of described video labeling.

A kind of 5th aspect, there is provided terminal unit, includes memorizer, and one or more than one program, One of them or more than one program storage are in memorizer, and are configured to by one or more than one computing device One or more than one program bag contains the instruction for carrying out following operation:

Receive the first video playback request, described first video playback request carries video labeling;

According to the weight of multiple video source, obtain preferential video source;

Send the second video playback request to server, described second video playback request carries described video labeling and institute State preferential video source so that described server returns broadcast address list, described broadcasting according to described second video playback request Address list at least includes broadcast address in described preferential video source for the described video labeling;

When receiving the broadcast address list that described server returns, according to described broadcast address list, play described The corresponding video of video labeling.

A kind of 6th aspect, there is provided server, including:Receptor, emitter, memorizer and processor, described reception Device, described emitter and described memorizer are connected with described processor respectively, and described memory storage has program code, described place Reason device is used for calling described program code, and execution is following to be operated:

Receive the second video playback request, described second video playback request carries video labeling and preferential video source;

According to described video labeling, obtain the list of broadcast address in multiple video source for the described video labeling;

Described video labeling is defined as in described broadcast address list in the broadcast address in described preferential video source First broadcast address;

Send described broadcast address list to terminal unit so that described terminal unit is according to described broadcast address list, Play the corresponding video of described video labeling.

The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:

Method provided in an embodiment of the present invention, device, terminal unit server, by obtaining the power of multiple video source Weight, according to the weight of multiple video source, obtains this preferential video source, when playing video, preferentially plays in this preferential video source The corresponding video of this video labeling, can consider broadcasting speed, pause frequency etc. multiple impact video display effect because Element, automatically chooses the more preferable video source of video display effect in multiple video source and carries out video playback, easy and simple to handle, it is to avoid many Secondary Switch Video source, and then solve the incoherent problem of video plot leading to due to Switch Video source.

Brief description

For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be 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 a kind of flow chart of video broadcasting method provided in an embodiment of the present invention;

Fig. 2 is a kind of flow chart of video broadcasting method provided in an embodiment of the present invention;

Fig. 3 is a kind of flow chart of video broadcasting method provided in an embodiment of the present invention;

Fig. 4 is a kind of video play device structural representation provided in an embodiment of the present invention;

Fig. 5 is a kind of video play device structural representation provided in an embodiment of the present invention;

Fig. 6 is a kind of terminal unit structural representation provided in an embodiment of the present invention;

Fig. 7 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.

Specific embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.

Fig. 1 is a kind of flow chart of video broadcasting method provided in an embodiment of the present invention.The execution master of this inventive embodiments Body is terminal unit, and referring to Fig. 1, methods described includes:

101:Receive the first video playback request, the request of this first video playback carries video labeling;

Wherein, this video labeling can ask corresponding video name or serial number etc. for this first video playback, this Bright embodiment does not limit to this.

Additionally, the request of this first video playback can click on video name by user on the corresponding display of terminal unit Triggering, in the case of the chain broadcast of many collection, the first video playback request that next is collected can also be complete in the video playback of Shang Yiji Automatically trigger during one-tenth, the embodiment of the present invention does not also limit to this.

In embodiments of the present invention, this terminal unit can be the equipment with video frequency signal processing function, such as Set Top Box Or computer etc..

102:According to the weight of multiple video source, obtain preferential video source;

Wherein, a video corresponds to multiple video source, and this video is respectively provided with corresponding broadcasting ground in the plurality of video source Location, the broadcast address according to arbitrary video source all can play this video.

In embodiments of the present invention, each video source is respectively provided with corresponding weight, this weight can for weight percentage or Any value, the embodiment of the present invention does not limit to this.The weight of the plurality of video source can show that this is many to a certain extent The result of broadcast when playing video for the individual video source, that is to say the video source that can consider that weight is higher, and video display effect is got over Good.The factor that video display effect is impacted can include interim card number of times, the video loading velocity occurring during video playback Or the video playback frequency of failure etc., the embodiment of the present invention does not limit to this.

In embodiments of the present invention, the weight according to multiple video source, obtains preferential video source, and this preferential video source is permissible Including a video source or multiple video source.That is to say, this preferential video source can be weight highest in the plurality of video source Video source, can also be weight highest preset number video source in the plurality of video source, and the embodiment of the present invention is to this not yet Limit.

Preferably, according to the weight of the plurality of video source order from high to low, the plurality of video source is ranked up, makes Obtain the higher video source sequence of weight more forward, obtain the weight order of the plurality of video source;By the video source making number one It is retrieved as this preferential video source, or the video source coming front preset number position is retrieved as this preferential video source.

The embodiment of the present invention is applied to be polymerized under the scene that multiple video source play video, and this terminal unit can be by visiting Ask the video to play arbitrary video source in multiple video source for the website being polymerized the plurality of video source, or the plurality of using polymerization Playing the video of arbitrary video source in multiple video source, the embodiment of the present invention is to the plurality of video source for the client of video source Polymerized form does not limit.

103:Send the second video playback request to server, the request of this second video playback carries this video labeling and is somebody's turn to do Preferential video source is so that this server asks to return broadcast address list, this broadcast address list according to this second video playback At least include broadcast address in this preferential video source for this video labeling;

Wherein, this broadcast address list at least includes broadcast address in this preferential video source for this video labeling, also may be used To include the broadcast address in the video source outside this video labeling this preferential video source in the plurality of video source.Additionally, should Broadcast address in broadcast address list can also include the definition of video, upload in corresponding video source name and video source The video informations such as user, are easy to video source and video information that user knows currently playing video.

In another embodiment provided in an embodiment of the present invention, this step 103 can be replaced by following steps:To this service Device sends the request of this second video playback, and the request of this second video playback carries this video labeling and the weight of the plurality of video source Order is so that this server asks to return broadcast address list according to this second video playback, now, in this broadcast address list The sequence of included broadcast address is corresponding with the weight order of the plurality of video source.

104:When receiving the broadcast address list of this server return, according to this broadcast address list, play this and regard Frequency marking knows corresponding video.

In embodiments of the present invention, when receiving the broadcast address list of this server return, can be according to this broadcasting First broadcast address in address list, plays the corresponding video of this video labeling, can also be from this broadcast address list Randomly choose broadcast address, play the corresponding video of this video labeling, the embodiment of the present invention does not limit to this.

Method provided in an embodiment of the present invention, by obtaining the weight of multiple video source, according to the weight of multiple video source, Obtain this preferential video source, when playing video, preferentially play the corresponding video of this video labeling in this preferential video source, can Consider the factor of multiple impact video display effect such as broadcasting speed, pause frequency, automatically choose in multiple video source and regard The more preferable video source of frequency result of broadcast carries out video playback, easy and simple to handle, it is to avoid multiple Switch Video source, so solve by The incoherent problem of video plot leading in Switch Video source.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " include:According to the weight of multiple video source, weight highest video source in the plurality of video source is obtained For this preferential video source.

In embodiments of the present invention, using the weight of the plurality of video source as the video playback effect weighing the plurality of video source The standard of fruit is it is believed that the video display effect when playing video for the higher video source of weight is better.And in order to obtain more Good video display effect, according to the weight of the plurality of video source, weight highest video source in the plurality of video source is obtained For this preferential video source so that the corresponding video of this video labeling in this preferential video source may finally be play.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " also include:Judge that history plays whether record includes this video labeling;Record when determining that this history is play When including this video labeling, this history is play the corresponding video source of this video labeling in record and is retrieved as this preferential video Source.

Specifically, this history is play record and is saved the multiple video labelings play, and is play by traveling through this history Record, judges this history plays in record whether include this video labeling, plays record when this history of determination and includes this video During mark, this history is play the corresponding video source of this video labeling in record and is retrieved as this preferential video source.

In embodiments of the present invention, by when playing the video that this history is play in record, this history being play record In the video source of this video be retrieved as this preferential video source so that video and this history that this is play play video in record Video source is consistent, it is to avoid occur that plot that this plays starting point is incoherent with the plot of last time broadcasting end point to ask Topic.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " also include:Judge the video mark whether including in this history broadcasting record being associated with this video labeling Know;When this history broadcasting record includes the video labeling being associated with this video labeling, will be associated with this video labeling The corresponding video source of video labeling be retrieved as this preferential video source.

Under practical situation, for belonging to a series of video, the deversity scheme of different video source may be different, It is discontinuous that Switch Video source may result in video plot.In embodiments of the present invention, incoherent in order to solve video plot Each video labeling can be associated by problem.

Wherein, the corresponding video name of different video labelings is identical, then it is considered that this different video labeling is mutual Association, or, for this video labeling add check code, when the check code of different video labelings is identical it is believed that this not Same video labeling is interrelated, and the embodiment of the present invention does not limit to this.

As video labeling " disguise of an evildoer -1 " and the corresponding video name of video labeling " disguise of an evildoer -2 " are " disguise of an evildoer ", then video mark Knowing " disguise of an evildoer -1 " and video labeling " disguise of an evildoer -2 " is the video labeling that is mutually related.

Specifically, this history is play record and is saved the multiple video labelings play, and is play by traveling through this history Record, judges the video labeling whether including in this history broadcasting record being associated with this video labeling, when this history of determination is broadcast When putting record and including the video labeling being associated with this video labeling, will be corresponding with the video labeling that this video labeling is associated Video source be retrieved as this preferential video source.

In embodiments of the present invention, when switching to another collection video by a collection video, the video before this switching preserves Play in record in this history, then the video source of video before this switching is retrieved as the preferential video source of this switching rear video, makes When playing the video of many collection, video source can be consistent, it is to avoid it is incoherent video plot between different collection Problem.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " before, methods described also includes 102a and 102b:

102a:The plurality of video source is tested the speed, obtains the broadcasting speed of the plurality of video source;

In embodiments of the present invention, can obtain by this terminal unit during playing the video in arbitrary video source Take the broadcasting speed of video, and the broadcasting speed according to the multiple videos in this video source getting, determine this video source Broadcasting speed;Can also be by this server during the video that arbitrary terminal unit is play in arbitrary video source, acquisition regards The broadcasting speed of frequency, and the broadcasting speed according to the multiple videos in this video source getting, determine the broadcasting of this video source Speed, the embodiment of the present invention does not limit to this.

Preferably, this server, during the video that terminal unit is play in multiple video source, obtains currently playing Video broadcasting speed, according to the broadcasting speed of one or more videos in the multiple video source getting, determine many respectively The broadcasting speed of individual video source.When this terminal unit needs to be tested the speed, send request of testing the speed to this server so that this clothes Business device returns the broadcasting speed of multiple video source.

Wherein, the broadcasting speed of video source can be the meansigma methodss of the broadcasting speed of multiple videos in this video source, also may be used Think the minima of the broadcasting speed of multiple videos in this video source, the embodiment of the present invention does not limit to this.

It should be noted that in the embodiment of the present invention, can survey to the multiple videos in multiple video source in real time Speed, and periodically the broadcasting speed according to the plurality of video obtains the broadcasting speed of the plurality of video source, or touch in user Send out the broadcasting speed that the broadcasting speed according to the plurality of video when testing the speed instruction obtains the plurality of video source, the embodiment of the present invention pair This does not limit.

102b:According to the broadcasting speed of the plurality of video source, determine the weight of the plurality of video source.

In embodiments of the present invention, the broadcasting speed of video source is faster, the weight distributing to this video source higher so that In subsequent process during this preferential video source of the Weight Acquisition according to multiple video source, ensure that the many for this of this preferential video source Broadcasting speed video source faster in individual video source.

Preferably, this step 102b includes:The ratio of the broadcasting speed according to the plurality of video source, determines the plurality of video The weight in source.

Broadcasting speed as, video source 1 is 200kb/s, and the broadcasting speed of video source 2 is 400kb/s, the broadcasting of video source 3 Putting speed is 500kb/s, then can determine that the weight of video source 1 is 20, the weight of video source 2 is 40, and the weight of video source 3 is 50.

Preferably, when the broadcasting speed arbitrary video source in the plurality of video source is detected is less than pre-set velocity, determine The weight that this broadcasting speed is less than the video source of pre-set velocity is default weight, and wherein, this default weight is number set in advance It is worth less weight or the weight of numerical value minimum.

Assume that this pre-set velocity is 100kb/s, when broadcasting speed video source 1 is detected is less than 100kb/s, determine video The weight in source 1 is 1.

Wherein, this pre-set velocity and this default weight can also can be existed by user by technical staff's setting in exploitation Arrange during use, the embodiment of the present invention does not limit to this.

It should be noted that the weight of the plurality of video source can be determined by this terminal unit, can also be by this server It is sent to this terminal unit, the embodiment of the present invention does not limit to this after the weight determining the plurality of video source.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " before, methods described also includes 102c and 102d:

102c:According to the history handover operation to the plurality of video source, obtain that in this history handover operation, last regards Frequency source;

In the embodiment of the present invention, when handover operation is detected during playing video, can be by current video source Switch to the corresponding video source of this handover operation.Wherein, this handover operation can be to current video in this broadcast address list The clicking operation of the broadcast address outside the broadcast address in source, or the clicking operation to the button for Switch Video source, this Bright embodiment does not limit to this.

Wherein, during playing video, ask playing when video completes or when receiving the broadcasting to certain video When asking, according to the history handover operation to the plurality of video source, obtain last video source in this history handover operation.Specifically Ground, when multiple handover operations is detected during playing video, and the number of the plurality of handover operation exceedes predetermined registration operation During number, obtain the corresponding video source of last handover operation in this history handover operation, that is to say this history handover operation In last video source.

Indeed, it is possible to when the time completing in the plurality of handover operation exceedes preset duration, obtain this history switching behaviour Last video source in work, or when this video playback completes, obtain last video source in this history handover operation, The embodiment of the present invention did not limited to the acquisition opportunity of this last video source.

102d:Improve the weight of this last video source.

In embodiments of the present invention, when user triggers multiple handover operation it is believed that in this multiple handover operation Last video source is the video source meeting user's request, therefore improves the weight of this last video source.

Wherein, to the weight of this last video source, the ratio improving or numerical value can be preset by technical staff, Or set in use by user, the embodiment of the present invention does not limit to this.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " before, methods described also includes 102e and 102f:

102e:During playing video, count the pause frequency of the plurality of video source;

In the embodiment of the present invention, it is possible that Caton phenomenon, frame as stagnant in picture etc. during playing video, affect Video display effect.

Specifically, when counting the pause frequency of this video source, can the time be statistical unit, with number of videos can be Statistical unit, accordingly, this step 102e includes(1)Or(2):

(1)During playing video, count the plurality of video source interim card number of times within a preset time interval, obtain The meansigma methodss of interim card number of times in the plurality of video source time period of multiple prefixed time interval in multiple videos;

Wherein, this prefixed time interval can be set by technical staff, or is set by the user, and the embodiment of the present invention is to this not Limit.

(2)During playing video, count interim card number of times during each video playback in the plurality of video source, obtain The meansigma methodss of the interim card number of times in multiple video playback for the plurality of video source.

Above-mentioned steps only so that the meansigma methodss calculating interim card number of times determine this pause frequency as a example illustrate, actually not It is limited to calculate the mode of meansigma methodss, this pause frequency, the embodiment of the present invention can also be determined by calculating the summation of interim card number of times This is not limited.

102f:According to the pause frequency of the plurality of video source, adjust the weight of the plurality of video source.

In embodiments of the present invention, the pause frequency of video source is higher, weight lower so that according to many in subsequent process During this preferential video source of the Weight Acquisition of individual video source, ensure that this preferential video source in the plurality of video source interim card frequency The relatively low video source of rate.

Wherein, the adjustment ratio of the plurality of video source weight or adjustment numerical value can be set in exploitation by technical staff, Or set in use by user, the embodiment of the present invention does not limit to this.

Preferably, the ratio of the pause frequency according to the plurality of video source, determine the reduction by hundred of the plurality of video source weight Divide ratio, according to the reduction percentage ratio of the plurality of video source weight, reduce the weight of the plurality of video source.

Still with the weight of video source 1 for 20, the weight of video source 2 is 40, as a example the weight of video source 3 is 50, works as determination The pause frequency of video source 1 is 10 minutes 2 times, and the pause frequency of video source 2 is 10 minutes 4 times, and the pause frequency of video source 3 is It may be determined that when adjusting the weight of video source, the weight of video source 1 is reduced by 20%, the weight of video source 2 when 10 minutes 1 time Reduce by 40%, the weight of video source 3 reduces by 10%, then the weight in adjustment rear video source 1 is 16, the weight of video source 2 is 16, video The weight in source 3 is 45.

Further, when the pause frequency arbitrary video source is detected is less than predetermined threshold value, improve this pause frequency little Weight in the video source of predetermined threshold value.

Specifically, this step can be replaced by following steps:When broadcasting of the continuous no Caton phenomenon of arbitrary video source is detected When the time of putting exceedes prefixed time interval, improve the weight of this video source;Or, it is existing when the continuous no interim card of arbitrary video source is detected When the video number of elephant exceedes default video number, improve the weight of this video source.

Wherein, this predetermined threshold value, prefixed time interval and default video number all can be set in exploitation by technical staff Fixed, or set in use by user, the embodiment of the present invention does not limit to this.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 102 " according to the weight of multiple video source, Obtain preferential video source " before, methods described also includes 102g:

102g:When the video playback failure of arbitrary video source is detected, reduce the video source of this video playback failure Weight.

Wherein, this video playback failure cannot be able to be opened for video, or video sound picture is asynchronous etc., present invention reality Apply example this is not limited.

Preferably, the broadcasting failure scenarios of multiple videos in the plurality of video source are counted, when arbitrary video source is detected During video playback failure, according to preset percentage, reduce the weight of the video source of this video playback failure, wherein, this default hundred Divide than the percentage ratio for the larger percentage ratio of numerical value set in advance or numerical value maximum.

Wherein, according to this preset percentage, reduce the weight of the video source of this video playback failure, can significantly reduce The weight of the video source of this video playback failure, so that the probability very little of the video playback failure of this preferential video source, to the greatest extent may be used The situation avoiding video playback failure of energy.

As when the video playback failure of video source 1 is detected, the weight of video source 1 reduced by 70%.

It should be noted that above-mentioned steps 102a and 102b, 102c and 102d, 102e and 102f and 102g are many to this The different adjustment modes of the weight of individual video source, that is to say and " according to the weight of multiple video source, obtain and preferentially regard in step 102 Before frequency source ", obtain the process of the weight of the plurality of video source.

In embodiments of the present invention, adjustment mode is not limited to above-mentioned several, can also obtain user to the plurality of video The opinion rating in source, according to the opinion rating of the plurality of video source, adjusts the weight of the plurality of video source, the embodiment of the present invention pair This does not limit.

In fact, the step of the weight of the plurality of video source of above-mentioned adjustment can execute side by side, as the plurality of video source Distribution identical initial weight, and during playing video, carry out testing the speed simultaneously, detect this history handover operation, statistics The pause frequency of the plurality of video source and detection video playback failure scenarios, and according to each adjustment mode, adjust the plurality of regarding The weight in frequency source, when current video finishes playing, obtains the weight of the plurality of video source after adjustment.Additionally, on to the plurality of The different adjustment modes of the weight of video source can execute on the basis of a kind of adjustment mode wherein.Will be to the plurality of video source As a example adjustment mode based on the mode being tested the speed, by testing the speed to the plurality of video source, determine the plurality of video The weight in source, continues to detect this history handover operation, the pause frequency counting the plurality of video source and detection video playback afterwards Failure scenarios, and according to each adjustment mode, adjust the weight of the plurality of video source, when surveying to the plurality of video source again When fast, redefine the weight of the plurality of video source.

In embodiments of the present invention, determine the weight of the plurality of video source basic adjustment mode be also not limited to many to this Individual video source is tested the speed, can also be by adjustment mode based on the mode of the pause frequency of the plurality of video source of statistics, this Inventive embodiments do not limit to this.

It should be noted that during playing video, can carrying out testing the speed in real time or periodically, count card Frequency of pausing etc., to adjust the weight of the plurality of video source, when broadcasting video completes, obtains the power of the plurality of video source after adjustment Weight, when the weight of the plurality of video source changes, according to the weight of the plurality of video source after adjustment, after obtaining this adjustment Preferential video source, upper once play video when, play the video in the preferential video source after this adjustment.The embodiment of the present invention is led to Cross when playing video and completing, obtain the weight of the plurality of video source after adjustment, it is to avoid due to this during playing video The weight of multiple video source changes and Switch Video source.

Further, in embodiments of the present invention, play the effect of video according to terminal unit, constantly regard to the plurality of The weight in frequency source enters Mobile state adjustment, propulsion over time, and the video display effect of this preferential video source of acquisition can be more next Better, gradually tend to optimum video display effect.

Preferably, on the basis of embodiment illustrated in fig. 1 technical scheme, step 103 is " when receiving the return of this server During broadcast address list, according to this broadcast address list, play the corresponding video of this video labeling " include:Broadcast when receiving this When putting address list, according to first broadcast address in this broadcast address list, play the corresponding video of this video labeling.

In embodiments of the present invention, the broadcast address of this video in this preferential video source is come this broadcasting ground by this server First of location list, then when terminal unit receives this broadcast address list, you can according in this broadcast address list First broadcast address, plays the corresponding video of this video labeling, simplifies the operation that user selects broadcast address.

Method provided in an embodiment of the present invention, by obtaining the weight of multiple video source, according to the weight of multiple video source, Obtain this preferential video source, when playing video, preferentially play the corresponding video of this video labeling in this preferential video source, can Consider the factor of multiple impact video display effect such as broadcasting speed, pause frequency, automatically choose in multiple video source and regard The more preferable video source of frequency result of broadcast carries out video playback, easy and simple to handle, it is to avoid multiple Switch Video source, so solve by The incoherent problem of video plot leading in Switch Video source, and propulsion over time, can make video display effect Tend to optimum.

Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the present invention, and here is no longer Repeat one by one.

Fig. 2 is a kind of flow chart of video broadcasting method provided in an embodiment of the present invention.The execution master of this inventive embodiments Body is server, and referring to Fig. 2, methods described includes:

201:Receive the second video playback request, the request of this second video playback carries video labeling and preferential video source;

In embodiments of the present invention, this server is corresponding to website or the client being polymerized the plurality of video source Server, saves broadcast address respectively in the plurality of video source for multiple videos.

Preferably, this server sets up the video labeling of arbitrary video, video source and the broadcasting of this video in this video source Put the mapping relations of address, be easy to obtain broadcast address in the plurality of video source for this video labeling.

In another embodiment provided in an embodiment of the present invention, this step 201 can be replaced by following steps:Receive this Two video playback requests, the request of this video playback carries this video labeling and the weight order of the plurality of video source.

202:According to this video labeling, obtain the list of broadcast address in multiple video source for this video labeling;

Preferably, according to this video labeling, travel through this video labeling, video source and in this video source this video broadcasting The mapping relations of address, obtain broadcast address in the plurality of video source for this video labeling, according to the multiple broadcastings getting Address, generates the list of broadcast address in multiple video source for this video labeling.

203:This video labeling is defined as in this broadcast address list in the broadcast address in this preferential video source One broadcast address;

Specifically, when there is broadcast address in this preferential video source for this video labeling in this server, this is regarded Frequency marking knows first broadcast address being defined as in this broadcast address list in the broadcast address in this preferential video source.

In another embodiment provided in an embodiment of the present invention, this step 202 and step 203 can be by following steps generations Replace:According to this video labeling, obtain broadcast address in the plurality of video source for this video labeling, and according to the plurality of video source Weight order, generate broadcast address list in the plurality of video source for this video labeling.

204:Send this broadcast address list to terminal unit so that this terminal unit, according to this broadcast address list, is broadcast Put the corresponding video of this video labeling.

Method provided in an embodiment of the present invention, can consider multiple impact video such as broadcasting speed, pause frequency and broadcast Put the factor of effect, automatically choose the more preferable video source of video display effect in multiple video source and carry out video playback, operation letter , it is to avoid multiple Switch Video source, and then solve the incoherent problem of video plot leading to due to Switch Video source just.

Fig. 3 is a kind of flow chart of video broadcasting method provided in an embodiment of the present invention.The interaction master of this inventive embodiments Body is terminal unit server, and referring to Fig. 3, methods described includes:

301:During video playback, this server tests the speed to the plurality of video source, obtains the plurality of video The broadcasting speed in source;

Embodiment of the present invention adjustment mode based on the adjustment mode that the plurality of video source is tested the speed, and by this Server illustrates as a example the plurality of video source is tested the speed.

302:This server sends the broadcasting speed of the plurality of video source to this terminal unit;

303:When this terminal unit receives the broadcasting speed of the plurality of video source, according to the broadcasting of the plurality of video source Speed, determines the weight of the plurality of video source, execution step 304, step 305 and step 307;

The embodiment of the present invention determines the weight of the plurality of video source with this terminal unit, and adjusts the power of the plurality of video source Illustrate as a example weight.

304:When this terminal unit detects the video playback failure of arbitrary video source, reduce the failure of this video playback The weight of video source, execution step 309;

305:This terminal unit counts the pause frequency of the plurality of video source;

306:This terminal unit, according to the pause frequency of the plurality of video source, adjusts the weight of the plurality of video source, execution Step 309;

307:When video playback completes, this terminal unit, according to the history handover operation to the plurality of video source, obtains Last video source in this history handover operation;

The embodiment of the present invention illustrates with as a example when video playback completes, obtaining this last video source.

308:This terminal unit improves the weight of this last video source, execution step 309;

309:This terminal unit obtains the weight of the plurality of video source after adjustment;

310:This terminal unit receives the first video playback request, and the request of this first video playback carries video labeling;

311:This terminal unit, according to the weight of the plurality of video source, obtains this preferential video source;

312:This terminal unit sends the second video playback request to this server, and the request of this second video playback carries this Video labeling and this preferential video source;

313:When this server receives the request of this second video playback, according to this video labeling, obtain this video mark Know the list of the broadcast address in multiple video source;

314:By this video labeling, the broadcast address in this preferential video source is defined as this broadcast address row to this server First broadcast address in table;

315:This server sends this broadcast address list to this terminal unit;

316:When this terminal unit receives the broadcast address list of this server return, arranged according to this broadcast address Table, plays the corresponding video of this video labeling.

Method provided in an embodiment of the present invention, by obtaining the weight of multiple video source, according to the weight of multiple video source, Obtain this preferential video source, when playing video, preferentially play the corresponding video of this video labeling in this preferential video source, can Consider the factor of multiple impact video display effect such as broadcasting speed, pause frequency, automatically choose in multiple video source and regard The more preferable video source of frequency result of broadcast carries out video playback, easy and simple to handle, it is to avoid multiple Switch Video source, so solve by The incoherent problem of video plot leading in Switch Video source, and propulsion over time, can make video display effect Tend to optimum.

Fig. 4 is a kind of video play device structural representation provided in an embodiment of the present invention, referring to Fig. 4, described device bag Include:First receiver module 401, preferential acquisition module 402, the second request sending module 403, video playback module 404,

Wherein, the first receiver module 401 is used for receiving the first video playback request, and the request of this first video playback carries and regards Frequency marking is known;Preferential acquisition module 402 is connected with the first receiver module 401, for the weight according to multiple video source, obtains preferential Video source;Second request sending module 403 is connected with preferential acquisition module 402, for sending the second video playback to server Request, the request of this second video playback carries this video labeling and this preferential video source so that this server second regards according to this Frequency playing request returns broadcast address list, and this broadcast address list at least includes this video labeling in this preferential video source Broadcast address;Video playback module 404 is connected with the second request sending module 403, receives the return of this server for working as During broadcast address list, according to this broadcast address list, play the corresponding video of this video labeling.

Preferably, this preferential acquisition module 402 is used for the weight according to multiple video source, by weight in the plurality of video source Highest video source is retrieved as this preferential video source.

Preferably, this device also includes:

Speed measuring module, for testing the speed, obtains the broadcasting speed of the plurality of video source to the plurality of video source;

Weight determination module, for the broadcasting speed according to the plurality of video source, determines the weight of the plurality of video source.

Preferably, this device also includes:

Switching acquisition module, for according to the history handover operation to the plurality of video source, obtaining this history handover operation In last video source;

First adjusting module, for improving the weight of this last video source.

Preferably, this device also includes:

Interim card statistical module, for, during playing video, counting the pause frequency of the plurality of video source;

Second adjusting module, for the pause frequency according to the plurality of video source, adjusts the weight of the plurality of video source.

Preferably, this second adjusting module is used for when the pause frequency arbitrary video source is detected is less than predetermined threshold value, Improve the weight that this pause frequency is less than the video source of predetermined threshold value.

Preferably, this device also includes:

3rd adjusting module, for when the video playback failure of arbitrary video source is detected, reducing this video playback and losing The weight of the video source losing.

Preferably, this video playback module 404 is used for when receiving this broadcast address list, according to this broadcast address row First broadcast address in table, plays the corresponding video of this video labeling.

Fig. 5 is a kind of video play device structural representation provided in an embodiment of the present invention, referring to Fig. 5, described device bag Include:Second request receiving module 501, list acquisition module 502, position determination module 503, list sending module 504,

Wherein, the second request receiving module 501 is used for receiving the second video playback request, and the request of this second video playback is taken Band video labeling and preferential video source;List acquisition module 502 is connected with the second request receiving module 501, for being regarded according to this Frequency marking is known, and obtains the list of broadcast address in multiple video source for this video labeling;Position determination module 503 is obtained with list Module 502 connects, for being defined as in this broadcast address list this video labeling in the broadcast address in this preferential video source First broadcast address;List sending module 504 is connected with position determination module 503, broadcasts for sending this to terminal unit Put address list so that this terminal unit is according to this broadcast address list, play the corresponding video of this video labeling.

It should be noted that:Above-described embodiment provide video playback device play video when, only with above-mentioned each work( The division of energy module is illustrated, and in practical application, can distribute above-mentioned functions by different functions as desired Module completes, and the internal structure of terminal unit server will be divided into different functional modules, described above to complete All or part of function.In addition, the device of video playback that above-described embodiment provides is belonged to the embodiment of the method for video playback In same design, it implements process and refers to embodiment of the method, repeats no more here.

Fig. 6 is a kind of terminal unit structural representation provided in an embodiment of the present invention, and referring to Fig. 6, this terminal unit is permissible For implementing the video broadcasting method providing in above-described embodiment.Specifically:

Terminal unit 600 can include communication unit 110, include one or more computer-readable recording mediums Memorizer 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, wireless communication unit 170, bag Include the parts such as processor 180 and the power supply 190 of or more than one processing core.Those skilled in the art are permissible Understand, the terminal unit structure shown in Fig. 6 does not constitute the restriction to terminal unit, can include more more or less than illustrating Part, or combine some parts, or different part arrangement.Wherein:

Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 Can be RF(Radio Frequency, radio frequency)The network communication equipments such as circuit, router, modem.Especially, when When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180 Reason;In addition, up data is activation will be related to base station.Usually as communication unit RF circuit include but is not limited to antenna, At least one amplifier, tuner, one or more agitator, subscriber identity module(SIM)Card, transceiver, bonder, LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 110 can also be by wireless Communication is communicated with network and other equipment.Described radio communication can use arbitrary communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code Point multiple access), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.. Memorizer 120 can be used for storing software program and module, and processor 180 passes through to run the software journey being stored in memorizer 120 Sequence and module, thus execute various function application and data processing.Memorizer 120 can mainly include storing program area and deposit Storage data field, wherein, storing program area can application program needed for storage program area, at least one function(Such as sound is broadcast Playing function, image player function etc.)Deng;Storage data field can store according to terminal unit 600 using the data being created(Than As voice data, phone directory etc.)Deng.Additionally, memorizer 120 can include high-speed random access memory, can also include non- Volatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Accordingly Ground, memorizer 120 can also include Memory Controller, to provide processor 180 and input block 130 to memorizer 120 Access.

Input block 130 can be used for numeral or the character information of receives input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, input block 130 may include tactile Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use Family is thereon or neighbouring touch operation(Such as user uses any suitable object such as finger, stylus or adnexa in touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.Preferably , Touch sensitive surface 131 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information in detection means, and be converted into contact coordinate, then give processor 180, and can receiving processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、 One or more of trace ball, mouse, action bars etc..

Display unit 140 can be used for showing by the information of user input or the information and the terminal unit that are supplied to user 600 various graphical user interface, these graphical user interface can be come by figure, text, icon, video and its combination in any Constitute.Display unit 140 may include display floater 141, preferably, can using LCD (Liquid Crystal Display, Liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to be configuring display Panel 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detect thereon or near Touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch event Type provides corresponding visual output on display floater 141.Although in figure 6, Touch sensitive surface 131 and display floater 141 are To realize input and input function as two independent parts, but in some embodiments it is possible to by Touch sensitive surface 131 with Display floater 141 integrated and realize input and output function.

Terminal unit 600 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can basis The light and shade of ambient light adjusting the brightness of display floater 141, proximity transducer can when terminal unit 600 moves in one's ear, Close display floater 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect all directions On(Generally three axles)The size of acceleration, can detect that size and the direction of gravity when static, can be used for identifying mobile phone attitude Application(Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, strike Hit)Deng;The gyroscope that can also configure as terminal unit 600, barometer, drimeter, thermometer, infrared ray sensor etc. other Sensor, will not be described here.

Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio interface between user and terminal unit 600. The signal of telecommunication after the voice data receiving conversion can be transferred to speaker 161, is changed by speaker 161 by voicefrequency circuit 160 For acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, is connect by voicefrequency circuit 160 Voice data is converted to after receipts, then after voice data output processor 180 is processed, such as another to be sent to through RF circuit 110 One terminal unit, or voice data is exported to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and terminal unit 600.

In order to realize radio communication, this terminal unit can be configured with wireless communication unit 170, this wireless communication unit 170 can be WiFi module.WiFi belongs to short range wireless transmission technology, and terminal unit 600 can by wireless communication unit 170 To help user to send and receive e-mail, to browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although Fig. 6 shows wireless communication unit 170, but it is understood that, it is simultaneously not belonging to terminal unit 600 Must be configured into, can omit in the scope of essence not changing invention as needed completely.

Processor 180 is the control centre of terminal unit 600, using various interfaces and connection whole mobile phone each Part, is stored in software program and/or module in memorizer 120 by running or executing, and calls and be stored in memorizer Data in 120, the various functions of execution terminal unit 600 and processing data, thus carry out integral monitoring to mobile phone.Preferably , processor 180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modulatedemodulate Adjust processor, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor Main process radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.

Terminal unit 600 also includes the power supply 190 powered to all parts(Such as battery)It is preferred that power supply can lead to Cross power-supply management system logically contiguous with processor 180, thus by power-supply management system realize management charge, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.

Although not shown, terminal unit 600 can also include photographic head, bluetooth module etc., will not be described here.Specifically exist In the present embodiment, the display unit of terminal unit is touch-screen display, and terminal unit also includes memorizer, and one or The more than one program of person, one of or more than one program storage in memorizer, and be configured to by one or What video broadcasting method that more than one computing device embodiment illustrated in fig. 1 is provided and embodiment illustrated in fig. 3 were provided regards Frequency player method.

Fig. 7 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, referring to Fig. 7, including:Receptor 701, send out Emitter 702, memorizer 703 and processor 704, this receptor 701, this emitter 702 and this memorizer 703 respectively with this process Device 704 connects, and this memorizer 703 has program stored therein code, and this processor 704 is used for calling this program code, and execution is following to grasp Make:

By this receptor 701 receive second video playback request, this second video playback request carry video labeling and Preferential video source;

According to this video labeling, obtain the list of broadcast address in multiple video source for this video labeling;

This video labeling is defined as first in this broadcast address list in the broadcast address in this preferential video source Broadcast address;

This broadcast address list is sent so that this terminal unit is according to this broadcasting to terminal unit by this emitter 702 Address list, plays the corresponding video of this video labeling.

One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..

The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (20)

1. a kind of video broadcasting method is it is characterised in that be applied to be polymerized under the scene that multiple video source play video, described side Method includes:
Receive the first video playback request, described first video playback request carries video labeling;
According to the weight of multiple video source, obtain preferential video source;
Send the second video playback request to server, described second video playback request carries described video labeling and described excellent First video source is so that described server returns broadcast address list, described broadcast address according to described second video playback request List at least includes broadcast address in described preferential video source for the described video labeling;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play described video Identify corresponding video
The described weight according to multiple video source, obtains preferential video source and also includes:Judge that history plays whether record includes institute State video labeling, when determining that described history broadcasting record includes described video labeling, described history is play institute in record State the corresponding video source of video labeling and be retrieved as described preferential video source.
2. method according to claim 1 is it is characterised in that according to the weight of multiple video source, obtain preferential video source Including:
According to the weight of multiple video source, weight highest video source in the plurality of video source is retrieved as described preferential video Source.
3. method according to claim 1 is it is characterised in that according to the weight of multiple video source, obtain preferential video source Before, methods described also includes:
The plurality of video source is tested the speed, obtains the broadcasting speed of the plurality of video source;
According to the broadcasting speed of the plurality of video source, determine the weight of the plurality of video source.
4. method according to claim 1 is it is characterised in that according to the weight of multiple video source, obtain preferential video source Before, methods described also includes:
According to the history handover operation to the plurality of video source, obtain last video source in described history handover operation;
Improve the weight of last video source described.
5. method according to claim 1 is it is characterised in that according to the weight of multiple video source, obtain preferential video source Before, methods described also includes:
During playing video, count the pause frequency of the plurality of video source;
According to the pause frequency of the plurality of video source, adjust the weight of the plurality of video source.
6. method according to claim 5 is it is characterised in that according to the pause frequency of the plurality of video source, adjust institute The weight stating multiple video source includes:
When the pause frequency arbitrary video source is detected is less than predetermined threshold value, improves described pause frequency and be less than predetermined threshold value The weight of video source.
7. method according to claim 1 is it is characterised in that according to the weight of multiple video source, obtain preferential video source Before, methods described also includes:
When the video playback failure of arbitrary video source is detected, reduce the weight of the video source of described video playback failure.
8. method according to claim 1 receives, it is characterised in that working as, the broadcast address list that described server returns When, according to described broadcast address list, play the corresponding video of described video labeling and include:
When receiving described broadcast address list, according to first broadcast address in described broadcast address list, play institute State the corresponding video of video labeling.
9. a kind of video broadcasting method is it is characterised in that being applied to be polymerized under the scene that multiple video source play video, described Method includes:
Receive the second video playback request, described second video playback request carries video labeling and preferential video source;Wherein, institute The acquisition modes stating preferential video source are:Play whether record includes described video labeling by judging history, described when determining When history broadcasting record includes described video labeling, described history is play the corresponding video source of video labeling described in record It is retrieved as described preferential video source;
According to described video labeling, obtain the list of broadcast address in multiple video source for the described video labeling;
Described video labeling is defined as first in described broadcast address list in the broadcast address in described preferential video source Individual broadcast address;
Send described broadcast address list to terminal unit so that described terminal unit is according to described broadcast address list, play The corresponding video of described video labeling.
10. a kind of video play device is it is characterised in that being applied to be polymerized under the scene that multiple video source play video, described Device includes:
First receiver module, for receiving the first video playback request, described first video playback request carries video labeling;
Preferential acquisition module, for the weight according to multiple video source, obtains preferential video source;
Second request sending module, for sending the second video playback request to server, described second video playback request is taken Carry described video labeling and described preferential video source so that described server returns broadcasting according to described second video playback request Address list, described broadcast address list at least includes broadcast address in described preferential video source for the described video labeling;
Video playback module, for when receiving the broadcast address list that described server returns, according to described broadcast address List, plays the corresponding video of described video labeling;
Described device is additionally operable to judge that history plays whether record includes described video labeling, records when determining that described history is play When including described video labeling, the corresponding video source of video labeling described in described history broadcasting record is retrieved as described excellent First video source.
11. devices according to claim 10 are it is characterised in that described preferential acquisition module is used for according to multiple video source Weight, weight highest video source in the plurality of video source is retrieved as described preferential video source.
12. devices according to claim 10 are it is characterised in that described device also includes:
Speed measuring module, for testing the speed, obtains the broadcasting speed of the plurality of video source to the plurality of video source;
Weight determination module, for the broadcasting speed according to the plurality of video source, determines the weight of the plurality of video source.
13. devices according to claim 10 are it is characterised in that described device also includes:
Switching acquisition module, for according to the history handover operation to the plurality of video source, obtaining described history handover operation In last video source;
First adjusting module, for improving the weight of last video source described.
14. devices according to claim 10 are it is characterised in that described device also includes:
Interim card statistical module, for, during playing video, counting the pause frequency of the plurality of video source;
Second adjusting module, for the pause frequency according to the plurality of video source, adjusts the weight of the plurality of video source.
15. devices according to claim 14 detect arbitrary regarding it is characterised in that described second adjusting module is used for working as When the pause frequency in frequency source is less than predetermined threshold value, improve the weight that described pause frequency is less than the video source of predetermined threshold value.
16. devices according to claim 10 are it is characterised in that described device also includes:
3rd adjusting module, for when the video playback failure of arbitrary video source is detected, reducing described video playback failure Video source weight.
17. devices according to claim 10 are it is characterised in that described video playback module is used for broadcasting described in receive When putting address list, according to first broadcast address in described broadcast address list, play that described video labeling is corresponding to be regarded Frequently.
A kind of 18. video play devices are it is characterised in that being applied to be polymerized under the scene that multiple video source play video, described Device includes:
Second request receiving module, for receiving the second video playback request, described second video playback request carries video mark Know and preferential video source;
List acquisition module, for according to described video labeling, obtaining broadcasting ground in multiple video source for the described video labeling The list of location;Wherein, the acquisition modes of described preferential video source are:Play whether record includes described video by judging history Mark, when determining that described history broadcasting record includes described video labeling, described history is play video described in record Identify corresponding video source and be retrieved as described preferential video source;
Position determination module, is defined as described broadcasting for the broadcast address in described preferential video source by described video labeling First broadcast address in address list;
List sending module, for sending described broadcast address list so that described terminal unit is according to described to terminal unit Broadcast address list, plays the corresponding video of described video labeling.
A kind of 19. terminal units, it is characterised in that being applied to be polymerized under the scene that multiple video source play video, include and deposit Reservoir, and one or more than one program, one of or more than one program storage in memorizer, and through joining Put with by one or more than one computing device is one or more than one program bag contains and is used for carrying out following operation Instruction:
Receive the first video playback request, described first video playback request carries video labeling;
According to the weight of multiple video source, obtain preferential video source;
Send the second video playback request to server, described second video playback request carries described video labeling and described Preferential video source is so that described server returns to broadcast address list, described broadcasting ground according to described second video playback request Location list at least includes broadcast address in described preferential video source for the described video labeling;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play described video Identify corresponding video;
Described terminal unit is additionally operable to play whether record includes described video labeling by judging history, when the described history of determination When broadcasting record includes described video labeling, described history is play the corresponding video source of video labeling described in record and obtains For described preferential video source.
20. a kind of servers it is characterised in that be applied to are polymerized under the scene that multiple video source play videos, including:Receive Device, emitter, memorizer and processor, described receptor, described emitter and described memorizer are respectively with described processor even Connect, described memory storage has program code, described processor is used for calling described program code, execution is following to be operated:
Receive the second video playback request, described second video playback request carries video labeling and preferential video source;Wherein, institute The acquisition modes stating preferential video source are:Play whether record includes described video labeling by judging history, described when determining When history broadcasting record includes described video labeling, described history is play the corresponding video source of video labeling described in record It is retrieved as described preferential video source;
According to described video labeling, obtain the list of broadcast address in multiple video source for the described video labeling;
Described video labeling is defined as first in described broadcast address list in the broadcast address in described preferential video source Individual broadcast address;
Send described broadcast address list to terminal unit so that described terminal unit is according to described broadcast address list, play The corresponding video of described video labeling.
CN201310382133.5A 2013-08-28 2013-08-28 Video broadcasting method, device, terminal unit server CN103458305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310382133.5A CN103458305B (en) 2013-08-28 2013-08-28 Video broadcasting method, device, terminal unit server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310382133.5A CN103458305B (en) 2013-08-28 2013-08-28 Video broadcasting method, device, terminal unit server
PCT/CN2014/076178 WO2015027714A1 (en) 2013-08-28 2014-04-25 Video playing method and apparatus, terminal device and server

Publications (2)

Publication Number Publication Date
CN103458305A CN103458305A (en) 2013-12-18
CN103458305B true CN103458305B (en) 2017-03-01

Family

ID=49740192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310382133.5A CN103458305B (en) 2013-08-28 2013-08-28 Video broadcasting method, device, terminal unit server

Country Status (2)

Country Link
CN (1) CN103458305B (en)
WO (1) WO2015027714A1 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458305B (en) * 2013-08-28 2017-03-01 小米科技有限责任公司 Video broadcasting method, device, terminal unit server
CN103475914B (en) * 2013-08-28 2017-02-08 小米科技有限责任公司 Video playing method, video playing device, terminal equipment and server
CN103905879B (en) * 2014-03-13 2018-07-06 北京奇艺世纪科技有限公司 The method, apparatus and equipment that a kind of video data and audio data are played simultaneously
CN103873928B (en) * 2014-03-14 2017-07-21 可牛网络技术(北京)有限公司 A kind of method, device and application server for playing video
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN105323654B (en) 2014-08-05 2019-02-15 优视科技有限公司 The method and apparatus for carrying out the content-data of automatic network is presented
CN104301790A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Method for ranking fluency of television programs
CN104410878A (en) * 2014-12-05 2015-03-11 北京国双科技有限公司 Method and device for detecting video Caton time distribution
CN104954877B (en) * 2015-06-29 2019-02-12 深圳市微浦技术有限公司 The data load method and system of set-top box
CN104994403A (en) * 2015-07-13 2015-10-21 无锡天脉聚源传媒科技有限公司 Video contrasting method and device
CN106921875A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The switching handling method and device of video
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system
CN105933735A (en) * 2016-06-20 2016-09-07 徐汕 Automatic sorting method of live broadcast program source videos
CN106204552B (en) * 2016-06-30 2019-07-12 北京奇艺世纪科技有限公司 A kind of detection method and device of video source
CN106303703B (en) * 2016-08-01 2019-04-09 广州视源电子科技股份有限公司 Select the method and device of program source
CN106331755B (en) * 2016-08-17 2019-10-08 广州酷狗计算机科技有限公司 The method and apparatus for handling Media Stream Caton
CN106358082A (en) * 2016-11-01 2017-01-25 合网络技术(北京)有限公司 Video playing method and device
CN106604135A (en) * 2016-12-21 2017-04-26 深圳市泰普森科技有限公司 Video playing method based on set top box and set top box
WO2018112784A1 (en) * 2016-12-21 2018-06-28 深圳市泰普森科技有限公司 Video playing method based on set-top box and set-top box
CN106973318B (en) * 2017-03-20 2020-01-14 聚好看科技股份有限公司 Aggregated video operation method and device
CN107786898A (en) * 2017-09-28 2018-03-09 南京林洋电力科技有限公司 A kind of electric power wisdom business hall media intelligent player method with compensation mechanism
CN107734362A (en) * 2017-10-11 2018-02-23 咪咕视讯科技有限公司 The determination method, apparatus and computer-readable recording medium of a kind of video source

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method
CN101919239A (en) * 2007-12-28 2010-12-15 夏普株式会社 AV device and UI display method
CN102685565A (en) * 2012-05-18 2012-09-19 合一网络技术(北京)有限公司 Click feedback type individual recommendation system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
CN103221955A (en) * 2012-11-06 2013-07-24 华为技术有限公司 Content recommending method, system and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635826B (en) * 2008-07-21 2011-02-09 中国科学院计算技术研究所 Method for acquiring addresses of network video programs
CN102799693A (en) * 2012-08-23 2012-11-28 上海广电电子科技有限公司 Video content pushing method and system
CN103458305B (en) * 2013-08-28 2017-03-01 小米科技有限责任公司 Video broadcasting method, device, terminal unit server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101919239A (en) * 2007-12-28 2010-12-15 夏普株式会社 AV device and UI display method
CN101697109A (en) * 2009-10-26 2010-04-21 北京搜狗科技发展有限公司 Method and system for acquiring candidates of input method
CN102685565A (en) * 2012-05-18 2012-09-19 合一网络技术(北京)有限公司 Click feedback type individual recommendation system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
CN103221955A (en) * 2012-11-06 2013-07-24 华为技术有限公司 Content recommending method, system and apparatus

Also Published As

Publication number Publication date
CN103458305A (en) 2013-12-18
WO2015027714A1 (en) 2015-03-05

Similar Documents

Publication Publication Date Title
CN104113782B (en) Based on the method for registering of video, terminal, server and system
CN103327102B (en) A kind of method and apparatus recommending application program
US20160110005A1 (en) Tapping Control Method and Terminal
HUE035464T2 (en) Data transmission method, data transmission device and terminal provided with touch screen
CN103281687A (en) Network flow management method and device of double-card terminal
CN104169856B (en) Side menu display method, device and terminal
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
WO2015027714A1 (en) Video playing method and apparatus, terminal device and server
CN103309673B (en) A kind of conversation processing method based on gesture, device
CN104618440B (en) Smart machine control method and device
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103309562A (en) Desktop display method, desktop display device and mobile terminal
CN106020987A (en) Method and device for determining kernel running configurations in processor
CN103455256A (en) Method and terminal for rotating display picture of screen
CN103400108B (en) Face identification method, device and mobile terminal
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103472971B (en) A kind of method, device and the terminal device of setting acquisition parameters
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN103530040B (en) Object element moving method, device and electronic equipment
CN103513769B (en) Method, device and mobile terminal for setting key function
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN103402190B (en) Method and device for selecting network as well as terminal
CN105120065B (en) Message treatment method and device
CN103533387B (en) A kind of live video control, equipment and system

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