Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of a page switching method according to an embodiment of the present invention. The page switching method is applied to any electronic equipment, and the electronic equipment can be mobile terminals such as mobile phones and ipads, and can also be intelligent electronic equipment such as bracelets. As shown in fig. 1, the page switching method includes:
step S11: and responding to the received trigger signal, and calling a navigation page which is generated according to a pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page.
In the embodiment of the invention, before step S11, a site map of the current App is formulated according to the hierarchical structure of the current App, where the site map includes multiple hierarchies, and each hierarchy includes multiple sub-pages; and marking the opening mode and the associated parameters for the sub-page of each hierarchy of the site map. The relevant parameters can be various intelligent recommendations, marketing data and the like which can be dynamically inserted into the site map.
For example, the site map of the current App is shown in fig. 2, and the primary page is: bookshelf, book, listen to book, video, my. The five sub-pages are generally built-in pages during release, and are directly displayed by using the native built-in pages. The JSON format parameter of the primary page is as shown in fig. 3, and the current App can find the implementation manner of the sub-page by identifying the rendering manner and the page ID of the native page, so as to render the corresponding sub-page. The book pages at the next level of the first level of pages comprise: a choiceness channel, a boy's channel, a girl's channel, a publishing channel, a new book channel, etc. The sub-pages are used for acquiring latest operation dynamic configuration data from the data server when the current App is started, the configuration acquisition process is as follows, and the current App initiates a book home page configuration request to the data server; the server acquires the latest configuration from the operation configuration center, assembles the configuration into a JSON format and returns the configuration to the client (electronic equipment); and the client analyzes and stores the JSON format data. In other embodiments of the present invention, a configuration data may be pre-installed, and the built-in data is loaded first and then updated asynchronously. The sub-page site map data format of the book is shown in fig. 4, where RN renders a cross-platform development model. When the sub-pages are displayed, the current App only needs to acquire the data of the pages through the data links and assemble the data into the pages by using the development SDK for displaying. If the sub page is opened as a web page, the data format is as shown in fig. 5. When the sub-pages are displayed, the current App only needs to initialize one WebView control, and then the webpage link is loaded on the WebView control to display the webpage content.
In the embodiment of the present invention, optionally, an intelligent recommendation request is received through a preset area on the navigation page; responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user; and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data. As shown in fig. 6, inside the current App, access to the navigation page may be triggered by a pre-made trigger condition, such as clicking a navigation entry floating window of the floating area, or a specific gesture triggers a navigation function. In step S11, a second click signal generated by the user clicking the hover region may be received, and the navigation page may be entered in response to the second click signal. The mainstream intelligent electronic devices can provide an interface to develop the SDK so as to realize that a view is displayed in a floating mode on a form, and meanwhile, a new page can be opened by capturing click events of the view. Or receiving a gesture trigger signal operated by a user on the touch panel, and entering a navigation page by responding to the gesture trigger signal. The gesture trigger signal is one of a double-click signal, a sliding signal, a curve sliding signal and a third single-click signal of a first preset area on the touch panel. The mainstream intelligent electronic devices can support gesture operations, and gesture operations such as clicking, double clicking, sliding, curve sliding and the like can be captured by monitoring the gesture operations in the page. Triggering the opening of a new page by gesture recognition may be achieved.
In the embodiment of the invention, the navigation system of the whole App is constructed based on the site map, and a real page is rendered. As shown in fig. 7, the navigation page is composed of a control area and a display area. And displaying a plurality of sub-pages of the navigation page corresponding to the current page in the display area, wherein the control area is a touchable view area and is used for receiving a user touch instruction. Optionally, all sub-pages included in the navigation page corresponding to the current page are displayed in the display area, and the current page is highlighted in the central area of the display area.
In the embodiment of the invention, each sub-page displayed in the display area is a real page which is actually rendered. In other embodiments of the present invention, if the sub page to be displayed is a sub page already displayed in the current App, the screenshot of the sub page may be directly displayed, and displaying the page through the screenshot may improve efficiency. And if the sub-page to be displayed is in a webpage format, loading a webpage link by adopting Webview and displaying the webpage. If the sub-page is a Native (Native) page, the page is rendered in real time by acquiring network data. For example, when a page needs to be displayed, a data request https:// wap. cmread. com/nap/zonghesy. jspsvt ═ 8 is sent, json data analysis is carried out, an interface is rendered based on the analyzed data, and the page is displayed in this way.
When the navigation page is displayed with missing sub-pages and only a few sub-pages, data supplement and marketing promotion can be carried out through intelligent recommendation, namely the data supplement and marketing promotion can be carried out through an intelligent recommendation system when the navigation page is displayed. Optionally, a user setup portal is added to the navigation page to add user interaction. When a plurality of sub-pages of a navigation page corresponding to a currently displayed page are displayed in a display area, optionally, receiving an intelligent recommendation request through a preset area on the navigation page; responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user; and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data. The intelligent recommendation data may be rules of navigation, rules of intelligent recommendation, rules of advertisement, etc. set by the user through the user setting portal. The intelligent recommendation server can also generate intelligent recommendation data based on user behaviors, the electronic equipment receives and analyzes the intelligent recommendation data, the analyzed intelligent recommendation data is inserted into a page corresponding to a site map, and the corresponding intelligent recommendation data is displayed in a visualized mode on the page during navigation. Therefore, when a user requests to recommend data to display a corresponding navigation page, navigation sub-pages can be dynamically generated through user interaction, and accordingly, thousands of recommended data can be displayed.
Step S12: receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area.
Mainstream devices provide an Application Program Interface (API) for gesture recognition. Through various gesture recognition APIs, gesture recognition such as clicking, up-down, left-right sliding and the like can be easily realized. The display area of the page is a scrolling view, on which a plurality of sub-pages are loaded. The gesture slides on the touch pad to trigger the rolling of the rolling view, then the page is driven to roll, and the effects of zooming in, zooming out and the like are generated, and corresponding API can be realized in the mainstream interface development SDK. In the embodiment of the invention, a first gesture recognition signal triggered by a user through the control area can be continuously received, and the navigation pages of adjacent hierarchies are switched and displayed in the display area according to the first gesture recognition signal until the navigation page of the target hierarchy is displayed in the display area. The continuous receiving of the first gesture recognition signal triggered by the user through the control area means that when the upward sliding or the downward sliding triggered by the user through the control area exceeds a certain threshold value, the navigation page corresponding to the current display page needs to be switched to the navigation page of the adjacent hierarchy. Optionally, a first sliding signal which is triggered by a user through the control area and slides upwards is continuously received, and the display area is controlled to switch and display a navigation page of an adjacent next hierarchy according to the first sliding signal; and/or continuously receiving a second sliding signal of downward sliding triggered by the user through the control area, and controlling the display area to switch and display the navigation page of the adjacent upper hierarchy according to the second sliding signal. In other embodiments of the present invention, when the first sliding signal of sliding upwards triggered by the user through the control area is continuously received, the display area is controlled to switch and display the navigation page of the adjacent previous level; and when the second sliding signal of downward sliding triggered by the user through the control area is continuously received, the display area is controlled to switch and display the navigation page of the next adjacent layer.
After the touch panel currently displays the navigation page of the target level, at least one second gesture recognition signal triggered by the user through the control area can be received, and the target sub-page in the navigation page of the complete target level is switched to be displayed in the central area of the display area according to the second gesture recognition signal. Optionally, a first click signal of a user based on a display area corresponding to the target sub-page in the display area is received, and the central area of the display area is controlled to be switched to display the complete target sub-page according to the first click signal. For example, in fig. 7, the current page is a book page and is switched to display a complete sub-page in the central area of the display area, if the user clicks the book listening sub-page portion displayed in the display area, after receiving the click signal, the electronic device switches the book listening sub-page to be completely displayed in the central area of the display area, or may continuously receive at least one third sliding signal that is triggered by the user through the control area and slides left or right, control a plurality of sub-pages in the navigation page of the target hierarchy to slide left or right simultaneously according to the third sliding signal, and switch and display an adjacent sub-page on the left side or right side of the current sub-page in the central area of the display area until the central area of the display area is switched to display the complete target sub-page. For example, in the current navigation page displayed in fig. 7, the user slides to the left in the control area, and the electronic device detects a third sliding signal of the user sliding to the left through the control area, and switches the adjacent book listening sub-page located at the right side of the book sub-page to the central area displayed in the display area.
Step S13: and receiving a first control signal, exiting the navigation page according to the first control signal, and displaying the target sub-page on the touch panel.
In the embodiment of the present invention, optionally, when a first control signal that a user double-clicks on the touch pad is received, a navigation selection command is triggered, the electronic device exits from the navigation page, returns to the main page, and then loads the page selected during navigation, that is, displays the target sub-page on the touch panel.
According to the page switching method, after the user triggers the global navigation function, the multi-level navigation view of the App can be displayed visually, the page can be viewed and selected through the upper gesture, the lower gesture, the left gesture and the right gesture, each navigation page is visible, and the user can navigate the correct page conveniently.
As shown in fig. 8, the following illustrates the operation flow of generating a navigation page and navigating the page according to the site map shown in fig. 2:
step 1: and acquiring a trigger signal for clicking a navigation entrance by a user, and responding to the trigger signal to enter a navigation page.
Alternatively, the user enters the navigation page by clicking on the navigation entry. When the navigation page is initialized, the first layer data of the site map shown in fig. 2 is searched. The first layer of data is 5 pages below the home page: bookshelf, book, listen to book, video, my. The rendering mode in the configuration is a native page. The navigation page can find the implementation codes of the 5 original pages through the rendering mode and the page ID of the original page, then sequentially generates 5 sub-page views of a bookshelf, a book, a listening book, a video and my according to the sequence of the site map, and displays the 5 sub-page views in a display area where the sub-page views can slide.
Step 2: and receiving a second gesture recognition signal which is triggered by the user through the control area and slides left and right, and triggering all sub-pages in the display area to slide simultaneously.
When the user slides left and right in the control area, through the gesture recognition interface API, the sub-pages on the sliding display area can be triggered to slide simultaneously, and special effects such as amplification, reduction and rebound are achieved (the intelligent equipment provides the development interfaces). For example, according to the navigation page corresponding to the currently displayed page shown in fig. 7, when the user slides left in the control area, along the direction, the sub-page completely displayed in the central area of the display area and each sub-page located on the left side of the sub-page completely displayed in the central area of the display area gradually shrink, and each sub-page located on the right side of the sub-page completely displayed in the central area of the display area enlarges until each sub-page located on the right side of the sub-page completely displayed in the central area of the display area and the adjacent sub-page completely displayed in the central area of the display area.
And step 3: and when the sub-page completely displayed in the central area of the display area is a book sub-page and the control area receives a first sliding signal of upward sliding, the display area displays a navigation page of the next level of the book sub-page.
When the view completely displayed in the central area of the display area is a book view and an upward sliding gesture is triggered in the touch area, the navigation page considers that the user wants to view sub-navigation (secondary navigation) information under the book node. At this time, the navigation page hides the 5 views of the first layer which are displayed through dynamic effect, and then searches sub-node data under the book nodes under the site map. They are: a choiceness channel, a boy's channel, a girl's channel, a publishing channel, a new book channel, etc. The rendering mode is RN rendering. The navigation page requests the display data of the pages from the server through the RN rendering mode and the URL addresses of the data links, and the pages combined into the RN through the data are displayed on the slidable view of the navigation page.
And 4, step 4: when the sub-page completely displayed in the central area of the display area is the sub-page of the select channel, the display area displays the next hierarchical navigation page of the select channel when the first slide signal of the upward slide is received through the control area.
When the sub-page displayed in its entirety in the central region of the display area is a select channel sub-page and an up-swipe gesture is triggered in the control area, the navigation page may consider the user as wanting to view the next level of navigation (three level navigation) information for the select channel. At this moment, the navigation page hides the sub-pages under the displayed book-level navigation page through dynamic effect, and then searches the sub-pages of the fine selection channel level under the site map, including: the line arrangement, the book list, the members and the free sub-pages are performed in a Web browser mode. And the navigation page respectively generates 4 WebView controls through the rendering mode of the Web browser and the URL addresses of the webpage links, each WebView control loads the corresponding URL address of the webpage link, and the specific content of the webpage corresponding to the URL address of the webpage link is displayed.
And 5: and when a second sliding signal of downward sliding triggered by the user in the touch area is received, returning the navigation page of the previous layer.
When the user triggers a slide-down gesture in the control area, the navigation page considers that the user wants to return to the previous level page. The navigation page removes the currently displayed lines, book lists, members and free views, and reloads sub-pages under the book level: a choiceness channel, a boy's channel, a girl's channel, a publishing channel, a new book channel, etc.
Step 6: and when a first control signal that a user double clicks on the touch panel is received, triggering a navigation selection command, exiting the navigation page, returning to the main page, and loading the sub-page which is completely displayed in the central area of the display area during navigation.
When a user double clicks on the touch panel, a navigation selection command is triggered, the electronic equipment exits from the navigation page, returns to the main page, and then loads the page selected during navigation. For example, if the navigation page of the book level is displayed in the display area according to step 5, and the selected channel is completely displayed in the central area of the display area, that is, the selected channel in the navigation page of the book level is selected, the main page of the touch panel displays the page corresponding to the selected channel after exiting the navigation page.
The method and the device for displaying the navigation page in the embodiment of the invention respond to the received trigger signal, and evoke the navigation page which is generated according to the pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area; and receiving a first control signal, exiting the navigation page according to the first control signal, displaying the target subpage on the touch panel, and visually displaying the multi-level navigation view of the App, so that a user can conveniently and quickly check and select the target page.
Fig. 9 is a schematic structural diagram of a page switching apparatus according to an embodiment of the present invention. As shown in fig. 6, the page switching apparatus includes: a navigation display unit 901, a display switching unit 902, and an object display unit 903 and a map acquisition unit 904. Wherein:
the navigation display unit 901 is configured to respond to a received trigger signal, and invoke a navigation page corresponding to a current display page, which is generated according to a pre-generated site map, where the navigation page includes a display area and a control area, and a plurality of sub-pages of the current navigation page are displayed in the display area; the display switching unit 902 is configured to receive at least one gesture recognition signal triggered by a user through the control area, control to switch to display a navigation page of a target hierarchy in the display area according to the at least one gesture recognition signal, and switch to display a target sub-page in a complete navigation page of the target hierarchy in a central area of the display area; the target display unit 903 is configured to receive a first control signal, exit the navigation page according to the first control signal, and display the target sub-page on the touch panel.
In an alternative manner, the map obtaining unit 904 is configured to: according to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map comprises a plurality of hierarchies, and each hierarchy comprises a plurality of sub-pages; and marking the opening mode and the associated parameters for the sub-page of each hierarchy of the site map.
In an alternative manner, the navigation display unit 901 is configured to: receiving an intelligent recommendation request through a preset area on the navigation page; responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user; and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data.
In an alternative manner, the display switching unit 902 is configured to: continuously receiving a first gesture recognition signal triggered by a user through the control area, and switching and displaying navigation pages of adjacent levels in the display area according to the first gesture recognition signal until the navigation page of the target level is displayed in the display area; and receiving at least one second gesture recognition signal triggered by the user through the control area, and switching to the target sub-page in the navigation page displaying the complete target level in the central area of the display area according to the second gesture recognition signal.
In an alternative manner, the display switching unit 902 is configured to: continuously receiving a first sliding signal which is triggered by a user through the control area and slides upwards, and controlling the display area to switch and display a navigation page of an adjacent next hierarchy according to the first sliding signal; and/or continuously receiving a second sliding signal of downward sliding triggered by the user through the control area, and controlling the display area to switch and display the navigation page of the adjacent upper hierarchy according to the second sliding signal.
In an alternative manner, the display switching unit 902 is configured to: and receiving a first clicking signal of a user based on a display area corresponding to the target sub-page in the display area, and controlling the central area of the display area to be switched to display the complete target sub-page according to the first clicking signal.
In an alternative manner, the display switching unit 902 is configured to: continuously receiving at least one third sliding signal which is triggered by a user through the control area and slides leftwards or rightwards, controlling a plurality of sub-pages in the navigation page of the target level to slide leftwards or rightwards simultaneously according to the third sliding signal, and switching and displaying adjacent sub-pages on the left side or the right side of the current sub-page in the central area of the display area until the complete target sub-page is switched and displayed in the central area of the display area.
The method and the device for displaying the navigation page in the embodiment of the invention respond to the received trigger signal, and evoke the navigation page which is generated according to the pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area; and receiving a first control signal, exiting the navigation page according to the first control signal, displaying the target subpage on the touch panel, and visually displaying the multi-level navigation view of the App, so that a user can conveniently and quickly check and select the target page.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the page switching method in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
responding to a received trigger signal, and calling a navigation page which is generated according to a pre-generated site map and corresponds to a current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page;
receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area;
and receiving a first control signal, exiting the navigation page according to the first control signal, and displaying the target sub-page on the touch panel.
In an alternative, the executable instructions cause the processor to:
according to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map comprises a plurality of hierarchies, and each hierarchy comprises a plurality of sub-pages;
and marking the opening mode and the associated parameters for the sub-page of each hierarchy of the site map.
In an alternative, the executable instructions cause the processor to:
receiving an intelligent recommendation request through a preset area on the navigation page;
responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user;
and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data.
In an alternative, the executable instructions cause the processor to:
continuously receiving a first gesture recognition signal triggered by a user through the control area, and switching and displaying navigation pages of adjacent levels in the display area according to the first gesture recognition signal until the navigation page of the target level is displayed in the display area;
and receiving at least one second gesture recognition signal triggered by the user through the control area, and switching to the target sub-page in the navigation page displaying the complete target level in the central area of the display area according to the second gesture recognition signal.
In an alternative, the executable instructions cause the processor to:
continuously receiving a first sliding signal which is triggered by a user through the control area and slides upwards, and controlling the display area to switch and display a navigation page of an adjacent next hierarchy according to the first sliding signal; and/or the presence of a gas in the gas,
and continuously receiving a second sliding signal which is triggered by the user through the control area and slides downwards, and controlling the display area to switch and display the navigation page of the adjacent upper hierarchy according to the second sliding signal.
In an alternative, the executable instructions cause the processor to:
and receiving a first clicking signal of a user based on a display area corresponding to the target sub-page in the display area, and controlling the central area of the display area to be switched to display the complete target sub-page according to the first clicking signal.
In an alternative, the executable instructions cause the processor to:
continuously receiving at least one third sliding signal which is triggered by a user through the control area and slides leftwards or rightwards, controlling a plurality of sub-pages in the navigation page of the target level to slide leftwards or rightwards simultaneously according to the third sliding signal, and switching and displaying adjacent sub-pages on the left side or the right side of the current sub-page in the central area of the display area until the complete target sub-page is switched and displayed in the central area of the display area.
The method and the device for displaying the navigation page in the embodiment of the invention respond to the received trigger signal, and evoke the navigation page which is generated according to the pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area; and receiving a first control signal, exiting the navigation page according to the first control signal, displaying the target subpage on the touch panel, and visually displaying the multi-level navigation view of the App, so that a user can conveniently and quickly check and select the target page.
An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is caused to execute the page switching method in any of the above method embodiments.
The executable instructions may be specifically configured to cause the processor to:
responding to a received trigger signal, and calling a navigation page which is generated according to a pre-generated site map and corresponds to a current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page;
receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area;
and receiving a first control signal, exiting the navigation page according to the first control signal, and displaying the target sub-page on the touch panel.
In an alternative, the executable instructions cause the processor to:
according to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map comprises a plurality of hierarchies, and each hierarchy comprises a plurality of sub-pages;
and marking the opening mode and the associated parameters for the sub-page of each hierarchy of the site map.
In an alternative, the executable instructions cause the processor to:
receiving an intelligent recommendation request through a preset area on the navigation page;
responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user;
and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data.
In an alternative, the executable instructions cause the processor to:
continuously receiving a first gesture recognition signal triggered by a user through the control area, and switching and displaying navigation pages of adjacent levels in the display area according to the first gesture recognition signal until the navigation page of the target level is displayed in the display area;
and receiving at least one second gesture recognition signal triggered by the user through the control area, and switching to the target sub-page in the navigation page displaying the complete target level in the central area of the display area according to the second gesture recognition signal.
In an alternative, the executable instructions cause the processor to:
continuously receiving a first sliding signal which is triggered by a user through the control area and slides upwards, and controlling the display area to switch and display a navigation page of an adjacent next hierarchy according to the first sliding signal; and/or the presence of a gas in the gas,
and continuously receiving a second sliding signal which is triggered by the user through the control area and slides downwards, and controlling the display area to switch and display the navigation page of the adjacent upper hierarchy according to the second sliding signal.
In an alternative, the executable instructions cause the processor to:
and receiving a first clicking signal of a user based on a display area corresponding to the target sub-page in the display area, and controlling the central area of the display area to be switched to display the complete target sub-page according to the first clicking signal.
In an alternative, the executable instructions cause the processor to:
continuously receiving at least one third sliding signal which is triggered by a user through the control area and slides leftwards or rightwards, controlling a plurality of sub-pages in the navigation page of the target level to slide leftwards or rightwards simultaneously according to the third sliding signal, and switching and displaying adjacent sub-pages on the left side or the right side of the current sub-page in the central area of the display area until the complete target sub-page is switched and displayed in the central area of the display area.
The method and the device for displaying the navigation page in the embodiment of the invention respond to the received trigger signal, and evoke the navigation page which is generated according to the pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area; and receiving a first control signal, exiting the navigation page according to the first control signal, displaying the target subpage on the touch panel, and visually displaying the multi-level navigation view of the App, so that a user can conveniently and quickly check and select the target page.
Fig. 10 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and a specific embodiment of the present invention does not limit a specific implementation of the device.
As shown in fig. 10, the computing device may include: a processor (processor)1002, a Communications Interface 1004, a memory 1006, and a Communications bus 1008.
Wherein: the processor 1002, communication interface 1004, and memory 1006 communicate with each other via a communication bus 1008. A communication interface 1004 for communicating with network elements of other devices, such as clients or other servers. The processor 1002 is configured to execute the program 1010, and may specifically perform relevant steps in the foregoing page switching method embodiment.
In particular, the program 1010 may include program code that includes computer operating instructions.
The processor 1002 may be a central processing unit CPU or an application Specific Integrated circuit asic or an Integrated circuit or Integrated circuits configured to implement embodiments of the present invention. The one or each processor included in the device may be the same type of processor, such as one or each CPU; or may be different types of processors such as one or each CPU and one or each ASIC.
The memory 1006 is used for storing the program 1010. The memory 1006 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 1010 may be specifically configured to cause the processor 1002 to perform the following operations:
responding to a received trigger signal, and calling a navigation page which is generated according to a pre-generated site map and corresponds to a current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page;
receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area;
and receiving a first control signal, exiting the navigation page according to the first control signal, and displaying the target sub-page on the touch panel.
In an alternative, the program 1010 causes the processor to:
according to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map comprises a plurality of hierarchies, and each hierarchy comprises a plurality of sub-pages;
and marking the opening mode and the associated parameters for the sub-page of each hierarchy of the site map.
In an alternative, the program 1010 causes the processor to:
receiving an intelligent recommendation request through a preset area on the navigation page;
responding to the intelligent recommendation request, and receiving intelligent recommendation data input by a user;
and displaying a navigation page corresponding to the current display page according to the intelligent recommendation data.
In an alternative, the program 1010 causes the processor to:
continuously receiving a first gesture recognition signal triggered by a user through the control area, and switching and displaying navigation pages of adjacent levels in the display area according to the first gesture recognition signal until the navigation page of the target level is displayed in the display area;
and receiving at least one second gesture recognition signal triggered by the user through the control area, and switching to the target sub-page in the navigation page displaying the complete target level in the central area of the display area according to the second gesture recognition signal.
In an alternative, the program 1010 causes the processor to:
continuously receiving a first sliding signal which is triggered by a user through the control area and slides upwards, and controlling the display area to switch and display a navigation page of an adjacent next hierarchy according to the first sliding signal; and/or the presence of a gas in the gas,
and continuously receiving a second sliding signal which is triggered by the user through the control area and slides downwards, and controlling the display area to switch and display the navigation page of the adjacent upper hierarchy according to the second sliding signal.
In an alternative, the program 1010 causes the processor to:
and receiving a first clicking signal of a user based on a display area corresponding to the target sub-page in the display area, and controlling the central area of the display area to be switched to display the complete target sub-page according to the first clicking signal.
In an alternative, the program 1010 causes the processor to:
continuously receiving at least one third sliding signal which is triggered by a user through the control area and slides leftwards or rightwards, controlling a plurality of sub-pages in the navigation page of the target level to slide leftwards or rightwards simultaneously according to the third sliding signal, and switching and displaying adjacent sub-pages on the left side or the right side of the current sub-page in the central area of the display area until the complete target sub-page is switched and displayed in the central area of the display area.
The method and the device for displaying the navigation page in the embodiment of the invention respond to the received trigger signal, and evoke the navigation page which is generated according to the pre-generated site map and corresponds to the current display page, wherein the navigation page comprises a display area and a control area, and the display area is used for displaying a plurality of sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling to switch to display a navigation page of a target level in the display area according to the at least one gesture recognition signal, and switching to display a target sub-page in the complete navigation page of the target level in a central area of the display area; and receiving a first control signal, exiting the navigation page according to the first control signal, displaying the target subpage on the touch panel, and visually displaying the multi-level navigation view of the App, so that a user can conveniently and quickly check and select the target page.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.