CN109376318B - Page loading method, computer readable storage medium and terminal equipment - Google Patents

Page loading method, computer readable storage medium and terminal equipment Download PDF

Info

Publication number
CN109376318B
CN109376318B CN201811020600.9A CN201811020600A CN109376318B CN 109376318 B CN109376318 B CN 109376318B CN 201811020600 A CN201811020600 A CN 201811020600A CN 109376318 B CN109376318 B CN 109376318B
Authority
CN
China
Prior art keywords
page
user equipment
loading
time period
preset time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811020600.9A
Other languages
Chinese (zh)
Other versions
CN109376318A (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811020600.9A priority Critical patent/CN109376318B/en
Publication of CN109376318A publication Critical patent/CN109376318A/en
Application granted granted Critical
Publication of CN109376318B publication Critical patent/CN109376318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a page loading method, a computer readable storage medium and terminal equipment, comprising the following steps: receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page; acquiring data for loading the first page according to the unique identifier of the first page; acquiring the unique identifier of the second page access which is continuously accessed by the user equipment after the first page access according to the unique identifier of the user equipment, the unique identifier of the first page and the browse record of the pre-cached user equipment in a preset time period; acquiring basic frame data for loading the second page according to the unique identifier of the second page; and sending the data for loading the first page and the basic frame data for loading the second page to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data for loading the second page, thereby improving the page loading speed when the user uses the second page.

Description

Page loading method, computer readable storage medium and terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a page loading method, a computer readable storage medium, and a terminal device.
Background
With the continuous development of network technology, web page applications are becoming more popular, and when a user needs to access a certain web page, page data is requested to a server according to address links of the web page, and the web page is loaded based on the page data so as to be displayed at a terminal.
The existing webpage loading method can be as follows: the terminal sends a page loading request of a webpage to the server, so that the server obtains page data of the webpage according to the page loading request, the page data comprises a page frame and page elements, the page elements are used for filling the page frame, the server sends the page data to the terminal, after the terminal receives the page data, the page frame is filled through the page elements, and the filled page is displayed on the terminal.
However, according to the web single-page application page loading method, when a page is initialized, the information returned by the back-end server is needed to be relied on, the speed of a back-end interface becomes a bottleneck for restricting page response, the page loading speed is too slow, the loading efficiency is low, and the user experience is poor.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a page loading method, a computer readable storage medium, and a terminal device, so as to solve the problem of slow page loading speed in single page application in the prior art.
A first aspect of an embodiment of the present invention provides a page loading method, including:
receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page, and the page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page;
acquiring data for loading the first page according to the unique identifier of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page;
acquiring a unique identifier of a second page accessed by the user equipment according to the unique identifier of the user equipment, the unique identifier of the first page and a pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page;
acquiring basic frame data for loading the second page according to the unique identifier of the second page;
and sending the data used for loading the first page and the basic frame data used for loading the second page to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data used for loading the second page.
A second aspect of embodiments of the present invention provides a computer-readable storage medium storing computer-readable instructions that when executed by a processor perform the steps of:
receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page, and the page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page;
acquiring data for loading the first page according to the unique identifier of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page;
acquiring a unique identifier of a second page accessed by the user equipment according to the unique identifier of the user equipment, the unique identifier of the first page and a pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page;
acquiring basic frame data for loading the second page according to the unique identifier of the second page;
and sending the data used for loading the first page and the basic frame data used for loading the second page to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data used for loading the second page.
A third aspect of an embodiment of the present invention provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer readable instructions:
receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page, and the page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page;
acquiring data for loading the first page according to the unique identifier of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page;
acquiring a unique identifier of a second page accessed by the user equipment according to the unique identifier of the user equipment, the unique identifier of the first page and a pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page;
acquiring basic frame data for loading the second page according to the unique identifier of the second page;
and sending the data used for loading the first page and the basic frame data used for loading the second page to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data used for loading the second page.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention provides a page loading method, which enables user equipment to buffer the basic frame data of a second page in advance by simultaneously sending the basic frame data of the second page to be used by a user to the user equipment when the user requests the data of the first page, thereby improving the page loading speed when the user uses the second page.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art 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 flowchart of a page loading method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a page loader according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a page loading terminal device according to a third embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
Example 1
The embodiment of the invention provides a page loading method. Referring to fig. 1, the method includes:
s101, receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page.
The page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page.
The user equipment can be a smart phone, a computer, a tablet device and the like, and the method of the embodiment of the invention can be applied to a Web (World Wide Web) single-page application page and other Web pages.
Each web page may include a base frame portion, which is the portion of the web page that is fixed at each load or refresh, and a page element portion, which is the portion of the web page that may change at each load or refresh. Wherein the page element portion may also be referred to as a page redraw portion.
For example, for a weather forecast web page, the temperature/weather information of the intermediate display is time-varying, belonging to the page element portion, while other portions, such as borders, shading, etc., are fixed, belonging to the base frame.
In the loading process of the web page, the loading process of the basic frame is slower, so that the basic frame data of the web page commonly used by some users can be stored in the user equipment, when the web page needs to be displayed to the users, in order to avoid long-time blank of the page caused by overlong response time of the server, the user equipment can firstly acquire the basic frame of the web page from the local and display the basic frame to the users, and simultaneously, a page loading request is sent to the server, and at the moment, the page loading request is only used for requesting the page element data of the page. The page loading request includes a unique identifier of the user equipment and a unique identifier of the page, for example, a URL (Uniform Resource Locator ) of the page.
When a user needs to access a page, such as a first page, if the user equipment does not store the basic frame of the first page, the user equipment sends a page loading request to the server, wherein the page loading request is used for requesting to load basic frame data of the first page and page element data of the first page; or for requesting first to load the base frame data of the first page, etc.
S102, acquiring data for loading the first page according to the unique identification of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page.
Optionally, when the user equipment stores the basic frame data of the first page, and when the user equipment sends a page loading request to the server, the page loading request further includes a first version number corresponding to the first page, and the server judges the release time of the first version number according to the unique identifier of the first page and the first version number; judging whether the first page corresponds to an upgrade version or not according to the release time of the first version number; if the first page corresponds to the upgrading version, acquiring basic frame data and/or page element data which correspond to the upgrading version of the first page and are used for loading the first page, and if the first page does not correspond to the upgrading version, acquiring page element data which correspond to the first version and are used for loading the first page.
For example, the first page is a weather forecast web page, the user device stores the base frame data of the first page, when the user device sends a page loading request to the server, the user device requests to acquire page element data of the first page, meanwhile, the version number of the base frame of the first page stored by the user device is sent to the server, the server judges whether a new version of the page is released after the release time according to the release time of the version number sent by the user device, if yes, the server sends the base frame data of the latest version of the first page to the user device, or simultaneously sends the base frame data of the latest version of the first page and the page element data to the user device.
S103, acquiring the unique identification of a second page accessed by the user equipment according to the unique identification of the user equipment, the unique identification of the first page and the pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page.
Optionally, according to the browsing record of the user equipment in the preset time period, acquiring the total number of times that the user equipment browses the first page in the preset time period;
ordering all pages accessed by the user equipment in the preset time period according to the sequence of browsing time from first to last, and acquiring a browsing track of the user equipment in the preset time period;
and according to the total number of times that the user equipment browses the first page in the preset time period and the browsing track, acquiring one page with the highest continuous access probability of the user equipment after accessing the first page as the second page.
For example, the preset time period is from 0 time to 24 times of the day before the user accesses the first page, the user accesses 100 pages in the day before, the first page is a weather forecast page, after the user accesses the first page, the number of times of continuously accessing a tourist page in the preset time period reaches 10, the number of times of continuously accessing other pages after the user accesses the first page is less than 10, at this time, the probability of accessing the tourist page after the user accesses the first page is the highest, and at this time, the tourist page is the second page. According to the unique identification of the second page, such as the URL of the second page, the basic frame data for loading the second page is obtained, when the user equipment requests to obtain the data for loading the first page, the basic frame data of the second page which is most likely to be accessed by the user is simultaneously sent to the user equipment, the user equipment caches the basic frame data of the second page in advance, when the user accesses the second page after accessing the first page, the user equipment can directly call the basic frame data of the second page locally, the loading speed of the second page is improved, and therefore user experience is improved.
Acquiring browsing records of N other user devices in the preset time period;
and acquiring the unique identification of the second page according to the browsing tracks of the user equipment in the preset time period, the browsing tracks of the N other user equipment in the preset time period and the unique identification of the first page.
Specifically, the probability of the user equipment accessing the first page and then continuously accessing the second page is calculated according to the formula:
wherein P is 12 F for probability of continuously accessing the second page after accessing the first page 12 F, according to the total number of times that the user equipment continuously accesses the second page after accessing the first page in the preset time period 1 F, for the total number of times the user accesses the first page in the preset time period j1 F, for the total number of times of accessing the first page by the jth user equipment in the N other user equipment in the preset time period j(12) And continuously accessing the second page for the total number of times after the j-th user equipment in the N other user equipment accesses the first page in the preset time period, wherein the j-th user equipment is any user equipment in the N other user equipment.
Wherein, the liquid crystal display device comprises a liquid crystal display device,and->As coefficients, the more times the user equipment accesses the first page in the preset time period, the larger the probability coefficient of the user, the less times the user equipment accesses the first page in the preset time period, and the larger the probability coefficients corresponding to other users.
According to the above formula, the comprehensive probability of each page that the user may access after accessing the first page may be calculated, and in this step, the normalization process may be performed or may not be performed on the comprehensive probability of the page that the user will access each first page.
Of course, the base frames of all pages with the integrated probability greater than the preset threshold may also be sent to the user equipment, which is not limited by the embodiment of the present invention.
Optionally, a domain range and a domain dictionary may be further set, and through cluster analysis, n pages visited by the user equipment in a preset time period are classified into m types, for example, a user has visited 100 pages in the preset time period, and the 100 pages may be classified into 10 types by setting the domain range and the domain dictionary, which are respectively 10 types of weather, finance, news, travel, shopping and the like.
And according to the total number of times that the user equipment browses the first page in the preset time period and the browsing track, acquiring a page with the highest continuous access probability of the user equipment after accessing the first page as a second page.
And sending the data used for loading the first page and the basic frame data used for loading all pages in the page with the highest probability to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data of all pages in the page with the highest probability.
For example, the first page is a weather page, the user accesses 100 pages within a preset time period, wherein the number of times of accessing the weather page is 20, the number of times of immediately accessing the travel page is 12 after the weather page is accessed, and the probability is highest, and the web page of the travel page is the page with the highest probability of being continuously accessed by the user equipment after the first page is accessed.
The method comprises the steps of obtaining unique identifiers of all travel webpages in a browsing record, obtaining basic frame data of each travel webpage according to the unique identifiers of the travel webpages, sending data for loading a first page to a user, and simultaneously sending the basic frame data of all the travel webpages in the browsing record to the user in a preset time period, wherein when the user accesses the first webpage, the user equipment already stores the basic frame data of the travel webpages frequently accessed by the user, and the basic frame data is directly obtained from the local and directly loaded, so that the loading speed of the loaded travel webpages is improved, and further the user experience is improved.
S104, acquiring the basic frame data for loading the second page according to the unique identification of the second page.
S105, sending the data for loading the first page and the basic frame data for loading the second page to the user equipment, so that the user equipment loads the data of the first page, and pre-caching the basic frame data for loading the second page.
The embodiment of the invention provides a page loading method, which enables a user to pre-cache the base frame data of a second page to be accessed by the user by simultaneously sending the base frame data of the second page to be used by the user to the user equipment when the user requests the data of the first page, thereby improving the page loading speed when the user uses the second page.
Example two
Fig. 2 is a schematic diagram of a page loading device according to an embodiment of the present invention, and in combination with fig. 2, the device includes: a receiving unit 21, a first acquiring unit 22, a second acquiring unit 23, and a transmitting unit 24;
a receiving unit 21, configured to receive a page loading request sent by a user equipment, where the page loading request is used to request to obtain data for loading a first page, and the page loading request includes a unique identifier of the user equipment and a unique identifier of the first page;
a first obtaining unit 22, configured to obtain, according to the unique identifier of the first page, data for loading the first page, where the data for loading the first page includes base frame data and/or page element data for loading the first page;
a second obtaining unit 23, configured to obtain, according to the unique identifier of the user equipment, the unique identifier of the first page, and the pre-cached browsing record of the user equipment in a preset time period, a unique identifier of a second page accessed by the user equipment, where the second page is one or a class of pages that are continuously accessed after the user equipment accesses the first page;
the first obtaining unit 21 is further configured to obtain, according to the unique identifier of the second page, base frame data for loading the second page;
and a sending unit 24, configured to send the data for loading the first page and the base frame data for loading the second page to the user equipment, so that the user equipment loads the data of the first page, and pre-caches the base frame data for loading the second page.
The embodiment of the invention provides a page loading device, which enables user equipment to pre-cache the base frame data of a second page to be accessed by a user to improve the page loading speed when the user uses the second page by simultaneously sending the base frame data of the second page to be used by the user to the user equipment when the user requests the data of the first page.
Example III
Fig. 3 is a schematic diagram of a page loading terminal device according to an embodiment of the present invention. As shown in fig. 3, the page loading terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a page loader, stored in the memory 31 and executable on the processor 30. The processor 30, when executing the computer program 32, implements the steps of the various page loading method embodiments described above, such as steps 101 through 105 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 21 to 24 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions describing the execution of the computer program 32 in the page load terminal device 3.
The page loading terminal device 3 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The page loading terminal device may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the page loading terminal device 3 and does not constitute a limitation of the page loading terminal device 3, and may include more or less components than illustrated, or may combine certain components, or different components, e.g. the page loading terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 30 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the page loading terminal device 3, such as a hard disk or a memory of the page loading terminal device 3. The memory 31 may also be an external storage device of the page loading terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the page loading terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the page loading terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the page loading terminal device. The memory 31 may also be used for temporarily storing data that has been output or is to be output.
The embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the steps of the page loading method according to any one of the foregoing embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (7)

1. A method of page loading, the method comprising:
receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page, and the page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page;
acquiring data for loading the first page according to the unique identifier of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page;
acquiring a unique identifier of a second page accessed by the user equipment according to the unique identifier of the user equipment, the unique identifier of the first page and a pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page;
acquiring basic frame data for loading the second page according to the unique identifier of the second page;
transmitting the data used for loading the first page and the basic frame data used for loading the second page to the user equipment, so that the user equipment loads the data of the first page and pre-caches the basic frame data used for loading the second page;
the obtaining the unique identification of the second page accessed by the user equipment comprises the following steps:
acquiring the total number of times that the user equipment browses the first page in a preset time period according to the browsing record of the user equipment in the preset time period;
ordering all pages accessed by the user equipment in the preset time period according to the sequence of browsing time from first to last, and acquiring a browsing track of the user equipment in the preset time period;
according to the total number of times that the user equipment browses the first page in the preset time period and the browsing track, acquiring one page with highest continuous access probability of the user equipment after accessing the first page as the second page;
the method further comprises the steps of:
acquiring browsing records of N other user devices in the preset time period;
acquiring the unique identifier of the second page according to the browsing tracks of the user equipment in a preset time period, the browsing tracks of the N other user equipment in the preset time period and the unique identifier of the first page;
calculating the probability of the user equipment accessing the first page and then continuously accessing the second page according to the formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,for the probability of accessing the second page consecutively after the first page +.>For the total number of consecutive accesses to the second page after the user device accesses the first page within the preset time period->For the total number of times the user accesses the first page within the preset time period, +.>For the total number of times the j-th user device of the N other user devices accesses the first page in the preset time period,/th user device of the N other user devices accesses the first page>And continuously accessing the second page for the total number of times after the j-th user equipment in the N other user equipment accesses the first page in the preset time period, wherein the j-th user equipment is any user equipment in the N other user equipment.
2. The method of claim 1, wherein the page load request further includes a first version number corresponding to the first page, and acquiring the data for loading the first page according to the unique identifier of the first page includes:
judging the release time of the first version number according to the unique identifier of the first page and the first version number;
judging whether the first page corresponds to an upgrade version or not according to the release time of the first version number;
if the first page corresponds to the upgrading version, acquiring basic frame data and/or page element data which correspond to the upgrading version of the first page and are used for loading the first page, and if the first page does not correspond to the upgrading version, acquiring page element data which correspond to the first version and are used for loading the first page.
3. The page loading method of claim 1, further comprising:
dividing n pages accessed by the user equipment in the preset time period into m types of pages through cluster analysis, wherein n and m are positive integers, and n is larger than m;
and obtaining a page with highest continuous access probability after the user equipment accesses the first page according to the total number of times that the user equipment browses the first page in the preset time period and the browsing track.
4. A method of loading a page as recited in claim 3 wherein the method further comprises:
and sending the data used for loading the first page and the basic frame data used for loading all pages in the page with the highest probability to the user equipment so that the user equipment loads the data of the first page and pre-caches the basic frame data of all pages in the page with the highest probability.
5. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 4.
6. A terminal device, characterized in that the terminal device comprises a memory, a processor, the memory storing a computer program executable on the processor, the processor executing the computer program implementing the steps of:
receiving a page loading request sent by user equipment, wherein the page loading request is used for requesting to acquire data for loading a first page, and the page loading request comprises a unique identifier of the user equipment and a unique identifier of the first page;
acquiring data for loading the first page according to the unique identifier of the first page, wherein the data for loading the first page comprises basic frame data and/or page element data for loading the first page;
acquiring a unique identifier of a second page accessed by the user equipment according to the unique identifier of the user equipment, the unique identifier of the first page and a pre-cached browsing record of the user equipment in a preset time period, wherein the second page is one or a class of pages continuously accessed after the user equipment accesses the first page;
acquiring basic frame data for loading the second page according to the unique identifier of the second page;
transmitting the data used for loading the first page and the basic frame data used for loading the second page to the user equipment, so that the user equipment loads the data of the first page and pre-caches the basic frame data used for loading the second page;
the obtaining the unique identification of the second page accessed by the user equipment comprises the following steps:
acquiring the total number of times that the user equipment browses the first page in a preset time period according to the browsing record of the user equipment in the preset time period;
ordering all pages accessed by the user equipment in the preset time period according to the sequence of browsing time from first to last, and acquiring a browsing track of the user equipment in the preset time period;
according to the total number of times that the user equipment browses the first page in the preset time period and the browsing track, acquiring one page with highest continuous access probability of the user equipment after accessing the first page as the second page;
acquiring browsing records of N other user devices in the preset time period;
acquiring the unique identifier of the second page according to the browsing tracks of the user equipment in a preset time period, the browsing tracks of the N other user equipment in the preset time period and the unique identifier of the first page;
calculating the probability of the user equipment accessing the first page and then continuously accessing the second page according to the formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,to access the first pageProbability of subsequent access to the second page after the face, < >>For the total number of consecutive accesses to the second page after the user device accesses the first page within the preset time period->For the total number of times the user accesses the first page within the preset time period, +.>For the total number of times the j-th user device of the N other user devices accesses the first page in the preset time period,/th user device of the N other user devices accesses the first page>And continuously accessing the second page for the total number of times after the j-th user equipment in the N other user equipment accesses the first page in the preset time period, wherein the j-th user equipment is any user equipment in the N other user equipment.
7. The terminal device of claim 6, wherein the page load request further includes a first version number corresponding to the first page, and wherein obtaining the data for loading the first page according to the unique identifier of the first page includes:
judging the release time of the first version number according to the unique identifier of the first page and the first version number;
judging whether the first page corresponds to an upgrade version or not according to the release time of the first version number;
if the first page corresponds to the upgrading version, acquiring basic frame data and/or page element data which correspond to the upgrading version of the first page and are used for loading the first page, and if the first page does not correspond to the upgrading version, acquiring page element data which correspond to the first version and are used for loading the first page.
CN201811020600.9A 2018-09-03 2018-09-03 Page loading method, computer readable storage medium and terminal equipment Active CN109376318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811020600.9A CN109376318B (en) 2018-09-03 2018-09-03 Page loading method, computer readable storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811020600.9A CN109376318B (en) 2018-09-03 2018-09-03 Page loading method, computer readable storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN109376318A CN109376318A (en) 2019-02-22
CN109376318B true CN109376318B (en) 2023-07-21

Family

ID=65404366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811020600.9A Active CN109376318B (en) 2018-09-03 2018-09-03 Page loading method, computer readable storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN109376318B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902248B (en) * 2019-02-25 2021-07-13 百度在线网络技术(北京)有限公司 Page display method and device, computer equipment and readable storage medium
CN110717122B (en) * 2019-09-26 2021-12-07 北京华宇信息技术有限公司 Page performance acquisition method and device and electronic equipment
CN110990733B (en) * 2019-10-31 2023-03-17 合肥美的电冰箱有限公司 Page loading method and device, electronic equipment and medium
CN110891199B (en) * 2019-11-14 2022-01-21 聚好看科技股份有限公司 Page display method and display equipment
CN111177605B (en) * 2019-12-20 2022-06-21 中国平安财产保险股份有限公司 Single-page loading performance monitoring method and device and related equipment
CN112115388A (en) * 2020-09-09 2020-12-22 深圳市欢太科技有限公司 Webpage display method, mobile terminal and computer readable storage medium
CN113282354B (en) * 2021-06-28 2023-04-07 中国平安人寿保险股份有限公司 H5 page loading method, device and equipment of application program and storage medium
CN113392358A (en) * 2021-07-12 2021-09-14 维沃移动通信(杭州)有限公司 Static resource preloading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202368A (en) * 2016-07-07 2016-12-07 贵州白山云科技有限公司 Prestrain method and apparatus
CN106250529A (en) * 2016-08-05 2016-12-21 成都佳荣科技有限公司 Webpage loading method
WO2017026047A1 (en) * 2015-08-11 2017-02-16 三菱電機株式会社 Web browsing device and web browsing program
CN107609184A (en) * 2017-09-30 2018-01-19 北京奇虎科技有限公司 Data load method and device based on web page browsing behavior
CN108363815A (en) * 2015-07-20 2018-08-03 广州市动景计算机科技有限公司 A kind of pre-reading method of Webpage, device and intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8990499B2 (en) * 2010-03-26 2015-03-24 Amazon Technologies, Inc. Caching of a site model in a hierarchical modeling system for network sites

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363815A (en) * 2015-07-20 2018-08-03 广州市动景计算机科技有限公司 A kind of pre-reading method of Webpage, device and intelligent terminal
WO2017026047A1 (en) * 2015-08-11 2017-02-16 三菱電機株式会社 Web browsing device and web browsing program
CN106202368A (en) * 2016-07-07 2016-12-07 贵州白山云科技有限公司 Prestrain method and apparatus
CN106250529A (en) * 2016-08-05 2016-12-21 成都佳荣科技有限公司 Webpage loading method
CN107609184A (en) * 2017-09-30 2018-01-19 北京奇虎科技有限公司 Data load method and device based on web page browsing behavior

Also Published As

Publication number Publication date
CN109376318A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109376318B (en) Page loading method, computer readable storage medium and terminal equipment
CN109379395B (en) Interface data cache setting method and terminal equipment
WO2015161658A1 (en) Webpage resource loading method and device
WO2016095733A1 (en) Network data display processing method and device
US20140222947A1 (en) Method and apparatus for browsings webpages, and storage medium
CN107870920B (en) Browser resource pre-pulling method and device
US9088461B2 (en) Common web accessible data store for client side page processing
US20120005017A1 (en) Method and system for providing advertisements
CN103051706A (en) Dynamic webpage request processing system and method for dynamic website
CN105740330B (en) Method and device for displaying data in paging mode
CN109634753B (en) Data processing method, device, terminal and storage medium for switching browser kernels
CN111597213A (en) Caching method, software server and storage medium
US8832275B1 (en) Offline web browser
US11477158B2 (en) Method and apparatus for advertisement anti-blocking
WO2019041670A1 (en) Method, device and system for reducing frequency of functional page requests, and storage medium
US11055223B2 (en) Efficient cache warm up based on user requests
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
US9787755B2 (en) Method and device for browsing network data, and storage medium
CN106777055B (en) Method and device for realizing website interfacing rendering
CN111756744B (en) H5 user identification method, device, equipment and storage medium
CN110830537B (en) Page processing method and device
CN113297267A (en) Data caching and task processing method, device, equipment and storage medium
US20140237133A1 (en) Page download control method, system and program for ie core browser
CN116304458B (en) Method, device, equipment and medium for web page real-time notification update
CN108280111A (en) page processing method, device, user terminal 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
GR01 Patent grant
GR01 Patent grant