Research on Software Fault Detection and Repair Based on Invariants

Author
WangYanNi
Advisor
MaoXiaoGuang
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
46
Citations
0

Request the full text

Abstract

With the explosion of software size and complexity, the traditional methods to enhance the software dependability are not sufficient. The researchers pay more attention on the health management of runtime software, the aim of which is to assure the state of software runtime complaint with the anticipation of users. Fault detection and recover is an efficient way in the scope of software health management.This dissertation surveys the research about fault detection and fault recover and discusses the relative merits of every method. A new framework of fault detection and recover is proposed in this dissertation. The main idea of the framework is that we first choose a specification language to define the properties of runtime software, second generate the fault detection code based on the specification, then intrude the detection code in the original program to monitor the software execution, and call the recover module to recover the faults being detected.The program invariants which are a typical specification have been successfully used in static checking, program verification, software testing, assertion checking et al. Because of the development of program analysis, some tools have been invented to generate program invariants automatically. So this dissertation researches the fault detection and recover based on invariants.This dissertation discusses the techniques about the generation of invariants, the generation of fault detection code, and the fault recover method. Based on these techniques, the tool of fault detection and recover is realized. The experiments show the effectiveness of the tool.Researchers keep on pursuing the reducing of software failure, and fault detection and recover is an effective way to reduce the software failure. The tools of fault detection and recover based on invariants will make positive influence on enhancing the software dependability.

Table of contents

Abstract 9-10 ABSTRACT 10-11 first chapter 11-14 1.1 background and significance of research 11 -12 1.2 research content 12-13 1.3 thesis structure 13 1.4 thesis research 13-14 Chapter fault detection and fault recovery Research 14-21 2.1 software failure mechanism 14-15 2.2 fault detection and fault recovery Research 15-18 < br /> 2.2.1 Fault Detection Research 16-17 2.2.2 Recovery Research 17-18 2.3 fault detection and recovery framework 18 -20 2.4 Summary 20-21 Chapter III of the same type of generated 21-35 3.1 invariant features 21 - 22 3.2 invariant generated 22-28 3.2.1 Daikon in the is the working principle 23-25 ?? 3.2.2 Daikon in the generated invariant 25-27 3.2.3 Daikon in the generated invariant effects 27-28 3.3 JML specification features 28-34 3.3.1 the JML Introduction 28-29 3.3.2 JML description of tectonic 29-33 3.3.3 JML applications 33-34 3.4 of this chapter Summary 34-35 fault detection code generated 35-46 4.1 pretreatment 35-37 4.2 AOP technology 37 -41 4.2.1 AOP technology introduced 37-39 4.2.2 the AspectJ introduction 39-41 4.3 fault detection code generation 41 - 45 4.3.1 precondition is fault detection template 42-43 4.3.2 after the postcondition fault detection template 43-44 4.3.3 for class-level fault detection template 44-45 4.4 of this chapter Summary 45-46 Chapter V Recovery 46-52 5.1 to extract fault information 46-48 5.2 Analysis of fault information 48-49 5.3 Recovery Strategy 49-51 5.4 of this chapter Summary 51-52 Chapter VI prototype framework to achieve and experimental analysis 52-65 6.1 prototype framework structure 52-53 6.2 Daikon in the tool improve 53-55 6.3 fault detection module to achieve 55-57 6.4 Recovery module to achieve 57-58 6.5 Experiments and results Analysis 58-64 6.6 Summary 64-65 Conclusion to Chapter VII 65-67 7.1 full text summary 65 7.2 deficiencies and future work 65-67 thank 67-68 References 68-73 the author during the study period to obtain academic achievements 73

Related dissertations

  1. Design and Implementation of a Software Failure Mode Evaluation Tool
    LiuZhuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  3. Research of Fault Detection Method for Batch Processes Based on Clustering
  4. Local Temporal-Spatial Structure Feature Extraction and Fault Detection of Industry Processes
    MiaoAiMin ·Zhejiang University ·2014 ·Doctoral dissertation
  5. Study on Data-based Multimode Industrial Process Monitoring Method
    LiZhiMing ·Northeastern University ·2011 ·Master's thesis
  6. Research of Multimode Industrial Process Monitoring Method Based on Locally Linear Embedding
    WangChuang ·Northeastern University ·2013 ·Master's thesis
  7. Research on Reconstruction-PCA Based Transition Process Monitoring Method
    AnJiaYu ·Northeastern University ·2013 ·Master's thesis
  8. Research on Process Monitoring Method Based on Kernel Principle Component Analysis
    FengZuo ·Northeastern University ·2013 ·Master's thesis
  9. The Design and Fault Detection of Dual-arm Robot Controller
    LiuYingTao ·Chang'an University ·2013 ·Master's thesis
  10. Research on Fault Detection of FPSO Production Process Based on the Kernel Function
    HaoXiaoPeng ·Tianjin University of Technology ·2013 ·Master's thesis
  11. Research on Ensemble Techniques of Fault Detection and Diagnosis
    YangQing ·Changchun University of Science and Technology ·2013 ·Doctoral dissertation
  12. Research on Transient Faults Detection for Networked Control System Based on Models
  13. Unbalanced Data Classification Under-sampling Algorithm Based on SVM for Research and Application
    ZhangDongXue ·Harbin Engineering University ·2013 ·Master's thesis
  14. Research on Fault Detection Method of Heterogeneous Network Based on Mobile Agent
    SuiZuo ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design and Implementation of BFD Protocol Software in a Centralized Routing Architecture
  16. Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
    NingChao ·Northeastern University ·2012 ·Master's thesis
  17. The Research and Application of Plan Recognition Based on Dynamic Probabilistic Relational Models
  18. Research on Automatic Fault Handling Technology in Cloud Storage System
  19. Design and Implementation of Radiation-hardened Fault-tolerant Computer
    LiYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. The Research on Fault Detection Methods in Wireless Sensor Network
    YuanZhaoYing ·Anhui University ·2013 ·Master's thesis