Prefix search method and data structure using compressed search tables
AssigneeInternational Business Machines Corporation
InventorJan Van Lunteren
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorJan Van Lunteren
Estimating the term…
The invention relates to a system in which given search keys are evaluated, segment by segment, to search through tree-structured tables for finding an output information corresponding to the longest matching prefix. For at least one of the segments, only selected bits of the search key segment are used as index for accessing an associated table where test values are stored which are to be compared to the respective search key segment. The bits to be selected are determined by an index mask, reflecting the distribution of the valid test values in the table entries (and valid search key segment values). This allows table compression for minimizing storage requirements and search time. A procedure is disclosed for generating an optimum index mask in response to the set of valid test values.
Method for determining an output information in response to an input search key, by a stepwise prefix search in a tree structured data base comprising stored tables, and by evaluating successive segments of the search key each of given length, in which method
Data structure for determining an output information in response to an input search key, by a stepwise prefix search in the data structure comprising stored tables, and by evaluating successive segments of the search key each of given length, comprising for at least one search key segment to be evaluated:
A computer program product in a computer readable medium for use for determining an output information in response to an input search key, in response to an input search key, by a stepwise prefix search in a tree structured data base comprising stored tables, and by evaluating successive segments of the search key each of given length, the computer program product comprising:
Dependencies are inferred from the claim text.