农业工程学报
農業工程學報
농업공정학보
2013年
22期
162-170
,共9页
郭小清%胥晓明%曹卫星%朱艳%姜海燕
郭小清%胥曉明%曹衛星%硃豔%薑海燕
곽소청%서효명%조위성%주염%강해연
作物%模型%Web服务%服务切分%契约先行%服务封装
作物%模型%Web服務%服務切分%契約先行%服務封裝
작물%모형%Web복무%복무절분%계약선행%복무봉장
crops%models%web service%service partitioning%contract first%service package
针对作物模型系统的多样性和异构性,研究了基于Web服务的作物模型系统集成方法。通过分析作物模型系统的组成结构及各功能体之间的交互特征,以面向服务架构的技术为基础,探讨作物模型系统的服务切分,并采用“契约先行”的 Web 服务开发技术实现了服务封装。文章详细描述了基于 Web 服务契约优先方法的建模过程,并采用相关工具实现了 Web 服务契约文档和服务代码框架的自动生成,通过引用作物模型 Web 服务组件的方式,实现了模型系统的内部业务逻辑,完成了小麦管理知识模型系统基于Web服务的复用集成。试验结果表明,该作物模型系统集成方法采用统一的模型服务契约,提高了系统集成的复用开发效率,最大限度地解决了异构系统的互操作性问题。研究结果为作物模型系统集成提供了方法指导。
針對作物模型繫統的多樣性和異構性,研究瞭基于Web服務的作物模型繫統集成方法。通過分析作物模型繫統的組成結構及各功能體之間的交互特徵,以麵嚮服務架構的技術為基礎,探討作物模型繫統的服務切分,併採用“契約先行”的 Web 服務開髮技術實現瞭服務封裝。文章詳細描述瞭基于 Web 服務契約優先方法的建模過程,併採用相關工具實現瞭 Web 服務契約文檔和服務代碼框架的自動生成,通過引用作物模型 Web 服務組件的方式,實現瞭模型繫統的內部業務邏輯,完成瞭小麥管理知識模型繫統基于Web服務的複用集成。試驗結果錶明,該作物模型繫統集成方法採用統一的模型服務契約,提高瞭繫統集成的複用開髮效率,最大限度地解決瞭異構繫統的互操作性問題。研究結果為作物模型繫統集成提供瞭方法指導。
침대작물모형계통적다양성화이구성,연구료기우Web복무적작물모형계통집성방법。통과분석작물모형계통적조성결구급각공능체지간적교호특정,이면향복무가구적기술위기출,탐토작물모형계통적복무절분,병채용“계약선행”적 Web 복무개발기술실현료복무봉장。문장상세묘술료기우 Web 복무계약우선방법적건모과정,병채용상관공구실현료 Web 복무계약문당화복무대마광가적자동생성,통과인용작물모형 Web 복무조건적방식,실현료모형계통적내부업무라집,완성료소맥관리지식모형계통기우Web복무적복용집성。시험결과표명,해작물모형계통집성방법채용통일적모형복무계약,제고료계통집성적복용개발효솔,최대한도지해결료이구계통적호조작성문제。연구결과위작물모형계통집성제공료방법지도。
On the diversity and heterogeneity of crop model system, the integration method based on Web service was studied. By analyzing the architecture of crop model system and interactive features between function module, service partitioning based on service-oriented architecture (SOA) was studied. Combining with Web service identification and segmentation principle, the partition and the service combination structure of crop model based on Web service was proposed. Then the model system was divided three Web service including Web service of model calculation, Web service of weather data and Web service of soil data. The service package using“contract first” Web services development technology was designed. The modeling process based on web services contract-first (WSCF) was described in details and the automatic generation of Web services description language (WSDL) Deed and services code framework was achieved by use of related tools. The knowledge model system for wheat management as an instance was reused through four steps based on Web services, and the concrete package steps were service data modeling based on crop model metadata, service information modeling, service operation and the interface modeling, and service implementation using C# language under VS2008 ASP.Net platform. Taking the reused knowledge model system for wheat management based on Web service as the testing target, the effectiveness was verified in a real network environment. The output solution of the system was consistent with the result of the original knowledge model system for wheat management using weather data and soil data of 75 cities at prefectural level of Jiangsu province in year 2010. It showed that the crop models system integration method adopts unified model service contract, making full use of the cross platform and cross programming language advantage, which promoted the efficiency of the model system integration, which solves the problem of interoperability between heterogeneous systems. The crop model system of Web service encapsulation, making full use of the crop model resource of software components, the development of relevant documents and other resources, which improved the reuse level of crop model resource. Analysis from the point of view of model of business functions, reassignment and development services were independent, and the designment of the service through the WSDL addressed specific requirements, which shielded the underlying technical details and related agricultural domain specialized knowledge and improved the application of crop model. These results provide a methodological guideline for crop model system integration.