# US 2017/0293425 A1 · Delaying programming requests in flash memory

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

- Number: US 2017/0293425 A1
- Document ID: US20170293425A1
- Status: Published application
- Kind: A1
- Application number: 15/093,243
- Filed: 2016-04-07
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Saravanan SETHURAMAN; Gary A. TRESSLER; Harish VENKATARAMAN
- Web page: https://patentgrep.com/patent/US20170293425A1

## CPC

- G11C 16/32: Timing circuits
- G06F 3/061: {Improving I/O performance}
- G06F 3/064: {Management of blocks}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0656: {Data buffering arrangements}
- 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/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 2207/2209: Concurrent read and write
- G11C 2211/5623: Concurrent multilevel programming and reading
- G11C 2211/5642: Multilevel memory with buffers, latches, registers at input or output
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments herein describe a memory system that queues program requests to a block of flash memory until a predefined threshold is reached. That is, instead of performing program requests to write data into the block as the requests are received, the memory system queues the requests until the threshold is satisfied. Once the buffer for the block includes the threshold amount of program requests, the memory system performs the stored requests. In one embodiment, the memory system erases all the pages in the block before writing the new data in the program requests into the destination pages. The data that was originally stored in the pages that are not destination pages is rewritten into the pages. In this example, the queued program requests can be written into the pages using one erase and write step rather than individual erase and write steps for each of the requests.

## Claims

### Claim 1

A memory system, comprising:
a NAND flash memory array comprising a plurality of data blocks that each includes a plurality of pages;
a controller configured to:
receive a program request to write data into a first block of the data blocks;
evaluate the program request and a plurality of previously queued program requests to determine if a threshold corresponding to the first block is satisfied, wherein each of the plurality of previously queued program requests writes data to the first block; and
execute the program request and the plurality of queued program requests only upon determining the threshold is satisfied.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the controller is configured to:
store the program request in a buffer corresponding to the first block if the threshold is not satisfied, wherein the program request is queued along with the plurality of previously queued program requests waiting for execution.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the controller is configured to:
maintain a respective buffer for each of the data blocks; and
execute queued program requests stored in the respective buffers only after a number of program requests received by the controller corresponding to one of the data blocks exceeds a respective threshold.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein, upon determining the threshold is satisfied, the NAND flash memory array is configured to:
erase all the pages in the first block; and
re-write the pages in the first block to include updated data provided by the program request and the previously queued program requests.

### Claim 5 (depends on 4)

The memory system of claim 4, wherein the first block is erased only once when executing the program request and the plurality of previously queued program requests.

### Claim 6 (depends on 4)

The memory system of claim 4, wherein after re-writing the pages in the first block, a first portion of the pages in the first block contain previously written data and a remaining portion of the pages in the first block include the updated data.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein the threshold is based on at least one of: (i) a percentage of pages in the first block updated by the data provided the program request and the plurality of queued program requests and (ii) a combined number of received program requests to write data in the first block.

### Claim 8

A method of operating a NAND flash memory comprising a plurality of data blocks that each includes a plurality of pages, the method comprising:
receiving a program request to write data into a first block of the data blocks;
evaluating the program request and a plurality of previously queued program requests to determine if a threshold corresponding to the first block is satisfied, wherein each of the plurality of previously queued program requests writes data to the first block; and
executing, upon determining the threshold is satisfied, the program request and the plurality of queued program requests.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a second program request to write data into the first block;
evaluating the second program request and the plurality of previously queued program requests to determine if the threshold corresponding to the first block is satisfied; and
storing, upon determining the threshold is not satisfied, the second program request in a buffer corresponding to the first block, wherein the second program request is queued along with the plurality of previously queued program requests waiting for execution.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
maintaining a respective buffer for each of the data blocks; and
executing queued program requests stored in the respective buffers only after a number of received program requests corresponding to one of the data blocks exceeds a respective threshold.

### Claim 11 (depends on 8)

The method of claim 8, wherein executing the program request and the plurality of queued program requests comprises:
erasing all the pages in the first block; and
re-writing the pages in the first block to include updated data provided by the program request and the previously queued program requests.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first block is erased only once when executing the program request and the plurality of previously queued program requests.

### Claim 13 (depends on 11)

The method of claim 11, wherein after re-writing the pages in the first block, a first portion of the pages in the first block contain previously written data and a remaining portion of the pages in the first block include the updated data.

### Claim 14 (depends on 8)

The method of claim 8, wherein the threshold is based on at least one of: (i) a percentage of pages in the first block updated by the data provided the program request and the plurality of queued program requests and (ii) a combined number of received program requests to write data in the first block.

### Claim 15

An integrated circuit, comprising:
a controller configured to:
receive a program request to write data into a first block of data blocks in a NAND flash memory;
evaluate the program request and a plurality of previously queued program requests to determine if a threshold corresponding to the first block is satisfied, wherein each of the plurality of previously queued program requests writes data to the first block; and
execute the program request and the plurality of queued program requests only upon determining the threshold is satisfied.

### Claim 16 (depends on 15)

The integrated circuit of claim 15, wherein the controller is configured to:
store the program request in a buffer corresponding to the first block if the threshold is not satisfied, wherein the program request is queued along with the plurality of previously queued program requests waiting for execution.

### Claim 17 (depends on 16)

The integrated circuit of claim 16, wherein the controller is configured to:
maintain a respective buffer for each of the data blocks; and
execute queued program requests stored in the respective buffers only after a number of program requests received by the controller corresponding to one of the data blocks exceeds a respective threshold.

### Claim 18 (depends on 15)

The integrated circuit of claim 15, wherein, upon determining the threshold is satisfied, the controller is configured to:
instruct the NAND flash memory to erase all the pages in the first block; and
instruct the NAND flash memory to re-write the pages in the first block to include updated data provided by the program request and the previously queued program requests.

### Claim 19 (depends on 18)

The integrated circuit of claim 18, wherein the first block is erased only once when executing the program request and the plurality of previously queued program requests.

### Claim 20 (depends on 18)

The integrated circuit of claim 18, wherein after re-writing the pages in the first block, a first portion of the pages in the first block contain previously written data and a remaining portion of the pages in the first block include the updated data.
