Page access method, device, electronic device and storage medium

By storing access data on the current page and restoring page data, the redundancy and overlap problems caused by global data storage are solved and the user experience is improved.

CN115097992BActive Publication Date: 2024-09-06GUAHAO (HANGZHOU) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210753535.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-09-06
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

In the existing technology, data storage methods are usually global in nature, leading to data redundancy and data overlap problems, and poor user experience.

Method used

By storing page access data in the current page, and when a rollback instruction is detected, the pre-stored access identifier and access data are obtained, and the page data is restored to achieve the page rollback effect.

Benefits of technology

It realizes unique data storage for each page, solves the problem of data redundancy and overlap, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115097992B
    Figure CN115097992B
Patent Text Reader

Abstract

The present invention discloses a page access method, device, electronic device and storage medium, wherein the method comprises: when an instruction to roll back from a current page to a previous page is detected, obtaining a pre-stored access identifier and corresponding access data corresponding to the previous page, wherein the access identifier includes filtering conditions, list items and page scrolling height when jumping to the current page; based on the access identifier and the corresponding access data, restoring the page data when jumping to the current page to obtain the previous page and roll back to display. The technical solution of the embodiment of the present invention realizes the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage, and by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a page access method, device, electronic device and storage medium. Background Art

[0002] In application development, commonly used data storage methods include small text file storage, local storage, and session storage, which are used to store data generated by users in the application, such as user information, filtering conditions, and paging status.

[0003] Since commonly used data storage methods are usually global in nature, the stored data can be accessed anywhere in the entire application, and the stored data is shared, which may lead to problems such as data redundancy and data overlap. Summary of the invention

[0004] The present invention provides a page access method, device, electronic device and storage medium, so as to store page access data in the access record of the current page and realize the effect of page recovery based on the stored page access data.

[0005] According to one aspect of the present invention, a page access method is provided, the method comprising:

[0006] When an instruction to return from the current page to the previous page is detected, the pre-stored access identifier and corresponding access data corresponding to the previous page are obtained, wherein the access identifier includes the filter condition, list items and page scroll height when jumping to the current page;

[0007] Based on the access identifier and the corresponding access data, the page data when jumping to the current page is restored to obtain the previous page and roll back to display.

[0008] According to another aspect of the present invention, a page access device is provided, the device comprising:

[0009] An access data acquisition module, for acquiring a pre-stored access identifier and corresponding access data corresponding to the previous page when an instruction to return from the current page to the previous page is detected, wherein the access identifier includes a filter condition, a list item, and a page scroll height when jumping to the current page;

[0010] The page data recovery module is used to recover the page data when jumping to the current page based on the access identifier and the corresponding access data, so as to obtain the previous page and roll back the display.

[0011] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0012] at least one processor; and

[0013] a memory communicatively connected to the at least one processor; wherein,

[0014] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page access method described in any embodiment of the present invention.

