CN103458305A - Video playing method and device, terminal device and server - Google Patents

Video playing method and device, terminal device and server Download PDF

Info

Publication number
CN103458305A
CN103458305A CN2013103821335A CN201310382133A CN103458305A CN 103458305 A CN103458305 A CN 103458305A CN 2013103821335 A CN2013103821335 A CN 2013103821335A CN 201310382133 A CN201310382133 A CN 201310382133A CN 103458305 A CN103458305 A CN 103458305A
Authority
CN
China
Prior art keywords
video
video source
broadcast address
weight
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103821335A
Other languages
Chinese (zh)
Other versions
CN103458305B (en
Inventor
江波
李锋
李少雄
丁晓亮
蒋黎峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310382133.5A priority Critical patent/CN103458305B/en
Publication of CN103458305A publication Critical patent/CN103458305A/en
Priority to PCT/CN2014/076178 priority patent/WO2015027714A1/en
Application granted granted Critical
Publication of CN103458305B publication Critical patent/CN103458305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

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

Abstract

The invention discloses a video playing method and device, a terminal device and a server, and belongs to the technical field of networks. The video playing method comprises the following steps: a first video playing request is received; a preference video source is acquired according to the weight of multiple video sources; a second video playing request is sent to the server so that the server can send back a playing address list according to the second video playing request; the video playing device plays videos corresponding to video identifications according to the playing address list when receiving the playing address list send back by the server. According to the video playing method and device, the terminal device and the server, various factors which affect video playing effects such as playing speed and jam and pause frequency can be taken into comprehensive consideration, the video source which has a better playing effect is automatically selected from the multiple video sources to be played, the operation is simple and convenient, repeated switchover of the video sources is avoided, and therefore the problem that the switchover of the video sources causes incoherent video plots is solved.

Description

Video broadcasting method, device, terminal equipment and server
Technical field
The present invention relates to networking technology area, particularly a kind of video broadcasting method, device, terminal equipment and server.
Background technology
Along with the development of network technology and video technique, there are many video vendor to provide video source for the user, as excellent cruel, strange skill, Sohu etc.And for the ease of user's displaying video, can adopt the mode of video polymerization, the video source of a plurality of video vendor is aggregating, and the user accesses the website of this video aggregated service or uses the client of this video aggregated service can enjoy the Online Video service of a plurality of video vendor.
Adopt the mode of video polymerization, the corresponding a plurality of video source of video council when needs are play this video, can be selected by the user video source from a plurality of video source, can also from a plurality of video source, select at random a video source.
In realizing process of the present invention, the inventor finds at least to exist following problem:
When the user selects video source voluntarily, the video source of selection may exist various causing to play the factor that card pauses, and causes broadcasting not smooth, makes the user need repeatedly Switch Video source, complex operation; When terminal equipment is selected video source at random, can't be selected the demand of different video according to the user, and, for the video with many collection, due to the method difference of different video source diversity, also may cause the video plot discontinuous.
Summary of the invention
In order to solve repeatedly the Switch Video source and can't to select video source to the demand of different video according to the user, cause the incoherent problem of video plot, the embodiment of the present invention provides a kind of video broadcasting method, device, terminal equipment and server.Described technical scheme is as follows:
First aspect, provide a kind of video broadcasting method, and described method comprises:
Receive the first video playback request, video labeling is carried in described the first video playback request;
According to the weight of a plurality of video source, obtain preferential video source;
Send the second video playback request to server, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
Preferably, according to the weight of a plurality of video source, obtain preferential video source and comprise:
According to the weight of a plurality of video source, the highest video source of weight in described a plurality of video source is retrieved as to described preferential video source.
Preferably, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
Described a plurality of video source are tested the speed, obtained the broadcasting speed of described a plurality of video source;
According to the broadcasting speed of described a plurality of video source, determine the weight of described a plurality of video source.
Preferably, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
According to the historical handover operation to described a plurality of video source, obtain last video source in described historical handover operation;
Improve the weight of described last video source.
Preferably, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
In the process of displaying video, the card of the adding up described a plurality of video source frequency of pausing;
According to the card of the described a plurality of video source frequency of pausing, adjust the weight of described a plurality of video source.
Preferably, according to the card of the described a plurality of video source frequency of pausing, the weight of adjusting described a plurality of video source comprises:
When the card that arbitrary video source detected pauses frequency while being less than predetermined threshold value, improve the described card frequency of pausing and be less than the weight of the video source of predetermined threshold value.
Preferably, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
When the video playback failure of arbitrary video source being detected, reduce the weight of the video source of described video playback failure.
Preferably, when receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding and comprise:
When receiving described broadcast address list, according to first broadcast address in described broadcast address list, play the video that described video labeling is corresponding.
Second aspect, provide a kind of video broadcasting method, it is characterized in that, described method comprises:
Receive the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
According to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Broadcast address by described video labeling in described preferential video source is defined as first broadcast address in described broadcast address list;
Send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, play the video that described video labeling is corresponding.
The third aspect, provide a kind of video play device, and described device comprises:
The first receiver module, for receiving the first video playback request, video labeling is carried in described the first video playback request;
Preferential acquisition module, for the weight according to a plurality of video source, obtain preferential video source;
The second request sending module, for to server, sending the second video playback request, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
The video playback module, for when receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
Preferably, described preferential acquisition module, for the weight according to a plurality of video source, is retrieved as described preferential video source by the highest video source of weight in described a plurality of video source.
Preferably, described device also comprises:
Speed measuring module, for described a plurality of video source are tested the speed, obtain the broadcasting speed of described a plurality of video source;
The weight determination module, for the broadcasting speed according to described a plurality of video source, determine the weight of described a plurality of video source.
Preferably, described device also comprises:
The switching acquisition module, the historical handover operation for according to described a plurality of video source, obtain last video source in described historical handover operation;
The first adjusting module, for improving the weight of described last video source.
Preferably, described device also comprises:
A card statistical module, for the process at displaying video, the card of the adding up described a plurality of video source frequency of pausing;
The second adjusting module, for the frequency of pausing of the card according to described a plurality of video source, adjust the weight of described a plurality of video source.
Preferably, described the second adjusting module is for pausing frequency while being less than predetermined threshold value when the card that arbitrary video source detected, improves the described card frequency of pausing and is less than the weight of the video source of predetermined threshold value.
Preferably, described device also comprises:
The 3rd adjusting module, for when the video playback failure of arbitrary video source being detected, reduce the weight of the video source of described video playback failure.
Preferably, described video playback module, for when receiving described broadcast address list, according to first broadcast address in described broadcast address list, is play the video that described video labeling is corresponding.
Fourth aspect, provide a kind of video play device, and described device comprises:
The second request receiving module, for receiving the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
The list acquisition module, for according to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Position determination module, for first broadcast address in the broadcast address of described preferential video source is defined as described broadcast address list by described video labeling;
The list sending module, for send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, plays the video that described video labeling is corresponding.
The 5th aspect, a kind of terminal equipment is provided, include memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Receive the first video playback request, video labeling is carried in described the first video playback request;
According to the weight of a plurality of video source, obtain preferential video source;
Send the second video playback request to server, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
The 6th aspect, a kind of server is provided, comprise: receiver, reflector, memory and processor, described receiver, described reflector and described memory are connected with described processor respectively, described memory stores has program code, described processor, for calling described program code, is carried out following operation:
Receive the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
According to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Broadcast address by described video labeling in described preferential video source is defined as first broadcast address in described broadcast address list;
Send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, play the video that described video labeling is corresponding.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method that the embodiment of the present invention provides, device, terminal equipment and server, by obtaining the weight of a plurality of video source, weight according to a plurality of video source, obtain this preferential video source, when displaying video, video corresponding to this video labeling in preferential this preferential video source of broadcasting, can consider broadcasting speed, the multiple factors that affect video display effect such as a card frequency, automatically choose the better video source of video display effect in a plurality of video source and carry out video playback, easy and simple to handle, avoided repeatedly Switch Video source, and then solved the incoherent problem of video plot caused due to the Switch Video source.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention;
Fig. 2 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention;
Fig. 3 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention;
Fig. 4 is a kind of video play device structural representation that the embodiment of the present invention provides;
Fig. 5 is a kind of video play device structural representation that the embodiment of the present invention provides;
Fig. 6 is a kind of terminal equipment structural representation that the embodiment of the present invention provides;
Fig. 7 is a kind of server architecture schematic diagram that the embodiment of the present invention provides.
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 clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention.The executive agent of this inventive embodiments is terminal equipment, and referring to Fig. 1, described method comprises:
101: receive the first video playback request, video labeling is carried in this first video playback request;
Wherein, this video labeling can be video name corresponding to this first video playback request or sequence number etc., and the embodiment of the present invention is not done restriction to this.
In addition, this the first video playback request can be clicked by the user video name and trigger on the corresponding display of terminal equipment, in the situation that many collection chain broadcast, in the time of can also completing in the video playback of Shang Yiji the first video playback request of next collection, automatically trigger, the embodiment of the present invention is not done restriction yet to this.
In embodiments of the present invention, this terminal equipment can be for having the equipment of vision signal processing capacity, as Set Top Box or computer etc.
102: according to the weight of a plurality of video source, obtain preferential video source;
Wherein, the corresponding a plurality of video source of video, this video all has corresponding broadcast address in the plurality of video source, according to the broadcast address of arbitrary video source, all can play this video.
In embodiments of the present invention, each video source all has corresponding weight, and this weight can be weight percentage or arbitrary numerical value, and the embodiment of the present invention is not done restriction to this.The weight of the plurality of video source can show the result of broadcast of the plurality of video source when displaying video to a certain extent, that is to say the video source that can think that weight is higher, and video display effect is better.The card that the factor that video display effect is impacted occurs in the time of can comprising video playback pause number of times, video loading velocity or the video playback frequency of failure etc., the embodiment of the present invention is not done restriction to this.
In embodiments of the present invention, according to the weight of a plurality of video source, obtain preferential video source, this preferential video source can comprise a video source or a plurality of video source.That is to say, this preferential video source can be the highest video source of weight in the plurality of video source, can also be the preset number video source that in the plurality of video source, weight is the highest, and the embodiment of the present invention is not done restriction yet to this.
Preferably, the weight order from high to low according to the plurality of video source, sorted to the plurality of video source, makes the video source sequence that weight is higher more forward, obtains the weight order of the plurality of video source; The video source made number one is retrieved as to this preferential video source, and the video source that maybe will come front preset number position is retrieved as this preferential video source.
The embodiment of the present invention is applied under the scene of a plurality of video source displaying videos of polymerization, this terminal equipment can be play by the website of the plurality of video source of access aggregated the video of arbitrary video source in a plurality of video source, perhaps use the client of the plurality of video source of polymerization to bring in the video of playing arbitrary video source in a plurality of video source, the embodiment of the present invention is not done restriction to the polymerized form of the plurality of video source.
103: to server, send the second video playback request, this video labeling and this preferential video source are carried in this second video playback request, make this server return to the broadcast address list according to this second video playback request, this broadcast address list at least comprises the broadcast address of this video labeling in this preferential video source;
Wherein, this broadcast address list at least comprises the broadcast address of this video labeling in this preferential video source, can also comprise this video labeling broadcast address in the video source outside this preferential video source in the plurality of video source.In addition, the broadcast address in this broadcast address list can also comprise video in corresponding video source title and video source definition, upload the video informations such as user, be convenient to video source and video information that the user is known current displaying video.
In another embodiment provided in the embodiment of the present invention, this step 103 can be replaced by following steps: to this server, send this second video playback request, the weight order of this video labeling and the plurality of video source is carried in this second video playback request, make this server return to the broadcast address list according to this second video playback request, 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 that this server returns, according to this broadcast address list, play the video that this video labeling is corresponding.
In embodiments of the present invention, when receiving the broadcast address list that this server returns, can be according to first broadcast address in this broadcast address list, play the video that this video labeling is corresponding, can also from this broadcast address list, select at random broadcast address, play the video that this video labeling is corresponding, the embodiment of the present invention is not done restriction to this.
The method that the embodiment of the present invention provides, by obtaining the weight of a plurality of video source, weight according to a plurality of video source, obtain this preferential video source, when displaying video, video corresponding to this video labeling in preferential this preferential video source of broadcasting, can consider broadcasting speed, the multiple factors that affect video display effect such as a card frequency, automatically choose the better video source of video display effect in a plurality of video source and carry out video playback, easy and simple to handle, avoided repeatedly Switch Video source, and then solved the incoherent problem of video plot caused due to the Switch Video source.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source " and being comprised: according to the weight of a plurality of video source, the highest video source of weight in the plurality of video source is retrieved as to this preferential video source.
In embodiments of the present invention, the standard using the weight of the plurality of video source as the video display effect of weighing the plurality of video source, can think that the higher video display effect of video source when displaying video of weight is better.And, in order to obtain better video display effect, according to the weight of the plurality of video source, the highest video source of weight in the plurality of video source is retrieved as to this preferential video source, make and finally can play video corresponding to this video labeling in this preferential video source.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source " and also comprised: whether the historical record of playing of judgement comprises this video labeling; When determining that this history broadcasting record comprises this video labeling, this history is play to video source corresponding to this video labeling in record and be retrieved as this preferential video source.
Particularly, this history is play record and has been preserved a plurality of video labelings of having play, play record by traveling through this history, judge this history plays in record whether comprise this video labeling, when determining that this history broadcasting record comprises this video labeling, this history is play to video source corresponding to this video labeling in record and be retrieved as this preferential video source.
In embodiments of the present invention, during by the video in playing this history broadcasting record, the video source of this history being play to this video in record is retrieved as this preferential video source, the video source that makes the video of this broadcasting and this history play video in record is consistent, and has avoided occurring the plot that this plays starting point and the incoherent problem of plot of playing end point last time.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source " and is also comprised: judge this history plays in record whether comprise the video labeling be associated with this video labeling; When this history broadcasting record comprises the video labeling be associated with this video labeling, the video source corresponding to video labeling that will be associated with this video labeling is retrieved as this preferential video source.
Under actual conditions, for belonging to a series of video, the deversity scheme of different video source may be different, and the Switch Video source may cause the video plot discontinuous.In embodiments of the present invention, in order to solve the incoherent problem of video plot, each video labeling can be associated.
Wherein, the video name that different video labelings is corresponding is identical, can think that this different video labeling is interrelated, perhaps, for this video labeling adds check code, when the check code of different video labelings is identical, can think that this different video labeling is interrelated, the embodiment of the present invention is not done restriction to this.
Video name as corresponding as video labeling " disguise of an evildoer-1 " and video labeling " disguise of an evildoer-2 " is " disguise of an evildoer ", and video labeling " disguise of an evildoer-1 " and video labeling " disguise of an evildoer-2 " are the video labeling that is mutually related.
Particularly, this history is play record and has been preserved a plurality of video labelings of having play, play record by traveling through this history, judge this history plays in record whether comprise the video labeling be associated with this video labeling, when determining that this history broadcasting record comprises the video labeling be associated with this video labeling, the video source corresponding to video labeling that will be associated with this video labeling is retrieved as this preferential video source.
In embodiments of the present invention, when by a collection video switch, to another, collecting video, video before this switching has been kept at this history and has play in record, the video source of video before this switching is retrieved as to the preferential video source of this switching rear video, make when playing the video of many collection, video source can be consistent, and has avoided occurring the incoherent problem of video plot between different collection.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source ", and before, described method also comprises 102a and 102b:
102a: the plurality of video source is tested the speed, obtain the broadcasting speed of the plurality of video source;
In embodiments of the present invention, can be by this terminal equipment in the process of the video in playing arbitrary video source, obtain the broadcasting speed of video, and, according to the broadcasting speed of a plurality of videos in this video source got, determine the broadcasting speed of this video source; Can also at arbitrary terminal equipment, be play in the process of the video in arbitrary video source by this server, obtain the broadcasting speed of video, and, according to the broadcasting speed of a plurality of videos in this video source got, determine the broadcasting speed of this video source, the embodiment of the present invention is not done restriction to this.
Preferably, this server is play in the process of the video in a plurality of video source at terminal equipment, obtain the broadcasting speed of the video of current broadcasting, according to the broadcasting speed of one or more videos in a plurality of video source that get, determine respectively the broadcasting speed of a plurality of video source.When this terminal equipment need to be tested the speed, send to this server the request of testing the speed, make this server return to the broadcasting speed of a plurality of video source.
Wherein, the broadcasting speed of video source can be the mean value of the broadcasting speed of a plurality of videos in this video source, can also be the minimum value of the broadcasting speed of a plurality of videos in this video source, and the embodiment of the present invention is not done restriction to this.
It should be noted that, in the embodiment of the present invention, can to a plurality of videos in a plurality of video source, be tested the speed in real time, and periodically according to the broadcasting speed of the plurality of video, obtain the broadcasting speed of the plurality of video source, perhaps when instruction is tested the speed in user's triggering, according to the broadcasting speed of the plurality of video, obtain the broadcasting speed of the plurality of video source, the embodiment of the present invention is not done restriction to this.
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 of distributing to this video source is higher, and while making in subsequent process this preferential video source of Weight Acquisition according to a plurality of video source, what can guarantee this preferential video source is the video source faster of broadcasting speed in the plurality of video source.
Preferably, this step 102b comprises: according to the ratio of the broadcasting speed of the plurality of video source, determine the weight of the plurality of video source.
As, the broadcasting speed of video source 1 is 200kb/s, and the broadcasting speed of video source 2 is 400kb/s, and the broadcasting speed of video source 3 is 500kb/s, and the weight that can determine video source 1 is 20, and the weight of video source 2 is 40, and the weight of video source 3 is 50.
Preferably, when in the plurality of video source being detected, the broadcasting speed of arbitrary video source is less than pre-set velocity, determine that the weight that this broadcasting speed is less than the video source of pre-set velocity is default weight, wherein, this default weight is weight that predefined numerical value is less or the weight of numerical value minimum.
Suppose that this pre-set velocity is 100kb/s, when the broadcasting speed that video source 1 detected is less than 100kb/s, the weight of determining video source 1 is 1.
Wherein, this pre-set velocity and should default weight can being arranged when the exploitation by the technical staff, can also in use be arranged by the user, and the embodiment of the present invention is not done restriction to this.
It should be noted that, can be determined by this terminal equipment the weight of the plurality of video source, send to this terminal equipment after can also determining the weight of the plurality of video source by this server, the embodiment of the present invention is not done restriction to this.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source ", and before, described method also comprises 102c and 102d:
102c: according to the historical handover operation to the plurality of video source, obtain last video source in this history handover operation;
In the embodiment of the present invention, while in the process at displaying video, handover operation being detected, the current video source can be switched to the video source that this handover operation is corresponding.Wherein, this handover operation can be the clicking operation of the broadcast address outside the broadcast address to current video source in this broadcast address list, or, to the clicking operation of the button for the Switch Video source, the embodiment of the present invention is not done restriction to this.
Wherein, maybe when the playing request that receives certain video, according to the historical handover operation to the plurality of video source, obtain last video source in this history handover operation in the process of displaying video, when displaying video completes.Particularly, a plurality of handover operations detected in the process at displaying video, and the plurality of handover operation outnumber the predetermined registration operation number time, obtain video source corresponding to last handover operation in this history handover operation, that is to say last video source in this history handover operation.
In fact, the time that can complete at the plurality of handover operation is while surpassing default duration, obtain last video source in this history handover operation, perhaps when this video playback completes, obtain last video source in this history handover operation, the embodiment of the present invention is not to doing restriction the opportunity of obtaining of this last video source.
102d: the weight that improves this last video source.
In embodiments of the present invention, when the user has triggered repeatedly handover operation, can think this repeatedly in handover operation last video source be the video source that meets user's request, therefore improve the weight of this last video source.
Wherein, ratio or numerical value that the weight of this last video source is improved can be preset by the technical staff, or are in use set by the user, and the embodiment of the present invention is not done restriction to this.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source ", and before, described method also comprises 102e and 102f:
102e: in the process of displaying video, the card of the adding up the plurality of video source frequency of pausing;
In the embodiment of the present invention, in the process of displaying video, Caton phenomenon may occur, as stagnant frame of picture etc., affect video display effect.
Particularly, when the card of this video source of statistics pauses frequency, can be statistical unit the time, can also number of videos be statistical unit, corresponding, this step 102e comprises (1) or (2):
(1) in the process of displaying video, add up the plurality of video source card within a preset time interval number of times that pauses, obtain the mean value of the plurality of video source Nei Kadun number of a plurality of Preset Time interlude section in a plurality of videos;
Wherein, this Preset Time interval can be set by the technical staff, or is set by the user, and the embodiment of the present invention is not done restriction to this.
(2), in the process of displaying video, the number of times that pauses of the card while adding up each video playback in the plurality of video source, obtain the pause mean value of number of times of the card of the plurality of video source when a plurality of video playback.
Above-mentioned steps only be take the pause mean value of number of times of computer card and is determined that this card frequency, as example describes, in fact is not limited to the mode of calculating mean value, can also determine this card frequency of pausing by the pause summation of number of times of computer card, and the embodiment of the present invention is not done restriction to this.
102f: according to the card of the plurality of video source frequency of pausing, adjust the weight of the plurality of video source.
In embodiments of the present invention, the card of the video source frequency of pausing is higher, weight is lower, and while making in subsequent process this preferential video source of Weight Acquisition according to a plurality of video source, what can guarantee this preferential video source is a card lower video source of frequency in the plurality of video source.
Wherein, the resize ratio of the plurality of video source weight or adjustment numerical value can be set by the technical staff when developing, or are in use set by the user, and the embodiment of the present invention is not done restriction to this.
Preferably, according to the pause ratio of frequency of the card of the plurality of video source, determine the reduction percentage of the plurality of video source weight, according to the reduction percentage of the plurality of video source weight, reduce the weight of the plurality of video source.
The weight of video source 1 of still take is 20, the weight of video source 2 is 40, the weight of video source 3 is 50 for example, when the card of determining video source 1 frequency of pausing is 10 minutes 2 times, the card of video source 2 frequency of timing is 10 minutes 4 times, the card of video source 3 times frequency while being 10 minutes 1 time, can determine when adjusting the weight of video source, the weight of video source 1 is reduced to 20%, the weight of video source 2 reduces by 40%, and the weight of video source 3 reduces by 10%, and the weight of adjusting rear video source 1 is 16, the weight of video source 2 is 16, and the weight of video source 3 is 45.
Further, when the card that arbitrary video source detected pauses frequency while being less than predetermined threshold value, improve the weight that this card frequency is less than the video source of predetermined threshold value.
Particularly, this step can be replaced by following steps: when arbitrary video source being detected and surpass the Preset Time interval without the reproduction time of Caton phenomenon continuously, improve the weight of this video source; Or, when arbitrary video source being detected and outnumber default video number without the video of Caton phenomenon continuously, improve the weight of this video source.
Wherein, this predetermined threshold value, Preset Time interval and default video number all can be set by the technical staff when developing, or are in use set by the user, and the embodiment of the present invention is not done restriction to this.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 102 " according to the weight of a plurality of video source, is obtained preferential video source ", and before, described method also comprises 102g:
102g: when the video playback failure of arbitrary video source being detected, reduce the weight of the video source of this video playback failure.
Wherein, this video playback unsuccessfully can can't be opened for video, or the video sound picture is asynchronous etc., and the embodiment of the present invention is not done restriction to this.
Preferably, add up the broadcasting failure scenarios of a plurality of videos in the plurality of video source, when the video playback failure of arbitrary video source being detected, according to default percentage, reduce the weight of the video source of this video playback failure, wherein, this default percentage is percentage that predefined numerical value is larger or the percentage of numerical value maximum.
Wherein, according to this default 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, make the possibility of video playback failure of this preferential video source very little, avoided as much as possible the situation of video playback failure.
As, when the video playback failure of video source 1 being detected, the weight of video source 1 is reduced to 70%.
It should be noted that, above-mentioned steps 102a and 102b, 102c and 102d, 102e and 102f and 102g adjust mode to the difference of the weight of the plurality of video source, that is to say in step 102 " according to the weight of a plurality of video source; obtain preferential video source " and before, obtain the process of the weight of the plurality of video source.
In embodiments of the present invention, the adjustment mode is not limited to above-mentioned several, can also obtain the opinion rating of user to the plurality of video source, according to the opinion rating of the plurality of video source, adjusts the weight of the plurality of video source, and the embodiment of the present invention is not done restriction to this.
In fact, the step of the weight of the plurality of video source of above-mentioned adjustment can be carried out side by side, be the plurality of video source and distribute identical initial weight, and in the process of displaying video, pause frequency and detect the video playback failure scenarios of the card of tested the speed simultaneously, detect this history handover operation, adding up the plurality of video source, and, according to each adjustment mode, adjust the weight of the plurality of video source, when current video finishes playing, obtain the weight of the plurality of video source after adjusting.In addition, the difference of the upper weight to the plurality of video source is adjusted on can be the therein a kind of basis of adjusting mode of mode and is carried out.The mode that will be tested the speed to the plurality of video source is example as basis adjustment mode, by the plurality of video source is tested the speed, determine the weight of the plurality of video source, pause frequency and detect the video playback failure scenarios of the card of continue to detect afterwards this history handover operation, adding up the plurality of video source, and according to each adjustment mode, adjust the weight of the plurality of video source, when again the plurality of video source being tested the speed, redefine the weight of the plurality of video source.
In embodiments of the present invention, the basis adjustment mode of determining the weight of the plurality of video source also is not limited to the plurality of video source is tested the speed, the mode of the frequency of the card of the plurality of video source of statistics can also being paused is adjusted mode as basis, and the embodiment of the present invention is not done restriction to this.
It should be noted that, in the process of displaying video, can be tested the speed in real time or periodically, be added up a card frequency etc., to adjust the weight of the plurality of video source, when displaying video completes, obtain the weight of the plurality of video source after adjusting, when the weight of the plurality of video source changes, according to the weight of the plurality of video source after adjusting, obtain the preferential video source after this adjustment, when upper once displaying video, play the video in the preferential video source after this adjustment.The embodiment of the present invention, by when displaying video completes, is obtained the weight of the plurality of video source after adjusting, and has avoided the weight due to the plurality of video source in the displaying video process to change and the Switch Video source.
Further, in embodiments of the present invention, according to the effect of terminal equipment displaying video, constantly the weight of the plurality of video source is dynamically adjusted, along with the propelling of time, the video display effect of the preferential video source of this obtaining can be become better and better, and is tending towards gradually optimum video display effect.
Preferably, on the basis of technical scheme embodiment illustrated in fig. 1, step 103 " when receiving the broadcast address list that this server returns; according to this broadcast address list; play the video that this video labeling is corresponding " comprising: when receiving this broadcast address list, according to first broadcast address in this broadcast address list, play the video that this video labeling is corresponding.
In embodiments of the present invention, this server comes the broadcast address of this video in this preferential video source first of this broadcast address list, when terminal equipment receives this broadcast address list, can be according to first broadcast address in this broadcast address list, play the video that this video labeling is corresponding, simplified the operation that the user selects broadcast address.
The method that the embodiment of the present invention provides, by obtaining the weight of a plurality of video source, weight according to a plurality of video source, obtain this preferential video source, when displaying video, video corresponding to this video labeling in preferential this preferential video source of broadcasting, can consider broadcasting speed, the multiple factors that affect video display effect such as a card frequency, automatically choose the better video source of video display effect in a plurality of video source and carry out video playback, easy and simple to handle, avoided repeatedly Switch Video source, and then solved the incoherent problem of video plot caused due to the Switch Video source, and the propelling along with the time, can make video display effect be tending towards optimum.
Above-mentioned all optional technical schemes, can adopt any combination to form optional embodiment of the present invention, and this is no longer going to repeat them.
Fig. 2 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention.The executive agent of this inventive embodiments is server, and referring to Fig. 2, described method comprises:
201: receive the second video playback request, video labeling and preferential video source are carried in this second video playback request;
In embodiments of the present invention, this server has been polymerization website or the corresponding server of client of the plurality of video source, preserved a plurality of videos broadcast address in the plurality of video source respectively.
Preferably, this server set up the video labeling, video source of arbitrary video and in this video source the mapping relations of the broadcast address of this video, be convenient to obtain the broadcast address of this video labeling in the plurality of video source.
In another embodiment provided in the embodiment of the present invention, this step 201 can be replaced by following steps: receive this second video playback request, the weight order of this video labeling and the plurality of video source is carried in this video playback request.
202: according to this video labeling, obtain the list of the broadcast address of this video labeling in a plurality of video source;
Preferably, according to this video labeling, travel through this video labeling, video source and the mapping relations of the broadcast address of this video in this video source, obtain the broadcast address of this video labeling in the plurality of video source, a plurality of broadcast address according to getting, generate the list of the broadcast address of this video labeling in a plurality of video source.
203: the broadcast address by this video labeling in this preferential video source is defined as first broadcast address in this broadcast address list;
Particularly, while having the broadcast address of this video labeling in this preferential video source in this server, the broadcast address by this video labeling in this preferential video source is defined as first broadcast address in this broadcast address list.
In another embodiment provided in the embodiment of the present invention, this step 202 and step 203 can be replaced by following steps: according to this video labeling, obtain the broadcast address of this video labeling in the plurality of video source, and, according to the weight order of the plurality of video source, generate the broadcast address list of this video labeling in the plurality of video source.
204: send this broadcast address list to terminal equipment, make this terminal equipment according to this broadcast address list, play the video that this video labeling is corresponding.
The method that the embodiment of the present invention provides, can consider the multiple factors that affect video display effect such as broadcasting speed, a card frequency, automatically choose the better video source of video display effect in a plurality of video source and carry out video playback, easy and simple to handle, avoid repeatedly Switch Video source, and then solved the incoherent problem of video plot caused due to the Switch Video source.
Fig. 3 is the flow chart of a kind of video broadcasting method of providing of the embodiment of the present invention.The interaction agent of this inventive embodiments is terminal equipment and server, and referring to Fig. 3, described method comprises:
301: in the process of video playback, this server is tested the speed to the plurality of video source, obtains the broadcasting speed of the plurality of video source;
The embodiment of the present invention is usingd the adjustment mode that the plurality of video source is tested the speed and is adjusted mode as basis, and by this server, the plurality of video source is tested the speed and describes for example.
302: this server sends the broadcasting speed of the plurality of video source to this terminal equipment;
303: when this terminal equipment receives 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, perform step 304, step 305 and step 307;
The embodiment of the present invention is determined the weight of the plurality of video source with this terminal equipment, and the weight of adjusting the plurality of video source is that example describes.
304: when this terminal equipment detects the video playback failure of arbitrary video source, reduce the weight of the video source of this video playback failure, perform step 309;
305: the card that this terminal equipment the is added up the plurality of video source frequency of pausing;
306: this terminal equipment, according to the card of the plurality of video source frequency of pausing, is adjusted the weight of the plurality of video source, performs step 309;
307: when video playback completes, this terminal equipment, according to the historical handover operation to the plurality of video source, obtains last video source in this history handover operation;
The embodiment of the present invention is with when video playback completes, and obtaining this last video source is that example describes.
308: this terminal equipment improves the weight of this last video source, performs step 309;
309: the weight of the plurality of video source after this terminal equipment obtains and adjusts;
310: this terminal equipment receives the first video playback request, and video labeling is carried in this first video playback request;
311: this terminal equipment, according to the weight of the plurality of video source, obtains this preferential video source;
312: this terminal equipment sends the second video playback request to this server, and this video labeling and this preferential video source are carried in this second video playback request;
313: when this server receives this second video playback request, according to this video labeling, obtain the list of the broadcast address of this video labeling in a plurality of video source;
314: by this video labeling, the broadcast address in this preferential video source is defined as first broadcast address in this broadcast address list to this server;
315: this server sends this broadcast address list to this terminal equipment;
316: when this terminal equipment receives the broadcast address list that this server returns, according to this broadcast address list, play the video that this video labeling is corresponding.
The method that the embodiment of the present invention provides, by obtaining the weight of a plurality of video source, weight according to a plurality of video source, obtain this preferential video source, when displaying video, video corresponding to this video labeling in preferential this preferential video source of broadcasting, can consider broadcasting speed, the multiple factors that affect video display effect such as a card frequency, automatically choose the better video source of video display effect in a plurality of video source and carry out video playback, easy and simple to handle, avoided repeatedly Switch Video source, and then solved the incoherent problem of video plot caused due to the Switch Video source, and the propelling along with the time, can make video display effect be tending towards optimum.
Fig. 4 is a kind of video play device structural representation that the embodiment of the present invention provides, and referring to Fig. 4, described device comprises: the 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 for receiving the first video playback request, and video labeling is carried in this first video playback request; Preferential acquisition module 402 is connected with the first receiver module 401, for the weight according to a plurality of video source, obtains preferential video source; The second request sending module 403 is connected with preferential acquisition module 402, for to server, sending the second video playback request, this video labeling and this preferential video source are carried in this second video playback request, make this server return to the broadcast address list according to this second video playback request, this broadcast address list at least comprises the broadcast address of this video labeling in this preferential video source; Video playback module 404 is connected with the second request sending module 403, for when receiving the broadcast address list that this server returns, according to this broadcast address list, plays the video that this video labeling is corresponding.
Preferably, this preferential acquisition module 402, for the weight according to a plurality of video source, is retrieved as this preferential video source by the highest video source of weight in the plurality of video source.
Preferably, this device also comprises:
Speed measuring module, for the plurality of video source is tested the speed, obtain the broadcasting speed of the plurality of video source;
The weight determination module, for the broadcasting speed according to the plurality of video source, determine the weight of the plurality of video source.
Preferably, this device also comprises:
The switching acquisition module, the historical handover operation for according to the plurality of video source, obtain last video source in this history handover operation;
The first adjusting module, for improving the weight of this last video source.
Preferably, this device also comprises:
A card statistical module, for the process at displaying video, the card of the adding up the plurality of video source frequency of pausing;
The second adjusting module, for the frequency of pausing of the card according to the plurality of video source, adjust the weight of the plurality of video source.
Preferably, when this second adjusting module is less than predetermined threshold value for the frequency of pausing when the card that arbitrary video source detected, improve the weight that this card frequency is less than the video source of predetermined threshold value.
Preferably, this device also comprises:
The 3rd adjusting module, for when the video playback failure of arbitrary video source being detected, reduce the weight of the video source of this video playback failure.
Preferably, this video playback module 404, for when receiving this broadcast address list, according to first broadcast address in this broadcast address list, is play the video that this video labeling is corresponding.
Fig. 5 is a kind of video play device structural representation that the embodiment of the present invention provides, and referring to Fig. 5, described device comprises: the 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 for receiving the second video playback request, and video labeling and preferential video source are carried in this second video playback request; List acquisition module 502 is connected with the second request receiving module 501, for according to this video labeling, obtains the list of the broadcast address of this video labeling in a plurality of video source; Position determination module 503 is connected with list acquisition module 502, for first broadcast address in the broadcast address of this preferential video source is defined as this broadcast address list by this video labeling; List sending module 504 is connected with position determination module 503, for send this broadcast address list to terminal equipment, makes this terminal equipment according to this broadcast address list, plays the video that this video labeling is corresponding.
It should be noted that: the device of the video playback that above-described embodiment provides is when displaying video, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the internal structure that is about to terminal equipment and server is divided into different functional modules, to complete all or part of function described above.In addition, the device of the video playback that above-described embodiment provides and the embodiment of the method for video playback belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 6 is a kind of terminal equipment structural representation that the embodiment of the present invention provides, referring to Fig. 6, and the video broadcasting method that this terminal equipment can provide for implementing above-described embodiment.Specifically:
Terminal equipment 600 can comprise communication unit 110, includes the memory 120 of one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, wireless communication unit 170, include the parts such as the processor 180 of processing core more than one or one and power supply 190.It will be understood by those skilled in the art that the terminal equipment structure shown in Fig. 6 does not form the restriction to terminal equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.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) network communication equipment such as circuit, router, modulator-demodulator.Especially, when communication unit 110 is the RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, will relate to up data and send to base station.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include 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 division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, but the required application program (such as sound-playing function, image player function etc.) of storage program district storage operation system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to terminal equipment 600 creates etc. can be stored in the storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with the user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Particularly, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect the user or near touch operation (use any applicable objects such as finger, stylus or annex such as the user on touch-sensitive surperficial 131 or near the operation touch-sensitive surperficial 131) thereon, and drive corresponding jockey according to predefined formula.Preferably, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
Display unit 140 can be used for demonstration by the information of user's input or offers user's information and the various graphical user interface of terminal equipment 600, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, preferably, can adopt the forms such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) to configure display floater 141.Further, touch-sensitive surperficial 131 can cover display floater 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180, according to the type of touch event, provide corresponding vision output on display floater 141.Although in Fig. 6, touch-sensitive surperficial 131 with display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 and display floater 141 integrated and realize the input and output function.
Terminal equipment 600 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated according to the light and shade of ambient light the brightness of display floater 141, proximity transducer can, when terminal equipment 600 moves in one's ear, cut out display floater 141 and/or backlight.A kind of as motion sensor; Gravity accelerometer can detect on all directions the size of the acceleration that (is generally three axles); size and the direction of gravity be can detect when static, application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc. can be used for identifying; As for terminal equipment 600 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal equipment 600.Voicefrequency circuit 160 can be transferred to loud speaker 161 by the signal of telecommunication after the voice data conversion received, and by loud speaker 161, is converted to voice signal output; On the other hand, microphone 162 is converted to the signal of telecommunication by the voice signal of collection, be converted to voice data after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, to send to such as another terminal equipment, or export voice data to memory 120 in order to further process through RF circuit 110.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and terminal equipment 600 to be provided.
In order to realize radio communication, can dispose wireless communication unit 170 on this terminal equipment, this wireless communication unit 170 can be the WiFi module.WiFi belongs to the short range wireless transmission technology, terminal equipment 600 by wireless communication unit 170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Fig. 6 shows wireless communication unit 170, be understandable that, it does not belong to must forming of terminal equipment 600, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 180 is control centres of terminal equipment 600, utilize the various piece of various interface and the whole mobile phone of connection, be stored in software program and/or the module in memory 120 by operation or execution, and call the data that are stored in memory 120, carry out various functions and the deal with data of terminal equipment 600, thereby mobile phone is carried out to integral monitoring.Preferably, processor 180 can comprise one or more processing cores; Preferably, processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal equipment 600 also comprises that the power supply 190(powered to all parts is such as battery), preferably, power supply can be connected with processor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or the random component such as AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal equipment 600 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal equipment is touch-screen display, terminal equipment also includes memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to by one or above processor execution a provided video broadcasting method embodiment illustrated in fig. 1 and provided video broadcasting method embodiment illustrated in fig. 3.
Fig. 7 is a kind of server architecture schematic diagram that the embodiment of the present invention provides, referring to Fig. 7, comprise: receiver 701, reflector 702, memory 703 and processor 704, this receiver 701, this reflector 702 and this memory 703 are connected with this processor 704 respectively, this memory 703 code that has program stored therein, this processor 704, for calling this program code, is carried out following operation:
Receive the second video playback request by this receiver 701, video labeling and preferential video source are carried in this second video playback request;
According to this video labeling, obtain the list of the broadcast address of this video labeling in a plurality of video source;
Broadcast address by this video labeling in this preferential video source is defined as first broadcast address in this broadcast address list;
Send this broadcast address list by this reflector 702 to terminal equipment, make this terminal equipment according to this broadcast address list, play the video that this video labeling is corresponding.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (20)

