摘要:
研究采用基于国产CPU龙芯的数控系统,针对现有模块间通信方式自身不能同步多进程读/写的问题,提出一种将先进先出方式与共享内存相结合的高效通信方法,并基于此方法重新设计通信方案,对数控系统通信平台进行优化。实验结果证明该方法减少了通信双方握手过程中的轮询监测操作,提高了数控系统模块间的通信性能。
关键词:
模块间通信,
共享内存,
先进先出,
数控系统
Abstract:
Based on the study of Numerical Control(NC) system with homemade CPU Loongson and aiming at the problem of existing inter-module communication method that it can not synchronize multi-process read/write itself, this paper proposes an efficient method to integrate First In First Out(FIFO) and shared memory. It redesigns communication scheme to optimize the communication platform in NC system. Experimental results show that the method can avoid polling and monitoring new data and improve the performance of inter-module communication in NC system.
Key words:
inter-module communication,
shared memory,
First In First Out(FIFO),
Numerical Control(NC) system
中图分类号:
高甜容, 于东, 秦承刚, 胡毅, 岳东峰. 数控系统中模块间通信方法的设计与实现[J]. 计算机工程, 2010, 36(12): 238-241.
GAO Tian-Rong, XU Dong, QIN Cheng-Gang, HU Yi, YUE Dong-Feng. Design and Implementation of Inter-module Communication Method in NC System[J]. Computer Engineering, 2010, 36(12): 238-241.