为了解决企业网络环境中异构数据库的数据集成和共享问题,重点研究了如何利用XML技术屏蔽数据库间的异构数据难题。提出了基于XML和中间件的集成异构数据库数据源的框架模型,该模型主要实现两部分的功能:数据库信息映射字典的生成和中间件系统查询的运行。中间件系统以XML作为数据交换的中介,提出了关系数据库数据与XML文档相互转换的方法,实现了用户对异构数据库数据的透明化共享。该模型适合企业信息化建设的需要。
In order to resolve data integrate and sharing among heterogeneous databases in the network of enterprises, how to use XML shielding the heterogeneous data problems of databases is researched, and came up a frame used for integrating data from heterogeneous databases based on XML and middleware. The frame mainly realized two part of functions: Generation of mapping dictionary for database and inquiration ofmiddleware system. XML is used as a medium for data formate change, and the exchange methods between the data from databases and XML files is provided, and made the user transparently share the data from heterogeneous databases. This model satisfied the information construction of enterprises.