# US 2018/0322936 A1 · Method for managing data blocks and method of data management for data storage device

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

- Number: US 2018/0322936 A1
- Document ID: US20180322936A1
- Status: Published application
- Kind: A1
- Application number: 16/038,145
- Filed: 2018-07-17
- Published: 2018-11-08
- Earliest claimed: 2016-05-13
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: PO-SHENG CHOU; HUAN-JUNG YEH
- Web page: https://patentgrep.com/patent/US20180322936A1

## CPC

- G11C 16/3495: {Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for managing a plurality of data blocks of a data storage device includes steps of: reading a plurality of data pages in the data blocks which having valid data; updating a plurality of access counts of the data pages in the data blocks; determining whether an access count of the data block is greater than or equal to an access count threshold, wherein the access count of the data block is selected from one of the access counts of the data pages therein; and when the determination is positive, storing data in the data block into a spare data block of the data blocks. The access count threshold is updated when an erase count of the data block is determined to be greater than or equal to an erase count threshold. A method of data management for a data storage device is also provided.

## Claims

### Claim 1

A method of data management of a data storage device, comprising steps of:
reading a data from a data programming unit of a data erase unit;
increasing and storing an access count;
determining whether the access count is greater than an access count threshold; and
when the determination is positive, storing the data into a data programming unit of another data erase unit, wherein the access count threshold and an erase count threshold of the data erase unit are negatively correlated.

### Claim 2 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the data programming unit is a page.

### Claim 3 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the data erase unit is a block.

### Claim 4 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the access count is a count of read of the data programming unit.

### Claim 5 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the access count is a count of read of the data erase unit.

### Claim 6 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the access count is selected from one of a group of access count.

### Claim 7 (depends on 6)

The method of data management of a data storage device according to claim 6, wherein the group of access count record a plurality of access counts of a plurality of data programming units and the data programming unit is one of the data programming units.

### Claim 8 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein another data programming unit has another access count.

### Claim 9 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the updated erase count threshold is increased and the updated read count threshold is reduced.

### Claim 10 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the access count threshold of the data erase unit is updated by performing steps of:
erasing the data erase unit;
increasing and storing an erase count of the data erase unit;
determining whether the erase count is greater than the erase count threshold; and
when the determination is positive, decreasing the access count threshold of the data erase unit.

### Claim 11 (depends on 10)

The method of data management of a data storage device according to claim 10, the steps further including:
increasing the erase count threshold of the data erase unit.

### Claim 12 (depends on 1)

The method of data management of a data storage device according to claim 1, wherein the access count threshold and an erase count threshold of the data erase unit are updated according to a lookup table.

### Claim 13

A method of data management of a data storage device, comprising steps of:
determining an access count threshold of a data erase unit based on an erase count of the data erase unit and a lookup table;
counting an access count of the data erase unit;
determining whether the access count is greater than the access count threshold of the data erase unit; and
when the determination is positive, storing data from the data erase unit to another data erase unit, wherein the access count threshold and an erase count threshold of the data erase unit are negatively correlated.

### Claim 14 (depends on 13)

The method of data management of a data storage device according to claim 13, further comprising the steps of:
erasing the data erase unit;
increasing and storing an erase count of the data erase unit;
determining whether the erase count is greater than the erase count threshold; and
when the determination is positive, decreasing the access count threshold of the data erase unit.

### Claim 15 (depends on 14)

The method of data management of a data storage device according to claim 14, the steps further including:
increasing the erase count threshold of the data erase unit.

### Claim 16 (depends on 13)

The method of data management of a data storage device according to claim 13, wherein the data erase unit is a block.

### Claim 17 (depends on 13)

The method of data management of a data storage device according to claim 13, wherein the step of storing data from the data erase unit to another data erase unit is to store valid data from the data erase unit to another data erase unit.
