×

Method of searching using longest match based Randix Search Trie with variable length keys and having prefix capability

  • US 6,396,842 B1
  • Filed: 04/30/1998
  • Issued: 05/28/2002
  • Est. Priority Date: 04/30/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of searching utilizing a conventional Patricia search tree constructed from one or more nodes for storing one or more keys, said method comprising the steps of:

  • inserting a key into the tree;

    modifying said keys to be inserted into the tree so as to make each key unique with respect to other keys that may be prefixes thereof;

    inserting said modified each key into the tree utilizing a conventional Patricia search tree algorithm;

    providing a list which includes entries for each different key length represented in the tree, each entry in said list including a length field and a count field;

    updating said list so as to maintain said entries in descending numerical order of the length field;

    searching the tree for a search key;

    determining the largest key length in said list;

    concatenating the key length onto the search key to form a modified search key;

    searching said tree with said modified search key utilizing a conventional Patricia search algorithm; and

    determining the next largest key length in said list and repeating said steps of concatenating and searching until either said modified search key is found or the entries in said list are exhausted.

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