基于非易失性存储器中两个连续逻辑块的掉电保护方法

Power-fail protection method based on two continuous logical blocks for non-volatile memory

Abstract

本发明涉及一种数据掉电保护方法,尤其涉及一种基于非易失性存储器中两个连续逻辑块的掉电保护方法。通过在存储区中增加一个或多个备份块,并在原有逻辑块号的基础上,增加逻辑块的状态标识位,包括跨块数据的掉电安全改写过程和上电后数据恢复过程。本发明通过增加备份块,保证了在同时改写多个数据块的过程中,掉电发生时数据不易丢失,很大程度的提高了数据存储的可靠性及安全性,并且有效避免了频繁擦写某一块擦写块,从而提高了Flash存储器使用寿命。
The invention relates to a data power-off protection method, especially relating to a power-off protection method based on two continuous logic blocks in a nonvolatile memory, adding one or more backup blocks in a memory area and on the basis of the original logic block number, adding state flag bit of logic block, and comprising trans-block data power-off safety rewrite course and after-power-on data recovery course. By adding backup blocks, the invention assures the data is uneasy to lose at power off while rewriting multiple data blocks, largely improving data storage reliability and safety, and effectively avoiding frequently erasing some erase block so as to prolong Flash memory service life.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (10)

    Publication numberPublication dateAssigneeTitle
    CN-101321341-BDecember 28, 2011东信和平智能卡股份有限公司智能卡断电保护方法
    CN-101661565-BMay 02, 2012北京握奇数据系统有限公司Power-off protection method of intelligent card with Mifare simulation function, device and system
    CN-101770809-BMarch 26, 2014J·埃金顿, H·乔杜里用于非易失性存储器掉电后的恢复的方法和系统
    CN-102932621-AFebruary 13, 2013杭州海康威视数字技术股份有限公司Method and device for storing data
    CN-102932621-BMay 20, 2015杭州海康威视数字技术股份有限公司Method and device for storing data
    CN-103440181-ADecember 11, 2013珠海金山网络游戏科技有限公司, 成都西山居互动娱乐科技有限公司Method and system for modifying files
    CN-105759679-AJuly 13, 2016重庆川仪自动化股份有限公司Power-failure protection controller and power-failure protection method thereof
    US-9612954-B2April 04, 2017Micron Technology, Inc.Recovery for non-volatile memory after power loss
    US-9639441-B2May 02, 2017Ramaxel Technology (Shenzhen) LimitedSolid-state storage system, apparatus and method of writing data
    WO-2014101375-A1July 03, 2014记忆科技(深圳)有限公司固态存储系统、装置及数据写入方法