Flash memory data protection method, device, electronic equipment and storage medium

A data protection and flash memory technology, applied in the field of data processing, can solve problems such as easy data loss, and achieve the effect of avoiding loss or damage, ensuring reliability and correctness, and data security

Active Publication Date: 2021-02-09
GEER TECH CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned problems, this application proposes the problem that data is easily lost in the process of writing flash memory data when power is off in order t

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
  • Flash memory data protection method, device, electronic equipment and storage medium
  • Flash memory data protection method, device, electronic equipment and storage medium
  • Flash memory data protection method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025]Hereinafter, exemplary embodiments of the present application will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided for a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0026]Flash memory is also called FLASH memory. There are two main types: NOR FLASH and NAND FLASH. The internal structure of NAND FLASH uses NAND gates to form a storage unit, which has the characteristics of non-volatility, fast read and write speed, and large capacity; NOR FLASH is also non-volatile, and its random storage speed is much faster than NAND FLASH. So NOR FLASH is usually used as a memory chip, or ...

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 provides a flash memory data protection method. The flash memory data protection method comprises the steps of allocating three discontinuous different pages of a flash memory to to-be-written data; writing the to-be-written data and the check value into three different pages in sequence; when the written data is read, sequentially reading the written data of the three different pages according to a writing sequence, verifying the written data of the current read page by using a verification value, and when the written data of the current read page is determined to be valid data,taking the written data of the current read page as final data for use; when it is determined that the written data of the current read page are invalid data, the written data of the next page are read and verified until the written data of all pages are read and verified; and when it is determined that the written data of the three different pages are all invalid data, performing data recovery and verification according to the written data of the three different pages. According to the invention, data loss or damage can be prevented, and the reliability and correctness of the read data are ensured.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a flash memory data protection method, device, electronic equipment, and storage medium. Background technique [0002] Due to its low cost and easy operation, flash memory has been widely used in various embedded products. However, due to the characteristics of the production process, during the power-off process, when the voltage is lower than 2.7 volts, when the flash memory is erased and written, errors will occur in the process of injecting charges from the flash memory to the charge well, resulting in the written data being Unexpected data, and the original data is erased and cannot be recovered. [0003] In the system of embedded products, some real-time data for monitoring and analysis are often needed. If the data is abnormal, the program judgment will not be timely, so that various abnormal situations will appear. At present, for the security prot...

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): G06F12/16G06F11/10G06F11/14
CPCG06F12/16G06F11/1004G06F11/1068G06F11/1469
Inventor 夏铮
Owner GEER TECH 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