EP1269350A1 - Hash file system and method for use in a commonality factoring system - Google Patents

Hash file system and method for use in a commonality factoring system

Info

Publication number
EP1269350A1
EP1269350A1 EP01910686A EP01910686A EP1269350A1 EP 1269350 A1 EP1269350 A1 EP 1269350A1 EP 01910686 A EP01910686 A EP 01910686A EP 01910686 A EP01910686 A EP 01910686A EP 1269350 A1 EP1269350 A1 EP 1269350A1
Authority
EP
European Patent Office
Prior art keywords
computer
list
digital
probabilistically unique
digital sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
EP01910686A
Other languages
German (de)
French (fr)
Other versions
EP1269350A4 (en
Inventor
Gregory Hagan Moulton
Stephen B. Whitehill
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
EMC Corp
Original Assignee
Avamar Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US09/777,150 external-priority patent/US6704730B2/en
Application filed by Avamar Technologies Inc filed Critical Avamar Technologies Inc
Publication of EP1269350A1 publication Critical patent/EP1269350A1/en
Publication of EP1269350A4 publication Critical patent/EP1269350A4/en
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1453Management of the data involved in backup or backup restore using de-duplication of the data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9014Indexing; Data structures therefor; Storage structures hash tables

Definitions

  • the present invention relates, in general, to the field of hash file systems and commonality factoring systems. More particularly, the present invention relates to a system and method for determining a correspondence between electronic files in a distributed computer data environment and particular applications therefor.
  • the quantity of data that must be managed increases exponentially.
  • operating system and application software becomes larger.
  • the desire to access larger data sets such as multimedia files and large databases further increases the quantity of data that is managed.
  • This increasingly large data load must be transported between computing devices and stored in an accessible fashion.
  • the exponential growth rate of data is expected to outpace the improvements in communication bandwidth and storage capacity, making data management using conventional methods even more urgent. Many factors must be balanced and often compromised in conventional data storage systems. Because the quantity of data is extremely large, there is continuing pressure to reduce the cost per bit of storage. Also, data management systems should be scaleable to contemplate not only current needs, but future needs as well.
  • storage systems are incrementally scaleable so that a user can purchase only the capacity needed at any particular time.
  • High reliability and high availability are also considered as data users are increasingly intolerant of lost, damaged, and unavailable data.
  • conventional data management architectures must compromise these factors so that no one architecture provides a cost- effective, reliable, high availability, scaleable solution.
  • RAID Redundant Array of Independent Disks
  • I/O input/output
  • MTBF mean time between failure
  • RAID systems are difficult to scale because of physical limitations in the cabling and controllers.
  • the availability of RAID systems is highly dependent on the functionality of the controllers themselves so that when a controller fails, the data stored behind the controller becomes unavailable.
  • RAID systems require specialized, rather than commodity hardware, and so tend to be expensive solutions.
  • NAS network-attached storage
  • NAS network-attached storage
  • NAS may provide transparent I/O operations using either hardware or software based RAID.
  • NAS may also automate mirroring of data to one or more other NAS devices to further improve fault tolerance. Because NAS devices can be added to a network, they enable scaling of the total capacity of the storage available to a network. However, NAS devices are constrained in RAID applications to the abilities of the conventional RAID controllers. Also, NAS systems do not enable mirroring and parity across nodes, and so are a limited solution.
  • a system and method for a computer file system that is based and organized upon hashes and/or strings of digits of certain, different, or changing lengths and which is capable of eliminating or screening redundant copies of the blocks of data (or parts of data blocks) from the system.
  • hashes may be produced by a checksum generating program, engine or algorithm such as industry standard Message Digest 4 ("MD4"), MD5, Secure Hash Algorithm (“SHA”) or SHA-1 algorithms.
  • hashes may be generated by a checksum program, engine, algorithm or other means that generates a probabilistically unique hash value for a block of data of indeterminate size based upon a non-linear probablistic mathematical algorithm or any industry standard technique for generating pseudo-random values from an input text of other data/numeric sequence.
  • the system and method of the present invention may be utilized, in a particular application disclosed herein, to automatically factor out redundancies in data allowing potentially very large quantities of unfactored storage to be often reduced in size by several orders of magnitude.
  • the system and method of the present invention would allow all computers, regardless of their particular hardware or software characteristics, to share data simply, efficiently and securely and to provide a uniquely advantageous means for effectuating the reading, writing or referencing of data.
  • the system and method of the present invention is especially efficacious with respect to networked computers or computer systems but may also be applied to isolated data storage with comparable results.
  • the hash file system of the present invention advantageously solves a number of problems that plague conventional storage architectures.
  • the system and method of the present invention eliminates the need for managing a huge collection of directories and files, together with all the wasted system resources that inevitably occur with duplicates, and slightly different copies.
  • the maintenance and storage of duplicate files plagues traditional corporate and private computer systems and generally requires painstaking human involvement to "clean up disk space".
  • the hash file system of the present invention effectively eliminates this problem by eliminating the disk space used for copies and nearly entirely eliminating the disk space used in partial copies. For example, in a traditional computer system copying a gigabyte directory structure to a new location would require another gigabyte of storage.
  • the hash file system of the present invention reduces the disk space used in this operation by up to a hundred thousand times or more.
  • the hash file system of the present invention is designed to factor storage on a scale never previously attempted and in a first implementation, is capable of factoring 2 million petabytes of storage, with the ability to expand to much larger sizes. Existing file systems are incapable of managing data on such scales.
  • the hash file system of the present invention may be utilized to provide inexpensive, global computer system data protection and backup. Its factoring function operates very efficiently on typical backup data sets because computer file systems rarely change more than a few percent of their overall storage between each backup operation. Further, the hash file system of the present invention can serve as the basis for an efficient messaging (e-mail) system.
  • E-mail systems are fundamentally data copying mechanisms wherein an author writes a message and sends it to a list of recipients. An e-mail system implements this "sending" operation effectively by copying the data from one place to another. The author generally keeps copies of the messages he sends and the recipients each keep their own copies. These copies are often, in turn, attached in replies that are also kept (i.e. copies of copies).
  • the commonality factoring feature of the present invention can eliminate this gross inefficiency while transparently allowing e-mail users to retain this familiar copy-oriented paradigm. Because, as previously noted, most data in computer systems rarely change, the hash file system of the present invention allows for the reconstruction of complete snapshots of entire systems which can be kept, for example, for every hour of every day they exist or even continuously, with snapshots taken at even minute (or less) intervals depending on the system needs. Further, since conventional computer systems often provide limited versioning of files (i.e. Digital Equipment Corporation's VAX® VMS® file system), the hash file system of the present invention also provides significant advantages in this regard. Versioning in conventional systems presents both good and bad aspects.
  • the hash file system of the present invention provides versioning of files with little overhead through the factoring of identical copies or edited copies with little extra space. For example, saving one hundred revisions of a typical document typically requires about one hundred times the space of the original file. Using the hash file system disclosed herein, those revisions might require only three times the space of the original (depending on the document's size, the degree and type of editing, and external factors).
  • the hash file system of the present invention can be used to efficiently distribute web content because the method of factoring commonality (hashing) also produces uniform distribution over all hash file system servers. This even distribution permits a large array of servers to function as a gigantic web server farm with an evenly distributed load.
  • the hash file system of the present invention can be used as a network accelerator inasmuch as it can be used to reduce network traffic by sending proxies (hashes) for data instead of the data itself. A large percentage of current network traffic is redundant data moving between locations. Sending proxies for the data would allow effective local caching mechanisms to operate, possibly reducing the traffic on the Internet by several orders of magnitude.
  • the hash file system and method of the present invention may be implemented using 160 bit hashsums as universal pointers. This differs from conventional file systems which use pointers assigned from a central authority (i.e. in Unix a 32 bit "inode" is assigned by the kernel's file systems in a lock-step operation to assure uniqueness).
  • these 160 bit hashsums are assigned without a central authority (i.e. without locking, without synchronization) by a hashing algorithm.
  • hashing algorithms produce probabilistically unique numbers that uniformly span a range of values. In the case of the hash function SHA-1 , that range is between 0 and 10e 48 . This hashing operation is done by examining only the contents of the data being stored and, therefore, can be done in complete isolation, asynchronously, and without interlocking.
  • Hashing is an operation that can be verified by any component of the system, eliminating the need for trusted operations across those components.
  • the hash file system and method of the present invention disclosed herein is, therefore, functional to eliminate the critical bottleneck of conventional large scale distributed file systems, that is, a trusted encompassing central authority. It permits the construction of a large scale distributed file system with no limits on simultaneous read/write operations, that can operate without risk of incoherence and without the limitation of certain conventional bottlenecks.
  • Fig. 1 is a high level illustration of a representative networked computer environment in which the system and method of the present invention may be implemented
  • Fig. 2 is a more detailed conceptual representation of a possible operating environment for utilization of the system and method of the present invention wherein files maintained on any number of computers or data centers may be stored in a decentralized computer system through an Internet connection to a number of Redundant Arrays of Independent Nodes (“RAIN”) racks located, for example, at geographically diverse locations;
  • RAIN Redundant Arrays of Independent Nodes
  • Fig. 3 is a logic flow chart depicting the steps in the entry of a computer file into the hash file system of the present invention wherein the hash value for the file is checked against hash values for files previously maintained in a set, or database;
  • Fig. 4 is a further logic flow chart depicting the steps in the breakup of a file or other data sequence into hashed pieces resulting in the production of a number of data pieces as well as corresponding probabilistically unique hash values for each piece;
  • Fig. 5 is another logic flow chart depicting the comparison of the hash values for each piece of a file to existing hash values in the set (or database), the production of records showing the equivalence of a single hash value for all file pieces with the hash values of the various pieces and whereupon new data pieces and corresponding new hash values are added to the set;
  • Fig. 6 is yet another logic flow chart illustrating the steps in the comparison of file hash or directory list hash values to existing directory list hash values and the addition of new file or directory list hash values to the set directory list;
  • Fig. 7 is a comparison of the pieces of a representative computer file with their corresponding hash values both before and after editing of a particular piece of the exemplary file;
  • Fig. 8 is a conceptual representation of the fact that composite data which may be derived by means of the system and method of the present invention is effectively the same as the data represented explicitly but may instead be created by a "recipe" such as the concatenation of data represented by its corresponding hashes or the result of a function using the data represented by the hashes;
  • Fig. 9 is another conceptual representation of how the hash file system and method of the present invention my be utilized to organize data to optimize the reutilization of redundant sequences through the use of hash values as pointers to the data they represent and wherein data may be represented either as explicit byte sequences (atomic data) or as groups of sequences (composites);
  • Fig. 10 is a simplified diagram illustrative of a hash file system address translation function for an exemplary 160 bit hash value
  • Fig. 11 is a simplified exemplary illustration of an index stripe splitting function for use with the system and method of the present invention.
  • Fig. 12 is a simplified illustration of the overall functionality of the system and method of the present invention for use in the backup of data for a representative home computer having a number of program and document files on Day 1 and wherein one of the document files is edited on Day 2 together with the addition of a third document file;
  • Fig. 13 illustrates the comparison of various pieces of a particular document file marked by a number of "sticky bytes" both before and following editing wherein one of the pieces is thereby changed while other pieces remain the same.
  • hash file system In a particular implementation of the hash file system and method of the present invention as disclosed herein, its application is directed toward a high availability, high reliability data storage system that leverages rapid advances in commodity computing devices and the robust nature of internetwork technology such as the Internet.
  • a hash file system that manages the correspondence of one or more block(s) of data (including but not limited to files, directories, drive images, software applications, digitized voice, and rich media content) together with one or more symbol(s) for that block of data, wherein the symbol may be a number, hash, checksum, binary sequence, or other identifier that is derived from the block of data itself and is statistically, probabilistically, or otherwise effectively unique to that block of data.
  • the system itself works on any computer system including, without limitation: personal computers; supercomputers; distributed or non-distributed networks; storage area networks ("SAN”) using IDE, SCSI or other disk buses; network attached storage (“NAS”) or other systems capable of storing and/or processing data.
  • SAN storage area networks
  • IDE IDE
  • SCSI SCSI
  • NAS network attached storage
  • the symbol(s) may be derived using one or more hash or checksum generating engines, programs, or algorithms, including but not limited to MD4, MD5, SHA, SHA-1 , or their derivatives. Further, the symbol(s) may comprise parts of variable or invariable length symbols derived using a hash or checksum generating engine, program, or algorithm, including but not limited to MD4, MD5, SHA, SHA-1 , or other methods of generating probabilistically unique identifiers based on data content.
  • file seeks, or lookups for retrieving data or checking on the existence/availability of data may be accelerated by looking at all or a smaller portion of the symbol, with the symbol portion indicating or otherwise providing the routing information for finding, retrieving, or checking on the existence/availability of the data.
  • a system and method for a hash file system wherein the symbols allow for the identification of redundant copies within the system and/or allow for the identification of copies within the system redundant with data presented to the system for filing and storage.
  • the symbols allow for the elimination of, or allow for the screening of, redundant copies of the data and/or parts of the data in the system or in data and/or parts of data presented to the system, without loss of data integrity and can provide for the even distribution of data over available storage for the system.
  • the system and method of the present invention as disclosed herein requires no central operating point and balances processing and/or input/output ("I/O") load across all computers, supercomputers, or other devices capable of storing and/or processing data attached to the system.
  • the screening of redundant copies of the data and/or parts of the data allows for the creation, repetitive creation, or retention of intelligent boundaries for screening other data in the system, future data presented to the system, or future data stored by the system.
  • the present invention is illustrated and described in terms of a distributed computing environment such as an enterprise computing system using public communication channels such as the Internet.
  • a distributed computing environment such as an enterprise computing system using public communication channels such as the Internet.
  • an important feature of the present invention is that it is readily scaled upwardly and downwardly to meet the needs of a particular application. Accordingly, unless specified to the contrary the present invention is applicable to significantly larger, more complex network environments as well as small network environments such as conventional LAN systems.
  • an exemplary internetwork environment 10 may include the Internet which comprises a global internetwork formed by logical and physical connection between multiple wide area networks (“WANs") 14 and local area networks (“LANs”) 16.
  • An Internet backbone 12 represents the main lines and routers that carry the bulk of the data traffic.
  • the backbone 12 is formed by the largest networks in the system that are operated by major Internet service providers ("ISPs") such as GTE, MCI, Sprint, UUNet, and America Online, for example.
  • ISPs major Internet service providers
  • a "network” comprises a system of general purpose, usually switched physical connections that enable logical connections between processes operating on nodes 18.
  • the physical connections implemented by a network are typically independent of the logical connections that are established between processes using the network. In this manner, a heterogeneous set of processes ranging from file transfer, mail transfer, and the like can use the same physical network. Conversely, the network can be formed from a heterogeneous set of physical network technologies that are invisible to the logically connected processes using the network. Because the logical connection between processes implemented by a network is independent of the physical connection, internetworks are readily scaled to a virtually unlimited number of nodes over long distances.
  • storage devices may be placed at nodes 18.
  • the storage at any node 18 may comprise a single hard drive, or may comprise a managed storage system such as a conventional RAID device having multiple hard drives configured as a single logical volume.
  • the present invention manages redundancy operations across nodes, as opposed to within nodes, so that the specific configuration of the storage within any given node is less relevant.
  • one or more of the nodes 18 may implement storage allocation management (“SAM”) processes that manage data storage across nodes 18 in a distributed, collaborative fashion.
  • SAM processes preferably operate with little or no centralized control for the system as whole.
  • SAM processes provide data distribution across nodes 18 and implement recovery in a fault-tolerant fashion across network nodes 18 in a manner similar to paradigms found in RAID storage subsystems.
  • SAM processes operate across nodes rather than within a single node or within a single computer, they allow for greater fault tolerance and greater levels of storage efficiency than conventional RAID systems. For example, SAM processes can recover even where a network node 18, LAN 16, or WAN 14 become unavailable. Moreover, even when a portion of the Internet backbone 12 becomes unavailable through failure or congestion, the SAM processes can recover using data distributed on nodes 18 that remain accessible. In this manner, the present invention leverages the robust nature of internetworks to provide unprecedented availability, reliability, fault tolerance and robustness.
  • FIG. 2 a more detailed conceptual view of an exemplary network computing environment in which the present invention is implemented is depicted.
  • the internetwork 10 of the preceding figure (or Internet 1 18 in this figure) enables an interconnected network 100 of a heterogeneous set of computing devices and mechanisms 102 ranging from a supercomputer or data center 104 to a hand-held or pen-based device 1 14. While such devices have disparate data storage needs, they share an ability to retrieve data via network 100 and operate on that data within their own resources.
  • Disparate computing devices 102 including mainframe computers (e.g., VAX station 106 and IBM AS/400 station 116) as well as personal computer or workstation class devices such as IBM compatible device 108, Macintosh device 1 10 and laptop computer 1 12 are readily interconnected via internetwork 10 and network 100. Although not illustrated, mobile and other wireless devices may be coupled to the internetwork 10.
  • mainframe computers e.g., VAX station 106 and IBM AS/400 station 116
  • personal computer or workstation class devices such as IBM compatible device 108, Macintosh device 1 10 and laptop computer 1 12 are readily interconnected via internetwork 10 and network 100.
  • mobile and other wireless devices may be coupled to the internetwork 10.
  • Internet-based network 120 comprises a set of logical connections, some of which are made through Internet 1 18, between a plurality of internal networks 122.
  • Internet-based network 120 is akin to a WAN 14 (Fig. 1 ) in that it enables logical connections between geographically distant nodes.
  • Internet-based networks 120 may be implemented using the Internet 1 18 or other public and private WAN technologies including leased lines, Fibre Channel, and the like.
  • internal networks 122 are conceptually akin to LANs 16 (Fig. 1 ) in that they enable logical connections across a more limited distance than WAN 14.
  • Internal networks 122 may be implemented using various LAN technologies including Ethernet, Fiber Distributed Data Interface ("FDDI”), Token Ring, Appletalk, Fibre Channel, and the like.
  • FDDI Fiber Distributed Data Interface
  • Token Ring Appletalk
  • Fibre Channel Fibre Channel
  • Each internal network 122 connects one or more redundant arrays of independent nodes (RAIN) elements 124 to implement RAIN nodes 18 (Fig. 1 ).
  • RAIN element 124 comprises a processor, memory, and one or more mass storage devices such as hard disks.
  • RAIN elements 124 also include hard disk controllers that may be conventional IDE or SCSI controllers, or may be managing controllers such as RAID controllers.
  • RAIN elements 124 may be physically dispersed or co-located in one or more racks sharing resources such as cooling and power.
  • Each node 18 (Fig. 1 ) is independent of other nodes 18 in that failure or unavailability of one node 18 does not affect availability of other nodes 18, and data stored on one node 18 may be reconstructed from data stored on other nodes 18.
  • the RAIN elements 124 may comprise computers using commodity components such as Intel- based microprocessors mounted on a motherboard supporting a PCI bus and 256 megabytes of random access memory (“RAM") housed in a conventional AT or ATX case.
  • SCSI or IDE controllers may be implemented on the motherboard and/or by expansion cards connected to the PCI bus. Where the controllers are implemented only on the motherboard, a PCI expansion bus may be optionally used.
  • the motherboard may implement two mastering EIDE channels and a PCI expansion card which is used to implement two additional mastering EIDE channels so that each RAIN element 124 includes up to four or more EIDE hard disks.
  • each hard disk may comprise an 80 gigabyte hard disk for a total storage capacity of 320 gigabytes or more per RAIN element.
  • the hard disk capacity and configuration within RAIN elements 124 can be readily increased or decreased to meet the needs of a particular application.
  • the casing also houses supporting mechanisms such as power supplies and cooling devices (not shown).
  • Each RAIN element 124 executes an operating system.
  • the UNIX or UNIX variant operating system such as Linux may be used. It is contemplated, however, that other operating systems including DOS, Microsoft Windows, Apple Macintosh OS, OS/2, Microsoft Windows NT and the like may be equivalently substituted with predictable changes in performance.
  • the operating system chosen forms a platform for executing application software and processes, and implements a file system for accessing mass storage via the hard disk controller(s).
  • Various application software and processes can be implemented on each RAIN element 124 to provide network connectivity via a network interface using appropriate network protocols such as user datagram protocol (“UDP”), transmission control protocol (TCP), Internet protocol (IP) and the like.
  • UDP user datagram protocol
  • TCP transmission control protocol
  • IP Internet protocol
  • a logic flow chart is shown depicting the steps in the entry of a computer file into the hash file system of the present invention and wherein the hash value for the file is checked against hash values for files previously maintained in a set, or database.
  • the process 200 begins by entry of a computer file data 202 (e.g. "File A”) into the hash file system ("HFS") of the present invention upon which a hash function is performed at step 204.
  • the data 206 representing the hash of File A is then compared to the contents of a set containing hash file values at decision step 208. If the data 206 is already in the set, then the file's hash value is added to a directory list at step 210.
  • the contents of the set 212 comprising hash values and corresponding data is provided in the form of existing hash values 214 for the comparison operation of decision step 208.
  • the hash value for File A is not currently in the set, the file is broken into hashed pieces (as will be more fully described hereinafter) at step 216.
  • a further logic flow chart depicting the steps in the process 300 for breakup of a digital sequence (e.g. a file or other data sequence) into hashed pieces.
  • This process 300 ultimately results in the production of a number of data pieces as well as corresponding probabilistically unique hash values for each piece.
  • the file data 302 is divided into pieces based on commonality with other pieces in the system or the likelihood of pieces being found to be in common in the future at step 304.
  • the results of the operation of step 304 upon the file data 302 is, in the representative example shown, the production of four file pieces 306 denominated A1 through A5 inclusively.
  • Each of the file pieces 306 is then operated on at step 308 by placing it through individual hash function operations to assign a probabilistically unique number to each of the pieces 306 A1 through A5.
  • the results of the operation at step 308 is that each of the pieces 306 (A1 through A5) has an associated, probabilistically unique hash value 310 (shown as A1 Hash through A5 Hash respectively).
  • the file division process of step 304 is described in greater detail hereinafter in conjunction with the unique "sticky byte" operation also disclosed herein.
  • FIG. 5 another logic flow chart is shown depicting a comparison process 400 for the hash values 310 of each piece 306 of the file to those of existing hash values 214 maintained in the set 212.
  • the hash values 310 for each piece 306 of the file are compared to existing hash values 214 and new hash values 408 and corresponding new data pieces 406 are added to the set 212.
  • hash values 408 not previously present in the database set 212 are added together with their associated data pieces 406.
  • the process 400 also results in the production of records 404 showing the equivalence of a single hash value for all file pieces with the hash values 310 of the various pieces 306.
  • FIG. 6 yet another logic flow chart is shown illustrating a process 500 for the comparison of file hash or directory list hash values to existing directory list hash values and the addition of new file or directory list hash values to the database directory list.
  • the process 500 operates on stored data 502 which comprises an accumulated list of file names, file meta-data (e.g. date, time, file length, file type etc.) and the file's hash value for each item in a directory.
  • the hash function is run upon the contents of the directory list.
  • Decision step 506 is operative to determine whether or not the hash value for the directory list is in the set 212 of existing hash values 214.
  • the process 500 returns to add another file hash or directory list hash to a directory list.
  • the hash value for the directory list is not already in the database set 212, the has,h value and data for the directory list are added to the database 212 set at step 508.
  • a comparison 600 of the pieces 306 of a representative computer file (i.e. "File A”) with their corresponding hash values 310 is shown both before and after editing of a particular piece of the exemplary file.
  • the record 404 contains the hash value of File A as well as the hash values 310 of each of the pieces of the file A1 through A5.
  • a representative edit of the File A may produce a change in the data for piece A2 (now represented by A2-b) of the file pieces 306A along with a corresponding change in the hash value A2-b of the hash values 310A.
  • the edited file piece now produces an updated record 404A which includes the modified hash value of File A and the modified hash value of piece A2-b.
  • a conceptual representation 700 is shown illustrative of the fact that composite data (such as composite data 702 and 704) derived by means of the system and method of the present invention, is effectively the same as the data 706 represented explicitly but is instead created by a "recipe", or formula.
  • this recipe includes the concatenation of data represented by its corresponding hashes 708 or the result of a function using the data represented by the hashes.
  • the data blocks 706 may be variable length quantities as shown and the hash values 708 are derived from their associated data blocks.
  • the hash values 708 are a probabilistically unique identification of the corresponding data pieces but truly unique identifications can be used instead or intermixed therewith.
  • composite data 702, 704 can also reference other composite data many levels deep while the hash values 708 for the composite data can be derived from the value of the data the recipe creates or the hash value of the recipe itself.
  • FIG. 9 another conceptual representation 800 is shown of how the hash file system and method of the present invention may be utilized to organize data 802 to optimize the reutilization of redundant sequences through the use of hash values 806 as pointers to the data they represent and wherein data 802 may be represented either as explicit byte sequences (atomic data) 808 or as groups of sequences (composites) 804.
  • the representation 800 illustrates the tremendous commonality of recipes and data that gets reused at every level.
  • the basic structure of the hash file system of the present invention is essentially that of a "tree” or "bush” wherein the hash values 806 are used instead of conventional pointers.
  • the hash values 806 are used in the recipes to point to the data or another hash value that could also itself be a recipe.
  • recipes can point to other recipes that point to still other recipes that ultimately point to some specific data that may, itself, point to other recipes that point to even more data, eventually getting down to nothing but data.
  • a simplified diagram 900 is shown illustrative of a hash file system address translation function for an exemplary 160 bit hash value 902.
  • the hash value 902 includes a data structure comprising a front portion 904 and a back portion 906 as shown and the diagram 900 illustrates a particular "0 of 1 " operation that is used for enabling the use of the hash value 902 to go to the location of the particular node in the system that contains the corresponding data.
  • the diagram 900 illustrates how the front portion 904 of the hash value 902 data structure may be used to indicate the hash prefix to stripe identification ("ID") 908 and how that is, in turn, utilized to map the stripe ID to IP address and the ID class to IP address 910.
  • ID hash prefix to stripe identification
  • the "S2" indicates stripe 2 of index Node 37 912.
  • the index stripe 912 of Node 37 then indicates stripe 88 of data Node 73 indicated by the reference numeral 914.
  • a portion of the hash value 902 itself may be used to indicate which node in the system contains the relevant data
  • another portion of the hash value 902 may be used to indicate which stripe of data at that particular node and yet another portion of the hash value 902 to indicate where within that stripe the data resides.
  • FIG. 1 1 a simplified exemplary illustration of an index stripe splitting function 1000 is shown for use with the system and method of the present invention.
  • an exemplary function 1000 is shown that may be used to effectively split a stripe 1002 (S2) into two stripes 1004 (S2) and 1006 (S7) should one stripe become too full.
  • the odd entries have been moved to stripe 1006 (S7) while the even ones remain in stripe 1004.
  • This function 1000 is one example of how stripe entries may be handled as the overall system grows in size and complexity.
  • FIG. 12 a simplified illustration 1 100 of the overall functionality of the system and method of the present invention is shown for use, for example, in the backup of data for a representative home computer having a number of program and document files 1 102A and 1104A on Day 1 and wherein the program files 1102B remain the same on Day 2 while one of the document files 1 104B is edited on Day 2 (Y.doc) together with the addition of a third document file (Z.doc).
  • the illustration 1 100 shows the details of how a computer file system may be broken into pieces and then listed as a series of recipes on a global data protection network ("gDPN") to reconstruct the original data from the pieces.
  • gDPN global data protection network
  • This very small computer system is shown in the form of a "snapshot" on “Day 1 " and then subsequently on “Day 2".
  • the "program files H5" and "my documents H6" are illustrated by numeral 1 106, with the former being represented by a recipe 1108 wherein a first executable file is represented by a hash value H1 1 1 14 and a second represented by a hash value H2 1 1 12.
  • the document files are represented by hash value H6 1 1 10 with the first document being represented by hash value H3 1 1 18 and the second by hash value H4 1 1 16.
  • H10 indicated by numeral 1 120 shows that the "program files H5" have not changed, but the "my document H 10" have.
  • H10 indicated by numeral 1 122 shows the "X.doc” is still represented by hash value H3 1118 while “Y.doc” is now represented by hash value H8 at number 1 124.
  • New document file “Z.doc” is now represented by hash value H9 at numeral 1126.
  • a comparison 1200 of various pieces of a particular document file marked by a number of "sticky bytes" 1204 is shown both before (Day 1 1202A) and following editing (Day 2 1202B) wherein one of the pieces is thereby changed while other pieces remain the same.
  • file 1202A comprises variable length pieces 1206 (1.1 ), 1208 (1.2), 1210 (2.1 ), 1212 (2.), 1214 (2.3) and 1216 (3.1 ).
  • pieces 1206, 1208, 1210, 1214 and 1216 remain the same (thus having the same hash values) while piece 1212 has now been edited to produce piece 1212A (thus having a differing hash value).
  • Data sticky bytes are a unique, fully automated way to sub-divide computer files such that common elements may be found on multiple related and unrelated computers without the need for communication between the computers.
  • the means in which data sticky points are found is completely mathematical in nature and performs equally well regardless of the data content of the files.
  • all data objects may be indexed, stored and retrieved using, for example (but not limited to), an industry standard checksum such as: MD4, MD5, SHA, or SHA-1. In operation, if two files have the same checksum, it may be considered to be highly likely that they are the same file.
  • data sticky points may be produced with a standard mathematical distribution and with standard deviations that are a small percentage of the target size.
  • a data sticky point is a statistically infrequent arrangement of n bytes. In this case, an example is given with 32 bytes because of its ease in implementation in current microprocessor technology. A rolling hash of 32 bits could be generated for the file "f".
  • //scramble is a 256 entry array of integers with each //being 32 bits wide; //these integers are typically chosen to uniformly //span the range.
  • hash represents the //rolling hash of the file.
  • sticky_bits (hash - 1 ) ⁇ hash;
  • number_of_bits count_ones(stick-bits); if(number_of_bits > t) output_sticky_point(i); ⁇
  • a rolling hash of 32 bits may be generated for the f file where:
  • f[i] is the ith byte of the file f.
  • sticky_bits (hash - 1 ) ⁇ hash; //sticks_bits is a variable which will have the //number of ones that correspond to the number of //trailing zeros in the "hash”.
  • Hashing function utilized to implement the hash file system of the present invention requires a moderately complex computation, it is well within the capability of present day computer systems. Hashing functions are inherently probabilistic and any hashing function might possibly produce incorrect results when two different data objects happen to have the same hash value. However, the system and method herein disclosed mitigates this problem by using well known and researched hashing functions that reduce the probability of collision down to levels acceptable for reliable use (i.e. one chance in a trillion trillion), far less than the error rates otherwise tolerated in conventional computer hardware operations.
  • Internet infrastructure encompasses a variety of hardware and software mechanisms, the term primarily refers to routers, router software, and physical links between these routers that function to transport data packets from one network node to another.
  • a "digital sequence" may comprise, without limitation, computer program files, computer applications, data files, network packets, streaming data such as multimedia (including audio and video), telemetry data and any other form of data which can be represented by a digital or numeric sequence.
  • the probabilistically unique identifiers produced by means of the hash file system and method of the present invention may also be used as URLs in network applications.

Abstract

A system for a computer file system that is based and organized upon hashes and/or strings of digits of certain, different or changing lengths (304) and which is capable of eliminating or screening redundant copies of aggregate blocks of data (or parts of data blocks) from the system. The hash file system of the present invention utilizes hash values (310) for computer files or file pieces (306) which may be produced by a checksum generating program, engine, or algorithm such as industry standard MD4, MD5, SHA or SHA-1 algorithms. Alternatively, the hash values may be generated (308) by a checksum program, engine, or algorithm or other means that produces an effectively unique hash value for a block of data of indeterminate size based upon a mathematical algorithm.

Description

HASH FILE SYSTEM AND METHOD FOR USE IN A COMMONALITY
FACTORING SYSTEM
COPYRIGHT NOTICE/PERMISSION
A portion of the disclosure of this patent document may contain material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document of the patent disclosure as it appears in the United States Patent and Trademark Office patent file or records, but otherwise, reserves all copyright rights whatsoever. The following notice applies to the software and data and described below, inclusive of the drawing figures where applicable: Copyright © 2000, Undoo Technologies.
BACKGROUND OF THE INVENTION
The present invention relates, in general, to the field of hash file systems and commonality factoring systems. More particularly, the present invention relates to a system and method for determining a correspondence between electronic files in a distributed computer data environment and particular applications therefor.
Economic, political, and social power are increasingly managed by data. Transactions and wealth are represented by data. Political power is analyzed and modified based on data. Human interactions and relationships are defined by data exchanges. Hence, the efficient distribution, storage, and management of data is expected to play an increasingly vital role in human society.
The quantity of data that must be managed, in the form of computer programs, databases, files, and the like, increases exponentially. As computer processing power increases, operating system and application software becomes larger. Moreover, the desire to access larger data sets such as multimedia files and large databases further increases the quantity of data that is managed. This increasingly large data load must be transported between computing devices and stored in an accessible fashion. The exponential growth rate of data is expected to outpace the improvements in communication bandwidth and storage capacity, making data management using conventional methods even more urgent. Many factors must be balanced and often compromised in conventional data storage systems. Because the quantity of data is extremely large, there is continuing pressure to reduce the cost per bit of storage. Also, data management systems should be scaleable to contemplate not only current needs, but future needs as well. Preferably, storage systems are incrementally scaleable so that a user can purchase only the capacity needed at any particular time. High reliability and high availability are also considered as data users are increasingly intolerant of lost, damaged, and unavailable data. Unfortunately, conventional data management architectures must compromise these factors so that no one architecture provides a cost- effective, reliable, high availability, scaleable solution.
Conventional RAID (Redundant Array of Independent Disks) systems are a way of storing the same data in different places (thus, redundantly) on multiple storage devices such as hard disks. By placing data on multiple disks, input/output ("I/O") operations can overlap in a balanced way, improving performance. Since the use of multiple disks increases the mean time between failure ("MTBF"), storing data redundantly also increases fault-tolerance. A RAID system relies on a hardware or software controller to hide the complexities of the actual data management so that a RAID system appears to an operating system as a single logical hard disk. However, RAID systems are difficult to scale because of physical limitations in the cabling and controllers. Also, the availability of RAID systems is highly dependent on the functionality of the controllers themselves so that when a controller fails, the data stored behind the controller becomes unavailable. Moreover, RAID systems require specialized, rather than commodity hardware, and so tend to be expensive solutions.
NAS (network-attached storage) refers to hard disk storage that is set up with its own network address rather than being attached to an application server. File requests are mapped to the NAS file server. NAS may provide transparent I/O operations using either hardware or software based RAID. NAS may also automate mirroring of data to one or more other NAS devices to further improve fault tolerance. Because NAS devices can be added to a network, they enable scaling of the total capacity of the storage available to a network. However, NAS devices are constrained in RAID applications to the abilities of the conventional RAID controllers. Also, NAS systems do not enable mirroring and parity across nodes, and so are a limited solution.
In addition to data storage issues, data transport is rapidly evolving with improvements in wide area network ("WAN") and internetworking technology. The Internet, for example, has created a globally networked environment with almost ubiquitous access. Despite rapid network infrastructure improvements, the rate of increase in the quantity of data that requires transport is expected to outpace improvements in available bandwidth.
Philosophically, the way data is conventionally managed is inconsistent with the hardware devices and infrastructures that have been developed to manipulate and transport data. For example, computers are characteristically general-purpose machines that are readily programmed to perform a virtually unlimited variety of functions. In large part, however, computers are loaded with a fixed, slowly changing set of data that limit their general-purpose nature to make the machines special-purpose. Advances in processing speed, peripheral performance and data storage capacity are most dramatic in commodity computers. Yet many data storage solutions cannot take advantage of these advances because they are constrained rather than extended by the storage controllers upon which they are based. Similarly, the Internet was developed as a fault tolerant, multi-path interconnected network. However, network resources are conventionally implemented in specific network nodes such that failure of the node makes the resource unavailable despite the fault-tolerance of the network to which the node is connected. Continuing needs exist for high availability, high reliability, highly scaleable data storage solutions.
SUMMARY OF THE INVENTION Disclosed herein is a system and method for a computer file system that is based and organized upon hashes and/or strings of digits of certain, different, or changing lengths and which is capable of eliminating or screening redundant copies of the blocks of data (or parts of data blocks) from the system. Also disclosed herein is a system and method for a computer file system wherein hashes may be produced by a checksum generating program, engine or algorithm such as industry standard Message Digest 4 ("MD4"), MD5, Secure Hash Algorithm ("SHA") or SHA-1 algorithms. Further disclosed herein is a system and method for a computer file system wherein hashes may be generated by a checksum program, engine, algorithm or other means that generates a probabilistically unique hash value for a block of data of indeterminate size based upon a non-linear probablistic mathematical algorithm or any industry standard technique for generating pseudo-random values from an input text of other data/numeric sequence.
The system and method of the present invention may be utilized, in a particular application disclosed herein, to automatically factor out redundancies in data allowing potentially very large quantities of unfactored storage to be often reduced in size by several orders of magnitude. In this regard, the system and method of the present invention would allow all computers, regardless of their particular hardware or software characteristics, to share data simply, efficiently and securely and to provide a uniquely advantageous means for effectuating the reading, writing or referencing of data. The system and method of the present invention is especially efficacious with respect to networked computers or computer systems but may also be applied to isolated data storage with comparable results.
The hash file system of the present invention advantageously solves a number of problems that plague conventional storage architectures. For example, the system and method of the present invention eliminates the need for managing a huge collection of directories and files, together with all the wasted system resources that inevitably occur with duplicates, and slightly different copies. The maintenance and storage of duplicate files plagues traditional corporate and private computer systems and generally requires painstaking human involvement to "clean up disk space". The hash file system of the present invention effectively eliminates this problem by eliminating the disk space used for copies and nearly entirely eliminating the disk space used in partial copies. For example, in a traditional computer system copying a gigabyte directory structure to a new location would require another gigabyte of storage. In particular applications, the hash file system of the present invention reduces the disk space used in this operation by up to a hundred thousand times or more.
Currently, some file systems have mechanisms to eliminate copies, but none can accomplish this operation in a short amount of time which, in technical terms, means the system factors copies in 0(1) ("on the order of constant time") time, even as the system scales. This means a unit of time that is constant as opposed to other systems that would require 0(N**2), O(N) or 0(Iog(N)) time, meaning time is related to the amount of storage being factored. Factoring storage in non-constant time may be marginally satisfactory for systems where the amount of storage is small, but as a system grows to large sizes, even the most efficient non-constant factoring systems become untenable. The hash file system of the present invention is designed to factor storage on a scale never previously attempted and in a first implementation, is capable of factoring 2 million petabytes of storage, with the ability to expand to much larger sizes. Existing file systems are incapable of managing data on such scales.
Moreover, the hash file system of the present invention may be utilized to provide inexpensive, global computer system data protection and backup. Its factoring function operates very efficiently on typical backup data sets because computer file systems rarely change more than a few percent of their overall storage between each backup operation. Further, the hash file system of the present invention can serve as the basis for an efficient messaging (e-mail) system. E-mail systems are fundamentally data copying mechanisms wherein an author writes a message and sends it to a list of recipients. An e-mail system implements this "sending" operation effectively by copying the data from one place to another. The author generally keeps copies of the messages he sends and the recipients each keep their own copies. These copies are often, in turn, attached in replies that are also kept (i.e. copies of copies). The commonality factoring feature of the present invention can eliminate this gross inefficiency while transparently allowing e-mail users to retain this familiar copy-oriented paradigm. Because, as previously noted, most data in computer systems rarely change, the hash file system of the present invention allows for the reconstruction of complete snapshots of entire systems which can be kept, for example, for every hour of every day they exist or even continuously, with snapshots taken at even minute (or less) intervals depending on the system needs. Further, since conventional computer systems often provide limited versioning of files (i.e. Digital Equipment Corporation's VAX® VMS® file system), the hash file system of the present invention also provides significant advantages in this regard. Versioning in conventional systems presents both good and bad aspects. In the former instance, it helps prevent accidents, but, in the latter, it requires regular purging to reduce the disk space it consumes. The hash file system of the present invention provides versioning of files with little overhead through the factoring of identical copies or edited copies with little extra space. For example, saving one hundred revisions of a typical document typically requires about one hundred times the space of the original file. Using the hash file system disclosed herein, those revisions might require only three times the space of the original (depending on the document's size, the degree and type of editing, and external factors).
Still other potential applications of the hash file system of the present invention include web-serving. In this regard, the hash file system can be used to efficiently distribute web content because the method of factoring commonality (hashing) also produces uniform distribution over all hash file system servers. This even distribution permits a large array of servers to function as a gigantic web server farm with an evenly distributed load. In other applications, the hash file system of the present invention can be used as a network accelerator inasmuch as it can be used to reduce network traffic by sending proxies (hashes) for data instead of the data itself. A large percentage of current network traffic is redundant data moving between locations. Sending proxies for the data would allow effective local caching mechanisms to operate, possibly reducing the traffic on the Internet by several orders of magnitude.
As particularly disclosed herein, the hash file system and method of the present invention may be implemented using 160 bit hashsums as universal pointers. This differs from conventional file systems which use pointers assigned from a central authority (i.e. in Unix a 32 bit "inode" is assigned by the kernel's file systems in a lock-step operation to assure uniqueness). In the hash file system of the present invention, these 160 bit hashsums are assigned without a central authority (i.e. without locking, without synchronization) by a hashing algorithm.
Known hashing algorithms produce probabilistically unique numbers that uniformly span a range of values. In the case of the hash function SHA-1 , that range is between 0 and 10e48. This hashing operation is done by examining only the contents of the data being stored and, therefore, can be done in complete isolation, asynchronously, and without interlocking.
Hashing is an operation that can be verified by any component of the system, eliminating the need for trusted operations across those components. The hash file system and method of the present invention disclosed herein is, therefore, functional to eliminate the critical bottleneck of conventional large scale distributed file systems, that is, a trusted encompassing central authority. It permits the construction of a large scale distributed file system with no limits on simultaneous read/write operations, that can operate without risk of incoherence and without the limitation of certain conventional bottlenecks.
BRIEF DESCRIPTION OF THE DRAWINGS
The aforementioned and other features and objects of the present invention and the manner of attaining them will become more apparent, and the invention itself will be best understood by reference to the following description of a preferred embodiment taken in conjunction with the accompanying drawings, wherein:
Fig. 1 is a high level illustration of a representative networked computer environment in which the system and method of the present invention may be implemented; Fig. 2 is a more detailed conceptual representation of a possible operating environment for utilization of the system and method of the present invention wherein files maintained on any number of computers or data centers may be stored in a decentralized computer system through an Internet connection to a number of Redundant Arrays of Independent Nodes ("RAIN") racks located, for example, at geographically diverse locations;
Fig. 3 is a logic flow chart depicting the steps in the entry of a computer file into the hash file system of the present invention wherein the hash value for the file is checked against hash values for files previously maintained in a set, or database;
Fig. 4 is a further logic flow chart depicting the steps in the breakup of a file or other data sequence into hashed pieces resulting in the production of a number of data pieces as well as corresponding probabilistically unique hash values for each piece;
Fig. 5 is another logic flow chart depicting the comparison of the hash values for each piece of a file to existing hash values in the set (or database), the production of records showing the equivalence of a single hash value for all file pieces with the hash values of the various pieces and whereupon new data pieces and corresponding new hash values are added to the set;
Fig. 6 is yet another logic flow chart illustrating the steps in the comparison of file hash or directory list hash values to existing directory list hash values and the addition of new file or directory list hash values to the set directory list;
Fig. 7 is a comparison of the pieces of a representative computer file with their corresponding hash values both before and after editing of a particular piece of the exemplary file;
Fig. 8 is a conceptual representation of the fact that composite data which may be derived by means of the system and method of the present invention is effectively the same as the data represented explicitly but may instead be created by a "recipe" such as the concatenation of data represented by its corresponding hashes or the result of a function using the data represented by the hashes; Fig. 9 is another conceptual representation of how the hash file system and method of the present invention my be utilized to organize data to optimize the reutilization of redundant sequences through the use of hash values as pointers to the data they represent and wherein data may be represented either as explicit byte sequences (atomic data) or as groups of sequences (composites);
Fig. 10 is a simplified diagram illustrative of a hash file system address translation function for an exemplary 160 bit hash value;
Fig. 11 is a simplified exemplary illustration of an index stripe splitting function for use with the system and method of the present invention;
Fig. 12 is a simplified illustration of the overall functionality of the system and method of the present invention for use in the backup of data for a representative home computer having a number of program and document files on Day 1 and wherein one of the document files is edited on Day 2 together with the addition of a third document file; and
Fig. 13 illustrates the comparison of various pieces of a particular document file marked by a number of "sticky bytes" both before and following editing wherein one of the pieces is thereby changed while other pieces remain the same. DESCRIPTION OF A REPRESENTATIVE EMBODIMENT
In a particular implementation of the hash file system and method of the present invention as disclosed herein, its application is directed toward a high availability, high reliability data storage system that leverages rapid advances in commodity computing devices and the robust nature of internetwork technology such as the Internet. Particularly disclosed herein is a hash file system that manages the correspondence of one or more block(s) of data (including but not limited to files, directories, drive images, software applications, digitized voice, and rich media content) together with one or more symbol(s) for that block of data, wherein the symbol may be a number, hash, checksum, binary sequence, or other identifier that is derived from the block of data itself and is statistically, probabilistically, or otherwise effectively unique to that block of data. The system itself works on any computer system including, without limitation: personal computers; supercomputers; distributed or non-distributed networks; storage area networks ("SAN") using IDE, SCSI or other disk buses; network attached storage ("NAS") or other systems capable of storing and/or processing data.
In a particular implementation of the hash file system disclosed herein, the symbol(s) may be derived using one or more hash or checksum generating engines, programs, or algorithms, including but not limited to MD4, MD5, SHA, SHA-1 , or their derivatives. Further, the symbol(s) may comprise parts of variable or invariable length symbols derived using a hash or checksum generating engine, program, or algorithm, including but not limited to MD4, MD5, SHA, SHA-1 , or other methods of generating probabilistically unique identifiers based on data content. In a particular implementation disclosed herein, file seeks, or lookups for retrieving data or checking on the existence/availability of data, may be accelerated by looking at all or a smaller portion of the symbol, with the symbol portion indicating or otherwise providing the routing information for finding, retrieving, or checking on the existence/availability of the data.
Further disclosed herein is a system and method for a hash file system wherein the symbols allow for the identification of redundant copies within the system and/or allow for the identification of copies within the system redundant with data presented to the system for filing and storage. The symbols allow for the elimination of, or allow for the screening of, redundant copies of the data and/or parts of the data in the system or in data and/or parts of data presented to the system, without loss of data integrity and can provide for the even distribution of data over available storage for the system. The system and method of the present invention as disclosed herein requires no central operating point and balances processing and/or input/output ("I/O") load across all computers, supercomputers, or other devices capable of storing and/or processing data attached to the system. The screening of redundant copies of the data and/or parts of the data provided herein allows for the creation, repetitive creation, or retention of intelligent boundaries for screening other data in the system, future data presented to the system, or future data stored by the system.
The present invention is illustrated and described in terms of a distributed computing environment such as an enterprise computing system using public communication channels such as the Internet. However, an important feature of the present invention is that it is readily scaled upwardly and downwardly to meet the needs of a particular application. Accordingly, unless specified to the contrary the present invention is applicable to significantly larger, more complex network environments as well as small network environments such as conventional LAN systems.
With reference now to Fig. 1 , the present invention may be utilized in conjunction with a novel data storage system on a network 10. In this figure, an exemplary internetwork environment 10 may include the Internet which comprises a global internetwork formed by logical and physical connection between multiple wide area networks ("WANs") 14 and local area networks ("LANs") 16. An Internet backbone 12 represents the main lines and routers that carry the bulk of the data traffic. The backbone 12 is formed by the largest networks in the system that are operated by major Internet service providers ("ISPs") such as GTE, MCI, Sprint, UUNet, and America Online, for example. While single connection lines are used to conveniently illustrate WANs 14 and LANs 16 connections to the Internet backbone 12, it should be understood that in reality, multi-path, routable physical connections exist between multiple WANs 14 and LANs 16. This makes internetwork 10 robust when faced with single or multiple failure points.
It is important to distinguish network connections from internal data pathways implemented between peripheral devices within a computer. A "network" comprises a system of general purpose, usually switched physical connections that enable logical connections between processes operating on nodes 18. The physical connections implemented by a network are typically independent of the logical connections that are established between processes using the network. In this manner, a heterogeneous set of processes ranging from file transfer, mail transfer, and the like can use the same physical network. Conversely, the network can be formed from a heterogeneous set of physical network technologies that are invisible to the logically connected processes using the network. Because the logical connection between processes implemented by a network is independent of the physical connection, internetworks are readily scaled to a virtually unlimited number of nodes over long distances.
In contrast, internal data pathways such as a system bus, peripheral component interconnect ("PCI") bus, Intelligent Drive Electronics ("IDE") bus, small computer system interface ("SCSI") bus, and the like define physical connections that implement special- purpose connections within a computer system. These connections implement physical connections between physical devices as opposed to logical connections between processes. These physical connections are characterized by limited distance between components, limited number of devices that can be coupled to the connection, and constrained format of devices that can be connected over the connection.
In a particular implementation of the present invention, storage devices may be placed at nodes 18. The storage at any node 18 may comprise a single hard drive, or may comprise a managed storage system such as a conventional RAID device having multiple hard drives configured as a single logical volume. Significantly, the present invention manages redundancy operations across nodes, as opposed to within nodes, so that the specific configuration of the storage within any given node is less relevant.
Optionally, one or more of the nodes 18 may implement storage allocation management ("SAM") processes that manage data storage across nodes 18 in a distributed, collaborative fashion. SAM processes preferably operate with little or no centralized control for the system as whole. SAM processes provide data distribution across nodes 18 and implement recovery in a fault-tolerant fashion across network nodes 18 in a manner similar to paradigms found in RAID storage subsystems.
However, because SAM processes operate across nodes rather than within a single node or within a single computer, they allow for greater fault tolerance and greater levels of storage efficiency than conventional RAID systems. For example, SAM processes can recover even where a network node 18, LAN 16, or WAN 14 become unavailable. Moreover, even when a portion of the Internet backbone 12 becomes unavailable through failure or congestion, the SAM processes can recover using data distributed on nodes 18 that remain accessible. In this manner, the present invention leverages the robust nature of internetworks to provide unprecedented availability, reliability, fault tolerance and robustness.
With reference additionally now to Fig. 2, a more detailed conceptual view of an exemplary network computing environment in which the present invention is implemented is depicted. The internetwork 10 of the preceding figure (or Internet 1 18 in this figure) enables an interconnected network 100 of a heterogeneous set of computing devices and mechanisms 102 ranging from a supercomputer or data center 104 to a hand-held or pen-based device 1 14. While such devices have disparate data storage needs, they share an ability to retrieve data via network 100 and operate on that data within their own resources. Disparate computing devices 102 including mainframe computers (e.g., VAX station 106 and IBM AS/400 station 116) as well as personal computer or workstation class devices such as IBM compatible device 108, Macintosh device 1 10 and laptop computer 1 12 are readily interconnected via internetwork 10 and network 100. Although not illustrated, mobile and other wireless devices may be coupled to the internetwork 10.
Internet-based network 120 comprises a set of logical connections, some of which are made through Internet 1 18, between a plurality of internal networks 122. Conceptually, Internet-based network 120 is akin to a WAN 14 (Fig. 1 ) in that it enables logical connections between geographically distant nodes. Internet-based networks 120 may be implemented using the Internet 1 18 or other public and private WAN technologies including leased lines, Fibre Channel, and the like.
Similarly, internal networks 122 are conceptually akin to LANs 16 (Fig. 1 ) in that they enable logical connections across a more limited distance than WAN 14. Internal networks 122 may be implemented using various LAN technologies including Ethernet, Fiber Distributed Data Interface ("FDDI"), Token Ring, Appletalk, Fibre Channel, and the like.
Each internal network 122 connects one or more redundant arrays of independent nodes (RAIN) elements 124 to implement RAIN nodes 18 (Fig. 1 ). Each RAIN element 124 comprises a processor, memory, and one or more mass storage devices such as hard disks. RAIN elements 124 also include hard disk controllers that may be conventional IDE or SCSI controllers, or may be managing controllers such as RAID controllers. RAIN elements 124 may be physically dispersed or co-located in one or more racks sharing resources such as cooling and power. Each node 18 (Fig. 1 ) is independent of other nodes 18 in that failure or unavailability of one node 18 does not affect availability of other nodes 18, and data stored on one node 18 may be reconstructed from data stored on other nodes 18.
In a particular exemplary implementation, the RAIN elements 124 may comprise computers using commodity components such as Intel- based microprocessors mounted on a motherboard supporting a PCI bus and 256 megabytes of random access memory ("RAM") housed in a conventional AT or ATX case. SCSI or IDE controllers may be implemented on the motherboard and/or by expansion cards connected to the PCI bus. Where the controllers are implemented only on the motherboard, a PCI expansion bus may be optionally used. In a particular implementation, the motherboard may implement two mastering EIDE channels and a PCI expansion card which is used to implement two additional mastering EIDE channels so that each RAIN element 124 includes up to four or more EIDE hard disks. In the particular implementation, each hard disk may comprise an 80 gigabyte hard disk for a total storage capacity of 320 gigabytes or more per RAIN element. The hard disk capacity and configuration within RAIN elements 124 can be readily increased or decreased to meet the needs of a particular application. The casing also houses supporting mechanisms such as power supplies and cooling devices (not shown).
Each RAIN element 124 executes an operating system. In a particular implementation, the UNIX or UNIX variant operating system such as Linux may be used. It is contemplated, however, that other operating systems including DOS, Microsoft Windows, Apple Macintosh OS, OS/2, Microsoft Windows NT and the like may be equivalently substituted with predictable changes in performance. The operating system chosen forms a platform for executing application software and processes, and implements a file system for accessing mass storage via the hard disk controller(s). Various application software and processes can be implemented on each RAIN element 124 to provide network connectivity via a network interface using appropriate network protocols such as user datagram protocol ("UDP"), transmission control protocol (TCP), Internet protocol (IP) and the like.
With reference additionally now to Fig. 3, a logic flow chart is shown depicting the steps in the entry of a computer file into the hash file system of the present invention and wherein the hash value for the file is checked against hash values for files previously maintained in a set, or database.
The process 200 begins by entry of a computer file data 202 (e.g. "File A") into the hash file system ("HFS") of the present invention upon which a hash function is performed at step 204. The data 206 representing the hash of File A is then compared to the contents of a set containing hash file values at decision step 208. If the data 206 is already in the set, then the file's hash value is added to a directory list at step 210. The contents of the set 212 comprising hash values and corresponding data is provided in the form of existing hash values 214 for the comparison operation of decision step 208. On the other hand, if the hash value for File A is not currently in the set, the file is broken into hashed pieces (as will be more fully described hereinafter) at step 216.
With reference additionally now to Fig. 4, a further logic flow chart is provided depicting the steps in the process 300 for breakup of a digital sequence (e.g. a file or other data sequence) into hashed pieces. This process 300 ultimately results in the production of a number of data pieces as well as corresponding probabilistically unique hash values for each piece. The file data 302 is divided into pieces based on commonality with other pieces in the system or the likelihood of pieces being found to be in common in the future at step 304. The results of the operation of step 304 upon the file data 302 is, in the representative example shown, the production of four file pieces 306 denominated A1 through A5 inclusively.
Each of the file pieces 306 is then operated on at step 308 by placing it through individual hash function operations to assign a probabilistically unique number to each of the pieces 306 A1 through A5. The results of the operation at step 308 is that each of the pieces 306 (A1 through A5) has an associated, probabilistically unique hash value 310 (shown as A1 Hash through A5 Hash respectively). The file division process of step 304 is described in greater detail hereinafter in conjunction with the unique "sticky byte" operation also disclosed herein.
With reference additionally now to Fig. 5, another logic flow chart is shown depicting a comparison process 400 for the hash values 310 of each piece 306 of the file to those of existing hash values 214 maintained in the set 212. Particularly, at step 402, the hash values 310 for each piece 306 of the file are compared to existing hash values 214 and new hash values 408 and corresponding new data pieces 406 are added to the set 212. In this way, hash values 408 not previously present in the database set 212 are added together with their associated data pieces 406. The process 400 also results in the production of records 404 showing the equivalence of a single hash value for all file pieces with the hash values 310 of the various pieces 306.
With reference additionally now to Fig. 6, yet another logic flow chart is shown illustrating a process 500 for the comparison of file hash or directory list hash values to existing directory list hash values and the addition of new file or directory list hash values to the database directory list. The process 500 operates on stored data 502 which comprises an accumulated list of file names, file meta-data (e.g. date, time, file length, file type etc.) and the file's hash value for each item in a directory. At step 504, the hash function is run upon the contents of the directory list. Decision step 506 is operative to determine whether or not the hash value for the directory list is in the set 212 of existing hash values 214. If it is, then the process 500 returns to add another file hash or directory list hash to a directory list. Alternatively, if the hash value for the directory list is not already in the database set 212, the has,h value and data for the directory list are added to the database 212 set at step 508.
With reference additionally now to Fig. 7, a comparison 600 of the pieces 306 of a representative computer file (i.e. "File A") with their corresponding hash values 310 is shown both before and after editing of a particular piece of the exemplary file. In this example, the record 404 contains the hash value of File A as well as the hash values 310 of each of the pieces of the file A1 through A5. A representative edit of the File A may produce a change in the data for piece A2 (now represented by A2-b) of the file pieces 306A along with a corresponding change in the hash value A2-b of the hash values 310A. The edited file piece now produces an updated record 404A which includes the modified hash value of File A and the modified hash value of piece A2-b.
With reference additionally now to Fig. 8, a conceptual representation 700 is shown illustrative of the fact that composite data (such as composite data 702 and 704) derived by means of the system and method of the present invention, is effectively the same as the data 706 represented explicitly but is instead created by a "recipe", or formula. In the example shown, this recipe includes the concatenation of data represented by its corresponding hashes 708 or the result of a function using the data represented by the hashes. The data blocks 706 may be variable length quantities as shown and the hash values 708 are derived from their associated data blocks. As previously stated, the hash values 708 are a probabilistically unique identification of the corresponding data pieces but truly unique identifications can be used instead or intermixed therewith. It should also be noted that the composite data 702, 704 can also reference other composite data many levels deep while the hash values 708 for the composite data can be derived from the value of the data the recipe creates or the hash value of the recipe itself. With reference additionally now to Fig. 9, another conceptual representation 800 is shown of how the hash file system and method of the present invention may be utilized to organize data 802 to optimize the reutilization of redundant sequences through the use of hash values 806 as pointers to the data they represent and wherein data 802 may be represented either as explicit byte sequences (atomic data) 808 or as groups of sequences (composites) 804.
The representation 800 illustrates the tremendous commonality of recipes and data that gets reused at every level. The basic structure of the hash file system of the present invention is essentially that of a "tree" or "bush" wherein the hash values 806 are used instead of conventional pointers. The hash values 806 are used in the recipes to point to the data or another hash value that could also itself be a recipe. In essence then, recipes can point to other recipes that point to still other recipes that ultimately point to some specific data that may, itself, point to other recipes that point to even more data, eventually getting down to nothing but data.
With reference additionally now to Fig. 10, a simplified diagram 900 is shown illustrative of a hash file system address translation function for an exemplary 160 bit hash value 902. The hash value 902 includes a data structure comprising a front portion 904 and a back portion 906 as shown and the diagram 900 illustrates a particular "0 of 1 " operation that is used for enabling the use of the hash value 902 to go to the location of the particular node in the system that contains the corresponding data.
The diagram 900 illustrates how the front portion 904 of the hash value 902 data structure may be used to indicate the hash prefix to stripe identification ("ID") 908 and how that is, in turn, utilized to map the stripe ID to IP address and the ID class to IP address 910. In this example, the "S2" indicates stripe 2 of index Node 37 912. The index stripe 912 of Node 37 then indicates stripe 88 of data Node 73 indicated by the reference numeral 914. In operation then, a portion of the hash value 902 itself may be used to indicate which node in the system contains the relevant data, another portion of the hash value 902 may be used to indicate which stripe of data at that particular node and yet another portion of the hash value 902 to indicate where within that stripe the data resides. Through this three step process, it can rapidly be determined if the data represented by the hash value 902 is already present in the system.
With reference additionally now to Fig. 1 1 , a simplified exemplary illustration of an index stripe splitting function 1000 is shown for use with the system and method of the present invention. In this illustration, an exemplary function 1000 is shown that may be used to effectively split a stripe 1002 (S2) into two stripes 1004 (S2) and 1006 (S7) should one stripe become too full. In this example, the odd entries have been moved to stripe 1006 (S7) while the even ones remain in stripe 1004. This function 1000 is one example of how stripe entries may be handled as the overall system grows in size and complexity.
With reference additionally now to Fig. 12, a simplified illustration 1 100 of the overall functionality of the system and method of the present invention is shown for use, for example, in the backup of data for a representative home computer having a number of program and document files 1 102A and 1104A on Day 1 and wherein the program files 1102B remain the same on Day 2 while one of the document files 1 104B is edited on Day 2 (Y.doc) together with the addition of a third document file (Z.doc). The illustration 1 100 shows the details of how a computer file system may be broken into pieces and then listed as a series of recipes on a global data protection network ("gDPN") to reconstruct the original data from the pieces. This very small computer system is shown in the form of a "snapshot" on "Day 1 " and then subsequently on "Day 2". On "Day 1 ", the "program files H5" and "my documents H6" are illustrated by numeral 1 106, with the former being represented by a recipe 1108 wherein a first executable file is represented by a hash value H1 1 1 14 and a second represented by a hash value H2 1 1 12. The document files are represented by hash value H6 1 1 10 with the first document being represented by hash value H3 1 1 18 and the second by hash value H4 1 1 16. Thereafter on "Day 2", the "program files H5" and "my documents" H10 indicated by numeral 1 120 show that the "program files H5" have not changed, but the "my document H 10" have. H10 indicated by numeral 1 122 shows the "X.doc" is still represented by hash value H3 1118 while "Y.doc" is now represented by hash value H8 at number 1 124. New document file "Z.doc" is now represented by hash value H9 at numeral 1126.
In this example, it can be seen that on Day 2, some of the files have changed, while others have not. In the files that have changed, some of the pieces of them have not changed while other pieces have. Through the use of the hash file system of the present invention, a "snap shot" of the computer system can be made on Day 1 (producing the necessary recipes for reconstruction of the computer files as they exist then) and then on Day 2 through the reuse of some of the previous day's recipes together with the reformulation of others and the addition of new ones to describe the system at that time. In this manner, the computer system may be recreated in its entirety at any point in time on both Day 1 or Day 2 as well as on any subsequent day.
With reference additionally now to Fig. 13, a comparison 1200 of various pieces of a particular document file marked by a number of "sticky bytes" 1204 is shown both before (Day 1 1202A) and following editing (Day 2 1202B) wherein one of the pieces is thereby changed while other pieces remain the same.
For example, on Day 1 , file 1202A comprises variable length pieces 1206 (1.1 ), 1208 (1.2), 1210 (2.1 ), 1212 (2.), 1214 (2.3) and 1216 (3.1 ). On Day 2, pieces 1206, 1208, 1210, 1214 and 1216 remain the same (thus having the same hash values) while piece 1212 has now been edited to produce piece 1212A (thus having a differing hash value).
Data sticky bytes (or "sticky points") are a unique, fully automated way to sub-divide computer files such that common elements may be found on multiple related and unrelated computers without the need for communication between the computers. The means in which data sticky points are found is completely mathematical in nature and performs equally well regardless of the data content of the files. In the hash file system of the present invention, all data objects may be indexed, stored and retrieved using, for example (but not limited to), an industry standard checksum such as: MD4, MD5, SHA, or SHA-1. In operation, if two files have the same checksum, it may be considered to be highly likely that they are the same file. Using the system and method disclosed herein, data sticky points may be produced with a standard mathematical distribution and with standard deviations that are a small percentage of the target size.
A data sticky point is a statistically infrequent arrangement of n bytes. In this case, an example is given with 32 bytes because of its ease in implementation in current microprocessor technology. A rolling hash of 32 bits could be generated for the file "f".
//f[i] = is the ith byte of the file "f".
//scramble is a 256 entry array of integers with each //being 32 bits wide; //these integers are typically chosen to uniformly //span the range. int t=8 //target number of trailing zeros int hash = 0; int sticky_bits; for(int i=0; i<filesize; i++) hash = hash » 1 |scramble[f[i]];
//At every byte in the file, hash represents the //rolling hash of the file. sticky_bits = (hash - 1 )Λhash;
//sticks_bits is a variable which will have the //number of ones in the hash
//that correspond to the number of trailing zeros in //the "hash". number_of_bits = count_ones(stick-bits); if(number_of_bits > t) output_sticky_point(i); }
A sticky point is defined to be a rolling hash with at least the number of trailing zeros as the target number with the hash represented in binary. Statistically speaking, this algorithm will find points that are spaced at 2Λt, where t is the target number of trailing zeros. For this example where t=8, the algorithm will find, on average, sticky points that are spaced at 2Λ8=256 bytes apart.
A rolling hash of 32 bits may be generated for the f file where:
f[i] = is the ith byte of the file f. scramble is a 256 entry array of random elements with each being n bits wide; int t=8 // target number of trailing zeros int target_distance = 256; // 2 to the power of 8 int hash = 0; int sticky_bits; int distance = 0; int last_point = 0; for(int i=0; i<filesize; i++) { hash = hash » 1 | scramble[f[i]];
//At every byte in the file hash represents the //rolling hash of the file. sticky_bits = (hash - 1 )Λhash; //sticks_bits is a variable which will have the //number of ones that correspond to the number of //trailing zeros in the "hash". number_of_bits = count_ones(stick_bits); distance = i-last_point; if(number_of_bits * distance/target_distance >t) last_point =i; output_sticky_point(i);
} }
While the hashing function utilized to implement the hash file system of the present invention requires a moderately complex computation, it is well within the capability of present day computer systems. Hashing functions are inherently probabilistic and any hashing function might possibly produce incorrect results when two different data objects happen to have the same hash value. However, the system and method herein disclosed mitigates this problem by using well known and researched hashing functions that reduce the probability of collision down to levels acceptable for reliable use (i.e. one chance in a trillion trillion), far less than the error rates otherwise tolerated in conventional computer hardware operations. Although as used herein, the term "Internet infrastructure" encompasses a variety of hardware and software mechanisms, the term primarily refers to routers, router software, and physical links between these routers that function to transport data packets from one network node to another. As also used herein, a "digital sequence" may comprise, without limitation, computer program files, computer applications, data files, network packets, streaming data such as multimedia (including audio and video), telemetry data and any other form of data which can be represented by a digital or numeric sequence. The probabilistically unique identifiers produced by means of the hash file system and method of the present invention may also be used as URLs in network applications.
While there have been described above the principles of the present invention in conjunction with specific implementations and applications of the system and method of the present invention, it is to be clearly understood that the foregoing description is made only by way of example and not as a limitation to the scope of the invention. Particularly, it is recognized that the teachings of the foregoing disclosure will suggest other modifications to those persons skilled in the relevant art. Such modifications may involve other features which are already known per se and which may be used instead of or in addition to features already described herein. Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure herein also includes any novel feature or any novel combination of features disclosed either explicitly or implicitly or any generalization or modification thereof which would be apparent to persons skilled in the relevant art, whether or not such relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as confronted by the present invention. The applicants hereby reserve the right to formulate new claims to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom.

Claims

CLAIMS What is claimed is:
1 . A method for managing data comprising: producing a probabilistically unique identifier for a digital sequence; and comparing said probabilistically unique identifier to a list of other identifiers with their corresponding digital sequences.
2. The method of claim 1 further comprising: adding said probabilistically unique identifier to said list if said probabilistically unique identifier is not previously in said list.
3. The method of claim 1 further comprising: removing said probabilistically unique identifier from said list if said probabilistically unique identifier is previously in said list.
4. The method of claim 2 further comprising: adding said digital sequence corresponding to said probabilistically unique identifier to said list.
5. The method of claim 3 further comprising: removing said digital sequence corresponding to said probabilistically unique identifier from said list.
6. The method of claim 4 further comprising: adding a correspondence between said digital sequence and said probabilistically unique identifier for that sequence.
7. The method of claim 1 wherein said step of producing comprises: hashing said digital sequence to produce said probabalistically unique identifier.
8. The method of claim 7 wherein said step of hashing is carried out by means of an industry standard digest algorithm.
9. The method of claim 8 wherein said step of hashing is carried out by one of an MD4, MD5, SHA or SHA-1 algorithm.
10. The method of claim 1 wherein said step of producing comprises: generating a checksum for said digital sequence to produce said probabilistically unique identifier.
1 1. The method of claim 1 wherein said digital sequence is descriptive meta data of at least one other digital sequence.
12. The method of claim 1 wherein said digital sequence is descriptive meta data of at least one probabilistically unique identifier.
13. The method of claim 1 wherein said digital sequence describes a method that represents at least one digital sequence.
14. A method for managing data comprising: dividing a digital sequence into a plurality of shorter digital sequences; and producing probabilistically unique identifiers for each said plurality of shorter digital sequences; and comparing said probabilistically unique identifiers to a list of other identifiers.
15. The method of claim 14 further comprising the step of: dividing said digital sequence into a plurality of shorter digital sequences; and producing a like plurality of probabilistically unique identifiers corresponding to each of said plurality of shorter digital sequences.
16. The method of claim 14 further comprising; comparing each plurality of identifiers to said list.
17. The method of claim 14 wherein said step of dividing produces said shorter digital sequences having individually variable lengths.
18. The method of claim 14 wherein said step of dividing is based on the content of said digital sequence.
19. The method of claim 14 wherein said step of dividing is based on meta data describing said digital sequence.
20. The method of claim 14 wherein said step of dividing produces said shorter digital sequences having substantially invariable lengths.
21 . The method of claim 14 wherein said step of producing said like plurality of probabilistically unique identifiers comprises: individually hashing said shorter digital sequences to produce said like plurality of probabilistically unique identifiers.
22. The method of claim 14 further comprising the step of: adding said plurality of shorter digital sequences and said corresponding like plurality of probabilistically unique identifiers to said list.
23. The method of claim 14 further comprising the step of: removing said plurality of shorter digital sequences and said corresponding like plurality of probabilistically unique identifiers from said list.
24. The method of claim 9 further comprising the step of: utilizing at least a portion of said probabilistically unique identifier as an indicator to a location in said list for said step of comparing.
25. A computing environment comprising: at least one list for maintaining portions of digital sequences and corresponding probabilistically unique identifiers for each of said portions of said digital sequences; at least one new digital sequence; at least one partitioning mechanism for dividing said new digital sequence into a plurality of shorter digital sequences and producing a probabilistically unique identifier for each of said shorter digital sequences; and a comparison mechanism for determining if any one of said probabilistically unique identifiers for each of said plurality of shorter digital sequences is currently maintained in said list.
26. The computing environment of claim 25 wherein said at least one list comprises a plurality or lists.
27. The computing environment of claim 26 wherein said plurality of lists, each contain a portion of said probabilistically unique identifiers.
28. The computing environment of claim 26 wherein at least one of said plurality of lists is physically displaced from others of said at least one list.
29. The computing environment of claim 26 wherein said plurality of lists is partitioned based on said probabilistically unique identifiers.
30. The computing environment of claim 28 wherein said plurality of lists are coupled by means of a network.
31. The computing environment of claim 25 wherein said at least one list is physically displaced from said at least one partitioning mechanism.
32. The computing environment of claim 25 wherein said list comprises a physically distributed database.
33. The computing environment of claim 25 wherein said at least one partitioning mechanism and said at least one list are coupled by means of a network.
34. The computing environment of claim 33 wherein said network comprises a public network such as the internet.
35. The computing environment of claim 34 wherein said at least one partitioning mechanism and said at least one list are physically distributed.
36. The computing environment of claim 25 wherein said probabilistically unique identifiers are produced by means of a hash function.
37. The computing environment of claim 36 wherein said hash function comprises an industry standard digest algorithm.
38. The computing environment of claim 37 wherein said hash function comprises one of MD4, MD5 SHA or SHA-1 algorithms.
39. The computing environment of claim 36 wherein said probabilistically unique identifiers are produced by means of a checksum.
40. The computing environment of claim 25 wherein said digital sequences are of variable length.
41. The computing environment of claim 25 wherein said digital sequences are of invariable length.
42. The computing environment of claim 31 wherein said comparison mechanism is operative to utilize at least a portion of said probabilistically unique identifiers for each of said plurality of said shorter digital sequences as a locator correlated with said list partitions.
43. The computing environment of claim 25 wherein said digital sequence comprises a data file.
44. The computing environment of claim 25 wherein said digital sequence comprises a data stream.
45. The computing environment of claim 25 wherein said digital sequence comprises an executable file.
46. The computing environment of claim 25 wherein said digital sequence comprises a database record.
47. The computing environment of claim 25 wherein said digital sequence comprises a database index.
48. The computing environment of claim 25 wherein said digital sequence comprises a digital device image.
49. The computing environment of claim 25 wherein said digital sequence comprises a network packet.
50. The computing environment of claim 25 wherein said digital sequence comprises a digitized analog signal.
51. The computing environment of claim 25 wherein any of said probabilistically unique identifiers and corresponding ones of said plurality of shorter digital sequences not determined to be maintained in said at least one list are added to said at least one list.
52. A computer program product comprising: a computer usable medium having computer readable code embodied therein for managing data, said computer program product comprising: computer readable program code devices configured to cause a computer to effect producing a probabilistically unique identifier for a digital sequence; and computer readable program code devices configured to cause a computer to effect comparing said probabilistically unique identifier to a list of other identifiers corresponding to other digital sequences.
53. The computer program product of claim 52 further comprising: computer readable program code devices configured to cause a computer to effect adding said probabilistically unique identifier to said list if said probabilistically unique identifier is not previously in said list.
54. The computer program product of claim 53 further comprising: computer readable program code devices configured to cause a computer to effect adding said corresponding digital sequence to said list.
55. The computer program product of claim 52 wherein said computer readable program code devices configured to cause said computer to effect producing comprises: computer readable program code devices configured to cause a computer to effect hashing said digital sequence to produce said probabilistically unique identifier.
56. The computer program product of claim 55 wherein said computer readable program code devices configured to cause a computer to effect hashing is carried out by means of an industry standard digest algorithm.
57. The computer program product of claim 56 wherein said computer readable program code devices configured to cause a computer to effect hashing is carried out by one of an MD4, MD5, SHA or SHA-1 algorithm.
58. The computer program product of claim 52 wherein said computer readable program code devices configured to cause a computer to effect producing comprises: computer readable program code devices configured to cause a computer to effect generating a checksum for said digital sequence to produce said probabilistically unique identifier.
59. The computer program product of claim 52 further comprising: computer readable program code devices configured to cause a computer to effect creating a directory list containing said probabilistically unique identifier for said digital sequence.
60. The computer program product of claim 52 further comprising: computer readable program code devices configured to cause a computer to effect dividing said digital sequence into a plurality of shorter digital sequences; and computer readable program code devices configured to cause a computer to effect producing a like plurality of probabilistically unique identifiers corresponding to each of said plurality of shorter digital sequences.
61. The computer program product of claim 60 wherein said computer readable program code devices configured to cause a computer to effect dividing produces said shorter digital sequences having individually variable length.
62. The computer program product of claim 60 wherein said computer readable program code devices configured to cause a computer to effect dividing produces said shorter digital sequences having substantially invariable length.
63. The computer program product of claim 60 wherein said computer readable program code devices configured to cause a computer to effect producing said like plurality of probabilistically unique identifiers comprises: computer readable program code devices configured to cause a computer to effect individually hashing said shorter digital sequences to produce said like plurality of probabilistically unique identifiers.
64. The computer program product of claim 60 further comprising: computer readable program code devices configured to cause a computer to effect adding said plurality of shorter digital sequences and said corresponding like plurality of probabilistically unique identifiers to said list.
65. The computer program product of claim 52 further comprising: computer readable program code devices configured to cause a computer to effect utilizing at least a portion of said probabilistically unique identifier as an index into a table of locations for said list for said step of comparing.
66. A method for establishing an identifier for at least a portion of a digital sequence comprising: performing a function on said at least a portion of said digital sequence to produce a probabilistically unique symbol therefore; establishing a correspondence between said at least a portion of said digital sequence and said probabilistically unique symbol; and utilizing said probabilistically unique symbol as said identifier.
67. The method of claim 66 wherein said identifier and said corresponding at least a portion of said digital sequence are maintained in at least one data list.
68. The method of claim 67 wherein at least a portion of said identifier is utilizable as a pointer to a location of said corresponding at least a portion of said digital sequence within said at least one data list.
69. The method of claim 66 wherein said at least a portion of said digital sequence comprises at least a portion of a data file and said identifier is uniquely related to a content of said at least a portion of said data file.
70. The method of claim 66 wherein said at least a portion of said digital sequence comprises at least a portion of a data stream and said identifier is uniquely related to a content of said at least a portion of said data stream.
71. The method of claim 66 wherein said at least a portion of said digital sequence comprises at least a portion of an executable file and said identifier is uniquely related to a content of said at least a portion of said executable file.
72. The method of claim 66 wherein said step of performing a function is carried out by the step of: hashing said at least a portion of said digital sequence to produce said probabilistically unique symbol.
73. The method of claim 72 wherein said step of hashing is carried out by means of an industry standard digest algorithm.
74. The method of claim 73 wherein said step of hashing is carried out by means of one of an MD4, MD5, SHA or SHA-1 algorithm.
75. A computer program product comprising: a computer usable medium having computer readable code embodied therein for establishing an identifier for at least a portion of a digital sequence comprising: computer readable program code devices configured to cause a computer to effect performing a function on said at least a portion of said digital sequence to produce a probabilistically unique symbol therefore; computer readable program code devices configured to cause a computer to effect establishing a correspondence between said at least a portion of said digital sequence and said probabilistically unique symbol; and computer readable program code devices configured to cause a computer to effect utilizing said probabilistically unique symbol as said identifier.
76. The computer program product of claim 75 wherein said identifier and said corresponding at least a portion of said digital sequence are maintained in at least one data list.
77. The computer program product of claim 76 wherein at least a portion of said identifier is utilizable as a pointer to a location of said corresponding at least a portion of said digital sequence within said at least one data list.
78. The computer program product of claim 75 wherein said at least a portion of said digital sequence comprises at least a portion of a data file and said identifier is uniquely related to a content of said at least a portion of said data file.
79. The computer program product of claim 75 wherein said at least a portion of said digital sequence comprises at least a portion of a data stream and said identifier is uniquely related to a content of said at least a portion of said data stream.
80. The computer program product of claim 75 wherein said at least a portion of said digital sequence comprises at least a portion of an executable file and said identifier is uniquely related to a content of said at least a portion of said executable file.
81. The computer program product of claim 75 wherein said computer readable program code devices configured to cause a computer to effect performing a function is carried out by: computer readable program code devices configured to cause a computer to effect hashing said at least a portion of said digital sequence to produce said probabilistically unique symbol.
82. The computer program product of claim 81 wherein said computer readable program code devices configured to cause a computer to effect hashing is carried out by means of an industry standard digest algorithm.
83. The computer program product of claim 82 wherein said computer readable program code devices configured to cause a computer to effect hashing is carried out by means of one of an MD4, MD5, SHA or SHA-1 algorithm.
84. A method for managing data comprising: producing a probabilistically unique identifier for a digital sequence; and comparing said probabilistically unique identifier to a list of other identifiers corresponding to other digital sequences.
85. The method of claim 84 further comprising: adding said probabilistically unique identifier to said list if said probabilistically unique identifier is not previously in said list.
EP01910686A 2000-02-18 2001-02-14 Hash file system and method for use in a commonality factoring system Ceased EP1269350A4 (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US777150 1985-09-18
US18376200P 2000-02-18 2000-02-18
US183762P 2000-02-18
US24592000P 2000-11-06 2000-11-06
US245920P 2000-11-06
US09/777,150 US6704730B2 (en) 2000-02-18 2001-02-05 Hash file system and method for use in a commonality factoring system
PCT/US2001/004763 WO2001061563A1 (en) 2000-02-18 2001-02-14 Hash file system and method for use in a commonality factoring system

Publications (2)

Publication Number Publication Date
EP1269350A1 true EP1269350A1 (en) 2003-01-02
EP1269350A4 EP1269350A4 (en) 2006-08-16

Family

ID=27391739

Family Applications (1)

Application Number Title Priority Date Filing Date
EP01910686A Ceased EP1269350A4 (en) 2000-02-18 2001-02-14 Hash file system and method for use in a commonality factoring system

Country Status (6)

Country Link
EP (1) EP1269350A4 (en)
JP (1) JP4846156B2 (en)
KR (1) KR100860821B1 (en)
AU (2) AU2001238269B2 (en)
CA (1) CA2399555A1 (en)
WO (1) WO2001061563A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160397A (en) * 2012-01-17 2014-11-19 苹果公司 Location independent files

Families Citing this family (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7412462B2 (en) 2000-02-18 2008-08-12 Burnside Acquisition, Llc Data repository and method for promoting network storage of data
US6810398B2 (en) * 2000-11-06 2004-10-26 Avamar Technologies, Inc. System and method for unorchestrated determination of data sequences using sticky byte factoring to determine breakpoints in digital sequences
US7509356B2 (en) * 2001-09-06 2009-03-24 Iron Mountain Incorporated Data backup
US6795903B2 (en) * 2002-01-17 2004-09-21 Thomas Licensing S.A. System and method for searching for duplicate data
US6667700B1 (en) * 2002-10-30 2003-12-23 Nbt Technology, Inc. Content-based segmentation scheme for data compression in storage and transmission including hierarchical segment representation
US7478096B2 (en) 2003-02-26 2009-01-13 Burnside Acquisition, Llc History preservation in a computer storage system
EP1607868A4 (en) * 2003-03-10 2009-04-22 Sharp Kk Data processing device, data processing program, and recording medium
US7092976B2 (en) * 2003-06-24 2006-08-15 International Business Machines Corporation Parallel high speed backup for a storage area network (SAN) file system
US7428557B2 (en) * 2004-03-22 2008-09-23 Microsoft Corporation Efficient data transfer to/from storage medium of computing device
JP4568532B2 (en) * 2004-05-13 2010-10-27 日本無線株式会社 Wireless device control system, wireless device and control device
US8725705B2 (en) 2004-09-15 2014-05-13 International Business Machines Corporation Systems and methods for searching of storage data with reduced bandwidth requirements
US7523098B2 (en) 2004-09-15 2009-04-21 International Business Machines Corporation Systems and methods for efficient data searching, storage and reduction
EP1866776B1 (en) * 2005-03-11 2015-12-30 Rocksoft Limited Method for detecting the presence of subblocks in a reduced-redundancy storage system
WO2006094365A1 (en) * 2005-03-11 2006-09-14 Rocksoft Limited Method for storing data with reduced redundancy using data clusters
US7831793B2 (en) * 2006-03-01 2010-11-09 Quantum Corporation Data storage system including unique block pool manager and applications in tiered storage
EP2013974B1 (en) * 2006-04-07 2018-07-11 Data Storage Group Data compression and storage techniques
US8832045B2 (en) 2006-04-07 2014-09-09 Data Storage Group, Inc. Data compression and storage techniques
US8051043B2 (en) 2006-05-05 2011-11-01 Hybir Inc. Group based complete and incremental computer file backup system, process and apparatus
US8412682B2 (en) * 2006-06-29 2013-04-02 Netapp, Inc. System and method for retrieving and using block fingerprints for data deduplication
US7921077B2 (en) * 2006-06-29 2011-04-05 Netapp, Inc. System and method for managing data deduplication of storage systems utilizing persistent consistency point images
GB2446200A (en) * 2006-12-01 2008-08-06 David Irvine Encryption system for peer-to-peer networks which relies on hash based self-encryption and mapping
GB2444344A (en) * 2006-12-01 2008-06-04 David Irvine File storage and recovery in a Peer to Peer network
JP5020673B2 (en) 2007-03-27 2012-09-05 株式会社日立製作所 A computer system that prevents the storage of duplicate files
US8490078B2 (en) * 2007-09-25 2013-07-16 Barclays Capital, Inc. System and method for application management
US8447938B2 (en) * 2008-01-04 2013-05-21 International Business Machines Corporation Backing up a deduplicated filesystem to disjoint media
JP5084551B2 (en) 2008-02-26 2012-11-28 Kddi株式会社 Data backup method, storage control communication device and program using deduplication technology
JP5248912B2 (en) * 2008-05-12 2013-07-31 株式会社日立製作所 Server computer, computer system, and file management method
US7992037B2 (en) * 2008-09-11 2011-08-02 Nec Laboratories America, Inc. Scalable secondary storage systems and methods
CA2675915C (en) * 2008-09-11 2015-04-28 Nec Laboratories America, Inc. Content addressable storage systems and methods employing searchable blocks
JP5313600B2 (en) * 2008-09-16 2013-10-09 株式会社日立製作所 Storage system and storage system operation method
KR101046025B1 (en) * 2008-10-07 2011-07-01 이경수 Embedded system data extraction device and method
JP5444728B2 (en) * 2009-01-26 2014-03-19 日本電気株式会社 Storage system, data writing method in storage system, and data writing program
JP5463746B2 (en) * 2009-06-15 2014-04-09 日本電気株式会社 Archive storage device, storage system, data storage method, and data storage program
JP5254141B2 (en) * 2009-07-14 2013-08-07 富士通株式会社 Archive device, data storage program, and data storage method
JP4856217B2 (en) 2009-07-21 2012-01-18 富士通株式会社 Data storage program, data storage method, and data storage system
CN102792281B (en) * 2010-03-04 2015-11-25 日本电气株式会社 Memory device
US20110314070A1 (en) * 2010-06-18 2011-12-22 Microsoft Corporation Optimization of storage and transmission of data
JP5650982B2 (en) 2010-10-25 2015-01-07 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Apparatus and method for eliminating file duplication
CN103873503A (en) * 2012-12-12 2014-06-18 鸿富锦精密工业(深圳)有限公司 Data block backup system and method
US10102218B2 (en) * 2014-09-30 2018-10-16 Microsoft Technology Licensing, Llc File system with per-extent checksums
KR101613146B1 (en) * 2015-03-24 2016-04-18 주식회사 티맥스데이터 Method for encrypting database
CN109639807A (en) * 2018-12-19 2019-04-16 中国四维测绘技术有限公司 A kind of massive remote sensing image file network transmission method based on slice slice

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5202982A (en) * 1990-03-27 1993-04-13 Sun Microsystems, Inc. Method and apparatus for the naming of database component files to avoid duplication of files
EP0947932A2 (en) * 1998-04-02 1999-10-06 Mitsubishi Denki Kabushiki Kaisha File version reconciliation using hash codes
US5978791A (en) * 1995-04-11 1999-11-02 Kinetech, Inc. Data processing system using substantially unique identifiers to identify data items, whereby identical data items have the same identifiers
US5990810A (en) * 1995-02-17 1999-11-23 Williams; Ross Neil Method for partitioning a block of data into subblocks and for storing and communcating such subblocks
US6021491A (en) * 1996-11-27 2000-02-01 Sun Microsystems, Inc. Digital signatures for data streams and data archives

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5126739A (en) * 1989-01-13 1992-06-30 Stac Electronics Data compression apparatus and method
US5016009A (en) * 1989-01-13 1991-05-14 Stac, Inc. Data compression apparatus and method
US5140321A (en) 1991-09-04 1992-08-18 Prime Computer, Inc. Data compression/decompression method and apparatus
US5406279A (en) 1992-09-02 1995-04-11 Cirrus Logic, Inc. General purpose, hash-based technique for single-pass lossless data compression
JPH06103127A (en) * 1992-09-22 1994-04-15 Kanebo Ltd Device for managing hash file data and method thereof
US5754844A (en) * 1995-12-14 1998-05-19 Sun Microsystems, Inc. Method and system for accessing chunks of data using matching of an access tab and hashing code to generate a suggested storage location
US5831558A (en) * 1996-06-17 1998-11-03 Digital Equipment Corporation Method of compressing and decompressing data in a computer system by encoding data using a data dictionary
US5850565A (en) * 1996-08-26 1998-12-15 Novell, Inc. Data compression method and apparatus
US7062648B2 (en) * 2000-02-18 2006-06-13 Avamar Technologies, Inc. System and method for redundant array network storage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5202982A (en) * 1990-03-27 1993-04-13 Sun Microsystems, Inc. Method and apparatus for the naming of database component files to avoid duplication of files
US5990810A (en) * 1995-02-17 1999-11-23 Williams; Ross Neil Method for partitioning a block of data into subblocks and for storing and communcating such subblocks
US5978791A (en) * 1995-04-11 1999-11-02 Kinetech, Inc. Data processing system using substantially unique identifiers to identify data items, whereby identical data items have the same identifiers
US6021491A (en) * 1996-11-27 2000-02-01 Sun Microsystems, Inc. Digital signatures for data streams and data archives
EP0947932A2 (en) * 1998-04-02 1999-10-06 Mitsubishi Denki Kabushiki Kaisha File version reconciliation using hash codes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of WO0161563A1 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104160397A (en) * 2012-01-17 2014-11-19 苹果公司 Location independent files

Also Published As

Publication number Publication date
WO2001061563A1 (en) 2001-08-23
CA2399555A1 (en) 2001-08-23
AU3826901A (en) 2001-08-27
KR100860821B1 (en) 2008-09-30
KR20020082851A (en) 2002-10-31
JP2003524243A (en) 2003-08-12
AU2001238269B2 (en) 2006-06-22
JP4846156B2 (en) 2011-12-28
EP1269350A4 (en) 2006-08-16

Similar Documents

Publication Publication Date Title
US6704730B2 (en) Hash file system and method for use in a commonality factoring system
AU2001238269B2 (en) Hash file system and method for use in a commonality factoring system
AU2001238269A1 (en) Hash file system and method for use in a commonality factoring system
AU2001296665B2 (en) System for identifying common digital sequences
AU2001296665A1 (en) System for identifying common digital sequences
US9967298B2 (en) Appending to files via server-side chunking and manifest manipulation
US7457800B2 (en) Storage system for randomly named blocks of data
US8200788B2 (en) Slice server method and apparatus of dispersed digital storage vaults
EP2147437B1 (en) Seeding replication
US20070255758A1 (en) System and method for sampling based elimination of duplicate data
EP2758883A1 (en) Handling data extent size asymmetry during logical replication in a storage system
Kumar et al. Differential Evolution based bucket indexed data deduplication for big data storage
Phyu et al. Efficient data deduplication scheme for scale-out distributed storage
Bhagwat DOCTOR OF PHILOSOPHY in COMPUTER SCIENCE
Dmitry RP* ha-A HIGH-AVAILABILITY SCALABLE DISTRIBUTED DATA STRUCTURE BASED ON RANGE PARTITIONING

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20020917

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE TR

AX Request for extension of the european patent

Free format text: AL;LT;LV;MK;RO;SI

A4 Supplementary search report drawn up and despatched

Effective date: 20060714

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: EMC CORPORATION

17Q First examination report despatched

Effective date: 20090211

REG Reference to a national code

Ref country code: DE

Ref legal event code: R003

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20170912