A page loading method and device, storage medium and electronic device

By analyzing user behavior information, predicting the popularity of page access and selecting the appropriate preload method, the problem of resource waste for terminal devices when page loading is solved, and the page loading efficiency and user experience are improved.

CN112685666BActive Publication Date: 2024-12-24BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011581534.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-28
Publication Date
2024-12-24
Estimated Expiration
2040-12-28

AI Technical Summary

Technical Problem

In the prior art, when the terminal device is loading the page, all possible pages are preloaded, resulting in waste of resources and redundant information storage, affecting the page loading efficiency.

Method used

By analyzing user behavior information, predicting the access popularity of each page, and selecting a suitable preload method based on the prediction results, only preloading pages with high access popularity to avoid excessive resource waste.

Benefits of technology

Improve page loading efficiency, reduce resource waste, ensure that the pages visited by users can load quickly, and avoid redundant preloading of infrequently accessed pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112685666B_ABST
    Figure CN112685666B_ABST
Patent Text Reader

Abstract

This specification proposes a page loading method and device, a storage medium and an electronic device, which predicts the access popularity of each second page visited by the user, and preloads each second page that the user can jump to through the first page currently being visited by using different preloading methods. Since the preloading method is selected based on the access popularity determined by the user behavior information, it avoids using too many resources to preload pages that the user does not usually visit on the basis of accurate prediction, thereby improving the preloading efficiency of the page and reducing resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a page loading method and device, a storage medium and an electronic device. Background Art

[0002] Currently, when a terminal device accesses a page, it needs to send a request to the server, and then the server returns the corresponding data information, which is then loaded by the terminal device. However, since the information transmission between the terminal device and the server takes time, if the page is loaded every time the user accesses the page, it will obviously cause the page to be displayed for a long time.

[0003] In order to increase the speed of page display, the prior art uses preloading technology. Before monitoring the trigger operation of accessing the next page, the next page that can be accessed from the current page is preloaded. Therefore, when the user accesses the next page, it can be displayed directly according to the corresponding data information, thereby shortening the display time.

[0004] However, in the prior art, all pages that a user can access from the current page are usually preloaded, which places a heavy preloading burden on the terminal device and stores a lot of redundant information. Summary of the invention

[0005] This specification provides a page loading method and device, a storage medium and an electronic device to partially solve the above-mentioned problems existing in the prior art.

[0006] This manual adopts the following technical solutions:

[0007] A page loading method, comprising:

[0008] Determine the page the user is currently visiting as the first page;

[0009] Determine each jump link included in the first page, and use the page corresponding to each jump link as the second page;

[0010] Obtaining the user's behavior information, and predicting the visit popularity of each second page according to the behavior information;

[0011] Acquire a plurality of pre-determined preloading methods, and select a corresponding preloading method for each second page according to the predicted access popularity of each second page;

[0012] Each second page is preloaded in a corresponding preloading manner.

[0013] Optionally, the page loading method is executed by a terminal device;

[0014] The first page and each second page are pages in a Hybrid Application hybrid mode mobile application installed in the terminal device.

[0015] Optionally, predicting the access popularity of each second page according to the behavior information specifically includes:

[0016] Predicting the probability distribution of the user visiting each second page according to the user's behavior information;

[0017] For each second page, the predicted probability corresponding to the second page in the probability distribution is used as the access popularity of the second page.

[0018] Optionally, the several preloading methods specifically include:

[0019] Do not preload, preload part of the data information in the page, or preload all the data information in the page.

[0020] Optionally, according to the predicted access popularity of each second page, a corresponding preloading method is selected for each second page, specifically including:

[0021] Obtain the corresponding relationship between each preloading mode and each heat range;

[0022] For each second page, determine the heat interval into which the access heat of the second page falls, and use the preloading mode corresponding to the heat interval as the preloading mode of the second page.

[0023] Optionally, obtaining a correspondence between each preloading mode and each heat interval specifically includes:

[0024] For each second page, obtaining a correspondence between each preloading mode and each heat interval of the second page;

[0025] After preloading each second page in a corresponding preloading manner, the method further includes:

