Research of Storing Data Using Relational Database in ASCM System Based on XML
- Author
- ChenZuo
- Advisor
- WangLiJuan
- School
- Henan Agricultural University
- Major
- Agricultural Information Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 1
- Citations
- 0
Abstract
Because of the time difference and spatial differentiation, different agricultural database systems have different hardware devices, runtime environments, operating systems, data models and so on. That seriously impacts on the real-time transmission of information, influence coordination and stability of ASCM system,and makes it impossible to share informations between different application systems, and breaks the chain in agricultral productions′production-supply-marketing.The unbalance between demand and supply largely handicap the development of agricultural producation. Therefore, we have to gather different source ,format, characteristics and properties of heterogeneous data logically or physically together organically, that can provide comprehensive data sharing for members of the ASCM network system.XML has customizable , portability , expansibility etc advantages,and facilitately express all types of data , is often used as data storage and exchange intermediary. Meanwhile XML data stored content and applications separately, that can improve the efficiency of data exchange and inquires. At present XML has a wide range of applic- ations in many fields. Efficiency, stability,portability and expansibility of relational database technology in mass data processing is incomparable,this technology can process XML data and relational data in a system.XML and relational database techn- ology union can effectively solve the problem of the integration of heterogeneous data in ASCM system.This paper mainly discussed how to store XML data documen using relational database in ASCM system, on the basis of model mapping and Structure mapping methods combined with the characteristics of ASCM system data, realizing XML data effective storage in relational model, to lay a foundation for eatablishing a unified ASCM system information sharing platform.Firstly by analysising existing data,acco- rding to the model defined types of XML data, the original data in ASCM system divided into three types:no model data,simple model data and complex model data,for different types of XML data take different storage ways. In no mode data storage process, this paper mainly introduces the establishment of XML document tree and no model data storage model. In simple mode data storage process, considering of characteristics such as large amount of data and updates faster in ASCM system, we proposeed an inline schema mapping algorithm. Conversion process must take into account hierarchy and ordering of XML data, and keep the XML schema information as much as possible to facilitate document reconstruction. In complex mode data storage process,We can extract some key informations,such as choice elements, complex elements, many-valued elements and groups of elements,through converting complex mode equivalent model.Then, we can establis hing DOM tree according to equivalence information,combining mapping rules,XML complex model can be converted to relational model. Finally, loading the XML document, the XML document data would be added to database table,which would achieve conversion XML document data to relational database.
Table of contents
Thank 4-7
Abstract 7-8
1 Introduction 8-13
1.1 background and significance of research 8
1.2 research status 8-10
1.3 thesis research content the organization and structure of the 10-11
1.4 papers 11
1.5 Summary 11-13
related technologies and systems analysis 13-27
2.1 XML schema 13-16
2.1.1 the DTD 13-14
2.1.2 an XML Schema.; 14-15
2.1.3 the DTD and XML Schema comparative analysis 15-16
2.2 XML parsing 16-17
2.2.1 DOM 16
2.2.2 SAX 16-17
2.2.3 JDOM 17 <br / > 2.3 XML to relational data mapping 17-22
2.3.1 model mapping method 18-20
2.3.2 structure mapping method 20-22
2.4 ASCM Introduction 22-25
2.5 ASCM system data analysis 25
2.6 Summary 25-27
ASCM system mode data storage 27-34
3.1 mode XML data storage method 27-28
3.2 of the XML document tree to establish 28-31 < br /> 3.3 modeless XML data storage algorithm 31-33
3.4 Summary 33-34
4 ASCM system in simple mode data storage 34 - 45
4.1 ASCM system in simple mode constraints on the data analysis 34
4.2 Simple mode data storage strategy designed 34-35
4.3 ASCM system, a simple model to the relationship mode conversion 35-40
4.3.1 simplifies the DTD 35-39
4.3.2 inline DTD graph to relational schema conversion 39-40 < br /> 4.4 ASCM system XML data to relational data conversion 40-44
4.4.1 XML tree to establish 40-41
4.4.2 node encoding 41-42
4.4.3 of the XML document information into a relational table conversion process 42-44
4.5 of this chapter Summary 44-45
ASCM system complex patterns in data storage 45-56
5.1 complex patterns of data storage policy design 45-46
5.2 E-the Schema generation 46-49 < br /> 5.3 to generate the DOM tree.; 49-51
5.4 relational schema mapping process 51
5.5 to rewrite the equivalent mode 51-54
5.5. 1 inline rewrite 51-52
5.5.2 choice merge rewrite 52-54
5.6 to load an XML document into a relational database 54-55
5.7 Summary 55-56
6 Summary and outlook 56-58
6.1 summarize 56-57
6.2 Looking 57 - 58
References 58-62
Appendix 62-63
Abstract 63-64
Related dissertations
- XML-Based User Interface Design for Models
- A Study on the Theory and Approach of Error Recognition and the Application in Decision Support System
- Study on the Model of Economic Responsibility Auditing for Operators of Sstate-owned Enterprise under the Risk-based Audit
- Research of Credibility Theory and Regression Credibility Model
- Off-site Audit System of C Bank
- The Development and Implicational Research on Japanese Trust Industry
- The Research of Country-Level Fiscal Spending Issues
- Research on Tax Accounting Management Mode in H Province National Tax System
- Research of E-commerce Model for Direct Selling Companies
- Research on Joint Distribution of Chain Retail Enterprises
- The E-commerce Model Research of XX Insurance Company
- Research Model and Economic Evaluation of Hotel Investment and Development
- Research on the Development Potential of Film and Television Tourism of Jiaozuo
- The Largest Shareholder in Chinese Listed Companies to Influence the Corporate Performance Empirical Study
- An Analysis on the Relationship between the Cost of Equity Capital and the Cross-listing Behavior
- Research on financial strategy of listing Corporation
- Researching for Improving the Financial Management Mode of HAIMO TECHNOLOGIES Overseas Subsidiaries
- Private enterprise internal financial control system of FL industry group as an example
- Enterprise Value Chain Model Building under the Trust Perspective
- Research of Supply Chain Coordination Model from the Perspective of Customer Satisfaction