# US 2024/0004552 A1 · Method for performing memory operation and apparatus

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

- Number: US 2024/0004552 A1
- Document ID: US20240004552A1
- Status: Published application
- Kind: A1
- Application number: 18/468,387
- Filed: 2023-09-15
- Published: 2024-01-04
- Earliest claimed: 2021-03-18
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bin Zhang
- Web page: https://patentgrep.com/patent/US20240004552A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0661: {Format or protocol conversion arrangements}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for performing a memory operation and an apparatus are provided. The method for performing a memory operation includes: generating an operation command, where the operation command includes a universal flash storage protocol information unit UPIU frame header and an extension header segment EHS, where the EHS frame header includes a total length field of the EHS, the total length field of the EHS indicates that a length of the EHS is not 0, and the EHS indicates storage addresses respectively corresponding to a plurality of EHS operation commands; and sending the operation command to a universal flash storage UFS device controller.

## Claims

### Claim 1

A method, comprising:
generating an operation command, wherein the operation command comprises a universal flash storage protocol information unit (UPIU) frame header and an extension header segment (EHS), wherein the UPIU frame header comprises a total length field carrying a length of the EHS, the total length field of the EHS indicates that the length of the EHS is not 0, and the EHS indicates storage addresses respectively corresponding to a plurality of EHS operation commands; and
sending the operation command to a universal flash storage (UFS) device controller.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the UPIU frame header further comprises a quantity of the plurality of EHS operation commands.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the UPIU frame header further comprises head logical block addresses and total data lengths that correspond to the plurality of EHS operation commands.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the plurality of EHS operation commands indicate a plurality of read operations, a plurality of write operations, or a plurality of erase operations, and wherein the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses or inconsecutive storage addresses.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the EHS comprises head logical block addresses and data lengths that are respectively corresponding to the plurality of EHS operation commands.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the plurality of EHS operation commands indicate a plurality of read operations, and the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the EHS comprises physical page numbers respectively corresponding to the plurality of EHS operation commands.

### Claim 8

A method, comprising:
receiving an operation command from a universal flash storage (UFS) host controller, wherein the operation command comprises a universal flash storage protocol information unit (UPIU) frame header and an extension header segment (EHS), wherein the UPIU frame header comprises a total length field carrying a length of the EHS, the total length field indicates that the length of the EHS is not 0, and the EHS indicates storage addresses respectively corresponding to a plurality of EHS operation commands;
determining, based on the operation command, the storage addresses respectively corresponding to the plurality of EHS operation commands; and
performing corresponding memory operations at the storage addresses respectively corresponding to the plurality of EHS operation commands.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the UPIU frame header further comprises a quantity of the plurality of EHS operation commands.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the UPIU frame header further comprises head logical block addresses and total data lengths that correspond to the plurality of EHS operation commands.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the plurality of EHS operation commands indicate a plurality of read operations, a plurality of write operations, or a plurality of erase operations, and wherein the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses or inconsecutive storage addresses.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the EHS comprises head logical block addresses and data lengths that respectively correspond to the plurality of EHS operation commands.

### Claim 13 (depends on 8)

The method according to claim 8, wherein the plurality of EHS operation commands indicate a plurality of read operations; and the storage addresses respectively correspond to the plurality of EHS operation commands are consecutive storage addresses.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the EHS comprises physical page numbers respectively corresponding to the plurality of EHS operation commands.

### Claim 15

A universal flash storage (UFS) host controller, comprising:
a processor; and
an interface circuit;
wherein the processor is configured to generate an operation command, wherein the operation command comprises a universal flash storage protocol information unit (UPIU) frame header and an extension header segment (EHS), wherein the UPIU frame header comprises a total length field carrying a length of the EHS, the total length field indicates that a length of the EHS is not 0, and the EHS indicates storage addresses respectively corresponding to a plurality of EHS operation commands; and
wherein the interface circuit is configured to send the operation command to a universal flash storage (UFS) device controller.

### Claim 16 (depends on 15)

The UFS host controller according to claim 15, wherein the UPIU frame header further comprises a number of the plurality of EHS operation commands.

### Claim 17 (depends on 15)

The UFS host controller according to claim 15, wherein the UPIU frame header further comprises head logical block addresses and total data lengths that correspond to the plurality of EHS operation commands.

### Claim 18 (depends on 15)

The UFS host controller according to claim 15, wherein the plurality of EHS operation commands indicate a plurality of read operations, a plurality of write operations, or a plurality of erase operations, and wherein the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses or inconsecutive storage addresses.

### Claim 19 (depends on 18)

The controller according to claim 18, wherein the EHS comprises head logical block addresses and data lengths that respectively correspond to the plurality of EHS operation commands.

### Claim 20 (depends on 15)

The UFS host controller according to claim 15, wherein the plurality of EHS operation commands indicate a plurality of read operations; and the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses.

### Claim 21 (depends on 20)

The UFS host controller according to claim 20, wherein the EHS comprises physical page numbers respectively corresponding to the plurality of EHS operation commands.

### Claim 22

A universal flash storage (UFS) device, comprising:
a processor;
an interface circuit; and
a storage medium;
wherein the interface circuit is configured to receive an operation command from a universal flash storage (UFS) host controller, wherein the operation command comprises a universal flash storage protocol information unit (UPIU) frame header and an extension header segment (EHS), wherein the UPIU frame header comprises a total length field carrying a length of the EHS, the total length field indicates that the length of the EHS is not 0, and the EHS indicates storage addresses respectively corresponding to a plurality of EHS operation commands; and
wherein the processor is configured to:
determine, based on the operation command, the storage addresses respectively corresponding to the plurality of EHS operation commands; and
perform corresponding memory operations on the storage medium at the storage addresses respectively corresponding to the plurality of EHS operation commands.

### Claim 23 (depends on 22)

The device according to claim 22, wherein the UPIU frame header further comprises a quantity of the plurality of EHS operation commands.

### Claim 24 (depends on 22)

The device according to claim 22, wherein the UPIU frame header further comprises head logical block addresses and total data lengths that correspond to the plurality of EHS operation commands.

### Claim 25 (depends on 22)

The device according to claim 22, wherein the plurality of EHS operation commands indicate a plurality of read operations, a plurality of write operations, or a plurality of erase operations, and wherein the storage addresses respectively corresponding to the plurality of EHS operation commands are consecutive storage addresses or inconsecutive storage addresses.

### Claim 26 (depends on 25)

The device according to claim 25, wherein the EHS comprises head logical block addresses and data lengths that are respectively corresponding to the plurality of EHS operation commands.