[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page access method described in any embodiment of the present invention when executed.

[0016] The technical solution of the embodiment of the present invention, when an instruction to roll back from the current page to the previous page is detected, obtains the pre-stored access identifier and corresponding access data corresponding to the previous page, and further, based on the access identifier and the corresponding access data, restores the page data when jumping to the current page to obtain the previous page and roll back to display, thereby solving the problems of data redundancy and data overlap caused by the fact that the commonly used data storage methods in the prior art are usually global in nature, the stored data can be obtained anywhere in the entire application, and the stored data is shared, and realizes the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage, and by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.

[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 is a flow chart of a page access method provided according to the first embodiment of the present invention;

[0020] Figure 2 is a flow chart of a page access method provided according to Embodiment 2 of the present invention;

[0021] Figure 3 is a structural diagram of a page access method and device provided according to a fourth embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the page access method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] Embodiment 1

[0026] Figure 1 A flowchart of a page access method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where page access data is stored and a page is displayed based on the page access data. The method can be executed by a page access device, which can be implemented in the form of hardware and / or software, and can be configured in a terminal and / or a server. Figure 1 As shown, the method includes:

[0027] S110 . When an instruction to roll back from the current page to the previous page is detected, obtain a pre-stored access identifier and corresponding access data corresponding to the previous page.

[0028] In this embodiment, the current page can be understood as the page currently being browsed. The previous page can be understood as the upper page of the current page, that is, the current page is the page generated by jumping after a click operation is input on a control displayed in the previous page. Exemplarily, if the previous page is a list page, the current page is the list item details page. By inputting a click operation on any list item displayed in the previous page, you can jump to the details introduction page of the current list item, which is the current page; if the previous page is the homepage, the current page is the list page. By inputting a click operation on a control in the previous page, you can jump to the list page corresponding to the control.

[0029] In this embodiment, the instruction to roll back from the current page to the previous page can be a pre-written program code, which can execute the rollback from the current page to the previous page. The access identifier can be understood as the various access items of the user to the page required to construct the page data. Optionally, the access identifier includes the filtering conditions, list items and page scroll height when jumping to the current page. Among them, the filtering conditions can be understood as the filtering criteria for the content displayed on the page when the user accesses the previous page. For example, when the filtering condition is that the price of the product is between 100-200, the various list items displayed on the page are all items with prices between 100-200. Access data can be understood as the user's access to the current access identifier. For example, when the access identifier is the page scroll height, its corresponding access data is 100, which means that when the user scrolls the previous page to a position with a height of 100, the access page scroll height 100 is stored in the access data of the previous page. If you jump from the previous page to the current page at this time, and then roll back from the current page to the previous page, it will roll back to the position where the scroll height of the previous page is 100.

[0030] Optionally, obtaining a pre-stored access identifier and corresponding access data corresponding to a previous page includes: calling a data storage tool class, and obtaining an access identifier and corresponding access data corresponding to the previous page based on a data acquisition function in the data storage tool class.

[0031] Among them, the tool class can be understood as a data type used to provide some general public methods in a non-business field, which does not require supporting member variables and is only used as a tool method. The data storage tool class (historyState) can be a data type used to implement data setting, acquisition and modification of storage. Optionally, the data storage tool class includes data setting functions, data acquisition functions, and data modification storage functions.

[0032] It should be noted that the data setting function in the data storage tool class can realize the encapsulation of the browser's native history access interface (such as history.state); the data acquisition function and data modification storage function can realize the encapsulation of the browser's native history replacement interface (such as history.replaceState).

[0033] The data acquisition function can be understood as a program or code for implementing the page access record data acquisition function. Exemplarily, the data acquisition function can be implemented based on historyState.getItem(key).

[0034] Specifically, when an instruction to roll back from the current page to the previous page is detected, the data storage tool class can be called, and the access identifier corresponding to the previous page can be obtained based on the data acquisition function in the tool class, and the corresponding access data can be determined based on each access identifier.

[0035] In a specific implementation, when the user needs to go back from the current page to the previous page, there will be a selection control for going back to the previous page in the current page. When an operation that triggers the selection control is detected, an instruction to go back from the current page to the previous page will be generated. At this time, when an instruction to go back from the current page to the previous page is received, the pre-stored access identifier and corresponding access data corresponding to the previous page can be obtained according to the instruction, so that the relevant page data when jumping from the previous page to the current page can be constructed based on the access identifier and its corresponding access data.

[0036] It should be noted that the instruction to return from the current page to the previous page can be generated by clicking the "Back" button in the page, or by the back instruction "history.back()" or the back and refresh instruction "history.go(-1)" in the JavaScript programming language, etc. This embodiment does not make any specific limitations on this.

[0037] It should also be noted that the access identifier and its corresponding access data are stored in correspondence with each other in the access record of the corresponding page. For example, the access identifier and the corresponding access data can be stored in correspondence with each other in the form of a Key-Value pair, that is, the access identifier is used as the Key and the corresponding access data is used as the Value. For example, taking the page scroll height as an example, when the page scroll height is 100, the page currently being visited jumps to other pages, then in the access record of the currently being visited page, the page access height can be stored in the form of scrollTop:100.

[0038] S120: Based on the access identifier and the corresponding access data, the page data when jumping to the current page is restored to obtain the previous page and roll back the display.

[0039] In this embodiment, the page data can be understood as data generated according to the user behavior input by the user to the target page. Exemplarily, the page data can include screening condition data, scroll height data, list data, and the like.

[0040] In a specific implementation, after obtaining the access identifier and corresponding access data corresponding to the previous page, the page data when jumping from the previous page to the current page can be restored according to each access identifier and corresponding access data, so that the previous page can be generated based on the page data and displayed after rolling back.

[0041] It should be noted that when a user visits a page, there will be corresponding modification operations on the content displayed in the currently visited page. For example, the filtering conditions in the page will be modified. At this time, the access record data associated with the current page will also be modified accordingly, and a new access record will be generated to replace the current access record.

[0042] On the basis of the above technical solution, it also includes: when a data change instruction for the historical record data of the previous page is detected, an access identifier and corresponding access data corresponding to the previous page are obtained based on the historical record access interface; based on the data setting function in the data storage tool class, each access identifier and the corresponding access data are changed to update the page data of the previous page and display the updated previous page.

[0043] In this embodiment, the data change instruction can be understood as a pre-written program code, which is used to implement the operation of changing the historical access data of the page. The history access interface can be understood as a browser-native application tool for reading the browser history. Exemplarily, the history access interface can be history.state. The data setting function can be understood as a program or code for implementing the page access data setting function. Exemplarily, the data setting function can be implemented based on historyState.setItem(key,value).

[0044] In a specific implementation, when it is necessary to modify and update the content displayed on the previous page, a modification page will pop up on the terminal interface. There will be selection controls for each modification item on the modification page. When a trigger confirmation control is detected, an instruction to modify the historical record data of the previous page will be generated. At this time, after receiving the instruction, the historical record access data of the previous page that has been pre-stored is obtained by calling the historical record access interface. Furthermore, the corresponding access identifier in the historical record data is modified according to the data setting function, and the corresponding access data is determined according to the modified access identifier, so as to modify the access identifier and the corresponding access data corresponding to the previous page to correspond to the content displayed on the previous page in the current state, update the page data of the previous page and display the updated page.

[0045] In actual applications, there may be a situation where after clicking on a certain area in the current page, you re-enter the previous page. For the previous page, this belongs to the situation of redetermining the page data and generating the corresponding page. At this time, the previous page corresponds to a new historical record. Therefore, when re-entering the display, the initial display effect of the previous page is displayed, that is, the access identifier and corresponding access data corresponding to the previous page in the current state are empty values.

[0046] On the basis of the above technical solution, it also includes: when an instruction to re-enter the previous page from the current page is detected, obtaining the pre-stored access identifier and corresponding access data corresponding to the previous page; based on the access identifier and the corresponding access data, restoring the initial page data of the previous page to obtain the previous page and display it.

[0047] The instruction to re-enter the previous page from the current page can be understood as a pre-written program code, which is used to implement the operation of re-entering the previous page from the current page. Exemplarily, the instruction to re-enter the previous page from the current page can be generated by inputting a click operation on a link displayed in the current page.

[0048] In a specific implementation, when a click operation is detected based on a link or a display control input in the current page, an instruction to re-enter the previous page from the current page is generated. After receiving the instruction, the access identifier and corresponding access data corresponding to the previous page are obtained by calling the data acquisition function in the data storage tool class. Furthermore, based on the acquired access identifier and corresponding access data, the initial page data of the previous page is restored, and the previous page is generated and displayed based on the initial page data.

[0049] In practical applications, in order to solve the problem of page data redundancy, the life cycle of page data storage can be pre-set, and when the life cycle is received, the corresponding page data is deleted to achieve the effect of releasing page memory. Based on this, on the basis of the above technical solution, it also includes: when a page closing instruction of the target page is detected, the access data of the access identifier corresponding to the target page is deleted.

[0050] In this embodiment, the target page may include a current page or a previous page. The page closing instruction may be understood as a pre-written program code, which is used to implement a closing operation on the target display page. Exemplarily, the page closing instruction may be generated by inputting a click operation on a page closing control displayed in the target page.

[0051] In a specific implementation, when a click operation is detected on the page close control displayed in the target page, an instruction for closing the page will be generated. After receiving the instruction, the access identifier and corresponding access data corresponding to the target page can be deleted according to the instruction.

[0052] The technical solution of the embodiment of the present invention, when an instruction to roll back from the current page to the previous page is detected, obtains the pre-stored access identifier and corresponding access data corresponding to the previous page, and further, based on the access identifier and the corresponding access data, restores the page data when jumping to the current page to obtain the previous page and roll back to display, thereby solving the problems of data redundancy and data overlap caused by the fact that the commonly used data storage methods in the prior art are usually global in nature, the stored data can be obtained anywhere in the entire application, and the stored data is shared, and realizes the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage, and by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.

[0053] Embodiment 2

[0054] Figure 2 This is a flow chart of a page access method provided by Embodiment 2 of the present invention. Based on the above embodiment, this embodiment adds a process of accessing data storage. Figure 2 As shown, the method includes:

[0055] S210: Obtain access data of at least one access identifier associated with a target page, and store each access identifier and the corresponding access data as historical record data.

[0056] In this embodiment, the target page can be understood as a page that needs to store historical record data. Exemplarily, the target page can be a home page, a list page, or a detail page. The historical record data can be understood as the access record data generated during the user's access to the target page.

[0057] In actual applications, when a user accesses a target page, corresponding access data will be generated based on the specific operation input by the user based on at least one access identifier associated with the target page. Furthermore, the access identifier and the corresponding access data can be stored in the access record of the target page so that they can be extracted and applied in a timely manner.

[0058] Optionally, each access item and the corresponding access data are stored as historical record data in a corresponding manner, including: calling a data storage tool class, and storing the historical record data in a corresponding manner based on a data setting function in the data storage tool class.

[0059] In a specific implementation, after obtaining the access data of at least one access identifier associated with the target page, each access identifier and its corresponding access data are used as the historical record data of the target page by calling the data setting function in the data storage tool class, and each access identifier and the corresponding access data are stored one by one in the historical record memory of the target page.

[0060] S220: When an instruction to roll back from the current page to the previous page is detected, obtain a pre-stored access identifier and corresponding access data corresponding to the previous page.

[0061] S230: Based on the access identifier and the corresponding access data, restore the page data when jumping to the current page to obtain the previous page and roll back the display.

[0062] The technical solution of the embodiment of the present invention obtains access data of at least one access identifier associated with the target page, and stores each access identifier and the corresponding access data as historical record data. Furthermore, when an instruction to roll back from the current page to the previous page is detected, the pre-stored access identifier and the corresponding access data corresponding to the previous page are obtained. Finally, based on the access identifier and the corresponding access data, the page data when jumping to the current page is restored to obtain the previous page and roll back to display. This solves the problems of data redundancy and data overlap caused by the fact that commonly used data storage methods in the prior art are usually global in nature, the stored data can be obtained anywhere in the entire application, and the stored data is shared. This achieves the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage. In addition, by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.

[0063] Embodiment 3

[0064] The embodiment of the present invention is a preferred embodiment of the above embodiments, taking the previous page as a list page and the current page as a detail page as an example. The method may specifically include the following steps:

[0065] 1. When you visit the list page for the first time, use historyState.getItem(key) to obtain the access data corresponding to the filter conditions, list items, and page scroll height associated with the list page. Since it is the first visit, the access data obtained is null;

[0066] 2. Based on the filter operation input on the list page, the filter conditions, list items, page scroll height, and corresponding access data are stored correspondingly through historyState.setItem(key,value);

[0067] 3. Based on a click operation on a list item in the list page, you can jump to the detail page corresponding to the current list item;

[0068] 4. Input a click operation based on the back button in the detail page to return to the list page;

[0069] 5. When a page rollback operation is detected, the previously stored page access data is obtained through historyState.getItem(key) to restore the list page to the page when jumping to the detail page;

[0070] 6. Enter the click operation based on the back button in the list page to return to the home page;

[0071] 7. When you click on the link displayed on the home page to re-enter the list page, the access data of the list page obtained through historyState.getItem(key) is null;

[0072] 8. Close all pages to delete all page visit data associated with the pages.

[0073] The technical solution of the embodiment of the present invention, when an instruction to roll back from the current page to the previous page is detected, obtains the pre-stored access identifier and corresponding access data corresponding to the previous page, and further, based on the access identifier and the corresponding access data, restores the page data when jumping to the current page to obtain the previous page and roll back to display, thereby solving the problems of data redundancy and data overlap caused by the fact that the commonly used data storage methods in the prior art are usually global in nature, the stored data can be obtained anywhere in the entire application, and the stored data is shared, and realizes the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage, and by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.

[0074] Embodiment 4

[0075] Figure 3 This is a schematic diagram of the structure of a page access device provided by Embodiment 4 of the present invention. Figure 3 As shown, the device includes: an access data acquisition module 310 and a page data recovery module 320.

[0076] The access data acquisition module 310 is used to acquire the pre-stored access identifier and corresponding access data corresponding to the previous page when an instruction to return from the current page to the previous page is detected, wherein the access identifier includes the filter condition, list items and page scroll height when jumping to the current page;

[0077] The page data recovery module 320 is used to recover the page data when jumping to the current page based on the access identifier and the corresponding access data, so as to obtain the previous page and roll back the display.

[0078] The technical solution of the embodiment of the present invention, when an instruction to roll back from the current page to the previous page is detected, obtains the pre-stored access identifier and corresponding access data corresponding to the previous page, and further, based on the access identifier and the corresponding access data, restores the page data when jumping to the current page to obtain the previous page and roll back to display, thereby solving the problems of data redundancy and data overlap caused by the fact that the commonly used data storage methods in the prior art are usually global in nature, the stored data can be obtained anywhere in the entire application, and the stored data is shared, and realizes the effect of storing the current page access data in the current page, and each page has its corresponding page access data, achieving the technical effect of page-level application data storage, and by obtaining the pre-stored page access data, the effect of page data recovery is achieved, thereby improving the user experience.

[0079] Optionally, the access data acquisition module 310 is further used to call the data storage class file, and based on the data acquisition function in the data storage tool class, acquire the access identifier and corresponding access data corresponding to the previous page.

[0080] Optionally, the device further includes: a data storage module, configured to obtain access data of at least one access identifier associated with the target page, and store each access identifier and the corresponding access data as historical record data.

[0081] Optionally, the data storage module is also used to call the data storage tool class to store the historical record data accordingly based on the data setting function in the data storage tool class.

[0082] Optionally, the device further comprises: a data modification operation detection module and an access data modification module;

[0083] The data change operation detection module is used to obtain the access identifier and corresponding access data corresponding to the previous page based on the historical record access interface when a data change operation based on the input of the previous page is detected; the access data change module is used to change each access identifier and corresponding access data based on the data setting function in the data storage tool class to update the page data of the previous page and display the updated previous page.

[0084] Optionally, the device further comprises: a page re-instruction detection module and an initial page data recovery module;

[0085] The page re-entry instruction detection module is used to obtain the pre-stored access identifier and corresponding access data corresponding to the previous page when an instruction to re-enter the previous page from the current page is detected; the initial page data recovery module is used to recover the initial page data of the previous page based on the access identifier and the corresponding access data, so as to obtain the previous page and display it.

[0086] Optionally, the device further includes: an access data deletion module, configured to delete the access data of the access identifier corresponding to the target page when a page closing instruction of the target page is detected.

[0087] The page access device provided in the embodiment of the present invention can execute the page access method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0088] Embodiment 5

[0089] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0090] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0091] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0092] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a page access method.

[0093] In some embodiments, the page access method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the page access method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the page access method in any other appropriate manner (e.g., by means of firmware).

[0094] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0095] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0096] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0097] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0098] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0099] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0100] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0101] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A page access method, characterized in that: include: Acquire access data of at least one access identifier associated with a target page, and store each of the access identifiers and the corresponding access data as historical record data; the target page includes a previous page; When an instruction to roll back from the current page to the previous page is detected, the data storage tool class is called, and based on the data acquisition function in the data storage tool class, the pre-stored historical record data corresponding to the previous page, including the access identifier and the corresponding access data, is acquired, wherein the access identifier is required for constructing the page data, and the user's access items to the page, including the filter conditions, list items, and page scroll height when jumping to the current page; the access data is the user's access to the access identifier; Based on the access identifier and corresponding access data stored in the historical record data, the page data when jumping to the current page is restored to obtain the previous page and roll back the display; The method further comprises: When an instruction to re-enter a previous page from a current page is detected, obtaining a pre-stored access identifier and corresponding access data corresponding to the previous page; Based on the access identifier and the corresponding access data, the initial page data of the previous page is restored to obtain the previous page and display the initial display effect of the previous page.

2. The method according to claim 1, characterized in that: The storing each access identifier and the corresponding access data as historical record data includes: The data storage tool class is called, and the historical record data is stored accordingly based on the data setting function in the data storage tool class.

3. The method according to claim 1, characterized in that Also includes: When a data modification instruction for the historical record data of the previous page is detected, acquiring an access identifier and corresponding access data corresponding to the previous page based on a historical record access interface; Based on the data setting function in the data storage tool class, each of the access identifiers and the corresponding access data is changed to update the page data of the previous page and display the updated previous page.

4. The method according to claim 1, characterized in that: Also includes: When a page closing instruction of a target page is detected, the access data of the access identifier corresponding to the target page is deleted.

5. A page access device, characterized in that: include: A data storage module, used to obtain access data of at least one access identifier associated with a target page, and store each access identifier and the corresponding access data as historical record data; the target page includes a previous page; An access data acquisition module is used to call a data storage tool class when an instruction to roll back from a current page to a previous page is detected, and based on a data acquisition function in the data storage tool class, acquire the pre-stored historical record data corresponding to the previous page, including the access identifier and the corresponding access data, wherein the access identifier is required for constructing page data, and is the user's access item for the page, including the filter condition, list item, and page scroll height when jumping to the current page; the access data is the user's access to the access identifier; A page data recovery module, used to recover the page data when jumping to the current page based on the access identifier and corresponding access data stored in the historical record data, so as to obtain the previous page and roll back the display; A page re-entry instruction detection module, for obtaining a pre-stored access identifier and corresponding access data corresponding to the previous page when an instruction to re-enter the previous page from the current page is detected; The initial page data recovery module is used to recover the initial page data of the previous page based on the access identifier and the corresponding access data, so as to obtain the previous page and display the initial display effect of the previous page.

6. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page access method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page access method according to any one of claims 1 to 4 when executed.