Apparatus and method for searching a n-branch data structure using information in entries
First Claim
Patent Images
1. A method for searching a data structure, the method comprising:
- hashing a search key to generate a hash result;
determining a first entry in a plurality of entries in the data structure using the hash result;
determining if the first entry corresponds to the search key;
if the first entry does not correspond to the search key, using information in the first entry to determine a second entry in the data structure, the second entry included in a branch of a plurality of branches associated with the first entry;
if the first entry does correspond to the search key, performing an action on information stored in the first entry.
3 Assignments
0 Petitions
Accused Products
Abstract
Techniques for searching a data structure using information in entries found in the data structure are provided. A key is determined for an entry in a data structure and an entry for that key is accessed. It is determined if that entry is the correct entry for the key. If not, information in the entry is used to determine a second entry for the key. It is then determined if the second entry is the correct entry for the key. If not, the process continues as described above until the correct entry is found.
-
Citations
24 Claims
-
1. A method for searching a data structure, the method comprising:
-
hashing a search key to generate a hash result; determining a first entry in a plurality of entries in the data structure using the hash result; determining if the first entry corresponds to the search key; if the first entry does not correspond to the search key, using information in the first entry to determine a second entry in the data structure, the second entry included in a branch of a plurality of branches associated with the first entry; if the first entry does correspond to the search key, performing an action on information stored in the first entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for searching a data structure, the method comprising:
-
(a) hashing a search key to generate a hash result; (b) determining an entry in a plurality of entries in the data structure using the hash result; (c) determining if an entry key in the entry corresponds to the search key; (d) if the entry key does not correspond to the search key, repeating step (c) using a subsequent entry until the entry key from the subsequent entry corresponds to the search key, wherein the subsequent entry is determined using information in the entry, wherein as step (c) is repeated using a first subsequent entry and a second subsequent entry, different information in the search key is used to determine the second subsequent entry than was used in determining the first subsequent entry; and (e) if the entry key does correspond to the search key, performing an action on information stored in the entry. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A method for searching for an entry in a plurality of entries in a data structure, the method comprising:
-
receiving a data frame from a storage network; determining a search key for the data structure using information in the data frame; hashing the search key to generate a hash result; determining a first entry in the plurality of entries corresponding to the hash result; determining if the first entry corresponds to the search key; if the first entry does not correspond to the search key, comparing information in the first entry with a first part of the search key to determine a second entry in the data structure, the second entry included in a branch of a plurality of branches associated with the first entry; and if the first entry corresponds to the search key, retrieving an address for a storage device found in the first entry. - View Dependent Claims (17, 18, 19)
-
-
20. A machine-readable medium having instructions which, when executed, cause a machine to perform a process, the process comprising:
-
(a) hashing a search key to generate a hash result; (b) determining an entry in a plurality of entries in the data structure using the hash result; (c) determining if an entry key in the entry corresponds to the search key; (d) if the entry key does not correspond to the search key, repeating step (c) using a subsequent entry until the entry key from the subsequent entry corresponds to the search key, wherein the subsequent entry is determined using information in the entry, wherein as step (c) is repeated using a first subsequent entry and a second subsequent entry, different information in the search key is used to determine the second subsequent entry than was used in determining the first subsequent entry; and (e) if the entry key does correspond to the search key, performing an action associated with the entry. - View Dependent Claims (21, 22, 23, 24)
-
Specification