计算机应用 ›› 2017, Vol. 37 ›› Issue (4): 975-979.DOI: 10.11772/j.issn.1001-9081.2017.04.0975

• 先进计算 • 上一篇    下一篇

基于delta码的乘除法运算错误检测改进算法

孙宗奇1, 臧海娟2, 张春花1, 潘勇1   

  1. 1. 同济大学 电子与信息工程学院, 上海 201804;
    2. 江苏理工学院 计算机工程学院, 江苏 常州 213001
  • 收稿日期:2016-09-22 修回日期:2016-12-27 出版日期:2017-04-10 发布日期:2017-04-19
  • 通讯作者: 臧海娟
  • 作者简介:孙宗奇(1992-),男,辽宁大连人,硕士研究生,主要研究方向:可信计算;臧海娟(1965-),女,江苏常州人,副教授,博士,主要研究方向:网络安全、信息安全;张春花(1989-),女,山东莒县人,博士研究生,主要研究方向:信息安全、隐私保护;潘勇(1963-),男,浙江慈溪人,副教授,博士,主要研究方向:信息安全、可信计算。
  • 基金资助:
    国家科技支撑计划项目(2015BAG13B01)。

Improved algorithm for multiplication and division error detection based on delta code

SUN Zongqi1, ZANG Haijuan2, ZHANG Chunhua1, PAN Yong1   

  1. 1. College of Electronics and Information Engineering, Tongji University, Shanghai 201804, China;
    2. College of Computer Engineering, Jiangsu University of Technology, Changzhou Jiangsu 213001, China
  • Received:2016-09-22 Revised:2016-12-27 Online:2017-04-10 Published:2017-04-19
  • Supported by:
    This work is partially supported by the National Science and Technology Support Program (2015BAG13B01).

摘要: 为确保安全苛求系统中程序执行的正确性,研究人员将差错控制理论用于对计算机指令进行编码,但由于编码大多涉及模运算,导致复杂度大量增加,应用于实时系统有困难。针对复杂度问题对delta码的乘除法运算算法进行改进。算法在乘法运算中引入冗余编码及差异化思想,从而确保安全性;在除法运算中引入逆元,将除法运算转化为低复杂度的乘法运算,避免了模运算带来的开销,降低了复杂度并提高了算法安全性,并对安全性进行理论论证。理论分析表明:所提算法漏检率可达2.3×10-10。测试结果表明,所提算法的漏检率与理论值相符,且复杂度是未编码运算6.4~7.2倍,比原delta码降低了7%~19%,在漏检率与复杂度方面均满足安全苛求系统的应用要求。

关键词: 安全编码, 数据差异化, 错误检测, 安全性, 逆元

Abstract: In order to ensure the correctness of program execution in the safety critical system, the error control theory is used to encode the computer instructions, but the algorithm involves the modular operation, resulting in high additional complexity and difficulty to use in real-time systems. Aiming at reducing the additional complexity, delta code's multiplication and division algorithm was improved. The idea of redundancy encoding and differentiated ideology was introduced to ensure security, while the inverse element was introduced into division to transform division into multiplication, thus avoiding the overhead of the modular operation and reducing the additional complexity while improving the security of the algorithm. Theoretical analysis shows that the undetected error rate is proved to be 2.3*10-10. Simulation results show that the undetected error rate of the proposed algorithm is consistent with the theoretical value, and the complexity is 6.4-7.2 times of the original algorithm, but 7%-19% lower than original delta code. The proposed algorithm satisfies the requirements of safety critical application systems in terms of error detection rate and complexity.

Key words: security code, data difference, error detection, security proof, inverse element

中图分类号: