A Study on XML Query Method
- Author
- ShenJianCang
- Advisor
- BaoPeiMing
- School
- East China Normal University
- Major
- Software Engineering
- Classification
- TP312.2 Programming language ALGOL
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 389
- Citations
- 0
Abstract
With the development of modern science and technology, XML has entered a period of rapid development, more and more attention with the development of the network become essential for people to office, management, decision-making helper, XML as a variety of data source switching center and the integration of multiple data sources is becoming increasingly mature. Because of the XML document is widely used on the Web-based data query XML document itself is particularly important. Currently, based on the method of data storage and query of XML document, typically based on a tree structure and the structure of the relational database. Describing an XML document into a tree, path expressions very clear, but this large amount of data in tree, affecting the data query speed. XML document is stored in a relational database, although the relationship between the structure of the table is very standardized, data query speed increased, but the structure of the XML document itself flexibility is likely to be lost. The path expression by the XML element or attribute consisting of expression, it is a fundamental part of the existing XML query language. XML data query efficiency based on the path expression is one of the hot issues in the current study XML. This paper presents the design of the the XML semantic structure model with Petri nets, data were modeled on the structure of XML documents and XML documents. Describe the the XML semantic structure of the Petri net model based on the DTD structure of the XML document to establish, Petri net modeling the semantic structure of the XML document. In the structure of the XML document's DTD element declarations and attribute declarations corresponding to one or a group of Petri nets model changes, the statement element or attribute corresponding Petri net model of the library, and the path of the XML query expression is defined as Petri token in the network library. XML document data stored in a relational database based on the structure of the Petri net model generated using Petri net model can be XML query into the data for relational database query operations, XML Path expressions accurately locate such can effectively improve the efficiency of XML path expression query like / / element <sub> 1 </ sub> / the element <sub> 2 </ sub> / element <sub> the 3 </ sub> / ... / element < sub> n </ sub> path expression query processing cost is O (n). Finally, through specific examples, focusing on design a set of XML book inquiry system based on Petri nets, the thesis research methods and technology roadmap, to describe the books and documents of the XML document structure and XML document data. According to the flow chart of the design, write code, run the program, book query system based on Petri nets.
Table of contents
Chapter 1 Introduction 7-9
1.1 of XML generated 7
1.2 of XML advantages 7-9
Chapter 2 XML data query status and research ideas 9-14
2.1 Introduction 9
2.2 XQuery query language 9-10
2.3 Document Object Model (DOM) 10-12
2.4 research ideas 12-14
Chapter 3, the structure of XML documents Petri net model defines 14-23
3.1 XML document DTD structure outlined 14-17
3.2 describes the semantic structure of the XML Petri net model 17-20
3.2.1 Petri nets Overview 17
3.2.2 Petri nets basic concepts 17-18
3.2.3 Petri net structure elements of physical description 18
3.2.4 describe the the XML semantic structure of the Petri net model 18-20
3.3 store XML documents according to the structure of the Petri net generation relational database model 20-23
Chapter 4 XML document data path expression query method 23-26
4.1 Introduction 23
4.2 Petri net representation of path expressions 23-24
4.3 based on path expressions of XML query 24-26
Chapter 5 XML book inquiry system design and implementation techniques 26-32
5.1 XML library inquiry system to establish based on Petri nets 26-30
5.1.1 Overview 26
5.1.2 Petri net data structure described 26
5.1.3 Petri involving a public variable description 26-27
5.1.4 Petri net algorithm described 27-30
5.2 data tree-based XML book inquiry system to establish 30
5.3 XML library query system query interface display 30-32
Chapter 6, system analysis, and experimental results 32-35
6.1 Petri net model and the data tree model scale analysis 32
6.2 Petri net model and tree model of data path expression query efficiency analysis 32
6.3 XML book inquiry system query time is 32-35
Chapter 7 Summary and Outlook 35-37
7.1 summarizes 35
7.2 Looking 35-37
the
References 37-39
Acknowledgements 39
Related dissertations
- XML query technology based on more than a DTD
- Research on the Method for Modeling and Analyzing PLC Programs Based on Petri Nets
- Research on Dependability Assurance for Internetware
- Analysis Based on Petri Nets and Automatic Implementation of Sdn-Oriented Protocol Heartbeat Mechanism
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure