# US 10,956,601 B2 · Fully managed account level blob data encryption in a distributed storage environment

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

- Number: US 10,956,601 B2
- Document ID: US10956601B2
- Status: Granted
- Kind: B2
- Application number: 16/529,019
- Filed: 2019-08-01
- Published: 2019-11-21
- Granted: 2021-03-23
- Earliest claimed: 2017-06-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Rushi Srinivas Surla; Shane Kumar Mainali; Andrew Edwards; Maneesh Sah; Weiping Zhang
- Web page: https://patentgrep.com/patent/US10956601B2

## CPC

- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0623: {in relation to content}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 9/0836: {using tree structure or hierarchical structure}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 63/00: {Network architectures or network communication protocols for network security (cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00; network architectures or network communication protocols for wireless network security H04W12/00; security arrangements for protecting computers or computer systems against unauthorised activity G06F21/00)}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 67/5651: Reducing the amount or size of exchanged application data
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system receives a request to store data at a first layer of servers in a cluster, configured to authenticate and authorize the request. The system compresses the data upon authenticating and authorizing the request and encrypts the compressed data at the first layer of servers when encryption is enabled. The system sends the request and the encrypted data to a second layer of servers in the cluster, configured to store data structures used to manage data storage in a third layer of servers in the cluster, and to distribute the request and the encrypted data to the third layer of servers using the data structures. The system stores the encrypted data in the third layer of servers. Encrypting the data at the first layer of servers reduces latency associated with transferring the data between the first, second, and third layers of servers.

## Claims

### Claim 1

A system comprising:
a hardware processor; and
machine readable instructions, stored on a tangible machine readable device, when executed by the hardware processor, configure the hardware processor to:
receive a request to store data in a cluster in a cloud computing system, the request received at a first layer of servers in the cluster, the first layer of servers configured to authenticate and authorize the request;
compress the data at the first layer of servers upon authentication and authorization of the request;
encrypt the compressed data at the first layer of servers when encryption is enabled;
send the request and the encrypted data to a second layer of servers in the cluster, the second layer of servers configured to store data structures used to manage data storage in a third layer of servers in the cluster, and to distribute the request and the encrypted data to the third layer of servers using the data structures; and
store the encrypted data in the third layer of servers, wherein compressing the data and encrypting the compressed data at the first layer of servers reduces latency associated with bandwidth usage for performing data transfers between servers in the third layer of servers.

### Claim 2 (depends on 1)

The system of claim 1 wherein the machine readable instructions configure the hardware processor to:
allow dynamic enabling and disabling of the encryption; and
append the encrypted data to unencrypted data stored in the third layer of servers and append unencrypted data to the encrypted data stored in the third layer of servers depending on whether the encryption is enabled or disabled.

### Claim 3 (depends on 2)

The system of claim 2 wherein the machine readable instructions configure the hardware processor to track encryption status of data stored in the third layer of servers to indicate whether the data stored in the third layer of servers is unencrypted, encrypted, or partially encrypted due to the dynamic enabling and disabling of the encryption.

### Claim 4 (depends on 1)

The system of claim 1 wherein the machine readable instructions configure the hardware processor to:
compress, at the first layer of servers, metadata received with the data;
encrypt, at the first layer of servers, the compressed metadata received with the data when encryption is enabled; and
store the encrypted metadata in the third layer of servers.

### Claim 5 (depends on 1)

The system of claim 1 wherein the machine readable instructions configure the hardware processor to encrypt, when encryption is enabled, each block of data using a unique key so that consecutive encrypted blocks appear random.

### Claim 6 (depends on 5)

The system of claim 5 wherein the machine readable instructions configure the hardware processor to generate each unique key based on a unique seed randomly generated for each block and a first key assigned to an account to which the data belongs.

### Claim 7 (depends on 6)

The system of claim 6 wherein the machine readable instructions configure the hardware processor to store a seed used to encrypt a block in unencrypted form in a header associated with the encrypted block and to use the seed stored in the header associated with the encrypted block when decrypting the encrypted block.

### Claim 8 (depends on 6)

The system of claim 6 wherein the machine readable instructions configure the hardware processor to encrypt the first key using a second key associated with the cluster.

### Claim 9 (depends on 8)

The system of claim 8 wherein the machine readable instructions configure the hardware processor to rotate the second key.

### Claim 10 (depends on 1)

The system of claim 1 wherein the machine readable instructions configure the hardware processor to write, using the data structure, a record to a log for each received request to write data, and to reproduce, using the log, the request to write data when a server in the second layer of servers crashes.

### Claim 11 (depends on 1)

The system of claim 1 wherein the machine readable instructions configure the hardware processor to store the encrypted data in data units in the third layer of servers, and to selectively move content of a first data unit to a second data unit to make the first data unit available for storing new data.

### Claim 12

A method enacted on a cloud computing system comprising a hardware processor and storage device, the method comprising:
receiving, at a first layer of servers in a cluster in the cloud computing system, a request to store data and associated metadata in the cluster, the first layer of servers configured to authenticate and authorize the request;
compressing the data and the metadata at the first layer of servers upon authentication and authorization of the request;
encrypting the compressed data and metadata at the first layer of servers when encryption is enabled;
sending the request and the encrypted data and metadata to a second layer of servers in the cluster, the second layer of servers configured to store data structures used to manage data storage in a third layer of servers in the cluster;
distributing the request and the encrypted data and metadata to the third layer of servers using the data structures; and
storing the encrypted data and metadata in the third layer of servers, wherein compressing the data and metadata and encrypting the compressed data and metadata at the first layer of servers reduces latency associated with bandwidth usage for performing data transfers between servers in the third layer of servers.

### Claim 13 (depends on 12)

The method of claim 12 further comprising:
allowing dynamic enabling and disabling of the encryption;
appending the encrypted data and metadata to unencrypted data and metadata stored in the third layer of servers when the encryption is enabled; and
appending unencrypted data and metadata to the encrypted data and metadata stored in the third layer of servers when the encryption is disabled.

### Claim 14 (depends on 13)

The method of claim 13 further comprising:
tracking encryption status of data stored in the third layer of servers; and
indicating, based on the tracked status of the data, whether the data is unencrypted, encrypted, or partially encrypted due to the dynamic enabling and disabling of the encryption.

### Claim 15 (depends on 12)

The method of claim 12 further comprising:
generating, when encryption is enabled, a unique key to encrypt each block of data, each unique key being based on a unique seed randomly generated for each block of data and based on a first key assigned to an account to which the data belongs; and
encrypting each block of data using a respective key so that consecutive encrypted blocks appear random.

### Claim 16 (depends on 15)

The method of claim 15 further comprising:
storing a seed used to encrypt a block in unencrypted form in a header associated with the encrypted block; and
decrypting the encrypted block using the seed stored in the header associated with the encrypted block.

### Claim 17 (depends on 15)

The method of claim 15 further comprising:
encrypting the first key using a second key associated with the cluster; and
rotating the second key.

### Claim 18 (depends on 12)

The method of claim 12 further comprising:
writing, using the data structure, a record to a log for each received request to write data; and
reproducing, using the log, the request to write data when a server in the second layer of servers crashes.

### Claim 19 (depends on 12)

The method of claim 12 further comprising:
storing the encrypted data in data units in the third layer of servers; and
selectively moving content of a first data unit to a second data unit to make the first data unit available for storing new data.

### Claim 20

A system comprising:
a hardware processor; and
machine readable instructions, stored on a tangible machine readable device, when executed by the hardware processor, configure the hardware processor to:
receive a request to store data in a cluster in a cloud computing system, the request received at a first layer of servers in the cluster, the first layer of servers configured to authenticate and authorize the request;
compress the data at the first layer of servers upon authentication and authorization of the request;
encrypt, when encryption is enabled, each block of the compressed data at the first layer of servers using a unique key generated based on a unique seed randomly generated for each block of data and based on a first key assigned to an account to which the data belongs;
send the request and the encrypted data to a second layer of servers in the cluster, the second layer of servers configured to store data structures used to manage data storage in a third layer of servers in the cluster, and to distribute the request and the encrypted data to the third layer of servers using the data structures; and
store the encrypted data in the third layer of servers, wherein compressing the data and encrypting the compressed data at the first layer of servers reduces latency associated with bandwidth usage for performing data transfers between servers in the third layer of servers.
