# US 2013/0232391 A1 · Semiconductor memory device

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

- Number: US 2013/0232391 A1
- Document ID: US20130232391A1
- Status: Published application
- Kind: A1
- Application number: 13/868,620
- Filed: 2013-04-23
- Published: 2013-09-05
- Earliest claimed: 2010-02-12
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Shigehiro ASANO; Kenichiro Yoshii; Kazuhiro Fukutomi; Shinichi Kanno
- Web page: https://patentgrep.com/patent/US20130232391A1

## CPC

- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 11/1008: {in individual solid state devices (G06F11/1004 takes precedence)}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a semiconductor memory device includes semiconductor memory chips in which data requested to be written. The data has one or more pieces of first data in a predetermined unit. The device includes a write controller that writes the first data and redundancy information calculated by using a predetermined number of pieces of the first data and used for correcting an error in the predetermined number of pieces of the first data into different semiconductor memory chips; and a storage unit that stores identification information and region specifying information so as to be associated with each other. The identification information associates the first data and the redundancy information, and the region specifying information specifies a plurality of storage regions in the semiconductor memory chips to which the pieces of the first data and the redundancy information associated with each other are written.

## Claims

### Claim 1

A semiconductor memory device comprising a plurality of semiconductor memory chips in which data requested to be written by an information processing apparatus is written, the data having one or more pieces of first data in a predetermined unit,
the device includes:
a write controller configured to write the pieces of the first data in the predetermined unit and redundancy information into different semiconductor memory chips, the redundancy information being calculated by using a predetermined number of pieces of the first data and being used for correcting an error in the predetermined number of pieces of the first data; and
a storage unit configured to store therein identification information and region specifying information so as to be associated with each other, the identification information associating the predetermined number of pieces of the first data and the redundancy information, and the region specifying information specifying a plurality of storage regions in the semiconductor memory chips to which the pieces of the first data and the redundancy information associated with each other are written.

### Claim 2 (depends on 1)

The device according to claim 1, wherein the write controller writes the first data in an unwritten location in an erased storage region in each of a plurality of semiconductor memory chips.

### Claim 3 (depends on 1)

The device according to claim 1, further comprising:
a setting unit configured to set, on the predetermined unit basis, a pointer pointing a location to which writing is to be performed in the erased storage region in each of the plurality of semiconductor memory chips,
wherein when writing in a storage region in each of the semiconductor memory chips is performed, the setting unit updates the pointers to point a new location following the location to which the writing is performed.

### Claim 4 (depends on 1)

The device according to claim 1, further comprising:
a read controller configured to
read data requested to be read by an information processing apparatus from the semiconductor memory chips,
read second data in a predetermined unit from the semiconductor memory chips, and when there is an error in the second data, read different second data associated with the second data and the redundancy information with reference to the region specifying information, and
restore the second data by using the different second data and the redundancy information; and
a transmitting unit configured to transmit the second data to the information processing apparatus.

### Claim 5 (depends on 4)

The device according to claim 4, wherein the write controller writes the first data to which an error detection code for detecting an error in the first data is added to a storage region in the semiconductor storage chip, and
the read controller includes:
a reading unit configured to read the second data from the storage region in the semiconductor memory chip;
a detecting unit configured to detect an error in the second data by using an error detection code added to the second data; and
a restoring unit configured to restore the second data, when an error in the second data is detected, by referring to the region specifying information stored so as to be associated with the identification information associating the second data with the different second data and the redundancy information.

### Claim 6 (depends on 1)

The device according to claim 1, wherein the write controller includes:
a dividing unit configured to divide, when a size of the data requested to be written is larger than a predetermined unit, the data into pieces in the predetermined unit;
a determining unit configured to determine semiconductor memory chips to which the pieces of the first data, which are the divided pieces of the data, are to be written, respectively, out of the plurality of semiconductor memory chips; and
a writing unit configured to write the pieces of the first data in the storage regions of the semiconductor storage chips thus determined.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the determining unit determines the semiconductor memory chips to which the pieces of the first data are written in a round-robin manner.

### Claim 8 (depends on 1)

The device according to claim 1, wherein
the device receives a request to write the data with a specified logical block address used in the information processing apparatus,
the storage unit stores therein the logical block address, the identification information, and the region specifying information that is a physical address indicative of a location in which the first data and the redundancy information are written in the semiconductor storage chips so as to be associated with one another, and
the device further includes a first updating unit configured to update, when new first data is written in response to a request to write the new data with a same logical block address as that specified in a previous data request being specified again, update the storage unit so as to store association between the logical block address and the physical block address of the new first data.

### Claim 9 (depends on 8)

The device according to claim 8, wherein
the predetermined unit is a page,
the pieces of the first data are data in respective pages,
when new writing corresponding to the same logical address is performed, the page in which writing was previously performed is invalid,
the storage unit further stores therein a bit vector indicating which pages in the storage region are not invalid pages, and
the device further includes a second updating unit configured to update the bit vector when new writing is performed corresponding to the logical address.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the write controller perform garbage collection by writing the first data written in the pages which are indicated to be not invalid by the bit vector in the storage region into a different storage region that is erased.

### Claim 11 (depends on 10)

The device according to claim 10, wherein
the bit vector indicates which pages in each of the storage regions in each of the semiconductor memory chips in which the first data and the redundancy information associated with each other are written every association between the first data and the redundancy information are valid pages, and
the write controller performs the garbage collection by selecting, in accordance with a number of pages which are not made invalid every association, the first data and the redundancy information associated with each other, and writing the first data and the redundancy information written in the pages which are indicated to be valid by the bit vector into the different storage region that is erased, with respect to each of the storage regions in which the first data and the redundancy information are written.

### Claim 12 (depends on 11)

The device according to claim 11, wherein after completion of writing to the different storage regions that include the pages which are not made invalid, the write controller erases each of the storage regions in which the first data and the redundancy information selected are written.

### Claim 13 (depends on 9)

The device according to claim 9, wherein
the write controller writes the first data to which the logical address is added to a storage region in the semiconductor storage chip, and
when the first data written in the pages which are not made invalid is written in the different storage region by performing the garbage collection, the first updating unit updates the storage unit so as to store association between the logical address added to the first data and a new physical address indicative of a location in which the first data is written in different storage region.