[0026] Determine the second page visited by the user as a target page, and determine the second page not visited by the user as a non-target page;

[0027] For each second page, it is determined whether the second page is a target page, and the heat interval of the second page is adjusted according to the determination result and the preloading method executed by the second page.

[0028] Optionally, determining whether the second page is a target page and adjusting the heat range of the second page according to the determination result and the preloading method performed by the second page specifically includes:

[0029] Acquire each preloading mode executed in history for each second page, and the second page actually accessed after executing each preloading mode;

[0030] For each second page, determining whether the second page is a target page to be accessed after executing each preloading method;

[0031] According to various preloading modes executed in the history of the second page and corresponding judgment results, the heat range of the second page is adjusted.

[0032] Optionally, determining whether the second page is a target page and adjusting the heat range of the second page according to the determination result and the preloading method performed by the second page specifically includes:

[0033] Determine whether the second page is a target page, and determine a preloading difference of the second page according to the determination result and the preloading method executed by the second page, wherein when the second page is a target page, in the preloading method executed, the less data information in the preloaded page, the greater the preloading difference; when the second page is a non-target page, in the preloading method executed, the more data information in the preloaded page, the greater the preloading difference;

[0034] According to the preload difference of the second page, each heat interval of the second page is adjusted.

[0035] This specification provides a page loading device, including:

[0036] A first determination module determines a page currently visited by the user as the first page;

[0037] A second determining module determines each jump link included in the first page, and uses a page corresponding to each jump link as a second page;

[0038] A popularity prediction module, which obtains the user's behavior information and predicts the access popularity of each second page according to the behavior information;

[0039] A mode selection module obtains a plurality of preloading modes determined in advance, and selects a corresponding preloading mode for each second page according to the predicted access popularity of each second page;

[0040] The preloading module preloads each second page in a corresponding preloading manner.

[0041] This specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned page loading method is implemented.

[0042] The present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned page loading method when executing the program.

[0043] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0044] By predicting the popularity of each second page visited by the user, different preloading methods are used to preload each second page that the user can jump to through the first page currently being visited. Since the preloading method is selected based on the popularity determined by the user behavior information, it avoids using too many resources to preload pages that users usually do not visit based on accurate prediction, thereby improving the preloading efficiency of the page and reducing resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0046] Figure 1 A schematic diagram of a page loading method in this manual;

[0047] Figure 2 A schematic diagram of a page loading device provided in this specification;

[0048] Figure 3 The corresponding Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0050] When there are too many pages that can be accessed from the current page, which exceeds the preloading capacity of the terminal device, some pages (such as pages corresponding to important services) are usually selected and all terminal devices are preloaded with the selected pages. However, since different users have different preferences, if the same pages are preloaded indiscriminately on all terminal devices, the probability of users accessing the preloaded pages is low, which will cause waste of resources and redundancy of information storage.

[0051] This specification provides a method for personalized preloading for users, which predicts the page that the user will visit next based on the behavior information of each user, and preloads each page based on the prediction result.

[0052] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0053] Figure 1 The following is a flow chart of a page loading method in this specification, which specifically includes the following steps:

[0054] S100: Determine the page currently visited by the user as the first page.

[0055] S102: determining each jump link included in the first page, and using the page corresponding to each jump link as the second page;

[0056] The page loading method provided in this specification provides a personalized page preloading method based on the user's behavior information. Therefore, the user referred to below in this specification is a specific one or several users, rather than all users who access the page.

[0057] The user uses a terminal device to access a page, where the page can be an interface that provides network services in an application or browser. The terminal device can include but is not limited to a computer, a mobile phone, a tablet computer, a laptop computer, etc. Any device with a page access function can be referred to as a terminal device in this specification. For the sake of simplicity, it is hereinafter referred to as a terminal.

[0058] The terminal determines the page currently accessed by the user through the terminal as the first page.

[0059] The first page includes several jump links for jumping to corresponding pages, and the page corresponding to each jump link in the first page is used as the second page. That is, the user can access the second page from the first page through the jump links in the first page.

[0060] S104: Obtaining the user's behavior information, and predicting the access popularity of each second page according to the behavior information.

[0061] For each user, the historically recorded behavior information of the user can reflect the user's usage habits. The behavior information in this specification refers to behavior information related to page visits, such as the history of page visits, the access path of page visits, the date and time the user visits the page, the length of time stayed on the page, the user's operation information on each page (such as swiping up), etc.

[0062] For a certain user, the behavior information of the user can be obtained in different ways according to the different storage locations of the behavior information. As an example, when the behavior information is stored in the terminal, the terminal can directly obtain the locally stored behavior information; when the behavior information is stored on the server, the terminal can send a behavior information acquisition request to the server according to the identification information of the user who accessed the first page, and the acquisition request includes the user identification information. The server returns the behavior information corresponding to the user identification information to the terminal according to the received acquisition request. Of course, the above is only an example, and this specification does not limit how to obtain the behavior information corresponding to the user.

[0063] The access popularity of each second page is predicted based on the behavior information, wherein the access popularity is a representation of the probability of a user visiting the second page. For a second page, the higher the predicted access popularity of the second page, the greater the probability of the user visiting the second page in the prediction result. The access popularity of each second page can be predicted only because when a user visits the first page, he can only jump to the second page through the first page, and cannot jump from the first page to other pages.

[0064] Based on this, this specification exemplarily proposes a method for representing access popularity: each second page can be regarded as all possible results of page access, and the page that the user wants to visit is predicted based on the behavior information. Since each second page is all possible results of the user's page access, the page predicted to be visited by the user is the probability distribution of each second page, and the predicted probability corresponding to each second page in the probability distribution can be used as the access popularity of each second page.

[0065] S106: Obtaining a plurality of pre-determined preloading methods, and selecting a corresponding preloading method for each second page according to the predicted access popularity of each second page.

[0066] S108: Preload each second page in a corresponding preloading manner.

[0067] In this specification, several preloading methods are predetermined, wherein the difference between executing different preloading methods may be the different amount of preloaded data information, or the different type of preloaded data information (for example, preloading image information or text information), which are not listed one by one in this specification.

[0068] Taking different preloading methods and different amounts of preloaded data information as an example, three preloading methods are illustrated: no preloading, preloading part of the data information in the page, and preloading all the data information in the page (i.e., prerendering the page). It should be noted that for the same preloading method, different implementation methods can be used to implement the preloading method. For example, for the preloading method of preloading part of the data information in the page, a certain amount of information (such as 20K) or a certain proportion (such as 50%) of the data information in the page can be preloaded, and data information of some information types (such as text type) in the page can also be preloaded.

[0069] In order to reduce the difference between the executed preloading method and whether the user actually visits, a corresponding preloading method can be selected for each second page according to the predicted access popularity of each second page, and each second page can be preloaded in the corresponding preloading method.

[0070] Specifically, a correspondence rule between access popularity and preloading mode can be set in advance, and a preloading scheme can be selected according to the correspondence rule. In the above example, the difference between executing different preloading modes can be the different amount of preloaded data information. In this case, the higher the predicted access popularity of the second page, the more data information is preloaded in the executed preloading scheme.

[0071] Through the above Figure 1 As can be seen from the method described, this specification proposes a page loading method, which uses different preloading methods to preload each second page that the user can jump to through the first page currently being visited by predicting the access popularity of each second page visited by the user. Since the preloading method is selected based on the access popularity determined by the user behavior information, it avoids using too many resources to preload pages that the user does not usually visit on the basis of accurate prediction, thereby improving the preloading efficiency of the page and reducing resource waste.

[0072] In the page loading method provided in this specification, the first page currently visited by the user and each second page to be preloaded are pages in an application (Application, APP), specifically, they can be pages in a hybrid mode mobile application (Hybrid Application).

