Data storage method and equipment base on flash memory, as well as data fetch method and apparatu

A technology of data storage and flash memory, which is applied in the field of storage, can solve problems such as reducing reading efficiency, reducing device startup speed, and increasing device production costs, so as to improve security, avoid illegal copying, and meet security needs.

Active Publication Date: 2008-07-30
HUAWEI DEVICE CO LTD
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using the software method, before writing the user data into the flash memory according to the page, the user data is encrypted according to the software algorithm and then written into the flash memory. Therefore, when the driver reads the flash memory data, it needs to pass the above ECC verification. Decrypt and read the user data in each Page one by one. When the amount of data in the flash memory is large, multiple decryptions are required to read all the data, thus reducing the reading efficiency. For example, in the process of device startup , due to the use of software to ensure the accuracy and security of user data during the startup process, it will greatly reduce the startup speed of the device; when using the hardware method, it is necessary to configure encryption hardware for each flash memory, and the data is encrypted by the encryption hardware before Writing to flash memory, although the hardware method can improve the efficiency, but because the verification circuit for the encryption hardware needs to be set, the production cost of the equipment is increased.

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
  • Data storage method and equipment base on flash memory, as well as data fetch method and apparatu
  • Data storage method and equipment base on flash memory, as well as data fetch method and apparatu
  • Data storage method and equipment base on flash memory, as well as data fetch method and apparatu

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Embodiments of the present invention provide a data storage method and device based on flash memory and a data reading method and device, wherein the data storage method obtains the original verification data of user data in the flash memory, and then encrypts the original verification data, and the The encrypted verification data is written into the flash memory; the data reading method obtains the original verification data in the flash memory and the encrypted verification data written in advance, and then decrypts the encrypted verification data, and compares the decrypted After the verification data and the original verification data, if the two are consistent, the user data in the flash memory is allowed to be read.

[0042] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present invention, the technical solutions provided by the embodiments of the present invention will be further describe...

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 data storage method which is based on a flash memory. The method comprises the following steps that: the original calibration data of user data in the flash memory are obtained; the original calibration data are encrypted, and the encrypted calibration data are written into the flash memory. The invention also discloses a data storage device which is based on the flash memory, as well as a data reading method and a data reading device. Applying the data storage method and the data reading method of the invention, the security of the user data in the flash memory is effectively improved through encrypting the original calibration data, the problem that the user data are illegally copied due to the tampering of the original calibration data is avoided, and the requirement to the security of the flash memory is greatly satisfied.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a flash memory-based data storage method and device, and a data reading method and device. Background technique [0002] Data such as programs or files in existing flash memory-based electronic devices directly use the ECC (Error Checking and Correcting, Error Checking and Correcting) detection mechanism of the flash memory itself to ensure the security of these data. Flash memory is a better storage method than hard disk drives, and its structure diagram is shown in Figure 1. Each flash memory is composed of several Blocks, each Block is composed of several Pages, and each page is composed of fixed bytes, and the flash memory is addressed by Block and Page. [0003] The schematic diagram of the flash memory structure shown in Figure 1 is composed of x Blocks from Block1 to Blockx. Taking Block1 as an example, it is composed of y Pages from Page1 to Pagey. Taking Page1 as an ex...

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): G06F12/14
Inventor 李银张建春
Owner HUAWEI DEVICE 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