您好,欢迎来到佳博论文网!

人口基础信息数据库数据一致性的研究

论文字数:12487,页数:30 有开题报告,任务书

摘 要

人口基础信息分布于不同政府部门的不同类型数据库中,构建人口基础信息数据库的根本任务是将大量异构数据整合起来,实现人口基础信息的共享与交换。本文基于XML技术解决人口基础数据库的数据格式转换问题,阐述了维护数据一致性的两种方法,即消息队列法和复制控制法,介绍了使用消息队列和复制机制来维护人口基础信息数据一致的实现过程,以达到人口基础信息数据库的数据格式的一致性目的。本文在深入分析实现异构数据库的方法的基础上,设计和实现了一个系统。该系统主要是实现了通过WebService保证了各个部门与人口基础信息数据库的数据一致性。同时在系统中加入了日志机制,使得在网络出错的情况下,也能正确的保障数据的一致性。

关键字:人口基础信息数据库;一致性; XML

Studies of Data Consistency on the Basis of

Human Resource Database

Abstract

Information based on the population distribution in the different types of databases of different government departments. Construction of the information database based on the population’s fundamental mission is to integrate a large number of heterogeneous data, human resource sharing and exchange. This paper solution human resource data format conversion throw coordination of XML. expounded maintaining data consistency of the two methods, Message Queue and Replication Control Act, on the use of Message Queue Server and SQL Minute mechanisms to protect Data Consistency on the Basis of human resource to achieve population based database format of the data consistency purposes. Based on in-depth analysis of the realization of heterogeneous database based on the method of design and realization of a system. The system is mainly achieved through Web Service guarantee of various departments with information database based on the population of a few According to the consistency. At the same time added to the system log mechanism, the network makes a mistake in the circumstances, it can correct the consistency of data protection.

Keywords: Human Resource Database; Consistency ;XML

目 录

1.概述1

1.1选题背景和目的1

1.2中国人口基础信息数据库发展现状1

1.3研究面临的难点和关键技术2

1.3.1研究人口基础信息数据库面临的难点2

1.3.2研究人口基础信息数据库使用的相关技术2

1.4本文的结构3

2.人口基础信息数据库基本知识4

2.1人口基础信息数据库的介绍4

2.2ORACLE 数据库5

2.3ACCESS 数据库5

3利用XML实现异种数据库间的数据交换6

3.1数据交换的原因6

3.2XML、DOM与数据库6

3.3基本思想6

3.4异构数据库数据转换实现7

3.4.1数据抽取7

3.4.2数据存储9

4.数据一致性的研究12

4.1维护数据一致性的方法12

4.2消息队列法12

4.2.1消息队列法介绍12

4.2.2消息队列法的实现13

4.3复制控制法14

4.3.1复制控制法介绍14

4.3.2复制控制法的实现16

4.4两种方法的原理分析17

5.系统设计18

5.1系统设计的软件和硬件环境18

5.1.1硬件环境18

5.1.2软件环境18

5.2系统总体设计18

5.3功能划分19

5.3.1用户登录模块19

5.3.2身份证信息管理模块19

5.3.3数据交换模块20

5.4小结21

6.总结22

致谢23

参考文献24

人口基础信息数据库数据一致性的研究......