文档介绍:本科毕业设计(论文)
摘要
随着的发展和人们对数据标准性、平台无关性的要求越来越高,
得到了广泛的应用同时人们对于的存储方式提出
了更高的要求。
本课题意在设计一种将数据存入关系数据库中的方法,并按照该方法开发一个
数据装入关系数据库的软件。
本文首先对的基本知识进行介绍,随后讨论用关系数据库存储数据的原因,
并对目前已经提出的一些文档在关系数据库中的存储方式进行研究讨论,在此基础上
提出一个无模式的文档对于关系数据库的存储方法。这个方法将数据分为文档、
元素、属性、文本四种节点,并将这四种节点映射为数据库中四个关系表。另外将树
中的元素节点关系映射为一个数据库关系表,这五个表是本课题中数据库设计的核心。五
个表中包含的属性信息要求方便于接口和接口两种方式访问。
提出存储方法后,我们将利用这种存储方法开发一个关系数据库中数据装入系统。
文章后半部分将详细说明该软件的需求分析、设计、具体开发细节以及测试。该软件的测
试结果验证了这种存储方法能够有效的将无模式的文档存入关系数据库。
关键词:关系数据库、
本科毕业设计(论文)
Abstract
With the development of and the people’s higher and higher requirement for data’s
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 Data Base)
of which the technology have been very mature and widely 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 that we’ll research and discuss the some methods for storing XML
data into RDB that have been put on them we’ll design a storage method from
non-schema XML data to classified XML data as four kind of nodes such as
Document,Element,Atribute and four nodes are mapped to four tables in the RDB
and we mapped the DOM Tree into a table five tables is the core of the RDB
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 we’ll develop an application that can storing the XML
data into RDB using that ’s requirement analyse,design details and test result well be
described in the second half part of the test result will show that