二级备份机制的flash存储器制造技术

技术编号:4162159 阅读:512 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供了一种二级备份机制的flash存储器,其中,该二级备份机制的flash存储器主要包括原始数据区,其内存放的数据包括分区信息及读写信息;备份区,其包括分区信息描述区,该备份区当上述原始数据区的分区信息修改后,其内存放的数据经读取并与原始数据区内的数据作比较,若数据不同,则原始数据区的数据覆盖备份区的数据,且该经覆盖后的数据写入该备份区,并且经覆盖后的分区信息写入该备份区的分区信息描述区;以及交换区,用以供经覆盖后的数据写入。本发明专利技术提供了一种二级备份机制的flash存储器,不仅在备份区中增加其分区信息的描述,而且还增加了一个交换区,可确保在更新过程出现异常后,仍能保证重要数据不被损坏。

Flash memory for two stage backup mechanism

The invention provides a flash memory, a level two backup mechanism for the flash memory of the level two backup mechanism mainly includes original data area, the data stored in the write and read information including information partition; backup area, including the partition information description, the backup area when the original data area partition information after modification, the data stored in the read and original data within the area of comparative data, if the data is different, the original data area data backup coverage area data, and the data is written after covering the backup area, and after covering the partition information to the backup area partition information description area; and exchange area, for after covering the data writing. The invention provides a flash memory level two backup mechanism, not only increase the partition information in the backup area in the description, but also adds an exchange area, can ensure that appear in the update process abnormal, can still ensure important data will not be damaged.

【技术实现步骤摘要】

本专利技术涉及一种flash存储器,尤其涉及一种具有二级备份机制的flash存 储器。
技术介绍
flash存储器广泛用于各种电子设备中。在使用过程中,需要经常操作flash 来读、写、修改数据,用户的操作不当或者是系统突然掉电都可能造成数据的 损坏,导致flash失效或使电子设备丧失某些功能或无法启动。当然,现在个别flash存储器采取一级备份机制,简单的增加备份数据区, 原始数据被破坏后采用备份数据恢复。由于flash存储器都有一个分区信息描述区,如果对此区数据进行修改, 备份区的描述信息应保持同步更新。当更新备份区数据时突然断电,造成系统 和用户的默认数据丢失,系统不能启动。
技术实现思路
鉴于上述问题,本专利技术提供了一种二级备份机制的flash存储器。 为了达到上述目的,本专利技术采用了如下的技术方案 一种二级备份机制的 flash存储器,其中,该二级备份机制的flash存储器主要包括原始数据区,其内存放的数据包括分区信息及读写信息;备份区,其包括分区信息描述区,该 备份区当上述原始数据区的分区信息修改后,其内存放的数据经读取并与原始 数据区内的数据作比较,若数据不同,则原始本文档来自技高网...

【技术保护点】
一种二级备份机制的flash存储器,其特征在于,该二级备份机制的flash存储器主要包括: 原始数据区,其内存放的数据包括分区信息及读写信息; 备份区,其包括分区信息描述区,该备份区当上述原始数据区的分区信息修改后,其内存放的数 据经读取并与原始数据区内的数据作比较,若数据不同,则原始数据区的数据覆盖备份区的数据,且该经覆盖后的数据写入该备份区,并且经覆盖后的分区信息写入该备份区的分区信息描述区;以及 交换区,用以供经覆盖后的数据写入。

【技术特征摘要】
1.一种二级备份机制的flash存储器,其特征在于,该二级备份机制的flash存储器主要包括原始数据区,其内存放的数据包括分区信息及读写信息;备份区,其包括分区信息描述区,该备份区当上述原始数据区的分区信息修改后,其...

【专利技术属性】
技术研发人员:杨乐兵
申请(专利权)人:佛山市顺德区顺达电脑厂有限公司
类型:发明
国别省市:44[中国|广东]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1