[0073] Since the preloading process is that before the user accesses the page through the terminal, the server sends the data information of the page to the terminal, and the terminal device loads it, so the steps S100 to S106 in the page loading method provided in this specification can be executed by the terminal, that is, using the terminal intelligence method, the terminal executes the above steps S100 to S106 through the APP installed on the terminal, or it can be executed by the server, and the terminal preloads each second page according to the determined preloading method of each second page. Among them, when steps S100 to S106 are executed by the server, the information providing method provided in this specification is not limited to being executed by the server that provides page data information to the terminal device. For the convenience of description, the following description takes terminal execution as an example to illustrate the page loading method provided in this specification.

[0074] In the present specification, the predicted access heat can be expressed as a numerical value, or the heat level determined based on the numerical value. It can be understood that when the access heat is expressed in the form of a heat level, the numerical value based on which the heat level is determined also has the function of representing the access heat of the second page. In this case, the numerical value can also be the access heat.

[0075] As for how to select the corresponding preloading method for the second page according to the predicted access heat of the second page, that is, to pre-set the corresponding rules between the access heat and the preloading method, specifically, the value range of the access heat can be divided into several heat intervals in advance, and the corresponding relationship between each heat interval and each preloading method is established, and the preloading method corresponding to the heat interval into which the determined access heat of the second page falls is used as the preloading method of the second page.

[0076] Among them, the union of each heat interval may not be the entire value range of the access heat, that is, there is a non-heat interval in the value range. When the access heat falls into the non-heat interval, no preloading method may be executed; the union of each heat interval may also be the entire value range of the access heat, each heat interval is adjacent to each other, and there is no non-heat interval in the value range.

[0077] For the page provider, the importance of each second page is usually different. For relatively more important pages, such as pages used for advertising or pages corresponding to key businesses, the user experience when users visit important pages takes precedence over the resources wasted by possible invalid preloading. Therefore, when the predicted access popularity of important pages is the same as other second pages, it is hoped that a preloading method with better user experience can be used to preload the key pages (for example, a preloading method that preloads more data information in the page). This specification provides two methods to illustrate how to select a preloading method for each second page according to its importance:

[0078] First, a page weight can be set for each second page according to the importance of each second page. When the page weight is larger, the corresponding second page is more important. The product of the page weight of each second page and the access heat can be used as the weight heat of each second page, and the corresponding preloading method can be selected according to the heat range into which the weight heat falls.

[0079] Secondly, each second page may not share the same heat interval, but the heat interval corresponding to each second page may be determined according to the importance of each second page. For example, the corresponding heat interval may be directly determined for each second page, or, on the basis of determining the basic heat interval, when the smaller the page weight is, the more important the corresponding second page is, according to the page weight of each second page as described in the second method above, for each second page, the product of the page weight of the second page and the endpoints of each basic heat interval may be used as the endpoint of the weight interval of the second page. That is to say, the heat intervals are re-determined for the second page according to the page weight, and each weight interval may have the same corresponding relationship with the original basic heat intervals corresponding to the preloading method, and the preloading method corresponding to the weight interval of each second page into which the access heat of each second page falls is used as the preloading method of each second page.

[0080] When the first method is adopted, the weighted heat simultaneously represents the importance of each second page to the page provider and the access probability to the user, so the preloading method corresponding to the heat interval into which each weighted heat falls can be determined as the preloading method of each second page; when the second method is adopted, the heat interval, that is, the weight interval, is adaptively re-determined for each second page. The weight interval represents the importance of each second page to the page provider, and the access heat represents the access probability of each second page to the user, so the preloading method corresponding to the weight interval into which each access heat falls can be used as the preloading method of each corresponding second page. Of course, the first method and the second method can be adopted at the same time, that is, the predicted access heat of the second page can be weighted according to the importance of the page, and each second page may not share the same heat interval, but correspond to its own heat interval respectively.

[0081] For the sake of brevity, the following description of this specification will be explained using the example that the second pages do not share the same heat interval. However, the heat interval of each second page can not only be determined based on the page weight representing the importance, but can also be determined by other methods. This specification does not limit how to determine the heat interval of each second page separately.

[0082] In the page loading method provided in this specification, the desired effect is to accurately preload the pages that the user wants to visit, while for pages that the user does not usually visit, a small amount of data information can be preloaded or not preloaded. Therefore, after each second page executes the corresponding preloading method, the degree of difference in the executed preloading method (hereinafter referred to as preloading difference) can be measured according to the second page actually visited by the user.

[0083] In the above example of the present specification, when different preloading methods are executed, the amount of data information in the preloaded page is different. Following this example, when the second page that preloads a large amount of data information is not the page visited by the user (hereinafter referred to as the target page), it can be considered that the preloading difference of the second page is large, because the resources consumed by preloading the second page that the user has not visited (hereinafter referred to as the non-target page) are wasted; and when the preloading method executed by the target page before being visited is not preloading, or the preloaded data information is small, it can also be considered that the preloading difference of the second page is large, because at this time when the user visits the target page, the loading and display of the page will take the user a long time, resulting in a poor user experience.

[0084] Since there is a corresponding relationship between the preloading mode and the heat interval of each second page, for each second page, the preloading difference of the second page is determined by the predicted access heat of the second page and the heat interval corresponding to the second page.

[0085] The access heat is a representation of the probability of a user visiting each second page. Therefore, after a user visits a target page, the target page can be used as feedback to improve the accuracy of predicting the access heat of each second page in the future. For example, when a machine learning model is used to output the probability of a user visiting each second page, the target page can be used as a label, and the parameters in the machine learning model that outputs the access heat can be adjusted with the goal of minimizing the difference between the predicted probability of a user visiting each second page and the label.

[0086] After determining the access popularity of each second page, when weighting each access popularity with page weight according to the importance of each second page, the page weight of each second page can be adjusted according to whether each second page is a target page. Since the page weight only represents the importance of the business, which is objective and not affected by the preloading difference, the weight of each page does not need to be adjusted.

[0087] In addition, the corresponding heat interval for each second page can be adjusted with the goal of minimizing the preload difference of each second page. It should be noted that the adjustment of the heat interval corresponding to each second page referred to below in this specification may only refer to the adjustment of the heat interval corresponding to each second page accessed from the first page as the starting point, and does not adjust the heat interval accessed from other pages as the starting point.

[0088] For each second page, the heat interval can be adjusted by adjusting the endpoints of the heat interval corresponding to the second page. Among them, only the endpoints of the heat interval corresponding to the executed preloading method can be adjusted, or the endpoints of each heat interval corresponding to the second page can be adjusted, so that the effectiveness of the adjustment can be reflected in a larger range of access heat. When there are non-heat intervals in the value range of access heat, the adjustment of one or several heat intervals may not affect other heat intervals; and when there are no non-heat intervals in the value range of access heat, it can be considered that each heat interval is obtained by dividing the value range of access heat by the heat threshold between adjacent heat intervals. In this case, each heat threshold can be adjusted to achieve the effect of adjusting each heat interval.

[0089] As for how to adjust the heat interval according to the preloading difference, it can be seen that when the preloading difference is large, the adjustment range of the heat interval can also be large, or when the preloading difference is small, you can choose not to adjust the heat interval corresponding to the second page. In one embodiment of the present specification, a difference threshold can be determined for each second page. When the preloading difference determined by the second page is greater than the difference threshold, the heat interval corresponding to the second page is adjusted. Of course, it can also be used to determine whether the above-mentioned page weight is adjusted.

[0090] But obviously, the adjustment of the heat interval includes not only the adjustment amplitude, but also the adjustment direction. This means that the adjustment of the heat interval cannot depend solely on the size of the preloading difference. This is determined by the information represented by the preloading difference. The preloading difference measures the uncertainty of the preloading method selected by each second page, that is, the degree of difference, but does not represent how the difference is and how to reduce the difference. The specific difference needs to be determined according to the specific preloading method.

[0091] From the above-mentioned two examples of large differences in preloading, it can be seen that the preloading differences are also large, but the adjustment directions of the heat intervals are not the same. When the second page that preloads a large amount of data information is not the target page, the heat interval corresponding to the preloading method of preloading a large amount of data information for the second page can increase the left endpoint of the interval so that when a higher access heat is predicted for the second page, the preloading method of preloading a large amount of data information can be selected. When the preloading method executed by the target page preloads a small amount of data information, the right endpoint of the corresponding heat interval of the preloading method with a small amount of preloaded data information can be reduced, so that when a smaller access heat is predicted for the second page, the preloading method with a smaller amount of preloaded data information can be selected.

[0092] Therefore, when actually adjusting the heat interval, for each second page, the adjustment direction of the second page heat interval can be determined according to the preloading method performed by the second page and whether it is a target page, and the adjustment range of the second page heat interval can be determined according to the size of the preloading difference of the second page.

[0093] For example, when each heat interval is obtained by dividing the range of access heat values ​​by heat thresholds between adjacent heat intervals, it can be determined whether the heat threshold of the second interval needs to be increased or decreased based on the preloading method performed by the second page and whether it is the target page, and how much the heat threshold of the second interval needs to be adjusted based on the determined preloading difference size of the second page.

[0094] In addition, since the result of a single user visit is accidental, the preloading method executed by each second page in history and the target pages visited by the user after execution can also be determined based on the collected user behavior information. Specifically, the information of the user's access to the second page through the jump link in the first page in the recent period can be collected, where the recent period can be a week, a month, etc. The starting point first page visited by the user contains at least some of the same jump links as the first page referred to in this specification. The predicted access popularity, page weight, and heat range of each second page are adjusted according to the second pages visited by the user in history.

[0095] It should be noted that, since each second page has executed the selected preloading scheme when adjusting the heat interval of each second page, and the user has actually visited the target page, the preloading method executed this time and the target page visited by the user after execution are also included in the preloading method executed in history and the target page visited by the user after execution.

[0096] Specifically, continuing with the above example, when each heat interval is obtained by dividing the value range of the access heat by the heat threshold between adjacent heat intervals, it is possible to obtain each preloading method executed in the history of each second page, as well as the second page actually accessed after executing each preloading method. For each second page, it is determined whether the second page is the target page accessed after executing each preloading method. According to the preloading methods executed in the history of the second page and the corresponding judgment results, the preloading errors of the preloading methods executed in the history of the second page are determined. According to the preloading errors, the preloading methods executed, and the corresponding judgment results, the adjustment direction and adjustment range of the heat threshold of the second page are determined.

[0097] The above is an exemplary page loading method provided in this specification. Based on the same idea, this specification also provides corresponding devices, storage media and electronic devices.

[0098] Figure 2 A schematic diagram of a page loading device provided in an embodiment of this specification, the device comprising:

[0099] A first determination module 200 is used to determine the page currently visited by the user as the first page;

[0100] The second determining module 202 is used to determine each jump link included in the first page, and use the page corresponding to each jump link as the second page;

[0101] A popularity prediction module 204 is used to obtain the user's behavior information and predict the access popularity of each second page according to the behavior information;

[0102] The mode selection module 206 is used to obtain a plurality of preloading modes determined in advance, and select a corresponding preloading mode for each second page according to the predicted access popularity of each second page;

[0103] The preloading module 208 is used to preload each second page in a corresponding preloading manner.

[0104] Optionally, the page loading method is executed by a terminal device; the first page and each second page are pages in a Hybrid Application hybrid mode mobile application installed by the terminal device.

[0105] Optionally, the popularity prediction module 204 is specifically used to predict the probability distribution of the user visiting each second page based on the user's behavior information; for each second page, the predicted probability corresponding to the second page in the probability distribution is used as the access popularity of the second page.

[0106] Optionally, the several preloading methods specifically include: no preloading, preloading part of the data information in the page, and preloading all the data information in the page.

[0107] Optionally, the method selection module 206 is specifically used to obtain the correspondence between each preloading method and each heat interval; for each second page, determine the heat interval into which the access heat of the second page falls, and use the preloading method corresponding to the heat interval as the preloading method of the second page.

[0108] Optionally, the method selection module 206 is specifically used to, for each second page, obtain the correspondence between each preloading method and each heat interval of the second page; determine the second page visited by the user as the target page, and determine the second page not visited by the user as the non-target page; for each second page, determine whether the second page is the target page, and adjust the heat interval of the second page according to the judgment result and the preloading method executed by the second page.

