Method and apparatus for implementing Q-trees
AssigneeAmalgamated Software of North America, Inc.
InventorsDavid E. Ferguson, Eduardo C. Ross
Life of this patent
Estimating the term…
Loading patent…
AssigneeAmalgamated Software of North America, Inc.
InventorsDavid E. Ferguson, Eduardo C. Ross
Estimating the term…
A method and apparatus for increasing the speed of a search through leaf nodes of an inventive key index tree structure, known as a "Q-tree". The present invention identifies "decision-bits" within leaf node entries and uses these decision-bits to accelerate searches for a particular record or for a record adjacent to which a new record is to be inserted. A decision-bit is a particular type of distinction-bit having the smallest value and associated with a search key a greater value then the keys associated with other distinction-bits of the same value within a specified search range. Each decision-bit divides a search range into "left" and "right" parts. One of the two parts will constitute a "new" search range. A "quit-bit" having an ordinal number equal to the value of the decision-bit for the search range, is tested. If the quit-bit is "on", then the right, or greater value, part becomes the new search range. Otherwise, the left, or lesser value, part becomes the new search range. A decision-bit pointer which identifies the relative location of a "root" decision-bit is placed in a predetermined location within the prologue of each leaf node. Additional decision-bit pointers are associated with each subsequent decision-bit within the leaf node and indicate the relative location of such decision-bits with respect to the root decision-bit.
A computer system including a data processor and a data storage system containing ordered data records having search keys, the data record search keys being indexed by a Q-tree, the Q-tree including at least one leaf node comprising at least one search range of ordered distinction-bits, each such distinction-bit being associated with two adjacent search keys, the leaf node also comprising a decision-bit, the decision-bit determining whether a left portion or a right portion of the search range includes the distinction bit associated with a position, relative to the ordered data records, of a particular search key.
In a computer system including a data processor and a data storage system containing data records, each record having at least a unique search key and a unique location, wherein the records are indexed by means of a Q-tree structure having at least one leaf node, each leaf node having a plurality of entries assigned to the leaf node, at least some of the entries having at least an associated record location reference, and a distinction-bit which in at least one of the entries is a decision-bit that locates a quit-bit in a search key, a method of operating the data processor for searching selected leaf nodes for indexing information, comprising the steps of:
In a computer system including a data processor and a data storage system containing data records, each record having at least a unique search key and a unique location, wherein the records are indexed by means of a bit tree structure having at least one leaf node, each leaf node having a plurality of entries assigned to the leaf node, at least some of the entries having at least a right decision-bit pointer, a left decision-bit pointer, an associated record location reference, and a distinction-bit which in at least some of the entries is decision-bit that locates a quit-bit in a search key, the leaf node further including a prologue having a pointer to a first decision-bit and the location of the first and last distinction-bits of the leaf node, a method of operating the data processor for searching selected leaf nodes for indexing information, comprising the steps of:
In a computer system comprising a data processor and a data storage system containing data records, each record having at least a unique search key and a unique location, wherein the records are indexed by means of a multi-way tree structure having at least one leaf node, each leaf node having a plurality of entries assigned to the leaf node, at least some of the entries having at least an associated record location reference, and a distinction-bit which in at least one of the entries is a decision-bit that locates a quit-bit in a search key, the leaf node further including a prologue having a left extremity field, a right extremity field, and a quit-index including a pointer associated with at least one decision-bit within the entries to the leaf node, a method of operating the data processor for searching selected leaf nodes for indexing information, comprising the steps of:
In a computer system comprising a data processor and a data storage system containing data records, wherein the records are indexed by means of a tree structure having at least one leaf node, each leaf node having a plurality of entries assigned to the leaf node, each entry having a record location reference in the range of "1" to "x" which occupies "a" relative locations within the entry, a distinction-bit having a value greater than "y" which occupies "b" relative locations, and less than three decision-bit pointers, each of which occupy "c" relative locations, the first relative location of each decision-bit pointer having a value not greater than "z", where "z" is not less than "y", a method for locating the relative location of the beginning of an entry to the left of, and adjacent to, an entry that begins at a known relative location "N+8", including the steps of:
Dependencies are inferred from the claim text.