检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]国防科学技术大学计算机学院,湖南长沙410073
出 处:《计算机应用与软件》2011年第1期137-141,149,共6页Computer Applications and Software
基 金:霍英东青年基金(111027)
摘 要:安全高效的进程间通信机制是操作系统中实现进程间协同工作的关键。针对现有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.
关 键 词:Java操作系统 进程间通信 安全 共享 RMI MSP
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229