# US 2021/0342334 A1 · Method, device, and computer program product for data management

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

- Number: US 2021/0342334 A1
- Document ID: US20210342334A1
- Status: Published application
- Kind: A1
- Application number: 16/874,301
- Filed: 2020-05-14
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Pengfei Wu; Zhenzhen Lin; Si Chen; Ruixue Zhang
- Web page: https://patentgrep.com/patent/US20210342334A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/152: {using file content signatures, e.g. hash values}
- G06F 16/1837: {Management specially adapted to peer-to-peer storage networks (topology management mechanisms of peer-to-peer networks H04L67/1042)}
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 67/108: {characterised by resources being split in blocks or fragments}
- 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

A method, a device, and a computer program product for data management are provided in embodiments of the present disclosure. A method for data management comprises: acquiring, from a storage system, a torrent file associated with downloading of a target file, the target file being stored in the storage system, and the torrent file comprising at least a plurality of data digests of a plurality of data blocks of the target file; generating metadata for the plurality of data blocks based on the torrent file, the metadata being in a format supported by a unified management system, and the unified management system being configured for data access across the storage system and at least one other storage system; and storing the metadata for data-block-level access to the plurality of data blocks through the unified management system.

## Claims

### Claim 1

A method for data management, comprising:
acquiring, from a storage system, a torrent file associated with downloading of a target file, the target file being stored in the storage system, and the torrent file comprising at least a plurality of data digests of a plurality of data blocks of the target file;
generating metadata for the plurality of data blocks based on the torrent file, the metadata being in a format supported by a unified management system, and the unified management system being configured for data access across the storage system and at least one other storage system; and
storing the metadata for data-block-level access to the plurality of data blocks through the unified management system.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the metadata comprises:
extracting the plurality of data digests from the torrent file;
determining a plurality of storage positions of the plurality of data blocks in the storage system at least based on the plurality of data digests; and
generating the second metadata to indicate mapping of the plurality of data digests to the plurality of storage positions.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the metadata further comprises:
creating a hierarchical structure based on the plurality of data digests, a plurality of leaf nodes of the hierarchical structure indicating the plurality of data digests respectively, and a parent node of the plurality of leaf nodes indicating an additional data digest generated based on at least two of the plurality of data digests.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of data digests comprise hash values of the plurality of data blocks, and wherein the hierarchical structure comprises a hash tree.

### Claim 5 (depends on 3)

The method of claim 3, wherein generating the metadata further comprises:
extracting file identification information of the target file from the torrent file; and
determining a root node of the hierarchical structure based on the file identification information to map a data digest indicated by the root node to a storage position of the file identification information.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first format comprises a BitTorrent (BT) format, and wherein acquiring the torrent file comprises:
initiating a request for the torrent file of the target file to the storage system through the unified management system.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
in response to an access request for a target data block in the plurality of data blocks, accessing the target data block from the storage system based on the metadata.

### Claim 8

An electronic device, comprising:
a processor; and
a memory coupled to the processor and having instructions stored therein, wherein when executed by the processor, the instructions cause the device to perform actions comprising:
acquiring, from a storage system, a torrent file associated with downloading of a target file, the target file being stored in the storage system, and the torrent file comprising at least a plurality of data digests of a plurality of data blocks of the target file;
generating metadata for the plurality of data blocks based on the torrent file, the metadata being in a format supported by a unified management system, and the unified management system being configured for data access across the storage system and at least one other storage system; and
storing the metadata for data-block-level access to the plurality of data blocks through the unified management system.

### Claim 9 (depends on 8)

The device of claim 8, wherein generating the metadata comprises:
extracting the plurality of data digests from the torrent file;
determining a plurality of storage positions of the plurality of data blocks in the storage system at least based on the plurality of data digests; and
generating the second metadata to indicate mapping of the plurality of data digests to the plurality of storage positions.

### Claim 10 (depends on 9)

The device of claim 9, wherein generating the metadata further comprises:
creating a hierarchical structure based on the plurality of data digests, a plurality of leaf nodes of the hierarchical structure indicating the plurality of data digests respectively, and a parent node of the plurality of leaf nodes indicating an additional data digest generated based on at least two of the plurality of data digests.

### Claim 11 (depends on 10)

The device of claim 10, wherein the plurality of data digests comprise hash values of the plurality of data blocks, and wherein the hierarchical structure comprises a hash tree.

### Claim 12 (depends on 10)

The device of claim 10, wherein generating the metadata further comprises:
extracting file identification information of the target file from the torrent file; and
determining a root node of the hierarchical structure based on the file identification information to map a data digest indicated by the root node to a storage position of the file identification information.

### Claim 13 (depends on 8)

The device of claim 8, wherein the first format comprises a BitTorrent (BT) format, and wherein acquiring the torrent file comprises:
initiating a request for the torrent file of the target file to the storage system through the unified management system.

### Claim 14 (depends on 8)

The device of claim 8, wherein the actions further comprise:
in response to an access request for a target data block in the plurality of data blocks, accessing the target data block from the storage system based on the metadata.

### Claim 15

A computer program product, tangibly stored in a computer-readable medium and comprising computer-executable instructions, wherein when executed, the computer-executable instructions cause a device to:
acquire, from a storage system, a torrent file associated with downloading of a target file, the target file being stored in the storage system, and the torrent file comprising at least a plurality of data digests of a plurality of data blocks of the target file;
generate metadata for the plurality of data blocks based on the torrent file, the metadata being in a format supported by a unified management system, and the unified management system being configured for data access across the storage system and at least one other storage system; and
store the metadata for data-block-level access to the plurality of data blocks through the unified management system.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein generating the metadata comprises:
extracting the plurality of data digests from the torrent file;
determining a plurality of storage positions of the plurality of data blocks in the storage system at least based on the plurality of data digests; and
generating the second metadata to indicate mapping of the plurality of data digests to the plurality of storage positions.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein generating the metadata further comprises:
creating a hierarchical structure based on the plurality of data digests, a plurality of leaf nodes of the hierarchical structure indicating the plurality of data digests respectively, and a parent node of the plurality of leaf nodes indicating an additional data digest generated based on at least two of the plurality of data digests.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the plurality of data digests comprise hash values of the plurality of data blocks, and wherein the hierarchical structure comprises a hash tree.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein generating the metadata further comprises:
extracting file identification information of the target file from the torrent file; and
determining a root node of the hierarchical structure based on the file identification information to map a data digest indicated by the root node to a storage position of the file identification information.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the actions further comprise:
in response to an access request for a target data block in the plurality of data blocks, accessing the target data block from the storage system based on the metadata.
