CN106708360A - Application interface switching method and device and electronic equipment - Google Patents

Application interface switching method and device and electronic equipment Download PDF

Info

Publication number
CN106708360A
CN106708360A CN201611033461.4A CN201611033461A CN106708360A CN 106708360 A CN106708360 A CN 106708360A CN 201611033461 A CN201611033461 A CN 201611033461A CN 106708360 A CN106708360 A CN 106708360A
Authority
CN
China
Prior art keywords
mode
switching
operation mode
interface
switched
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
CN201611033461.4A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201611033461.4A priority Critical patent/CN106708360A/en
Publication of CN106708360A publication Critical patent/CN106708360A/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)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses an application interface switching method and device and electronic equipment. The switching method comprises the steps that when the current application interface is a first interface corresponding to a first operation mode, whether the operation mode is switched into a second operation mode or not is judged; and if yes, the first interface is switched into a second interface corresponding to the second operation mode, wherein the first operation mode is either a focus mode or a mouse mode, and the second operation mode is the other of the focus mode and the mouse mode. Due to the fact that a remote control only can select selectable options distributed on the application interface in sequence, the selectable options on the interface in the focus mode are distributed regularly in a small number; due to the fact that a cursor corresponding to a mouse or an empty mouse can move randomly and quickly on the application interface, the selectable options on the interface in the mouse mode can be distributed irregularly in a large number. According to the application interface switching method and device, the corresponding application interface is selected according to characteristics of different operation modes, user operation convenience can be greatly enhanced, and therefore interactive operation efficiency is improved.

Description

Application interface switching method and device and electronic equipment
Technical Field
The invention relates to the technical field of intelligent terminal display, in particular to a switching method and device of an application interface and electronic equipment.
Background
The smart television application is an essential way for a user to acquire information and relates to a user operation mechanism in a man-machine interaction mode. At present, the smart television application generally only adapts to one operation interactive mode of a focus mode or a mouse mode, and part of the smart television application is compatible with the two interactive operation modes at the same time. For example, a focus control method applied to an intelligent terminal includes: recording the position of a selected item on an interface of the intelligent terminal in a mouse mode of the intelligent terminal; if a direction instruction input from a remote controller is detected in the mouse mode of the intelligent terminal, then: entering a focus mode; determining the item at the next position as a target item according to the direction indicated by the direction instruction by taking the position of the currently recorded selected item as an initial position; and obtaining focus of the target item, wherein the item obtaining the focus is the selected item. The method further comprises the following steps: and when the intelligent terminal enters a mouse mode for the first time, focusing the items on the preset interface position of the intelligent terminal. The method further comprises the following steps: if a confirmation instruction input from a remote controller is detected in the mouse mode of the intelligent terminal, then: the currently selected item is run. The method further comprises the following steps: if a click instruction input at a position where an item without a focus is located is detected in the focus mode of the intelligent terminal, then: entering a mouse mode; and enabling the items which do not obtain the focus to obtain the focus.
Although the focus control method applied to the intelligent terminal is compatible with the focus mode and the mouse mode, the same application interface is used, and the application interface is an important factor influencing user control. The requirements of different operation control modes on the application interface are different, so that the convenience of user operation can be influenced if the same application interface is used in different operation control modes.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application interface switching method and apparatus, and an electronic device, so as to solve the problem of poor operation convenience caused by different interactive operation modes of an intelligent terminal corresponding to the same application interface.
According to a first aspect, an embodiment of the present invention provides an application interface switching method, which is applicable to an intelligent device having a display device and an input device, and includes the following steps: when the current application interface is a first interface corresponding to the first operation mode, judging whether the operation mode is switched to a second operation mode; and if so, switching to a second interface corresponding to the second operation mode.
Optionally, the first operation mode is one of a focus mode and a mouse mode, the second operation mode is the other of the focus mode and the mouse mode, the first operation mode corresponds to the first operation device, and the second operation mode corresponds to the second operation device.
Optionally, the step of determining whether the operation mode is switched to the second operation mode includes: judging whether a mode switching operation instruction from first operation equipment is received or not; if so, judging whether a communication link between the first operating device and the second operating device is normally conducted; if so, it is determined that the operation mode is switched to the second operation mode.
Optionally, the step of determining whether the operation mode is switched to the second operation mode includes: judging whether an operation instruction from second operation equipment is received or not; if so, it is determined that the operation mode is switched to the second operation mode.
Optionally, the step of determining whether the operation mode is switched to the second operation mode includes: judging whether a communication link between the first operation equipment and the second operation equipment is normally conducted or not; if not, judging whether a communication link between the first operation equipment and the second operation equipment is normally conducted or not; if so, it is determined that the operation mode is switched to the second operation mode.
Optionally, the step of switching to the second interface corresponding to the second operation mode includes: giving an operation option whether to switch to a second interface; receiving and judging whether the selected operation option is switching; if yes, switching to a second interface.
Optionally, the step of switching to the second interface corresponding to the second operation mode includes: judging whether a mode switching operation instruction from second operation equipment is received or not; if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not; if yes, switching to a second interface.
Optionally, the step of switching to the second interface corresponding to the second operation mode includes: judging whether an operation instruction from the first operation device is received; if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not; if yes, switching to a second interface.
Optionally, the step of switching to the second interface corresponding to the second operation mode includes: after the operation mode is switched to the second operation mode, judging whether a communication link between the first operation equipment and the second operation equipment is recovered to be normally conducted; if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not; if yes, switching to a second interface.
According to a second aspect, an embodiment of the present invention provides an apparatus for switching an application interface, which is suitable for an intelligent device having a display device and an input device, and includes: the judging unit is used for judging whether the operation mode is switched to a second operation mode when the current application interface is a first interface corresponding to the first operation mode; and the switching unit is used for switching to a second interface corresponding to the second operation mode if the operation mode is switched to the second operation mode.
Optionally, the first operation mode is one of a focus mode and a mouse mode, the second operation mode is the other of the focus mode and the mouse mode, the first operation mode corresponds to the first operation device, and the second operation mode corresponds to the second operation device.
Optionally, the judging unit includes: a first judging subunit, configured to judge whether a mode switching operation instruction from the first operation device is received; the second judging subunit is used for judging whether a communication link between the second operating device and the second operating device is normally conducted or not if receiving a mode switching operation instruction from the first operating device; and a first determination subunit for determining that the operation mode is switched to the second operation mode if the communication link with the second operation device is normally on.
Optionally, the judging unit includes: a third judging subunit, configured to judge whether an operation instruction from the second operation device is received; and a second determination subunit for determining that the operation mode is switched to the second operation mode if the operation instruction from the second operation device is received.
Optionally, the judging unit includes: the fourth judging subunit is used for judging whether a communication link between the first operating device and the second operating device is normally conducted or not; a fifth judging subunit, configured to judge whether the communication link with the second operating device is normally conducted if the communication link with the first operating device is not normally conducted; and a third determination subunit for determining that the operation mode is switched to the second operation mode if the communication link with the second operation device is normally on.
Optionally, the switching unit includes: the option providing subunit is used for providing an operation option whether to switch to the second interface; a sixth judging subunit, configured to receive and judge whether the selected operation option is a handover; and the first switching subunit is used for switching to the second interface if the selected operation option is switching.
Optionally, the switching unit includes: a seventh judging subunit, configured to judge whether a mode switching operation instruction from the second operation device is received; an eighth determining subunit, configured to determine whether a time interval between the current time and the time when the second operation mode is switched to the second operation mode is greater than a preset time if a mode switching operation instruction from the second operation device is not received; and the second switching subunit is used for switching to a second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
Optionally, the switching unit includes: a ninth judging subunit operable to judge whether an operation instruction from the first operating device is received; a tenth judging subunit, configured to, if an operation instruction from the first operating device is not received, judge whether a time interval between the current time and the time when the second operating mode is switched to is greater than a preset time; and the third switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
Optionally, the switching unit includes: an eleventh judging subunit, after judging that the operation mode is switched to the second operation mode, for judging whether the communication link with the first operation device is restored to normal conduction; a twelfth judging subunit, configured to judge whether a time interval between the current time and the time when the second operation mode is switched to the second operation mode is greater than a preset time if the communication link with the first operation device does not return to normal conduction; and the fourth switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to cause the at least one processor to perform the method for switching the application interface according to the first aspect or any one of the alternatives of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for switching an application interface according to the first aspect or any one of the alternatives of the first aspect.
According to a fifth aspect, an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method for switching an application interface according to the first aspect or any one of the alternatives of the first aspect.
According to the switching method and device for the application interface and the electronic device, the first operation mode is one of a focus mode and a mouse mode, and the second operation mode is the other of the focus mode and the mouse mode. The focus mode interface is suitable for the user to select selectable options (including icons, input boxes, links and the like) through up, down, left and right key control of the remote controller. The remote controller can only select the selectable options arranged on the application interface in sequence by controlling the remote controller up, down, left and right, so that the selectable options on the focus mode interface are distributed regularly and are few in number, and a user can conveniently and quickly perform selection operation through the remote controller. The mouse mode interface is suitable for a user to select selectable options (including icons, input boxes, links and the like) through any movement of a mouse or a mouse, a cursor corresponding to the mouse or the mouse can be moved on the application interface at will and quickly, any selectable option can be selected accurately, and the selectable options on the mouse mode interface can be distributed irregularly and in large quantity. According to the embodiment, the application interfaces corresponding to the different operation modes are selected according to the characteristics of the different operation modes, so that the convenience of user operation can be greatly improved, and the interactive operation efficiency is improved.
In the method and the device for switching the application interface and the electronic device provided by the embodiment of the invention, in order to make interface switching more humanized, after the operation mode is judged to be switched to the second operation mode, the operation option whether to be switched to the second interface is displayed on the display screen for the user to select, and if the user selects switching, the application interface is switched to the second interface corresponding to the second operation mode. And if the user selects not to switch, maintaining the first interface, so that the user can select to apply the interface according to the actual needs and the operation habits of the user.
In order to prevent the user from switching the application interface to the first interface again after the operation mode is determined to be switched to the second operation mode and the application interface is switched to the second interface due to the misoperation of the user. In the method for switching the application interface provided in this embodiment, after it is determined that the operation mode is switched to the second operation mode, it is further required to determine whether the user switches the operation mode back to the first operation mode again within a preset time, if so, the user remains in the first interface, and if the user does not switch the operation mode back to the first operation mode within the preset time, the application interface is switched to the second interface, so that a problem that the application interface needs to be frequently switched due to a misoperation of the user is avoided.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
fig. 1 is a flowchart showing a switching method of an application interface according to embodiment 1 of the present invention;
fig. 2 is a flowchart showing a switching method of an application interface according to embodiment 2 of the present invention;
fig. 3 is a flowchart showing a switching method of an application interface according to embodiment 3 of the present invention;
fig. 4 is a flowchart showing a switching method of an application interface according to embodiment 4 of the present invention;
fig. 5 is a flowchart illustrating a switching method of an application interface according to embodiment 5 of the present invention;
fig. 6 is a flowchart showing a switching method of an application interface according to embodiment 6 of the present invention;
fig. 7 is a flowchart showing a switching method of an application interface according to embodiment 7 of the present invention;
fig. 8 shows a schematic view of a switching means of an application interface according to embodiment 9 of the present invention;
fig. 9 shows a schematic diagram of an electronic device according to embodiment 10 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 1, this embodiment provides a method for switching an application interface, which is mainly applicable to an intelligent terminal having an input device and an output device, such as an intelligent television having a display screen, a remote controller, and a mouse, and the method mainly includes the following steps:
s11: when the current application interface is a first interface corresponding to the first operation mode, judging whether the operation mode is switched to a second operation mode;
s12: and if the operation mode is switched to the second operation mode, switching to a second interface corresponding to the second operation mode.
In the switching manner of the application interface provided in this embodiment, the first operation mode is one of a focus mode and a mouse mode, and the second operation mode is the other of the focus mode and the mouse mode. And if the current application interface is the focus mode interface corresponding to the focus mode, if the current operation mode is judged to be switched to the mouse mode, switching the application interface to the mouse mode interface. And if the current application interface is the mouse mode interface corresponding to the mouse mode, if the current operation mode is judged to be switched to the focus mode, the application interface is switched to the focus mode interface. The focus mode interface is suitable for the user to select selectable options (including icons, input boxes, links and the like) through up, down, left and right key control of the remote controller. The remote controller can only select the selectable options arranged on the application interface in sequence by controlling the remote controller up, down, left and right, so that the selectable options on the focus mode interface are distributed regularly and are few in number, and a user can conveniently and quickly perform selection operation through the remote controller. The mouse mode interface is suitable for a user to select selectable options (including icons, input boxes, links and the like) through any movement of a mouse or a mouse, a cursor corresponding to the mouse or the mouse can be moved on the application interface at will and quickly, any selectable option can be selected accurately, and the selectable options on the mouse mode interface can be distributed irregularly and in large quantity.
According to the switching method of the application interfaces, the application interfaces corresponding to the application interfaces are selected according to the characteristics of different operation modes, so that the convenience of user operation can be greatly improved, and the interactive operation efficiency is improved.
In addition, the first operation mode corresponds to a first operation device, and the second operation mode corresponds to a second operation device. Specifically, the input device corresponding to the mouse mode is a mouse or a mouse, and the input device corresponding to the focus mode is a remote controller.
In step S11, the step of determining whether the operation mode is switched to the second operation mode may specifically be:
judging whether a mode switching operation instruction from first operation equipment is received or not;
if so, judging whether a communication link between the first operating device and the second operating device is normally conducted;
if so, it is determined that the operation mode is switched to the second operation mode.
That is, when the first operation mode is the focus mode and the second operation mode is the mouse mode, the step of determining whether the operation mode is switched to the second operation mode specifically includes: firstly, whether a mode switching operation instruction from a remote controller is received or not is judged, the mode switching operation instruction from the remote controller can switch the operation mode into a mouse mode, if the mode switching operation instruction is received, whether a mouse or a mouse is connected to the smart television or not and can normally communicate or not is judged, and if the mouse or the mouse can communicate with the smart television, the operation mode is switched into the mouse mode.
When the first operation mode is the mouse mode and the second operation mode is the focus mode, the step of determining whether the operation mode is switched to the second operation mode is specifically: firstly, judging whether a mode switching operation instruction from a mouse or an empty mouse is received, wherein the mode switching operation instruction from the mouse or the empty mouse can switch an operation mode into a focus mode, judging whether a wireless communication link between a remote controller and an intelligent television can normally communicate if the mode switching operation instruction is received, and switching the operation mode into the focus mode if the remote controller can communicate with the intelligent television.
Example 2
As shown in fig. 2, this embodiment provides a method for switching an application interface, which is mainly applicable to an intelligent terminal having an input device and an output device, such as an intelligent television having a display screen, a remote controller, and a mouse, and specifically includes the following steps:
s21: when the current application interface is a first interface corresponding to the first operation mode, judging whether an operation instruction from second operation equipment is received or not;
s22: if so, determining that the operation mode is switched to a second operation mode;
s23: and after the operation mode is switched to the second operation mode, the application interface is switched to a second interface corresponding to the second operation mode.
In the method for switching an application interface provided in this embodiment, when the first operation mode is the focus mode and the second operation mode is the mouse mode, correspondingly, the first operation device may be a remote controller, and the second operation device may be a mouse or a mouse. When the current application interface is the focus mode interface, if an operation instruction from a mouse or a mouse is received, the operation mode is judged to be switched to the mouse mode. When the first operation mode is a mouse mode and the second operation mode is a focus mode, correspondingly, the first operation device may be a mouse or a mouse, and the second operation device may be a remote controller. When the current application interface is a mouse mode interface, if an operation instruction from a remote controller is received, the operation mode is judged to be switched to the focus mode.
In this embodiment, when the current application interface is the first interface corresponding to the first operation mode, if an operation instruction from the second operation device corresponding to the second operation mode is received, it is indicated that the user is performing an interactive operation using the second operation device, and therefore it is determined that the operation mode is switched to the second operation mode, so that the application interface is switched to the second interface suitable for the operation of the second operation device, and the user can perform the interactive operation using the second operation device conveniently.
Example 3
As shown in fig. 3, this embodiment provides a method for switching an application interface, which is mainly applicable to an intelligent terminal having an input device and an output device, such as an intelligent television having a display screen, a remote controller, and a mouse, and specifically includes the following steps:
s31: when the current application interface is a first interface corresponding to the first operation mode, judging whether a communication link between the current application interface and the first operation device is normally conducted or not;
s32: if not, judging whether a communication link between the first operation equipment and the second operation equipment is normally conducted or not;
s33: if so, determining that the operation mode is switched to a second operation mode;
s34: and after the operation mode is switched to the second operation mode, the application interface is switched to a second interface corresponding to the second operation mode.
In the method for switching an application interface provided in this embodiment, when the first operation mode is the focus mode and the second operation mode is the mouse mode, if a failure of the remote controller or other reasons causes that the remote controller cannot normally communicate with the smart television, that is, the remote controller cannot be used to control the smart television, it is necessary to determine whether the mouse or the mouse can normally communicate with the smart television, and if so, only the mouse or the mouse can be used to perform an interactive operation, so that it is determined that the operation mode is switched to the mouse mode. When the first operation mode is a mouse mode and the second operation mode is a focus mode, if the mouse (or the mouse, etc.) fails or other reasons cause abnormal communication between the mouse (or the mouse, etc.) and the smart television, that is, the smart television cannot be controlled by the mouse (or the mouse, etc.), it is necessary to determine whether the normal communication between the remote controller and the smart television is possible, and if so, interactive operation can be performed only through the remote controller, so that it is determined that the operation mode is switched to the focus mode. In this embodiment, if one of the operation devices fails to normally communicate with the smart television due to a fault or other reasons, and the other operation device normally communicates with the smart television, the application interface is switched to an interface corresponding to the other operation device, so that a user can conveniently perform interactive operation with the smart television by using the operation device with normal communication.
As another alternative specific implementation manner, the method for determining whether the operation mode is switched to the second operation mode described in the above embodiments 1 to 3 may be simultaneously provided in the smart television.
Example 4
As shown in fig. 4, this embodiment provides a method for switching an application interface, which is suitable for a smart television, and the method includes the following specific steps:
s41: when the current application interface is a first interface corresponding to a first operation mode, judging whether a mode switching operation instruction from first operation equipment is received or not;
s42: if so, judging whether a communication link between the first operating device and the second operating device is normally conducted;
s43: if so, determining that the operation mode is switched to a second operation mode;
s44: after the operation mode is judged to be switched to the second operation mode, giving an operation option whether to be switched to a second interface through the intelligent television display;
s45: receiving and judging whether the operation option selected by the user is switching;
s46: if yes, switching to a second interface.
In the method for switching the application interface provided in this embodiment, in order to make interface switching more humanized, after it is determined that the operation mode is switched to the second operation mode, an operation option of whether to switch to the second interface is displayed on the display screen for a user to select, and if the user selects switching, the application interface is switched to the second interface corresponding to the second operation mode. And if the user selects not to switch, maintaining the first interface, so that the user can select to apply the interface according to the actual needs and the operation habits of the user.
Example 5
As shown in fig. 5, this embodiment provides a method for switching an application interface, which is suitable for a smart television, and the method includes the specific steps of:
s51: when the current application interface is a first interface corresponding to the first operation mode, judging whether an operation instruction from second operation equipment is received or not;
s52: if so, determining that the operation mode is switched to a second operation mode;
s53: after determining that the operation mode is switched to the second operation mode, determining whether a mode switching operation instruction from the second operation device is received;
s54: if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not;
s55: if yes, switching to a second interface.
In order to prevent the user from switching the application interface to the first interface again after the operation mode is determined to be switched to the second operation mode and the application interface is switched to the second interface due to the misoperation of the user. In the method for switching the application interface provided in this embodiment, after it is determined that the operation mode is switched to the second operation mode, it is further required to determine whether the user switches the operation mode back to the first operation mode again within a preset time, and if so, the user remains in the first interface, and if the user does not switch the operation mode back to the first operation mode within the preset time, the application interface is switched to the second interface, so that a problem that the application interface needs to be frequently switched due to a misoperation of the user is avoided. One way to determine whether the user switches the operation mode back to the first operation mode is to determine whether a mode switching operation instruction is received from the second operation device.
Example 6
As shown in fig. 6, this embodiment provides a method for switching an application interface, which is suitable for a smart television, and the method includes the specific steps of:
s61: when the current application interface is a first interface corresponding to a first operation mode, judging whether a mode switching operation instruction from first operation equipment is received or not;
s62: if so, judging whether a communication link between the first operating device and the second operating device is normally conducted;
s63: if so, determining that the operation mode is switched to a second operation mode;
s64: after determining that the operation mode is switched to the second operation mode, determining whether an operation instruction from the first operation device is received;
s65: if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not;
s66: if yes, switching to a second interface.
In order to prevent the user from switching the application interface to the first interface again after the operation mode is determined to be switched to the second operation mode and the application interface is switched to the second interface due to the misoperation of the user. In the method for switching the application interface provided in this embodiment, after it is determined that the operation mode is switched to the second operation mode, it is further required to determine whether the user switches the operation mode back to the first operation mode again within a preset time, and if so, the user remains in the first interface, and if the user does not switch the operation mode back to the first operation mode within the preset time, the application interface is switched to the second interface, so that a problem that the application interface needs to be frequently switched due to a misoperation of the user is avoided. A second method of determining whether the user switches the operation mode back to the first operation mode is to determine whether an operation instruction from the first operation device is received.
Example 7
The embodiment provides an application interface switching method, which is suitable for an intelligent television and comprises the following specific steps:
the first step is as follows: when the current application interface is a first interface corresponding to the first operation mode, judging whether a mode switching operation instruction from the first operation equipment is received or not, and judging whether an operation instruction from the second operation equipment is received or not;
the second step is that: determining that the operation mode is switched to the second operation mode if the mode switching operation instruction from the first operation device is received or the operation instruction from the second operation device is received;
the third step: after determining that the operation mode is switched to the second operation mode, determining whether an operation instruction from the first operation device is received, and determining whether a mode switching operation instruction from the second operation device is received;
the fourth step: if the current time and the time interval for switching to the second operation mode are not received, judging whether the current time and the time interval for switching to the second operation mode are greater than preset time or not;
the fifth step: if yes, switching to a second interface;
and a sixth step: if the time interval between the current time and the time interval for switching to the second operation mode is not more than the preset time, continuously judging whether the operation instruction from the first operation device is received or not, and judging whether the mode switching operation instruction from the second operation device is received or not;
the seventh step: if an operation instruction from the first operation device is received or a mode switching operation instruction from the second operation device is received, the first interface is maintained.
In the method for switching an application interface provided in this embodiment, when the current application interface is the first interface corresponding to the first operation mode, whether the operation mode is switched to the second operation mode may be determined by whether the mode switching operation instruction from the first operation device is received or whether the operation instruction from the second operation device is received, and after it is determined that the operation mode is switched to the second operation mode, whether the operation mode is switched to the second interface is determined by determining whether the operation instruction from the first operation device is received or whether the mode switching operation instruction from the second operation device is received within a preset time. The method can prevent the application interface from being frequently switched.
Example 8
As shown in fig. 7, this embodiment provides a method for switching an application interface, which is suitable for a smart television, and the method includes the specific steps of:
s71: when the current application interface is a first interface corresponding to the first operation mode, judging whether a communication link between the current application interface and the first operation device is normally conducted or not;
s72: if not, judging whether a communication link between the first operation equipment and the second operation equipment is normally conducted or not;
s73: if so, determining that the operation mode is switched to a second operation mode;
s74: after the operation mode is switched to the second operation mode, judging whether a communication link between the first operation equipment and the second operation equipment is recovered to be normally conducted;
s75: if not, judging whether the current time and the time interval for switching to the second operation mode are greater than the preset time or not;
s76: if yes, switching to a second interface.
The above-mentioned embodiment 3 provides a method of determining whether the operation mode is switched to the second operation mode by using whether the communication between the first operation device and the smart tv is normal, but the communication abnormality between the first operation device and the smart tv may be a short-time communication abnormality due to a user's misoperation or other reasons (e.g., a mouse is pulled out for a short time, a remote controller is replaced with a battery, etc.), the communication abnormality in such a case may be recovered in a short time, and the user does not intend to switch the operation mode. In order to avoid that the application interface is automatically switched to the second interface under such a situation, according to the switching method of the application interface provided by this embodiment, after the communication between the first operating device and the smart television is abnormal and the communication between the second operating device and the smart television is normal, the application interface is not switched temporarily, but it is determined whether the communication between the smart television and the first operating device is normal within a preset time, and if so, the first interface is maintained.
Example 9
As shown in fig. 8, this embodiment provides a switching apparatus for an application interface, which is mainly suitable for an intelligent terminal having an input device and an output device, such as an intelligent television having a display screen, a remote controller, and a mouse, and includes:
a determining unit 81, configured to determine whether the operation mode is switched to the second operation mode when the current application interface is the first interface corresponding to the first operation mode;
and a switching unit 82 for switching to a second interface corresponding to the second operation mode if the operation mode is switched to the second operation mode.
In the present embodiment, the first operation mode is one of a focus mode and a mouse mode, and the second operation mode is the other of the focus mode and the mouse mode. The focus mode interface is suitable for the user to select selectable options (including icons, input boxes, links and the like) through up, down, left and right key control of the remote controller. The remote controller can only select the selectable options arranged on the application interface in sequence by controlling the remote controller up, down, left and right, so that the selectable options on the focus mode interface are distributed regularly and are few in number, and a user can conveniently and quickly perform selection operation through the remote controller. The mouse mode interface is suitable for a user to select selectable options (including icons, input boxes, links and the like) through any movement of a mouse or a mouse, a cursor corresponding to the mouse or the mouse can be moved on the application interface at will and quickly, any selectable option can be selected accurately, and the selectable options on the mouse mode interface can be distributed irregularly and in large quantity. According to the embodiment, the application interfaces corresponding to the different operation modes are selected according to the characteristics of the different operation modes, so that the convenience of user operation can be greatly improved, and the interactive operation efficiency is improved.
As a specific embodiment, the first operation mode is one of a focus mode and a mouse mode, the second operation mode is the other of the focus mode and the mouse mode, the first operation mode corresponds to the first operation device, and the second operation mode corresponds to the second operation device.
As a specific embodiment, the determining unit 81 includes:
a first judging subunit, configured to judge whether a mode switching operation instruction from the first operation device is received;
the second judging subunit is used for judging whether a communication link between the second operating device and the second operating device is normally conducted or not if receiving a mode switching operation instruction from the first operating device;
and a first determination subunit for determining that the operation mode is switched to the second operation mode if the communication link with the second operation device is normally on.
As another specific embodiment, the judging unit 81 includes:
a third judging subunit, configured to judge whether an operation instruction from the second operation device is received;
and a second determination subunit for determining that the operation mode is switched to the second operation mode if the operation instruction from the second operation device is received.
As another specific embodiment, the judging unit 81 includes:
the fourth judging subunit is used for judging whether a communication link between the first operating device and the second operating device is normally conducted or not;
a fifth judging subunit, configured to judge whether the communication link with the second operating device is normally conducted if the communication link with the first operating device is not normally conducted;
and a third determination subunit for determining that the operation mode is switched to the second operation mode if the communication link with the second operation device is normally on.
As a specific embodiment, the switching unit 82 includes:
the option providing subunit is used for providing an operation option whether to switch to the second interface;
a sixth judging subunit, configured to receive and judge whether the selected operation option is a handover;
and the first switching subunit is used for switching to the second interface if the selected operation option is switching.
As an optional implementation manner, the switching unit 82 includes:
a seventh judging subunit, configured to judge whether a mode switching operation instruction from the second operation device is received;
an eighth determining subunit, configured to determine whether a time interval between the current time and the time when the second operation mode is switched to the second operation mode is greater than a preset time if a mode switching operation instruction from the second operation device is not received;
and the second switching subunit is used for switching to a second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
As one of alternative embodiments, the switching unit 82 includes:
a ninth judging subunit operable to judge whether an operation instruction from the first operating device is received;
a tenth judging subunit, configured to, if an operation instruction from the first operating device is not received, judge whether a time interval between the current time and the time when the second operating mode is switched to is greater than a preset time;
and the third switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
As another alternative embodiment, the switching unit 82 includes:
an eleventh judging subunit, after judging that the operation mode is switched to the second operation mode, for judging whether the communication link with the first operation device is restored to normal conduction;
a twelfth judging subunit, configured to judge whether a time interval between the current time and the time when the second operation mode is switched to the second operation mode is greater than a preset time if the communication link with the first operation device does not return to normal conduction;
and the fourth switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
Example 10
Fig. 9 is a schematic diagram of a hardware structure of an electronic device for executing the method for switching application interfaces described in embodiments 1 to 7 according to an embodiment of the present invention, as shown in fig. 9, the electronic device includes one or more processors 91 and a memory 92, and one processor 91 is taken as an example in fig. 9.
The electronic device executing the method for switching the application interface may further include: an input device 93 and an output device 94, in particular, the input device 93 may be a mouse or a mouse, and the remote controller and the output device 94 may be a display screen.
The processor 91, the memory 92, the input device 93 and the output device 94 may be connected by a bus or other means, and the bus connection is exemplified in fig. 9.
The processor 91 may be a Central Processing Unit (CPU). The Processor 91 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 92 is a non-transitory computer-readable storage medium, and can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules (e.g., the determining unit 81 and the switching unit 82 shown in fig. 8) corresponding to the switching method of the application interface in the embodiment of the present application. The processor 91 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 92, that is, the method for switching the application interfaces of the above method embodiments is realized.
The memory 92 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the switching device of the application interface, and the like. Further, memory 92 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 92 may optionally include memory located remotely from processor 91, and such remote memory may be connected to the switching device of the application interface via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 93 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the switching device of the application interface. The output device 640 may include a display device such as a display screen.
The one or more modules are stored in the memory 92 and, when executed by the one or more processors 91, perform the methods shown in fig. 1-7.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. Details of the technique not described in detail in the present embodiment may be specifically referred to the relevant description in the embodiments shown in fig. 1 to 7.
Example 11
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the switching method of the application interface in any method embodiment. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard disk (Hard disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (19)

1. A switching method of an application interface is characterized by comprising the following steps:
when the current application interface is a first interface corresponding to the first operation mode, judging whether the operation mode is switched to a second operation mode;
and if so, switching to a second interface corresponding to the second operation mode.
2. The method of claim 1, wherein the first operating mode is one of a focus mode and a mouse mode, wherein the second operating mode is the other of the focus mode and the mouse mode, wherein the first operating mode corresponds to a first operating device, and wherein the second operating mode corresponds to a second operating device.
3. The method of claim 2, wherein the step of determining whether the operation mode is switched to the second operation mode comprises:
judging whether a mode switching operation instruction from first operation equipment is received or not;
if so, judging whether a communication link between the second operation equipment and the second operation equipment is normally conducted;
if so, it is determined that the operation mode is switched to the second operation mode.
4. The method of claim 2, wherein the step of determining whether the operation mode is switched to the second operation mode comprises:
judging whether an operation instruction from the second operation device is received or not;
if so, it is determined that the operation mode is switched to the second operation mode.
5. The method of claim 2, wherein the step of determining whether the operation mode is switched to the second operation mode comprises:
judging whether a communication link between the first operating device and the first operating device is normally conducted or not;
if not, judging whether a communication link between the second operation equipment and the second operation equipment is normally conducted or not;
if so, it is determined that the operation mode is switched to the second operation mode.
6. The method according to any of claims 2-5, wherein the step of switching to a second interface corresponding to the second mode of operation comprises:
giving an operation option whether to switch to a second interface;
receiving and judging whether the selected operation option is switching;
if yes, switching to the second interface.
7. The method according to any of claims 2-5, wherein the step of switching to a second interface corresponding to the second mode of operation comprises:
judging whether a mode switching operation instruction from the second operation equipment is received or not;
if not, judging whether the current time and the time interval for switching to the second operation mode are greater than preset time or not;
if yes, switching to the second interface.
8. The method according to any of claims 2-5, wherein the step of switching to a second interface corresponding to the second mode of operation comprises:
judging whether an operation instruction from the first operation device is received or not;
if not, judging whether the current time and the time interval for switching to the second operation mode are greater than preset time or not;
if yes, switching to the second interface.
9. The method of claim 5, wherein the step of switching to a second interface corresponding to the second mode of operation comprises:
after determining that the operation mode is switched to the second operation mode, determining whether a communication link with the first operation device is restored to normal conduction;
if not, judging whether the current time and the time interval for switching to the second operation mode are greater than preset time or not;
if yes, switching to the second interface.
10. An apparatus for switching an application interface, comprising:
the judging unit is used for judging whether the operation mode is switched to a second operation mode when the current application interface is a first interface corresponding to the first operation mode;
and the switching unit is used for switching to a second interface corresponding to the second operation mode if the operation mode is switched to the second operation mode.
11. The apparatus of claim 10, wherein the first operating mode is one of a focus mode and a mouse mode, wherein the second operating mode is the other of the focus mode and the mouse mode, wherein the first operating mode corresponds to a first operating device, and wherein the second operating mode corresponds to a second operating device.
12. The apparatus according to claim 11, wherein the judging unit includes:
a first judging subunit, configured to judge whether a mode switching operation instruction from the first operation device is received;
the second judgment subunit is used for judging whether a communication link between the second operation equipment and the second operation equipment is normally conducted or not if a mode switching operation instruction from the first operation equipment is received;
a first determination subunit for determining that the operation mode is switched to the second operation mode if a communication link with the second operation device is normally on.
13. The apparatus according to claim 11, wherein the judging unit includes:
a third judging subunit, configured to judge whether an operation instruction from the second operation device is received;
a second determination subunit for determining that the operation mode is switched to the second operation mode if an operation instruction from the second operation device is received.
14. The apparatus according to claim 11, wherein the judging unit includes:
the fourth judging subunit is configured to judge whether a communication link with the first operating device is normally conducted;
a fifth judging subunit, configured to judge whether the communication link with the second operating device is normally conducted if the communication link with the first operating device is not normally conducted;
a third determination subunit for determining that the operation mode is switched to the second operation mode if a communication link with the second operation device is normally on.
15. The apparatus according to any one of claims 11-14, wherein the switching unit comprises:
the option providing subunit is used for providing an operation option whether to switch to the second interface;
a sixth judging subunit, configured to receive and judge whether the selected operation option is a handover;
and the first switching subunit is used for switching to the second interface if the selected operation option is switching.
16. The apparatus according to any one of claims 11-14, wherein the switching unit comprises:
a seventh judging subunit, configured to judge whether a mode switching operation instruction is received from the second operation device;
an eighth determining subunit, configured to determine whether a time interval between the current time and the time for switching to the second operation mode is greater than a preset time if a mode switching operation instruction from the second operation device is not received;
and the second switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
17. The apparatus according to any one of claims 11-14, wherein the switching unit comprises:
a ninth judging subunit, configured to judge whether an operation instruction from the first operation device is received;
a tenth determining subunit, configured to determine whether a time interval between the current time and the time when the second operation mode is switched to is greater than a preset time if the operation instruction from the first operation device is not received;
and the third switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
18. The apparatus of claim 14, wherein the switching unit comprises:
an eleventh judging subunit, after judging that the operation mode is switched to the second operation mode, for judging whether a communication link with the first operation device is restored to normal conduction;
a twelfth judging subunit, configured to, if the communication link with the first operating device does not return to normal conduction, judge whether a time interval between the current time and the time when the second operating mode is switched to is greater than a preset time;
and the fourth switching subunit is used for switching to the second interface if the interval between the current time and the time for switching to the second operation mode is greater than the preset time.
19. An electronic device, comprising:
at least one processor;
and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to perform the method of any one of claims 1-9.
CN201611033461.4A 2016-11-14 2016-11-14 Application interface switching method and device and electronic equipment Pending CN106708360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611033461.4A CN106708360A (en) 2016-11-14 2016-11-14 Application interface switching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611033461.4A CN106708360A (en) 2016-11-14 2016-11-14 Application interface switching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106708360A true CN106708360A (en) 2017-05-24

Family

ID=58941235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611033461.4A Pending CN106708360A (en) 2016-11-14 2016-11-14 Application interface switching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106708360A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287743A (en) * 2018-01-11 2018-07-17 上海展扬通信技术有限公司 Method for page jump, terminal in application program and storage medium
CN111782312A (en) * 2020-05-14 2020-10-16 北京爱接力科技发展有限公司 Mode switching method and device, robot and computer readable storage medium
WO2021142892A1 (en) * 2020-01-16 2021-07-22 海信视像科技股份有限公司 Display device, and method for presenting user interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287743A (en) * 2018-01-11 2018-07-17 上海展扬通信技术有限公司 Method for page jump, terminal in application program and storage medium
CN108287743B (en) * 2018-01-11 2020-10-02 上海展扬通信技术有限公司 Page jump method, terminal and storage medium in application program
WO2021142892A1 (en) * 2020-01-16 2021-07-22 海信视像科技股份有限公司 Display device, and method for presenting user interface
CN111782312A (en) * 2020-05-14 2020-10-16 北京爱接力科技发展有限公司 Mode switching method and device, robot and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110505245B (en) Application login method, device and equipment
CN104104984B (en) Focus control method and device thereof
KR20140019835A (en) Method and device for switching application program of touch screen terminal
CN105278799A (en) Interface switching method and apparatus
CN104572322A (en) Method for operating terminal screen
CN105094656A (en) Application starting method, application starting device and mobile terminal
CN107329659B (en) Permission setting method and device, electronic equipment and storage medium
US10231005B2 (en) Operation instructing method and apparatus for remote controller of intelligent television
US20220027031A1 (en) Method, device, apparatus, and storage medium for controlling touch operation mode
CN105635822A (en) Method and device for processing video bullet screen
CN110992112A (en) Method and device for processing advertisement information
CN106708360A (en) Application interface switching method and device and electronic equipment
CN105005607A (en) Page information loading method and page information loading device
CN106997272A (en) The control method and control system of a kind of terminal installation
CN105430458A (en) Terminal controlling method and system
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN104703013A (en) Operation method and device for remote control for set top box
US20190114069A1 (en) Control instruction identification method and apparatus, and storage medium
CN106462352A (en) Fingerprint event processing method, apparatus, and terminal
CN112764862A (en) Application program control method and device and electronic equipment
CN109542320B (en) Display method, terminal and computer storage medium
CN104035652A (en) Control method and control device for user interface display
CN115904183A (en) Interface display process, apparatus, device and storage medium
CN107168600B (en) Push message checking method and device
CN112035271B (en) User operation information processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170524