计算机应用 ›› 2014, Vol. 34 ›› Issue (5): 1418-1422.DOI: 10.11772/j.issn.1001-9081.2014.05.1418

• 计算机软件技术 • 上一篇    下一篇

面向星载操作系统的控制流错误检测方法

明月伟,宁洪,邓胜兰   

  1. 国防科学技术大学 计算机学院,长沙 410073
  • 收稿日期:2013-10-08 修回日期:2013-12-02 出版日期:2014-05-01 发布日期:2014-05-30
  • 通讯作者: 明月伟
  • 作者简介:明月伟(1988-),男,山东邹平人,硕士研究生,CCF会员,主要研究方向:系统软件、软件容错;
    宁洪(1961-),女,湖南衡阳人,教授,主要研究方向:数据集成与分析、星上计算;
    邓胜兰(1961-),女,湖南衡阳人,研究员,硕士,主要研究方向:嵌入式操作系统。

Control flow checking method for on-board operating system

MING Yuewei,NING Hong,DENG SHENGlan   

  1. College of Computer, National University of Defense Technology, Changsha Hunan 410073, China
  • Received:2013-10-08 Revised:2013-12-02 Online:2014-05-01 Published:2014-05-30
  • Contact: MING Yuewei

摘要:

空间高能粒子辐射严重影响航天计算的可靠性,必须采取有效措施对其进行加固。相比使用抗辐射器件,使用软加固的商用器件具有性能高、成本低、开发速度快等优势。然而,目前的软加固研究主要适用于应用程序,对操作系统软加固方法的研究还较少。鉴于此,提出了一种面向星载操作系统的控制流错误检测方法。该方法结合星载操作系统自身特点,着眼于线程执行,将每个线程视为一个函数调用序列,通过在函数入口和出口处插入检测语句,监测各线程的执行,实现控制流错误检测。实验结果表明,该方法能将星载操作系统的控制流错误覆盖率提高约25%。

Abstract:

The space high-energy particle radiation has a serious influence on the reliability of the space computation. Effective radiation hardening measures must be taken to overcome this problem. Compared with the use of radiation hardening devices, using the soft reinforcement commercial devices can enjoy the advantages of high performance, low cost, fast development and so on. However, the present research on soft reinforcement is mainly suitable for the application level, while there is very little research on soft reinforcement methods for the operating system. A control flow checking method for the on-board operating system was proposed to solve this problem. Taking account of the characteristics of the on-board operating system, the proposed method regarded each thread as a sequence of function calls and monitored the thread execution through inserting test statements in the entry and exit of a function to achieve the control flow error detection. The experimental results indicate that the proposed method can increase the control flow fault coverage of the on-board operating system by 25%.

中图分类号: