Dynamic planning power-down storage method and terminal
The invention provides a power-down storage method for dynamic programming. The power-down storage method comprises the following steps: S1, creating an effective data area; s2, judging whether a source data block of the effective data area is changed or not, if so, recording a change position and a...
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: | The invention provides a power-down storage method for dynamic programming. The power-down storage method comprises the following steps: S1, creating an effective data area; s2, judging whether a source data block of the effective data area is changed or not, if so, recording a change position and a changed data block to obtain a temporary file, creating a temporary data area, and storing the changed data block in the temporary data area; s3, judging whether a power failure restart signal is received or not, if so, updating the changed data block in the temporary data area into an effective data area, and deleting the temporary data area; according to the method, the changed local data blocks are stored in the temporary data area in a dynamic planning mode, data power failure maintenance can be achieved, the whole effective data area does not need to be updated, the flash erasing frequency is reduced, data stored in the effective data area is different from that stored in the temporary data area, and waste of |
---|