计算机科学 ›› 2013, Vol. 40 ›› Issue (6): 160-163.

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

一种基于二分图故障检测模型的软件故障定位方法研究

王耀宣,叶俊民,陈静汝,欧中红   

  1. 华中师范大学计算机科学系 武汉430079;华中师范大学计算机科学系 武汉430079;华中师范大学计算机科学系 武汉430079;中国重工集团709研究所 武汉430074
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受湖北省自然科学基金面向项目(2010CDB04001),武汉大学计算机软件工程国家重点实验室开放基金项目(SKLSE20080705),华中师范大学基本科研业务基金项目(CCNU11A02007)资助

Software Fault Location Method Based on Fault Detection Model of Bipartitie Graphs

WANG Yao-xuan,YE Jun-min,CHEN Jing-ru and OU Zhong-hong   

  • Online:2018-11-16 Published:2018-11-16

摘要: 软件故障诊断过程中代价最昂贵和最耗时的活动之一就是软件故障定位。为了辅助测试人员进行软件故障的定位,在设计分层思想的指导下,在分析软件及其各个模块以及模块中代码之间复杂关系的基础上,通过分析历史数据中软件故障与现象之间的对应关系,建立了基于拓扑图的软件故障传播模型,使得软件故障诊断人员能够利用该拓扑图模型描述具体的软件故障现象。通过该拓扑图模型,软件故障传播模型可转换成更容易进行问题求解的基于二分图的故障检测模型。然后针对该模型设计了基于贪心策略的算法,该算法解决了基于二分图故障检测模型的最小覆盖求解问题,这一问题的求解结果描述了软件故障原因假设集合,通过故障原因与软件模块关系分析可找出与该故障原因对应的相应模块,从而实现故障定位。实验表明,本研究方案能够有效处理软件故障定位问题。

关键词: 软件故障诊断,故障定位,分层模型,二分图,最小覆盖

Abstract: In software fault diagnosis process,the most costly and time-consuming is software fault location.In order to help tester locate software fault,with guidance of layering design thought,based on the complex relationship between software and its various modules and codes,this paper proposed the software failure propagation model based on topological graph through analysis of the historical data of the corresponding relationships between software fault and its phenomenon,making it possible to use the topology graph model to describe the software fault phenomenon.Through the topological graph model,the software fault propagation model can be converted into an easier fault detection model based on the bipartitie graphs.Then,an algorithm is designed based on greedy strategy according to this model.This algorithm solves the problem of the minimum coverage solution based on the bipartitie graphs.The result of this solution describes the set of assumed reasons for software faults,finds the corresponding module to the fault through the analysis of the relationship between the fault and the software modules,and thus to achieve fault location.Experiments show that this method of software fault location is effective.

Key words: Software fault detection,Software fault location,Layering model,Bipartitie graph,Minimum coverage

[1] Bouloutas A T,Calo S,Finkel A.Alarm correlation and fault identification in communication networks[J].IEEE Transactions on Communications,1994,42(234):523-533
[2] Katzela I,Schwartz M.Schemes for Fault Identification in Communication Networks[J].IEEE/ACM Transactions on Networking,1995,3
[3] Steinder M,Sethi A S.Probabilistic Fault Localization in Communication Systems Using Belief Networks[J].IEEE/ACM Transactions on Networking,2004,12(5)
[4] Hood C S,Ji Chuan-yi.Proactive network fault detection[C]∥Proceedings of the IEEE INFOCOM.Kobe,Japan,April 1997
[5] Yemini S A,Kliger S,Mozes E,et al.High speed and robust event correlation[J].Conununications Magazine,1996,34(5):82-90
[6] Fischer W,Xie G,Young J.Cross-domain fault localization:acase for a graph digest approach [C]∥IEEE Third Workshop on Internet Network Management (INM’08).Orlando,FL,USA,2008:1-6
[7] Khanna G,Cheng M Y,Varadharajan P,et al.Automated rule-based diagnosis through a distributed monitor system [J].IEEE Transactions on Dependable and Secure Computing,2007,4(4):266-279
[8] 黄晓慧,邹仕洪,褚灵伟,等.Internet服务故障管理:分层模型和算法[J].软件学报,2007,8(10):2584-2594
[9] 褚灵伟,邹仕洪,程时端,等.一种动态环境下的互联网服务故障诊断算法[J].软件学报,2009,0(9):2520-2530
[10] Chu LW,Zou S H,Cheng S D,et al.Active probing based Internet service fault management in uncertain and noisy environment [J].Science in China Series F:Information Sciences,2008,51(11):1857-1870
[11] 褚灵伟,邹仕洪,程时端,等.多域服务环境下的分布式故障诊断算法[J].电子与信息学报,2010,32(4):836-840
[12] Kandula S,Katabi D,Vasseur J-P.Shrink:A Tool for Failure Diagnosis in IP Networks[C]∥Sigcomm2005MineNet Workshop.2005

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!