1. a video broadcasting method, is characterized in that, described method comprises:
Receive the first video playback request, video labeling is carried in described the first video playback request;
According to the weight of a plurality of video source, obtain preferential video source;
Send the second video playback request to server, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
2. method according to claim 1, is characterized in that, according to the weight of a plurality of video source, obtains preferential video source and comprise:
According to the weight of a plurality of video source, the highest video source of weight in described a plurality of video source is retrieved as to described preferential video source.
3. method according to claim 1, is characterized in that, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
Described a plurality of video source are tested the speed, obtained the broadcasting speed of described a plurality of video source;
According to the broadcasting speed of described a plurality of video source, determine the weight of described a plurality of video source.
4. method according to claim 1, is characterized in that, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
According to the historical handover operation to described a plurality of video source, obtain last video source in described historical handover operation;
Improve the weight of described last video source.
5. method according to claim 1, is characterized in that, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
In the process of displaying video, the card of the adding up described a plurality of video source frequency of pausing;
According to the card of the described a plurality of video source frequency of pausing, adjust the weight of described a plurality of video source.
6. method according to claim 5, is characterized in that, according to the card of the described a plurality of video source frequency of pausing, the weight of adjusting described a plurality of video source comprises:
When the card that arbitrary video source detected pauses frequency while being less than predetermined threshold value, improve the described card frequency of pausing and be less than the weight of the video source of predetermined threshold value.
7. method according to claim 1, is characterized in that, according to the weight of a plurality of video source, before obtaining preferential video source, described method also comprises:
When the video playback failure of arbitrary video source being detected, reduce the weight of the video source of described video playback failure.
8. method according to claim 1, is characterized in that, when receiving the broadcast address list that described server returns, according to described broadcast address list, plays the video that described video labeling is corresponding and comprise:
When receiving described broadcast address list, according to first broadcast address in described broadcast address list, play the video that described video labeling is corresponding.
9. a video broadcasting method, is characterized in that, described method comprises:
Receive the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
According to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Broadcast address by described video labeling in described preferential video source is defined as first broadcast address in described broadcast address list;
Send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, play the video that described video labeling is corresponding.
10. a video play device, is characterized in that, described device comprises:
The first receiver module, for receiving the first video playback request, video labeling is carried in described the first video playback request;
Preferential acquisition module, for the weight according to a plurality of video source, obtain preferential video source;
The second request sending module, for to server, sending the second video playback request, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
The video playback module, for when receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
11. device according to claim 10, is characterized in that, described preferential acquisition module, for the weight according to a plurality of video source, is retrieved as described preferential video source by the highest video source of weight in described a plurality of video source.
12. device according to claim 10, is characterized in that, described device also comprises:
Speed measuring module, for described a plurality of video source are tested the speed, obtain the broadcasting speed of described a plurality of video source;
The weight determination module, for the broadcasting speed according to described a plurality of video source, determine the weight of described a plurality of video source.
13. device according to claim 10, is characterized in that, described device also comprises:
The switching acquisition module, the historical handover operation for according to described a plurality of video source, obtain last video source in described historical handover operation;
The first adjusting module, for improving the weight of described last video source.
14. device according to claim 10, is characterized in that, described device also comprises:
A card statistical module, for the process at displaying video, the card of the adding up described a plurality of video source frequency of pausing;
The second adjusting module, for the frequency of pausing of the card according to described a plurality of video source, adjust the weight of described a plurality of video source.
15. device according to claim 14, is characterized in that, described the second adjusting module is for pausing frequency while being less than predetermined threshold value when the card that arbitrary video source detected, improves the described card frequency of pausing and is less than the weight of the video source of predetermined threshold value.
16. device according to claim 10, is characterized in that, described device also comprises:
The 3rd adjusting module, for when the video playback failure of arbitrary video source being detected, reduce the weight of the video source of described video playback failure.
17. device according to claim 10, is characterized in that, described video playback module, for when receiving described broadcast address list, according to first broadcast address in described broadcast address list, is play the video that described video labeling is corresponding.
18. a video play device, is characterized in that, described device comprises:
The second request receiving module, for receiving the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
The list acquisition module, for according to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Position determination module, for first broadcast address in the broadcast address of described preferential video source is defined as described broadcast address list by described video labeling;
The list sending module, for send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, plays the video that described video labeling is corresponding.
A 19. terminal equipment, it is characterized in that, include memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Receive the first video playback request, video labeling is carried in described the first video playback request;
According to the weight of a plurality of video source, obtain preferential video source;
Send the second video playback request to server, described video labeling and described preferential video source are carried in described the second video playback request, make described server return to the broadcast address list according to described the second video playback request, described broadcast address list at least comprises the broadcast address of described video labeling in described preferential video source;
When receiving the broadcast address list that described server returns, according to described broadcast address list, play the video that described video labeling is corresponding.
A 20. server, it is characterized in that, comprise: receiver, reflector, memory and processor, described receiver, described reflector and described memory are connected with described processor respectively, described memory stores has program code, described processor, for calling described program code, is carried out following operation:
Receive the second video playback request, video labeling and preferential video source are carried in described the second video playback request;
According to described video labeling, obtain the list of the broadcast address of described video labeling in a plurality of video source;
Broadcast address by described video labeling in described preferential video source is defined as first broadcast address in described broadcast address list;
Send described broadcast address list to terminal equipment, make described terminal equipment according to described broadcast address list, play the video that described video labeling is corresponding.
CN201310382133.5A 2013-08-28 2013-08-28 Video broadcasting method, device, terminal unit server Active CN103458305B (en)

