微内核架构为操作系统提供了良好的隔离性,高度模块化的架构设计使得微内核架构操作系统对进程间通信的依赖度极高,进程间通信恢复是系统恢复正常运行的关键。权能是微内核架构操作系统中进程对资源操作权限的描述,决定进程间能否进行通信。针对微内核操作系统在系统服务恢复过程中出现的进程间通信信道丢失问题,提出并实现了一种进程间通信恢复方法。在通信异常时保存权能信息,用于在系统关键服务恢复过程中重新建立客户程序与服务程序的进程间通信信道。实验结果表明所提出的方法是有效的,可以提高操作系统的可靠性。
Microkernel architecture provides good features of isolation to operating system.The architecture design in high modularity makes the operating system of microkernel architecture highly depend on inter-process communication (IPC).Therefore the recovery from errors in inter-process communications is the key to the recovery of microkernel system working properly.In operating system of microkernel architecture,capability is the term to describe the privilege of resources operation by the process,which determines whether communication can work between two processes.We design and realise an IPC recovery method for the problem of microkernel operating system that the IPC channel will lose during the process of system service recovery.It can save the capability information when communication anomaly occurs, and then applies the information to reconstructing the IPC channels between client programs and services programs when recovering key system services.Experimental results show that the proposed method is effective.With this method,system reliability can be enhanced.