CN115659071A - Page jump method and device, electronic equipment and storage medium - Google Patents

Page jump method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115659071A
CN115659071A CN202211287180.7A CN202211287180A CN115659071A CN 115659071 A CN115659071 A CN 115659071A CN 202211287180 A CN202211287180 A CN 202211287180A CN 115659071 A CN115659071 A CN 115659071A
Authority
CN
China
Prior art keywords
page
service
pages
target
initial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211287180.7A
Other languages
Chinese (zh)
Inventor
聂俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202211287180.7A priority Critical patent/CN115659071A/en
Publication of CN115659071A publication Critical patent/CN115659071A/en
Pending legal-status Critical Current

Links

Images

Abstract

The method comprises the steps of responding to a page closing instruction triggered based on a first page, obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, wherein the service link represents a page jumping process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for a plurality of service pages in the process of triggering the loading of the service pages by a preset routing service; and closing at least one service page in the plurality of service pages based on the plurality of page identifications so as to jump the first page to a second page, wherein the second page is a recommended page or an initial service page of the target service. The embodiment of the invention can improve the operation convenience and efficiency of the service link return process, and the enthusiasm and processing efficiency of the user for continuously processing the service.

Description

Page jump method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a page jump method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, a large number of services can be processed based on the internet, such as object acquisition services; in the related art, service recommendation is often performed based on multimedia resources such as live videos and short videos, so that a user can trigger execution of corresponding services; in a service processing process in the related art, a plurality of service pages are often opened, for example, in a scene of recommending an object acquisition service based on a live broadcast, a live broadcast page is required to jump to an object introduction page corresponding to a plurality of objects to be acquired, then, a detail page of a certain object to be acquired can be jumped to, and an order submission page is jumped to based on the detail page; then, under the condition that payment is completed based on the order submitting page, the payment completing page can be entered, if the user needs to trigger the object to acquire the service again in the live broadcasting room, the user often needs to click the return button for multiple times, so that the operation of the service link return process in the related technology is complicated, the efficiency is low, and the enthusiasm and the efficiency of the user for continuously processing the service are seriously influenced.
Disclosure of Invention
The disclosure provides a page jump method, a page jump device, an electronic device and a storage medium, which at least solve the technical problems that the operation of a service link return process in the related technology is complicated, the efficiency is low, and the enthusiasm and the efficiency of continuing service processing by a user are seriously influenced. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a page jump method is provided, including:
in response to a page closing instruction triggered based on a first page, acquiring target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, wherein the service link represents a page jump process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for the service pages in the process that the preset routing service triggers the loading of the service pages; the plurality of business pages comprises the first page;
and closing at least one service page in the service pages based on the page identifications so as to jump the first page to a second page, wherein the second page is a recommended page of the target service or the initial service page.
In an optional embodiment, when the second page is the start service page, the at least one service page is a page other than the start service page in the plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the closing at least one business page of the plurality of business pages based on the plurality of page identifications so that the first page jumps to a second page comprises:
based on the loading sequence, reading page identifiers behind the initial page identifier of the initial service page in a reverse sequence from the plurality of page identifiers;
under the condition that any page identification is read, acquiring a page operation code of the business page corresponding to the read page identification;
and closing the at least one business page based on the page running code so as to enable the first page to jump to a second page.
In an optional embodiment, in a case that the second page is the recommended page, the at least one service page is the plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the closing at least one of the plurality of business pages based on the plurality of page identifications to cause the first page to jump to a second page comprises:
based on the loading sequence, reading each page identifier in the plurality of page identifiers in a reverse order;
under the condition that any page identification is read, acquiring a page operation code of the business page corresponding to the read page identification;
and closing the at least one business page based on the page running code so as to enable the first page to jump to a second page.
In an optional embodiment, before the acquiring, in response to a page close instruction triggered based on a first page, target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the method further includes:
displaying the recommended page, wherein the recommended page displays service initiation information corresponding to the target service;
and responding to a service initiating instruction triggered based on the service initiating information, and skipping to the initial service page.
In an optional embodiment, the jumping to the start service page in response to the service initiation instruction triggered based on the service initiation information includes:
responding to the service initiating instruction, and acquiring page address information of the initial service page;
calling the preset routing service, and triggering page loading of the initial service page based on the page address information;
and skipping to the initial service page under the condition that the page information of the initial service page is loaded.
In an optional embodiment, the method further comprises:
and under the condition of triggering the page loading of the initial service page, calling the preset routing service and creating a page identifier of the initial service page.
In an optional embodiment, the invoking the preset routing service, and creating a page identifier of the start service page includes:
calling the preset routing service to acquire an initial identification code corresponding to a page running code of the initial service page;
and calling the preset routing service, and generating a page identifier of the initial service page based on the initial identifier code.
In an optional embodiment, the obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs includes:
acquiring a starting page identifier of the starting service page in the service link;
and acquiring the identification information of the target page based on the initial page identification.
In an optional embodiment, the obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs includes:
acquiring a page identifier of the first page;
and acquiring the target page identification information based on the page identification of the first page.
According to a second aspect of the embodiments of the present disclosure, there is provided a page jump apparatus, including:
the target page identification information acquisition module is configured to execute a page closing instruction triggered based on a first page, and acquire target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, wherein the service link represents a page jump process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for the service pages in the process of triggering the service pages to load by preset routing service; the plurality of business pages comprises the first page;
a page closing module configured to close at least one service page of the plurality of service pages based on the plurality of page identifiers, so that the first page jumps to a second page, where the second page is a recommended page of the target service or the initial service page.
In an optional embodiment, in a case that the second page is the initial service page, the at least one service page is a page other than the initial service page in the plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the page closing module comprises:
a first page identifier reading unit configured to perform reverse order reading of a page identifier subsequent to a starting page identifier of the starting service page from the plurality of page identifiers based on the loading order;
the first page running code reading unit is configured to execute, under the condition that any page identification is read, acquiring a page running code of a business page corresponding to the read page identification;
a first business page closing unit configured to execute closing the at least one business page based on the page execution code to jump the first page to a second page.
In an optional embodiment, in a case that the second page is the recommended page, the at least one service page is the plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the page closing module comprises:
a second page identifier reading unit configured to perform reverse reading of each of the plurality of page identifiers based on the loading order;
the second page running code reading unit is configured to execute the page running code which is obtained under the condition that any page identification is read and corresponds to the service page of the read page identification;
a second service page closing unit configured to execute closing the at least one service page based on the page run code to cause the first page to jump to a second page.
In an optional embodiment, before the acquiring, in response to a page close instruction triggered based on a first page, target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the apparatus further includes:
a recommended page display module configured to execute display of the recommended page, where the recommended page shows service initiation information corresponding to the target service;
and the starting service page jumping module is configured to execute a service initiating instruction triggered based on the service initiating information and jump to the starting service page.
In an optional embodiment, the start service page skip module includes:
a page address information obtaining unit configured to execute, in response to the service initiation instruction, obtaining page address information of the initial service page;
the page loading triggering unit is configured to execute calling of the preset routing service, and based on the page address information, trigger page loading of the initial service page;
and the starting service page jumping unit is configured to execute jumping to the starting service page under the condition that the page information loading of the starting service page is completed.
In an optional embodiment, the apparatus further comprises:
and the page identifier creating module is configured to call the preset routing service and create the page identifier of the initial service page under the condition that the page loading of the initial service page is triggered.
In an optional embodiment, the page identifier creating module includes:
the starting identification code acquisition unit is configured to execute calling of the preset routing service and acquire a starting identification code corresponding to a page running code of the starting service page;
and the page identifier generating unit is configured to execute calling of the preset routing service, and generate a page identifier of the initial service page based on the initial identifier code.
In an optional embodiment, the target page identification information obtaining module includes:
a starting page identifier obtaining unit configured to perform obtaining of a starting page identifier of the starting service page in the service link;
a first target page identification information obtaining unit configured to perform obtaining the target page identification information based on the start page identification.
In an optional embodiment, the target page identification information obtaining module includes:
a page identifier acquisition unit configured to perform acquisition of a page identifier of the first page;
a second target page identification information acquisition unit configured to execute acquiring the target page identification information based on the page identification of the first page.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method according to any one of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method according to any one of the first aspects described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
under the condition that a page closing instruction is triggered based on a last loaded page (a first page) in a service link corresponding to a target service, target page identification information corresponding to a plurality of service pages in the service link can be acquired; the multiple page identifiers corresponding to the multiple service pages in the target page identifier information are identifiers created for the multiple service pages in the process of loading the multiple service pages triggered by the preset routing service, and can realize the identification of the multiple service pages in the service link in the page loading process, so that at least one service page needing to be closed in the service link can be quickly positioned based on the multiple page identifiers, the first page can quickly jump to a recommended page or an initial service page corresponding to the target service, the operation convenience and efficiency in the service link returning process are greatly improved, meanwhile, the service processing can be conveniently continued by a user, and the enthusiasm and the processing efficiency of the user for continuously processing the service are greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application environment in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a page jump method in accordance with an exemplary embodiment;
FIG. 3 is a schematic illustration of a plurality of service pages in a service link provided in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a jump to a start service page in response to a service initiation instruction triggered based on service initiation information, in accordance with an illustrative embodiment;
FIG. 5 is a flowchart illustrating closing at least one of a plurality of business pages based on a plurality of page identifications to cause a first page to jump to a second page in accordance with an exemplary embodiment;
FIG. 6 is another flow diagram illustrating closing of at least one business page of a plurality of business pages based on a plurality of page identifications to cause a jump from a first page to a second page in accordance with an illustrative embodiment;
FIG. 7 is a schematic diagram of a page jump provided in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a page jump apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating an electronic device for page hopping, according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment, which may include a terminal 100 and a server 200, according to an example embodiment.
In an alternative embodiment, the terminal 100 may be used to provide at least one service to any user. Specifically, the terminal 100 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and other types of electronic devices, and may also be software running on the electronic devices, such as an application program. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In an alternative embodiment, the server 200 may provide a background service for the terminal 100. Specifically, the server 200 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing a cloud computing service.
In addition, it should be noted that fig. 1 shows only one application environment provided by the present disclosure, and in practical applications, other application environments may also be included, for example, more terminals may be included.
In the embodiment of the present specification, the terminal 100 and the server 200 may be directly or indirectly connected through wired or wireless communication, and the disclosure is not limited herein.
Fig. 2 is a flowchart illustrating a page jump method according to an exemplary embodiment, where as shown in fig. 2, the method may be applied to an electronic device such as a terminal, and specifically, the method may include the following steps:
in step S201, in response to a page close instruction triggered based on a first page, target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs is acquired.
In a specific embodiment, the service link may represent a page jump process of jumping from a starting service page of a target service to a first page; the plurality of business pages includes a first page. The first page may be the last page in the traffic link; optionally, in the case that the page close instruction is triggered based on the first page, it may be determined that the page jump of the service link to which the first page belongs is ended. Optionally, a closing control may be arranged on the first page, and correspondingly, the page closing instruction may be triggered by clicking the closing control, and the like; optionally, the page closing instruction may also be triggered by a preset closing operation. The target service may correspond to different services in combination with actual applications, such as a downloading service of an application program, an object obtaining service, and the like, and the object may be an entity article or a virtual article.
In an optional embodiment, taking the object obtaining service as an example, the initial service page of the object obtaining service may be an object selection page including object introduction information of at least one object to be obtained; optionally, the plurality of service pages may sequentially include: an object selection page, an object detail page of a certain object, an object acquisition submission page (order submission page), and an object acquisition completion page (payment completion page); correspondingly, the object acquisition completion page may be a first page. Optionally, when the view of the object detail page of a certain object is finished, the object detail page of another object may be entered; correspondingly, the service pages may sequentially include: the method comprises the following steps that an object selection page, an object detail page of a first object and an object detail page of a second object are displayed; acquiring a submission page by an object corresponding to the second object; the object acquisition completion page corresponding to the second object; correspondingly, the object acquisition completion page corresponding to the second object may be the first page. Optionally, the page closing instruction may also be triggered when any object is not acquired; correspondingly, the plurality of business pages may sequentially include an object selection page, an object detail page of the first object, an object detail page of the second object, and an object detail page of the third object; accordingly, the object detail page of the third object may be the first page.
In a specific embodiment, the target page identification information may be information such as a list storing page identifications of a plurality of service pages, a document, and the like; correspondingly, the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for a plurality of service pages in the process of triggering the loading of the service pages by a preset routing service; each service page corresponds to a page identifier, and each page identifier can be used for identifying one service page in the service link. The preset routing service may be a service for triggering page loading.
In an optional embodiment, the obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs may include:
acquiring a starting page identifier of a starting service page in a service link;
and acquiring target page identification information based on the starting page identification.
In an optional embodiment, the page identification information corresponding to each service link may use a starting page identification in the service link as a query index; accordingly, the start page identifier of the start service page in the service link may be obtained first, and then, based on the start page identifier, the page identifier information including the start page identifier may be queried to obtain the target page identifier information.
In the above embodiment, the start page identifier of the start service page in the service link is used as an index, and the target page identifier information corresponding to the service link can be obtained, so that the service page in the service link can be closed subsequently, and the target service page can be skipped quickly, thereby improving the efficiency and convenience of service processing.
In another optional embodiment, the obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs may include:
acquiring a page identifier of a first page;
and acquiring target page identification information based on the page identification of the first page.
In an optional embodiment, the page identification information corresponding to each service link may use the page identification of the last page in the service link as a query index; accordingly, the page identifier of the first page (the last page in the service link) in the service link may be obtained first, and then, based on the page identifier of the first page, the page identifier information including the page identifier of the first page may be queried to obtain the target page identifier information.
In the above embodiment, the page identifier of the first page in the service link is used as the index, and the target page identifier information corresponding to the service link can be obtained, so that the service page in the service link can be closed subsequently, and the target service page can be skipped to quickly, thereby improving the efficiency and convenience of service processing.
In an optional embodiment, before, in response to a page close instruction triggered based on a first page, acquiring target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the method may further include:
displaying a recommendation page, wherein the recommendation page displays service initiation information corresponding to a target service;
and responding to a service initiating instruction triggered based on the service initiating information, and jumping to a starting service page.
In a specific embodiment, the recommendation page may be a page for triggering execution of the target service, for example, in the object acquisition service, a live broadcast page of an object to be acquired in the recommendation object acquisition service, a video display page (a page of a non-live video) of the object to be acquired in the recommendation target service, and the like.
In a specific embodiment, the service initiation information may be information used for triggering a start service page presentation of the target service, such as a control, a pendant, and the like.
In a specific embodiment, the loading presentation of the next service page after the start service page may be triggered based on the start service page, and so on, and the loading presentation of the next service page is triggered based on the previous service page until the loading presentation of the first page is triggered.
In a specific embodiment, assuming that the target service is an object acquisition service, the plurality of service pages sequentially include: an object selection page, an object detail page of a certain object, an object acquisition submission page and an object acquisition completion page; and the recommendation page is a live broadcast page; as shown in fig. 3, fig. 3 is a schematic diagram of a plurality of service pages in a service link according to an exemplary embodiment. Wherein, the live broadcast page shown in a in fig. 3 is a recommendation page; as can be seen from the live page shown in a in fig. 3, the service initiation information 301 is displayed in the live page; optionally, the display of the start service page of the object acquisition service may be triggered based on the service initiation information 301, and optionally, the live broadcast page including the object introduction popup window shown in fig. 3 b may be the start service page of the object acquisition service; optionally, if the display of the object detail page is triggered based on the information corresponding to the object 2 in the initial service page shown in b in fig. 3, the object detail page shown in c in fig. 3 may be entered; next, the display of the object acquisition submission page shown in d in fig. 3 may be triggered based on the "immediate kill for second" control in the object detail page shown in c in fig. 3, and optionally, after the payment operation is completed in the object acquisition submission page, the object acquisition completion page shown in e in fig. 3 may be entered.
In the above embodiment, the display of the initial service page of the target service is triggered in combination with the service initiation information in the recommendation page corresponding to the target service, so that a service link corresponding to the target service can be entered, and the execution of the target service is realized.
In an alternative embodiment, as shown in fig. 4, the above-mentioned jumping to the start service page in response to the service initiation instruction triggered based on the service initiation information may include the following steps:
in step S401, in response to the service initiation instruction, acquiring page address information of the initial service page;
in step S403, a preset routing service is called, and based on the page address information, page loading of the initial service page is triggered;
in step S405, when the page information of the start service page is loaded, the user jumps to the start service page.
In a specific embodiment, under the condition of triggering a service initiation instruction, the service initiation instruction may carry page address information of an initial service page to be rendered; optionally, a preset routing service may be called, and based on the page address information, page loading of the initial service page is triggered; specifically, the preset routing service may determine, in combination with the page address information, a position (page entry) of a page operation code corresponding to the initial service page, and trigger operation of the page operation code, thereby implementing page loading triggering on the initial service page; in particular, page loading may be performed by a rendering engine in conjunction with page run code.
In the above embodiment, in the process of loading the initial service page, the preset routing service is invoked, and the page loading of the initial service page is triggered by the preset routing service in combination with the page address information of the initial service page, so that the success rate of the page loading can be effectively ensured.
In an optional embodiment, the method further comprises:
and under the condition of triggering page loading of the initial service page, calling a preset routing service and creating a page identifier of the initial service page.
In a specific embodiment, in the case of triggering page loading of the start service page, a preset routing service may be invoked to create a page identifier of the start service page.
In an optional embodiment, the invoking the preset routing service and the creating a page identifier of the initial service page includes:
calling a preset routing service, and acquiring a starting identification code corresponding to a page running code of a starting service page;
and calling a preset routing service, and generating a page identifier of the initial service page based on the initial identifier code.
In a specific embodiment, the preset routing service may obtain a start identifier code corresponding to a page running code of a start service page; the starting identification code may be an identification code corresponding to a page running code of the starting service page, and specifically, for example, a code such as a hash code that can identify the page running code.
In an optional embodiment, because the start identifier code is unique, a page identifier may be generated in a manner of randomly adding a segment of character string on the basis of the start identifier code, for example, the application package name is spliced with the identifier code corresponding to the page running code of any service page, so as to obtain the page identifier of the corresponding service page.
In the above embodiment, when the preset routing service triggers page loading of the initial service page, the preset routing service is called to create the page identifier of the initial service page, so that the identifier of each service page loaded in the object service link can be realized, and the preset routing service combines the identifier code corresponding to the page running code to create the service page identifier, so that the page identifier generation efficiency can be improved on the basis of effectively ensuring the uniqueness of the page identifier.
In step S203, at least one business page of the business pages is closed based on the page identifications, so that the first page jumps to the second page.
In a specific embodiment, the second page may be a recommended page of the target service or a start service page. Specifically, the setting may be performed in combination with the actual application requirement, and a recommended page that triggers execution of the target service is selected, or a starting service page of the target service is a second page to which a jump is to be made when the service link is ended. The at least one service page includes a first page.
In a specific embodiment, the page identifier of each service page in the target page identifier information corresponds to the page running code of the service page. Correspondingly, the page running code of at least one service page can be obtained by combining the page identifier of at least one service page, and then at least one service page can be closed by closing the service running code.
In an optional embodiment, in a case that the second page is a starting service page, at least one service page is a page other than the starting service page in the plurality of service pages.
In this embodiment of the present specification, the page identifiers may be ordered according to a loading order of the service pages; optionally, as shown in fig. 5, the closing at least one service page of the plurality of service pages based on the plurality of page identifiers, so that the jumping from the first page to the second page may include:
in step S501, based on the loading sequence, the page identifier after the start page identifier of the start service page is read from the multiple page identifiers in reverse order;
in step S503, under the condition that any page identifier is read, acquiring a page operation code of the service page corresponding to the read page identifier;
in step S505, at least one business page is closed based on the page run code, so that the first page jumps to the second page.
In a specific embodiment, the page run code may be a page instance; the page run code of any business page can be used to load the business page.
In a specific embodiment, the closing at least one service page based on the page running code to make the first page jump to the second page may include: the closing of at least one service page is realized by sequentially closing the page operating codes of at least one service page, and then the jump from the first page to the second page can be realized.
In the above embodiment, the corresponding page identifier is read in combination with the loading sequence corresponding to the at least one service page to be closed, so that the page running code corresponding to each service page can be quickly obtained, and further, the at least one service page can be quickly closed and jump to the initial service page corresponding to the target service, which can greatly improve the operational convenience and efficiency of service link return, and further greatly improve the enthusiasm and efficiency of users for continuing service processing.
In another optional embodiment, in the case that the second page is a recommended page, at least one business page is a plurality of business pages; the page identifications are ordered according to the loading sequence of the service pages; optionally, as shown in fig. 6, the closing at least one service page of the multiple service pages based on the multiple page identifiers to make the first page jump to the second page may include:
in step S601, based on the loading sequence, each page identifier in the multiple page identifiers is read in reverse order;
in step S603, under the condition that any page identifier is read, acquiring a page operation code of the service page corresponding to the read page identifier;
in step S605, at least one service page is closed based on the page run code, so that the first page jumps to the second page.
In a specific embodiment, the closing at least one service page based on the page running code to make the first page jump to the second page may include: the closing of the plurality of service pages is realized by sequentially closing the page operating codes of the plurality of service pages, and then the jump from the first page to the second page can be realized.
In the above embodiment, the corresponding page identifier is read in combination with the loading sequence corresponding to the multiple service pages in the service link, and the page running code corresponding to each service page can be quickly obtained, so that the multiple service pages can be quickly closed, and the recommended page corresponding to the target service is skipped, thereby greatly improving the operational convenience and efficiency of the service link return, and further greatly improving the enthusiasm and efficiency of the user for continuing to perform service processing.
In a specific embodiment, with reference to the corresponding embodiment in fig. 3, assume that the first page is the object acquisition completion page shown in e in fig. 3; alternatively, the page close command may be triggered by clicking a close button (e shown as a fork control in fig. 3), and accordingly, as shown in fig. 7, fig. 7 is a schematic diagram of page jump provided according to an exemplary embodiment. The object acquisition completion page shown in a in fig. 7 is combined; optionally, if the second page is a recommended page; with reference to b in fig. 7, when the user triggers a page close instruction, based on the page jump method of the present application, the object acquisition completion page shown in a in fig. 7 may directly jump to the recommendation page shown in b in fig. 7; optionally, if the second page is an initial service page; with reference to c in fig. 7, when the user triggers a page close instruction, based on the page jump method of the present application, the object acquisition completion page shown in a in fig. 7 may directly jump to the start service page shown in c in fig. 7.
As can be seen from the technical solutions provided in the embodiments of the present specification, in the case that a page closing instruction is triggered based on a page (first page) loaded last in a service link corresponding to a target service, the present specification may obtain target page identification information corresponding to a plurality of service pages in the service link; the multiple page identifiers corresponding to the multiple service pages in the target page identifier information are identifiers created for the multiple service pages in the process of loading the multiple service pages triggered by the preset routing service, and can realize the identification of the multiple service pages in the service link in the page loading process, so that at least one service page needing to be closed in the service link can be quickly positioned based on the multiple page identifiers, the first page can quickly jump to a recommended page or an initial service page corresponding to the target service, the operation convenience and efficiency in the service link returning process are greatly improved, meanwhile, the service processing can be conveniently continued by a user, and the enthusiasm and the processing efficiency of the user for continuously processing the service are greatly improved. In addition, a plurality of service pages in the service link are identified by combining the page identification generated by the preset routing service, and then the plurality of service pages are closed, so that the technical form of the page can be realized without paying attention, and the compatibility is high; therefore, the complicated operation of registering the monitoring events corresponding to the pages in different technical forms to close the service pages by adding the monitoring events to the service pages of the service link in the related technology can be effectively avoided, and the condition of page jump errors caused by missing registration of the monitoring events can be effectively avoided.
FIG. 8 is a block diagram illustrating a page jump apparatus in accordance with an exemplary embodiment. Referring to fig. 8, the apparatus includes:
a target page identification information obtaining module 810 configured to execute, in response to a page close instruction triggered based on a first page, obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the service link representing a page jump process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for a plurality of service pages in the process of triggering the loading of the service pages by a preset routing service; the plurality of business pages comprises a first page;
and a page closing module 820 configured to close at least one service page of the plurality of service pages based on the plurality of page identifications, so that the first page jumps to a second page, wherein the second page is a recommended page or an initial service page of the target service.
In an optional embodiment, in a case that the second page is a start service page, at least one service page is a page other than the start service page in the plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the page close module 820 includes:
a first page identifier reading unit configured to perform reverse order reading of a page identifier subsequent to a start page identifier of a start service page from a plurality of page identifiers based on a loading order;
the first page running code reading unit is configured to execute the page running code of the business page corresponding to the read page identifier under the condition that any page identifier is read;
and the first business page closing unit is configured to execute the page-based running code and close at least one business page so as to jump the first page to the second page.
In an optional embodiment, in the case that the second page is a recommended page, at least one service page is a plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the page close module 820 includes:
a second page identifier reading unit configured to perform reverse-order reading of each of the plurality of page identifiers based on the loading order;
the second page running code reading unit is configured to execute the page running code which is obtained under the condition that any page identification is read and corresponds to the service page of the read page identification;
and the second business page closing unit is configured to execute the page-based running code and close at least one business page so as to jump the first page to the second page.
In an optional embodiment, before, in response to a page close instruction triggered based on a first page, obtaining target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the apparatus further includes:
the recommendation page display module is configured to execute and display a recommendation page, and the recommendation page displays service initiation information corresponding to the target service;
and the starting service page jumping module is configured to execute a service initiating instruction triggered based on the service initiating information and jump to the starting service page.
In an optional embodiment, the start service page skip module includes:
the page address information acquisition unit is configured to execute responding to the service initiating instruction and acquire the page address information of the initial service page;
the page loading triggering unit is configured to execute calling of a preset routing service and trigger page loading of the initial service page based on the page address information;
and the starting service page jumping unit is configured to execute jumping to the starting service page under the condition that the page information loading of the starting service page is completed.
In an optional embodiment, the apparatus further comprises:
and the page identifier creating module is configured to call a preset routing service and create the page identifier of the initial service page under the condition of triggering page loading of the initial service page.
In an alternative embodiment, the page identity creation module comprises:
the starting identification code acquisition unit is configured to execute calling of a preset routing service and acquire a starting identification code corresponding to a page running code of a starting service page;
and the page identifier generating unit is configured to execute calling of a preset routing service, and generate the page identifier of the initial service page based on the initial identifier code.
In an optional embodiment, the target page identification information obtaining module includes:
a starting page identifier obtaining unit configured to perform obtaining of a starting page identifier of a starting service page in a service link;
a first target page identification information acquisition unit configured to perform acquisition of target page identification information based on the start page identification.
In an optional embodiment, the target page identification information obtaining module includes:
a page identification acquisition unit configured to perform acquisition of a page identification of a first page;
and a second target page identification information acquisition unit configured to execute acquiring target page identification information based on the page identification of the first page.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an electronic device for page jump, which may be a terminal, according to an exemplary embodiment, and an internal structure diagram thereof may be as shown in fig. 9.
The terminal may include RF (Radio Frequency) circuitry 910, memory 920 including one or more computer-readable storage media, an input unit 930, a display unit 940, a sensor 950, audio circuitry 960, a WiFi (wireless fidelity) module 970, a processor 980 including one or more processing cores, and a power supply 990. Those skilled in the art will appreciate that the terminal structure shown in fig. 9 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 910 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by the one or more processors 980; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
The memory 920 may be used to store software programs and modules, and the processor 980 performs various functional applications and data processing by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 920 may also include a memory controller to provide the processor 980 and the input unit 930 with access to the memory 920.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect a user's touch operations on or near the touch-sensitive surface 931 (e.g., a user's operation on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 940 may include a Display panel 941, and optionally, the Display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 931 may overlay the display panel 941, and when a touch operation is detected on or near the touch-sensitive surface 931, the touch operation is transmitted to the processor 980 to determine the type of touch event, and the processor 980 then provides a corresponding visual output on the display panel 941 according to the type of touch event. Where touch-sensitive surface 931 and display panel 941 may implement input and output functions in two separate components, touch-sensitive surface 931 may also be integrated with display panel 941 in some embodiments.
The terminal may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 941 and/or a backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and can be used for applications of recognizing terminal gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal, detailed description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and the terminal. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is received by the audio circuit 960 and converted into audio data, which is then processed by the audio data output processor 980, and then passed through the RF circuit 910 to be transmitted to, for example, another terminal, or the audio data is output to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of a peripheral headset with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 970, which provides wireless broadband internet access for the user. Although fig. 9 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the terminal. Optionally, processor 980 may include one or more processing cores; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The terminal also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 980 via a power management system, for managing charging, discharging, and power consumption via the power management system. The power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors according to the instructions of the method embodiments of the present invention.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a page jump method as in an embodiment of the present disclosure.
In an exemplary embodiment, there is also provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a page jump method in an embodiment of the present disclosure.
In an exemplary embodiment, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the page jump method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, the computer program may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A page jump method is characterized by comprising the following steps:
responding to a page closing instruction triggered based on a first page, and acquiring target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, wherein the service link represents a page jump process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for the service pages in the process that the preset routing service triggers the loading of the service pages; the plurality of business pages comprises the first page;
and closing at least one service page in the service pages based on the page identifications so as to jump the first page to a second page, wherein the second page is a recommended page of the target service or the initial service page.
2. The page hopping method according to claim 1, wherein, in a case where said second page is said starting service page, said at least one service page is a page other than said starting service page among said plurality of service pages;
the page identifications are ordered according to the loading sequence of the service pages; the closing at least one of the plurality of business pages based on the plurality of page identifications to cause the first page to jump to a second page comprises:
based on the loading sequence, reading page identifiers behind the initial page identifier of the initial service page in a reverse sequence from the plurality of page identifiers;
under the condition that any page identification is read, acquiring a page operation code of the business page corresponding to the read page identification;
and closing the at least one service page based on the page operating code so as to jump the first page to a second page.
3. The page jump method according to claim 1, wherein said at least one service page is said plurality of service pages in the case where said second page is said recommended page;
the page identifications are ordered according to the loading sequence of the service pages; the closing at least one of the plurality of business pages based on the plurality of page identifications to cause the first page to jump to a second page comprises:
based on the loading sequence, reading each page identifier in the plurality of page identifiers in a reverse order;
under the condition that any page identification is read, acquiring a page operation code of the business page corresponding to the read page identification;
and closing the at least one service page based on the page operating code so as to jump the first page to a second page.
4. The page jump method according to any one of claims 1 to 3, wherein before the step of acquiring, in response to a page close instruction triggered based on a first page, target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, the method further comprises:
displaying the recommended page, wherein the recommended page displays service initiation information corresponding to the target service;
and responding to a service initiating instruction triggered based on the service initiating information, and skipping to the initial service page.
5. The page jump method of claim 4, wherein said jumping to said starting service page in response to a service initiation instruction triggered based on said service initiation information comprises:
responding to the service initiating instruction, and acquiring page address information of the initial service page;
calling the preset routing service, and triggering page loading of the initial service page based on the page address information;
and skipping to the initial service page under the condition that the page information of the initial service page is loaded.
6. The page hopping method according to claim 5, characterized in that said method further comprises:
and under the condition of triggering the page loading of the initial service page, calling the preset routing service and creating a page identifier of the initial service page.
7. The page jump method according to claim 5, wherein said invoking said preset routing service and creating a page identifier of said initial service page comprises:
calling the preset routing service to acquire an initial identification code corresponding to a page running code of the initial service page;
and calling the preset routing service, and generating a page identifier of the initial service page based on the initial identifier code.
8. The page jump method according to any one of claims 1 to 3, wherein said obtaining target page identification information corresponding to a plurality of service pages in a service link to which said first page belongs comprises:
acquiring a starting page identifier of the starting service page in the service link;
and acquiring the identification information of the target page based on the initial page identification.
9. The page jump method according to any one of claims 1 to 3, wherein said obtaining target page identification information corresponding to a plurality of service pages in a service link to which said first page belongs comprises:
acquiring a page identifier of the first page;
and acquiring the target page identification information based on the page identification of the first page.
10. A page jump apparatus, comprising:
the target page identification information acquisition module is configured to execute a page closing instruction triggered based on a first page, and acquire target page identification information corresponding to a plurality of service pages in a service link to which the first page belongs, wherein the service link represents a page jump process of jumping from an initial service page of a target service to the first page; the target page identification information comprises a plurality of page identifications, and the page identifications are identifications created for the service pages in the process that the preset routing service triggers the loading of the service pages; the plurality of business pages comprises the first page;
a page closing module configured to close at least one service page of the plurality of service pages based on the plurality of page identifiers, so that the first page jumps to a second page, where the second page is a recommended page of the target service or the initial service page.
11. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page jump method of any of claims 1 to 9.
12. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page jump method of any of claims 1 to 9.
CN202211287180.7A 2022-10-20 2022-10-20 Page jump method and device, electronic equipment and storage medium Pending CN115659071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211287180.7A CN115659071A (en) 2022-10-20 2022-10-20 Page jump method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211287180.7A CN115659071A (en) 2022-10-20 2022-10-20 Page jump method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115659071A true CN115659071A (en) 2023-01-31

