XDR mode XML documents and relational database - based mapping technology research

Author
HongXin
Advisor
ChenWeiBin
School
Huaqiao University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2004
Downloads
133
Citations
9

Request the full text

Abstract

With the widely use of the XML, the XML is becoming a huge data source. The Database can extract useful information from the XML document. At the same time, the data stored in the Database can be exchanged between the heterogeneous systems by transforming the data into XML formatted. On one hand, the XML has strong exchangeability but is weak in data management. On the other hand, the Database has intensive data management but weak exchangeability. Combining with the advantage of both the XML and the Database, the data can be exchanged easily and be managed efficiently. It’ s a perfect data solution. The researches on the data exchange between the XML and the Database are getting more and more important.We establish an XMLmodel to describe the XML document. By comparing the similarities and differences between the XMLmodel and the ER model, we get some mapping principles about the exchange between XML document and the Relational Database. According to these principles, we set up a series of mapping algorithmic rules. To verify the correctness of the algorithmic rules, we establish an experimental application, choosing Java as the programming language. The system we founded transforms the data between the Relational Database and the XML by using the ODBC data source interface. In our experimental application, the data can be exchanged by ignoring the Relational Database platform. The experimental application also provides other two virtual Database platform. One is the virtual Relational Database based on the XML data, the other is the virtual XML Database based on the Relational data. The virtual Relational Database can display the XML document in a table form. And the virtual XML Database can display the Relational data in an XML form.In the first Chapter, we discuss the relative research work about the data exchange between the XML and the Relational Database, and analyze the Relational Database Management System people used nowadays. Via the analysis, we discover deficiencies in the work and in the DBMS, and then put forward a data solution. At the end of this chapter, we present an outline of our researches, and the innovation of our works. The second Chapter introduces some technical background information of our researches, such as the syntax of the XML and the XDR, and theprogramming interface of the XML. In the third Chapter, we establish an XMLmodelto describe the XML document and the XDR model. In the fourth Chapter, we set up a series of mapping algorithmic rules by analyzing the mapping principles from the XML document to the Relational Database. In the fifth Chapter, we set up a series of mapping algorithmic rules by analyzing the mapping principles from the Relational Database to the XML document. In the sixth Chapter, we present an experimental application, and verify the correctness of the mapping algorithmic rules putting forward in the forth and the fifth Chapters. At the end of this paper, we summarize our researches and works, then point out the deficiency of our researches and works.

Table of contents

The first chapter 7-12 1.1 subject background 7-8 the 1.1.1 an XML features and application prospects 1.1.2 subject proposed 7-8 1.2 The study of the subject content 8-12 1.2.1 research progress at home and abroad 8-10 1.2.2 The topics 10 1.2.3 Features and innovation 10-12 related technologies 12-19 <br / > 2.1 XML foundation the 12-14 2.1.1 XML standards and norms 12 2.1.2 XML syntax 12-14 2.2 an XML XDR mode 14-17 2.2.1 Why use XDR 14-15 2.2.2 XDR frame structure and syntax 15-17 2.3 XML programming interface 17-19 2.3.1 the DOM 17-18 2.3.2 SAX 18 2.3.3 Event-driven and object-driven model comparison 18-19 the third chapter XMLmodel model studies 19-26 3.1 XMLmodel model specification 19-21 3.2 XDR's XMLmodel describes 21-24 3.2.1 XMLmodel-relation 21-22 3.2.2 XMLmodel-Control 22-24 3.2 nbsp of the .3 XMLmodel-value; 24 3.3 XMLmodel model and ER model mapping analysis 24-26 3.3.1 ER model overview 24 3.3.2 model mapping analysis 24-25 3.3.3 XDR mode with relational schema mapping 25-26 Chapter XML document to relational database mapping 26-48 4.1 Overview 26-29 4.1.1 an XML document to relational database mapping rules 26 the 4.1.2 mapping method outlined 26-29 4.2 XML document generation XDR mode 29-30 4.3 XDR mode mapped to relational schema 30-45 4.3.1 data type (dt: type) mapping 31-33 4.3.2 Properties attribute of mapping 33-35 4.3.3 element element mapping 35 - 37 4.3.4 model group group mapping 37-41 4.3.5 recursive structure mapping the element declaration ElementType mapping 41-43 4.3.6 43-45 4.4 XML document data into relational database data conversion 45 4.5 Completeness mapping study 45-48 4.5.1 the mapping efficiency analysis 45-46 4.5.2 relational table management 46 4.5.3 database management 46-48 Chapter relational database to XML document mapping 48-57 5.1 Overview the of 48-52 5.1.1 database the mapping DB2XML-database 48-50 <br / 5.1.2 relational tables the mapping DB2XML-table 50-52 5.2 relational schema mapping XDR mode 52-55 5.2.1 relational tables contact mapping 52-53 5.2.2 relational schema mapping 53-55 5.3 data conversion 55-56 5.4 mapping efficiency analysis 56-57 Chapter VI prototype system design and realization 57-76 6.1 System Overview the 57-58 6.2 system works About 58-64 6.2.1 XML2DB subsystem 58-62 6.2.2 DB2XML subsystem 62-64 6.3 Algorithm Design and Implementation 64-69 6.3.1 XML document to relational database mapping the main algorithm to achieve the 64-67 6.3.2 relationship database to XML document mapping the main algorithm to achieve 67-69 6.4 application examples of the prototype system 69-76 6.4.1 XML document is mapped to a relational database 69-72 6.4.2 relational database mapped to an XML document 72-76 summarize 76-77 Reference 77-79 thank the 79

Related dissertations

  1. Design and Implementation of Regional E-government Information Resources Data Exchange System
  2. Design and Implementation of a Basde on XML Heterogeneous Database Middleware
  3. Office management system design and implementation of network center of Chengde City
  4. The Study of Chinese Futures Exchanges Development Trend Based on the Perspective of Enterprises Merger
    ZhaoAnNa ·Anhui University of Finance ·2014 ·Master's thesis
  5. Application of Convertible Merger of Enterprises
  6. Research on Relationship between Sichuan Province Bank and Economic Development in Sichuan
  7. Measurement and Decomposition of Income Mobility in China
  8. Study on Treasury’s Interest Rate Risk between Exchange and Interbank Bond Markets Based on Parametric Model
    JiangZuo ·Xiamen University ·2014 ·Master's thesis
  9. The Design and Realization of Internet Public Opinion System
  10. Design and Implementation of Teaching Website Based on JAVA
    LiuHui ·Northeastern University ·2012 ·Master's thesis
  11. Design and Implementation of the XProc Processor Based on.NET
  12. Design and Implementation of the XML Document Processing System Based on Xproc
  13. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  14. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  15. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  16. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  17. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  18. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  19. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  20. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis