×

Method and structure for deleting leaves in tree table structures

  • US 7,490,101 B2
  • Filed: 08/04/2006
  • Issued: 02/10/2009
  • Est. Priority Date: 06/03/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of deleting a leaf in a patricia tree leaf structure without interrupting the functioning of the patricia tree, comprising:

  • providing a patricia tree leaf having a plurality of leaf keys, each of the keys having a pattern x bits in length wherein x is a positive integer;

    the patricia tree further comprising a plurality of pattern search control blocks, each of the pattern search control blocks configured to decode m bits and store 2m possible combinations of bits, wherein m is a positive integer;

    each of the pattern search control blocks containing a prefix and either an end-of-trail leaf or a pointer to another of the pattern search control blocks;

    placing each of the prefixes in a tree prefix table;

    searching for a key in the patricia tree;

    if the patricia tree searching does not find the key in the patricia tree, searching for the key in the prefix table and if the key is not found in the prefix table confirming that the key is deleted; and

    if the patricia tree searching finds the key, deleting the key from one of the pattern search control blocks and collapsing the patricia tree by eliminating the left most pattern search control block from the patricia tree.

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