针对在无人值守的工作环境下,数据存储系统由于数据量太大而发生溢出的现象,以K9K8G08U0A闪存为例,设计读、写、擦除基本的操作,引入非离散数据与离散数据的概念来标识需要存储的数据,利用数据回卷机制来存储数据,把存储空间分成坏块记录区、非离散数据存储区和离散数据存储区3部分,同时设计数据写入方式,确保每次写入的数据在离散履历区和非离散履历区均存在。设计结果表明:在达到离散存储区最大值时,将存储引向离散存储区的开始位置,使离散存储区变成首尾相连的闭合环,从而实现数据存储不溢出;针对数据回卷造成存储时间较早的数据部分或全部被覆盖,造成数据的不完整,采用数据反向分析的方法,通过比较相邻数据存储空间是否有交集来分解出正确的数据;使用数据回卷的存储机制,使存储空间变成一个"永远存不满的空间",确实保证了数据存储不溢出,保存了最新最近的数据。
According to the data storage system occurs as a result of data is too large and overflow phenomenon in the unattended working environment, based on the KgKSGO8UOA flash as an example, reading, the writing, erasing were designed. The concept of non-discrete data and discrete data were introduced to identify the need to store data, the rollback mechanism was used to store data, the storage space was divided into the bad block record area, non-discrete storage area and discrete data storage area. It is ensured that every write data in discrete resume and non-discrete resume area existed with the design data write mode. The results show that when the discrete storage area upon reaching the maximum value, it will be stored into discrete storage area become to the start position, the discrete storage area into a closed ring of end to end, so as to realize the data storage do not overflow. According to the data from an earlier time data storage back part or all of the cover, which cause the incompleteness of data, the data of reverse analysis method was used, through the comparison of the neighboring da'ta storage space is the intersec- tion of decomposition of the correct data. The data rollback storage mechanism was used to make the memory space into a" forever dissatisfied space", the data storage does not overflow is en- sured and the latest data is preserved. 3 tabs, 5 figs, 9 refs.