UNIX环境下的消息中间件应用  

Application of messaging middleware in UNIX environment

在线阅读下载全文

作  者:刘冬冬[1] 王戴木[1] 牛磊[1] 郭博[1] 

机构地区:[1]阜阳师范学院计算机与信息学院,安徽阜阳236037

出  处:《阜阳师范学院学报(自然科学版)》2014年第3期46-50,共5页Journal of Fuyang Normal University(Natural Science)

基  金:全国统计科学研究计划项目(2012LY009);安徽省教育厅自然科学研究项目(KJ2011Z292;KJ2013Z262);阜阳师范学院科技成果孵化项目资助(2013KJFH05);阜阳师范学院自然科学基金项目(2013FSKJ02ZD)资助

摘  要:设计了一种在UNIX环境下基于SYSTEM V IPC的消息中间件模型。模型引入了邮箱的概念并通过MyQ对进行消息传递的每个进程分配一个全局唯一的邮箱号,进程从自己的邮箱中接收消息以及发送消息到目标进程的邮箱。具体实现是MyQ通过共享内存传递消息内容,为每个进程创建一个消息队列用于接收通知消息,并由信号灯进行并发访问控制。这样可以提高消息传递效率以及有效解决大数据量传递情况下消息队列堵死的问题。A SYSTEM V IPC messaging middleware model is presented in UNIX environment. This model introduces the concept of mailbox and through MyQ assigns a globally unique number for each mailbox messaging process. The process receives messages from its mailbox and sends e-mail messages to the target process. Specific implementation is that MyQ passes messages through shared memory contents and creates a message queue for each process to receive notification messages,and that concurrent access is controlled by lights. This can not only improve the message-passing efficiency but also solve the problem that message queue is blocked when large amounts of data are transferred.

关 键 词:进程 MyQ 邮箱 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象