期刊文献+

用于程序循环控制的错误检测算法 被引量:2

Error detection algorithm of program loop control
下载PDF
导出
摘要 为确保安全苛求系统中程序执行的正确性,针对程序循环控制中内存未更新、循环提前结束和循环滞后结束的问题,提出一种基于含签名和时间戳的算术(ANBD)码的循环控制错误检测算法。该算法通过ANBD码,将程序变量编码为含签名的码字。通过校验码字签名,检测循环控制错误。运用ANBD码中的时间标签,可检测内存未更新错误。另外,在ANBD码基础上,通过采用在线语句块签名分配算法、语句块签名函数和变量签名补偿函数,检测循环提前结束错误和循环滞后结束错误。该算法理论错误漏检概率为1/A,其中A为编码素数,选取97-10993的素数进行错误漏检概率测试,得到理论模型与测试结果的归一化均方误差(NMSE)约为-30 dB。测试结果表明,该算法可检测循环控制中出现的各类错误,且编码素数A接近232时,错误漏检概率可达10-9,能够满足安全苛求系统的应用要求。 There are the errors that memory data is not updated, the loop exits early and the loop exits late in the program loop control. In order to ensure the correctness of the program execution in the safety critical system, a new error detection algorithm of program loop control based on ANBD-code( arithmetic-code with signature and timestamp) was proposed. Through ANBD-code, the program variables were encoded as a signed code word by the proposed algorithm. And the errors in the loop control were detected by verifying code signature, the error of memory data being not updated could be detected by using the time label of ANBD-code. In addition, on the basis of the ANBD-code, the errors of the loop exiting early and the loop exiting late could be detected by using the online statement block signature allocation algorithm, the block signature function and the variable signature compensation function. The occurrence probability of an undetected error was 1 / A in theory, where A was coding prime. The primes were selected between 97 and 10 993 to test occurrence probability of an undetected error and the Normalized Mean Square Error( NMSE) of theoretical model and test result was about- 30 dB. The test results show that the proposed algorithm can effectively detect all kinds of errors in the loop control and the occurrence probability of an undetected error is up to 10- 9when the prime A is close to 232. The proposed algorithm can satisfy the requirements of safety critical system.
出处 《计算机应用》 CSCD 北大核心 2015年第12期3450-3455,共6页 journal of Computer Applications
关键词 循环控制 错误检测 含签名和时间戳的算术(ANBD)码 签名 loop control error detection arithmetic-code with signature and timestamp(ANBD-code) signature
  • 相关文献

参考文献12

  • 1XIONG L, TAN Q. A dynamic approach to tolerate soft errors [ J]. Cluster Computing, 2013, 16(3) : 359 - 366. 被引量:1
  • 2陈微..高可靠微处理器设计关键技术研究与实现[D].国防科学技术大学,2006:
  • 3FORIN P. Vital coded microprocessor principles and application for various transit systems [ C]// Proceedings of the IFAC-CCCT. Am-sterdam: Elsevier, 1989:79 -84. 被引量:1
  • 4SCHIFFEL U. Hardware error detection using AN-Codes [ D]. Dresden: Dresden University of Technology, 2011 : 26 - 90. 被引量:1
  • 5FETZER C, SCHIFFEL U, S0/]KRAUT M. AN-encoding compil- Building safety-critical systems with commodity hardware [ C] // Proceedings of the 28th International Conference on Com- puter Safety, Reliability, and Security, LNCS 5775. Berlin: Springer, 2009:283-296. 被引量:1
  • 6OH N, SHIRVANI P P, MCCLUSKEY E J. Control-flow checking by software signatures [ J]. IEEE Transactions on Reliability, 2002, 51(1): 111-122. 被引量:1
  • 7TAN L, TAN Y, XU J. CFEDR: control-flow error detection and re- covery using encoded signatures monitoring [ C]// Proceedings of the 2013 IEEE International Symposium on Defect and Fault Tolerance in VLSI and Nanotechnology Systems. Piscataway: IEEE, 2013:25 - 32. 被引量:1
  • 8BELL R, BENNETY P A. IEC-61508. Functional safety of electri- cal/electronic/programmable electronic safety-related systems [ J]. Computing & Control Engineering Journal, 2000, 11 (1) : 3 - 5. 被引量:1
  • 9NICOLESCU B, SAVARIA Y, VELAZCO R. Software detection mechanisms providing full coverage against single bit-flip faults [ J]. IEEE Transactions on Nuclear Science, 2004, 51 (6): 3510 - 3518. 被引量:1
  • 10李刚,丁佳,梁盟磊,薛小平,王小平.安全编码预编译器的设计与实现[J].计算机工程,2011,37(3):230-232. 被引量:12

二级参考文献6

  • 1江建慧,梁剑华,靳昂,胡瑾.Linux上软件实现的瞬时故障注入方案及实现[J].同济大学学报(自然科学版),2006,34(6):823-827. 被引量:8
  • 2Baumann R.Soft Errors in Commercial Semiconductor Technology:Overview and Scaling Trends[C]//Proc.of IEEE Conf.on Reliability Fundamentals.Dallas.USA:IEEE Press,2002:1-14. 被引量:1
  • 3Forin P.Vital Coded Microprocessor Principles and Application for Various Transit Systems[C]//Proc.of IFAC-GCCT Paris.France:Editis Press,1989:79-84. 被引量:1
  • 4Wappler U,Fetzer C.Hardware Failure Virtualization via Software Encoded Processing[C]//Proc.of International Conference on Industrial Informatics.Paris.France:Hachette Livre Press,2007:977-982. 被引量:1
  • 5Chapront P.Vital Coded Processor and Safety Related Software Design[C]//Proc.of Conf.on Safety of Computer Control Systems.Paris.France:Editis Press,1992:141-145. 被引量:1
  • 6John R,Tony M,Doung B.Lex与yacc[M].杨作梅,张旭东,译.北京:机械工业出版社,2003. 被引量:1

共引文献11

同被引文献2

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部