×

Prefix search method and data structure using compressed search tables

  • US 6,782,382 B2
  • Filed: 03/07/2001
  • Issued: 08/24/2004
  • Est. Priority Date: 05/29/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. 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, comprising the steps of:

  • a) in at least one step for evaluating a search key segment, selected bits of the segment are used as compressed index for accessing a table of stored test values associated with that segment and b) the test value accessed by the compressed index is compared to at least the remaining portion of the search key segment evaluated, and the comparison result determines the further processing or the result of the search procedure; and

    c) generating pair-wise XOR products from all valid index values which can occur in the respective search key segment, and which correspond to the test values stored in the indexed table and from which bits are to be selected;

    d) preparing sequentially tentative index masks each containing a total number of bits equal to the number of bits in the search key segment from which bits are to be selected, starting with a single 1-bit in each tentative index mask and proceeding to increasing numbers of 1-bits in the tentative index masks;

    e) generating successively, for each of the tentative index masks prepared, the bitwise AND product between the respective tentative index mask and all of the XOR products previously generated in step (c); and

    f) ending the procedure when each of the AND products generated for a tentative index mask contains at least one 1-bit, and storing the respective tentative index mask as optimum index mask for the respective search key segment.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×