文档介绍:沈阳理工大学
硕士学位论文
基于XML的异构数据库数据转换工具的设计与实现
姓名:杜邵敏
申请学位级别:硕士
专业:计算机软件与理论
指导教师:陶振凯
20090301
沈阳理工大学硕士学位论文
摘要
随着数据库技术的发展和各行业间信息交换的日益频繁,不同种类数据库之
间进行数据共享的要求日益突出。传统的异构数据库间的数据转换工具已不能很
好地解决类型复杂的异构数据库间的信息交换,因此,本文结合新兴的XML技术,
应用其作为中间数据格式标准设计实现一个异构数据库数据转换工具。
XML 具有平台无关性、可扩展性和互操作性,具有数据语义描述和传送能力,
是理想的数据源交互媒介。本文基于 XML 技术设计了异构数据库数据转换工具模
型,并对其中 XML 数据结构文件和数据结构转换文件的结构进行了详细的设计与
描述。实现了迁移式和合并式两种数据转换方式并解决了其中存在的命名冲突、
数据类型冲突、结构冲突及语义冲突。根据实际需求,本文设计的 XML 数据结构
文件和数据结构转换文件考虑到了源数据库与目的数据库之间一对多和多对一的
复杂条件转换。同时,针对大批量数据转换对系统软硬件环境要求高的特点,本
文提出分包数据转换的思想与实现。
在数据转换工具的实现中,本文采用了 Microsoft Visual 平台和
Visual C#开发语言。利用 数据库访问技术实现了数据库操作类并设计了
人性化的用户操作界面,实现了异构数据库数据转换的功能并将其应用到辽宁信
用项目数据交换系统中。
本课题基于信用项目提出,经过实际数据测试,取得了较好的效果。
关键词:异构数据库;转换技术;XML;
沈阳理工大学硕士学位论文
Abstract
With the development of database technology and high frequency of information
exchange between industries, demands of data sharing between different types of
databases e increasingly prominent. Traditional transformation tools for
transforming data between heterogeneous databases have not adequately address the
complex types of heterogeneous databases to exchange information, so using the new
XML technology, The paper designs and implements a data transformation tool
between heterogeneous databases based on standard XML data format.
XML has the features of platform independency,easy extendibility,good
interactivity, Semantic description of the data, data transmission capacity and It is the
ideal cross-media of heterogeneous data paper designs a data transformation
tool model based on XML and gives the design and presentation of structure of XML
data file and XML structure file in achieves to transform data in two-way that the
transfer way and the merger it gives settlement to conflicts in
naming ,structure,data type and meaning. On the basis of actual needs,The paper takes
into account plex conditions of one-to-many and many-to-one between tabl