# US 2023/0069339 A1 · Storage device, electronic device including storage device, and operating method of electronic device

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

- Number: US 2023/0069339 A1
- Document ID: US20230069339A1
- Status: Published application
- Kind: A1
- Application number: 17/877,311
- Filed: 2022-07-29
- Published: 2023-03-02
- Earliest claimed: 2021-08-27
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: DINGBANG MAI; SEOK-JAE HAN
- Web page: https://patentgrep.com/patent/US20230069339A1

## 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/0611: {in relation to response time}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed is a storage device which includes a nonvolatile memory device, a buffer memory, a port that is connected with an external device, and a storage controller. When a command received from the external device through the port corresponds to a first packet format, the storage controller accesses the nonvolatile memory device by using the buffer memory in response to the command When the command received from the external device through the port corresponds to a second packet format, the storage controller accesses the buffer memory without accessing the nonvolatile memory device in response to the command

## Claims

### Claim 1

A storage device comprising:
a nonvolatile memory device;
a buffer memory;
a port configured to be connected with an external device; and
a storage controller configured to:
when a command received from the external device through the port corresponds to a first packet format, access the nonvolatile memory device by using the buffer memory in response to the command; and
when the command received from the external device through the port corresponds to a second packet format, access the buffer memory without accessing the nonvolatile memory device in response to the command

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the first packet format corresponds to PCIe (Peripheral Component Interconnect)© or NVMe (Non-Volatile Memory express)™, and the second packet format corresponds to CXL (Compute eXpress Link)™.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein, when the command corresponds to the second packet format, the storage controller outputs data stored in the buffer memory to the external device through the port in response to the command

### Claim 4 (depends on 1)

The storage device of claim 1, wherein, when the command corresponds to the second packet format, the storage controller stores data received from the external device through the port in the buffer memory in response to the command

### Claim 5 (depends on 1)

The storage device of claim 1, wherein, in response to that a first command of the first packet format and first data are received from the external device through the port, the storage controller loads the first data onto the buffer memory as second data.

### Claim 6 (depends on 5)

The storage device of claim 5, further comprising:
a compute module configured to perform at least one operation,
wherein the compute module starts the at least one operation with respect to the second data in response to the first command

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the compute module is implemented to include at least one of an encryption and decryption unit, a compressor and decompressor, a neural processor, a neuromorphic processor, a graphics processing unit (GPU), an image processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a multiplier, an adder, a multiplier and accumulator (MAC), a floating point unit (FPU), a database filter, a quantizer, and a normalizer.

### Claim 8 (depends on 6)

The storage device of claim 6, wherein, in response to a second command of the second packet format is received from the external device through the port, the storage controller outputs third data constituted by a segment of the second data to the external device through the port.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein, in response to that the second command of the second packet format is received from the external device through the port, the compute module performs the at least one operation with respect to fourth data constituted by the remaining segment of the second data other than the third data.

### Claim 10 (depends on 9)

The storage device of claim 9, wherein the compute module stores fifth data being the result of the at least one operation performed with respect to the fourth data in the nonvolatile memory device and/or outputs the fifth data to the external device.

### Claim 11 (depends on 9)

The storage device of claim 9, wherein the compute module receives fifth data being a result of the at least one operation performed with respect to the third data from the external device.

### Claim 12 (depends on 1)

The storage device of claim 1, wherein, in response to that a second command of the first packet format is received from the external device through the port, the storage controller reads sixth data from the nonvolatile memory device so as to be loaded onto the buffer memory.

### Claim 13 (depends on 1)

The storage device of claim 1, wherein, in response to that a third command of the second packet format and seventh data are received from the external device through the port, the storage controller loads the seventh data onto the buffer memory.

### Claim 14 (depends on 13)

The storage device of claim 13, further comprising:
a compute module configured to perform at least one operation,
wherein the storage controller starts the at least one operation associated with the seventh data in response to the third command and/or a fourth command of the first packet format received from the external device through the port.

### Claim 15

An electronic device comprising:
at least one processor;
a first storage device and a second storage device each including a buffer memory and a nonvolatile memory device; and
a root complex configured to electrically connect the at least one processor, the first storage device, and the second storage device,
wherein each of the first storage device and the second storage device is configured to:
in response to a command of a first packet format received from the at least one processor through the root complex, access the nonvolatile memory device by using the buffer memory; and
in response to a command of a second packet format received from the at least one processor through the root complex, access the buffer memory without accessing to the nonvolatile memory device.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein, in response to a first command of the second packet format received from the at least one processor through the root complex, the first storage device transmits second data constituted by a segment of first data loaded onto the buffer memory of the first storage device to the buffer memory of the second storage device.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein the second data are transferred from the buffer memory of the first storage device to the buffer memory of the second storage device through the root complex without passing through the at least one processor.

### Claim 18 (depends on 16)

The electronic device of claim 16, wherein each of the first storage device and the second storage device further includes a compute module,
wherein the first storage device performs at least one operation with respect to third data being the remaining segment of the first data other than the second data by using the compute module of the first storage device, and
wherein the second storage device performs the at least one operation with respect to the second data by using the compute module of the second storage device.

### Claim 19

An operating method of an electronic device which includes at least one processor, a first storage device, a second storage device, and a root complex, the method comprising:
assigning, at the at least one processor, a first task and a second task to the first storage device and the second storage device through the root complex based on a first packet format, respectively;
monitoring, with the at least one processor, a computational utilization rate of the first storage device and a computational utilization rate of the second storage device through the root complex;
when a difference between the computational utilization rate of the first storage device and the computational utilization rate of the second storage device is greater than a first threshold value, instructing, by the at least one processor, to balance the first storage device and the second storage device through the root complex based on a second packet format; and
performing, at the first storage device and the second storage device, a balancing through the root complex without passing through the at least one processor.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
inhibiting, by the at least one processor, the balancing between the first storage device and the second storage device, when a traffic utilization rate of the root complex is greater than a second threshold value and/or when a distance between the first storage device and the second storage device is greater than a third threshold value.
