CN109547623B - Interface switching method and device - Google Patents

Interface switching method and device Download PDF

Info

Publication number
CN109547623B
CN109547623B CN201710861479.1A CN201710861479A CN109547623B CN 109547623 B CN109547623 B CN 109547623B CN 201710861479 A CN201710861479 A CN 201710861479A CN 109547623 B CN109547623 B CN 109547623B
Authority
CN
China
Prior art keywords
interface
node
interface node
application
switching
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.)
Active
Application number
CN201710861479.1A
Other languages
Chinese (zh)
Other versions
CN109547623A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710861479.1A priority Critical patent/CN109547623B/en
Publication of CN109547623A publication Critical patent/CN109547623A/en
Application granted granted Critical
Publication of CN109547623B publication Critical patent/CN109547623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the application provides an interface switching method and device, wherein the method comprises the following steps: determining touch operation of an application interface in an application; triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is obtained by constructing an application interface aiming at the application; determining interface nodes to be switched according to the selection operation aiming at the interface nodes in the switching interface; and skipping to the application interface corresponding to the interface node to be switched. According to the method and the device, the switching interface at least comprising one interface node is built, the interface corresponding to the interface node is directly jumped to according to the touch operation of the user on the interface node, the user operation steps are reduced, the page can be conveniently and rapidly switched, the page content can be conveniently checked, and the interface switching efficiency of the user is improved.

Description

