Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for cleaning up files in cache

A file cleaning and file technology, applied in the computer field, can solve problems such as no cleaning, incomplete cache cleaning, waste of device cache resources, etc., to avoid accidental deletion, improve device performance, and save cache resources.

Inactive Publication Date: 2015-10-14
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The defect of the prior art is that when the folder contains files that do not need to be cleaned up, the folder is kept and not cleaned up, so that the cache is not cleaned thoroughly, resulting in a waste of device cache resources

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
  • Method and apparatus for cleaning up files in cache
  • Method and apparatus for cleaning up files in cache
  • Method and apparatus for cleaning up files in cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0050] figure 1 A flow chart of a method for clearing files in a cache according to an embodiment of the present invention is shown. The method can be applied to various terminal devices, such as PC (personal computer), smart mobile terminal and the like. Such as figure 1 As shown, the method includes the following steps S110-S140.

[0051] In step S110, the filtering rules used for file cleaning are obtained from the server and...

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 present invention discloses a method and apparatus for cleaning up files in a cache. The method comprises: acquiring filtering rules for carrying out file cleanup from a server so as to carry out storage; scanning folders in the cache and determining folders to be cleaned up; according to the filtering rules, filtering files in the folders to be cleaned up, which do not need to be cleaned up; and cleaning up the rest of files in the filtered folders to be cleaned up. The method solves the problem that when the folders comprise the files which do not need to be cleaned up, the folders are retained and are not cleaned up, so that the cache is incompletely cleaned up; and the method obtains the beneficial effects of saving cache resources, improving device performance and avoiding the files being deleted by mistake.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for clearing files in cache. Background technique [0002] When the application is running on the device, it will generate some junk files in the cache. As more and more applications are installed on the device, the junk files in the cache also increase. Therefore, it is necessary to provide a technology for cleaning up junk files in the cache to release cache resources occupied by junk files and improve device performance. [0003] In the prior art, the technique for cleaning the cache includes: scanning the cache, taking the folder as the unit, deleting the folder when all the files in the folder are junk files that need to be cleaned up, and deleting the folder when the folder includes files that do not need to be cleaned up. When files are saved, folders are kept and not cleaned up. [0004] The defect of the prior art is that when the folder includes...

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): G06F3/06G06F12/08
Inventor 姜景馨王玲军
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products