CN111428164A - Page display method and device, mobile terminal, electronic equipment and storage medium - Google Patents

Page display method and device, mobile terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN111428164A
CN111428164A CN202010232331.3A CN202010232331A CN111428164A CN 111428164 A CN111428164 A CN 111428164A CN 202010232331 A CN202010232331 A CN 202010232331A CN 111428164 A CN111428164 A CN 111428164A
Authority
CN
China
Prior art keywords
page
list
data
list page
mobile terminal
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
CN202010232331.3A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202010232331.3A priority Critical patent/CN111428164A/en
Publication of CN111428164A publication Critical patent/CN111428164A/en
Pending legal-status Critical Current

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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention discloses a page display method, a page display device, a mobile terminal, electronic equipment and a storage medium, wherein the method is applied to the mobile terminal and comprises the following steps: displaying a list page through a display screen of the mobile terminal, wherein the list page comprises a plurality of list items; when the triggering operation of a user on a target list item in the list page is detected, jumping to a detail page of the target list item, and storing the data of the list page and the identification of the target list item to the local; when detecting that a page returning operation input by a user on the mobile terminal is performed, reading the data of the list page stored locally and the identification of the target list item; and restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item. By the page display method, when jumping from the detail page to the list page, the list page displayed on the display screen at the previous time can be restored.

Description

