作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 移动互联与通信技术 • 上一篇    下一篇

一种DDS 与ESB 通信转换的适配器模型

熊志刚a,李 晶a,苏振扬a,彭卫平b   

  1. (武汉大学a. 计算机学院;b. 动力与机械学院,武汉430072)
  • 收稿日期:2014-03-05 出版日期:2015-02-15 发布日期:2015-02-13
  • 作者简介:熊志刚(1987 - ),男,硕士研究生,主研方向:SOA 架构,信息系统;李 晶(通讯作者),教授、博士;苏振扬,博士研究生; 彭卫平,教授、博士。
  • 基金资助:
    国家“863”计划基金资助项目(2012AA040910);国家自然科学基金资助项目(51275362)。

An Adapter Model for DDS and ESB Communication Conversion

XIONG Zhigang a ,LI Jing a ,SU Zhenyang a ,PENG Weiping b   

  1. (a. Computer School;b. School of Power and Mechanical Engineering,Wuhan University,Wuhan 430072,China)
  • Received:2014-03-05 Online:2015-02-15 Published:2015-02-13

摘要: 随着面向服务架构(SOA)的广泛应用,大量采用不同通信技术的遗留系统以服务的方式接入企业服务总线(ESB)。在实时性要求较高的领域,其信息系统一般采用数据分发服务(DDS)通信技术,将它们接入ESB 总线时,必须面对DDS 总线与ESB 总线间信息通信转换的问题。为此,设计一种通信转换适配器模型,该模型是一种三层体系结构,包括SOAP 消息收发层、消息与报文映射转换层及DDS 报文发布订阅层。根据消息与报文名称,遍历Mapping 映射文件,根据映射规则进行消息与报文的相互转换,再遍历消息或报文的信息模型定义文件,将转换后的结果解析成通信所用的标准格式,用于通信交互。构建一个ESB 与DDS 的混合通信系统用于测试该适配器模型性能,实验结果表明,其信息转换耗时低于100 ms,满足实时性要求。

关键词: 企业服务总线, 数据分发服务, 适配器, 消息队列, 消息映射, 转换, 解析

Abstract: With Service-oriented Architecture ( SOA) being widely used, a large number of legacy systems with different communication technologies are accessing the Enterprise Service Bus(ESB) by the way of a service. In some real-time field with higher requirements,these information systems generally adopt the Data Distribution Service(DDS) communication technology. When these systems are accessing the ESB,it meets the communication conversion problem between ESB and DDS. On this basis, this paper designs a communication adapter model which is a three-tier architecture,including ESB messaging layer,messages and packets conversion layer and DDS packets publish-subscribe layer. According to the message and packet name,adapter traverses the mapping file and achieves conversion function between packet and message. Adapter traverses the information model definition file. The results after conversion is converted into a standard format used for communication. This paper builds a hybrid communication system between ESB and DDS to test the performance of the adapter model. Experimental results show that the communication conversion costs lower than 100 ms and meets the real-time requirements.

Key words: Enterprise Service Bus ( ESB ), Data Distribution Service ( DDS ), adapter, message queue, message mapping, conversion, parse

中图分类号: