节点文献

分布式系统的进程间通信技术的研究和开发

Research and Development of Interprocess Communication Technology of Distributed System

【作者】 郭威

【导师】 邸瑞华;

【作者基本信息】 北京工业大学 , 计算机应用技术, 2006, 硕士

【摘要】 进程间通信是所有分布式系统的核心功能。随着Internet及其应用的飞速发展,分布式应用系统间的通信面临巨大的挑战。尤其是随着现代管理的多部门协作和领域间协作越来越广泛,越来越多的应用系统需要跨Internet协作。中间件的管道功能为分布式应用系统跨越多种操作系统进行通信提供统一的环境。然而,基于中间件构建的应用系统很难实现跨异构平台的互操作,而且多数不能穿越防火墙。本文重点研究了基于RPC实现跨平台通信的技术。目前,Web服务技术主要解决异构平台应用系统的集成和互操作问题。SOAP是Web服务技术使用的消息协议。本文以Axis为例详细阐述了SOAP的实现技术。但是,SOAP的结构化标记复杂。SOAP封装后,数据量明显增大。因而,Web服务技术不适用于应用系统间大数据量的数据交换。当前,出现了另一种跨平台的通信协议HBWSP(Hessian Binary Web Service Protocol)。HBWSP规定了数据的编码标准和对RPC的表示。它把本地格式数据编码为二进制数据,并且具有简单的结构化标记。HBWSP封装后的数据增量明显小于SOAP封装后的数据增量。HBWSP比SOAP更适用于分布式应用系统间大数据量的数据交换。本文提出了一种基于JAVA语言实现HBWSP的方案。最后,本文通过中央广播电视大学远程开放教育教务管理系统的实例阐述了跨平台通信技术在分布式应用系统中的应用。中央广播电视大学远程开放教育教务管理系统是一个典型的分布式应用系统,需要实现异地、异构平台应用系统之间的数据交换。同时考虑到网络的通信状况,教务管理系统的数据交换解决方案采用非持久同步和持久异步两种方式。非持久同步方式采用HBWSP;持久异步方式把数据保存成二进制文件后进行数据交换。该解决方案可以实现GB级数据的交换。

【Abstract】 Interprocess Communication is the core feature of Distributed System. Along with the rapid development of Internet and its application, great challenges of the communication between distributed application systems have arisen. In particular, along with modern management cooperation among departments and among realms becoming more and more abroad, more and more application systems need to collaborate via Internet. Now, with the piping feature, middleware can provide the uniform environment to application systems when communicating via multi operating systems. However, application system based on middleware can hardly achieve the inter-operation on heterogeneous computing environment. Most‘visit’can be shielded by firewall. Research in this paper focuses on the technologies of basing on RPC to implement cross-platform communication.Nowadays, web service technology can support the inter-operation and integration among application systems on the heterogeneous environment. SOAP is the message protocol adopted by Web Service technology. This paper takes Axis as an example to expound the implementation technology of SOAP.However, the structured mark in SOAP is quite complex, which results in the evident data size increase after encapsulation. Hence, Web Service cannot work well on the massive data exchange among application systems. Recently, there comes another kind of cross-platformed communication protocol–HBWSP (Hessian Binary Web Service Protocol). With the feature of encoding the local format data to the binary data and simple structured mark, HBWSP prescribes the data encoding specification and the RPC representation. The data size increase after encapsulated with HBWSP is much smaller than that with SOAP. Hence, HBWSP is much more suitable for the massive data exchange, among distributed application systems, than SOAP. This paper put forward a design for basing on Java to implement HBWSP.Finally, this paper takes China Central Radio and TV University Academic Affairs Management System for Long-distance Open Education (CRTVUDOEAAMS) as an example to expound the application of cross-platform communication technology to distributed application system. CRTVUDOEAAMS is a typical distributed application system and needs to have the feature of data exchange across different platforms in different areas. Meanwhile, regarding to the network communication status, the data exchange solution of CRTVUDOEAAMS adopts two ways: the non-permanence and synchronization way and the permanence and asynchronism way. The non-permanence and synchronization way solution adopts HBWSP. The permanence and asynchronism way solution exchanges data after save data into files of binary format. The data exchange solution of CRTVUDOEAAMS can exchange data of GB level size.

  • 【分类号】TP316.4
  • 【被引频次】7
  • 【下载频次】460
节点文献中: 

本文链接的文献网络图示:

本文的引文网络