×

Method of compacting and searching a data index

  • US 4,677,550 A
  • Filed: 09/30/1983
  • Issued: 06/30/1987
  • Est. Priority Date: 09/30/1983
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system comprising a data processing means, a memory means, and a data storage device containing data records, each data record having a unique search key and a unique record location reference, wherein the data records are indexed by means of a multi-way tree structure initially stored in the data storage device and having at least one leaf node, each such leaf node initially having a plurality of ordered copies of certain of the search keys assigned thereto and containing associated record location references, a method of operating the data processing means for compactly storing indexing information in each leaf node, comprising the steps of:

  • (1) reading a selected leaf node from the data storage device and saving the leaf node in the memory means;

    (2) comparing an initial search key assigned to the leaf node to a next search key assigned to the leaf node;

    (3) determining a distinction bit, comprising the ordinal number of the bit position in the initial and the next search keys in which the two keys differ in value;

    (4) saving the distinction bit, and the record location reference associated with said next search key, in the leaf node located in the memory means; and

    (5) repeating Steps (2), (3), and (4) for a next pair of search keys assigned to the leaf node until a distinction bit is determined and the distinction bit and its associated record location reference are saved for each successive pair of search keys assigned to the leaf node.

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