计算机应用 ›› 2012, Vol. 32 ›› Issue (02): 370-384.DOI: 10.3724/SP.J.1087.2012.00370

• 网络与通信 • 上一篇    下一篇

KNX/EIB通信协议的实时性分析与改进

张国栋,张曦煌   

  1. 江南大学 物联网工程学院, 江苏 无锡 214122
  • 收稿日期:2011-07-05 修回日期:2011-09-28 发布日期:2012-02-23 出版日期:2012-02-01
  • 通讯作者: 张国栋
  • 作者简介:张国栋(1984-),男,山东泰安人,硕士研究生,主要研究方向:无线网络、嵌入式系统、工业总线;
    张曦煌(1962-),男,江苏无锡人,教授,博士,主要研究方向:计算机网络、嵌入式系统、图形图像处理。

Real-time analysis and improvement of KNX/EIB communication protocol

ZHANG Guo-dong,ZHANG Xi-huang   

  1. School of Internet of Things Engineering, Jiangnan University, Wuxi Jiangsu 214122, China
  • Received:2011-07-05 Revised:2011-09-28 Online:2012-02-23 Published:2012-02-01
  • Contact: ZHANG Guo-dong

摘要: KNX/EIB通信协议在其链路层使用CSMA/CA机制解决通信冲突问题,虽然提高了KNX/EIB网络防冲突能力,却造成同等级命令帧数据传输时延抖动非常大,传输实时性大打折扣。提出对KNX/EIB实时性的改进方法KNX/EIB-A,在不改变原有的通信协议栈的基础上,将一个调度程序应用于KNX/EIB通信协议的应用层与用户应用程序之间;将原有的分布式平等结构划分为分级主从结构,对数据命令帧的发送进行调度。最后通过对KNX/EIB-A进行分析及原型实现,证明了该方法通过有效地减轻传输时延的抖动从而改进了协议的实时性。

关键词: KNX/EIB协议, 实时通信, CSMA/CA机制, 时延抖动

Abstract: The KNX/EIB communications protocol, using CSMA/CA mechanism in its link layer to resolve the communication conflicts, has improved the KNX/EIB network conflict prevention capacity. However, it results in the jitter of transmission delay to a great extent, among the same level command frame data. Consequently, the real-time of transmission has been slashed. In this paper, the improved method named KNX/EIB-A was proposed for the real-time of the KNX/EIB without altering the original KNX/EIB protocol, which applied a scheduling program between the application layer and user application program of the KNX/EIB communication protocol, and changed the original distributed equal structure into a master-slave structure, and dispatched the sending of the data frames. Finally, the analysis and realization of the KNX/EIB-A prototype prove that it improves the real-time performance of the protocol by reducing the transmission delay jitter.

Key words: KNX/EIB protocol, real-time communication, CSMA/CA mechanism, transmission delay jitter

中图分类号: