Research of the XML Documents Filiering Model by Sequencing Twig Patterns

Author
HouJinChao
Advisor
ZhaoHeJi
School
Shandong University
Major
Computer Software and Theory
Classification
TP391.1 Text Processing
Degree
Master's thesis
Year
2013
Downloads
3
Citations
0

Request the full text

Abstract

With mass information on internet, personalized subscribe service has gradually become an important means for people to obtain information. The core technology of the personalized subscribe service is how to process the mass data which is expressed in XML format quickly and efficiently. For the XML data flow, it generally uses XPath expression to query. Thus how to process the query for the mass XPath expression on the XML data flow is the core problem of the XML document filtering.Research on the XML document filtering based on twig pattern, mainly divided into two directions. One is the thought of decomposition. The core is how to match the position relationship between nodes efficiently. The algorithms have a common problem that it needs scan descendant node list repeatedly in some cases. This leads to a large number of intermediate results, thus affecting the efficiency of the algorithm seriously. Besides, it hardly supports the query for the expressions which contains much relative path expression and wildcard. The other direction uses the idea of holistic matching, namely taking the position relationship between nodes in the path expression into account, match the query as a whole. The main approach is to transform the input XML document as well as the query tree into a sequence with a kind of encoding, and then match the sequences with a kind of traversal strategy. There are lots of popular algorithms of this idea, but most of them do not support logic predicate processing.In this paper, we propose a novel filtering model called FST(Filtering by Sequencing Twigs) based on the analysis of current mainstream XML filtering algorithms. The model takes the idea of holistic match, the algorithm of Prufer sequence generation of the model transforms the XML document tree and twig patterns into strings, thus the problem of XML document filtering becomes the problem of Prufer sequence match. As auxiliary, the thesis presents a novel data structure to store the structure information of the XML document tree. The process of match uses a data structure called global runtime stack, it could guarantee the order of twig patterns correspond to the XML document. At the same time, we use a global runtime stack to optimize the algorithm from the generation of sequential index and the limitation of the subsequence matching range the two aspects, which ensures all the filtering are completed with XML document traversal one time. It improves the efficiency greatly. We also propose an improved strategy on twig patterns and a preprocess method which supports value-based predicates and logic predicates. Experimental data show that the XML filtering algorithm by sequential twig patterns in this paper has a greater efficiency than previous algorithms.

Table of contents

Summary 8-9 ABSTRACT 9-11 Chapter 1 Introduction 11-17 1.1 Background 11-12 1.2 domestic and foreign research status major work 12-14 1.3 article organizational structure nbsp 14-15 1.4 herein ; 15-17 <br / > Chapter 2 basic Concepts XML document filtering 17-22 2.1 XML Introduction 17-18 2.2 twig pattern 18-19 2.3 Pulv Fu sequence 19-20 2.4 SAX parser 20-22 Chapter 3 FST model design and optimization 22-39 3.1 FST model overall architecture 22-23 3.2 FST model detailed design 23-34 3.2.1 data Structure 23-25 ?? 3.2.2 Pulv Fu sequence generation algorithm 25-26 3.2.3 filter algorithm design 26-34 3.3 FST model optimization 34-38 3.3 .1 sequence index table generation optimization 34-35 3.3.2 subsequence matching range limits 35-36 3.3.3 wildcard processing 36-38 3.4 Summary 38-39 Chapter 4 FST model extensions 39-49 4.1 value predicate processing 39-45 4.2 logic predicate processing 45-49 Chapter 5 experiment 49-56 5.1 experimental arrangement 49-50 5.2 experimental Analysis 50 -56 5.2.1 equivalent operator 50-51 5.2.2 non- equivalent operator 51-56 Chapter 6 summary and Outlook 56-58 References 58-61 Thanks 61-62 study published during the academic master directory 62-63 Schedule 63

Related dissertations

  1. Research and matching method of the database pattern discovery
  2. Keywords Filtering on XML Data
    ZhangChenJing ·Fudan University ·2011 ·Doctoral dissertation
  3. 2- (1-hydroxypentyl) antidepressant effect of potassium benzoate and buagafuran anti anxiety and depression effect study of the electrophysiological mechanism
    ChenChunLin ·Beijing Union Medical College ·2012 ·Doctoral dissertation
  4. Establishment of Ovine FST Overexpression Cell Lines and Its Effect Upon the Developmental Related Genes
    YueQunHua ·Inner Mongolia University ·2012 ·Master's thesis
  5. Construction of Double RNAi and Ovarian Specific Expression Vectors Mediated by PB Transposon and Efficiency Analysis
    ZhangYang ·Huazhong Agricultural University ·2012 ·Master's thesis
  6. Construction of a Bicistron Gene Transfer Body and the Impact of Mar on Gene Integration and Expression
    HuXiaoMing ·Inner Mongolia University ·2013 ·Master's thesis
  7. Molecular Cloning and Functional Characterization of Duplicated Follistatin Genes in Grass Carp (Ctenopharyngodon Idellus)
    ZhongShaSha ·Shanghai Ocean University, ·2012 ·Master's thesis
  8. Path Expressions’ Optimization and Its Evaluation Techniques for XML Query and Filtering
    ZhuMaoSheng ·Institute of Computing Technology ·2004 ·Doctoral dissertation
  9. Research on XML Query Pattern Matching and Document Filtering
    NingBo ·Northeastern University ·2009 ·Doctoral dissertation
  10. TJDirect: An Holistic Twig Pattern Matching Algorithm of XML Document Based on IFED Encoding
    ShiZuoFeng ·Shanxi University ·2007 ·Master's thesis
  11. Automatic machine - based the XPath query model research
    LiuXiaoMin ·Zhengzhou University ·2007 ·Master's thesis
  12. The Identification of Rice T-DNA Insertional Mutants and the Preliminary Study on a Heading-delayed Mutant Line
    HaoMing ·Sichuan Agricultural University ·2006 ·Master's thesis
  13. Research on Query Processing Technology for XML Data Based on HoListic Twig Pattern
    FuLiZhen ·Shanxi University ·2008 ·Master's thesis
  14. Research of Holistic XML Tree Pattern Matching for XQuery Language
    GaoZengZuo ·Beijing University of Technology ·2010 ·Master's thesis
  15. FST -based tagging technical corrections Chinese Research and Implementation
  16. Research of XML Query Algorithm Based on Twig Pattern Matching
    BaiShan ·Shanxi University ·2009 ·Master's thesis
  17. An Improved Schema for XML Data Management
    ZhaoShengMeng ·Suzhou University ·2010 ·Master's thesis
  18. Research on Query Processing Technology for XML Data Based on Holistic Twig Pattern
    WuWenYing ·Tianjin University of Technology ·2011 ·Master's thesis
  19. The Effect of Maternal Pregestational Cus on the Serum CRH and COR, Brain Dopamine and 5-ht Metabolisms and Its Correlation with the Behavior of Offspring Rats
    PengYunJu ·Shantou University ·2011 ·Master's thesis