CN117407610A - Page preloading method and device, electronic equipment and storage medium - Google Patents

Page preloading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117407610A
CN117407610A CN202310438259.3A CN202310438259A CN117407610A CN 117407610 A CN117407610 A CN 117407610A CN 202310438259 A CN202310438259 A CN 202310438259A CN 117407610 A CN117407610 A CN 117407610A
Authority
CN
China
Prior art keywords
page
access
information
preloading
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310438259.3A
Other languages
Chinese (zh)
Inventor
罗阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202310438259.3A priority Critical patent/CN117407610A/en
Publication of CN117407610A publication Critical patent/CN117407610A/en
Pending legal-status Critical Current

Links

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

Abstract

The embodiment of the invention discloses a page preloading method, a page preloading device, electronic equipment and a storage medium; the method comprises the steps that in response to page access operation of a page access user on a current page, an associated page of the current page is determined, access associated information of the page access user and history access information of a history access user of the current page are obtained, the history access information comprises history access associated information of the history access user and history access times information of the history access user on each associated page, page access probability of the page access user on each associated page is calculated based on the history access associated information, the history access times information and the access associated information, a target preloading page is determined from the associated page according to the page access probability, page information of the target preloading page is obtained, and preloading is carried out on the target preloading page based on the page information; the method and the device can shorten the time for the user to view and access the subsequent page, improve the page access speed and improve the webpage browsing experience of the user.

Description

