Page display method, device, storage medium and electronic device

By storing and using page jump parameters to jump back from the details page to the list page, the page refresh problem caused by jumping between pages in Vue framework development is solved and the user experience is improved.

CN116569165BActive Publication Date: 2024-09-20BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180003647.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-09-20
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

When using the Vue framework to develop a single-page application, jumping between pages causes the page to refresh, and the user needs to repeat the filtering operation to restore the query results, which reduces the user experience.

Method used

By receiving the query operation of the list page, the page positioning identifier of the details page is stored, including the page jump parameters, and the page status is retained by jumping from the details page back to the list page based on these parameters.

Benefits of technology

This avoids page refresh and allows users to obtain the last query results without repeated operations, which improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116569165B
    Figure CN116569165B
Patent Text Reader

Abstract

The present disclosure provides a page display method, device, storage medium and electronic device; it relates to the field of computer technology. The method includes: when receiving a query operation for target data in a list page, jumping from the list page to the detail page corresponding to the target data, and storing a first page location identifier of the detail page, wherein the first page location identifier includes a page jump parameter; obtaining the page jump parameter, and jumping back to the list page from the detail page according to the page jump parameter. The present disclosure can retain the page jump parameter when entering the detail page from the list page, and when returning from the detail page, the previous list page can be restored according to the stored page jump parameter, thereby avoiding page refresh caused by page jump, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a page display method, a page display device, a computer-readable storage medium, and an electronic device. Background Art

[0002] With the continuous update of front-end technology and frameworks, the complexity of page functions and interactions has also increased. In front-end development, Vue is a progressive framework for building user interfaces. Based on the Vue framework, front-end pages can be developed quickly, such as single-page application development.

[0003] When using the Vue framework to develop single-page applications, jumping between pages will cause page refreshes. For example, after selecting a certain data from a filtered list page and jumping to the details page of the data, when returning to the list page from the details page, the list page will return to its initial state without saving the query results after the last filter. If the user needs to view the query results, they need to filter again, which reduces the user experience.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a page display method, a page display device, a computer-readable storage medium, and an electronic device.

[0006] The present disclosure provides a page display method, comprising:

[0007] When receiving a query operation for target data in a list page, jumping from the list page to a detail page corresponding to the target data, and storing a first page location identifier of the detail page, wherein the first page location identifier includes a page jump parameter;

[0008] The page jump parameter is obtained, and the page jump is redirected from the detail page back to the list page according to the page jump parameter.

[0009] In an exemplary embodiment of the present disclosure, the list page includes an original list page and an intermediate list page; when a query operation on target data in the list page is received, jumping from the list page to a detail page corresponding to the target data and storing a first page location identifier of the detail page includes:

[0010] When a trigger operation on a search control in the original list page is received, the original list page is switched to the intermediate list page according to the page jump parameter;

[0011] When a query operation on the first target data in the intermediate list page is received, the page is jumped from the intermediate list page to the first detail page corresponding to the first target data.

[0012] In an exemplary embodiment of the present disclosure, when a query operation on the first target data in the intermediate list page is received, jumping from the intermediate list page to a first detail page corresponding to the first target data includes:

[0013] When receiving a query operation for the first target data in the intermediate list page, acquiring the page jump parameter and a second page location identifier of the first detail page;

[0014] Convert the page jump parameter into a target parameter string through a page jump function;

[0015] The first page location identifier of the first detail page is formed by the target parameter character string and the second page location identifier;

[0016] Jump from the intermediate list page to the first detail page according to the first page positioning identifier of the first detail page.

[0017] In an exemplary embodiment of the present disclosure, converting the page jump parameter into a target parameter string by using a page jump function includes:

[0018] Convert the page jump parameter into an initial parameter string;

[0019] The initial parameter character string is encoded to obtain the target parameter character string.

[0020] In an exemplary embodiment of the present disclosure, converting the page jump parameter into a target parameter string by using a page jump function includes:

[0021] Convert the page jump parameter into an initial parameter string;

[0022] Encoding the initial parameter character string to obtain a first parameter character string;

[0023] The first parameter character string is encrypted to obtain the target parameter character string.

[0024] In an exemplary embodiment of the present disclosure, the acquiring the page jump parameter and jumping back from the detail page to the list page according to the page jump parameter includes:

[0025] Obtain the target parameter string through a parameter parsing function;

[0026] Parsing the target parameter string to obtain the page jump parameter;

[0027] Jump back to the intermediate list page from the first detail page according to the page jump parameter.

[0028] In an exemplary embodiment of the present disclosure, the obtaining the target parameter string through a parameter parsing function includes:

[0029] Determining, by means of the parameter parsing function, whether the first page location identifier of the first detail page satisfies a preset matching rule, and whether the first page location identifier contains preset parameters;

[0030] When the first page location identifier of the first detail page satisfies a preset matching rule and the first page location identifier includes a preset parameter, the target parameter character string is obtained.

[0031] In an exemplary embodiment of the present disclosure, parsing the target parameter string to obtain the page jump parameter includes:

[0032] The target parameter string is decoded to obtain the initial parameter string, and the initial parameter string is converted into the page jump parameter.

[0033] In an exemplary embodiment of the present disclosure, parsing the target parameter string to obtain the page jump parameter includes:

[0034] Decrypting the target parameter string to obtain the first parameter string;

[0035] The first parameter string is decoded to obtain the initial parameter string, and the initial parameter string is converted into the page jump parameter.

[0036] In an exemplary embodiment of the present disclosure, the step of jumping from the detail page back to the list page according to the page jump parameter includes:

[0037] Assign the current value of the page jump parameter to an option variable, where the option variable is used to store the default value of the page jump parameter;

[0038] Jump back to the intermediate list page from the detail page according to the assigned option variable.

[0039] In an exemplary embodiment of the present disclosure, after jumping from the intermediate list page to the first detail page corresponding to the first target data, the method further includes:

[0040] When receiving a query operation for the second target data in the first detail page, jumping from the first detail page to the second detail page corresponding to the second target data through the page display method according to any one of claims 2 to 10, and storing a page location identifier of the second detail page;

[0041] The page jump parameter included in the page location identifier of the second detail page is obtained, and the page jump is performed from the second detail page back to the first detail page according to the page jump parameter.

[0042] In an exemplary embodiment of the present disclosure, after jumping from the intermediate list page to the first detail page corresponding to the first target data, the method further includes:

[0043] When receiving a query operation for the second target data in the first detail page, jumping from the first detail page to the second detail page corresponding to the second target data, and storing a page location identifier of the second detail page;

[0044] Determine a first page location identifier of the first details page according to the page location identifier of the second details page;

[0045] Jump back to the first details page from the second details page according to the first page location identifier of the first details page.

[0046] In an exemplary embodiment of the present disclosure, the page jump function, parameter parsing function and option variables are pre-packaged as an executable file and stored in a browser, so that the executable file is executed when a query operation on target data in a list page is received, wherein:

[0047] The page jump function is used to convert the page jump parameter into a target parameter string; form a first page location identifier of the first detail page from the target parameter string and the second page location identifier; and jump from the intermediate list page to the first detail page according to the first page location identifier of the first detail page;

[0048] The parameter parsing function is used to obtain the target parameter string; parse the target parameter string to obtain the page jump parameter; and jump from the first detail page back to the intermediate list page according to the page jump parameter;

[0049] The option variable is used to store the default value of the page jump parameter.

[0050] The present disclosure provides a page display device, comprising:

[0051] A first page display module, configured to, upon receiving a query operation on target data in a list page, jump from the list page to a detail page corresponding to the target data, and store a first page location identifier of the detail page, wherein the first page location identifier includes a page jump parameter;

[0052] The second page display module is used to obtain the page jump parameter and jump back from the detail page to the list page according to the page jump parameter.

[0053] The present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, any one of the above-mentioned methods is implemented.

[0054] The present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.

[0055] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0057] Figure 1 A schematic diagram showing an exemplary system architecture of a page display method and device to which the embodiments of the present disclosure can be applied;

[0058] Figure 2 A flowchart of a page display method according to an embodiment of the present disclosure is schematically shown;

[0059] Figure 3 Schematically shows a flow chart of jumping from a list page to a detail page according to an embodiment of the present disclosure;

[0060] Figure 4 A flowchart of jumping from a detail page back to a list page according to an embodiment of the present disclosure is schematically shown;

[0061] Figure 5 Schematically shows a flow chart of jumping back to the list page from the detail page according to another embodiment of the present disclosure;

[0062] Figure 6A schematic diagram schematically shows a list page according to an embodiment of the present disclosure;

[0063] Figure 7 A schematic diagram schematically shows a list page with query conditions according to an embodiment of the present disclosure;

[0064] Fig. 8A A schematic diagram of a work order details page according to an embodiment of the present disclosure is schematically shown;

[0065] Figure 8B A schematic diagram of a work order details page containing list data according to an embodiment of the present disclosure is schematically shown;

[0066] Figure 8C A schematic diagram of a work order details page with filtering conditions according to an embodiment of the present disclosure is schematically shown;

[0067] Fig. 9A A schematic diagram of a detail page of related pictures in a work order detail page according to an embodiment of the present disclosure is schematically shown;

[0068] Fig. 9B A schematic diagram of a detail page of a prohibited intrusion area according to an embodiment of the present disclosure is schematically shown;

[0069] Fig.10 A block diagram of a page display device according to an embodiment of the present disclosure is schematically shown;

[0070] Fig.11 The structure diagram of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0071] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0072] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0073] Figure 1 A schematic diagram of a system architecture of an exemplary application environment to which a page display method and apparatus according to an embodiment of the present disclosure can be applied is shown.

[0074] like Figure 1 As shown, the system architecture 100 may include one or more of the terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices, including but not limited to desktop computers, portable computers, smart phones and tablet computers, etc., for providing a user interface for page display. For example, a client (such as a browser) is installed on the terminal device, and pages can be browsed through the browser client. Specifically, the browser on the terminal device can be used to perform: when a query operation for target data in a list page is received, jump from the list page to the details page corresponding to the target data, and store the first page location identifier of the details page, the first page location identifier includes a page jump parameter; obtain the page jump parameter, and jump from the details page back to the list page according to the page jump parameter. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only illustrative. Any number of terminal devices, networks and servers may be provided as required. For example, server 105 may be a single server, a server cluster consisting of multiple servers, or a cloud computing platform or a virtualization center. In addition, server 105 may be used to provide background services for view components that support page display, etc.

[0075] The page display method provided in the embodiment of the present disclosure is generally executed by one or more of the terminal devices 101, 102, and 103, and accordingly, the page display device is generally arranged in the terminal devices 101, 102, and 103. For example, after being executed by the terminal device, the last query result can be directly displayed on the display screen of the terminal device, and this is not particularly limited in the present exemplary embodiment. However, it is easy for those skilled in the art to understand that the page display method provided in the embodiment of the present disclosure can also be executed by the server 105, and accordingly, the page display device can also be arranged in the server 105. The server can retain the query condition selected by the user, so that when the page jump is performed, the last query result can be returned according to the query condition, and the terminal device can display it to the user.

[0076] The technical solution of the embodiment of the present disclosure is described in detail below:

[0077] With the continuous update of front-end technology and frameworks, the complexity of page functions and interactions has also increased. In front-end development, Vue is a progressive framework for building user interfaces. Based on the Vue framework, front-end pages can be developed quickly, such as single-page application development.

[0078] When developing single-page applications using the Vue-Cli framework (a scaffolding tool in the Vue framework), page jumps will cause page refreshes. For example, after selecting a data from a filtered list page and jumping to the details page of the data, when returning to the list page from the details page, the list page will return to its initial state without saving the query results after the last filter. If the user needs to view the query results, they need to filter again, which reduces the user experience.

[0079] In the related art, the query conditions of the list page can be retained by retaining the URL (Uniform Resource Locator) parameters to achieve the retention of the list page status. However, this method directly puts the query conditions into the URL, which is neither safe nor beautiful. In addition, after entering the details page from the list page, the query conditions can be saved in the details page URL. When returning to the list page from the details page, the query conditions need to be put into the list page URL again. The list page reads the query conditions in the URL and requests data from the background. During the page jump process, although the details page itself does not need to use the query conditions, in order to add the query conditions to the list page URL when returning to the list page, the details page needs to read and parse the query conditions in the current URL, add the query conditions to the list page URL to form a new target URL, and then jump, which increases the workload of modifying the details page, reduces the user's operating efficiency, and thus affects the user's experience.

[0080] Based on one or more of the above problems, this example implementation provides a page display method, which can be applied to one or more of the above terminal devices 101, 102, 103, and can also be applied to the above server 105. This exemplary embodiment does not make any special limitations on this.

[0081] refer to Figure 2 As shown, the page display method may include step S210 and step S220:

[0082] Step S210. When a query operation for target data in a list page is received, jump from the list page to a detail page corresponding to the target data, and store a first page location identifier of the detail page, wherein the first page location identifier includes a page jump parameter;

[0083] Step S220: Obtain the page jump parameter, and jump back from the detail page to the list page according to the page jump parameter.

[0084] In the page display method provided in the exemplary implementation of the present disclosure, upon receiving a query operation on target data in a list page, the page is jumped from the list page to the detail page corresponding to the target data, and a first page location identifier of the detail page is stored, wherein the first page location identifier includes a page jump parameter; the page jump parameter is obtained, and the page is jumped back to the list page from the detail page according to the page jump parameter. The present disclosure can retain the page jump parameter when entering the detail page from the list page, and when returning from the detail page, the previous list page can be restored according to the page jump parameter, thereby avoiding page refresh caused by page jump, and the user can obtain the last query result without re-operation, thereby improving the user experience.

[0085] Next, the above steps of this exemplary embodiment are described in more detail.

[0086] In step S210, when a query operation for target data in a list page is received, the list page is jumped to a detail page corresponding to the target data, and a first page location identifier of the detail page is stored, wherein the first page location identifier includes a page jump parameter.

[0087] In the example implementation of the present disclosure, the page display of a list page and several detail pages in a single-page application can be used as an example for explanation. Among them, a single-page application refers to an application with only one main page. When the application is running in a browser, the system only needs to load resources once, and subsequent operation interactions and data interactions are implemented through Router (routing) and AJAX (Asynchronous Javascript And XML, a web development technology for creating interactive web applications). The list page and the detail page can be user interfaces developed by the Vue-Cli framework. Specifically, the list page can be a user interface in an application for displaying highly repetitive interface elements, and the order, position and data source of each interface element can be controlled by the Vue-Cli framework. The detail page can be a user interface in an application for displaying the detailed content of a certain interface element. For example, interface elements may include a status bar, a navigation bar, a main menu bar, and a content area, etc., which are not specifically limited in the present disclosure. For example, for an application used for operation and maintenance services, the main menu bar of the list page may include tasks such as "work order management", "user management" and "information library management", and the content area may be the work order list data corresponding to the "work order management" task, the user list data corresponding to the "user management" task, or the information library list data corresponding to the "information library management" task.

[0088] When a user queries the details of a certain data in a list page, it is necessary to enter the query conditions related to the data in the list page. In the example implementation of the present disclosure, the query conditions may include filtering conditions and paging conditions. The filtering conditions may be information such as name and status, and the paging conditions may be information such as page number and number of data items per page. For example, if a user searches by name in a list page, and the filtering condition with the list page is "name:1", it may mean to search for all data in the list page whose name contains "1". If a user searches by page number in a list page, and the paging condition with the list page is "pageNum:2", it may mean to select a certain data in the second page to view the details of the data. It should be noted that the list page may include an original list page and an intermediate list page. Among them, the original list page may be the initial state of the list page, and the intermediate list page may be a list page with both filtering conditions and paging conditions. For example, after filtering the original list page using a filtering condition (such as name:1), the original list page can be switched to an intermediate list page, i.e., the second page, according to a paging condition (such as pageNum:2). After selecting a certain data in the second page, the page can be jumped to the details page of the data. At this time, the corresponding query condition is: "name:1, pageNum:2". It can be understood that the original list page can default to the first page of data without filtering conditions, and the corresponding query condition is "name:", pageNum:1".

[0089] In an example implementation, when a trigger operation is received for a search control in an original list page, the original list page can be switched to an intermediate list page according to a page jump parameter. When a query operation is received for the first target data in the intermediate list page, the page can be jumped from the intermediate list page to the first details page corresponding to the first target data, and the first page location identifier of the first details page can be stored in the browser, such as the first page location identifier can be cached, or the first page location identifier can be temporarily stored in the browser, and the present disclosure does not specifically limit this. Among them, the page jump parameter can be the query condition entered by the user on the original list page, the first target data can be any list data associated with the details page in the intermediate list page, the first details page can be the first page displayed when the query details operation is performed on the first target data, and the first page location identifier can be the URL of the first details page. It should be noted that in the example implementation of the present disclosure, if the page URL does not change, but the list data in the page changes, it can be indicated that the page has been switched. If both the page URL and the list data in the page change, it can be indicated that the page has been jumped.

[0090] Exemplarily, after the user enters the query condition "name:1, pageNum:2", the browser can switch the original list page to the second list page containing the name "1" according to the query condition by clicking or short pressing the search control. When the user selects the first target data of the second list page and performs a query operation on the data, the user can jump from the second list page to the details page associated with the data. It can be seen that when the original list page is switched to the second list page, the URLs of the original list page and the second list page are the same, and when jumping from the second list page to the details page, the URLs of the second list page and the details page are not the same.

[0091] refer to Figure 3 As shown, according to steps S310 to S340, jumping from the intermediate list page to the first detail page corresponding to the first target data can be achieved.

[0092] Step S310: When a query operation on the first target data in the intermediate list page is received, the page jump parameter and the second page location identifier of the first detail page are obtained.

[0093] Exemplarily, for an intermediate list page with both filtering conditions and paging conditions, when a query operation on the first target data in the intermediate list page is received, a page jump function can be called, and the page jump function can be used to jump from the intermediate list page to the details page corresponding to the first target data. Among them, the query operation can be a user's click / short press operation on the search control on the intermediate list interface, and the present disclosure does not make specific limitations on this. In the example implementation of the present disclosure, the page jump function can be a jump function. When the jump function is used to jump from the intermediate list page to the first details page, the corresponding query condition can be recorded, so that the query condition can be read when returning from the first details page, and the last query result can be restored according to the query condition read, without the user having to perform a filtering operation on the original list page again, which can improve the user experience.

[0094] When calling the jump function, you need to pass in parameters related to the first detail page, which may include page jump parameters and the second page location identifier of the first detail page. For example, the page jump parameter may be the query condition of the intermediate list page, and the second page location identifier of the first detail page may be the initial URL of the first detail page. Correspondingly, you may pass in parameters Router, path, and options. Router may be a Vue Router object. Path is the jump target URL, i.e., the initial URL of the first detail page, which is a string type variable. For example, Path may be " / alarmMgmt / detail / 1". options is the query condition to be recorded, which is an object type variable. For example, the query condition is to filter the original list page according to the filter condition "name is name1, status is type1", and then switch from the original list page to the intermediate list page according to the paging condition "second page, each page contains 10 data" to query the first target data in the intermediate list page. The options passed in corresponding to the query condition may be {pageNum:2,pageSize:10,name:'name1',type:'type1'}.

[0095] Step S320: Convert the page jump parameter into a target parameter string through a page jump function.

