CN105975143A - Method and device for switching application program interface, terminal equipment and system - Google Patents

Method and device for switching application program interface, terminal equipment and system Download PDF

Info

Publication number
CN105975143A
CN105975143A CN201510831391.6A CN201510831391A CN105975143A CN 105975143 A CN105975143 A CN 105975143A CN 201510831391 A CN201510831391 A CN 201510831391A CN 105975143 A CN105975143 A CN 105975143A
Authority
CN
China
Prior art keywords
interface
function button
sub
state
application program
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
Application number
CN201510831391.6A
Other languages
Chinese (zh)
Inventor
史少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201510831391.6A priority Critical patent/CN105975143A/en
Publication of CN105975143A publication Critical patent/CN105975143A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a method and device for switching an application program interface, terminal equipment and a system. The method is applied to a terminal which switches the interface by a remote control, wherein a combined functional key is disposed on the remote control. The method comprises the steps that when pressing of the functional key of the remote control is detected, whether a sub-interface corresponding to the functional key exists in an application program is judged; when the sub-interface corresponding to the functional key exists in the application program, whether the combined functional key is pressed is judged; and when the combined functional key is pressed, a current sub-interface can be hidden, and the sub-interface corresponding to the functional key can be displayed. By the method, one sub-interface can be switched to another sub-interface. According to the embodiment of the invention, operational steps for interface switching are reduced; and waiting time for the interface switching is reduced.

Description

The changing method of Application Program Interface, device and terminal unit and system
Technical field
The present embodiments relate to technical field of electronic products, particularly relate to cutting of a kind of Application Program Interface Change method, device and terminal unit and system.
Background technology
In the prior art, television set or Set Top Box are playing video by built-in application program Time, each button of the remote controller of the responsible television set of user or Set Top Box realizes application program and carries The abundant function of confession, different buttons correspond to different functions.
When user has pressed some function button of remote controller, while video continues to play, depending on Frequently eject function interface corresponding with this function button above bed boundary, select this interface for user On each function.Wherein, video layer interface can be designated as main interface, the merit ejected on main interface Sub-interface can be designated as in interface.If it is desired to use or check the function at other the sub-interfaces at the same level with sub-interface Time, need to return to upper level interface by the return key on remote controller or wait that sub-interface disappears automatically Afterwards (when focus is at corresponding function interface, the function of button also can rest on this function interface), press Other function buttons of remote controller specify corresponding sub-interface to eject, it is achieved cutting between sub-interface at the same level Change.But owing to handoff procedure needing user click on return key or wait that sub-interface disappears automatically, meeting Cause operating procedure to increase or problem that the waiting time is long, have impact on the operating experience of user.
Summary of the invention
The embodiment of the present invention provides the changing method of a kind of Application Program Interface, device and terminal unit and is System, long in order to solve traditional Application Program Interface handover operation complex steps, waiting time, reduce The problem that user operation is experienced.
The embodiment of the present invention provides the changing method of a kind of Application Program Interface, is applied to be cut by remote controller Changing the terminal at interface, described remote controller is provided with combination function button, described method includes:
When the function button described remote controller being detected is pressed, it is judged that whether application program exists with The sub-interface that described function button is corresponding;
When described application program exists the sub-interface corresponding with described function button, it is judged that described combination Whether function button is in down state;
When described combination function button is in down state, then hides current sub-interface, and represent and institute State the sub-interface that function button is corresponding.
Correspondingly, the embodiment of the present invention also provides for the switching device of a kind of Application Program Interface, including:
First judge module, for when function button remote controller being detected is pressed, it is judged that application journey Whether sequence exists the sub-interface corresponding with described function button;
Second judge module, for when there is the sub-boundary corresponding with described function button in described application program During face, it is judged that whether described combination function button is in down state;
Handover module, for when described combination function button is in down state, then hides current sub-boundary Face, and represent the sub-interface corresponding with described function button.
Correspondingly, the embodiment of the present invention also provides for a kind of remote controller, including function button and combination function by Key, when described function button and combination function button are in down state, the current son of application program Interface is switched to the sub-interface corresponding with described function button.
Correspondingly, the embodiment of the present invention also provides for a kind of terminal unit, including display device and above-mentioned application The switching device of program interface.
Correspondingly, the embodiment of the present invention also provides for a kind of terminal system, sets including above-mentioned remote controller and terminal Standby.
The changing method of Application Program Interface, device and the terminal unit of embodiment of the present invention offer and system, Can apply to, in the terminal by remote controller interface switching, combination to be previously provided with on a remote control Function button, when user pins this combination function button, the listening state of entered function button.Work as inspection Measure the function button of remote controller when being pressed, it is judged that whether application program exists corresponding with function button Sub-interface;When application program exists the sub-interface corresponding with function button, it is judged that combination function is pressed Whether key is in down state, when combination function button is in down state, then and hide application program Current sub-interface, and represent the sub-interface corresponding with function button, it is achieved from a sub-interface to another The switching at sub-interface.Need not during changing interface by sub-interface being back to main boundary by return key Face, then entered another sub-interface by main interface, but directly from a sub-changing interface be another height Interface, decreases the operating procedure of changing interface.Also without waiting that sub-interface enters back into after automatically disappearing Another sub-interface, saves the waiting time of changing interface.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in embodiment Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the steps flow chart of the changing method of a kind of Application Program Interface in the embodiment of the present invention one Figure;
Fig. 2 is the steps flow chart of the changing method of a kind of Application Program Interface in the embodiment of the present invention two Figure;
Fig. 3 is the structural representation of the switching device of a kind of Application Program Interface in the embodiment of the present invention three Figure.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiment one
The changing method of a kind of Application Program Interface that the embodiment of the present invention one propose is discussed in detail, is applied to Terminal by remote controller interface switching.Combination function button can be preset with on the remote controller of described terminal, The fn key that this combination function button is similar on computor-keyboard, for convenience user's one-handed performance remote controller, This combination function button can be arranged at the back side of remote controller.Described terminal can be television set, machine top The equipment such as box, and, the function interface of correspondence can be entered by pressing the function button on remote controller.
With reference to Fig. 1, it is shown that the changing method of a kind of Application Program Interface in the embodiment of the present invention one Flow chart of steps.
Step 100, when the function button described remote controller being detected is pressed, it is judged that in application program Whether there is the sub-interface corresponding with described function button, if existing, then performing step 102;If not depositing , then flow process terminates.
Described application program can be the application program of terminal built-in or the application journey installed voluntarily for user Sequence, the most which type of application program, all can be by the interface of remote controller switching application program.
Entering the main interface that default interface is application program after application program, the main interface of application program is also Can be application program video playback interface in carrying out video or audio frequency playing process or audio frequency is broadcast Put interface etc..Main interface can also carry out self-defined according to the situation of application program by user.
Sub-interface can be the subordinate interface at main interface, and, multiple same level can be there is in main interface Sub-interface, it is also possible to there is the sub-interface of multiple different stage.Sub-interface in the embodiment of the present invention is permissible For small pin for the case interface at the same level, it is also possible to for the sub-interface of different stage.
It should be noted that whether step 100 judges exist in application program and described function button pair The process at the sub-interface answered is it is to be understood that whether arbitration functions button is the merit with corresponding practical operation Energy button, the mistake behaviour when purpose of step 100 is to prevent the function button without practical operation to be pressed Make.When described application program exists the sub-interface corresponding with described function button it can be understood as answer There is the sub-interface corresponding with described function button with program backstage, not show on application program foreground and The sub-interface that described function button is corresponding.
Step 102, it is judged that whether described combination function button is in down state, if being in down state, Then perform step 104;If being not at down state, then flow process terminates.
Judge whether described combination function button is in down state, be specifically as follows: judge mark variable (isFnDown) whether is the first state, token variable can be two states, the respectively first shape State and the second state.When described token variable is the first state, described combination function button is in be pressed State;When described token variable is the second state, described combination function button is not at down state.
When combination function button is pressed, token variable is the first state (ture);When combination function is pressed Key is in the state of not being pressed, and when i.e. lifting, token variable is the second state (false).
Step 104, hides current sub-interface, and represents the sub-interface corresponding with described function button.
Described current sub-interface is the sub-interface that application program is currently displaying.Described with described function button pair The sub-interface answered can be to belong to the sub-interface of same one-level with described current sub-interface.
In a preferred embodiment of the invention, if described token variable is the second state, i.e. remote control When combination function button on device lifts, if the function button pressed on remote controller, then maintain described currently Sub-interface is currently displaying sub-interface, does not carries out the handover operation at interface.Focus is still at currently displaying son In interface, do not affect observability and the response at currently displaying sub-interface.
In sum, the technical scheme in the embodiment of the present invention, can apply to switch boundary by remote controller In the terminal in face, combination function button can be previously provided with on a remote control, when user pins this combination During function button, the listening state of entered function button.When function button remote controller being detected is pressed Time, it is judged that whether application program exists the sub-interface corresponding with function button;When application program exists During corresponding with function button interface, it is judged that whether combination function button is in down state, works as combination When function button is in down state, then the current sub-interface of hide application program, and represent with function by The sub-interface that key is corresponding, it is achieved from the switching at a sub-interface to another sub-interface.The mistake of changing interface Journey need not by sub-interface being back to main interface by return key, then entered another height by main interface Interface, but be directly another sub-interface from a sub-changing interface, decrease the operation of changing interface Step.Also without waiting that sub-interface enters back into another sub-interface after automatically disappearing, save interface and cut The waiting time changed.
Embodiment two
The changing method of a kind of Application Program Interface that the embodiment of the present invention two propose is discussed in detail, is applied to Set Top Box by remote controller interface switching.Combination function can be preset with on the remote controller of described Set Top Box Button, the fn key that this combination function button is similar on computor-keyboard, user's one-handed performance is distant for convenience Control device, can be arranged at the back side of remote controller by this combination function button.By pressing the merit on remote controller Can enter corresponding function interface by button.
With reference to Fig. 2, it is shown that the changing method of a kind of Application Program Interface in the embodiment of the present invention two Flow chart of steps.
The embodiment of the present invention two illustrates as a example by the video playback application program in Set Top Box.
Step 200, user enters the video playback interface of video application.
Step 202, user presses certain function button on remote controller, recalls on video playback interface The subfunction interface corresponding with this function button.
Step 204, the subfunction interface recalled does not disappears, and user is intended to recall with current subfunction interface together The function interface of rank.
Specifically, user can pin the combination function button preset on remote controller, pins simultaneously and is intended to recall Function button corresponding to function interface.
Step 206, current subfunction interface hides, shows new function interface.
In embodiments of the present invention, by the addition of the combination function button on remote controller, at application program Coding stage of changing interface, reduce the degree of coupling between each interface assembly, and by each interface assembly The power to make decision of observability entrusts to whether the use of combination function button goes up.
By the use of combination function button, compensate for the deficiency that in interface, function out of focus cannot realize.When When focus rests on a certain sub-interface, in traditional scheme, in order to make the function at its sub-interface normally use, The range of directionkeys has only been limited to the sub-interface of corresponding function.
Such as: below during video playback progress bar interface can take left and right directions key make for controlling current The progress of video, if one want to right and left key breathes out other function interfaces at the same level, then need to wait or by Return key controls progress bar interface and disappears.
By the use of combination function button, user, when using Set Top Box viewing video, eliminates each same Need to wait or press the operation of return key rollback between level interface during switching, reach the effect of seamless switching.
Embodiment three
The switching device of a kind of Application Program Interface that the embodiment of the present invention three propose is discussed in detail.
With reference to Fig. 3, it is shown that the switching device of a kind of Application Program Interface in the embodiment of the present invention three Structural representation.
Described device may include that first judge module the 300, second judge module 302 and handover module 304。
Relation function and each module of each module between is discussed in detail separately below.
First judge module 300, for when function button remote controller being detected is pressed, it is judged that should With whether program exists the sub-interface corresponding with described function button.
Second judge module 302, for corresponding with described function button when existing in described application program During sub-interface, it is judged that whether described combination function button is in down state.
Can be preset with combination function button on described remote controller, described second judge module 302 judges institute Stating whether combination function button is in down state, whether specially judge mark variable is the first state.
When described token variable is the first state, described combination function button is in down state.
When described combination function button is in down state, described token variable is described first state; When described combination function button is in non-down state, described token variable is the second state;Wherein, Described first state is true, and described second state is false.
Handover module 304, for when described combination function button is in down state, then hides current Sub-interface, and represent the sub-interface corresponding with described function button.
Wherein, the sub-interface that described and described function button is corresponding is for belong to same with described current sub-interface The sub-interface of level.
Described device can also include: maintains module, if being described second state for described token variable, Then maintaining described current sub-interface is currently displaying sub-interface.
In sum, the technical scheme in the embodiment of the present invention, can apply to by switching on remote controller In the terminal at interface, combination function button can be previously provided with on a remote control, when user pins this group When closing function button, the listening state of entered function button.When detect the function button of remote controller by by Time lower, it is judged that whether application program exists the sub-interface corresponding with function button;When application program is deposited When the sub-interface corresponding with function button, it is judged that whether combination function button is in down state, works as group When conjunction function button is in down state, then the current sub-interface of hide application program, and represent and function The sub-interface that button is corresponding, it is achieved from the switching at a sub-interface to another sub-interface.Changing interface During need not by sub-interface being back to main interface by return key, then entered another by main interface Sub-interface, but be directly another sub-interface from a sub-changing interface, decrease the behaviour of changing interface Make step.Also without waiting that sub-interface enters back into another sub-interface after automatically disappearing, save interface The waiting time of switching.
The embodiment of the present invention also proposed a kind of remote controller, described remote controller can with in above-described embodiment Device with the use of, described remote controller can include at least one function button and combination function button, when When described function button and combination function button are in down state, the current sub-interface quilt of application program Switch to the sub-interface corresponding with described function button.
The embodiment of the present invention also proposed a kind of terminal unit, including institute in display device and above-described embodiment The switching device of any one Application Program Interface stated.Display device answering in display terminal With the interface of program.
The embodiment of the present invention also proposed a kind of terminal system, including above-mentioned remote controller and terminal unit.
Device, equipment and system embodiment described above is only schematically, wherein said conduct The unit of separating component explanation can be or may not be physically separate, shows as unit Parts can be or may not be physical location, i.e. may be located at a place, or can also divide Cloth is on multiple NEs.Some or all of module therein can be selected according to the actual needs Realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying the feelings of performing creative labour Under condition, i.e. it is appreciated that and implements.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (11)

