B+ tree temporal query method based on hash strategy
A query method and B+ tree technology, applied in the field of data query, can solve problems such as low efficiency, achieve the effects of shortening depth, facilitating data storage, and realizing data search
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] The present invention will be further described below in conjunction with the drawings and embodiments.
[0037] The B+ tree temporal query method based on hash strategy includes the following steps:
[0038] Step 1: Add temporal information to a simple XML document;
[0039] Step 2: Build an XML document tree with temporal information added;
[0040] Step 3: Construct a temporal B+ tree of XML documents according to the XML document tree of Step 2, and add hash variables to the leaf nodes of the B+ tree;
[0041] Step 4: Use a hash algorithm on the leaf nodes of the B+ tree to find XML elements.
[0042] Here is an example to illustrate this method:
[0043]
[0044] XML
[0045]
[0046] Anne
[0047]
[0048] 2015
[0049]
[0050] A1
[0051] B1
[0052]
[0053]
[0054] The above is a traditional simple XML document, add temporal information (start, end) to the XML document, as shown below:
[0055] (10)
[0056] (20)XML(30) (40)
[0057] (50)
[0058] (60)Anne(70) (80)
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