[0096] After the parameter transfer is completed, the page jump function can be used to convert the page jump parameters into a target parameter string. Among them, the page jump parameters can be the query condition options carried by the intermediate list page, and the target parameter string can be a params string. It should be noted that the purpose of converting the page jump parameters into a target parameter string is to convert the page jump parameters into content that can be uniformly recognized by the page jump function, which is convenient for unified integrated management and operation. Exemplarily, the jump function can be used to convert the options object into a params string. If options is {pageNum:2,pageSize:10,name:'name1',type:'type1'}, the converted params string can be {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"}, as shown in Table 1.

[0097] Table 1

[0098] options object {pageNum:2,pageSize:10,name:'name1',type:'type1'} params string {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"}

[0099] In one example, in order to increase the security of the details page URL, the query condition can also be encoded when converting the page jump parameter to the target parameter string. Exemplarily, the page jump parameter can be converted into an initial parameter string, and the initial parameter string is encoded to obtain a target parameter string. Specifically, the jump function can be used to convert the options object into a params string, and the params string is the initial parameter string. The encodeURIComponent function can be used to encode the params string in UTF-8 (8-bit Unicode TransformationFormat, variable-length character encoding), and the encoded params string is the target parameter string. Among them, the encodeURIComponent function can encode the string as a URI component. Exemplarily, the encoded params string can be: "%7BpageNum%3Apagesize%22...", as shown in Table 2.

[0100] Table 2

[0101] options object {pageNum:2,pageSize:10,name:'name1',type:'type1'} params string {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"} Encoded params string %7BpageNum%3Apagesize%22…

[0102] It can be seen that the parameter names in the query conditions such as pageNum, pagesize, etc. can be seen from the encoded params string, but the parameter values ​​of each parameter cannot be obtained, which can improve the security of the detail page URL.

[0103] In one example, on the basis of increasing the security of the detail page URL, further, in order to increase the aesthetics of the detail page URL, the query conditions may be encoded first, and the encoded query conditions may be encrypted. Exemplarily, the page jump parameter may be converted into an initial parameter string, the initial parameter string may be encoded to obtain a first parameter string, and the first parameter string may be encrypted to obtain a target parameter string.

[0104] Specifically, first, the options object can be converted into a params string using the jump function, and the params string is the initial parameter string. Then, the encodeURIComponent function can be used to encode the params string, and the encoding result of the params string can be encrypted. Among them, the encoding result of the params string can be Base64 encoded to encrypt the encoding result of the params string. It can be understood that the encryption method can also be MD5 (message-digest algorithm 5), SHA1 (Secure Hash Algorithm 1), Crypto-JS (a JavaScript encryption algorithm), etc., and the present disclosure does not specifically limit this. The encoded params string is the first parameter string, and the encrypted params string is the target parameter string. Exemplarily, the encrypted params string can be "JTdCJTIycGFnZU51...", as shown in Table 3.

[0105] Table 3

[0106] options object {pageNum:2,pageSize:10,name:'name1',type:'type1'} params string {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"} Encoded params string %7BpageNum%3Apagesize%22… Encrypted params string JTdCJTIycGFnZU51…

[0107] It can be seen that it is no longer possible to read parameter information related to the query conditions from the encrypted params string, which further improves the security of the details page URL and increases the aesthetics of the details page URL. In other examples, after converting the options object to a params string using the jump function, the params string can be directly encrypted, and the encrypted params string can be carried to jump to the path page. The present disclosure does not make specific limitations on this. The params string can also be encrypted in multiple layers, such as Base64 encoding, MD5 encryption, and SHA1 encryption of the encoding result of the params string in turn, to further improve the security of the details page URL. The present disclosure does not make specific limitations on this.

[0108] Step S330: The target parameter character string and the second page location identifier form a first page location identifier for the first detail page.

[0109] After obtaining the target parameter string, the first page location identifier of the first details page can be composed of the target parameter string and the second page location identifier of the first details page, so as to jump from the intermediate list page to the first details page according to the first page location identifier of the first details page. Among them, the first page location identifier of the first details page can be a new URL composed of the initial URL of the first details page carrying the params string. When jumping from the intermediate list page to the first details page, the new URL of the first details page can be saved, and the new URL contains the params string, that is, the new URL contains the query conditions of the intermediate list page.

[0110] Step S340: Jump from the intermediate list page to the first detail page according to the first page positioning identifier of the first detail page.

[0111] After getting the params string, you can call the push method of the parameter Router. The push method input parameter is: {path, query:{o:params}}, and jump to the path page with the params string, realizing the jump from the middle list page to the first detail page.

[0112] Exemplarily, the params string converted from the options object is {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"}. The current URL of the first details page can be composed of the initial URL of the first details page carrying the params string. The current URL of the first details page can be " / alarmMgmt / detail / 1?o="pageNum":2,"pageSize":10,"name":"name1","type":"type1"".

[0113] In an example implementation, after the params string is converted from the options object, the encodeURIComponent function is used to encode the params string, and the encoded params string is "%7BpageNum%3Apagesize%22...". Similarly, the push method of the parameter Router can be called to carry the encoded params string to jump to the path page, thereby jumping from the intermediate list page to the first detail page. Exemplarily, the initial URL of the first detail page can carry the params string to form the current URL of the first detail page, and the current URL can be " / alarmMgmt / detail / 1?o=%7BpageNum%3Apagesize%22...".

[0114] In an example implementation, after the params string is converted from the options object, the encodeURIComponent function is used to encode the params string, and the params string obtained by encrypting the encoding result is "JTdCJTIycGFnZU51...", and the push method of the parameter Router can also be called to carry the encrypted params string to jump to the path page, thereby realizing the jump from the intermediate list page to the first detail page. Exemplarily, the current URL of the first detail page can be composed of the initial URL of the first detail page carrying the params string, and the current URL can be " / alarmMgmt / detail / 1?o=%JTdCJTIycGFnZU51...".

[0115] In this example, when using the vue-cli framework to develop a single-page application, you only need to add a page jump function in the list page source code to jump from the list page to the detail page. You can record the query conditions when the page jumps, so that you can read the query conditions when returning from the detail page, and restore the last query results based on the read query conditions. There is no need to modify the detail page, which reduces the user's workload and improves the user's page operation efficiency.

[0116] In step S220, the page jump parameter is obtained, and the page jump is performed from the detail page back to the list page according to the page jump parameter.

[0117] In the example implementation of the present disclosure, an option variable optionsDefault can be defined, and the option variable can be used to save the default value of the page jump parameter. For example, it can be used to save the initial query condition of the list page. If the initial query condition is {pageNum:1, pageSize:10}, it means that each page contains ten data by default, and the data of the first page is taken for display. When entering the list page, optionsDefault will be used as the query condition by default and the corresponding list data will be obtained. It can be understood that when the query condition of the list page is the initial query condition, the initial state of the list page, that is, the original list page, is displayed. When the user queries the details of a certain data in the first page, he can jump from the original list page to the details page of the data. When returning from the details page, optionsDefault will be used as the query condition. At this time, optionsDefault is the initial query condition. According to the initial query condition, the list data of the first page is obtained, that is, it is possible to jump directly back to the original list page from the details page.

[0118] When a user queries the details of a certain data in the intermediate list page, he can jump from the intermediate list page to the details page of the data. When returning from the details page, optionsDefault will be used as the query condition. According to the initial query condition, the list data of the intermediate list page is obtained, that is, the intermediate list page can be jumped back from the details page. When the user views the details of the target data on the details page and returns from the details page, in order to avoid losing the last query result due to page refresh from the details page to the original list page, the parameter parsing function can be called, and the parameter parsing function can be used to return from the details page to the list page that retains the last query result, that is, return to the intermediate list page. In the example implementation of the present disclosure, the parameter parsing function can be a getQuery function. Exemplarily, when a user triggers a page back control in the browser interface, the getQuery function can be called to use the getQuery function to complete the acquisition and parsing of the last query condition before entering the list page, so as to facilitate the restoration of the last query result according to the parsing result, without the user having to perform operations such as filtering the list page again, thereby improving the user's experience.

[0119] In the example implementation of the present disclosure, the Vue framework is used to implement the page display of the single-page application. Therefore, the navigation guard beforeRouteEnter hook function in the Vue Router component can be used to call the getQuery function before the page is rendered. Figure 4 As shown, according to steps S410 to S430, it is possible to jump from the detail page back to the list page retaining the last query result. For example, it is possible to jump from the first detail page back to the middle list page.

[0120] Step S410: Obtain the target parameter string through a parameter parsing function.

[0121] Specifically, when calling the getQuery function, you can pass in parameters for extracting the last query conditions, which can include parameters reg, from, and next. Among them, reg is a regular expression, and reg can be used to match the detail page URL corresponding to the current list page. from and next can be obtained from the beforeRouteEnter hook function. from is object type data, and from can be used to obtain information about the page before entering the list page. next is a jump function. The beforeRouteEnter hook function requires that the next function must be called after the business code is executed to mark the completion of the function and enter the page loading process.

[0122] After the parameter transfer is completed, the getQuery function can be used to obtain the target parameter string. Exemplarily, when returning from the first detail page, the getQuery function can be used to check whether the first page location identifier of the first detail page meets the conditions for obtaining the target parameter string. Exemplarily, when the first detail page URL meets the preset matching rule and the first detail page URL contains the preset parameter, the target parameter string can be obtained from the first detail page URL, and the last query condition can be extracted from the target parameter string. Among them, the preset matching rule can be the matching rule of the regular expression reg, the regular expression reg can be / ^\ / alarmMgmt\ / detail.*$ / , and the preset parameter can be a parameter named "o", that is, only when returning to the list page from the detail page URL starting with / alarmMgmt / detail and carrying the parameter "o", it is necessary to extract the query condition and restore the list data according to the query condition. For example, the detail page URL that meets the extraction query condition can be: / alarmMgmt / detail / 92284? o=JTdCJTIycGFnZVN….

[0123] Specifically, from.fullPath can save the full URL of the page before entering the list page. The URL needs to meet the matching rules of the regular expression reg. The page before entering the list page can be a specified page, such as a detail page corresponding to the list page. At the same time, from.query can save the parameters carried by the URL of the page before entering the list page. The URL parameter must contain the parameter "o". It can be seen that the URL of the detail page meets the matching rules of the regular expression reg. If the URL contains the parameter "o", the last query condition can be extracted from the URL. It should be noted that the target parameter string is saved in the from.query.o variable, so the query condition can only be extracted when the URL parameter contains the parameter "o". It can be understood that if the URL of the page before entering the list page does not meet the matching rules of the regular expression reg, or does not meet the parameter "o" in the URL parameter, it can indicate that the page jump is not from the specified detail page back to the list page, or the detail page URL does not carry the query condition. At this time, next() can be directly executed to enter the list page, that is, return to the initial state of the list page.

[0124] Step S420: Parse the target parameter character string to obtain the page jump parameter.

[0125] After obtaining the target parameter string from the first detail page URL, the target parameter string can be parsed, that is, the from.query.o variable can be parsed to obtain the page jump parameter. For example, if the parameter "o" in the variable, that is, the target parameter string, is the params string {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"}, the params string can be restored to the object type data options{pageNum:2,pageSize:10,name:'name1',type:'type1'}.

[0126] In an example implementation, the target parameter string may also be decoded to obtain an initial parameter string, and the initial parameter string may be converted into a page jump parameter. For example, if the target parameter string is a params string "%7BpageNum%3Apagesize%22...", the decodeURIComponent function may be used to decode the params string, and the params string {"pageNum":2,"pageSize":10,"name":"name1","type":"type1"} may be obtained by decoding, and the params string is the initial parameter string. Then, the params string may be restored to object type data options{pageNum:2,pageSize:10,name:'name1',type:'type1'}.

[0127] In an example implementation, the target parameter string can also be decrypted to obtain the first parameter string, and then the first parameter string is decoded to obtain the initial parameter string, and the initial parameter string is converted into a page jump parameter. Exemplarily, when jumping from the list page to the detail page, the options object is first converted into a params string, and then the encodeURIComponent function is used to encode the params string, and the encoding result of the params string is Base64 encoded, and the encoding result of the params string is encrypted to obtain the params string "JTdCJTIycGFnZU51...". When parsing the params string, the params string can be decoded first. Corresponding to the encoding order, the params string can be Base64 decoded first to decrypt the params string, and then the decodeURIComponent function is used to decode the decrypted params string, and the decrypted params string is the first parameter string. By decoding, the params string {"pageNum": 2,"pageSize": 10,"name":"name1","type":"type1"} can be obtained, and the params string is the initial parameter string. Then, the params string can be restored into object type data options{pageNum:2,pageSize:10,name:'name1',type:'type1'}.

[0128] Step S430: Jump back from the first detail page to the intermediate list page according to the page jump parameter.

[0129] After extracting the page jump parameter, the current value of the page jump parameter can be assigned to the option variable optionsDefault, so as to jump back to the intermediate list page from the first detail page according to the assigned option variable. Exemplarily, after the assignment is completed, the option variable optionsDefault changes from the initial query condition {pageNum:1,pageSize:10} to options{pageNum:2,pageSize:10,name:'name1',type:'type1'}, and enters the intermediate list page by calling and executing next(), which means that the page jumps back from the detail page to the list page that retains the last query result.

[0130] In this example, when using the Vue-cli framework to develop a single-page application, you only need to add a parameter parsing function in the list page source code to jump back from the detail page to the list page that retains the last query result. When returning from the detail page, the query results of the list page are restored by reading the previously recorded query conditions, without modifying the detail page source code, which reduces the user's workload and improves the user's page operation efficiency.

[0131] In one example implementation, reference is made to Figure 5 As shown, jumping back to the list page from the detail page can be achieved according to steps S510 to S580.

[0132] Step S510. Check whether the query conditions can be extracted, that is, the information of the page before entering the list page can be obtained through from, where from.fullPath saves the URL of the page before entering the list page, and from.query saves the parameters carried by the URL of the page before entering the list page. It can be checked whether from.fullPath can match the regular expression reg, and whether from.query contains the parameter o. If so, it means that the query conditions can be extracted from the URL of the page before entering the list page, and then execute step S520. If not, it means that the URL of the page before entering the list page does not carry the query conditions, or this page jump is not returned from the specified detail page to the list page, then execute step S570;

[0133] Step S520. Set the params string to be equal to the from.query.o variable, that is, the URL parameter o of the page before entering the list page contains the params string, and the params string can be stored in the from.query.o variable;

[0134] Step S530. Decode the params string, that is, decode the from.query.o variable;

[0135] Step S540. Decrypt the decoded params string;

[0136] Step S550: Convert the decrypted params string into options;

[0137] Step S560. Assign options to optionsDefault;

[0138] Step S570. Enter the list page, such as executing next() to enter the list page;

[0139] Step S580: Use optionsDefault to request list data, render the list data and display it to the user through the terminal device.

[0140] It is understandable that when a user queries the details of a certain data in the original list page, he can jump from the original list page to the details page of the data. When returning from the details page, optionsDefault will be used as the query condition. At this time, optionsDefault is still the initial query condition after assignment. The list data of the first page is obtained according to the initial query condition, that is, it is possible to jump directly from the details page back to the initial state of the list page. The function of retaining the last query result when returning from the details page to the list page is also realized.

[0141] In the example implementation of the present disclosure, two steps are required to achieve the retention of the last query result when returning from the detail page to the list page. First, modify the page jump function (such as the jump function) in the list page source code, and pass in the encoding result of the query condition options; second, add a beforeRouteEnter hook function in the list page source code to call the parameter parsing function (such as the getQuery function), and the parameter parsing function can be used to read and parse the URL parameters of the previous page before entering the list page to obtain the last query condition options, and modify the page default query condition, that is, the option variable optionsDefault, to the last query condition options, to complete the recovery of the last query result of the list page. This method only needs to add a page jump function and a parameter parsing function in the list page source code, without modifying the detail page source code, which reduces the workload required for the user to complete the function and improves the user's operating efficiency. In addition, the URL parameters are also encoded to increase the security and aesthetics of the URL.

[0142] In an example implementation, after jumping from the intermediate list page to the first details page corresponding to the first target data, at least one second target data may be included in the first details page, and the second target data may be list data related to the detailed content of the first target data. When a query operation for the second target data in the first details page is received, the first details page may be jumped to the second details page corresponding to the second target data according to steps S210 and S220, and the page location identifier of the second details page may be stored. The page jump parameter included in the page location identifier of the second details page may be obtained, and the page jump parameter may be used to jump from the second details page back to the first details page.

[0143] Exemplarily, when jumping from the intermediate list page to the first details page, the first details page may also include multiple list data related to the detailed content of the first target data. The user can filter the multiple list data in the first details page to obtain the filtered first details page, and the first details page at this time has the filtering conditions. In other examples, the filtered first details page may also have filtering conditions and paging conditions at the same time, which is not specifically limited in the present disclosure. Then, when a query operation for a certain list data in the filtered first details page is received, the second details page corresponding to the list data can be jumped from the filtered first details page to the second details page corresponding to the list data according to steps S310 to S340, and the page location identifier of the second details page is stored. When the user triggers the page back control in the browser interface, the page jump parameter contained in the page location identifier of the second details page can be obtained according to steps S410 to S430, and the page jump parameter can be jumped from the second details page back to the filtered first details page according to the page jump parameter.

[0144] In another example implementation, after jumping from the intermediate list page to the first details page corresponding to the first target data, at least one second target data may be included in the first details page, and the second target data is used to represent the detailed content of the first target data. When receiving a query operation for the second target data in the first details page, it is also possible to jump from the first details page to the second details page corresponding to the second target data, and store the page location identifier of the second details page. The first page location identifier of the first details page can be determined based on the page location identifier of the second details page, and the page can be jumped from the second details page back to the first details page based on the first page location identifier of the first details page.

[0145] Exemplarily, when jumping from the intermediate list page to the first details page, the first details page URL may be " / alarmMgmt / detail / 1?o=%JTdCJTIycGFnZU51". When receiving a query operation for a second target data, you can jump from the first details page to the second details page corresponding to the second target data. For example, the second details page URL may be " / alarmMgmt / detail / 1?o=%JTdCJTIycGFnZU51 / picture", and the second details page URL may be stored in the browser. When returning from the second details page, you can obtain the second details page URL to determine the first details page URL based on the second details page URL. For example, if the second details page URL is " / alarmMgmt / detail / 1?o=%JTdCJTIycGFnZU51 / picture", since the first details page URL is composed of the initial URL of the first details page and parameter o, it can be determined that the first details page URL is " / alarmMgmt / detail / 1?o=%JTdCJTIycGFnZU51". Finally, the first details page can be entered according to the first details page URL.

[0146] refer to Figure 6 As shown in the figure, a list page displayed when an application for operation and maintenance service is running is schematically shown. Figure 6 What is displayed is the initial state of the list page, that is, the original list page, and the corresponding query condition is "name:", pageNum: 1", which is the first page of data without filtering conditions. The list page includes the list page URL " / workorderMgmt / Index" and 6 list data. Each list data includes the work order number, work order name and work order status. For example, the first list data is a test work order with the work order number 202101, and the current status of the work order is resolved. It can be understood that each list data in the list page can be used as the target data. When the user selects a certain list data, that is, when a certain work order is selected, the "view details" operation corresponding to the work order can be executed to enter the details page of the work order from the current list page. Among them, "work order number", "work order name" and "work order status" can all be used as filtering conditions, and the page number and 6 data per page can be used as paging conditions. In addition, the user can also directly select the target page number to go to the corresponding middle list page.

[0147] For example, when a user enters the work order name "No Intrusion", he can click the search button to filter the 100 list data. After the filtering is completed, the list page where the "No Intrusion" work order is located can be displayed to the user. Figure 7As shown in the figure, a list page with filtering conditions and paging conditions is schematically shown, that is, the middle list page. It can be seen that the query condition corresponding to the list page is "name: No Intrusion, pageNum: 6", and the URL of the list page is the same as Figure 6 The list page URL is the same as " / workorderMgmt / Index". Figure 7 The 6 listed data items are all prohibited intrusion work orders.

[0148] Figure 7 Each list data in can be used as the first target data. When the user performs a detail view operation on a list data, Figure 7 The list page shown jumps to the detail page corresponding to the list data. For example, when the user selects the intrusion prevention work order with the work order number 202131 and performs the view details operation, the user can enter the detail page of the work order from the current list page, such as Fig. 8A The details page shown. The details page includes the details page URL " / alarmMgmt / detail / 92284?o=JTdCJTIypemUlMjIlM0ExMCU" and 6 details data, namely the work order name, work order number, work order status, creator, creator contact information, creation time and related pictures. When returning from this details page, you can return to Figure 7 The list page shown directly displays the list data of page 6 with the filter condition "No Intrusion" to the user, without returning to Figure 6 The list page shown in the figure can retain the last query result when returning to the list page from the detail page, which is convenient for users to view and improves the user experience. For another example, when the user selects the intrusion prohibition work order with the work order number 202131 and executes the view details operation, the current list can be

[0149] The page goes to the details page of the work order. You can also go to Figure 8B The details page shown.

[0150] The details page includes the URL of the details page and the work order name, work order number, work order status and other details. It also includes 6 list data related to the work order number, which are No Intrusion Area 1 to No Intrusion Area 6. It can be seen that the No Intrusion work order with the work order number 202131 is used to operate and manage No Intrusion Area 1 to No Intrusion Area 6. Similarly, these 6 list data can be filtered according to the area name or area status. For example, the following can be obtained: Figure 8C Ticket details page shown with filter condition "Resolving"

[0151] exist Fig. 8AIn the example, when the detail data is also associated with a detail page, the detail data can be used as the second target data. Fig. 8A The details page shown jumps to Fig. 9A The URL of the detail page is " / alarmMgmt / detail / 92284?o=JTdCJTIypemUlMjIlM0ExMCU / picture". When returning from the detail page, you can return to Fig. 8A The details page shown instead of returning to Figure 7 or Figure 6 As shown in the list page, the last query result can also be retained during the page return process, which is convenient for users to view and improves the user experience.

[0152] exist Figure 8C In the case where the filtered list data is also associated with a detail page, the list data can be used as the second target data. Figure 8C When viewing details of a list data, you can Figure 8C The filtered work order details page shown jumps to the details page corresponding to the list data. For example, when the user performs the view details operation of the prohibited intrusion area 1, the details page of the prohibited intrusion area 1 can be directly entered from the current work order details page, such as Fig. 9B In the details page shown, the cube area represents the prohibited intrusion area 1, and the ellipse area represents the prohibited intrusion range in the prohibited intrusion area 1. When returning from the details page of the prohibited intrusion area 1, you can return to Figure 8C The details page shown instead of returning to Figure 8B The work order details page shown will not be returned to Figure 7 or Figure 6 The list page shown. The last query result can be retained during the page return process, which is convenient for operation and maintenance personnel to quickly and efficiently determine the next prohibited intrusion area to be checked during security inspections, and to promptly control and handle sudden site intrusion behaviors, further improving the user experience.

[0153] Understandably, when the user executes Figure 6 When viewing details of a list data, you can Figure 6 The list page shown jumps to the details page corresponding to the list data. When returning from the details page, you can jump back to Figure 6 The list page shown returns to the initial state of the list page, and also implements the function of retaining the last query result when returning to the list page from the detail page.

[0154] It should also be noted that in the exemplary implementation of the present disclosure, the page jump function, parameter parsing function and option variables can be pre-packaged as an executable file and stored in the browser, so that the executable file can be executed when the query operation of the target data in the list page is received. The executable file can also include source codes such as parameters reg, from and next, as well as algorithm source codes for encoding and encryption, that is, source code packaging can be performed according to the actual needs of the user and the executable file required by the user can be obtained. The present disclosure does not specifically limit this. Exemplarily, webpack (a module packager) can be used under the Vue framework to package the relevant source codes such as the list page source code, the detail page source code, the page jump function, the parameter parsing function and the option variables, and store them in the server in the form of a folder. When the user uses it in the local browser, the server can make a data request to request relevant source codes such as the page jump function, parameter parsing function, option variable optionsDefault, parameters reg, from and next, encodeURIComponent function and decodeURIComponent involved in the present disclosure. Preferably, when a user first accesses the list page URL address, the pre-packaged executable files can be deployed together to the local browser, which can avoid frequent data requests to the server. The page display method provided by the example implementation of the present disclosure has clear logic, simple architecture, lightweight, easy to implement, and does not take up too much memory. It is understandable that the page display method refers to data processing on the browser side.

[0155] In the page display method provided in the exemplary implementation of the present disclosure, upon receiving a query operation on target data in a list page, the page is jumped from the list page to the detail page corresponding to the target data, and a first page location identifier of the detail page is stored, wherein the first page location identifier includes a page jump parameter; the page jump parameter is obtained, and the page is jumped back to the list page from the detail page according to the page jump parameter. The present disclosure can retain the page jump parameter when entering the detail page from the list page, and when returning from the detail page, the previous list page can be restored according to the page jump parameter, thereby avoiding page refresh caused by page jump, and the user can obtain the last query result without re-operation, thereby improving the user experience.

[0156] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0157] Furthermore, in this exemplary embodiment, a page display device is also provided. The device can be applied to a terminal device or a server. Fig.10 As shown, the page display device 1000 may include a first page display module 1010 and a second page display module 1020, wherein:

[0158] The first page display module 1010 is used to jump from the list page to the detail page corresponding to the target data when receiving a query operation on the target data in the list page, and store a first page positioning identifier of the detail page, wherein the first page positioning identifier includes a page jump parameter;

[0159] The second page display module 1020 is used to obtain the page jump parameter and jump back from the detail page to the list page according to the page jump parameter.

[0160] In an optional implementation, the list page includes an original list page and an intermediate list page; the first page display module 1010 includes:

[0161] A page switching module, configured to switch the original list page to the intermediate list page according to the page jump parameter upon receiving a trigger operation on the search control in the original list page;

[0162] The page jump module is used to jump from the intermediate list page to the first detail page corresponding to the first target data when receiving a query operation on the first target data in the intermediate list page, and store a first page location identifier of the first detail page.

[0163] In an optional implementation, the page jump module includes:

[0164] a parameter acquisition unit, configured to acquire the page jump parameter and a second page location identifier of the first detail page upon receiving a query operation on the first target data in the intermediate list page;

[0165] A parameter conversion unit, used for converting the page jump parameter into a target parameter character string through a page jump function;

[0166] An identifier generating unit, configured to form a first page location identifier of the first detail page from the target parameter character string and the second page location identifier;

[0167] A first page jumping unit is configured to jump from the intermediate list page to the first detail page according to a first page positioning identifier of the first detail page.

[0168] In an optional implementation, the parameter conversion unit includes:

[0169] A parameter conversion subunit, used for converting the page jump parameter into an initial parameter string;

[0170] The character string encoding subunit is used to encode the initial parameter character string to obtain the target parameter character string.

[0171] In an optional implementation, the parameter conversion unit includes:

[0172] A parameter conversion subunit, used for converting the page jump parameter into an initial parameter string;

[0173] A character string encoding subunit, used for encoding the initial parameter character string to obtain a first parameter character string;

[0174] The character string encryption subunit is used to encrypt the first parameter character string to obtain the target parameter character string.

[0175] In an optional implementation, the second page display module 1020 includes:

[0176] A string acquisition module, used for acquiring the target parameter string through a parameter parsing function;

[0177] A string parsing module, used to parse the target parameter string to obtain the page jump parameter;

[0178] The second page jump module is used to jump from the first detail page back to the intermediate list page according to the page jump parameter.

[0179] In an optional implementation, the string acquisition module includes:

[0180] a string verification unit, used to determine, through the parameter parsing function, whether the first page location identifier of the first detail page satisfies a preset matching rule, and whether the first page location identifier contains preset parameters;

[0181] The character string acquisition unit is configured to acquire the target parameter character string when the first page location identifier of the detail page meets a preset matching rule and the first page location identifier contains a preset parameter.

[0182] In an optional implementation, the string parsing module includes:

[0183] The character string decoding unit is used to decode the target parameter character string to obtain the initial parameter character string, and convert the initial parameter character string into the page jump parameter.

[0184] In an optional implementation, the string parsing module includes:

[0185] A character string decryption unit, used for decrypting the target parameter character string to obtain the first parameter character string;

[0186] The character string decoding unit is used to decode the first parameter character string to obtain the initial parameter character string, and convert the initial parameter character string into the page jump parameter.

[0187] In an optional implementation, the second page jump module includes:

[0188] A parameter assignment unit, used for assigning the current value of the page jump parameter to an option variable, wherein the option variable is used for storing the default value of the page jump parameter;

[0189] A page jump unit is used to jump from the first detail page back to the intermediate list page according to the assigned option variable.

[0190] In an optional implementation, after jumping from the intermediate list page to the first detail page corresponding to the first target data, the page display device 1000 further includes:

[0191] The third page display module 1030 is used to jump from the first details page to the second details page corresponding to the second target data when receiving a query operation on the second target data in the first details page, and store the page location identifier of the second details page; obtain the page jump parameter contained in the page location identifier of the second details page, and jump from the second details page back to the first details page according to the page jump parameter.

[0192] In an optional implementation, after jumping from the intermediate list page to the first detail page corresponding to the first target data, the page display device 1000 further includes:

[0193] The third page display module 1040 is used to jump from the first details page to the second details page corresponding to the second target data when receiving a query operation on the second target data in the first details page, and store the page positioning identifier of the second details page; determine the first page positioning identifier of the first details page according to the page positioning identifier of the second details page; and jump from the second details page back to the first details page according to the first page positioning identifier of the first details page.

[0194] The specific details of each module in the above-mentioned page display device have been described in detail in the corresponding page display method, so they will not be repeated here.

[0195] Each module in the above device can be a general-purpose processor, including: a central processing unit, a network processor, etc.; it can also be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each module can also be implemented in the form of software, firmware, etc. Each processor in the above device can be an independent processor or integrated together.

[0196] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of this specification is stored. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to perform the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "exemplary method" section of this specification. The program product may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, an apparatus or a device or used in combination with it.

[0197] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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 above.

[0198] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0199] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0200] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0201] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above method. Fig.11 1100 according to this exemplary embodiment of the present disclosure will be described. Fig.11 The electronic device 1100 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0202] like Fig.11 As shown, the electronic device 1100 may be in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processing unit 1110, at least one storage unit 1120, a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110), and a display unit 1140.

[0203] The storage unit 1120 stores program codes, which can be executed by the processing unit 1110, so that the processing unit 1110 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1110 can execute Figures 2 to 5 Any one or more method steps.

[0204] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1121 and / or a cache memory unit 1122 , and may further include a read-only memory unit (ROM) 1123 .

[0205] The storage unit 1120 may also include a program / utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0206] Bus 1130 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0207] The electronic device 1100 may also communicate with one or more external devices 1200 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1100, and / or communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1150. Furthermore, the electronic device 1100 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1160. As shown, the network adapter 1160 communicates with other modules of the electronic device 1100 via a bus 1130. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0208] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.

[0209] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0210] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0211] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A page display method, It is characterized in that include: When a query operation for target data in a list page is received, the page is jumped from the list page to a detail page corresponding to the target data, and a first page location identifier of the detail page is stored, wherein the first page location identifier includes a page jump parameter, the list page includes an original list page, and the page jump parameter is a query condition entered on the original list page; Acquire the page jump parameter, and jump back to the list page from the detail page according to the page jump parameter; The list page also includes an intermediate list page; when a query operation on target data in the list page is received, jumping from the list page to a detail page corresponding to the target data and storing a first page location identifier of the detail page includes: When a trigger operation on a search control in the original list page is received, the original list page is switched to the intermediate list page according to the page jump parameter; When a query operation for the first target data in the intermediate list page is received, acquiring the page jump parameter and a second page location identifier of the first detail page corresponding to the first target data; Convert the page jump parameter into a target parameter string through a page jump function; The first page location identifier of the first detail page is formed by the target parameter character string and the second page location identifier; Jump from the intermediate list page to the first detail page according to the first page positioning identifier of the first detail page, and store the first page positioning identifier of the first detail page.

2. The page display method according to claim 1, It is characterized in that The converting the page jump parameter into a target parameter string through a page jump function includes: Convert the page jump parameter into an initial parameter string; The initial parameter character string is encoded to obtain the target parameter character string.

3. The page display method according to claim 1, It is characterized in that The converting the page jump parameter into a target parameter string through a page jump function includes: Convert the page jump parameter into an initial parameter string; Encoding the initial parameter character string to obtain a first parameter character string; The first parameter character string is encrypted to obtain the target parameter character string.

4. The page display method according to claim 3, It is characterized in that The acquiring the page jump parameter and jumping back from the detail page to the list page according to the page jump parameter includes: Obtain the target parameter string through a parameter parsing function; Parsing the target parameter string to obtain the page jump parameter; Jump back to the intermediate list page from the first detail page according to the page jump parameter.

5. The page display method according to claim 4, It is characterized in that The step of obtaining the target parameter string through a parameter parsing function includes: Determining, by means of the parameter parsing function, whether the first page location identifier of the first detail page satisfies a preset matching rule, and whether the first page location identifier contains preset parameters; When the first page location identifier of the first detail page satisfies a preset matching rule and the first page location identifier includes a preset parameter, the target parameter character string is obtained.

6. The page display method according to claim 4, It is characterized in that The step of parsing the target parameter string to obtain the page jump parameter includes: The target parameter string is decoded to obtain the initial parameter string, and the initial parameter string is converted into the page jump parameter.

7. The page display method according to claim 4, It is characterized in that The step of parsing the target parameter string to obtain the page jump parameter includes: Decrypting the target parameter string to obtain the first parameter string; The first parameter string is decoded to obtain the initial parameter string, and the initial parameter string is converted into the page jump parameter.

8. The page display method according to claim 4, It is characterized in that The step of jumping from the first detail page back to the intermediate list page according to the page jump parameter includes: Assign the current value of the page jump parameter to an option variable, where the option variable is used to store the default value of the page jump parameter; Jump back to the intermediate list page from the first detail page according to the assigned option variable.

9. The page display method according to claim 1, It is characterized in that After jumping from the intermediate list page to the first detail page corresponding to the first target data, the method further includes: When receiving a query operation for the second target data in the first detail page, jumping from the first detail page to the second detail page corresponding to the second target data through the page display method according to any one of claims 1 to 8, and storing a page location identifier of the second detail page; The page jump parameter included in the page location identifier of the second detail page is obtained, and the page jump is performed from the second detail page back to the first detail page according to the page jump parameter.

10. The page display method according to claim 1, It is characterized in that After jumping from the intermediate list page to the first detail page corresponding to the first target data, the method further includes: When receiving a query operation for the second target data in the first detail page, jumping from the first detail page to the second detail page corresponding to the second target data, and storing a page location identifier of the second detail page; Determine a first page location identifier of the first details page according to the page location identifier of the second details page; Jump back to the first details page from the second details page according to the first page location identifier of the first details page.

11. The page display method according to any one of claims 1 to 8, It is characterized in that The page jump function, parameter parsing function and option variables are pre-encapsulated as an executable file and stored in the browser, so that the executable file is executed when a query operation on the target data in the list page is received, wherein: The page jump function is used to convert the page jump parameter into a target parameter string; form a first page location identifier of the first detail page from the target parameter string and the second page location identifier; and jump from the intermediate list page to the first detail page according to the first page location identifier of the first detail page; The parameter parsing function is used to obtain the target parameter string; parse the target parameter string to obtain the page jump parameter; and jump from the first detail page back to the intermediate list page according to the page jump parameter; The option variable is used to store the default value of the page jump parameter.

12. A page display device, It is characterized in that include: A first page display module, configured to, upon receiving a query operation on target data in a list page, jump from the list page to a detail page corresponding to the target data, and store a first page positioning identifier of the detail page, wherein the first page positioning identifier includes a page jumping parameter, the list page includes an original list page, and the page jumping parameter is a query condition input on the original list page; The list page also includes an intermediate list page; The first page display module includes: A page switching module, configured to switch the original list page to the intermediate list page according to the page jump parameter upon receiving a trigger operation on the search control in the original list page; a parameter acquisition unit, configured to acquire the page jump parameter and a second page location identifier of a first detail page corresponding to the first target data when a query operation on the first target data in the intermediate list page is received; A parameter conversion unit, used for converting the page jump parameter into a target parameter character string through a page jump function; An identifier generating unit, configured to form a first page location identifier of the first detail page from the target parameter character string and the second page location identifier; A first page jump unit, configured to jump from the intermediate list page to the first detail page according to a first page positioning identifier of the first detail page, and store the first page positioning identifier of the first detail page; The second page display module is used to obtain the page jump parameter and jump back from the detail page to the list page according to the page jump parameter.

13. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

14. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1-11 by executing the executable instructions.