CN115629695A - Application page display method, device, equipment and storage medium - Google Patents

Application page display method, device, equipment and storage medium Download PDF

Info

Publication number
CN115629695A
CN115629695A CN202211654516.9A CN202211654516A CN115629695A CN 115629695 A CN115629695 A CN 115629695A CN 202211654516 A CN202211654516 A CN 202211654516A CN 115629695 A CN115629695 A CN 115629695A
Authority
CN
China
Prior art keywords
page
identification information
split
current
screen display
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
CN202211654516.9A
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.)
Soyoung Technology Beijing Co Ltd
Original Assignee
Soyoung Technology Beijing 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 Soyoung Technology Beijing Co Ltd filed Critical Soyoung Technology Beijing Co Ltd
Priority to CN202211654516.9A priority Critical patent/CN115629695A/en
Publication of CN115629695A publication Critical patent/CN115629695A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0483Interaction with page-structured environments, e.g. book metaphor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an application page display method, device, equipment and storage medium, wherein the method comprises the following steps: displaying a current page and a split-screen display window, wherein page identification information of at least one historical page is displayed in the split-screen display window, and the historical page is a page displayed before the current page; and detecting a page access request triggered by one page identification information in the split-screen display window, and displaying a target historical page corresponding to the triggered page identification information. According to the method and the device, the page identification information of the historical page and the current page are displayed in the screen at the same time, and the historical page needing to be returned can be conveniently determined based on the displayed page identification information. The historical page can be immediately returned by directly clicking the page identification information of the historical page to be returned, and the historical page does not need to be returned page by page, so that the accuracy and the efficiency of returning the historical page are greatly improved.

Description

