期刊文献+

一种安全高效的Java操作系统IPC机制的设计与实现

DESIGN AND IMPLEMENTATION OF A SAFE AND EFFECTIVE INTER-PROCESS COMMUNICATION MECHANISM FOR JAVA OPERATING SYSTEM
下载PDF
导出
摘要 安全高效的进程间通信机制是操作系统中实现进程间协同工作的关键。针对现有Java操作系统普遍使用的共享堆和Java远程过程调用(RM I)等进程间通信机制在安全性、高效性等方面的缺陷,面向Java操作系统的结构特点和进程间通信需求,设计和实现了一种新的安全、高效的进程间通信机制MSP。MSP机制通过区分小尺寸和大尺寸消息,分别采用拷贝式传输方式和页面重映射的传输方式,同时满足了小尺寸消息对通信延迟敏感和大尺寸消息对通信带宽敏感的特点,避免大数据对象的拷贝开销,在不增加延迟的前提下大大提高了通信带宽。同时确保任何一个数据对象在任何时刻只被一个进程引用,从而防止一个进程对其他进程私有数据的访问,保证了通信的安全。测试数据表明,MSP进程间通信机制安全性好,并且在传递大对象时具有明显的性能优势。 A safe and effective inter-process communication(IPC) mechanism is crucial to the cooperation between different processes in operating system.Considering that current IPC mechanisms based on shared heaps and Java remote method invocation(RMI) which are widely used by Java OS have limitations on security and efficiency,in this paper we analyse the structure of Java OS and the requirements of a safe IPC mechanism and design and implement a new safe and effective IPC mechanism MSP.The MSP uses the method of copying or page remapping to pass messages respectively,depending on the message size identified by it.This kind of method meets the requirement of small message which is sensitive to latency and of large message which is sensitive to bandwidth of communication.It avoids the cost of copying large data object and greatly expands the bandwidth of communication without putting on latency.The invariant that every object is referenced by only one process at any time is ensured by remapping,thus in turn it ensures that any process is unable to access other process' private data,making it a safe IPC mechanism.Testing result shows that the MSP mechanism has good security and performs especially well when passing large objects.
出处 《计算机应用与软件》 CSCD 2011年第1期137-141,149,共6页 Computer Applications and Software
基金 霍英东青年基金(111027)
关键词 Java操作系统 进程间通信 安全 共享 RMI MSP Java operating system IPC Security Share RMI MSP
  • 相关文献

参考文献1

二级参考文献7

  • 1Hunt G, Larus J. An Overview of the Singularity Project [R]. Technical Report MSR-TR-2005-135, Microsoft Research, :?005.
  • 2Blackburn S, Garner R, Frampton D. MMTk: The Memory Management Toolkit[R]. Technical http://jikesrvm, org, 2006.
  • 3Prangsma E. Why Java is Practical for Modern Operating [R]. Technical J Node. org, 2005.
  • 4Blackburn S M, Mckinley K S. In or Out? Putting Write Barriers in Their Place[C]//Proc of the ISMM' 02, 2002:175-184.
  • 5Blackburn S M, Hosking A L. Barriers: Friend or Foe? [J]. ACM 1-58113-945-4/04/0010,2004.
  • 6范开立,卢凯,李根,等.垃圾收集追踪算法E-Merlin的设计和实现[C]//全国软件及其应用学术会议,2007.
  • 7Jones R, Lins R. Garbage Collection: Algorithms for Automatic Dynamic Memory Management[M].北京:人民邮电出版社,2004.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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