Method and device for implementing secure deletion on flash media

A technology for safe deletion and media, which is applied in the direction of memory address/allocation/relocation, input/output to record carrier, etc., and can solve problems such as potential safety hazards and useless data blocks

Active Publication Date: 2018-03-02
北京元心君盛科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the process of realizing the present invention, the inventors of the present invention have found that there are at least the following problems in the prior art: when the data deletion operation is performed on the flash memory medium, the driver only marks the data block where the data pointed to by the deletion operation is located as useless
Therefore, through some illegal operations, these "deleted" data can still be read from the data block, thus causing certain security risks

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 implementing secure deletion on flash media
  • Method and device for implementing secure deletion on flash media
  • Method and device for implementing secure deletion on flash media

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] On the flash memory medium, since the smallest physical operation unit is a data block, for the drive of the flash memory medium, it can only perform physical erasing in units of data blocks. And when a data block is physically erased to become a blank data block (that is, all bits in the data block are reset to 1), at this time, the data in the data block disappears completely.

[0043] Through the garbage collection mechanism, the driver can be triggered to perform a physical erasure of the data block. The specific process is: when performing a write operation, if there is neither a blank data block nor a data block with a remaining blank area in the flash medium, The driver will physically erase the data block marked as useless (invalid), making it become a blank data block again.

[0044] Using the above-mentioned working mechanism of the drive, in the technical solution of the present invention, before using the flash medium to store any file data, each data block ...

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 realizing safe deletion on a flash memory medium. All data blocks in the flash memory medium are filled with data, wherein at least one data block is filled with random data, and other data blocks except the at least one data block are filled with file data. The method includes: the driver responds to the first deletion request for deleting file data sent by the upper-layer flash medium file system, and marks the data block where the file data is located as useless; the driver responds to the write request sent by the upper-layer flash medium file system For the first write request of random data, search for blank data blocks or data blocks with remaining blank areas. When no blank data blocks or data blocks with remaining blank areas are found, perform physical Erase the blank data block, and fill the blank data block with the random data. Through the present invention, safe deletion can be realized, and the occurrence of potential safety hazards can be reduced or even avoided.

Description

technical field [0001] The invention relates to the field of flash media, in particular to a method and device for realizing safe deletion on the flash media. Background technique [0002] Flash memory media is different from other storage media (especially disk media) in that it uses a non-linear macro-unit model inside, which provides a cheap and effective solution for the realization of solid-state mass storage. Flash media has the advantages of large capacity and fast read and write speed, and is suitable for storing large amounts of data. [0003] In general disk media (such as hard disk or memory), the smallest physical operation unit is a bit, and because flash media has special electronic characteristics, in flash media, the smallest physical operation unit is a data block, such as , a data block can be 16K or 32K. That is, flash media can only be physically erased in units of data blocks. [0004] When performing a data write operation on a flash medium, the writ...

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): G06F3/06G06F12/02
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