构建跨平台的通信模型及其基于RCS库的实现方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Build of Cross-Platform Communication Model and Implementation Method Based on RCS Library
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    在控制系统的领域中,现多数采用的是多处理器或多操作系统,会遇到异构平台间的过程控制等的通信问题,且不同平台可处理的数据格式不同.本文提出了一种跨平台的通信模型,该模型中采用中间代理的方法,将底层通信与上层应用分离,使底层的通信过程对用户透明.本文以RCS库的CMS和NML为基础,根据模型给出了相应的实现方法.CMS是RCS库的底层通信管理系统,提供消息读写、数据编码/解码以及跨平台的通信功能.NML是对CMS的封装,提供了更高层次的接口,CMS/NML均由一系列C++类实现.

    Abstract:

    In the field of the control system, MP or Multiple operating systems is often used, which will encounter the communication problems of process control operations in heterogeneous platforms, because different platforms handle data format is different. This paper proposes a cross-platform communication model. The model uses the method of intermediate proxy, which separates the underlying communication and the upper application and makes the underlying communication process transparent to the user. Based on the CMS and NML of RCS library, according to the model, the paper presents the corresponding implementation methods. CMS is the underlying communication management system of RCS library, providing the functions of reading and writing messages, encoding/decoding data and cross-platform communication. NML is the encapsulation of CMS, providing a higher level interface to make the upper system communication more convenient and to solve the communication between the heterogeneous platforms better. The CMS/NML are realized by a series of C++ classes.

    参考文献
    相似文献
    引证文献
引用本文

廉梦佳,刘荫忠,王俊霖.构建跨平台的通信模型及其基于RCS库的实现方法.计算机系统应用,2017,26(2):195-200

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2016-05-30
  • 最后修改日期:2016-07-04
  • 录用日期:
  • 在线发布日期: 2017-02-15
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号