Self-adaptive prefix encoding for stable node identifiers
Abstract
A variable-length binary string is utilized to encode node identifiers in a tree for an XML document object model. A general prefix encoding scheme is followed; a node identifier is generated by the concatenation of encodings at each level of a tree along a path from a root node to another particular node. Arbitrary insertions are supported without change to existing node identifier encodings. In addition, the method provides for document order when unsigned binary string comparison is used to compare encoded node identifiers. In support of sub-document concurrency control, prefix encoding provides a way to derive ancestor-descendant relationships among nodes in a tree. Lastly, the encoding method provides a natural pre-order clustering sequence, also known as depth-first clustering. If a prefix is applied to an encoding with a level number, starting with zero at the root, width-first clustering will result. A mixed clustering can also be supported.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-based method comprising the steps of: a. converting a mark-up language document to a logical tree-based representation comprising a plurality of nodes, each node other than a root node having a local identifier, b. choosing an initial base length of at least one byte with which to encode local identifiers of said nodes, c. sequentially encoding each local identifier other than said root node in hexadecimal notation starting with an initial hexadecimal value and incrementing the initial hexadecimal value by said initial base length, d. adaptively extending said initial base length by
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Technique for Performing Generalized Prefix Matches," IBM Technical Disclosure Bulletin, V40, N3, Mar. 1997, pp. 189-200.
- Amer-Yahia et al., "Logical and Physical Support for Heterogeneous Data," Proceedings of the 11th Int'l Conf. on Information and Knowledge Management (CIKM2002), New York, NY, Nov. 4-9, 2002, pp. 270-281.
- Bremer et al., "An Efficient XML Node Identification and Indexing Scheme," Technical Report CSE-2003-04, Dept. of Computer Science, University of California at Davis, 2003, 14pgs.
- Bruno et al., "Holistic Twig Joins: Optimal XML Pattern Matching," ACM SIGMOD 2002, Jun. 4-6, 2002, Madison, Wisconsin, pp. 310-321.
- Cohen et al., "Labeling Dynamic XML Trees," Proceedings of the 21st ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, Jun. 4-6, 2002, Madison, Wisconsin, pp. 271-281.