# US 2022/0284046 A1 · Application Programming Interface-based Writing of Data to a Directory of a File Structure Layer of a Data Storage System

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

- Number: US 2022/0284046 A1
- Document ID: US20220284046A1
- Status: Published application
- Kind: A1
- Application number: 17/825,658
- Filed: 2022-05-26
- Published: 2022-09-08
- Earliest claimed: 2011-09-02
- Assignees: Pure Storage, Inc.
- Applicants: Pure Storage, Inc.
- Inventors: Stefan Bernbo; Christian Melander; Roger Persson; Gustav Petersson
- Web page: https://patentgrep.com/patent/US20220284046A1

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 9/54: Interprogram communication
- G06F 16/182: Distributed file systems
- G06F 16/1834: {implemented based on peer-to-peer networks, e.g. gnutella (p2p communication protocols H04L67/104)}
- G06F 16/184: {implemented as replicated file system}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- H04L 41/0213: Standardised network management protocols, e.g. simple network management protocol [SNMP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An example method includes receiving a request to store a data item within a directory of a file structure layer for an unstructured storage layer of a data storage system; providing an identifier of a collection object representative of the directory and stored within the unstructured storage layer; sending to a plurality of storage nodes included in a cluster of the data storage system, a query as to which of the storage nodes are available to store the data item; receiving, in response to the query, replies from a subset of storage nodes that are included in the plurality of storage nodes and that are available to store the data item; selecting, based on the replies, a storage node from the subset of storage nodes; and transmitting the data item to the selected storage node for storage by the selected storage node within the unstructured storage layer.

## Claims

### Claim 1

A method comprising:
receiving, via a network, a request to store a data item within a directory of a file structure layer for an unstructured storage layer of a data storage system;
providing an identifier of a collection object representative of the directory and stored within the unstructured storage layer;
sending, via the network, to a plurality of storage nodes included in a cluster of the data storage system, a query as to which of the storage nodes are available to store the data item, wherein the nodes communicate with each other via the network to provide respective parts of the file structure layer;
receiving, via the network, in response to the query, replies from a subset of storage nodes that are included in the plurality of storage nodes and that are available to store the data item;
selecting, based on the replies, a storage node from the subset of storage nodes; and
transmitting, via the network, the data item to the selected storage node for storage by the selected storage node within the unstructured storage layer;
wherein one or more of the receiving of the request, the providing, the sending, the receiving of the replies, the selecting, or the transmitting are performed by invoking an application programming interface (API).

### Claim 2 (depends on 1)

The method of claim 1, wherein the replies from the subset of storage nodes comprise data that indicate at least one of free storage space on the subset of storage nodes, an age of hardware that the subset of storage nodes are running on, current CPU loads of the subset of storage nodes, and geographical positions of the subset of storage nodes.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the selecting of the storage node from the subset of storage nodes comprises selecting multiple storage nodes from the subset of storage nodes; and
the transmitting comprises transmitting the data item to the multiple storage nodes for storage by the multiple storage nodes within the unstructured storage layer.

### Claim 4 (depends on 1)

The method of claim 1, wherein the data item is a data file.

### Claim 5 (depends on 1)

The method of claim 1, wherein the data item is an additional collection object representative of a subdirectory within the directory of the file structure.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
accessing, in response to the storage of the data item by the selected storage node and based on the identifier, the collection object representative of the directory; and
updating the collection object to include a reference to the data item stored in the selected storage node.

### Claim 7 (depends on 1)

The method of claim 1, wherein the API is executed by a device configured to communicate with the data storage system by way of the network.

### Claim 8 (depends on 1)

The method of claim 1, wherein the API is executed by a storage node included in the data storage system.

### Claim 9 (depends on 1)

The method of claim 1, wherein the sending of the query comprises transmitting a multicast message to the plurality of storage nodes.

### Claim 10

A device comprising:
a storage device storing instructions; and
one or more processors that, when executing the instructions, perform a process comprising:
receiving, via a network, a request to store a data item within a directory of a file structure layer for an unstructured storage layer of a data storage system;
providing an identifier of a collection object representative of the directory and stored within the unstructured storage layer;
sending, via the network, to a plurality of storage nodes included in a cluster of the data storage system, a query as to which of the storage nodes are available to store the data item, wherein the nodes communicate with each other via the network to provide respective parts of the file structure layer;
receiving, via the network, in response to the query, replies from a subset of storage nodes that are included in the plurality of storage nodes and that are available to store the data item;
selecting, based on the replies, a storage node from the subset of storage nodes; and
transmitting, via the network, the data item to the selected storage node for storage by the selected storage node within the unstructured storage layer;
wherein one or more of the receiving of the request, the providing, the sending, the receiving of the replies, the selecting, or the transmitting are performed by invoking an application programming interface (API).

### Claim 11 (depends on 10)

The device of claim 10, wherein the device is implemented by a server configured to communicate with the data storage system by way of the network.

### Claim 12 (depends on 10)

The device of claim 10, wherein the device is implemented by a storage node within the data storage system.

### Claim 13 (depends on 10)

The device of claim 10, wherein the replies from the subset of storage nodes comprise data that indicate at least one of free storage space on the subset of storage nodes, an age of hardware that the subset of storage nodes are running on, current CPU loads of the subset of storage nodes, and geographical positions of the subset of storage nodes.

### Claim 14 (depends on 13)

The device of claim 13, wherein:
the selecting of the storage node from the subset of storage nodes comprises selecting multiple storage nodes from the subset of storage nodes; and
the transmitting comprises transmitting the data item to the multiple storage nodes for storage by the multiple storage nodes within the unstructured storage layer.

### Claim 15 (depends on 10)

The device of claim 10, wherein the data item is a data file.

### Claim 16 (depends on 10)

The device of claim 10, wherein the data item is an additional collection object representative of a subdirectory within the directory of the file structure.

### Claim 17 (depends on 10)

The device of claim 10, wherein the sending of the query comprises transmitting a multicast message to the plurality of storage nodes.

### Claim 18

A non-transitory computer-readable medium storing an application that, when executed, directs a device to perform a process comprising:
receiving, via a network, a request to store a data item within a directory of a file structure layer for an unstructured storage layer of a data storage system;
providing an identifier of a collection object representative of the directory and stored within the unstructured storage layer;
sending, via the network, to a plurality of storage nodes included in a cluster of the data storage system, a query as to which of the storage nodes are available to store the data item, wherein the nodes communicate with each other via the network to provide respective parts of the file structure layer;
receiving, via the network, in response to the query, replies from a subset of storage nodes that are included in the plurality of storage nodes and that are available to store the data item;
selecting, based on the replies, a storage node from the subset of storage nodes; and
transmitting, via the network, the data item to the selected storage node for storage by the selected storage node within the unstructured storage layer;
wherein one or more of the receiving of the request, the providing, the sending, the receiving of the replies, the selecting, or the transmitting are performed by invoking an application programming interface (API).

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the device is implemented by a server configured to communicate with the data storage system by way of the network.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the device is implemented by a storage node within the data storage system.
