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

基于用户态JVM的安全驱动模型的设计与实现
引用本文:殷一鸣,周玲玲,应忍冬,戈弋.基于用户态JVM的安全驱动模型的设计与实现[J].计算机科学,2008,35(2):277-281.
作者姓名:殷一鸣  周玲玲  应忍冬  戈弋
作者单位:1. 上海交通大学电子工程系,上海,200240
2. IBM中国研究院,北京,100094
基金项目:IBM中国研究院大学合作项目
摘    要:设备驱动等内核扩展模块被认为是造成操作系统不稳定的主要原因,而目前对操作系统稳定性的研究也主要集中在研究如何将其与内核的主体部分分离.本文结合现有的研究成果,提出了利用用户态的Java虚拟机(JVM)将驱动程序与内核分离的架构.在这样的架构中,驱动程序运行在受限的JVM中,所有驱动程序的错误都将被捕获而不致影响到内核的其他部分.利用这样的架构,在Linux系统下实现了新的USB协议栈,并对其进行了性能测试.测试结果表明,与原内核驱动程序相比,新的驱动架构表现出更高的稳定性,而在性能方面,对于时间和数据量要求不高的设备,其性能与原驱动程序相当接近;而对于需要进行大量数据处理的设备,其性能有一定程度的下降.

关 键 词:操作系统  稳定性  驱动程序  错误隔离

The Design and Implementation of a Safe Device Driver Model
YIN Yi-Ming,ZHOU Ling-Ling,YING Ren-Dong,GE Yi.The Design and Implementation of a Safe Device Driver Model[J].Computer Science,2008,35(2):277-281.
Authors:YIN Yi-Ming  ZHOU Ling-Ling  YING Ren-Dong  GE Yi
Abstract:Kernel extensions,such as device drivers in operating systems,are proved to be much more unreliable than other parts of kernel.Recent researches on OS reliability are focusing on the isolation of extension modules from kernel.In this paper,a new architecture is proposed to isolate device drivers.Drivers are restricted in user-mode java virtual machine(JVM),which is an independent user-process.Bugs in drivers will be captured and well handled by JVM,and therefore,prevented from ruining the whole kernel.A new USB protocol stack in Linux is implemented based on this architecture.Performance test reveals that new architecture ensures a more reliable operating system with an acceptable performance overhead compared with traditional drivers.
Keywords:Operating system  Reliability  Device driver  Isolation
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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