Page preloading method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a page preloading method, a page preloading device, electronic equipment and a storage medium.
Background
With the rapid development of current technology, people often browse information, acquire information required by themselves and the like through the internet. Web pages are an important way for people to use the internet, and different web pages often contain multiple sub-interfaces that are inter-dependent and related.
At present, the main method adopted when the webpage is accessed is that the user triggers the webpage which is wanted to be accessed and loads the webpage, namely, after the user triggers the webpage access, the webpage application can initiate a resource request to the server. However, with this scheme, the time taken to request the resource depends on the network condition of the user at that time, which affects the jump speed when the user jumps from one web page to another, and the user experience of browsing the web page is poor.
Disclosure of Invention
The embodiment of the invention provides a page preloading method, a page preloading device, electronic equipment and a storage medium, which can shorten the time for a user to view and access subsequent pages, improve the page access speed and improve the webpage browsing experience of the user.
The embodiment of the invention provides a page preloading method, which comprises the following steps:
responding to the page access operation of a page access user on a current page, and determining an associated page of the current page;
acquiring access association information of the page access user and history access information of a history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page;
calculating page access probability of the page access user to each associated page based on the historical access association information, the historical access times information and the access association information;
determining a target preloading page from the associated page according to the page access probability;
and acquiring page information of the target preloading page, and preloading the target preloading page based on the page information.
Correspondingly, the embodiment of the invention also provides a page preloading device, which comprises:
the related page determining unit is used for responding to the page access operation of the page access user on the current page and determining the related page of the current page;
The information acquisition unit is used for acquiring access association information of the page access user and history access information of the history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page;
an access probability calculation unit, configured to calculate a page access probability of the page access user to each associated page based on the historical access association information, the historical access frequency information, and the access association information;
the target page determining unit is used for determining a target preloading page from the associated pages according to the page access probability;
the page preloading unit is used for acquiring page information of the target preloading page and preloading the target preloading page based on the page information.
In some optional embodiments, the page preloading device provided by the embodiment of the present invention further includes a loading state detecting unit, configured to detect a loading state of the current page;
and the page preloading unit is used for preloading the target preloading page based on the page information when the loading state of the current page is loading completion.
In some optional embodiments, the page preloading device provided by the embodiment of the present invention further includes a page display unit, configured to determine, according to a page skip operation of the page access user in the current page, a target skip page of the page access user;
and displaying the target pre-loading page when the target jump page is the same as the target pre-loading page.
In some optional embodiments, the access probability calculation unit is configured to calculate, based on the historical access association information and the access association information, a user similarity between the page access user and each of the historical access users;
and calculating weights according to preset access probabilities, and carrying out weighted calculation on the historical access times information of each historical access user and the user similarity to obtain the page access probability of the page access user to each associated page.
In some optional embodiments, the page preloading device provided by the embodiment of the present invention further includes a history information statistics unit, configured to obtain page operation information of the history access user, where the page operation information is used to indicate an operation of the history access user when accessing the current page and/or the associated page;
Based on the page operation information, constructing a page operation network corresponding to the historical access user, wherein the page operation network is used for indicating the association relation between pages operated by the historical access user;
and generating the historical access information of the historical access user according to the page operation network and the historical access associated information of the historical access user.
In some optional embodiments, the target page determining unit is configured to determine, according to the page access probability, at least one target pre-loaded page from the associated pages, where the page access probability corresponding to the target pre-loaded page meets a preset access probability condition;
the page preloading unit is used for determining the preloading sequence among the target preloading pages according to the page access probability corresponding to the target preloading pages;
and acquiring page information of the target preloading page based on the preloading sequence.
In some optional embodiments, the page preloading unit is configured to obtain page information of the target preloading page, and store the page information in a preset preloading information storage location;
And preloading the target preloading page according to the page information stored in the preloading information storage position.
Correspondingly, the embodiment of the invention also provides electronic equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory, so as to execute steps in any of the page preloading methods provided by the embodiments of the present invention.
Correspondingly, the embodiment of the invention also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any of the page preloading methods provided by the embodiment of the invention.
In addition, the embodiment of the invention also provides a computer program product, which comprises a computer program or instructions, wherein the computer program or instructions realize the steps in any of the page preloading methods provided by the embodiment of the invention when being executed by a processor.
By adopting the scheme of the embodiment of the invention, the page access operation of the page access user on the current page can be responded, the associated page of the current page is determined, the access associated information of the page access user and the history access information of the history access user of the current page are obtained, the history access information comprises the history access associated information of the history access user and the history access times information of the history access user on each associated page, the page access probability of the page access user on each associated page is calculated based on the history access associated information, the history access times information and the access associated information, a target preloading page is determined from the associated page according to the page access probability, the page information of the target preloading page is obtained, and the target preloading page is preloaded based on the page information; in the embodiment of the invention, the target preloading page in the associated page can be preloaded according to the access probability of the user to each associated page, so that the time for the user to view and access the subsequent page can be shortened, the page access speed can be improved, and the web browsing experience of the user can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of a page preloading method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for preloading a page provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart of determining a target preload page according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a page skip process provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a page preloading device according to an embodiment of the present invention;
FIG. 6 is another schematic diagram of a page preloading device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides a page preloading method, a page preloading device, electronic equipment and a computer readable storage medium. Specifically, the embodiment of the invention provides a page preloading method suitable for a page preloading device, and the page preloading device can be integrated in electronic equipment.
The electronic device may be a terminal or the like, including but not limited to a mobile terminal and a fixed terminal, for example, a mobile terminal including but not limited to a smart phone, a smart watch, a tablet computer, a notebook computer, a smart car, etc., wherein the fixed terminal includes but not limited to a desktop computer, a smart television, etc.
The electronic device may be a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), and basic cloud computing services such as big data and artificial intelligence platform, but is not limited thereto.
The page preloading method of the embodiment of the invention can be realized by a terminal or by the terminal and a server together.
The method for preloading the page by the terminal and the server is taken as an example, and the method is described below.
As shown in fig. 1, the page preloading system provided by the embodiment of the invention includes a terminal 10, a server 20, and the like; the terminal 10 and the server 20 are connected through a network, for example, a wired or wireless network connection, wherein the terminal 10 may exist as a terminal for a user to access a web page such as a current page.
The terminal 10 may be configured to determine, in response to a page access operation of a page access user to a current page, an associated page of the current page, obtain access association information of the page access user and history access information of a history access user of the current page, where the history access information includes history access association information of the history access user and history access times information of the history access user to each associated page, calculate, based on the history access association information, the history access times information and the access association information, a page access probability of the page access user to each associated page, and determine, according to the page access probability, a target preloaded page from the associated pages.
The terminal 10 may acquire page information of the target preload page from the server 20, and preload the target preload page based on the page information.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the invention will be described from the perspective of a page preloading device, which may be integrated in a terminal and/or a server in particular.
As shown in fig. 2, the specific flow of the page preloading method in this embodiment may be as follows:
201. and responding to the page access operation of the page access user on the current page, and determining the associated page of the current page.
The page access user is a user operating in the current page. Specifically, the current page may be a web page displayed based on any application program, for example, the current page may be a web page in a social application program, a web page in an information application program, or the like.
Alternatively, the page access operation may be an operation of the page access user entering the current page, an operation of sliding in the current page, or the like.
Specifically, the associated page may be determined according to the display content in the current page. For example, the current page may include A, B, C three pages that can be accessed continuously, and when the device of the page access user displays only the trigger control of A, B pages when displaying the current page, only a and B may be used as associated pages.
In other examples, A, B, C may also be both associated pages.
202. Acquiring access association information of the page access user and history access information of the history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page.
Specifically, the access association information may be information about the page access user when accessing the current page, for example, the access association information may include, but is not limited to, age, gender, occupation of the page access user, and geographic location of the page access user when accessing the current page.
Wherein, the history access user may be a user who accessed the current page before the page access user accessed the current page. It will be appreciated that the page access user may have accessed the current page, and the information of the page access user when accessing the current page may be part of the history access information.
Alternatively, as shown in fig. 3, the history access association information may be information about the history access user when accessing the current page, for example, the access association information may include, but is not limited to, age, sex, occupation of the history access user, and geographical location of the history access user when accessing the current page, etc.
Specifically, the historical access times information is the times of the historical access user to access each associated page respectively in the historical access process. For example, the current page may include A, B, C three associated pages, and the historical access times may include the times the historical access user accessed A, B, C, respectively.
In some optional embodiments, the history access information may be managed, so that subsequent use is facilitated, and before the step of "obtaining the access association information of the page access user and the history access information of the history access user of the current page", the page preloading method provided by the embodiment of the present invention may further include:
acquiring page operation information of the historical access user, wherein the page operation information is used for indicating the operation of the historical access user when accessing the current page and/or the associated page;
based on the page operation information, constructing a page operation network corresponding to the historical access user, wherein the page operation network is used for indicating the association relation between pages operated by the historical access user;
and generating the historical access information of the historical access user according to the page operation network and the historical access associated information of the historical access user.
For example, the page operations network may be as shown in FIG. 3. The page operating network may be built with historical access users as the information dimension.
In some examples, the page manipulation network may record the order in which the historical access users accessed various web pages, the length of access, and so forth.
Specifically, the association relationship between the pages operated by the history access user may be the relationship of which association pages have been accessed by the history access user, may also be the relationship of the order in which each association page has been accessed by the history access user, and so on.
For example, statistics may be performed on the reference links on a web page to obtain page operation information of each history access user, and a dependency link graph of the web page may be formed according to the statistics. And analyzes some information of the current user in order to refine the current probability statistics. For example, the user may be counted: geographical location, network status, identity, age, etc. to portray the user. The more complete this information, the greater the referenceability. The browser gathers this information to form an information link to the web site.
It will be appreciated that, in order to ensure data security, the relevant information of the history access user and the page access user should be subjected to consent of the history access user and the page access user when being acquired.
203. And calculating page access probability of the page access user to each associated page based on the historical access association information, the historical access times information and the access association information.
Specifically, the similarity between the access association information and the history access association information can be compared, the user most similar to the page access user is determined, and the page access probability corresponding to each associated page is determined according to the history access times information of the most similar history access user.
For example, the page access probability of an a page may be the proportion of the historical access times of the historical access user to access the a page to the sum of the historical access times of all pages.
Taking a type A user as an example, assuming the type A user is male, the ip address is N, after the user enters an interface, the user frequently clicks a B interface link in the current webpage and jumps to the B interface, the system can collect the information, and then the information of similar users is unified and regular. The browser analyzes the link graphs and then automatically loads relevant pre-loaded resources for the current webpage according to the probability and the statistical result: when the Z user enters the interface, his portrait and type A user are coincident, and the browser should load the B interface in the current web page in advance.
Optionally, the page access probability may also be obtained by weighting calculation based on the similarity between the access association information and the historical access times information. In some optional embodiments, the step of calculating the page access probability of the page access user to each associated page based on the historical access association information, the historical access times information, and the access association information includes:
calculating user similarity between the page access user and each history access user based on the history access association information and the access association information;
and calculating weights according to preset access probabilities, and carrying out weighted calculation on the historical access times information of each historical access user and the user similarity to obtain the page access probability of the page access user to each associated page.
For example, when there are history access users a and b, the first access probability may be calculated according to the user similarity 1 between the history access user a and the page access user, the proportion 1 of the history access times of the history access user a to the page a in the sum of the history access times of all the pages, and the access probability calculation weight; calculating a second access probability according to the user similarity 2 between the historical access user b and the page access user, the proportion 2 of the historical access times of the historical access user b to the page A in the sum of the historical access times of all pages and the access probability calculation weight; and then carrying out weighted calculation on the first access probability and the second access probability to obtain the page access probability of the associated page A.
204. And determining a target preloading page from the associated page according to the page access probability.
The target preloading page is the relevant page for preloading. There may be one or more target preloaded pages, which is not limited by the embodiment of the present invention.
For example, the target pre-loaded page may be one associated page with the highest page access probability, or may be three associated pages with the highest page access probability.
In some alternative embodiments, the step of determining the target pre-loaded page from the associated pages according to the page access probability includes:
and determining at least one target preloading page from the associated pages according to the page access probability, wherein the page access probability corresponding to the target preloading page meets a preset access probability condition.
Alternatively, the access probability condition may be that the page access probability of the target pre-loaded page is greater than a preset probability threshold, or that the page access probability corresponding to the target pre-loaded page is the largest N among them, or the like. The access probability condition can be set by a technician according to the actual application condition.
Accordingly, the step of acquiring the page information of the target preloaded page includes:
determining a preloading sequence among the target preloading pages according to the page access probability corresponding to the target preloading pages;
and acquiring page information of the target preloading page based on the preloading sequence.
That is, when there are a plurality of target preload pages, the target preload pages may be loaded in sequence according to the magnitude of the page access probability of the target preload pages.
205. And acquiring page information of the target preloading page, and preloading the target preloading page based on the page information.
Specifically, the target preloading page may be downloading page data of the target preloading page, and/or pre-rendering display content in the target preloading page, etc.
In some optional embodiments, before the step of preloading the target preloading page based on the page information, the page preloading method provided by the embodiment of the present invention may further include:
detecting the loading state of the current page;
Accordingly, the step of preloading the target preloading page based on the page information includes:
and when the loading state of the current page is loading completion, preloading the target preloading page based on the page information.
For example, the priority of the predicted web page may be set to be lowest, meaning that the entire current web page begins loading these interfaces after a period of time, which may be defined as 10 seconds or other markets, has passed without any other resource requests. Another point of this solution is that the loading state of the current interface cannot be affected. Therefore, the resources of the interface B are loaded when idle, and the browsing experience of the current interface is not affected.
In some optional embodiments, the page preloading method provided by the embodiment of the present invention may further include:
determining a target jump page of the page access user according to the page jump operation of the page access user in the current page;
and displaying the target pre-loading page when the target jump page is the same as the target pre-loading page.
That is, if the page to be accessed by the page access user is the same as the target preload page, the target preload page may be directly displayed.
It will be appreciated that if the page to be accessed by the page access user is the same as the target pre-load page, then the page to be accessed by the page access user needs to be loaded in real time.
As shown in fig. 4, the current page (a web page) accessed by the page access user has a skip control capable of accessing the B web page and the C web page, and the corresponding page can be accessed through the page skip operation of the skip control by the user.
In some optional embodiments, the step of "obtaining page information of the target pre-loaded page, and pre-loading the target pre-loaded page based on the page information" may specifically include:
acquiring page information of the target preloading page, and storing the page information in a preset preloading information storage position;
and preloading the target preloading page according to the page information stored in the preloading information storage position.
For example, when the web page parses the preloaded tags, all other web page resources are stored in a specified cache, such as: SW, so that when the network breaks, the next web page is still accessible. For example: z user breaks the network when accessing the current interface, and then it clicks on the link of the B interface, it is still accessible to the B interface because the B interface is loaded and cached in advance.
As can be seen from the foregoing, in the embodiment of the present invention, in response to a page access operation of a page access user to a current page, an associated page of the current page may be determined, access association information of the page access user and history access information of a history access user of the current page may be obtained, the history access information includes the history access association information of the history access user and history access times information of the history access user to each associated page, page access probability of the page access user to each associated page is calculated based on the history access association information, the history access times information and the access association information, a target preloaded page is determined from the associated page according to the page access probability, page information of the target preloaded page is obtained, and preloading is performed on the target preloaded page based on the page information; in the embodiment of the invention, the target preloading page in the associated page can be preloaded according to the access probability of the user to each associated page, so that the time for the user to view and access the subsequent page can be shortened, the page access speed can be improved, and the web browsing experience of the user can be improved.
In order to better implement the method, correspondingly, the embodiment of the invention also provides a page preloading device.
Referring to fig. 5, the apparatus includes:
an associated page determining unit 501, configured to determine an associated page of a current page in response to a page access operation of a page access user to the current page;
an information obtaining unit 502, configured to obtain access association information of the page access user and history access information of a history access user of the current page, where the history access information may include history access association information of the history access user and history access times information of the history access user for each associated page;
an access probability calculation unit 503, configured to calculate a page access probability of the page access user to each associated page based on the history access association information, the history access number information, and the access association information;
a target page determining unit 504, configured to determine a target pre-loaded page from the associated pages according to the page access probability;
the page preloading unit 505 may be configured to obtain page information of the target preloading page, and preload the target preloading page based on the page information.
In some optional embodiments, as shown in fig. 6, the page preloading device provided in the embodiments of the present invention may further include a loading state detecting unit 506, configured to detect a loading state of the current page;
the page preloading unit 505 may be configured to preload the target preloaded page based on the page information when the loading state of the current page is loading completion.
In some optional embodiments, the page preloading device provided by the embodiments of the present invention may further include a page display unit 507, configured to determine a target jump page of the page access user according to a page jump operation of the page access user in the current page;
and displaying the target pre-loading page when the target jump page is the same as the target pre-loading page.
In some optional embodiments, the access probability calculating unit 503 may be configured to calculate, based on the historical access association information and the access association information, a user similarity between the page access user and each of the historical access users;
and calculating weights according to preset access probabilities, and carrying out weighted calculation on the historical access times information of each historical access user and the user similarity to obtain the page access probability of the page access user to each associated page.
In some optional embodiments, the page preloading device provided by the embodiment of the present invention may further include a history information statistics unit, configured to obtain page operation information of the history access user, where the page operation information may be used to indicate an operation of the history access user when accessing the current page and/or the associated page;
based on the page operation information, constructing a page operation network corresponding to the historical access user, wherein the page operation network can be used for indicating the association relation between pages operated by the historical access user;
and generating the historical access information of the historical access user according to the page operation network and the historical access associated information of the historical access user.
In some optional embodiments, the target page determining unit 504 may be configured to determine, according to the page access probability, at least one target pre-loaded page from the associated pages, where the page access probability corresponding to the target pre-loaded page meets a preset access probability condition;
the page preloading unit can be used for determining the preloading sequence among the target preloading pages according to the page access probability corresponding to the target preloading pages;
And acquiring page information of the target preloading page based on the preloading sequence.
In some optional embodiments, the page preloading unit 505 may be configured to obtain page information of the target preloaded page, and store the page information in a preset preloaded information storage location;
and preloading the target preloading page according to the page information stored in the preloading information storage position.
From the above, through the page preloading device, it is possible to determine an associated page of a current page in response to a page access operation of a page access user to the current page, obtain access association information of the page access user and history access information of a history access user of the current page, where the history access information includes the history access association information of the history access user and history access times information of the history access user to each associated page, calculate a page access probability of the page access user to each associated page based on the history access association information, the history access times information and the access association information, determine a target preloaded page from the associated pages according to the page access probability, obtain page information of the target preloaded page, and preload the target preloaded page based on the page information; in the embodiment of the invention, the target preloading page in the associated page can be preloaded according to the access probability of the user to each associated page, so that the time for the user to view and access the subsequent page can be shortened, the page access speed can be improved, and the web browsing experience of the user can be improved.
In addition, the embodiment of the present invention further provides an electronic device, which may be a terminal or a server, as shown in fig. 7, and shows a schematic structural diagram of the electronic device according to the embodiment of the present invention, specifically:
the electronic device may include Radio Frequency (RF) circuitry 701, memory 702 including one or more computer-readable storage media, input unit 703, display unit 704, sensor 705, audio circuitry 706, wireless fidelity (WiFi, wireless Fidelity) module 707, processor 708 including one or more processing cores, and power supply 709. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 7 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 708; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 701 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 701 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The memory 702 may be used to store software programs and modules, and the processor 708 may perform various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 708 and the input unit 703.
The input unit 703 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 703 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 708, and can receive commands from the processor 708 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 703 may comprise other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 704 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 704 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 708 to determine the type of touch event, and the processor 708 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 7 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The electronic device may also include at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device are not described in detail herein.
Audio circuitry 706, speakers, and a microphone may provide an audio interface between the user and the electronic device. The audio circuit 706 may transmit the received electrical signal converted from audio data to a speaker, where it is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 706 and converted into audio data, which are processed by the audio data output processor 708 for transmission to, for example, another electronic device via the RF circuit 701, or which are output to the memory 702 for further processing. The audio circuit 706 may also include an ear bud jack to provide communication of the peripheral ear bud with the electronic device.
WiFi belongs to a short-distance wireless transmission technology, and the electronic equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 707, so that wireless broadband Internet access is provided for the user. Although fig. 7 shows a WiFi module 707, it is to be understood that it is not a necessary component of an electronic device, and may be omitted entirely as needed within a range that does not change the essence of the invention.
The processor 708 is the control center of the electronic device, utilizes various interfaces and lines to connect the various parts of the overall handset, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 702, and invoking data stored in the memory 702. Optionally, the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 708.
The electronic device also includes a power supply 709 (e.g., a battery) for powering the various components, which may be logically connected to the processor 708 by a power management system, such as to perform functions such as managing charge, discharge, and power consumption by the power management system. The power supply 709 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 708 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 708 executes the application programs stored in the memory 702, so as to implement various functions as follows:
responding to the page access operation of a page access user on a current page, and determining an associated page of the current page; acquiring access association information of the page access user and history access information of a history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page; calculating page access probability of the page access user to each associated page based on the historical access association information, the historical access times information and the access association information; determining a target preloading page from the associated page according to the page access probability; and acquiring page information of the target preloading page, and preloading the target preloading page based on the page information.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the page preloading methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
responding to the page access operation of a page access user on a current page, and determining an associated page of the current page;
acquiring access association information of the page access user and history access information of a history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page;
calculating page access probability of the page access user to each associated page based on the historical access association information, the historical access times information and the access association information;
Determining a target preloading page from the associated page according to the page access probability;
and acquiring page information of the target preloading page, and preloading the target preloading page based on the page information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the instructions stored in the computer readable storage medium can execute the steps in any of the page preloading methods provided by the embodiments of the present invention, the beneficial effects that any of the page preloading methods provided by the embodiments of the present invention can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
According to one aspect of the present application, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the methods provided in the various alternative implementations of the embodiments described above.
The foregoing describes in detail a method, an apparatus, an electronic device, and a storage medium for preloading a page provided in the embodiments of the present invention, and specific examples are applied to illustrate principles and implementations of the present invention, where the foregoing examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (11)

