Method and device for page caching
A page caching and page technology, applied in the field of page caching methods and devices, can solve problems affecting page switching speed, unpredictable page cache destruction time, limited cache resources, etc., to improve user experience, increase average loading speed and page switching The effect of speed and efficient utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 It is a flow chart of a page caching method provided by Embodiment 1 of the present invention. This embodiment is applicable to the caching of mobile terminal application program pages. The method can be executed by a page caching device, and the device can use hardware and / or implemented in software, the method specifically includes the following operations:
[0023] S110. Obtain historical access state data of the page currently accessed by the terminal.
[0024] The historical access status data of the page currently accessed by the terminal reflects the user's page access habits, and may also reflect the differences in user habits. There are more and more functions on the existing terminal applications, but for a certain user, there may not be many functions used. For example, in map applications, users who often travel may use more pages of hotels and routes; Users with cars may use more navigation and route pages; some users may often open the bus page...
Embodiment 2
[0037] figure 2 It is a flow chart of a page caching method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes:
[0038] S210. Obtain historical access state data of the page currently accessed by the terminal.
[0039] S220. Calculate the priority value of the currently accessed page according to the historical access status data of the currently accessed page.
[0040]S230. When the free cache resources in the cache area are less than the resources of the currently accessed page, compare the priority value of the currently accessed page with the priority value of the cached pages in the cache area, and release In the cache area, at least one cache page with a priority value smaller than the priority value of the currently accessed page is preferred, and resources of the currently accessed page are added to the cache area.
[0041] When the free cache resources of the cache area are less than the resources of the currently a...
Embodiment 3
[0049] image 3 It is a schematic diagram of the mechanism and principle of a page caching method provided by Embodiment 3 of the present invention, as shown in image 3 As shown, when a user accesses a page using a terminal, the historical access state data of each page accessed by the user, such as the page access frequency An and the average rendering time Tn of each page, is recorded and stored locally. Then calculate the priority value Qn=An*Tn of the page according to the frequency An of using the page by the user and the average rendering time Tn of the page, where n is a positive integer. Execute the caching strategy, give priority to caching pages with high priority values, and release pages with low priority values when the cache resources in the cache area are insufficient. When the user switches pages, the query in the cache area hits the corresponding cache page and directly accesses the hit cache page.
[0050] In the embodiment of the present invention, the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



