Video broadcasting method and device
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of video broadcasting method and device.
Background technology
In supporting the online video website play or videoconference client, positive and advertisement generally fall into two different
Film source.At present, load and play positive by a broadcast window, and loaded by another broadcast window and play advertisement.
This mode easily causes Caton phenomenon between positive and advertisement, and easy generation blank screen easy between advertisement and positive,
Splashette etc. significantly switches vestige, the viewing experience of impact user.
Content of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is, existing video display arts are easily in positive and advertisement
Between cause Caton phenomenon, and between advertisement and positive, easily easily produce the significantly switching vestige such as blank screen, splashette.
Solution
In order to solve above-mentioned technical problem, according to one embodiment of the invention, there is provided a kind of video broadcasting method, bag
Include:
In the case of receiving the request playing video, create broadcast window;
In the case that described video includes positive video and first kind advertisement video, obtain described first series advertisements and regard
The sart point in time of frequency, wherein, described first kind advertisement video signpost in being video or after signpost video;
Sart point in time according to described first kind advertisement video and the first preset value determine first time point, wherein,
Described first time point is before the sart point in time of described first kind advertisement video, and described first time point and described first
The time interval of the sart point in time of series advertisements video is described first preset value;
During described positive video is play by described broadcast window, when the play time of described positive video
When reaching described first time point, download described first kind advertisement video;
When the play time of described positive video reaches the sart point in time of described first kind advertisement video, by institute
State broadcast window and play described first kind advertisement video.
For said method, in a kind of possible implementation, methods described also includes:
Sart point in time according to described first kind advertisement video and the second preset value determine the second time point, wherein,
Described second time point before the sart point in time of described first kind advertisement video, described second time point and the described first kind
The time interval of the sart point in time of advertisement video is described second preset value, and described second preset value is pre- less than described first
If value;
When the play time of described positive video reaches described second time point, load described first series advertisements and regard
Frequently, suspend and play described first kind advertisement video, and described first kind advertisement video is set to hidden state.
For said method, in a kind of possible implementation, when the play time of described positive video reaches institute
State first kind advertisement video sart point in time when, by described broadcast window play described first kind advertisement video, including:
Signpost in the case of video in described first kind advertisement video is, when the play time of described positive video
Reach described first kind advertisement video sart point in time when, suspend play described positive video, described positive video is set to
Hidden state, described first kind advertisement video is set to dispaly state, and it is wide to play the described first kind by described broadcast window
Accuse video.
For said method, in a kind of possible implementation, the described first kind is being play by described broadcast window
After advertisement video, methods described also includes:
When described first kind advertisement video finishes, destroy the corresponding process of described first kind advertisement video, by institute
State positive video and be set to dispaly state, and continue to play described positive video by described broadcast window.
For said method, in a kind of possible implementation, when the play time of described positive video reaches institute
State first kind advertisement video sart point in time when, by described broadcast window play described first kind advertisement video, including:
Signpost in the case of video after described first kind advertisement video is, when described positive video playback finishes,
Described positive video is set to hidden state, described first kind advertisement video is set to dispaly state, and by described broadcasting window
Mouth plays described first kind advertisement video.
For said method, in a kind of possible implementation, methods described also includes:
Signpost before described video also includes in the case of video, regard described positive is play by described broadcast window
Before frequency, signpost before download is described video and described positive video;
By described broadcast window play described before signpost video, and play described before signpost the process of video
In, suspend and play described positive video, described positive video is set to hidden state;
When video playback of signposting before described finishes, destroy described before signpost the corresponding process of video, by described just
Piece video is set to dispaly state, and plays described positive video by described broadcast window.
In order to solve above-mentioned technical problem, according to another embodiment of the present invention, there is provided a kind of video play device, wrap
Include:
Broadcast window creation module, for, in the case of receiving the request playing video, creating broadcast window;
Sart point in time acquisition module, for including positive video and the situation of first kind advertisement video in described video
Under, obtain described first kind advertisement video sart point in time, wherein, described first kind advertisement video signpost in being video or
Signpost after person video;
First time point determining module, default for the sart point in time according to described first kind advertisement video and first
Value determines first time point, and wherein, described first time point is before the sart point in time of described first kind advertisement video, and institute
The time interval stating first time point with the sart point in time of described first kind advertisement video is described first preset value;
First download module, for by described broadcast window play described positive video during, when described just
When the play time of piece video reaches described first time point, download described first kind advertisement video;
First series advertisements playing module, for regarding when the play time of described positive video reaches described first series advertisements
During the sart point in time of frequency, described first kind advertisement video is play by described broadcast window.
For said apparatus, in a kind of possible implementation, described device also includes:
Second time point determining module, default for the sart point in time according to described first kind advertisement video and second
Value determines the second time point, and wherein, described second time point is before the sart point in time of described first kind advertisement video, described
The time interval of the sart point in time of the second time point and described first kind advertisement video is described second preset value, and described the
Two preset values are less than described first preset value;
Load-on module, described for when the play time of described positive video reaches described second time point, loading
First kind advertisement video, suspends and plays described first kind advertisement video, and described first kind advertisement video is set to hidden state.
For said apparatus, in a kind of possible implementation, described first series advertisements playing module includes:
First broadcasting submodule, in the case of video of signposting in described first kind advertisement video being, when described
When the play time of positive video reaches the sart point in time of described first kind advertisement video, suspend the described positive of broadcasting and regard
Frequently, described positive video is set to hidden state, described first kind advertisement video is set to dispaly state, and by described broadcasting
Described first kind advertisement video play by window.
For said apparatus, in a kind of possible implementation, described device also includes:
First positive playing module, for when described first kind advertisement video finishes, destroying the described first kind wide
Accuse the corresponding process of video, described positive video is set to dispaly state, and it is described just to continue broadcasting by described broadcast window
Piece video.
For said apparatus, in a kind of possible implementation, described first series advertisements playing module includes:
Second broadcasting submodule, in the case of video of signposting after described first kind advertisement video is, when described
When positive video playback finishes, described positive video is set to hidden state, described first kind advertisement video is set to display shape
State, and described first kind advertisement video is play by described broadcast window.
For said apparatus, in a kind of possible implementation, described device also includes:
Second download module, in the case of video of signposting before described video also includes, by described broadcasting
Before described positive video play by window, signpost before download is described video and described positive video;
Before signpost playing module, for by described broadcast window play described before signpost video, and playing institute
Signpost before stating during video, suspend and play described positive video, described positive video is set to hidden state;
Second positive playing module, when finishing for video playback of signposting before described, signposts before destruction is described and regards
Frequently corresponding process, described positive video is set to dispaly state, and plays described positive video by described broadcast window.
Beneficial effect
In the case of including positive video and first kind advertisement video in video, in opening of first kind advertisement video
Start before beginning time point to download first kind advertisement video, and wide by same broadcast window broadcasting positive video and the first kind
Accuse video, video broadcasting method according to embodiments of the present invention and device can be signposted the situation of video in video includes
Under, reduce the possibility that video of signposting in playing in positive video display process produces Caton phenomenon, can be in video bag
Signpost after including in the case of video, reduce video of signposting after playing after positive video playback finishes and produce Caton phenomenon
Possibility, and no blank screen, splashette etc. significantly switch vestige such that it is able to improve video between positive video and advertisement video
The fluency play, improves the viewing experience of user.
According to below with reference to the accompanying drawings, to detailed description of illustrative embodiments, the further feature of the present invention and aspect will become
Clear.
Brief description
Comprise in the description and constitute the accompanying drawing of a part of specification and specification together illustrates the present invention's
Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates the flowchart of video broadcasting method according to an embodiment of the invention;
Fig. 2 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention;
Fig. 3 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention;
Fig. 4 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention;
Fig. 5 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention;
Fig. 6 illustrates the structured flowchart of video play device according to another embodiment of the present invention;
Fig. 7 illustrates an exemplary structured flowchart of video play device according to another embodiment of the present invention;
Fig. 8 shows a kind of structured flowchart of video playback apparatus of an alternative embodiment of the invention.
Specific embodiment
Describe various exemplary embodiments, feature and the aspect of the present invention below with reference to accompanying drawing in detail.Identical in accompanying drawing
Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, remove
Non-specifically points out it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " as example, embodiment or illustrative " here.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, giving numerous details in specific embodiment below.
It will be appreciated by those skilled in the art that not having some details, the present invention equally can be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 illustrates the flowchart of video broadcasting method according to an embodiment of the invention.The execution master of the present embodiment
Body can be PC (Personal Computer, PC) or the mobile terminal such as mobile phone or panel computer, also
Can be other video play devices, be not limited thereto.The video broadcasting method that the present embodiment provides can apply to various
In videoconference client or video website, for example, it is possible to it is only for being applied to advertising process with positive (feature movie) process
In the vertical various videoconference clients of process (independent process) form or the online playing module of video website,
It is not limited thereto.As shown in figure 1, the method includes:
In step S101, in the case of receiving the request playing video, create broadcast window.
As an example of the present embodiment, each receiving is play to the request of video, can only create one
Broadcast window.In the case of this video bag video containing positive and first kind advertisement video, positive is play by this broadcast window
Video and first kind advertisement video.In the case that this video only comprises positive video, positive is play by this broadcast window and regards
Frequently.
In step s 102, in the case that this video includes positive video and first kind advertisement video, obtain first
The sart point in time of series advertisements video, wherein, first kind advertisement video signpost in being video or after signpost video.
Wherein, positive video can refer to the main contents in the video of user's request broadcasting.For example, user wants viewing electricity
Shadow A1, and ask to play film A1 corresponding video A, video A includes film A1 and the first series advertisements A2, then in video A just
Piece video is film A1, and the first kind advertisement video in video A is advertisement A2.In video of signposting can exist for sart point in time
Advertisement video in the playing process of positive video, in other words, this video include positive video and in signpost video
In the case of, video of signposting in intercutting in the playing process of positive video.After video of signposting can exist for sart point in time
Advertisement video after positive video, in other words, this video include positive video and after signpost in the case of video,
After positive video playback finishes, video of signposting after then playing.
In a kind of possible implementation, positive video shares a calling layer with advertisement video.This dispatch layer is permissible
Signpost before being used to determine whether video, in signpost video or after signpost video it is possible to be used to determine when to broadcast
Put advertisement video, thus guide carrying out seamless switching broadcasting between advertisement video and positive video.
In a kind of possible implementation, include positive video and the situation of first kind advertisement video in this video
Under, the corresponding process of positive video and the corresponding process of first kind advertisement video can be created by dispatch layer it is possible to lead to
Cross the sart point in time that dispatch layer obtains first kind advertisement video.
In step s 103, the sart point in time according to first kind advertisement video and the first preset value determine the very first time
Point, wherein, first time point is before the sart point in time of first kind advertisement video, and first time point is regarded with the first series advertisements
The time interval of the sart point in time of frequency is the first preset value.
In step S104, during positive video is play by this broadcast window, when the broadcasting of positive video
Between point when reaching first time point, download first kind advertisement video.
In a kind of possible implementation, when the play time of positive video reaches first time point, dispatch layer
The corresponding process of first kind advertisement video can be started, and the first series advertisements are downloaded by the corresponding process of first kind advertisement video
Video.Between the sart point in time of first time point and first kind advertisement video, first kind advertisement video is set to hiding shape
State.
In step S105, when the play time of positive video reaches the sart point in time of first kind advertisement video,
First kind advertisement video is play by this broadcast window.
In the present embodiment, when the play time of positive video reaches the sart point in time of first kind advertisement video,
Dispatch layer can send, to the corresponding process of positive video, the notice that first kind advertisement video commences play out, so that positive video is temporary
Break and put and hide, discharge broadcast window, first kind advertisement video takies broadcast window and plays.
In the case of including positive video and first kind advertisement video in video, in opening of first kind advertisement video
Start before beginning time point to download first kind advertisement video, and wide by same broadcast window broadcasting positive video and the first kind
Accuse video, video broadcasting method according to embodiments of the present invention can be signposted in the case of video in video includes, reduce
Video of signposting in playing in positive video display process produces the possibility of Caton phenomenon, can paste wide after video includes
In the case of accusing video, reduce the possibility that video of signposting after playing after positive video playback finishes produces Caton phenomenon,
And no blank screen, splashette etc. significantly switch vestige between positive video and advertisement video, realize seamlessly transitting such that it is able to carry
The fluency of high video playback, improves the viewing experience of user.
Fig. 2 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention.As Fig. 2 institute
Show, the method includes:
In step s 201, in the case of receiving the request playing video, create broadcast window.
In step S202, in the case that this video includes positive video and first kind advertisement video, obtain first
The sart point in time of series advertisements video, wherein, first kind advertisement video signpost in being video or after signpost video.
In step S203, the sart point in time according to first kind advertisement video and the first preset value determine the very first time
Point, wherein, first time point is before the sart point in time of first kind advertisement video, and first time point is regarded with the first series advertisements
The time interval of the sart point in time of frequency is the first preset value.
In step S204, during positive video is play by this broadcast window, when the broadcasting of positive video
Between point when reaching first time point, download first kind advertisement video.
In step S205, the sart point in time according to first kind advertisement video and the second preset value determined for the second time
Point, wherein, the second time point before the sart point in time of first kind advertisement video, the second time point and first kind advertisement video
Sart point in time time interval be the second preset value, and the second preset value be less than the first preset value.
In step S206, when the play time of positive video reaches the second time point, load the first series advertisements and regard
Frequently, suspend and play first kind advertisement video, and first kind advertisement video is set to hidden state.
In a kind of possible implementation, when the play time of positive video reaches the second time point, Ke Yitong
Cross the corresponding process of first kind advertisement video and load first kind advertisement video, so that first kind advertisement video is in and can broadcast but suspend and broadcast
The state put, and first kind advertisement video is set to hidden state, broadcasting the first series advertisements can be improved from there through preloading
The fluency of video.
In step S207, when the play time of positive video reaches the sart point in time of first kind advertisement video,
First kind advertisement video is play by this broadcast window.
Wherein, the description to step S101 to S105 is seen above to step S201, S202, S203, S204 and S207.
In a kind of possible implementation, when the play time of positive video reaches the beginning of first kind advertisement video
During time point, first kind advertisement video is play by this broadcast window, including:Signpost in first kind advertisement video is video
In the case of, when the play time of positive video reaches the sart point in time of first kind advertisement video, suspend and play positive
Video, positive video is set to hidden state, and first kind advertisement video is set to dispaly state, and is play by this broadcast window
First kind advertisement video.
In a kind of possible implementation, after first kind advertisement video is play by this broadcast window, the method
Also include:When first kind advertisement video finishes, destroy the corresponding process of first kind advertisement video, positive video is set to
Dispaly state, and continue to play positive video by this broadcast window.In this implementation, can be in first kind advertisement video
Finish or first kind advertisement video is play in the case of malfunctioning, destroy the corresponding process of first kind advertisement video.
Fig. 3 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention.As Fig. 3 institute
Show, the method includes:
In step S301, in the case of receiving the request playing video, create broadcast window.
In step s 302, in the case that this video includes positive video and first kind advertisement video, obtain first
The sart point in time of series advertisements video, wherein, first kind advertisement video signpost in being video or after signpost video.
In step S303, the sart point in time according to first kind advertisement video and the first preset value determine the very first time
Point, wherein, first time point is before the sart point in time of first kind advertisement video, and first time point is regarded with the first series advertisements
The time interval of the sart point in time of frequency is the first preset value.
In step s 304, during positive video is play by this broadcast window, when the broadcasting of positive video
Between point when reaching first time point, download first kind advertisement video.
In step S305, in the case of video of signposting in first kind advertisement video is, when the broadcasting of positive video
When time point reaches the sart point in time of first kind advertisement video, suspend and play positive video, positive video is set to hiding shape
State, first kind advertisement video is set to dispaly state, and plays first kind advertisement video by this broadcast window.
In step S306, when first kind advertisement video finishes, destroy the corresponding process of first kind advertisement video,
Positive video is set to dispaly state, and continues to play positive video by this broadcast window.
Wherein, the description to step S101 to S104 is seen above to step S301 to S304.
In a kind of possible implementation, when the play time of positive video reaches the beginning of first kind advertisement video
During time point, first kind advertisement video is play by this broadcast window, including:Signpost after first kind advertisement video is video
In the case of, when positive video playback finishes, positive video is set to hidden state, first kind advertisement video is set to display
State, and first kind advertisement video is play by this broadcast window.
Fig. 4 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention.As Fig. 4 institute
Show, the method includes:
In step S401, in the case of receiving the request playing video, create broadcast window.
In step S402, in the case that this video includes positive video and first kind advertisement video, obtain first
The sart point in time of series advertisements video, wherein, first kind advertisement video signpost in being video or after signpost video.
In step S403, the sart point in time according to first kind advertisement video and the first preset value determine the very first time
Point, wherein, first time point is before the sart point in time of first kind advertisement video, and first time point is regarded with the first series advertisements
The time interval of the sart point in time of frequency is the first preset value.
In step s 404, during positive video is play by this broadcast window, when the broadcasting of positive video
Between point when reaching first time point, download first kind advertisement video.
In step S405, in the case of video of signposting after first kind advertisement video is, when positive video playback is complete
Bi Shi, positive video is set to hidden state, and first kind advertisement video is set to dispaly state, and is play by this broadcast window
First kind advertisement video.
Wherein, the description to step S101 to S104 is seen above to step S401 to S404.
Fig. 5 illustrates an exemplary flowchart of video broadcasting method according to an embodiment of the invention.As Fig. 5 institute
Show, the method includes:
In step S501, in the case of receiving the request playing video, create broadcast window.
As an example of the present embodiment, each receiving is play to the request of video, can only create one
Broadcast window.This video bag video containing positive, first kind advertisement video and before signpost in the case of video, by this broadcasting
Window play positive video, first kind advertisement video and before signpost video.This video bag video containing positive and before signpost
In the case of video, by this broadcast window play positive video and before signpost video.In this video bag video containing positive and
In the case of first kind advertisement video, positive video and first kind advertisement video are play by this broadcast window.In this video only
In the case of comprising positive video, positive video is play by this broadcast window.
In step S502, in the case of video of signposting before this video includes, just play by this broadcast window
Before piece video, signpost before download video and positive video.
In a kind of possible implementation, can judge this video is signposted before whether including video by dispatch layer,
The video if this video is signposted before not including, carries out the playing flow of positive video.
In a kind of possible implementation, judge this video bag video containing positive and front video of signposting in dispatch layer
In the case of, create the corresponding process of positive video and before signpost the corresponding process of video.Regard positive is created by dispatch layer
Frequently corresponding process and before signpost after the corresponding process of video, dispatch layer can start the corresponding process of positive video simultaneously
The corresponding process with video of front signposting, by video of front signposting corresponding process downloads ad video, and is regarded by positive
Frequently corresponding process downloads positive video.Dispatch layer start the corresponding process of positive video and before signpost video corresponding enter
Cheng Hou, first by video of front signposting corresponding process occupancy broadcast window, video of signposting before being play by broadcast window, and
Signpost before broadcasting during video, positive process is set to time-out and hidden state, that is, suspend broadcasting positive and regard
Frequently, and by positive video it is set to hidden state.
In step S503, signpost before being play by this broadcast window video, and the mistake of video of signposting before broadcasting
Cheng Zhong, suspends and plays positive video, positive video is set to hidden state.
Wherein, signpost before broadcasting during video, video of front being signposted is set to dispaly state, and continues to down
Carry positive video.
In a kind of possible implementation, during video of signposting before broadcasting, positive video can be loaded, and
Positive video is set to hidden state, makes positive video be in the state that can broadcast but suspend broadcasting.
In step S504, when video playback of currently signposting finishes, the corresponding process of video of signposting before destruction, will just
Piece video is set to dispaly state, and plays positive video by this broadcast window.
In a kind of possible implementation, when video playback of currently signposting finishes, front video release of signposting is play
Window, notifies dispatch layer and wakes up the corresponding process of positive video, positive video is set to dispaly state, and passes through this broadcasting window
Mouth plays positive video.
In a kind of possible implementation, in the case of video playback of signposting before detecting error, by playing
Positive video play by window, and the broadcasting of video playback of signposting before thus avoiding error impact positive video is such that it is able to improve
The viewing experience of user, and viewing amount and the viewing duration of this video can be improved.
As an example of the present embodiment, can video playback of front signposting finish or before signpost video playback
In the case of error, the corresponding process of video of signposting before destruction.
In step S505, in the case that this video includes positive video and first kind advertisement video, obtain first
The sart point in time of series advertisements video, wherein, first kind advertisement video signpost in being video or after signpost video.
In step S506, the sart point in time according to first kind advertisement video and the first preset value determine the very first time
Point, wherein, first time point is before the sart point in time of first kind advertisement video, and first time point is regarded with the first series advertisements
The time interval of the sart point in time of frequency is the first preset value.
In step s 507, during positive video is play by this broadcast window, when the broadcasting of positive video
Between point when reaching first time point, download first kind advertisement video.
In step S508, when the play time of positive video reaches the sart point in time of first kind advertisement video,
First kind advertisement video is play by this broadcast window.
Wherein, the description to step S101 to S105 is seen above to step S501, S505 to S508.
In this example, by receive play the request of video and this video bag video containing positive and before signpost and regard
In the case of frequency, signpost video and positive video before downloading simultaneously, can reduce and finish and open in video playback of front signposting
Begin to play the possibility producing Caton phenomenon during positive video, so that user is finished and just commence play out in video playback of front signposting
Without waiting for download positive video data such that it is able to improve viewing experience during piece video.Additionally, video playback of signposting front
When finishing and commence play out positive video, if user drags the progress bar of video it is also possible to relatively rapid respond user's request,
That reduces that the user when video playback of front signposting finishes and commences play out positive video drags that progress bar produces Caton phenomenon can
Energy property is such that it is able to improve viewing experience.Meanwhile, advertisement video and positive video are play by same broadcast window, can
Avoid that the significantly switching vestige such as blank screen, splashette occurs between advertisement video and positive video, thus make advertisement video and positive
Linking between video more smooth, smooth such that it is able to further improve viewing experience.
Embodiment 2
Fig. 6 illustrates the structured flowchart of video play device according to another embodiment of the present invention.Fig. 6 can be used for service chart
Video broadcasting method shown in 1 to Fig. 5.For convenience of description, illustrate only part related to the present embodiment in figure 6.
As shown in fig. 6, this video play device includes:Broadcast window creation module 601, for receiving broadcasting video
Request in the case of, create broadcast window;Sart point in time acquisition module 602, for including positive video in described video
And in the case of first kind advertisement video, the sart point in time of the described first kind advertisement video of acquisition, wherein, the described first kind
Advertisement video signpost in being video or after signpost video;First time point determining module 603, for according to described first
The sart point in time of series advertisements video and the first preset value determine first time point, and wherein, described first time point is described
Before the sart point in time of first kind advertisement video, and the time started of described first time point and described first kind advertisement video
The time interval of point is described first preset value;First download module 604, for described just by the broadcasting of described broadcast window
During piece video, when the play time of described positive video reaches described first time point, download the described first kind
Advertisement video;First series advertisements playing module 605, for when the play time of described positive video, to reach the described first kind wide
During the sart point in time of announcement video, described first kind advertisement video is play by described broadcast window.
Fig. 7 illustrates an exemplary structured flowchart of video play device according to another embodiment of the present invention.Fig. 7 is permissible
For running the video broadcasting method shown in Fig. 1 to Fig. 5.For convenience of description, illustrate only in the figure 7 related to the present embodiment
Part.In Fig. 7, label and Fig. 6 identical assembly have identical function, for simplicity's sake, omit detailed to these assemblies
Explanation.
In a kind of possible implementation, described device also includes:Second time point determining module 606, for basis
The sart point in time of described first kind advertisement video and the second preset value determine the second time point, wherein, described second time
Point before the sart point in time of described first kind advertisement video, opened with described first kind advertisement video by described second time point
The time interval of beginning time point is described second preset value, and described second preset value is less than described first preset value;Load mould
Block 607, regards for when the play time of described positive video reaches described second time point, loading described first series advertisements
Frequently, suspend and play described first kind advertisement video, and described first kind advertisement video is set to hidden state.
In a kind of possible implementation, described first series advertisements playing module 605 includes:First broadcasting submodule
6051, in the case of video of signposting in described first kind advertisement video being, when the reproduction time of described positive video
When point reaches the sart point in time of described first kind advertisement video, suspend and play described positive video, described positive video is put
For hidden state, described first kind advertisement video is set to dispaly state, and the described first kind is play by described broadcast window
Advertisement video.
In a kind of possible implementation, described device also includes:First positive playing module 608, for when described
When first kind advertisement video finishes, destroy the corresponding process of described first kind advertisement video, described positive video is set to
Dispaly state, and continue to play described positive video by described broadcast window.
In a kind of possible implementation, described first series advertisements playing module 605 includes:Second broadcasting submodule
6052, in the case of video of signposting after described first kind advertisement video is, when described positive video playback finishes,
Described positive video is set to hidden state, described first kind advertisement video is set to dispaly state, and by described broadcasting window
Mouth plays described first kind advertisement video.
In a kind of possible implementation, described device also includes:Second download module 609, in described video
Signpost before also including in the case of video, before described positive video is play by described broadcast window, download described before
Signpost video and described positive video;Before signpost playing module 610, for described front patch is play by described broadcast window
During advertisement video, and video of signposting before broadcasting is described, suspend and play described positive video, by described positive video
It is set to hidden state;Second positive playing module 611, when finishing for video playback of signposting before described, before destruction is described
The corresponding process of video of signposting, described positive video is set to dispaly state, and described just by described broadcast window broadcasting
Piece video.
It should be noted that so, in the case of including positive video and first kind advertisement video in video,
Start before the sart point in time of first kind advertisement video to download first kind advertisement video, and play by same broadcast window
Positive video and first kind advertisement video, video play device according to embodiments of the present invention can be signposted in video includes
In the case of video, reduce the possibility that video of signposting in playing in positive video display process produces Caton phenomenon, energy
In the case of enough videos of signposting after video includes, reduce video of signposting after playing after positive video playback finishes and produce
The possibility of Caton phenomenon, and no blank screen, splashette etc. significantly switch vestige between positive video and advertisement video, so as to
Enough improve the fluency of video playback, improve the viewing experience of user.
Embodiment 3
Fig. 8 shows a kind of structured flowchart of video playback apparatus of an alternative embodiment of the invention.Described video is broadcast
Putting equipment 1100 can be host server, personal computer PC or the portable portable computing possessing computing capability
Machine or terminal etc..The specific embodiment of the invention does not limit to implementing of calculate node.
Described video playback apparatus 1100 include processor (processor) 1110, communication interface (Communications
Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110, communication interface 1120 and
Memory 1130 completes mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is used for configuration processor.Processor 1110 is probably a central processor CPU, or special collection
Become circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the present invention
One or more integrated circuits of embodiment.
Memory 1130 is used for depositing file.Memory 1130 may comprise high-speed RAM memory it is also possible to also include non-
Volatile memory (non-volatile memory), for example, at least one magnetic disc store.Memory 1130 can also be deposited
Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, said procedure can be the program code including computer-managed instruction.This journey
Sequence is particularly used in:Realize the operation of each step in embodiment 1.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell in embodiment described herein and algorithm
Step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually with hardware also
Being software form to realize, the application-specific depending on technical scheme and design constraint.Professional and technical personnel can be directed to
Specifically application selects different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention
Enclose.
If to be realized using in the form of computer software described function and as independent production marketing or use when,
To a certain extent it is believed that all or part (part for example prior art being contributed) of technical scheme is
Embody in form of a computer software product.This computer software product is generally stored inside the non-volatile of embodied on computer readable
In storage medium, including some instructions with so that computer equipment (can be that personal computer, server or network set
Standby etc.) all or part of step of execution various embodiments of the present invention method.And aforesaid storage medium include USB flash disk, portable hard drive,
Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.