A page switching method, device and computing equipment
Through the visual page switching method based on the site map, gesture recognition signals are used to switch pages in the App, which solves the problem of unintuitive page switching in the existing technology and realizes a user-friendly multi-level navigation view display.
Patent Information
- Application Number
- CN202110902859.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-08-06
AI Technical Summary
The existing App page switching method is to click the navigation button to jump to the page. The operation process is ordinary and the user cannot know the page content in advance. As a result, the user may enter an unexpected page and need to go back and select again.
A visual page switching method based on the site map is adopted, the navigation page is evoked by responding to the trigger signal, the gesture recognition signal in the display area and the control area is used to switch to the target level and sub-page, and the target sub-page is displayed on the touch panel.
It enables users to quickly view and select the target page, provides a multi-level navigation view, simplifies the page navigation process, and avoids the step of returning and re-selecting.
Smart Images

Figure CN113688345B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a page switching method, device and computing equipment. Background Art
[0002] When switching pages in mainstream apps, the page is usually jumped by clicking the navigation button on the navigation bar.
[0003] The conventional navigation method switches by clicking and returning. The operation process is relatively ordinary, and the user cannot know the specific content of the page in advance. This may result in the user entering a lower-level page that is not the page the user wants. At this time, the user needs to return to the previous page and then click the required lower-level page again to achieve it. Summary of the invention
[0004] In view of the above problems, embodiments of the present invention provide a method, apparatus and computing device for visual page switching based on a site map, which overcome the above problems or at least partially solve the above problems.
[0005] According to one aspect of an embodiment of the present invention, a visual page switching method based on a site map is provided, the method comprising: in response to a received trigger signal, calling up a navigation page generated according to a pre-generated site map and corresponding to a currently displayed page, the navigation page comprising a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receiving at least one gesture recognition signal triggered by a user through the control area, controlling switching to display a navigation page of a target hierarchy in the display area according to at least one of the gesture recognition signals, and switching to displaying a target sub-page in the complete navigation page of the target hierarchy in the central area of the display area; receiving a first control signal, exiting the navigation page according to the first control signal, and displaying the target sub-page on a touch panel.
[0006] In an optional manner, the site map is generated in the following manner: based on the hierarchical structure of the current App, a site map of the current App is formulated, the site map includes multiple levels, each level includes multiple sub-pages; and the sub-pages of each level of the site map are marked with opening methods and associated parameters.
[0007] In an optional manner, the invoking of a navigation page generated according to a pre-generated site map and corresponding to the currently displayed page also includes: receiving a smart recommendation request through a preset area on the navigation page; responding to the smart recommendation request, receiving smart recommendation data input by the user; and displaying the navigation page corresponding to the currently displayed page according to the smart recommendation data.
[0008] In an optional manner, receiving at least one gesture recognition signal triggered by the user through the control area, controlling the switching in the display area to display the navigation page of the target level according to the at least one gesture recognition signal, and switching in the central area of the display area to display the target sub-page in the complete navigation page of the target level, includes: continuously receiving a first gesture recognition signal triggered by the user through the control area, switching in the display area to display the navigation pages of adjacent levels according to the first gesture recognition signal until the navigation page of the target level is displayed in the display area; receiving at least one second gesture recognition signal triggered by the user through the control area, and switching in the central area of the display area to display the target sub-page in the complete navigation page of the target level according to the second gesture recognition signal.
[0009] In an optional manner, the continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching the display of an adjacent level of navigation page in the display area according to the first gesture recognition signal, includes: continuously receiving a first sliding signal of an upward sliding signal triggered by the user through the control area, and controlling the display area to switch display of an adjacent next level of navigation page according to the first sliding signal; and / or continuously receiving a second sliding signal of a downward sliding signal triggered by the user through the control area, and controlling the display area to switch display of an adjacent previous level of navigation page according to the second sliding signal.
[0010] In an optional manner, receiving at least one second gesture recognition signal triggered by the user through the control area, and switching in the central area of the display area to displaying the complete target sub-page in the navigation page of the target hierarchy according to the second gesture recognition signal, includes: receiving a first single-click signal based on a display area in the display area corresponding to the target sub-page, and controlling switching in the central area of the display area to display the complete target sub-page according to the first single-click signal.
[0011] In an optional manner, receiving at least one second gesture recognition signal triggered by the user through the control area, and displaying the target sub-page in the central area of the display area according to the second gesture recognition signal, includes: continuously receiving at least one third sliding signal of sliding to the left or right triggered by the user through the control area, controlling multiple sub-pages in the navigation page of the target hierarchy to slide to the left or right at the same time according to the third sliding signal, and switching to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area, until switching to display the complete target sub-page in the central area of the display area.
[0012] According to another aspect of an embodiment of the present invention, a visual page switching device based on a site map is provided, the device comprising: a navigation display unit, for in response to a received trigger signal, calling up a navigation page generated according to a pre-generated site map and corresponding to a currently displayed page, the navigation page comprising a display area and a control area, and displaying multiple sub-pages of the current navigation page in the display area; a display switching unit, for receiving at least one gesture recognition signal triggered by a user through the control area, controlling the display area to switch to display a navigation page of a target hierarchy according to at least one of the gesture recognition signals, and switching to displaying a target sub-page in the complete navigation page of the target hierarchy in the central area of the display area; a target display unit, for 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.
[0013] According to another aspect of an embodiment of the present invention, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0014] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the steps of the above-mentioned visual page switching method based on the site map.
[0015] According to another aspect of an embodiment of the present invention, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables the processor to execute the steps of the above-mentioned visual page switching method based on the site map.
[0016] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls switching to displaying a navigation page of a target level in the display area according to at least one gesture recognition signal, and switches to displaying a target sub-page in the complete navigation page of the target level in the central area of the display area; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0017] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0019] Figure 1 A schematic diagram showing a flow chart of a page switching method provided by an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of a site map of the current App in the page switching method provided by an embodiment of the present invention is shown;
[0021] Figure 3 A schematic diagram of JSON format parameters of a primary page of a page switching method provided by an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram showing the data format of a sub-page site map of a book in a page switching method provided by an embodiment of the present invention;
[0023] Figure 5 A schematic diagram showing the data format of a web page of a page switching method provided by an embodiment of the present invention;
[0024] Figure 6 A schematic diagram of a navigation entry floating window of a page switching method provided by an embodiment of the present invention is shown;
[0025] Figure 7 A schematic diagram of a navigation page of a page switching method provided by an embodiment of the present invention is shown;
[0026] Figure 8 An example diagram of a page switching method provided by an embodiment of the present invention is shown;
[0027] Fig. 9 A schematic diagram showing the structure of a page switching device provided by an embodiment of the present invention is shown;
[0028] Fig.10 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0029] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0030] Figure 1 The schematic diagram of the page switching method provided by the embodiment of the present invention is shown. The page switching method is applied to any electronic device, which can be a mobile terminal such as a mobile phone, an iPad, or a smart electronic device such as a wristband. Figure 1 As shown, the page switching method includes:
[0031] Step S11: In response to the received trigger signal, a navigation page generated according to a pre-generated site map and corresponding to the currently displayed page is invoked, wherein the navigation page includes a display area and a control area, and the display area is used to display multiple sub-pages of the navigation page.
[0032] In the embodiment of the present invention, before step S11, a site map of the current App is prepared according to the hierarchical structure of the current App, wherein the site map includes multiple levels, each level includes multiple sub-pages; and the sub-pages of each level of the site map are marked with opening methods and associated parameters. Among them, the associated parameters can be various intelligent recommendations, marketing data, etc. that can be dynamically inserted into the site map.
[0033] For example, the current App site map is as follows Figure 2 As shown in the figure, the first-level pages are: Bookshelf, Books, Audiobooks, Videos, and My. These five sub-pages are generally built-in pages when publishing, and are directly displayed using native built-in pages. The JSON format parameters of the first-level page are as follows Figure 3 As shown, the current App can find the implementation method of the sub-page by identifying the rendering method and page ID of the native page, thereby rendering the corresponding sub-page. The book page of the next level below the first-level page contains sub-pages such as Featured Channel, Boys Channel, Girls Channel, Publishing Channel, and New Book Channel. These sub-pages obtain the latest operational dynamic configuration data from the data server when the current App is started. The process of obtaining the configuration is as follows: the current App initiates a book homepage configuration request to the data server; the server obtains the latest configuration from the operation configuration center, assembles it into JSON format, and returns it to the client (electronic device); the client parses and stores JSON format data. In other embodiments of the present invention, a set of configuration data can also be pre-built in, the built-in data is loaded first, and then updated asynchronously. The sub-page site map data format of the book is as follows: Figure 4As shown in the figure, RN renders a cross-platform development mode. When displaying these sub-pages, the current App only needs to obtain the data of the page through the data link, and then use the development SDK to assemble the data into a page display. If the sub-page opens a web page, the data format is as follows Figure 5 When displaying these sub-pages, the current App only needs to initialize a WebView control, and then load the web link on the WebView control to display the web content.
[0034] In the embodiment of the present invention, optionally, a smart recommendation request is received through a preset area on the navigation page; in response to the smart recommendation request, smart recommendation data input by the user is received; and the navigation page corresponding to the currently displayed page is displayed according to the smart recommendation data. Figure 6 As shown, within the current App, the navigation page can be triggered by a pre-made trigger condition, such as clicking on the navigation entry window of the floating area, or a specific gesture triggering the navigation function. In step S11, it can be a second single-click signal generated by the user clicking on the floating area, and the navigation page can be entered by responding to the second single-click signal. Mainstream intelligent electronic devices can provide an interface development SDK to realize the floating display of a view on a form, and it is possible to open a new page by capturing the click event of the view. It can also be a gesture trigger signal received by the user on the touch panel, and the navigation page can be entered by responding to the gesture trigger signal. The gesture trigger signal is one of the double-click signal, sliding signal, curve sliding signal and the third single-click signal of the first preset area on the touch panel. Mainstream intelligent electronic devices can support gesture operations, and gesture operations such as single click, double click, sliding, curve sliding, etc. can be captured by monitoring the gesture operation in the page. It is possible to trigger the opening of a new page through gesture recognition.
[0035] In the embodiment of the present invention, the navigation system of the entire App is constructed based on the site map, and the real page is rendered. Figure 7 As shown, the navigation page consists of a control area and a display area. The display area displays multiple sub-pages of the navigation page corresponding to the current page, and the control area is a touchable viewing area for receiving user touch instructions. 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.
[0036] In an embodiment of the present invention, each sub-page displayed in the display area is a real page after actual rendering. In other embodiments of the present invention, if the sub-page to be displayed is a sub-page that has been displayed in the current App, a screenshot of the sub-page can be directly displayed, and displaying the page through a screenshot can improve efficiency. If the sub-page to be displayed is in a web page format, Webview is used to load the web link and display the web page. If the sub-page is a native page, the page is rendered in real time by obtaining network data. For example, when a page needs to be displayed, a data request is sent to https: / / wap.cmread.com / nap / zonghesy.jsp? vt=8, json data parsing is performed, and the interface is rendered based on the parsed data, so as to complete the display of the page.
[0037] When there are no sub-pages or only a few sub-pages are displayed in the navigation page display, data supplement and marketing promotion can be performed through intelligent recommendation, that is, data supplement and marketing promotion can be performed through the intelligent recommendation system when the navigation page is displayed. Optionally, a user setting entrance is added to the navigation page to add user interaction. When multiple sub-pages of the navigation page corresponding to the current display page are displayed in the display area, optionally, a smart recommendation request is received through a preset area on the navigation page; in response to the smart recommendation request, the smart recommendation data input by the user is received; and the navigation page corresponding to the current display page is displayed according to the smart recommendation data. The smart recommendation data can be the navigation rules, smart recommendation rules, and advertising rules set by the user through the user setting entrance. It is also possible to generate smart recommendation data based on user behavior through an intelligent recommendation server, and the electronic device receives and parses the smart recommendation data, inserts the parsed smart recommendation data into the page corresponding to the site map, and visually displays the corresponding smart recommendation data on the page during navigation. In this way, when a user requests the recommended data to display the corresponding navigation page, the navigation sub-page can be dynamically generated through user interaction, so that the recommended data display for thousands of people can be realized.
[0038] Step S12: Receive at least one gesture recognition signal triggered by the user through the control area, control the display area to switch to the navigation page of the target level according to the at least one gesture recognition signal, and switch in the central area of the display area to display the target sub-page in the navigation page of the complete target level.
[0039] Mainstream devices all provide an Application Program Interface (API) for gesture recognition. Through various gesture recognition APIs, gesture recognition such as clicks, up, down, left, and right slides can be easily implemented. The display area of the page is a scroll view with multiple sub-pages loaded on it. The gesture slides on the touchpad, triggers the scrolling of the scroll view, and then drives the scrolling of the page and produces effects such as zooming in and out. In the mainstream interface development SDK, there are corresponding APIs that can be implemented. In an embodiment of the present invention, a first gesture recognition signal triggered by the user through the control area can be continuously received, and the display of the adjacent level navigation page can be switched 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. Continuously receiving the first gesture recognition signal triggered by the user through the control area means that when the upward or downward slide triggered by the user through the control area is continuously received and exceeds a certain threshold, it indicates that it is necessary to switch from the navigation page corresponding to the current display page to the navigation page of the adjacent level. Optionally, the first sliding signal triggered by the user sliding upward through the control area is continuously received, and the display area is controlled to switch to display the adjacent navigation page of the next level according to the first sliding signal; and / or, the second sliding signal triggered by the user sliding downward through the control area is continuously received, and the display area is controlled to switch to display the adjacent navigation page of the previous level according to the second sliding signal. In other embodiments of the present invention, when the first sliding signal triggered by the user sliding upward through the control area is continuously received, the display area is controlled to switch to display the adjacent navigation page of the previous level; and when the second sliding signal triggered by the user sliding downward through the control area is continuously received, the display area is controlled to switch to display the adjacent navigation page of the next level.
[0040] 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 target level can be switched to the central area of the display area according to the second gesture recognition signal. Optionally, a first single-click signal based on the display area corresponding to the target sub-page in the display area is received, and the control is switched to the target sub-page in the central area of the display area according to the first single-click signal. For example, Figure 7The current page is a book page, and the central area of the display area switches to a complete sub-page. If the user clicks on the audiobook sub-page displayed in the display area, the electronic device will switch the audiobook sub-page to the central area of the display area after receiving the single-click signal. It can also continue to receive at least one third sliding signal of sliding left or right triggered by the user through the control area, and control multiple sub-pages in the navigation page of the target level to slide left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right of the current sub-page in the central area of the display area until the central area of the display area switches to display the complete target sub-page. For example, Figure 7 In the current navigation page displayed in the display, the user slides to the left in the control area, and the electronic device detects a third slide signal of the user sliding to the left through the control area, and switches the adjacent audio book subpage located on the right side of the book subpage to be displayed in the central area of the display area.
[0041] Step S13: 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.
[0042] In an embodiment of the present invention, optionally, when a first control signal is received from a user double-clicking on the touch pad, a navigation selection command is triggered, the electronic device exits 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.
[0043] In the page switching method of the embodiment of the present invention, after the user triggers the global navigation function, the multi-level navigation view of the App can be visually displayed, and the page can be viewed and selected through up, down, left, and right gestures. Each navigation page is visible, which is convenient for the user to navigate to the correct page.
[0044] like Figure 8 As shown, the following example illustrates Figure 2 The site map shown generates the navigation page and the operation process of the navigation page:
[0045] Step 1: Get the trigger signal of the user clicking the navigation entrance, and enter the navigation page in response to the trigger signal.
[0046] Optionally, the user enters the navigation page by clicking on the navigation entry. When the navigation page is initialized, search for Figure 2The first layer of data of the site map shown. The first layer of data is the five pages under the homepage: Bookshelf, Books, Audiobooks, Videos, and My. The rendering method in the configuration is native page. The navigation page can find the implementation code of these five native pages through the rendering method and page ID of the native page, and then generate the five sub-page views of Bookshelf, Books, Audiobooks, Videos, and My in the order of the site map, and display them in a display area where the sub-page views can slide.
[0047] Step 2: receiving a second gesture recognition signal of left and right sliding triggered by the user through the control area, and triggering each sub-page in the display area to slide simultaneously.
[0048] When the user slides left or right in the control area, the gesture recognition interface API can trigger the simultaneous sliding of each sub-page in the sliding display area, and realize special effects such as zooming in, zooming out, and rebounding (the smart device provides these development interfaces). Figure 7 In the navigation page corresponding to the currently displayed page displayed in the display, when the user slides left in the control area, the subpage completely displayed in the central area of the display area and the subpages to the left of the subpage completely displayed in the central area of the display area gradually shrink along the direction, while the subpages to the right of the subpage completely displayed in the central area of the display area enlarge, until the subpage to the right of the subpage completely displayed in the central area of the display area and the adjacent subpages are completely displayed in the central area of the display area.
[0049] Step 3: When the sub-page completely displayed in the central area of the display area is a book sub-page, when the control area receives a first sliding signal of sliding upward, the display area displays a navigation page of the next level of the book sub-page.
[0050] When the view fully displayed in the central area of the display area is a book view, and the upward swipe gesture is triggered in the touch area, the navigation page will think that the user wants to view the sub-navigation (secondary navigation) information under the book node. At this time, the navigation page hides the 5 views of the first layer that have been displayed through dynamic effects, and then searches for the sub-node data under the book node under the site map. They are: Featured Channel, Boys Channel, Girls Channel, Publishing Channel, New Book Channel and other sub-pages. The rendering method is RN rendering. The navigation page requests the display data of these pages from the server through the RN rendering method and the URL address of the data link, and then combines the data into an RN page, which is displayed on the swipeable view of the navigation page.
[0051] Step 4: When the sub-page completely displayed in the central area of the display area is a selected channel sub-page, when the control area receives a first sliding signal of sliding upward, the display area displays the next level navigation page of the selected channel.
[0052] When the sub-page fully displayed in the central area of the display area is a featured channel sub-page, and the upward swipe gesture is triggered in the control area, the navigation page will think that the user wants to view the next level of navigation (third level navigation) information of the featured channel. At this time, the navigation page hides the sub-pages under the displayed book-level navigation page through animation, and then searches for the featured channel-level sub-pages under the site map, including: rankings, book lists, memberships, and free sub-pages, and the rendering method is a web browser. The navigation page generates 4 WebView controls through the rendering method of the web browser and the URL address of the web link. Each WebView control loads the corresponding web link URL address and displays the specific content of the web page corresponding to the web link URL address.
[0053] Step 5: When receiving a second sliding signal triggered by the user sliding downward on the touch area, return to the previous level navigation page.
[0054] When the user triggers a downward swipe gesture in the control area, the navigation page will assume that the user wants to return to the previous page. The navigation page removes the currently displayed rankings, book lists, membership, and free views, and reloads the sub-pages under the book level: Featured Channel, Boys Channel, Girls Channel, Publishing Channel, New Book Channel, and other sub-pages.
[0055] Step 6: When receiving the first control signal of the user double-clicking on the touch panel, trigger the navigation selection command, exit the navigation page, return to the main page, and load the sub-page that is fully displayed in the central area of the display area during navigation.
[0056] When the user double-clicks on the touch panel, the navigation selection command is triggered, and the electronic device exits the navigation page, returns to the main page, and then loads the page selected during navigation. For example, if the last page displayed in the display area in step 5 is the navigation page of the book level, and the selected channel is fully displayed in the central area of the display area, that is, the selected channel in the navigation page of the book level is selected, then after exiting the navigation page, the main page of the touch panel displays the page corresponding to the selected channel.
[0057] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls the display area to switch to displaying a navigation page of a target level according to at least one gesture recognition signal, and switches in the central area of the display area to display a target sub-page in the navigation page of the complete target level; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0058] Fig. 9 FIG. 2 shows a schematic diagram of the structure of a page switching device according to an embodiment of the present invention. Figure 6 As shown, the page switching device includes: a navigation display unit 901, a display switching unit 902, a target display unit 903 and a map acquisition unit 904. Among them:
[0059] The navigation display unit 901 is used to respond to a received trigger signal to call up a navigation page generated according to a pre-generated site map and corresponding to the currently displayed page, wherein the navigation page includes a display area and a control area, and multiple sub-pages of the current navigation page are displayed in the display area; the display switching unit 902 is used to receive at least one gesture recognition signal triggered by the user through the control area, and control the display area to switch to display the navigation page of the target level according to at least one gesture recognition signal, and switch to display the target sub-page in the complete navigation page of the target level in the central area of the display area; the target display unit 903 is used 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.
[0060] In an optional manner, the map acquisition unit 904 is used to: formulate a site map of the current App according to the hierarchical structure of the current App, wherein the site map includes multiple levels, and each level includes multiple sub-pages; and annotate the opening method and associated parameters for the sub-pages of each level of the site map.
[0061] In an optional manner, the navigation display unit 901 is used to: receive an intelligent recommendation request through a preset area on the navigation page; respond to the intelligent recommendation request and receive intelligent recommendation data input by the user; and display the navigation page corresponding to the currently displayed page according to the intelligent recommendation data.
[0062] In an optional manner, the display switching unit 902 is used to: continuously receive a first gesture recognition signal triggered by the user through the control area, and switch display of the navigation page of the adjacent level 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; receive at least one second gesture recognition signal triggered by the user through the control area, and switch to displaying the target sub-page in the complete navigation page of the target level in the central area of the display area according to the second gesture recognition signal.
[0063] In an optional manner, the display switching unit 902 is used to: continuously receive a first sliding signal triggered by an upward sliding through the control area by the user, and control the display area to switch display of an adjacent next-level navigation page according to the first sliding signal; and / or continuously receive a second sliding signal triggered by a downward sliding through the control area by the user, and control the display area to switch display of an adjacent previous-level navigation page according to the second sliding signal.
[0064] In an optional manner, the display switching unit 902 is used to: receive a first click signal from a user based on a display area in the display area corresponding to the target sub-page, and control switching to display the complete target sub-page in the central area of the display area according to the first click signal.
[0065] In an optional manner, the display switching unit 902 is used to: continuously receive at least one third sliding signal of sliding to the left or right triggered by the user through the control area, control multiple sub-pages in the navigation page of the target level to slide to the left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area until switching to display the complete target sub-page in the central area of the display area.
[0066] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls the display area to switch to displaying a navigation page of a target level according to at least one gesture recognition signal, and switches in the central area of the display area to display a target sub-page in the navigation page of the complete target level; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0067] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the page switching method in any of the above method embodiments.
[0068] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0069] In response to the received trigger signal, calling up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page comprising a display area and a control area, the display area being used to display a plurality of sub-pages of the navigation page;
[0070] receiving at least one gesture recognition signal triggered by a user through the control area, controlling the display area to switch to display a navigation page of a target level according to the at least one gesture recognition signal, and switching to display a target subpage in a complete navigation page of the target level in a central area of the display area;
[0071] A first control signal is received, the navigation page is exited according to the first control signal, and the target sub-page is displayed on the touch panel.
[0072] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0073] According to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map includes multiple levels, and each level includes multiple sub-pages;
[0074] The opening method and associated parameters are marked for each level of the sub-page of the site map.
[0075] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0076] Receiving intelligent recommendation requests through a preset area on the navigation page;
[0077] In response to the intelligent recommendation request, receiving intelligent recommendation data input by the user;
[0078] The navigation page corresponding to the currently displayed page is displayed according to the intelligent recommendation data.
[0079] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0080] Continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching to display a navigation page of an adjacent level 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;
[0081] At least one second gesture recognition signal triggered by the user through the control area is received, and according to the second gesture recognition signal, the target subpage in the navigation page of the target level is switched to be displayed completely in the central area of the display area.
[0082] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0083] Continuously receiving a first sliding signal triggered by a user sliding upward through the control area, and controlling the display area to switch and display an adjacent next-level navigation page according to the first sliding signal; and / or,
[0084] The second sliding signal triggered by the user sliding downward through the control area is continuously received, and the display area is controlled to switch and display an adjacent upper-level navigation page according to the second sliding signal.
[0085] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0086] A first click signal from a user based on a display area in the display area corresponding to the target sub-page is received, and according to the first click signal, a central area of the display area is controlled to switch to display the complete target sub-page.
[0087] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0088] Continuously receive at least one third sliding signal of sliding left or right triggered by the user through the control area, control multiple sub-pages in the navigation page of the target level to slide left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area until switching to display the complete target sub-page in the central area of the display area.
[0089] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls the display area to switch to displaying a navigation page of a target level according to at least one gesture recognition signal, and switches in the central area of the display area to display a target sub-page in the navigation page of the complete target level; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0090] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the page switching method in any of the above method embodiments.
[0091] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0092] In response to the received trigger signal, calling up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page comprising a display area and a control area, the display area being used to display a plurality of sub-pages of the navigation page;
[0093] receiving at least one gesture recognition signal triggered by a user through the control area, controlling the display area to switch to display a navigation page of a target level according to the at least one gesture recognition signal, and switching to display a target subpage in a complete navigation page of the target level in a central area of the display area;
[0094] A first control signal is received, the navigation page is exited according to the first control signal, and the target sub-page is displayed on the touch panel.
[0095] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0096] According to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map includes multiple levels, and each level includes multiple sub-pages;
[0097] The opening method and associated parameters are marked for each level of the sub-page of the site map.
[0098] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0099] Receiving intelligent recommendation requests through a preset area on the navigation page;
[0100] In response to the intelligent recommendation request, receiving intelligent recommendation data input by the user;
[0101] The navigation page corresponding to the currently displayed page is displayed according to the intelligent recommendation data.
[0102] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0103] Continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching to display a navigation page of an adjacent level 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;
[0104] At least one second gesture recognition signal triggered by the user through the control area is received, and according to the second gesture recognition signal, the target subpage in the navigation page of the target level is switched to be displayed completely in the central area of the display area.
[0105] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0106] Continuously receiving a first sliding signal triggered by a user sliding upward through the control area, and controlling the display area to switch and display an adjacent next-level navigation page according to the first sliding signal; and / or,
[0107] The second sliding signal triggered by the user sliding downward through the control area is continuously received, and the display area is controlled to switch and display an adjacent upper-level navigation page according to the second sliding signal.
[0108] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0109] A first click signal from a user based on a display area in the display area corresponding to the target sub-page is received, and according to the first click signal, a central area of the display area is controlled to switch to display the complete target sub-page.
[0110] In an optional manner, the executable instruction causes the processor to perform the following operations:
[0111] Continuously receive at least one third sliding signal of sliding left or right triggered by the user through the control area, control multiple sub-pages in the navigation page of the target level to slide left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area until switching to display the complete target sub-page in the central area of the display area.
[0112] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls the display area to switch to displaying a navigation page of a target level according to at least one gesture recognition signal, and switches in the central area of the display area to display a target sub-page in the navigation page of the complete target level; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0113] Fig.10 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the device.
[0114] like Fig.10 As shown, the computing device may include: a processor (processor) 1002 , a communication interface (Communications Interface) 1004 , a memory (memory) 1006 , and a communication bus 1008 .
[0115] The processor 1002, the communication interface 1004, and the memory 1006 communicate with each other via the communication bus 1008. The communication interface 1004 is used to communicate with other devices such as a client or other server network elements. The processor 1002 is used to execute the program 1010, which can specifically execute the relevant steps in the above-mentioned page switching method embodiment.
[0116] Specifically, the program 1010 may include program codes, which include computer operation instructions.
[0117] The processor 1002 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0118] The memory 1006 is used to store the program 1010. The memory 1006 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0119] The program 1010 may be specifically used to enable the processor 1002 to perform the following operations:
[0120] In response to the received trigger signal, calling up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page comprising a display area and a control area, the display area being used to display a plurality of sub-pages of the navigation page;
[0121] receiving at least one gesture recognition signal triggered by a user through the control area, controlling the display area to switch to display a navigation page of a target level according to the at least one gesture recognition signal, and switching to display a target subpage in a complete navigation page of the target level in a central area of the display area;
[0122] A first control signal is received, the navigation page is exited according to the first control signal, and the target sub-page is displayed on the touch panel.
[0123] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0124] According to the hierarchical structure of the current App, a site map of the current App is formulated, wherein the site map includes multiple levels, and each level includes multiple sub-pages;
[0125] The opening method and associated parameters are marked for each level of the sub-page of the site map.
[0126] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0127] Receiving intelligent recommendation requests through a preset area on the navigation page;
[0128] In response to the intelligent recommendation request, receiving intelligent recommendation data input by the user;
[0129] The navigation page corresponding to the currently displayed page is displayed according to the intelligent recommendation data.
[0130] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0131] Continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching to display a navigation page of an adjacent level 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;
[0132] At least one second gesture recognition signal triggered by the user through the control area is received, and according to the second gesture recognition signal, the target subpage in the navigation page of the target level is switched to be displayed completely in the central area of the display area.
[0133] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0134] Continuously receiving a first sliding signal triggered by a user sliding upward through the control area, and controlling the display area to switch and display an adjacent next-level navigation page according to the first sliding signal; and / or,
[0135] The second sliding signal triggered by the user sliding downward through the control area is continuously received, and the display area is controlled to switch and display an adjacent upper-level navigation page according to the second sliding signal.
[0136] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0137] A first click signal from a user based on a display area in the display area corresponding to the target sub-page is received, and according to the first click signal, a central area of the display area is controlled to switch to display the complete target sub-page.
[0138] In an optional manner, the program 1010 enables the processor to perform the following operations:
[0139] Continuously receive at least one third sliding signal of sliding left or right triggered by the user through the control area, control multiple sub-pages in the navigation page of the target level to slide left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area until switching to display the complete target sub-page in the central area of the display area.
[0140] The embodiment of the present invention, in response to a received trigger signal, calls up a navigation page corresponding to the currently displayed page and generated according to a pre-generated site map, the navigation page including a display area and a control area, the display area being used to display multiple sub-pages of the navigation page; receives at least one gesture recognition signal triggered by a user through the control area, controls the display area to switch to displaying a navigation page of a target level according to at least one gesture recognition signal, and switches in the central area of the display area to display a target sub-page in the navigation page of the complete target level; receives a first control signal, exits the navigation page according to the first control signal, and displays the target sub-page on the touch panel, so as to visually display the multi-level navigation view of the App, and facilitate the user to quickly view and select the target page.
[0141] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0142] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0143] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than those expressly recited in each claim.
[0144] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0145] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A page switching method, characterized in that: The method comprises: In response to the received trigger signal, a navigation page generated according to a pre-generated site map and corresponding to the currently displayed page is invoked, the navigation page comprising a display area and a control area, the display area being used to display a plurality of sub-pages of the navigation page; the site map is generated in the following manner: according to the hierarchical structure of the current App, a site map of the current App is formulated, the site map comprising a plurality of hierarchies, each of which comprises a plurality of sub-pages; annotating the sub-pages of each hierarchical level of the site map with an opening method and associated parameters; When displaying subpages include: The current App obtains the implementation method of the sub-page by identifying the rendering method and page ID of the native page, and renders the sub-page; When using RN rendering to display sub-pages, the current App obtains the data of the page through the data link, and then uses the development SDK to assemble the page data into a page display; If the sub-page to be displayed is in web page format, the current App initializes a WebView control and loads a web link on the WebView control to display the web page content; receiving at least one gesture recognition signal triggered by a user through the control area, controlling the display area to switch to display a navigation page of a target level according to the at least one gesture recognition signal, and switching to display a target subpage in a complete navigation page of the target level in a central area of the display area; A first control signal is received, the navigation page is exited according to the first control signal, and the target sub-page is displayed on the touch panel.
2. The method according to claim 1, characterized in that The calling up of a navigation page corresponding to the currently displayed page generated according to a pre-generated site map also includes: Receiving intelligent recommendation requests through a preset area on the navigation page; In response to the intelligent recommendation request, receiving intelligent recommendation data input by the user; The navigation page corresponding to the currently displayed page is displayed according to the intelligent recommendation data.
3. The method according to claim 1, characterized in that The receiving at least one gesture recognition signal triggered by the user through the control area, controlling the display area to switch to display a navigation page of a target level according to the at least one gesture recognition signal, and switching in the central area of the display area to display a target sub-page in the navigation page of the complete target level, includes: Continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching to display a navigation page of an adjacent level 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; At least one second gesture recognition signal triggered by the user through the control area is received, and according to the second gesture recognition signal, the target subpage in the navigation page of the target level is switched to be displayed completely in the central area of the display area.
4. The method according to claim 3, characterized in that The continuously receiving a first gesture recognition signal triggered by the user through the control area, and switching the display of the adjacent level navigation page in the display area according to the first gesture recognition signal, includes: Continuously receiving a first sliding signal triggered by a user sliding upward through the control area, and controlling the display area to switch and display an adjacent next-level navigation page according to the first sliding signal; and / or, The second sliding signal triggered by the user sliding downward through the control area is continuously received, and the display area is controlled to switch and display an adjacent upper-level navigation page according to the second sliding signal.
5. The method according to claim 3, characterized in that: The receiving at least one second gesture recognition signal triggered by the user through the control area, and switching to displaying the target subpage in the navigation page of the complete target level in the central area of the display area according to the second gesture recognition signal, includes: A first click signal from a user based on a display area in the display area corresponding to the target sub-page is received, and according to the first click signal, a central area of the display area is controlled to switch to display the complete target sub-page.
6. The method according to claim 3, characterized in that The receiving at least one second gesture recognition signal triggered by the user through the control area, and displaying the target sub-page in the central area of the display area according to the second gesture recognition signal, comprises: Continuously receive at least one third sliding signal of sliding left or right triggered by the user through the control area, control multiple sub-pages in the navigation page of the target level to slide left or right at the same time according to the third sliding signal, and switch to display the adjacent sub-pages on the left or right side of the current sub-page in the central area of the display area until switching to display the complete target sub-page in the central area of the display area.
7. A page switching device, characterized in that: The device comprises: A navigation display unit, configured to, in response to a received trigger signal, call up a navigation page generated according to a pre-generated site map and corresponding to a currently displayed page, wherein the navigation page includes a display area and a control area, and a plurality of sub-pages of the navigation page are displayed in the display area; the site map is generated in the following manner: according to the hierarchical structure of the current App, a site map of the current App is formulated, the site map includes a plurality of levels, and each level includes a plurality of sub-pages; and annotating the sub-pages of each level of the site map with an opening method and associated parameters; The navigation display unit is also used for the current App to obtain the implementation method of the sub-page by identifying the rendering method and page ID of the native page, and render the sub-page; when the sub-page is displayed in the RN rendering method, the current App obtains the data of the page through the data link, and then uses the development SDK to assemble the page data into a page display; if the sub-page to be displayed is in the web page format, the current App initializes a WebView control, and loads the web page link on the WebView control to display the web page content; A display switching unit, configured to receive at least one gesture recognition signal triggered by a user through the control area, and control switching to display a navigation page of a target level in the display area according to at least one gesture recognition signal, and switching to display a target subpage in the complete navigation page of the target level in the central area of the display area; The target display unit is used 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.
8. A computing device, characterized in that include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the steps of the page switching method according to any one of claims 1-6.
9. A computer storage medium, characterized in that: The storage medium stores at least one executable instruction, and the executable instruction enables the processor to execute the steps of the page switching method according to any one of claims 1-6.
