CN101699429A - Method for deleting file - Google Patents

Method for deleting file Download PDF

Info

Publication number
CN101699429A
CN101699429A CN200810104345A CN200810104345A CN101699429A CN 101699429 A CN101699429 A CN 101699429A CN 200810104345 A CN200810104345 A CN 200810104345A CN 200810104345 A CN200810104345 A CN 200810104345A CN 101699429 A CN101699429 A CN 101699429A
Authority
CN
China
Prior art keywords
file
graphic
request
data block
file system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810104345A
Other languages
Chinese (zh)
Inventor
任忠宇
任中本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJNG TAIDESIDA SCI-TECH DEVELOPMENT Co Ltd
Original Assignee
BEIJNG TAIDESIDA SCI-TECH DEVELOPMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJNG TAIDESIDA SCI-TECH DEVELOPMENT Co Ltd filed Critical BEIJNG TAIDESIDA SCI-TECH DEVELOPMENT Co Ltd
Priority to CN200810104345A priority Critical patent/CN101699429A/en
Publication of CN101699429A publication Critical patent/CN101699429A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a method for safely deleting a file, which comprises the following steps: firstly, executing a request operation according to a file request sent by an operating system; secondly, judging whether the type of the file request is a file deleting request or not; if the type of the file request is a file deleting request, comparing the file system graphic formula structures after the deleting operation and before the deleting operation to acquire the file corresponding to the deleting operation; and finally, eliminating the contents in the block data according to the deleted file.

Description

A kind of method of file delete
Technical field
The present invention relates to a kind of method of file delete, relate in particular to the method for classified papers in a kind of safety deletion computing machine.
Background technology
Usually some have in the environment of confidentiality in government offices, enterprise etc., have comprised a large amount of classified papers or sensitive data in the computing machine, and are therefore very important for the management of these files and data.Yet move on computers or when deleting these data, operating system can not be clear clean with data usually, just left out itself the position of preserving data, this just will reveal to confidential data and stay opportunity.At present some recover softwares and can utilize above-mentioned leak to obtain these data, and then cause tremendous loss for corresponding enterprise or unit even country.
Summary of the invention
For solving above-mentioned middle problem and the defective that exists, the invention provides a kind of method of file delete.
The present invention is achieved by the following technical solutions:
The method of a kind of file delete involved in the present invention comprises:
Set up the graphic of a file system according to the data block at file place; Carry out a solicit operation and upgrade the graphic of described file system according to the file request that operating system is sent; Judge whether described file request type is the request of file delete; When described request is file deletion requests, contrast the graphic structure of upgrading after preceding graphic structure of described file system of the corresponding deletion action of described file deletion requests and the deletion action of described file system, to obtain described deletion action corresponding file; Remove the fast information of data at its place according to described deleted file.
The graphic structure of wherein said file system comprises the graphic reference position of described file, length and data message, described length is represented the quantity in the data block at file place, and the data in the described data block are represented state in the data block of file place with binary bit sequence.Described documents system schema structure also comprises following steps: read described updating file system schema structure; Contrast the binary bit sequence of described updating file system's schema structure and the graphic structure of the preoperative described file system of file delete by turn; Find out the data block at described deleted file place according to described comparing result.
The beneficial effect of technical scheme provided by the invention is:
The file delete operation of high level of security in the not only suitable several file system of various operating systems of the present invention, and, therefore can not cause leakage because of confidential data not needing to delete relevant data safely, up hill and dale under the artificial prerequisite that participates in of user.
Description of drawings
Fig. 1 is the flow chart of steps of file safety deletion method.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing:
Referring to Fig. 1, present embodiment provides a kind of method of file safety deletion, and this method comprises: at first file system drives to file system and sends out file request 201, and for example, the deletion action of a certain file is carried out in request.Drive the solicit operation 202 of carrying out correspondence according to above-mentioned request call file system, the return request 203 then, then the operation requests type is judged, and whether be deletion action 204 to confirm, if not deletion action then finishes; Otherwise, obtain the information 205 in graphic after graphic structure of file system before the file delete operation and the deletion action.
Here need set up the graphic structure of a file system according to position, quantity and the user mode of the data block in the file system, and then set up the fast diagrammatic representation of data at file place with patterning.The graphic structure of file system comprises graphic reference position, length and data block, wherein graphic reference position integer representation; Graphic length also is integer, is used for the quantity of the data block of the graphic record of log file system; Data in the data block are represented with binary sequence, each indicates the state of a data block in this binary sequence, for example 0 expression data block is unoccupied, 1 expression data block is occupied, and the length of data content determines by graphic length, therefore, can be according to the deleted file of deletion action correspondence, change the data content of its place data block, i.e. corresponding binary digit in the sequence of figures is with according to deletion action updating file system schema structure.
Then, compare 206 according to new, the old schema structure before and after the deletion action, and find out the data block 207 at deleted file place according to comparative structure.Then, remove the content 208 in the data block of searching, last return result is to operating system 209.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (3)

1. the method for a file safety deletion is characterized in that, described method comprises:
Set up the graphic of a file system according to the data block at file place;
Carry out a solicit operation and upgrade the graphic of described file system according to the file request that operating system is sent;
Judge whether described file request type is the request of file delete;
When described request is file deletion requests, contrast the graphic structure of upgrading after preceding graphic structure of described file system of the corresponding deletion action of described file deletion requests and the deletion action of described file system, to obtain described deletion action corresponding file;
Remove the fast information of data at its place according to described deleted file.
2. the method for file delete according to claim 1, it is characterized in that, the graphic structure of wherein said file system comprises the graphic reference position of described file, length and data message, described length is represented the quantity in the data block at file place, and the data in the described data block are represented state in the data block of file place with binary bit sequence.
3. the method for file delete according to claim 1 is characterized in that, described documents system schema structure also comprises following steps:
Read described updating file system schema structure;
Contrast the binary bit sequence of described updating file system's schema structure and the graphic structure of the preoperative described file system of file delete by turn;
Find out the data block at described deleted file place according to described comparing result.
CN200810104345A 2008-04-17 2008-04-17 Method for deleting file Pending CN101699429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810104345A CN101699429A (en) 2008-04-17 2008-04-17 Method for deleting file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810104345A CN101699429A (en) 2008-04-17 2008-04-17 Method for deleting file

Publications (1)

Publication Number Publication Date
CN101699429A true CN101699429A (en) 2010-04-28

Family

ID=42147888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810104345A Pending CN101699429A (en) 2008-04-17 2008-04-17 Method for deleting file

Country Status (1)

Country Link
CN (1) CN101699429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186482A (en) * 2011-12-28 2013-07-03 联想(北京)有限公司 Method and device for deleting data in hard disc

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186482A (en) * 2011-12-28 2013-07-03 联想(北京)有限公司 Method and device for deleting data in hard disc

Similar Documents

Publication Publication Date Title
CN101206656B (en) File safety deletion system and method
US7487178B2 (en) System and method for providing an object to support data structures in worm storage
CN103119550B (en) Store the digital content with time-varying characteristics
AU2010347733B2 (en) Systems and methods for garbage collection in deduplicated data systems
CN102110146B (en) Key-value storage-based distributed file system metadata management method
CN102629247B (en) Method, device and system for data processing
US7636736B1 (en) Method and apparatus for creating and using a policy-based access/change log
CN103369003A (en) A method and a system for scanning redundancy files in a mobile device by using cloud computing
US20070028063A1 (en) Device for restoring at least one of files, directories and application oriented files in a computer to a previous state
US11120147B2 (en) Operating system garbage-collection with integrated clearing of sensitive data
CN101375280A (en) Event structured file system (ESFS)
CN107391774A (en) The rubbish recovering method of JFS based on data de-duplication
CN105468544B (en) Method and device for realizing power-down prevention file system and power-down prevention file system
CN104217174A (en) Safety storage system and safety storage method for distributed files
CN104239438A (en) File information storage method and file information read-write method based on separate storage
CN107066349A (en) A kind of method and system of cluster file system data protection
CN103268291B (en) The method of persistence index metadata is postponed in flash-memory storage system
JP2022500723A (en) Systems and methods for bulk deleting records in a database
CN102193925A (en) On-line multi-version management method and device for manuscripts in manuscript system
CN1920788A (en) Recovery method for computer system or data
CN106055372A (en) Method and device for uninstalling application
CN103544254B (en) A kind of data managing method and device
CN101699429A (en) Method for deleting file
CN1975717A (en) Search system index switching method and search system
US10467187B1 (en) System and method for restoration of MICROSOFT exchange server mail

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100428