Prefix search tree partial key branching
Abstract
A prefix index tree structure for locating data records stored through keys related to information stored in data records. Each node includes a prefix field for a prefix string of length p of the longest string of key characters shared by all subtrees of the node and a data record field for a reference to a data record whose key is completed by the prefix string. A node may include one or more branch fields when the prefix string is a prefix of keys stored in at least one subtree of the node, with a branch field for each distinct p+1 st key character in the keys, wherein each p+1 st key character is a branch character. Each branch field includes a branch character and a branch pointer field for a reference to a node containing at least one key whose p+1 st character is the branch character. Each node further includes a field for storing the number of key characters in the prefix string and a field for storing the number of branch fields in the node. Also disclosed are methods for constructing and searching a prefix index tree of the present invention, and for inserting nodes into the tree and deleting nodes from the tree.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 148.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for searching an information tree of record keys with a search key to locate and retrieve one of a plurality of data records of a database held in the memory of a data processing system, wherein: each of said record keys represents one of said data records and comprises a string of a plurality ("s") of characters, the number s of said characters differing for different ones of said record keys; said search key comprises a string of a plurality ("k") of characters; and said tree comprises a plurality of linked information nodes held in said memo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 148 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Fundamentals of Data Structures", by E. Horowitz & S. Sahni Computer Science Press, 1976 (pp. 214-249; 422-429; 440-443; 494-525; 536-541).
- "Organization and Maintenance of Large Ordered Indexes", R. Bayer & E. MacCreight, Acta Informatica, vol. 1, 1972.
- "Performance Comparison Between B*-Tree and Prefix Binary Tree Index Organizations", N. Phuc, M. Becker & P. Sevray, Proceedings-Second International Conference on Databases, John Wiley & Sons Ltd., 1983 (Chapter 19, pp. 358-376).
- "Prefix B-Trees", R. Bayer and K. Unteraurer, ACM Transactions on Database Systems, vol. 2, No. 1, 1977 (pp. 11-26).
- Fundamentals of Data Structures , by E. Horowitz & S. Sahni Computer Science Press, 1976 (pp. 214 249; 422 429; 440 443; 494 525; 536 541).