基于Web Service的数据库同步系统的设计与实现

摘  要

结合当前流行的Web Service和ADO.NET技术构造了一个不受平台限制的异构数据库同步系统。实现了处于Internet上的Sql Server2000向Oracle 的单向同步功能,能够基于IP的安全身份验证功能,多个IP实现了净量数据的传输。对同步的配置信息采用XML存储,采用Windows应用程序界面化配置,操作方便、易懂。

因为同步环境是对处于Internet上的异构数据库的实时同步;在设计与开发中,重点关注异构数据库的同步以及数据传输的可靠性;探讨能实现可靠数据的同步,以及传输的高效性。介绍了实现系统的思路以及所需的关键技术。系统用到的相关技术有捕获技术Windows 托盘服务、多线程处理、以及网络消息机制、多IP同步、同步IP权限验证、同步表名及字段以及字段类型的可配置、异构数据类型的转换、Web Service等。

 

关键词Web Service;异构数据库;同步;ADO.NET;

 

 

The Design and Implementation of Database Synchronization System Based on Web Service

Abstract

 

We can construct the Heterogeneous 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 transmission, 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

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源