Unlock instant, AI-driven research and patent intelligence for your innovation.

Fault injection method for embedded software test

A technology for embedded software and software faults, applied in software testing/debugging, error detection/correction, instruments, etc., it can solve problems such as high technical threshold, poor flexibility, and complex implementation, and achieves improved fault tolerance, simple implementation, and improved performance. Effects of Test Coverage and Reliability

Active Publication Date: 2020-01-17
TIANJIN JINHANG COMP TECH RES INST
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the implementation of the above methods is relatively complicated, and usually requires the design of the main controller, fault injector, script parser, monitor, data collector, and data collector, etc. The technical threshold is high, and different types of fault injection models need to be designed The corresponding fault injector algorithm is less flexible

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 injection method for embedded software test

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0035] Aiming at the problem that it is difficult to effectively obtain fault site information in the current software testing process, the present invention proposes a fault injection method for embedded software testing, such as figure 1 As shown, the method includes the following steps:

[0036] S1. Establish a library of software fault test cases

[0037] Carry out functional fault tree analysis on embedded software, establish system-level and detailed-level failure mode and impact analysis, and finally identify key global variables, local variables, registers, hardware addresses, and software interfaces from the software source code; then based on The identified above information is used to design software test c...

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 relates to a fault injection method for embedded software test, and relates to the technical field of embedded software testing. The invention designs a fault injection method for an embedded software test. According to the method, fault injection and testing of global variables, local variables, registers, stacks, software interfaces and the like in the software source code at specific positions and specific moments can be realized in a mode of adding test codes in the software source code, and the test coverage rate and reliability of software are improved.

Description

technical field [0001] The invention relates to the technical field of embedded software testing, in particular to a fault injection method for embedded software testing. Background technique [0002] Taking fault injection technology as a software testing technology, generally speaking, it is to formulate a specific fault model, use artificial and conscious methods to generate faults, and apply them to the system under test to accelerate the generation of errors and failures of the system. The process of observing and feeding back the response information to the injected fault, and verifying and evaluating the system through analysis. Software-based fault injection usually simulates the occurrence of system hardware or software faults by modifying the memory image of the target system according to the fault model. According to the time of fault injection, it can be divided into pre-run injection and run-time injection. [0003] At present, there are several testing methods...

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
CPCG06F11/3688G06F11/3684G06F11/3624G06F11/3692G06F11/3676
Inventor 赵昶宇
Owner TIANJIN JINHANG COMP TECH RES INST