[ detailed description ] embodiments
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 obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a Personal Computer (PC), an MP3 player, an MP4 player, a wearable device (e.g., smart glasses, smart watch, smart bracelet, etc.), and the like.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a schematic flow chart of a method for switching an operation interface according to an embodiment of the present invention, as shown in fig. 1.
101. And acquiring the operation gesture of the user on the terminal.
102. And determining an operation interface according to the operation gesture.
103. And switching to the operation interface.
The execution subjects 101 to 103 may be applications located in the local terminal, or may also be functional units such as plug-ins or Software Development Kits (SDKs) located in the applications located in the local terminal, which is not particularly limited in this embodiment.
It should be understood that the application may be a native app (native app) installed on the terminal, or may also be a browser or a web page program (webApp) thereof on the terminal, which is not limited in this embodiment.
Therefore, the operation gesture of the user on the terminal is obtained, the operation interface is determined according to the operation gesture, the operation interface can be switched to, and the determined operation interface can be directly switched to according to the operation gesture of the user on the terminal, so that the problem that the terminal can display an application in a long time due to the fact that the terminal needs to execute complicated operation to display the page of the application which the user wants to use in the prior art can be solved, and the switching efficiency of the operation interface is improved.
Optionally, in a possible implementation manner of this embodiment, in 101, an operation gesture of the user on the terminal may be specifically detected.
Specifically, the operation gesture of the user on the terminal may include, but is not limited to, at least one of the following operation gestures:
the operation data of the user on the keys of the terminal;
the suspended sliding data of the user above the terminal;
touch swipe data of a user on a display device of the terminal; and
motion data of the user of the terminal.
Wherein,
the operation data of the user on the key of the terminal may refer to a key identifier of a certain key of the terminal operated by the user, or a key identifier and an operation direction of a certain key of the terminal operated by the user, or a key identifier and an operation sequence of a plurality of keys of the terminal operated by the user, or a key identifier, an operation sequence and an operation track of each key of a plurality of keys of the terminal operated by the user, and the like, which is not particularly limited in this embodiment.
The suspended sliding data of the user above the terminal may refer to a suspended sliding track of the user above the terminal within an acquisition range of an image sensor of the terminal. The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment. The dangling sliding trajectory may include, but is not limited to, a straight line or an arbitrarily shaped curve composed of a plurality of dwell points corresponding to a plurality of consecutive sliding events.
The contact sliding data of the user on the display device of the terminal may refer to a contact sliding track of the user on the display device of the terminal. Generally, terminals can be classified into two types according to whether a display device has a touch characteristic, one type is a touch terminal, and the other type is a non-touch terminal. Specifically, the touch sliding data of the user on the touch screen of the touch terminal may be detected. The contact sliding trajectory may include, but is not limited to, a straight line or an arbitrarily shaped curve composed of a number of touch points corresponding to a number of consecutive touch events.
The motion data of the terminal may refer to a motion track, such as shaking, turning, etc., of the terminal, which is driven by the terminal held by the user to move.
In a specific implementation manner, a sensor device may be specifically utilized to detect an operation gesture of a user on the terminal. Specifically, the sensor device may include, but is not limited to, at least one of a gravity sensor, an acceleration sensor, a pressure sensor, an infrared sensor, a distance sensor, and an image sensor, and this embodiment is not particularly limited thereto.
The distance sensor may be an ultrasonic distance sensor, or may also be an infrared distance sensor, or may also be a laser distance sensor, or may also be a microwave distance sensor, which is not particularly limited in this embodiment. These distance sensors are well known in the art, and the detailed description can be referred to the relevant contents in the prior art, and will not be described herein.
The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment.
Specifically, detecting an operation gesture of a user on the terminal may specifically be detecting a starting point and an end point of the operation gesture of the user on the terminal and a track formed from the starting point to the end point, or may further detect radian data corresponding to the track.
Optionally, in a possible implementation manner of this embodiment, in 101, an operation gesture of the user on the terminal may be detected specifically based on a preset specified interface.
In a specific implementation process, the designated interface may be a desktop of an operating system of the terminal. The operating system may include, but is not limited to, an ios operating system of apple, an android operating system of google, or a Windows operating system of microsoft, or other terminal operating systems.
The desktop of the operating system refers to a desktop provided by the operating system operated by the terminal, and is a main entrance for interaction between a user and the terminal and a graphical user interface for human-computer interaction. The desktop of the operating system may be configured to include, but is not limited to, any operational object. For example, icons of application programs, such as one or any combination of icons of a telephone, information, a memo, a photo, a microblog, a WeChat, a cell phone housekeeper, and various games, or, for example, icons of system functions, such as an icon of system settings or a system menu.
In another specific implementation, the designated interface may be any page of a designated application. The specific application may include, but is not limited to, any APP in the terminal or at least one preset application. For example, Taobao APP or Jingdong APP.
In another specific implementation, the designated interface may be a designated page of a designated application. The specific application may include, but is not limited to, any APP in the terminal or at least one preset application. For example, Taobao APP or Jingdong APP. The designated page may include, but is not limited to, at least one page of a preset of a designated application. E.g. payment page of panning APP, etc.
Generally, a page may be composed of some page elements, such as words, pictures, hyperlinks or buttons, etc., such as pages of documents, World Wide Web (Web) pages, etc. The Web Page may be a Web Page (Web Page) written based on HyperText markup language (HTML), that is, an HTML Page, or may also be a Web Page written based on HTML and Java language, that is, a Java Server Page (JSP), or a Web Page written in other languages, which is not particularly limited in this embodiment. A Web page may include a display area, referred to as a page element, such as a word, a picture, a hyperlink, a button, an input box, a drop-down box, etc., defined by one or more page tags, such as HyperText Markup Language (HTML) tags, JSP tags, etc.
In this embodiment, in order to shorten the time for the terminal to display an application, that is, the time for the terminal to switch from the current operation interface to an application page, the user may perform switching of the operation interface by using an operation gesture, and the terminal may display, that is, switch to the application page without clicking an application icon that is to be used on a desktop of an operation system of the terminal as in the prior art. Therefore, the terminal is not limited by the layout of the desktop of the operating system and other applications currently running, and the switching efficiency of the operating interface can be effectively improved.
In order to implement the above functions, optionally, in a possible implementation manner of this embodiment, before 102, a preset gesture for switching to a certain application may be further preset. And only when the acquired operation gesture of the user on the terminal meets the preset gesture, determining an operation interface corresponding to the preset gesture.
And the data of the preset gesture can be stored in a storage device of the terminal.
In a specific implementation process, the storage device of the terminal may be a slow storage device, specifically, a hard disk of a computer system, or may also be a non-operating Memory of a mobile phone, that is, a physical Memory, such as a Read-Only Memory (ROM), a Memory card, and the like, which is not limited in this embodiment.
In another specific implementation process, the storage device of the terminal may also be a fast storage device, specifically, a Memory of a computer system, or may also be a running Memory of a mobile phone, that is, a system Memory, for example, a Random Access Memory (RAM), and the like, which is not particularly limited in this embodiment.
In this embodiment, the operation interface may include, but is not limited to, a desktop of an operating system or a page of an application, which is not particularly limited in this embodiment.
For example, a simple preset gesture may be specifically set, for example, a straight line pattern in each direction and the like, and corresponds to a common operation interface, for example, the preset gesture may be an initial page of a microblog or may also be a desktop of an operation system, where the desktop includes an icon of the microblog and an icon of a cell phone manager.
Or, for another example, a more complex preset gesture, such as a "Z" pattern or an "L" pattern, may be specifically set, and corresponds to an operation interface related to personal privacy of the user, for example, the operation interface may be an initial page of the QQ, or may also be a desktop of the operating system, where the desktop includes an icon of a phone, an icon of information, an icon of the QQ, and an icon of a WeChat.
For another example, a complex preset gesture may be specifically set, for example, a "five-pointed star" or "six-pointed star" pattern corresponds to an operation interface related to user information security, and for example, the operation interface may be an initial page of a mobile banking system, or may also be a desktop of an operating system, where the desktop includes an icon of the mobile banking system and an icon of an electronic mailbox.
Therefore, if a user has other people around the terminal, at this time, if the user wants to trigger the terminal to execute the switching operation of the operation interface, the user can utilize a simple preset gesture to enable the terminal to display the operation interface which does not relate to personal privacy and information safety, such as general entertainment properties, news properties and the like, so as to prevent other people from stealing or peeping some important information, and further effectively improve the switching safety of the operation interface.
It should be noted that, in this embodiment, the operation gesture of the terminal by the user is not particularly limited, and the preset gesture set in advance may be different according to the difference of the operation gesture for switching the operation interface.
For example, if the acquired operation gesture is operation data of a user on a key of the terminal, the preset gesture may be preset operation data of a group of keys.
Or, for another example, if the acquired operation gesture is floating sliding data of the user above the terminal, the preset gesture may be trajectory data of a preset trajectory.
Or, for another example, if the acquired operation gesture is contact sliding data of the user on the display device of the terminal, the preset gesture set in advance may be trajectory data of a preset trajectory.
Or, for another example, if the acquired operation gesture is the motion data of the terminal of the user, the preset gesture may be trajectory data of a preset trajectory.
Optionally, in a possible implementation manner of this embodiment, in 103, the current application may be specifically directly closed, and then the operation interface is switched to be displayed, or the current application may also be exited, but the application is not closed, the application is continuously run in the background, and then the operation interface is switched to be displayed.
In the embodiment, the operation gesture of the user on the terminal is obtained, the operation interface is determined according to the operation gesture, and the operation interface can be switched to the operation interface.
In addition, by adopting the technical scheme provided by the invention, the terminal can be directly switched to the determined operation interface according to the operation gesture of the user on the terminal, so that the data interaction between the input equipment of the terminal and the terminal, which is increased because the terminal can display the page of the application which the user wants to use only by executing complicated operation in the prior art, can be avoided, the processing load of the terminal is reduced, and the performance of the terminal is improved.
In addition, by adopting the technical scheme provided by the invention, the operation interface can be directly switched to the determined operation interface according to the operation gesture of the user on the terminal, so that the user experience can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the determined operation interface can be directly switched according to the operation gesture of the user on the terminal, so that the switching real-time performance of the operation interface can be effectively improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 2 is a schematic structural diagram of a switching device of an operation interface according to another embodiment of the present invention, as shown in fig. 2. The switching means of the operation interface of the present embodiment may include an acquisition unit 21, a determination unit 22, and a switching unit 23. The acquiring unit 21 is configured to acquire an operation gesture of a user on the terminal; the determining unit 22 is used for determining an operation interface according to the operation gesture; and the switching unit 23 is used for switching to the operation interface.
It should be noted that the switching device of the operation interface provided in this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or a Software Development Kit (SDK) located in the application of the local terminal, which is not particularly limited in this embodiment.
It should be understood that the application may be a native app (native app) installed on the terminal, or may also be a browser or a web page program (webApp) thereof on the terminal, which is not limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the operation gesture of the user on the terminal, acquired by the acquiring unit 21, may include, but is not limited to, at least one of the following operation gestures:
the operation data of the user on the keys of the terminal;
the suspended sliding data of the user above the terminal;
touch swipe data of a user on a display device of the terminal; and
motion data of the user of the terminal.
Optionally, in a possible implementation manner of this embodiment, the obtaining unit 21 may be specifically configured to detect an operation gesture of the terminal by the user based on a preset specified interface.
In a specific implementation process, the designated interface may be a desktop of an operating system of the terminal. The operating system may include, but is not limited to, an ios operating system of apple, an android operating system of google, or a Windows operating system of microsoft, or other terminal operating systems.
The desktop of the operating system refers to a desktop provided by the operating system operated by the terminal, and is a main entrance for interaction between a user and the terminal and a graphical user interface for human-computer interaction. The desktop of the operating system may be configured to include, but is not limited to, any operational object. For example, icons of application programs, such as one or any combination of icons of a telephone, information, a memo, a photo, a microblog, a WeChat, a cell phone housekeeper, and various games, or, for example, icons of system functions, such as an icon of system settings or a system menu.
In another specific implementation, the designated interface may be any page of a designated application. The specific application may include, but is not limited to, any APP in the terminal or at least one preset application. For example, Taobao APP or Jingdong APP.
In another specific implementation, the designated interface may be a designated page of a designated application. The specific application may include, but is not limited to, any APP in the terminal or at least one preset application. For example, Taobao APP or Jingdong APP. The designated page may include, but is not limited to, at least one page of a preset of a designated application. E.g. payment page of panning APP, etc.
Optionally, in a possible implementation manner of this embodiment, the determining unit 22 may be specifically configured to determine, if the operation gesture meets a preset gesture, an operation interface corresponding to the preset gesture.
And the data of the preset gesture can be stored in a storage device of the terminal.
In this embodiment, the operation interface determined by the determining unit 22 may include, but is not limited to, a desktop of an operating system or a page of an application, which is not particularly limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the switching unit 23 may specifically directly close the current application, and then switch to displaying the operation interface, or may also exit the current application, but not close the application, continue running the application in the background, and then switch to displaying the operation interface.
It should be noted that the method in the embodiment corresponding to fig. 1 may be implemented by the switching device of the operation interface provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 1, and details are not described here.
In this embodiment, the operation gesture of the user on the terminal is acquired by the acquisition unit, and the determination unit determines the operation interface according to the operation gesture, so that the switching unit can switch to the operation interface.
In addition, by adopting the technical scheme provided by the invention, the terminal can be directly switched to the determined operation interface according to the operation gesture of the user on the terminal, so that the data interaction between the input equipment of the terminal and the terminal, which is increased because the terminal can display the page of the application which the user wants to use only by executing complicated operation in the prior art, can be avoided, the processing load of the terminal is reduced, and the performance of the terminal is improved.
In addition, by adopting the technical scheme provided by the invention, the operation interface can be directly switched to the determined operation interface according to the operation gesture of the user on the terminal, so that the user experience can be effectively improved.
In addition, by adopting the technical scheme provided by the invention, the determined operation interface can be directly switched according to the operation gesture of the user on the terminal, so that the switching real-time performance of the operation interface can be effectively improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.