# US 10,956,375 B2 · Shuffling file digests stored in data stores of a distributed file system

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

- Number: US 10,956,375 B2
- Document ID: US10956375B2
- Status: Granted
- Kind: B2
- Application number: 16/033,603
- Filed: 2018-07-12
- Published: 2020-01-16
- Granted: 2021-03-23
- Earliest claimed: 2018-07-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Alan Barnett; Donagh A. Buckley
- Web page: https://patentgrep.com/patent/US10956375B2

## CPC

- G06F 16/182: Distributed file systems
- G06F 16/119: {Details of migration of file systems (migration mechanisms in storage systems G06F3/0647)}
- G06F 16/134: {Distributed indices}
- G06F 16/137: {Hash-based (content-based indexing of textual data G06F16/31)}
- G06F 16/185: Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof (details of archiving G06F16/11)
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes receiving, at a content provisioning system from one or more client devices, one or more requests for file digests stored in respective data stores of a plurality of data stores in a distributed file system. The file digests are distributed across different ones of the plurality of data stores in the distributed file system. The method also includes determining a location of a given one of the requested file digests in one or more of the plurality of data stores and retrieving the given file digest from the determined location. The method further includes shuffling the distribution of the file digests across the plurality of data stores in the distributed file system.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, at a content provisioning system from one or more client devices, one or more requests for file digests stored in respective data stores of a plurality of data stores in a distributed file system, the file digests being distributed across different ones of the plurality of data stores in the distributed file system, each file digest of the file digests being associated with a corresponding file stored in the distributed file system, wherein the file digests comprise hash values of respective files stored in the distributed file system, and wherein the hash values provide identifiers for locating the respective files stored in the distributed file system;
determining, by at least one processing device comprising a processor coupled to a memory, a physical storage location of a given file digest of the requested file digests in a first data store of the plurality of data stores;
retrieving, by the at least one processing device, the given file digest from the determined physical storage location in the first data store; and
shuffling, by the at least one processing device, the distribution of the file digests across the plurality of data stores in the distributed file system, wherein the shuffling the distribution of the file digests across the plurality of data stores comprises:
moving, by the at least one processing device, the given file digest from the determined physical storage location in the first data store to a new physical storage location in a second data store of the plurality of data stores and maintaining a given file associated with the given file digest in the given file's current physical storage location in the distributed file system; and
moving, by the at least one processing device, at least one additional file digest not associated with any of the one or more requests for file digests from a previous physical storage location in a third data store of the plurality of data stores to a new physical storage location on one of the first and second data stores and maintaining at least one additional file associated with the at least one additional file digest in the at least one additional file's current physical storage location in the distributed file system;
wherein the shuffling the distribution of the file digests across the plurality of data stores further comprises utilizing a set of swap operations that moves at least a subset of the file digests between two or more of a plurality of nodes in at least one of two or more levels of a tree structure comprising the plurality of nodes.

### Claim 2 (depends on 1)

The method of claim 1 wherein the hash values provide unique and uniformly-sized identifiers for locating files stored in the distributed file system.

### Claim 3 (depends on 1)

The method of claim 1 wherein the file digests are distributed across the plurality of data stores in the distributed file system by utilizing the tree structure, and wherein the file digests are stored in leaves of the tree structure.

### Claim 4 (depends on 3)

The method of claim 3 wherein the tree structure comprises a set of leaf nodes without links between the leaf nodes.

### Claim 5 (depends on 3)

The method of claim 3 wherein internal nodes and the leaves of the tree structure are distributed among the data stores in the distributed file system.

### Claim 6 (depends on 1)

The method of claim 1 wherein a given node of the tree structure comprises a logical identifier, the logical identifier comprising:
a first portion identifying a given one of the plurality of data stores;
a second portion identifying a level of the tree structure; and
a third portion indicating a physical storage location in the given data store.

### Claim 7 (depends on 1)

The method of claim 1 wherein shuffling the distribution of the file digests across the plurality of data stores is performed responsive to each request of the one or more requests received at the content provisioning system.

### Claim 8 (depends on 1)

The method of claim 1 wherein shuffling the distribution of the file digests across the plurality of data stores comprises re-distributing physical storage locations of at least a portion of the file digests pseudo-randomly across the plurality of data stores in the distributed file system.

### Claim 9 (depends on 1)

The method of claim 1 wherein the plurality of data stores are implemented on a plurality of cloud storage nodes.

### Claim 10 (depends on 1)

The method of claim 1 wherein the plurality of data stores provide a distributed hash table architecture.

### Claim 11 (depends on 1)

The method of claim 1 wherein the plurality of data stores comprises at least three data stores.

### Claim 12

A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device:
to receive, at a content provisioning system from one or more client devices, one or more requests for file digests stored in respective data stores of a plurality of data stores in a distributed file system, the file digests being distributed across different ones of the plurality of data stores in the distributed file system, each file digest of the file digests being associated with a corresponding file stored in the distributed file system, wherein the file digests comprise hash values of respective files stored in the distributed file system, and wherein the hash values provide identifiers for locating the respective files stored in the distributed file system;
to determine a physical storage location of a given file digest of the requested file digests in a first data store of the plurality of data stores;
to retrieve the given file digest from the determined physical storage location in the first data store; and
to shuffle the distribution of the file digests across the plurality of data stores in the distributed file system, wherein the shuffling the distribution of the file digests across the plurality of data stores comprises:
moving the given file digest from the determined physical storage location in the first data store to a new physical storage location in a second data store of the plurality of data stores and maintaining a given file associated with the given file digest in the given file's current physical storage location in the distributed file system; and
moving at least one additional file digest not associated with any of the one or more requests for file digests from a previous physical storage location in a third data store of the plurality of data stores to a new physical storage location on one of the first and second data stores and maintaining at least one additional file associated with the at least one additional file digest in the at least one additional file's current physical storage location in the distributed file system; and
wherein the shuffling the distribution of the file digests across the plurality of data stores further comprises utilizing a set of swap operations that moves at least a subset of the file digests between two or more of a plurality of nodes in at least one of two or more levels of a tree structure comprising the plurality of nodes.

### Claim 13 (depends on 12)

The computer program product of claim 12 wherein the hash values provide unique and uniformly-sized identifiers for locating files stored in the distributed file system.

### Claim 14 (depends on 12)

The computer program product of claim 12 wherein the file digests are distributed across the plurality of data stores in the distributed file system by utilizing the tree structure, and wherein the file digests are stored in leaves of the tree structure.

### Claim 15

An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
the at least one processing device being configured:
to receive, at a content provisioning system from one or more client devices, one or more requests for file digests stored in respective data stores of a plurality of data stores in a distributed file system, the file digests being distributed across different ones of the plurality of data stores in the distributed file system, each file digest of the file digests being associated with a corresponding file stored in the distributed file system, wherein the file digests comprise hash values of respective files stored in the distributed file system, and wherein the hash values provide identifiers for locating the respective files stored in the distributed file system;
to determine a physical storage location of a given file digest of the requested file digests in a first data store of the plurality of data stores;
to retrieve the given file digest from the determined physical storage location in the first data store; and
to shuffle the distribution of the file digests across the plurality of data stores in the distributed file system, wherein the shuffling the distribution of the file digests across the plurality of data stores comprises:
moving the given file digest from the determined physical storage location in the first data store to a new physical storage location in a second data store of the plurality of data stores and maintaining a given file associated with the given file digest in the given file's current physical storage location in the distributed file system; and
moving at least one additional file digest not associated with any of the one or more requests for file digests from a previous physical storage location in a third data store of the plurality of data stores to a new physical storage location on one of the first and second data stores and maintaining at least one additional file associated with the at least one additional file digest in the at least one additional file's current physical storage location in the distributed file system; and
wherein the shuffling the distribution of the file digests across the plurality of data stores further comprises utilizing a set of swap operations that moves at least a subset of the file digests between two or more of a plurality of nodes in at least one of two or more levels of a tree structure comprising the plurality of nodes.

### Claim 16 (depends on 15)

The apparatus of claim 15 wherein the hash values provide unique and uniformly-sized identifiers for locating files stored in the distributed file system.

### Claim 17 (depends on 15)

The apparatus of claim 15 wherein the file digests are distributed across the plurality of data stores in the distributed file system by utilizing the tree structure, and wherein the file digests are stored in leaves of the tree structure.

### Claim 18 (depends on 15)

The apparatus of claim 15 wherein a given node of the tree structure comprises a logical identifier, the logical identifier comprising:
a first portion identifying a given one of the plurality of data stores;
a second portion identifying a level of the tree structure; and
a third portion indicating a physical storage location in the given data store.

### Claim 19 (depends on 15)

The apparatus of claim 15 wherein shuffling the distribution of the file digests across the plurality of data stores is performed responsive to each request of the one or more requests received at the content provisioning system.

### Claim 20 (depends on 15)

The apparatus of claim 15 wherein shuffling the distribution of the file digests across the plurality of data stores comprises re-distributing physical storage locations of at least a portion of the file digests pseudo-randomly across the plurality of data stores in the distributed file system.
