Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Constraint-Based System Fault Injection Method

A system failure and fault injection technology, which is applied in the detection of faulty computer hardware and functional inspection, etc., can solve problems such as difficulty in obtaining judgment predicates, unreasonable fault data, and inability to guarantee defect detection capabilities

Active Publication Date: 2020-07-07
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can generate fault data that is logically unreasonable relative to the constraints, but in the black-box test scenario, it is difficult to know which parts of the constraints correspond to the decision predicates on the program path, so the constraints in SAGE are reversed method is not suitable for black box testing scenarios
On the other hand, the SAGE method obtains a new combination of input data through constraint solving for testing. The generated fault data cannot be guaranteed to be close to the real situation, and the defect detection ability of fault injection cannot be guaranteed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Constraint-Based System Fault Injection Method
  • A Constraint-Based System Fault Injection Method
  • A Constraint-Based System Fault Injection Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0024] A constraint-based approach to system fault injection, such as figure 1 As shown, the steps are as follows.

[0025] (1) The statute constraint is negated. According to the atomic conditional negation and conjunction normal form negation strategy, the constraints are divided into atomic condition and conjunction normal form clause levels, and a set of negative forms of the specification constraints are obtained on these levels as the basis for fault data generation.

[0026] (2) Minimal variation fault data generation. Firstly, the constraint variables in the negated constraints are replaced by normal input combinations, and then the constraint variables are gradually slack replaced, and the fault data with the least number of slack variables and the closest to the real situation are found through the constraint solving operation. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a constraint-based system fault injecting method. The method comprises the steps of: classifying constraints into atomic condition and conjunction normal form clause levels according to atomic condition inversion and the conjunction normal form clause inversion strategies and solving a group of negative forms of the specification constraints at the levels to serve as basesof generating fault data; replacing constraint variables in the inverted constraints with normal input combinations, gradually carrying out slack replacement on the constraint variables and finding minimum-variation fault data which have the least number of slack variables and are closest to a real situation through a constraint solving operation; carrying out faulty injection on a to-be-tested system by taking the minimum-variation fault data as test inputs to obtain fault injecting results. The method disclosed by the invention has the beneficial effects that by adopting a new fault injecting technology, the more real and more sufficient fault data are generated; the error detecting capability of the fault injection is strengthened; and faults close to the normal state are also beneficial for a tester to repair and eliminate the defects at the same time.

Description

technical field [0001] The invention belongs to the technical field of computer system development, and in particular relates to a constraint-based system fault injection method. Background technique [0002] Fault injection is a system reliability (Dependability) verification technology. It detects the reliability of the system by deliberately introducing faults into the system to be verified in the experiment, and detecting and observing the system behavior after the fault is introduced. The existing fault injection methods generally include injecting abnormal data and injecting abnormal codes. The former, such as E.Jeong et al., generate abnormal data according to the fault model, and inject the abnormal data into the system through message interception, etc.; the latter, such as R.Natella et al., inject abnormal codes in the source layer or binary layer to indirectly generate faults State, to achieve the purpose of fault injection. [0003] In terms of fault data injec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/26
CPCG06F11/26
Inventor 钱巨李昌建林福生
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products