毕业设计-将XML数据存入关系数据库中的方法设计

上传人:飞*** 文档编号:3150139 上传时间:2017-07-30 格式:DOC 页数:41 大小:924.50KB
返回 下载 相关 举报
毕业设计-将XML数据存入关系数据库中的方法设计_第1页
第1页 / 共41页
毕业设计-将XML数据存入关系数据库中的方法设计_第2页
第2页 / 共41页
毕业设计-将XML数据存入关系数据库中的方法设计_第3页
第3页 / 共41页
毕业设计-将XML数据存入关系数据库中的方法设计_第4页
第4页 / 共41页
毕业设计-将XML数据存入关系数据库中的方法设计_第5页
第5页 / 共41页
点击查看更多>>
资源描述

《毕业设计-将XML数据存入关系数据库中的方法设计》由会员分享,可在线阅读,更多相关《毕业设计-将XML数据存入关系数据库中的方法设计(41页珍藏版)》请在金锄头文库上搜索。

1、北京工业大学毕业设计(论文)1摘 要随着 Internet的发展和人们对数据标准性、平台无关性的要求越来越高,XML(Extensible Markup Language)得到了广泛的应用,同时人们对于 XML的存储方式提出了更高的要求。本课题意在设计一种将 XML数据存入关系数据库中的方法,并按照该方法开发一个XML数据装入关系数据库的软件。本文首先对 XML的基本知识进行介绍,随后讨论用关系数据库存储 XML数据的原因,并对目前已经提出的一些 XML文档在关系数据库中的存储方式进行研究讨论,在此基础上提出一个无模式的 XML文档对于关系数据库的存储方法。这个方法将 XML数据分为文档、元素

2、、属性、文本四种节点,并将这四种节点映射为数据库中四个关系表。另外将DOM树中的元素节点关系映射为一个数据库关系表,这五个表是本课题中数据库设计的核心。五个表中包含的属性信息要求方便于 DOM接口和 SAX接口两种方式访问。提出存储方法后,我们将利用这种存储方法开发一个关系数据库中 XML数据装入系统。文章后半部分将详细说明该软件的需求分析、设计、具体开发细节以及测试。该软件的测试结果验证了这种存储方法能够有效的将无模式的 XML文档存入关系数据库。关键词:关系数据库、XML北京工业大学毕业设计(论文)2AbstractWith the development of Internet and

3、the peoples higher and higher requirement for datas standardization and its independent of platform,XML(extensible markup language) is widely used,in the mean time the higher requirement for the storage of XML data is asked.This research group designed a method to store XML data into RDB(Relational

4、Data Base) of which the technology have been very mature and widely used.Then we developed an application that can store the XML data into RDB using this method.At first this article will introduce basical knowledge of XML,and then discuss why store XML data using RDB.After that well research and di

5、scuss the some methods for storing XML data into RDB that have been put forward.Based on them well design a storage method from non-schema XML data to RDB.We classified XML data as four kind of nodes such as Document,Element,Atribute and Text.These four nodes are mapped to four tables in the RDB and

6、 we mapped the DOM Tree into a table too.The five tables is the core of the RDB design.The attribute information involved in the tables is required that both DOM and SAX interface can be easy to get information from the tables.After giving the method we designed well develop an application that can

7、storing the XML data into RDB using that method.Its requirement analyse,design details and test result well be described in the second half part of the article.The test result will show that using the storage method we can storing the non-schema XML data into the RDB effectively.Key words:RDB(Relati

8、onal Data Base),XML北京工业大学毕业设计(论文)3目 录摘 要 .1Abstract.2目 录 .31 绪 论 .51.1 课题背景及研究意义 .51.2 XML 知识简介 .51.2.1 XML .51.2.2 DTD 和 Schema.71.2.3 DOM .71.2.4 SAX .91.3 基于关系数据库的 XML 存储技术 .101.3.1 现存的基于关系数据库的 XML 存储技术 .101.3.2 一个模式驱动映射实例 .101.4 作者的工作 .111.5 本章小结 .112 无模式映射的设计 .122.1 方案设计要求 .122.2 设计思想 .122.3 方案详细设计 .122.3.1 E-R 图(实体集中只画主码) .132.3.2 实体集和联系 .

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号