期刊文献+

Linux系统消息订阅发布机制设计与实现

Design and Realize of Message Subscription Release Mechanism on Linux System
下载PDF
导出
摘要 通过研究,笔者设计并实现了一种Linux系统中的消息订阅发布机制。该机制将本地套接字和共享内存两种进程间通信方式相结合,实现多个进程接收一个进程发送的同一消息的机内进程间通信功能。本机制中,进程间的耦合度较低,消息接收方订阅自己需要的消息,一个进程可以订阅多个消息,消息发送方并不关心消息接收方是谁。消息发送方发布信息后,所有订阅了该消息的进程都会收到发布的信息。 Through research,the author designs and implements a message subscription and publishing mechanism in Linux system.This mechanism combines the two inter-process communication methods of local socket and shared memory,and realizes the intra-process communication function of multiple processes receiving the same message sent by one process.In this mechanism,the coupling degree between processes is low,the message receiver subscribes to the messages it needs,a process can subscribe to multiple messages,the message sender does not care who the message receiver is.After the message sender publishes information,all processes that subscribe to the message will receive the published information.
作者 赵力力 李文 蒋元兵 康宗绪 王建兵 ZHAO Lili;LI Wen;JIANG Yuanbing;KANG Zongxu;WANG Jianbing(Chongqing Jinmei Communication Co.,Ltd.,Chongqing 400030,China;Institute of System Engineering,Academy of Military Sciences,Beijing 100141,China)
出处 《信息与电脑》 2022年第4期158-160,共3页 Information & Computer
关键词 LINUX 订阅发布 本地套接字 共享内存 Linux subscription release local-socket share memery
  • 相关文献

参考文献3

二级参考文献15

共引文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部