A XML Date Query Processing Algorithm Based on Twig Pattern Matching
- Author
- MiaoHongTao
- Advisor
- TaoShiQun
- School
- Shanxi University
- Major
- Applied Computer Technology
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 27
- Citations
- 0
Abstract
XML has become the standard of the date representation and exchange on the Internet as the representative of new technologies on the Web, and has become the focus of research and industrial communities. And so, how to effectively query the XML data has become an important research topic in the various application based on XML, owning to owing to the tree-like nature of XML data and new application.Twig pattern matching problem has been widely studied in recent years. Give an XML tree T,A twig-pattern matching query,Q, represented as a query tree, is to find all the occurrences of such twig pattern in T. Previous works like Holistic Twig and TJFast decomposed the twig pattern into single paths from root to leaves, and merged all the occurrences of such path-patterns to find the occurrences of the twig-patterns matching query, Q. Their techniques can effectively prune the impossible path-patterns to avoid producing a large amount of intermediate results. But they still need to merge path-patterns which occurs high computational cost. So, Twig2Stack and TwigList are proposed to resolve this situation, but all they need to scan all the nodes, in addition, they don’t considered another nodes that basically don’t need to be processed. After deeply studying the remaining difficult issues in XML query processing and based on the advantage of the twig pattern before, this article offers a new twig pattern algorithm TwigEN. The main contributions are summarized as follows:(1) Studying and analyzing the current twig pattern matching algorithm, and summarize the implementation method.(2) A new twig pattern matching algorithm TwigEN is proposed, which is processing the solution-extension nodes only, so, the algorithm could skip nodes efficiently.(3) Analyzing the complexity and feasibility of the algorithm, and giving the time and space complexity on the worst situation. (4) Finally, constructs an experimental system and implements the proposed twig pattern matching algorithm, then compares the TwigEN with TwigStack and TwigList, and the results show that the efficient of our approach is improved greatly.According to XML, the algorithm can skip nodes that are useless in the structural join. This is a good way to save time and memory as well as the amount of nodes. The relationship between the complication of time and space on the approach and sum of nodes is Linear.
Table of contents
Chinese Abstract 8-10
ABSTRACT 10-12
first chapter 12-16
1.1 Background 12-13
1.2 the research dynamic 13-14
1.3 research content and methods 14
1.4 This article mainly work 14-15
1.5 of this article organizational structure 15-16
the second chapter of the XML database and its associated knowledge 16-24
2.1 Introduction to XML 16
2.2 XML data model and encoding scheme 16-20
2.2.1 XML data model 16-19
2.2.2 encoding scheme 19-20
2.3 XML query language 20-21
2.4 twig pattern matching 21-22
2.5 query processing algorithms 22-23
2.6 Summary 23-24
third chapter of a new twig pattern matching algorithms 24-34
3.1 concepts and definitions 24-26
3.2 TwigEN algorithm 26-30
3.2.1 data structure 26
3.2.2 algorithm thinking 26
3.2.3 Algorithm Description 26-30
3.3 PC-based relationship TwigENC algorithm 30-31
3.3.1 data structure 30
3.3.2 algorithm thought 30
3.3.3 Algorithm Description 30-31
3.4 algorithm analysis 31-32
3.4.1 algorithm correctness analysis 31
3.4.2 algorithm complexity analysis 31-32
3.5 Summary 32-34
Chapter experiments results and analysis 34-39
4.1 query system design 34
4.2 query system implementation 34-35
4.3 Results and Analysis 35-38
4.4 Summary 38-39
Summary and further work 39-40
the
References 40-43
Appendix 43-44
Acknowledgements 44-46
Related dissertations
- Bloom Filter-based Path Expression Query Processing
- Research on Query Processing Technology for XML Data Based on HoListic Twig Pattern
- 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 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
- Universally Applicable Data Stream Management Prototype System TTSTREAM’s Design and the Key Algorithm’s Search
- Research of Query Processing in Embedded Database
- Research on XML Stream Data Processing
- Research on Approaches of Complex Queries in Spatio-temporal Databases
- Research on semantic cache technology in mobile computing
- Research of Recursion Optimization in XQuery Based on Twig Pattern Matching
- Shortest Path Queries on Road Networks Based on Pre-Computation Techniques
- Research on the Index Mechanism in the Uniifed Access of the Seismic Data
- Research on RDF Data Storage and Query Based on HBase
- Study on Skyline Query Processing Algorithms in Wireless Sensor Networks
- Research and Implementation of Perception Data Query Processing Technology in Wireless Sensor Network