Interface switching method and device
Technical Field
The present application relates to the field of information technologies, and in particular, to an interface switching method and apparatus.
Background
With the continuous development of mobile terminal technology, various mobile terminals are equipped with more and more advanced touch devices, so that users can switch scenes of various applications through clicking operations on a touch screen.
For example, after entering a specific function interface of the APP of the mobile terminal, generally, important application scenes of the mobile terminal include a top operation bar and a bottom operation bar, and a user can perform scene switching or function selection by touching or clicking a corresponding function icon on the operation bar, wherein the function also includes a recently published Force Touch function applied on the mobile terminal, and a shortcut function corresponding to the APP can be opened by re-pressing the icon of the APP in a state that the APP is not opened.
In the above touch operation manner, in the top operation bar and the bottom operation bar included in the APP function interface, the bottom operation bar button is used as a main channel switch, the top operation bar button is used as a current channel for switching different functions, and a common function is hidden in the function of the channel, which is inconvenient for a user to use quickly. When a user switches an interface, the user needs to click a function button of an operation bar, and the button is distributed at the top and the bottom of the interface, so that the user needs to adjust the gesture of holding the mobile phone to operate, and a complex operation flow is needed, which causes inconvenience in quickly switching pages and checking page contents.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide an interface switching method, so as to perform interface switching by triggering a tree-shaped navigation bar on a display interface of a mobile terminal through a pressing operation, thereby solving a problem that a user cannot switch an interface through simple steps in an application in the prior art.
Correspondingly, the embodiment of the application also provides an interface switching device, which is used for ensuring the realization and the application of the method.
In order to solve the above problem, an embodiment of the present application discloses an interface switching method, including:
determining touch operation of an application interface in an application;
triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is obtained by constructing an application interface aiming at the application;
determining interface nodes to be switched according to the selection operation aiming at the interface nodes in the switching interface;
and skipping to the application interface corresponding to the interface node to be switched.
The embodiment of the application also discloses an interface switching method, which comprises the following steps:
receiving a setting combination instruction aiming at an application interface of an application, which is input in an external input device;
triggering and displaying a switching interface at least comprising one interface node according to the set combination instruction, wherein the interface node is obtained by constructing an application interface aiming at the application;
receiving selection operation aiming at the interface node in the switching interface and input by an external input device, and determining the interface node to be switched;
and skipping the application to the application interface corresponding to the interface node to be switched according to the determined interface node to be switched.
Correspondingly, the embodiment of the present application further discloses an interface switching device, including:
the touch operation receiving module is used for determining the touch operation of an application interface in the application;
the switching interface triggering module is used for triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is obtained by constructing an application interface aiming at the application;
the interface node to be switched determining module is used for determining the interface node to be switched according to the selection operation aiming at the interface node in the switching interface;
and the corresponding interface skipping module is used for skipping to the application interface corresponding to the interface node to be switched.
The embodiment of the application also discloses an interface switching device,
the combined instruction receiving module is used for receiving a set combined instruction aiming at an application interface of an application, which is input in the external input equipment;
the switching interface corresponding triggering module is used for triggering and displaying a switching interface at least comprising one interface node according to the set combination instruction, wherein the interface node is obtained by constructing an application interface aiming at the application;
the interface node module corresponding to the triggering navigation is used for receiving selection operation aiming at the interface node in the switching interface and input through external input equipment and determining the interface node to be switched;
and the interface skipping module is used for skipping the application to the application interface corresponding to the interface node to be switched according to the determined interface node to be switched.
The embodiment of the application also discloses a device, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of any one of the interface switching methods are realized.
The embodiment of the application also discloses a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the interface switching methods are realized.
The embodiment of the application has the following advantages:
the method includes the steps of determining touch operation of an application interface in an application, triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is constructed for each application interface of the application, further receiving selection operation for the interface node of the switching interface in the navigation path, determining the interface node to be switched, and jumping to the application interface corresponding to the application according to the determined interface node to be switched. The method and the device have the advantages that the user can quickly select a corresponding interface node on the switching interface to switch to the corresponding interface by triggering the switching interface, the operation process is simple, the operation steps of the user are reduced, the page can be conveniently and quickly switched, the content of the page can be conveniently checked, and the efficiency of switching the interface by the user is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of an interface switching method according to the present application;
FIG. 1A is a schematic diagram of a multi-level navigation path trigger of the present application;
FIG. 2 is a flowchart illustrating steps in an alternative embodiment of an interface switching method according to the present application;
FIG. 2A is a schematic view of a multi-level navigation path sliding maneuver of the present application;
FIG. 3 is a flowchart illustrating steps in an alternative embodiment of an interface switching method according to the present application;
FIG. 4 is a flowchart illustrating steps in an alternative embodiment of an interface switching method according to the present application;
FIG. 5 is a block diagram of an embodiment of an interface switching device according to the present application;
FIG. 6 is a block diagram of an embodiment of an interface switching device according to the present application;
fig. 7 is a schematic hardware structure diagram of an apparatus according to another embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
When the mobile terminal is used, the touch operation of a user on the mobile terminal is realized by tracking the tapping, sliding, light pressing or heavy pressing of a finger on the display screen of the mobile terminal through a sensor arranged in the display screen of the mobile terminal, and realizing or triggering a corresponding instruction of the mobile terminal. In practical application, a capacitive touch screen is taken as an example for explanation, when a finger of a user touches the touch screen, the capacitance of a contact point changes, so that the frequency of an oscillator connected with the capacitance changes, the touch position can be determined by measuring the frequency change of the oscillator, and further, the operation information of the user in an edge touch area of the terminal can be acquired. The pressure Touch control configured on many mobile terminals at present realizes the change of electrical data by sensing the generation and change of pressure, generates an instruction by the electrical data, and finally reaches the pressure to indirectly realize the instruction process. The method comprises the steps of sensing finger pressure through a screen, generating different electrical signals through area change of the finger pressure, processing the electrical signals by a pressure sensing device, receiving pressure sensor signals by a mobile phone CPU, generating corresponding instructions by the mobile phone CPU, sensing instruction change (such as screen change and menus) generated by pressure by a customer, wherein the most main hardware equipment is a Touch sensor Force Touch Sensors, so that when the mobile terminal is provided with the Touch sensor, the mobile terminal can be controlled through different Touch operations of the user, and different pressing operations can be distinguished through the strength of the pressing operation to trigger different Touch instructions.
In practical applications, under the condition that different touch senses of a user cannot be sensed, a touch sensor equipped in a general mobile terminal can only complete different operation instructions by recognizing touch operations such as clicking and sliding, so that when a jump operation of an application interface is completed, page jump needs to be realized one by one through menu selection operations of multiple steps.
According to the method and the device, the touch sensor is used for sensing the pressing touch operation of the user, the multi-level navigation path of each function menu corresponding to the current page is triggered, the sliding or clicking operation of the user on the navigation path is received to determine the interface node, and the user directly jumps to the interface node, so that the multi-step page jump operation is simplified into simple steps, the user operation is simplified, and the controllability of page conversion is improved.
It should be noted that the mobile terminal according to the embodiments of the present application may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like, and the mobile terminal is equipped with a sensing element capable of obtaining a user pressing touch operation.
Referring to fig. 1, a flowchart of steps of an embodiment of an interface switching method according to the present application is shown, which may specifically include the following steps:
step 101, determining touch operation of an application interface in an application.
In the embodiment of the application, in any mobile terminal capable of touch operation used by a user, when the user performs touch operation in a touch operation area of the mobile terminal, a touch sensor configured in the touch operation area of the mobile terminal is used for capturing touch sense of the touch operation of the user and converting the touch sense into a corresponding electric signal, so that the mobile terminal is controlled by the touch operation. The touch input device comprises a touch screen and a touch pad, and particularly, the touch input device comprises a sensible touch screen, resistance change is generated by receiving pressure by sensing the pressure, the touch screens at different parts are subjected to pressure action, the structure is changed, the resistance change can generate an analog signal, different influences are generated on an electric signal, and therefore operation at a specified position is achieved.
In addition, the Touch operation is not limited to the Force Touch pressing operation described above, and may be other Touch operations such as sliding and clicking in a designated area, which is not limited in this embodiment of the present invention.
And step 102, triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is obtained by constructing an application interface aiming at the application.
In the embodiment of the application, interface nodes can be constructed for each application interface of the application. The interface node can be displayed in the switching interface, and after the interface node is clicked, the corresponding application interface can be skipped to.
In the embodiment of the application, after the touch operation of a user on the mobile terminal is received, if the touch operation is a pressing touch operation, a switching interface of the current application interface is triggered according to the current application interface receiving the pressing touch operation, and the switching interface comprises at least one interface node.
For example, the at least one interface node can be presented in the form of a navigation path. The navigation path may be a multi-level navigation path, which may be tree-structured.
Then, when the user performs a press touch operation on an application interface, and according to the setting, the touch operation is a re-press and often exceeds one second, the tree-shaped navigation path of the current application interface is triggered, and each node on the navigation path is constructed by each interface connected with the application interface. As described in fig. 1A, after a user performs a pressing operation on a display interface of a shopping website, a tree-shaped navigation bar for the interface is triggered, where the navigation bar is a root node at a position pressed by the user, and the root node corresponds to other function interfaces connected to the interface in the child nodes displayed by the child nodes. Of course, the navigation path may only show the starting node in the initial state, and then show the tree structure of other one or more levels according to further triggering operations.
For example, the at least one interface node may also be displayed in the form of an application interface level directory, for example, starting from an interface node of the application corresponding to the application interface, the display is performed in the form of a directory from left to right according to a parent-child relationship between the interface nodes.
Of course, the display form of the interface node is not limited in the embodiments of the present application.
And 103, determining the interface node to be switched according to the selection operation aiming at the interface node in the switching interface.
In the embodiment of the application, after the interface nodes are displayed, a user can select the interface nodes on the switching interface, and when a certain interface node is selected, the interface node is determined as the node to be switched. The selection operation may be continued to be a pressing operation, or may be a clicking or sliding operation, which is not limited in the embodiment of the present application.
Taking the navigation path as an example, when the user performs a selection operation on an interface node on the displayed navigation path, the selected interface node is used as the interface node to be switched.
In practical application, taking the selection operation as the sliding operation as an example, when the user slides to an area where a certain interface node is located after triggering the navigation path, and then releases the sliding operation, the interface node corresponding to the release position can be used as the interface node to be switched. Specifically, the interface node corresponding to the position of the selection operation can be determined according to the electrical impedance effect generated on the pressure sensor of the screen and the coordinate position of the screen where the electrical impedance effect is generated. Of course, the sensor receiving the user operation may also be an optical sensor or a thermal sensor, or a sensor capable of detecting any type of touch operation by the user, which is not limited in this embodiment of the application.
And 104, jumping to an application interface corresponding to the interface node to be switched.
In the embodiment of the application, after the node on the multilevel navigation path corresponding to the touch selection operation of the user is determined, the interface corresponding to the interface node is switched. As described in fig. 1A, when it is detected that the selected node is a "shopping cart" node through a further touch operation by the user in the tree navigation bar, the interface corresponding to the "shopping cart" is switched to. Specifically, in a configuration file corresponding to the multi-level navigation path, trigger information of an interface corresponding to each node is recorded, wherein the trigger information includes information such as a web page address, a rendering effect, a display type and the like of the corresponding interface, and corresponding interface content is displayed in the application interface according to the information.
In the embodiment of the application, touch operation of an application interface in an application is determined; and triggering and displaying a switching interface comprising at least one interface node according to the touch operation, determining an interface node to be switched according to the selection operation aiming at the interface node in the switching interface, and jumping to an application interface corresponding to the interface node to be switched. The method and the device have the advantages that the user can quickly select a corresponding interface node on the switching interface to switch to the corresponding interface by triggering the switching interface, the operation process is simple, the operation steps of the user are reduced, the page can be conveniently and quickly switched, the content of the page can be conveniently checked, and the efficiency of switching the interface by the user is improved.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of an interface switching method according to the present application is shown, which may specifically include the following steps:
step 201, determining a touch operation of an application interface in an application through a touch input device; the touch input device comprises one of a touch screen and a touch pad.
In this embodiment, when a user performs a touch operation on a touch operation area of any mobile terminal capable of performing the touch operation, a touch sensor configured in the touch operation area of the mobile terminal captures a touch sense of the touch operation of the user and converts the touch sense into a corresponding electrical signal, so as to control the mobile terminal by the touch operation.
It should be noted that, in some touch input devices, when a pressure value of a pressure touch input reaches a preset threshold, a pressure sensing device disposed below a touch screen may perform vibration feedback according to a pressing force of a user, that is, how much force the user presses, the pressure sensing device feeds back the force to the user, and the feedback force is transmitted to a finger of the user through the touch screen, so that the user can clearly feel a change in the pressure value of the pressure touch input, thereby improving a taste and a user experience.
Step 202, generating a switching interface according to the touch operation.
In the embodiment of the application, when the touch sensor in the mobile terminal identifies the touch operation and triggers the generation of the switching interface, a dark covering layer can be generated to cover the original page, so that the operation of a user on the navigation interface does not affect the original page.
Specifically, when the generation of the switching interface is triggered, a pop-up layer is triggered first, and the pop-up layer comprises a main body layer and a mask layer. Hw-overlay, we use CSS (cascading style sheet) to control it to be a translucent layer to separate the pop-up layer from the page body content. Then in the hw-layer-wrap body layer, we can set the content of the pop-up layer, which is determined by the requirement of page display. In this embodiment, the body layer may display at least one interface node.
In practical applications, the implementation manner of the popup layer is not limited to the above description, and differs according to different mobile terminal systems, and the embodiment of the present application is not limited thereto.
And 203, displaying the root application interface of the application or the current application interface and the corresponding interface node as a starting node in the switching interface.
In the embodiment of the application, at least one interface node can be displayed in various ways on the switching interface.
For example, for an application, according to the jump logic of the application interface, parent-child relationships exist between interfaces, and then an interface entered when the application is started can be regarded as a root application interface of the application, and then the parent interface node of the root application interface can be presented as a start node in the embodiment of the present application.
In this case, taking the navigation path as an example, only the start node may be displayed first, or the child interface nodes of a plurality of levels below the start node may be displayed.
In addition, the user may trigger the presentation of the switching interface when accessing an application interface. At this time, the application interface where the trigger is located can be used as the starting node for displaying.
In this case, taking the navigation path as an example, only the start node may be displayed first; when the starting node has no parent interface node, at least one level child interface node below the starting node can be displayed; when the starting node has no child interface node, at least one level child interface node above the starting node can be displayed; when the start node has both a parent interface node and a child node, at least one level of child interface nodes below the start node may be exposed and/or at least one level of child interface nodes above the start node may be exposed.
Preferably, the interface node name is a corresponding application interface name in the application.
Specifically, the display method includes reading page information of a current page, page information of a functional interface having a link relationship with the current page, and a function name to which the corresponding functional interface belongs when the multi-level navigation path is preset, and displaying the function name as a child node name when the multi-level navigation path is displayed. For example, as described in fig. 1A, when the user presses the current interface, a multi-level navigation path corresponding to the interface is popped up, where the multi-level navigation path includes "micro-panning", "my panning", "asking everyone", "shopping cart", "panning and shopping for a good item", and the five names are the names of the functional interfaces corresponding to the current interface, i.e. the first-level child nodes of the root node.
In practical application, the multi-level interface nodes displayed on the switching interface may be displayed by using a root application interface of the current application as a start node, or may be displayed by using an application interface where the current user is located as a start node, and the product requirements are adjusted.
Preferably, the at least one interface node is displayed in the form of a navigation path, and the start node is a start node of the navigation path.
As described in fig. 1A, a root node and a whole tree structure in a multi-level node are displayed at a position corresponding to a touch operation of a user, a second-level child node is located below a first-level child node of the root node, and a functional interface of the first-level child node corresponds to the root node, for example, a user may open interfaces such as "favorite" and "favorite store" under an interface of "my treasure", and names of lower-level nodes of "favorite" and "favorite store" are child nodes. The second-level interface nodes corresponding to the first-level interface nodes in the whole tree structure and the third-level interface nodes, namely at least one level of interface nodes, can be displayed, and the displayed hierarchy number can be displayed according to preset display attributes. Specifically, during the display, only the first-level node currently receiving the click touch operation and at least one level of child nodes thereof, or the first-level node currently receiving the click touch operation and at least one level of parent nodes thereof may be displayed, and of course, the display effect may be displayed according to the user requirement.
Specifically, for example, in android, TreeView (multi-level list tree) is to provide two lists, namely, ListView and ExpandableListView, by default using an android system, ending with constantly changing data displayed by the ListView, that is, interface display information corresponding to each interface node, modifying the interface display information data into data content, that is, interface node names, which a user wants to see according to the operation of the user, and displaying a navigation path of a tree structure according to the difference of each data item, wherein each element in the tree and corresponding data are added by using a multi-level list tree adaptation function TreeView adapter (), and the corresponding data include a display effect, namely displaying a level node or a multi-level node.
Of course, the specific implementation is not limited to the above description, and the embodiment of the present application is not limited thereto.
Preferably, the starting node is displayed at the position where the touch operation is located.
In the embodiment of the application, after the operation that a user triggers the multi-level navigation path is received in the whole screen, the path is displayed as the position of the root node according to the position of the touch control screen where the touch control operation triggering the navigation path is located. In practical application, if the touch key of the mobile terminal is triggered, the root node displayed by the multi-level navigation path is displayed at a preset position, for example, an (x, y) coordinate of a display screen, and the corresponding other nodes are displayed, which is not limited in this embodiment of the present application.
It should be noted that steps 202-203 are preferred steps of step 102 in the previous embodiment.
And 204, receiving sliding operation aiming at the interface nodes in the switching interface.
In the embodiment of the application, when the interface nodes include multiple levels, the user can keep the touch screen state after the switching interface including the multiple levels of interface nodes is displayed, and then continue to slide to select the interface nodes.
Taking the navigation path shown in the switching interface as an example, on the display interface of the displayed multi-level navigation path, if the sliding operation is detected in the state that the user keeps the screen touch, the node corresponding to the position where the activity operation is finished is detected.
For example, if the event that the horizontal drag of the user is detected to be greater than 30PX within one second or the vertical drag of the user is detected to be less than 20PX on the display screen of the mobile terminal, the event is triggered to be a sliding touch operation, wherein a sliding detection function is used for performing sliding detection, and screen coordinates of a position where the sliding operation is finished are recorded.
Step 205, when the sliding operation slides to an interface node according to the navigation path and the sliding operation is released, determining that the interface node is the interface node to be switched.
In the embodiment of the application, when the sliding operation is released, namely the screen coordinate of the position where the sliding operation is finished is matched with the screen coordinate of the interface node, and if the screen coordinate is matched with the screen coordinate of the interface node, the interface node is the interface node to be switched.
Taking the navigation path as an example, when the screen coordinates of the position where the sliding operation is released, that is, the sliding operation is ended, are matched with the coordinates of one node of the multi-level navigation path displayed on the current screen, it is determined that the user selects the interface node.
Preferably, in an optional embodiment of the present application, the method further includes:
and step A11, when the sliding operation slides to an interface node according to the navigation path, the sliding operation stays at the interface node.
In the embodiment of the application, after a node is determined to be an interface node selected by a user, whether the node has a child node is further judged, and specifically, an interface node configuration file selected in the multi-level navigation path can be read.
Step A12, when the sliding operation is from a parent interface node to the staying interface node, judging whether the staying interface node has a next level interface node; if the next level interface node exists, the next level interface node of the interface node where the sliding operation stays is unfolded;
in the embodiment of the application, if it is detected that the node has a corresponding lower node, the information of the child node is read, a popup display function is called for display, and the child node is further displayed in the determined interface node in combination with the coordinate position of the current node on a display screen for the user to continuously select.
Step A13, when the sliding operation is from a sub-level interface node to the staying interface node, judging whether the staying interface node has a previous level interface node; and if the interface node at the upper level exists, unfolding the interface node at the upper level of the interface node where the sliding operation stays.
In the embodiment of the application, similarly, if it is detected that the node has a corresponding upper node, the information of the upper node is read, a popup display function is called to display, and the upper node is further displayed in the determined interface node in combination with the coordinate position of the current node on the display screen for the user to continuously select, wherein the number of the upper nodes may be one or more, and the displayed position may be obtained from the configuration file of the current node.
Specifically, for example, for android, treelist view adapter () function may be used to establish tree navigation, and then a Node acquisition function List < Node > mlist ═ new ArrayList [ >) is used to further acquire superior and subordinate nodes in the Node selected by the current user. Of course, different versions of systems or different systems may have different ways of acquiring the upper and lower nodes, and the embodiments of the present application do not limit the manners.
Of course, if it is the aforementioned application interface level directory, the corresponding next level or multi-level directory may be expanded in a similar manner, or the directory of the previous level or multi-level may be expanded in a similar manner.
Preferably, in an optional embodiment of the present application, the method further includes:
step A14, when the sliding operation slides to an interface node according to the navigation path and the passed interface node are in the unselected state, setting the passed path and the passed interface node to be in the selected state.
In the embodiment of the present application, as described in fig. 2A, when the sliding operation of the user is performed along the tree-shaped navigation path, the color of the path that has been slid may be deepened to display the path selected by the user as the selected state, and specifically, after the sliding path on the screen of the user is read, the data may be returned to the corresponding parameter in the screen popup display function for implementation, and at the same time, the selected path data is cached.
And step A15, when the sliding operation returns according to the selected path, the path and the interface node which are passed by the returning operation are modified into an unselected state.
In this embodiment of the present application, when a sliding operation of a user is monitored, and when path data corresponding to the sliding operation is the same as routed path data cached by a mobile terminal, it is determined that the sliding operation of the user corresponds to a routed path, and then a color deepening effect performed by the routed path is eliminated to show an unselected state of the path.
Preferably, in an optional embodiment of the present application, the method further includes:
step A16, hiding the rest interface nodes except the interface node to be switched.
In the embodiment of the present application, after a user selects a node, other nodes are hidden except the node, the first subordinate child node thereof, and the corresponding path, specifically, after the selected node is determined, the first-level child node of the node, or information of the multi-level child node, is obtained from the configuration file of the node, and the multi-level path navigation is displayed according to the content of the node displayed by the node information.
Preferably, the interface node name is a corresponding application interface name in the application.
In the embodiment of the application, when displaying the multi-level path navigation, name information of a corresponding function menu in interface information of an interface corresponding to each node is obtained, and the corresponding node is displayed by the name, specifically, the name of a function menu bar on a current display interface is obtained first, then, content information of a webpage triggered by the function menu bar, such as information of a website, a display style and the like, is further obtained, the information is added to configuration information of the multi-level navigation, and when displaying the navigation path, an application interface name corresponding to each node is displayed.
And step 206, calling a preset jump interface corresponding to the interface node according to the determined interface node to be switched, and jumping the application to an application interface corresponding to the interface node to be switched.
In the embodiment of the application, when the sliding operation of the user on the navigation path is detected to be finished, that is, the touch operation of the user is eliminated, the corresponding node is determined as the node of the final jump interface, jump page information contained in the configuration information of the node is read, a preset page jump interface is called, and the application interface corresponding to the interface node is jumped to.
In the embodiment of the application, a switching interface is triggered and displayed according to a preset touch operation, in the switching interface, a root interface node of a navigation path is used as a starting node, a sliding operation is performed, an interface node is determined according to a position corresponding to the end of the sliding operation, and the switching interface is switched to a function interface of an application corresponding to the interface node. The method and the device have the advantages that the function that a user triggers a switching interface at least comprising one interface node through preset touch operation and quickly switches to the corresponding interface by selecting the interface node of the corresponding page through sliding operation is achieved, and the method and the device have the advantage that the efficiency of the user in browsing each interface of the application is improved.
Referring to fig. 3, a flowchart illustrating steps of an interface switching method in a specific example of the present application is shown, which may specifically include the following steps:
step 301, determining a touch operation of an application interface in an application.
This step is referred to as step 101 of the previous embodiment and will not be described in detail here.
Step 302, generating a switching interface according to the touch operation.
This step is the same as step 202 and will not be described in detail here.
And 303, displaying the root application interface of the application or the current application interface and the corresponding interface node as a starting node in the switching interface.
This step is the same as step 203 and will not be described in detail here.
And step 304, receiving click operation aiming at the interface node in the switching interface.
In this embodiment of the application, according to the description in step 301, after the click operation of the user is identified, the position on the navigation path corresponding to the position is further determined at the recorded position of the click operation of the user on the touch screen or the touch panel, and if the position corresponds to an interface node on the navigation path, the node is determined to be the interface node selected by the user.
And 305, when the number of times of the clicking operation is the first time, determining that the interface node is the interface node to be switched.
In the embodiment of the present application, when it is determined that the number of times that the user clicks is the preset number of times, the currently clicked interface node is determined to be the interface node selected by the user, and of course, the number of times of clicking may be set by the user according to the user requirement, or may be default by the system.
In practical application, corresponding operations may be triggered according to different numbers of clicks, for example, when a click is made once, a corresponding interface node displays its child node, and if the click is made twice continuously, the interface corresponding to the interface node is directly converted into, and the specific number of clicks and the operation corresponding to the trigger may be set differently according to different nodes, which may be set according to specific requirements of current application, which is not limited in this embodiment of the present application.
Preferably, in an optional embodiment of the present application, the method further includes:
and step S11, when the number of times of the click operation is a second number of times and the interface node is in an unselected state, selecting the interface node.
In the embodiment of the application, when the number of clicks received by a node corresponding to a received click operation is a preset number, and the node is not determined as a selected interface node through other touch operations of a user, the current node is determined as the selected interface node.
Step S12, when the selected interface node has the selected interface node at the previous level, judging whether the selected interface node has the next level interface node; and if the next level interface node exists, expanding the next level interface node of the selected interface node.
In the embodiment of the application, if it is detected that the node has a corresponding lower node, the information of the child node is read, a popup display function is called for display, and the child node is further displayed in the determined interface node in combination with the coordinate position of the current node on a display screen for the user to continuously select.
Step S13, when the next level of the selected interface node has the selected interface node, judging whether the selected interface node has the previous level interface node; and if the interface node at the upper level exists, expanding the interface node at the upper level of the selected interface node.
In the embodiment of the application, similarly, if it is detected that the node has a corresponding upper node, the information of the upper node is read, a popup display function is called to display, and the upper node is further displayed in the determined interface node in combination with the coordinate position of the current node on the display screen for the user to continuously select, wherein the number of the upper nodes may be one or more, and the displayed position may be obtained from the configuration file of the current node.
And step S14, when the number of the click operations is a second number and the interface node is in the selected state, clearing the selected state of the interface node.
In the embodiment of the application, when the number of times of clicking of the user is monitored to be the preset second time and the interface node clicked by the user currently is detected to be in the selected state, the selected state of the current interface node is converted into the unselected state. Specifically, taking android as an example, in the treelist viewadapter () function, if isChecked () of a node is true, the state is the selected state. And controlling the selection and cancellation states of linkage between the parent and the child only by calling a setChecked method.
Preferably, in an optional embodiment of the present application, the method further includes:
in step S15, the path between the interface nodes in the selected state is set to the selected state.
In the embodiment of the application, after a selected interface node is determined, a path extending from a root node to the selected node is also converted into a selected state, wherein the node information of the node selected by a user on a screen can be read, the node information comprises path data corresponding to the node, the data is returned to corresponding parameters in a screen popup display function for implementation, and meanwhile, the selected path data is cached.
Preferably, in an optional embodiment of the present application, the method further includes:
and step S16, hiding the rest interface nodes except the interface node to be switched.
This step is the same as step a16 and will not be described in detail here.
And step 306, jumping to an application interface corresponding to the interface node to be switched.
This step is the same as step 207 and will not be described in detail.
In the embodiment of the invention, a switching interface is triggered and displayed according to a preset touch operation, a current application root interface node or a current interface is used as an initial node in the switching interface, a click operation is carried out, an interface node is determined according to a position corresponding to a preset number of times of the recognition click operation, and the switching interface is switched to an application function interface corresponding to the interface node. The function that the user can quickly switch to the corresponding application interface by triggering the switching interface and selecting the interface node of the corresponding page through clicking operation is achieved, and the method has the advantage of improving the efficiency of the user in browsing each application interface.
Referring to fig. 4, a flowchart illustrating steps of an interface switching method in a specific example of the present application is shown, which may specifically include the following steps:
step 401, receiving a setting combination instruction for an application interface of an application, which is input through an external input device.
In the embodiment of the present application, different from the manner of touch operation on the display screen in the foregoing embodiment, an external input device may be used to input a combination instruction in the embodiment of the present application to implement fast switching of the interface.
The external input equipment can comprise physical keys of a mobile terminal, such as a volume adjusting case and the like, a keyboard, a mouse, a handle and the like of a Personal Computer (PC), a handle of virtual reality, sight line acquisition equipment and the like.
In practical application, the switching interface can be triggered by the combined operation of the external input device. For example, for a PC, a switching interface of an application is triggered by a combined operation of a keyboard and a mouse; in the VR equipment, the switching interface of the application can be triggered together in a mode of capturing the handle and the sight of the user; the combined instructions of the touch operations may be preset in the setting of the mobile terminal according to the requirements of the user, which is not limited in the embodiment of the present application.
Step 402, according to the set combination instruction, triggering and displaying a switching interface at least comprising one interface node, wherein the interface node is obtained by constructing an application interface aiming at the application.
In the embodiment of the application, when a combined instruction of a touch operation is received, if the combined instruction is detected to be the same as a preset instruction, a switching interface including at least one interface node is triggered and displayed.
Step 403, receiving a selection operation for the interface node in the switching interface, which is input through an external input device, and determining the interface node to be switched.
In the embodiment of the application, other combination instructions can be input through external input equipment to realize the selection operation of the interface node of the switching interface, so that the interface node to be switched is determined.
Of course, the combination instruction corresponding to the selection operation of selecting the interface node in the actual application may also be preset. And when the combined instruction input by the user through the external input equipment is matched with the preset instruction, executing corresponding selection operation.
And step 404, skipping to an application interface corresponding to the interface node to be switched.
This step is the same as step 104 and will not be described in detail here.
It should be noted that, unlike the aforementioned embodiment that implements the corresponding process by a touch method, the embodiment processes the touch method, and is similar to other operation logics of the navigation path and the application interface level directory, and details thereof are not described here.
In the embodiment of the application, a switching interface of the application is triggered and displayed according to a preset combined touch operation, and in the switching interface, an interface node is used as a starting node to perform a sliding operation, so that the interface node is determined according to a position corresponding to the end of the sliding operation, and the switching interface is switched to a function interface of the application corresponding to the interface node. The method and the device have the advantages that the user can trigger the switching interface at least comprising one interface node through the combined instruction, and can select the interface node of a corresponding page through sliding operation to quickly switch to the corresponding interface, and the method and the device have the advantage of improving the efficiency of the user in browsing each interface.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 5, a block diagram of an embodiment of an interface switching device according to the present application is shown, and specifically, the interface switching device may include the following modules:
a touch operation receiving module 501, configured to determine a touch operation of an application interface in an application;
a switching interface triggering module 502, configured to trigger and display a switching interface including at least one interface node according to the touch operation, where the interface node is constructed for the application interface of the application;
an interface node to be switched determining module 503, configured to determine an interface node to be switched according to a selection operation for the interface node in the switching interface;
and a jump corresponding interface module 504, configured to jump to an application interface corresponding to the interface node to be switched.
In an optional embodiment of the present application, the switching interface triggering module 502 includes the following sub-modules:
the switching interface generating submodule is used for generating a switching interface according to the touch operation;
the starting node determining submodule is used for displaying the corresponding interface node serving as a starting node in the switching interface by using the root application interface or the current application interface of the application;
in an optional embodiment of the present application, the switching interface triggering module 502 includes:
the switching interface generating submodule is used for generating a switching interface according to the touch operation;
in an optional embodiment of the present application, the interface node to be switched determining module 503 includes:
the sliding operation receiving submodule is used for receiving the sliding operation aiming at the interface node in the switching interface;
and the interface node determining submodule is used for determining the interface node to be switched when the sliding operation slides to the interface node according to the navigation path and releases the sliding operation.
In an optional embodiment of the present application, the interface node to be switched determining module 503 further includes:
a touch stay sensing submodule, configured to slide to an interface node according to the navigation path and stay at the interface node when the sliding operation is performed, and then
A lower node judgment submodule, configured to judge whether the staying interface node has a next interface node when the sliding operation is to slide from a parent interface node to the staying interface node; if the next level interface node exists, the next level interface node of the interface node where the sliding operation stays is unfolded;
the superior node judgment submodule is used for judging whether the staying interface node has a superior interface node or not when the sliding operation is from a subordinate interface node to the staying interface node; and if the interface node at the upper level exists, unfolding the interface node at the upper level of the interface node where the sliding operation stays.
In an optional embodiment of the present application, the apparatus further comprises:
determining a selected node submodule, configured to set a passed path and a passed interface node in a selected state when the sliding operation slides to an interface node according to the navigation path and the passed interface node are in an unselected state;
and the unselected node determining submodule is used for modifying the path and the interface node which pass through in the returning process into an unselected state when the sliding operation returns according to the selected path.
In an optional embodiment of the present application, the interface node to be switched determining module 503 includes:
the click operation receiving submodule is used for receiving click operation aiming at the interface node in the switching interface;
and the corresponding interface determining submodule is used for determining the interface node as the interface node to be switched when the number of times of the clicking operation is the first time.
In an optional embodiment of the present application, optionally, the interface node to be switched determining module 503 further includes:
a selected interface node submodule for selecting the interface node when the number of times of the click operation is a second number of times and the interface node is in an unselected state, and
the judging and displaying superior node submodule is used for judging whether the selected interface node has a next-level interface node or not when the selected interface node has the selected interface node at the superior level; if the next level interface node exists, the next level interface node of the selected interface node is expanded;
the judging and displaying lower-level node submodule is used for judging whether the selected interface node has a higher-level interface node or not when the lower level of the selected interface node has the selected interface node; if the interface node at the upper level exists, the interface node at the upper level of the selected interface node is unfolded;
and the selected state clearing submodule is used for clearing the selected state of the interface node when the number of times of the click operation is a second number of times and the interface node is in the selected state.
In an optional embodiment of the present application, the apparatus further comprises:
and the path determination module is a selected state submodule and is used for setting the path between the interface nodes in the selected state to be in the selected state.
In an optional embodiment of the present application, the interface node to be switched determining module 503 further includes:
and the hidden node submodule is used for hiding the rest interface nodes except the interface node to be switched.
In an optional embodiment of the present application, the skip correspondence interface module 504 includes:
and the skip interface calling module is used for calling a preset skip interface corresponding to the interface node according to the determined interface node to be switched and skipping the application to the application interface corresponding to the interface node to be switched.
In an optional embodiment of the present application, the touch operation receiving module 501 includes:
the touch operation receiving submodule is used for determining touch operation of an application interface in an application in the touch input equipment; the touch input device comprises one of a touch screen and a touch pad.
Referring to fig. 6, a block diagram of an embodiment of an interface switching device according to the present application is shown, and specifically, the interface switching device may include the following modules:
a combination instruction receiving module 601, configured to receive a set combination instruction for an application interface of an application, which is input through an external input device;
a switching interface corresponding triggering module 602, configured to trigger and display a switching interface that at least includes one interface node according to the set combination instruction, where the interface node is constructed for the application interface of the application;
a module 603 corresponding to the triggered navigation interface node, configured to receive a selection operation for the interface node in the switching interface, which is input through an external input device, and determine an interface node to be switched;
and an interface skipping module 604, configured to skip the application to the application interface corresponding to the interface node to be switched according to the determined interface node to be switched.
The present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of method steps in the present application.
Fig. 7 is a schematic hardware structure diagram of an apparatus according to another embodiment of the present application. As shown in fig. 7, the apparatus of the present embodiment includes a processor 81 and a memory 82.
The processor 81 executes the computer program code stored in the memory 82 to implement the interface switching method of fig. 1 to 4 in the above embodiments.
The memory 82 is configured to store various types of data to support operation at the device. Examples of such data include instructions for any application or method operating on the device, such as messages, pictures, videos, and so forth. The memory 82 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
Optionally, the processor 81 is provided in the processing assembly 80. The apparatus may further include: a communication component 83, a power component 84, a multimedia component 85, an audio component 86, an input/output interface 87 and/or a sensor component 88. The specific components included in the device are set according to actual requirements, which is not limited in this embodiment.
The processing assembly 80 generally controls the overall operation of the device. The processing component 80 may include one or more processors 81 to execute instructions to perform all or part of the steps of the methods of fig. 1-4 described above. Further, the processing component 80 may include one or more modules that facilitate interaction between the processing component 80 and other components. For example, the processing component 80 may include a multimedia module to facilitate interaction between the multimedia component 85 and the processing component 80.
The power supply component 84 provides power to the various components of the device. The power components 84 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for a device.
The multimedia component 85 includes a display screen that provides an output interface between the device and the user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 86 is configured to output and/or input audio signals. For example, the audio component 86 includes a Microphone (MIC) configured to receive external audio signals when the device is in an operational mode, such as a speech recognition mode. The received audio signal may further be stored in the memory 82 or transmitted via the communication component 83. In some embodiments, audio assembly 86 also includes a speaker for outputting audio signals.
The input/output interface 87 provides an interface between the processing component 80 and peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include, but are not limited to: a volume button, a start button, and a lock button.
The sensor assembly 88 includes one or more sensors for providing various aspects of status assessment for the device. For example, the sensor assembly 88 may detect the open/closed status of the device, the relative positioning of the assemblies, the presence or absence of user contact with the device. The sensor assembly 88 may include a proximity sensor configured to detect the presence of nearby objects, including detecting the distance between the user and the device, without any physical contact. In some embodiments, the sensor assembly 88 may also include a camera or the like.
The communication component 83 is configured to facilitate wired or wireless communication between the device and other devices. The device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the device may include a SIM card slot therein for insertion of a SIM card so that the device can log onto a GPRS network to establish communication with a server via the internet.
From the above, the communication component 83, the audio component 86, the input/output interface 87 and the sensor component 88 referred to in the embodiment of fig. 7 can be implemented as input devices.
In an apparatus of this embodiment, the processor constructs a simulation monitoring picture including a static object according to sub-region information uploaded by one or more monitoring subsystems in a region, where the simulation monitoring picture is used to simulate a state of an object in the region; acquiring images acquired by one or more cameras in an area, performing image recognition on the images, and determining corresponding dynamic objects; adding the dynamic object into the simulated monitoring picture to update the simulated monitoring picture
The display is coupled to the processor and displays the simulation monitoring picture.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
It should be apparent to those skilled in the art that embodiments of the present application may be provided as methods and apparatus, or computer program products. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The interface switching method and the interface switching device, the intelligent terminal and the operating system provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (34)

