# US 8,577,851 B2 · Content aligned block-based deduplication

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

- Number: US 8,577,851 B2
- Document ID: US8577851B2
- Status: Granted
- Kind: B2
- Application number: 12/982,086
- Filed: 2010-12-30
- Published: 2012-04-05
- Granted: 2013-11-05
- Earliest claimed: 2010-09-30
- Assignees: Commvault Systems, Inc.
- Applicants: Manoj Kumar Vijayan; Deepak Raghunath Attarde; Srikant Viswanathan
- Inventors: Manoj Kumar Vijayan; Deepak Raghunath Attarde; Srikant Viswanathan
- Web page: https://patentgrep.com/patent/US8577851B2

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0673: {Single storage device}
- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 16/9014: {hash tables}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A content alignment system according to certain embodiments aligns a sliding window at the beginning of a data segment. The content alignment system performs a block alignment function on the data within the sliding window. A deduplication block is established if the output of the block alignment function meets a predetermined criteria. At least part of a gap is established if the output of the block alignment function does not meet the predetermined criteria. The predetermined criteria is changed if a threshold number of outputs fail to meet the predetermined criteria.

## Claims

### Claim 1

A method for defining deduplication block alignments within a data segment, the method comprising:
iteratively performing a block alignment function on data within a sliding window in a data segment, and following each iterative performance of the block alignment function:
in response to determining that the output of the block alignment function performed on a current window of data satisfies a predetermined criteria:
establishing with one or more computer processors a deduplication data block having a predetermined block size; and
moving the sliding window relative to the data segment by an amount based on the predetermined block size before a next iterative performance of the block alignment function; and
in response to determining that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria:
moving the sliding window relative to the data segment by a predetermined incremental amount that is different from the predetermined block size before the next iterative performance of the block alignment function and without establishing a deduplication data block,
wherein gaps of data not belonging to any deduplication data block exist between at least some established deduplication data blocks following performance of the block alignment function across the data segment, and
wherein the size of the gaps of data is based at least on a number of successive outputs of the block alignment function that do not satisfy the predetermined criteria.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the established deduplication data blocks have the same predetermined block size.

### Claim 3 (depends on 1)

The method of claim 1, wherein the gaps of data comprise variable gap sizes.

### Claim 4 (depends on 1)

The method of claim 1, further comprising changing the predetermined criteria in response to determining, for a threshold number of consecutive iterations, that the output of the block alignment performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 5 (depends on 4)

The method of claim 4, wherein the predetermined criteria is whether the output of the block alignment function falls within a predetermined range, and changing the predetermined criteria comprises altering the predetermined range.

### Claim 6 (depends on 4)

The method of claim 4, wherein the changing the predetermined criteria comprises altering the block alignment function.

### Claim 7 (depends on 6)

The method of claim 6, wherein the block alignment function is a hash function and altering the block alignment function comprises using a different hash function.

### Claim 8 (depends on 4)

The method of claim 4, further comprising iteratively performing the block alignment function across at least a portion of the data segment again in response to changing the predetermined criteria.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
in response to determining for a threshold number of consecutive iterations that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria:
establishing a deduplication data block; and
moving the sliding window relative to the data segment by an incremental amount.

### Claim 10 (depends on 1)

The method of claim 1, wherein a size of the gaps of data correspond to a size of one or more incremental amounts.

### Claim 11

A deduplication system configured to define deduplication block alignments within a data segment, the system comprising:
a deduplication block alignment module executing in one or more processors and configured to iteratively perform a deduplication block alignment function on data within a sliding window in a data segment and which, for each iterative performance of the block alignment function, is configured to:
establish a deduplication block having a predetermined block size in response to determining that the output of the deduplication block alignment function performed on the data within the sliding window satisfies a predetermined criteria; and
define at least a portion of data having a predetermined incremental size that is different from the predetermined block size as not belonging to a deduplication block in response to determining that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria,
wherein the predetermined incremental size is determined prior to determining that the output of the block alignment function performed on the data within the sliding window does not satisy the predetermined criteria.

### Claim 12 (depends on 11)

The system of claim 11, wherein the block alignment module is further configured to:
move the sliding window relative to the data segment by an amount based on the predetermined block size in response to determining that the output of the block alignment function performed on the data within the sliding window satisfies the predetermined criteria; and
move the sliding window relative to the data segment by an incremental amount in response to determining that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 13 (depends on 12)

The system of claim 12, wherein the block alignment module is further configured to change the predetermined criteria in response to determining, for a threshold number of consecutive iterations, that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 14 (depends on 13)

The system of claim 13, wherein the block alignment module is further configured to perform the block alignment function across at least a portion of the data segment again in response to the criteria adjustment module changing the predetermined criteria.

### Claim 15 (depends on 13)

The method of claim 13, wherein the changing the predetermined criteria comprises altering the block alignment function.

### Claim 16 (depends on 11)

The system of claim 11, wherein the block alignment module is further configured to:
establish a deduplication data block in response to the block alignment module determining for a threshold number of consecutive iterations that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria; and
move the sliding window relative to the data segment by an incremental amount in response to the block alignment module determining for a threshold number of consecutive iterations that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria.

### Claim 17

A method for defining deduplication block alignments within a data segment, the method comprising:
iteratively performing a deduplication block alignment function on data within a sliding window in a data segment and, for each iterative performance of the deduplication block alignment function:
establishing with one or more computer processors a deduplication data block having a predetermined block size in response to determining that the output of the deduplication block alignment function performed on the data within the sliding window satisfies a predetermined criteria; and
defining at least a portion of a gap of data having a predetermined incremental size that is different from the predetermined block size as not belonging to a deduplication data block in response to determining that the output of the deduplication block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria, wherein the predetermined incremental size is determined prior to determining that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
moving the sliding window relative to the data segment by an amount that is based on the predetermined block size before performing the next iteration in response to determining that the output of the block alignment function performed on the data within the sliding window satisfies the predetermined criteria; and
moving the sliding window relative to the data segment by an incremental amount in response to determining that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 19 (depends on 18)

The method of claim 18, further comprising iteratively performing the block alignment function across at least a portion of the data segment again in response to changing the predetermined criteria.

### Claim 20 (depends on 17)

The method of claim 17, further comprising changing the predetermined criteria in response to determining, for a threshold number of consecutive iterations, that the output of the block alignment function performed on the data within the sliding window does not satisfy the predetermined criteria.

### Claim 21 (depends on 17)

The method of claim 17, further comprising:
in response to determining for a threshold number of consecutive iterations that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria:
establishing a deduplication data block; and
moving the sliding window relative to the data segment by an incremental amount.

### Claim 22

A deduplication system configured to define deduplication block alignments within a data segment, the system comprising:
a deduplication block alignment module executing in one or more processors and configured to iteratively perform a deduplication block alignment function on data within a sliding window in a data segment and which, for each iterative performance of the block alignment function, is configured to:
in response to a determination that the output of the block alignment function performed on a current window of data satisfies a predetermined criteria:
establish a deduplication block having a predetermined block size, and
move the sliding window relative to the data segment by an amount based on the predetermined block size before a next iterative performance of the block alignment function; and
in response to a determination that the output of the block alignment function performed on the current window of data does not satisfy the predetermined criteria:
move the sliding window relative to the data segment by a predetermined incremental amount that is different from the predetermined block size before the next iterative performance of the block alignment function and without establishing a deduplication data block,
wherein gaps of data not belonging to any deduplication data block exist between at least some established deduplication data blocks following performance of the block alignment function across the data segment, and
wherein the size of the gaps of data is based at least on a number of successive outputs of the block alignment function that do not satisfy the predetermined criteria.
