Page rollback jump method and device, equipment, storage medium and program product
By saving page status information in real time and using this information to seamlessly roll back when the page falls back, the problems of poor flexibility and low accuracy of page fallback in the prior art are solved, and the efficiency and accuracy of cross-site page fallback are achieved.
Patent Information
- Application Number
- CN202411863680.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-28
AI Technical Summary
In the prior art, the page back-back jump method has problems such as poor flexibility and low accuracy, especially when cross-site jumps, it is impossible to effectively back-back positioning.
By capturing the user's jump action, the page status information is saved in real time, and seamlessly fall back to the original page according to the saved status information when the page falls back, ensuring that the page status is consistent.
It achieves the flexibility and accuracy of page back-back jumps, ensures the consistency of user experience and the accuracy of information, and overcomes the problem that back-back jumps cannot cross websites.
Smart Images

Figure CN119719541A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to a page back jump method, device, equipment, storage medium and program product. Background Art
[0002] With the continuous development of Internet technology, the number of Internet websites has gradually increased. A single website may not be able to meet the needs of users. In many cases, users need to be guided to other websites. Page jumps between different websites have become a very common phenomenon. However, with the frequent page jumps between websites, the demand for falling back to the original page content after cross-website page jumps has increased. Especially for long list pages, the browser's built-in fallback positioning function is insufficient, which greatly reduces the user experience and increases the server pressure. Therefore, developing a more efficient page fallback jump method has become an application direction with development prospects.
[0003] In the prior art, the page back jump method mainly utilizes the keep-alive component in the Vue framework. By wrapping the long list component in the keep-alive component, the component state is cached. When the user jumps from the long list page to other pages, the state of the long list component will be retained. When the user clicks the back button to return to the long list page, since the component state has been cached, there is no need to re-request data from the server or re-render the component document object model (DOM), thereby optimizing the page back positioning.
[0004] However, the keep-alive components used in the existing technical methods are limited to the Vue framework and are invalid across sites. There are technical problems such as poor flexibility and low accuracy of page rollback and jump. Summary of the invention
[0005] The present application provides a page rollback jump method, device, equipment, storage medium and program product to solve the technical problems of poor flexibility and low accuracy of page rollback jump.
[0006] In a first aspect, the present application provides a method for jumping back to a page, comprising:
[0007] In response to a first jump triggering operation of the user on the first display page, acquiring a second display page corresponding to the jump triggering operation;
[0008] Obtaining page status information of the first display page, and saving the page status information;
[0009] displaying a second display page;
[0010] In response to a second jump triggering operation of the user on the second display page, determining whether the second jump triggering operation is a page rollback operation;
[0011] If it is determined that the second jump triggering operation is a page rollback operation, the first display page is displayed according to the page state information.
[0012] In a second aspect, the present application provides a page back jump device, comprising:
[0013] A first acquisition module, configured to acquire, in response to a first jump triggering operation of a user on a first display page, a second display page corresponding to the jump triggering operation;
[0014] A second acquisition module, used to acquire page status information of the first display page and save the page status information;
[0015] A first display module, used for displaying a second display page;
[0016] A determination module, configured to determine whether the second jump triggering operation is a page rollback operation in response to a second jump triggering operation of the user on the second display page;
[0017] The second display module is used to display the first display page according to the page status information if it is determined that the second jump triggering operation is a page rollback operation.
[0018] In a third aspect, an embodiment of the present application provides a page rollback jump device, including: a memory, a processor;
[0019] Memory stores computer-executable instructions;
[0020] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method of the first aspect as described above.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method of the first aspect as described above.
[0022] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the method of the first aspect above when executed by a processor.
[0023] The present application provides a page back jump method, apparatus, equipment, storage medium and program product. When a user triggers a jump operation on a first display page, the system can quickly respond and locate to the corresponding second display page. At the same time, the system will also accurately capture and save the status information of the first page. When the user triggers the jump operation again on the second page and the system recognizes it as a page back, the system can immediately bring the user back to the first page seamlessly based on the previously saved status information of the first page, and the page status is exactly the same as when leaving. While ensuring the user's experience continuity and information accuracy during the page jump process, it overcomes the problem that the back jump cannot cross websites, thereby achieving the technical effect of enhancing the flexibility of page back jump processing and improving the accuracy of page back jump. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0025] Figure 1 A schematic diagram of an application data processing system architecture provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 1 ;
[0027] Figure 3 A schematic diagram of an application scenario of a page back jump method provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 2 ;
[0029] Figure 5 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 3 ;
[0030] Figure 6 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 4 ;
[0031] Figure 7 A schematic diagram of the structure of a page back jump device provided in an embodiment of the present application;
[0032] Figure 8 A schematic diagram of the structure of a page back jump device provided in an embodiment of the present application.
[0033] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0034] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0035] It should be noted that the page rollback jump method, device, equipment, storage medium and product provided in the present application can be used in the field of financial technology, and can also be used in any field other than financial technology. The application field of the page rollback jump method, device, equipment, storage medium and product in the present application is not limited.
[0036] Since the keep-alive components used in the existing technical methods are limited to the Vue framework and are invalid across sites, there are technical problems such as poor flexibility and low accuracy of page rollback and jump.
[0037] In response to the above problems, the present application provides a page rollback jump method, device, equipment, storage medium and product, which captures the user's jump action and saves the page status information in real time before the web page jumps. When the page rolls back, it can directly roll back to the original page according to the page status information, thus overcoming the problem that the page cannot jump across sites and improving the flexibility and accuracy of the page jump process.
[0038] Furthermore, when the user triggers a jump operation on the first display page, the system can respond quickly and locate the corresponding second display page. At the same time, the system will also accurately capture and save the status information of the first page. When the user triggers the jump operation again on the second page and the system recognizes it as a page rollback, it can immediately bring the user back to the first page seamlessly based on the previously saved status information of the first page, and the page status is exactly the same as when leaving. While ensuring the continuity of the user's experience and the accuracy of information during the page jump process, it overcomes the problem that the rollback jump cannot cross websites, thereby achieving the technical effect of enhancing the flexibility of page rollback jump processing and improving the accuracy of page rollback jumps.
[0039] Figure 1 The present invention provides an application data processing system architecture diagram, the application data processing system can be a computer device. Figure 1 As shown, the above architecture includes at least one of a data acquisition device 101 , a processing device 102 and a display device 103 .
[0040] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the application data processing system architecture. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0041] In a specific implementation process, the data acquisition device 101 may include an input / output interface and may also include a communication interface. The data acquisition device 101 may be connected to the processing device via the input / output interface or the communication interface.
[0042] The processing device 102 can obtain a second display page corresponding to the jump trigger operation in response to a first jump trigger operation performed by a user on a first display page; obtain page status information of the first display page and save the page status information; display the second display page; in response to a second jump trigger operation performed by a user on the second display page, determine whether the second jump trigger operation is a page back operation; if it is determined that the second jump trigger operation is a page back operation, display the first display page according to the page status information.
[0043] The display device 103 may also be a touch display screen or a screen of a terminal device, which is used to receive user instructions while displaying the above content to achieve interaction with the user.
[0044] It should be understood that the above-mentioned processing device can be implemented by a processor reading instructions in a memory and executing the instructions, or it can be implemented by a chip circuit.
[0045] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0046] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] Figure 2 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 1 ,like Figure 2 As shown, the page back jump method provided by the embodiment of the present application includes:
[0048] S201, in response to a first jump triggering operation of a user on a first display page, acquiring a second display page corresponding to the jump triggering operation;
[0049] When the user performs a jump operation on the first display page, the system responds to the operation in a timely manner and obtains the corresponding second display page according to the detailed information of the operation.
[0050] Specifically, on the list details page, a click event is bound to each list item through the browser's native event monitoring mechanism. When the list scrolls down to the bottom, the user clicks the list item to trigger the click event and jump to the corresponding details page.
[0051] S202, obtaining page status information of the first display page, and saving the page status information;
[0052] In this embodiment, the page status information includes page number information of the list, quantity information of page lists on each page, and scroll position information of the current page list.
[0053] According to the first jump trigger operation, the system promptly obtains and saves the page status information of the current first display page.
[0054] Specifically, when the list scrolls down to the bottom, the user clicks on the list item to trigger a click event; the page status is saved in the click event, that is, the page number (page_no), the number of pages per page (page_size) and the scroll position (scroll_top) of the current page list are first obtained, and stored in the browser's local storage (localStorage).
[0055] S203, displaying a second display page;
[0056] The acquired second display page is displayed.
[0057] S204, in response to a second jump triggering operation of the user on the second display page, determining whether the second jump triggering operation is a page rollback operation;
[0058] When the user triggers a jump operation on the second display page, it is first necessary to determine whether the jump operation is a page back operation.
[0059] S205: If it is determined that the second jump triggering operation is a page rollback operation, display the first display page according to the page status information.
[0060] After determining that the jump operation of the user on the second display page is a page back operation, the first display page is displayed according to the previously saved page state information of the first display page.
[0061] Specifically, Figure 3 A schematic diagram of an application scenario of a page back jump method provided in an embodiment of the present application, such as Figure 3 As shown, the user scrolls down the long list page and clicks an item in the list to trigger a click event. In the click event, the page state is first stored locally in the browser, and then the page jumps to the details page; when the page rolls back from the details page to the list page, the browser restores the page state from the local storage and scrolls the page to the position before the jump, thus completing the rollback positioning.
[0062] Understandably, Figure 3 It is only a schematic display effect diagram and does not affect the protection scope of the embodiments of the present application.
[0063] The present embodiment provides a page back jump method. By responding to the user's first jump trigger operation on the first display page, the system can quickly obtain the corresponding second display page. At the same time, the system will also accurately capture and save the status information of the first page. When the user triggers the jump operation again on the second page and the system recognizes it as a page back, it can immediately bring the user back to the first page seamlessly based on the previously saved status information of the first page, and the page status is exactly the same as when leaving. While ensuring the user's experience continuity and information accuracy during the page jump process, it overcomes the problem that the back jump cannot cross websites, thereby achieving the technical effect of enhancing the flexibility of page back jump processing and improving the accuracy of page back jump.
[0064] Optional, Figure 4 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 2 ,like Figure 4 As shown, based on the above embodiment, this embodiment describes in detail the process of saving the page status information of the first display page, wherein the first display page belongs to the original list page, and the acquisition method thereof includes:
[0065] S401, obtaining the page number of the first display page in the original list page, the number of lists on the first display page, and the scrolling position of the first display page;
[0066] In this embodiment, the first display page refers to the list details page, and the original list page refers to the current list page.
[0067] The page number information of the first display page in the current list page, the number of lists on the first display page, and the scroll position information of the first display page are obtained.
[0068] S402, splicing the page status information into the first uniform resource locator of the original list page;
[0069] In this embodiment, the uniform resource locator refers to a URL.
[0070] The acquired parameter information of the page number of the first display page in the current list page, the number of lists on the first display page, and the scroll position of the first display page are concatenated into the URL of the original list page.
[0071] S403: Store the first uniform resource locator in the local storage of the browser.
[0072] Specifically, the page number (page_no), the number of pages (page_size) and the scroll position (scroll_top) of the current page list are concatenated into the URL of the original list page. The concatenated URL is in the form of: http:abc?page_no=13&page_size=20&scroll_top=1000. The URL is then used as the key to store the overall data parameters in the browser's main storage.
[0073] The present embodiment provides a page back jump method, which improves the accuracy of page positioning and ensures the reliability of the back jump of subsequent pages by obtaining the page number of the first display page in the original list page, the number of lists in the first display page and the scrolling position of the first display page. In addition, the page status information is spliced into the first uniform resource locator of the original list page and the first uniform resource locator is stored in the local storage of the browser, so that subsequent data acquisition can be directly obtained in the cache and no longer relies on the network, which not only saves network bandwidth, but also reduces the pressure on the back-end server and ensures the integrity of the page data, thereby achieving the technical effect of enhancing the flexibility of page back jump processing and improving the accuracy of page back jump.
[0074] Optional, Figure 5 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 3 ,like Figure 5 As shown, this embodiment, based on the above embodiment, describes in detail the display process of the first display page, including:
[0075] S501, obtaining a first uniform resource locator from the local storage of the browser;
[0076] The first uniform resource locator stored in the above embodiment is obtained from the local storage of the current browser.
[0077] S502: Obtain pre-cached list data from the browser according to the first uniform resource locator to render the page where the list is located corresponding to the first display page;
[0078] According to the first statistical resource locator, the corresponding pre-cached list data is obtained in the current browser, and according to the pre-cached list data, the page where the list corresponding to the first display page is located is rendered.
[0079] S503, detecting whether the page where the list corresponding to the first display page is located is rendered successfully;
[0080] After the rendering is completed, the first display page is detected to determine whether the page where the list corresponding to the first display page is located is rendered successfully.
[0081] S504: If it is detected that the rendering is unsuccessful, determine the page number of the first display page in the original list page and the number of lists on the first display page according to the first uniform resource locator;
[0082] After determining that the page where the list corresponding to the first display page is located fails to be rendered, the page number information of the first display page in the original list page and the number information of the lists on the first display page are obtained according to the first uniform resource locator.
[0083] S505, rendering the page where the list corresponding to the first display page is located according to the page number of the first display page in the original list page and the number of lists on the first display page;
[0084] According to the acquired page number information of the first display page in the original list page and the list quantity information of the first display page, the page where the list corresponding to the first display page is located is further rendered for the second time.
[0085] Specifically, when the page is rolled back, the try catch statement of JavaScript (js) is used to monitor exceptions. If a rendering exception occurs when the page recovers data from the browser local storage, data is requested page by page according to the number of pages (page_size) and the page number of the list (page_no), and the list is rendered.
[0086] S506, determining a scroll position of the first display page according to the first uniform resource locator;
[0087] After the second rendering is completed, the scroll position information of the first display page continues to be obtained according to the first uniform resource locator.
[0088] S507: Display the first display page according to the scroll position of the first display page.
[0089] The first display page is displayed according to the scrolling position information of the first display page.
[0090] Specifically, the previously cached list data rendering list is obtained from the browser localStorage using the URL as the key, and the page is scrolled to the scroll_top position through the pixel value attribute (window.scrollTop) of the current window's vertical scrolling, that is, the data and scrolling position before the jump are restored.
[0091] The present embodiment provides a page back jump method, which can quickly restore the page status previously browsed by the user by obtaining a uniform resource locator and pre-cached list data from local storage, while ensuring the accuracy of page back jump, reducing loading time and improving user experience, and utilizing the list data pre-cached by the browser, through local storage and pre-caching mechanisms, improving data access speed and efficiency, and optimizing system resource utilization, in addition, by detecting whether the page rendering is successful, if the rendering is unsuccessful, re-rendering the page according to the page number and the number of lists, thereby improving the reliability of page rendering, and finally, by restoring the page status from local storage, ensuring the consistency of data and page status, achieving the technical effect of enhancing the flexibility of page back jump processing and improving the accuracy of page back jump.
[0092] Optional, Figure 6 A schematic diagram of a method for returning to a page provided in an embodiment of the present application Figure 4 ,like Figure 6 As shown, based on the above embodiment, this embodiment provides a supplementary explanation of the judgment process of whether the second jump triggering operation is a page rollback operation, wherein the second display page includes a first jump identifier and a second jump identifier, and the judgment process includes:
[0093] S601: In response to a second jump triggering operation of a user on a first jump identifier or a second jump identifier, obtaining a second uniform resource locator of a second display page;
[0094] In this embodiment, the first jump identifier corresponds to a page jump operation, and the second jump identifier corresponds to a non-page jump operation.
[0095] In response to a page jump operation or a non-page jump operation performed by the user, a second uniform resource locator corresponding to the second display page is acquired.
[0096] S602, determining whether there is a scroll parameter in the second uniform resource locator;
[0097] According to the second uniform resource locator, it is determined whether there is a scroll parameter in the second uniform resource locator.
[0098] S603: If it is determined that there is a scroll parameter in the second uniform resource locator, determine that the second jump triggering operation is a page rollback operation.
[0099] After determining that the scroll parameter exists in the second uniform resource locator, it is determined that the second jump triggering operation is a page rollback operation.
[0100] Specifically, taking the scroll parameter as scroll_top as an example, the user jumps from the list page to the list item details page, and then returns to the original list page. At this time, the original list page determines whether it is a page return by whether there is a scroll_top parameter in the URL. If the parameter scroll_top exists in the URL, it is determined that the jump operation is a page return operation. Otherwise, it is determined that the jump operation is not a page return operation.
[0101] In a possible implementation, if it is determined that the second jump triggering operation is not a page rollback operation, the request data is initialized and the page is rendered.
[0102] The present embodiment provides a page back jump method, which determines whether a jump trigger operation is a page back operation by determining whether a scroll parameter exists in a second uniform resource locator corresponding to a second display page, thereby improving the reliability and response speed of the system's determination. At the same time, interactivity is improved by responding to different jump operations corresponding to different positions on the second display page. In addition, the system recognizes and processes scroll parameters so that it can be easily integrated into various web pages and applications to adapt to different user needs and scenarios, thereby achieving the technical effect of enhancing the flexibility of page back jump processing and improving the accuracy of page back jump.
[0103] Figure 7 This is a schematic diagram of the structure of a page back jump device provided in an embodiment of the present application. The device of this embodiment can be in the form of software and / or hardware. Figure 7 As shown, a page back jump device 700 provided in an embodiment of the present application includes: a first acquisition module 701, a second acquisition module 702, a first display module 703, a determination module 704, and a second display module 705:
[0104] A first acquisition module 701 is used to acquire a second display page corresponding to the jump trigger operation in response to a first jump trigger operation of a user on a first display page;
[0105] The second acquisition module 702 is used to acquire the page status information of the first display page and save the page status information;
[0106] A first display module 703, used to display a second display page;
[0107] A determination module 704, configured to determine whether the second jump triggering operation is a page rollback operation in response to a second jump triggering operation of the user on the second display page;
[0108] The second display module 705 is configured to display the first display page according to the page status information if it is determined that the second jump triggering operation is a page rollback operation.
[0109] In a possible implementation, the first display page belongs to the original list page, and accordingly, the second acquisition module 702 is further configured to:
[0110] The page number of the first display page in the original list page, the number of lists on the first display page, and the scroll position of the first display page are obtained.
[0111] In a possible implementation manner, the second acquisition module 702 is further configured to:
[0112] splicing the page status information into the first uniform resource locator of the original list page;
[0113] The first uniform resource locator is stored in the browser's local storage.
[0114] In a possible implementation manner, the second display module 705 is further used for:
[0115] Retrieve the first uniform resource locator from the browser's local storage;
[0116] A first display page is displayed according to the first uniform resource locator.
[0117] In a possible implementation manner, the second display module 705 is further used for:
[0118] According to the first uniform resource locator, the pre-cached list data is obtained from the browser to render the page where the list corresponding to the first display page is located;
[0119] Determining a scroll position of a first display page according to the first uniform resource locator;
[0120] The first display page is displayed according to the scroll position of the first display page.
[0121] In a possible implementation manner, the second display module 705 is further used for:
[0122] Check whether the page where the list corresponding to the first display page is located is rendered successfully;
[0123] If it is detected that the rendering is unsuccessful, determining the page number of the first display page in the original list page and the number of lists on the first display page according to the first uniform resource locator;
[0124] According to the page number of the first display page in the original list page and the number of lists on the first display page, a page where the list corresponding to the first display page is located is rendered.
[0125] In a possible implementation, the determining module 704 is further configured to:
[0126] In response to a second jump triggering operation of the user on the second display page, acquiring a second uniform resource locator of the second display page;
[0127] determining whether a scroll parameter exists in the second uniform resource locator;
[0128] If it is determined that the second uniform resource locator contains a scroll parameter, the second jump triggering operation is determined to be a page back operation.
[0129] In a possible implementation manner, the second display page includes a first jump indicator and a second jump indicator. Accordingly, the determination module 704 is further configured to:
[0130] In response to a second jump trigger operation of the user on a first jump identifier or a second jump identifier, it is determined whether the second jump trigger operation is a page back operation, wherein the first jump identifier corresponds to a page jump operation and the second jump identifier corresponds to a non-page jump operation.
[0131] The present embodiment provides a page back jump device, which can execute the method provided by the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail in this embodiment.
[0132] Figure 8 This is a schematic diagram of the structure of a page back jump device provided by this application. Figure 8 As shown, the electronic device 800 provided in this embodiment includes: at least one processor 801 and a memory 802. Optionally, the device 800 also includes a communication component 803. The processor 801, the memory 802 and the communication component 803 are connected via a bus.
[0133] In a specific implementation process, at least one processor 801 executes the computer-executable instructions stored in the memory 802, so that at least one processor 801 executes the above method.
[0134] The specific implementation process of the processor 801 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0135] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0136] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0137] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0138] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0139] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0140] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0141] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0142] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0145] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0146] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0147] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A page fallback jump method, characterized in that: include: In response to a first jump triggering operation of a user on a first display page, acquiring a second display page corresponding to the jump triggering operation; Acquire page status information of the first display page, and save the page status information; displaying the second display page; In response to a second jump triggering operation of the user on the second display page, determining whether the second jump triggering operation is a page rollback operation; If it is determined that the second jump triggering operation is a page rollback operation, the first display page is displayed according to the page status information.
2. The method according to claim 1, characterized in that: The first display page belongs to the original list page; Correspondingly, the acquiring the page status information of the first display page includes: The page number of the first display page in the original list page, the number of lists in the first display page, and the scroll position of the first display page are obtained.
3. The method according to claim 2, characterized in that The saving of the page status information includes: splicing the page state information into the first uniform resource locator of the original list page; The first uniform resource locator is stored in the local storage of the browser.
4. The method according to claim 3, characterized in that: The step of displaying the first display page according to the page status information includes: Obtaining the first uniform resource locator from the local storage of the browser; The first display page is displayed according to the first uniform resource locator.
5. The method according to claim 4, characterized in that The step of displaying the first display page according to the first uniform resource locator includes: According to the first uniform resource locator, obtain pre-cached list data from the browser to render the page where the list corresponding to the first display page is located; Determining a scroll position of the first display page according to the first uniform resource locator; The first display page is displayed according to the scroll position of the first display page.
6. The method according to claim 5, characterized in that After obtaining the pre-cached list data from the browser according to the first uniform resource locator to render the page where the list corresponding to the first display page is located, the method further includes: Detecting whether the page where the list corresponding to the first display page is located is rendered successfully; If it is detected that the rendering is unsuccessful, determining the page number of the first display page in the original list page and the number of lists on the first display page according to the first uniform resource locator; The page where the list corresponding to the first display page is located is rendered according to the page number of the first display page in the original list page and the number of lists on the first display page.
7. The method according to any one of claims 1 to 6, characterized in that: In response to the second jump triggering operation of the user on the second display page, determining whether the second jump triggering operation is a page rollback operation includes: In response to a second jump triggering operation of the user on the second display page, acquiring a second uniform resource locator of the second display page; determining whether a scroll parameter exists in the second uniform resource locator; If it is determined that the second uniform resource locator contains a scroll parameter, the second jump triggering operation is determined to be a page back operation.
8. The method according to any one of claims 1 to 6, characterized in that: The second display page includes a first jump mark and a second jump mark; Accordingly, in response to the second jump triggering operation of the user on the second display page, determining whether the second jump triggering operation is a page rollback operation includes: In response to a second jump trigger operation performed by the user on the first jump identifier or the second jump identifier, determine whether the second jump trigger operation is a page back operation, wherein the first jump identifier corresponds to a page jump operation and the second jump identifier corresponds to a non-page jump operation.
9. A page back jump device, characterized in that: include: A first acquisition module, configured to, in response to a first jump triggering operation of a user on a first display page, acquire a second display page corresponding to the jump triggering operation; A second acquisition module, used to acquire page status information of the first display page and save the page status information; A first display module, used for displaying the second display page; a determination module, configured to determine, in response to a second jump triggering operation of the user on the second display page, whether the second jump triggering operation is a page rollback operation; The second display module is used to display the first display page according to the page status information if it is determined that the second jump triggering operation is a page rollback operation.
10. A page fallback jump device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.