A Study of Coding Index Based on Schema

Author
JiangLi
Advisor
HuangJianHua , XieCongHua
School
East China University of Science and Technology
Major
Computer technology
Classification
TP391.3 Retrieval machine
Degree
Master's thesis
Year
2012
Downloads
29
Citations
0

Request the full text

Abstract

With its rapid development, the Internet has been an indispensable part of social life of the world people today. XML, with the advantage of a fine extensible capacity and easy to handle, has become a dominant standard for exchanging and representing information on the Internet. As XML is now being used more and more widely, optimization of XML inquiry schema has been one of the most concerned aspects of study. To build an index is a good way to fasten the query speed. However, there are still some problems with the index schema of XML, such as the lower efficiency of query and dynamic renewal, the high cost of nodes link. This paper attempts to design a different XNL index schema in the hope of improving the query efficiency of XML.This paper makes a fundamental study and analysis on the existing XML index technology and XML data structure, its inquiry language and coding method, and their effects on the index inquiry efficiency. The paper goes on to propose an XML Node Index (XNI) on the base of Schema. This index can effectively reduce times of node-handling, support complex inquiry path and dynamic renewal.The major work of this paper shows in following aspects:1. To improve Dewey coding(PDC) by combining the ideas of node-coding and path-coding, this paper proposes a new Path-Dewey Coding, PDC so as to realize the linking and matching of the branch paths in XML file.2. Referring to XML index method, after studying, analyzing and summing up its merits and demerits, this paper proposes an XML Node Index—XNI on the basis of Schema. This index can speed up inquiry by making use of XML format, coding Schema and XML individually, and applying PDC into XML coding.3. In accordance with the index structure, this paper devises a new path diving method, that is, to divine the complicated path divining into predicate nodes and target path. By using the structure chart, it enhances the query efficiency of predicate nodes, thus to enhance the path query efficiency.4. Node-coding index system is devised to prove the feasibility of the index proposed. Experimental results show that the index improves query efficiency.

Table of contents

Summary 5-6 Abstract 6-9 Chapter 1 Introduction 9-12 1.1 Background and Significance 9 1.2 related research and development 9-10 1.3 dissertation research 10-11 1.4 The paper is 11-12 2 Chapter XML technology 12-20 2.1 XML Introduction 12-13 2.2 XML schema language 13-16 2.2.1 DTD 13-14 2.2.2 XML Schema 14-16 2.3 XML query language 16-18 2.3.1 XPath 16-17 2.3.2 XQuery 17-18 2.3.3 XQL 18 2.4 XML source database (Native XML Database, NXD) 18-19 2.5 of this chapter subsections 19-20 Chapter 3 XML encoding data model 20-32 3.1 XML document 20-21 <br / > 3.2 XML document encoding 21-26 3.2.1 vector encoding 21-22 3.2.2 interval coding 22-23 <br / > 3.2.3 prefix code 23-24 3.2.4 k fractional coding 24-26 3.3 supports dynamic updates encoding scheme 26-28 <br / > 3.3.1 float coding 26 3.3.2 primes coding 26-27 3.3.3 ORDPATH coding 27-28 3.4 An improved path prefix encoding method 28-31 3.4.1 PDC coding scheme 29 3.4.2 PDC path coupling algorithm 29-30 3.4.3 PDC dynamic performance analysis 30-31 3.5 Summary 31-32 Chapter 4 encoding an XML node indexing approach 32 -44 4.1 XNI structure 32-33 4.2 XNI the Schema index 33-36 4.2.1 Schema coding 33-34 4.2.2 Schema index structure 34-36 4.3 XNI XML index 36-39 4.3.1 XML encoding 36-37 <br / > 4.3.2 XML index structure 37-39 4.4 XNI query path pretreatment 39-42 4.4.1 query tree optimization 39-41 4.4.2 , a new XML query path partitioning method 41-42 4.5 XNI query implementation 42-43 4.5.1 XML query 42 4.5.2 query processing 42-43 4.6 Summary 43-44 Chapter 5 achieve results and performance analysis 44-51 nbsp 5.1 test environment ; 44 5.2 XNI query interface 44-45 5.3 index system 45-46 5.4 index performance analysis 46-50 5.4.1 XNI time and space overhead 46-49 5.4.2 query results of experiments and analysis 49-50 5.5 of this chapter summary 50-51 Chapter 6 summary and Outlook 51-52 6.1 summarizes 51 6.2 Prospects 51-52 References 52-55 Thanks 55

Related dissertations

  1. Study on the XML Indexing Technique Based on Schema
    XuZuo ·Chongqing University ·2006 ·Master's thesis
  2. Dynamic Geometry Construction Language Based on XML
    ZhangRuiZuo ·Liaoning Normal University ·2013 ·Master's thesis
  3. Optimizing Twig Query Pattern Based on XML Schema
    LiHui ·Beijing University of Technology ·2013 ·Master's thesis
  4. Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
  5. Design and Realization of Heterogeneous Database Conversion and Integration
    WuYan ·Southwest Jiaotong University ·2012 ·Master's thesis
  6. A Twig Query Oriented XML Type Inference
    LuoQing ·Beijing University of Technology ·2013 ·Master's thesis
  7. The Research on Storage and Query of XML-based Electronic Medical Record
    LiXueKai ·Beijing University of Technology ·2012 ·Master's thesis
  8. A Design and Implementation of the Foreign Trade Goods Inventory Management System Based on XML Date Storage Techonlogy
    LiuYiYue ·Jilin University ·2013 ·Master's thesis
  9. Design and Implementation of the XProc Processor Based on.NET
  10. Design and Implementation of the XML Document Processing System Based on Xproc
  11. Research on Indexing Heterogenous Data Method Based on Dataspaces
    WangHongWei ·Harbin Engineering University ·2013 ·Master's thesis
  12. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  13. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  14. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  15. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  16. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  17. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  19. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  20. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis