Segment data duplication storage system store data in a space efficient manner by only storing a newly received segment in the event that an identical segment to the newly received segment has not been previously stored. However, some user of storage systems would like the ability to encrypt data prior to storing in order to ensure security. Encryption, however, typically does not allow an identical segment to be identified and thereby eliminating the efficiency of the deduplication system. Also, some deduplication systems would like to use a compression for the data that is requested to be stored. However, compression typically does not allow an identical segment to be identified and thereby eliminating the efficiency of the deduplication system.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
A segment deduplication system with compression of segments is disclosed. The system comprises a processor and a memory. The processor is configured to receive and compress segments and determine whether a compressed segment has been previously stored. The compressed segment is determined by breaking a data stream, a data block, or a data file into one or more segments and compressing each of the one or more segments. In the event that the compressed segment has not been previously stored, the compressed segment is stored.
A system for reading compressed data is disclosed. The system comprises a deduplicated storage device and a processor. The processor is configured to retrieve one or more compressed segments from the deduplicated storage device. The one or more compressed segments were determined by breaking a data stream, a data block, or a data file into one or more segments and compressing each of the one or more segments. The processor is further configured to decompress the segments and assemble the segments to reconstruct the data stream, the data block, or the data file.
In some embodiments, a segment deduplication system with encryption of segments is disclosed. The system comprises a processor and a memory. The processor is configured to receive and encrypted segment and determine whether the encrypted segment has been previously stored. The encrypted segment is determined by breaking a data stream, a data block, or a data file into one or more segments and encrypting each of the one or more segments. In the event that the encrypted segment has not been previously stored, the encrypted segment is stored.
In some embodiments, a system for reading encrypted data is disclosed. The system comprises a deduplicated storage device and a processor. The processor is configured to retrieve one or more encrypted segments from the deduplicated storage device. The one or more encrypted segments were determined by breaking a data stream, a data block, or a data file into one or more segments and encrypting each of the one or more segments. The processor is further configured to decrypt the segments and assemble the segments to reconstruct the data stream, the data block, or the data file.
In some embodiments, a system for storing encrypted and compressed data is disclosed. The system comprises a processor configured to determine whether an encrypted compressed segment has been previously stored. The encrypted compressed segment was determined by breaking a data stream, a data block, or a data file into one or more segments and compressing and then encrypting each of the one or more segments. In the event that the encrypted compressed segment has not been previously stored, the encrypted compressed segment is stored.
In some embodiments, a system for reading encrypted compressed data. The system comprises a deduplicated storage device and a processor. The processor is configured to decrypt one or more encrypted compressed segments stored in the deduplicated storage device. The one or more encrypted compressed segments were determined by breaking a data stream, a data block, or a data file into one or more segments and compressing and then encrypting each of the one or more segments. The processor is further configured to decompress the one or more decrypted compressed segments and assemble the one or more decrypted decompressed segments to reconstruct the data stream, the data block, or the data file.
In some embodiments, encryption of segment(s) provides security for data content of the segment(s) during transmission between systems and during storage while still providing efficient deduplication storage of segment(s). In some embodiments, compression of segment(s) provides bandwidth savings during transmission between systems and storage space savings during storage while still providing efficient deduplication storage of segment(s).
Storage user system 110 breaks a file, a data stream, or a data block into segment(s) (e.g., boundaries are identified for one or more segments—for example, a hash function operates on a portion of the content of the file; when the hash function is equal to a value, is a minimum value, is a maximum value, is between a minimum and maximum length, and/or is an extrema value within a window of the file, etc. a segment boundary is determined). Segment boundaries are determined such that two similar files, data streams, or data blocks have the goal of having the same segments for identical portions of the files, data streams, or data blocks, and different segments for the non-identical portions of the files, data streams, or data blocks. In various embodiments, the segment determination is based on the content of the data (e.g., using value(s) calculated based on data content), not based on the content (e.g., byte count, file criteria, etc.), or a combination of content based criteria and non-content based criteria. In various embodiments, storage user system 110 encrypts and/or compresses the segments. Storage user system 110 sends the segment(s) (e.g., compressed segments, encrypted segments, compressed encrypted segments, etc.) to be stored by storage system 100 via network 108. In various embodiments, information regarding how to reconstruct the file, the data stream, or the data block is also sent from storage user system 110 to storage system 100 and/or is stored by storage user system 110, or any other appropriate action for the information.
Storage system 100 receives the segment using system interface 102. Segment storage engine 104 stores the segments in a storage unit (e.g., storage unit 112, storage unit 114, storage unit 116, or storage unit 118). In various embodiments, a storage unit comprises a storage device, multiple storage devices, a portion of a storage device, a hard drive, an array of drives, a semiconductor memory, or any other appropriate storage unit. Segment storage engine 104 only stores a segment in a storage unit if the segment has not been previously stored in the storage unit. In some embodiments, an identifier (e.g., a digital fingerprint, Secure Hash Algorithm hash value, a Rabin hash, etc.) is used for determining whether a segment has been previously stored by seeing if an identical identifier already exists in an index of stored segments for storage system 100. In various embodiments, the identifier for a given segment is determined using storage system 100, using storage user system 110, or any other appropriate system. In some embodiments, an identifier is sent along with an associated segment from storage user system 110 to storage system 100.
Storage user system 110 requests one or more segments that is/are stored on storage system 100 via network 108. Storage system 100 receives the request using system interface 102. Segment storage engine 104 finds the segments used to store a file, data stream, or data block in the appropriate storage unit(s). The one or more segments are sent to storage user system 110 via network 108. Storage user system 110 uses the one or more segments to reconstruct a file, data stream, or data block. In various embodiments, the segment(s) are decrypted and/or decompressed or any other appropriate processing in order to reconstruct the desired file, data stream, or data block.
In various embodiments, encryption, decryption, compression, and/or decompression systems used are any appropriate systems that are compatible with a data segment deduplication system—for example, a system where a given encrypted and/or compressed segment can be used to identify whether an identical segment that has also been similarly encrypted and/or compressed has been previously stored.
In various embodiments, hardware and/or software components or accelerators or one or more processors are used for compression, decompression, encryption, and/or decryption, or any other appropriate combination of hardware and/or software.
In some embodiments, storage user system 110 is one of a plurality of storage user systems and each of the plurality can use different or similar compression/decompression and/or encryption systems, and/or different keys for similar encryption systems.
Interface 202 receives a request to retrieve segment(s). Interface 202 communicates with index 210 to locate appropriate segments stored in storage units via storage unit interface 212. Appropriate segment(s) is/are provided via interface 202 in response to the request. In some embodiments, metadata information is stored associated with a segment—for example, segment identifier, source system, session information, user information, host information, key information, encryption type, compression information, compression type, format information, pad information, associated file, data stream, or data block, etc.
The file, data stream, or data block is processed by data segmenter/data reassembler 310. Data segmenter/data reassembler 310 breaks the file, data stream, or data block into segments. In various embodiments, the file, data stream, or data block is broken into segments by identifying segment boundaries using a content-based technique (e.g., a function is calculated at various locations of a data item, when the function is equal to a value or when the value is a minimum, a maximum, or other extrema value relative to other function values calculated for the data item), a non-content-based technique (e.g., based on data item property—for example, byte length, title, creation date), or any other appropriate technique. In various embodiments, a segment is restricted to a minimum and/or maximum length, to a minimum or maximum number of segments per data item, or any other appropriate limitation. Data segmenter/data reassembler 310 further processes information to indicate the segment(s) mapping to the file, data stream, or data block so that the file, data stream, or data block can be reconstructed from the segment(s). In some embodiments, a list of fingerprints is used to indicate a mapping of segment(s) that are associated with a file, data stream, or data block. Mapping information is stored using mapping storage 316.
Segment encrypter/segment decrypter 312 encrypts the segment(s). The encryption and decryption system is compatible with being able to store the segment(s) using a deduplication system—for example, there is a one to one correspondence between a given segment and the encrypted version of the given segment so that it can be identified by using the encrypted version of the given segment whether the given segment in its encrypted form has been previously stored. Note that this somewhat degrades the strength of possible encryption systems that can be used, however the overall system performance of having an encrypted deduplication system outweighs for some applications the selection of encryption system with the required properties. In various embodiments, encryption system and/or decryption system comprise(s) a stream cipher (e.g., Rivest Cipher 4 (RC4), Rivest Cipher 5 (RC5), etc.), a cipher feedback system, electronic code book system, advanced encryption standard (AES), data encryption standard (DES), or any other appropriate system. In some embodiments, a fixed block cipher system is used by padding a segment to a fixed block size before encrypting or depadding after decrypting.
The encrypted segment is transferred to a system coupled to storage user system 300 via interface 314 and network 320.
User 324 is able to request via user interface 322 that a file, data stream, or data block is to be retrieved. Information stored in mapping storage 316 is used by data segmenter/data reassembler 310 to determine which encrypted segment(s) to request to be retrieved from a deduplicating segment storage system (e.g., storage system 100 of
In some embodiments, a check is performed before transferring the encrypted segment to determine whether the encrypted segment has been previously stored and transfer of the full segment is only performed in the event that the encrypted segment has not been previously stored.
In the event that the segment has been previously stored, in 410 a reference is stored to the previously stored encrypted segment, if appropriate. For example, a reference is stored in the event that the reference is useful in being able to retrieve the encrypted segment with respect to retrieving the data stream(s), data block(s), or file(s) associated with the segment that has been encrypted and is determined to be identical to a previously stored encrypted segment. In some embodiments, the reference is stored in an index that associates a mapping between data stream(s), data block(s), or file(s) and the segment(s) determined from the data stream(s), data block(s), or file(s). In some embodiments, a reference or indication is transferred to a user storage system.
In the event that the segment has not been previously stored, in 412 the selected encrypted segment is stored. An index entry is stored indicating the location at which the selected encrypted segment is stored. In various embodiments, the index entry comprises digital fingerprint, a SHA-1 hash, Rabin Hash or any other appropriate identifier that is used to identify whether an identical segment has been previously stored. In some embodiments, the index entry is transferred to a user storage system.
In 414, it is determined whether the all encrypted segments have been processed. In the event that all the encrypted segments have not all been processed, control passes to 406. In the event that all the encrypted segments have all been processed, the process ends.
The file, data stream, or data block is processed by data segmenter/data reassembler 610. Data segmenter/data reassembler 610 breaks the file, data stream, or data block into segments. In various embodiments, the file, data stream, or data block is broken into segments by identifying segment boundaries using a content-based technique (e.g., a function is calculated at various locations of a data item, when the function is equal to a value or when the value is a minimum, a maximum, or other extrema value relative to other function values calculated for the data item), a non-content-based technique (e.g., based on data item property—for example, byte length, title, creation date), or any other appropriate technique. In various embodiments, a segment is restricted to a minimum and/or maximum length, to a minimum or maximum number of segments per data item, or any other appropriate limitation. Data segmenter/data reassembler 610 further processes information to indicate the segment(s) mapping to the file, data stream, or data block so that the file, data stream, or data block can be reconstructed from the segment(s). In some embodiments, a list of fingerprints is used to indicate a mapping of segment(s) that are associated with a file, data stream, or data block. Mapping information is stored using mapping storage 616.
Segment compress/segment decompress 612 compresses the segment(s). The compression and decompression system is compatible with being able to store the segment(s) using a deduplication system—for example, there is a one to one correspondence between a given segment and the compressed version of the given segment so that it can be identified by using the compressed version of the given segment whether the given segment in its compressed form has been previously stored. In various embodiments, compression system and/or decompression system comprise(s) a lossless compression/decompression system, a Huffman coding system, a Lempel-Ziv Welch coding system, or any other appropriate system.
The compressed segment is transferred to a system coupled to storage user system 600 via interface 614 and network 620.
User 624 is able to request via user interface 622 that a file, data stream, or data block is to be retrieved. Information stored in mapping storage 616 is used by data segmenter/data reassembler 610 to determine which compressed segment(s) to request to be retrieved from a deduplicating segment storage system (e.g., storage system 100 of
In some embodiments, a check is performed before transferring the compressed segment to determine whether the compressed segment has been previously stored and transfer of the full segment is only performed in the event that the compressed segment has not been previously stored.
In the event that the segment has been previously stored, in 710 a reference is stored to the previously stored compressed segment, if appropriate. For example, a reference is stored in the event that the reference is useful in being able to retrieve the compressed segment with respect to retrieving the data stream(s), data block(s), or file(s) associated with the segment that has been compressed and is determined to be identical to a previously stored compressed segment. In some embodiments, the reference is stored in an index that associates a mapping between data stream(s), data block(s), or file(s) and the segment(s) determined from the data stream(s), data block(s), or file(s). In some embodiments, a reference or indication is transferred to a user storage system.
In the event that the segment has not been previously stored, in 712 the selected compressed segment is stored. An index entry is stored indicating the location at which the selected compressed segment is stored. In various embodiments, the index entry comprises digital fingerprint, a SHA-1 hash, Rabin Hash or any other appropriate identifier that is used to identify whether an identical segment has been previously stored. In some embodiments, the index entry is transferred to a user storage system.
In 714, it is determined whether the all compressed segments have been processed. In the event that all the compressed segments have not all been processed, control passes to 706. In the event that all the compressed segments have all been processed, the process ends.
The file, data stream, or data block is processed by data segmenter/data reassembler 910. Data segmenter/data reassembler 910 breaks the file, data stream, or data block into segments. In various embodiments, the file, data stream, or data block is broken into segments by identifying segment boundaries using a content-based technique (e.g., a function is calculated at various locations of a data item, when the function is equal to a value or when the value is a minimum, a maximum, or other extrema value relative to other function values calculated for the data item), a non-content-based technique (e.g., based on data item property—for example, byte length, title, creation date), or any other appropriate technique. In various embodiments, a segment is restricted to a minimum and/or maximum length, to a minimum or maximum number of segments per data item, or any other appropriate limitation. Data segmenter/data reassembler 910 further processes information to indicate the segment(s) mapping to the file, data stream, or data block so that the file, data stream, or data block can be reconstructed from the segment(s). In some embodiments, a list of fingerprints is used to indicate a mapping of segment(s) that are associated with a file, data stream, or data block. Mapping information is stored using mapping storage 916.
Segment compress/segment decompress 912 compresses the segment(s). The compression and decompression system is compatible with being able to store the segment(s) using a deduplication system—for example, there is a one to one correspondence between a given segment and the compressed version of the given segment so that it can be identified by using the compressed version of the given segment whether the given segment in its compressed form has been previously stored. In various embodiments, compression system and/or decompression system comprise(s) a lossless compression/decompression system, a Huffman coding system, a Lempel-Ziv Welch coding system, or any other appropriate system.
Segment encrypter/segment decrypter 912 encrypts the compressed segment(s). The encryption and decryption system is compatible with being able to store the compressed segment(s) using a deduplication system—for example, there is a one to one correspondence between a given compressed segment and the encrypted version of the given compressed segment so that it can be identified by using the encrypted version of the given compressed segment whether the given compressed segment in its encrypted form has been previously stored. Note that this somewhat degrades the strength of possible encryption systems that can be used, however the overall system performance of having an encrypted deduplication system outweighs for some applications the selection of encryption system with the required properties. In various embodiments, encryption system and/or decryption system comprise(s) a stream cipher (e.g., Rivest Cipher 4 (RC4), Rivest Cipher 5 (RC5), etc.), a cipher feedback system, electronic code book, advanced encryption standard (AES), data encryption standard (DES), or any other appropriate system. In some embodiments, a fixed block cipher system is used by padding a segment to a fixed block size before encrypting or depadding after decrypting.
The encrypted compressed segment is transferred to a system coupled to storage user system 900 via interface 922 and network 924.
User 928 is able to request via user interface 926 that a file, data stream, or data block is to be retrieved. Information stored in mapping storage 916 is used by data segmenter/data reassembler 910 to determine which encrypted compressed segment(s) to request to be retrieved from a deduplicating segment storage system (e.g., storage system 100 of
In some embodiments, a check is performed before transferring the compressed encrypted segment to determine whether the encrypted segment has been previously stored and transfer of the full segment is only performed in the event that the compressed encrypted segment has not been previously stored.
In the event that the segment has been previously stored, in 1010 a reference is stored to the previously stored compressed encrypted segment, if appropriate. For example, a reference is stored in the event that the reference is useful in being able to retrieve the compressed encrypted segment with respect to retrieving the data stream(s), data block(s), or file(s) associated with the segment that has been compressed and encrypted and is determined to be identical to a previously stored compressed encrypted segment. In some embodiments, the reference is stored in an index that associates a mapping between data stream(s), data block(s), or file(s) and the segment(s) determined from the data stream(s), data block(s), or file(s). In some embodiments, a reference or indication is transferred to a user storage system.
In the event that the segment has not been previously stored, in 1012 the selected compressed encrypted segment is stored. An index entry is stored indicating the location at which the selected compressed encrypted segment is stored. In various embodiments, the index entry comprises digital fingerprint, a SHA-1 hash, Rabin Hash or any other appropriate identifier that is used to identify whether an identical segment has been previously stored. In some embodiments, the index entry is transferred to a user storage system.
In 1014, it is determined whether the all compressed encrypted segments have been processed. In the event that all the compressed encrypted segments have not all been processed, control passes to 1006. In the event that all the compressed encrypted segments have all been processed, the process ends.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
Number | Name | Date | Kind |
---|---|---|---|
5450562 | Rosenberg et al. | Sep 1995 | A |
6000009 | Brady | Dec 1999 | A |
6032197 | Birdwell et al. | Feb 2000 | A |
6041396 | Widigen | Mar 2000 | A |
6061475 | Blair | May 2000 | A |
6577254 | Rasmussen | Jun 2003 | B2 |
6658423 | Pugh et al. | Dec 2003 | B1 |
6667700 | McCanne et al. | Dec 2003 | B1 |
6847685 | Fujiwara et al. | Jan 2005 | B1 |
6925527 | Okada et al. | Aug 2005 | B2 |
6928526 | Zhu et al. | Aug 2005 | B1 |
7079053 | Kolavi | Jul 2006 | B2 |
7082162 | Prakash et al. | Jul 2006 | B2 |
7143251 | Patterson | Nov 2006 | B1 |
7320008 | Colgrove | Jan 2008 | B1 |
7549058 | Wang et al. | Jun 2009 | B1 |
7567188 | Anglin et al. | Jul 2009 | B1 |
7584338 | Bricker et al. | Sep 2009 | B1 |
7734578 | Prahlad et al. | Jun 2010 | B2 |
7769971 | Cremelie et al. | Aug 2010 | B2 |
7797323 | Eshghi et al. | Sep 2010 | B1 |
7840537 | Gokhale et al. | Nov 2010 | B2 |
7921077 | Ting et al. | Apr 2011 | B2 |
7995759 | Tolfmans | Aug 2011 | B1 |
8019788 | Carter et al. | Sep 2011 | B1 |
8041641 | Panchbudhe et al. | Oct 2011 | B1 |
8041907 | Wu et al. | Oct 2011 | B1 |
8204862 | Paulzagade et al. | Jun 2012 | B1 |
8250043 | Yasa et al. | Aug 2012 | B2 |
8266430 | Lumb | Sep 2012 | B1 |
8275177 | Fiebrink et al. | Sep 2012 | B2 |
20040126026 | He | Jul 2004 | A1 |
20050223224 | Carpentier et al. | Oct 2005 | A1 |
20060101060 | Li et al. | May 2006 | A1 |
20060173985 | Moore | Aug 2006 | A1 |
20060174300 | Gu et al. | Aug 2006 | A1 |
20070116287 | Rasizade et al. | May 2007 | A1 |
20070143459 | Batteram et al. | Jun 2007 | A1 |
20070289022 | Wittkotter | Dec 2007 | A1 |
20070300031 | Jevans et al. | Dec 2007 | A1 |
20080013830 | Patterson et al. | Jan 2008 | A1 |
20080034268 | Dodd et al. | Feb 2008 | A1 |
20080077607 | Gatawood et al. | Mar 2008 | A1 |
20080126357 | Casanova et al. | May 2008 | A1 |
20080144079 | Pandey et al. | Jun 2008 | A1 |
20080243878 | De Spiegeleer et al. | Oct 2008 | A1 |
20080256143 | Reddy et al. | Oct 2008 | A1 |
20080281908 | McCanne et al. | Nov 2008 | A1 |
20090041230 | Williams | Feb 2009 | A1 |
20090041234 | Gruba et al. | Feb 2009 | A1 |
20090049260 | Upadhyayula et al. | Feb 2009 | A1 |
20090089507 | Chen et al. | Apr 2009 | A1 |
20090106549 | Mohamed | Apr 2009 | A1 |
20090112945 | Camble et al. | Apr 2009 | A1 |
20090249084 | Ogawa | Oct 2009 | A1 |
20090265516 | Prabhu et al. | Oct 2009 | A1 |
20090268903 | Bojinov et al. | Oct 2009 | A1 |
20090300321 | Balachandran et al. | Dec 2009 | A1 |
20090313248 | Balachandran et al. | Dec 2009 | A1 |
20100083003 | Spackman | Apr 2010 | A1 |
20100180128 | Borden et al. | Jul 2010 | A1 |
20100198797 | Wideman | Aug 2010 | A1 |
20100246819 | Candelore | Sep 2010 | A1 |
20100250896 | Matze | Sep 2010 | A1 |
20100313036 | Lumb | Dec 2010 | A1 |
20100313040 | Lumb | Dec 2010 | A1 |
20100332479 | Prahlad et al. | Dec 2010 | A1 |
20110125722 | Rao et al. | May 2011 | A1 |
20110126026 | Gladwin et al. | May 2011 | A1 |
20110161297 | Parab | Jun 2011 | A1 |
20120095968 | Gold | Apr 2012 | A1 |
20120239625 | Aronovich et al. | Sep 2012 | A1 |
20120310890 | Dodd et al. | Dec 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
20100312800 A1 | Dec 2010 | US |