System and method for improving flash memory data integrity

   
   

Sector and block layers for a database management system improve the integrity of data in a flash memory in view of possible data corruptions caused by power interruptions. The sector layer implements a reclaiming function for copying valid data from a source to a destination so that the source sector can be erased. A sector state register indicates whether a sector is in use, in a first reclaiming state, in a second reclaiming state or in a reclaimed state. A destination sector register for a reclaiming source points to a reclaiming destination. A limitation is placed on permissible reclaiming sources for a given reclaiming destination, so that, if a first sector is a permissible source for a second sector, then the second sector cannot be a permissible source for the first sector. On power up, the sector layer is able to determine if a reclaiming operation was in progress when power was interrupted and, if so, which sectors were the source and destination, and at what point the reclaiming operation must be resumed to complete the operation successfully. At the block layer, a block state register indicates whether a data block is in an erased state, a written state, a committed state, a freed state, a freed and committed state, or a dirty state, a block label register is used to determine whether multiple blocks contain different versions of the same data item, and a block version register indicates which of multiple versions of the same data item were written more recently. On power up, data blocks that may have corrupted data from the prior power interruption are marked as dirty or invalid, and a block-level commit function is performed, in case such an operation was interrupted during the prior power interruption.

Слои участка и блока для системаа организации хозяйства базы данных улучшают герметичность данных в внезапной памяти в виду по возможности развращений данных причиненных перерыва в снабжении электроэнергией. Слой участка снабжает reclaiming функцию для копировать действительные данные от источника к назначению так, что участок источника можно стереть. Регистр положения участка показывает находится ли участок в пользе, в первом reclaiming положении, в втором reclaiming положении или в reclaimed положении. Регистр участка назначения для reclaiming источника указывает к reclaiming назначению. Ограничение будет помещено на допустимых reclaiming источниках для, котор дали reclaiming назначения, так, что, если первым участком будет допустимый источник для второго участка, то вторым участком не может быть допустимый источник для первого участка. На силе вверх, слой участка может обусловить если reclaiming деятельность была in progress, то когда была прервана сила и, если так, то которой участками было источником и назначением, и на что этап reclaiming деятельность необходимо возобновить для того чтобы выполнить деятельность успешно. На слое блока, регистр положения блока показывает находится ли блок данных в стертом положении, положении в писменном виде, порученном положении, освобоженном положении, освобоженном и порученном положении, или пакостное положение, регистр ярлыка блока использован для того чтобы обусловить содержат ли множественные блоки другойа вариант такого же деталя данных, и регистр варианта блока показывает из множественные варианты такого же деталя данных было написано недавн. На силе вверх, выполнены блоки данных которые могут коррумпировать данные от прежний перерыва в снабжении электроэнергией маркированы как пакостно или инвалидно, и преграждать-urovni поручают функция, в случае если такая деятельность была прервана во время прежний перерыва в снабжении электроэнергией.

 
Web www.patentalert.com

< Socket tool having data transfer control codes, file transfer control codes, and data and file transfer progress indication codes for connection and communication of SQL application

< Method and apparatus for authorizing and reporting changes to device configurations

> System and method for concurrent distributed snapshot management

> Authentication methods and systems for accessing networks, authentication methods and systems for accessing the internet

~ 00150