# US 2021/0278998 A1 · Architecture and design of a storage device controller for hyperscale infrastructure

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

- Number: US 2021/0278998 A1
- Document ID: US20210278998A1
- Status: Published application
- Kind: A1
- Application number: 16/813,449
- Filed: 2020-03-09
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Shu Li
- Web page: https://patentgrep.com/patent/US20210278998A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/10: Address translation
- G06F 13/1668: {Details of memory controller}
- G06F 2212/1016: Performance improvement
- G06F 2212/657: Virtual address space management
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus is provided to facilitate a hyperscale infrastructure. The apparatus comprises a non-volatile memory and a controller. The controller comprises: a memory interface coupled to a first memory; a media interface coupled to the non-volatile memory; a media controller associated with the media interface; a hardware accelerator configured to process, via the memory interface, data to be written to the non-volatile memory; and a reprogrammable hardware component configured to further process the data via the memory interface. The media controller is configured to write, via the media interface, the data to the non-volatile memory system.

## Claims

### Claim 1

An apparatus, comprising:
a non-volatile memory; and
a controller, which comprises:
a memory interface coupled to a first memory;
a media interface coupled to the non-volatile memory;
a media controller associated with the media interface;
a hardware accelerator configured to process, via the memory interface, data to be written to the non-volatile memory; and
a reprogrammable hardware component configured to further process the data via the memory interface;
wherein the media controller is configured to write, via the media interface, the data to the non-volatile memory.

### Claim 2 (depends on 1)

The apparatus of claim 1,
wherein the controller further comprises a host interface configured to communicate with a host and to receive the first request,
wherein the host comprises a flash translation layer (FTL) for address-mapping, and
wherein the host interface supports protocols including one or more of:
Cache Coherent Interconnect for Accelerators (CCIX);
Peripheral Component Interconnect express (PCIe);
Gen-Z;
Coherent Accelerator Processor Interface (CAPI); and
Compute Express Link (CXL).

### Claim 3 (depends on 2)

The apparatus of claim 2,
wherein the controller further comprises processors configured to perform computations.

### Claim 4 (depends on 3)

The apparatus of claim 3,
wherein an advanced eXtensibile interface (AXI) bus is configured to provide a connection between the processors, the media controller, and the host interface.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the processors include one or more of:
an intercore control module configured to coordinate multiple cores;
an Advanced RISC Machines (ARM) processor or core;
a read-only memory (ROM);
an interface with one tightly-coupled memory (TCM) port; and
an interface with one or two TCM ports,
wherein the computations performed by the processors are offloaded from a processing core of a host.

### Claim 6 (depends on 3)

The apparatus of claim 3,
wherein the controller is configured to receive a first request to write first data to the non-volatile memory,
wherein the hardware accelerator and the reprogrammable hardware component are further configured to process, via the memory interface, the first data, and
wherein the media controller is further configured to write, via the media interface, the processed first data to the non-volatile memory.

### Claim 7 (depends on 3)

The apparatus of claim 3,
wherein the controller is further configured to receive a second request to read second data from the non-volatile memory, wherein the request includes a physical address for the requested second data,
wherein the media controller is further configured to retrieve, via the media interface, the second data from the non-volatile memory based on the included physical address,
wherein the hardware accelerator and the reprogrammable hardware component are further configured to process, via the memory interface, the retrieved second data,
wherein the processors are further configured to perform a computation on the retrieved second data, and
wherein the controller is further configured to return, via the host interface, the retrieved data to a requesting host.

### Claim 8 (depends on 1)

The apparatus of claim 1,
wherein the memory interface is accessed via a universal memory controller, and
wherein the coupled first memory includes one or more of:
dynamic random-access memory (DRAM);
resistive random-access memory (ReRAM); and
magnetoresistive random-access memory (MRAM).

### Claim 9 (depends on 1)

The apparatus of claim 1,
wherein the media interface is accessed via the media controller,
wherein the media controller comprises a sequencer, an error correction coding (ECC) codec module, and the hardware accelerator, and
wherein the non-volatile memory includes one or more of:
Not-And (NAND) flash memory;
phase change memory (PCM);
resistive random-access memory (ReRAM);
magnetoresistive random-access memory (MRAM);
tape;
a hard disk drive (HDD); and
any non-volatile memory.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the hardware accelerator and the reprogrammable hardware component are further configured to process the data to be written to the non-volatile memory based on one or more of:
performing a hash calculation on the data;
video encoding or video decoding the data;
compressing or decompressing the data;
encrypting or decrypting the data;
erasure code (EC) encoding or decoding the data; and
redundant array of independent disks (RAID) encoding or decoding,
wherein the computing function is performed by integrating software running on the reprogrammable hardware component with modules on the hardware accelerator component.

### Claim 11

A computer-implemented method, comprising:
receiving, by a controller of a storage device, a first request to write data to a non-volatile memory,
wherein the controller comprises:
a memory interface coupled to a first memory;
a media interface coupled to the non-volatile memory;
a media controller associated with the media interface;
a hardware accelerator; and
a reprogrammable hardware component;
processing, by the hardware accelerator and the reprogrammable hardware component via the memory interface, the data to be written to the non-volatile memory; and
writing, by the media controller via the media interface, the data to the non-volatile memory.

### Claim 12 (depends on 11)

The method of claim 11,
wherein the controller further comprises a host interface configured to communicate with a host and to receive the first request,
wherein the host comprises a flash translation layer (FTL) for address-mapping, and
wherein the host interface supports protocols including one or more of:
Cache Coherent Interconnect for Accelerators (CCIX);
Peripheral Component Interconnect express (PCIe);
Gen-Z;
Coherent Accelerator Processor Interface (CAPI); and
Compute Express Link (CXL).

### Claim 13 (depends on 12)

The method of claim 12,
wherein the controller further comprises processors configured to perform computations.

### Claim 14 (depends on 13)

The method of claim 13,
wherein an advanced eXtensibile interface (AXI) bus is configured to provide a connection between the processors, the media controller, and the host interface.

### Claim 15 (depends on 13)

The method of claim 13, wherein the processors include one or more of:
an intercore control module configured to coordinate multiple cores;
an Advanced RISC Machines (ARM) processor or core;
a read-only memory (ROM);
an interface with one tightly-coupled memory (TCM) port; and
an interface with one or two TCM ports,
wherein the computations performed by the processors are offloaded from a processing core of a host.

### Claim 16 (depends on 13)

The method of claim 13, further comprising:
receiving, by the controller of the storage device, a second request to read the data from the non-volatile memory, wherein the request includes a physical address for the requested data;
retrieving, via the media interface, the data from the non-volatile memory based on the included physical address;
processing, by the hardware accelerator and the reprogrammable hardware component via the memory interface, the retrieved data;
performing, by the processors, a computation on the retrieved data; and
returning the retrieved data to a requesting host.

### Claim 17 (depends on 11)

The method of claim 11,
wherein the memory interface is accessed via a universal memory controller, and
wherein the coupled first memory includes one or more of:
dynamic random-access memory (DRAM);
resistive random-access memory (ReRAM); and
magnetoresistive random-access memory (MRAM).

### Claim 18 (depends on 11)

The method of claim 11,
wherein the media interface is accessed via the media controller,
wherein the media controller comprises a sequencer, an error correction coding (ECC) codec module, and the hardware accelerator, and
wherein the non-volatile memory includes one or more of:
Not-And (NAND) flash memory;
phase change memory (PCM);
resistive random-access memory (ReRAM);
magnetoresistive random-access memory (MRAM);
tape;
a hard disk drive (HDD); and
any non-volatile memory.

### Claim 19 (depends on 11)

The method of claim 11, wherein processing the data by the hardware accelerator component and the reprogrammable hardware component comprises one or more of:
performing a hash calculation on the data;
video encoding or video decoding the data;
compressing or decompressing the data;
encrypting or decrypting the data;
erasure code (EC) encoding or decoding the data; and
redundant array of independent disks (RAID) encoding or decoding,
wherein the computing function is performed by integrating software running on the reprogrammable hardware component with modules on the hardware accelerator component.

### Claim 20

A computer system, comprising:
a processor; and
a memory coupled to the processor and storing instructions which, when executed by the processor, cause the processor to perform a method, the method comprising:
receiving, by a controller of a storage device, a first request to write data to a non-volatile memory,
wherein the controller comprises:
a memory interface coupled to a first memory;
a media interface coupled to the non-volatile memory;
a media controller associated with the media interface;
a hardware accelerator;
a reprogrammable hardware component; and
processors;
performing, by the processors, a computation on the data, wherein the computation is offloaded from a processing core of a host;
processing, by the hardware accelerator and the reprogrammable hardware component via the memory interface, the data to be written to the non-volatile memory; and
writing, by the media controller via the media interface, the data to the non-volatile memory.
