CN108287884B - Page display method and mobile terminal - Google Patents

Page display method and mobile terminal Download PDF

Info

Publication number
CN108287884B
CN108287884B CN201810031652.XA CN201810031652A CN108287884B CN 108287884 B CN108287884 B CN 108287884B CN 201810031652 A CN201810031652 A CN 201810031652A CN 108287884 B CN108287884 B CN 108287884B
Authority
CN
China
Prior art keywords
application
link address
page
browsing record
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810031652.XA
Other languages
Chinese (zh)
Other versions
CN108287884A (en
Inventor
田小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810031652.XA priority Critical patent/CN108287884B/en
Publication of CN108287884A publication Critical patent/CN108287884A/en
Application granted granted Critical
Publication of CN108287884B publication Critical patent/CN108287884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a page display method and a mobile terminal. The method is applied to the mobile terminal and comprises the following steps: if the first application is in a foreground running state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; the link address corresponding to any application in the browsing record is the link address of the display page of any application under the condition that any application is in a foreground browsing display state; and if so, loading the link address corresponding to the first application in the browsing record, and displaying the page corresponding to the loaded link address. In the embodiment of the invention, the operation of re-entering the page after the mobile terminal exits the browsed page is very convenient and easy to implement.

Description

Page display method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a page display method and a mobile terminal.
Background
With the continuous development of communication technology, the popularity of mobile terminals such as mobile phones is higher and higher. In order to bring rich learning and entertainment lives to users, the number of applications installed in mobile terminals is increasing. Currently, many applications (e.g., WeChat, QQ, etc.) have a built-in browser. When a user browses a page using a built-in browser of an application, if the mobile terminal exits from the browsed page for some reason (for example, a notification message needing to be viewed is received), the subsequent re-entering of the mobile terminal into the page is very cumbersome to implement.
Disclosure of Invention
The embodiment of the invention provides a page display method and a mobile terminal, and aims to solve the problem that in the prior art, the operation of re-entering a browsed page after the mobile terminal exits the page is very complicated.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a page display method applied to a mobile terminal, where the method includes:
if the first application is in a foreground running state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; wherein, the link address corresponding to any application in the browsing record is the link address of the display page of any application when any application is in a foreground browsing display state;
and if so, loading the link address corresponding to the first application in the browsing record, and displaying the page corresponding to the loaded link address.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
the first judgment module is used for judging whether a link address corresponding to the first application exists in a preset browsing record or not if the first application is in a foreground running state and a page display instruction input by a user is received; wherein, the link address corresponding to any application in the browsing record is the link address of the display page of any application when any application is in a foreground browsing display state; if yes, triggering a first processing module;
the first processing module is configured to load a link address corresponding to the first application in the browsing record, and display a page corresponding to the loaded link address.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned page display method.
In a fourth 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 the computer program is executed by a processor, the computer program implements the steps of the page display method described above.
In the embodiment of the invention, when any application is in a foreground running state and a page display instruction input by a user is received, the mobile terminal judges whether a link address corresponding to the application exists in a preset browsing record. If the link address exists, the corresponding relation between the link address corresponding to the page and the application is stored in the browsing record by the mobile terminal when the user browses the page in the browser built in the application before. Therefore, under the condition that the judgment result is that the link address corresponding to the application exists, the mobile terminal automatically loads the link address corresponding to the application in the browsing record and automatically displays the page corresponding to the loaded link address. In this way, the mobile terminal can re-enter the previously browsed page and the user can continue browsing the page. Therefore, the operation of reentering the page after the mobile terminal exits the browsed page is very convenient and easy to implement.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be 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 to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of a page display method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a page display method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a fourth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a fifth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a hardware diagram of another mobile terminal according to an 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.
First, a page display method provided by an embodiment of the present invention is described below.
It should be noted that the page display method provided by the embodiment of the present invention is applied to a mobile terminal. Specifically, the mobile terminal may be any device having a communication function, such as: computers (Computer), Mobile phones, tablet computers (tablet personal Computer), Laptop computers (Laptop Computer), Personal Digital Assistants (PDA), Mobile Internet Devices (MID), Wearable devices (Wearable Device), and the like.
Referring to fig. 1, a flowchart of a page display method according to an embodiment of the present invention is shown. As shown in fig. 1, the method is applied to a mobile terminal, and includes the following steps:
step 101, if the first application is in a foreground operation state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; the link address corresponding to any application in the browsing record is the link address of the display page of any application under the condition that any application is in a foreground browsing display state; if so, go to step 102.
The first application may be any application installed in the mobile terminal, and the "first" in the first application does not set any limit to the specific type of the first application.
It should be noted that, the state that any application is in the foreground browsing display state means: the display page of any application is a page obtained by calling a browser built in the application, and the page can be a page displaying contents such as articles in the public number, news and the like. If any application is in a foreground browsing display state, the mobile terminal can store the corresponding relation between the display page of the application and the application in a preset browsing record under the condition that a certain condition is met.
And 102, loading a link address corresponding to the first application in the browsing record, and displaying a page corresponding to the loaded link address.
The mobile terminal can call a browser built in the first application to load a link address corresponding to the first application in the browsing record, and display a page corresponding to the loaded link address through the built-in browser.
In order to facilitate understanding of the present invention by those skilled in the art, a specific implementation process of the embodiment of the present invention is described below with a specific example.
Assuming that the user needs to process some other transactions by using the mobile terminal when the user browses the news page Y in the WeChat (at this time, the WeChat is in the foreground browsing display state), the user operates the mobile terminal to quit the WeChat so as to process other transactions. Suppose that before the user operates the mobile terminal to quit the WeChat, the mobile terminal stores the corresponding relation between the link address L of the news page Y and the WeChat in the preset browsing record.
After the user processes other affairs, the user makes the mobile terminal foreground run the WeChat (at this time, the WeChat is in the foreground running state), and at this time, the user can input a page display instruction to the mobile terminal. When the mobile terminal receives a page display instruction input by a user, the mobile terminal judges whether a link address corresponding to the WeChat exists in the browsing record. At this time, the judgment result is that the link address corresponding to the WeChat in the browsing record exists, and the link address is the link address L, so that the mobile terminal loads the link address L and displays a page corresponding to the link address L, and the page is the news page Y.
Therefore, after the mobile terminal exits from the news page Y, the user only needs to input a page display instruction when the WeChat is in the foreground running state, and the mobile terminal can automatically display the news page Y.
In the embodiment of the invention, when any application is in a foreground running state and a page display instruction input by a user is received, the mobile terminal judges whether a link address corresponding to the application exists in a preset browsing record. If the link address exists, the corresponding relation between the link address corresponding to the page and the application is stored in the browsing record by the mobile terminal when the user browses the page in the browser built in the application before. Therefore, under the condition that the judgment result is that the link address corresponding to the application exists, the mobile terminal automatically loads the link address corresponding to the application in the browsing record and automatically displays the page corresponding to the loaded link address. In this way, the mobile terminal can re-enter the previously browsed page and the user can continue browsing the page. Therefore, the operation of reentering the page after the mobile terminal exits the browsed page is very convenient and easy to implement.
Optionally, if the first application is in a foreground operating state and receives a page display instruction input by a user, before determining whether a link address corresponding to the first application exists in the preset browsing record, the method further includes:
if the first application is in a foreground browsing display state, judging whether a preset corresponding relation storage condition is met;
and if so, storing the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record.
It should be noted that, the specific implementation forms for judging whether the preset corresponding relationship storage condition is satisfied are various, and two implementation forms thereof are described below by way of example.
In a first implementation form, the determining whether a preset correspondence storage condition is satisfied includes:
and if a page storage instruction input by a user is received, determining that the preset corresponding relation storage condition is met.
It can be seen that, in the first implementation form, the preset corresponding relationship storage condition is: receiving a page storage instruction input by a user.
In a first implementation form, if the user has a requirement for actively storing the link address of the display page of the first application, the user may actively input a setting operation, such as a sliding operation with a preset sliding track, to the mobile terminal. After the mobile terminal receives a specific operation input by a user, the mobile terminal judges that a page storage instruction is received. And then, the mobile terminal stores the corresponding relation between the link address of the display page of the first application and the first application in the browsing record according to the page storage instruction.
In a second implementation form, the determining whether a preset corresponding relationship storage condition is satisfied includes:
and if the notification message is received, displaying a storage button.
The notification message may specifically be a notification message pushed by an application, and the application for pushing the notification message may be the first application or another application installed in the mobile terminal. The storage button may be a circular button that may be displayed in an area that does not obscure content displayed in the display page of the first application, and the user may adjust the display position of the storage button as needed.
And if first preset operation input by a user on the storage button is received, determining that the preset corresponding relation storage condition is met.
Wherein, the first predetermined operation may be a click operation, a touch operation, and the like.
It can be seen that, in the second implementation form, the preset corresponding relationship storage condition is: in a case where a store button is displayed, a first predetermined operation on the store button is received.
In a second implementation form, when a storage button is displayed on the mobile terminal, if a user has a need to store a link address of a display page of the first application, the user may input a first predetermined operation on the storage button. After receiving the first preset operation, the mobile terminal judges that the user has a requirement for storing the link address of the display page of the first application, and at the moment, the mobile terminal stores the corresponding relation between the link address of the display page of the first application and the first application in the browsing record.
It can be seen that, in the above two implementation forms, the mobile terminal can conveniently and quickly determine whether the preset corresponding relation storage condition is met. And under the condition that the corresponding relation storage condition is met, the mobile terminal stores the corresponding relation in the browsing record so that the user can continue to browse the previously browsed page according to the stored corresponding relation.
It should be noted that, after receiving a first predetermined operation on the storage button input by the user, determining that a preset corresponding relationship storage condition is satisfied, and storing a corresponding relationship between a link address of a display page of the first application and the first application in a preset browsing record, the mobile terminal may clear the storage button to avoid the storage button from shielding the display page of the first application, so that the user can browse the content displayed in the display page conveniently.
In the embodiment of the present invention, there may be two modes for storing the corresponding relationship in the browsing record by the mobile terminal, which are an update saving mode and an increment saving mode.
Specifically, in the case of adopting the update saving mode, storing a corresponding relationship between a link address of a display page of the first application and the first application in a preset browsing record, includes:
if the link address corresponding to the first application does not exist in the preset browsing record, recording the corresponding relation between the link address of the display page of the first application and the first application in the browsing record;
and if the link address corresponding to the first application exists in the preset browsing record, updating the link address corresponding to the first application into the link address of the display page of the first application.
In the update saving mode, the mobile terminal may first determine whether a link address corresponding to the first application already exists in the preset browsing record. If the judgment result is that the link address of the display page of the first application does not exist, the mobile terminal directly records the corresponding relation between the link address of the display page of the first application and the first application in the browsing record, so that the corresponding relation between the link address of the display page of the first application and the first application is stored. If the judgment result shows that the link address exists, the mobile terminal can update the link address corresponding to the first application to the link address of the display page of the first application, so that the corresponding relation between the link address of the display page of the first application and the first application is stored.
It can be seen that, in the update saving mode, each application in the browsing record corresponds to only one link address, which can effectively save storage space.
Under the condition of adopting an increment saving mode, storing the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record, wherein the corresponding relation comprises the following steps:
and recording the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record.
In the incremental saving mode, the mobile terminal directly records the corresponding relation between the link address of the display page of the first application and the first application in the browsing record, so that even if the corresponding relation between the first application and the corresponding link address exists in the browsing record before the storage operation is executed, the storage operation does not cover the existing corresponding relation.
It can be seen that, in the incremental save mode, each application in the browsing record corresponds to at least one link address, so that the completeness of the stored link address can be ensured as much as possible.
It should be noted that, according to different modes of the mobile terminal storing the corresponding relationship in the browsing record, there is a certain difference in the manner of loading the link address corresponding to the first application in the browsing record by the mobile terminal.
Specifically, if the mode for storing the corresponding relationship in the browsing record is the update saving mode, the first application in the browsing record only corresponds to one link address, and therefore, the mobile terminal directly loads the link address. And then, the mobile terminal displays the loaded page corresponding to the link address, and the user can browse the displayed page.
If the mode for storing the corresponding relationship in the browsing record is the incremental save mode, the first application in the browsing record corresponds to at least one link address, and at this time, loading the link address corresponding to the first application in the browsing record may include:
and if the number of the link addresses corresponding to the first application in the browsing record is at least two, loading the link address with the latest storage time in the link address corresponding to the first application.
And after loading the link address with the latest storage time in the link address corresponding to the first application, displaying the page corresponding to the loaded link address by the mobile terminal, so that the user can continue browsing the recently browsed page.
Optionally, after loading the link address corresponding to the first application in the browsing record and displaying the page corresponding to the loaded link address, the method further includes:
and deleting the corresponding relation of the loaded link addresses in the browsing records.
After the mobile terminal displays the page corresponding to the loaded link address, the mobile terminal can delete the corresponding relation of the loaded link address in the browsing record to release the storage space in the browsing record.
Referring to fig. 2, a second flowchart of a page display method according to an embodiment of the present invention is shown. The embodiment shown in fig. 2 differs from the embodiment shown in fig. 1 in that: the embodiment shown in fig. 2 provides a processing flow after the mobile terminal determines that the link address corresponding to the first application does not exist in the browsing record. As shown in fig. 2, the method is applied to a mobile terminal, and includes the following steps:
step 201, if the first application is in a foreground operation state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; the link address corresponding to any application in the browsing record is the link address of the display page of any application under the condition that any application is in a foreground browsing display state; if yes, go to step 202; if not, go to step 203.
Step 202, loading a link address corresponding to the first application in the browsing record, and displaying a page corresponding to the loaded link address.
The specific implementation process of step 202 may refer to the description of step 102, and is not described herein again.
Step 203, displaying the target link address in the target corresponding relation; and the target corresponding relation is the corresponding relation with the latest storage time in the browsing record.
If the determination result in step 201 is that the target link address does not exist, the mobile terminal may obtain the corresponding relationship with the latest storage time from the browsing record, and display the floating window, so as to display the target link address in the obtained corresponding relationship through the floating window.
And step 204, if a second preset operation on the target link address input by the user is received, setting a second application in the target corresponding relation to be in a foreground running state.
Wherein the second predetermined operation may be a click operation.
Under the condition that the mobile terminal displays the target link address through the floating window, if the user has the requirement of browsing the page corresponding to the target link address, the user can input a second preset operation on the target link address. And when the mobile terminal receives the second preset operation, the mobile terminal judges that the user has the requirement of browsing the page corresponding to the target link address. In order to meet the browsing requirements of users, the mobile terminal can switch the foreground running applications, that is, the first application is set to be in a background running state, and the second application is set to be in a foreground running state.
Step 205, loading the target link address, displaying the page corresponding to the target link address, and deleting the target corresponding relation in the browsing record.
After the second application enters the foreground running state, the mobile terminal can call a browser built in the second application to load the target link address, and the browser is used for displaying the page corresponding to the target link address, so that the requirement of a user for browsing the page corresponding to the target link address is met. In addition, the mobile terminal can delete the target corresponding relation from the browsing record so as to release the storage space in the browsing record.
It should be emphasized that, under the condition that the second predetermined operation on the target link address is received, the mobile terminal may not switch the application running in the foreground, at this time, the first application may keep the running state in the foreground, and the mobile terminal may display the page corresponding to the target link address in a split screen or floating manner.
The following describes a specific implementation process of an embodiment of the present invention with a specific example.
Assuming that the application 4 is in a foreground running state, the mobile terminal receives a page display instruction input by a user, and the mobile terminal judges whether a link address corresponding to the application 4 exists in a browsing record; the contents stored in the browsing history are shown in table 1 below, in which the storage time of the link address 1 is latest and the storage time of the link address 3 is earliest.
Applications of Link address
Applications 1 Link address 1
Application 2 Link address 2
Application 3 Link address 3
TABLE 1
Obviously, after judgment, the mobile terminal can determine that the link address corresponding to the application 4 does not exist in the browsing record, and therefore, the mobile terminal obtains the corresponding relation with the latest storage time from the browsing record. It is easy to see that the obtained corresponding relationship is the corresponding relationship between the application 1 and the link address 1, and therefore, the mobile terminal displays the link address 1 through the floating window.
Under the condition that the link address 1 is displayed through the floating window, if the mobile terminal receives the click operation on the link address 1, the mobile terminal sets the application 4 to be in a background running state and sets the application 1 to be in a foreground running state. And then, the mobile terminal loads the link address 1, displays a page corresponding to the link address 1, and deletes the corresponding relation between the application 1 and the link address 1 in the browsing record. Due to this deletion operation, table 1 is updated to table 2 below.
Applications of Link address
Application 2 Link address 2
Application 3 Link address 3
TABLE 2
Then, if the mobile terminal receives the page display instruction input by the user again, since the application in the foreground running state is application 1, the mobile terminal determines whether the link address corresponding to application 1 exists in the browsing record (table 2).
Obviously, after judgment, the mobile terminal can determine that the link address corresponding to the application 1 does not exist in the browsing record, and therefore, the mobile terminal obtains the corresponding relation with the latest storage time from the browsing record. It is easy to see that the obtained corresponding relationship is the corresponding relationship between the application 2 and the link address 2, and therefore, the mobile terminal displays the link address 2 through the floating window.
Under the condition that the link address 2 is displayed through the floating window, if the mobile terminal receives the click operation on the link address 2, the mobile terminal sets the application 1 to be in a background running state, and sets the application 2 to be in a foreground running state. And then, the mobile terminal loads the link address 2, displays a page corresponding to the link address 2, and deletes the corresponding relation between the application 2 and the link address 2 in the browsing record.
It can be seen that, in the embodiment of the present invention, when a certain application is in a foreground operating state and receives a page display instruction input by a user, if a link address corresponding to the application does not exist in a browsing record, the mobile terminal may display other link addresses in the browsing record, so that the user may select whether to browse pages corresponding to other link addresses.
Optionally, a preset area of the mobile terminal may display a link icon; if the first application is in a foreground running state, and a page display instruction input by a user is received, judging whether a link address corresponding to the first application exists in the browsing record, and the method comprises the following steps:
and if the first application is in a foreground running state and receives a third preset operation of the link icon input by the user, judging whether a link address corresponding to the first application exists in the browsing record.
Wherein, the third predetermined operation may be a click operation, a touch operation, and the like.
In the embodiment of the invention, under the condition that the first application is in the foreground running state, the mobile terminal can detect whether the third preset operation on the link icon is received regularly or irregularly. If the page display instruction is detected, the mobile terminal can judge that the page display instruction input by the user is received. Therefore, the operation of detecting the page display instruction input by the user is very convenient to implement.
Optionally, the mobile terminal has a side screen, and the preset area is located on the side screen. Because the link icon is positioned on the side screen, the link icon can be effectively prevented from shielding the content displayed in the main screen of the mobile terminal.
Optionally, if at least one corresponding relationship is stored in the browsing record, a link icon is displayed in a preset area of the mobile terminal.
For the mobile terminal, it can detect whether the corresponding relation is stored in the browsing record regularly or irregularly. If any corresponding relation does not exist in the browsing records, the mobile terminal can not display the link icon or place the link icon in an invisible state so as to prevent the link icon from occupying a preset area. If at least one corresponding relation exists in the browsing records, the mobile terminal can display the link icon, so that the user can conveniently execute a third preset operation on the link icon when needing to input a page display instruction.
In summary, in the embodiment of the present invention, the operation of re-entering the page after the mobile terminal exits the browsed page is very convenient and easy to implement.
The following describes a mobile terminal provided in an embodiment of the present invention.
Referring to fig. 3, a schematic structural diagram of a mobile terminal (i.e., a mobile terminal 300) according to an embodiment of the present invention is shown. As shown in fig. 3, the mobile terminal 300 includes:
the first judging module 301 is configured to, if the first application is in a foreground operating state and a page display instruction input by a user is received, judge whether a link address corresponding to the first application exists in a preset browsing record; the link address corresponding to any application in the browsing record is the link address of the display page of any application under the condition that any application is in a foreground browsing display state; if yes, triggering the first processing module 302;
the first processing module 302 is configured to load a link address corresponding to the first application in the browsing record, and display a page corresponding to the loaded link address.
Optionally, as shown in fig. 4, the mobile terminal 300 further includes:
the second determining module 311 is configured to determine whether a preset corresponding relationship storage condition is satisfied if the first application is in a foreground operating state and a page display instruction input by a user is received before determining whether a link address corresponding to the first application exists in a preset browsing record and if the first application is in the foreground browsing display state; if so, the storage module 312 is triggered;
the storage module 312 is configured to store, in a preset browsing record, a corresponding relationship between a link address of a display page of the first application and the first application.
Optionally, the second determining module 311 is specifically configured to:
and if a page storage instruction input by a user is received, determining that the preset corresponding relation storage condition is met.
Optionally, as shown in fig. 5, the second determining module 311 includes:
a display sub-module 3111 for displaying a storage button if a notification message is received;
the determining sub-module 3112 is configured to determine that a preset corresponding relationship storage condition is satisfied if a first predetermined operation on the storage button input by a user is received.
Optionally, the storage module 312 is specifically configured to:
recording a corresponding relation between a link address of a display page of a first application and the first application in a preset browsing record; alternatively, the first and second electrodes may be,
if the link address corresponding to the first application does not exist in the preset browsing record, recording the corresponding relation between the link address of the display page of the first application and the first application in the browsing record; and if the link address corresponding to the first application exists in the preset browsing record, updating the link address corresponding to the first application into the link address of the display page of the first application.
Optionally, the first processing module 302 is specifically configured to:
and if the number of the link addresses corresponding to the first application in the browsing record is at least two, loading the link address with the latest storage time in the link address corresponding to the first application.
Optionally, as shown in fig. 6, the mobile terminal 300 further includes:
the deleting module 321 is configured to delete the corresponding relationship of the loaded link address in the browsing record after the link address corresponding to the first application in the browsing record is loaded and the page corresponding to the loaded link address is displayed.
Optionally, as shown in fig. 7, the mobile terminal 300 further includes:
the display module 331, configured to display a target link address in the target correspondence after determining whether the link address corresponding to the first application exists in the browsing record, if the link address does not exist in the browsing record; the target corresponding relation is the corresponding relation with the latest storage time in the browsing record;
a setting module 332, configured to set, if a second predetermined operation on the target link address input by the user is received, a second application in the target correspondence to a foreground operating state;
the second processing module 333 is configured to load the target link address, display a page corresponding to the target link address, and delete the target correspondence in the browsing record.
Optionally, a link icon is displayed in a preset area of the mobile terminal;
the first judging module is specifically configured to:
and if the first application is in a foreground running state and receives a third preset operation of the link icon input by the user, judging whether a link address corresponding to the first application exists in the browsing record.
It should be noted that, the mobile terminal 300 provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing method embodiments, and details are not described here to avoid repetition. In the embodiment of the present invention, the operation of re-entering the browsed page after the mobile terminal 300 exits the browsed page is very convenient and easy to implement.
Referring to fig. 8, a schematic diagram of a hardware structure of a mobile terminal (i.e., a mobile terminal 800) according to an embodiment of the present invention is shown. As shown in fig. 8, a mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device architecture illustrated in fig. 8 is not intended to be limiting of the mobile terminal 800, and that the mobile terminal 800 may include more or less components than those illustrated, or may combine certain components, or may be arranged in different components. In the embodiment of the present invention, the mobile terminal 800 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.
Wherein, the processor 810 is configured to:
if the first application is in a foreground running state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; the link address corresponding to any application in the browsing record is the link address of the display page of any application under the condition that any application is in a foreground browsing display state;
and if so, loading the link address corresponding to the first application in the browsing record, and displaying the page corresponding to the loaded link address.
In the embodiment of the present invention, the operation of re-entering the browsed page after the mobile terminal 800 exits the browsed page is very convenient and easy to implement.
Optionally, the processor 810 is further configured to:
if the first application is in a foreground running state, and a page display instruction input by a user is received, and before judging whether a link address corresponding to the first application exists in a preset browsing record, if the first application is in the foreground browsing display state, judging whether a preset corresponding relation storage condition is met;
and if so, storing the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record.
Optionally, the processor 810 is specifically configured to:
and if a page storage instruction input by a user is received, determining that the preset corresponding relation storage condition is met.
Optionally, the processor 810 is specifically configured to:
if the notification message is received, displaying a storage button;
and if first preset operation input by a user on the storage button is received, determining that the preset corresponding relation storage condition is met.
Optionally, the processor 810 is specifically configured to:
recording a corresponding relation between a link address of a display page of a first application and the first application in a preset browsing record; alternatively, the first and second electrodes may be,
if the link address corresponding to the first application does not exist in the preset browsing record, recording the corresponding relation between the link address of the display page of the first application and the first application in the browsing record; and if the link address corresponding to the first application exists in the preset browsing record, updating the link address corresponding to the first application into the link address of the display page of the first application.
Optionally, the processor 810 is specifically configured to:
and if the number of the link addresses corresponding to the first application in the browsing record is at least two, loading the link address with the latest storage time in the link address corresponding to the first application.
Optionally, the processor 810 is further configured to:
and after loading the link address corresponding to the first application in the browsing record and displaying the page corresponding to the loaded link address, deleting the corresponding relation of the loaded link address in the browsing record.
Optionally, the processor 810 is further configured to:
after judging whether a link address corresponding to the first application exists in the browsing record, if not, displaying a target link address in the target corresponding relation; the target corresponding relation is the corresponding relation with the latest storage time in the browsing record;
if a second preset operation on the target link address input by the user is received, setting a second application in the target corresponding relation as a foreground running state;
and loading the target link address, displaying the page corresponding to the target link address, and deleting the target corresponding relation in the browsing record.
Optionally, a link icon is displayed in a preset area of the mobile terminal;
the processor 810 is specifically configured to:
and if the first application is in a foreground running state and receives a third preset operation of the link icon input by the user, judging whether a link address corresponding to the first application exists in the browsing record.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 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 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 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 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 receives a touch operation thereon or nearby, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program 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 809 can include high speed random access memory, and can 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 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned page display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are 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 the computer program is executed by a processor, each process of the page display method embodiment can achieve the same technical effect, and is not described herein again to avoid repetition. 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.

Claims (9)

1. A page display method is applied to a mobile terminal, and comprises the following steps:
if the first application is in a foreground running state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in a preset browsing record; wherein, the link address corresponding to any application in the browsing record is the link address of the display page of any application when any application is in a foreground browsing display state;
if yes, loading a link address corresponding to the first application in the browsing record, and displaying a page corresponding to the loaded link address;
if the first application is in a foreground running state and receives a page display instruction input by a user, and before judging whether a link address corresponding to the first application exists in a preset browsing record, the method further comprises the following steps:
if the first application is in a foreground browsing display state, judging whether a preset corresponding relation storage condition is met;
if so, storing the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record;
the judging whether the preset corresponding relation storage condition is met includes:
if a page storage instruction input by a user is received, determining that a preset corresponding relation storage condition is met; alternatively, the first and second electrodes may be,
the judging whether the preset corresponding relation storage condition is met includes:
if the notification message is received, displaying a storage button;
if first preset operation input by a user on the storage button is received, determining that preset corresponding relation storage conditions are met;
the storing of the corresponding relationship between the link address of the display page of the first application and the first application in the preset browsing record includes:
recording the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record; alternatively, the first and second electrodes may be,
if the link address corresponding to the first application does not exist in a preset browsing record, recording the corresponding relation between the link address of the display page of the first application and the first application in the browsing record; if the link address corresponding to the first application exists in the preset browsing record, updating the link address corresponding to the first application into the link address of the display page of the first application;
a link icon is displayed in a preset area of the mobile terminal;
if the first application is in a foreground running state and receives a page display instruction input by a user, judging whether a link address corresponding to the first application exists in the browsing record, wherein the judging step comprises the following steps:
and if the first application is in a foreground running state and third preset operation input by a user on the link icon is received, judging whether a link address corresponding to the first application exists in the browsing record.
2. The method of claim 1, wherein the loading the link address corresponding to the first application in the browsing record comprises:
and if the number of the link addresses corresponding to the first application in the browsing record is at least two, loading the link address with the latest storage time in the link addresses corresponding to the first application.
3. The method according to claim 1, wherein after the loading the link address corresponding to the first application in the browsing record and displaying the page corresponding to the loaded link address, the method further comprises:
and deleting the corresponding relation of the loaded link addresses in the browsing records.
4. The method according to claim 1, wherein after determining whether the link address corresponding to the first application exists in the browsing record, the method further comprises:
if not, displaying the target link address in the target corresponding relation; the target corresponding relation is the corresponding relation with the latest storage time in the browsing record;
if a second preset operation on the target link address input by the user is received, setting a second application in the target corresponding relation to be in a foreground running state;
and loading the target link address, displaying a page corresponding to the target link address, and deleting the target corresponding relation in the browsing record.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the first judgment module is used for judging whether a link address corresponding to the first application exists in a preset browsing record or not if the first application is in a foreground running state and a page display instruction input by a user is received; wherein, the link address corresponding to any application in the browsing record is the link address of the display page of any application when any application is in a foreground browsing display state; if yes, triggering a first processing module;
the first processing module is used for loading the link address corresponding to the first application in the browsing record and displaying a page corresponding to the loaded link address;
the mobile terminal further includes:
the second judgment module is used for judging whether a preset corresponding relation storage condition is met or not before judging whether a link address corresponding to the first application exists in a preset browsing record or not and judging whether a preset corresponding relation storage condition is met or not when the first application is in a foreground operation state and a page display instruction input by a user is received; if yes, triggering the storage module;
the storage module is used for storing the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record;
the second judgment module is specifically configured to:
if a page storage instruction input by a user is received, determining that a preset corresponding relation storage condition is met; alternatively, the first and second electrodes may be,
the second judging module includes:
the display submodule is used for displaying a storage button if the notification message is received;
the determining submodule is used for determining that the preset corresponding relation storage condition is met if first preset operation input by a user on the storage button is received;
the storage module is specifically configured to:
recording the corresponding relation between the link address of the display page of the first application and the first application in a preset browsing record; alternatively, the first and second electrodes may be,
if the link address corresponding to the first application does not exist in a preset browsing record, recording the corresponding relation between the link address of the display page of the first application and the first application in the browsing record; if the link address corresponding to the first application exists in the preset browsing record, updating the link address corresponding to the first application into the link address of the display page of the first application;
a link icon is displayed in a preset area of the mobile terminal;
the first judging module is specifically configured to:
and if the first application is in a foreground running state and third preset operation input by a user on the link icon is received, judging whether a link address corresponding to the first application exists in the browsing record.
6. The mobile terminal according to claim 5, wherein the first processing module is specifically configured to:
and if the number of the link addresses corresponding to the first application in the browsing record is at least two, loading the link address with the latest storage time in the link addresses corresponding to the first application.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the deleting module is used for deleting the corresponding relation of the loaded link address in the browsing record after the link address corresponding to the first application in the browsing record is loaded and the page corresponding to the loaded link address is displayed.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the display module is used for displaying a target link address in a target corresponding relation after judging whether the link address corresponding to the first application exists in the browsing record or not and if not; the target corresponding relation is the corresponding relation with the latest storage time in the browsing record;
the setting module is used for setting a second application in the target corresponding relation to be in a foreground running state if a second preset operation on the target link address input by a user is received;
and the second processing module is used for loading the target link address, displaying a page corresponding to the target link address and deleting the target corresponding relation in the browsing record.
9. A mobile terminal, characterized in that it comprises a processor, a memory, a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the page display method according to any one of claims 1 to 4.
CN201810031652.XA 2018-01-12 2018-01-12 Page display method and mobile terminal Active CN108287884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810031652.XA CN108287884B (en) 2018-01-12 2018-01-12 Page display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810031652.XA CN108287884B (en) 2018-01-12 2018-01-12 Page display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108287884A CN108287884A (en) 2018-07-17
CN108287884B true CN108287884B (en) 2020-06-16

Family

ID=62835252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810031652.XA Active CN108287884B (en) 2018-01-12 2018-01-12 Page display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108287884B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614562B (en) * 2018-11-27 2024-05-14 平安科技(深圳)有限公司 Mail display method, mail display device, computer equipment and storage medium
CN109976856B (en) * 2019-03-26 2022-12-20 维沃移动通信有限公司 Page display method and terminal equipment
CN110505281B (en) * 2019-07-30 2021-12-21 创新先进技术有限公司 Service entrance display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912226A (en) * 2016-04-11 2016-08-31 北京小米移动软件有限公司 Method and apparatus for displaying pages in application
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106528657A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Control method and device for browser skipping to application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912226A (en) * 2016-04-11 2016-08-31 北京小米移动软件有限公司 Method and apparatus for displaying pages in application
CN106503134A (en) * 2016-10-19 2017-03-15 广东欧珀移动通信有限公司 Browser jumps to the method for data synchronization and device of application program
CN106528657A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Control method and device for browser skipping to application program

Also Published As

Publication number Publication date
CN108287884A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN109343759B (en) Screen-turning display control method and terminal
CN110837327B (en) Message viewing method and terminal
CN110196667B (en) Notification message processing method and terminal
CN108897473B (en) Interface display method and terminal
CN109828705B (en) Icon display method and terminal equipment
CN108491148B (en) Application sharing method and terminal
CN109558046B (en) Information display method and terminal equipment
CN108228902B (en) File display method and mobile terminal
US20210200432A1 (en) Display method and mobile terminal
CN107665162B (en) Application processing method and mobile terminal
CN110502164B (en) Interface display method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN111338533A (en) Application program starting method and electronic equipment
CN110752981A (en) Information control method and electronic equipment
CN111610903A (en) Information display method and electronic equipment
CN111596990A (en) Picture display method and device
CN108287884B (en) Page display method and mobile terminal
CN111562959A (en) Icon management method and electronic equipment
CN109669656B (en) Information display method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN108366106B (en) Communication information updating method, management method, modification method and related equipment
CN108984062B (en) Content display method and terminal
CN108491125B (en) Operation control method of application store 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
GR01 Patent grant
GR01 Patent grant