# US 2024/0192888 A1 · Low-latency processing for unmap commands

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

- Number: US 2024/0192888 A1
- Document ID: US20240192888A1
- Status: Published application
- Kind: A1
- Application number: 17/758,332
- Filed: 2022-03-17
- Published: 2024-06-13
- Earliest claimed: 2022-03-17
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Na Zhu; Ling Shi; Bo Sun; Huachen Li; Qingyuan Wang
- Web page: https://patentgrep.com/patent/US20240192888A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0611: {in relation to response time}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0683: {Plurality of storage devices}
- G06F 2212/7207: management of metadata or control data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and devices for low-latency processing for unmap commands are described. A plurality of commands including one or more unmap commands and one or more other types of commands may be received from a device. The one or more unmap commands may be stored in a queue used for unmap commands and the other commands may be stored in another queue. Ready-to-transfer messages for the one or more unmap commands stored in the queue may be transmitted to the device. In response to the ready-to-transfer messages, one or more messages including data for executing the one or more unmap commands may be received and stored in a portion of a buffer used for unmap commands.

## Claims

### Claim 1

An apparatus, comprising:
a memory device; and
a controller coupled with the memory device and configured to cause the apparatus to:
receive a plurality of commands comprising a set of unmap commands and one or more second commands of a type different than the set of unmap commands;
store the set of unmap commands in a first queue used for unmap commands and the one or more second commands in a second queue used for the one or more second commands;
transmit a set of ready-to-transfer messages comprising a ready-to-transfer message for each unmap command of the set of unmap commands in the first queue;
receive, in response to the set of ready-to-transfer messages, one or more messages comprising data for executing the set of unmap commands; and
store, in at least a portion of a buffer used for unmap commands, the data for executing the set of unmap commands obtained from the one or more messages.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the set of unmap commands are interspersed with the one or more second commands, and wherein, to transmit the set of ready-to-transfer messages for the set of unmap commands, the controller is further configured to cause the apparatus to:
transmit the set of ready-to-transfer messages for the set of unmap commands consecutively.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to:
transmit a second set of ready-to-transfer messages comprising a ready-to-transfer message for each second command of the one or more second commands, wherein a first order in which unmap commands of the set of unmap commands and second commands of the one or more second commands are received is different than a second order in which corresponding ready-to-transfer messages of the set of ready-to-transfer messages for the set of unmap commands and the second set of ready-to-transfer messages for the one or more second commands are transmitted.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein, to transmit the set of ready-to-transfer messages for the set of unmap commands, the controller is further configured to cause the apparatus to:
transmit the set of ready-to-transfer messages for the set of unmap commands before the second set of ready-to-transfer messages for the one or more second commands.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the one or more messages comprises a single message comprising the data corresponding to the set of ready-to-transfer messages.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the one or more messages comprises a plurality of messages comprising the data in a plurality of data packets, the plurality of messages corresponding to the set of ready-to-transfer messages.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein multiple ready-to-transfer messages of the set of ready-to-transfer messages are transmitted prior to receiving a message of the one or more messages.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to:
determine that a quantity of unmap commands in the first queue satisfies a threshold, wherein the set of ready-to-transfer messages for the set of unmap commands is transmitted based at least in part on the quantity of unmap commands satisfying the threshold.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to:
determine that the set of unmap commands has been stored in the first queue for a threshold duration, wherein the set of ready-to-transfer messages for the set of unmap commands is transmitted based at least in part on one or more unmap commands of the set of unmap commands being stored in the first queue for the threshold duration.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the controller is further configured to cause the apparatus to:
identify, based at least in part on receiving the plurality of commands, the set of unmap commands within the plurality of commands, wherein the set of unmap commands is stored in the first queue based at least in part on the identifying.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the one or more messages comprise one or more DATA OUT universal flash storage protocol information units (UPIUs).

### Claim 12

An apparatus, comprising:
a controller configured to couple with a memory system, wherein the controller is configured to cause the apparatus to:
transmit a plurality of commands comprising a set of unmap commands and one or more second commands of a type different than the set of unmap commands;
receive a set of ready-to-transfer messages comprising a ready-to-transfer message for each unmap command of the set of unmap commands, wherein the set of ready-to-transfer messages are received consecutively; and
transmit, in response to the set of ready-to-transfer messages, one or more messages comprising data for executing the set of unmap commands.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein multiple ready-to-transfer messages of the set of ready-to-transfer messages are received prior to the one or more messages being transmitted.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein, to transmit the one or more messages, the controller is further configured to cause the apparatus to:
transmit the one or more messages after receiving each ready-to-transfer message of the set of ready-to-transfer messages.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein unmap commands of the set of unmap commands and second commands of the one or more second commands are transmitted in a first order, and wherein the controller is further configured to cause the apparatus to:
receive, from the memory system, a second set of ready-to-transfer messages comprising a ready-to-transfer message for each second command of the one or more second commands, wherein the first order is different than a second order in which corresponding ready-to-transfer messages of the set of ready-to-transfer messages for the set of unmap commands and the second set of ready-to-transfer messages for the one or more second commands are received.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein:
the controller is further configured to cause the apparatus to identify a last ready-to-transfer message of the set of ready-to-transfer messages, and
the controller is further configured to cause the apparatus to transmit the one or more messages based at least in part identifying the last ready-to-transfer message.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the controller is further configured to cause the apparatus to:
identify the last ready-to-transfer message of the set of ready-to-transfer messages based at least in part on a threshold quantity of ready-to-transfer messages of the set of ready-to-transfer messages, an interval between the ready-to-transfer messages of the set of ready-to-transfer messages, or both.

### Claim 18

A non-transitory, computer-readable medium storing code comprising instructions which, when executed by a processor of an electronic device, causes the electronic device to:
receive a plurality of commands comprising a set of unmap commands and one or more second commands of a type different than the set of unmap commands:
store the set of unmap commands in a first queue used for unmap commands and the one or more second commands in a second queue used for the one or more second commands:
transmit a set of ready-to-transfer messages comprising a ready-to-transfer message for each unmap command of the set of unmap commands in the first queue;
receive, in response to the set of ready-to-transfer messages, one or more messages comprising data for executing the set of unmap commands; and
store, in at least a portion of a buffer used for unmap commands, the data for executing the set of unmap commands obtained from the one or more messages.

### Claim 19 (depends on 18)

The non-transitory, computer-readable medium of claim 18, wherein the unmap commands are interspersed with the one or more second commands, and wherein, to transmit the set of ready-to-transfer messages for the set of unmap commands, the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
transmit the set of ready-to-transfer messages for the set of unmap commands consecutively.

### Claim 20 (depends on 18)

The non-transitory, computer-readable medium of claim 18, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
transmit a second set of ready-to-transfer messages comprising a ready-to-transfer message for each second command of the one or more second commands, wherein a first order in which unmap commands of the set of unmap commands and second commands the one or more second commands are received is different than a second order in which corresponding ready-to-transfer messages of the set of ready-to-transfer messages for the set of unmap commands and the second set of ready-to-transfer messages for the one or more second commands are transmitted.

### Claim 21 (depends on 18)

The non-transitory, computer-readable medium of claim 18, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
determine that a quantity of unmap commands in the first queue satisfies a threshold, wherein the set of ready-to-transfer messages for the set of unmap commands is transmitted based at least in part on the quantity of unmap commands satisfying the threshold.

### Claim 22 (depends on 18)

The non-transitory, computer-readable medium of claim 18, wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
determine that the set of unmap commands has been stored in the first queue for a threshold duration, wherein the set of ready-to-transfer messages for the set of unmap commands is transmitted based at least in part on one or more unmap commands of the set of unmap commands being stored in the first queue for the threshold duration.

### Claim 23

A non-transitory, computer-readable medium storing code comprising instructions which, when executed by a processor of an electronic device, causes the electronic device to:
transmit a plurality of commands comprising a set of unmap commands and one or more second commands of a type different than the set of unmap commands;
receive a set of ready-to-transfer messages comprising a ready-to-transfer message for each unmap command of the set of unmap commands, wherein the set of ready-to-transfer messages are received consecutively; and
transmit, in response to the set of ready-to-transfer messages, one or more messages comprising data for executing the set of unmap commands.

### Claim 24 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein to transmit the one or more messages, the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
transmit the one or more messages after receiving each ready-to-transfer message of the set of ready-to-transfer messages.

### Claim 25 (depends on 23)

The non-transitory, computer-readable medium of claim 23, wherein unmap commands of the set of unmap commands and second commands of the one or more second commands are transmitted in a first order, and wherein the instructions, when executed by the processor of the electronic device, further cause the electronic device to:
receive a second set of ready-to-transfer messages comprising a ready-to-transfer message for each second command of the one or more second commands, wherein the first order is different than a second order in which corresponding ready-to-transfer messages of the set of ready-to-transfer messages for the set of unmap commands and the second set of ready-to-transfer messages for the one or more second commands are received.
