CN103517098B - Based on the video broadcasting method of video aggregation service, device and terminal device - Google Patents

Based on the video broadcasting method of video aggregation service, device and terminal device Download PDF

Info

Publication number
CN103517098B
CN103517098B CN201310385404.2A CN201310385404A CN103517098B CN 103517098 B CN103517098 B CN 103517098B CN 201310385404 A CN201310385404 A CN 201310385404A CN 103517098 B CN103517098 B CN 103517098B
Authority
CN
China
Prior art keywords
video
address
video address
list
address list
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.)
Active
Application number
CN201310385404.2A
Other languages
Chinese (zh)
Other versions
CN103517098A (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 CN201310385404.2A priority Critical patent/CN103517098B/en
Publication of CN103517098A publication Critical patent/CN103517098A/en
Priority to PCT/CN2014/076096 priority patent/WO2015027713A1/en
Application granted granted Critical
Publication of CN103517098B publication Critical patent/CN103517098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2665Gathering content from different sources, e.g. Internet and satellite

Abstract

The invention discloses it is a kind of based on the video broadcasting method of video aggregation service, device and terminal device, belong to field of terminal equipment.Methods described includes:When video failure is played according to the first video address, whether the second video address is included in the video address list that judgement prestores, second video address is identical with the corresponding video definition of the first video address, second video address is different from the corresponding video source of the first video address, and the video address list includes the video playback address of the different video definition in the corresponding different video source of the video;When the video address list includes second video address, second video address is obtained from the video address list;According to the video address for getting, video is played.Described device includes:Judge module, video address acquisition module and video playback module.The terminal device includes:Processor and memory.The present invention obtains video address by automatic, so as to reduce user operation.

Description

Based on the video broadcasting method of video aggregation service, device and terminal device
Technical field
The present invention relates to field of terminal equipment, more particularly to a kind of based on the video broadcasting method of video aggregation service, dress Put and terminal device.
Background technology
With the continuous development of network technology and terminal device, Online Video is brought greatly for the work and amusement of people Ground is convenient, therefore Online Video service increasingly gets more and more people's extensive concerning.
Online Video service is that the provider of each Online Video service is carried to user by respective website and client For a kind of video playback, upload or download service.And the video aggregation service for occurring afterwards is then regarded online by many families that are polymerized The video source of frequency service provider, provides the user easily Online Video service, so that need not be online at each Toggle between video service provider and can just reach the purpose played and watch Online Video.
During the present invention is realized, inventor has found at least there is problems with:
After video playback failure, during user is processed, may be it is not apparent how being regarded in many families online Make a choice in the video source that frequency service provider provides, and during selection, user needs to carry out artificial operation The purpose for changing video source can be reached.And further, when user have selected a video source to be played out, if it find that having Interim card situation, then user may change a video source again and play out, may so need to carry out multiple video source Replacement operation, so that the playing process of Online Video is cumbersome, it is that user brings very big puzzlement.
The content of the invention
In order to solve the problems, such as the video playback based on video aggregation service, embodiments provide a kind of based on video The video broadcasting method of aggregated service, device and terminal device.The technical scheme is as follows:
First aspect, there is provided a kind of video broadcasting method based on video aggregation service, methods described include:
Whether when video failure being played according to the first video address, include second in judging the video address list for prestoring Video address, second video address are identical with the corresponding video definition of first video address, second video Address is different from the corresponding video source of first video address, and the video address list includes the corresponding difference of the video The video playback address of the different video definition in video source;
When the video address list includes second video address, institute is obtained from the video address list State the second video address;
According to the video address for getting, video is played.
It is preferred that it is described when the video address list includes second video address, from the video address Second video address is obtained in list to be included:
When the video address list includes multiple second video address, obtain from the plurality of second video address Take any one second video address;Or,
When the video address list includes multiple second video address, regarded according to each the second video address correspondence The priority in frequency source order from high to low, obtains the second high video of a priority from the plurality of second video address Address.
It is preferred that after whether including the second video address in the video address list for judging to prestore, methods described Also include:
When second video address is not included in the video address list, obtain from the video address list 3rd video address, the corresponding video definition of the 3rd video address are clear less than the corresponding video of first video address Clear degree.
It is preferred that it is described when second video address is not included in the video address list, from video ground The 3rd video address is obtained in the list of location to be included:
From the video address list, one is randomly choosed less than first video address correspondence video definition Video address is used as the 3rd video address;Or,
It is according to current network conditions, clear less than the corresponding video of first video address from the video address list In the video address of clear degree, a video address corresponding with the video definition of network condition matching is selected as described 3rd video address.
It is preferred that the video address that the basis gets, after playing video, methods described also includes:
When all second video address are played unsuccessfully, the 3rd video ground is obtained from the video address list Location.
It is preferred that it is described when video failure is played according to the first video address, in judging the video address list for prestoring Before whether including the second video address, methods described also includes:
Video playback request is sent to video server, the video playback request carries video labeling to be played, makes Obtain the video server and video address list is returned according to the video labeling;
Receive the video address list.
It is preferred that the video address that the basis gets, after playing video, methods described also includes:
When all video address are all played unsuccessfully in the video address list, information, the prompting letter are exported Cease for the prompting to the video playback failure.
Second aspect, there is provided a kind of video play device based on video aggregation service, described device include:
Judge module, for when video failure is played according to the first video address, judging the video address list for prestoring In whether include the second video address, second video address video definition phase corresponding with first video address Together, second video address is different from the corresponding video source of first video address, and the video address list includes institute State the video playback address of the different video definition in the corresponding different video source of video;
Video address acquisition module, for when the video address list includes second video address, from institute Second video address is obtained in stating video address list;
Video playback module, for according to the video address for getting, playing video.
It is preferred that the video address acquisition module, is additionally operable to include that multiple second regard when the video address list During frequency address, any one second video address is obtained from the plurality of second video address;Or, when the video address is arranged When table includes multiple second video address, according to the priority of each second video address correspondence video source from high to low suitable Sequence, obtains the second high video address of a priority from the plurality of second video address.
It is preferred that the video address acquisition module, it is additionally operable to when not including described second in the video address list During video address, the 3rd video address is obtained from the video address list, the corresponding video of the 3rd video address is clear Clear degree is less than the corresponding video definition of first video address.
It is preferred that the video address acquisition module, is additionally operable to from the video address list, random selection one is low The video address of video definition is corresponded to as the 3rd video address in first video address;Or, according to current net Network situation, is less than in the video address of the corresponding video definition of first video address from the video address list, A video address corresponding with the video definition of network condition matching is selected as the 3rd video address.
It is preferred that the video address acquisition module, is additionally operable to when all second video address are played unsuccessfully, from institute The 3rd video address is obtained in stating video address list.
It is preferred that described device also includes:
Sending module, for sending video playback request to video server, the video playback request carries to be played Video labeling so that the video server according to the video labeling return video address list;
Receiver module, for receiving the video address list.
It is preferred that described device also includes:
Output module, for when all video address are all played unsuccessfully in the video address list, output prompting is believed Breath, the information is for the prompting to the video playback failure.
The third aspect, there is provided a kind of terminal device, the terminal device include:Processor and memory,
The processor, for when video failure is played according to the first video address, judging the video address row for prestoring Whether the second video address, second video address video definition phase corresponding with first video address are included in table Together, second video address is different from the corresponding video source of first video address, and the video address list includes institute State the video playback address of the different video definition in the corresponding different video source of video;
The processor, is additionally operable to, when the video address list includes second video address, regard from described Second video address is obtained in frequency address list;
The processor, is additionally operable to, according to the video address for getting, play video.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By when video failure is played according to the first video address, switching to and belonging to different video source, regard with relatively low Second video address of frequency definition is played out, it is ensured that video smooth can be played, so that needing what user was carried out Operation greatly reduces, and simplifies the playing process of Online Video, is that user brings great convenience.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of video broadcasting method flow chart based on video aggregation service provided in an embodiment of the present invention;
Fig. 2 is a kind of video broadcasting method flow chart based on video aggregation service provided in an embodiment of the present invention;
Fig. 3 is a kind of video play device structural representation based on video aggregation service provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal device structural representation provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of video broadcasting method flow chart based on video aggregation service provided in an embodiment of the present invention.Referring to Fig. 1, the executive agent of the inventive embodiments is terminal device, and the method includes:
101st, when video failure is played according to the first video address, during terminal device judges the video address list for prestoring Whether include the second video address, second video address is identical with the corresponding video definition of the first video address, this Two video address are different from the corresponding video source of the first video address, and the video address list includes the corresponding difference of the video The video playback address of the different video definition in video source;
It should be noted that it can be that the video address cannot be opened, or video playback to play video failure During, there is interim card situation, and pause frequency has reached preset standard, the embodiment of the present invention is not limited to this.
102nd, when the video address list includes second video address, terminal device is from the video address list Obtain second video address;
103rd, terminal device plays video according to the video address for getting.
It should be noted that terminal device is according to the video address for getting, it can be that terminal device is closed to play video The video played by current video address, re-starts video playback, or terminal according to the video address for getting Equipment closes the video played by current video address, and preserves currently playing progress, according to the video address for getting with Currently playing progress is that starting point continues to play video, and the embodiment of the present invention is not limited to the process for how playing video.
Method provided in an embodiment of the present invention, by when video failure is played according to the first video address, switching to category Play out in different video source, the second video address with relatively low video definition, it is ensured that video smooth can be played, So that needing the operation that user is carried out to greatly reduce, the playing process of Online Video is simplified, be that user brings greatly Facility.
Fig. 2 is a kind of video broadcasting method flow chart based on video aggregation service provided in an embodiment of the present invention.Referring to Fig. 2, the interaction agent of the inventive embodiments is terminal device and video server, and the method flow process includes:
201st, terminal device sends video playback request to video server, and the video playback request carries to be played regarding Frequency marking is known;
Specifically, when user's certain video of program request on the terminal device, then the terminal device is triggered to video server Video playback request is sent, the video playback request carries the video labeling of video to be played so that video server is received After the video playback request, according to video labeling entrained in the video playback request, obtain corresponding to the video labeling Multiple video address, and the plurality of video address is sent to into terminal device in the form of a list.Wherein, the video address list Including the video address of the different video definition in the corresponding different video source of the video.
In above process, only illustrated as a example by the multiple video address for getting are sent to terminal device, And in fact, video address that can be to choose preset number from the multiple video address for getting, is sent out in the form of a list Give terminal device.Wherein, from the multiple video address for getting, the mode of the video address of selection preset number can be Below any one:(1)Video server is chosen according to current network conditions, from the plurality of video address and meets current network shape The video address of the preset number of condition;(2)Video server randomly selects the video of preset number from the plurality of video address Address;(3)Video server from the plurality of video address, according to user to the height of the usage frequency of video address or default Use state in duration chooses the video address of preset number.Certainly, choose preset number from multiple video address to regard The mode of frequency address is not limited to that the above is several, and the embodiment of the present invention is not limited to this.
It should be noted that the preset number can be arranged in exploitation by technical staff, it is also possible to used by user During adjust, can be to be adjusted to the height of the usage frequency of video address according to user by video server, this Bright embodiment is not limited to this.
In the embodiment of the present invention, video labeling can be video name, or video ID(Identity, identity mark Know code).
202nd, video server receives the video playback and asks, and according to the video labeling in the video playback request, obtains Video address corresponding to the video labeling, obtains video address list;
For video server, the video server is there is provided the video from multiple video sources.Wherein, when multiple When in video source, only one of which video source includes the video labeling, the video server can be provided for terminal device and be regarded from this The video in frequency source, when the video labeling is included in multiple video sources, the video server can provide to come for terminal device From the video in multiple different video sources.That is to say, the difference of the video source quantity according to corresponding to the video labeling, the video ground The video address of the different video definition version of certain video in different video source can be included in the list of location, can also be included The video address of the different video definition version of certain video in same video source.
Wherein, the video address list can be the correspondence pass between video source, video address and video definition three Series of tables.Table 1 is a form of video address list, referring to table 1.
Table 1
In video address list as shown in table 1, video source includes A platforms and B platforms, and each video source includes 3 kinds The video of video definition, while each video definition different video address of correspondence in video source.If current select That what is played is A platforms, video of the video definition for SD, then terminal device is obtained by video address A1 and regarded corresponding to A1 The video flowing of frequency, terminal device is according to the video render video.
It should be noted that the sortord of video address can have situations below in the video address list:(1)Video Server is obtained after the video address corresponding with the video labeling according to the video labeling, and the video server is by the video Location carries out random alignment;(2)The video server carries out video address arrangement according to preset rules, e.g., the video server root It is ranked up according to position of the preset order of video source to video address in lists, or the video server is clear according to video Position of the height of degree to video address in lists is ranked up, or the video server according to the preset order of video source and Position of the height of video definition to video address in lists is ranked up, such as the video ground after the adjustment shown in table 1 Location list;(3)Use shape in height or preset duration of the video server according to user to the usage frequency of video address State, is adjusted to position of the video address in video address list, with the video address list after being adjusted so that In the video address list, video address location is more forward, illustrates that the frequency used by the video address is higher, plays Success rate is bigger.Certainly, in the video address list, the sortord of video address is not limited to above-mentioned several, the embodiment of the present invention This is not limited.
203rd, video server sends the video address list to terminal device;
Specifically, video server gets the video address corresponding to the video labeling according to the video labeling, while Video server obtains video address list according to the multiple video address for getting.The video that this is obtained by video server Address list is sent to terminal device so that terminal device is arranged according to the video address after the video address list is received Video address in table carries out the broadcasting of video.
204th, when terminal device receives the video address list, according to the first video ground in the video address list Location plays out;
Specifically, after video server gets video address list according to the video labeling, terminal device is received should Video address list, and from the video address list, a video address is obtained as the first video address, terminal device root The video flowing of the video corresponding to the video address is obtained to video server according to first video address, terminal device is according to obtaining The video render the got video.
It should be noted that first video address can be that terminal device is randomly selected from the video address list Video address, or video address corresponding to one video source and video definition is the in the video address list The video address of one, can also be terminal device according to current network conditions, from the video address list select one with Video source and the video address of video definition that the network condition matches.Optionally, of course, first video address is obtained Taking can be with by user input to terminal device, or user is by clicking on the video address chain that provides in video website Fetch and obtain, the embodiment of the present invention is not limited to the acquisition modes of the first video address.
205th, when failure is played, whether terminal device includes the second video ground in judging the video address list for prestoring Location, second video address are identical with the corresponding video definition of the first video address, second video address with this first The corresponding video source of video address is different;
If it is, execution step 206;
If not, execution step 207.
Specifically, during terminal device plays the video according to first video address, when video is played in appearance During the situation of failure, terminal device needs to change video address to continue to play video, therefore, terminal device judges that what is prestored regards Whether the second video address is included in frequency address list.
Wherein, change video address to realize by different modes, that is, it can be current to change video address In the case that video definition used is constant, realized by changing the video source of the video, changing video address can also be In the case where current video source is constant, realized by changing the video definition of the video, changing video address can be with It is the video source to the video and video definition while more being brought realization.
206th, when the video address list includes second video address, terminal device is from the video address list Obtain second video address, and execution step 208;
Specifically, during terminal device plays video by the first video address, when the feelings for occurring playing failure During condition, terminal device whether include in judging the video address list it is identical with the corresponding video definition of the first video address, The different video address of video source.When terminal device determines that the video address list includes regard corresponding with the first video address Frequency definition is identical, the video address that video source is different when, then terminal device determine the video address list include this second Video address, now, terminal device obtains second video address from the video address list.
In the embodiment of the present invention, terminal device obtains the second video address from the video address list for receiving, can be with It is that, from, video address that video source different identical from the corresponding video definition of the first video address, random selection one is regarded Frequency address is used as second video address;Terminal device obtains the second video address from the video address list for receiving, The network condition of network connection can be carried out according to video source currently, from video definition corresponding with the first video address In the different video address of identical, video source, the video address corresponding to a video source matched with the network condition is selected As second video address, for example, network condition is represented with network downstream speed, by video definition with SD, high definition Represent with surpassing clearly, table 2 is a form of video address list, referring to table 2.
Table 2
Referring to table 2, when the first video address is E1, then the corresponding video source of the video address is E, and video definition is SD.When current network downstream speed be 110KB/s, when first video address cannot play the video, terminal device from In table 2, selecting video definition is SD, different from selecting video address according to current network conditions in the video source of E platforms D1 is used as second video address.
Certainly, terminal device obtains the second video address from the video address list for receiving, and can also be that terminal sets It is standby to receive the video address list that video server sends, and the video address list is arranged with the difference of video source , then sequencing of the terminal device according to video source shown in the list of videos will be first video address institute in place Video address under the current video definition at next video source position put is used as second video address.Such as, this regards Frequency address list is tactic from high to low with video source and video definition, i.e., video definition is higher in the video Position in address list is more forward, and table 3 is a form of video address list, referring to table 3.
Table 3
As shown in table 3, when first video address is Y2, corresponding video source is Y, then video source Y is located and regards The video source of the next position in frequency address list is T, now, chooses corresponding with Y2 video definition identical T2 as the Two video address.The embodiment of the present invention is not limited to the process that terminal device obtains the second video address.
It should be noted that when the video address list includes multiple second video address, regarding from the plurality of second Any one second video address is obtained in frequency address;Or, when the video address list includes multiple second video address, According to the priority of each second video address correspondence video source order from high to low, obtain from the plurality of second video address Take a second high video address of priority.
It should be noted that the priority of the video source can be set according to the usage history or behaviour in service of user Fixed, or preassigning by user, the embodiment of the present invention is not limited to this.
Wherein, during multiple second video address refer to the video address list, in addition to including the first video address, also wrap At least two are included with, video address that video source different identical from the corresponding video definition of the first video address.Table 4 is A form of video address list, referring to table 4.
Table 4
In video address list as shown in table 4, when the first video address is F1, then the corresponding video sources of F1 are F, Video definition is high definition, and now, video definition is G2 and H2 for the video address of other video sources of high definition, then video ground G2 and H2 can serve as the second video address for location.Further, when the video address list includes multiple second video ground During location, any one second video address is obtained from the plurality of second video address, appointed as from video address G2 and H2 Meaning obtains the video address used as currently playing video by a video address.
207th, when second video address is not included in the video address list, terminal device is from the video address list The 3rd video address of middle acquisition, and execution step 208;
Specifically, during terminal device plays video by the first video address, there is the situation for playing failure When, whether terminal device includes, video source identical with the video definition of the first video address in judging the video address list Different video address.The video definition with the first video address is not included in terminal device determines the video address list During the different video address of identical, video source, then whether terminal device includes than the first video in judging the video address list The low video address of the video definition of address, when terminal device determines that the video address list is included than the first video address Video definition low video address when, determine that the video address list includes the 3rd video address, now, terminal sets It is standby to obtain the 3rd video address from the video address list.
Wherein, obtaining the 3rd video address from the video address list can be:From the video address list, at random A video address less than the first video address correspondence video definition is selected as the 3rd video address.Table 5 is one The video address list of the form of kind, referring to table 5.
Table 5
When the first video address is M1, the corresponding video definitions of first video address M1, can by table 5 for super clear Know, do not include second video address in the video address list, then can be played by way of reducing video definition Video, now, video address list includes that video definition is less than super clear video address for K1, M2, N1, K2 or N2, because This, terminal device can from K1, M2, N1, K2 and N2 an optional video address as the 3rd video address.
From the video address list obtain the 3rd video address, can according to current network conditions, from the video Be less than in address list in the video address of the corresponding video definition of the first video address, one is selected with the network condition The corresponding video address of video definition of matching is used as the 3rd video address.Table 6 is a form of video address list, Referring to table 6.
Table 6
When the first video address is P2, then the corresponding video definitions of P2 are high definition, are understood referring to table 6, the video ground The second video address is not included in the list of location, now, the corresponding video address of SD is P1, Q1 or R1, such as under current network When scanning frequency degree is 150KB/s, then can be using the video address Q1 corresponding to the network downstream speed as the 3rd video address.
Further, when three video address is not included in the video address list, terminal device output information, The information is for the prompting to the video playback failure.
It should be noted that terminal device output information can be pointed out in the way of ejecting prompting frame.Its In, information is included in prompting frame.Terminal device output information can also pass through to play indicator lamp corresponding to failure The mode of light on and off or flicker is pointed out, and how the embodiment of the present invention is pointed out not limit according to information to terminal device It is fixed.
208th, terminal device plays video according to the video address for getting.
Specifically, when the video address list includes second video address, terminal device is from video address list After getting the second video address, terminal device can close the video of currently playing failure, and automatically according to second video Address replays the video.And when second video address is not included in the video address list, terminal device is from video After the 3rd video address is got in address list, terminal device can close the video of currently playing failure, and automatically according to 3rd video address replays the video.
Alternatively, when the video address list includes second video address, terminal device is from video address list After getting the second video address, currently playing video can also be closed, preserve playing progress rate, automatically according to for getting Two video address, the playing progress rate with preservation continue to play the video as starting point.And do not include being somebody's turn to do in working as the video address list During the second video address, after terminal device gets the 3rd video address from video address list, terminal device can also be closed Currently playing video is closed, playing progress rate is preserved, automatically according to the 3rd video address for getting, with the playing progress rate for preserving is Starting point, continues to play the video.
It should be noted that if current the second video address for obtaining still played failure, could be according to above-mentioned steps weight It is new to select the second video address, until all second video address play fail or the second video address the broadcasting frequency of failure More than predetermined threshold value, then export information or close currently playing video.Or, all second video address are played equal When the broadcasting frequency of failure of failure or the second video address exceedes predetermined threshold value, following steps can be performed:Regard when all second When frequency address is played unsuccessfully, terminal device obtains the 3rd video address, the 3rd video ground from the video address list The corresponding video definition in location is less than the corresponding video definition of the first video address, and terminal device is according to the video for getting Address, plays video;When three video address is not included in the video address list, then export information or close current The video of broadcasting.
Specifically, during terminal device is according to the second video address for getting, broadcasting video, when the video address In list, when all of second video address is played unsuccessfully, as the normal play of video is not only affected by video source, Also suffer from the impact of video definition.In the case where current video definition is constant, when all video definition correspondences Video address when can not play video, terminal device can also be normally broadcast to reach by way of changing video definition Put the purpose of video.Therefore, whether terminal device includes the 3rd video address in judging the video address list, when video ground When including three video address in the list of location, terminal device obtains the 3rd video address from the video address list.Wherein, The corresponding video definition of 3rd video address is less than the corresponding video definition of the first video address, and the 3rd video Address can be the same or different with the video source of the first video address, and the embodiment of the present invention is not construed as limiting to this.
It should be noted that if current the 3rd video address for obtaining still plays failure, can be according to above-mentioned steps again Select the 3rd video address, until all 3rd video address play fail or the 3rd video address the broadcasting frequency of failure surpass Predetermined threshold value is crossed, then closes currently playing video.Or, all 3rd video address are played When the broadcasting frequency of failure of location exceedes predetermined threshold value, then information is exported.
Further, when in the video address list, all video address are all played unsuccessfully, terminal device output prompting Information, the information is for the prompting to the video playback failure.
Specifically, all of video address in terminal device has attempted video address list, and all play failure or When playing the frequency of failure more than predetermined threshold value, terminal device output information is pointed out to user.
Further, the above-mentioned process for playing video according to video address is included according to video address and video server Between interact and get the process of video flowing, the embodiment of the present invention is repeated to this.
Method provided in an embodiment of the present invention, by when video failure is played according to the first video address, switching to category Play out in different video source, the second video address with relatively low video definition, it is ensured that video smooth can be played, So that needing the operation that user is carried out to greatly reduce, the playing process of Online Video is simplified, be that user brings greatly Facility.Further, when all second video address in video address list all play video failure or video address row When not including the second video address in table, switch to the 3rd video address less than current video definition and play out, that is, adopt With the mode for changing video definition, proceed the playing process of video, so that the playing process of Online Video is more Smoothly with simplification.
Fig. 3 is a kind of video play device structural representation based on video aggregation service provided in an embodiment of the present invention. Referring to Fig. 3, the device includes:Judge module 301, video address acquisition module 302 and video playback module 303.Wherein, this is sentenced Disconnected module 301, for when video failure is played according to the first video address, whether wrapping in judging the video address list for prestoring The second video address is included, second video address is identical with the corresponding video definition of the first video address, second video Address is different from the corresponding video source of the first video address, and the video address list includes the corresponding different video source of the video In different video definition video playback address;The judge module 301 is connected with the video address acquisition module 302, The video address acquisition module 302, for when the video address list includes second video address, from the video address Second video address is obtained in list;The video address acquisition module 302 is connected with the video playback module 303, and this regards Frequency playing module 303, for according to the video address for getting, playing video.
It is preferred that the video address acquisition module 302, is additionally operable to include multiple second videos when the video address list During address, any one second video address is obtained from the plurality of second video address;Or, work as in the video address list wrapping When including multiple second video address, according to the priority of each second video address correspondence video source order from high to low, from The second high video address of a priority is obtained in the plurality of second video address.
It is preferred that the video address acquisition module 302, it is additionally operable to when not including second video in the video address list During address, the 3rd video address is obtained from the video address list, the corresponding video definition of the 3rd video address is less than The corresponding video definition of first video address.
It is preferred that the video address acquisition module 302, is additionally operable to from the video address list, random selection one is low The video address of video definition is corresponded to as the 3rd video address in first video address;Or, according to current network shape Condition, is less than from the video address list in the video address of the corresponding video definition of the first video address, selects one Video address corresponding with the video definition of the network condition matching is used as the 3rd video address.
It is preferred that the video address acquisition module 302, it is additionally operable to when all second video address are played unsuccessfully, from The 3rd video address is obtained in the video address list.
It is preferred that the device also includes:
Sending module 304, for sending video playback request to video server, the video playback request carries to be played Video labeling so that the video server returns video address list according to the video labeling;
Receiver module 305, for receiving the video address list.
It is preferred that the device also includes:
Output module 306, for when all video address are all played unsuccessfully in the video address list, output prompting is believed Breath, the information is for the prompting to the video playback failure.
In sum, device provided in an embodiment of the present invention, by when according to the first video address play video fail when, In the video address list that prestores of judgement whether comprising, video source identical with the corresponding video definition of the first video address not The second same video address, when the video address list includes second video address, obtains second video address, and Video is played according to the video address, so that needing the operation that user is carried out to greatly reduce, broadcasting for Online Video is simplified Journey is let slip, is that user brings great convenience.Further, when all second video address in video address list are all broadcast When not including the second video address in putting video failure or video address list, by the way of video source is changed, proceed The playing process of video so that the playing process of Online Video more smoothly with simplification.
It should be noted that:The video play device based on video aggregation service that above-described embodiment is provided is carrying out video During broadcasting, only it is illustrated with the division of above-mentioned each functional module, in practical application, can as desired by above-mentioned work( Can distribution completed by different functional modules, will the internal structure of terminal device be divided into different functional modules, to complete All or part of function described above.In addition, the video playback based on video aggregation service that above-described embodiment is provided is filled Put and belong to same design with the video broadcasting method embodiment based on video aggregation service, which implements process and refers to method reality Example is applied, is repeated no more here.
Fig. 4 is a kind of terminal device structural representation provided in an embodiment of the present invention.Referring to Fig. 4, the terminal device includes: Processor 401 and memory 402.Wherein, processor 401, for when video failure is played according to the first video address, sentencing Whether the second video address is included in the disconnected video address list for prestoring, second video address is corresponding with first video address Video definition it is identical, second video address is different from the corresponding video source of the first video address, and the video address is arranged Table includes the video playback address of the different video definition in the corresponding different video source of the video;The processor 401, also uses In second video when the video address list includes second video address, is obtained from the video address list Location;The processor 401, is additionally operable to, according to the video address for getting, play video;The processor 401 and 402 phase of memory Connection.
It is preferred that the processor 401, it is additionally operable to when the video address list includes multiple second video address, from Any one second video address is obtained in the plurality of second video address;Or, when the video address list includes multiple During two video address, according to the priority of each second video address correspondence video source order from high to low, from the plurality of the The second high video address of a priority is obtained in two video address.
It is preferred that the processor 401, it is additionally operable to when second video address is not included in the video address list, from The 3rd video address is obtained in the video address list, the corresponding video definition of the 3rd video address is less than first video The corresponding video definition in address.
It is preferred that the processor 401, is additionally operable to from the video address list, random selection one first is regarded less than this The video address of frequency address correspondence video definition is used as the 3rd video address;Or, according to current network conditions, from the video Be less than in address list in the video address of the corresponding video definition of the first video address, one is selected with the network condition The corresponding video address of video definition of matching is used as the 3rd video address.
It is preferred that the processor 401, is additionally operable to when all second video address are played unsuccessfully, from the video address The 3rd video address is obtained in list.
It is preferred that the terminal device also includes:
Transmitter, for sending video playback request to video server, the video playback request carries to be played regarding Frequency marking is known so that the video server returns video address list according to the video labeling;
Receiver, for receiving the video address list.
It is preferred that the terminal device also includes:
Display, for when all video address are all played unsuccessfully in the video address list, exporting information, should Information is for the prompting to the video playback failure.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (13)

1. a kind of video broadcasting method based on video aggregation service, it is characterised in that methods described includes:
Whether when video failure being played according to the first video address, include the second video in judging the video address list for prestoring Address, second video address are identical with the corresponding video definition of first video address, second video address Different from the corresponding video source of first video address, the video address list includes the corresponding different video of the video The video playback address of the different video definition in source;
When the video address list includes second video address, described is obtained from the video address list Two video address;
According to the video address for getting, video is played;
Wherein, after second video address is got, also include:
Currently playing video is closed, playing progress rate is preserved;
Correspondingly, the video address that the basis gets, plays video, including:
According to second video address for getting, the playing progress rate with preservation continues to play the video as starting point;
Wherein, it is described when video failure is played according to the first video address, whether wrap in judging the video address list for prestoring Before including the second video address, methods described also includes:
Video playback request is sent to video server, the video playback request carries video labeling to be played so that institute State video server and multiple video address corresponding with the video labeling are acquired according to the video labeling, according to video Use state in the height or preset duration of the usage frequency of address, chooses preset number in the plurality of video address Video address, the video address of selection is ranked up and obtains the video address list, returns the video address list;
Receive the video address list.
2. method according to claim 1, it is characterised in that described when the video address list includes described second During video address, second video address is obtained from the video address list to be included:
When the video address list includes multiple second video address, obtain from the plurality of second video address and appoint One the second video address of meaning;Or,
When the video address list includes multiple second video address, according to each the second video address correspondence video source Priority order from high to low, high the second video ground of priority is obtained from the plurality of second video address Location.
3. method according to claim 1, it is characterised in that whether include in the video address list that the judgement prestores After second video address, methods described also includes:
When second video address is not included in the video address list, the 3rd is obtained from the video address list Video address, the corresponding video definition of the 3rd video address are clear less than the corresponding video of first video address Degree.
4. method according to claim 3, it is characterised in that described when not including described the in the video address list During two video address, from the video address list obtaining the 3rd video address includes:
From the video address list, a video less than first video address correspondence video definition is randomly choosed Address is used as the 3rd video address;Or,
According to current network conditions, the corresponding video definition of first video address is less than from the video address list Video address in, select one with the corresponding video address of video definition of network condition matching as the described 3rd Video address.
5. method according to claim 3, it is characterised in that the video address that the basis gets, play video it Afterwards, methods described also includes:
When all second video address are played unsuccessfully, the 3rd video address is obtained from the video address list.
6. method according to claim 1, it is characterised in that the video address that the basis gets, play video it Afterwards, methods described also includes:
When all video address are all played unsuccessfully in the video address list, information is exported, the information is used In the prompting to the video playback failure.
7. a kind of video play device based on video aggregation service, it is characterised in that described device includes:
Judge module, for when video failure is played according to the first video address, in judging the video address list for prestoring being It is no including the second video address, second video address is identical with the corresponding video definition of first video address, institute State the second video address different from the corresponding video source of first video address, the video address list includes the video The video playback address of the different video definition in corresponding different video source;
Video address acquisition module, for when the video address list includes second video address, regarding from described Second video address is obtained in frequency address list;
Video playback module, for according to the video address for getting, playing video;
Wherein, after second video address is got, also include:
Currently playing video is closed, playing progress rate is preserved;
Correspondingly, the video address that the basis gets, plays video, including:
According to second video address for getting, the playing progress rate with preservation continues to play the video as starting point;
Wherein, described device also includes:
Sending module, for sending video playback request to video server, the video playback request carries to be played regarding Frequency marking is known so that the video server returns video address list according to the video labeling;
Receiver module, for receiving the video address list;
Wherein, the video server returns video address list according to the video labeling, including:
Multiple video address corresponding with the video labeling, making according to video address are acquired according to the video labeling With the use state in the height or preset duration of frequency, the video ground of preset number is chosen in the plurality of video address Location, the video address of selection is ranked up and obtains the video address list, returns the video address list.
8. device according to claim 7, it is characterised in that the video address acquisition module, is additionally operable to described to regard When frequency address list includes multiple second video address, any one is obtained from the plurality of second video address and second is regarded Frequency address;Or, when the video address list includes multiple second video address, according to each the second video address correspondence The priority of video source order from high to low, one priority of acquisition is high from the plurality of second video address second are regarded Frequency address.
9. device according to claim 7, it is characterised in that the video address acquisition module, is additionally operable to described to regard When not including second video address in frequency address list, the 3rd video address, institute are obtained from the video address list The corresponding video definition of the 3rd video address is stated less than the corresponding video definition of first video address.
10. device according to claim 9, it is characterised in that the video address acquisition module, is additionally operable to from described regard In frequency address list, a video address less than first video address correspondence video definition is randomly choosed as described 3rd video address;Or, according to current network conditions, less than first video address correspondence from the video address list Video definition video address in, select the corresponding video address of video definition of and network condition matching As the 3rd video address.
11. devices according to claim 9, it is characterised in that the video address acquisition module, are additionally operable to when all When two video address are played unsuccessfully, the 3rd video address is obtained from the video address list.
12. devices according to claim 7, it is characterised in that described device also includes:
Output module, for when all video address are all played unsuccessfully in the video address list, exporting information, institute Information is stated for the prompting to the video playback failure.
13. a kind of terminal devices, it is characterised in that the terminal device includes:Processor and memory,
The processor, for when playing video according to the first video address and failing, in judging the video address list that prestores Whether the second video address is included, second video address is identical with the corresponding video definition of first video address, Second video address is different from the corresponding video source of first video address, and the video address list includes described regarding Frequently the video playback address of the different video definition in corresponding different video source;
The processor, is additionally operable to when the video address list includes second video address, from video ground Second video address is obtained in the list of location;
The processor, is additionally operable to, according to the video address for getting, play video;
Wherein, after second video address is got, also include:
Currently playing video is closed, playing progress rate is preserved;
Correspondingly, the video address that the basis gets, plays video, including:
According to second video address for getting, the playing progress rate with preservation continues to play the video as starting point;
Wherein, it is described when video failure is played according to the first video address, whether wrap in judging the video address list for prestoring Before including the second video address, also include:
Video playback request is sent to video server, the video playback request carries video labeling to be played so that institute State video server and multiple video address corresponding with the video labeling are acquired according to the video labeling, according to video Use state in the height or preset duration of the usage frequency of address, chooses preset number in the plurality of video address Video address, the video address of selection is ranked up and obtains the video address list, returns the video address list;
Receive the video address list.
CN201310385404.2A 2013-08-29 2013-08-29 Based on the video broadcasting method of video aggregation service, device and terminal device Active CN103517098B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310385404.2A CN103517098B (en) 2013-08-29 2013-08-29 Based on the video broadcasting method of video aggregation service, device and terminal device
PCT/CN2014/076096 WO2015027713A1 (en) 2013-08-29 2014-04-24 Video playback method, apparatus, and terminal device based on video aggregation service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310385404.2A CN103517098B (en) 2013-08-29 2013-08-29 Based on the video broadcasting method of video aggregation service, device and terminal device

Publications (2)

Publication Number Publication Date
CN103517098A CN103517098A (en) 2014-01-15
CN103517098B true CN103517098B (en) 2017-04-05

Family

ID=49899006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310385404.2A Active CN103517098B (en) 2013-08-29 2013-08-29 Based on the video broadcasting method of video aggregation service, device and terminal device

Country Status (2)

Country Link
CN (1) CN103517098B (en)
WO (1) WO2015027713A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517098B (en) * 2013-08-29 2017-04-05 小米科技有限责任公司 Based on the video broadcasting method of video aggregation service, device and terminal device
CN104811796B (en) * 2014-01-24 2018-11-16 北京猎豹移动科技有限公司 Network video continuous transmission method and device
CN103873928B (en) * 2014-03-14 2017-07-21 可牛网络技术(北京)有限公司 A kind of method, device and application server for playing video
CN103945240B (en) * 2014-04-17 2017-07-25 海信集团有限公司 A kind of video broadcasting method and device based on video aggregation
CN104135692B (en) * 2014-07-18 2017-11-10 北京奇虎科技有限公司 The loading display method and loaded and displayed device of video information
CN104135685B (en) * 2014-07-18 2017-12-19 北京奇虎科技有限公司 The display methods and display device of the broadcast information of video web page
CN104217021B (en) * 2014-09-25 2018-10-23 北京奇虎科技有限公司 Reading server, terminal device and its method for showing reading content
CN105791969B (en) * 2014-12-23 2019-03-29 深圳Tcl数字技术有限公司 Coordinate the methods, devices and systems of multiple live telecast resources
CN105100830B (en) * 2015-07-23 2019-02-15 中国科学院声学研究所 A kind of device and method for being switched fast video source based on video aggregation service
CN105933735A (en) * 2016-06-20 2016-09-07 徐汕 Automatic sorting method of live broadcast program source videos
CN108093273B (en) * 2016-11-22 2020-10-02 北京国双科技有限公司 Data sorting method, device and system
CN106658092A (en) * 2016-12-12 2017-05-10 暴风集团股份有限公司 Video aggregation playing method and system
WO2018112784A1 (en) * 2016-12-21 2018-06-28 深圳市泰普森科技有限公司 Video playing method based on set-top box and set-top box
CN108184138A (en) * 2017-11-20 2018-06-19 腾讯科技(深圳)有限公司 Video broadcasting method, server, client, storage medium and electronic device
CN107872685A (en) * 2017-11-20 2018-04-03 珠海市魅族科技有限公司 A kind of player method of multi-medium data, device and computer installation
CN109348284A (en) * 2018-11-28 2019-02-15 深圳市创维软件有限公司 A kind of channel playback method, device, equipment and medium
CN112118487B (en) * 2019-06-21 2022-01-28 腾讯科技(深圳)有限公司 Video playing control method, device, equipment and medium
CN110278452A (en) * 2019-06-24 2019-09-24 北京字节跳动网络技术有限公司 Video Acceleration of starting method, apparatus, storage medium, terminal and server
CN110909206B (en) * 2019-12-03 2023-06-23 北京百度网讯科技有限公司 Method and device for outputting information
CN114727132B (en) * 2021-01-05 2024-01-12 上海新天策数字科技有限公司 Definition address acquisition method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
CN103220577A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Method, device and system for video displaying

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141622B (en) * 2007-10-23 2010-05-19 张伟华 Interactive edit and extended expression method of network video link information
CN102143385B (en) * 2011-03-16 2013-04-24 华为技术有限公司 Media play processing method, digital media server and system
US8510555B2 (en) * 2011-04-27 2013-08-13 Morega Systems Inc Streaming video server with virtual file system and methods for use therewith
CN102355448B (en) * 2011-06-29 2015-07-01 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN103221955A (en) * 2012-11-06 2013-07-24 华为技术有限公司 Content recommending method, system and apparatus
CN103517098B (en) * 2013-08-29 2017-04-05 小米科技有限责任公司 Based on the video broadcasting method of video aggregation service, device and terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220577A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Method, device and system for video displaying
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal

Also Published As

Publication number Publication date
WO2015027713A1 (en) 2015-03-05
CN103517098A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103517098B (en) Based on the video broadcasting method of video aggregation service, device and terminal device
US11241630B2 (en) User-driven spectator channel for live game play in multi-player games
US8849816B2 (en) Personalized media charts
CN105100830B (en) A kind of device and method for being switched fast video source based on video aggregation service
CN108154384A (en) Advertisement placement method, advertisement releasing server and advertisement delivery system
KR101208628B1 (en) Data repurposing
CN106559677A (en) The method and device of terminal, caching server and acquisition video slicing
US9669298B2 (en) Activity illumination
CN105898428A (en) User identity management method and device
CN105163135B (en) Method for down loading, apparatus and system and the mobile terminal of Internet resources
EP2235877A1 (en) Method and device for interactive ticker
CN109618190A (en) Based on the method, apparatus and storage medium for promoting video setting and acquisition reward
CN109889880A (en) Pay close attention to information displaying method, device, equipment and the storage medium of user
CN106101766A (en) The control method for playing back of a kind of video ads, device and electronic equipment
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN104092724B (en) Method, terminal and the server that song data pulls
CN108960988A (en) Personalized wallpaper recommendation method and device, terminal device and storage medium
CN109345303A (en) A kind of rich-media ads put-on method and device
CN106254244A (en) A kind of merging stream list item method based on SDN
CN108063983A (en) The methods of exhibiting and terminal device of label is broadcast live
CN109889864A (en) Video pushing method, device, equipment and storage medium
CN104683833B (en) The method and device of adaptive media service
CN108132820A (en) Dynamic picture display methods, device and equipment
CN107040615A (en) Method for down loading, terminal and the computer-readable recording medium of media slicing
CN108553904A (en) A kind of game matching process, device, electronic equipment and medium

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