# US 8,578,248 B2 · Adaptive systems and methods for storing and retrieving data to and from memory cells

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

- Number: US 8,578,248 B2
- Document ID: US8578248B2
- Status: Granted
- Kind: B2
- Application number: 13/727,914
- Filed: 2012-12-27
- Published: 2013-05-09
- Granted: 2013-11-05
- Earliest claimed: 2006-10-10
- Assignees: Marvell World Trade Ltd.
- Applicants: Marvell World Trade Ltd.
- Inventors: Xueshi Yang; Zining Wu
- Web page: https://patentgrep.com/patent/US8578248B2

## CPC

- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Adaptive systems include a memory device including a plurality of memory cells, a data quality monitoring block, and an adaptive data encoding block, the data quality monitoring block and the adaptive data encoding block both being operatively coupled to the memory device. The data quality monitoring block is configured to determine a quality value of a group of one or more memory cells included in the memory device, the determined quality value being indicative of a quality of the group of one or more memory cells. The adaptive data encoding block is configured to select a coding scheme from a plurality of coding schemes to encode data to be written to the group of one or more memory cells in the memory device, the selection of the coding scheme being based at least in part on the determined quality value of the group of one or more memory cells.

## Claims

### Claim 1

A method of operating a memory device, wherein the memory device comprises a plurality of memory cells, and wherein the method comprises:
determining a quality value of a group of memory cells of the plurality of memory cells, wherein the quality value is indicative of a quality of the group of memory cells of the plurality of memory cells;
based at least in part on the quality value, selecting a coding scheme from a plurality of coding schemes for encoding data to be written to the group of memory cells of the plurality of memory cells;
based at least in part on the coding scheme that is selected, encoding the data to be written to the group of memory cells of the plurality of memory cells;
writing the data that is encoded to the group of memory cells of the plurality of memory cells; and
saving the quality value in a map, wherein the quality value saved in the map facilitates future decoding of the data written to the group of memory cells of the plurality of memory cells.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
retrieving the quality value from the map;
reading the data from the group of memory cells of the plurality of memory cells; and
based at least in part on the quality value retrieved from the map, decoding the data that is read from the group of memory cells of the plurality of memory cells.

### Claim 3 (depends on 2)

The method of claim 2, wherein the quality value is a first quality value, and wherein the method further comprises:
determining a second quality value for the group of memory cells of the plurality of memory cells; and
replacing the first quality value in the map with the second quality value.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
the group of memory cells of the plurality of memory cells is a first group of memory cells of the plurality of memory cells;
the quality value is a first quality value;
the coding scheme is a first coding scheme; and
the method further comprises
determining a second quality value of a second group of memory cells of the plurality of memory cells, wherein the second quality value is indicative of a quality of the second group of memory cells of the plurality of memory cells,
based at least in part on the second quality value of the second group of memory cells of the plurality of memory cells, selecting a second coding scheme from the plurality of coding schemes for encoding data to be written to the second group of memory cells of the plurality of memory cells,
based at least in part on the second coding scheme that is selected, encoding the data to be written to the second group of memory cells of the plurality of memory cells,
writing the data that is encoded with the second coding scheme to the second group of memory cells of the plurality of memory cells, and
saving the second quality value in the map, wherein the second quality value saved in the map facilitates future decoding of the data written to the second group of memory cells of the plurality of memory cells.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
retrieving the second quality value from the map;
reading the data from the second group of memory cells of the plurality of memory cells; and
based at least in part on the second quality value retrieved from the map, decoding the data that is read from the second group of memory cells of the plurality of memory cells.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
determining a third quality value for the second group of memory cells of the plurality of memory cells; and
replacing the second quality value in the map with the third quality value.

### Claim 7 (depends on 4)

The method of claim 4, wherein if the first quality value is a higher quality value than the second quality value, then the first coding scheme is selected such that the first coding scheme has a lower error correction capability than the second coding scheme.

### Claim 8 (depends on 4)

The method of claim 4, wherein the first coding scheme is different from the second coding scheme.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the group of memory cells of the plurality of memory cells is a first group of memory cells of the plurality of memory cells;
the quality value is a first quality value;
the method further comprises determining a second quality value for a second group of memory cells of the plurality of memory cells; and
the second quality value indicates that the second group of memory cells of the plurality of memory cells is to be excluded from being used.

### Claim 10 (depends on 1)

The method of claim 1, wherein the plurality of memory cells of the memory device are flash memory cells.

### Claim 11

An apparatus comprising:
a memory device comprising a plurality of memory cells;
a write block configured to write data to the memory cells;
a data quality monitoring block configured to determine a quality value of a group of memory cells of the plurality of memory cells, wherein the quality value is indicative of a quality of the group of memory cells of the plurality of memory cells;
an adaptive data encoding block configured to select a coding scheme from a plurality of coding schemes to encode data to be written to the group of memory cells of the plurality of memory cells, wherein the coding scheme is selected based at least in part on the quality value of the group of memory cells of the plurality of memory cells; and
a map configured to store the quality value, wherein the quality value is saved in the map to facilitate future decoding of the data written to the group of memory cells of the plurality of memory cells.

### Claim 12 (depends on 11)

The apparatus of claim 11, further comprising:
a read block configured to read the group of memory cells of the plurality of memory cells; and
an error correction and decoding block configured to decode data that is read from the group of memory cells of the plurality of memory cells, wherein the decoding is based at least in part on the quality value that is retrieved from the map.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the data quality monitoring block is configured to determine the quality value of the group of memory cells of the plurality of memory cells based, at least in part, on reading the group of memory cells of the plurality of memory cells by the read block.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein:
the group of memory cells of the plurality of memory cells is a first group of memory cells of the plurality of memory cells;
the quality value is a first quality value;
the coding scheme is a first coding scheme;
the data quality monitoring block is further configured to determine a second quality value of a second group of memory cells of the plurality of memory cells, wherein the second quality value is indicative of a quality of the second group of memory cells of the plurality of memory cells;
the adaptive data encoding block is further configured to select a second coding scheme from the plurality of coding schemes to encode data to be written to the second group of memory cells of the plurality of memory cells; and
the second coding scheme is selected based at least in part on the second quality value of the second group of memory cells.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein (i) the first coding scheme and (ii) the second coding scheme are different coding schemes.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein if the first quality value of the first group of memory cells of the plurality of memory cells is a higher quality value than the second quality value of the second group of memory cells of the plurality of memory cells, then the first coding scheme is selected such that the first coding scheme has a lower error correction capability than the second coding scheme.

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein the plurality of memory cells of the memory device are flash memory cells.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein:
the group of memory cells of the plurality of memory cells is a first group of memory cells of the plurality of memory cells;
the quality value is a first quality value;
the data quality monitoring block is further configured to determine a second quality value of a second group of memory cells of the plurality of memory cells; and
the second quality value indicates that the second group of memory cells of the plurality of memory cells is to be excluded from being used.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the apparatus comprises a storage device.
