首页 | 本学科首页   官方微博 | 高级检索  
     

Mach操作系统进程间通讯机制的设计与实现
引用本文:赵晓慧,王建国,舒华. Mach操作系统进程间通讯机制的设计与实现[J]. 北京理工大学学报(英文版), 1998, 7(1): 100-106
作者姓名:赵晓慧  王建国  舒华
作者单位:北京理工大学计算机科学与工程系
摘    要:目的研制国产嵌入式实时操作系统COSIXV2.0/RT开发平台,对基于面向对象技术Mach操作系统进程间通信机制IPC进行了分析,方法端口在MachIPC中占有极其重要的位置,它不仅是消息传递的通道,而且是Mach系统中各种实体的一种抽象。从端口生成过程将端口划分为系统端口、特权端口.用户端口以及核心端口,分析了各类端口功能以及在系统中产生、运行、*消亡的过程,分析了端口间消息通信IPC。结果MachIPC广泛应用在Client/Server运行环境中,消息中打包、解包过程势必对IPC的执行效率有制约作用。结论将部分系统调用函数改写,用陷入方式在核心直接实现,提高IPC的执行效率,从而提高整个系统执行效率,以满足实时系统的设计目标。

关 键 词:端口;消息;任务;通讯

The Design and Implementation of IPCMechanism in Mach Operating System
Zhao Xiaohui,Wang Jianguo and Shu Hua. The Design and Implementation of IPCMechanism in Mach Operating System[J]. Journal of Beijing Institute of Technology, 1998, 7(1): 100-106
Authors:Zhao Xiaohui  Wang Jianguo  Shu Hua
Affiliation:Department of computer science and Engineering, Beijing Institute of Technology,Beijing100081;Department of computer science and Engineering, Beijing Institute of Technology,Beijing100081;Department of computer science and Engineering, Beijing Institute of Technology,Beijing100081
Abstract:Aim To design the home -made embedded real time operating system COSIX V2.O/RT developing platform,the Mach operating system interprocess communication mech- anism based on object-oriented technique was analyzed. Methods Not only being the trans-mission channel,but also being the abstract of all the entity in the Mach operating system.ports play the most important role in Mach IPC(interprocess communication).Ports were de-vided into 4 types: system ports, privileged ports user ports and kernel ports.All these ports'creation,run and kill processes and the message transmission in IPC were analyzed.ResultsMach IPC has been widely used in Client/Server run environment.Packing and unpacking inmessage transmission must restrict the run efficiency of IPC Conclusion To enhance IPC runefficiency and at the same time enhance the operating system's run efficiency,some of thesystem calls should be rewritten and implemented with trapped mode in kernel.In the end the aim of designing real time operating system is achieved.
Keywords:port  message  task  communication
本文献已被 CNKI 等数据库收录!
点击此处可从《北京理工大学学报(英文版)》浏览原始摘要信息
点击此处可从《北京理工大学学报(英文版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号