Method and system for cleaning up junk files generated by application programs
A technology for junk files and applications, applied in file systems, special data processing applications, file/folder operations, etc., can solve the problems of mistaken deletion of valuable files, fewer junk directories, and large size of rule bases and installation packages. Achieve the effect of reducing application analysis time, reducing error deletion rate, and reducing storage space
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-06-04
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of junk file processing, in particular to a method and system for cleaning up junk files generated by application programs. Background technique
[0002] After users use devices such as mobile phones or computers, especially Android phones for a period of time, various applications will generate a large number of junk files and temporary files. Feel. In view of this problem, there is a need for an efficient, fast and accurate cleaning tool application to clean up junk files on user devices, free up available space, and improve device performance.
[0003] The most common way to clean up junk files is to scan a fixed directory on the storage system, such as the directory AdData, which has been clearly identified as a junk directory. If the directory exists, it will be added as a scan result. It can be seen from this method that there are disadvantages: this kind of general garbage directory is relatively sm...
Examples
Embodiment Construction
[0020] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0021] The invention discloses a method for cleaning garbage files generated by application programs, which specifically includes the following steps: analyzing the garbage file storage rules of different application program development companies, defining a garbage file cleaning rule for all applications of each company, and forming Junk file cleaning general rule base; according to the junk file cleaning rules of each company's application defined in the general rule base, clean up the junk cache files and uninstall residual files under the SD card respectively. For example, there are general rules for games developed by Gameloft. Their package names are named in a regular way, and the generated garbage files are stored in the Gameloft directory of the SD card, and subdirectories are created according to the package name. The garbage file sto...