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

一种基于不变量的软错误检测方法
引用本文:马骏驰,汪芸. 一种基于不变量的软错误检测方法[J]. 软件学报, 2016, 27(2): 219-230
作者姓名:马骏驰  汪芸
作者单位:东南大学 计算机科学与工程学院, 江苏 南京 211189;计算机网络和信息集成教育部重点实验室东南大学, 江苏 南京 211189,东南大学 计算机科学与工程学院, 江苏 南京 211189;计算机网络和信息集成教育部重点实验室东南大学, 江苏 南京 211189
摘    要:软错误是高辐照空间环境下影响计算可靠性的主要因素,结果错误(silent data corruption,简称SDC)是软错误造成的一种特殊的故障类型.针对SDC难以检测的问题,提出了一种基于不变量的检测方法.不变量是运行时刻保持不变的程序特征.在软错误发生后,由于程序受到影响,不变量一般不再满足.根据该原理,在源代码中插入以不变量为内容的断言,利用发生软错误后断言报错来检测软错误.首先,根据错误传播分析确定了检测位置,提取了检测位置的不变量;定义了表征不变量检测能力的渗透率,在同一检测位置依据渗透率将不变量转化为断言.通过错误注入实验,验证了该检测方法的有效性.实验结果表明:该检测方法具备较高的检出率和较低的检测代价,为星载系统的软错误防护提供了新的解决思路.

关 键 词:单粒子翻转  结果错误  错误检测  不变量
收稿时间:2015-02-11
修稿时间:2015-07-30

Approach for Detecting Soft Error by Using Program Invariant
MA Jun-Chi and WANG Yun. Approach for Detecting Soft Error by Using Program Invariant[J]. Journal of Software, 2016, 27(2): 219-230
Authors:MA Jun-Chi and WANG Yun
Affiliation:School of Computer Science and Engineering, Southeast University, Nanjing 211189, China;Key Laboratory of Computer Network and Information Integration Southeast University, Ministry of Education, Nanjing 211189, China and School of Computer Science and Engineering, Southeast University, Nanjing 211189, China;Key Laboratory of Computer Network and Information Integration Southeast University, Ministry of Education, Nanjing 211189, China
Abstract:Soft error has a great influence on computing reliability of space devices and could result in silent data corruption (SDC), which means wrong outcomes of a program without any crash detected. As SDC-causing fault always propagates silently, it is very difficult to detect SDC. In this paper, an approach for detecting SDC is proposed by using program invariant. A program invariant is a set of properties of program. Normally, the invariant holds during runtime. But when soft error occurs, the invariant is often violated due to the impact of soft error. Based on this principle, invariant-based asserts are inserted into source code. Once an exception is thrown by an assert, it indicates that soft error is detected. By analyzing the propagation of the fault that leads to SDC, the locations where asserts are embedded are selected and then invariants are extracted. Some of the invariants are converted to asserts based on their permeability, which indicates the capabilities of detecting soft error. The proposed approach is evaluated by fault injection experiment which shows that it achieves high coverage with low overhead. The approach broadens the ways of protecting satellite system from soft error.
Keywords:single event upset  silent data corruption  error detection  program invariant
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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