Method and device for cleaning junk files generated by application programs

An application program and junk file technology, applied in the field of information processing, can solve the problems of high requirements, cumbersome operation, low utilization efficiency of disk storage space, etc., and achieve the effect of reducing operation complexity, improving utilization efficiency, and low requirements

Inactive Publication Date: 2012-09-05
TENCENT TECH (SHENZHEN) CO LTD
View PDF1 Cites 120 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above that in the existing methods for cleaning up the junk files generated by the application, in some specific cases, the created temporary files cannot be automatically deleted. If the user needs to delete this part of the temporary files, it is necessary to manually query and obtain the location of the temporary files. The storage path, by deleting the temporary files under the storage path to free up disk space, makes the user's operation more cumbersome; further, different software may create temporary files with different storage paths during the installation process, making the user delete junk files During the process, the junk files that should be deleted are ignored or omitted, which makes the utilization efficiency of the disk storage space low; moreover, the deletion operation requires the user to have considerable computer-related knowledge, and the requirements for the user to clean up the junk files generated by the application are relatively high. high

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 device for cleaning junk files generated by application programs
  • Method and device for cleaning junk files generated by application programs
  • Method and device for cleaning junk files generated by application programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] Embodiment 1: QQ Live (QQLive)

[0068] The QQLive software program records the created temporary folder path information in the Directory item of the configuration file "%appdata%\Tencent\QQLive\User.ini", for example, the recorded temporary folder path is "D:\Test\QQVideo. Cache\".

[0069] figure 2 It is a schematic flowchart of a method for cleaning up junk files generated by a QQLive application program according to an embodiment of the present invention. see figure 2 , the process includes:

[0070] Step 201, read the path information of the temporary folder created by QQLive recorded in the configuration file;

[0071] In this step, read the information recorded in the Directory item of "%appdata%\Tencent\QQLive\User.ini" to obtain the temporary folder path information, for example, "D:\Test\QQVideo.Cache\".

[0072] Step 202, scanning the vodcache folder in the temporary folder path;

[0073] In this step, scan the QQ live broadcast cache folder (vodcach...

Embodiment 2

[0077] Embodiment 2: Internet TV PPTV

[0078] The PPTV software program records the created temporary folder path information in the configuration file, for example, in the cachepath item of "%FILE%\pplive\Core\Config.ini", wherein, FILE is the configuration folder, for example, it can be ALLUSERS PROFILE. For the XP operating system, the configuration file is "C:\Documents and Settings\All Users\ApplicationData\PPLive\Core\Config.ini"; for the vista / WIN7 operating system, the configuration file is "%ALLUSERSPROFILE%\pplive\Core\Config .ini", for example, the recorded temporary folder path is "D:\Favorite Video".

[0079] image 3 It is a schematic flowchart of a method for cleaning up junk files generated by PPTV application programs according to an embodiment of the present invention. see image 3 , the process includes:

[0080] Step 301, read the temporary folder path information created by PPTV recorded in the configuration file;

[0081] In this step, read the cac...

Embodiment 3

[0099] Embodiment 3: Take a look at Xunlei

[0100] Figure 4 It is a schematic flowchart of a method for clearing junk files generated by the Xunlei Kankan application program according to an embodiment of the present invention. see Figure 4 , the process includes:

[0101] Step 401, read the registry to obtain the path information of the temporary folder created by Xunleikan;

[0102] In this step, read the registry, for example, HKLM\SOFTWARE\Thunder Network\Xmp\storepath, and obtain the created temporary folder path information, for example, d:\kankan.

[0103] Step 402, scanning the temporary folder according to the preset garbage file scanning strategy;

[0104] In this step, the garbage file scanning strategy is to scan the temporary folder to see if there are files in the format of the video played by Xunlei, the cache format of Xunlei's side-by-side broadcast, and all files in the VODCache directory of the temporary folder. That is, determine whether the followi...

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 discloses a method and a device for cleaning junk files generated by application programs. The method comprises the following steps of: obtaining application program information; scanning a registry or a configuration file according to the obtained application program information, and obtaining temporary folder path information created by a corresponding application program; according to a preset junk file scanning strategy corresponding to the application program, scanning the temporary folder corresponding to the obtained temporary folder path information, and obtaining the junk files to be cleaned; and according to a preset junk file cleaning strategy corresponding to the application program, cleaning the junk files to be cleaned. With the method and the device provided by the invention, the complexity in operations of cleaning the junk files is reduced for users, and the utilization rate of the disk storage space is improved.

Description

technical field [0001] The invention relates to information processing technology, in particular to a method and device for cleaning up garbage files generated by application programs. Background technique [0002] During the use of applications, a large number of temporary files are often generated, for example, during the use of video software and download software, files or When transferring files, in order to provide fast services for subsequent operations, computer-related programs automatically create temporary files such as cache (Cache) for the operation, especially in the Windows operating system, each operation of the user will generate a temporary file. After a period of time, these created temporary files may form a large number of disk fragments and take up a lot of disk space, which makes the operating system slow, lacks storage space, and reduces system performance. [0003] In order to maintain the effective storage space of the system disk, it is necessary ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 李世平聂科峰欧阳君沛蔡青峰
Owner TENCENT TECH (SHENZHEN) CO LTD
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