×

Variable length data sequence backtracking a trie structure

  • US 5,787,430 A
  • Filed: 12/17/1996
  • Issued: 07/28/1998
  • Est. Priority Date: 06/30/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. Method for retrieving a prefix match, a postfix match or a complete match, preferably the longest prefix- or postfix match, or all prefix- or postfix matches of a search argument (input key) from entries stored in a database with a trie-like structure having nodes (20), with each node containing first link information (21) leading to at least one previous node (parent pointer) and second link information (25,26) leading to at least one following node (child pointer), at least one stored key (entry,23,24), or a combination, thereof, said method comprising the steps ofentering at a node of said database (root node);

  • determining a search path from one node to another through said trie-like database by successively processing segments of said search argument which comprise only those parts of the entries which are necessary to identify the next (child) node, and said second link information (25,26) until said segments are consumed or a (leaf) node lacking said second link information (25,26) is reached;

    comparing with said search argument an entry stored in the node at which said search path ended; and

    if no at least partial match between the search argument and said entry is found in said current node,backtracking said search path by processing said first link information (21) of said current node; and

    repeating the previous two steps until said at least partial match is found or said root node is reached.

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