Page jumping method and device and electronic equipment
By obtaining and using the target object information to adjust the page jump request, the problem of information loss and inaccuracy during page jump is solved, and high accuracy and reliability page jump is achieved, improving the user experience.
Patent Information
- Application Number
- CN202411193302.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-20
AI Technical Summary
In the prior art, when page redirection, the information filled in by users is easily lost, and the redirection is not accurate enough, which affects the user experience.
By obtaining the target object information of the page, generating the target object identifier, and adjusting the page jump request based on the identifier, ensuring the accuracy and reliability of the page jump, simulate and reproduce user operations, and realizing the sub-site saving and playback of the page.
Improve the accuracy and reliability of page jumps, simplify operations, and improve user experience.
Smart Images

Figure CN119166933A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to a page jump method, device and electronic device. Background Art
[0002] When users visit a page, they often jump between pages. However, in scenarios where users have filled in information on the current page, the login operation before the page jumps will cause the information filled in by the user to be lost. For example, when a user visits page A, fills in multiple fields of information on the form of the page, and clicks submit, the system requires the user to log in, and submits the information to the server after identifying the user's identity. However, if the user logs in according to the system instructions, he needs to jump to login page B, and then return to page A after logging in. At this time, the following problems will arise: (1) When page A enters page B, page B records the source address (page A) on the client through cookies or other client technologies, and jumps back to the source address in the cookie after processing the logic of page B. As for the page data previously filled in by the user on page A, the page data previously filled in by the user on page A will be lost, resulting in the need to fill in the information again when returning to page A after login, which is a very poor user experience; (2) Since page B is generally a relatively common basic service page in the website system, such as a login page, supplementary information page, complaint page, etc., the source page (i.e., page A) for jumping to these basic service pages is diverse. Since the logic of page B is too complicated, the process of jumping back to the source page is not accurate, such as jumping back to the homepage or the parent page of page A, which affects the customer experience.
[0003] Currently, no effective solution has been proposed to the above-mentioned problems of being unable to accurately and reliably complete page jumps and having a low user experience. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a page jump method, device and electronic device to solve the problem that page jump cannot be completed accurately and reliably and the user experience is low.
[0005] In order to solve the above technical problems, the first aspect of this specification provides a page jump method, including:
[0006] In response to a first page jump request, acquiring target object information of the first page, wherein the first page jump request is a basic service page jump request generated based on a first operation of the user on the first page;
[0007] generating a target object identifier corresponding to the target object information, and adjusting the first page jump request based on the target object identifier;
[0008] Execute the adjusted first page jump request and push the second page to the client, so that the client jumps from the first page to the second page;
[0009] generating a second page jump request in response to a second operation of the user on the second page;
[0010] In response to the second page jump request, a third page is pushed to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
[0011] In some embodiments of the present specification, in response to a first page jump request, obtaining target object information of the first page includes:
[0012] After receiving the first page jump request, extracting the first operation of the user on the first page and the input information of the user on the first page;
[0013] Determine a request address and a request method for the first page based on the first operation;
[0014] Determining request parameters of the first page based on user input information on the first page;
[0015] The target object information is generated based on the request address, request parameters and request method.
[0016] In some embodiments of this specification, generating a target object identifier corresponding to the target object information includes:
[0017] The target object information is saved to a server, and a target object identifier corresponding to the target object information is generated.
[0018] In some embodiments of the present specification, executing the adjusted first page jump request and pushing the second page to the client includes:
[0019] Execute the first page jump request to obtain page information of the second page;
[0020] Adding the target object identifier to the page information, and pushing the adjusted page information to the client;
[0021] The client renders the second page based on the adjusted page information and jumps from the first page to the second page.
[0022] In some embodiments of the present specification, in response to the second page jump request, pushing the third page to the client based on the target object identifier in the second page so that the client jumps from the second page to the third page includes:
[0023] In response to the second page jump request, constructing a page redirection request based on the target object identifier;
[0024] constructing a fourth page based on the page redirection request, and pushing the fourth page to the client, wherein the fourth page corresponds to the third operation generated by the first operation;
[0025] The client obtains the third page in response to a third operation in the fourth page;
[0026] The client jumps from the second page to the third page.
[0027] In some embodiments of the present specification, constructing a page redirection request based on the target object identifier includes:
[0028] Obtaining target object information corresponding to the target object identifier, wherein the target object information includes a request address, request parameters, and request method of the first page;
[0029] Using the request address as the redirection request address, using the request parameters as the redirection request parameters, and using the request method as the redirection request method;
[0030] Generate a page redirection request based on the redirection request address, redirection request parameters and redirection request method.
[0031] In some embodiments of the present specification, the second page includes any one of a login page, a supplementary information page, and a user suggestion page.
[0032] A second aspect of the present specification provides a page jump device, including:
[0033] An information acquisition module, configured to acquire target object information of a first page in response to a first page jump request, wherein the first page jump request is a basic service page jump request generated based on a first operation of a user on the first page;
[0034] a request adjustment module, configured to generate a target object identifier corresponding to the target object information, and adjust the first page jump request based on the target object identifier;
[0035] A first request execution module is used to execute the adjusted first page jump request and push the second page to the client so that the client jumps from the first page to the second page;
[0036] A request generating module, configured to generate a second page jump request in response to a second operation of the user on the second page;
[0037] The second request execution module is used to respond to the second page jump request and push the third page to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
[0038] A third aspect of the present specification provides an electronic device, including:
[0039] A memory and a processor, wherein the processor and the memory are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the steps of the method described in the first aspect.
[0040] A fourth aspect of the present specification provides a computer storage medium, wherein the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the steps of the method described in the first aspect are implemented.
[0041] A fifth aspect of the present specification provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0042] The page jump method in the embodiments of the present specification obtains target object information of the first page in response to a first page jump request, wherein the first page jump request is a basic service page jump request generated based on a first operation of a user on the first page; a target object identifier is generated corresponding to the target object information, and the first page jump request is adjusted based on the target object identifier; the adjusted first page jump request is executed, and the second page is pushed to the client, so that the client jumps from the first page to the second page; a second page jump request is generated in response to a second operation of the user on the second page; and in response to the second page jump request, a third page is pushed to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, wherein the third page is generated by executing the first operation of the user on the first page. Through the above method, before the page jump is performed, the target object information of the first page is obtained and saved, and then when it is necessary to jump back to the first page, the first operation of the user in the first page can be simulated and reproduced based on the target object information, and the first operation can be completed based on the target object information, and the third page can be pushed to the client. Based on the target object information, the first page in any form can be completely reproduced, and the page jump has high universality. In addition, the first page can be saved and replayed on-site through the target object information without other user operations, which can improve the reliability and accuracy of the page jump, simple operation, and high user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some implementation methods recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0044] Figure 1 Shown is a schematic diagram of a page jump method provided by an embodiment of this specification;
[0045] Figure 2 A schematic diagram showing a partial process of a page jump method provided by an embodiment of this specification is shown;
[0046] Figure 3 Shown is a schematic diagram of a page jump method provided by an embodiment of this specification;
[0047] Figure 4 Shown is a schematic diagram of a page jump device provided in an embodiment of this specification;
[0048] Figure 5 Shown is a schematic diagram of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0050] It should be noted that the user-related information and data involved in the embodiments of this specification are all information and data authorized by the user or fully authorized by relevant parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users or relevant parties to choose to authorize or refuse.
[0051] It should also be noted that in the embodiments of this specification, certain software, components, models and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0052] As mentioned above, the method of saving the source address through the client and jumping back to the source page after processing the logic of the target page makes it impossible to save the information filled in by the user on the source page, so after jumping back to the source page, it needs to be filled in again, and it may not be possible to jump back to the source page accurately, with low accuracy and reliability; in addition, after jumping back to the source page, the user needs to repeat the operation on the source page to jump to the page the user expects, which is cumbersome and has a low user experience.
[0053] Therefore, in order to solve the above problems, the present specification provides a page jump method, which obtains target object information of the first page in response to a first page jump request, and the first page jump request is based on a basic service page jump request generated by a first operation of the user on the first page; generates a target object identifier corresponding to the target object information, and adjusts the first page jump request based on the target object identifier; executes the adjusted first page jump request, pushes the second page to the client, so that the client jumps from the first page to the second page; generates a second page jump request in response to the second operation of the user on the second page; in response to the second page jump request, pushes a third page to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
[0054] The page jump method in the embodiments of the present specification obtains and saves the target object information of the first page before the page jump. Then, when it is necessary to jump back to the first page, the first operation of the user in the first page can be simulated and reproduced based on the target object information, and the first operation can be completed based on the target object information, and the third page can be pushed to the client. The first page in any form can be completely reproduced based on the target object information, and the page jump has high universality. In addition, the first page can be saved and replayed on-site through the target object information without other operations of the user, which can improve the reliability and accuracy of the page jump, and the operation is simple and the user experience is high.
[0055] It can be understood that the above method provided in the present application can be applied to electronic devices, and electronic devices can refer to electronic devices with data calculation, processing and storage capabilities. The electronic device can be a terminal such as a PC (Personal Computer), a tablet computer, a smart phone, a wearable device, an intelligent robot, etc.; it can also be a server. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0056] The following is an introduction to the page jump method provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0057] Figure 1 Shown is a schematic diagram of the page jump method provided by the embodiment of this specification. Although this specification provides the method operation steps or device structure shown in the following embodiments or drawings, the method or device may include more or fewer operation steps or module units after partial merger based on routine or no creative labor. In the steps or structures where there is no necessary causal relationship logically, the execution order of these steps or the module structure of the device is not limited to the execution order or module structure shown in the embodiments or drawings of this specification. When the method or module structure is applied in an actual device, server or terminal product, it can be executed sequentially or in parallel according to the method or module structure shown in the embodiment or drawings (for example, in an environment of parallel processors or multi-threaded processing, or even including distributed processing, an implementation environment of a server cluster). As Figure 1 As shown, the method may include:
[0058] S101: In response to a first page jump request, obtaining target object information of a first page, wherein the first page jump request is a basic service page jump request generated based on a first operation of a user on the first page.
[0059] It can be understood that the first page jump request can be a jump request for jumping the first page of the client to the second page. The first page jump request can be a jump request for jumping to the basic service page generated by the server based on the first operation of the user on the first page. Among them, the basic service page can be, for example, a login page, a supplementary information page, a user suggestion page, a complaint page, etc. It can be understood that after the server receives the first operation of the user on the first page, it often judges whether it is necessary to jump to the basic service page based on the first operation and / or the user's input information on the first page, so that the relevant service operation is completed on the basic service page, and it can jump back to the first page to continue to perform the first operation after completion. Therefore, the first page jump request can be the corresponding page jump request generated by the server when it is determined that the basic service page needs to be jumped. For example, after receiving the first operation of the user on the first page, the server needs the user to log in to verify the user's authority information, record the user's behavior, and ensure the safety of the user's operation, and then the first page jump request can be generated based on the user's first operation, so that the client can jump from the first page to the login page, complete the user's login, and jump back to the first page to continue to perform the first operation after completing the login.
[0060] In some embodiments of the present specification, the second page may include any one of a login page, a supplementary information page, and a user suggestion page.
[0061] It is understandable that the login page can be a page that requires the user to enter the account and account password for verification. Based on the user's operation on the login page, the system can verify the user's identity information, control the user's operating authority in the system, record user behavior, protect the user's operation security, etc. The supplementary information page can be a page that the user needs to fill in the field information and its corresponding attribute information, which can be used as supplementary information of the page form, supplementary information of the user's identity, and other supplementary information. The user suggestion page can be a page for users to fill in suggestions, complaints, and other information. It is understandable that in other embodiments, the second page can also be other basic service pages, and this specification does not limit this.
[0062] In some embodiments of the present specification, in response to the first page jump request, obtaining the target object information of the first page may include:
[0063] After receiving the first page jump request, extracting the first operation of the user on the first page and the input information of the user on the first page;
[0064] Determine a request address and a request method for the first page based on the first operation;
[0065] Determining request parameters of the first page based on user input information on the first page;
[0066] The target object information is generated based on the request address, request parameters and request method.
[0067] It can be understood that when a page jump is performed based on the user's operation on the page, the elements required for the jump include the address of the page request, the request method, and the request parameters. The request address can be the target address that the server needs to obtain when executing the user's first operation, the request method can be the method for obtaining the target address, such as get, post, etc., and the request parameters can be the parameters required to perform the first operation. In the page jump scenario triggered by the user's first operation on the first page and input information, the elements related to the page jump include the user's first operation and the user's input information. Therefore, the element information required for the page jump can be generated as the target object information based on the first operation and input information. That is, the request address and request method of the first page are determined by the first operation, and the request parameters of the first page are determined by the input information.
[0068] In some embodiments of the present specification, the first page may include at least one information filling location such as a form where field information needs to be filled in. The user can fill in the corresponding field information in the information filling location as the user's input information on the first page. After completing the information input, the user can complete the first operation on the first page by operating the controls in the page, such as clicking the "Submit" control, etc. The client or server can determine the operation object of the first operation and the information of the operation object based on the user's first operation, such as the address of the link, the method of the request, etc., and determine the address of the first page request and the method of the first page request after the user performs the first operation on the first page; and can also generate the parameters of the first page request based on the field information filled in by the user and the attribute information corresponding to the field information, and then the obtained address of the first page request, the method of the request and the parameters of the request can be used as the core element information of the first page, and the first page can be saved on the spot by saving the core element information. Further, when reproducing the first page, a transfer page can be constructed in the form of attributes based on the core element information to reproduce the first page and the user's first operation on the first page.
[0069] In the embodiments of the present specification, when a page is saved on-site, it is not necessary to save all the data of the page. It is only necessary to generate core element information in the form of attributes based on the user's input information and the user's operations on the page. Then, when the page is subsequently reproduced, a transfer page can be constructed in the form of attributes without considering the form of the original page, the form type, the user's filling progress, etc. The original page can be reproduced quickly and accurately, and the user's operations on the original page can be retained. The operations on the original page can be directly simulated and reproduced on the transfer page without the need for other user operations. The user operation is simple, and the system reliability and user experience can be improved.
[0070] S102: Generate a target object identifier corresponding to the target object information, and adjust the first page jump request based on the target object identifier.
[0071] In some embodiments of this specification, generating a target object identifier corresponding to the target object information may include:
[0072] The target object information is saved to a server, and a target object identifier corresponding to the target object information is generated.
[0073] It can be understood that after the target object information is obtained, the target object information can be saved to the server, and then when the page is subsequently reproduced, the server can directly obtain the target object information corresponding to the page to be reproduced to complete the page reproduction.
[0074] In some embodiments of the present specification, after generating the target object identifier, the target object identifier can be used as the unique ID of the target object information and added to the first page jump request. When the page jumps, the target object identifier is substituted into the second page.
[0075] S103: Execute the adjusted first page jump request and push the second page to the client, so that the client jumps from the first page to the second page.
[0076] It can be understood that after adjusting the first page jump request, the second page can be pushed to the client based on the page jump request, so that the client can complete the jump from the first page to the second page based on the received second page. Specifically, the page information of the second page corresponding to the request can be obtained based on the adjusted first page jump request, and the obtained page information can be pushed to the client, and then the client can complete the rendering and jump of the second page based on the received page information.
[0077] In some embodiments of the present specification, executing the adjusted first page jump request and pushing the second page to the client may include:
[0078] Execute the first page jump request to obtain page information of the second page;
[0079] Adding the target object identifier to the page information, and pushing the adjusted page information to the client;
[0080] The client renders the second page based on the adjusted page information and jumps from the first page to the second page.
[0081] It can be understood that after obtaining the page information of the second page, in order to accurately and reliably reproduce the subsequent first page, the target object identifier can be added to the page information, and the adjusted page information can be pushed to the client. Then, when the client renders the page, it can bring the target object identifier into the second page, providing a basis for the subsequent reproduction of the first page.
[0082] In some embodiments of the present specification, when rendering the second page, the target object identifier may not be displayed in the rendered second page, and the target object identifier is only stored in the client as the attribute information of the second page, and then when the first page is reproduced, the corresponding target object information can be obtained based on the target object identifier in the attribute form to simulate the reproduction of the first page. In some embodiments of the present specification, when rendering the second page, the target object identifier can be used as a part of the rendered second page, and the identifier can be displayed in a specific area of the second page, and then when the page needs to be reproduced, the target object identifier of the specific area can be extracted to obtain the target object information corresponding to the target object identifier. In other embodiments, the target object identifier can also be brought into the second page in other forms, so that when the second page completes the relevant operations and needs to return to the first page, the reproduction of the first page can be completed quickly and accurately, and this specification does not limit this.
[0083] S104: Generate a second page jump request in response to a second operation of the user on the second page.
[0084] It is understandable that after the user completes the relevant information input or page operation on the second page, the second page jump request can be triggered by the second operation. The second page jump request can be a page jump request to jump from the second page back to the first page.
[0085] The second operation may be a click operation, a slide operation, etc., which is used to trigger the generation of a second page jump request.
[0086] In some embodiments of the present specification, when generating the second page jump request, it can be generated in combination with the target object identifier in the second page. For example, the target object identifier can be used as a request parameter of the second page jump request, combined with the user's second operation, to generate the second page jump request.
[0087] S105: In response to the second page jump request, a third page is pushed to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
[0088] It can be understood that after receiving the second page jump request, the server can obtain the target object information corresponding to the target object identifier based on the target object identifier in the second page jump request, and simulate and reproduce the first page and the user's first operation on the first page based on the target object information, and obtain or generate a third page based on the execution result of the first operation, and push the third page to the client, and then the client can complete the jump from the second page to the third page based on the received third page. In this process, the client does not need to reproduce the first page on the page, but only needs to simulate the first page and its operation on the server and execute it. No other user operations are required, and there is no need to consider the form, form type, information filling progress, etc. of the first page. The user's operation on the first page can be continued, and the page jump is completed quickly, accurately, and reliably. The user operation is simple and the user experience is high.
[0089] Figure 2 This is a partial flow chart of a page jump method provided in an embodiment of this specification. Figure 2 As shown, in some embodiments of the present specification, in response to the second page jump request, pushing the third page to the client based on the target object identifier in the second page so that the client jumps from the second page to the third page may include:
[0090] S201: In response to the second page jump request, construct a page redirection request based on the target object identifier.
[0091] It can be understood that the page redirection request is used to perform page redirection. In the embodiments of this specification, considering the problem of universal applicability of page reproduction, it is conceivable to adopt a transfer page, use the target object information as a form of attribute, and realize the reproduction of the first page by redirecting the transfer page. Specifically, the corresponding target object information can be obtained based on the target object identifier, and then the page redirection request can be constructed based on the target object information, and the redirection of the transfer page can be completed based on the reconstructed page redirection request, and the first operation of the first page can be simulated in the transfer page to generate a third page.
[0092] It can be understood that page redirection can be achieved by adjusting the web page structure, address, extension, etc. of the general page. Through redirection, the first page of different types and forms of expression and the user's operations on the first page can be simulated and reproduced on the transfer page, avoiding the problem of first page data loss or inability to accurately jump back to the first page due to the complexity of the second page and the diversity of the first page. The user's first operation on the first page can also be retained without the user having to operate again on the new page.
[0093] In some embodiments of the present specification, constructing a page redirection request based on the target object identifier may include:
[0094] Obtaining target object information corresponding to the target object identifier, wherein the target object information includes a request address, request parameters, and request method of the first page;
[0095] Using the request address as the redirection request address, using the request parameters as the redirection request parameters, and using the request method as the redirection request method;
[0096] Generate a page redirection request based on the redirection request address, redirection request parameters and redirection request method.
[0097] S202: construct a fourth page based on the page redirection request, and push the fourth page to the client, wherein the fourth page corresponds to the third operation generated by the first operation.
[0098] S203: The client obtains the third page in response to the third operation in the fourth page.
[0099] S204: The client jumps from the second page to the third page.
[0100] It can be understood that the fourth page can be a general transfer page, and the server can use the target object information in this page to simulate the operation of reproducing the first page.
[0101] In some embodiments of the present specification, when the page redirection is performed and the fourth page is constructed, the client can display the fourth page. Specifically, the fourth page can be displayed on the third page in the form of a graphic, that is, the client can display a preset graphic on the third page, which is used to characterize the fourth page. With the construction of the fourth page and the execution of the third operation in the fourth page, the preset graphic can be characterized in different forms. For example, the fourth page can be displayed as a progress bar, and with the construction progress of the fourth page and the execution progress of the third operation in the fourth page, it can be represented by progress bars of different lengths; the fourth page can also be displayed on the client in the form of a page, at which time the client can jump from the third page to the fourth page, and the fourth page can be a blank page, and no specific content is displayed on the page, but a progress bar can be included to characterize the current page reproduction progress and the page operation execution progress, and the target object information can be used as the attribute of the fourth page, and is not used to be displayed in the fourth page. Of course, in other embodiments, the target object information can also be displayed on the fourth page and displayed to the user, so that the user can determine whether the reproduced page is accurate based on the displayed content.
[0102] Taking the reproduction of page A as an example, the reproduction process of the first page and the generation process of the third page are further introduced below.
[0103] Specifically, a general transfer page can be used to obtain the core element information (i.e., target object information) of the reproduced page A from the server, and then simulate the operation of reproducing the page A. The core element information of the reproduced page A may include: the address of the page A request, the parameters of the page A request, and the method of the page A request.
[0104] Furthermore, the transfer page can include the following process when reproducing page A: on the server side of the transfer page, read the core element information of the reproduced page A according to the target object identifier (which can be represented by a unique id); construct a redirected server request based on the information, the request address is the address requested by page A, the request method is the method requested by page A, and the request parameters are the parameters requested by page A, and enter the redirection object (transfer page) in the form of attributes. After the redirection object arrives at the client, it can simulate all the operations of the user on page A according to the above information, and generate a third page, thereby improving the user experience. Specifically, when generating the third page, the client can generate a corresponding page jump request based on all the operations of the user on page A in the transfer page after generating the transfer page, and send it to the server. The server can obtain the page information of the third page based on the page jump request, and return the page information of the third page to the client. The client can render and generate the third page based on the page information of the third page, and jump to the third page from the second page or the fourth page.
[0105] Combine the following Figure 3 , taking the interaction between the client and the server as an example, the above page jump method is further introduced.
[0106] Figure 3 FIG. 1 is a flow chart of a page jump method provided in an embodiment of the present specification. Figure 3 As shown, the page jump method may include the following process:
[0107] S301: The client generates a first page jump request in response to a first operation of a user on a first page, and sends the first page jump request to the server.
[0108] S302: The server sends a page information collection instruction to the client in response to the first page jump request.
[0109] S303: The client extracts the core element information of the first page based on the page information collection instruction, and sends the core element information to the server.
[0110] S304: The server saves the core element information and generates a unique ID corresponding to the core element information, and merges the unique ID with the page information of the second page and sends the result to the client.
[0111] S305: The client jumps from the first page to the second page based on the received page information of the second page.
[0112] S306: The client generates a second page jump request in response to the second operation of the user on the second page, and sends the second page jump request to the server.
[0113] S307: The server obtains core element information based on the unique ID in the second page jump request, and generates a page redirection request based on the core element information.
[0114] S308: The server generates a transfer page based on the page redirection request to reproduce the first page, and sends the generated transfer page to the client.
[0115] S309: The client generates a third page jump request based on the operation in the transfer page, and sends the third page jump request to the server.
[0116] S310: The server obtains page information of the third page in response to the third page jump request, and sends the page information of the third page to the client.
[0117] S311: The client jumps from the second page to the third page based on the received page information of the third page.
[0118] Based on the page jump method described above, one or more embodiments of this specification also provide a page jump device. The device may include a device (including a distributed system), software (application), module, plug-in, server, client, etc. using the method described in the embodiment of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiment of this specification is as described in the following embodiments. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware of predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived. Figure 4 FIG. 1 is a schematic diagram of a page jump device provided in an embodiment of this specification. Figure 4 As shown, the page jump device 400 may include:
[0119] An information acquisition module 401 is used to acquire target object information of a first page in response to a first page jump request, wherein the first page jump request is a basic service page jump request generated based on a first operation of a user on the first page;
[0120] A request adjustment module 402, configured to generate a target object identifier corresponding to the target object information, and adjust the first page jump request based on the target object identifier;
[0121] The first request execution module 403 is used to execute the adjusted first page jump request and push the second page to the client so that the client jumps from the first page to the second page;
[0122] A request generating module 404, configured to generate a second page jump request in response to a second operation of the user on the second page;
[0123] The second request execution module 405 is used to respond to the second page jump request and push the third page to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page. The third page is generated by executing the first operation of the user on the first page.
[0124] In some embodiments of the present specification, the second page may include any one of a login page, a supplementary information page, and a user suggestion page.
[0125] In some embodiments of the present specification, the information acquisition module 401 can be specifically used to: after receiving a first page jump request, extract the first operation of the user on the first page and the input information of the user on the first page; determine the request address and request method of the first page based on the first operation; determine the request parameters of the first page based on the input information of the user on the first page; and generate the target object information based on the request address, request parameters and request method.
[0126] In some embodiments of the present specification, when the request adjustment module 402 generates a target object identifier corresponding to the target object information, it can be specifically used to: save the target object information to a server, and generate a target object identifier corresponding to the target object information.
[0127] In some embodiments of the present specification, the first request execution module 403 can be specifically used to: execute the first page jump request to obtain the page information of the second page; add the target object identifier to the page information, and push the adjusted page information to the client; the client renders the second page based on the adjusted page information, and jumps from the first page to the second page.
[0128] In some embodiments of the present specification, when the second request execution module 405 pushes the third page to the client based on the target object identifier in the second page in response to the second page jump request, so that the client jumps from the second page to the third page, it can be specifically used to: construct a page redirection request based on the target object identifier in response to the second page jump request; construct a fourth page based on the page redirection request, and push the fourth page to the client, the fourth page corresponding to the third operation generated by the first operation; the client obtains the third page in response to the third operation in the fourth page; the client jumps from the second page to the third page.
[0129] In some embodiments of the present specification, when the second request execution module 405 constructs a page redirection request based on the target object identifier, it can be specifically used to: obtain target object information corresponding to the target object identifier, the target object information including the request address, request parameters and request method of the first page; use the request address as the redirection request address, the request parameters as the redirection request parameters, and the request method as the redirection request method; generate a page redirection request based on the redirection request address, the redirection request parameters and the redirection request method.
[0130] The description and functions of the above modules can be understood by referring to the content of the page jump method part, which will not be repeated here.
[0131] The present application also provides an electronic device, such as Figure 5 As shown, the electronic device may include a processor 501 and a memory 502, wherein the processor 501 and the memory 502 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0132] The processor 501 may be a central processing unit (CPU). The processor 501 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0133] The memory 502 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the page jump method in the embodiment of the present invention (for example, Figure 4 The processor 501 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 502, that is, the page jump method in the above method embodiment is implemented.
[0134] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 501, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 502 may optionally include a memory remotely arranged relative to the processor 501, and these remote memories may be connected to the processor 501 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0135] The one or more modules are stored in the memory 502, and when executed by the processor 501, the following page jump method is performed:
[0136] In response to a first page jump request, acquiring target object information of the first page, wherein the first page jump request is a basic service page jump request generated based on a first operation of the user on the first page;
[0137] generating a target object identifier corresponding to the target object information, and adjusting the first page jump request based on the target object identifier;
[0138] Execute the adjusted first page jump request and push the second page to the client, so that the client jumps from the first page to the second page;
[0139] generating a second page jump request in response to a second operation of the user on the second page;
[0140] In response to the second page jump request, a third page is pushed to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
[0141] The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in the above method embodiments, and will not be repeated here.
[0142] The present specification also provides a computer storage medium, wherein the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the steps of the above-mentioned page jump method are implemented.
[0143] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0144] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0145] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions.
[0146] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0147] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute certain parts of the methods of each implementation method of the present application.
[0148] The present application can be used in many general or special computer system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0149] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0150] Although the present application has been described through embodiments, those skilled in the art will appreciate that there are many modifications and variations to the present application without departing from the spirit of the present application, and it is intended that the appended claims include these modifications and variations without departing from the spirit of the present application.
Claims
1. A page jump method, It is characterized in that include: In response to a first page jump request, acquiring target object information of the first page, wherein the first page jump request is a basic service page jump request generated based on a first operation of the user on the first page; generating a target object identifier corresponding to the target object information, and adjusting the first page jump request based on the target object identifier; Execute the adjusted first page jump request and push the second page to the client, so that the client jumps from the first page to the second page; generating a second page jump request in response to a second operation of the user on the second page; In response to the second page jump request, a third page is pushed to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
2. The method according to claim 1, It is characterized in that In response to the first page jump request, obtaining target object information of the first page includes: After receiving the first page jump request, extracting the first operation of the user on the first page and the input information of the user on the first page; Determine a request address and a request method for the first page based on the first operation; Determining request parameters of the first page based on user input information on the first page; The target object information is generated based on the request address, request parameters and request method.
3. The method according to claim 1, It is characterized in that Generating a target object identifier corresponding to the target object information includes: The target object information is saved to a server, and a target object identifier corresponding to the target object information is generated.
4. The method according to claim 1, It is characterized in that Execute the adjusted first page jump request and push the second page to the client, including: Execute the first page jump request to obtain page information of the second page; Adding the target object identifier to the page information, and pushing the adjusted page information to the client; The client renders the second page based on the adjusted page information and jumps from the first page to the second page.
5. The method according to claim 1, It is characterized in that In response to the second page jump request, pushing a third page to the client based on the target object identifier in the second page so that the client jumps from the second page to the third page includes: In response to the second page jump request, constructing a page redirection request based on the target object identifier; constructing a fourth page based on the page redirection request, and pushing the fourth page to the client, wherein the fourth page corresponds to the third operation generated by the first operation; The client obtains the third page in response to a third operation in the fourth page; The client jumps from the second page to the third page.
6. The method according to claim 5, It is characterized in that Constructing a page redirection request based on the target object identifier includes: Obtaining target object information corresponding to the target object identifier, wherein the target object information includes a request address, request parameters, and request method of the first page; Using the request address as the redirection request address, using the request parameters as the redirection request parameters, and using the request method as the redirection request method; Generate a page redirection request based on the redirection request address, redirection request parameters and redirection request method.
7. The method according to any one of claims 1 to 6, It is characterized in that The second page includes any one of a login page, a supplementary information page and a user suggestion page.
8. A page jump device, It is characterized in that include: An information acquisition module, configured to acquire target object information of a first page in response to a first page jump request, wherein the first page jump request is a basic service page jump request generated based on a first operation of a user on the first page; a request adjustment module, configured to generate a target object identifier corresponding to the target object information, and adjust the first page jump request based on the target object identifier; A first request execution module is used to execute the adjusted first page jump request and push the second page to the client so that the client jumps from the first page to the second page; A request generating module, configured to generate a second page jump request in response to a second operation of the user on the second page; The second request execution module is used to respond to the second page jump request and push the third page to the client based on the target object identifier in the second page, so that the client jumps from the second page to the third page, and the third page is generated by executing the first operation of the user on the first page.
9. An electronic device, It is characterized in that include: A memory and a processor, wherein the processor and the memory are communicatively connected to each other, the memory stores computer instructions, and the processor implements the steps of the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer storage medium, It is characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product, It is characterized in that The invention comprises a computer program, which implements the steps of the method according to any one of claims 1 to 7 when being executed by a processor.