Page display method and device, mobile terminal, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a page display method, a page display apparatus, a mobile terminal, an electronic device, and a computer-readable storage medium.
Background
With the development of the internet, people are more and more accustomed to browsing pages, watching videos, shopping, commercial operation and the like by adopting a mobile terminal to surf the internet. When the mobile terminal is adopted to browse the web page, when the user returns to the previous list page from the detail page, the list page is requested again from the server, so that the mobile terminal performs the rendering of the list page again, and the user cannot return to the last operation state on the list page.
Taking a list page developed by using the h5 list as an example, multiple pieces of network information are displayed in the list page in rows, and a user clicks one piece of network information to enter a detail page for describing the network information in detail from the current list page. In practice, after the user browses the related information on the detail page, the user often needs to view network information that has not been browsed on the list page, at this time, the user returns to the list page from the detail page, the user will re-request the list page from the server, and the mobile terminal re-renders the list page according to the requested list page data, but the list page rendered by the mobile terminal is displayed from the beginning of the list page, and the user needs to browse and search on the list page for many times to obtain the network information clicked last time. That is to say, this way makes the user not return to the state when last operation was carried out on the list page, which is poor for the user, and easily causes the user to run off. As can be seen, the interaction and display of existing list pages is in urgent need of improvement.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a page display method, a page display apparatus, a mobile terminal, an electronic device, and a storage medium, which are intended to solve the problem that when a user returns from a detail page to a list page in the related art, the user cannot return to the state of the previous operation performed on the list page.
In order to solve the technical problem, the invention adopts the following scheme:
in a first aspect, an embodiment of the present invention provides a page display method, where the method is applied to a mobile terminal, and may include:
displaying a list page through a display screen of the mobile terminal, wherein the list page comprises a plurality of list items;
when the triggering operation of a user on a target list item in the list page is detected, jumping to a detail page of the target list item, and storing the data of the list page and the identification of the target list item to the local;
when detecting that a page returning operation input by a user on the mobile terminal is performed, reading the data of the list page stored locally and the identification of the target list item;
and restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item.
Optionally, while storing the data of the list page and the identifier of the target list item locally, the method further includes:
adding a return identifier in a uniform resource locator UR L of the list page;
when detecting a page return operation input by a user on the mobile terminal, reading the locally stored data of the list page and the identification of the target list item, including:
when detecting that a page returning operation input by a user on the mobile terminal is performed, reading locally stored data of the list page and the identification of the target list item according to the returning identification carried in the UR L of the list page.
Optionally, restoring the list page displayed on the display screen before jumping to the details page according to the data of the list page and the identifier of the target list item, including:
rendering the data of the list page to obtain a rendered page;
and scrolling the rendered page according to the identification of the target list item so as to display the target list item on the display screen.
Optionally, while storing the data of the list page and the identifier of the target list item locally, the method further includes:
storing the page number of the list page to the local;
after restoring the list page displayed on the display screen before jumping to the details page according to the data of the list page and the identification of the target list item, the method further comprises:
monitoring whether the scroll bar scrolls to the bottom of the list page or not;
when the scroll bar is scrolled to the bottom of the page of the list page, requesting data of the list page corresponding to the next page number from a server according to the page number of the list page;
and displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
In a second aspect, an embodiment of the present invention provides a page display apparatus, where the apparatus is applied to a mobile terminal, and may include the following modules:
the display module is used for displaying a list page through a display screen of the mobile terminal, and the list page comprises a plurality of list items;
the storage and jump module is used for jumping to a detail page of a target list item when the triggering operation of a user on the target list item in the list page is detected, and storing the data of the list page and the identification of the target list item to the local;
the data reading module is used for reading the locally stored data of the list page and the identification of the target list item when detecting the page return operation input by the user on the mobile terminal;
and the display page restoration module is used for restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item.
Optionally, the store and jump module is specifically configured to, while storing the data of the list page and the identifier of the target list item locally, add a return identifier to a uniform resource locator UR L of the list page;
the data reading module is specifically configured to, when detecting that a page return operation input by a user on the mobile terminal is performed, read locally stored data of the list page and an identifier of the target list item according to the return identifier carried in the UR L of the list page.
Optionally, the display page restoration module includes:
the rendering unit is used for rendering the data of the list page to obtain a rendered page;
and the page scrolling unit is used for scrolling the rendered page according to the identification of the target list item so as to display the target list item on the display screen.
Optionally, the store and jump module is specifically configured to store the data of the list page and the identifier of the target list item to a local, and at the same time, store the page number of the list page to the local;
the device further comprises:
the monitoring module is used for monitoring whether the scroll bar scrolls to the bottom of the list page;
the data request module is used for requesting the server for the data of the list page corresponding to the next page number according to the page number of the list page when the scroll bar is scrolled to the bottom of the page of the list page;
and the display page loading and displaying module is used for displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: a display screen, a page display device for performing the steps of the page display method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the page display method according to the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the page display method according to the first aspect.
In the embodiment of the invention, when a user clicks a target list item from a displayed list page to enter a detail page of the target list item, the mobile terminal stores data of the list page to the local and records an identifier of the target list item clicked by the user, and when the user returns to the list page from the detail page of the target list item, the mobile terminal acquires the data of the list page which is stored to the local and the identifier of the target list item, and restores the list page to the state of the list page displayed on a display screen when the user clicks the target list item according to the data of the list page and the identifier of the target list item. Therefore, the state of the list page displayed on the display screen of the mobile terminal is consistent with the state of the list page viewed by the user last time, so that the user can continue to browse other list items from the last browsing position, and the user experience is optimized.
Further, the data of the list page and the identification of the target list item are stored locally by the mobile terminal, so that when jumping from the detail page to the list page, the mobile terminal can render the data of the local list page and the identification of the target list item, so that the mobile terminal can restore the list page according to the data of the list page stored by the mobile terminal and the identification of the target list item. Therefore, the problem of re-rendering the list page caused by the need of requesting the data of the list page from the server when jumping from the detail page to the list page is avoided. In addition, in the process of jumping from the detail page to the list page and restoring the list page, the dependence of the mobile terminal on the server is reduced, so that the dependence on the network quality is reduced to a certain extent, the efficiency of jumping from the detail page to the list page and restoring the list page is improved, and the list page displayed on the display screen before jumping to the detail page can be restored.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
FIG. 1 is a flowchart illustrating the steps of a method for displaying a page according to an embodiment of the present invention;
fig. 2 is a flowchart of a step of restoring the list page displayed on the display screen before jumping to the detail page in the page display method according to one embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of switching pages of a next page list in a page display method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a page display apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal in an embodiment of the present invention;
fig. 6 is a schematic hardware structure diagram of a terminal device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
Based on the technical problems to be solved, the inventor finds that in the related art, in order to return the user to the list page from the detail page, the state of the user when the user operates on the list page last time is returned, and the previous position can be recorded when the user returns to the list page by the < a > tag jump. However, the < a > tag hopping mode is suitable for a template page synchronous rendering mode, and requires the front end (such as a client) and the back end (such as a server) to be matched with each other, so that the development efficiency is low, and the front end and the back end are poor in decoupling.
Based on this, in order to make the user return to the state when the operation was performed on the list page last time, and improve the technical scheme adopting < a > tag jump: the inventor proposes the page display scheme of the invention, and the page display scheme of the invention is clearly and completely described below.
Referring to fig. 1, a flowchart of steps of a page display method according to an embodiment of the present invention is shown, where the page display method may be applied to a mobile terminal, and the mobile terminal may be an intelligent device such as a mobile phone and a tablet computer. As shown in fig. 1, the page display method may specifically include the following steps:
step S11, displaying a list page through a display screen of the mobile terminal, where the list page includes a plurality of list items.
In practice, when the data requested by the mobile terminal to the server is excessive, since when the list data is excessive, no matter the front-end page rendering or the server query of the mobile terminal will cause a large performance bottleneck, the server will adopt the form of paging return data to solve the performance bottleneck. Specifically, the server may return all data requested by the mobile terminal to the mobile terminal in several pages, each page including multiple pieces of data, the mobile terminal displays one page at a time, the displayed page is referred to as a list page, and the multiple pieces of data included in the page are referred to as list items.
In practice, due to the limited size of the display screen of the mobile terminal, it is impossible to display all list items in the list page on the display screen, and the user needs to pull the list page up and down to view each list item. Thus, the portion of the list page that is presented on the display screen of the mobile terminal at a particular time may be referred to as the list page on the display screen.
For example, taking a mobile phone browser on a mobile phone to query food in a certain place as an example, a user opens the mobile phone to enter the browser, inputs a place name to click for searching, at this time, the mobile phone requests the server of the browser for information of the place name, and queries 140 pieces of data, the server returns the 140 pieces of data to the mobile phone in 7 pages, the mobile phone obtains one page of data each time, and each page of data includes 20 pieces of data of query results. When the mobile phone displays each page of data, all the 20 pieces of data cannot be displayed on the display screen, for example, the display screen of the mobile phone displays 5 pieces of data on the display screen, and at this time, if a user wants to look at the 10 th piece of data, the page needs to be pulled down to the position of the 10 th piece of data. The display presented on the display screen when the user views the 10 th item of data is the page of the list on the display screen.
And step S12, when the triggering operation of the user on the target list item in the list page is detected, jumping to the detail page of the target list item, and storing the data of the list page and the identification of the target list item to the local.
The trigger operation may be a click operation on the target list item, or a voice entry operation performed on the name of the target list item. When the triggering operation of the user is detected, the data of the target list item in the list page is rendered, so that the detail data of the target list item is displayed to the user, and the page displaying the detail data is the detail page.
In the invention, when jumping to the detail page, the mobile terminal stores the data of the list page and the identifier of the target list item to the local, that is, stores the data locally, and particularly stores the data in the storage device of the mobile terminal. The data of the list page is the data returned to the mobile phone end by the server end before, the identification of the target list item can be the ID of the target list item, and the ID can be the unique identification of the target list item.
For example, taking a mobile phone browser on a mobile phone to query food in a certain place as an example, the server returns 140 pieces of data to the mobile phone in 7 pages, and after the user finishes viewing the data in page 1, if the user wants to view page 2, the server returns the data in page 2 to the mobile phone. In the page 2, the user wants to check the details of one of the list items named as the "frog fish head", and the user can jump to the details page of the "frog fish head" by clicking the frog fish head or reading four words of the "frog fish head". At this time, the mobile phone stores the data of page 2 locally, and stores the identifier of "frog fish head", for example, 120&12 locally.
Step S13, when detecting the page return operation input by the user on the mobile terminal, reading the locally stored data of the list page and the identification of the target list item.
The page returning operation may be a returning operation performed by a user pressing a physical key on the mobile terminal, where the physical key is a key that has an entity and needs to be pressed. In practice, the return operation may be triggered by the user pressing a physical key on the mobile terminal to return from the current details page to the previous list page. At this time, since the mobile terminal receives the page return operation input by the user, the data of the locally stored list page and the identifier of the target list item can be read out.
And step S14, restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item.
In the present invention, restoring the list page displayed on the display screen before jumping to the detail page may specifically be understood as follows: and restoring the part of the list page which can be presented on the display screen of the mobile terminal when the user clicks the target list item. The specific process can be as follows: after reading the data of the locally stored list page and the identification of the target list item, the mobile terminal renders the data of the list page and displays the rendered list page on the display screen, and can pull the target list item to the position displayed on the display screen last time according to the identification of the target list item.
Accordingly, in an alternative example, after the mobile terminal performs step S14 to restore the list page displayed on the display screen before jumping to the details page, the mobile terminal may delete the data of the locally stored list page and the identifier of the target list item.
Exemplarily, taking the above-mentioned return from the detail page of the "bullfrog fish head" to page 2 as an example, the user presses a physical key with a return function on the mobile phone, the mobile phone reads out the data of page 2 and the identifier 120&12 of the "bullfrog fish head" from the local, renders the data of page 2, and scrolls the list item of the "bullfrog fish head" to the position on the display screen of the mobile phone last time according to the identifier 120& 12.
In the embodiment of the invention, when the user jumps from the list page to the detail page of the target list item, the mobile terminal stores the data of the list page and the identifier of the target list item to the local, so that when the user returns from the detail page of the target list item to the list page, the mobile terminal can read the data of the list page and the identifier of the target list item from the local, and the mobile terminal can restore the list page to the list page displayed on the display screen when the user clicks the target list item according to the data of the list page and the identifier of the target list item.
By adopting the technical scheme, on one hand, the list page displayed on the display screen of the mobile terminal is consistent with the state of the user when the user watches the list page last time, and the user experience is optimized. On the other hand, when the detailed page is returned to the list page, the data of the list page and the identification of the target list item are obtained locally, so that the dependence on a back-end server is reduced, the defect of poor decoupling of a front end and a back end is overcome, the development efficiency is improved, and the dependence on the network quality is reduced to a certain extent, so that the efficiency of skipping from the detailed page to the list page and restoring the list page is improved.
In combination with the above embodiment, in an optional embodiment, in step S12, while the data of the list page and the identifier of the target list item are stored locally, the following steps may be further performed:
and step S12-1, adding a return identifier in the uniform resource locator UR L of the list page.
Correspondingly, a list page as an information resource in the internet also has a self-UR L, in the optional example, when jumping from the list page to the detail page, a return identifier can be added in the UR L of the list page to represent that list items with continuous access details exist in the list page, so that the mobile terminal can judge whether the list page displayed on the display screen needs to be restored through the return identifier, thereby improving the flexibility of the scheme.
The return identifier can be set as required, and the type of the return identifier is not limited by the invention.
Accordingly, step S13 may specifically be the following steps:
step S13', when detecting a page return operation input by the user on the mobile terminal, reading the locally stored data of the list page and the identifier of the target list item according to the return identifier carried in UR L of the list page.
After adding the return identifier to UR L of the list page, when the mobile terminal detects that the user performs a return operation, the mobile terminal may obtain UR L of the list page, at this time, because the return identifier has been added to UR L, the mobile terminal may determine that the list page is a list page that needs to be restored, and then read the data of the list page and the identifier of the target list item from the local storage.
In practice, if the user does not click any list item to view the details in a list page, the return flag may not be added to UR L of the list page.
Accordingly, in an alternative example, in the case that a return identifier is added to UR L of the list page, the mobile terminal performs step S14, and after restoring the list page displayed on the display screen before jumping to the details page, the mobile terminal may clear the return identifier added to UR L of the list page.
Referring to fig. 2, a flowchart illustrating steps of restoring the list page displayed on the display screen before jumping to the detail page in the page display method according to an alternative embodiment is shown, and as shown in fig. 2, the method may specifically include the following steps:
and step S21, rendering the data of the list page to obtain a rendered page.
Specifically, the data of the list page may be rendered by using an existing page rendering technology, which is not described herein again.
And step S22, scrolling the rendered page according to the identification of the target list item, so as to display the target list item on the display screen.
Specifically, after the rendered page is obtained, the mobile terminal may scroll the scroll bar according to the identifier of the target item, and slide the rendered page up and down until the target list item is scrolled to the position on the display screen when the user clicks the target list item last time; or, sliding the rendered page up and down to cause the target list item to be displayed on the display screen so as to be visible to the user.
The present invention further provides an optional exemplary page display method, in which the page display method includes the above steps S11 to S14, and in step S12, while storing the data of the list page and the identifier of the target list item locally, the following steps may be performed:
and step S12-2, storing the page number of the list page to the local.
Because the server returns the searched data to the mobile terminal in a paging mode according to the request of the mobile terminal, each list page received and displayed by the mobile terminal can have a page number. In the invention, the data of the list page and the identification of the target list item are stored locally, and simultaneously, the page number of the list page can be stored locally, so that a user needs to request to view the next page of list page data adjacent to the page data of the page list after the list page is restored.
In practice, the mobile terminal may also store the page number of each list page locally when displaying the list page.
Correspondingly, as shown in fig. 3, a flowchart of the step of switching the next page list page further included in the page display method of the selectable example is shown, and as shown in fig. 3, the method may specifically include the following steps:
and step S31, monitoring whether the scroll bar scrolls to the bottom of the list page.
Specifically, if the scroll bar is scrolled to the bottom of the list page, it means that the user views the last list item of the list page, and at this time, the user often needs to view the next list page. If the scroll bar is not scrolled to the bottom of the list page, it indicates that the user has not viewed the list item of the list page.
Step S32, when the scroll bar is scrolled to the bottom of the list page, according to the page number of the list page, requesting the server for the data of the list page corresponding to the next page number.
Step S33, displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
When the scroll bar is scrolled to the bottom of the list page, the mobile terminal may automatically request the server for data of a next list page adjacent to the list page according to the page number of the list page recorded from the local storage. Then, the mobile terminal can render the data of the next page list page returned by the server and display the rendered page on the display screen.
When the technical scheme is adopted, the page number of the displayed list page is recorded by the mobile terminal, the list page is returned from the detail page, when a user looks up a list item on the restored list page, the behavior that the user pulls the scroll bar can be monitored, when the scroll bar is pulled to the bottom of the list page, the data of the list page of the next page number adjacent to the list page can be automatically requested, the data of the list page of the next page number can be prevented from being requested only according to the triggering operation of clicking and the like of the user in reality, the time of the user can be saved, and more intelligent operation experience can be brought to the user.
Referring to fig. 4, a schematic structural diagram of a page display apparatus according to an embodiment of the present invention is shown, and as shown in fig. 4, the apparatus is applied to a mobile terminal, and may specifically include the following modules:
a display module 41, configured to display a list page through a display screen of the mobile terminal, where the list page includes a plurality of list items;
the storage and jump module 42 is configured to jump to a detail page of a target list item when a trigger operation of a user on the target list item in the list page is detected, and store data of the list page and an identifier of the target list item locally;
a data reading module 43, configured to, when detecting a page return operation input by a user on the mobile terminal, read locally stored data of the list page and an identifier of the target list item;
and the display page restoration module 44 is configured to restore the list page displayed on the display screen before the jump to the detail page according to the data of the list page and the identifier of the target list item.
Optionally, the store and jump module 42 may be specifically configured to, while storing the data of the list page and the identifier of the target list item locally, add a return identifier to the uniform resource locator UR L of the list page;
accordingly, the data reading module 43 may be specifically configured to, when detecting that a page return operation is input by a user on the mobile terminal, read locally stored data of the list page and an identifier of the target list item according to the return identifier carried in the UR L of the list page.
Optionally, the display page restoring module 44 may specifically include the following units:
the rendering unit is used for rendering the data of the list page to obtain a rendered page;
and the page scrolling unit is used for scrolling the rendered page according to the identification of the target list item so as to display the target list item on the display screen.
Optionally, the storing and skipping module 42 may be specifically configured to store the data of the list page and the identifier of the target list item locally, and at the same time, may also be configured to store the page number of the list page locally;
accordingly, the apparatus may further include the following modules:
the monitoring module is used for monitoring whether the scroll bar scrolls to the bottom of the list page;
the data request module is used for requesting the server for the data of the list page corresponding to the next page number according to the page number of the list page when the scroll bar is scrolled to the bottom of the page of the list page;
and the display page loading and displaying module is used for displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
For the embodiment of the page display device, because the embodiment is basically similar to the embodiment of the page display method, the description is simple, and relevant points can be referred to partial description of the embodiment of the page display method.
Referring to fig. 5, a schematic structural diagram of a mobile terminal 500 according to an embodiment of the present invention is shown, as shown in fig. 5, the mobile terminal 500 may include a display screen 51 and a page display device 52, in practice, the mobile terminal may further include a power supply device 53, a network interface 54, a data interface 55, and the like, the display screen may be an L ED display screen, a touch display screen, a glass display screen, and the like, in practice, the page display device may be a device combining software and hardware, the hardware may include physical keys, the physical keys may be used to provide functions such as returning, confirming, and the like, the software includes an application program, and the page display device may cooperate with the hardware to implement the page display method according to the above embodiment.
Fig. 6 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention.
The terminal device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 can also provide audio output related to a specific function performed by the terminal apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The terminal device 600 further comprises at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the luminance of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the terminal apparatus 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the terminal device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the terminal apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 600 or may be used to transmit data between the terminal apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby performing overall monitoring of the terminal device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The terminal device 600 may further include a power supply 611 (such as a battery) for supplying power to various components, and preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, including: the processor 610, the memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above cheating determination method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the above cheating determination method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A page display method is applied to a mobile terminal and comprises the following steps:
displaying a list page through a display screen of the mobile terminal, wherein the list page comprises a plurality of list items;
when the triggering operation of a user on a target list item in the list page is detected, jumping to a detail page of the target list item, and storing the data of the list page and the identification of the target list item to the local;
when detecting that a page returning operation input by a user on the mobile terminal is performed, reading the data of the list page stored locally and the identification of the target list item;
and restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item.
2. The method of claim 1, wherein while locally storing the data of the list page and the identification of the subject list item, the method further comprises:
adding a return identifier in a uniform resource locator UR L of the list page;
when detecting a page return operation input by a user on the mobile terminal, reading the locally stored data of the list page and the identification of the target list item, including:
when detecting that a page returning operation input by a user on the mobile terminal is performed, reading locally stored data of the list page and the identification of the target list item according to the returning identification carried in the UR L of the list page.
3. The method of claim 1, wherein restoring the list page displayed on the display screen prior to jumping to the details page based on the data of the list page and the identification of the target list item comprises:
rendering the data of the list page to obtain a rendered page;
and scrolling the rendered page according to the identification of the target list item so as to display the target list item on the display screen.
4. The method of any of claims 1-3, wherein while locally storing the data of the list page and the identification of the subject list item, the method further comprises:
storing the page number of the list page to the local;
after restoring the list page displayed on the display screen before jumping to the details page according to the data of the list page and the identification of the target list item, the method further comprises:
monitoring whether the scroll bar scrolls to the bottom of the list page or not;
when the scroll bar is scrolled to the bottom of the page of the list page, requesting data of the list page corresponding to the next page number from a server according to the page number of the list page;
and displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
5. A page display device is applied to a mobile terminal and comprises:
the display module is used for displaying a list page through a display screen of the mobile terminal, and the list page comprises a plurality of list items;
the storage and jump module is used for jumping to a detail page of a target list item when the triggering operation of a user on the target list item in the list page is detected, and storing the data of the list page and the identification of the target list item to the local;
the data reading module is used for reading the locally stored data of the list page and the identification of the target list item when detecting the page return operation input by the user on the mobile terminal;
and the display page restoration module is used for restoring the list page displayed by the display screen before jumping to the detail page according to the data of the list page and the identification of the target list item.
6. The apparatus of claim 5,
the storage and jump module is specifically configured to add a return identifier to a uniform resource locator UR L of the list page while storing the data of the list page and the identifier of the target list item locally;
the data reading module is specifically configured to, when detecting that a page return operation input by a user on the mobile terminal is performed, read locally stored data of the list page and an identifier of the target list item according to the return identifier carried in the UR L of the list page.
7. The apparatus of claim 5, wherein the display page restoration module comprises:
the rendering unit is used for rendering the data of the list page to obtain a rendered page;
and the page scrolling unit is used for scrolling the rendered page according to the identification of the target list item so as to display the target list item on the display screen.
8. The apparatus according to any one of claims 5 to 7,
the storage and jump module is specifically configured to store the data of the list page and the identifier of the target list item to the local, and at the same time, store the page number of the list page to the local;
the device further comprises:
the monitoring module is used for monitoring whether the scroll bar scrolls to the bottom of the list page;
the data request module is used for requesting the server for the data of the list page corresponding to the next page number according to the page number of the list page when the scroll bar is scrolled to the bottom of the page of the list page;
and the display page loading and displaying module is used for displaying the list page corresponding to the next page code through the display screen according to the data of the list page corresponding to the next page code returned by the server.
9. A mobile terminal, comprising: display screen, page display device for performing the steps of the page display method according to any one of claims 1 to 4.
10. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the page display method according to any one of claims 1 to 4.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the page display method according to any one of claims 1 to 4.
CN202010232331.3A 2020-03-27 2020-03-27 Page display method and device, mobile terminal, electronic equipment and storage medium Pending CN111428164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010232331.3A CN111428164A (en) 2020-03-27 2020-03-27 Page display method and device, mobile terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010232331.3A CN111428164A (en) 2020-03-27 2020-03-27 Page display method and device, mobile terminal, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111428164A true CN111428164A (en) 2020-07-17

Family

ID=71549123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010232331.3A Pending CN111428164A (en) 2020-03-27 2020-03-27 Page display method and device, mobile terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111428164A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000255A (en) * 2020-08-21 2020-11-27 北京明略软件系统有限公司 List display method and apparatus, storage medium, and electronic apparatus
CN112464130A (en) * 2020-11-19 2021-03-09 苏州浪潮智能科技有限公司 Drop-down selection box input method, device, equipment and medium
CN112540823A (en) * 2020-12-25 2021-03-23 杭州智聪网络科技有限公司 Micro-page paging method for modular loading
CN113867860A (en) * 2021-09-22 2021-12-31 北京明略昭辉科技有限公司 Data rendering method, system, storage medium and electronic device
CN115309312A (en) * 2021-04-21 2022-11-08 花瓣云科技有限公司 Content display method and electronic equipment
WO2023092580A1 (en) * 2021-11-29 2023-06-01 京东方科技集团股份有限公司 Page display method and apparatus, storage medium, and electronic device
WO2023169215A1 (en) * 2022-03-10 2023-09-14 京东方科技集团股份有限公司 Page display method and apparatus, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335404A (en) * 2014-07-29 2016-02-17 北京奇虎科技有限公司 Page information loading method and device
CN106789584A (en) * 2016-12-27 2017-05-31 上海景域文化传播股份有限公司 A kind of FTP client FTP for travelling products sale
CN108846131A (en) * 2018-07-03 2018-11-20 深圳鼎盛电脑科技有限公司 Weex page rendering method, apparatus, terminal and storage medium
CN109032457A (en) * 2017-08-18 2018-12-18 金蝶软件(中国)有限公司 page display method, device, terminal and storage medium
US20190173881A1 (en) * 2016-08-12 2019-06-06 Alibaba Group Holding Limited Authentication method, device and authentication client
CN109902244A (en) * 2019-01-17 2019-06-18 平安城市建设科技(深圳)有限公司 Page loading method, device, equipment and computer readable storage medium
CN110110232A (en) * 2019-04-30 2019-08-09 努比亚技术有限公司 Page promotion link filter method, computer readable storage medium and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335404A (en) * 2014-07-29 2016-02-17 北京奇虎科技有限公司 Page information loading method and device
US20190173881A1 (en) * 2016-08-12 2019-06-06 Alibaba Group Holding Limited Authentication method, device and authentication client
CN106789584A (en) * 2016-12-27 2017-05-31 上海景域文化传播股份有限公司 A kind of FTP client FTP for travelling products sale
CN109032457A (en) * 2017-08-18 2018-12-18 金蝶软件(中国)有限公司 page display method, device, terminal and storage medium
CN108846131A (en) * 2018-07-03 2018-11-20 深圳鼎盛电脑科技有限公司 Weex page rendering method, apparatus, terminal and storage medium
CN109902244A (en) * 2019-01-17 2019-06-18 平安城市建设科技(深圳)有限公司 Page loading method, device, equipment and computer readable storage medium
CN110110232A (en) * 2019-04-30 2019-08-09 努比亚技术有限公司 Page promotion link filter method, computer readable storage medium and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000255A (en) * 2020-08-21 2020-11-27 北京明略软件系统有限公司 List display method and apparatus, storage medium, and electronic apparatus
CN112464130A (en) * 2020-11-19 2021-03-09 苏州浪潮智能科技有限公司 Drop-down selection box input method, device, equipment and medium
CN112464130B (en) * 2020-11-19 2023-01-10 苏州浪潮智能科技有限公司 Drop-down selection box input method, device, equipment and medium
CN112540823A (en) * 2020-12-25 2021-03-23 杭州智聪网络科技有限公司 Micro-page paging method for modular loading
CN115309312A (en) * 2021-04-21 2022-11-08 花瓣云科技有限公司 Content display method and electronic equipment
CN113867860A (en) * 2021-09-22 2021-12-31 北京明略昭辉科技有限公司 Data rendering method, system, storage medium and electronic device
WO2023092580A1 (en) * 2021-11-29 2023-06-01 京东方科技集团股份有限公司 Page display method and apparatus, storage medium, and electronic device
CN116569165A (en) * 2021-11-29 2023-08-08 京东方科技集团股份有限公司 Page display method and device, storage medium and electronic equipment
WO2023169215A1 (en) * 2022-03-10 2023-09-14 京东方科技集团股份有限公司 Page display method and apparatus, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN111428164A (en) Page display method and device, mobile terminal, electronic equipment and storage medium
CN110222212B (en) Display control method and terminal equipment
CN107580147B (en) Management method of notification message and mobile terminal
CN107846352B (en) Information display method and mobile terminal
CN110933511B (en) Video sharing method, electronic device and medium
CN111274416A (en) Chat information searching method and electronic equipment
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN110913067A (en) Information sending method and electronic equipment
CN110674662A (en) Scanning method and terminal equipment
CN110866038A (en) Information recommendation method and terminal equipment
CN110990679A (en) Information searching method and electronic equipment
CN108874906B (en) Information recommendation method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN111698550B (en) Information display method, device, electronic equipment and medium
CN111327768B (en) Display control method, electronic device, and computer-readable storage medium
CN107992615B (en) Website recommendation method, server and terminal
CN110795002A (en) Screenshot method and terminal equipment
CN109063079B (en) Webpage labeling method and electronic equipment
CN108346083B (en) Information processing method and mobile terminal
CN113918109A (en) Information display method and terminal equipment
CN109902232B (en) Display control method and terminal
CN110045892B (en) Display method and terminal equipment
CN110851219A (en) Information processing method and electronic equipment
CN110888572A (en) Message display method and terminal equipment
CN108287644B (en) Information display method of application program and mobile terminal

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