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

计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

一种实时性缺陷定位方法及其可视化实现

李志敏 1,殷蓓蓓 1,张萍 2,王纪兵 2,王宾 1,张金鹏 2,3   

  1. (1.北京航空航天大学 自动化科学与电气工程学院,北京 100191; 2.中国空空导弹研究院,河南 洛阳 471009;3.航空制导武器航空科技重点实验室,河南 洛阳 471009)
  • 收稿日期:2015-11-06 出版日期:2017-02-15 发布日期:2017-02-15
  • 作者简介:李志敏(1990—),女,硕士研究生,主研方向为软件可靠性测试;殷蓓蓓,讲师;张萍,高级工程师;王纪兵,工程师;王宾,硕士研究生;张金鹏,博士研究生。
  • 基金资助:
    航空科学基金(20130151001)。

A Real-time Fault Localization Method and Its Visualization Implementation

LI Zhimin  1,YIN Beibei  1,ZHANG Ping  2,WANG Jibing  2,WANG Bin  1,ZHANG Jinpeng  2,3   

  1. (1.School of Automation Science and Electrical Engineering,Beihang University,Beijing 100191,China; 2.China Airborne Missile Academy,Luoyang,Henan 471009,China;3.Key Laboratory of Aviation Guided Weapon Aviation Science,Luoyang,Henan 471009,China)
  • Received:2015-11-06 Online:2017-02-15 Published:2017-02-15

摘要:

为满足飞行控制软件的强实时性要求,针对实时嵌入式软件提出一种实时性缺陷定位方法,并开发可视化工具提高其自动化程度。建立实时性缺陷定位模型,分别在软件模块及函数粒度上定义软件单元的可疑度。在计算可疑度时,利用模块实际执行时间与基准执行时间的差异、成功用例与失败用例中函数执行时间的差异以及模块与函数的调用关系,分别进行模块和函数级别的实时性缺陷定位。仿真结果显示,包含缺陷的模块或函数均具有较高的可疑度值,验证了该方法的有效性。

关键词: 飞行控制软件, 实时性缺陷, 执行时间, 缺陷定位, 可疑度, 可视化工具

Abstract:

To meet strong real-time demand of flight control software,a real-time fault localization method for embedded software is proposed,and a visualization tool is developed to improve the automation degree of this method.A real-time fault localization model is established to define the suspiciousness on the two levels of software module and function respectively.While computing the suspiciousness,the difference between the actual execution time of modules and the criterion time,the difference between the function execution time in successful test cases and failure ones,and the call relations between modules and functions are used to give real-time fault localization algorithms on the module level and the function level.Simulation results indicate that modules and functions containing faults tend to have higher suspiciousness,which demonstrates the effectiveness of the proposed method.

Key words: flight control software, real-time fault, execution time, fault localization, suspiciousness, visualization tool

中图分类号: