Caching clearing method and device

A technology for clearing cache and cached files, which is applied in the field of mobile Internet, can solve the problems of excessive cache space and low cache utilization rate, and achieve the effects of reducing CPU time, improving user Internet experience, and saving storage space

Inactive Publication Date: 2016-03-30
UCWEB
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above problems, the object of the present invention is to provide a method and

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Caching clearing method and device
  • Caching clearing method and device
  • Caching clearing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more embodiments. It may be evident, however, that these embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing one or more embodiments.

[0027] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0028] The existing cache clearing method realizes the function that the user actively clears the cache, but does not realize the function of automatically clearing the cache for the user. Therefore, the present invention proposes a technical solution for automatically clearing the browser cache to solve the problem that the browser cannot be automatically cleared for the user. Caching problem. In addition, in the prior art...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a caching clearing method and device. The method comprises the following steps: when a browser starts loading or loading continuously runs for a first preset time, the browser clears caching records in a caching database, and provides information of caching files corresponding to the cleared caching records for a background thread; and the background thread deletes the caching files corresponding to the caching records according to the information of the cleared caching files. Through adoption of the caching clearing method and device provided by the invention, the caching utilization ratio can be increased, and a user's storage space can be saved; and the cache is cleared through an improved caching file deletion algorithm, so that the CPU occupancy time can be shortened, the standstill phenomenon when a user browses a webpage can be avoided, and the user's web experience is improved.

Description

technical field [0001] The present invention relates to the technical field of mobile Internet, and more specifically, to a method and device for clearing cache. Background technique [0002] In order to increase the speed of accessing webpages, the terminal browser will adopt a cumulative acceleration method to store the contents of previously visited webpages (including pictures and cookie files, etc.) in the terminal cache. Search the terminal cache. If there is already visited content in the cache, the browser does not need to download it from the Internet, but directly calls it from the cache, thereby improving the speed of accessing the website. [0003] However, the cache generated by browser browsing is generally cleared by the user actively. Because many resources in the cache will not be used again, if the user does not actively clear the cache, the cached resources will always remain in the terminal, and because there are a lot of garbage Caching, thus causing a ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 梁捷周文永
Owner UCWEB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products