###
计算机系统应用英文版:2017,26(2):195-200
本文二维码信息
码上扫一扫!
构建跨平台的通信模型及其基于RCS库的实现方法
(1.中国科学院大学, 北京 100049;2.中国科学院 沈阳计算技术研究所, 沈阳 110171;3.大连理工大学, 大连 116024)
Build of Cross-Platform Communication Model and Implementation Method Based on RCS Library
(1.University of Chinese Academy of Sciences, Beijing 100049, China;2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110171, China;3.Dalian University of Technology, Dalian 116024, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1736次   下载 2979
Received:May 30, 2016    Revised:July 04, 2016
中文摘要: 在控制系统的领域中,现多数采用的是多处理器或多操作系统,会遇到异构平台间的过程控制等的通信问题,且不同平台可处理的数据格式不同.本文提出了一种跨平台的通信模型,该模型中采用中间代理的方法,将底层通信与上层应用分离,使底层的通信过程对用户透明.本文以RCS库的CMS和NML为基础,根据模型给出了相应的实现方法.CMS是RCS库的底层通信管理系统,提供消息读写、数据编码/解码以及跨平台的通信功能.NML是对CMS的封装,提供了更高层次的接口,CMS/NML均由一系列C++类实现.
中文关键词: 跨平台  通信模型  中间代理  RCS库  CMS/NML
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
LIAN Meng-Jia,LIU Yin-Zhong,WANG Jun-Lin.Build of Cross-Platform Communication Model and Implementation Method Based on RCS Library.COMPUTER SYSTEMS APPLICATIONS,2017,26(2):195-200