Content of the invention
In view of this, the application provides a kind of control method for playing back and device and the broadcasting using the method
Device.
According to the first aspect of the application, the application provides a kind of control method for playing back, comprising: receive minimum
Change instruction step, receive the instruction of user's input, it may be judged whether for minimizing the instruction of broadcast window;Play
Judge step, confirm to receive the instruction minimizing broadcast window, it is judged that currently playing medium type;?
Littleization step, according to judged result and broadcast state, performs the instruction related to minimizing broadcast window,
The described instruction related to minimizing broadcast window includes the instruction directly minimizing broadcast window or first suspends
Play the instruction minimizing broadcast window again.
According to the second aspect of the application, the application provides a kind of broadcast control device, comprising: receive minimum
Change instruction module, for receiving the instruction of user's input, it may be judged whether for minimizing the instruction of broadcast window;
Play judge module, for when confirming to receive the instruction minimizing broadcast window, it is judged that currently playing
Medium type;Minimize and perform module, for according to judged result and broadcast state, perform to broadcast with minimum
Putting the related instruction of window, the described instruction related to minimizing broadcast window includes directly minimizing broadcasting window
The instruction of mouth or first time-out play the instruction minimizing broadcast window again.
According to the third aspect of the application, the application provides a kind of player, including player backstage and user
Interactive interface, described User Interface includes interactive interface and broadcast control device as above,
Described interactive interface for carrying out the transmission of user's control instruction with player backstage.
The beneficial effect of the application includes: by judging that currently playing medium type determines whether to perform
The instruction of littleization broadcast window, in playing process, video playback automatic pause when player minimizes, use
Family is without having to worry about the continuity of the story of a play or opera, thus improves Consumer's Experience.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention to be described in further detail the present invention.
For ease of understanding, first provide the definition of the term used in the application as follows:
(1) picture width is high: refer to the wide height of the raw frames of media self, it is common that one of attribute of this media.
(2) media duration: be one of the attribute of media, refer to media from play start to play terminate total when
Long.
(3) live: to refer to such as the similar application such as online TV reception, in this application, play if suspending
After recover again to play, content when now broadcasting pictures will be no longer to suspend, but this program is currently practical just
The content play, say, that beholder can not watch from this is live and suspending to recovering broadcasting during this period of time
Put content.
Refer to Fig. 1, in one embodiment, the 120th, VOD system includes terminal the 110th, LAN
Internet 130.In embodiment between terminal 110 and LAN 120 and LAN 120 and Yin Te
Through route communication between net 130, other embodiments may be used without other communication modes.Terminal 110
Including transmission control module the 111st, player backstage the 112nd, memory module 113 and User Interface 114.
Wherein, transmission control module the 111st, memory module 113 and the functional module etc. contained by player backstage 112
Refer to corresponding functional module in common terminal to realize, in this no limit.
Player backstage 112 is communicated with User Interface 114 by playback interface.The user of the present embodiment
Interactive interface is as shown in Figure 2, comprising: interactive interface 201 and broadcast control device 202.Below by way of several
Embodiment illustrates broadcast control device.
Embodiment 1:
As it is shown on figure 3, broadcast control device 30 includes: receive and minimize instruction module and the 301st, play judgement
Module 302 and minimum perform module 303.
Wherein, the instruction minimizing instruction module 301 for receiving user's input is received, it may be judged whether for
The instruction of littleization broadcast window.Specifically, one is correspondingly provided with for window message (i.e. user's control instruction)
The corresponding numbering of instruction minimizing broadcast window is set to target, when this numbering being detected by unique number
When think receive minimize broadcast window instruction.
Play judge module 302 for when confirming to receive the instruction minimizing broadcast window, it is judged that current
The medium type play.Specifically, when judging the type of currently playing media, first determine whether currently to broadcast
Whether the wide height of picture of the media put is zero, if picture is wide by a height of zero, then judges this currently playing media class
Type is audio frequency, and result of determination feeds back to minimum execution module;If picture width height is not zero, it is judged that matchmaker
Whether body duration is zero, if during media a length of zero, then judge this currently playing medium type as static images,
And result of determination is fed back to minimum execution module;If media duration is not zero and it is infinitely great to be, then judge
This currently playing medium type is live video, and result of determination feeds back to minimum execution module;If
Media duration is not zero and non-infinity, then judge this currently playing medium type as non-live video or dynamic
State picture, and result of determination is fed back to minimum execution module.
Minimize execution module 303 and be used for according to judged result and broadcast state, perform and minimize broadcasting window
The related instruction of mouth, including directly minimize the instruction of broadcast window or first suspend broadcasting minimum broadcasting again
The instruction of window.Specifically, to the media being judged to audio frequency or static images or live video, perform directly
Minimize the instruction of broadcast window;To the media being judged to dynamic picture or non-live video, it is judged that play shape
Whether state is in time-out or in broadcasting, if during broadcast state is for suspending, execution directly minimum broadcast window
Instruction, if during broadcast state is for playing, first suspends and plays the instruction performing to minimize broadcast window again.Certainly,
There is no pause function in some dynamic picture media, therefore, for this dynamic picture media, hold
Row directly minimizes the instruction of broadcast window.
Embodiment 3:
Still as it is shown on figure 3, broadcast control device 30 refers to except including that the reception identical with embodiment 2 minimizes
Make module the 301st, play judge module 302 and minimize perform module the 303rd, receives recover instruction module 304
Outside with recovery judge module 305, also include active window detection module 306, for detecting whether occur playing window
Mouth enters inactive state message, and this message means that window is transferred to inactive state by active state, if
It is to perform to suspend the instruction play.Specifically, for existing on screen in addition to player plays window
Other side by side task window when, active window detection module detected whether broadcast window enter inactive state disappear
Breath, i.e. current cursor focus is no longer on broadcast window, if having, it is meant that user is possibly off currently broadcasting
Put window and turn the affairs processing other side-by-side windows, although now broadcast window is not minimized by user,
But the same similar fashion using with embodiment 1 or embodiment 2, i.e. for being judged to dynamic picture media (tool
Have pause function) or non-live video media, broadcast window is suspended and plays, so that user is special
Note the process in other affairs, meanwhile, if active window detection module detects broadcast window and reactivates state
Message, with reference to embodiment 1 or embodiment 2 similar fashion recover play, i.e. for be judged to suspend
Dynamic picture media or non-live video media, make broadcast window recover to play, allow users to appreciate even
Pass through the story of a play or opera.
Previous embodiment 1 and 2, when realizing, setting options such as " can minimize in the menu of player
When automatic pause ", if this option is selected in advance, in playing process, as long as player plays window is
Littleization, currently playing media then automatic pause is play, and when broadcast window minimizes, user originally just cannot see
Seeing, time-out now is for turning and going to process the user of other affairs, it is not necessary to worry the coherent problem of the story of a play or opera,
Improve Consumer's Experience.Similarly, the realization of embodiment 3 also can in the menu of player setting options
Such as " automatic pause when window enters inactive state ", similarly, if this option is chosen in advance, playing
During, once screen focus is not on broadcast window, then broadcast window automatic pause is play, now temporary
Stop for turning and going to process the user of other affairs, it is not necessary to worry the coherent problem of the story of a play or opera, improve use equally
Family is experienced.
Based on above-mentioned broadcast control device embodiment, present invention also provides a kind of control method for playing back.A kind of
In embodiment, the method comprises the steps:
Step S1, receives and minimizes instruction step, i.e. receive the instruction of user's input, it may be judged whether for minimum
Change the instruction of broadcast window;
Step S2, plays and judges step, when i.e. confirming to receive the instruction minimizing broadcast window, it is judged that when
The medium type of front broadcasting;
Step S3, minimizes step, i.e. according to judged result and broadcast state, performs to broadcast with minimum
Putting the related instruction of window, the described instruction related to minimizing broadcast window includes directly minimizing broadcasting window
The instruction of mouth or first time-out play the instruction minimizing broadcast window again.
In another embodiment, the method except including above-mentioned steps S1 ~ S3, also includes:
Step S4, receives and recovers instruction step, i.e. receive the instruction of user's input, it may be judged whether broadcast for recovery
Put the instruction of window;
Step S5, recovers to judge step, when i.e. confirming to receive the instruction recovering broadcast window, according to broadcasting
Judge the judged result of step S2 the broadcast state of integrating step S3, perform related to recovering broadcast window
Instruction, described to recover instruction or the elder generation that the related instruction of broadcast window includes directly recovering broadcast window
Recover the instruction that broadcast window recovers to play again.
In another kind of embodiment, the method except including above-mentioned steps S1 ~ S5, also includes:
Step S6, active window detecting step, i.e. detect whether occur that broadcast window enters inactive state message,
If it is, perform to suspend the instruction play.
The detailed process of above-mentioned control method for playing back embodiment refers to each module in aforementioned playout control device
Realize process, no longer repeat at this.
For the control method for playing back of the application or device and the player using the method or device, playing
During, as long as broadcast window minimizes or broadcast window enters inactive state (user turns and processes simultaneously
Other task window of row), video playback will automatic pause, it is not necessary to worry the coherent problem of the story of a play or opera.Play
When device minimizes, user natively cannot watch video, and now suspending for user is well to experience, and
In the case of side-by-side windows, user can be absorbed in the process of other affairs, remains to the company of appreciation when returning simultaneously
Pass through the story of a play or opera.
Below by way of an example, the above embodiment of the present invention is further described.
Example:
Broadcasting on one point in terminal, it includes the mutual boundary of transmission control module, memory module, player and user
Face.Wherein, transmission control module, memory module and the functional module etc. contained by player refer to common
Terminal in corresponding functional module realize, in this no limit.User Interface comprises alternately
Interface, is used for carrying out the transmission of user's control instruction between playback interface, so that playing controller can basis
User instruction performs corresponding actions (such as player minimum, maximization, reduction etc.) to player;Window control
Molding block, for receiving the control instruction of user's input and carrying out to instruction pre-processing (such as filtration, screening etc.);
Play Logic control module, for the user instruction transmitting according to window controlling module, broadcast window content is entered
Row relevant control (as play time-out, recovery, fast forward/back etc.).
Wherein window controlling module includes window message filter element, for window message (i.e. user's control
Instruction) filter, each window message, to there being unique number, sets minimizing the corresponding numbering of message
Being set to target, window message filter element is thought when detecting this numbering and is received minimum operational order.
After acknowledging receipt of minimum operational order, medium type judging unit judges currently playing medium type,
Specifically, medium type judging unit judges medium type by detecting the wide height of current picture, if drawing
Face width a height of zero, it is determined that currently playing is audio frequency, and result of determination is fed back to broadcasting Logic control module,
Play Logic control module to perform to minimize instruction by interactive interface notice player end;If picture width height is not
Be zero, then judge media duration, if when a length of zero; judge currently playing as static images, play logic
According to feedback result, control module notifies that player end directly minimizes, if duration is not zero, judge this media
For video or dynamic picture, whether that plays that content judging unit then judges to play is live, specifically sentences
Disconnected is to be realized by detecting playing duration, is judged to live if playing duration is an infinitely-great value, if
One is limited on the occasion of then non-live or dynamic picture.If being currently live, will determine that result feeds back to play logic
Control module, then carries out minimum process by interactive interface notice player end, is not required to suspend;If
Non-live or dynamic picture, then broadcast state judging unit continues to judge is currently to play or paused,
During usual broadcast state change, playing controller can be by playback interface by the friendship of state notifying User Interface
Mutual interface, therefore in this example, broadcast state judging unit directly can know current play status from interface.If
Play, then play Logic control module and first suspend broadcasting according to feedback result, then broadcast by interface notification
Put device end to minimize;If currently paused, then notify that player end directly minimizes.
In like manner, after being filled into window restoration message, window restoration is determined according to a series of judgements when minimizing
Concrete situation, e.g., if originally play is that audio or video is live or static images, directly recover window;
If originally play is the non-live video or dynamic picture play, then first recovers window and recover again to broadcast
Put state, this is because recover window to need process background program being forwarded to foreground, operating system pair
Task scheduling and optimization need the regular hour;If being exactly halted state originally, halted state is still kept to recover
Window.
For exist on screen in addition to player other side by side task window when, above-mentioned window message filter
Unit has detected whether that broadcast window enters inactive state message, if having, it is meant that user leaves and currently broadcasts
Put device window and turn the affairs processing other side-by-side windows, though now player window not being minimized same
Suspend and play so that user can be absorbed in the process of other affairs, returning player window (window simultaneously
Reactivate state) when recover play, allow users to appreciate the coherent story of a play or opera.Other processes in this embodiment
Step refer to aforementioned, and here is omitted.
Present application example is by judging that currently playing medium type determines whether to perform to minimize broadcast window
Instruction, in playing process, player minimize when video playback automatic pause, user is without having to worry about play
The continuity of feelings, thus improve Consumer's Experience.
Above content is to combine the further description that the application is made by specific embodiment, it is impossible to recognize
Determine the application be embodied as be confined to these explanations.Ordinary skill for the application art
For personnel, on the premise of conceiving without departing from the application, some simple deduction or replace can also be made.