Research of Bi-directional Transformation between XML Data and Relational Data with Semantic Constraints
- Author
- LiuYiQiang
- Advisor
- CaiShuXun
- School
- Northeastern University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 5
- Citations
- 0
Abstract
With the development of Internet, Information sharing and Data exchanging become more available. Although XML is being used in cross-platform and heterogeneous data integration, it lacks of store and management mechanism. Nowadays, traditional relational database is still one of main storage methods and it has excellent store and management mechanism, but it cannot transport easily on the Internet. The implementation of the conversion between XML data and relational data will use the advantage of these technologies well.This thesis proposes the means of conversion between XML and relational data; in addition, this thesis also offer improvement of two conversion algorithms and offer a conversion method to translate relational data to XML in order to implement bi-directional conversion and maintain semantic constrains. This thesis mainly contains several parts as follows:First of all, the methods of conversion between XML and relational data are introduced; these algorithms’ advantage and disadvantage are discussed for the conception and construction of this thesis.Secondly, the research on methods of conversion between XML and relational data: base on the research mentioned above, the improvement of two conversion algorithms are developed to ensure effective exchanging and to maintain the semantic as well. In the model mapping, this thesis also improves the method of bit-vector encoding; in the structure mapping, CPI can keep semantics effectively. However, CPI is based on DTD technology, XML Schema is better than DTD in the semantic constraints after comparison. Therefore, this thesis proposes CPI method base on XML Schema, so that it can ensure effective exchanging and to maintain semantics effectively. Third, the research on methods of conversion between relational data and XML:this thesis defines a conversion algorithm in order to offer the ability to convert effectively and maintain semantics effectively.Finally, this thesis designs and implements a prototype system. The discussions of the implementations and results of test work certificate the algorithm provided by this thesis is correct and effective.
Table of contents
Abstract 5-6
Abstract 6-11
Chapter 1 Introduction 11-17
issues 1.1 Background 11 -
1.2 Research topics the research content 12-15
1.3 topics 15-16
1.4 This article organizational structure 16-17 < br /> Chapter 2 Background knowledge 17-31
2.1 XML basic knowledge 17-21
2.1.1 XML characteristics 17-18
2.1.2 XML mode 18-19
2.1.3 XML parsing 19-21
2.2 The basic concepts of the two-way conversion 21-23
2.2.1 XML Schema diagram 21-22
2.2.2 XML Schema inline Figure 22-23
2.3 an XML to relational data into existing research 23-28
2.3.1 Model Mapping (Model Mapping) 23-26
2.3.2 mapping structure (Structure Mapping) 26-28
2.4 relational data to XML conversion of existing research 28-29
2.4.1-oriented data structure of relational schema to the DTD mapping algorithm 28-29
2.4.2 retain semantic constraints relational schema to the the DTD mapping algorithm 29
2.4.3 reserved semantic constraints of relational schema to XML-Schema mapping algorithm
29 2.5 Chapter Summary 29-31 < br /> Chapter 3 XML to relational data conversion 31-47
3.1 Structure Mapping Method 31-39
3.1.1 XML Schema-based conversion method basic Thought 31
3.1.2 an XML Schema document to XML Schema conversion the 31-34
3.1.3 of the XML Schema diagram associated 34-35 < br /> 3.1.4 converted from inline XML Schema diagram to a relational schema the 35-36
the 3.1.5 an XML Schema diagram semantic constraints conversion 36-39
3.2 model mapping method the 39-46
3.2.1 extended bit vector encoding method basic idea 39
3.2.2 extended bit vector encoding the three characteristics 39 - 40
3.2.3 into relational tables storing 40-46
3.3 Chapter Summary 46-47
Chapter 4 relational data to XML conversion 47-53
4.1 the mode conversion basic idea 47
4.2 mode conversion algorithm 47-51
4.2.1 direct conversion 47-50
4.2.2 Nested conversion 50-51
4.3 Chapter Summary 51-53
Chapter 5 prototype system and experimental analysis 53 - 59
5.1 development environment 53
5.2 system structure 53-55
5.2.1 mode XML to RDB conversion module 53-54
5.2.2 the modeless of XML to the RDB conversion module 54-55
5.2.3 RDB, XML conversion module are found; 55
of 5.3 experimental tests and analysis 55-58
5.3.1 experimental data 55
5.3.2 Experimental results and analysis 55-58
5.4 Chapter Summary 58-59
Chapter 6 Summary and Outlook the 59-61
6.1 summarizes 59
6.2 Looking 59-61
References 61-65
Acknowledgements 65-67
Appendix XML Schema document instances 67-68
Related dissertations
- Research on Semantic Keyword Query Over Relational Databases
- Dynamic Geometry Construction Language Based on XML
- Optimizing Twig Query Pattern Based on XML Schema
- A Study of Coding Index Based on Schema
- Research of Data Mining Using XML Frequently Changing Sections
- Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
- On the methods of Spatial Metadata Management Based on relational database
- Research and Implemantation of the Transformation from Unstructured to Structured Data
- Design and Realization of Heterogeneous Database Conversion and Integration
- XML Data Management Based on Relational Database
- A Twig Query Oriented XML Type Inference
- The Study of Workflow Technology and Its Application in Human Resources Management System
- A Design and Implementation of the Foreign Trade Goods Inventory Management System Based on XML Date Storage Techonlogy
- XML-Based Logistics Metadata Storage
- Research on the Storage and Conversion Technology of XML and Relational DataBase
- Research on the Storing Strategy of XML Spatial Metadata According to Relational Pattern
- Research and Application of Conversion between XML Which is a Kind of Semi-Structured Data and Structured DB
- The Research and Implementation of Translating Relational Schema to XML Schema Preserving Semantic Constraints
- Research on XML Storage and Query Based on Relational Database
- Effects of Reform of Audit Firm Structure on Auditor’s Quality