An XUpdate2SQL Update Scheme Based on Relational Database
- Author
- WangJing
- Advisor
- PanYinRong
- School
- East China Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.138 Database system: sub- system name
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 16
- Citations
- 0
Abstract
XML is a text and document markup language, and has a good scalability. At present, more and more applications use the XML standard to store information. These XML documents need a stable and efficient storage and management tool, especially a update management tool. Relational database with its mature, stable, efficient and many other advantages is used to store and manage XML data. There are two problems using relational database to manage XML data: how to store XML data from XML model into a relational mode; how to translate XML language into SQL language. This thesis will study the second issue.This thesis analyzes many research results about the XML language to the SQL language translation and finds there are two questions:(1) In the current XML languages, researchs about XUpdate (update language) to SQL language are not yet ripe.(2)In these researchs, the translation from XUpdate (updated language) to SQL language is for a particular storage mode, which means storage mode of production is fixed. If the storage mode needs to change, the cost will be relatively large. This limitation makes the research unflexible.As a result, this thesis will study the translation from XUpdate to SQL.This thesis will propose and realize a XUpdate2SQL update scheme based on relational database. The proposed scheme is a much convenient scheme,it mainly resolves two issues:(1) The realization of the translation from XUpdate to SQL language. The scheme provides a complete XUpdate to SQL translation algorithm, and the SQL language fits the SQL-92 standard, with good versatility.(2) Provied a method to resovle the fixed storage mode. The scheme designs a series of interface to the storage module, the language translation algorithm can only obtain the storage information by the interface, this seperates the storage module and translation module. When the storage module needs to change, there is no need to change the translation algorithm and so that the scheme will have a much smaller price adjustment.In addition, the author realizs the scheme to a real update system. According to the update scheme, the author modifys a query system that has been achieved by our laboratory and realizes a real update system that fits the scheme design in this thesis. The update system is in accordance with the design requirements and supports the translation from XUpdate to SQL, and enables users with a smaller price to adjust the storage mode.Finally, this thesis has a comprehensive assessment of the scheme and system and proposes the next step needs to carry out deep research.
Table of contents
Abstract 6-7
Abstract 7-10
Chapter Introduction 10-17
1.1 XML Introduction 10 <br / > 1.2 XML query 10-12
1.2.1 XPath 10-11
1.2.2 XQuery 11
1.2.3 XUpdate 11-12
1.3 XML storage and management 12-14
1.3.1 manually 12
1.3.2 object-oriented database 12
1.3.3 native database 12-13
1.3.4 relational database 13
1.3.5 relational database to store XML need to be resolved 13-14
1.4 research status and Problems 14-15
1.6 the main research work 15-16
1.7 the paper is organized 16-17
Chapter XML storage model 17-23
2.1 DTD and XML Schema 17-18
2.2 storage mode basic concepts 18
2.3 is not based on the structure of XML storage technology 18-19
2.3.1 Edge method 18-19
2.4 XML structure -based storage technology 19-22
2.4.1 basic inline France 20-21
2.4.2 sharing inline France 21
2.4.3 mixed inline France 21-22
2.5 Chapter Summary 22-23
Chapter XUpdate2SQL update program design 23-46
3.1 significance of the Research Programme 23
3.2 program design principles 23-24
3.3 storage Services module design 24-31
3.3.1 entity Structure 24-26
3.3.2 workflow 26-31
3.4 document loaded module design 31
3.4.1 entity Structure 31 < br /> 3.4.2 workflow 31
3.5 updates the conversion module design 31-43
3.5.1 entity Structure 31-33
3.5.2 workflow 33-43
3.6 overall program flow 43-44
3.7 program update constraints 44-45
3.8 of this chapter Summary 45-46
Chapter XUpdate2SQL update program update expression 46-55
4.1 XQuery Update Facility and FLWOR expressions 46-47
4.1.1 XQuery Update Facility 46
4.1.2 XUpdate FLWOR expression 46-47
4.2 update expression 47-48
4.3 update expression conversion 48-54
4.3.1 Insert update expression 48-50
4.3.2 Delete update expression 50-52 < br /> 4.3.3 Replace update expression 52-54
4.5 Chapter Summary 54-55
Chapter XUpdate2SQL update the program to achieve 55-70
5.1 system framework 55-56
5.2 storage mode subsystem 56-61
5.2.1 design ideas 56-57 <br / > 5.2.2 implementation 57-61
5.3 document loads subsystem 61
5.4 update conversion subsystem 61-68
5.4. a design ideas 61-62
5.4.2 implementation 62-68
5.5 SQL Validator 68-69
5.6 chapter Summary 69-70
Chapter XUpdate2SQL update the system's performance analysis 70-77
6.1 update system application methods 70-71
6.2 to update your system correctly experiment 71-72
6.3 update system conversion time experiment 72-77
6.3.1 performance Comparison storage mode 73-74
6.3.2 nested structures with no nested structure XUpdate XUpdate conversion efficiency compared 74-77
Chapter VII conclusions and future research 77-78
7.1 Summary 77
7.2 Prospects 77-78
Thanks 78-79
References 79-82
Appendix 82-84
Appendix II 84-86
participate in projects and papers published catalog 86
Related dissertations
- Research on Zhejiang’s Agricultural Products Foreign Trade Adjustment Cost
- 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
- XQuery Query Processor Design and Implementation
- Research and implementation of group production information integration management
- Research on XML Conceptual Model and Internal Transformation Method