Design and Implementation of a Fast Non-extractive XML Parser

Author
ZhangYunZuo
Advisor
QianPeiDe
School
Suzhou University
Major
Computer Software and Theory
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2010
Downloads
126
Citations
0

Request the full text

Abstract

With the extensive use of XML technology, how to improve the performance of the XML parser is an urgent problem. XML parsing model directly affect the performance of the XML parser from the XML parsing model to start, so to solve this problem. Most of the current research extractive XML-based analytical model, little research on non-extractive XML parsing model. VTD-XML is a new non-extraction XML parsing model. In this paper, based on VTD-XML is designed and implemented a fast, non-extraction XML parser, called NEM-XML. First, NEM-XML is a non-extract-XML parser. It abandoned the practice to create a node object for each XML node in the XML DOM model, is to use a 64-bit integer to save the XML node information, greatly reducing the time required to parse XML documents and memory space. NEM-XML the statically linked list data structure within the organization, both for the convenience of the element node add and remove, but also improves the speed of the traversal of the XML document. Secondly, to explore the reuse of XML parsing results, which is normal in the first use of an XML document parsing and analytic results are saved to the binary file, later using direct binary file to restore the original analytical results. Those XML documents only be accessed without updating operation of application of a great practical value. In order to reuse the analytical results with the NEM-XML paper improved NEM-XML data structure, to reduce the space required to save the analysis result, and to restore the analytical results required time. Finally, parallel computing is currently one of the key research areas, XML parallel parsing has been more and more attention. Studied parallel NEM-XML parsing algorithm, proposed a restricted XML document classification method, each document fragments can quickly determine the initial parsing state. This division algorithm taking into account the hierarchical structure of the XML document and load balancing, divided results. This article has some practical significance for XML parsing technology. It not only extends the idea of ??VTD-XML embodied in non-extraction XML parsing, further study how to reuse the NEM-XML parsing, XML applications in various fields can promote. In addition, the paper proposes a restricted XML document classification method other XML the parallel analytic aspects of the study has some reference value.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-14 1.1 Background topics 9-10 1.2 research content 10-12 1.3 research significance 12-13 1.4 article organizational structure 13-14 XML parsing Overview 14-22 2.1 XML parsing process 14-15 the 2.2 two common XML parsing model 15-19 2.2.1 XML DOM 16-17 2.2.2 stream-based XML parsing model 17-19 Typical applications 2.3 XML 19 2.4 XML parsing Research 19-22 the basic principles of Chapter VTD-XML 22-32 3.1 VTD Record 22-24 3.2 LC Entry 24-26 3.3 VTD-XML traversal process 26-28 3.4 VTD-XML update process 28-29 3.5 VTD-XML's advantages and disadvantages 29-31 3.6 This chapter Summary 31-32 Chapter the NEM-XML Design and Implementation 32-46 The basic principle of the 4.1 NEM-XML 32-35 4.1.1 MED structure 32-34 4.1.2 OA Record 34-35 4.2 NEM-XML parsing process 35-36 4.3 NEM-XML update process 36-38 4.4 NEM-XML traversal process 38-39 the XML performance 4.5 NEM-analysis 39-42 4.5.1 Qualitative Analysis 39-40 4.5.2 Quantitative analysis 40-42 4.6 Results and analysis 42-44 4.7 This chapter Summary 44-46 Chapter complex with NEM-XML analytical results are found; 46-57 important factor 5.1 reuse XML parsing results 46-47 5.1.1 space overhead 46-47 5.1.2 time overhead 47 5.2 two kinds of complex use program 47-54 5.2.1 multiplexing schemes: a full save the VTD Bu? er 48-50 5.2.2 reuse program: R-MED structure 50-54 5.3 Experimental results and analysis 54-56 5.4 This chapter Summary 56-57 Chapter VI the NEM-XML parallel parsing algorithm 57-71 6.1 XML parsing in parallel feasibility 57-59 6.2 XML parsing in parallel difficulties at 59-60 6.3 SP-NEMXML algorithm Detailed 60-65 6.3.1 first stage: pre-parsed 60-61 6.3.2 Second stage: parallel parsing 61-64 6.3.3 pre-parsed experimental results and analysis 64-65 6.4 RP-NEMXML algorithm Detailed 65-70 6.4.1 divided 65-67 6.4.2 parallel parsing 67-68 6.4.3 combined analytical results 68 6.4.4 speedup analysis 68-69 6.4.5 Experimental results and analysis 69-70 6.5 This chapter Summary 70-71 Chapter VII Summary and Outlook 71-74 7.1 summarizes 71-72 7.2 Looking 72-74 the References 74-80 studying for a master's degree in public during the papers 80-81 Acknowledgements 81-82

Related dissertations

  1. Loan Default Prediction Based on Imbalanced Data Classification
    ZhouLiFeng ·Central South University ·2013 ·Master's thesis
  2. A Study of GPU-based Parallel Learning to Rank
    FanXiXian ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on System Stability for Haptic Rendering
  4. Research on Key Technology of Modeling and Rendering for Virtual Natural Scene
    WangHaiLing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  5. Study on Distributed Large-scale Microscopic Traffic Simulation
    MaWenXue ·Chang'an University ·2013 ·Master's thesis
  6. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  7. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  8. Parallelization Research of Face Recognition and Texture Synthesis Algorithm Base on MATLAB Multi-core Clusters
    YuMengLing ·Liaoning Normal University ·2012 ·Master's thesis
  9. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  10. Model Optimization Technique Based on Viewpoint-dependent and Application
  11. Research on Detection and Recognition of Traffic Objects in City Environments
    LiYi ·Central South University ·2013 ·Doctoral dissertation
  12. Human Action Recognition Based on Kinect Skeleton Information
    LiuFei ·Donghua University ·2014 ·Master's thesis
  13. Study of adaptive beamforming processor based on GPU
  14. Study and Implementation of Fast Super-resolution Reconstruction Methods
  15. A Parallel Research on Feature Detection and Feature Matching Based on3D Reconstruction with Multi-View
    FengBing ·Ningxia University ·2014 ·Master's thesis
  16. Research on Pivotal Adapted Technology of Document Parsing System Based on Homebred CPU/OS
  17. Research about Data Mining Technologies Based on Cloud Computing
    LiZuo ·Shijiazhuang University of Economics ·2012 ·Master's thesis
  18. Study on Granularity Clustering
    ZhuHong ·China University of Mining and Technology ·2013 ·Doctoral dissertation
  19. E-commerce Applications Based on Multi-core Cluster Parallelization
    MaLin ·Liaoning Normal University ·2013 ·Master's thesis
  20. Research on Processing Methods of Data Stream Based on Parallel Computing
    ZhouYong ·Dalian University of Technology ·2013 ·Doctoral dissertation