Family

ID=84989691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211287180.7A Pending CN115659071A (en) 2022-10-20 2022-10-20 Page jump method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115659071A (en)

Similar Documents

Publication Publication Date Title
US11449955B2 (en) Information processing method and apparatus
CN106775637B (en) Page display method and device for application program
US11798107B2 (en) Scenario-based application recommendation method and apparatus
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN110020293B (en) Multimedia data display method, device and storage medium
CN112148579B (en) User interface testing method and device
CN106156097B (en) Method and device for processing browser input records
CN109495638B (en) Information display method and terminal
US20160291844A1 (en) Method and apparatus for opening a data processing page
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN112749074B (en) Test case recommending method and device
US20150089370A1 (en) Method and device for playing media data on a terminal
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN115017340A (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN115017406A (en) Live broadcast picture display method and device, electronic equipment and storage medium
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting
CN115659071A (en) Page jump method and device, electronic equipment and storage medium
CN115361590B (en) Live video display method and device, electronic equipment and storage medium
US20220232287A1 (en) Method and device for acquiring virtual resource and storage medium
CN115390707A (en) Sharing processing method and device, electronic equipment and storage medium
CN117149010A (en) Multimedia resource switching method and device, electronic equipment and storage medium
CN115237317A (en) Data display method and device, electronic equipment and storage medium
CN117009691A (en) Information display method and device, electronic equipment and storage medium
CN115018574A (en) Information display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination