用户名: 密码: 验证码:
基于Web Service的数据交换系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文首先简要说明了Web Service的应用背景,介绍了Web Service的概念、体系结构及Web Service的相关协议,指出了其跨平台的重要特性,在当前有着广泛的应用。
     为了解决电子政务中的“信息孤岛”问题,我们开发了基于Web Service的数据交换系统,并对其进行了升级完善,成为独立的产品,可以在政务项目中加以应用。
     本文从数据交换的现状和需求出发,详细介绍了数据交换系统的总体设计思想和体系架构,阐明了需要解决的关键问题,以及系统中对安全性的保证。
With the development of Internet and Web technology, the projects of Web-based rise rapidly. However, there are still some problems in the traditional Web development: over-centralized control; closed system, tightly coupled; various platform incompatibilities. In the building of e-government projects, these problems have resulted in the emergence of“information islands”.
     In the audit requirement of online platform in JiLin ZhengWu DaTing, the district halls can not do the unified online approval because they have their own information-processing systems. They have to repeat the same information and reduce the efficiency. So a large number of information can not fully play its role. In order to solve the problem, I have the paper. In the basis of Web Service research, we develop the system of data-exchange, solved the problem of“information islands”and shared the data. From the requirement of the system, we establish the system of data-exchange in basis of Web Service. The system is a data-exchange platform that is based on the PKI, Axis, XML, SOAP, TCP/IP technology and accords with the Internet standard agreement. It is easy-expansion, cross-platform, cross-firewall, flexible, and applicable to exchange the information in heterogeneous system.
     The requirement of the data-exchange system includes the following four aspects: sending function, transmitting function, receiving function and system maintenance. Sending function of the system means that data-extraction, data-packing, data-signature, data-sending, log-recording. Transmitting function of the system involves in the receipt of data-receiving, extracting summary data, data verification-signature, the next node of the data-transmitting, transmitted data-signatures, transmitted data-repackaging, log-recording of transmitting process. Receiving function of the system includes data-receiving, data-unpackaging, signature verification, sending information after receiving data, log-recording of receiving process. The requirement of system maintenance in the data-exchange system includes the maintenance of exchange-domain and the maintenance of exchange-router. It is the maintenance of all those involved in the exchange system, for example, the unified code, the Chinese name, the corresponding url, description, and so on. It must ensure that the code is only in the entire system within the exchange. Exchange-router refers to the selection of router when the exchange-data goes to the destination in the data-exchange system (intermediate transceiver nodes).
     We introduce the design mentality and architecture of the data-exchange system in detail. This paper analyses the key problem of the data-exchange system is standard and concentrate. For this, we explain the principle of the system in two areas: Data Construction, identification and analysis; sending and receiving data. In order to identify and parse datas, the application systems consult with the data format and form the XML or binary stream format to structure the data packets. When the receiver in the system gets the data packets, they will verify whether the data packets are the right format, and they will discard packets if the packets do not meet the requirements. At the same time, the receiver will tell the sender the thing about this.
     In the process of sending and receiving data, we divide the data-exchange system into two parts: data-exchange platform and data-exchange plug-in. Data-exchange platform is used to storage and transmit the data and deployed in the server. Data-exchange plug-in deployed in the client is used to send data to the server and fetch data from the server-side. We can set several data-exchange platforms and send data to different departments (server-side).
     For the data-exchange system in Web Service-based, the security is the top priority in development. The objects of the system include personal, corporate, government, and the system connects to the Internet, so it must be security assurances to protect the confidential information of government or enterprises. The system uses digital certificates based on PKI Certification Center and digital signature technology to ensure the security. The way of sending and receiving data in packets ensures that the data is non-explicit transmission. At the same time, the data packets must have the digital signatures. The receiver will verify the data packets, identify as the right data, and then deal with them. In addition, the data-exchange platform has a visa system to ensure that the applications use their own certificates so as to ensure the security. Data-exchange system is a Web project after all, so it has some sensitive configuration files for the flexibility of the system. We place these files in the WEN-INF folder and they can not be visited through external URL. The key information is hidden.
     On the basis of security, the system which uses Axis engine to develop Web Service project is easy to deploy and convenient for the project personnel operation. At the same time, the system has the characteristics of open, flexibility and stability.
     The open character performs in the open of exchange-domain and the open of exchange-data format. The system communicates by the way of SOAP and uses XML as the data-descriptor, so the system is platform-independent, unrelated to the development of the language. If there is a new application to join the system, we only need to expand the functions of the exchange system without any changes to the original system. At the same time, the different data formats in the data-exchange system are dealt with a unified model of the factory. We only need a unified data format in the application. Flexible character performs in the simple and flexible of the exchange information configuration. We only need the modification of the corresponding configuration files, instead of redeploying the exchange plug-ins. Addition, the system is Loosely Coupled System. If an application system is over for some reason, it will only affect this application and the entire domain of any other exchange systems will not be affected. So we can say that the system is steady.
     The data-exchange system based on Web Service can meet the business needs of users and the security makes users relax. Today, the system has been used in several e-government projects, such as the BaiCheng City People's Government and SiChuan Province county-town project. Practice has proved that this system can connect the original administrative system for the information exchange between systems, and remove information islands. So the system has broad application prospects.
引文
[1] Greg Barish著,林琪,英宇 译. J2EE Web应用高级编程. 清华大学. 2002, (2): 1-6
    [2] 蔡月茹, 柳西玲. Web Service 基础教程. 清华大学. 2006, (1): 3-41
    [3] 蔡翠平. 从 HTML 到 XML. 清华大学出版社. 2002. (1): 81-109
    [4] 顾诩,张申生,朱祥飞. 一种企业应用集成(EAI)方案的研究. 计算机工程与应用. 2003.6: 12-20
    [5] 褚红伟, 葛玮. 一种新型的企业应用集成解决方案. 微机发展. 2005.2: 16-42
    [6] 柴晓路,梁宇奇. Web Service 技术,架构和应用. 电子工业出版社. 2003.1: 38-52
    [7] 陈传波,方新城. 松耦合应用集成模型研究. 华中科技大学学报,2003,1: 10-24
    [8] W3C Extensible Makup Language (XML) 1.0 (Third Edition). 2004.2: 69-85
    [9] Bill Evjen. Introducing XML Web Services. DataBase and Network Journal 2004, Vo1.33 No.3: 6-9
    [10] 韩立巧、张传生. 基于 SOAP 技术构建 Web 服务的研究. 计算机工程. 2003 .6 Vo1.29. No.10: 92-94
    [11] 宁葵、滕金芳. 新一代的分布式计算技术—Web 服务. 计算机工程. 2003.3. Vo1.29. No.3: 192-194
    [12] SOAP Criterion. http://www.ccw.com.cn/club/essence/200107/3535.htm. 2001.7
    [13] SOAP 简单对象访问协议(2). http://www.javaresearch.org/article/showarticle.jsp?column=5&thread=14594. 2004.6
    [14] 李华飚. 精通 Java 中间件编程. 中国水利水电出版社. 2003.7: 318-352
    [15] wsdl—Web 服务描述语言概述. http://www.ccw.com.en/htm/app/aprog /O1_10_30_2.asp, 2001.10
    [16] [美]Mack Hendricks, Ben Galbrait,卢刚等译. Jave Web 服务编程指南. 电子工业出版. 2002.10, 95-171: 446-480
    [17] 顾宁、刘家茂、柴晓路. Web Services 原理与研发实践. 机械工业出版社. 2006.1. (1): 119-154
    [18] 梁娜、张晓林. UDDI 与 Web 服务发现. 情报技术. 2003.3: 162-248
    [19] Apache Software Foundation. Axis User's Guide. http://ws.apache.org /axis/java/user-guide.html , 2004.8
    [20] Apache Software Foundation. Axis Architecture Guide. http://ws.apache. org/axis/java/architecture-guide.html. 2004.8
    [21] 何清. 无锡广电数据交换平台. 广播电视技术. 2004.4: 247-293
    [22] 政务信息资源交换体系. 政务信息资源交换体系工作组. 2005.12: 86-125
    [23] Gamma E, Richard H, Ralph J. 设计模式-可复用面向对象软件的基础[M]. 北京机械工业出版社. 2002. (1): 36-48
    [24] Danny Coward. Java Servlet Specification (version 2). Sun Microsystem Corp. 2001.9: 226-265
    [25] 黄伟峰. Web Services 的安全性. 计算机工程与设计. 2003.6: 42-56

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700