# US 2009/0276454 A1 · Performing de-duplication for at least one computer file in a computer system

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

- Number: US 2009/0276454 A1
- Document ID: US20090276454A1
- Status: Published application
- Kind: A1
- Application number: 12/113,136
- Filed: 2008-04-30
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: International Business Machines Corporation
- Inventors: Mark Andrew Smith
- Web page: https://patentgrep.com/patent/US20090276454A1

## CPC

- G06F 16/1756: {based on delta files}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a method and system of performing de-duplication for at least one computer file in a computer system. In an exemplary embodiment, the method and system include (1) tuning a rolling-hash algorithm for the de-duplication, (2) chunking the data in the file into chunks of data by using the tuned algorithm, (3) producing a content identifier for each of the chunks, and (4) processing the chunks that are unique, the content identifier for each of the chunks that are unique, and references to the chunks that are unique. In an exemplary embodiment, the computer system includes a de-duplication-enabled data store. In an exemplary embodiment, the computer system includes (a) a transferor computer system that is configured to transfer the file to a de-duplication-enabled computer system and (b) the de-duplication-enabled computer system.

## Claims

### Claim 1

A method of performing de-duplication for at least one computer file in a computer system, the method comprising:
tuning a rolling-hash algorithm for the de-duplication;
chunking the data in the file into chunks of data by using the tuned algorithm;
producing a content identifier for each of the chunks; and
processing the chunks that are unique, the content identifier for each of the chunks that are unique, and references to the chunks that are unique.

### Claim 2 (depends on 1)

The method of claim 1 wherein the tuning comprises tuning the algorithm based on the type of content in the file.

### Claim 3 (depends on 1)

The method of claim 1 wherein the tuning comprises tuning the algorithm based on the size of the file.

### Claim 4 (depends on 1)

The method of claim 1 wherein the tuning comprises tuning the algorithm based on the resource constraints of the system.

### Claim 5 (depends on 4)

The method of claim 4 wherein the tuning comprises tuning the algorithm based on the remaining space in a data store of the system.

### Claim 6 (depends on 4)

The method of claim 4 wherein the tuning comprises tuning the algorithm based on the bandwidth of a transmission medium of the system.

### Claim 7 (depends on 1)

The method of claim 1 wherein the tuning comprises tuning the algorithm based on file type usage in the system.

### Claim 8 (depends on 7)

The method of claim 7 wherein the tuning comprises, if the file type usage is produced, decreasing a chunk size that the algorithm will produce.

### Claim 9 (depends on 7)

The method of claim 7 wherein the tuning comprises, if the file type usage is consumed, increasing a chunk size that the algorithm will produce.

### Claim 10 (depends on 1)

The method of claim 1 wherein the tuning comprises adjusting a minimum chunk size that the algorithm will produce.

### Claim 11 (depends on 1)

The method of claim 1 wherein the tuning comprises adjusting an average expected chunk size that the algorithm will produce.

### Claim 12 (depends on 1)

The method of claim 1 wherein the tuning comprises adjusting a maximum chunk size that the algorithm will produce.

### Claim 13 (depends on 1)

The method of claim 1 wherein the tuning comprises adjusting an input window size upon which the algorithm will operate.

### Claim 14 (depends on 1)

The method of claim 1 wherein the producing comprises applying a collision-resistant hashing algorithm to each of the chunks.

### Claim 15 (depends on 14)

The method of claim 14 wherein the applying comprises applying SHA-1 to each of the chunks.

### Claim 16 (depends on 1)

The method of claim 1 wherein the processing comprises, if an index of the computer system does not include the content identifier:
identifying the chunk corresponding to the content identifier as being a unique chunk;
identifying the content identifier as a unique content identifier; and
adding the unique content identifier to the index.

### Claim 17 (depends on 1)

The method of claim 1 wherein the processing comprises, if an index of the computer system includes the content identifier:
identifying the chunk corresponding to the content identifier as being a duplicated chunk;
removing the duplicated chunk from the system; and
adding a reference to the identified chunk.

### Claim 18 (depends on 1)

The method of claim 1 wherein the processing comprises, if an index of the computer system does not include the content identifier:
identifying the chunk corresponding to the content identifier as being a unique chunk;
receiving the identified chunk;
identifying the content identifier as a unique content identifier; and
adding the unique content identifier to the index.

### Claim 19 (depends on 1)

The method of claim 1 wherein the processing comprises, if an index of the computer system includes the content identifier:
identifying the chunk corresponding to the content identifier as being a duplicated chunk; and
adding a reference to the identified chunk.

### Claim 20

A system of performing de-duplication for at least one computer file in a computer system, the system comprising:
a tuning module configured to tune a rolling-hash algorithm for the de-duplication;
a chunking module configured to chunk the data in the file into chunks of data by using the tuned algorithm;
a producing module configured to produce a content identifier for each of the chunks; and
a processing module configured to process the chunks that are unique, the content identifier for each of the chunks that are unique, and references to the chunks that are unique.

### Claim 21 (depends on 20)

The system of claim 20 wherein the tuning module comprises a tuning module configured to tune the algorithm based on the type of content in the file.

### Claim 22 (depends on 20)

The system of claim 20 wherein the tuning module comprises a tuning module configured to tune the algorithm based on the size of the file.

### Claim 23 (depends on 20)

The system of claim 20 wherein the tuning module comprises a tuning module configured to tune the algorithm based on the resource constraints of the system.

### Claim 24 (depends on 23)

The system of claim 23 wherein the tuning module comprises a tuning module configured to tune the algorithm based on the remaining space in a data store of the system.

### Claim 25 (depends on 23)

The system of claim 23 wherein the tuning module comprises a tuning module configured to tune the algorithm based on the bandwidth of a transmission medium of the system.

### Claim 26 (depends on 20)

The system of claim 20 wherein the tuning module comprises a tuning module configured to tune the algorithm based on file type usage in the system.

### Claim 27 (depends on 26)

The system of claim 26 wherein the tuning module comprises, if the file type usage is produced, a decreasing module configured to decrease a chunk size that the algorithm will produce.

### Claim 28 (depends on 26)

The system of claim 26 wherein the tuning module comprises, if the file type usage is consumed, an increasing module configured to increase a chunk size that the algorithm will produce.