Application page display method, device, equipment and storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to an application page display method, device, equipment and storage medium.
Background
At present, people use Application programs (APPs) every day, when a user opens an APP, a home page of the APP is usually displayed first, and the user can click a link on the home page to open a new page, and then can click a link in the new page to open a new page again. Therefore, a plurality of pages can be browsed in sequence, and each time a new page is opened, the new page is covered on the previous page. Sometimes, after browsing a plurality of pages, the user needs to return to a history page opened previously.
In the related art, a return key is provided in each of the other pages of the application program except for the home page. When a user needs to return to a certain page opened before browsing, clicking a return key in the current page to return to the previous page, clicking a return key in the previous page to return to the previous page adjacent to the previous page, and sequentially returning a plurality of pages to return to the historical page needing to be browsed by the user.
However, when a user opens many pages, the above related art is inefficient in returning pages one by one.
Disclosure of Invention
The application provides an application page display method, device, equipment and storage medium, page identification information of a historical page and a current page are displayed on a screen at the same time, so that the historical page needing to be returned can be conveniently determined based on the displayed page identification information. The historical page can be immediately returned by directly clicking the page identification information of the historical page to be returned, and the historical page does not need to be returned page by page, so that the accuracy and the efficiency of returning the historical page are greatly improved.
An embodiment of a first aspect of the present application provides an application page display method, including:
displaying a current page and a split-screen display window, wherein page identification information of at least one historical page is displayed in the split-screen display window, and the historical page is a page displayed before the current page;
and detecting a page access request triggered by one piece of page identification information in the split-screen display window, and displaying a target historical page corresponding to the triggered page identification information.
An embodiment of a second aspect of the present application provides an application page display apparatus, including:
the device comprises a current page display module, a display module and a display module, wherein the current page display module is used for displaying a current page and a split screen display window, page identification information of at least one historical page is displayed in the split screen display window, and the historical page is a page displayed before the current page;
and the historical page display module is used for detecting a page access request triggered by one piece of page identification information in the split-screen display window and displaying a target historical page corresponding to the triggered page identification information.
Embodiments of the third aspect of the present application provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of the first aspect.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, the program being executable by a processor to implement the method of the first aspect.
An embodiment of a fifth aspect of the present application provides a computer program product comprising a computer program for execution by a processor to implement the method of the first aspect described above.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
in the embodiment of the application, the page identification information of the historical page and the current page are simultaneously displayed in the screen, so that the historical page needing to be returned can be conveniently determined based on the displayed page identification information. The historical page can be immediately returned by directly clicking the page identification information of the historical page to be returned, and the historical page does not need to be returned page by page, so that the accuracy and the efficiency of returning the historical page are greatly improved. And the historical page needing to be returned is directly obtained from the page stack, so that the returned historical page keeps the page state of the previous user when the user browses the historical page, and the user can conveniently continue browsing the historical page.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating an application page display method according to an embodiment of the present application;
FIG. 2 illustrates a first schematic view of a split-screen display window provided by an embodiment of the present application;
FIG. 3 illustrates a second schematic view of a split-screen display window provided by an embodiment of the present application;
FIG. 4 is another flow diagram of an application page display provided by an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an application page display apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a storage medium according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
An application page display method, an application page display device, an application page display apparatus, and a storage medium according to embodiments of the application are described below with reference to the accompanying drawings.
At present, a plurality of application programs are installed on terminals such as mobile phones or tablet computers, and when a user logs in one application program, a home page of the application program is firstly displayed, then a link on the home page is clicked to open a new page, and then the link in the new page can be clicked to open a new page again. Therefore, a plurality of pages can be browsed in sequence, and each time a new page is opened, the new page is covered on the previous page. When a user needs to return to a certain page opened before browsing, clicking a return key in the current page to return to the previous page, clicking a return key in the previous page to return to the previous page adjacent to the previous page, and sequentially returning to a plurality of pages so as to return to the historical page needing to be browsed by the user.
For example, a user logs in an application program for online shopping, first displays a home page, clicks a book link in the home page to display a book page, clicks a children's book link in the book page to display a children's book page, and clicks a book drawing A link in the children's book page to display a detailed page of the book drawing A. The chronological order of the page display in this process is the top page → book page → children's reading page → detail page of this A. And if the user needs to return to the home page, clicking a return key on the detail page of the drawing book A to return to display the page of the children's reading materials, clicking a return key on the page of the children's reading materials to return to display the page of the book, and clicking a return key on the page of the book to display the home page. The sequence of the entire return process is drawing A's detail page → children's reading page → book page → home page.
It can be seen that in the related art, the efficiency of returning page by page is low. And the user is required to remember the history pages browsed before knowing the user, and if the user does not remember which page is required to be returned, the user needs to check the content of the page to determine whether the page is required by the user or not every time the user returns the page, so that the user can return to the page which is really required.
According to the application page display method, the page identification information of the historical page and the current page are displayed on the screen, a user can directly check the displayed page identification information to determine the historical page needing to be returned, and the page identification information of the historical page needing to be returned is directly returned to the historical page by clicking. The method and the device have the advantages that the page identification information of the historical page can be visually checked, the historical page needing to be returned can be accurately determined, the page identification information is directly returned by clicking the page, the page is not required to be returned one by one, and the efficiency and the accuracy of returning the historical page are improved.
Referring to fig. 1, the method specifically includes the following steps:
step 101: and displaying the current page and a split-screen display window, wherein page identification information of at least one historical page is displayed in the split-screen display window, and the historical page is a page displayed before the current page.
The execution subject of the embodiment of the application is a client of the application program, or a terminal installed with the application program, and the like. The method comprises the steps that a plurality of application programs are installed on a terminal of a user, icons of the application programs are displayed on a terminal interface, and when the fact that the icon of one application program is clicked is detected, the fact that a login request of the application program is received is determined. For convenience of description, the application program that the user requests to log in is referred to as the current application program in the embodiments of the present application.
After receiving a login request of a current application program, firstly, displaying a home page of the current application program. In some embodiments of the present application, a split-screen display key is disposed in the home page. The user can click the split-screen display key to trigger the application page display method provided by the embodiment of the application, and page identification information of the historical page is displayed in the screen in a split-screen display window mode.
When it is detected that a split screen display key in a home page is clicked, it is determined that a split screen display request triggered by the split screen display key in the home page is received. In the process of displaying the home page, since the history page has not yet appeared, the split screen display window is not displayed in the home page at this time.
The home page comprises a plurality of keys or links and the like, and a user can click a certain key or link to trigger page jump. When a page jump request triggered in the home page is detected, displaying a page corresponding to the page jump request and a split-screen display window, and displaying page identification information of the home page in the split-screen display window. After a split-screen display key is clicked and a new page is skipped from a home page to trigger the display of a split-screen display window, the split-screen display window is always displayed simultaneously with the currently browsed page.
The page identification information may be a thumbnail of the page or summary information of the page. The summary information of the page is used to describe the page content of the page, that is, to describe the content mainly included in the page. The summary information of the page may include the name, the brief description, etc. of the page.
The split-screen display window can be displayed in the home page in a floating window mode, and the split-screen display window covers partial content of the home page. The split-screen display window can also be displayed in the screen side by side with the home page, and the split-screen display window does not shield the content of the home page.
After jumping to a new page from the home page, the new page and the page identification information of the home page are simultaneously displayed in the screen, so that a user can directly click the page identification information of the home page to return when needing to return the home page.
In other embodiments of the present application, the application page display method provided in the embodiments of the present application may be used by default instead of setting the split-screen display key in the home page.
The process of displaying each page after the first page is the same, and for convenience of description, the present embodiment takes the current page as an example to illustrate the display process of the page. The current page may be any page other than the home page.
And displaying a split-screen display window while displaying the current page, and displaying the page identification information of at least one historical page in the split-screen display window. Each history page is a history page browsed before the current page is browsed in the process that the user logs in the current application program at this time. I.e. the history page is a page that was previously displayed on the current page.
The previously browsed historical pages can be conveniently checked through the page identification information of the historical pages displayed in the split-screen display window so as to determine the target historical pages to be returned, and the accuracy and efficiency of returning the historical pages are improved.
In some embodiments, a split-screen display window is displayed above the current page, the split-screen display window obscuring a portion of the page content of the current page, as shown in FIG. 2. It can be understood that, in addition to the split-screen display window shown in fig. 2 in this embodiment, the split-screen display window may be located on the left side of the current page, and may also be located on the top, bottom, or right side of the current page, which is not described herein repeatedly.
In other embodiments, the display area of the screen is divided into a first display area and a second display area, the first display area being smaller than the second display area. The first display area is used as a split-screen display window, and the entire page content of the current page is displayed in the second display area, as shown in fig. 3. It can be understood that, in addition to the split-screen display window shown in fig. 3 in this embodiment, the split-screen display window may be located on the left side of the current page, and may also be located on the top, bottom, or right side of the current page, which is not described herein repeatedly.
The page identification information of the historical page and the current page are respectively displayed through the first display area and the second display area, so that the content of the current page cannot be shielded by the split-screen display window, a user can browse all the page content of the current page, and the page identification information of the historical page can be conveniently checked.
The current page also comprises a plurality of keys or links, and a user can click a certain key or link to trigger the page jump operation. When a page jump request triggered in a current page is detected, corresponding page data is obtained from the rear end of a current application program according to the page jump request, a page is rendered based on the page data, and the current page displayed in a screen is updated to the page corresponding to the page jump request. And before, after or at the same time of displaying the page corresponding to the page jump request, displaying the page identification information corresponding to the current page in the split-screen display window.
After jumping from the current page to a new page, the current page becomes a historical page, so that the page identification information of the current page needs to be displayed in the split-screen display window, so that the current page can be conveniently returned and displayed in the following process according to the page identification information of the current page.
The process of displaying the page identification information corresponding to the current page is to generate the page identification information corresponding to the current page based on the current page. And displaying the page identification information corresponding to the current page behind the page identification information of the last display page adjacent to the current page in the split-screen display window.
The page identification information of each historical page in the split-screen display window is arranged according to the browsing time sequence of the user, so that the user can conveniently determine the historical pages to be returned according to the browsing time sequence, and the accuracy of returning the historical pages is further improved.
In some embodiments, the page identification information of the current page may be a thumbnail of the current page. And when a page jump request triggered in the current page is detected, reducing the screenshot of the current page into a thumbnail with a preset size for the screenshot of the current page. And determining the thumbnail as the page identification information corresponding to the current page. As shown in fig. 2, each page identification information displayed in the split-screen display window is a thumbnail.
In other embodiments, the page identification information may be a page summary corresponding to the page. When a page jump request triggered in a current page is detected, generating a page abstract corresponding to the current page based on the current page, wherein the page abstract is used for describing the page content of the current page. And determining the page abstract as the page identification information corresponding to the current page. For example, assuming a detail page of the drawer a of the current page, the summary information of the current page may include the name "drawer a detail page" of the current page, a profile of the drawer a, and the like. As shown in fig. 3, each page identification information displayed in the split-screen display window is a page summary.
After the page identification information of the current page is generated in any one of the above manners, the page identification information corresponding to the current page is specifically stored in the screen array corresponding to the split-screen display window. And traversing each page identification information stored in the screen array according to the time sequence of page display, and re-rendering each page identification information in the split-screen display window.
The page identification information of each page in the screen array can be arranged according to the time sequence of displaying each page. After the page identification information of the current page is stored in the screen array, traversing each page identification information in the screen array, tiling each page identification information in a view object control of the split-screen display window, and rendering the view object control to a display area corresponding to the split-screen display window in the screen.
In other embodiments, the page identification information in the screen array may also be arranged according to a time sequence of page display, but each page identification information carries a corresponding time stamp of page display, or a page number is configured for each page according to the time sequence of page display, and each page identification information carries a page number of a corresponding page. After the page identification information of the current page is stored in the screen array, based on the time stamp or the page number included in each page identification information, traversing each page identification information in the screen array according to the time sequence of page display, tiling each page identification information and placing each page identification information in a view object control of a split screen display window, and then rendering the view object control to a display area corresponding to the split screen display window in the screen.
By the method, the page identification information of each historical page in the split-screen display window is ensured to be arranged according to the browsing time sequence of the user, so that the user can conveniently determine the historical page to be returned according to the browsing time sequence, and the accuracy of returning the historical page is further improved.
In the embodiment of the present application, after the page identification information of the current page is generated, a mapping relationship between the page identification information of the current page and the current page cached in the page stack is also stored.
The page stack is used for storing opened pages, the page stack is a data structure with first in and last out, the page opened first stores the bottommost layer of the page stack, and the page opened last is stored at the topmost layer of the page stack. The page stack can store the last display state of the page, for example, after the user browses a certain page in a sliding manner, the page stored in the page stack can keep the position browsed by the user, and when the page is subsequently acquired from the page stack to be displayed again, the user can directly start browsing from the last browsed position.
The mapping relationship between the page identification information of the page and the corresponding page cached in the page stack can be directly stored. The page identification information displayed in the split-screen display window can be sequentially numbered, pages cached in the page stack are sequentially numbered from the bottom layer to the top layer or from the top layer to the bottom layer, and the mapping relation between the number of the page identification information and the number of the corresponding page cached in the page stack is stored. Or, based on the time sequence of the display of each page, allocating a page number to each page, carrying the corresponding page number in the page identification information, and storing the page number and the corresponding page in the page stack.
After the mapping relation is stored, when a subsequent user clicks the page identification information in the split-screen display window, the page corresponding to the page identification information can be quickly positioned from the page stack, and the speed of returning to the historical page is improved.
Step 102: and detecting a page access request triggered by one piece of page identification information in the split-screen display window, and displaying a target historical page corresponding to the triggered page identification information.
In the embodiment of the present application, the split-screen display window may be displayed at a preset position of the screen, where the preset position may be above, below, on the left side, on the right side, or the like of the screen. When the history pages are more and the display area of the split-screen display window cannot display all the page identification information of all the history pages at one time, a scroll control can be displayed on the split-screen display window, and the scroll control can be a scroll bar or a pull-down button and the like. Or the split screen display window may provide a sliding display function. When a user drags a scroll bar or clicks a pull-down button or slides a display area of a split-screen display window, determining that a scroll display request triggered by the split-screen display window is detected, and displaying page identification information in the split-screen display window in a scrolling manner.
The page identification information of all historical pages is displayed in the split-screen display window, and the page identification information of the historical pages can be viewed in a rolling manner, so that a user can accurately judge the historical pages needing to be returned. After the user determines the target history page needing to be returned, the user can click the page identification information corresponding to the target history page in the split-screen display window.
And determining that the page access request triggered by the page identification information in the split-screen display window is detected, and determining a target historical page corresponding to the triggered page identification information from the mapping relation between the page identification information and the historical page based on the triggered page identification information. And acquiring the target history page from the page stack, and updating the current page displayed in the screen into the target history page.
In some embodiments, the process of obtaining the target history page from the page stack may be to obtain a target page number corresponding to the triggered page identification information, traverse the page stack where the current page is located, and remove a page corresponding to a page number arranged behind the target page number in the page stack to obtain a page corresponding to the target page number. The pages corresponding to the page numbers arranged behind the target page numbers are all the pages displayed behind the target historical pages corresponding to the target page numbers.
The corresponding target historical page in the page stack can be conveniently and quickly positioned through the page identification information in the split-screen display window, and the target historical page is displayed. Further, it is more efficient to obtain the target history page from the page stack based on the page number. The target historical page is obtained and displayed from the page stack, the page state of the displayed target historical page is also kept in the state that the user browses the target historical page last time, the user can directly browse from the position browsed before, or the user can continue to edit information edited on the target historical page before, and the like, so that the efficiency and the accuracy of returning to the historical page are improved, and the user can conveniently continue some page operations on the target historical page before.
In the embodiment of the present application, in the process of acquiring the target history page from the page stack, each page displayed after the target history page is deleted from the page stack. In the page stack, each page displayed after the target history page is stored at the upper layer of the target history page, after the pages are deleted, the target history page is positioned at the top layer of the page stack, and then the target history page is popped from the page stack after the deletion operation.
And deleting each page displayed after the target historical page is deleted from the page stack, recovering the storage space occupied by the pages, and saving the memory occupied by the current application program in the running process.
After the user returns to the target history page in the actual application, the pages behind the target history page may need to be browsed again. Therefore, in some embodiments, although each page displayed after the target history page is deleted from the page stack, the page identification information corresponding to the pages is not deleted in the split-screen display window. If a page access request triggered by page identification information corresponding to a page displayed after a target historical page in a split-screen display window is detected, acquiring corresponding page data from a rear end corresponding to a current application program based on the triggered page identification information, and updating the target historical page displayed in a screen into a page corresponding to the page data; and caching the page corresponding to the page data into a page stack.
The page obtained by acquiring the page data from the rear end and re-rendered and displayed does not store the browsing position of the user or the states of editing operation and the like before, but the page identification information corresponding to the page after the target historical page is reserved in the split-screen display window, so that the pages can be quickly displayed when the user needs to browse the pages again.
In other embodiments of the present application, after determining each history page displayed after the target history page, the page identification information corresponding to each history page may be further deleted from the split-screen display window. And if the target historical page is the home page of the current application program, deleting all page identification information in the split-screen display window, and hiding the split-screen display window. Therefore, the display space of the split-screen display window can be saved, and the page identification information of more subsequently opened pages can be conveniently displayed.
In some embodiments, the process of deleting the page identification information corresponding to each history page displayed after the target history page is deleted from the split-screen display window may be to acquire a target page number corresponding to the triggered page identification information. And removing the target page number and the page identification information corresponding to the subsequent page number in the screen array corresponding to the split screen display window. And traversing each page identification information stored in the screen array after the removal operation, and re-rendering each page identification information in the split-screen display window.
In order to facilitate understanding of the principle of displaying the application page in the embodiments of the present application, the following describes the display process of the application page in an exemplary embodiment, but the display of the application page is not limited to the process described in this example. Firstly, a key class SYSCREEnScrollView corresponding to a split-screen display window is created by taking a UISCRollView control as a parent class. And creating an array variable screen array as a screen array corresponding to the split-screen display window, wherein the screen array is used for storing page identification information of the historical page.
And after the user opens the application program, initializing the split-screen display window according to the key class SYScreenScrollView, and generating an object ScreenScreenScrollView. When the first page of the application program is displayed, the number of the page identification information stored in the screen array is 0, and at this time, the object screen scrollview is not rendered to the screen. When jumping to a new page from the home page, generating a page identification information object of the home page, taking generating a thumbnail screen _ img1 of the home page as an example, and storing the screen _ img1 in a screen array. And refreshing the split-screen display window, namely re-rendering the split-screen display window on the screen, specifically traversing the content in the screen array, circularly taking out the page identification information objects in the split-screen display window, tiling each page identification information object into the control of the split-screen view object, and then rendering the page identification information object on the screen.
A user continuously opens new pages in the process of using an application program, if n pages are opened, the steps are repeated, new page identification information objects screen _ img2, 8230, screen _ imgn are continuously stored in a screen array, a split screen display window is refreshed, and page identification information of each historical page is displayed in real time through the split screen display window.
When a user needs to return to a certain historical page, the user can click page identification information of a target historical page needing to be returned in a split-screen display window, obtain a page number i of the currently clicked page identification information, traverse a page stack where the current page is located, circularly traverse and remove pages behind the page number i until a page at the topmost layer of the page stack is a target historical page corresponding to the page number i, stop circularly traverse at the moment, and exactly present the target historical page on the page.
And simultaneously, removing all the page number i in the screen array and the page identification information objects behind the i, and refreshing the split-screen display window.
And if the user needs to return to the home page, clicking first page identification information in the split-screen display window, traversing the stack space of the current page, completely removing all pages except the bottommost page, displaying the home page of the application program at the moment, and completely emptying the historical pages. And at the moment, all the page identification information objects in the screen array can be completely emptied, and the split-screen display window is refreshed.
In order to facilitate understanding of the application page display method provided in the embodiments of the present application, the following description is made with reference to the accompanying drawings. As shown in fig. 4, the user opens the application, displays the top page of the application, and initializes the split screen display window. And the user clicks the link in the home page, opens a new page, displays a split screen display window in the screen at the moment, and displays the thumbnail of the home page in the split screen display window. And the user clicks a screen to open the Nth page, and at the moment, thumbnails of N-1 pages opened by the user before are displayed in the split-screen display window. And clicking a thumbnail in the split-screen display window by the user, and returning to and displaying a history page corresponding to the thumbnail. And if the user clicks the thumbnail of the home page in the split-screen display window, returning to display the home page, and hiding the split-screen display window at the moment.
In the embodiment of the application, the page identification information of the historical page and the current page are simultaneously displayed in the screen, so that the historical page needing to be returned can be conveniently determined based on the displayed page identification information. The historical page can be immediately returned by directly clicking the page identification information of the historical page to be returned, and the historical page does not need to be returned page by page, so that the accuracy and the efficiency of returning the historical page are greatly improved. And the historical page needing to be returned is directly obtained from the page stack, so that the returned historical page keeps the page state of the previous user when the user browses the historical page, and the user can conveniently continue browsing the historical page.
An application page display device is further provided in an embodiment of the present application, and is configured to execute the application page display method provided in any one of the embodiments. As shown in fig. 5, the apparatus includes:
a current page display module 201, configured to display a current page and a split-screen display window, where page identification information of at least one historical page is displayed in the split-screen display window, and the historical page is a page displayed before the current page;
the history page display module 202 is configured to detect a page access request triggered by one piece of page identification information in a split-screen display window, and display a target history page corresponding to the triggered page identification information.
A history page display module 202, configured to determine, based on the triggered page identification information, a target history page corresponding to the triggered page identification information from a mapping relationship between the page identification information and the history page; acquiring a target historical page from a page stack; and updating the current page displayed in the screen into a target history page.
A history page display module 202, configured to delete each page displayed after the target history page from the page stack; and popping the target historical page from the page stack after the deleting operation.
A history page display module 202, configured to obtain a target page number corresponding to the triggered page identification information; traversing the page stack where the current page is located, and removing the page corresponding to the page number arranged behind the target page number in the page stack to obtain the page corresponding to the target page number; and numbering the page numbers of the pages in the page stack according to the time sequence of displaying the pages.
A history page display module 202, configured to, if a page access request triggered by page identification information corresponding to a page displayed after a target history page in a split-screen display window is detected, obtain, based on the triggered page identification information, corresponding page data from a back end corresponding to a current application program; updating a target historical page displayed in a screen into a page corresponding to page data; and caching the page corresponding to the page data into a page stack.
A history page display module 202, configured to determine each history page displayed after the target history page; and deleting the page identification information corresponding to each historical page from the split-screen display window.
A history page display module 202, configured to obtain a target page number corresponding to the triggered page identification information; removing the target page number and page identification information corresponding to the subsequent page number in a screen array corresponding to the split-screen display window; traversing each page identification information stored in the screen array after the removing operation, and re-rendering each page identification information in the split-screen display window.
And the historical page display module 202 is configured to delete all page identification information in the split-screen display window and hide the split-screen display window if the target historical page is a top page of the current application program.
The current page display module 201 is configured to display a split-screen display window on the floating window of the current page, where the split-screen display window covers a part of the page content of the current page.
A current page display module 201, configured to divide a display area of a screen into a first display area and a second display area, where the first display area is smaller than the second display area; and taking the first display area as a split-screen display window, and displaying all the page content of the current page in the second display area.
A current page display module 201, configured to detect a page jump request triggered in a current page, and update the current page displayed in a screen to a page corresponding to the page jump request; and displaying the page identification information corresponding to the current page in the split-screen display window.
A current page display module 201, configured to generate page identification information corresponding to a current page based on the current page; and displaying the page identification information corresponding to the current page behind the page identification information of the last display page adjacent to the current page in the split-screen display window.
A current page display module 201, configured to reduce a screenshot of a current page into a thumbnail with a preset size for the screenshot of the current page; and determining the thumbnail as the page identification information corresponding to the current page.
A current page display module 201, configured to generate a page abstract corresponding to a current page based on the current page, where the page abstract is used to describe page content of the current page; and determining the page abstract as the page identification information corresponding to the current page.
A current page display module 201, configured to store the page identification information corresponding to the current page in a screen array corresponding to the split-screen display window; and traversing each page identification information stored in the screen array according to the time sequence of page display, and re-rendering each page identification information in the split-screen display window.
The current page display module 201 is further configured to store a mapping relationship between the page identification information of the current page and the current page cached in the page stack.
The device also includes: and the rolling display module is used for detecting a rolling display request triggered by the split screen display window and rolling and displaying the page identification information in the split screen display window.
A current page display module 201, configured to receive a login request of a current application program, and display a home page of the current application program; determining that a split screen display request triggered by a split screen display key in a home page is received; when a page jump request triggered in the home page is detected, displaying a page corresponding to the page jump request and a split-screen display window, and displaying page identification information of the home page in the split-screen display window.
The application page display device provided by the embodiment of the application and the application page display method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the application and the method.
The embodiment of the application further provides electronic equipment for executing the application page display method. Please refer to fig. 6, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 6, the electronic device 8 includes: a processor 800, a memory 801, a bus 802 and a communication interface 803, the processor 800, the communication interface 803 and the memory 801 being connected by the bus 802; the memory 801 stores a computer program that can be executed on the processor 800, and the processor 800 executes the application page display method provided in any of the foregoing embodiments when executing the computer program.
The Memory 801 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the apparatus and at least one other network element is implemented through at least one communication interface 803 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like may be used.
Bus 802 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 801 is used for storing a program, and the processor 800 executes the program after receiving an execution instruction, and the application page display method disclosed by any of the foregoing embodiments of the present application may be applied to the processor 800, or implemented by the processor 800.
The processor 800 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 800. The Processor 800 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 801, and the processor 800 reads the information in the memory 801 and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the application page display method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 7, the computer readable storage medium is an optical disc 30, and a computer program (i.e., a program product) is stored thereon, and when being executed by a processor, the computer program may execute the application page display method according to any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, a phase change memory (PRAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), other types of Random Access Memories (RAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The embodiment of the present application further provides a computer program product corresponding to the application page display method provided in the foregoing embodiment, where the computer program product includes a computer program, and the computer program is executed by a processor to implement the application page display method provided in the foregoing embodiment.
The computer-readable storage medium and the computer program product provided by the above embodiments of the present application are all based on the same inventive concept as the application page display method provided by the embodiments of the present application, and have the same beneficial effects as methods adopted, run, or implemented by the application program stored in the computer-readable storage medium and the computer program product.
It should be noted that:
in the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted to reflect the following schematic: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. An application page display method is characterized by comprising the following steps:
displaying a current page and a split-screen display window, wherein page identification information of at least one historical page is displayed in the split-screen display window, and the historical page is a page displayed before the current page;
and detecting a page access request triggered by one piece of page identification information in the split-screen display window, and displaying a target historical page corresponding to the triggered page identification information.
2. The method according to claim 1, wherein the displaying the triggered target history page corresponding to the page identification information comprises:
determining a target historical page corresponding to the triggered page identification information from the mapping relation between the page identification information and the historical page based on the triggered page identification information;
acquiring the target historical page from a page stack;
and updating the current page displayed in the screen into the target history page.
3. The method of claim 2, wherein said retrieving the target history page from a page stack comprises:
deleting each page displayed after the target history page from a page stack;
and popping the target historical page from the page stack after the deleting operation.
4. The method of claim 2, wherein said retrieving the target history page from a page stack comprises:
acquiring a target page number corresponding to the triggered page identification information;
traversing the page stack where the current page is located, and removing the page corresponding to the page number arranged behind the target page number in the page stack to obtain the page corresponding to the target page number;
and numbering the page numbers of the pages in the page stack according to the time sequence of displaying the pages.
5. The method of claim 3, wherein after popping the target history page from the page stack after the delete operation, further comprising:
if a page access request triggered by page identification information corresponding to a page displayed after the target historical page in the split-screen display window is detected, acquiring corresponding page data from a rear end corresponding to a current application program based on the triggered page identification information;
updating the target historical page displayed in the screen to a page corresponding to the page data; and (c) a second step of,
and caching the page corresponding to the page data into a page stack.
6. The method according to any one of claims 1-5, wherein after detecting a page access request triggered by one page identification information in the split-screen display window, further comprising:
determining each history page displayed after the target history page;
and deleting the page identification information corresponding to each historical page from the split-screen display window.
7. The method according to claim 6, wherein the deleting the page identification information corresponding to each historical page from the split-screen display window comprises:
acquiring a target page number corresponding to the triggered page identification information;
removing the target page number and page identification information corresponding to the subsequent page number in the screen array corresponding to the split-screen display window;
traversing each page identification information stored in the screen array after the removing operation, and re-rendering each page identification information in the split-screen display window.
8. The method according to any one of claims 1-5, wherein after detecting a page access request triggered by one page identification information in the split-screen display window, the method further comprises:
and if the target historical page is the home page of the current application program, deleting all page identification information in the split-screen display window, and hiding the split-screen display window.
9. The method according to any one of claims 1-5, wherein displaying the current page and the split screen display window comprises:
and displaying the split-screen display window on the upper floating window of the current page, wherein the split-screen display window covers partial page content of the current page.
10. The method according to any one of claims 1-5, wherein displaying the current page and the split-screen display window comprises:
dividing a display area of a screen into a first display area and a second display area, wherein the first display area is smaller than the second display area;
and taking the first display area as a split-screen display window, and displaying all page contents of the current page in the second display area.
11. The method according to any of claims 1-5, wherein after displaying the current page, further comprising:
detecting a page jump request triggered in a current page, and updating the current page displayed in a screen to a page corresponding to the page jump request;
and displaying the page identification information corresponding to the current page in the split-screen display window.
12. The method of claim 11, wherein displaying the page identification information corresponding to the current page in the split-screen display window comprises:
generating page identification information corresponding to the current page based on the current page;
and displaying the page identification information corresponding to the current page behind the page identification information of the last display page adjacent to the current page in the split-screen display window.
13. The method of claim 12, wherein the generating page identification information corresponding to the current page based on the current page comprises:
for the screenshot of the current page, reducing the screenshot of the current page into a thumbnail with a preset size;
and determining the thumbnail as the page identification information corresponding to the current page.
14. The method of claim 12, wherein the generating page identification information corresponding to the current page based on the current page comprises:
generating a page abstract corresponding to the current page based on the current page, wherein the page abstract is used for describing the page content of the current page;
and determining the page abstract as the page identification information corresponding to the current page.
15. The method according to claim 12, wherein the displaying the page identification information corresponding to the current page behind the page identification information of the last displayed page adjacent to the current page in the split-screen display window comprises:
storing the page identification information corresponding to the current page in a screen array corresponding to the split-screen display window;
and traversing each page identification information stored in the screen array according to the time sequence of page display, and re-rendering each page identification information in the split-screen display window.
16. The method of claim 12, further comprising:
and storing the mapping relation between the page identification information of the current page and the current page cached in a page stack.
17. The method according to any one of claims 1-5, further comprising:
and detecting a rolling display request triggered by the split-screen display window, and rolling and displaying the page identification information in the split-screen display window.
18. The method of any of claims 1-5, wherein prior to displaying the current page and the split screen display window, further comprising:
receiving a login request of a current application program, and displaying a home page of the current application program;
determining that a split screen display request triggered by a split screen display key in the home page is received;
and when a page jump request triggered in the home page is detected, displaying a page corresponding to the page jump request and a split-screen display window, and displaying page identification information of the home page in the split-screen display window.
19. An application page display apparatus, comprising:
the device comprises a current page display module, a display module and a display module, wherein the current page display module is used for displaying a current page and a split screen display window, page identification information of at least one historical page is displayed in the split screen display window, and the historical page is a page displayed before the current page;
and the historical page display module is used for detecting a page access request triggered by one piece of page identification information in the split-screen display window and displaying a target historical page corresponding to the triggered page identification information.
20. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1-18.
21. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-18.
22. A computer program product comprising a computer program, characterized in that the computer program is executed by a processor to implement the method of any of claims 1-18.
CN202211654516.9A 2022-12-22 2022-12-22 Application page display method, device, equipment and storage medium Pending CN115629695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211654516.9A CN115629695A (en) 2022-12-22 2022-12-22 Application page display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211654516.9A CN115629695A (en) 2022-12-22 2022-12-22 Application page display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115629695A true CN115629695A (en) 2023-01-20

Family

ID=84910287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211654516.9A Pending CN115629695A (en) 2022-12-22 2022-12-22 Application page display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115629695A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116931770A (en) * 2023-09-15 2023-10-24 荣耀终端有限公司 Application display method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232969A (en) * 2010-04-28 2011-11-17 Nippon Telegr & Teleph Corp <Ntt> Access history management method, access history management system, and web service server
CN107229665A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN112199620A (en) * 2020-11-03 2021-01-08 百度时代网络技术(北京)有限公司 Page operation method and device, electronic equipment and storage medium
CN115480668A (en) * 2021-06-16 2022-12-16 广州三星通信技术研究有限公司 Split screen display method and device of electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232969A (en) * 2010-04-28 2011-11-17 Nippon Telegr & Teleph Corp <Ntt> Access history management method, access history management system, and web service server
CN107229665A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method for page jump and device
CN112199620A (en) * 2020-11-03 2021-01-08 百度时代网络技术(北京)有限公司 Page operation method and device, electronic equipment and storage medium
CN115480668A (en) * 2021-06-16 2022-12-16 广州三星通信技术研究有限公司 Split screen display method and device of electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116931770A (en) * 2023-09-15 2023-10-24 荣耀终端有限公司 Application display method and electronic equipment
CN116931770B (en) * 2023-09-15 2024-03-19 荣耀终端有限公司 Application display method and electronic equipment

Similar Documents

Publication Publication Date Title
US11763067B2 (en) User interface for editing web content
US9773069B2 (en) Pre-fetching of network page content in a browser application
US8386955B1 (en) User-optimized content for web browsing windows
US20190073120A1 (en) Native overlay for rapid editing of web content
CN103853729B (en) Page loading method and its system
WO2016155645A1 (en) Preview method and apparatus for searching for pictures by mobile terminal
CN104077387B (en) A kind of web page contents display methods and browser device
WO2017177931A1 (en) Text information display method and apparatus, and mobile device
CN105824830B (en) Method, client and equipment for displaying page
US10318589B2 (en) Detection and display of volatile data
WO2016107325A1 (en) Page resource loading method and device based on mobile terminal
CN106293352B (en) Page construction method, terminal and server
US10152539B2 (en) Webpage searching method and browser
CN107590228B (en) Page content processing method and mobile terminal
CN104199684B (en) The implementation method and device of browser cold start-up
CN108509589B (en) Information flow display method and system, computer readable storage medium
US9299030B1 (en) Predictive page loading based on navigation
CN102982044A (en) Method and device for webpage browsing
CN103577477A (en) Method and system for displaying browsing history of browser
CN106598964A (en) Page loading method and apparatus
CN106886547A (en) A kind of scenario generation method and device
CN115629695A (en) Application page display method, device, equipment and storage medium
CN107391534B (en) Page display method, page file return method, page display device, page file return device and computer storage medium
CN114579912A (en) Page layout method, device, equipment and medium
CN108664191B (en) System access method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230120

RJ01 Rejection of invention patent application after publication