1. An interface switching method is characterized by comprising the following steps:
determining touch operation of an application interface in an application;
triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is obtained by constructing an application interface aiming at the application;
determining interface nodes to be switched according to the selection operation aiming at the interface nodes in the switching interface;
skipping to an application interface corresponding to the interface node to be switched; the switching interface is an overlay layer overlaid on the application interface; the at least one interface node is presented in the overlay layer in the form of a navigation path; displaying parent-child relations among the interface nodes in the display process; wherein the navigation path comprises a form of a tree structure; and under the condition that the selection operation is a sliding operation, expanding nodes of which the tree structures and the interface nodes have parent-child relations according to the interface nodes where the sliding operation is located.
2. The method according to claim 1, wherein the step of triggering display of a switching interface including at least one interface node according to the touch operation includes:
generating a switching interface according to the touch operation;
and in the switching interface, displaying by taking a root application interface of the application or a current application interface and a corresponding interface node as a starting node.
3. The method of claim 2, wherein the start node is a start node of a navigation path.
4. The method of claim 2, wherein the start node is displayed at a location where the touch operation is located.
5. The method according to claim 3, wherein the step of determining the interface node to be switched according to the selection operation for the interface node in the switching interface comprises:
receiving sliding operation aiming at interface nodes in the switching interface;
and when the sliding operation slides to an interface node according to the navigation path and the sliding operation is released, determining that the interface node is the interface node to be switched.
6. The method of claim 5, further comprising:
when the sliding operation slides to an interface node according to the navigation path and stays at the interface node, then
When the sliding operation is to slide from a parent interface node to the staying interface node, judging whether the staying interface node has a next interface node or not; if the next level interface node exists, the next level interface node of the interface node where the sliding operation stays is unfolded;
when the sliding operation is to slide from a sub-level interface node to the staying interface node, judging whether the staying interface node has a higher-level interface node; and if the interface node at the upper level exists, unfolding the interface node at the upper level of the interface node where the sliding operation stays.
7. The method of claim 5, further comprising:
when the sliding operation slides to an interface node according to the navigation path and the passed interface node are in unselected states, setting the passed path and the passed interface node to be in selected states;
and when the sliding operation returns according to the selected path, modifying the path and the interface node which pass through when returning into an unselected state.
8. The method according to claim 2, wherein the step of determining the interface node to be switched according to the selection operation for the interface node in the switching interface comprises:
receiving click operation for interface nodes in the switching interface;
and when the number of times of the clicking operation is the first time, determining that the interface node is the interface node to be switched.
9. The method of claim 8, further comprising:
when the number of the click operations is a second number and the interface node is in an unselected state, selecting the interface node, and
when the selected interface node is at the upper level, judging whether the selected interface node has a next level interface node; if the next level interface node exists, the next level interface node of the selected interface node is expanded;
when the next level of the selected interface node has the selected interface node, judging whether the selected interface node has a previous level interface node; if the interface node at the upper level exists, the interface node at the upper level of the selected interface node is unfolded;
and when the number of times of the clicking operation is a second number of times and the interface node is in the selected state, clearing the selected state of the interface node.
10. The method of claim 9, further comprising:
and setting the path between the interface nodes in the selected state as the selected state.
11. The method of claim 1, wherein the at least one interface node is exposed in an application interface level directory.
12. The method of claim 1, further comprising:
and hiding the rest interface nodes except the interface node to be switched.
13. The method of claim 1, wherein the interface node names are corresponding application interface names in the application.
14. The method according to claim 1, wherein the step of jumping to the application interface corresponding to the interface node to be switched comprises:
and calling a preset jump interface corresponding to the interface node according to the determined interface node to be switched, and jumping the application to an application interface corresponding to the interface node to be switched.
15. The method of claim 1, wherein the step of determining the touch operation of the application interface in the application comprises:
determining touch operation of an application interface in an application through a touch input device; the touch input device comprises one of a touch screen and a touch pad.
16. A method for switching an interface is characterized in that,
receiving a setting combination instruction aiming at an application interface of an application, which is input in an external input device;
triggering and displaying a switching interface at least comprising one interface node according to the set combination instruction, wherein the interface node is obtained by constructing an application interface aiming at the application;
receiving selection operation aiming at the interface node in the switching interface and input by an external input device, and determining the interface node to be switched;
skipping the application to an application interface corresponding to the interface node to be switched according to the determined interface node to be switched; the switching interface is an overlay layer overlaid on the application interface; the at least one interface node is presented in the overlay layer in the form of a navigation path; displaying parent-child relations among the interface nodes in the display process; wherein the navigation path comprises a form of a tree structure; and under the condition that the selection operation is a sliding operation, expanding nodes of which the tree structures and the interface nodes have parent-child relations according to the interface nodes where the sliding operation is located.
17. An interface switching device, comprising:
the touch operation receiving module is used for determining the touch operation of an application interface in the application;
the switching interface triggering module is used for triggering and displaying a switching interface comprising at least one interface node according to the touch operation, wherein the interface node is constructed for an application interface of the application, which receives the touch operation;
the interface node to be switched determining module is used for determining the interface node to be switched according to the selection operation aiming at the interface node in the switching interface;
the corresponding interface skipping module is used for skipping to an application interface corresponding to the interface node to be switched; the switching interface is an overlay layer overlaid on the application interface; the at least one interface node is presented in the overlay layer in the form of a navigation path; displaying parent-child relations among the interface nodes in the display process; wherein the navigation path comprises a form of a tree structure; and under the condition that the selection operation is a sliding operation, expanding nodes of which the tree structures and the interface nodes have parent-child relations according to the interface nodes where the sliding operation is located.
18. The apparatus of claim 17, wherein the switch interface triggering module comprises:
the switching interface generating submodule is used for generating a switching interface according to the touch operation;
and the starting node determining submodule is used for displaying the corresponding interface node as the starting node in the switching interface by using the root application interface or the current application interface of the application.
19. The apparatus of claim 18, wherein the at least one interface node is presented in the form of a navigation path, and wherein the start node is a start node of the navigation path.
20. The apparatus of claim 18, wherein the start node is displayed at a location where the touch operation is performed.
21. The apparatus of claim 19, wherein the interface node to be switched determining module comprises:
the sliding operation receiving submodule is used for receiving the sliding operation aiming at the interface node in the switching interface;
and the interface node determining submodule is used for determining the interface node to be switched when the sliding operation slides to the interface node according to the navigation path and releases the sliding operation.
22. The apparatus of claim 21, further comprising:
a touch stay sensing submodule, configured to slide to an interface node according to the navigation path and stay at the interface node when the sliding operation is performed, and then
A lower node judgment submodule, configured to judge whether the staying interface node has a next interface node when the sliding operation is to slide from a parent interface node to the staying interface node; if the next level interface node exists, the next level interface node of the interface node where the sliding operation stays is unfolded;
the superior node judgment submodule is used for judging whether the staying interface node has a superior interface node or not when the sliding operation is from a subordinate interface node to the staying interface node; and if the interface node at the upper level exists, unfolding the interface node at the upper level of the interface node where the sliding operation stays.
23. The apparatus of claim 21, further comprising:
determining a selected node submodule, configured to set a passed path and a passed interface node in a selected state when the sliding operation slides to an interface node according to the navigation path and the passed interface node are in an unselected state;
and the unselected node determining submodule is used for modifying the path and the interface node which pass through in the returning process into an unselected state when the sliding operation returns according to the selected path.
24. The apparatus of claim 18, wherein the interface node to be switched determining module comprises:
the click operation receiving submodule is used for receiving click operation aiming at the interface node in the switching interface;
and the corresponding interface determining submodule is used for determining the interface node as the interface node to be switched when the number of times of the clicking operation is the first time.
25. The apparatus of claim 24, further comprising:
a selected interface node submodule for selecting the interface node when the number of times of the click operation is a second number of times and the interface node is in an unselected state, and
the judging and displaying superior node submodule is used for judging whether the selected interface node has a next-level interface node or not when the selected interface node has the selected interface node at the superior level; if the next level interface node exists, the next level interface node of the selected interface node is expanded;
the judging and displaying lower-level node submodule is used for judging whether the selected interface node has a higher-level interface node or not when the lower level of the selected interface node has the selected interface node; if the interface node at the upper level exists, the interface node at the upper level of the selected interface node is unfolded;
and the selected state clearing submodule is used for clearing the selected state of the interface node when the number of times of the click operation is a second number of times and the interface node is in the selected state.
26. The apparatus of claim 25, further comprising:
and the path determination module is a selected state submodule and is used for setting the path between the interface nodes in the selected state to be in the selected state.
27. The apparatus of claim 17, wherein the at least one interface node is exposed in an application interface level directory.
28. The apparatus of claim 17, further comprising:
and the hidden node submodule is used for hiding the rest interface nodes except the interface node to be switched.
29. The apparatus of claim 17, wherein the interface node names are corresponding application interface names in the application.
30. The apparatus of claim 17, wherein the jump correspondence interface module comprises:
and the skip interface calling module is used for calling a preset skip interface corresponding to the interface node according to the determined interface node to be switched and skipping the application to the application interface corresponding to the interface node to be switched.
31. The apparatus of claim 17, wherein the touch operation receiving module comprises:
the touch operation receiving submodule is used for determining the touch operation of an application interface in the application through the touch input equipment; the touch input device comprises one of a touch screen and a touch pad.
32. An interface switching device, comprising:
the combined instruction receiving module is used for receiving a set combined instruction aiming at an application interface of an application, which is input in the external input equipment;
the switching interface corresponding triggering module is used for triggering and displaying a switching interface at least comprising one interface node according to the set combination instruction, wherein the interface node is obtained by constructing an application interface aiming at the application;
the interface node module corresponding to the triggering navigation is used for receiving selection operation aiming at the interface node in the switching interface and input through external input equipment and determining the interface node to be switched;
the interface skipping module is used for skipping the application to the application interface corresponding to the interface node to be switched according to the determined interface node to be switched; the switching interface is an overlay layer overlaid on the application interface; the at least one interface node is presented in the overlay layer in the form of a navigation path; displaying parent-child relations among the interface nodes in the display process; wherein the navigation path comprises a form of a tree structure; and under the condition that the selection operation is a sliding operation, expanding nodes of which the tree structures and the interface nodes have parent-child relations according to the interface nodes where the sliding operation is located.
33. An apparatus comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the interface switching method according to any one of claims 1 to 16.
34. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the interface switching method according to any one of claims 1 to 16.
CN201710861479.1A 2017-09-21 2017-09-21 Interface switching method and device Active CN109547623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710861479.1A CN109547623B (en) 2017-09-21 2017-09-21 Interface switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710861479.1A CN109547623B (en) 2017-09-21 2017-09-21 Interface switching method and device

Publications (2)

Publication Number Publication Date
CN109547623A CN109547623A (en) 2019-03-29
CN109547623B true CN109547623B (en) 2022-03-01

Family

ID=65828399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710861479.1A Active CN109547623B (en) 2017-09-21 2017-09-21 Interface switching method and device

Country Status (1)

Country Link
CN (1) CN109547623B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782328A (en) * 2020-07-02 2020-10-16 支付宝(杭州)信息技术有限公司 Application processing method and device
CN113741746A (en) * 2021-07-29 2021-12-03 南方电网深圳数字电网研究院有限公司 Method, system, device and storage medium for visual scene switching
CN113655927B (en) * 2021-08-24 2024-04-26 亮风台(上海)信息科技有限公司 Interface interaction method and device
CN114138147A (en) * 2021-11-16 2022-03-04 努比亚技术有限公司 Application interface display method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278799A (en) * 2014-07-02 2016-01-27 腾讯科技(深圳)有限公司 Interface switching method and apparatus
CN105843491A (en) * 2016-03-18 2016-08-10 华为技术有限公司 Quick navigation switching method and device of page, and terminal
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200921478A (en) * 2007-11-06 2009-05-16 Giga Byte Comm Inc A picture-page scrolling control method of touch panel for hand-held electronic device and device thereof
CN106909281B (en) * 2015-12-22 2023-10-10 创新先进技术有限公司 Method and device for switching application internal interfaces
CN106991110B (en) * 2016-10-12 2020-06-26 阿里巴巴集团控股有限公司 Webpage switching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278799A (en) * 2014-07-02 2016-01-27 腾讯科技(深圳)有限公司 Interface switching method and apparatus
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device
CN105843491A (en) * 2016-03-18 2016-08-10 华为技术有限公司 Quick navigation switching method and device of page, and terminal

Also Published As

Publication number Publication date
CN109547623A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN105843491B (en) Page rapid navigation switching method and device and terminal
CN109547623B (en) Interface switching method and device
JP6153868B2 (en) Method and apparatus for displaying items
US20150029149A1 (en) Apparatus and Method for Navigating on a Touch Sensitive Screen Thereof
US10228835B2 (en) Method for displaying information, and terminal equipment
US20120331506A1 (en) User interface and content integration
CN103999028A (en) Invisible control
JP6949059B2 (en) How to display dynamic lists, devices, devices and systems
CN106325663B (en) Mobile terminal and its screenshotss method
CN104965649B (en) Content display method and device and terminal
US20120290960A1 (en) Method for Providing User Interface for Categorizing Icons and Electronic Device Using the Same
CN106250190A (en) A kind of application startup method and terminal
KR101580003B1 (en) Graphical user interface for non mouse-based activation of links
US20150346919A1 (en) Device, Method, and Graphical User Interface for Navigating a Content Hierarchy
CN105283828A (en) Touch detection at bezel edge
CN106681616B (en) Method, device and equipment for displaying function bar of browser
CN106020614A (en) Switch method and terminal for application programs
CN107678813B (en) Desktop icon theme switching method and mobile terminal
JP2018508866A (en) Method and apparatus for displaying application page of mobile terminal
CN109600644A (en) A kind of method and relevant device, computer program product of RTV remote television browser
CN113783995A (en) Display control method, display control device, electronic apparatus, and medium
CN113268182A (en) Application icon management method and electronic equipment
CN106155614B (en) Operation information transmission method and electronic equipment
WO2015089819A1 (en) Method for selecting an electronic content to be displayed on a display of an electronic device
WO2014023148A1 (en) Electronic equipment and method and device for controlling electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant