Page jump method and device, electronic device and storage medium

By obtaining and reusing saved step parameters and generating target substep page parameters, the problem that traditional page jump methods are difficult to meet complex business logic and user experience is solved, and rapid jump and data reuse is achieved, and user experience and development efficiency is improved.

CN119225895BActive Publication Date: 2025-03-25TIANJIN NANKAI UNIV GENERAL DATA TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411748708.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-25
Estimated Expiration
2044-12-02

AI Technical Summary

Technical Problem

Traditional page jumping methods are difficult to meet complex business logic and user experience requirements, especially in multi-sub-step page scenarios, users need to frequently jump and save page data.

Method used

By obtaining saved step parameters, generating target substep page parameters, and displaying the corresponding page and page configuration data to the user based on these parameters, quickly jumping and data reuse.

Benefits of technology

Reduces duplicate data requests and processing time, improves page jump speed, enhances user experience, and reduces the complexity of development and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225895B_ABST
    Figure CN119225895B_ABST
Patent Text Reader

Abstract

The present invention provides a page jump method and device, an electronic device and a storage medium. The page jump method includes: obtaining a first request for accessing a first sub-step page, obtaining a saved step parameter in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps; generating a target sub-step page parameter according to the saved step parameter and the step length, wherein the target sub-step page parameter corresponds to a second sub-step page to be accessed; and displaying the second sub-step page and the page configuration data saved in the second sub-step page to a user according to the target sub-step page parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In application development, page jump is one of the core functions of user navigation and interaction. With the increase of application functions and the diversification of user needs, the traditional page jump method may no longer meet the complex business logic and user experience requirements.

[0003] In many application scenarios, there are multiple sub-step pages, and it is often necessary to jump to the page, or there is often a temporary exit when using or filling in multiple pages. When returning to the filling program again, the user does not need to view the pages that have been filled in. In addition, there are multiple scenarios in the system that meet the complex operation configuration, so it is necessary to define a common metadata data structure and a common process control mechanism. Summary of the invention

[0004] In view of the above problems, the present invention provides a page jump method, device, electronic device, storage medium and program product.

[0005] According to a first aspect of the present invention, there is provided a page jump method, comprising: obtaining a first request for accessing a first sub-step page, obtaining saved step parameters in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps; generating target sub-step page parameters according to the saved step parameters and the step length, wherein the target sub-step page parameters correspond to a second sub-step page to be accessed; and displaying the second sub-step page and the page configuration data saved in the second sub-step page to a user according to the target sub-step page parameters.

[0006] According to an embodiment of the present invention, a step parameter group includes saved step parameters and sub-step page parameters; when the target sub-step page parameters are the same as the sub-step page parameters in the step parameter group, the second sub-step page is the first sub-step page; when the target sub-step page parameters are different from the sub-step page parameters in the step parameter group, the second sub-step page is the sub-step page located before the first sub-step page.

[0007] According to an embodiment of the present invention, the step parameter group also includes a data clearing parameter, and the method also includes: in response to a user's modification operation on a third sub-step page located before the second sub-step page, determining page configuration data related to the modification operation; determining an impact result of the page configuration data related to the modification operation; and when the impact result represents that the modification operation changes the page configuration result in other sub-step pages located after the second sub-step page, modifying the data clearing parameter and modifying the saved step parameters to the saved step parameters corresponding to the third sub-step page.

[0008] According to an embodiment of the present invention, modifying the saved step parameters to the saved step parameters corresponding to the third sub-step page includes: subtracting the step length from the sub-step page parameters of the third sub-step page to obtain the target parameter value, and using the target parameter value as the saved step parameter corresponding to the third sub-step page.

[0009] According to an embodiment of the present invention, the step parameter group also includes an error step parameter; the method also includes: in response to detecting that the error step parameter is not the initial default parameter value, displaying the fourth sub-step page to the user according to the error step parameter.

[0010] According to an embodiment of the present invention, based on the error step parameters, the fourth sub-step page is displayed to the user, including: replacing the sub-step page parameters in the step parameter group with the error step parameters; based on the replaced sub-step page parameters, displaying to the user the fourth sub-step page corresponding to the replaced sub-step page parameters; based on the replaced sub-step page parameters, modifying the saved step parameters.

[0011] According to an embodiment of the present invention, in response to the user's operation of the jump button in the second sub-step page, the button type of the jump button is determined; when the button type is a backward jump, the page data in the second sub-step page is verified to obtain a verification result; when the verification result is passed, the saved step parameters are modified to the saved step parameters corresponding to the second sub-step page, so as to jump to the page located after the second sub-step page.

[0012] The second aspect of the present invention provides a page jump device, including: an acquisition module, used to obtain a first request for accessing a first sub-step page, and obtain saved step parameters in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps.

[0013] The generation module generates target sub-step page parameters according to the saved step parameters and step length, wherein the target sub-step page parameters correspond to the second sub-step page to be accessed.

[0014] The display module displays the second sub-step page and the page configuration data saved in the second sub-step page to the user according to the target sub-step page parameters.

[0015] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, and when the one or more processors execute the one or more computer programs, the steps of the above-mentioned page jump method are implemented.

[0016] The fourth aspect of the present invention further provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the steps of the above-mentioned page jump method are implemented.

[0017] The fifth aspect of the present invention further provides a computer program product, including a computer program or instructions, which implement the steps of the above-mentioned page jump method when the computer program or instructions are executed by a processor.

[0018] According to the embodiments of the present invention, the present invention can reduce repeated data requests and processing time by directly obtaining the saved step parameters, thereby speeding up the page jump speed and jumping to the target access page; and by reusing the saved step parameters, it reduces the need to obtain or generate parameters each time the jump occurs, and the complex front-end operations are reasonably split, and it can directly jump to the front-end unsaved page according to the saved step parameters, without starting from the first sub-step page, thereby enhancing the user experience; at the same time, it provides a unified data structure definition and step process control behavior, which can be directly applied to the needs of multiple page jumps in the same system, and can be applied to a variety of front-end development software, reducing the complexity of development and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.

[0020] Figure 1 An application scenario of the page jump method according to an embodiment of the present invention is shown.

[0021] Figure 2 A flow chart of a page jump method according to an embodiment of the present invention is shown.

[0022] Figure 3 A schematic diagram of a sub-step page according to an embodiment of the present invention is shown.

[0023] Figure 4 A data clearing parameter workflow diagram according to an embodiment of the present invention is shown.

[0024] Figure 5A flowchart of an error step parameter workflow according to an embodiment of the present invention is shown.

[0025] Figure 6 A comprehensive flow chart of page jump and user front-end operation according to an embodiment of the present invention is shown.

[0026] Figure 7 The structure block diagram of the page jump device according to an embodiment of the present invention is schematically shown.

[0027] Figure 8 A block diagram of an electronic device according to a page jump method according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0028] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0029] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0030] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0031] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0032] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0033] It should be noted that the page jump method and device, electronic device and storage medium of the embodiments of the present invention can be applied to the fields of computer technology, front-end page technology and front-end page design technology, and can also be used in any field other than the fields of computer technology, front-end page technology and front-end page design technology. The embodiments of the present invention do not limit the application fields of the above-mentioned page jump method and device, electronic device and storage medium.

[0034] To this end, an embodiment of the present invention provides a page jump method, including the following operations: obtaining a first request for accessing a first sub-step page, obtaining a saved step parameter in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps; generating a target sub-step page parameter based on the saved step parameter and the step length, wherein the target sub-step page parameter corresponds to a second sub-step page to be accessed; and displaying the second sub-step page and the page configuration data saved in the second sub-step page to the user based on the target sub-step page parameter.

[0035] Figure 1 An application scenario of the page jump method according to an embodiment of the present invention is shown.

[0036] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0037] The user may use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0038] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0039] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0040] It should be noted that the page jump method provided in the embodiment of the present invention can generally be executed by the server 105. Accordingly, the page jump device provided in the embodiment of the present invention can generally be set in the server 105. The page jump method provided in the embodiment of the present invention can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Correspondingly, the page jump device provided in the embodiment of the present invention can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0042] The following will be based on Figure 1 The scene described by Figure 2~Figure 6 The page jump method according to the embodiment of the present invention is described in detail.

[0043] Figure 2 A flow chart of a page jump method according to an embodiment of the present invention is shown. Figure 3 This is a schematic diagram of a sub-step page of a method according to an embodiment of the present invention.

[0044] like Figure 2 As shown, the method includes operations S201 to S203.

[0045] In operation S201, a first request for accessing a first sub-step page is obtained, and saved step parameters in a step parameter group are obtained, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps.

[0046] In operation S202, target sub-step page parameters are generated according to the saved step parameters and step length, wherein the target sub-step page parameters correspond to the second sub-step page to be accessed.

[0047] In operation S203, the second sub-step page and the page configuration data stored in the second sub-step page are displayed to the user according to the target sub-step page parameters.

[0048] Operations S201 to S203 will be described in detail below.

[0049] In operation S201, the first sub-step page is one of a plurality of sub-step pages, and the plurality of sub-step pages are a plurality of pages of a plurality of sub-steps in the same program or processing flow; the first request is a request obtained by the front-end user for the first sub-step page. The sub-step page sequence is a plurality of sub-step pages with a sequential structure, and the sequential structure can be represented by sub-step page parameters, which are generally static parameters. The step length is the distance or degree from one sub-step page to the next sub-step page, and equal step length increments indicate that the distance between each sub-step page is the same and constant. The saved step parameter is a variable parameter, which can be understood as a pointer to a sub-step page in the step page sequence, which changes as the user fills in and saves the page; whenever the user fills in and saves a sub-step page, the saved step page parameter will also increase by a step length, which can be understood as an increase in the saved sub-step page.

[0050] For example, Figure 3 As shown, the sub-step pages in the sub-step sequence can be numbered, and the number is the sub-step page parameter. Then the sub-step page parameter of sub-step page 1 is 0, because the step length between sub-step pages is equal, and the step length is preset to 1. The sub-step page parameter of sub-step page 2 is 1 (0+1=1), and so on. There are three sub-step pages in total, so the sub-step page parameters are 0, 1, and 2. The default value of the saved step parameter is set to -1. When the user fills in sub-step page 2, sub-step page 1 is considered to have been saved, and the saved step parameter at this time is 0.

[0051] In operation S202, the target sub-step page parameter is the sub-step page parameter of the sub-step page to be jumped to according to the user's first request, which corresponds to the second sub-step page. Because it needs to be generated according to the saved step parameter and the step length, under different saved step parameter conditions, the second sub-step page to be jumped to may be the first sub-step page or may not be the first sub-step page. Specifically, according to the saved step parameter and the step length, it can be understood that the saved step parameter and the step length are added together, and the value obtained is the target sub-step page parameter, that is, the sub-step page parameter corresponding to the second sub-step page.

[0052] For example, Figure 3 As shown, the saved step parameter is 1 and the preset step length is 1. After obtaining the first request, the current saved step parameter 1 is read, and then the target sub-step parameter 2 (1+1=2) is generated according to the saved step parameter 1 and the step length 1. The target sub-step parameter 2 can correspond to the second sub-step page to be accessed, that is, Figure 3 Sub-steps in page three.

[0053] In operation S203, the configuration data of the page may include data defining the appearance, behavior and function settings of the page in the sub-step page, such as the position of each element on the page, such as the layout of text boxes, buttons, pictures and other user interface components (UI), and may also include the specific content of the page, such as text, images, videos or links, and may also include interaction logic such as defining the behavior when the user interacts with the page elements, such as a button for a jump action. The page configuration data saved in the second sub-step page may include data filled in by the user, or dynamic data generated according to the rules preset in other sub-step pages.

[0054] For example, Figure 3 As shown, there are three sub-step pages in total, including page configuration data that users can fill in. After the user fills in part of the configuration data of sub-step page three, the user exits the application. When entering again, because the user has filled in sub-step page three and the first two sub-step pages have been filled in, the saved step parameter has become 1, then you can directly jump to sub-step page three where the part has been filled in and the entire page has not been saved, and the filled-in part of the page configuration data is also displayed.

[0055] According to the embodiments of the present invention, the present invention can reduce repeated data requests and processing time by directly obtaining the saved step parameters, thereby speeding up the page jump speed and jumping to the target access page; and by reusing the saved step parameters, it reduces the need to obtain or generate parameters each time the jump occurs, and the complex front-end operations are reasonably split, and it can directly jump to the front-end unsaved page according to the saved step parameters, without starting from the first sub-step page, thereby enhancing the user experience; at the same time, it provides a unified data structure definition and step process control behavior, which can be directly applied to the needs of multiple page jumps in the same system, and can be applied to a variety of front-end development software, reducing the complexity of development and maintenance.

[0056] According to an embodiment of the present invention, a step parameter group includes saved step parameters and sub-step page parameters; when the target sub-step page parameters are the same as the sub-step page parameters in the step parameter group, the second sub-step page is the first sub-step page; when the target sub-step page parameters are different from the sub-step page parameters in the step parameter group, the second sub-step page is the sub-step page located before the first sub-step page.

[0057] According to an embodiment of the present invention, a step parameter group may include multiple parameters, which can be understood to refer to a group of data structures for managing and maintaining states and data in different steps. The sub-step page parameters in the step parameter group are the sub-step page parameters of the first sub-step page that the current first request wants to access. After the target sub-step page parameters are generated, the parameters of the target sub-step page are judged. When the judgment result is the same as the current sub-step page parameters, the first sub-step page in the first request is displayed. When the judgment result is different, it means that the first sub-step page that the user wants to access is not the same as the target sub-step page that the user needs to access in the set page jump rule judgment. At this time, the second sub-step page corresponding to the target sub-step page parameter is used as the basis, and the second sub-step page is displayed to the user.

[0058] For example, Figure 3 As shown, when the first request is for accessing the sub-step page 1 whose sub-step page parameter is 0, it is assumed that the saved step parameter is -1 in the current case, that is, there is no Figure 3 If any of the sub-step pages has been saved, then the target sub-step page parameter generated according to the method in step S202 is 0 (-1+1=0), and the second sub-step page is the sub-step page 1 whose page parameter in the first sub-step page is 0.

[0059] For example, Figure 3As shown, when the first request is for accessing the sub-step page 2 with a page parameter of 1, the current saved step parameter is obtained. Assuming that the saved step parameter is -1 at this time, that is, the sub-step page 1 has not been saved, then the target sub-step page parameter generated by adding a step length of 1 to the current saved step parameter -1 is 0, and the second sub-step page displayed is the previous page of the first sub-step page, that is, even if the user wants to access the first sub-step page in the first request Figure 3 However, since sub-step page one has not been saved, the sub-step page before sub-step page two, that is, sub-step page one, is displayed.

[0060] According to an embodiment of the present invention, by introducing the saved step parameters, when obtaining the user access page, it is possible to jump to the sub-step page that was saved the most recently, thereby avoiding the following situation: Figure 3 As shown in the figure, the user's sub-step page one has not been filled out, but the user wants to access sub-step page two. Because sub-step page one has not been saved, it will not jump to sub-step page two, but will directly return to the most recently saved sub-step page, that is, sub-step page one. At this time, even if the user forgets which sub-step page he has filled out, the jump rules we set will directly jump to the sub-step page that should be continued to be filled out or read according to the degree of the most recent filling or reading. This can ensure the integrity of the process of each sub-step page, and at the same time, from the user's perspective, it automatically jumps to the most recently saved page for continued editing, enhancing the user experience.

[0061] Figure 4 A data clearing parameter workflow diagram according to an embodiment of the present invention is shown.

[0062] like Figure 4 As shown, the step parameter group also includes a data clearing parameter, and the method of this embodiment also includes the following operations S401 to S403.

[0063] Operation S401 : in response to a user's modification operation on a third sub-step page located before a second sub-step page, determining page configuration data related to the modification operation.

[0064] Operation S402: determining the impact result of the page configuration data related to the modification operation.

[0065] Operation S403, when the modification operation affecting the result representation changes the page configuration results in other sub-step pages located after the second sub-step page, modify the data clearing parameters and modify the saved step parameters to the saved step parameters corresponding to the third sub-step page.

[0066] In operation S401, the third sub-step page is a page for the user to modify page configuration data, which is different from the second sub-step page and is located before the second sub-step page in the sub-step page sequence. The user modifying the page configuration data may include modifying the data that the user needs to fill in or select in the sub-step page.

[0067] In operation S402, the impact of the relevant page configuration data is the changes and consequences caused by the user's modification operation on the third sub-step page to the configuration data in other sub-step pages. When the user performs a modification operation in the application, this modification operation may affect the configuration data of the current page and subsequent pages.

[0068] Specifically, a Boolean field can be added to each sub-step page in the sub-step page sequence to determine whether the Boolean field is modified. This is used to track whether the user has made any changes on the sub-step page, and trigger data verification and monitoring mechanisms accordingly.

[0069] In operation S403, the data clearing parameter is a parameter in the step parameter group, which has an initial value. When the data clearing parameter is the initial value, it will not participate in the entire page jump judgment and execution rule. The data clearing parameter will only be modified when the judgment impact result represents that the relevant operation modified by the user will change the page configuration in other sub-step pages.

[0070] For example, in a specific scenario, such as Figure 3 As shown, the name of "province" is filled in the configuration data of sub-step page one, the name of "city" is filled in on sub-step page two, and the name of "street" is filled in on the second sub-step page being displayed, that is, sub-step page three. The user has now modified the page before the second sub-step page and modified the name of "city" in sub-step page two. It is judged based on the preset rules whether it will affect the result, and based on the pre-set rules to determine whether the modification of "city" on sub-step page two will change the data of "province" in sub-step page one corresponding to the third sub-step page.

