# US 2025/0094053 A1 · Memory controllers and operation methods thereof, memory systems, electronic devices

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

- Number: US 2025/0094053 A1
- Document ID: US20250094053A1
- Status: Published application
- Kind: A1
- Application number: 18/612,163
- Filed: 2024-03-21
- Published: 2025-03-20
- Earliest claimed: 2023-09-19
- Assignees: Yangtze Memory Technologies Co., Ltd.
- Applicants: Yangtze Memory Technologies Co., Ltd.
- Inventors: Peian HAN
- Web page: https://patentgrep.com/patent/US20250094053A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/061: {Improving I/O performance}
- 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]}
- G06F 3/0683: {Plurality of storage devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples of the present disclosure provide memory controllers and operation methods thereof, memory systems, and electronic devices. An example memory controller includes a host interface circuit configured to: obtain commands from a host and queue the commands in a command queue; and a processor coupled to the host interface circuit and configured to: detect whether there is an abort command in the command queue, wherein the abort command is to instruct to abort a target command in the command queue; and abort the target command in response to the abort command.

## Claims

### Claim 1

A memory controller, comprising:
a host interface circuit configured to:
obtain commands from a host and queue the commands in a command queue; and
a processor coupled to the host interface circuit and configured to:
detect whether there is an abort command in the command queue, wherein the abort command is to instruct to abort a target command in the command queue; and
abort the target command in response to the abort command.

### Claim 2 (depends on 1)

The memory controller according to claim 1, wherein the commands comprise at least one admin command, the command queue comprises an admin command queue, and the admin command is queued in the admin command queue, and
the processor is configured to:
detect whether there is a first sub-abort command in the admin command queue, wherein the abort command comprises the first sub-abort command, the first sub-abort command is to instruct to abort a target admin command in the admin command queue, and the target command comprises the target admin command; and
abort the target admin command in response to the first sub-abort command.

### Claim 3 (depends on 2)

The memory controller according to claim 2, wherein the commands further comprise at least one I/O command, the command queue further comprises an I/O command queue, and the I/O command is queued in the I/O command queue, and
the processor is configured to:
detect whether there is a second sub-abort command in the admin command queue, wherein the abort command comprises the second sub-abort command, the second sub-abort command is to instruct to abort a target I/O command in the I/O command queue, and the target command comprises the target I/O command; and
abort the target I/O command in response to the second sub-abort command.

### Claim 4 (depends on 1)

The memory controller according to claim 1, wherein each of the commands has a command identifier, the command identifiers of any two of the commands are different, and the abort command comprises a target command identifier of the target command, and
the processor is further configured to:
determine the target command identifier of the target command in response to the abort command; and
match the command identifiers of the commands in the command queue with the target command identifier to determine the target command in the command queue.

### Claim 5 (depends on 4)

The memory controller according to claim 4, wherein the host interface circuit is further configured to:
obtain a command queues from the host, wherein each of the command queues has a queue identifier, the queue identifiers of any two of the command queues are different, and the abort command further comprises a target queue identifier of the target command queue where the target command is located; and
the processor is further configured to:
determine the target queue identifier of the target command queue in response to the abort command; and
match the queue identifiers of the command queues with the target queue identifier to determine the target command queue in the command queues.

### Claim 6 (depends on 4)

The memory controller according to claim 4, wherein the commands comprise at least one I/O command, the command queue comprises an admin command queue and an I/O command queue, and the I/O command is queued in the I/O command queue, and
the processor is configured to:
determine the target command identifier of a target I/O command in response to a second sub-abort command, wherein the abort command comprises the second sub-abort command, the second sub-abort command is to instruct to abort the target I/O command in the I/O command queue, and the target command comprises the target I/O command; and
match the command identifiers of the I/O commands in the I/O command queue with the target command identifier one by one to determine the target I/O command in the I/O command queue.

### Claim 7 (depends on 6)

The memory controller according to claim 6, wherein the host interface circuit is configured to:
obtain the I/O commands one by one from the host; and
the processor is configured to:
each time one of the I/O commands is obtained, match the command identifier of the obtained one of the I/O commands with the target command identifier to determine the target I/O command.

### Claim 8 (depends on 7)

The memory controller according to claim 7, wherein the processor is configured to:
obtain a number of the I/O commands to be sent at a preset moment in the host; and
each time one of the I/O commands for the preset moment is obtained, match the command identifier of the obtained one of the I/O commands for the preset moment with the target command identifier to determine the target I/O command.

### Claim 9 (depends on 8)

The memory controller according to claim 8, wherein the processor is further configured to:
in response to I/O commands updated after the preset moment are obtained, the matching of the command identifiers of the updated I/O commands with the target command identifier is no longer performed.

### Claim 10

A method of operating a memory controller, the memory controller comprising a host interface circuit and a processor, and the operation method comprising:
obtaining, by the host interface circuit, commands from a host and queue the commands in a command queue;
detecting, by the processor, whether there is an abort command in the command queue, wherein the abort command is to instruct to abort a target command in the command queue; and aborting, by the processor, the target command in response to the abort command.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the commands comprise at least one admin command, the command queue comprises an admin command queue, and the admin command is queued in the admin command queue, and
detecting, by the processor, whether there is an abort command in the command queue comprises:
detecting, by the processor, whether there is a first sub-abort command in the admin command queue, wherein the abort command comprises the first sub-abort command, the first sub-abort command is to instruct to abort a target admin command in the admin command queue, and the target command comprises the target admin command; and aborting, by the processor, the target command in response to the abort command comprises:
aborting, by the processor, the target admin command in response to the first sub-abort command.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the commands further comprise at least one I/O command, the command queue further comprises an I/O command queue, and the I/O command is queued in the I/O command queue, and
detecting, by the processor, whether there is an abort command in the command queue comprises:
detecting, by the processor, whether there is a second sub-abort command in the admin command queue, wherein the abort command comprises the second sub-abort command, the second sub-abort command is to instruct to abort a target I/O command in the I/O command queue, and the target command comprises the target I/O command; and aborting, by the processor, the target command in response to the abort command comprises:
aborting, by the processor, the target I/O command in response to the second sub-abort command.

### Claim 13 (depends on 10)

The method according to claim 10, wherein each of the commands has a command identifier, the command identifiers of any two of the commands are different, and the abort command comprises a target command identifier of the target command, and the operation method further comprises:
determining, by the processor, the target command identifier of the target command in response to the abort command; and
matching, by the processor, the command identifiers of the commands in the command queue with the target command identifier to determine the target command in the command queue.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising:
obtaining, by the host interface circuit, command queues from the host, wherein each of the command queues has a queue identifier, the queue identifiers of any two of the command queues are different, and the abort command further comprises a target queue identifier of the target command queue where the target command is located;
determining, by the processor, the target queue identifier of the target command queue in response to the abort command; and
matching, by the processor, the queue identifiers of the command queues with the target queue identifier to determine the target command queue in the command queues.

### Claim 15 (depends on 13)

The method according to claim 13, wherein the commands comprise at least one I/O command, the command queue comprises an admin command queue and an I/O command queue, and the I/O command is queued in the I/O command queue, and
determining, by the processor, the target command identifier in response to the abort command comprises:
determining, by the processor, the target command identifier of a target I/O command in response to a second sub-abort command, wherein the abort command comprises the second sub-abort command, the second sub-abort command is to instruct to abort the target I/O command in the I/O command queue, and the target command comprises the target I/O command; and
matching, by the processor, the command identifiers of the commands in the command queue with the target command identifier comprises:
matching, by the processor, the command identifiers of the I/O commands in the I/O command queue with the target command identifier one by one to determine the target I/O command in the I/O command queue.

### Claim 16 (depends on 15)

The method according to claim 15, wherein obtaining, by the host interface circuit, commands from a host comprises:
obtaining, by the host interface circuit, the I/O commands one by one from the host; and
matching, by the processor, the command identifiers of the I/O commands in the I/O command queue with the target command identifier one by one comprises:
each time one of the I/O commands is obtained by the host interface circuit, matching, by the processor, the command identifier of the obtained one of the I/O commands with the target command identifier to determine the target I/O command.

### Claim 17 (depends on 16)

The method according to claim 16, wherein each time one of the I/O commands is obtained by the host interface circuit, matching, by the processor, the command identifier of the obtained one of the I/O commands with the target command identifier comprises:
obtaining, by the processor, a number of the I/O commands to be sent at a preset moment in the host; and
each time one of the I/O commands for the preset moment is obtained by the host interface circuit, matching, by the processor, the command identifier of the obtained one of the I/O commands for the preset moment with the target command identifier to determine the target I/O command.

### Claim 18 (depends on 17)

The method according to claim 17, further comprising:
in response to the I/O commands updated after the preset moment are obtained by the host interface circuit, the matching of the command identifiers of updated I/O commands with the target command identifier is no longer performed by the processor.

### Claim 19

A memory system, comprising:
a memory device; and
a memory controller configured to control the memory device and comprising:
a host interface circuit configured to:
obtain commands from a host and queue the commands in a command queue; and
a processor coupled to the host interface circuit and configured to:
detect whether there is an abort command in the command queue, wherein the abort command is to instruct to abort a target command in the command queue; and
abort the target command in response to the abort command.

### Claim 20 (depends on 19)

The memory system according to claim 19, wherein the commands comprise at least one admin command, the command queue comprises an admin command queue, and the admin command is queued in the admin command queue, and
the processor is configured to:
detect whether there is a first sub-abort command in the admin command queue, wherein the abort command comprises the first sub-abort command, the first sub-abort command is to instruct to abort a target admin command in the admin command queue, and the target command comprises the target admin command; and
abort the target admin command in response to the first sub-abort command.
