基于SOA的企业服务总线中SOAP消息路由机制的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在企业信息化建设的过程中,不同的时期需要开发部署不同的IT系统,我们将其统称为企业的IT资产。随着信息化程度越来越高,企业IT资产的信息孤岛现象也越来越严重,然而业务需求的高速变化却希望屏蔽这些孤立现象,统筹管理这些数据。因此如何低成本、高效、灵活的集成企业IT系统成为业界热门的话题。在经历了早期点对点集成、消息中间件集成、企业应用集成(EAI)之后,企业服务总线(ESB)集成技术应运而生。
     ESB一出现就展示了松散耦合、标准集成、智能化管理等优势。但是传统ESB应用的深入,暴露出的问题也越来越多。在没有引入Web服务技术、SOA思想以前,ESB的服务总是特定于工作平台,因此互操作性不好。同时,ESB需要对其中的服务的发现、调用做处理,以屏蔽客户端调用的复杂的细节,进而适配不同类型的服务。传统ESB的消息路由依靠其邦定的通信协议(如HTTP),因此很难解决动态服务匹配、网络负载平衡等问题。
     针对传统ESB的缺点,本文提出了一种全新的、基于SOA的企业服务总线即S-ESB,并重点分析设计了其中SOAP消息的路由机制。基于SOA的企业服务总线S-ESB在系统整合中表现出通信协议无关、松散藕合、灵活多变等性能。S-ESB通过协议转换屏蔽了各个子系统通信协议的差异,基于SOA思想的架构保证了系统的松散藕合性因此能够迅速适应业务的变化等。S-ESB通过引入WS-Routing和WS-Referral实现SOAP消息的路由,设计了具有路由功能的消息路由器(软件模块),提出了基于优先级和基于规则的消息调度策略,以及基于路由配置表的动态路由策略。
     S-ESB可以低成本、高效率、灵活集成IT系统,同时在企业/部门间集成时因为具有统一通信协议转换标准而不必考虑总线间通信协议的差异。SOAP路由可以解决诸如内部外部服务自动匹配、7*24小时提供Web服务的服务器的停机维修、基于主机和网路负载的平衡匹配等问题。
     最后,本文将研究成果应用到电力企业管理信息系统的整合中。
During the building of Enterprise Information system, often develop and deploy diferent IT system at different times, such as automatic control, production management, office automation, and we will be collectively referred to as their enterprise IT assets. With more and more high-level information system being used, the information enterprise IT assets island is also becoming more and more serious, but the rapid changes in business requirements hope shielding these isolated phenomenon. So how low-cost, highly efficient and flexible integrated system has become an hot topic. Experienced early in the point-to-point integration, information integration middleware, enterprise application integration (EAI), We got Enterprise Service Bus (ESB) integration technologies.
     ESB appear on the display of its unique advantages: loosely coupling, standards integration, intelligent management. But traditional ESB at the same time exposed the growing number of issues: without Web services technology and SOA, its services have always been specific to the work of ESB platforms, interoperability bad. At the same time,in order to to shield the complex details of the clitent calls, ESB must processing the finding and calling of services.
     This article re-thinking ESB framwork based on SOA, and focus on the SOA-based Enterprise Service Bus SOAP message routing mechanism SOA-based enterprise service bus in the system integration showed excellent performance: protocol conversion subsystem communication protocol shielding all the difference, based entirely on the SOA thinking of the structure of the coupling the ability to adapt quickly to changes in business. By introducing WS-Routing and WS-Referral after realizing SOAP message routing, dynamic services mainly to solve the matching problem. In this paper, under the guidance of WS-Routing and WS-Referral designed the SOAP message routing function of the router (software modules), research the priority-based and rule-based scheduling strategy news, as well as on road Allocation Table from the dynamic routing strategy.
     According to the ESB re-structure by SOA can integrated system low-cost, highly efficient, flexible implementation. SOAP routing can solve problems such as internal and external services automatic matching, 7~*24 hours Web server, host-based and network load balancing matching.
引文
[1]http://www.itcai.net/D07/78/6120,shtml Rajul Rana,Sai Kumar,企业信息总线
    [2]袁占亭,张秋余,翟志万.基于软件总线技术的软件工程方法.计算机工程与应用,2003(15):137-13
    [3]企业服务总线,http://www.itisedu.com/phrase/200604241236415.html.
    [4]Steve Graham,用JAVA构建Web服务.刘晓辉,麦中凡泪庆中等译.机械工业出版社2003.01
    [5]陈启祥,杨军.面向服务的软件架构SOA及其支撑技术的研究.湖北工业大学学报.2005.08.20(4):38-41
    [6]岳昆,王晓玲,周傲英Web服务核心支撑技术:研究综述.软件学报.2004.15(03):428-44
    [7]陈启祥,杨军.面向服务的软件架构SOA及其支撑技术的研究.湖北工业大学学报.2005.08.20(41:38-41.
    [8]Jason Bloomberg,SOA面向服务架构的原则.http://tech.51cto.com/art/200602/20522.htm
    [9]王兵.基于面向服务架构的应用系统开发与集成研究:[硕士学位论文J.成都:四川大学,2005
    [10]开发人员为何需要企业服务总线?http://www.ibm.com/developerworks/crdwebservices/ws-whyesb/
    [11]Tsur S.Are Web services the next revolution in E-Commerce? Proceedings of the 27th VLDB Conference.Roma.2001
    [12]Burstein MH,Hobbs JR,and Lassila O,et al.DAML-S:Web service description for the semantic Web.In:Horrocks,ed.Proc.of the Int'l Semantic Web Conf.Sardinia:Springer-Verlag,2002.348-363.
    [13]Narayanan S,Mcllraith SA.Simulation,verification and automated composition of Web services.In:Proc.of the 11th Int'l World Wide Web Corf.WWW2002.Honolulu:ACM,2002.77-88.
    [14]W3 C.Semantic Web.http://www.w3.org/2001/sw
    [15]Globus OGSA Home Page.http://www.globus.org/ogsa/
    [16]Fremantle,P,Weerawarana,S.and Khalaf,R.Enterprise services.Communications of the ACM,2002.10.45(10).77-82
    [17]W3C.SOAP Version 1.2 P art 0:Primer[EB/OL].2003.06http://www.w3.orgrM soapl2-part0/
    [18]W3C.SOAP Version 1.2 Part 1:Messaging Framework[EB/OL].2003.06.http:/Avww w3.org/TP/soapl2-partl/
    [19]W3C.SOAP Version 1.2 P art 2:Adjuncts[EB/OL].2003,06.http://www.w3.org/TR/soap12-part2/
    [20]W3C.Web Services Description Language(WSDL)1.1[EB/OL].2001.03.http://www.w3org/TR/wsdl
    [21]IBM Web Services Flow Language(WSFL 1.0)[EB/OL].2001.05.http://www-306.ibm/software/solutions/Webservices/pdf/WSFL.pdf
    [22]Francisco Curbera,Yaron Goland,Johannes Klein,et al.Business Process Execution Language for Web Services Version 1.0[EB/OL].2002.08.http://msdn.micro soft.com/Library/default.asp?url=/library/en-us/dnbizspec/html/bpel 1-1.asp
    [23]薛贵友.SOAP有状态厌状态分析及有状态实现.天津理工学院学报.2002.06.18(2):61-6
    [24]KW.Lee,H.J.Kim.Consistency preserving in transaction processingon the Web.Web Information Systems Engineering.USA:IEEE.2000,06,190-19
    [25]唐飞龙,李明禄,曹健.一个Web服务事务处理模型:结构、算法和事务补偿.电子学报,2003.12,31(12A):2074-2078
    [26]Luis Felipe Cabrera,George Copeland,Max Feingold,et al.Web Services Coordination(WS-Coordination)Ve rsio n 1.0[EB/OL].2005.08http://schemas.xmlsoap.orgAvs/2004/10/coord
    [27]Luis Feilpe Cabrera,George Copeland,William Cox,et al.Web Services Atomic Transaction(WS-AtomicTransaction)[EB/OL].2003.09.http://schemas.xmlsoap.org/ws/2004/10/al
    [28]Luis Feilpe Cabrera,George Copeland,Max Feingold,et al.Web Services Business Activity Framewo k(WS-BusinessActivity)Versionl.0[EB/OL].2005.08
    [29]SOAP Header 扩展:WS-Security 和 WS-License 柴晓路http://www.ibm.com/developerworks/cn/webservices/ws-soapheadext/part1/
    [30]WS-Security与Java:实用的、深入的、基于消息的安全Vimala Ranganathan http://dev2dev.bea.com.cn/techdoc/200409250,html
    [31]W3C.XML-Signature Syntax and Processing.2001.08http://www.w3.org/TR/2001/PR-xmldsig-core-20010820/
    [32]Web服务安全性(WS-Security)http://www.ibm.com/developerworks/cn/webservices/ws-secure/
    [33]缪世明,消息中间件TongLINK/Q及其消息路由算法设计与实现:[硕士学位论文].电子科技大学.2001.36-38.
    [34]Web Services Routing Protocol(WS-Routing)[S]http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnglo bspec/h tml/ws-routing.asp,2001
    [35]Web Services Referral Protocol(WS-Routing)[S]http://msdn.microsoft.com/library/default.asp ?url=/library/en-us/dnglobspec/ht ml/wsreferral.asp,2001
    [36]刘振顶,黎峰,张金玲等.SOA整合企业级应用系统的研究与应用.计算机技术与应用进展,2007.
    [37]现代化遗留系统.http://www.myfaq.com.cn/2005September/2005-09-28/208880.html.
    [38]Stojanovic Z,Dahanayake A,Sol H.Modeling and design of service-oriented architecture,Systems.Man and Cybemetics,2004 IEEE International conference on,2004,5:4147-4152.