# US 2022/0292057 A1 · Storage device, storage client device, and control method

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

- Number: US 2022/0292057 A1
- Document ID: US20220292057A1
- Status: Published application
- Kind: A1
- Application number: 17/472,447
- Filed: 2021-09-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Yoshihiro OHBA
- Web page: https://patentgrep.com/patent/US20220292057A1

## CPC

- G06F 16/152: {using file content signatures, e.g. hash values}
- G06F 16/156: {Query results presentation}
- G06F 16/162: {Delete operations (erasing in storage systems G06F3/0652)}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a storage device includes a storage and a controller. The storage stores a first table and a second table. The first table includes a set of a key and a value. The second table includes a set of the key and a member set that is a group of members requesting the value to be stored in the first table in association with the key. When receiving a delete command that requests the value associated with the key to be deleted in the first table, the controller deletes the member issuing the delete command in the member set stored in the second table, and deletes an entry corresponding to the key in the first table and an entry corresponding to the key in the second table when number of members in the member set becomes zero.

## Claims

### Claim 1

A storage device comprising:
a storage; and
a controller configured to control input and output of the storage, wherein
the storage is configured to store a first table and a second table,
the first table includes a set of a search key and a value,
the second table includes a set of the search key and a member set that is a group of members issuing a set command to request the value to be stored in the first table in association with the search key, and
the controller is configured to:
when receiving the set command including a first search key and a first value in a parameter, and when the value stored in the entry of the first table corresponding to the first search key matches the first value, add the member issuing the set command to the member set stored in the entry of the second table corresponding to the first search key;
when receiving a get command that requests the value associated with a search key to be acquired from the first table wherein the search key is included as a second search key in a parameter, and when the member issuing the get command is included in the member set stored in the entry of the second table corresponding to the second search key, output the value stored in the entry of the first table corresponding to the second search key, from the first table; and
when receiving a delete command that requests the value associated with a search key to be deleted in the first table wherein the search key is included as a third search key in a parameter, delete the member issuing the delete command in the member set stored in the entry of the second table corresponding to the third search key, and delete the entry corresponding to the third search key in the first table and the entry corresponding to the third search key in the second table when number of members included in the member set becomes zero.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein when receiving the set command including the first search key and the first value in the parameter, and when the entry of the second table corresponding to the first search key does not exist, the controller is configured to generate the entry of the second table corresponding to the first search key, generate the entry of the first table storing the set of the first search key and the first value, and generate the entry of the second table storing a set of the first search key and the member set including the only member issuing the set command.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the storage is further configured to store a third table including a set of a member identifier of the member permitted to issue the set command, the get command, and the delete command, and the member information.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein:
the member information includes a public key of the member permitted to issue the set command, the get command, and the delete command, and a replay counter value;
the set command, the get command, and the delete command include a counter value and a digital signature in the parameter; and
when the entry of the third table matching the member identifier of the member issuing the set command, the get command, or the delete command exists, when the counter value is larger than or equal to the replay counter value stored in the entry of the third table matching the member identifier, and when the digital signature matches a digital signature calculated with a public key stored in the entry of the third table matching the member identifier with respect to a list of parameters except the digital signature of the set command, the get command, or the delete command, the controller is further configured to execute processes corresponding to the set command, the get command, and the delete command, and update the replay counter value stored in the entry of the third table matching the member identifier to a value obtained by adding 1 to the replay counter value.

### Claim 5 (depends on 1)

The storage device of claim 1, wherein:
the storage includes a primary storage and a secondary storage;
the first table includes a primary first table stored in the primary storage and a secondary first table stored in the secondary storage;
the second table stores a time at which the set command is last executed by any member included in the member set, at each entry; and
the controller is further configured to store in the primary first table an entry of the first table corresponding to the entry of the second table where a time larger than or equal to a value obtained by subtracting a certain value from a current value is stored, and store in the secondary first table an entry of the first table corresponding to the entry of the second table where a time smaller than a value obtained by subtracting a certain value from the current value is stored.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein when receiving the set command including the first search key and the first value in the parameter, and when the entry of the first table corresponding to the first search key is stored in the secondary first table, the controller is further configured to shift the entry of the first table corresponding to the first search key from the secondary first table to the primary first table.

### Claim 7 (depends on 1)

The storage device of claim 1, further comprising a network interface configured to access the storage via a network,
wherein the controller is provided in the network interface.

### Claim 8

A storage client device connected to an external storage via a network, the external storage storing a first table and a second table, the first table storing a set of a search key and a value, the second table storing a set of the search key and a member set that is a group of members issuing a set command to request the value to be stored in the first table in association with the search key, the storage client device comprising
a controller configured to execute a process relating to the external storage connected via the network and corresponding to the set command, a process corresponding to the get command to request the value associated with a search key to be acquired from the first table, and a process corresponding to the delete command to request the value associated with a search key to be deleted in the first table,
wherein the controller is configured to:
when receiving the set command including a first search key and a first value in a parameter, and when the value stored in the entry of the first table corresponding to the first search key matches the first value, add the member issuing the set command to the member set stored in the entry of the second table corresponding to the first search key;
when receiving the get command including a second search key in the parameter, and when the member issuing the get command is included in the member set stored in the entry of the second table corresponding to the second search key, output the value stored in the entry of the first table corresponding to the second search key, from the first table; and
when receiving the delete command including a third search key in the parameter, delete the member issuing the delete command in the member set stored in the entry of the second table corresponding to the third search key, and delete the entry corresponding to the third search key in the first table and the entry corresponding to the third search key in the second table when number of members included in the member set becomes zero.

### Claim 9 (depends on 8)

The storage client device of claim 8, wherein when receiving the set command including the first search key and the first value in the parameter, and when the entry of the second table corresponding to the first search key does not exist, the controller is configured to generate the entry of the second table corresponding to the first search key, generate the entry of the first table storing the set of the first search key and the first value, and generate the entry of the second table storing a set of the first search key and the member set including the only member issuing the set command.

### Claim 10 (depends on 8)

The storage client device of claim 8, wherein the controller comprises a distributed lock unit configured to execute exclusive control on issuing the set command, the get command, or the delete command between the controller and the controller of other storage client device.

### Claim 11

A control method of a storage device that stores a first table and a second table, the first table including a set of a search key and a value, the second table including a set of the search key and a member set that is a group of members issuing a set command to request the value to be stored in the first table in association with the search key, the control method comprising:
when receiving the set command including a first search key and a first value in a parameter, and when the value stored in the entry of the first table corresponding to the first search key matches the first value, adding the member issuing the set command to the member set stored in the entry of the second table corresponding to the first search key;
when receiving a get command that requests the value associated with a search key to be acquired from the first table wherein the search key is included as a second search key in a parameter, and when the member issuing the get command is included in the member set stored in the entry of the second table corresponding to the second search key, outputting the value stored in the entry of the first table corresponding to the second search key, from the first table; and
when receiving a delete command that requests the value associated with a search key to be deleted in the first table wherein the search key is included as a third search key in a parameter, deleting the member issuing the delete command in the member set stored in the entry of the second table corresponding to the third search key, and deleting the entry corresponding to the third search key in the first table and the entry corresponding to the third search key in the second table when number of members included in the member set becomes zero.

### Claim 12 (depends on 11)

The control method of claim 11, further comprising
when receiving the set command including the first search key and the first value in the parameter, and when the entry of the second table corresponding to the first search key does not exist, generating the entry of the second table corresponding to the first search key, generating the entry of the first table storing the set of the first search key and the first value, and generating the entry of the second table storing a set of the first search key and the member set including the only member issuing the set command.

### Claim 13 (depends on 12)

The control method of claim 12, wherein:
the storage device further stores a third table including a set of a member identifier of the member permitted to issue the set command, the get command, and the delete command, and the member information;
the member information includes a public key of the member permitted to issue the set command, the get command, and the delete command, and a replay counter value;
the set command, the get command, and the delete command include a counter value and a digital signature in the parameter; and
the control method further comprises:
when the entry of the third table matching the member identifier of the member issuing the set command, the get command, or the delete command exists, when the counter value is larger than or equal to the replay counter value stored in the entry of the third table matching the member identifier, and when the digital signature matches a digital signature calculated with a public key stored in the entry of the third table matching the member identifier with respect to a list of parameters except the digital signature of the set command, the get command, or the delete command more, executing processes corresponding to the set command, the get command, and the delete command, and updating the replay counter value stored in the entry of the third table matching the member identifier to a value obtained by adding 1 to the replay counter value.

### Claim 14 (depends on 11)

The control method of claim 11, wherein:
the storage device includes a primary storage and a secondary storage;
the first table includes a primary first table stored in the primary storage and a secondary first table stored in the secondary storage;
the second table stores a time at which the set command is last executed by any member included in the group of the members, at each entry; and
the control method further comprises storing in the primary first table an entry of the first table corresponding to the entry of the second table where a time larger than or equal to a value obtained by subtracting a certain value from a current value is stored, and storing in the secondary first table an entry of the first table corresponding to the entry of the second table where a time smaller than a value obtained by subtracting a certain value from the current value is stored.

### Claim 15 (depends on 14)

The control method of claim 14, further comprising
when receiving the set command including the first search key and the first value in the parameter, and when the entry of the first table corresponding to the first search key is stored in the secondary first table, shifting the entry of the first table corresponding to the first search key from the secondary first table to the primary first table.
