CN106101809A - A kind of in third party's player interpolation method of control, device and terminal - Google Patents
A kind of in third party's player interpolation method of control, device and terminal Download PDFInfo
- Publication number
- CN106101809A CN106101809A CN201610560659.1A CN201610560659A CN106101809A CN 106101809 A CN106101809 A CN 106101809A CN 201610560659 A CN201610560659 A CN 201610560659A CN 106101809 A CN106101809 A CN 106101809A
- Authority
- CN
- China
- Prior art keywords
- party
- player
- interface
- video
- resource
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
Abstract
The embodiment of the present invention discloses a kind of in third party's player interpolation method of control, device and terminal, in the program, according to the program information of system plays device, creates the first interface of the manipulation control comprising system plays device;Being added to window manager at described first interface, and arrange the upper interface that attribute is second contact surface at described first interface in window manager, wherein, described second contact surface is the interface of third party's player;If the video resource of video the most to be played is third party's resource, calls video described in third party's player plays, and according to the attribute at described first interface, show the first interface on the upper strata of described second contact surface.By scheme disclosed in the embodiment of the present invention, can be at the first interface of the second contact surface upper strata display system player of third party's player, the manipulation control of system plays device is comprised on described first interface, user can be by manipulating described first interface, it is achieved the manipulation to third party's player.
Description
Technical field
The present embodiments relate to terminal unit technical field, particularly relate to a kind of add control at third party player
Method, device and terminal.
Background technology
Along with the development of scientific and technological level, the application of various terminal units (such as smart mobile phone etc.) is increasingly extensive, enriches people
Daily life and work.
Watch the demand of video in order to meet user, at present, terminal unit can be installed the application journey of various video class
Sequence, the application program of described video class can show multiple video, selects for user, and selects video to be played user
After, application program accesses server, obtains the resource of video to be played, then the system plays device provided by system is broadcast
Put.Such as, can install this application program of superlive in each terminal unit, superlive application program can carry
For the video of multiple live types, and after user selects video to be played, calling system player plays out, thus full
Foot user watches the demand of live video.
But, inventor finds in the research process of the application, and what application program obtained sometimes is third-party video
Resource, wherein, described third-party video resource can not be played out by system plays device, and can only be play by third party
Device could be play.Third party's player is compared with system plays device, and the design style of the two is the most different, and therefore, both is broadcast
Putting the action bar that device provides the user and be typically different, in this case, user is often being familiar with what system plays device provided
While action bar, in addition it is also necessary to adapt to the action bar of described third party's player, in order to third party's player is manipulated, for
User makes troubles, and the experience causing user is poor.Such as, superlive application program is generally regarded depending on player plays by happy
Frequently, but access youtube video resource sometimes, and the video resource of youtube need youtube player to play out,
In this case, needing user adaptation happy regarding player and the action bar of youtube player, Consumer's Experience is poor.
Summary of the invention
For overcoming problem present in correlation technique, the embodiment of the present invention provides a kind of and adds control at third party's player
Method, device and terminal.
In order to solve above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect according to embodiments of the present invention, it is provided that a kind of method adding control at third party's player, including:
According to the program information of system plays device, create the first interface of the manipulation control comprising described system plays device;
Described first interface is added to window manager, and described first interface is set in described window manager
The upper interface that attribute is second contact surface, wherein, described second contact surface is the interface of third party's player;
If the video resource of video the most to be played is third party's resource, calls and regard described in third party's player plays
Frequently, and according to the attribute at described first interface, described first interface is shown on the upper strata of described second contact surface.
Optionally, also include:
After getting described video resource, it is judged that whether described video resource is third party's resource, performs tune the most again
With video described in third party's player plays, and according to the attribute at described first interface, at the second of described third party's player
The upper strata at interface shows the operation at described first interface.
Optionally, described judge whether described video resource is third party's resource, including:
Described video resource is analyzed, obtains the type information comprised in described video resource;
The type information that the type information comprised in described video resource and described system plays device support are play is carried out
Contrast, if the two matches, it is determined that described video resource not third party's resource, if the two does not mates, it is determined that described video provides
Source is third party's resource.
Optionally, also include:
After described first interface is added to window manager, it is described first interface in described window manager
Global property is set.
Optionally, also include:
If by video described in described third party's player plays, receive user's manipulation operation to described first interface;
According to described manipulation operation, generate the information that manipulates accordingly, and by the transmission of described manipulation information to described third party
Player;
Control described third party's player and perform the operation indicated by described manipulation information.
Optionally, also include:
After receiving user's manipulation operation to described first interface, produce and select instruction accordingly, with prompting be
No needs described third party player responds described manipulation operation;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then perform
According to described manipulation operation, generate the information that manipulates accordingly, and by the transmission of described manipulation information to described third party's player
Operation.
Optionally, also include:
If calling video described in described third party's player plays, and described system plays device comprises the front cover of described video
Figure, transmits the surface plot of described video to described third party's player;
During described video is buffered by described third party's player, on the upper strata of described third party's player
Surface plot described in interface display, and after buffering terminates, terminate the display of described surface plot.
Second aspect according to embodiments of the present invention, it is provided that a kind of device adding control at third party's player, including:
Interface creating module, for the program information according to system plays device, creates the behaviour comprising described system plays device
First interface of control control;
Attribute setup module, for adding described first interface to window manager, and at described window manager
The middle upper interface that attribute is second contact surface arranging described first interface, wherein, described second contact surface is third party's player
Interface;
Call display module, if the video resource for video the most to be played is third party's resource, call third party
Video described in player plays, and according to the attribute at described first interface, show described first on the upper strata of described second contact surface
Interface.
Optionally, also include:
Judge module, for after getting described video resource, it is judged that whether described video resource is third party's resource,
Call display module described in triggering the most again to perform to call video described in third party's player plays, and according to described first boundary
The attribute in face, shows the operation at described first interface on the upper strata of the second contact surface of described third party's player.
Optionally, described judge module includes:
Type information acquiring unit, for being analyzed described video resource, obtains and comprises in described video resource
Type information;
Type information contrast unit, for propping up the type information comprised in described video resource with described system plays device
The type information holding broadcasting contrasts, if the two matches, it is determined that described video resource not third party's resource, if the two is not
Coupling, it is determined that described video resource is third party's resource.
Optionally, described attribute setup module is additionally operable to, after described first interface is added to window manager,
Described window manager arranges global property for described first interface.
Optionally, also include:
Operation receiver module, if for by video described in described third party's player plays, reception user is to described the
The manipulation operation at one interface;
Information transmission modular, for according to described manipulation operation, generates and manipulates information accordingly, and by described manipulation information
Transmission is to described third party's player;
Control module, performs the operation indicated by described manipulation information for controlling described third party's player.
Optionally, also include:
Select module, for after receiving user's manipulation operation to described first interface, produce corresponding selection
Instruction, responds described manipulation operation with prompting the need of described third party's player;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then trigger
Described information transmission modular performs according to described manipulation operation, generates the information that manipulates accordingly, and described manipulation information is transmitted
Operation to described third party's player.
Optionally, also include:
Front cover display module, if for calling video described in described third party's player plays, and described system plays device
Comprise the surface plot of described video, the surface plot of described video is transmitted to described third party's player;
During described video is buffered by described third party's player, on the upper strata of described third party's player
Surface plot described in interface display, and after buffering terminates, terminate the display of described surface plot.
The third aspect according to embodiments of the present invention, it is provided that a kind of terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
According to the program information of system plays device, create the first interface of the manipulation control comprising described system plays device;
Described first interface is added to window manager, and described first interface is set in described window manager
Attribute be upper interface;
If the video resource of video the most to be played is third party's resource, calls and regard described in third party's player plays
Frequently, and according to the attribute at described first interface, described first boundary is shown on the upper strata of the second contact surface of described third party's player
Face.
The technical scheme that embodiments of the invention provide can include following beneficial effect:
By adding the method for control, device and terminal at third party's player disclosed in the embodiment of the present invention, it is possible to
First interface of the second contact surface upper strata display system player of third party's player, described first interface comprises system plays
The manipulation control of device, wherein, the first interface and second contact surface form hierarchy, third party's player when playing video, institute
Stating the first interface to be positioned at the upper strata of described second contact surface and show, user can be by manipulating described first interface, it is achieved right
The manipulation of third party's player.Therefore, user has only to the action bar of adaptive system player, and, even if using not
Same player, Consumer's Experience also is able to keep consistent, solves in prior art, need user be familiar with simultaneously system plays device and
The action bar of third party's player, the problem of poor user experience.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe
The present invention can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention
Example, and for explaining the principle of the present invention together with description.
Fig. 1 be according to shown in the present invention one exemplary embodiment a kind of third party's player add control method in
The interface schematic diagram of smart mobile phone;
Fig. 2 is according to a kind of method adding control at third party's player shown in the present invention one exemplary embodiment
Workflow schematic diagram;
Fig. 3 is the method adding control at third party's player according to another shown in the present invention one exemplary embodiment
Workflow schematic diagram;
Fig. 4 is the method adding control at third party's player according to another shown in the present invention one exemplary embodiment
Workflow schematic diagram;
Fig. 5 is according to a kind of device adding control at third party's player shown in the present invention one exemplary embodiment
Structural representation;
Fig. 6 is the device adding control according to another shown in the present invention one exemplary embodiment at third party's player
Structural representation;
Fig. 7 is the device adding control according to another shown in the present invention one exemplary embodiment at third party's player
Structural representation.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended
The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
Embodiments of the invention one disclose a kind of method adding control at third party's player, to solve to utilize existing skill
When art plays video, need user to be familiar with system plays device and the action bar of third party's player, asking of poor user experience simultaneously
Topic.
The interface schematic diagram of smart mobile phone shown in Figure 1, wherein, can install the application journey of video class in mobile phone
Sequence, this application program can show multiple video, selects for user, and calls the video that player plays user selects.Wherein,
Player is generally divided into system plays device and two kinds of forms of third party's player, and described system plays device refers to this application program
The player of acquiescence, such as, in superlive application program, the player of acquiescence is the most happy regards player, the most described system
System player regards player for happy.It addition, described third party's player is the player playing third party's resource, described third party
Resource refers to the video resource that system plays device cannot be play.Such as, in superlive application program, it is impossible to by pleasure
Depending on player plays youtube video, and youtube player is needed to play, in this case, youtube video
Video resource is third party's resource, and youtube player is third party's player.It addition, Fig. 1 with smart mobile phone is
Example, in actual applications, can install the application program of video class, and can apply the embodiment of the present invention in multiple terminal
Disclosed scheme, such as panel computer and computer etc..
The embodiment of the present invention one discloses a kind of method adding control at third party's player.Work shown in Figure 2
Schematic flow sheet, the described method at third party's player interpolation control comprises the following steps:
Step S11, program information according to system plays device, create the of the manipulation control that comprises described system plays device
One interface.
User is by carrying out touch control operation to the manipulation control of system plays device, it is achieved grasp the touch-control of system plays device
Making, wherein, described manipulation control comprises multiple, as volume adjustment, the switching of video definition, screenshotss are shared, sent barrage, throwing
Screen and collection etc..
In described first interface, comprise the manipulation control of described system plays device, wherein, permissible in described first interface
Comprise whole controls of described system plays device.Furthermore it is also possible to add up each manipulation control in described system plays device in advance
Use frequency, and determine that using the higher manipulation control of frequency is target widget, only comprises described in described first interface
Target widget.
Step S12, described first interface is added in window manager, and arrange described in described window manager
The attribute at the first interface is the upper interface of second contact surface, and wherein, described second contact surface is the interface of third party's player.
Wherein, described window manager windowManager can to described first interface and third party's player from
The second contact surface of body is managed.In the embodiment of the present invention, described window manager windowManager arranges described
The attribute at one interface is the upper interface of second contact surface such that it is able to make described first interface be positioned at the upper strata of described second contact surface
Display, it is achieved the first interface and the hierarchy of second contact surface.
If the video resource of the video that step S13 is the most to be played is third party's resource, call third party's player plays
Described video, and according to the attribute at described first interface, show described first interface on the upper strata of described second contact surface.
Owing to, in above-mentioned steps, described window manager windowManager arranging the genus at described first interface
Property be upper interface, in this case, when use third party's player time, described first interface is positioned at the upper of described second contact surface
Side, user can be by manipulating described first interface, it is achieved the manipulation to the 3rd player, meets user and watches video mistake
Various demands in journey.
If it addition, the video resource of video the most to be played not third party's resource, then by described system plays device
Play described video.
By the method adding control at third party's player disclosed in the embodiment of the present invention, it is possible at third party's player
The first interface of second contact surface upper strata display system player, described first interface comprises the manipulation control of system plays device
Part, wherein, the first interface and second contact surface form hierarchy, third party's player when playing video, described first interface
The upper strata being positioned at described second contact surface shows, user can be by manipulating described first interface, it is achieved the behaviour to player
Control.Therefore, user has only to the action bar of adaptive system player, and, even if using different player, Consumer's Experience
It also is able to keep consistent, solves in prior art, need user to be familiar with system plays device and the behaviour of third party's player simultaneously
Make hurdle, the problem of poor user experience.
Further, another embodiment of the present invention discloses a kind of method adding control at third party's player.See
Workflow schematic diagram shown in Fig. 3, the described method at third party's player interpolation control comprises the following steps:
Step S21, program information according to system plays device, create the of the manipulation control that comprises described system plays device
One interface.
Step S22, described first interface is added in window manager, and arrange described in described window manager
The attribute at the first interface is the upper interface of second contact surface, and wherein, described second contact surface is the interface of third party's player.
Step S23, after the video resource getting video the most to be played, it is judged that whether described video resource is
Tripartite's resource, if so, performs the operation of step S24, if it is not, perform the operation of step S25.
If the described video resource of step S24 is third party's resource, then call video described in third party's player plays, and
According to the attribute at described first interface, show described first interface on the upper strata of described second contact surface.
Wherein, the operating process of step S21 to step S22 is identical with the operating process of step S11 to step S12, step
S24 is identical with the operating process of step S13, can be cross-referenced, and here is omitted.
If the described video resource of step S25 is not third party's resource, then regard described in the broadcasting of described system plays device
Frequently.
In step S21 to step S25, when after the video resource getting video to be played, it is possible to regard described in judgement
Whether whether resource is third party's resource frequently, and be third party's resource according to described video resource, rationally selects corresponding broadcasting
Device plays out.
Further, in embodiments of the present invention, described judge whether described video resource is third party's resource, including with
Lower step:
First, described video resource is analyzed, obtains the type information comprised in described video resource;
Then, the type information type information comprised in described video resource play with described system plays device support
Contrast, if the two matches, it is determined that described video resource not third party's resource, if the two does not mates, it is determined that described regard
Frequently resource is third party's resource.
In video resource, including the type information of this video resource, described type information is used for indicating video resource
Source.In scheme disclosed in the embodiment of the present invention, need to prestore the type information that system plays device support is play.This
In the case of Zhong, after the video resource obtaining video to be played, it is analyzed such that it is able to according to this video resource
Type rationally selects player.
Further, in the method adding control disclosed in the embodiment of the present invention at third party's player, also include:
After described first interface is added to window manager, it is described first interface in described window manager
Global property is set.
After arranging global property for described first interface in described window manager, then at described third party's player
During use, the upper strata at the second contact surface of described third party's player shows described first interface all the time.
Further, in another embodiment of the invention, a kind of method adding control at third party's player is disclosed.
Workflow schematic diagram shown in Figure 4, the described method at third party's player interpolation control comprises the following steps:
Step S31, program information according to system plays device, create the of the manipulation control that comprises described system plays device
One interface.
Step S32, described first interface is added in window manager, and arrange described in described window manager
The attribute at the first interface is the upper interface of second contact surface, and wherein, described second contact surface is the interface of third party's player.
If the video resource of the video that step S33 is the most to be played is third party's resource, call third party's player plays
Described video, and according to the attribute at described first interface, show described first interface on the upper strata of described second contact surface.
Wherein, the operating process of step S31 to step S33 is identical with the operating process of step S11 to step S13, can phase
Reference mutually, here is omitted.
If step S34 is by video described in described third party's player plays, receive the user behaviour to described first interface
Control operation.
Step S35, according to described manipulation operation, generate the information that manipulates accordingly, and described manipulation information transmitted to institute
State third party's player.
Step S36, control described third party's player and perform operation indicated by described manipulation information.
By scheme disclosed in the embodiment of the present invention, it is possible to when calling video described in third party's player plays,
The upper strata of second interface shows the first interface, and, additionally it is possible to by the scheme of step S34 to step S36, according to user to first
The touch control operation at interface, controls third party's player and performs corresponding operation.
Wherein, user's manipulation operation to described first interface, including user for the manipulation control on described first interface
The manipulation operation of part, such as, described manipulation operation can be that user adjusts the manipulation of control to the volume on described first interface
Operation.It addition, the manipulation operation that user is to described first interface, it is also possible to for user to manipulation control non-on described first interface
The operation in region, for example, it is possible to the operation that horizontally slips described first interface carried out for user, or be to described first boundary
The zoom operations in face.
Described first interface, after receiving the manipulation operation of user, can produce the information that manipulates accordingly accordingly, and by institute
State the transmission of manipulation information to described third party's player.After described third party's player receives described manipulation information, can perform
Corresponding operation such that it is able to make user by the touch control operation to described first interface, it is achieved the control to third party's player
System.Such as, if described manipulation operation is to adjust the operation of control for the volume on the first interface, then third party's player is carried out
Volume adjusts;If described manipulation operation is that then third party's player carries out the page to horizontally slipping that described first interface is carried out
Redirect;If described manipulation operation is the zoom operations carrying out described first interface, then third party's player carries out showing boundary
Zooming in or out of face.
Further, the method at third party's player interpolation control disclosed by the invention also includes:
Performing step S34, after receiving user's manipulation operation to described first interface, producing corresponding selection and refer to
Show, respond described manipulation operation with prompting the need of described third party's player;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then perform
In step S35, according to described manipulation operation, generate the information that manipulates accordingly, and by the transmission of described manipulation information to the described 3rd
The operation of side's player.
By scheme disclosed in the embodiment of the present invention, after the upper strata of second contact surface shows the first interface, user can be passed through
Manipulation operation to the first interface, it is achieved the manipulation to third party's player.But, user wishes third party's player energy sometimes
Enough selective manipulation operation responding user.In this case, user's manipulation operation to described first interface is being received
Afterwards, produce and select instruction accordingly, to ask the user whether to need described third party's player to respond described manipulation operation, from
And operate according to the selection of user, the selective response realizing the manipulation operation to user.
Further, disclosed in the embodiment of the present invention third party's player add control method in, also include with
Lower step:
If calling video described in described third party's player plays, and described system plays device comprises the front cover of described video
Figure, transmits the surface plot of described video to described third party's player;
During described video is buffered by described third party's player, on the upper strata of described third party's player
Surface plot described in interface display, and after buffering terminates, terminate the display of described surface plot.
In system plays device, sometimes include the surface plot of video, this surface plot comprises the relevant information of video.Logical
Cross aforesaid operations, it is possible to transmit the surface plot of video to described third party's player, and at described third party's player to institute
Stating during video buffers, the upper interface at described third party's player shows described surface plot, so that user
The most apparent relevant information recognizing this video.
It addition, after video buffer terminates, terminate the display of described surface plot, say, that surface plot can disappear, in order to
Carry out the broadcasting of video, it is to avoid video is caused and blocks by surface plot.
Accordingly, another embodiment of the present invention discloses a kind of device adding control at third party's player.See Fig. 5 institute
The structural representation shown, the described device at third party's player interpolation control includes: interface creating module 100, attribute are arranged
Module 200 and call display module 300.
Wherein, described interface creating module 100, for the program information according to system plays device, create and comprise described system
First interface of the manipulation control of system player.
User is by carrying out touch control operation to the manipulation control of system plays device, it is achieved grasp the touch-control of system plays device
Making, wherein, described manipulation control comprises multiple, as volume adjustment, the switching of video definition, screenshotss are shared, sent barrage, throwing
Screen and collection etc..
In described first interface, comprise the manipulation control of described system plays device, wherein, permissible in described first interface
Comprise whole controls of described system plays device.Furthermore it is also possible to add up each manipulation control in described system plays device in advance
Use frequency, and determine that using the higher manipulation control of frequency is target widget, only comprises described in described first interface
Target widget.
Described attribute setup module 200, for adding described first interface to window manager, and at described window
Arranging the upper interface that attribute is second contact surface at described first interface in manager, wherein, described second contact surface is third party
The interface of player.
Wherein, described window manager windowManager can to described first interface and third party's player from
The second contact surface of body is managed.In the embodiment of the present invention, described window manager windowManager arranges described
The attribute at one interface is upper interface such that it is able to the upper strata making described first interface be positioned at described second contact surface shows, it is achieved
First interface and the hierarchy of second contact surface.
Described call display module 300, if the video resource for video the most to be played is third party's resource, call
Video described in third party's player plays, and according to the attribute at described first interface, show institute on the upper strata of described second contact surface
State the first interface.
Owing to described attribute setup module 200 arranges described first boundary in described window manager windowManager
The attribute in face is upper interface, and in this case, when using third party's player, described first interface is positioned at described second boundary
The top in face, user can be by manipulating described first interface, it is achieved the manipulation to player, meets user and watches video
During various demands.
By adding the device of control disclosed in the embodiment of the present invention at third party's player, it is possible at third party's player
The first interface of second contact surface upper strata display system player, described first interface comprises the manipulation control of system plays device
Part, wherein, the first interface and second contact surface form hierarchy, third party's player when playing video, described first interface
The upper strata being positioned at described second contact surface shows, user can be by manipulating described first interface, it is achieved play third party
The manipulation of device.Therefore, user has only to the action bar of adaptive system player, and, even if using different player, use
Family is experienced and also is able to keep consistent, solves in prior art, needs user to be familiar with system plays device simultaneously and third party plays
The action bar of device, the problem of poor user experience.
Further, another embodiment of the present invention discloses a kind of device adding control at third party's player.See
Structural representation shown in Fig. 6, the described device at third party's player interpolation control includes: interface creating module 100, attribute
Module 200 is set and calls display module 300, and, also include: judge module 400.
Wherein, described interface creating module 100, for the program information according to system plays device, create and comprise described system
First interface of the manipulation control of system player.
Described attribute setup module 200, for adding described first interface to window manager, and at described window
Arranging the upper interface that attribute is second contact surface at described first interface in manager, wherein, described second contact surface is third party
The interface of player.
Described judge module 400 is for after the video resource getting video the most to be played, it is judged that described video
Whether resource is third party's resource, calls display module 300 the most again and regard described in third party's player plays described in triggering
Frequently, and according to the attribute at described first interface, described first boundary is shown on the upper strata of the second contact surface of described third party's player
The operation in face.
If it addition, described judge module 400 is after the video resource getting video the most to be played, it is determined that described regard
Frequently resource not third party's resource, then play described video by system plays device.
By disclosed in the embodiment of the present invention third party's player add control device in, it is possible to judge described video
Whether whether resource is third party's resource, and be third party's resource according to described video resource, rationally selects corresponding player
Play out.
Further, in embodiments of the present invention, described judge module 300 includes:
Type information acquiring unit, for being analyzed described video resource, obtains and comprises in described video resource
Type information;
Type information contrast unit, for propping up the type information comprised in described video resource with described system plays device
The type information holding broadcasting contrasts, if the two matches, it is determined that described video resource not third party's resource, if the two is not
Coupling, it is determined that described video resource is third party's resource.
In video resource, including the type information of this video resource, described type information is used for indicating video resource
Source.In scheme disclosed in the embodiment of the present invention, need to prestore the type information that system plays device support is play.This
In the case of Zhong, after the video resource obtaining video to be played, it is analyzed such that it is able to according to this video resource
Type rationally selects player.
Further, in the device adding control disclosed in the embodiment of the present invention at third party's player, described attribute
Arrange module 200 to be additionally operable to, after being added to window manager at described first interface, for institute in described window manager
State the first interface and global property is set.
After arranging global property for described first interface in described window manager, then at described third party's player
During use, the upper strata at the second contact surface of described third party's player shows described first interface all the time.
In another embodiment of the invention, a kind of device adding control at third party's player is also disclosed.See Fig. 7
Shown structural representation, the described method at third party's player interpolation control includes: interface creating module 100, attribute set
Put module 200 and call display module 300, and, also include: operation receiver module 500, information transmission modular 600 and control
Module 700.
Wherein, described interface creating module 100, for the program information according to system plays device, create and comprise described system
First interface of the manipulation control of system player.
Described attribute setup module 200, for adding described first interface to window manager, and at described window
Arranging the upper interface that attribute is second contact surface at described first interface in manager, wherein, described second contact surface is third party
The interface of player.
Described call display module 300, if the video resource for video the most to be played is third party's resource, call
Video described in third party's player plays, and according to the attribute at described first interface, show institute on the upper strata of described second contact surface
State the first interface.
Described operation receiver module 500, if for by video described in described third party's player plays, receiving user couple
The manipulation operation at described first interface.
Described information transmission modular 600, for according to described manipulation operation, generates and manipulates information accordingly, and by described
The transmission of manipulation information is to described third party's player.
Described control module 700, performs the operation indicated by described manipulation information for controlling described third party's player.
By scheme disclosed in the embodiment of the present invention, it is possible to when calling video described in third party's player plays,
The upper strata of second interface shows the first interface, and, additionally it is possible to according to user's touch control operation to the first interface, control third party and broadcast
Put device and perform corresponding operation.
Wherein, user's manipulation operation to described first interface, including user for the manipulation control on described first interface
The manipulation operation of part, such as, described manipulation operation can be that user adjusts the manipulation of control to the volume on described first interface
Operation.It addition, the manipulation operation that user is to described first interface, it is also possible to for user to manipulation control non-on described first interface
The operation in region, for example, it is possible to the operation that horizontally slips described first interface carried out for user, or be to described first boundary
The zoom operations in face.
Described first interface, after receiving the manipulation operation of user, can produce the information that manipulates accordingly accordingly, and by institute
State the transmission of manipulation information to described third party's player.After described third party's player receives described manipulation information, can perform
Corresponding operation such that it is able to make user by the touch control operation to described first interface, it is achieved the control to third party's player
System.
Further, the device adding control at third party's player disclosed by the invention, also include:
Select module, for after receiving user's manipulation operation to described first interface, produce corresponding selection
Instruction, responds described manipulation operation with prompting the need of described third party's player;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then trigger
Described information transmission modular performs according to described manipulation operation, generates the information that manipulates accordingly, and described manipulation information is transmitted
Operation to described third party's player.
Further, the disclosed device adding control at third party's player of the embodiment of the present invention, also include:
Front cover display module, if for calling video described in described third party's player plays, and described system plays device
Comprise the surface plot of described video, the surface plot of described video is transmitted to described third party's player;
During described video is buffered by described third party's player, on the upper strata of described third party's player
Surface plot described in interface display, and after buffering terminates, terminate the display of described surface plot.
In system plays device, sometimes include the surface plot of video, this surface plot comprises the relevant information of video.Logical
Cross aforesaid operations, it is possible to transmit the surface plot of video to described third party's player, and at described third party's player to institute
Stating during video buffers, the upper interface at described third party's player shows described surface plot, so that user
The most apparent relevant information recognizing this video.
It addition, after video buffer terminates, terminate the display of described surface plot, say, that surface plot can disappear, in order to
Carry out the broadcasting of video, it is to avoid video is caused and blocks by surface plot.
About the device in each embodiment above-mentioned, the concrete mode that wherein modules performs to operate is somebody's turn to do relevant
The embodiment of method is described in detail, explanation will be not set forth in detail herein.
Accordingly, in another embodiment of the invention, a kind of terminal being also disclosed, described terminal includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
According to the program information of system plays device, create the first interface of the manipulation control comprising described system plays device;
Described first interface is added to window manager, and described first interface is set in described window manager
Attribute be upper interface;
If the video resource of video the most to be played is third party's resource, calls and regard described in third party's player plays
Frequently, and according to the attribute at described first interface, described first boundary is shown on the upper strata of the second contact surface of described third party's player
Face.
Further, described processor can also be configured to:
After getting described video resource, it is judged that whether described video resource is third party's resource, performs tune the most again
With video described in third party's player plays, and according to the attribute at described first interface, at the second of described third party's player
The upper strata at interface shows the operation at described first interface.
Wherein, described judge whether described video resource is third party's resource, including:
Described video resource is analyzed, obtains the type information comprised in described video resource;
The type information that the type information comprised in described video resource and described system plays device support are play is carried out
Contrast, if the two matches, it is determined that described video resource not third party's resource, if the two does not mates, it is determined that described video provides
Source is third party's resource.
Further, described processor can also be configured to:
After described first interface is added to window manager, it is described first interface in described window manager
Global property is set.
Further, described processor can also be configured to:
If by video described in described third party's player plays, receive user's manipulation operation to described first interface;
According to described manipulation operation, generate the information that manipulates accordingly, and by the transmission of described manipulation information to described third party
Player;
Control described third party's player and perform the operation indicated by described manipulation information.
Further, described processor can also be configured to:
After receiving user's manipulation operation to described first interface, produce and select instruction accordingly, with prompting be
No needs described third party player responds described manipulation operation;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then perform
According to described manipulation operation, generate the information that manipulates accordingly, and by the transmission of described manipulation information to described third party's player
Operation.
Further, described processor can also be configured to:
If calling video described in described third party's player plays, and described system plays device comprises the front cover of described video
Figure, transmits the surface plot of described video to described third party's player;
During described video is buffered by described third party's player, on the upper strata of described third party's player
Surface plot described in interface display, and after buffering terminates, terminate the display of described surface plot.
By terminal disclosed in the embodiment of the present invention, it is possible to the second contact surface upper strata display system at third party's player is broadcast
Put the first interface of device, described first interface comprises the manipulation control of system plays device, wherein, the first interface and second contact surface
Forming hierarchy, third party's player is when playing video, and the upper strata that described first interface is positioned at described second contact surface shows,
User can be by manipulating described first interface, it is achieved the manipulation to third party's player.Therefore, user has only to adapt to
The action bar of system plays device, and, even if using different player, Consumer's Experience also is able to keep consistent, solves
In prior art, need user to be familiar with system plays device and the action bar of third party's player, the problem of poor user experience simultaneously.
It addition, terminal disclosed in the embodiment of the present invention, can be polytype, such as smart mobile phone, panel computer and calculating
Deng, this is not limited by the embodiment of the present invention.
Those skilled in the art, after considering description and putting into practice invention disclosed, will readily occur to other reality of the present invention
Execute scheme.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or suitable
The change of answering property is followed the general principle of the present invention and includes the undocumented common knowledge or used in the art of the present invention
Use technological means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following right
Requirement is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (15)
1. the method adding control at third party's player, it is characterised in that including:
According to the program information of system plays device, create the first interface of the manipulation control comprising described system plays device;
Described first interface is added to window manager, and the genus at described first interface is set in described window manager
Property is the upper interface of second contact surface, and wherein, described second contact surface is the interface of third party's player;
If the video resource of video the most to be played is third party's resource, call video described in third party's player plays, and
According to the attribute at described first interface, show described first interface on the upper strata of described second contact surface.
The method adding control at third party's player the most according to claim 1, it is characterised in that also include:
After getting described video resource, it is judged that whether described video resource is third party's resource, perform to call the most again
Video described in tripartite's player plays, and according to the attribute at described first interface, at the second contact surface of described third party's player
Upper strata show the operation at described first interface.
The method adding control at third party's player the most according to claim 2, it is characterised in that described in described judgement
Whether video resource is third party's resource, including:
Described video resource is analyzed, obtains the type information comprised in described video resource;
The type information that the type information comprised in described video resource and described system plays device support are play is contrasted,
If the two matches, it is determined that described video resource not third party's resource, if the two does not mates, it is determined that described video resource is
Tripartite's resource.
The method adding control at third party's player the most according to claim 1, it is characterised in that also include:
After described first interface is added to window manager, it is that described first interface is arranged in described window manager
Global property.
The method adding control at third party's player the most according to claim 1, it is characterised in that also include:
If by video described in described third party's player plays, receive user's manipulation operation to described first interface;
According to described manipulation operation, generate the information that manipulates accordingly, and the transmission of described manipulation information is play to described third party
Device;
Control described third party's player and perform the operation indicated by described manipulation information.
The method adding control at third party's player the most according to claim 5, it is characterised in that also include:
After receiving user's manipulation operation to described first interface, produce and select instruction accordingly, whether need with prompting
Described third party's player is wanted to respond described manipulation operation;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then perform basis
Described manipulation operation, generates the information that manipulates accordingly, and by the operation of described manipulation information transmission to described third party's player.
The method adding control at third party's player the most according to claim 1, it is characterised in that also include:
If calling video described in described third party's player plays, and described system plays device comprises the surface plot of described video,
The surface plot of described video is transmitted to described third party's player;
During described video is buffered by described third party's player, at the upper interface of described third party's player
Show described surface plot, and after buffering terminates, terminate the display of described surface plot.
8. the device adding control at third party's player, it is characterised in that including:
Interface creating module, for the program information according to system plays device, creates the manipulation control comprising described system plays device
First interface of part;
Attribute setup module, for being added to window manager at described first interface, and sets in described window manager
Putting the upper interface that attribute is second contact surface at described first interface, wherein, described second contact surface is the boundary of third party's player
Face;
Call display module, if the video resource for video the most to be played is third party's resource, calls third party and play
Described video play by device, and according to the attribute at described first interface, shows described first interface on the upper strata of described second contact surface.
The device adding control at third party's player the most according to claim 8, it is characterised in that also include:
Judge module, for after getting described video resource, it is judged that whether described video resource is third party's resource, if
It is, then calls display module described in triggering and perform to call video described in third party's player plays, and according to described first interface
Attribute, show the operation at described first interface on the upper strata of the second contact surface of described third party's player.
The device adding control at third party's player the most according to claim 9, it is characterised in that described judgement mould
Block includes:
Type information acquiring unit, for being analyzed described video resource, obtains the type comprised in described video resource
Information;
Type information contrast unit, for broadcasting the type information comprised in described video resource with described system plays device support
The type information put contrasts, if the two matches, it is determined that described video resource not third party's resource, if the two is not
Join, it is determined that described video resource is third party's resource.
11. devices adding control at third party's player according to claim 8, it is characterised in that
Described attribute setup module is additionally operable to, after being added to window manager at described first interface, at described window pipe
Reason device arranges global property for described first interface.
12. devices adding control at third party's player according to claim 8, it is characterised in that also include:
Operation receiver module, if for by video described in described third party's player plays, receiving user to described first boundary
The manipulation operation in face;
Information transmission modular, for according to described manipulation operation, generates the information that manipulates accordingly, and described manipulation information is transmitted
To described third party's player;
Control module, performs the operation indicated by described manipulation information for controlling described third party's player.
13. devices adding control at third party's player according to claim 12, it is characterised in that also include:
Select module, for after receiving user's manipulation operation to described first interface, produce and select instruction accordingly,
Described manipulation operation is responded the need of described third party's player with prompting;
If the selection operation according to user, determine that the described third party's player of needs responds described manipulation operation, then trigger described
Information transmission modular performs according to described manipulation operation, generates the information that manipulates accordingly, and transmits described manipulation information to institute
State the operation of third party's player.
14. devices adding control at third party's player according to claim 8, it is characterised in that also include:
Front cover display module, if for calling video described in described third party's player plays, and described system plays device comprises
The surface plot of described video, transmits the surface plot of described video to described third party's player;
During described video is buffered by described third party's player, at the upper interface of described third party's player
Show described surface plot, and after buffering terminates, terminate the display of described surface plot.
15. 1 kinds of terminals, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
According to the program information of system plays device, create the first interface of the manipulation control comprising described system plays device;
Described first interface is added to window manager, and the genus at described first interface is set in described window manager
Property is upper interface;
If the video resource of video the most to be played is third party's resource, call video described in third party's player plays, and
According to the attribute at described first interface, show described first interface on the upper strata of the second contact surface of described third party's player.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610560659.1A CN106101809A (en) | 2016-07-15 | 2016-07-15 | A kind of in third party's player interpolation method of control, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610560659.1A CN106101809A (en) | 2016-07-15 | 2016-07-15 | A kind of in third party's player interpolation method of control, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106101809A true CN106101809A (en) | 2016-11-09 |
Family
ID=57220401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610560659.1A Pending CN106101809A (en) | 2016-07-15 | 2016-07-15 | A kind of in third party's player interpolation method of control, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106101809A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168996A (en) * | 2017-03-29 | 2017-09-15 | 武汉斗鱼网络科技有限公司 | A kind of multimedia promotion method of third party and device |
CN109561352A (en) * | 2017-09-27 | 2019-04-02 | 腾讯科技(深圳)有限公司 | Playback method, device, storage medium and the electronic device of media object |
CN109640157A (en) * | 2018-12-28 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Method and apparatus for handling information |
CN111182362A (en) * | 2020-01-03 | 2020-05-19 | 北京小米移动软件有限公司 | Video control processing method and device |
CN112004139A (en) * | 2020-10-28 | 2020-11-27 | 深圳乐播科技有限公司 | Distributed barrage screen projection method, system, equipment and storage medium |
CN113395585A (en) * | 2021-02-09 | 2021-09-14 | 腾讯科技(北京)有限公司 | Video detection method, video playing control method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298491A (en) * | 2011-06-16 | 2011-12-28 | 珠海全志科技有限公司 | Embedded graphical interface system and image generation method thereof |
CN103618949A (en) * | 2013-12-16 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling live-broadcast channel switching of smart television |
CN104077114A (en) * | 2013-03-26 | 2014-10-01 | 联想(北京)有限公司 | Method for changing display interface of application software and electronic equipment |
CN105426084A (en) * | 2015-12-10 | 2016-03-23 | 小米科技有限责任公司 | Interface switching method and device and terminal |
-
2016
- 2016-07-15 CN CN201610560659.1A patent/CN106101809A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102298491A (en) * | 2011-06-16 | 2011-12-28 | 珠海全志科技有限公司 | Embedded graphical interface system and image generation method thereof |
CN104077114A (en) * | 2013-03-26 | 2014-10-01 | 联想(北京)有限公司 | Method for changing display interface of application software and electronic equipment |
CN103618949A (en) * | 2013-12-16 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method and device for controlling live-broadcast channel switching of smart television |
CN105426084A (en) * | 2015-12-10 | 2016-03-23 | 小米科技有限责任公司 | Interface switching method and device and terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168996A (en) * | 2017-03-29 | 2017-09-15 | 武汉斗鱼网络科技有限公司 | A kind of multimedia promotion method of third party and device |
CN107168996B (en) * | 2017-03-29 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | A kind of multimedia promotion method of third party and device |
CN109561352A (en) * | 2017-09-27 | 2019-04-02 | 腾讯科技(深圳)有限公司 | Playback method, device, storage medium and the electronic device of media object |
CN109640157A (en) * | 2018-12-28 | 2019-04-16 | 北京字节跳动网络技术有限公司 | Method and apparatus for handling information |
CN109640157B (en) * | 2018-12-28 | 2021-07-27 | 北京字节跳动网络技术有限公司 | Method and apparatus for processing information |
CN111182362A (en) * | 2020-01-03 | 2020-05-19 | 北京小米移动软件有限公司 | Video control processing method and device |
US11388282B2 (en) | 2020-01-03 | 2022-07-12 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for controlling video |
CN112004139A (en) * | 2020-10-28 | 2020-11-27 | 深圳乐播科技有限公司 | Distributed barrage screen projection method, system, equipment and storage medium |
CN112004139B (en) * | 2020-10-28 | 2021-03-26 | 深圳乐播科技有限公司 | Distributed barrage screen projection method, system, equipment and storage medium |
CN113395585A (en) * | 2021-02-09 | 2021-09-14 | 腾讯科技(北京)有限公司 | Video detection method, video playing control method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101809A (en) | A kind of in third party's player interpolation method of control, device and terminal | |
CN107396198B (en) | A kind of video call method and mobile terminal | |
KR101640460B1 (en) | Operation Method of Split Window And Portable Device supporting the same | |
CN111050203B (en) | Video processing method and device, video processing equipment and storage medium | |
CN105578229A (en) | Electronic equipment control method and device | |
US20160269795A1 (en) | Instructing mode switching method and device based on smart television interface | |
CN105653085B (en) | Touch-responsive method and apparatus | |
CN103327267B (en) | A kind of video broadcasting method, device and television set | |
CN103384874A (en) | Superimposed annotation output | |
CN103648040A (en) | Fast switching method and apparatus for application program option of intelligent television | |
CN105975274A (en) | Method and device used for displaying window and applied to Android platform | |
CN104111720A (en) | Electronic device control method and device and electronic device | |
CN104333814A (en) | Smart television desktop switching method and smart television | |
CN103747308A (en) | Method and system for controlling smart television with analog keys, and mobile terminal | |
CN106293095A (en) | A kind of method and system based on intelligent watch operation VR | |
JP5958049B2 (en) | Mount management program and mount management apparatus | |
CN109428968A (en) | The method, apparatus and storage medium of controlling terminal | |
KR20160040770A (en) | Method and apparatus for searching contents | |
CN105426056A (en) | Desktop launcher Launcher menu displaying method and apparatus | |
US8749362B2 (en) | Apparatus and method for providing haptic function in portable terminal | |
CN104219578A (en) | Video processing method and video processing device | |
CN103870286A (en) | Operation behavior responding method and electronic device | |
CN103686416B (en) | 3D configuration information processing method and processing device in intelligent television | |
CN106162082B (en) | The system and method shared based on Android intelligent back vision mirror camera | |
CN105763744B (en) | A kind of video playing control method of mobile terminal, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161109 |