Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for cleaning file system

A file system and file technology, applied in the input/output process of data processing, electronic digital data processing, special data processing applications, etc., can solve problems such as user privacy leakage, and achieve the effect of improving security and avoiding leakage.

Active Publication Date: 2013-01-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, the user privacy information left during the use of web browsers or various software is mainly cleaned up. However, due to the large amount of user privacy information left during the cleaning in the prior art, the remaining information in the system may be Leakage of user privacy

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 file system
  • Method and device for cleaning file system
  • Method and device for cleaning file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] In order to thoroughly clean up usage traces and avoid leakage of user privacy, an embodiment of the present invention provides a method for cleaning up a file system, see image 3 , the method includes:

[0056] 301. Open and lock a specified volume according to the received cleaning instruction; the cleaning instruction is used to indicate the specified volume to be cleaned;

[0057] 302. Clean up the volume free space of the specified volume, and unlock the specified volume after the cleaning is completed.

[0058] Wherein, cleaning up the volume free space of the specified volume specifically includes:

[0059] Clear the information occupied by deleted files in the volume free space of the specified volume.

[0060] Specifically, under the NTFS file system, clear the information occupied by deleted files in the volume free space of the specified volume, specifically including:

[0061] Traverse the master file table of the specified volume, and clear the informat...

Embodiment 2

[0070] In order to thoroughly clean up usage traces and avoid leakage of user privacy, an embodiment of the present invention provides a method for cleaning up a file system, see Figure 4 , the method includes:

[0071] 401. Receive a cleanup instruction; the cleanup instruction is used to indicate a specified volume to be cleaned up;

[0072] The clearing instruction may be triggered by a user click, or may be triggered by the file system at preset intervals when the application program is operating.

[0073] 402. Open the specified volume of the cleanup command;

[0074] The specified volume is the volume to be cleaned up. If the volume fails to be opened, it ends.

[0075] Those skilled in the art can know that, if the volume has been opened separately, at this time, when the volume is opened again, the opening of the volume will fail.

[0076] 403. Lock the specified volume;

[0077] It should be noted that, since the embodiment of the present invention has changed th...

Embodiment 3

[0092] In order to thoroughly clean up usage traces and avoid leakage of user privacy, an embodiment of the present invention provides a device for cleaning up a file system, see Figure 5 , the device consists of:

[0093] The locking module 501 is configured to open and lock the specified volume according to the received cleaning instruction; the cleaning instruction is used to indicate the specified volume to be cleaned;

[0094] The cleaning module 502 is configured to clean up free space of the specified volume, and unlock the specified volume after cleaning.

[0095] The cleaning module 502 is specifically configured to clear information occupied by deleted files in the volume free space of the specified volume.

[0096] see Figure 6 , under the NTFS file system, the cleaning module 502 includes:

[0097] The first cleaning unit 502a is configured to traverse the master file table of the specified volume, and clear the information occupied by deleted files in the mas...

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 a file system and belongs to the field of file systems. The method includes: opening and locking a specified volume according to a received cleaning instruction which is used for indicating the specified volume to be cleaned; and cleaning free space of the specified volume and unlocking the specified volume after cleaning. The device comprises a locking module and a cleaning module. The free space of the specified volume is cleaned when the cleaning instruction is received, and accordingly residual privacy of a user in the file system is cleaned thoroughly, disclosure of the user privacy is avoided and safety of the file system is improved.

Description

technical field [0001] The invention relates to the field of file systems, in particular to a method and device for cleaning up file systems. Background technique [0002] When Windows is running, various temporary files will be generated, including user information retained by web browsers, use traces of office software, and other records related to user privacy. In the prior art, the user privacy information left during the use of web browsers or various software is mainly cleaned up. However, due to the large amount of user privacy information left during the cleaning in the prior art, the remaining information in the system may be Leakage of user privacy. Contents of the invention [0003] Embodiments of the present invention provide a method and device for cleaning up a file system. Described technical scheme is as follows: [0004] In one aspect, a method for cleaning a file system includes: [0005] According to the received cleaning instruction, open and lock t...

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/30G06F21/60
CPCG06F2221/2143G06F17/30117G06F17/30G06F17/30138G06F21/60G06F16/1727G06F3/0623G06F3/0652G06F3/0674G06F16/162
Inventor 王永鑫
Owner TENCENT TECH (SHENZHEN) CO LTD