Research on Query Processing for XML Twig Pattern Based on Ordered Pair

Author
WangRui
Advisor
TaoShiQun
School
Shanxi University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
30
Citations
0

Request the full text

Abstract

With the development of Internet, Semi-structured data are increasingly important in information exchange. How to accurately and efficiently query XML data has become a hot issue. XML documents can use a nested document tree to represent and the query path can be expressed as a twig pattern tree. Therefore, the query XML data from the XML document tree is to find out all the XML data fragments to meet the twig pattern. This process is called the twig pattern query.In recent years, researchers made a lot of inquiries twig pattern matching algorithms:TwigStack algorithm and the recently proposed TwigList and TwigNM algorithm. Twig pattern contains parent-child edges and ancestor-descendant edges. These algorithms are very effective when the twig pattern contains only ancestor-descendant edges, but when the twig pattern contains only parent-child edges or both ancestor-descendant edges and parent-child edges, these algorithms may still generate a lot of intermediate results, in particular, the size of the input and output is large.Aiming at shortcomings of present algorithm, by combining ViST algorithm idea using string matching query does not require the structural join, and Twig2Stack algorithm idea using bottom-up and without the merger, in this paper, two kinds of twig pattern matching algorithms PCTwig and OPTwig based on ordered pair. The main contributions are summarized as follows:(1) A new idea based on ordered pair is proposed, by the establishment of ordered pair node and node can link better. Matching query by ordered pair in the query tree and document tree.(2) Aiming at three nodes of twig pattern:root node, intermediate nodes and leaf nodes, three different matching methods are proposed. Also under the two kinds of relationships between nodes in the twig pattern:parent-child relationship and ancestor-descendant relationship, MatchPC and MatchAD function is constructed.(3) Two new algorithms PCTwig and OPTwig are proposed, and document tree and query tree structures for the storage are required. Query tree bottom-up storage, tagging when confronted with the branch node. This query process can be judged on the branch in order to avoid useless node generation.(4) Two new algorithm with the classical algorithm TwigStack and TwigStackList algorithm are compared in my experimental system. The experimental results show that PCTwig and OPTwig algorithm are efficient.

Table of contents

Chinese Abstract 8-9 Abstract 9-11 first chapter 11-15 1.1 Background and current status 11-12 1.2 This article mainly work 12 1.3 This article organizational structure 12-15 background 15-21 2.1 XML document data model 15-16 2.2 XML data to obtain 16 2.3 XML data encoding scheme 16-18 2.4 twig pattern 18 2.5 twig pattern query 18-20 2.6 This chapter Summary 20-21 Chapter based the ordered pair query algorithm PCTwig 21-27 3.1 issues raised 21 3.2 related concepts 21 3.3 table storage structure 21-22 3.4 PCTwig algorithm 22-26 3.4.1 PCTwig algorithm thought 22-23 3.4.2 PCTwig algorithm described 23-25 3.4.3 PCTwig algorithm execution 25-26 3.5 This chapter Summary 26-27 Chapter query algorithms based on ordered pairs OPTwig 27-33 4.1 make 27 4.2 related concepts 27 4.3 table storage structure 27-28 4.4 OPTwig algorithm 28-31 4.4.1 OPTwig algorithm thinking 28 4.4.2 OPTwig algorithm described 28-29 4.4.3 OPTwig algorithm execution 29-30 4.4.4 Algorithm Analysis 30-31 4.5 of this chapter Summary 31-33 experimental settings and results 33-39 5.1 Experimental set 33 5.2 Experimental results and analysis 33-37 5.2.1 PCTwig algorithm experimental results and analysis 34-35 5.2.2 OPTwig algorithm experimental results and analysis 35-37 5.3 This chapter Summary 37-39 Chapter Summary and Outlook 39-41 the References 41-45 The article directory 45-47 Acknowledgements 47-49 personal profiles and Contact 49-53

Related dissertations

  1. Twig Pattern Matching with Positional Predicates in XML Queries
    LiFaJin ·Beijing University of Technology ·2013 ·Master's thesis
  2. Research on XML Stream Data Processing
    DengZiQiang ·Beijing University of Technology ·2012 ·Master's thesis
  3. Design and Implementation of the XProc Processor Based on.NET
  4. Design and Implementation of the XML Document Processing System Based on Xproc
  5. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  6. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  7. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  8. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  9. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  10. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  12. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  13. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis
  14. Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
    ZhaoLi ·Northeastern University ·2011 ·Master's thesis
  15. The Design and Implementation of WebDAV Service in XML Database
  16. Research of Heterogeneous Database Integration Based on Web Service and XML
    XiaMinNa ·Hunan University ·2012 ·Master's thesis
  17. Research on Encoding and Query Process Technology for Continuous Uncertain
  18. Research on XML Data Cube Based on Tree Structure
  19. XQuery Query Processor Design and Implementation
  20. Research and implementation of group production information integration management