Page cache method and device
A page cache and page technology, applied in the field of page cache methods and devices, can solve problems affecting page switching speed, limited cache resources, unpredictable page cache destruction time, etc., to improve user experience, efficient utilization, and increase average loading speed And the effect of page switching speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 This is a flowchart of a page caching method provided in Embodiment 1 of the present invention. This embodiment is applicable to the caching of mobile terminal application pages. The method can be executed by a page caching device, and the device can use hardware and and / or software, the method specifically includes the following operations:
[0023] S110: Acquire historical access status 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 habit, and can also reflect the difference in the user's habit. Applications on existing terminals have more and more functions, but for a certain user, there may not be many functions used. For example, in map applications, users who travel frequently may use more pages of hotels and routes; Users with cars may use more navigation and route pages; some users may often open public transportation pages. ...
Embodiment 2
[0037] figure 2 A flowchart of a page caching method provided in Embodiment 2 of the present invention, such as figure 2 As shown, the method includes:
[0038] S210: Acquire historical access status 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 state data of the currently accessed page.
[0040]S230. When the free cache resources of the cache area are smaller than the resources of the currently accessed page, compare the priority value of the currently accessed page with the priority value of the cached page in the cache area, and release the cache according to the comparison result. Preferably, at least one cached page in the cache area with a priority value smaller than the currently accessed page priority value is added, and the resource of the currently accessed page is added to the cache area.
[0041] When the free cache resources of the cache area a...
Embodiment 3
[0049] image 3 A schematic diagram of the mechanism principle of a page caching method provided in Embodiment 3 of the present invention, such as image 3 As shown, when a user accesses a page using a terminal, historical access status data of each page accessed by the user, such as page access frequency An and average rendering time Tn of each page, are recorded and stored locally. Then, the priority value Qn=An*Tn of the page is calculated by the frequency An of the user using the page and the average rendering time Tn of the page, where n is a positive integer. Execute the caching strategy to preferentially cache pages with a high priority value. When the cache resources are insufficient, the pages with a low priority value will be released preferentially. When the user switches pages, the query in the cache area hits the corresponding cached page, and the hit cached page is directly accessed.
[0050] In the embodiment of the present invention, the cached pages in the c...
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