[0071] Furthermore, when it is determined that the modification of the "City" on sub-step page two will change the "Province" on the third sub-step page, i.e., step page one, the data clearing parameter is modified to the corresponding saved step parameter -1 (0-1=-1) of the third sub-step page, i.e., sub-step page one.

[0072] According to an embodiment of the present invention, by judging the impact results between data clearing parameters and preset related sub-step pages, when a user modifies the configuration data of an already saved page, the related configuration data that may be affected can be judged, thereby ensuring the integrity and consistency of the data of each sub-step page and avoiding configuration data conflicts caused by modifications.

[0073] According to an embodiment of the present invention, in operation S403, modifying the saved step parameters to the saved step parameters corresponding to the third sub-step page includes: subtracting the step length from the sub-step page parameters of the third sub-step page to obtain the target parameter value, and using the target parameter value as the saved step parameter corresponding to the third sub-step page.

[0074] According to an embodiment of the present invention, the target parameter value is an intermediate value for obtaining the parameter value of the third sub-step page. The configuration data of the third sub-step page needs to be changed because of the effect, so it cannot be used as a saved page, that is, the corresponding saved page will become the previous sub-step page of the third sub-step page, and a target parameter value is obtained by subtracting the step length from the sub-step page parameter of the third sub-step page, and then the target parameter value is used as the current saved step parameter.

[0075] For example, continue to use the modifications of "province", "city" and "street" in the above example, because the modification of "city" will change the "province", the third sub-step page at this time is the sub-step page 1 of the configuration data display "province", and its sub-step page parameter is 0, and the target parameter value obtained by subtracting a step size is -1, and then the target parameter value -1 is used as the saved step parameter. At this time, the saved step parameter is -1.

[0076] According to an embodiment of the present invention, when the configuration data of the third sub-step page is affected, because its configuration data needs to be changed and is no longer compatible with the configuration data of the subsequent sub-step pages, the saved step parameters need to be modified accordingly. At this time, if you exit the interface and then enter the modification of each sub-step page, you will enter the third sub-step page because the configuration data of the third sub-step page needs to be changed, and will not skip to enter the subsequent sub-step pages, further ensuring the integrity of the overall data. At the same time, from the user's perspective, it is equivalent to automatically marking the configuration data that needs to be changed. When the user is not clear about the mutual influence of the configuration data of each sub-step page, he can exit and enter again to enter the sub-step page of the first step where the configuration data needs to be changed to modify the configuration data.

[0077] According to an embodiment of the present invention, the step parameter group also includes an error step parameter, and the page jump method also includes: in response to detecting that the error step parameter is not the initial default parameter value, displaying the fourth sub-step page to the user according to the error step parameter.

[0078] According to an embodiment of the present invention, the error step parameter is a parameter in the step parameter group of the page jump, and has an initial default parameter value, such as the default parameter value is set to -1; the error step parameter indicates that the configuration data of the sub-step page in the sub-step page sequence has an erroneous sub-step page parameter, and each sub-step page has a verification function, and can verify whether the configuration data in the page is correct according to its internal preset data logic. Only when an error occurs in the verification of the configuration data, the error step parameter will be modified. The fourth sub-step page is a sub-step page where an error occurs, which is displayed when the error step parameter is not the default value. The fourth sub-step page can be a sub-step page in the sub-step page sequence where any configuration data is verified to be an error.

[0079] For example, in a sub-step page sequence, a piece of data that the user needs to fill in is a mobile phone number. After the user has filled in the data, the preset configuration data rule for the configuration data content of the sub-step page is that only numbers and operation symbols can be filled in. If it is detected that the data content filled in by the user contains other characters, such as text information, then the configuration data content verification of the sub-step page fails, and the error step parameters will be changed accordingly to the sub-step page parameters of the sub-step page where the error occurs.

[0080] In some specific embodiments of the present invention, a sub-step page verification window can also be added to display the verification progress. If the configuration data of the current sub-step page needs to be verified for correctness, a parameter check pop-up window will be opened to display the verification progress in real time. When the verification progress reaches 100%, it will directly enter the next sub-step page; if the verification fails, the pop-up window will be closed and the current sub-step page will remain.

[0081] According to an embodiment of the present invention, when the configuration data filled in by the user is incorrect, the error step parameter can be used to directly display the error sub-step page to the user, instead of displaying the serial number of the error sub-step page, or displaying the error configuration data content, and then letting the user find which sub-step page they are on. By directly jumping to the display, the user is intuitively informed that an error has occurred on this sub-step page and that it needs to be modified, thereby enhancing the user experience.

[0082] Figure 5 A flowchart of an error step parameter workflow according to an embodiment of the present invention is shown.

[0083] like Figure 5 As shown, this embodiment includes the following operations S501 to S503.

[0084] According to an embodiment of the present invention, based on the error step parameters, a fourth sub-step page is displayed to the user, including.

[0085] Operation S501: replace the sub-step page parameters in the step parameter group with the error step parameters.

[0086] Operation S502: displaying a fourth sub-step page corresponding to the replaced sub-step page parameters to the user according to the replaced sub-step page parameters.

[0087] Operation S503: modify the saved step parameters according to the replaced sub-step page parameters.

[0088] According to an embodiment of the present invention, in operation S501, the error step parameter and the sub-step page parameter belong to the same field, and when the error step parameter is not the default value, it is directly modified to the sub-step page parameter that failed the verification, and then the error step parameter is used to directly replace the sub-step page parameter at this time.

[0089] In some specific embodiments of the present invention, if multiple sub-step page configuration data verification fails, the error step parameters will be modified to the parameters of the sub-step page that corresponds to the frontmost sub-step page in the sub-step page sequence.

[0090] According to an embodiment of the present invention, in operation S502, the sub-step page in the corresponding sub-step page sequence is displayed based on the sub-step page parameters after replacement. The displayed sub-step page is the fourth sub-step page, which can also be understood as the sub-step page where an error occurs in a plurality of sub-step page sequences.

[0091] According to an embodiment of the present invention, in operation S503, the method for modifying the saved parameters is to subtract a step length from the replaced sub-step page parameters to obtain a target parameter value, and then replace the target parameter value as the saved step parameter. It can be further understood that because an error has occurred in the current sub-step page, it needs to be modified, so the saved page parameters should also be modified accordingly. At the same time, if the user exits the application at this time, when entering again, he will directly enter the page that needs to be modified due to the verification error.

[0092] For example, Figure 3As shown, for example, if it is found through verification that the content of sub-step page two is incorrect, then the error step parameter will be modified to sub-step page parameter 1 corresponding to sub-step page two, and the sub-step page parameter in the step parameter group will be replaced by 1. The fourth sub-step page is displayed to the user according to sub-step page parameter 1. At this time, the fourth sub-step page is sub-step page two with page parameter 1. At the same time, the saved step parameters are modified accordingly. At this time, sub-step page two has an error and its content needs to be modified by the user. Then the saved step parameters will be modified to 0 (1-1=0) by subtracting a step length 1 from sub-step page parameter 1. Furthermore, if you exit and re-enter at this time, sub-step page two will be displayed with the saved parameters.

[0093] According to an embodiment of the present invention, the fourth sub-step page to be displayed is determined by the error step parameters, that is, the sub-step page where the error occurs. At the same time, since the sub-step page before the error sub-step page has completed the verification, the saved step parameters will be correspondingly modified to the saved step parameters used to display the current error sub-step page, and will no longer be modified to the page before the error sub-step page. At this time, even if the user exits the interface and enters again, he will only enter the sub-step page with the verification error, and the sub-step page that has passed the verification will no longer be displayed.

[0094] According to an embodiment of the present invention, in response to a user's operation on a jump button in the second sub-step page, a button type of the jump button is determined.

[0095] When the button type is to jump back, the page data in the second sub-step page is verified to obtain a verification result.

[0096] When the verification result is passed, the saved step parameters are modified to the saved step parameters corresponding to the second sub-step page, so as to jump to the page after the second sub-step page.

[0097] According to an embodiment of the present invention, the jump button is divided into a forward jump button or a previous step button, and a backward jump button or a next step button. Among them, the front sub-step page in the sub-step page sequence does not have a forward jump button, and the last sub-step page in the sub-step page sequence does not have a backward jump button. Other sub-step page sequences all have forward jump and forward jump buttons. The jump logic of the forward jump button is that when the user clicks, the sub-step page parameters in the step parameter group are reduced by a step length, and the jump logic of the backward jump button is that when the user clicks, the sub-step page parameters in the step parameter group are increased by a step length; specifically, the backward jump button is grayed out when the configuration data in the current sub-step page is not filled in, and the backward jump button can be clicked only after the configuration data is filled in. In response to the user selecting the page to jump to on any sub-step page, this sub-step page will be deemed to have been completed, and its page data will be verified. The parameter check component will pop up in a pop-up window to dynamically obtain the current verification progress in real time. The verification of the page data may include verification of the format of the page data such as character type, length, etc., and may also include verification of the internal or mutual influence effects with other sub-step page data. The verification rules can be set according to the business needs of the actual application scenario. Only after the verification is successful will the sub-step page parameters increase by one step. If the verification is unsuccessful, unsuccessful result feedback will be displayed, such as through a pop-up window or question prompt.

[0098] In some specific embodiments of the present invention, each sub-step page in the sub-step page sequence also includes a cancel button for clearing configuration data of all sub-step pages and exiting all sub-step pages or exiting the application where the sub-step page is located.

[0099] For example, a sub-step page requires the user to fill in 11-digit data. The user clicks the back button. At this time, because the user has filled in data that does not conform to 11 digits, the verification will not pass, and the verification result will be displayed as "Verification Failed"; or a sub-step page requires the user to fill in content that conforms to one of the sub-data of the previous sub-step page. If the data filled in by the user does not conform to the preset rules, the verification will also fail. For example, the user filled in the gender as "female" on the previous sub-step page, and the user filled in the age group as "young male" on the current sub-step page. Because the preset rules do not meet the gender "female" requirement of the previous page, the verification fails.

[0100] Furthermore, if the data of the current sub-step page is successfully verified, the saved step parameters will be modified to the saved parameters corresponding to the current sub-step page. It can be understood that when the sub-step page is successfully verified, it is saved, so the corresponding saved parameters will be modified. At the same time, since the verification is passed and the user clicks the next button, the next sub-step page content will be displayed.

[0101] According to an embodiment of the present invention, when the user clicks the Next or Back button, the current page will be verified. Only if the verification is passed will it be considered saved. In response to the saved step parameters in the page jump method of the present invention, only the page that has been verified will be saved, and the sub-step page content after saving will be considered sealed and will no longer be modified.

[0102] In a specific embodiment of the present invention, the page jump method of the present invention and the method of interaction with the front-end user are as follows: Figure 6 shown.

[0103] Figure 6 The present invention provides a comprehensive flow chart of page jumps and user front-end operations according to an embodiment of the present invention.

[0104] The following combination Figure 6 To further explain the above process, after entering the process, firstly, the metadata of each specific sub-step is rendered according to the unified meta structure provided by the present invention to obtain a sub-step page sequence; the next step is to enter sub-step page one to complete the filling of the configuration data in sub-step page one, and then the user can click the next button or cancel button. When the cancel button is clicked, the configuration data of all sub-step pages will be cleared, and the application will be returned to the initial state or exited; when the next button is clicked, the parameter verification component is entered to verify the configuration data of sub-step page one. If the verification fails, it will still return to sub-step page one, that is, the page will not be jumped according to the next button. If the verification is successful, it will enter sub-step page two, and the user will continue to configure the business data of sub-step page two. Further, after the configuration data of sub-step page two is filled in, click the previous step button to return to sub-step page one; click cancel to enter the cancel configuration component and cancel all configuration data; click next to verify the configuration data of sub-step page three, and repeat the above steps until all sub-step page business configuration data are filled in and verified.

[0105] Figure 7 The structure block diagram of the page jump device according to an embodiment of the present invention is schematically shown.

[0106] like Figure 7 As shown, the page jump device 700 of this embodiment includes an acquisition module 710 , a generation module 720 and a display module 730 .

[0107] The acquisition module 710 is used to acquire a first request for accessing a first sub-step page, and acquire the saved step parameters in the step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps. In one embodiment, the acquisition module 710 can be used to perform the operation S201 described above, which will not be described in detail here.

[0108] The generation module 720 generates target sub-step page parameters according to the saved step parameters and step length, wherein the target sub-step page parameters correspond to the second sub-step page to be accessed. In one embodiment, the generation module 720 can be used to perform the operation S202 described above, which will not be described in detail here.

[0109] The display module 730 displays the second sub-step page and the page configuration data stored in the second sub-step page to the user according to the target sub-step page parameter. In one embodiment, the display module 730 can be used to perform the operation S203 described above, which will not be described in detail here.

[0110] According to an embodiment of the present invention, at least one of the acquisition module 710, the generation module 720 and the display module 730 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or may be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the acquisition module 710, the generation module 720 and the display module 730 may be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function may be executed.

[0111] Figure 8 A block diagram of an electronic device according to a page jump method according to an embodiment of the present invention is schematically shown.

[0112] like Figure 8As shown, the electronic device 800 according to an embodiment of the present invention includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0113] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present invention by executing the programs in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present invention by executing the programs stored in one or more memories.

[0114] According to an embodiment of the present invention, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the input / output (I / O) interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a network (LAN) card, a modem, etc. The communication portion 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that the computer program read therefrom is installed into the storage portion 808 as needed.

[0115] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0116] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 802 and / or RAM 803 described above and / or one or more memories other than ROM 802 and RAM 803.

[0117] The embodiment of the present invention also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the above method provided by the embodiment of the present invention.

[0118] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when the processor 801 executes the computer program. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0119] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0120] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.

[0121] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can 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 can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0122] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0123] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in various ways. All of these combinations and / or combinations fall within the scope of the present invention.

[0124] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A page jump method, characterized in that: The method comprises: Obtaining a first request for accessing a first sub-step page, and obtaining a saved step parameter in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and multiple sub-step pages in the sub-step page sequence are incremented in equal steps, wherein the saved step parameter is a variable parameter, which is a pointer to a sub-step page in the sub-step page sequence, and changes with the page filled in and saved by the user; According to the saved step parameter and the step length, the saved step parameter and the step length are added, and a target sub-step page parameter is generated according to the obtained value, wherein the target sub-step page parameter corresponds to the second sub-step page to be accessed, and the target sub-step page parameter is a sub-step page parameter of the second sub-step page to be jumped to according to the first request; According to the target sub-step page parameters, displaying the second sub-step page and the page configuration data stored in the second sub-step page to the user; The step parameter group also includes a data clearing parameter; In response to a user's modification operation on a third sub-step page located before the second sub-step page, determining page configuration data related to the modification operation; Determine the impact result of the page configuration data related to the modification operation; In the case where the impact result represents that the modification operation changes the page configuration result in other sub-step pages located after the second sub-step page, the data clearing parameter is modified, and the sub-step page parameter of the third sub-step page is subtracted from the step length to obtain the target parameter value, and the target parameter value is used as the saved step parameter corresponding to the third sub-step page.

2. The method according to claim 1, characterized in that The step parameter group includes the saved step parameters and sub-step page parameters; In the case where the target sub-step page parameters are the same as the sub-step page parameters in the step parameter group, the second sub-step page is the first sub-step page; In the case where the target sub-step page parameters are different from the sub-step page parameters in the step parameter group, the second sub-step page is a sub-step page located before the first sub-step page.

3. The method according to claim 1, characterized in that The step parameter group also includes an error step parameter; the method also includes: In response to detecting that the error step parameter is not the initial default parameter value, a fourth sub-step page is displayed to the user according to the error step parameter.

4. The method according to claim 3, characterized in that According to the error step parameter, the fourth sub-step page is displayed to the user, including: Replacing the sub-step page parameters in the step parameter group with the error step parameters; According to the replaced sub-step page parameters, displaying to the user a fourth sub-step page corresponding to the replaced sub-step page parameters; The saved step parameters are modified according to the replaced sub-step page parameters.

5. The method according to claim 1, characterized in that: Also includes: In response to a user's operation on a jump button in the second sub-step page, determining a button type of the jump button; In the case where the button type is to jump backward, verifying the page data in the second sub-step page to obtain a verification result; When the verification result is passed, the saved step parameters are modified to the saved step parameters corresponding to the second sub-step page, so as to jump to the page after the second sub-step page.

6. A page jump device, characterized in that: The device comprises: an acquisition module, configured to acquire a first request for accessing a first sub-step page, and acquire a saved step parameter in a step parameter group, wherein the first sub-step page is a sub-step page in a sub-step page sequence, and a plurality of sub-step pages in the sub-step page sequence are incremented in equal steps, wherein the saved step parameter is a variable parameter, which is a pointer to a sub-step page in the sub-step page sequence, and changes with the page filled in and saved by the user; a generating module, configured to add the saved step parameters and the step length according to the saved step parameters and the step length, and generate a target sub-step page parameter according to the obtained value, wherein the target sub-step page parameter corresponds to the second sub-step page to be accessed, and the target sub-step page parameter is a sub-step page parameter of the second sub-step page to be jumped to according to the first request; a display module, configured to display the second sub-step page and the page configuration data stored in the second sub-step page to the user according to the target sub-step page parameters; and The step parameter group further includes a data clearing parameter, and in response to a user's modification operation on a third sub-step page located before the second sub-step page, determines page configuration data related to the modification operation; Determine the impact result of the page configuration data related to the modification operation; In the case where the impact result represents that the modification operation changes the page configuration result in other sub-step pages located after the second sub-step page, the data clearing parameter is modified, and the sub-step page parameter of the third sub-step page is subtracted from the step length to obtain the target parameter value, and the target parameter value is used as the saved step parameter corresponding to the third sub-step page.

7. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • H5 page jumping method and device of WeChat applet, equipment and storage medium

    CN115827115A