CN110889064A - Page display method, device, equipment and storage medium - Google Patents

Page display method, device, equipment and storage medium Download PDF

Info

Publication number
CN110889064A
CN110889064A CN201911236933.XA CN201911236933A CN110889064A CN 110889064 A CN110889064 A CN 110889064A CN 201911236933 A CN201911236933 A CN 201911236933A CN 110889064 A CN110889064 A CN 110889064A
Authority
CN
China
Prior art keywords
page
user
information
browsed
content
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.)
Granted
Application number
CN201911236933.XA
Other languages
Chinese (zh)
Other versions
CN110889064B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911236933.XA priority Critical patent/CN110889064B/en
Publication of CN110889064A publication Critical patent/CN110889064A/en
Application granted granted Critical
Publication of CN110889064B publication Critical patent/CN110889064B/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/957Browsing optimisation, e.g. caching or content distillation

Abstract

The application discloses a page display method, a page display device, page display equipment and a page display storage medium, and relates to the technical field of page display. The specific implementation scheme is as follows: when detecting that the current application program APP enters a foreground running state, acquiring recorded pre-loading reference information corresponding to the current APP; determining whether to preload the page content historically browsed by the user through the current APP or not according to the preloading reference information; and if so, executing the preloading operation and displaying the preloaded content in the page. According to the technical scheme, the preloading reference information is introduced, the necessity of preloading operation is judged, preloading and page display of page contents which are browsed by the user through current APP history are carried out according to the judgment result indication, automatic recovery of history browsing pages when the APP in the foreground running state enters again is achieved, immersion browsing is finally achieved, and use experience of information browsing of the user through the APP is improved.

Description

Page display method, device, equipment and storage medium
Technical Field
The application relates to the computer technology, in particular to the technical field of page display.
Background
When a user browses a page by using terminal equipment, the situations of receiving an incoming call, receiving other messages or switching to other application programs exist, so that the display of the browsed page has the possibility of being interrupted passively; or when the user actively quits the current APP (Application) presenting the browsed page, the display of the browsed page is interrupted actively, and then the current APP enters a background inactive state or is completely closed.
How to enable a user to continue browsing the content which is browsed last time is a problem to be solved urgently at present after the current APP enters a background inactive state or is completely closed.
Disclosure of Invention
The embodiment of the application provides a page display method, a page display device and a page display storage medium, so that automatic recovery of a browsed page is realized, immersive browsing is finally realized, and the use experience of a user is improved.
In a first aspect, an embodiment of the present application provides a page display method, including:
when detecting that the current application program APP enters a foreground running state, acquiring recorded pre-loading reference information corresponding to the current APP;
determining whether to preload the page content browsed by the current APP history by the user or not according to the preloading reference information;
and if so, preloading the page content browsed by the user through the current APP history, and displaying the preloaded content in the page.
According to the embodiment of the application, when the current APP is detected to enter the foreground running state, the recorded pre-loading reference information corresponding to the current APP is obtained; determining whether to load the page content browsed by the user through the current APP history according to the pre-loading reference information; and when the result is yes, preloading the page content which is browsed by the user through the current APP history, and displaying the preloaded content in the page. According to the technical scheme, the necessity of preloading operation is judged by introducing the preloading reference information, and the preloading and the page display of the page content browsed by the user through the current APP history are indicated according to the judgment result, so that the automatic recovery of the history browsing page when the APP in the foreground running state enters again is realized, the browsing efficiency is improved, the immersive browsing is finally realized, and the use experience of the user for using the APP to browse information is improved.
Optionally, the preloaded reference information includes: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
In an optional implementation manner in the above application, the preloaded reference information is refined to enrich a determination manner of performing the preload necessity determination according to the preloaded reference information.
Optionally, determining whether to preload the page content historically browsed by the user through the current APP according to the preloading reference information includes:
if determining that a preloading permission item is configured for a page historically browsed by a user through the current APP according to the page preloading configuration information, determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information and the historical page content heat information;
and if determining that the preloading permission item is not configured for the page browsed by the user through the current APP history according to the page preloading configuration information, determining not to preload the page content browsed by the user through the current APP history.
In an optional implementation manner in the foregoing application, the preloading necessity determination operation is refined into a determination of preloading permission items according to the page preloading configuration information, and the preloading determination operation on the page content historically browsed by the user through the current APP is indicated according to the determination result, so that a trigger mechanism of the preloading operation is enriched.
Optionally, determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information, and the historical page content heat information, includes:
determining whether all the page contents browsed by the current APP history by the user are completely loaded according to the history page browsing state information;
if all loading is determined to be completed, judging whether an adjacent page having an association relation with a page historically browsed by a user through a current APP exists, and if so, determining whether to pre-load the page content of the adjacent page according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if not, terminating the page content preloading operation;
and if the situation that all the page contents are not completely loaded is determined, determining whether the page contents historically browsed by the user through the current APP are preloaded or not according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information.
In an optional implementation manner in the foregoing application, the preloading necessity determination operation is refined into the preloading of the page historically browsed by the user through the current APP and the preloading of the adjacent page, so that the range of the preloaded content is expanded, and a possibility is provided for loading the adjacent page of the historically browsed page.
Optionally, the historical page content timeliness information includes: the time length between the current time and the time when the user browses the page content through the current APP history; determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the historical page content timeliness information, wherein the step of pre-loading comprises the following steps:
judging whether the time length is greater than a preset time length value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
According to the optional implementation manner in the application, the preloading necessity judgment operation is performed according to the historical page content timeliness information, the judgment is performed according to the browsing interval time length, and the triggering mechanism of the preloading operation is enriched, so that the purpose of screening the page content needing preloading through the browsing interval time length is achieved, and the effective control of the preloaded page content is realized.
Optionally, the history page content heat information includes: the current popularity of the page content historically browsed by the user through the current APP;
determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the history page content heat information, wherein the step of pre-loading comprises the following steps:
judging whether the current heat is greater than a preset heat value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
In an optional implementation manner in the above application, the pre-loading necessity judgment operation is performed according to the history page content heat information, and is detailed into judgment according to the current heat of the browsing content, so that a trigger mechanism of the pre-loading operation is enriched, the purpose of screening the page content to be pre-loaded according to the current heat of the browsing content is achieved, and thus the effective control on the pre-loaded page content is realized.
Optionally, the user page browsing habit information includes: the user browses the page through the current APP in a habit browsing time period; the habit browsing time period is determined according to the historical time of the user browsing the same page for multiple times;
determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the user page browsing habit information, wherein the step of pre-loading comprises the following steps:
judging whether the current time belongs to the habit browsing time period or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
According to the optional implementation mode in the application, the preloading necessity judgment operation is performed on the user page browsing habit information, the judgment is performed according to the habit browsing time period of the user browsing the page, the triggering mechanism of the preloading operation is enriched, the purpose of screening the page content needing preloading through the habit browsing time period of the user browsing the page is achieved, and therefore the effective control on the preloaded page content is achieved.
Optionally, the user page browsing habit information includes: the user browses the position range through the habit of browsing the page through the current APP; the habit browsing position range is determined according to the historical positions of the user when browsing the same page for multiple times;
determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the historical position information, wherein the step of pre-loading comprises the following steps:
judging whether the current position of the user belongs to the habit browsing position range or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
According to the optional implementation mode in the application, the preloading necessity judgment operation is carried out on the user page browsing habit information, the judgment is carried out according to the habit browsing position range of the user browsing page, the triggering mechanism of the preloading operation is enriched, the purpose of screening the page content needing preloading through the habit browsing position of the user browsing page is achieved, and therefore the effective control of the preloaded page content is achieved.
Optionally, the user page browsing habit information includes: behavior operation information of the user on the historical preloaded page;
determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the user page browsing habit information, wherein the step of pre-loading comprises the following steps:
estimating whether the user can directly execute a returning or closing operation on the preloaded page according to the behavior operation information;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the pre-estimated result.
According to the optional implementation manner in the application, the preloading necessity judgment operation is performed on the user page browsing habit information, the judgment is detailed according to the behavior operation information of the historically preloaded page by the user, the trigger mechanism of the preloading operation is enriched, the purpose of screening the page content to be preloaded through the behavior operation information of the historically preloaded page by the user is achieved, and therefore the effective control on the preloaded page content is achieved.
Optionally, before determining whether to preload the page content historically browsed by the user through the current APP according to the preloading reference information, the method further includes:
determining whether the content of the page is long-term continuous reading content or not according to at least one item of attribute information of a search query statement corresponding to the page browsed by the current APP history, correlation information of the page and layout information of the page;
and if so, triggering and executing the operation of determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information.
In an optional implementation manner of the application, the content of the user history browsing page is evaluated continuously for a long time, and the preloading necessity operation is triggered according to the evaluation result, so that the purpose of primarily screening the page content to be preloaded according to the reading content property is achieved, and the effective control of the preloaded page content is realized.
In a second aspect, an embodiment of the present application further provides a page display apparatus, including:
the reference information acquisition module is used for acquiring the recorded pre-loaded reference information corresponding to the current APP when the current APP is detected to enter a foreground running state;
the reference information judging module is used for determining whether to preload the page content browsed by the current APP history by the user according to the preloading reference information;
and the preloading module is used for preloading the page content browsed by the user through the current APP history and displaying the preloaded content in the page when the page content browsed by the user through the current APP history is determined to be preloaded.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute a page display method as provided in an embodiment of the first aspect.
In a fourth aspect, embodiments of the present application further provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute a page display method as provided in the first aspect.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart of a page display method in a first embodiment of the present application;
FIG. 2 is a flowchart of a page display method according to a second embodiment of the present application;
fig. 3 is a flowchart of a page display method in the third embodiment of the present application;
fig. 4 is a structural diagram of a page display apparatus according to a fourth embodiment of the present application;
fig. 5 is a block diagram of an electronic device for implementing a page display method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Example one
Fig. 1 is a flowchart of a page display method in a first embodiment of the present application, where the first embodiment of the present application is applicable to a situation where, in a process where a user browses page contents through an APP, when the user performs the APP again after the APP enters a background inactive state or is completely closed, the page display is performed in the APP. The method is executed by a page display device, which is implemented by software and/or hardware and is specifically configured in the electronic equipment.
A page display method as shown in fig. 1 includes:
s101, when the current APP is detected to enter a foreground running state, pre-loading reference information corresponding to the recorded current APP is obtained.
Optionally, the current APP enters the foreground operating state, which may be entered in a cold start manner, that is, the current APP is switched from the closed state to the open state. Or optionally, the current APP enters a foreground running state, and can also enter in a hot start mode, that is, the current APP is switched from a background inactive state to a foreground active state.
Wherein the preloaded reference information includes: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
The historical page browsing state information comprises a loading state of page contents which are browsed by a user through the current APP history, and comprises a finished state and an unfinished state.
The user page browsing habit information comprises at least one of a habit browsing time period when a user browses a page through the current APP, a habit browsing position range when the user browses the page through the current APP, and behavior operation information of the user on a page preloaded by history. The habit browsing time period can be determined according to the historical time of the user browsing the same page for multiple times; the habitual browsing position range can be determined according to the historical positions of the users when the users browse the same page for multiple times; the behavior operation information may be behavior operations including a browsing behavior, a returning behavior, a closing behavior, and the like according to feedback of the user to the preloaded page for multiple times.
The time efficiency information of the historical page content, and the time length between the current time and the time when the user browses the page content through the current APP history.
And the historical page content hot degree information comprises the current hot degree of the page content browsed by the user through the current APP history.
The page preloading configuration information comprises a preloading permission item added in the page configuration of the current APP history browsing page by the user, and is used for representing whether the current APP history browsing page is allowed to be preloaded or not.
S102, according to the preloading reference information, determining whether to preload the page content browsed by the user through the current APP history.
For example, according to the preloading reference information, determining whether to preload the page content historically browsed by the user through the current APP can be implemented in at least one of the following manners:
the first method is as follows: if the loading state of the page contents historically browsed by the user through the current APP in the historical page browsing state information is an unfinished state, determining that preloading needs to be carried out on the page contents historically browsed by the user through the current APP; and if the loading state of the page contents which are browsed by the user through the current APP history in the history page browsing state information is a finished state, determining that the page contents which are browsed by the user through the current APP history do not need to be preloaded.
The second method comprises the following steps: if the habit browsing time period of the user browsing the page through the current APP in the user page browsing habit information is matched with the time period of the current APP entering the foreground running state, determining that the page content historically browsed by the user through the current APP needs to be preloaded; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history.
The third method comprises the following steps: if the habit browsing position of the user browsing the page through the current APP in the user page browsing habit information is matched with the browsing position of the current APP entering the foreground running state, determining that the page content historically browsed by the user through the current APP needs to be preloaded; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history.
The method is as follows: if the fact that the user continues to browse the page content browsed through the current APP history is estimated according to behavior operation information in the user page browsing habit information, determining that preloading needs to be carried out on the page content browsed through the current APP history by the user; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history. Illustratively, the user browsing behavior can be estimated according to the statistics of the probability of the user feedback behavior and the statistical result; or predicting the user browsing behavior according to a neural network model trained based on the user behavior operation information.
The fifth mode is as follows: if the time length from the current time to the page browsed by the user through the current APP in the historical page content timeliness information is not larger than a preset time length value, determining that the page content browsed by the user through the current APP in history needs to be preloaded; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history. The preset time length value can be set by a technician or a user according to an experience value as required. For example, if the browsing page is time-sensitive information such as a vehicle limit number, news current affairs, or weather, the time-sensitivity determination can be performed through the time length.
The method six: if the current popularity of the page content historically browsed by the user through the current APP in the historical page content popularity information is larger than a preset popularity value, determining that the page content historically browsed by the user through the current APP needs to be preloaded; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history. The preset heat value can be set by a technician or a user according to an experience value as required. Illustratively, if the browsed page is the content of a heat sudden hot spot of entertainment, a head-time affair and the like, the timeliness judgment can be carried out through the current heat.
The method is as follows: if the page preloading configuration information of the current APP is configured with the preloading permission item aiming at the page historically browsed by the user, determining that the page content historically browsed by the user through the current APP needs to be preloaded; otherwise, determining that preloading is not needed to be performed on the page content browsed by the user through the current APP history.
It should be noted that, when the preload determination is performed by the at least two methods, each determination method is executed serially, that is, when the results of each method are all required, the subsequent preload operation is triggered, otherwise, the preload operation is not performed.
And S103, if yes, preloading page content browsed by the user through the current APP history, and displaying the preloaded content in a page.
The pre-loaded page content that the user browses through the current APP history can be the page content that the user uses the current APP at a certain time before and the current APP is displayed when entering a non-foreground running state. For example, if the user uses the current APP this time and enters a foreground operating state in a cold start mode, the pre-loaded page content may be understood as content in a page displayed when the user quits using the current APP for some time before; if the user uses the current APP to enter the foreground running state in a hot start mode, the pre-loaded page content can be understood as the content in the page displayed when the user uses the current APP to enter the background non-active state for a certain time.
Typically, the pre-loaded page content that the user browses through the current APP history may be the page content when the user browses the page using the current APP last time.
When determining that the page content browsed by the user through the current APP history needs to be preloaded, executing preloading operation, and displaying the preloaded content on a page; and when determining that the page content browsed by the user through the current APP history does not need to be preloaded, directly displaying the content which is preloaded last time, or directly entering the current APP home page and displaying the home page content.
According to the embodiment of the application, when the current APP is detected to enter the foreground running state, the recorded pre-loading reference information corresponding to the current APP is obtained; determining whether to load the page content browsed by the user through the current APP history according to the pre-loading reference information; and when the result is yes, preloading the page content which is browsed by the user through the current APP history, and displaying the preloaded content in the page. According to the technical scheme, the necessity of preloading operation is judged by introducing the preloading reference information, and the preloading and the page display of the page content browsed by the user through the current APP history are indicated according to the judgment result, so that the automatic recovery of the history browsing page when the APP in the foreground running state enters again is realized, the browsing efficiency is improved, the immersive browsing is finally realized, and the use experience of the user for using the APP to browse information is improved.
On the basis of the technical solutions of the above embodiments, in order to reduce unnecessary preloading operations and reduce the experience of the user in using the APP, preliminary screening may be performed on the necessity of preloading a page that is historically browsed by the user through the current APP, so as to retain long-term continuous reading content for subsequent preloading determination operations, thereby reducing the frequency or number of user searches or interactions in the process of reading the long-term continuous reading content. By way of example, long-term continuous reading includes: literary works, movie and television plays, and the like.
For example, before determining whether to preload the content of the page browsed by the user through the current APP history according to the preloading reference information, determining whether the content of the page is long-term continuous reading content according to at least one of attribute information of a search query statement corresponding to the page browsed by the user through the current APP history, relevance information of the page, and layout information of the page; and if so, triggering and executing the operation of determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information.
Optionally, the attribute information of the search query statement includes a query type of the search query statement; correspondingly, when a user uses the APP associated with the search engine to perform search query, whether the content is read for long-term persistence can be determined according to the query type of the search query statement. For example, question-and-answer type search query statements are non-long-term, persistently read content. The correspondence between the attribute information of the search query statement and the long-term continuous reading content may be preset by a technician according to experience values, may also be determined by performing cluster analysis on mass data, and may of course be determined by other methods in the prior art, which is not described herein again.
Optionally, the relevance information of the page includes at least one of relevance of link addresses in the page, reference relationship of the page, relevance of page content, and the like. Correspondingly, if the page browsed by the user through the current APP history includes the link address, or further, if the correlation between the page content corresponding to the link address and the page content browsed by the user through the history is larger than a first set threshold value, the page content browsed by the user through the history is determined to be long-term continuous reading content, otherwise, the page content browsed by the user through the history is determined to be non-long-term continuous reading content. If the page browsed by the user through the current APP history includes reference relations corresponding to other contents, or further, if the correlation between the referenced contents and the page browsed by the user through the history is larger than a second set threshold value, determining that the page browsed by the user through the history is long-term continuous reading contents, or else, determining that the page browsed by the user through the history is non-long-term continuous reading contents. And if the correlation between the page historically browsed by the user through the current APP and the adjacent page content is larger than a third set threshold value, determining that the page content historically browsed by the user is long-term continuous reading content, and otherwise, determining that the page content historically browsed by the user is non-long-term continuous reading content. The first set threshold, the second set threshold and the third set threshold may be set by a technician or a user according to needs or experience values.
It should be noted that when the determination of the long-term continuous reading content is performed according to at least two of the correlation of the link address in the page, the reference relationship of the page, the correlation of the page content, and the like, each determination mode needs to be executed serially, that is, when the result of each mode is the long-term continuous reading content, it is determined that the page content browsed by the user through the current APP history is the long-term continuous reading content.
Optionally, the layout information of the page includes at least one of a catalog, a cast, a storyline introduction, a chapter title, and the like. Accordingly, when the page layout is frame information or brief information such as a catalogue, a cast, a plot introduction or a chapter title and the like associated with other contents, the page contents browsed in the history can be determined to be long-term continuous reading contents, and otherwise, the page contents are non-long-term continuous reading contents.
It can be understood that the pre-loading judgment of the page content browsed by the user through the current APP history is carried out through the pre-loading reference information, the page content browsed by the user through the current APP history is pre-loaded according to the judgment result, the continuous browsing of the long-term continuous reading content is effectively realized, the ' same content is searched for multiple times ' is converted into ' automatic recovery loading of the content needing to be browsed, the operation times of the user are simplified, the interaction time of the whole flow is prolonged, partial repeated worthless operation is avoided, and meanwhile, the resource consumption caused by page loading and display corresponding to the worthless operation is reduced.
In the embodiment of the application, before the preloading judgment, at least one item of attribute information of a search query sentence, page correlation information and page layout information is added to judge whether the page content is long-term continuous content, and triggers a decision operation to preload upon determining long-term persistence content, such that prior to the preload decision, the content needing to be preloaded is preliminarily screened, so that the situation that after the content which is not long-term continuous is preloaded and displayed, a user needs to manually perform page returning or closing operation is avoided, meanwhile, through the preloading and page display of the long-term continuous content, the times or frequency of user searching or interaction are reduced, the interaction time of the whole process is shortened, and the worthless interaction is avoided, so that the occupation of network resources is reduced, and the use experience of the user is improved.
Example two
Fig. 2 is a flowchart of a page display method in the second embodiment of the present application, and the second embodiment of the present application performs optimization and improvement on the basis of the technical solutions of the foregoing embodiments.
Further, the operation "determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information" is refined to "if it is determined that a preloading permission item is configured for the page browsed by the user through the current APP history according to the page preloading configuration information, determining whether to preload the page content browsed by the user through the current APP history according to at least one of the history page browsing state information, the user page browsing habit information, the history page content timeliness information, and the history page content heat information; and if determining that the preloading permission item is not configured for the page browsed by the user through the current APP history according to the page preloading configuration information, determining not to preload the page content browsed by the user through the current APP history so as to perfect a judging mechanism of the preloading necessity.
A page display method as shown in fig. 2 includes:
s201, when detecting that the current application program APP enters a foreground running state, acquiring the recorded pre-loading reference information corresponding to the current APP. Wherein the preloading reference information includes: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
S202, determining whether a preloading permission item exists in the page configuration of the current APP historical browsing for the user according to the page preloading configuration information; if yes, go to S203; otherwise, S205 is performed.
If the user configures a pre-loading permission item through a page historically browsed by the current APP, indicating that the page allows pre-loading operation and needs pre-loading necessity judgment operation; and if the user does not configure the preloading permission item through the page browsed by the current APP history, determining that the page is not allowed to be preloaded.
S203, determining whether to preload the page content browsed by the user through the current APP history according to other information except the page preloading configuration information in the preloading reference information; if yes, executing S204; otherwise, S205 is performed.
In an optional implementation manner of the embodiment of the present application, determining whether to preload the page content historically browsed by the user through the current APP according to other information besides the page preloading configuration information in the preloading reference information may be: and determining whether to pre-load the page content which is historically browsed by the user through the current APP according to the historical page browsing state information, and judging the pre-loading necessity through the historical page browsing state so as to indicate the pre-loading operation of the page. The historical page browsing state information comprises loading states of the historical browsing page contents, including a completion state and an incomplete state.
Exemplarily, according to the historical page browsing state information, determining whether all the page contents browsed by the user through the current APP history are completely loaded; if not, determining that the page content browsed by the user through the current APP history needs to be preloaded; and if all the loading is finished, determining that the page content browsed by the user through the current APP history does not need to be preloaded. Specifically, if the loading state of the content of the historically viewed page in the historical page browsing state information is an unfinished state, representing that the loading is not completely finished; and if the loading state of the page content browsed historically is a finished state, representing that all loading is finished.
In another optional implementation manner of the embodiment of the present application, determining whether to preload the page content historically browsed by the user through the current APP according to other information besides the page preloading configuration information in the preloading reference information may be: and determining whether to pre-load the page content historically browsed by the user through the current APP according to the historical page content timeliness information, and judging the pre-loading necessity according to the historical page content timeliness information so as to indicate the pre-loading operation of the page. And the historical page content timeliness information comprises the time length between the current time and the time when the user browses the page content through the current APP history.
Exemplarily, judging whether the time length between the current time and the time when the user browses the page content through the current APP history is greater than a preset time length value; and determining whether to pre-load the page content browsed by the user through the current APP history according to the judgment result. Specifically, if the time length is greater than a preset time length value, determining to load the page content browsed by the user through the current APP history; otherwise, determining not to load the page content browsed by the user through the current APP history. Wherein, the preset time length value is set by a technician or a user according to the requirement or experience value.
For example, if the page content historically browsed by the user through the current APP is time-sensitive information such as a vehicle limit number, news current affairs, weather and the like, if the time difference between the time when the current APP enters the foreground operating state and the time when the user historically browses the page content through the current APP is greater than 24 hours, it is determined that the page content historically browsed is invalid, and then it is determined that the page content not historically browsed is preloaded.
In another optional implementation manner of the embodiment of the present application, determining whether to preload the page content historically browsed by the user through the current APP according to other information besides the page preloading configuration information in the preloading reference information may be: and determining whether to pre-load the page content historically browsed by the user through the current APP according to the historical page content heat information, and judging the pre-loading necessity through the historical page content heat information so as to indicate the pre-loading operation of the page content historically browsed. And the historical page content hot degree information comprises the current hot degree of the page content browsed by the user through the current APP history.
Exemplarily, judging whether the current heat of the page content browsed by the user through the current APP history is greater than a preset heat value; and determining whether to pre-load the page content browsed by the user through the current APP history according to the judgment result. Specifically, if the current heat is greater than the set heat, determining to load the page content browsed by the user through the current APP history; otherwise, determining not to load the page content browsed by the user through the current APP history. Wherein the set heat value is set by a technician or a user as needed or an empirical value.
For example, if the page content historically browsed by the user through the current APP is a hot spot content suddenly generated by heat, such as an entertainment hot search, a current event, and the like, it may be determined whether the page content historically browsed at the current time is a hot content according to the current heat corresponding to the page content historically browsed when the current APP enters a foreground operating state, and if not, it indicates that the page content historically browsed is invalid, and it is determined that the page content historically browsed is not preloaded.
In another optional implementation manner of the embodiment of the present application, determining whether to preload the page content historically browsed by the user through the current APP according to other information besides the page preloading configuration information in the preloading reference information may be: and determining whether to pre-load the page content historically browsed by the user through the current APP according to the user page browsing habit information, and judging the pre-loading necessity through the user page browsing habit information so as to indicate the pre-loading operation of the page content historically browsed.
The user page browsing habit information comprises: and the user browses at least one of the habit browsing time period of the page through the current APP, the habit browsing position range of the page through the current APP and behavior operation information of the page preloaded by the user to history. The habit browsing time period is determined according to the historical time of the user browsing the same page for multiple times; the habitual browsing position range is determined according to the historical positions of the users when browsing the same page for multiple times.
Optionally, determining whether to preload the page content historically browsed by the user through the current APP according to the user page browsing habit information may be: judging whether the current time belongs to the habit browsing time period or not; and determining whether to pre-load the page content browsed by the user through the current APP history according to the judgment result. Specifically, if the current time belongs to a habit browsing time period, determining that the page content browsed by the user through the current APP history needs to be preloaded; otherwise, determining not to load the page content browsed by the user through the current APP history.
For example, if a user usually performs entertainment activities such as network reading, movie watching, or e-commerce consumption in a time period of 20:00 to 22:00, when the user runs a reading type APP, a video type APP, or a shopping type APP in the time period, it is determined that the page content of the corresponding category browsed through the APP history is preloaded, and when the corresponding type APP runs in other time periods, it is determined that the page content of the corresponding category browsed through the APP history is not preloaded.
Certainly, in order to be closer to the use habits of the users and improve the use convenience of the users, when the current time period belongs to a habit browsing time period (such as 20: 00-22: 00) and the time of using the page content browsed by the current APP history by the users does not belong to the habit browsing time period (such as 8: 00-9: 00), determining not to pre-load the page content (browsed by 8: 00-9: 00) browsed by the current APP history; or determining to pre-load the page content (the page content browsed by 20: 00-22: 00) corresponding to the current habit browsing time period.
Or optionally, determining whether to preload the page content historically browsed by the user through the current APP according to the user page browsing habit information may be: judging whether the current position of the user belongs to the habit browsing position range or not; and determining whether to pre-load the page content browsed by the user through the current APP history according to the judgment result. Specifically, if the current position belongs to a habit browsing position, determining that the page content browsed by the user through the current APP history needs to be preloaded; otherwise, determining not to load the page content browsed by the user through the current APP history.
For example, when a user usually enters a corresponding page for commodity information check at home using a specific drainage inlet of a certain shopping APP, when the current location of the user is a home address, and when the user enters the shopping APP, it is determined that the page content corresponding to the specific drainage inlet is preloaded; and when the current position of the user is not a home address, such as a company address, determining not to preload the page content corresponding to the specific drainage inlet.
Or optionally, determining whether to preload the page content historically browsed by the user through the current APP according to the user page browsing habit information may be: estimating whether the user can directly execute a returning or closing operation on the preloaded page according to the behavior operation information; and determining whether to pre-load the page content browsed by the user through the current APP history according to the pre-estimated result. Specifically, if it is estimated that the user can directly perform a return or close operation on the content to be preloaded at this time according to the behavior operation information, it is determined that the page content browsed by the user through the current APP history is not loaded; otherwise, determining that the page content browsed by the user through the current APP history needs to be preloaded.
And S204, preloading page content browsed by the user through the current APP history, and displaying the preloaded content in a page.
S205, determining not to pre-load the page content browsed by the user through the current APP history.
According to the method and the device, the pre-loaded content is preliminarily screened through the page pre-loading configuration information, the pre-loading permission item is judged through the page pre-loading configuration information, the pre-loading judgment operation of the page content historically browsed by the user through the current APP is triggered according to the judgment result, the page pre-loading operation can be carried out according to the user requirement, inconvenience brought to the user due to excessive pre-loading is reduced, and the use experience of the user is improved.
EXAMPLE III
Fig. 3 is a flowchart of a page display method in the third embodiment of the present application, and the third embodiment of the present application performs optimization and improvement on the basis of the technical solutions of the foregoing embodiments.
Further, the operation of determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information and the historical page content heat information is refined into the operation of determining whether to completely load the page content historically browsed by the user through the current APP according to the historical page browsing state information; if all loading is determined to be completed, judging whether an adjacent page having an association relation with a page historically browsed by a user through a current APP exists, and if so, determining whether to pre-load the page content of the adjacent page according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if not, terminating the page content preloading operation; and if the fact that all the pages are loaded is determined to be not completed, determining whether the page content historically browsed by the user through the current APP is preloaded according to at least one item of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information so as to perfect a preloading mechanism of the page content and provide convenience for loading the historical browsing page or the adjacent pages of the historical browsing page.
A page display method as shown in fig. 3 includes:
s301, when detecting that the current application program APP enters a foreground running state, acquiring recorded pre-loading reference information corresponding to the current APP; wherein the preloading reference information includes: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
S302, determining whether a preloading permission item exists in the page configuration of the current APP historical browsing by the user according to the page preloading configuration information; if yes, executing S303; otherwise, S308 is performed.
And screening the pre-loaded content once according to the pre-loading permission items configured on the page by the user, thereby reducing the pre-loading operation of unnecessary content.
S303, determining whether all the page contents browsed by the current APP history by the user are completely loaded according to the history page browsing state information; if yes, go to S304; otherwise, S309 is performed.
It can be understood that when it is determined that the page content browsed by the user through the current APP history is completely loaded, it indicates that the repeated preloading operation on the history browsing page is not needed, and therefore, the related content of the preloading operation on the adjacent page of the history browsing page can be executed subsequently; when it is determined that the page content browsed by the user through the current APP history is not completely loaded, the history browsing page may need to be preloaded, so that the related content with the pre-loading necessity judgment on the history browsing page may be executed subsequently.
S304, judging whether an adjacent page having an association relation with a page browsed by a user through the current APP history exists or not; if yes, go to S305; otherwise, S308 is performed.
Wherein the adjacent page may be a previous page and/or a next page. Typically, the adjacent page may be set as the next page.
It should be noted that, when it is determined that the contents of the page browsed by the user through the current APP history are completely loaded, the pre-loading determination may be performed on the adjacent page of the page browsed by the history. In order to guarantee the effectiveness of the subsequent preloading operation, the existence of the adjacent page needs to be judged before the preloading of the adjacent page is carried out. If there is no adjacent page in the historically viewed page, the preloading operation of the adjacent page cannot be executed, so that the necessity determination of preloading the adjacent page is no longer meaningful, and the execution of the page content preloading termination operation is directly skipped.
S305, determining whether to pre-load the page content of the adjacent page according to at least one item of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if yes, executing S306; otherwise, S307 is executed.
When the pre-loading necessity of the adjacent page is determined, the determination mechanism is the same as the determination mechanism for the pre-loading necessity of the current APP history browsing page, and the determination may be performed according to at least one of the user page browsing habit information, the history page content timeliness information, and the history page content heat information, and the specific determination manner may refer to the foregoing embodiment, and is not described herein again.
S306, preloading page content of an adjacent page of the current APP history browsing page.
S307, page content of an adjacent page of the current APP history browsing page is not preloaded.
And S308, terminating the preloading operation of the page content.
S309, determining whether to preload the page content historically browsed by the user through the current APP or not according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if yes, go to S310; otherwise, S311 is performed.
For a specific way of performing the pre-loading determination on the page content historically browsed by the user through the current APP, reference may be made to the foregoing embodiment, which is not described herein again.
S310, preloading page content browsed by the user through the current APP history, and displaying the preloaded content in a page.
And S311, not preloading page content browsed by the user through the current APP history.
The method comprises the steps of refining preloading judgment operation into the step of determining whether all the page contents historically browsed by a user through the current APP are completely loaded according to historical page browsing state information, when the page is completely loaded, performing preloading judgment on adjacent pages of the page, and triggering the preloading operation of the contents of the adjacent pages of the page according to a judgment result; and when all the loading is not completed, performing preloading judgment on the page, and triggering the preloading operation on the content of the page according to the judgment result. By the technical scheme, the page browsed by the user through the current APP history or the adjacent page of the history browsed page can be preloaded, the range of the loadable page is expanded, and a page preloading mechanism is further enriched and perfected.
Example four
Fig. 4 is a structure diagram of a page display device in the fourth embodiment of the present application, and the embodiment of the present application is suitable for a situation where, in a process where a user browses page contents through an APP, the APP enters a background inactive state or is completely closed, and when the user performs the APP again, page display is performed in the APP. The apparatus is implemented in software and/or hardware and is specifically configured in an electronic device.
A page display apparatus 400 as shown in fig. 4, comprising: a reference information acquisition module 401, a reference information judgment module 402 and a preloading module 403. Wherein the content of the first and second substances,
a reference information obtaining module 401, configured to obtain, when it is detected that the current APP enters a foreground operating state, pre-loaded reference information corresponding to the recorded current APP;
a reference information determining module 402, configured to determine whether to preload the page content historically browsed by the user through the current APP according to the preloaded reference information;
the preloading module 403 is configured to, when it is determined that the page content browsed through the current APP history by the user needs to be preloaded, preload the page content browsed through the current APP history by the user, and display the preloaded content in a page.
According to the embodiment of the application, when the reference information acquisition module detects that the current APP enters the foreground running state, the recorded pre-loaded reference information corresponding to the current APP is acquired; determining whether to load the page content browsed by the user through the current APP history or not according to the pre-loaded reference information through a reference information judgment module; and when the result of the determination is yes, preloading the page content browsed by the user through the current APP history, and displaying the preloaded content in the page. According to the technical scheme, the necessity of preloading operation is judged by introducing the preloading reference information, and the preloading and the page display of the page content browsed by the user through the current APP history are indicated according to the judgment result, so that the automatic recovery of the history browsing page when the APP in the foreground running state enters again is realized, the browsing efficiency is improved, the immersive browsing is finally realized, and the use experience of the user for using the APP to browse information is improved.
Further, the preloaded reference information includes: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
Further, the reference information determining module 402 is specifically configured to:
if determining that a preloading permission item is configured for a page historically browsed by a user through the current APP according to the page preloading configuration information, determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information and the historical page content heat information;
and if determining that the preloading permission item is not configured for the page browsed by the user through the current APP history according to the page preloading configuration information, determining not to preload the page content browsed by the user through the current APP history.
Further, the reference information determining module 402, when determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information, and the historical page content heat information, is specifically configured to:
determining whether all the page contents browsed by the current APP history by the user are completely loaded according to the history page browsing state information;
if all loading is determined to be completed, judging whether an adjacent page having an association relation with a page historically browsed by a user through a current APP exists, and if so, determining whether to pre-load the page content of the adjacent page according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if not, terminating the page content preloading operation;
and if the situation that all the page contents are not completely loaded is determined, determining whether the page contents historically browsed by the user through the current APP are preloaded or not according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information.
Further, the historical page content timeliness information includes: the current time and the time length of the user browsing the page content through the current APP history;
correspondingly, the reference information determining module 402, when determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the historical page content timeliness information, is specifically configured to:
judging whether the time length is greater than a preset time length value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
Further, the historical page content heat information includes: the current popularity of the page content historically browsed by the user through the current APP;
correspondingly, the reference information determining module 402, when determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the history page content heat information, is specifically configured to:
judging whether the current heat is greater than a preset heat value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
Further, the user page browsing habit information includes: the user browses the page through the current APP in a habit browsing time period; the habit browsing time period is determined according to the historical time of the user browsing the same page for multiple times;
correspondingly, the reference information determining module 402, when determining whether to pre-load the page content that the user browses through the current APP history or the page content of the adjacent page according to the user page browsing habit information, is specifically configured to:
judging whether the current time belongs to the habit browsing time period or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
Further, the user page browsing habit information includes: the user browses the position range through the habit of browsing the page through the current APP; the habit browsing position range is determined according to the historical positions of the user when browsing the same page for multiple times;
correspondingly, the reference information determining module 402, when determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the historical location information, is specifically configured to:
judging whether the current position of the user belongs to the habit browsing position range or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
Further, the user page browsing habit information includes: behavior operation information of the user on the historical preloaded page;
correspondingly, the reference information determining module 402, when determining whether to pre-load the page content that the user browses through the current APP history or the page content of the adjacent page according to the user page browsing habit information, is specifically configured to:
estimating whether the user can directly execute a returning or closing operation on the preloaded page according to the behavior operation information;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the pre-estimated result.
Further, the device further comprises a continuous reading judgment module, configured to:
before determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information, determining whether the content of the page is long-term continuous reading content according to at least one of attribute information of a search query statement corresponding to the page browsed by the user through the current APP history, correlation information of the page and layout information of the page;
if yes, triggering the reference information judgment module 402 to execute an operation of determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information.
The page display device can execute the page display method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of executing the page display method.
EXAMPLE five
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 5 is a block diagram of an electronic device implementing the page display method according to the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the page display method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the page display method provided by the present application.
The memory 502, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the page display method in the embodiment of the present application (for example, the reference information acquiring module 401, the reference information determining module 402, and the preloading module 403 shown in fig. 4). The processor 501 executes various functional applications of the server and data processing, i.e., implements the page display method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 502.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of an electronic device that performs the page display method, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 502 may optionally include memory located remotely from the processor 501, which may be connected over a network to an electronic device that performs the page display method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device performing the page display method may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of an electronic apparatus performing the page display method, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, when the current APP is detected to enter the foreground running state, the recorded pre-loading reference information corresponding to the current APP is obtained; determining whether to load the page content browsed by the user through the current APP history according to the pre-loading reference information; and when the result is yes, preloading the page content which is browsed by the user through the current APP history, and displaying the preloaded content in the page. According to the technical scheme, the necessity of preloading operation is judged by introducing the preloading reference information, and the preloading and the page display of the page content browsed by the user through the current APP history are indicated according to the judgment result, so that the automatic recovery of the history browsing page when the APP in the foreground running state enters again is realized, the browsing efficiency is improved, the immersive browsing is finally realized, and the use experience of the user for using the APP to browse information is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. A page display method, comprising:
when detecting that the current application program APP enters a foreground running state, acquiring recorded pre-loading reference information corresponding to the current APP;
determining whether to preload the page content browsed by the current APP history by the user or not according to the preloading reference information;
and if so, preloading the page content browsed by the user through the current APP history, and displaying the preloaded content in the page.
2. The method of claim 1, wherein preloading the reference information comprises: at least one of historical page browsing status information, user page browsing habit information, historical page content timeliness information, historical page content heat information, and page preloading configuration information.
3. The method according to claim 2, wherein determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information, and the historical page content heat information comprises:
determining whether all the page contents browsed by the current APP history by the user are completely loaded according to the history page browsing state information;
if all loading is determined to be completed, judging whether an adjacent page having an association relation with a page historically browsed by a user through a current APP exists, and if so, determining whether to pre-load the page content of the adjacent page according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information; if not, terminating the page content preloading operation;
and if the situation that all the page contents are not completely loaded is determined, determining whether the page contents historically browsed by the user through the current APP are preloaded or not according to at least one of the user page browsing habit information, the historical page content timeliness information and the historical page content heat information.
4. The method of claim 3, wherein the historical page content timeliness information includes: the time length between the current time and the time when the user browses the page content through the current APP history;
determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the historical page content timeliness information, wherein the step of pre-loading comprises the following steps:
judging whether the time length is greater than a preset time length value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
5. The method of claim 3, wherein the historical page content heat information comprises: the current popularity of the page content historically browsed by the user through the current APP;
determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the history page content heat information, wherein the step of pre-loading comprises the following steps:
judging whether the current heat is greater than a preset heat value or not; and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
6. The method of claim 3, wherein the user page browsing habit information comprises: the user browses the page through the current APP in a habit browsing time period; the habit browsing time period is determined according to the historical time of the user browsing the same page for multiple times;
determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the user page browsing habit information, wherein the step of pre-loading comprises the following steps:
judging whether the current time belongs to the habit browsing time period or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
7. The method of claim 3, wherein the user page browsing habit information comprises: the user browses the position range through the habit of browsing the page through the current APP; the habit browsing position range is determined according to the historical positions of the user when browsing the same page for multiple times;
determining whether to pre-load the page content browsed by the current APP history or the page content of the adjacent page according to the historical position information, wherein the step of pre-loading comprises the following steps:
judging whether the current position of the user belongs to the habit browsing position range or not;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the judgment result.
8. The method of claim 3, wherein the user page browsing habit information comprises: behavior operation information of the user on the historical preloaded page;
determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the user page browsing habit information, wherein the step of pre-loading comprises the following steps:
estimating whether the user can directly execute a returning or closing operation on the preloaded page according to the behavior operation information;
and determining whether to pre-load the page content browsed by the user through the current APP history or the page content of the adjacent page according to the pre-estimated result.
9. The method of claim 2, wherein determining whether to preload the page content historically browsed by the user through the current APP according to the preloading reference information comprises:
if determining that a preloading permission item is configured for a page historically browsed by a user through the current APP according to the page preloading configuration information, determining whether to preload the page content historically browsed by the user through the current APP according to at least one of the historical page browsing state information, the user page browsing habit information, the historical page content timeliness information and the historical page content heat information;
and if determining that the preloading permission item is not configured for the page browsed by the user through the current APP history according to the page preloading configuration information, determining not to preload the page content browsed by the user through the current APP history.
10. The method according to any one of claims 1-9, before determining whether to preload the page content historically browsed by the user through the current APP according to the preloading reference information, further comprising:
determining whether the content of the page is long-term continuous reading content or not according to at least one item of attribute information of a search query statement corresponding to the page browsed by the current APP history, correlation information of the page and layout information of the page;
and if so, triggering and executing the operation of determining whether to preload the page content browsed by the user through the current APP history according to the preloading reference information.
11. A page display apparatus, comprising:
the reference information acquisition module is used for acquiring the recorded pre-loaded reference information corresponding to the current APP when the current APP is detected to enter a foreground running state;
the reference information judging module is used for determining whether to preload the page content browsed by the current APP history by the user according to the preloading reference information;
and the preloading module is used for preloading the page content browsed by the user through the current APP history and displaying the preloaded content in the page when the page content browsed by the user through the current APP history is determined to be preloaded.
12. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a page display method as claimed in any one of claims 1 to 10.
13. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a page display method according to any one of claims 1 to 10.
CN201911236933.XA 2019-12-05 2019-12-05 Page display method, device, equipment and storage medium Active CN110889064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236933.XA CN110889064B (en) 2019-12-05 2019-12-05 Page display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911236933.XA CN110889064B (en) 2019-12-05 2019-12-05 Page display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110889064A true CN110889064A (en) 2020-03-17
CN110889064B CN110889064B (en) 2023-01-31

Family

ID=69750648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236933.XA Active CN110889064B (en) 2019-12-05 2019-12-05 Page display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110889064B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611476A (en) * 2020-04-13 2020-09-01 百度在线网络技术(北京)有限公司 Method and device for displaying special topic page
CN112861042A (en) * 2021-01-14 2021-05-28 支付宝(杭州)信息技术有限公司 Information display method, device, equipment and readable medium
CN114339364A (en) * 2021-12-21 2022-04-12 北京达佳互联信息技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN114564667A (en) * 2022-04-28 2022-05-31 深圳市艾德网络科技发展有限公司 Low-delay cache data processing method for analyzing large-scale data
WO2023029443A1 (en) * 2021-08-31 2023-03-09 北京百度网讯科技有限公司 Method and apparatus for displaying information flow, device, and medium
CN117421069A (en) * 2023-11-24 2024-01-19 久睦本(海南)科技股份有限公司 Dynamic loading method, system, equipment and storage medium of internet applet

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663012A (en) * 2012-03-20 2012-09-12 北京搜狗信息服务有限公司 Webpage preloading method and system
CN102737037A (en) * 2011-04-07 2012-10-17 北京搜狗科技发展有限公司 Webpage pre-reading method, device and browser
CN103106196A (en) * 2011-11-09 2013-05-15 腾讯科技(深圳)有限公司 Method and device for restoring browser webpage
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
CN105511721A (en) * 2015-12-02 2016-04-20 小米科技有限责任公司 Page display method and device
CN105550356A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Preloading method of browsed contents, and terminal
US20160306894A1 (en) * 2013-10-25 2016-10-20 Uc Mobile Co., Ltd. Methods and devices for preloading webpages
CN106326261A (en) * 2015-06-26 2017-01-11 广州市动景计算机科技有限公司 Pre-reading method and device for webpage and intelligent terminal device
CN106354878A (en) * 2016-09-27 2017-01-25 北京小米移动软件有限公司 Page management method and device
CN109947497A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal
CN109960539A (en) * 2017-12-21 2019-07-02 广东欧珀移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737037A (en) * 2011-04-07 2012-10-17 北京搜狗科技发展有限公司 Webpage pre-reading method, device and browser
CN103106196A (en) * 2011-11-09 2013-05-15 腾讯科技(深圳)有限公司 Method and device for restoring browser webpage
CN102663012A (en) * 2012-03-20 2012-09-12 北京搜狗信息服务有限公司 Webpage preloading method and system
US20160306894A1 (en) * 2013-10-25 2016-10-20 Uc Mobile Co., Ltd. Methods and devices for preloading webpages
CN103729438A (en) * 2013-12-30 2014-04-16 优视科技有限公司 Webpage preloading method and device
CN106326261A (en) * 2015-06-26 2017-01-11 广州市动景计算机科技有限公司 Pre-reading method and device for webpage and intelligent terminal device
CN105511721A (en) * 2015-12-02 2016-04-20 小米科技有限责任公司 Page display method and device
CN105550356A (en) * 2015-12-28 2016-05-04 魅族科技(中国)有限公司 Preloading method of browsed contents, and terminal
CN106354878A (en) * 2016-09-27 2017-01-25 北京小米移动软件有限公司 Page management method and device
CN109947497A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal
CN109960539A (en) * 2017-12-21 2019-07-02 广东欧珀移动通信有限公司 Application program preloads method, apparatus, storage medium and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611476A (en) * 2020-04-13 2020-09-01 百度在线网络技术(北京)有限公司 Method and device for displaying special topic page
CN111611476B (en) * 2020-04-13 2023-08-29 百度在线网络技术(北京)有限公司 Thematic page display method and device
CN112861042A (en) * 2021-01-14 2021-05-28 支付宝(杭州)信息技术有限公司 Information display method, device, equipment and readable medium
WO2023029443A1 (en) * 2021-08-31 2023-03-09 北京百度网讯科技有限公司 Method and apparatus for displaying information flow, device, and medium
CN114339364A (en) * 2021-12-21 2022-04-12 北京达佳互联信息技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium
CN114564667A (en) * 2022-04-28 2022-05-31 深圳市艾德网络科技发展有限公司 Low-delay cache data processing method for analyzing large-scale data
CN117421069A (en) * 2023-11-24 2024-01-19 久睦本(海南)科技股份有限公司 Dynamic loading method, system, equipment and storage medium of internet applet

