# US 2024/0193105 A1 · Computational storage device and method of operating the same

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

- Number: US 2024/0193105 A1
- Document ID: US20240193105A1
- Status: Published application
- Kind: A1
- Application number: 18/206,264
- Filed: 2023-06-06
- Published: 2024-06-13
- Earliest claimed: 2022-12-07
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jong Won LEE; Sang Oak WOO; Myung June JUNG; Jae Ho SHIN
- Web page: https://patentgrep.com/patent/US20240193105A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 13/1668: {Details of memory controller}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 13/1621: {by maintaining request order}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An operating method of a computational storage device includes: setting a first computing namespace, including a first queue and a first accelerator and having a first value as its first ID, per instructions from a first host; setting a second computing namespace, including a second queue and a second accelerator and having a second value as its first ID, per instructions from a second host; loading a first program from the first host in the first computing namespace; loading a second program from the second host in the second computing namespace; setting a second ID of the first computing namespace to a third value based on an ID of the first program per instructions to activate the first program; and setting the second ID of the second computing namespace to a fourth value based on an ID of the second program per instructions to activate the second program.

## Claims

### Claim 1

A method of operating a computational storage device, comprising:
setting, by a storage controller, a first computing namespace, which comprises a first queue and a first accelerator, and has a first value as a first identifier (ID) of the first computing namespace, in response to an instruction to set the first computing namespace received from a first host device;
setting, by the storage controller, a second computing namespace, which comprises a second queue and a second accelerator, and has a second value as its first ID, in response to an instruction to set the second computing namespace received from a second host device, the second value being the same as or different from the first value;
receiving, by the storage controller, a first program from the first host device and loading the first program in the first computing namespace;
receiving, by the storage controller, a second program from the second host device and loading the second program in the second computing namespace;
setting, by the storage controller, a second ID of the first computing namespace to a third value based on an ID of the first program in response to instruction to activate the first program received from the first host device; and
setting, by the storage controller, the second ID of the second computing namespace to a fourth value based on an ID of the second program in response to instruction to activate the second program received from the second host device, the fourth value being the same as or different from the third value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first value and the second value are different from each other based on the first accelerator and the second accelerator being different from each other, and
wherein the first value and the second value are the same based on the first accelerator and the second accelerator being the same.

### Claim 3 (depends on 1)

The method of claim 1, wherein the third value and the fourth value are different from each other based on the ID of the first program and the ID of the second program being different from each other; and
wherein the third value and the fourth value are the same based on the ID of the first program and the second program being the same.

### Claim 4 (depends on 3)

The method of claim 3, wherein each of the ID of the first program and the ID of the second program is one of a program unique ID (PUID) and a unique program ID (UPI).

### Claim 5 (depends on 1)

The method of claim 1, wherein the first accelerator and the second accelerator are different from each other,
wherein the first value and the second value are different from each other,
wherein the ID of the first program and the ID of the second program are the same, and
wherein the third value and the fourth value are the same.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
setting, by the storage controller, a third computing namespace, which comprises a third queue and the second accelerator, and has the second value as its first ID, in response to an instruction to set the third computing namespace received from a third host device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the storage controller, a first execute command from the first host device;
storing, by the storage controller, the first execute command in the first queue; and
selecting, by the storage controller, one of the first accelerator and the second accelerator based on the first IDs and the second IDs; and
computing, by the selected accelerator, stored data in accordance with the first execute command, using the first program.

### Claim 8 (depends on 7)

The method of claim 7, wherein the selecting, by the storage controller, one of the first accelerator and the second accelerator based on the first IDs and the second IDs, comprises:
selecting, by the storage controller, the first accelerator in response to the first accelerator not being busy;
selecting, by the storage controller, the second accelerator in response to the first accelerator being busy, and the first value and the second value being the same; and
selecting, by the storage controller, the second accelerator in response to the first accelerator being busy, the first value and the second value being different, and the third value and the fourth value being the same.

### Claim 9 (depends on 7)

The method of claim 7, wherein the first execute command is an execute command in accordance with a Non-Volatile Memory express (NVMe) standard.

### Claim 10

A method of operating a computational storage device, comprising:
receiving, by a storage controller, from a host device, an execute command giving an instruction to process a computation using a first computing namespace, which comprises a first queue and a first accelerator, and a first program;
storing, by the storage controller, the execute command in the first queue;
selecting, by the storage controller, the first accelerator in response to the first accelerator not being busy;
identifying, by the storage controller, a second accelerator of which a first identifier (ID) is mapped to a same value as the first ID of the first accelerator, from among a plurality of accelerators, in response to the first accelerator being busy;
selecting, by the storage controller, the second accelerator in response to the second accelerator not being busy;
selecting a third accelerator of which a second ID different from the first ID is mapped to the same value as the second ID of the first accelerator, from among the plurality of accelerators, in response to the second accelerator being busy; and
computing, by whichever of the first accelerator, the second accelerator, and the third accelerator is selected, data in accordance with the execute command, using the first program.

### Claim 11 (depends on 10)

The method of claim 10, wherein the second accelerator is mapped to the first queue.

### Claim 12 (depends on 10)

The method of claim 10, wherein the first program is activated in a computing namespace comprising the third accelerator.

### Claim 13 (depends on 10)

The method of claim 10, wherein the data is stored in a nonvolatile memory of the computational storage device.

### Claim 14 (depends on 10)

The method of claim 10, wherein the execute command is an execute command in accordance with the Non-Volatile Memory express (NVMe) standard.

### Claim 15

A computational storage device comprising:
a nonvolatile memory storing data;
a storage controller configured to control the nonvolatile memory; and
a plurality of accelerators configured to compute the data in accordance with an execute command received from a host device, using a program received from the host device,
wherein the storage controller is configured to:
map first identifiers (IDs) to the plurality of accelerators in response to an instruction to set a computing namespace received from the host device;
map second IDs to the plurality of accelerators in response to an instruction to activate a program received from the host device;
receive, from the host device, a first execute command to be processed using a first accelerator of which the first ID is set to a first value; and
select at least one of the plurality of accelerators to process a computation in accordance with the first execute command, based on the first IDs and the second IDs.

### Claim 16 (depends on 15)

The computational storage device of claim 15, wherein after the receipt of the instruction to activate the program from the host device, the storage controller is configured to map the second IDs to the plurality of accelerators based on an ID of the activated program.

### Claim 17 (depends on 16)

The computational storage device of claim 16, wherein the ID of the activated program is one of a program unique ID (PUID) and a unique program ID (UPI).

### Claim 18 (depends on 15)

The computational storage device of claim 15, wherein based on the first accelerator being busy, the storage controller is configured to select a second accelerator of which the first ID is set to the first value from the plurality of accelerators.

### Claim 19 (depends on 18)

The computational storage device of claim 18, wherein based on the first accelerator and the second accelerator being busy, the storage controller is configured to select a third accelerator of which the second ID is set to the same value as the second ID of the first accelerator from the plurality of accelerators.

### Claim 20 (depends on 15)

The computational storage device of claim 15, wherein the computing namespace comprises at least one queue, which is configured to store the execute command received from the host device, and at least one accelerator, which is configured to process a computation in accordance with the execute command received from the host device.

### Claim at position 21

21-23. (canceled)
