CN106951148B - Page switching method and device - Google Patents

Page switching method and device Download PDF

Info

Publication number
CN106951148B
CN106951148B CN201710301124.7A CN201710301124A CN106951148B CN 106951148 B CN106951148 B CN 106951148B CN 201710301124 A CN201710301124 A CN 201710301124A CN 106951148 B CN106951148 B CN 106951148B
Authority
CN
China
Prior art keywords
page
switching
current
skip
jump
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.)
Active
Application number
CN201710301124.7A
Other languages
Chinese (zh)
Other versions
CN106951148A (en
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.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software 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 Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201710301124.7A priority Critical patent/CN106951148B/en
Publication of CN106951148A publication Critical patent/CN106951148A/en
Application granted granted Critical
Publication of CN106951148B publication Critical patent/CN106951148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The embodiment of the invention discloses a method and a device for switching pages. The method for switching the pages comprises the steps of opening any one of a plurality of entry pages of an application program, recording a jump ID of a current entry page, switching at least one level of pages from the current entry page according to user operation, displaying a quick jump button in each level of switching pages, associating the quick jump button with the jump ID of the current entry page, receiving a click trigger signal of the quick jump button, responding to the click trigger signal, and jumping from the current switching page to the current entry page according to the jump ID. According to the scheme, after the application program of the multi-entry page is subjected to at least one page switching, the terminal jumps from the current switching page to the current entry page according to the jump ID associated with the quick jump button, so that the terminal quickly jumps back to the corresponding entry page from the current switching page after the at least one page switching, invalid operations of a user can be greatly reduced, and user interaction experience is improved.

Description

Page switching method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for switching pages.
Background
H5(HTML5) is an advanced web page technology, widely used in page making design.
The page manufactured by adopting the H5 technology is generally a single window display interface, when a user opens a certain application program and enters an entry page (primary page), the entry page is provided with options corresponding to other pages (secondary pages), the user clicks the option and switches to the secondary page, the secondary page can also be provided with options corresponding to other pages, the user can click the option and switch to a tertiary page, and so on, so that the user can browse a certain currently displayed page through multiple page switching operations. When a user wants to return to an entry page from a currently displayed page, it is usually necessary to repeatedly click the return option to return step by step.
Although some solutions can implement quick return to the home page or the entry page of the application program by adding the home page button, etc., the page switching efficiency is improved, but when the application program has a plurality of entries, the prior art is no longer applicable by simply adding the home page button, etc.
Disclosure of Invention
In order to solve the related technical problems, the invention provides a method and a device for switching pages, so as to improve the page switching efficiency of an application program with a plurality of entry pages, reduce the flow consumption and waiting time of a user, and improve the user experience.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for switching a page, where the method includes:
opening any entry page in a plurality of entry pages of an application program, and recording a skip ID of the current entry page;
according to user operation, at least one level of page switching is carried out from the current entry page, a quick jump button is displayed in each level of switching page, and the quick jump button is associated with the jump ID of the current entry page;
receiving a click trigger signal of the quick jump button;
and responding to the click trigger signal, and jumping from the current switching page to the current entry page according to the jumping ID.
In a second aspect, an embodiment of the present invention further provides an apparatus for switching a page, where the apparatus includes:
the portal page opening module is used for opening any one of a plurality of portal pages of the application program and recording the skip ID of the current portal page;
the page switching module is used for switching at least one level of pages from the current entry page according to user operation, and a quick jump button is displayed in each level of switching pages and is associated with the jump ID of the current entry page;
the click trigger signal receiving module is used for receiving a click trigger signal of the quick skip button;
and the skipping module is used for responding to the click trigger signal and skipping from the current switching page to the current entry page according to the skipping ID.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the technical scheme, when a terminal opens any one of a plurality of entry pages of an application program, the jump ID of the current entry page is recorded, at least one level of page switching is carried out according to user operation, a quick jump button is displayed in the current switching page and is associated with the jump ID of the current entry page, and when a click trigger signal of the quick jump button is received, the terminal jumps to the current entry page from the current switching page according to the jump ID associated with the quick jump button; the terminal records the skip ID of the current entry page, after page switching is carried out, a quick skip button associated with the skip ID is displayed in the current switching page, a user clicks and triggers the quick skip button, the terminal skips from the current switching page to the current entry page according to the skip ID associated with the quick skip button, quick skip from the current switching page to the corresponding entry page is achieved after at least one page switching, invalid operation of the user can be greatly reduced, and user interaction experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a method for switching pages according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an alternative implementation manner of S140 in fig. 1 according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an alternative implementation manner of S140 in fig. 1 according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for switching pages according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for switching a page according to a fifth embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Please refer to fig. 1, which is a flowchart illustrating a method for switching pages according to an embodiment of the present invention. The method for switching the page provided by the embodiment is suitable for a scene that the terminal quickly jumps back to the entry page after entering the multi-entry page application program to switch the page. The method for switching pages provided in this embodiment may be executed by a device for switching pages, where the device may be implemented by software and/or hardware and is integrated in a terminal device.
As shown in fig. 1, the method for switching pages provided in this embodiment may include the following steps:
s110, opening any entry page in the multiple entry pages of the application program, and recording the jump ID of the current entry page.
For example, the method of the present embodiment may be executed by a terminal, where the terminal may be a terminal with a page switching function, such as a mobile terminal like a mobile phone or a tablet computer. The terminal can be provided with at least one application program related to multi-entry and multi-level pages, and can comprise an input unit, wherein the input unit can be a key, a touch screen or a mouse, a user can operate on the terminal through the input unit, and the terminal can receive corresponding input signals; the terminal may include a processor, and the processor may be configured to perform corresponding processing, such as opening an application program or performing page switching, according to the received input signal; the terminal may include a display unit, which may be a liquid crystal display, and the display unit may display information input by a user or information provided to the user. In addition, the terminal may further include components such as a memory, a sensor, and a power supply.
In this embodiment, when the terminal opens the multi-entry page application, corresponding jump IDs are respectively set for a plurality of entry pages of the application, for example, G _ ID is set to 1 for the first entry page, G _ ID is set to 2, … … for the second entry page, and G _ ID is set to n for the nth entry page. According to the instruction input by the user through the input unit, the processor of the terminal opens one of the plurality of entry pages in the application program according to the input instruction, and records the jump ID corresponding to the current entry page.
And S120, according to user operation, at least one stage of page switching is carried out from the current entry page, a quick jump button is displayed in each stage of switching page, and the quick jump button is associated with the jump ID of the current entry page.
Illustratively, after the current entry page is opened, the processor of the terminal performs at least one page switching according to page switching instructions successively input by the user through the input unit. And displaying a quick jump button in the switching page every time the page is switched, wherein the quick jump button is associated with the jump ID of the current entry page. For example, the user operation terminal performs two page switching operations from the first entry page, switches from the first entry page to the second entry page, and displays a quick jump button on the second entry page; switching from the second-level page to the third-level page, and displaying a quick jump button on the third-level page; and the quick jump buttons displayed on the second-level page and the third-level page are both associated with the jump ID of the first entry page, namely associated with G _ ID (1), and the finally displayed third-level page is the current switching page.
And S130, receiving a click trigger signal of the quick jump button.
For example, when a user wants to return to the current entry page from the current switching page, the user can click the shortcut jump button displayed on the current switching page through the input unit of the terminal, and the processor of the terminal receives a click trigger signal of the shortcut jump button to process the click trigger signal.
And S140, responding to the click trigger signal, and jumping from the current switching page to the current entry page according to the jumping ID.
Illustratively, the terminal activates the quick jump button according to the received click trigger signal, queries a jump ID associated with the quick jump button, and jumps from the current switching page to an entry page associated with the jump ID according to the jump ID, namely jumps back to the current entry page. For example, if the skip ID associated with the shortcut skip button is found to be G _ ID ═ 1, the third-level page is directly skipped back to the first entry page corresponding to G _ ID ═ 1, where the first entry page is the current entry page and the third-level page is the current switching page.
In summary, in the method for switching pages provided in this embodiment, when the terminal opens any one of the multiple entry pages of the application program, the skip ID of the current entry page is recorded, at least one level of page switching is performed according to a user operation, a quick skip button is displayed in the current switching page, the quick skip button is associated with the skip ID of the current entry page, and when a click trigger signal of the quick skip button is received, a skip is performed from the current switching page to the current entry page according to the skip ID associated with the quick skip button; the terminal records the skip ID of the current entry page, after page switching is carried out, a quick skip button associated with the skip ID is displayed in the current switching page, a user clicks and triggers the quick skip button, the terminal skips from the current switching page to the current entry page according to the skip ID associated with the quick skip button, quick skip from the current switching page to the corresponding entry page is achieved after at least one page switching, invalid operation of the user can be greatly reduced, and user interaction experience is improved.
Example two
Please refer to fig. 2, which is a flowchart illustrating an alternative implementation manner of S140 in fig. 1 according to a second embodiment of the present invention. The main difference between the present embodiment and the present embodiment is that the present embodiment further provides an optional real-time manner of S140 in the first embodiment on the basis of the present embodiment.
Preferably, the skip ID described in the first embodiment is associated with the skip link of the current entry page.
Optionally, as shown in fig. 2, S140 in the first embodiment may include the following two steps:
and S241, responding to the click trigger signal, and acquiring a jump link according to the jump ID.
And S242, jumping from the current switching page to the current entry page according to the jumping link.
Illustratively, each page has a unique corresponding link, and the terminal can open the corresponding page according to the link. When the terminal receives a click trigger signal input by a user, a skip ID associated with a quick skip button displayed on a current switching page is inquired, a skip link associated with the skip ID is obtained according to the skip ID, and the obtained skip link is the link of the current entry page. And the terminal jumps to the current entry page from the current switching page according to the obtained jump link. For example, when the terminal is finally opened and displayed as a three-level page (i.e., a current switching page), if the jump ID associated with the shortcut jump button is found to be G _ ID ═ 1 according to the click trigger signal, the jump link associated with G _ ID ═ 1 and corresponding to the first entry page (i.e., the current entry page) is taken, and the terminal is quickly switched from the current switching page to the current entry page according to the obtained jump link.
In summary, in the method for switching pages provided in this embodiment, the terminal records the jump ID of the current entry page, associates the jump link of the current entry page with the jump ID, displays a quick jump button associated with the jump ID in the current switching page after page switching, and the user clicks and triggers the quick jump button, and the terminal acquires the jump link of the current entry page according to the jump ID associated with the quick jump button and jumps from the current switching page to the current entry page according to the jump link, so as to realize quick jump from the current switching page back to the corresponding entry page after at least one page switching, thereby greatly reducing invalid operations of the user and improving user interaction experience.
EXAMPLE III
Please refer to fig. 3, which is a flowchart illustrating an alternative implementation manner of S140 in fig. 1 according to a third embodiment of the present invention. The present embodiment further provides an optional real-time manner of S140 in the first embodiment on the basis of the first embodiment or the second embodiment.
Optionally, as shown in fig. 3, S140 in the first embodiment may further include the following three steps:
s341, responding to the click trigger signal, and inquiring the skip ID of the current entry page in the public head template of the current switching page.
And S342, acquiring the jump link of the current entry page according to the jump ID of the current entry page.
And S343, jumping from the current switching page to the current entry page according to the jumping link.
Illustratively, each page of the application program has a common header template, and the jump ID of the corresponding entry page is recorded in the common header template of each level of switching pages. When the terminal receives a click trigger signal input by a user, a skip ID associated with the quick skip button is inquired in a public head template of the current switching page, and a skip link associated with the skip ID and corresponding to the current entry page is obtained according to the skip ID.
Preferably, the recording the skip ID of the current entry page includes: and recording the jump ID of the current entry page to a common header template of the page of the application program.
It should be noted that the common header template is shared by pages at different levels of the application program, and the content in the common header templates of different pages is mostly the same, but may not be completely the same, for example, the common header template of the entry page of the application program does not need to record the skip ID of the current entry page, but the common header templates of non-entry pages all have the skip ID of the current entry page, and in addition, the content of different pages is usually different, which also results in that the content of the common header templates of different pages may be different.
Preferably, in an embodiment of the present invention, the displaying a shortcut jump button in each level of the switching page includes: and respectively configuring a first identifier in the common head template of each level of switching page, wherein the first identifier is used for indicating that the shortcut jump button is displayed in the common head template of the corresponding switching page. It should be noted that the first flag G _ close _ key is not configured in the common template of the entry page, and the shortcut jump button is not displayed, but the first flag G _ close _ key is configured in the common template of each level of the switching page other than the entry page, and the shortcut jump button is displayed in the common header template of each level of the switching page.
Preferably, in a further embodiment of the present invention, a second identifier is further configured in the common header template of the next page of the current entry page, and the priority of the second identifier is higher than that of the first identifier, so as to indicate that the shortcut jump button is not displayed in the common header template.
It can be understood that when the user wants the next-level page (second-level page) of the current entry page to return to the current entry page, the user can directly return without displaying a quick jump button on the second-level page. In this embodiment, a common header template of a next-level page (a second-level page) of a current entry page is configured with a second identifier G _ not _ key, which indicates that the next-level page of a previous entry page does not display a quick jump button; meanwhile, a first mark G _ close _ key is configured for realizing that the switching page at the third level and the deeper level displays the shortcut jump button, the first mark G _ close _ key is also configured in the public head template of the second level page to indicate that the switching page at the later deeper level needs to configure the first mark G _ close _ key, and the shortcut jump button is additionally displayed. In order to avoid the problem of judgment conflict caused by setting a first identifier and a second identifier in a secondary page, the priority of the second identifier is set to be higher than that of the first identifier, namely, the second identifier is judged through a public head template of the secondary page, and when the first identifier and the second identifier are configured at the same time, a quick jump button is not displayed in the secondary page according to the meaning represented by the second identifier.
The first identifier and the second identifier are both stored in a Session object, wherein the Session object is called "Session control" in a computer, in particular in a network application. In computer terminology, session refers to the time interval during which an end user communicates with the interactive system.
In summary, according to the method for switching pages provided in this embodiment, the terminal records the jump ID of the current entry page, associates the jump link of the current entry page with the jump ID, displays a quick jump button associated with the jump ID in the common header template of the current switching page after page switching, and the user clicks and triggers the quick jump button, and the terminal obtains the jump link of the current entry page according to the jump ID associated with the quick jump button, and jumps from the current switching page to the current entry page according to the jump link, so as to realize quick jump from the current switching page back to the corresponding entry page after at least one page switching, thereby greatly reducing invalid operations of the user and improving user interaction experience.
Example four
Please refer to fig. 4, which is a flowchart illustrating a method for switching pages according to a fourth embodiment of the present invention. On the basis of any one of the above embodiments, the present embodiment adds the content of clearing the first identifier.
As shown in fig. 4, the method for switching pages provided in this embodiment may include the following steps:
s410, opening any entry page in the multiple entry pages of the application program, and recording the jump ID of the current entry page.
And S420, according to user operation, performing at least one stage of page switching from the current entry page, wherein a quick jump button is displayed in each stage of switching page, and the quick jump button is associated with the jump ID of the current entry page.
And S430, receiving a click trigger signal of the quick jump button.
And S440, responding to the click trigger signal, and jumping from the current switching page to the current entry page according to the jumping ID.
S450, clearing the first mark.
Illustratively, after the terminal jumps back to the corresponding current entry page from the current switching page, the first identifier G _ close _ key is cleared from the common header template of each level of switching pages.
In summary, according to the method for switching pages provided by this embodiment, the terminal records the skip ID of the current entry page, after the page is switched, a quick skip button associated with the skip ID is displayed in the current switching page, the user clicks and triggers the quick skip button, the terminal skips from the current switching page to the current entry page according to the skip ID associated with the quick skip button, and clears the first identifier, so that the quick skip from the current switching page back to the corresponding entry page is realized after at least one page is switched, the invalid operation of the user can be greatly reduced, and the user interaction experience is improved.
To better explain and describe the technical solution of the present invention, the following is a specific example:
when a user wants to purchase a financing product through the financing application program, the financing application program can be purchased through the financing front page, the operation path sequentially comprises a financing front page, a financing product detail page, an order page and a payment page, and also can be purchased through the operation of the human account front page, and the operation path sequentially comprises a personal account front page, a personal asset page, an order page and a payment page.
When the user opens the financing application program, setting the jump ID for the financing home page as G _ ID 1, associating the jump link of the financing home page, setting the jump ID for the personal account home page as G _ ID 2, and associating the jump link of the personal account home page.
When the terminal opens a financing home page (namely a current entry page) according to user operation to purchase and pay, the skip ID of the financing home page is recorded to a public head panel of the financing home page, a skip link of the financing home page is associated with the skip ID of the financing home page, and then a financing product detail page (a second-level page), an order page (a third-level page) and a payment page (a current switching page) are opened in sequence according to the user operation. The financial product detail page comprises a public head template, a first mark G _ close _ key and a second mark G _ not _ key, wherein the public head template of the financial product detail page is provided with the first mark G _ close _ key and the second mark G _ not _ key, and the public head template does not display a quick jump button; and the common head templates of the order page and the payment page are both configured with a first identifier G _ close _ key, but are not configured with a second identifier G _ not _ key, and the shortcut jump buttons are displayed in the common head templates.
When a user purchases and pays in a payment page and wants to return to a financial home page for continuous operation, a quick jump button displayed on a public head template of the payment page is clicked, a terminal determines that a jump ID associated with the quick jump button is G _ ID 1 in the public head template of the payment page according to the click trigger signal, acquires a financial home page corresponding to a jump link associated with the jump ID, and quickly returns to the financial home page without operating for many times, and the financial home page can be accurately returned instead of a personal account home page.
Similarly, if the user purchases and pays through the personal account home page, the user can also return to the personal account home page from the payment page quickly without operating for many times, and the user can return to the personal account home page accurately instead of returning to the financial home page.
The following is an embodiment of an apparatus for switching a page according to an embodiment of the present invention, where the apparatus for switching a page and the method for switching a page belong to the same inventive concept, and details that are not described in detail in the embodiment of the apparatus for switching a page may refer to the embodiment of the method for switching a page.
EXAMPLE five
Please refer to fig. 5, which is a schematic diagram illustrating an architecture of a device for switching pages according to a fifth embodiment of the present invention.
As shown in fig. 5, an apparatus 500 for switching pages provided in this embodiment may include the following:
and an entry page opening module 510, configured to open any entry page of multiple entry pages of the application, and record the jump ID of the current entry page.
The page switching module 520 is configured to perform at least one level of page switching from the current entry page according to a user operation, and a quick jump button is displayed in each level of switching page, where the quick jump button is associated with a jump ID of the current entry page.
And a click trigger signal receiving module 530, configured to receive a click trigger signal of the shortcut jump button.
And the skip module 540 is configured to skip from the current switching page to the current entry page according to the skip ID in response to the click trigger signal.
A first flag clearing module 550 configured to clear the first flag.
Optionally, the skip ID is associated with a skip link of the current entry page.
The skip module 540 is specifically configured to: responding to the click trigger signal, and acquiring the skip link according to the skip ID; and jumping from the current switching page to the current entry page according to the jump link.
Optionally, the recording the skip ID of the current entry page includes: and recording the jump ID of the current entry page to a common header template of the page of the application program.
Optionally, the quick jump button is displayed in each switching page, and includes: and respectively configuring a first identifier in the common head template of each level of switching page, wherein the first identifier is used for indicating that the shortcut jump button is displayed in the common head template of the corresponding switching page.
Optionally, a second identifier is further configured in the common header template of the next page of the current entry page, and a priority of the second identifier is higher than a priority of the first identifier, and is used to indicate that the shortcut jump button is not displayed in the common header template.
The skip module 540 is further specifically configured to: responding to the click trigger signal, and inquiring the skip ID of the current entry page in a public head template of the current switching page; acquiring a skip link of the current entry page according to the skip ID of the current entry page; skipping from the current switching page to the current entry page according to the skip link
In summary, in the apparatus for switching a page provided in this embodiment, the terminal records the skip ID of the current entry page, after the page is switched, a quick skip button associated with the skip ID is displayed in the current switching page, the user clicks and triggers the quick skip button, and the terminal skips from the current switching page to the current entry page according to the skip ID associated with the quick skip button, so that quick skip from the current switching page back to the corresponding entry page after at least one page switching is implemented, which can greatly reduce invalid operations of the user and improve user interaction experience.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (6)

1. A method for switching pages, the method comprising:
opening any entry page in a plurality of entry pages of an application program, and recording the skip ID of the current entry page to a common header template of the page of the application program;
according to user operation, at least one level of page switching is carried out from the current entry page, a quick jump button is displayed in each level of switching page, and the quick jump button is associated with the jump ID of the current entry page;
receiving a click trigger signal of the quick jump button;
responding to the click trigger signal, and jumping from the current switching page to the current entry page according to the jumping ID;
the skip ID is associated with a skip link of the current entry page; the step of jumping from the current switching page to the current entry page according to the jump ID in response to the click trigger signal includes:
responding to the click trigger signal, and acquiring the skip link according to the skip ID;
skipping from the current switching page to the current entry page according to the skipping link;
the recording of the skip ID of the current entry page includes:
recording the skip ID of the current entry page to a common header template of the page of the application program;
the quick jump button displayed in each level of switching page comprises:
respectively configuring a first identifier in a common head template of each level of switching page, wherein the first identifier is used for indicating that the quick jump button is displayed in the common head template of the corresponding switching page;
and a second identifier is also configured in the public head template of the next-level page of the current entry page, and the priority of the second identifier is higher than that of the first identifier and is used for indicating that the quick jump button is not displayed in the public head template.
2. The method of claim 1, wherein the step of jumping from a current switching page to the current entry page according to the jump ID in response to the click trigger signal comprises:
responding to the click trigger signal, and inquiring the skip ID of the current entry page in a public head template of the current switching page;
acquiring a skip link of the current entry page according to the skip ID of the current entry page;
and jumping from the current switching page to the current entry page according to the jump link.
3. The method of any one of claims 1-2, wherein said step of jumping from a current switching page to the current entry page according to the jump ID in response to the click trigger signal further comprises, after said step of jumping from the current switching page to the current entry page:
clearing the first identifier.
4. An apparatus for switching pages, the apparatus comprising:
the portal page opening module is used for opening any one of a plurality of portal pages of the application program and recording the skip ID of the current portal page;
the page switching module is used for switching at least one level of pages from the current entry page according to user operation, and a quick jump button is displayed in each level of switching pages and is associated with the jump ID of the current entry page;
the click trigger signal receiving module is used for receiving a click trigger signal of the quick skip button;
the skipping module is used for responding to the click trigger signal and skipping from the current switching page to the current entry page according to the skipping ID;
the quick jump button displayed in each level of switching page comprises: respectively configuring a first identifier in a common head template of each level of switching page, wherein the first identifier is used for indicating that the quick jump button is displayed in the common head template of the corresponding switching page;
and a second identifier is also configured in the public head template of the next-level page of the current entry page, and the priority of the second identifier is higher than that of the first identifier and is used for indicating that the quick jump button is not displayed in the public head template.
5. The apparatus of claim 4, wherein the jump ID is associated with a jump link of the current entry page;
the skip module is specifically configured to: responding to the click trigger signal, and acquiring the skip link according to the skip ID; skipping from the current switching page to the current entry page according to the skipping link;
the recording of the skip ID of the current entry page includes: and recording the jump ID of the current entry page to a common head template of the page of the application program.
6. The apparatus of claim 5,
the skip module is further specifically configured to: responding to the click trigger signal, and inquiring the skip ID of the current entry page in a public head template of the current switching page; acquiring a skip link of the current entry page according to the skip ID of the current entry page; skipping from the current switching page to the current entry page according to the skipping link;
the device further comprises:
and the first identifier clearing module is used for clearing the first identifier.
CN201710301124.7A 2017-05-02 2017-05-02 Page switching method and device Active CN106951148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710301124.7A CN106951148B (en) 2017-05-02 2017-05-02 Page switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710301124.7A CN106951148B (en) 2017-05-02 2017-05-02 Page switching method and device

Publications (2)

Publication Number Publication Date
CN106951148A CN106951148A (en) 2017-07-14
CN106951148B true CN106951148B (en) 2020-03-03

Family

ID=59478616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710301124.7A Active CN106951148B (en) 2017-05-02 2017-05-02 Page switching method and device

Country Status (1)

Country Link
CN (1) CN106951148B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233586A1 (en) 2017-06-20 2018-12-27 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for data processing related to online to offline service
CN113407323A (en) * 2017-07-17 2021-09-17 北京嘀嘀无限科技发展有限公司 Page jump method, page jump device, equipment and storage medium
CN108268196B (en) * 2017-08-29 2020-10-16 阿里巴巴(中国)有限公司 Continuous reading method and device and terminal
CN108268295A (en) * 2017-12-28 2018-07-10 天脉聚源(北京)科技有限公司 A kind of method and device of the page jump based on single interface
CN108197257A (en) * 2017-12-29 2018-06-22 深圳乐信软件技术有限公司 Html page generation method, device, equipment and storage medium
CN108763541B (en) * 2018-05-31 2021-07-13 维沃移动通信有限公司 Page display method and terminal
CN108959487A (en) * 2018-06-22 2018-12-07 福建南威软件有限公司 A kind of page processing method based on the end H5
CN110874166B (en) * 2018-08-29 2022-05-03 腾讯科技(深圳)有限公司 Page switching method and device, storage medium and computer equipment
CN109885370A (en) * 2019-02-20 2019-06-14 武汉斗鱼鱼乐网络科技有限公司 Homepage return method, device, electronic equipment and storage medium
CN110069724A (en) * 2019-03-15 2019-07-30 深圳壹账通智能科技有限公司 The quick jump method of application program, device, electronic equipment and storage medium
CN111045565B (en) * 2019-12-06 2022-04-22 北京达佳互联信息技术有限公司 Multimedia page switching method and electronic equipment
CN111400625B (en) 2020-03-25 2023-03-28 抖音视界有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN113742807A (en) * 2021-09-07 2021-12-03 广联达科技股份有限公司 Interaction processing method and device and electronic equipment
CN114356477B (en) * 2021-12-22 2024-04-09 青岛海信移动通信技术有限公司 Terminal equipment and application program calling method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275852B1 (en) * 1988-07-15 2001-08-14 International Business Machines Corp. Interactive computer network and method of operation
CN1746889A (en) * 2005-10-17 2006-03-15 蒋晓海 Realization of mobile real-time telecommunication client end with double page and interface
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN104516676A (en) * 2015-01-09 2015-04-15 深圳市创凯电子有限公司 Method and device for quickly switching pages
CN106021549A (en) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Page control method and device of web application program and terminal device
CN106339426A (en) * 2016-08-16 2017-01-18 金蝶软件(中国)有限公司 Mobile application page control method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275852B1 (en) * 1988-07-15 2001-08-14 International Business Machines Corp. Interactive computer network and method of operation
CN1746889A (en) * 2005-10-17 2006-03-15 蒋晓海 Realization of mobile real-time telecommunication client end with double page and interface
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN104516676A (en) * 2015-01-09 2015-04-15 深圳市创凯电子有限公司 Method and device for quickly switching pages
CN106021549A (en) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Page control method and device of web application program and terminal device
CN106339426A (en) * 2016-08-16 2017-01-18 金蝶软件(中国)有限公司 Mobile application page control method and system

Also Published As

Publication number Publication date
CN106951148A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106951148B (en) Page switching method and device
CN104331246A (en) Device and method for split screen display in terminal
CN104243668B (en) A kind of video played in full screen method and device based on Android operation system
CN112486451B (en) Voice broadcasting method, computing device and computer storage medium
CN108763579A (en) Search for content recommendation method, device, terminal device and storage medium
CN111782332A (en) Application interface switching method and device, terminal and storage medium
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN107592568A (en) A kind of video broadcasting method and terminal device
CN113282424A (en) Information reference method and device and electronic equipment
CN113285866A (en) Information sending method and device and electronic equipment
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
CN113422980B (en) Video data processing method and device, electronic equipment and storage medium
CN113114845B (en) Notification message display method and device
CN111835623B (en) Unread message display method and device and electronic equipment
JP2023523230A (en) Interaction information processing method, apparatus, electronic device and storage medium
CN112306320A (en) Page display method, device, equipment and medium
CN109992649B (en) Conversation method, conversation device and conversation terminal of chat robot
CN111309428A (en) Information display method, information display device, electronic apparatus, and storage medium
CN115426531A (en) Live broadcast room access method, device, equipment and medium
CN112637409B (en) Content output method and device and electronic equipment
CN114090896A (en) Information display method and device and electronic equipment
CN114374663A (en) Message processing method and message processing device
CN114491218A (en) Information updating method, information updating device, electronic device, and medium
CN113835601A (en) Screenshot management method and device
CN112035271B (en) User operation information processing 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
GR01 Patent grant
GR01 Patent grant