[0109] Optionally, the mode selection module 206 is specifically used to obtain the preloading modes executed historically by each second page, and the second page actually accessed after executing each preloading mode; for each second page, determine whether the second page is the target page accessed after executing each preloading mode; and adjust the heat range of the second page according to the preloading modes executed historically by the second page and the corresponding judgment results.

[0110] Optionally, the method selection module 206 is specifically used to determine whether the second page is a target page, and determine the preloading difference of the second page based on the judgment result and the preloading method executed by the second page, wherein when the second page is a target page, the less data information in the preloaded page in the preloading method executed, the greater the preloading difference; when the second page is a non-target page, the more data information in the preloaded page in the preloading method executed, the greater the preloading difference; according to the preloading difference of the second page, adjust the various heat intervals of the second page.

[0111] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provided page loading method.

[0112] This manual also provides Figure 3 The schematic structure diagram of the electronic device shown in FIG. Figure 3As mentioned above, at the hardware level, the page loading device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0113] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0114] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0115] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0116] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0117] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0119] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0121] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0122] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0123] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0124] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0125] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0126] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0127] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0128] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A page loading method, characterized in that: include: Determine the page the user is currently visiting as the first page; Determine each jump link included in the first page, and use the page corresponding to each jump link as the second page; Obtaining the user's behavior information, and predicting the visit popularity of each second page according to the behavior information; Acquire a plurality of pre-determined preloading methods, and select a corresponding preloading method for each second page according to the predicted access heat of each second page, including: for each second page, acquire the corresponding relationship between each preloading method and each heat interval of the second page, determine the heat interval into which the access heat of the second page falls, use the preloading method corresponding to the heat interval as the preloading method of the second page, determine the second page visited by the user as the target page, and determine the second page not visited by the user as the non-target page; for each second page, determine whether the second page is the target page, and determine the preloading difference of the second page according to the judgment result and the preloading method executed by the second page, wherein when the second page is the target page, the less data information in the preloaded page in the preloading method executed, the greater the preloading difference, and when the second page is the non-target page, the more data information in the preloaded page in the preloading method executed, the greater the preloading difference, and adjust the heat intervals of the second page according to the preloading difference of the second page; Each second page is preloaded in a corresponding preloading manner.

2. The method according to claim 1, characterized in that The page loading method is executed by a terminal device; The first page and each second page are pages in a Hybrid Application hybrid mode mobile application installed in the terminal device.

3. The method according to claim 1, characterized in that Predicting the access popularity of each second page according to the behavior information specifically includes: Predicting the probability distribution of the user visiting each second page according to the user's behavior information; For each second page, the predicted probability corresponding to the second page in the probability distribution is used as the access popularity of the second page.

4. The method according to claim 1, characterized in that The several preloading methods specifically include: Do not preload, preload part of the data information in the page, or preload all the data information in the page.

5. A page loading device, characterized in that: include: A first determination module determines a page currently visited by the user as the first page; A second determining module determines each jump link included in the first page, and uses a page corresponding to each jump link as a second page; A popularity prediction module, which obtains the user's behavior information and predicts the access popularity of each second page according to the behavior information; A mode selection module obtains a plurality of preloading modes determined in advance, and selects a corresponding preloading mode for each second page according to the predicted access heat of each second page, including: for each second page, obtaining a corresponding relationship between each preloading mode and each heat interval of the second page, determining the heat interval into which the access heat of the second page falls, using the preloading mode corresponding to the heat interval as the preloading mode of the second page, determining the second page visited by the user as the target page, and determining the second page not visited by the user as the non-target page; for each second page, determining whether the second page is the target page, and determining the preloading difference of the second page according to the determination result and the preloading mode executed by the second page, wherein when the second page is the target page, in the preloading mode executed, the less data information in the preloaded page, the greater the preloading difference, and when the second page is the non-target page, in the preloading mode executed, the more data information in the preloaded page, the greater the preloading difference, and adjusting each heat interval of the second page according to the preloading difference of the second page; The preloading module preloads each second page in a corresponding preloading manner.

6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.