Memory power-off recovery method and system and memory
A memory power-off recovery method and system, and a memory, the method comprising: before abnormal power-off, recording system information parameters in a flash memory, the system information parameters comprising a first mapping table and an address of a current write-in block; when power-on start...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A memory power-off recovery method and system, and a memory, the method comprising: before abnormal power-off, recording system information parameters in a flash memory, the system information parameters comprising a first mapping table and an address of a current write-in block; when power-on starting is carried out again after abnormal power failure, the system information parameters are obtained from the flash memory and loaded to a memory space; and assigning corresponding data structure variables according to the system information parameters in the memory space to generate a second mapping table, and recording the second mapping table into the flash memory after receiving a data operation instruction. In the data recovery process after the abnormal power failure of the memory, any erasing and programming actions are not executed on the flash memory, so that the flash memory damage caused by unstable power supply during power-on is avoided, and the wear frequency of the flash memory during data recovery |
---|