×

Multi-level nested open hashed data stores

  • US 7,464,103 B2
  • Filed: 10/29/2004
  • Issued: 12/09/2008
  • Est. Priority Date: 10/29/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for storing data records in a tree structure comprising a root bucket and a plurality of levels comprising buckets, the buckets comprising leaf and non-leaf buckets, each bucket having a unique bucket identifier, the buckets storing the data records, each data record having a corresponding key, the method comprising:

  • providing a hash function that maps different pairs of values to respective single hash values;

    receiving a new key for a new data record to be stored in the tree structure;

    responsive to determining that the root bucket does not have sufficient available space to store the new data record, using the hash function to map the identifier of the root bucket and the key of the new data record to a hash value, the hash value being computed as a function of the key combined with the identifier of the root bucket such that the key and the identifier of the root bucket are mapped to the hash value according to the hash function;

    identifying an identifier of a child bucket of the root bucket in the tree structure, where the identifier of the child bucket is identified based on the hash table value;

    responsive to determining that the child bucket does not have sufficient available space to store the new data record, hashing the identifier of the child bucket and the key of the new data record to compute a second hash value which is used to identify a child bucket at a third level in the tree structure; and

    responsive to determining that the child bucket does have sufficient available space to store the new data record, storing the new data record in the child bucket.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×