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

Fault infusion based embedded system evaluation method

An embedded system and fault injection technology, applied in software testing/debugging, etc., can solve problems such as hidden dangers in software quality, difficulties in testing fault recovery codes, and difficult testing of program branches, and achieve the effect of evaluating system reliability

Inactive Publication Date: 2008-12-31
ZHEJIANG UNIV
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In these traditional software testing techniques, due to the complexity of the program under test and related reasons of the test environment, it is often difficult for us to test all branches of the program
Moreover, it is particularly difficult to test the exception handling and fault recovery codes of fault-tolerant software, so that these codes may contain software faults, which instead become a hidden danger of software quality.

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
  • Fault infusion based embedded system evaluation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] This embedded system evaluation method based on fault injection that the present invention proposes mainly carries out as follows:

[0014] 1. Determine the failure model to inject:

[0015] This step defines the input of the fault-tolerant mechanism to be tested, and passes the generated model to the execution injection step. The attributes of the fault model include fault type, occurrence time, duration, location, etc.

[0016] 2. Perform fault injection:

[0017] This step takes the fault model generated in the "Select Fault Model" step and transforms the model into a fault form that can be applied to fault injection. According to the fault form, the fault is injected by changing the internal state of the system or modifying the interface parameters. Changing the internal state of the system is to modify the internal parameter variables of the access system through the program call interface, thereby injecting faults; modifying the interface parameters is through s...

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 an embedded system assessment method based on fault injection. The fault injection is realized by utilizing a hardware interface and an operation system interface and according to the embedded system platform hierarchical model; after the fault injection, a qualitative analysis is carried out for the performance of the system under an abnormal state, the system performance is assessed respectively on two aspects: system failure and task failure. The embedded platform interface is adopted to carry out fault injection so as to effectively simulate hardware faults, operation system level faults and application level faults. After the fault injection, observation to the failure performance of a tested platform with some faults can assess the fault tolerance capability and anti-abnormality capability of the system and is good for carrying out fault forecast according to the failure performance. The application of the assessment method to the embedded system assessment can effectively simulate the realistic faults so as to analyze the system failure performances and assess the system reliability.

Description

technical field [0001] The invention relates to the field of embedded system platform testing, in particular to an embedded system evaluation method based on fault injection. Background technique [0002] Software testing is an important means to improve software reliability and ensure software quality. Traditional software testing methods include black-box testing, white-box testing, and gray-box testing. In these traditional software testing techniques, it is often difficult for us to test all branches of the program due to the complexity of the program under test and related reasons of the test environment. Moreover, it is particularly difficult to test the exception handling and fault recovery codes of fault-tolerant software, so that these codes may contain software faults, which instead become a hidden danger of software quality. Embedded system software testing has both similarities and differences with general software testing. Due to its own characteristics, embed...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 陈纯卜佳俊杨智徐晓露尹朦
Owner ZHEJIANG UNIV
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