Research on Query Processing Technology for XML Data Based on HoListic Twig Pattern
- Author
- FuLiZhen
- Advisor
- TaoShiQun
- School
- Shanxi University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 132
- Citations
- 3
Abstract
XML as a data representation and exchange Intnet on the actual standard being widely accepted and used. With the growing popularity of XML, XML data management and query problem has drawn increasing attention of research scholars at home and abroad. XML database, twig pattern query is the core operation of XML query processing, it is of great significance to improve query efficiency. Have been proposed over the past few years, many of twig pattern matching algorithms: as TwigStack TJFast recently proposed TwigList and Twig2Stack algorithm. These algorithms are very efficient in processing only ancestor descendant relationship and the output node query, the query efficiency of these algorithms is not high, but with a parent-child relationship or only a small number of output nodes query. Difficult problems of surviving in the XML path query processing in-depth research, and the inadequacies of the current algorithm, the two kinds of efficient non-merge sprig the pattern matching the algorithm TwigNM and TwigPC. The main contribution of this paper is as follows: 1, only a small number of output nodes: (1) proposed a more general twig pattern, it has universal applicability, more in line with most of the query language standard. (2) proposed two efficient non-merging twig pattern matching algorithm, TwigNM algorithm and its expansion algorithm TwigNME two algorithms use a simple stack data structure, you can skip the large number of non-expanded node to avoid generating large the intermediate results do not need to be integrated, highly efficient query processing ancestor descendant relationship. But in dealing with a parent-child relationship, the efficiency of the algorithm will continue to be greatly affected. (3). In TwigNM experimental system realized TwigNM, TwigNME, TwigStack and TwigList four algorithms. The results showed that only ancestor descendant relationships with query return node This paper presents two algorithms query efficiency is much higher than the other two efficiency by comparison with typical TwigStack the algorithm as well as the current the latest algorithm TwigList algorithm . 2, for a father and son side problem: (1) In order to further improve the parent-child relationship query processing efficiency, zhang coding extended. (2) proposed a new data structure - the queue stack, it is the shared memory queue and stack data structure, its structure is simple and easy to operate. (3) a non-merged TwigPC algorithm, the algorithm uses the queue stack and expansion queue two data structures, to avoid generating a large number of intermediate results, does not need to be integrated, efficient when dealing with queries Sons edge high, while also able to better handle query with return junction. (4) In the experimental system the TwigPC, TwigStackList and TwigList three algorithms. By comparison, the results show that the deal with the parent-child relationship query, the new algorithm TwigPC query efficiency is much more efficient than the other two algorithms.
Table of contents
Abstract 8-10
Abstract 10-12
first chapter 12-17
1.1 Background 12-13
1.2 research status 13-14
1.3 Research motivation 14-15
1.4 This article mainly work 15-16
1.5 The paper is organized 16-17
second chapter of background knowledge 17-26
2.1 XML data model 17-19
2.2 Xpath and XQuery query language 19
2.3 twig pattern 19-20
2.4 XML document encoding method 20-21
2.5 index technology 21-22
2.6 query processing algorithm 22-25
2.6.1 structure connection algorithm 22
2.6.2 based path string query processing algorithm 22
2.6.3 twig pattern matching algorithms 22-25
2.7 Summary 25-26
Chapter based Merge the matching algorithm TwigNM 26-36
3.1 issues raised 26
3.2 concepts and definitions 26-29
3.3 query matching algorithm TwigNM 29-33
3.3.1 data structure 29
3.3.2 algorithm thought 29
3.3.3 Algorithm Description 29-32
3.3.4 expansion algorithm TwigNME 32-33
3.4 algorithm analysis 33-34
3.4.1 algorithm correctness analysis 33-34
3.4.2 algorithm complexity analysis 34
3.5 Summary 34-36
Chapter IV PC relationship-based matching algorithm TwigPC 36-47
4.1 make 36-37
4.2 concepts and definitions 37-39
4.3 query matching algorithm TwigPC 39-45
4.3.1 data structure 39-41
4.3.2 algorithm thinking 41
4.3.3 algorithm described 41-45
4.3.4 with return node query processing 45
4.4 algorithm analysis 45-46
4.4.1 algorithm complexity analysis 45-46
4.4.2 Algorithm Scope Analysis 46
4.5 Summary 46-47
Experimental results
Chapter 47-53
5.1 experimental system design 47-48
5.2 XML document data sets 48
5.3 Experimental results and analysis 48-52
5.3.1 TwigNM algorithm experimental results and analysis 48-50
5.3.2 TwigPC algorithm experimental results and analysis 50-52
5.4 Summary 52-53
Chapter Summary and future work 53-55
the
References 55-59
Acknowledgements 59-60
The
article directory 60-61
the
personal profiles 61-62
Related dissertations
- Research on XML Query Pattern Matching and Document Filtering
- TJDirect: An Holistic Twig Pattern Matching Algorithm of XML Document Based on IFED Encoding
- A XML Date Query Processing Algorithm Based on Twig Pattern Matching
- Study on Interconnection Relationship Compute for XML Fragments
- Research on Query Processing Technology for XML Data Based on Holistic Twig Pattern
- The Design and Implementation of Acess Contral System for XML Database
- XQuery Query Processor Design and Implementation
- Twig Pattern Matching with Positional Predicates in XML Queries
- Research on Spatio-temporal Query Processing Techniques in Wireless Sensor Networks
- Research of the XML Documents Filiering Model by Sequencing Twig Patterns
- Research on Semantic Retrieval for Heterogeneous Engineering Documents
- Research on Indexing and Query Processing in Cloud Computing Systems
- Research on the Relational Algebra Teaching System
- Efficient Methods for Reverse K-Nearest Neighbor Query on the Multidimensional Objects
- Clustering XML Documents Based on Density and Fuzzy Set
- Universally Applicable Data Stream Management Prototype System TTSTREAM’s Design and the Key Algorithm’s Search
- Research of Query Processing in Embedded Database
- Research and matching method of the database pattern discovery
- Research on XML Stream Data Processing
- Research on Approaches of Complex Queries in Spatio-temporal Databases