# US 2008/0301393 A1 · Apparatus and method of processing data of non-volatile memory

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301393 A1
- Document ID: US20080301393A1
- Status: Published application
- Kind: A1
- Application number: 11/947,926
- Filed: 2007-11-30
- Published: 2008-12-04
- Earliest claimed: 2007-05-29
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Hyo-Jun KIM; Nam-Yoon Woo; Ji-Hyun In
- Web page: https://patentgrep.com/patent/US20080301393A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 11/1435: {using file system or storage system metadata}
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The invention relates to an apparatus and method of processing data of a non-volatile memory, and more particularly, to an apparatus and method of processing data of a non-volatile memory that is capable of applying a writing unit operation to a plurality of sectors. An apparatus for processing data of a non-volatile memory according to an aspect of the invention includes a non-volatile memory having a plurality of blocks, an operation processing unit writing, when a write operation is requested from a user, data in the blocks and allowing the blocks, where the data is written, to become collectively effective, and a block managing unit managing statuses of the blocks to correspond to the operation process performed by the operation processing unit.

## Claims

### Claim 1

An apparatus for processing data, the apparatus comprising:
a non-volatile memory having a plurality of blocks;
an operation processing unit which, when a write operation is requested from a user, writes data in the blocks and causes the blocks, where the data is written, to become collectively effective; and
a block managing unit which manages statuses of the blocks to correspond to an operation process performed by the operation processing unit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the blocks in the non-volatile memory comprise:
a map block where a block map indicating the statuses of the blocks is stored;
a transaction block allocated when a transaction is performed;
a data block where committed stable data is written; and
a garbage block where effective data is not included.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the operation processing unit allocates the garbage block to the transaction block when the write operation is performed.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the operation processing unit writes data in the transaction block and collectively converts the transaction block into the data block when a commit is requested.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein when the data is written in the transaction block, if at least one of the operation is stopped by the user, a power supply interruption occurs, and a commit is not requested, the operation processing unit converts the transaction block into the garbage block.

### Claim 6 (depends on 2)

The apparatus of claim 2, wherein:
the block managing unit manages the block map of all of the blocks that are included in the non-volatile memory, and
the block map includes at least one of block status information, the number of times of deletion, and a life span for each block.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the block status information indicates which block each block corresponds to among the map block, the transaction block, the data block, and the garbage block.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the block managing unit creates a mapping table that indicates stable pages and unstable pages that correspond to logical sector numbers.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the stable pages are included in the data block.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the unstable pages are included in the transaction block.

### Claim 11

A method of processing data of a non-volatile memory, the method comprising:
inputting a write operation request from a user to a non-volatile memory having a plurality of blocks;
writing data in the blocks and causing the blocks, where the data is written, to become collectively effective; and
managing statuses of the blocks to correspond to the operation process.

### Claim 12 (depends on 11)

The method of claim 11, wherein the blocks in the non-volatile memory include:
a map block where a block map indicating the statuses of the blocks is stored;
a transaction block that is allocated when a transaction is performed;
a data block where committed stable data is written; and
a garbage block where effective data is not included.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein causing the blocks to become collectively effective comprises allocating the garbage block to the transaction block when the writing is performed.

### Claim 14 (depends on 13)

The method of claim 13, wherein the causing the blocks to become collectively effective comprises writing data in the transaction block and collectively converting the transaction block into the data block when a commit is requested.

### Claim 15 (depends on 13)

The method of claim 13, wherein the causing the blocks to become collectively effective comprises converting the transaction block into the garbage block, if at least one of the operation is stopped by the user, a power supply interruption occurs, and a commit is not requested, when the data is written in the transaction block.

### Claim 16 (depends on 12)

The method of claim 12, wherein:
the managing of the blocks comprises managing the block map of all of the blocks that are included in the non-volatile memory, and
the block map includes at least one of block status information, the number of times of deletion, and a life span for each of the blocks.

### Claim 17 (depends on 16)

The method of claim 16, wherein the block status information indicates which block each of the blocks corresponds to among the map block, the transaction block, the data block, and the garbage block.

### Claim 18 (depends on 16)

The method of claim 16, wherein the managing of the blocks comprises creating a mapping table that indicates stable pages and unstable pages that correspond to logical sector numbers.

### Claim 19 (depends on 18)

The method of claim 18, wherein the stable pages are included in the data block.

### Claim 20 (depends on 18)

The method of claim 18, wherein the unstable pages are included in the transaction block.