Also Published As

Publication number Publication date
CN110889064B (en) 2023-01-31

Similar Documents

Publication Publication Date Title
CN110889064B (en) Page display method, device, equipment and storage medium
WO2019223578A1 (en) Application program preloading method and apparatus, and storage medium and terminal
US11138381B2 (en) Method, computer device and readable medium for user's intent mining
US20180260081A1 (en) Task switching or task launching based on a ranked list of tasks
CN111475750B (en) Page preloading control method, device, system, equipment and storage medium
WO2012000423A1 (en) Method and system for pushing network information
CN110674406A (en) Recommendation method and device, electronic equipment and storage medium
CN104238897A (en) Menu item displaying method and device
US20150234791A1 (en) Method, apparatus, and system for displaying order information
US9690757B2 (en) Method of and system for processing content of a web resource in a browser application
CN111460289B (en) News information pushing method and device
US20190266206A1 (en) Data processing method, server, and computer storage medium
CN106096010A (en) Carry input control method and the device of search engine functionality
US20210133267A1 (en) Indexing native application data
CN107515869B (en) Searching method and device and searching device
CN112787907A (en) Display method and device and electronic equipment
CN106844572B (en) Search result processing method and device for search result processing
CN112416212B (en) Program access method, apparatus, electronic device and readable storage medium
CN113111216B (en) Advertisement recommendation method, device, equipment and storage medium
CN113158098A (en) Page generation method, device, equipment and medium
CN112578962A (en) Information flow display method, device, equipment and medium
CN104965633A (en) Service jumping method and apparatus
CN111611476B (en) Thematic page display method and device
CN111310044B (en) Page element information extraction method, device, equipment and storage medium
CN110069665B (en) Method for providing screening items, client and server

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