Content-based segmentation scheme for data compression in storage and transmission including hierarchical segment representation
First Claim
1. A method for saving a file to a storage system comprising:
- receiving a file or a portion of a file;
compressing the file or portion thereof by;
at least partially segmenting the file or portion thereof into segments based on content of the file;
determining for each segment, whether the segment is a recurring segment;
responsive to determining that a respective segment is a recurring segment, replacing the segment with a corresponding reference;
responsive to determining that a respective segment is not a recurring segment, creating a reference for the segment and replacing the segment with the created reference; and
saving the file or portion thereof to the storage system.
21 Assignments
0 Petitions
Accused Products
Abstract
In a coding system, input data within a system is encoded. The input data might include sequences of symbols that repeat in the input data or occur in other input data encoded in the system. The encoding includes determining a target segment size, determining a window size, identifying a fingerprint within a window of symbols at an offset in the input data, determining whether the offset is to be designated as a cut point and segmenting the input data as indicated by the set of cut points. For each segment so identified, the encoder determines whether the segment is to be a referenced segment or an unreferenced segment, replacing the segment data of each referenced segment with a reference label and storing a reference binding in a persistent segment store for each referenced segment, if needed. Hierarchically, the process can be repeated by grouping references into groups, replacing the grouped references with a group label, storing a binding between the grouped references and group label, if one is not already present, and repeating the process. The number of levels of hierarchy can be fixed in advanced or it can be determined from the content encoded.
-
Citations
12 Claims
-
1. A method for saving a file to a storage system comprising:
-
receiving a file or a portion of a file; compressing the file or portion thereof by; at least partially segmenting the file or portion thereof into segments based on content of the file; determining for each segment, whether the segment is a recurring segment; responsive to determining that a respective segment is a recurring segment, replacing the segment with a corresponding reference; responsive to determining that a respective segment is not a recurring segment, creating a reference for the segment and replacing the segment with the created reference; and saving the file or portion thereof to the storage system.
-
-
2. A method for saving a file to a storage system comprising compressing a file by:
-
segmenting at least portions of the file into segments based on content of the file; determining for each segment, whether the segment is a recurring segment; responsive to determining that a respective segment is a recurring segment, replacing the segment with a corresponding reference; and responsive to determining that a respective segment is not a recurring segment, creating a reference for the segment and replacing the segment with the created reference; and
storing the compressed file in the storage system. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
Specification