###
Journal of Software:2016.27(2):219-230

一种基于不变量的软错误检测方法
马骏驰,汪芸
(东南大学 计算机科学与工程学院, 江苏 南京 211189;计算机网络和信息集成教育部重点实验室东南大学, 江苏 南京 211189)
Approach for Detecting Soft Error by Using Program Invariant
MA Jun-Chi,WANG Yun
(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
Chart / table
Reference
Similar Articles
Article :Browse 1836   Download 1659
Received:February 11, 2015    Revised:July 30, 2015
> 中文摘要: 软错误是高辐照空间环境下影响计算可靠性的主要因素,结果错误(silent data corruption,简称SDC)是软错误造成的一种特殊的故障类型.针对SDC难以检测的问题,提出了一种基于不变量的检测方法.不变量是运行时刻保持不变的程序特征.在软错误发生后,由于程序受到影响,不变量一般不再满足.根据该原理,在源代码中插入以不变量为内容的断言,利用发生软错误后断言报错来检测软错误.首先,根据错误传播分析确定了检测位置,提取了检测位置的不变量;定义了表征不变量检测能力的渗透率,在同一检测位置依据渗透率将不变量转化为断言.通过错误注入实验,验证了该检测方法的有效性.实验结果表明:该检测方法具备较高的检出率和较低的检测代价,为星载系统的软错误防护提供了新的解决思路.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:
Foundation items:
Reference text:

马骏驰,汪芸.一种基于不变量的软错误检测方法.软件学报,2016,27(2):219-230

MA Jun-Chi,WANG Yun.Approach for Detecting Soft Error by Using Program Invariant.Journal of Software,2016,27(2):219-230