Priority Applications (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

Applications Claiming Priority (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

Publications (2)

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

Family

ID=49740192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310382133.5A Active 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)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475914A (en) * 2013-08-28 2013-12-25 小米科技有限责任公司 Video playing method, video playing device, terminal equipment and server
CN103873928A (en) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 Method, device and application server for playing video
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN104301790A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Method for ranking fluency of television programs
WO2015027714A1 (en) * 2013-08-28 2015-03-05 小米科技有限责任公司 Video playing method and apparatus, terminal device and server
CN104410878A (en) * 2014-12-05 2015-03-11 北京国双科技有限公司 Method and device for detecting video Caton time distribution
CN104994403A (en) * 2015-07-13 2015-10-21 无锡天脉聚源传媒科技有限公司 Video contrasting method and device
CN105323654A (en) * 2014-08-05 2016-02-10 优视科技有限公司 Method and device for displaying content data from network
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
CN106204552A (en) * 2016-06-30 2016-12-07 北京奇艺世纪科技有限公司 The detection method of a kind of video source and device
CN106303703A (en) * 2016-08-01 2017-01-04 广州视源电子科技股份有限公司 Select the method and device of program source
CN106331755A (en) * 2016-08-17 2017-01-11 广州酷狗计算机科技有限公司 Method and device for processing media stream blockage
CN106604135A (en) * 2016-12-21 2017-04-26 深圳市泰普森科技有限公司 Video playing method based on set top box and set top box
CN106921875A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The switching handling method and device of video
CN106973318A (en) * 2017-03-20 2017-07-21 聚好看科技股份有限公司 Aggregate video operating method and device
CN107734362A (en) * 2017-10-11 2018-02-23 咪咕视讯科技有限公司 The determination method, apparatus and computer-readable recording medium of a kind of video source
CN107786898A (en) * 2017-09-28 2018-03-09 南京林洋电力科技有限公司 A kind of electric power wisdom business hall media intelligent player method with compensation mechanism
WO2018112784A1 (en) * 2016-12-21 2018-06-28 深圳市泰普森科技有限公司 Video playing method based on set-top box and set-top box
CN108462885A (en) * 2018-05-09 2018-08-28 广东工业大学 A kind of video storage method, device and medium based on block chain
CN108737860A (en) * 2015-06-29 2018-11-02 杭州虹晟信息科技有限公司 The data pre-add support method of set-top box
CN109889865A (en) * 2019-03-12 2019-06-14 四川长虹电器股份有限公司 A kind of video playing source recommended method
CN110460874A (en) * 2019-08-09 2019-11-15 腾讯科技(深圳)有限公司 Video playing parameter generation method, device, storage medium and electronic equipment
CN111314794A (en) * 2020-03-18 2020-06-19 浩云科技股份有限公司 Method for generating streaming media playing address
CN115643430A (en) * 2022-10-10 2023-01-24 深圳锋芒信息技术有限公司 Playing method, device and equipment of self-adaptive playing source and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358082A (en) * 2016-11-01 2017-01-25 合网络技术(北京)有限公司 Video playing method and device

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

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475914A (en) * 2013-08-28 2013-12-25 小米科技有限责任公司 Video playing method, video playing device, terminal equipment and server
WO2015027714A1 (en) * 2013-08-28 2015-03-05 小米科技有限责任公司 Video playing method and apparatus, terminal device and server
CN103905879A (en) * 2014-03-13 2014-07-02 北京奇艺世纪科技有限公司 Video data and audio data synchronized playing method and device and equipment
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
CN103873928A (en) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 Method, device and application server for playing video
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
US10298974B2 (en) 2014-08-05 2019-05-21 Uc Mobile Co., Ltd. Method and device for presenting content data from network
WO2016019875A1 (en) * 2014-08-05 2016-02-11 优视科技有限公司 Method and device for presenting content data from network
CN105323654A (en) * 2014-08-05 2016-02-10 优视科技有限公司 Method and device for displaying content data from network
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
CN109005435A (en) * 2015-06-29 2018-12-14 杭州虹晟信息科技有限公司 Can preloading data set-top box
CN108737860A (en) * 2015-06-29 2018-11-02 杭州虹晟信息科技有限公司 The data pre-add support method 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
CN106204552A (en) * 2016-06-30 2016-12-07 北京奇艺世纪科技有限公司 The detection method of a kind of video source and device
CN106303703B (en) * 2016-08-01 2019-04-09 广州视源电子科技股份有限公司 Select the method and device of program source
CN106303703A (en) * 2016-08-01 2017-01-04 广州视源电子科技股份有限公司 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
CN106331755A (en) * 2016-08-17 2017-01-11 广州酷狗计算机科技有限公司 Method and device for processing media stream blockage
WO2018112784A1 (en) * 2016-12-21 2018-06-28 深圳市泰普森科技有限公司 Video playing method based on set-top box and set-top box
CN106604135A (en) * 2016-12-21 2017-04-26 深圳市泰普森科技有限公司 Video playing method based on set top box and set top box
CN106973318A (en) * 2017-03-20 2017-07-21 聚好看科技股份有限公司 Aggregate video operating 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
CN107734362B (en) * 2017-10-11 2020-07-28 咪咕视讯科技有限公司 Video source determination method and device and computer readable storage medium
CN108462885A (en) * 2018-05-09 2018-08-28 广东工业大学 A kind of video storage method, device and medium based on block chain
CN109889865B (en) * 2019-03-12 2020-06-30 四川长虹电器股份有限公司 Video playing source recommendation method
CN109889865A (en) * 2019-03-12 2019-06-14 四川长虹电器股份有限公司 A kind of video playing source recommended method
CN110460874A (en) * 2019-08-09 2019-11-15 腾讯科技(深圳)有限公司 Video playing parameter generation method, device, storage medium and electronic equipment
CN111314794A (en) * 2020-03-18 2020-06-19 浩云科技股份有限公司 Method for generating streaming media playing address
CN115643430A (en) * 2022-10-10 2023-01-24 深圳锋芒信息技术有限公司 Playing method, device and equipment of self-adaptive playing source and storage medium

Also Published As

Publication number Publication date
CN103458305B (en) 2017-03-01
WO2015027714A1 (en) 2015-03-05

Similar Documents

Publication Publication Date Title
CN103458305A (en) Video playing method and device, terminal device and server
CN104065982B (en) The method and apparatus of live streaming media
CN103475914A (en) Video playing method, video playing device, terminal equipment and server
CN104869468A (en) Method and apparatus for displaying screen information
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN103594103A (en) Audio processing method and related device
CN106162316A (en) The data processing method of a kind of video flowing, device and system
CN103402190A (en) Method and device for selecting network as well as terminal
CN104618794A (en) Method and device for playing video
CN105516784A (en) Virtual good display method and device
CN104780401B (en) The sending method and device of video data
CN104301504A (en) Message viewing method and device and mobile terminal
CN104519404A (en) Graphics interchange format file playing method and device
CN104602135A (en) Method and device for controlling full screen play
CN103294442B (en) A kind of method of playing alert tones, device and terminal device
CN104159140A (en) Video processing method, apparatus and system
CN106507204A (en) A kind of video play-reverse method and apparatus
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN103945241A (en) Streaming data statistical method, system and related device
CN104618223A (en) Information recommendation management method, device and system
CN103581762A (en) Method, device and terminal equipment for playing network videos
CN103458277A (en) Method and device for operating live channel programs
CN104571979A (en) Method and device for realizing split-screen views
CN103458286A (en) Television channel switching method and device
CN105959482A (en) Scene sound effect control method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant