# US 2021/0240372 A1 · Data storage scheme switching in a distributed 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 2021/0240372 A1
- Document ID: US20210240372A1
- Status: Published application
- Kind: A1
- Application number: 16/839,605
- Filed: 2020-04-03
- Published: 2021-08-05
- Earliest claimed: 2020-01-31
- Assignees: Dropbox, Inc.
- Applicants: Dropbox, Inc.
- Inventors: Michael Loh; Daniel R. Horn; Andraz Kavalar; David Lichtenberg; Austin Sung; Shi Feng; Jongmin Baek
- Web page: https://patentgrep.com/patent/US20210240372A1

## CPC

- G06F 3/0634: {by changing the state or mode of one or more devices}
- H03M 13/373: {with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes}
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0611: {in relation to response time}
- G06F 3/0649: {Lifecycle management}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- H03M 7/607: {Selection between different types of compressors}
- H03M 13/154: {Error and erasure correction, e.g. by using the error and erasure locator or Forney polynomial}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods for dynamic and automatic data storage scheme switching in a distributed data storage system. A machine learning-based policy for computing probable future content item access patterns based on historical content item access patterns is employed to dynamically and automatically switch the storage of content items (e.g., files, digital data, photos, text, audio, video, streaming content, cloud documents, etc.) between different data storage schemes. The different data storage schemes may have different data storage cost and different data access cost characteristics. For example, the different data storage schemes may encompass different types of data storage devices, different data compression schemes, and/or different data redundancy schemes.

## Claims

### Claim 1

A computing system comprising:
one or more processors;
instructions which, when executed by the one or more processors, cause the computing system to:
store, at an initial time, a content item according to a first data storage scheme;
use, at a first time, a first trained machine learning model to compute, based on a first set of one or more historical accesses to the content item between the initial time and the first time, a first probability that the content item will be accessed in the future;
maintain, based on the first probability, storage of the content item according to the first data storage scheme;
use, at a second time after the first time, a second trained machine learning model to compute, based on a second set of one or more historical accesses to the content item between, a second probability that the content item will be accessed in the future relative to a second reference time that is after the second set of one or more historical accesses have occurred;
switch, based on the second probability, the content item from being stored according to the first data storage scheme to being stored according to a second data storage scheme.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the second data storage scheme is a colder storage relative to the first data storage scheme.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the initial time corresponds to when a content management system takes a content management action on the content item.

### Claim 4 (depends on 1)

The computer system of claim 1, further comprising instructions which, when executed by one or more of the one or more processors, cause the computing system to:
collect a set of one or more access predictors for the content item;
generate a set of one or more feature values for the content item based on the set of one or more access predictors; and
use, at the first time, the first trained machine learning model to compute, based on the set of one or more feature values, the first probability.

### Claim 5 (depends on 4)

The computing system of claim 4, wherein the set of one or more access predictors for the content item include at least one or more of:
a content type of the content item,
access timing information for the first set of one or more historical accesses,
a size of the content item,
a filename of the content item,
a file path of the content item,
a number of the first set of one or more historical accesses by a particular user, or
a type of end-user computing device using a historical access of the first set of one or more historical accesses.

### Claim 6

A computer-implemented method comprising:
storing a first content item in a distributed data storage system according to a first data storage scheme;
using one or more trained machine learning models to compute, based on a first set of one or more historical accesses to the first content item in the distributed data storage system while the first content item is stored in the distributed data storage system according to the first data storage scheme, a first probability that the first content item will be accessed in the distributed data storage system during a first period of time; and
based on the first probability, storing the first content item in the distributed data storage system according to a second data storage scheme.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
the first data storage scheme has a first data storage cost, the first data storage cost associated with a storage of the first content item in the distributed data storage system according to the first data storage scheme;
the first data storage scheme has a first data access cost, the first data access cost associated with an access to the first content item in the distributed data storage system while the first content item is stored in the distributed data storage system according to the first data storage scheme;
the second data storage scheme has a second data storage cost, the second data storage cost associated with a storage of the first content item in the distributed data storage system according to the second data storage scheme;
the second data storage scheme has a second data access cost, the second data access cost associated with an access to the first content item in the distributed data storage system while the first content item is stored in the distributed data storage system according to the second data storage scheme;
the first data storage cost is different than the second data storage cost; and
the first data access cost is different than the second data access cost.

### Claim 8 (depends on 7)

The method of claim 7, wherein:
the first data storage cost is greater than the second data storage cost; and
the first data access cost is less than the second data access cost.

### Claim 9 (depends on 7)

The method of claim 7, wherein:
the first data storage cost is less than the second data storage cost; and
the first data access cost is greater than the second data access cost.

### Claim 10 (depends on 6)

The method of claim 6, further comprising:
using one or more machine learning models to compute, based on a second set one or more historical accesses to the first content item in the distributed data storage system while the first content item is stored in the distributed data storage system according to the second data storage scheme, a second probability that the first content item will be accessed in the distributed data storage system during a second period of time that is after the first period of time; and
based on the second probability, storing the first content item in the distributed data storage system according to the first data storage scheme.

### Claim 11 (depends on 6)

The method of claim 6, wherein:
the first content item stored in the distributed data storage system according to the first data storage scheme is a first compressed version of the first content item, the first compressed version of the first content item compressed according to a first data compression algorithm; and
the first content item stored the distributed data storage system according to the second data storage scheme is a second compressed version of the first content item, the second compressed version of the first content item compressed according to a second data compression algorithm.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the first compressed version of the first content item stored the distributed data storage system according to the first data storage scheme has a higher data storage cost than the second compression version of the first content item stored the distributed data storage system according to the second data storage scheme; and
the first compressed version of the first content item stored the distributed data storage system according to the first data storage scheme has a lower data access cost than the second compressed version of the first content item stored the distributed data storage system according to the second data storage scheme.

### Claim 13 (depends on 6)

The method of claim 6, wherein:
wherein the first content item stored the distributed data storage system according to the first data storage scheme is a first redundant version of the first content item made redundant according to a first data redundancy scheme; and
wherein the first content item stored the distributed data storage system according to the second data storage scheme is a second redundant version of the first content item made redundant according to a second data redundancy scheme.

### Claim 14 (depends on 13)

The method of claim 13, wherein:
the first redundant version of the first content item comprises a plurality of copies of the first content item stored in the distributed data storage system according to the first data redundancy scheme; and
the second redundant version of the first content item comprises an erasure-coding of the first content item stored in the distributed data storage system according to the second data redundancy scheme.

### Claim 15 (depends on 13)

The method of claim 13, wherein the second redundant version of the first content item stored in the distributed data storage system according to the second data redundancy scheme consumes less data storage space of the distributed data storage system than the first redundant version of the first content item stored in the distributed data storage system according to the first data redundancy scheme.

### Claim 16 (depends on 13)

The method of claim 13, wherein:
the first redundant version of the first content item stored according to the first data redundancy scheme comprises a content item block of which the first content item is composed stored in at least two different geographic regions of the distributed data storage system; and
the second redundant version of the first content item stored the distributed data storage system according to the second data redundancy scheme comprises a first fragment of the content item block stored in a first geographic region of the distributed data storage system, a second fragment of the content item block stored in a second geographic region of the distributed data storage system, and a parity fragment stored in a third geographic region of the distributed data storage system.

### Claim 17 (depends on 6)

The method of claim 6, wherein:
the first content item stored in the distributed data storage system according to the first data storage scheme is stored on one or more data storage devices of a first type of data storage device; and
the first content item stored in the distributed data storage system according to the second data storage scheme is stored on one or more data storage device of a second type of data storage device.

### Claim 18 (depends on 6)

The method of claim 6, wherein:
the first probability is a probability that the first content item stored in the distributed data storage system according to the first data storage scheme will be accessed during the first period of time only during off-peak time periods; and
the second data storage scheme is a colder storage relative to the first data storage scheme.

### Claim 19 (depends on 6)

The method of claim 6, further comprising:
before using one or more trained machine learning models to compute the first probability, using one or more trained machine learning models to compute, based on a second set of one or more historical accesses to the first content item in the distributed data storage system when stored according to the first data storage scheme, a second probability that the first content item stored according to the first data storage scheme will be accessed during a second period of time that is prior to the first period of time; and
based on the second probability, maintaining storage of the first content item according to the first data storage scheme.

### Claim 20

A non-transitory computer-readable media comprising instructions which, when executed by a computing system, causes the computing system to perform:
storing a plurality of content items in a distributed data storage system according to a first data storage scheme;
using one or more trained machine learning models to compute, for each content item of the plurality of content items, based on a respective set of one or more historical accesses to the content item in the distributed data storage system when stored according to the first data storage scheme, a respective probability that the content item stored according to the first data storage scheme will be accessed in the future; and
based on the respective probability computed for each content item of the plurality of content items, maintaining storage of the content item according to the first data storage scheme or switching the content item to a second data storage scheme.
