摘要
水动力模型在防洪决策支持系统中占有重要的地位,而系统的网络化由于其易发布、好维护等优点日益受到重视。本文对水动力模型网络化的体系结构进行了分析,提出WWW服务模型与客户机 服务器结构相结合的B S S(浏览器 WEB服务器 应用服务器)结构;讨论了水动力模型在该方案中的位置,提出将模型的表现、交互部分和计算部分分开,分别位于B S S结构中的三个部分。在此基础上本文就怎样实现上述的结构进行了讨论,对于其中的难点WEB服务器与应用服务器(计算部分)的交互,分析了可采用的多种技术:基于特定协议的Socket(套接字)、命名管道、RPC(远程过程调用)、COM(组件对象模型)、CORBA、RMI、DCOM(COM+),基于通用协议的WEBSERVICE(包括.NET和SUNONE两种WEB技术体系)等,提出了利用Socket技术实现WEB服务器与水动力模型计算部分进行交互的解决方案,并阐述了该技术的基本原理,以及在哈尔滨城市防洪决策支持系统中的运用实例。
Hydrodynamic models play a key role in flood defense decision support system, but it needed to be rebuild for network application, which has the characteristics of wieldy distribution and maintenance. The paper analyzed the approach of upgrading hydrodynamic models to a network version. The B/S/S (Browser/WEB Server/Application Server) mode, which combines WWW service and Client/Server framework, was introduced. In this mode, the visualization, interaction and calculation of hydrodynamic models are separated into different parts and embedded into corresponding sections of the model. How to implement the mode was proposed and discussed. Several technology can be used for solving the difficulties of interaction between WEB Server and Application Server, such as, socket, named pipe, RPC, COM, CORBA, RMI, DCOM(COM+), WEBSERVICE(including .NET and SUN ONE) etc. The socket technology was finally chosen after comparison. The principle of the scheme was explained and an application of the technology in Flood Defense Decision Support System for the Harbin City was provided.
出处
《中国水利水电科学研究院学报》
2004年第3期194-198,共5页
Journal of China Institute of Water Resources and Hydropower Research