1. a changing method for Application Program Interface, is applied to the terminal by remote controller interface switching, It is characterized in that, described remote controller is provided with combination function button, and described method includes:
When the function button described remote controller being detected is pressed, it is judged that whether application program exists with The sub-interface that described function button is corresponding;
When described application program exists the sub-interface corresponding with described function button, it is judged that described combination Whether function button is in down state;
When described combination function button is in down state, then hides current sub-interface, and represent and institute State the sub-interface that function button is corresponding.
Method the most according to claim 1, it is characterised in that the described combination function of described judgement is pressed Whether key is in down state, including:
Whether judge mark variable is the first state;
When described token variable is the first state, described combination function button is in down state.
Method the most according to claim 2, it is characterised in that when described combination function button is in During the state that is not pressed, described token variable is the second state;Described method also includes:
If described token variable is described second state, maintain described current sub-interface.
Method the most according to claim 1, it is characterised in that described and described function button is corresponding Sub-interface be to belong to the sub-interface of same one-level with described current sub-interface.
5. the switching device of an Application Program Interface, it is characterised in that including:
First judge module, for when function button remote controller being detected is pressed, it is judged that application journey Whether sequence exists the sub-interface corresponding with described function button;
Second judge module, for when there is the sub-boundary corresponding with described function button in described application program During face, it is judged that whether described combination function button is in down state;
Handover module, for when described combination function button is in down state, then hides current sub-boundary Face, and represent the sub-interface corresponding with described function button.
Device the most according to claim 5, it is characterised in that be provided with combination on described remote controller Function button, described second judge module judges whether described combination function button is in down state, tool Body is whether judge mark variable is the first state;
When described token variable is the first state, described combination function button is in down state.
Device the most according to claim 6, it is characterised in that when described combination function button is in During the state that is not pressed, described token variable is the second state;Described device also includes:
Maintaining module, if being described second state for described token variable, then maintaining described current sub-boundary Face is currently displaying sub-interface.
Device the most according to claim 5, it is characterised in that described and described function button is corresponding Sub-interface be to belong to the sub-interface of same one-level with described current sub-interface.
9. a remote controller, it is characterised in that include function button and combination function button, when described merit When energy button and combination function button are in down state, the current sub-interface of application program is switched to The sub-interface corresponding with described function button.
10. a terminal unit, it is characterised in that include in display device and the claims 5-8 Arbitrary described device.
11. 1 kinds of terminal systems, it is characterised in that include remote controller described in the claims 9 and Terminal unit described in claim 10.
CN201510831391.6A 2015-11-25 2015-11-25 Method and device for switching application program interface, terminal equipment and system Pending CN105975143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510831391.6A CN105975143A (en) 2015-11-25 2015-11-25 Method and device for switching application program interface, terminal equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510831391.6A CN105975143A (en) 2015-11-25 2015-11-25 Method and device for switching application program interface, terminal equipment and system

Publications (1)

Publication Number Publication Date
CN105975143A true CN105975143A (en) 2016-09-28

Family

ID=56988449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510831391.6A Pending CN105975143A (en) 2015-11-25 2015-11-25 Method and device for switching application program interface, terminal equipment and system

Country Status (1)

Country Link
CN (1) CN105975143A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227946A (en) * 2013-04-09 2013-07-31 海信集团有限公司 Method for television scene switching and television
CN103607652A (en) * 2013-10-31 2014-02-26 中兴通讯股份有限公司 Method of rapidly switching IPTV (Internet protocol television) display page based on hot key and apparatus thereof
CN104506956A (en) * 2014-12-30 2015-04-08 康佳集团股份有限公司 Method for setting intelligent television system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227946A (en) * 2013-04-09 2013-07-31 海信集团有限公司 Method for television scene switching and television
CN103607652A (en) * 2013-10-31 2014-02-26 中兴通讯股份有限公司 Method of rapidly switching IPTV (Internet protocol television) display page based on hot key and apparatus thereof
CN104506956A (en) * 2014-12-30 2015-04-08 康佳集团股份有限公司 Method for setting intelligent television system

Similar Documents

Publication Publication Date Title
CN105183469B (en) Focus localization method and device when application program switches
CN104346050B (en) A kind of information processing method and electronic equipment
CN104679427B (en) Terminal split-screen display method and system
CN105824875B (en) A kind of photo be shared method and mobile terminal
CN102111503A (en) Quick operation method and mobile terminal
CN106406848A (en) Terminal horizontal/vertical screen switching method and device
CN102833632B (en) Multi-screen interactive master & slave control device management method, intelligent television and control equipment
CN104731613A (en) Quick application starting method and system
CN106201249B (en) Display method and display device of notification information
CN105867818A (en) Terminal interaction control device
CN101770399A (en) Electronic equipment, method and device for switching operating system desktop
CN106371901A (en) Application switching method and apparatus
CN103164017B (en) A kind of eye control input method and electronic equipment
CN104918129A (en) User-defined method and system of television desktop
CN106095227A (en) Desktop wallpaper changing method and device
CN106775195A (en) A kind of control method and device of suspension button
CN106201389A (en) Distribute picture between user's set and share multi-screen implementation method and the device at interface
CN103150315A (en) Information processing apparatus, information processing method and program
US20130241944A1 (en) Electronic Device and Display Control Method Thereof
CN106598467A (en) Mobile terminal and screen control method and system thereof
CN103257829B (en) Terminal control system and the method for nearest task is switched before and after under a kind of Android
CN105511778A (en) Interaction method device for controlling display of multiple game scenes
CN106126090B (en) The control method and electronic equipment of a kind of electronic equipment
CN105812565A (en) Self-adaptive desktop management system and method of external connection display of smart phone
CN102955660A (en) Mobile terminal and button response device and method thereof

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: 20160928