×

Method and apparatus for performing a binary search on an expanded tree

  • US 20010056417A1
  • Filed: 05/22/2001
  • Published: 12/27/2001
  • Est. Priority Date: 05/22/2000
  • Status: Active Grant
First Claim
Patent Images

1. A table searching method, the method comprising the steps of:

  • providing at least one memory unit having a table of information including a plurality of data entries, with said table of information having a plurality of search keys associated with the plurality of data entries and with the plurality of search keys forming a tree structure based on a prefix length for each of the search keys;

    expanding the plurality of search keys such that each of the plurality of search keys is a lowest level search key or has two lowest level search keys associated therewith that cover a lowest level of the tree structure and bracket a range on said lowest level;

    performing a binary search of the lowest level search keys based on a search value to determine a longest prefix match; and

    outputting a data entry of said plurality of data entries based on said longest prefix match;

    wherein, in the expanding step, a lower valued one of said two lowest level search keys is increased by one to shift said bracketed range.

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