A file processing method and device

A file processing and file technology, applied in file systems, multi-program devices, computer security devices, etc., can solve data leakage and other problems, achieve the effect of reducing execution time and ensuring system performance

Active Publication Date: 2022-05-27
技德技术研究所(武汉)有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Limited by Linux itself's restrictions on file operations, after various editors commonly used in Linux open existing files for editing and saving, the historical data of the file will still be retained on the disk, even if the above-mentioned software is used to implement safe deletion of the final file , some or even all of the historical data of the file can still be recovered through certain technical means, resulting in data leakage

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
  • A file processing method and device
  • A file processing method and device
  • A file processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0033] figure 1 It is a schematic diagram of the method for opening a file in the prior art; in the figure, the steps: adopt the OPEN function (value O_TRUNC) to process the file or use the write-only mode to open or edit the file, and then call the ftruncate / truncate function to intercept the file length as 0, resulting in Historical data of existing files will not be deleted from disk, resulting in historical data leakage.

[0034] figure 2 It is a schematic diagram of a file processing method provided by an embodiment of the present invention; the method is applied in a Linux system ...

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 file processing method or device. When a file is opened or edited, the file history data deletion module is awakened; the file history data deletion module invokes a kernel thread, and the kernel thread notifies the user daemon process to execute the file history data deletion; the user daemon process After the file history data deletion is completed, the kernel thread is notified, and the file history data deletion module enters the sleep state. When the Linux editor opens or edits a file, it safely deletes the historical data of the file to prevent the use of technical means to restore the user's historical data and cause the leakage of historical data.

Description

technical field [0001] The invention relates to the field of computer operating systems, in particular to a file processing method and device. Background technique [0002] The conventional methods for ordinary Linux users to delete disk data are: deletion and formatting. "Delete" is the most convenient way to delete data. For example, Linux users most often use the "rm" delete command. In fact, it does not actually delete the data from the hard disk, but only deletes the index of the file. This method is the most insecure, and the data can be easily recovered. "Format" has many different meanings: physical or low-level formatting, operating system formatting, quick formatting, partition formatting, and more. In most cases, the format used by ordinary users will not affect the data on the hard disk, and this method is still unsafe. [0003] The working principle of secure deletion basically adopts the data overwriting technology, that is, the data on the original storage ...

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 Patents(China)
IPC IPC(8): G06F16/16G06F21/62G06F9/54
CPCG06F16/162G06F21/6209G06F9/546G06F2209/548
Inventor 唐宏伟姚宏亮张耀斌
Owner 技德技术研究所(武汉)有限公司
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