根据洪水预报模型的结构和逻辑特性,将其拆分成相对独立的模块,运用组件和Web Service技术及面向服务的体系结构对模块进行封装并发布服务,形成洪水预报模型组件库;同时,运用洪水预报模型组件搭建模式来搭建洪水预报模型,并在此基础上提出洪水预报模型集成应用模式,将其应用于具体流域进行预报。结果表明:组件化的洪水预报模型具有可移植性强、代码重用率高、可扩展性好等优点;运用组件搭建模式可快速搭建1个或多个洪水预报模型;运用集成应用模式,可使预报结果更加精确,预报方案更加人性化。
According to structure and logical characteristics, flood forecasting model can be divided into relativelyindependent modules. Component technology, Web Service and Service-Oriented Architecture (SOA) are applied for encapsulation of each module and service publishing so as to build a component bank for flood forecasting model. At the same time, the components are applied to establish flood forecasting model. Based on these, an integrated application mode of flood forecasting model is put forward in this article. The application mode has already been used in some river basins, its application shows that, component-based model has many advantages such as powerful transplantable capability, high code reuse rate, good expansibility; component pattern can be applied for rapid establishment of one or more flood forecasting models; application of the integrated application mode makes forecasting results more accurate and forecasting scheme more humanized.