IP Library Granted Patent US 8,725,687
Granted Patent B2
US 8,725,687 · App. 13/855,514 · Granted May 13, 2014

Systems and methods for byte-level or quasi byte-level single instancing

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,725,687
App. No.
13/855,514
Granted
May 13, 2014
Kind
B2
Abstract

Described in detail herein are systems and methods for deduplicating data using byte-level or quasi byte-level techniques. In some embodiments, a file is divided into multiple blocks. A block includes multiple bytes. Multiple rolling hashes of the file are generated. For each byte in the file, a searchable data structure is accessed to determine if the data structure already includes an entry matching a hash of a minimum sequence length. If so, this indicates that the corresponding bytes are already stored. If one or more bytes in the file are already stored, then the one or more bytes in the file are replaced with a reference to the already stored bytes. The systems and methods described herein may be used for file systems, databases, storing backup data, or any other use case where it may be useful to reduce the amount of data being stored.

Claims (39)

1. An apparatus for deduplicating data among one or more storage devices coupled via a network, wherein the network also couples to one or more computing systems, and wherein the one or more storage devices include a searchable data structure and a first set of data, the apparatus comprising:

a computing device having at least one processor and at least one memory,

wherein the computing device is configured to:

receive a second set of data;

divide the second set of data into at least one block,

wherein the block includes a total number of bytes;

access the searchable data structure;

determine whether one or more bytes of the block are included in a portion of the first set of data in the searchable data structure,

wherein the number of the one or more bytes is less than the total number of bytes of the block;

replace the one or more bytes with a reference to the portion of the second set of data if the one or more bytes of the block are included in the portion of the first set of data in the searchable data structure; and

cause the block to be stored using the one or more storage devices.

2. The apparatus of claim 1 wherein the computing device is further configured to generate powers of 2 rolling hashes for the second set of data.

3. The apparatus of claim 1 wherein the searchable data structure includes a hierarchical data structure that includes multiple nodes, and wherein a first node can reference data in any other node excepting nodes that are descendants of the first node.

4. The apparatus of claim 1 wherein the computing device is further configured to compress the second set of data.

5. At least one tangible computer-readable medium storing instructions, which when executed by at least one computing system, processes data, wherein the computing system includes at least one processor, and memory communicatively coupled to the at least one processor, comprising:

receiving a file, wherein the file includes multiple bytes;

accessing at least some of multiple blocks of data in a data structure:

wherein the multiple blocks of data have a first size,

wherein the multiple blocks of data represent a set of data having a second size that is greater than the first size,

wherein a block of data is associated with multiple first identifiers, and

wherein the multiple blocks of data are identified in the data structure by the associated multiple first identifiers;

based at least partly upon accessing of the data structure, determining, by the computing system, whether one or more of the multiple bytes are already stored,

wherein the number of the one or more bytes is less than a number of bytes in a block of data; and

causing bytes that are not already stored using a storage device to be stored.

6. The at least one tangible computer-readable medium of claim 5 , further comprising generating multiple second identifiers for the file, wherein the multiple second identifiers for the file include powers of 2 rolling hashes.

7. The at least one tangible computer-readable medium of claim 5 , further comprising generating multiple second identifiers for the file, wherein the multiple second identifiers include powers of 2 rolling hashes, and wherein determining whether the one or more of the multiple bytes are already stored includes comparing the multiple second identifiers for the file with the multiple first identifiers associated with the multiple blocks of data.

8. The at least one tangible computer-readable medium of claim 5 wherein the data structure includes a hierarchical data structure that includes multiple nodes, and wherein a first node can reference data in any other node excepting nodes that are descendants of the first node.

9. The at least one tangible computer-readable medium of claim 5 wherein at least some of the multiple blocks of data are compressed.

10. At least one tangible computer-readable medium carrying instructions for managing data by at least one data processor, comprising:

dividing a first set of data into at least one block, wherein the block includes a total number of bytes;

accessing a searchable data structure, wherein the searchable data structure includes a second set of data;

determining whether one or more bytes of the block are included in a portion of the second set of data in the searchable data structure,

wherein the number of the one or more bytes is less than the total number of bytes of the block;

replacing the one or more bytes with a reference to the portion of the second set of data,

wherein the replacing includes replacing the one or more bytes with a reference to the portion of the second set of data if the one or more bytes of the block are included in the portion of the second set of data in the searchable data structure; and

causing the block to be stored.

11. The at least one tangible computer-readable medium of claim 10 , further comprising generating powers of 2 rolling hashes.

12. The at least one tangible computer-readable medium of claim 10 , wherein the searchable data structure includes a hierarchical data structure that includes multiple nodes, and wherein a first node can reference data in any other node excepting nodes that are descendants of the first node.

13. The at least one tangible computer-readable medium of claim 10 , further comprising compressing data.

Assignments (5)
SUPPLEMENTAL CONFIRMATORY GRANT OF SECURITY INTEREST IN UNITED STATES PATENTS Recorded Apr 16, 2025
From: COMMVAULT SYSTEMS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 070864/0344 →
SECURITY INTEREST Recorded Dec 13, 2021
From: COMMVAULT SYSTEMS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 058496/0836 →
RELEASE OF SECURITY INTEREST Recorded Jan 6, 2021
From: BANK OF AMERICA, N.A.
To: COMMVAULT SYSTEMS, INC.
Reel/Frame 054913/0905 →
SECURITY INTEREST Recorded Jul 2, 2014
From: COMMVAULT SYSTEMS, INC.
To: BANK OF AMERICA, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 033266/0678 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 15, 2013
From: KLOSE, MICHAEL F.
To: COMMVAULT SYSTEMS, INC.
Reel/Frame 030800/0709 →