作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (12): 82-83,8. doi: 10.3969/j.issn.1000-3428.2007.12.029

• 软件技术与数据库 • 上一篇    下一篇

基于代码检测的软件故障定位方法

易昭湘,慕晓冬,赵 鹏,张雄美   

  1. (第二炮兵工程学院,西安 710025)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-06-20 发布日期:2007-06-20

Software Fault Location Based on Checking Codes

YI Zhaoxiang, MU Xiaodong, ZHAO Peng, ZHANG Xiongmei   

  1. (The Second Artillery Engineering College, Xi’an 710025)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-06-20 Published:2007-06-20

摘要: 针对现有软件故障定位方法的缺陷,提出了一种基于代码检测的软件故障定位方法,用嵌入式模块获取软件发生故障时的模块运行序列,分析出软件故障可疑模块集及其故障系数,在此基础上对故障模块进行代码的分类检测,根据上述过程中得到的结果进行综合分析运算,得出软件故障的可疑代码集和故障系数,采用代码分析辅助工具进行排查,定位故障。该方法已成功应用于软件密集型系统的故障诊断,能快速有效地实现软件故障定位。

关键词: 软件故障, 故障定位, 代码检测, 软件密集型系统

Abstract: Against the limitations of the current software fault location, a new method based on checking codes is presented. The embedded modules are utilized to generate the implement sequence of software modules, and obtain a set of suspicious modules and their fault coefficients. Then, the codes of suspicious modules are checked by classification. Based on previous results, the set of suspicious codes and their fault coefficients are determined by the synthetical algorithm. The fault codes are located by eliminating the suspicious codes with the assistant tool. The method has been applied to the fault diagnosis of SIS, and proved to be effective for software fault location.

Key words: Software fault, Fault location, Checking codes, Software intensive system(SIS)

中图分类号: