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

CN105426401BActive Publication Date: 2019-06-04CHENGDU SHIZHIHOU TECH CO LTD
8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-06-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present invention relates to the technical field of junk file cleaning, and discloses a method for cleaning a junk file generated by an application. The method specifically comprises the following steps: analyzing junk file storage rules of different application development companies, and defining a junk file cleaning rule for all applications of each company so as to form a general rule base for cleaning junk files; and cleaning a junk cache file and an unloading residual file separately under an SD card according to the junk file cleaning rule for the applications of each company defined in the general rule base. For example, general rules exist in games developed by the Gameloft Company, a package naming manner of the rules is regular, and the generated junk files are stored under the Gameloft directory of the SD card, and a subdirectory is established according to a package name, so that the junk file cleaning rule can be defined in accordance with the junk file storage rule of the game. The presentation invention further discloses a system for implementing the method.
Need to check novelty before this filing date? Find Prior Art

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...