CN103945240A - Video playing method and device based on video aggregation - Google Patents
Video playing method and device based on video aggregation Download PDFInfo
- Publication number
- CN103945240A CN103945240A CN201410157932.7A CN201410157932A CN103945240A CN 103945240 A CN103945240 A CN 103945240A CN 201410157932 A CN201410157932 A CN 201410157932A CN 103945240 A CN103945240 A CN 103945240A
- Authority
- CN
- China
- Prior art keywords
- player
- video
- video resource
- video file
- play
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video playing method and device based on video aggregation. The video playing method and device based on video aggregation are used for solving the problems that a third-party application cannot acquire video resources provided by a lot of video providers through playing addresses, and the video resources of the different video providers cannot be switched over are solved. The method includes the steps of obtaining aggregation metadata of a video file from a cloud server and determining a first target player when a playing instruction is received, obtaining a first identification code corresponding to the first target player, starting the first target player through the first identification code, playing the first video resource, selecting the second video resource matched with a current network situation when the network situation changes, regarding the player playing the second video resource as a second target player, obtaining a second identification code corresponding to the second target player, starting the second target player through the second identification code, and playing the second video resource continuously the moment when playing of the first video resource is finished.
Description
Technical field
The present invention relates to video playback technical field, relate in particular to a kind of video broadcasting method and device based on video polymerization.
Background technology
User, in the time of displaying video, may occur because of the not good video card causing of the network condition situation of pausing, and conventionally need to select the video resource that definition is lower to play according to network condition.
In prior art according to the situation of network condition intelligent selection video definition, conventionally towards be the video resource of the different definition that provide of a video provider.When in the face of a video provider, Switch Video definition is to adopt proprietary protocol separately to realize, conversion between the video resource that this method is only applicable to provide towards a video provider, thereby or the conversion of the video definition of the broadcast address realization of video provider self grasp video resource.
For a video, many videos provide commercial city to have the video resource of this video, when in the face of Duo Jia video provider, third party applies owing to cannot grasping the broadcast address of video resource, can not adopt again the mode displaying video resource of broadcast address, therefore, third party is provided by the video resource of the different definition that cannot provide according to network condition intelligent selection different video provider.
Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device based on video polymerization, when solving the video resource that has polymerization Duo Jia video provider in prior art, third party's application cannot be passed through broadcast address mode displaying video resource, cannot be according to the video resource of network condition intelligent selection different video provider thereby cause.
The concrete scheme that the embodiment of the present invention provides is as follows:
Based on a video broadcasting method for video polymerization, the method comprises:
While receiving the play instruction that is used to indicate playing video file, obtain the aggregated metadata of video file from cloud server, and determine first object player according to default selection strategy;
From the aggregated metadata of video file, obtain the first identification code that corresponding first object player arranges, and start first object player by the first identification code, play and be encapsulated in the first video resource corresponding with first object player in the aggregated metadata of video file;
In the time occurring that network condition changes, the second video resource that selection is mated with current network conditions from the aggregated metadata of video file, using the player for playing the second video resource as the second destination player;
From the aggregated metadata of video file, obtain the second identification code that corresponding the second destination player arranges, and start the second destination player by the second identification code, play to continue the finish time from the first video resource and play the second video resource.
The scheme that the embodiment of the present invention provides, being applicable to Duo Jia video provider does not externally provide in the situation of broadcast address, the video resource of the different definition that provide according to network condition intelligent selection different video provider, can be according to user behavior and preference setting, in the time that video request program occurs, intelligent selection player plays associated video file, when in playing process, when network quality changes, within all aggregated metadata, the playing resource of the highest resolution that the current network speed of intelligent selection can be supported is play, between the video resource of the different definition that provide in different video provider, switch, and the video definition that accurately computing time, point was realized in playing switches.Aforesaid operations does not need user independently to select, only need to be in conjunction with user's historical behavior, and intellectual analysis user preferences, provides the most clear video resource that is applicable to current network condition.
Preferably, while receiving the play instruction that is used to indicate playing video file, obtain the aggregated metadata of video file from cloud server, and determine first object player according to default selection strategy, comprising:
While receiving the play instruction that is used to indicate playing video file, send the request of data of video file to cloud server;
The aggregated metadata of the video file that reception cloud server returns, and send the request of user behavior statistics to cloud server;
Receive the user behavior statistics that cloud server returns, and determine the first object player of playing video file according to user behavior statistics in conjunction with default selection strategy.
Preferably, determine the first object player of playing video file according to default selection strategy, comprising:
According to the judgement successively from high to low of the priority of default selection strategy, in the time determining a satisfied selection strategy, the player of a selection strategy instruction is defined as to first object player;
Wherein, the priority of default selection strategy is followed successively by from high in the end: the maximum player of active user's access times that the player that user is arranged is defined as first object player, recommend cloud server player for video file is defined as first object player, the maximum player of playing video file number of times that cloud server analysis is drawn is defined as first object player, draw cloud server analysis is defined as first object player.
By this possible execution mode, by default selection strategy in conjunction with cloud server the Long-term analysis to user behavior statistics, can arrange etc. according to user behavior and preference, in the time that video request program occurs, intelligent selection player plays associated video file.
Preferably, start first object player by the first identification code, play and be encapsulated in the first video resource corresponding with first object player in the aggregated metadata of video file, comprising:
From the aggregated metadata of video file, obtain the Starting mode data of first object player;
Determine starting method and first identification code of first object player according to the Starting mode data of first object player;
Starting method and the first identification code by first object player start first object player plays the first video resource;
Start the second destination player by the second identification code, play to continue the finish time from the first video resource and play the second video resource, comprising:
From the aggregated metadata of video file, obtain the Starting mode data of the second destination player;
Determine starting method and second identification code of the second destination player according to the Starting mode data of the second destination player;
Starting method and the second identification code by the second destination player start the second destination player, play to continue the finish time play the second video resource from the first video resource.
By this possible execution mode, can be in the time that Ge Jia video provider provide the broadcast address of video resource, play corresponding video resource with the identification code of agreement and the player starting method startup destination player of having known, the identification code of agreement can only be opened video resource corresponding to corresponding player plays.
Preferably, play to continue the finish time from the first video resource and play the second video resource, comprising:
The duration of determining the first video resource is the first duration, and determines that the duration of the second video resource is the second duration;
Judge that whether the first duration is identical with the second duration;
If so, directly play to continue the finish time from the first video resource and play the second video resource;
Otherwise, the sheet header of determining the first video resource is first header, and determine that the sheet header of the second video resource is second header, and the duration difference producing while switching to the second destination player with second header calculating by first object player according to first header compensates; According to the first video resource broadcasting finish time and the compensation of duration difference locating some switching time of broadcasting the second video resource that continues, and put broadcasting the second video resource that continues from switching time.
By this possible execution mode, can locate accurately the second video resource and start the time point of playing, realize the seamless continued broadcasting that is switched to the second destination player playing video file by first object player.
Based on a video play device for video polymerization, this device comprises:
The first determining unit, in the time receiving the play instruction of instruction playing video file, obtains the aggregated metadata of video file, and determines first object player according to default selection strategy from cloud server;
The first broadcast unit, for obtain the first identification code that corresponding first object player arranges from the aggregated metadata of video file, and start first object player by the first identification code, play and be encapsulated in the first video resource corresponding with first object player in the aggregated metadata of video file;
The second determining unit, in the time occurring that network condition changes, the second video resource that selection is mated with current network conditions from the aggregated metadata of video file, using the player for playing the second video resource as the second destination player;
The second broadcast unit, the second identification code arranging for obtain corresponding the second destination player from the aggregated metadata of video file, and start the second destination player by the second identification code, play to continue the finish time from the first video resource and play the second video resource.
The scheme that the embodiment of the present invention provides, being applicable to Duo Jia video provider does not externally provide in the situation of broadcast address, the video resource of the different definition that provide according to network condition intelligent selection different video provider, can be according to user behavior and preference setting, in the time that video request program occurs, intelligent selection player plays associated video file, when in playing process, when network quality changes, within all aggregated metadata, the playing resource of the highest resolution that the current network speed of intelligent selection can be supported is play, between the video resource of the different definition that provide in different video provider, switch, and the video definition that accurately computing time, point was realized in playing switches.Aforesaid operations does not need user independently to select, only need to be in conjunction with user's historical behavior, and intellectual analysis user preferences, provides the most clear video resource that is applicable to current network condition.
Preferably, the first determining unit specifically for:
While receiving the play instruction that is used to indicate playing video file, send the request of data of video file to cloud server;
The aggregated metadata of the video file that reception cloud server returns, and send the request of user behavior statistics to cloud server;
Receive the user behavior statistics that cloud server returns, and determine the first object player of playing video file according to user behavior statistics in conjunction with default selection strategy.
Preferably, the first determining unit specifically for:
According to the judgement successively from high to low of the priority of default selection strategy, in the time determining a satisfied selection strategy, the player of a selection strategy instruction is defined as to first object player;
Wherein, the priority of default selection strategy is followed successively by from high in the end: the maximum player of active user's access times that the player that user is arranged is defined as first object player, recommend cloud server player for video file is defined as first object player, the maximum player of playing video file number of times that cloud server analysis is drawn is defined as first object player, draw cloud server analysis is defined as first object player.
By this possible execution mode, by default selection strategy in conjunction with cloud server the Long-term analysis to user behavior statistics, can arrange etc. according to user behavior and preference, in the time that video request program occurs, intelligent selection player plays associated video file.
Preferably, the first broadcast unit specifically for:
From the aggregated metadata of video file, obtain the Starting mode data of first object player;
Determine starting method and first identification code of first object player according to the Starting mode data of first object player;
Starting method and the first identification code by first object player start first object player plays the first video resource;
The second broadcast unit specifically for:
From the aggregated metadata of video file, obtain the Starting mode data of the second destination player;
Determine starting method and second identification code of the second destination player according to the Starting mode data of the second destination player;
Starting method and the second identification code by the second destination player start the second destination player, play to continue the finish time play the second video resource from the first video resource.
By this possible execution mode, can be in the time that Ge Jia video provider provide the broadcast address of video resource, play corresponding video resource with the identification code of agreement and the player starting method startup destination player of having known, the identification code of agreement can only be opened video resource corresponding to corresponding player plays.
Preferably, the second broadcast unit specifically for:
The duration of determining the first video resource is the first duration, and determines that the duration of the second video resource is the second duration;
Judge that whether the first duration is identical with the second duration;
If so, directly play to continue the finish time from the first video resource and play the second video resource;
Otherwise, the sheet header of determining the first video resource is first header, and determine that the sheet header of the second video resource is second header, and the duration difference producing while switching to the second destination player with second header calculating by first object player according to first header compensates; According to the first video resource broadcasting finish time and the compensation of duration difference locating some switching time of broadcasting the second video resource that continues, and put broadcasting the second video resource that continues from switching time.
By this possible execution mode, can locate accurately the second video resource and start the time point of playing, realize the seamless continued broadcasting that is switched to the second destination player playing video file by first object player.
Brief description of the drawings
Fig. 1 is the flow chart of the video broadcasting method based on video polymerization in the embodiment of the present invention;
Fig. 2 is the flow chart that starts first object player plays the first video resource in the embodiment of the present invention;
Fig. 3 is the flow chart of realizing accurate Switch Video resource in the embodiment of the present invention;
Fig. 4 is the detailed step schematic diagram of the video playback based on video polymerization in the embodiment of the present invention;
Fig. 5 is the structure chart of the video play device based on video polymerization in the embodiment of the present invention.
Embodiment
To be applicable to Duo Jia video provider and externally not provide in the situation of broadcast address in order to provide, the implementation of the video resource of the different definition that provide according to network condition intelligent selection different video provider, the embodiment of the present invention provides a kind of video broadcasting method and device based on video polymerization, between the video resource of the different definition that can provide in different video provider, switch, and the video definition that accurately computing time, point was realized in playing switches, and below in conjunction with Figure of description, the preferred embodiments of the present invention is described.
Consult shown in Fig. 1, in the embodiment of the present invention, the idiographic flow of the video broadcasting method based on video polymerization is as follows:
Step 100: when terminal receives the play instruction that is used to indicate playing video file, obtain the aggregated metadata of this video file from cloud server, and determine first object player according to default selection strategy.
Concrete, the data source of aggregated metadata comes from video provider, by third party's aggregated application, the video metadata of each video provider is sent to cloud server, carry out polymerization by cloud server, aggregated metadata comprises video metadata, the resolution information of video file in each needed parameter of this video file of different player plays and all aggregated metadata, wherein, video metadata comprises the essential information of this video file, for example title, describe, actor information and placard picture, video metadata is mainly used in video file and in terminal, shows video information, the needed parameter of each this video file of different player plays comprises and starts the Starting mode of player and the multiple identification codes corresponding to each different player plays video files.
Third party's aggregated application captures the aggregated metadata of the video file that adopts different player plays, the aggregated metadata of this video file is sent to cloud server storage, in the time that terminal receives the play instruction that is used to indicate playing video file, send the request of data of video file to cloud server, when cloud server receives the request of data of this video file, the aggregated metadata of this video file is sent to terminal.The aggregated metadata of the video file that terminal reception cloud server returns, and send the request of user behavior statistics to cloud server, when cloud server receives user's statistics request of terminal transmission, be sent in to terminal the user behavior statistics that in user's use, terminal is constantly uploaded, terminal receives the user behavior statistics that cloud server returns, and determines the first object player of playing video file in conjunction with default selection strategy according to user behavior statistics.
Intelligence is chosen selection strategy statistical analysis to user behavior from cloud server of first object player, the result of statistical analysis has comprised the player plays video of which video provider of the more employings of current user, and user selects at most this video file of player plays of which video provider.Terminal, according to the judgement successively from high to low of the priority of default selection strategy, in the time determining a satisfied selection strategy, is defined as first object player by the player of a selection strategy instruction.
The priority of default selection strategy is followed successively by from high in the end:
The player that user is arranged is defined as first object player;
The player that cloud server is recommended for video file is defined as first object player;
The maximum player of playing video file number of times that cloud server analysis is drawn is defined as first object player;
The maximum player of active user's access times that cloud server analysis is drawn is defined as first object player.
Step 110: terminal is obtained the first identification code that corresponding first object player arranges from the aggregated metadata of video file, and start first object player by the first identification code, play and be encapsulated in the first video resource corresponding with first object player in the aggregated metadata of video file.
Concrete, determining after first object player, terminal is obtained the first identification code that corresponding first object player arranges from the aggregated metadata of this video file, and obtain the Starting mode data of first object player, the Starting mode data of first object player are from cloud server, any feasible Starting mode all can be supported, for example broadcast mode, activity mode or intent mode, basic Starting mode data should comprise: the player title that start, the starting method of player and start the identification code of this video file, first terminal gets the first object player of playing this video file, then start first object player by the starting method of first object player, and import the first identification code into first object player, thereby can start first object player, play first video resource corresponding with first object player in the aggregated metadata that this video file is encapsulated in video file.The first video resource of the corresponding first object player of video file is provided with the first unique identification code, sends this first identification code to first object player, can adopt the first video resource of first object player plays video file.
Wherein, consult shown in Fig. 2, the concrete steps that start first object player plays the first video resource are as follows: step 200: the Starting mode data of obtaining first object player from the aggregated metadata of video file; Step 210: starting method and the first identification code of determining first object player according to the Starting mode data of first object player; Step 220: starting method and the first identification code by first object player start first object player plays the first video resource.
Step 120: in the time occurring that network condition changes, terminal is selected the second video resource mating with current network conditions from the aggregated metadata of video file, using the player for playing the second video resource as the second destination player.
Concrete, follow the basic principle of playing the video resource of the video file that definition is the highest under the condition allowing at network, in the time occurring in playing process that network condition changes, for example, in playing process, occur that repeatedly card has influence on while playing experience, from the aggregated metadata of video file, get by calculating the second lower video resource of definition mating with current network conditions, determine the second destination player of switching by the second video resource.Same, in the time that network condition is better, also can gets the second higher video resource of definition mating with current network conditions by calculating and play, play and experience to obtain better.
Step 130: terminal is obtained the second identification code that corresponding the second destination player arranges from the aggregated metadata of video file, and starts the second destination player by the second identification code, plays to continue from the first video resource and plays the second video resource the finish time.
Concrete, identical with the method that starts first object player, basic Starting mode data should comprise: the player title that start, the starting method of player and start the identification code of this video file; If switch to the second destination player, Starting mode data also should comprise the time point that continues and play, and inform that when the second destination player from starting to play the second video resource.Terminal is obtained the Starting mode data of the second destination player from the aggregated metadata of video file; Determine starting method and second identification code of the second destination player according to the Starting mode data of the second destination player; Starting method and the second identification code by the second destination player start the second destination player, play to continue the finish time play the second video resource from the first video resource.
May there is difference in the length of considering the video resource that different video providers provides, but this difference is the length difference of head normally, each video provider can provide the sheet header of video file, therefore, need to calculate some switching time while switching to the second destination player by first object player, changing method is consulted shown in Fig. 3, and concrete steps are as follows:
Step 300: the duration of determining the first video resource is the first duration, and determine that the duration of the second video resource is the second duration;
Step 310: judge that whether the first duration is identical with the second duration; If so, perform step 320; Otherwise, execution step 330;
Step 320: directly play to continue the finish time from the first video resource and play the second video resource;
Step 330: the sheet header of determining the first video resource is first header, and determine that the sheet header of the second video resource is second header, and the duration difference producing while switching to the second destination player with second header calculating by first object player according to first header compensates; According to the first video resource broadcasting finish time and the compensation of duration difference locating some switching time of broadcasting the second video resource that continues, and put broadcasting the second video resource that continues from switching time.
For example, the first duration is 1 hour, the second duration is 1 hour 04 minutes, the sheet header of the video file providing by each video provider, learn, the head of indicating the first video resource in first header are 3 minutes, second header middle finger shows that the head of the second video resource are 7 minutes, calculate according to first header and second header the duration difference producing while switching to the second destination player by first object player and be compensated for as 4 minutes, play the finish time according to the first video resource, as 30 minutes should be 34 minutes with 4 minutes location of duration difference compensation point switching time of playing the second video resource that continues, and put to continue for 34 minutes from switching time and play the second video resource.
The above-mentioned flow process that is intelligent Switch Video definition, wherein, the collection of user behavior statistics is to guarantee that cloud server provides user behavior statistics more accurately, determine more accurately first object player, in user's playing process, can record and backstage statistics the player information of user's actual play, user behavior statistical information comprises the preference setting of user to player, user uses the player of each video provider to watch the number of times statistics of video, each video file is by the number of times of the player plays of each video provider statistics etc., these data are all by cloud server statistic record, select the data basis of player as terminal intelligent, recommend more accurately player thereby reach.
Consult shown in Fig. 4, the detailed step of the video broadcasting method based on video polymerization is as follows:
Step 400: third party's aggregated application sends the video metadata capturing to cloud server, by cloud server, each video metadata is polymerized to aggregated metadata;
Step 410: terminal sends the request of data of video file to cloud server;
Step 420: cloud server sends the aggregated metadata of video file to terminal;
Step 430: terminal sends the request of user behavior statistics to cloud server;
Step 440: cloud server sends user behavior statistics to terminal;
Step 450: terminal is determined the first object player of playing video file in conjunction with default selection strategy according to user behavior statistics;
Step 460: terminal starts the first video resource of first object player plays video file;
Step 470: changing appears in terminal decision network situation;
Step 480: terminal is selected the second video resource mating with current network conditions, starts the player for playing the second video resource, plays the second video resource;
Step 490: cloud server is collected and calculated the daily statistics of user behavior routinely reporting of terminal.
Below describe for example, when terminal receives the play instruction of user's movie, obtain the aggregated metadata of this film from cloud server, and determine first object player according to default selection strategy, if user arranges common employing player A and plays, selecting player A is first object player, if do not meet this strategy, as there is no above-mentioned film on player A, according to the slightly low policy selection of priority, the player B recommending for this film by cloud server is defined as first object player, if determine, first object player is player B, from the aggregated metadata of film, obtain the Starting mode data of player B and determine and be encapsulated in the first video resource corresponding with player B in the aggregated metadata of film, make an appointment first identification code of the first video resource of movie of the video provider of terminal and player B, in the time starting the first video resource of player B movie, call player B, import into after the first identification code to player B, can start player B and play the first video resource, this first identification code only can be opened the first video resource of film in the time of input player B, in the time of other players of input, cannot open.
In the time occurring that network condition changes, if when network condition is not good, select the second video resource mating with current network conditions, select the second video resource of this film mating with network condition by resolution, corresponding, the player C that plays this second video resource is defined as to the second destination player; Make an appointment second identification code of the second video resource of movie of the video provider of terminal and player C, in the time starting the second video resource of player C movie, call player C, import into after the second identification code to player C, can start player C and play the second video resource, this second identification code only can be opened the second video resource of film in the time of input player C, in the time of other players of input, cannot open.
If when network condition takes a turn for the better, same, by what select to mate with current network conditions, the second video resource that definition is higher, determine the second destination player, calculate the played duration of the first video resource, close the player of playing the first video resource, start the second destination player continue play the second video resource, carry out high definition video resource play.
Based on same inventive concept, the video broadcasting method based on video polymerization providing according to the above embodiment of the present invention, correspondingly, another embodiment of the present invention also provides a kind of video play device based on video polymerization, apparatus structure schematic diagram as shown in Figure 5, specifically comprises:
The first determining unit 500, in the time receiving the play instruction of instruction playing video file, obtains the aggregated metadata of video file, and determines first object player according to default selection strategy from cloud server;
The first broadcast unit 510, for obtain the first identification code that corresponding first object player arranges from the aggregated metadata of video file, and start first object player by the first identification code, play and be encapsulated in the first video resource corresponding with first object player in the aggregated metadata of video file;
The second determining unit 520, in the time occurring that network condition changes, the second video resource that selection is mated with current network conditions from the aggregated metadata of video file, using the player for playing the second video resource as the second destination player;
The second broadcast unit 530, the second identification code arranging for obtain corresponding the second destination player from the aggregated metadata of video file, and start the second destination player by the second identification code, play to continue the finish time from the first video resource and play the second video resource.
The first determining unit 500 specifically for:
While receiving the play instruction that is used to indicate playing video file, send the request of data of video file to cloud server;
The aggregated metadata of the video file that reception cloud server returns, and send the request of user behavior statistics to cloud server;
Receive the user behavior statistics that cloud server returns, and determine the first object player of playing video file according to user behavior statistics in conjunction with default selection strategy.
The first determining unit 500 specifically for:
According to the judgement successively from high to low of the priority of default selection strategy, in the time determining a satisfied selection strategy, the player of a selection strategy instruction is defined as to first object player;
Wherein, the priority of default selection strategy is followed successively by from high in the end: the maximum player of active user's access times that the player that user is arranged is defined as first object player, recommend cloud server player for video file is defined as first object player, the maximum player of playing video file number of times that cloud server analysis is drawn is defined as first object player, draw cloud server analysis is defined as first object player.
The first broadcast unit 510 specifically for:
From the aggregated metadata of video file, obtain the Starting mode data of first object player;
Determine starting method and first identification code of first object player according to the Starting mode data of first object player;
Starting method and the first identification code by first object player start first object player plays the first video resource;
The second broadcast unit 520 specifically for:
From the aggregated metadata of video file, obtain the Starting mode data of the second destination player;
Determine starting method and second identification code of the second destination player according to the Starting mode data of the second destination player;
Starting method and the second identification code by the second destination player start the second destination player, play to continue the finish time play the second video resource from the first video resource.
The second broadcast unit 530 specifically for:
The duration of determining the first video resource is the first duration, and determines that the duration of the second video resource is the second duration;
Judge that whether the first duration is identical with the second duration;
If so, directly play to continue the finish time from the first video resource and play the second video resource;
Otherwise, the sheet header of determining the first video resource is first header, and determine that the sheet header of the second video resource is second header, and the duration difference producing while switching to the second destination player with second header calculating by first object player according to first header compensates; According to the first video resource broadcasting finish time and the compensation of duration difference locating some switching time of broadcasting the second video resource that continues, and put broadcasting the second video resource that continues from switching time.
In sum, the scheme that the embodiment of the present invention provides, being applicable to Duo Jia video provider does not externally provide in the situation of broadcast address, the video resource of the different definition that provide according to network condition intelligent selection different video provider, can be according to user behavior and preference setting, in the time that video request program occurs, intelligent selection player plays associated video file, when in playing process, when network quality changes, within all aggregated metadata, the playing resource of the highest resolution that the current network speed of intelligent selection can be supported is play, between the video resource of the different definition that provide in different video provider, switch, and the video definition that accurately computing time, point was realized in playing switches.Aforesaid operations does not need user independently to select, only need to be in conjunction with user's historical behavior, and intellectual analysis user preferences, provides the most clear video resource that is applicable to current network condition.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (10)
1. the video broadcasting method based on video polymerization, is characterized in that, described method comprises:
While receiving the play instruction that is used to indicate playing video file, obtain the aggregated metadata of described video file from cloud server, and determine first object player according to default selection strategy;
From the aggregated metadata of described video file, obtain the first identification code that corresponding first object player arranges, and start described first object player by described the first identification code, play first video resource corresponding with described first object player in the aggregated metadata that is encapsulated in described video file;
In the time occurring that network condition changes, the second video resource that selection is mated with current network conditions from the aggregated metadata of described video file, using the player for playing described the second video resource as the second destination player;
From the aggregated metadata of described video file, obtain the second identification code that corresponding described the second destination player arranges, and start described the second destination player by described the second identification code, play to continue the finish time from described the first video resource and play described the second video resource.
2. the method for claim 1, it is characterized in that, while receiving the play instruction that is used to indicate playing video file, obtain the aggregated metadata of described video file from cloud server, and determine first object player according to default selection strategy, comprising:
While receiving the play instruction that is used to indicate playing video file, send the request of data of described video file to described cloud server;
Receive the aggregated metadata of the described video file that described cloud server returns, and send the request of user behavior statistics to described cloud server;
Receive the described user behavior statistics that described cloud server returns, and determine according to described user behavior statistics the first object player of playing described video file in conjunction with default selection strategy.
3. method as claimed in claim 2, is characterized in that, determines comprise the first object player of playing described video file according to default selection strategy:
According to the judgement successively from high to low of the priority of described default selection strategy, in the time determining a satisfied selection strategy, the player of described selection strategy instruction is defined as to first object player;
Wherein, the priority of described default selection strategy is followed successively by from high in the end: the maximum player of active user's access times that the maximum player of the described video file number of times of broadcasting that the player that user is arranged is defined as described first object player, recommend cloud server player for described video file is defined as described first object player, draw cloud server analysis is defined as described first object player, draw cloud server analysis is defined as described first object player.
4. the method as described in claim 1,2 or 3, it is characterized in that, start described first object player by described the first identification code, play first video resource corresponding with described first object player in the aggregated metadata that is encapsulated in described video file, comprising:
From the aggregated metadata of described video file, obtain the Starting mode data of first object player;
Determine starting method and described first identification code of described first object player according to the Starting mode data of described first object player;
Starting method by described first object player and described the first identification code start the first video resource described in described first object player plays;
Start described the second destination player by described the second identification code, play to continue the finish time from described the first video resource and play described the second video resource, comprising:
From the aggregated metadata of described video file, obtain the Starting mode data of the second destination player;
Determine starting method and described second identification code of described the second destination player according to the Starting mode data of described the second destination player;
Starting method and described the second identification code by described the second destination player start described the second destination player, play to continue the finish time play described the second video resource from described the first video resource.
5. method as claimed in claim 4, is characterized in that, plays to continue the finish time play described the second video resource from described the first video resource, comprising:
The duration of determining described the first video resource is the first duration, and determines that the duration of described the second video resource is the second duration;
Judge that whether described the first duration is identical with described the second duration;
If so, directly play to continue the finish time from described the first video resource and play described the second video resource;
Otherwise, the sheet header of determining described the first video resource is first header, and determine that the sheet header of described the second video resource is second header, and the duration difference producing while switching to described the second destination player with described second header calculating by described first object player according to described first header compensates; According to the described first video resource broadcasting finish time and the compensation of described duration difference locating some switching time of described the second video resource of broadcasting that continues, and put described the second video resource of broadcasting that continues from described switching time.
6. the video play device based on video polymerization, is characterized in that, described device comprises:
The first determining unit, in the time receiving the play instruction of instruction playing video file, obtains the aggregated metadata of described video file, and determines first object player according to default selection strategy from cloud server;
The first broadcast unit, for obtain the first identification code that corresponding first object player arranges from the aggregated metadata of described video file, and start described first object player by described the first identification code, play first video resource corresponding with described first object player in the aggregated metadata that is encapsulated in described video file;
The second determining unit, in the time occurring that network condition changes, the second video resource that selection is mated with current network conditions from the aggregated metadata of described video file, using the player for playing described the second video resource as the second destination player;
The second broadcast unit, the second identification code arranging for obtain corresponding described the second destination player from the aggregated metadata of described video file, and start described the second destination player by described the second identification code, play to continue the finish time from described the first video resource and play described the second video resource.
7. device as claimed in claim 6, is characterized in that, described the first determining unit specifically for:
While receiving the play instruction that is used to indicate playing video file, send the request of data of described video file to described cloud server;
Receive the aggregated metadata of the described video file that described cloud server returns, and send the request of user behavior statistics to described cloud server;
Receive the described user behavior statistics that described cloud server returns, and determine according to described user behavior statistics the first object player of playing described video file in conjunction with default selection strategy.
8. device as claimed in claim 7, is characterized in that, described the first determining unit specifically for:
According to the judgement successively from high to low of the priority of described default selection strategy, in the time determining a satisfied selection strategy, the player of described selection strategy instruction is defined as to first object player;
Wherein, the priority of described default selection strategy is followed successively by from high in the end: the maximum player of active user's access times that the maximum player of the described video file number of times of broadcasting that the player that user is arranged is defined as described first object player, recommend cloud server player for described video file is defined as described first object player, draw cloud server analysis is defined as described first object player, draw cloud server analysis is defined as described first object player.
9. the device as described in claim 6,7 or 8, is characterized in that, described the first broadcast unit specifically for:
From the aggregated metadata of described video file, obtain the Starting mode data of first object player;
Determine starting method and described first identification code of described first object player according to the Starting mode data of described first object player;
Starting method by described first object player and described the first identification code start the first video resource described in described first object player plays;
Described the second broadcast unit specifically for:
From the aggregated metadata of described video file, obtain the Starting mode data of the second destination player;
Determine starting method and described second identification code of described the second destination player according to the Starting mode data of described the second destination player;
Starting method and described the second identification code by described the second destination player start described the second destination player, play to continue the finish time play described the second video resource from described the first video resource.
10. device as claimed in claim 9, is characterized in that, described the second broadcast unit specifically for:
The duration of determining described the first video resource is the first duration, and determines that the duration of described the second video resource is the second duration;
Judge that whether described the first duration is identical with described the second duration;
If so, directly play to continue the finish time from described the first video resource and play described the second video resource;
Otherwise, the sheet header of determining described the first video resource is first header, and determine that the sheet header of described the second video resource is second header, and the duration difference producing while switching to described the second destination player with described second header calculating by described first object player according to described first header compensates; According to the described first video resource broadcasting finish time and the compensation of described duration difference locating some switching time of described the second video resource of broadcasting that continues, and put described the second video resource of broadcasting that continues from described switching time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410157932.7A CN103945240B (en) | 2014-04-17 | 2014-04-17 | A kind of video broadcasting method and device based on video aggregation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410157932.7A CN103945240B (en) | 2014-04-17 | 2014-04-17 | A kind of video broadcasting method and device based on video aggregation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103945240A true CN103945240A (en) | 2014-07-23 |
CN103945240B CN103945240B (en) | 2017-07-25 |
Family
ID=51192683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410157932.7A Active CN103945240B (en) | 2014-04-17 | 2014-04-17 | A kind of video broadcasting method and device based on video aggregation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103945240B (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217021A (en) * | 2014-09-25 | 2014-12-17 | 北京奇虎科技有限公司 | Reading server, terminal equipment and method for displaying reading contents |
CN104661092A (en) * | 2015-03-09 | 2015-05-27 | 深圳市茁壮网络股份有限公司 | Video playing control method and system as well as STB (set-top box) |
CN105376610A (en) * | 2014-08-27 | 2016-03-02 | Tcl集团股份有限公司 | Video switching method and system based on image recognition |
GB2536887A (en) * | 2015-03-27 | 2016-10-05 | Sony Corp | Video content replay |
CN106231433A (en) * | 2016-07-29 | 2016-12-14 | 广州酷狗计算机科技有限公司 | A kind of methods, devices and systems playing Internet video |
CN106331755A (en) * | 2016-08-17 | 2017-01-11 | 广州酷狗计算机科技有限公司 | Method and device for processing media stream blockage |
CN106454429A (en) * | 2015-08-05 | 2017-02-22 | 纳格拉星有限责任公司 | Hybrid electronic program guide |
CN106506561A (en) * | 2016-12-29 | 2017-03-15 | 广州华多网络科技有限公司 | A kind of flow-medium transmission method and device |
WO2017096849A1 (en) * | 2015-12-07 | 2017-06-15 | 乐视控股(北京)有限公司 | Method and system for quickly starting video playing |
CN106973318A (en) * | 2017-03-20 | 2017-07-21 | 聚好看科技股份有限公司 | Aggregate video operating method and device |
WO2017162062A1 (en) * | 2016-03-24 | 2017-09-28 | 阿里巴巴集团控股有限公司 | File playback method and device |
CN107222778A (en) * | 2017-06-01 | 2017-09-29 | 梁小红 | A kind of live switching method of intelligent television and device |
CN108011861A (en) * | 2016-10-28 | 2018-05-08 | 北京视联动力国际信息技术有限公司 | A kind of method and system of the high in the clouds resource display control based on regarding networking |
CN108184138A (en) * | 2017-11-20 | 2018-06-19 | 腾讯科技(深圳)有限公司 | Video broadcasting method, server, client, storage medium and electronic device |
WO2018112784A1 (en) * | 2016-12-21 | 2018-06-28 | 深圳市泰普森科技有限公司 | Video playing method based on set-top box and set-top box |
CN108810582A (en) * | 2018-05-25 | 2018-11-13 | 联想(北京)有限公司 | A kind of information processing method, electronic equipment and computer readable storage medium |
CN109948377A (en) * | 2019-03-28 | 2019-06-28 | 联想(北京)有限公司 | Display control method, device and electronic equipment |
WO2020107971A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video enhancement control method and apparatus, electronic device, and storage medium |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917391A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Method for playing network video and system for playing network video |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
CN102695081A (en) * | 2012-06-13 | 2012-09-26 | 百视通网络电视技术发展有限责任公司 | Video resource scheduling method based on Internet television and television terminal |
CN103024536A (en) * | 2012-12-25 | 2013-04-03 | 北京奇虎科技有限公司 | Video playing method and browser |
CN103338401A (en) * | 2013-06-03 | 2013-10-02 | 贝壳网际(北京)安全技术有限公司 | Video playing control method, device and system for mobile terminal browser |
CN103517098A (en) * | 2013-08-29 | 2014-01-15 | 小米科技有限责任公司 | Video playing method, device and terminal equipment based on video aggregation service |
-
2014
- 2014-04-17 CN CN201410157932.7A patent/CN103945240B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917391A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Method for playing network video and system for playing network video |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
CN102695081A (en) * | 2012-06-13 | 2012-09-26 | 百视通网络电视技术发展有限责任公司 | Video resource scheduling method based on Internet television and television terminal |
CN103024536A (en) * | 2012-12-25 | 2013-04-03 | 北京奇虎科技有限公司 | Video playing method and browser |
CN103338401A (en) * | 2013-06-03 | 2013-10-02 | 贝壳网际(北京)安全技术有限公司 | Video playing control method, device and system for mobile terminal browser |
CN103517098A (en) * | 2013-08-29 | 2014-01-15 | 小米科技有限责任公司 | Video playing method, device and terminal equipment based on video aggregation service |
Non-Patent Citations (1)
Title |
---|
王雷钧: "《网络视频元数据提取与自适应播放方法研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376610A (en) * | 2014-08-27 | 2016-03-02 | Tcl集团股份有限公司 | Video switching method and system based on image recognition |
CN105376610B (en) * | 2014-08-27 | 2019-03-19 | Tcl集团股份有限公司 | A kind of video switching method and system based on picture recognition |
CN104217021A (en) * | 2014-09-25 | 2014-12-17 | 北京奇虎科技有限公司 | Reading server, terminal equipment and method for displaying reading contents |
CN104217021B (en) * | 2014-09-25 | 2018-10-23 | 北京奇虎科技有限公司 | Reading server, terminal device and its method for showing reading content |
CN104661092A (en) * | 2015-03-09 | 2015-05-27 | 深圳市茁壮网络股份有限公司 | Video playing control method and system as well as STB (set-top box) |
CN104661092B (en) * | 2015-03-09 | 2019-02-22 | 深圳市茁壮网络股份有限公司 | A kind of video playing control method, system and set-top box |
GB2536887B (en) * | 2015-03-27 | 2021-05-05 | Sony Europe Bv | Video content replay |
US10674226B2 (en) | 2015-03-27 | 2020-06-02 | Sony Corporation | Video content replay |
WO2016156785A1 (en) * | 2015-03-27 | 2016-10-06 | Sony Corporation | Video content replay |
GB2536887A (en) * | 2015-03-27 | 2016-10-05 | Sony Corp | Video content replay |
CN106454429A (en) * | 2015-08-05 | 2017-02-22 | 纳格拉星有限责任公司 | Hybrid electronic program guide |
WO2017096849A1 (en) * | 2015-12-07 | 2017-06-15 | 乐视控股(北京)有限公司 | Method and system for quickly starting video playing |
WO2017162062A1 (en) * | 2016-03-24 | 2017-09-28 | 阿里巴巴集团控股有限公司 | File playback method and device |
CN106231433A (en) * | 2016-07-29 | 2016-12-14 | 广州酷狗计算机科技有限公司 | A kind of methods, devices and systems playing Internet video |
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 |
CN108011861A (en) * | 2016-10-28 | 2018-05-08 | 北京视联动力国际信息技术有限公司 | A kind of method and system of the high in the clouds resource display control based on regarding networking |
CN108011861B (en) * | 2016-10-28 | 2019-05-17 | 视联动力信息技术股份有限公司 | A kind of method and system of the cloud resource display control based on view networking |
WO2018112784A1 (en) * | 2016-12-21 | 2018-06-28 | 深圳市泰普森科技有限公司 | Video playing method based on set-top box and set-top box |
CN106506561B (en) * | 2016-12-29 | 2019-10-29 | 广州华多网络科技有限公司 | A kind of flow-medium transmission method and device |
CN106506561A (en) * | 2016-12-29 | 2017-03-15 | 广州华多网络科技有限公司 | A kind of flow-medium transmission method and device |
CN106973318A (en) * | 2017-03-20 | 2017-07-21 | 聚好看科技股份有限公司 | Aggregate video operating method and device |
CN107222778A (en) * | 2017-06-01 | 2017-09-29 | 梁小红 | A kind of live switching method of intelligent television and device |
CN108184138A (en) * | 2017-11-20 | 2018-06-19 | 腾讯科技(深圳)有限公司 | Video broadcasting method, server, client, storage medium and electronic device |
CN108810582A (en) * | 2018-05-25 | 2018-11-13 | 联想(北京)有限公司 | A kind of information processing method, electronic equipment and computer readable storage medium |
WO2020107971A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video enhancement control method and apparatus, electronic device, and storage medium |
US11627369B2 (en) | 2018-11-27 | 2023-04-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd | Video enhancement control method, device, electronic device, and storage medium |
CN109948377A (en) * | 2019-03-28 | 2019-06-28 | 联想(北京)有限公司 | Display control method, device and electronic equipment |
CN114546216A (en) * | 2022-02-25 | 2022-05-27 | 深圳康佳电子科技有限公司 | Aggregation-based global searching method, device, equipment and medium for video resources |
Also Published As
Publication number | Publication date |
---|---|
CN103945240B (en) | 2017-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103945240A (en) | Video playing method and device based on video aggregation | |
WO2016054916A1 (en) | Video content recommending and evaluating methods and devices | |
US20150365729A1 (en) | Personalized Generation of Watch List of Shows in a Video Delivery System | |
CN102036058B (en) | Method, server, terminal and system for switching videos in video monitoring system | |
CN105472443A (en) | Direct broadcast source control method and system | |
US20230379535A1 (en) | Dynamic Content Ratings | |
CN102833624B (en) | The processing method of DTV and electronic equipment | |
US20120257120A1 (en) | Contents read-ahead control device and read-ahead control method | |
WO2019057034A1 (en) | Method, device, storage medium and electronic device for determining video segment | |
CN104349221B (en) | Carry out communication equipment, message processing device and its control method of stream distribution | |
CN105828192A (en) | Multi-terminal video continuous playing method and device | |
CN107040825B (en) | Terminal, television, multi-screen interaction system and screen capture parameter setting method | |
US10205973B2 (en) | Method and system for linking real-time broadcasting with non-real-time video service using user history information | |
CN109089169A (en) | A kind of live streaming method for switching between, device and storage medium | |
CN110198494A (en) | A kind of video broadcasting method, device, equipment and storage medium | |
CN109587511A (en) | More equipment net cast methods, equipment, system and storage medium | |
CN106791903B (en) | Processing system, unit and method is broadcast live | |
Tang et al. | Online bitrate selection for viewport adaptive 360-degree video streaming | |
CN107529075B (en) | Cross-screen continuous playing method, system, server, equipment and cross-screen continuous playing equipment | |
CN103402137A (en) | Application push method, mobile terminal and digital television (TV) receiving end | |
CN113259759A (en) | Network connection state evaluation method and device, terminal equipment and storage medium | |
CN108833983A (en) | Played data acquisition methods, device, equipment and storage medium | |
CN111182316B (en) | Stream switching method and device of media resource, storage medium and electronic device | |
CN105979297B (en) | One kind watching duration statistical method and system | |
CN104811758B (en) | Programme providing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |