CN105992051B - Content-data playback method and device - Google Patents

Content-data playback method and device Download PDF

Info

Publication number
CN105992051B
CN105992051B CN201510095130.2A CN201510095130A CN105992051B CN 105992051 B CN105992051 B CN 105992051B CN 201510095130 A CN201510095130 A CN 201510095130A CN 105992051 B CN105992051 B CN 105992051B
Authority
CN
China
Prior art keywords
player object
pieces
data
content data
content
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
CN201510095130.2A
Other languages
Chinese (zh)
Other versions
CN105992051A (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201510095130.2A priority Critical patent/CN105992051B/en
Publication of CN105992051A publication Critical patent/CN105992051A/en
Application granted granted Critical
Publication of CN105992051B publication Critical patent/CN105992051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a kind of content-data playback method and devices.This method is for playing the content-data including N number of pieces of content data, and wherein N is greater than 1 natural number, this method comprises: the first player object of creation;Create the second player object;It is buffered using one in the first player object and the second player object and plays i-th of pieces of content data, wherein i is greater than or equal to 1 and is less than the natural number of N;After one in the first player object and the second player object completes to the buffering of i-th of pieces of content data, the buffering to i+1 pieces of content data is carried out using another in the first player object and the second player object.As a result, when carrying out video playing, the pieces of content data seamless connection being connected up and down can be made, improve the viewing experience of user.

Description

Content-data playback method and device
Technical field
The present invention relates to video broadcasting field, in particular to a kind of content-data playback method and a kind of content-data play Device.
Background technique
With the development of network technology, people directly carry out video playing as a kind of trend, phase using web browser Ying Di, the requirement that people play network video are also higher and higher.
The broadcasting of network video does not need to download complete video before playing out, but " to be broadcast in downloading Put " form play out.
And the broadcast address of network video is segmentation, this results in video sectional can only play, this section of video It finishes playing and starts the buffering and broadcasting of next section of video again.There are between this section of video and lower section video for such broadcast mode The linking processing time is long, carries out the problems such as buffering waits, and influences the viewing experience of user.
Summary of the invention
A technical problem to be solved by this invention is to provide a kind of content-data playback method and device, makes mutually to hold in the mouth Be not in that convergence time is long when being switched between the two sections of videos connect, need to buffer the problems such as waiting, is more able to satisfy user Vision requirement.
According to an aspect of the invention, there is provided a kind of content-data playback method, includes N number of content number for playing According to the content-data of section, wherein N is greater than 1 natural number, this method comprises:
Create the first player object;
Create the second player object;
I-th of pieces of content data is buffered and played using one in the first player object and the second player object, Wherein, i is greater than or equal to 1 and is less than the natural number of N;
One in the first player object and the second player object complete to the buffering of i-th of pieces of content data it Afterwards, the buffering to i+1 pieces of content data is carried out using another in the first player object and the second player object.
Content-data for example can be video, audio or other multimedia content datas.
As a result, when carrying out such as video playing, between two pieces of content data being mutually linked, a upper content-data After the completion of section buffering, the next pieces of content data being connected therewith starts to buffer.So a upper pieces of content data finishes playing Before, the next pieces of content data being connected therewith has begun buffering, and next pieces of content data is directly broadcast It puts, avoiding problems will appear when switching between two sections of videos being mutually linked, convergence time is long, buffers etc. To the problems such as, improve the viewing experience of user.
Preferably, this method can also include:
One in the first player object and the second player object broadcasting completed to i-th of pieces of content data it Afterwards, the broadcasting to i+1 pieces of content data is carried out using another in the first player object and the second player object.
Between two pieces of content data being mutually linked, one in the first player object and the second player object is complete After a pairs of upper pieces of content data finishes playing, another in the first player object and the second player object is right Next pieces of content data completes the buffering of certain length, and can directly play out, and makes the pieces of content data being mutually linked Between can be with seamless connection, without carrying out buffering waiting.
Preferably, one in the first player object and the second player object completes to j-th of pieces of content data Buffering, and another completion in the first player object and the second player object is to -1 pieces of content data of jth After broadcasting, carried out using another in the first player object and the second player object to+1 pieces of content data of jth Buffering, wherein j be greater than or equal to 2 and be less than N natural number.
By the circular buffering and broadcasting of the first player and the second player, the broadcasting of entire video is completed, is guaranteed whole The continuity of the broadcasting of a video.
Preferably, this method can also include:
Create third player object;
Using third player object obtain one by one the 2nd to n-th pieces of content data data information.
Preferably, this method can also include:
Based on the data information of the acquired each pieces of content data of third player object, player object interface is updated On the data information to content-data display.
Thus, it is possible to know video buffer progress and playback progress.
Preferably, the data information of pieces of content data is the time duration of pieces of content data,
The data information of content-data is the known time duration of content-data,
The known time duration of content-data be equal to acquired each pieces of content data time duration it With.
Preferably, this method can also include:
The instruction of specified time point is jumped in response to the current play time point from content-data, based on acquired each The time duration of a pieces of content data determines which pieces of content data specified time point is in, specified time point institute The pieces of content data at place is specified pieces of content data;
In the case where specified pieces of content data is different from current content data section locating for current play time section, use The player object that broadcasting current content data section is not used in first player object and the second player object is come from specified Time point starts to play specified pieces of content data.
When user needs span Switch Video or span fast forwarding and fast rewinding, it is first determined which specified time point is in A pieces of content data, and when specified pieces of content data and the pieces of content data difference being presently in, switching player object is simultaneously It is played since specified time point.It is buffered and is played by double players, can be realized span Switch Video, span F.F. Rewind.
According to another aspect of the present invention, a kind of content-data playing device is provided, includes N number of content for playing The content-data of data segment, wherein N is greater than 1 natural number, which includes:
First Object Creation unit, for creating the first player object;
Second Object Creation unit, for creating the second player object;
Object control unit, for buffering and playing using one in the first player object and the second player object I-th of pieces of content data, wherein i is greater than or equal to 1 and is less than the natural number of N;
Switch unit is buffered, is completed for one in the first player object and the second player object to i-th After the buffering of pieces of content data, carried out using another in the first player object and the second player object to i+1 The buffering of a pieces of content data.
Preferably, which can also include:
Switch unit is played, is completed for one in the first player object and the second player object to i-th After the broadcasting of pieces of content data, carried out using another in the first player object and the second player object to i+1 The broadcasting of a pieces of content data.
Preferably, a completion of the buffering switch unit in the first player object and the second player object is to jth The buffering of a pieces of content data, and another completion in the first player object and the second player object is to jth -1 After the broadcasting of pieces of content data, carried out using another in the first player object and the second player object to jth+1 The buffering of a pieces of content data, wherein j is greater than or equal to 2 and is less than the natural number of N.
Preferably, which can also include:
Third Object Creation unit, for creating third player object;
Information acquisition unit, for using third player object obtain one by one the 2nd to n-th pieces of content data data Information.
Preferably, which can also include:
Information updating unit, for the data information based on the acquired each pieces of content data of third player object, Update the display of the data information to content-data on player object interface.
Preferably, the data information of pieces of content data is the time duration of pieces of content data,
The data information of content-data is the known time duration of content-data,
The known time duration of content-data be equal to acquired each pieces of content data time duration it With.
Preferably, which can also include:
Specified pieces of content data determination unit, it is specified for being jumped in response to the current play time point from content-data The instruction at time point determines which specified time point is in based on the time duration of acquired each pieces of content data In a pieces of content data, pieces of content data locating for specified time point is specified pieces of content data;
Redirect broadcasting unit, for the current content data section locating for specified pieces of content data and current play time section In the case where difference, broadcasting for current content data section is played using being not used in the first player object and the second player object Device object is put to play specified pieces of content data since specified time point.
By using contents of the present invention data playing method and device, make to realize between the pieces of content data being mutually linked Seamless play ensure that user's viewing experience.It, can be by N number of content and by two player object circular bufferings and broadcasting Data segment is processed into one section of video and plays out, and span Switch Video and span fast forwarding and fast rewinding may be implemented.
Detailed description of the invention
Disclosure illustrative embodiments are described in more detail in conjunction with the accompanying drawings, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein in disclosure illustrative embodiments, identical reference label Typically represent same parts.
Fig. 1 is the schematic flow chart of content-data playback method according to an embodiment of the invention;
Fig. 2 is the schematic flow chart of the content-data playback method according to the present invention for improving embodiment;
Fig. 3 is the schematic diagram of the video buffer according to Fig. 1 and embodiment illustrated in fig. 2 and playing flow;
Fig. 4 is the schematic stream for the method that the content-data playback method according to the present invention for improving embodiment is jumped Cheng Tu;
Fig. 5 is the schematic diagram of content-data playing device according to an embodiment of the invention;
Fig. 6 is the schematic diagram of the content-data playing device according to the present invention for improving embodiment;
Fig. 7 is the schematic diagram of the content-data playing device according to the present invention for improving embodiment.
Specific embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and can be by the disclosure Range is completely communicated to those skilled in the art.
The invention discloses a kind of content-data playing method and devices, by the method for double buffering, can make to hold in the mouth up and down Seamlessly it is connected between two pieces of content data connect, it, will not when being switched between two be mutually linked section pieces of content data There is the problems such as convergence time is long, buffering is needed to wait, improves the viewing experience of user.Meanwhile it being carried out by double players It cyclically buffers and plays, keep the broadcasting of whole section of video more smooth.When needing span Switch Video or span fast forwarding and fast rewinding When, it first determines pieces of content data locating for specified time point, then judges specified pieces of content data and current content data section section It is whether consistent, it is inconsistent, it is buffered and is played using another player, realize the span switching of video, more quickly The span fast forwarding and fast rewinding for completing video, further increases the viewing experience of user.
A kind of content-data playing method and device of the present invention is carried out with reference to the accompanying drawings and examples further detailed Explanation.
Fig. 1 is the schematic flow chart of content-data playback method according to an embodiment of the invention.
With reference to Fig. 1, a kind of content-data playback method, for playing the content-data including N number of pieces of content data, In, N is greater than 1 natural number.
Specifically, this method comprises the following steps:
Step S110: the first player object of creation.
Step S120: the second player object of creation.
Step S130: it is buffered and is played in i-th using one in the first player object and the second player object Hold data segment.Wherein, i is greater than or equal to 1 and is less than the natural number of N.
Step S140: one in the first player object and the second player object completes to i-th of content-data After the buffering of section, carried out using another in the first player object and the second player object to i+1 content number It is buffered according to section.
The broadcasting of network video does not need to download entire video before broadcasting, but with the shape of " being played in downloading " Formula plays out.The broadcast address of network video is segmentation, this results in video sectional can only play, this section of video It finishes playing and starts the buffering and broadcasting of next section of video again.When playing network video using the network terminal, often occur two sections The processing time is long when switching between video, carries out the problems such as buffering waits, and influences the viewing experience of user.
In this method, is buffered and played in i-th using one in the first player object and the second player object Hold data segment, one in the first player object and the second player object completes the buffering to i-th of pieces of content data Later, delay i+1 pieces of content data using another in the first player object and the second player object Punching, i.e., buffer the pieces of content data being mutually connected with above-mentioned i-th of pieces of content data.
Wherein, above content data can be video data, be also possible to audio data or other multi-medium datas.
Using this method when carrying out video playing, between two pieces of content data being mutually linked, a upper content number After the completion of buffering according to section, the next pieces of content data being connected therewith starts to buffer.So a upper pieces of content data plays Cheng Qian, the next pieces of content data being connected therewith have begun buffering, next pieces of content data are directly carried out It plays, avoiding problems will appear when switching between two sections of videos being mutually linked, convergence time is long, is buffered The problems such as waiting, improves the viewing experience of user.
Wherein it is possible to above-mentioned one section of video (audio or other multi-medium datas) is divided into two sections or more segmentations, Above-mentioned each segmentation is the disjoint subset variably selected that each pieces of content data is the video.I.e. above-mentioned video can To be divided into several pieces of content data with identical duration or different duration.
Fig. 2 is the schematic flow chart of the content-data playback method according to the present invention for improving embodiment.It is shown in Fig. 2 On the basis of step shown in Fig. 1, the step of can further execute.
With reference to Fig. 2, above content data playing method further includes following steps:
Step S150: one in the first player object and the second player object completes to i-th of content-data After the broadcasting of section, carried out using another in the first player object and the second player object to i+1 content number According to the broadcasting of section.
Between two pieces of content data being mutually linked, one in the first player object and the second player object is complete After a pairs of upper pieces of content data finishes playing, another in the first player object and the second player object is right Next pieces of content data completes the buffering of certain data, and can directly play out, and makes the pieces of content data being mutually linked Between can be with seamless connection, without carrying out buffering waiting.
Wherein, it one in the first player object and the second player object completes to j-th pieces of content data Buffering, and -1 pieces of content data of jth is broadcast in another completion in the first player object and the second player object After putting, carried out using above-mentioned another in the first player object and the second player object to+1 content-data of jth The buffering of section.Wherein, j is greater than or equal to 2 and is less than the natural number of N.
Fig. 3 is the schematic diagram of video buffer and playing flow in Fig. 1 and embodiment illustrated in fig. 2.
Below with reference to Fig. 3, first segment pieces of content data, the second player pair are buffered and played with the first player object P1 For buffering as P2 and play next pieces of content data, above-mentioned video playing process is discussed in detail.
P1 starts to buffer first content data segment (i=1 at this time), while P1 plays the first content data segment.P1 buffering When completion, next pieces of content data is judged whether there is, if so, then P2 starts to buffer next pieces of content data, if it is not, Terminate.After the completion of P2 buffering, judges whether that there are also next pieces of content data, terminate if without next pieces of content data, such as Fruit has, then continues to judge whether P1 finishes playing, if P1 finishes playing at this time, next content-data is buffered by P1 Section, if P1 does not finish playing, continues to buffer next pieces of content data after waiting P1 to finish playing.
When P1 starts to buffer first content data segment, while playing first content data segment.After P1 finishes playing, judgement is It is no to have next pieces of content data, if it is not, playing terminates, if so, then playing next pieces of content data by P2.P2 is played After the completion, next pieces of content data has been continued to determine whether, if so, then continued to play next pieces of content data by P1, if No, then playing terminates.
Wherein, because of the natural number that N is greater than 1, so as i=1, without judging whether there is next pieces of content data.
It by above-mentioned first player object P1 and the second player object P2 circular buffering and plays out, completes one The complete broadcasting of whole section of video, and keep entire playing flow smoothness good, it does not need buffering and waits, further improve user Viewing experience.
Preferably, above content data playing method can also include the following steps:
Step S160: creation third player object.
Step S170: using third player object obtain one by one the 2nd to n-th pieces of content data data information.
Step S180: the data information based on the acquired each pieces of content data of third player object is updated and is played The display of the data information to above content data on device object interface.
Wherein, the data information of above content data segment is the time duration of pieces of content data, the number of content-data It is believed that breath is the known time duration of content-data.Wherein, the known time duration of content-data is equal to and has obtained Each pieces of content data the sum of time duration.
One in above-mentioned first player object and the second player object buffers first segment pieces of content data With play when, third player object obtain one by one the 2nd to n-th pieces of content data data information, third player object It often gets one section of content-data segment information and updates player interface.Third player object often gets one section of content-data Segment information updates player interface, and player interface is made to show the duration information of entire video.Pass through third player object The information for obtaining each pieces of content data, when user needs span Switch Video, that is, when requiring fast forward and fast reverse video, Ke Yigen According to information (information such as duration of the i.e. every section pieces of content data) confirmation for each pieces of content data that third player object obtains Which pieces of content data specified time point is located in, and plays to complete span.
Assuming that the information of n-th (n≤N-1) section pieces of content data has been got, when player interface shows that video is total at this time A length of T=T1+T2+ ...+Tn, playback progress and degree of being buffered into are updated on the basis of current content data section total duration.
Fig. 4 is the schematic stream for the method that the content-data playback method according to the present invention for improving embodiment is jumped Cheng Tu.
As shown in figure 4, the content-data playback method according to the present invention for improving embodiment can also include that span plays Step.With reference to Fig. 4, above-mentioned span plays step, specifically comprises the following steps:
Step S192: the instruction of specified time point is jumped in response to the current play time point from content-data, is based on The time duration of acquired each pieces of content data, determines which pieces of content data above-mentioned specified time point is in In.Wherein, pieces of content data locating for specified time point is specified pieces of content data.
Step S194: in the specified pieces of content data feelings different from current content data section locating for current play time section Under condition, the player object that broadcasting current content data section is not used in the first player object and the second player object is used To play above-mentioned specified pieces of content data since specified time point.
If specified pieces of content data is exactly in other words current content data section locating for current play time section refers to It fixes time a little just in current play time section, the player being being currently used that then be used directly is come since specified time point It plays.
Here, when user needs span Switch Video or span fast forwarding and fast rewinding, it is first determined specified time point In which pieces of content data, and when specified pieces of content data and the pieces of content data difference being presently in, switching is played Device object is simultaneously played since specified time point.
Double buffering is carried out by double players and is played out, and be can be realized span Switch Video, is more quickly completed The span fast forwarding and fast rewinding of video, further increases the viewing experience of user.
Fig. 5 is the schematic diagram of content-data playing device according to an embodiment of the invention.
With reference to Fig. 5, a kind of content-data playing device 100 includes for playing according to above content data playing method The content-data of N number of pieces of content data.Wherein, N is greater than 1 natural number.The content-data playing device 100 includes: first Object Creation unit 110, the second Object Creation unit 120, object control unit 130 are gentle to rush switch unit 140.Wherein, right It rushes switch unit 140 as control unit 130 is gentle and is separately connected above-mentioned first Object Creation unit 110 and the second Object Creation list Member 120.
Above-mentioned first Object Creation unit 110 creates the first player object, the second Object Creation unit 120 creation second Player object.Object control unit 130 uses a buffering in above-mentioned first player object and the second player object And play i-th of pieces of content data.Wherein, i is greater than or equal to 1 and is less than the natural number of N.Switch unit 140 is buffered the After one in one player object and the second player object is completed to the buffering of i-th of pieces of content data, first is used Another in player object and the second player object carries out the buffering to i+1 pieces of content data.
The content-data playing device 100 is buffered simultaneously using one in the first player object and the second player object I-th of pieces of content data is played, one in the first player object and the second player object completes to i-th of content number After the buffering of section, carried out using another in the first player object and the second player object to i+1 content Data segment, i.e., the buffering for the pieces of content data being mutually connected with above-mentioned i-th of pieces of content data.
Wherein, above content data can be video data, be also possible to audio data or other multi-medium datas.
Using the content-data playing device 100 when carrying out video playing, two pieces of content data being mutually linked it Between, after the completion of upper pieces of content data buffering, the next pieces of content data being connected therewith starts to buffer.So upper one Before pieces of content data finishes playing, the next pieces of content data being connected therewith has begun buffering, so that next content number It can directly be played out according to section, avoiding problems will appear convergence time when switching between two sections of videos being mutually linked Length carries out the problems such as buffering waits, and improves the viewing experience of user.
Wherein, above-mentioned one section of video (audio or other multi-medium datas) is segmented into two sections or more segmentations, on State the disjoint subset variably selected that each i.e. each pieces of content data of segmentation is the video.I.e. above-mentioned video can be with It is divided into identical duration or not mutually with several pieces of content data of duration.
Further, above content playing device 100 can also include playing switch unit 150, be separately connected above-mentioned the An object creating unit 110 and the second Object Creation unit 120.Switch unit 150 is played in the first player object and second After one in player object is completed to the broadcasting of i-th of pieces of content data, broadcast using the first player object and second Another put in device object carries out the broadcasting to i+1 pieces of content data.
Between two pieces of content data being mutually linked, one in the first player object and the second player object is complete After a pairs of upper pieces of content data finishes playing, another in the first player object and the second player object is right Next pieces of content data completes the buffering of certain length, and can directly play out, and makes the pieces of content data being mutually linked Between can be with seamless connection, without carrying out buffering waiting.
Wherein, it one in the first player object and the second player object completes to j-th pieces of content data Buffering, and -1 pieces of content data of jth is broadcast in another completion in the first player object and the second player object After putting, carried out using above-mentioned another in the first player object and the second player object to+1 content-data of jth The buffering of section.Wherein, j is greater than or equal to 2 and is less than the natural number of N.
Circular buffering and broadcasting are carried out by the first player object and the second player object, completes broadcasting for entire video It puts, guarantees that entire video consistently plays, further increase user's viewing experience.
Fig. 6 is the schematic diagram of the content-data playing device according to the present invention for improving embodiment.
With reference to Fig. 6, above content data replay apparatus 100 can also include sequentially connected third Object Creation unit 160, information acquisition unit 170 and information updating unit 180.
Third Object Creation unit 160 creates third player object, and information acquisition unit 170 uses third player pair As obtain one by one the 2nd to n-th pieces of content data data information, information updating unit 180 be based on third player object The data information of each pieces of content data obtained updates the data information to above content data on player object interface Display.
Wherein, the data information of above content data segment can be the time duration of pieces of content data, correspondingly, on The data information for stating content-data is the known time duration of content-data, and the known duration of above content data is long Degree is equal to the sum of the time duration of acquired each pieces of content data.
One in above-mentioned first player object and the second player object buffers first segment pieces of content data With play when, third player object obtain one by one the 2nd to n-th pieces of content data data information.Third player object It often gets one section of content-data segment information and updates player interface, player interface is made to show the when long letter of entire video Breath.The information that each pieces of content data is obtained by third player object will seek quickness when user needs span Switch Video Into or when rewind video, information (the i.e. every section of content number for each pieces of content data that can be obtained according to third player object The information such as the duration according to section) confirm which pieces of content data specified time point is located in, it is played to complete span.
Assuming that third player has got the information of n-th (n≤N-1) section pieces of content data, player interface is aobvious at this time Show video total duration be T=T1+T2+ ...+Tn, playback progress and degree of being buffered on the basis of current content data section total duration into Row updates.
Wherein, above-mentioned third player object obtain one by one the 2nd to n-th pieces of content data data information, Ke Yitong Cross the mode running background of multithreading.
Fig. 7 is the schematic diagram of the content-data playing device according to the present invention for improving embodiment.
Further, above content data replay apparatus further includes span playing module 190, is separately connected above-mentioned first pair As creating unit 110 and the second Object Creation unit 120.With reference to Fig. 7, above-mentioned span playing module 190 further comprises mutual The specified pieces of content data determination unit 192 and redirect broadcasting unit 194 of connection.
When specified pieces of content data determination unit 192 jumps to specified in response to the current play time point from content-data Between the instruction put determine which above-mentioned specified time point is in based on the time duration of acquired each pieces of content data In one pieces of content data.Wherein, pieces of content data locating for above-mentioned specified time point is specified pieces of content data.
The current content data locating for above-mentioned specified pieces of content data and current play time section of redirect broadcasting unit 194 In the case where Duan Butong, current content data section is played using being not used in the first player object and the second player object Player object since above-mentioned specified time point plays above-mentioned specified pieces of content data.
When user needs span Switch Video or span fast forwarding and fast rewinding, obtained first by third player object Data information determines which pieces of content data specified time point be in, and when specified pieces of content data be presently in it is interior When holding data segment difference, player object can be switched in time and played since specified time point.
Double buffering is carried out by double players and is played out, and be can be realized span Switch Video, is more quickly completed The span fast forwarding and fast rewinding of video, further increases the viewing experience of user.
Content-data playback method and device according to the present invention above is described in detail by reference to attached drawing.
In addition, it is also implemented as a kind of computer program product according to the method for the present invention, the computer program product Including computer-readable medium, be stored on the computer-readable medium for execute limited in method of the invention it is above-mentioned The computer program of function.Those skilled in the art will also understand is that, various exemplary in conjunction with described in disclosure herein Logical block, module, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.
The flow chart and block diagram in the drawings show the possibility of the system and method for multiple embodiments according to the present invention realities Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey A part of sequence section or code, a part of module, section or code include one or more for realizing defined logic The executable instruction of function.It should also be noted that in some implementations as replacements, the function of being marked in box can also be with Occur different from the sequence marked in attached drawing.For example, two continuous boxes can actually be basically executed in parallel, they Sometimes it can also execute in the opposite order, this depends on the function involved.It is also noted that block diagram and or flow chart In each box and the box in block diagram and or flow chart combination, can with execute as defined in functions or operations it is special Hardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art Other those of ordinary skill can understand each embodiment disclosed herein.

Claims (4)

1. a kind of content-data playback method, for playing the content-data including N number of pieces of content data, wherein N is greater than 1 Natural number, this method comprises:
Create the first player object;
Create the second player object;
It is buffered using one in the first player object and the second player object and plays i-th of pieces of content data, wherein I is greater than or equal to 1 and is less than the natural number of N;
After one in the first player object and the second player object is completed to the buffering of i-th of pieces of content data, And in the case where i is greater than or equal to 2, another completion in the first player object and the second player object is to the After the broadcasting of i-1 pieces of content data, carried out pair using another in the first player object and the second player object The buffering of i+1 pieces of content data,
Wherein, this method further include:
Create third player object;
Using third player object obtain one by one the 2nd to n-th pieces of content data time duration;And
Based on the time duration of the acquired each pieces of content data of third player object, player object interface is updated On the known time duration to the content-data display,
Wherein, the content-data is network multimedia data, and the known time duration of the content-data, which is equal to, have been obtained The sum of the time duration of each pieces of content data obtained,
Wherein, this method further include:
The instruction of specified time point is jumped in response to the current play time point from content-data, based on acquired each interior The time duration for holding data segment, determines which pieces of content data the specified time point is in, the specified time The locating pieces of content data of point is specified pieces of content data;
In the case where the specified pieces of content data is different from current content data section locating for current play time section, use The player object that broadcasting current content data section is not used in first player object and the second player object is come from described Specified time point starts to play the specified pieces of content data.
2. according to the method described in claim 1, further include:
After one in the first player object and the second player object is completed to the broadcasting of i-th of pieces of content data, The broadcasting to i+1 pieces of content data is carried out using another in the first player object and the second player object.
3. a kind of content-data playing device, for playing the content-data including N number of pieces of content data, wherein N is greater than 1 Natural number, the device include:
First Object Creation unit, for creating the first player object;
Second Object Creation unit, for creating the second player object;
Object control unit, for being buffered using one in the first player object and the second player object and playing i-th A pieces of content data, wherein i is greater than or equal to 1 and is less than the natural number of N;
Switch unit is buffered, is completed for one in the first player object and the second player object to i-th of content After the buffering of data segment, carried out using another in the first player object and the second player object in i+1 Hold the buffering of data segment,
Wherein, the device further include:
Third Object Creation unit, for creating third player object;
Information acquisition unit, for using third player object obtain one by one the 2nd to n-th pieces of content data duration Length;And
Information updating unit, for the time duration based on the acquired each pieces of content data of third player object, The display of the known time duration to the content-data on player object interface is updated,
Wherein, the content-data is network multimedia data, and the known time duration of the content-data, which is equal to, have been obtained The sum of the time duration of each pieces of content data obtained,
Wherein, the device further include:
Specified pieces of content data determination unit, for jumping to specified time in response to the current play time point from content-data The instruction of point determines which the specified time point is in based on the time duration of acquired each pieces of content data In a pieces of content data, pieces of content data locating for the specified time point is specified pieces of content data;
Redirect broadcasting unit, for the current content data section locating for the specified pieces of content data and current play time section In the case where difference, broadcasting for current content data section is played using being not used in the first player object and the second player object Device object is put to play the specified pieces of content data since the specified time point.
4. device according to claim 3, further includes:
Switch unit is played, is completed for one in the first player object and the second player object to i-th of content After the broadcasting of data segment, carried out using another in the first player object and the second player object in i+1 Hold the broadcasting of data segment.
CN201510095130.2A 2015-03-03 2015-03-03 Content-data playback method and device Active CN105992051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510095130.2A CN105992051B (en) 2015-03-03 2015-03-03 Content-data playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510095130.2A CN105992051B (en) 2015-03-03 2015-03-03 Content-data playback method and device

Publications (2)

Publication Number Publication Date
CN105992051A CN105992051A (en) 2016-10-05
CN105992051B true CN105992051B (en) 2019-04-02

Family

ID=57039538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510095130.2A Active CN105992051B (en) 2015-03-03 2015-03-03 Content-data playback method and device

Country Status (1)

Country Link
CN (1) CN105992051B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954097B (en) * 2017-03-03 2019-08-02 腾讯科技(深圳)有限公司 The control method and device of video playing
CN107295403A (en) * 2017-08-24 2017-10-24 四川长虹电器股份有限公司 The method that seamless connection is played between video
CN114513692A (en) * 2021-12-29 2022-05-17 影石创新科技股份有限公司 Video preview method, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN101533655A (en) * 2008-12-19 2009-09-16 徐清华 Playing method for a plurality of TS video files based on high definition media player
CN102903377A (en) * 2012-11-01 2013-01-30 北京奇艺世纪科技有限公司 Method and device for playing video with multiple video segments
CN103152635A (en) * 2013-03-14 2013-06-12 深圳市茁壮网络股份有限公司 Method for solving play time hopping and client side
CN104202684A (en) * 2014-08-27 2014-12-10 珠海全志科技股份有限公司 Segmental network video seamless playing method and device
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533655A (en) * 2008-12-19 2009-09-16 徐清华 Playing method for a plurality of TS video files based on high definition media player
CN101483054A (en) * 2008-12-25 2009-07-15 深圳市迅雷网络技术有限公司 Method and apparatus for playing multimedia file
CN102903377A (en) * 2012-11-01 2013-01-30 北京奇艺世纪科技有限公司 Method and device for playing video with multiple video segments
CN103152635A (en) * 2013-03-14 2013-06-12 深圳市茁壮网络股份有限公司 Method for solving play time hopping and client side
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device
CN104202684A (en) * 2014-08-27 2014-12-10 珠海全志科技股份有限公司 Segmental network video seamless playing method and device

Also Published As

Publication number Publication date
CN105992051A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US9530454B2 (en) Systems and methods for real-time pixel switching
JP3303543B2 (en) How to organize and play multimedia segments, and how to organize and play two or more multimedia stories as hyperstory
CN110677711B (en) Video dubbing method and device, electronic equipment and computer readable medium
US11528534B2 (en) Dynamic library display for interactive videos
CN105992051B (en) Content-data playback method and device
US11758228B2 (en) Methods, systems, and media for modifying the presentation of video content on a user device based on a consumption of the user device
US10372303B2 (en) Device and method for selection and reproduction of content
CN106658226B (en) Playing method and device
US10523735B1 (en) Methods, systems, and media for inserting and presenting video objects linked to a source video
CN103873927B (en) Streaming medium data processing method and electronic equipment
CN112333536A (en) Audio and video editing method, equipment and computer readable storage medium
CN105979346A (en) Method and device for playing streaming media
CN108777816A (en) Video interactive playback method and device
CN108366299A (en) A kind of media playing method and device
CN113424553A (en) Techniques for facilitating playback of interactive media items in response to user selections
CN106375835B (en) A kind of flow media playing method and equipment
US8728822B2 (en) Method, apparatus, and recording medium for performance game
WO2017121304A1 (en) Audio data processing method and terminal
CN110198494A (en) A kind of video broadcasting method, device, equipment and storage medium
CN106131689A (en) Method for downloading video and device
CN107040826A (en) Video loading method and device, computer installation and computer-readable recording medium
CN110087120A (en) The same window switching method and calculating equipment of online list and local list
CN115150654A (en) Multimedia playing method, device, storage medium and program product
CN108614829A (en) A kind of playback method and terminal
WO2017096960A1 (en) Video playing processing method, video player, and terminal 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
TR01 Transfer of patent right

Effective date of registration: 20200709

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right