1. A method of preloading a page, comprising:
responding to the page access operation of a page access user on a current page, and determining an associated page of the current page;
acquiring access association information of the page access user and history access information of a history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page;
calculating page access probability of the page access user to each associated page based on the historical access association information, the historical access times information and the access association information;
Determining a target preloading page from the associated page according to the page access probability;
and acquiring page information of the target preloading page, and preloading the target preloading page based on the page information.
2. The method of page preloading of claim 1, wherein prior to preloading the target preloaded pages based on the page information, the method further comprises:
detecting the loading state of the current page;
the preloading the target preloading page based on the page information comprises the following steps:
and when the loading state of the current page is loading completion, preloading the target preloading page based on the page information.
3. The page preloading method of claim 1, further comprising:
determining a target jump page of the page access user according to the page jump operation of the page access user in the current page;
and displaying the target pre-loading page when the target jump page is the same as the target pre-loading page.
4. The page preloading method of claim 1, wherein said calculating page access probabilities of said page access users to each of said associated pages based on said historical access association information, said historical access times information and said access association information includes:
Calculating user similarity between the page access user and each history access user based on the history access association information and the access association information;
and calculating weights according to preset access probabilities, and carrying out weighted calculation on the historical access times information of each historical access user and the user similarity to obtain the page access probability of the page access user to each associated page.
5. The page preloading method of claim 1, wherein prior to said obtaining access-related information of said page access user and historical access information of said current page historical access user, said method further comprises:
acquiring page operation information of the historical access user, wherein the page operation information is used for indicating the operation of the historical access user when accessing the current page and/or the associated page;
based on the page operation information, constructing a page operation network corresponding to the historical access user, wherein the page operation network is used for indicating the association relation between pages operated by the historical access user;
and generating the historical access information of the historical access user according to the page operation network and the historical access associated information of the historical access user.
6. The method for preloading pages according to claim 1, wherein determining a target preloaded page from the associated pages according to the page access probability comprises:
determining at least one target preloading page from the associated pages according to the page access probability, wherein the page access probability corresponding to the target preloading page meets a preset access probability condition;
the obtaining the page information of the target preloading page comprises the following steps:
determining a preloading sequence among the target preloading pages according to the page access probability corresponding to the target preloading pages;
and acquiring page information of the target preloading page based on the preloading sequence.
7. The method for preloading the page according to claim 1, wherein the obtaining the page information of the target preloading page, preloading the target preloading page based on the page information, includes:
acquiring page information of the target preloading page, and storing the page information in a preset preloading information storage position;
and preloading the target preloading page according to the page information stored in the preloading information storage position.
8. A page preloading device, comprising:
the related page determining unit is used for responding to the page access operation of the page access user on the current page and determining the related page of the current page;
the information acquisition unit is used for acquiring access association information of the page access user and history access information of the history access user of the current page, wherein the history access information comprises history access association information of the history access user and history access times information of the history access user to each associated page;
an access probability calculation unit, configured to calculate a page access probability of the page access user to each associated page based on the historical access association information, the historical access frequency information, and the access association information;
the target page determining unit is used for determining a target preloading page from the associated pages according to the page access probability;
the page preloading unit is used for acquiring page information of the target preloading page and preloading the target preloading page based on the page information.
9. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps in the page preloading method of any of claims 1 to 7.
10. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the page preloading method of any of claims 1 to 7.
11. A computer program product comprising computer programs or instructions which when executed by a processor implement the steps of the page preloading method of any of claims 1-7.
CN202310438259.3A 2023-04-12 2023-04-12 Page preloading method and device, electronic equipment and storage medium Pending CN117407610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310438259.3A CN117407610A (en) 2023-04-12 2023-04-12 Page preloading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310438259.3A CN117407610A (en) 2023-04-12 2023-04-12 Page preloading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117407610A true CN117407610A (en) 2024-01-16

Family

ID=89489647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310438259.3A Pending CN117407610A (en) 2023-04-12 2023-04-12 Page preloading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117407610A (en)

Similar Documents

Publication Publication Date Title
WO2015043476A1 (en) Devices and methods for webpage display
CN113420051B (en) Data query method and device, electronic equipment and storage medium
CN110020293B (en) Multimedia data display method, device and storage medium
CN108073647B (en) Webpage display method and device
CN105227598B (en) Resource sharing method, device and system based on cloud storage
JP6915074B2 (en) Message notification method and terminal
CN112749074B (en) Test case recommending method and device
CN113313804A (en) Image rendering method and device, electronic equipment and storage medium
CN108268232B (en) Picture display method, device, system and storage medium
CN107632985B (en) Webpage preloading method and device
CN108269223B (en) Webpage graph drawing method and terminal
CN114510417A (en) Image rendering effect testing method and device, electronic equipment and storage medium
CN110209924B (en) Recommendation parameter acquisition method, device, server and storage medium
CN117407610A (en) Page preloading method and device, electronic equipment and storage medium
CN108563712B (en) Webpage picture viewing method and device and storage equipment
CN113836343A (en) Audio recommendation method and device, electronic equipment and storage medium
CN107346347B (en) Webpage table display method and device
CN108616552B (en) Webpage access method, device and system
CN112965756B (en) Page resource loading amount monitoring method and device, electronic equipment and storage medium
CN114189436B (en) Multi-cluster configuration deployment method and device, electronic equipment and storage medium
CN117234137B (en) MCU clock frequency switching circuit, MCU and electronic equipment
CN113094577B (en) Information display method, related equipment and storage medium
CN112799857B (en) Application access method, device, terminal and storage medium
US20220232287A1 (en) Method and device for acquiring virtual resource and storage medium
CN116932792A (en) Content management method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination