Patent ID: 8725932
Filing Date: 2014-05-13
Classification: G06F,G11C

Abstract:
1. A memory system comprising: a first storage unit that is volatile; a second storage unit that is nonvolatile including a plurality of blocks, each one of the plurality of blocks being a data erasing unit and including a plurality of pages, each one of the plurality of pages being a data writing unit; a read/write control unit that performs data reading from the second storage unit and data writing to the second storage unit based on a management table in which a logical address is associated with a data storage position in the second storage unit; a log control unit that transfers the management table to the first storage unit, and when an event to update the management table on the first storage unit occurs, stores difference information before and after update of the management table as a difference log into the first storage unit; a log reflecting unit that executes commit processing for storing the difference log into the second storage unit and reflecting the difference log in the management table stored in the first storage unit when a first condition is established; an operating state managing unit that sequentially stores a first log, which indicates the system is in operation, into the second storage unit, the difference log into the second storage unit after the first log and after system startup, and a second log, which indicates that the system halts at a time of normal system halt, into the second storage unit after the difference log and when normal system halt is performed; and a management-information restoring unit that detects, via a processor, at least one of the first log, the difference log, and the second log stored in the second storage unit and judges whether normal system halt has been performed, wherein the plurality of blocks includes a first block in which writing is performed from a top page of the first block after performing an erasing operation and a second block in which invalid data is written up to a first area, the first area being composed of at least one page from a top page of the second block, writing is additionally performed to a page following the first area in the second block without performing the erasing operation, and the management-information restoring unit changes the management table, when judging that the normal system halt is not performed, to release the second block and use the released second block as the first block.