eous database synchronous system using Web Service. It has realized the function of one-way synchronous from SQL Server2000 to Oracle. It has some functions, the security authentication of IP, the data transmission of IP, the Synchronization configuration using XML storage and the windows application program UI which can make this system be operated easily.
Because the synchronous environment will be real-time synchronous for heterogeneous database on the Internet, in the design and implementation, this system has showed the synchronization of heterogeneous database and data transmission reliability, achieving the synchronization of reliable data, the security methods of data trans
mission, and the efficiency transmission. It will display the ideas of realization and the necessary critical technologies. There are some relevant technologies that this system used, for example, the capture technology, the windows tray service, multi-thread processing, and the network news mechanism, and so on.
Key
words: Web Service; Heterogeneous Database; Synchronization; ADO.NET;
目 录
论文总页数:24页
1 引言 1
1.1 课题背景 1
1.2 国内外研究现状 1
1.3 本课题研究的意义 2
1.4 本课题的研究方法 2
2 WEB SERVICE数据库同步原理 3
2.1 WEB SERVICE构成与特点 3
2.1.1 Web Servcie的结构 3
2.1.2 Web Servcie的关键技术---协议 3
2.1.3 Web Servcie的特点 4
2.1.4 Web Servcie安全 5
2.2 数据库复制的分类 5
2.3 复制数据的类型 6
2.4 数据捕获技术 7
2.5 冲突检测 8
3 需求分析 9
3.1 同步环境 9
3.2 功能需求 9
3.3 性能需求 10
3.4 输入输出要求 10
3.5 运行需求 10
4
方案设计 11
4.1 数据库同步复制模型 11
4.2 数据库设计 11
4.2.1 源结点Sql Server 2000表设计 11
4.2.2 目的结点Oracle表设计 12
4.3 模块设计 13
4.3.1 数据捕获部分 13
4.3.2 同步部分 13
4.3.3 冲突检测处理部分 16
5 代码实现 16
5.1 开发环境 16
5.2 关键代码详解。 16
5.2.1 数据捕获部分 16
5.2.2 同步部分 17
6 测试 19
6.1 功能测试 19
6.2 性能测试 20
结 论 21
参考文献 21
致 谢 23
声 明 24
1 引言
1.1 课题背景
随着信息化建设的深入,企业和政府如何将己有的"信息孤岛"连通起来,实现信息的集成与共享是当前需要解决的一个关键
问题。特别是企业和政府部门多数采用层次管理摸式,各个部门、分支机构可能处于Internet上的不同区域,上下级机构之间需要进行大量的数据汇总与分发,实现整个企业或政府部门的数据集成。这种数据集成是从一个或多个数据库中抽取数据,经过远程传输处理后再加载到另一个数据库中。各分支机构数据库系统又包括异构的与同构的,这里的异构可以是操作系统的异构,可以是数据库
管理系统的异构,也可以是数据库内部表结构的异构。
然而,分布式数据库系统既要提供局部自治又要实现全局控制,给数据的同步带来了很大的挑战性。如何在不同组织之间、不同类型、不同平台的数据库