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

Operating system fault tolerance testing system and method based on fault injection

A fault-tolerant testing and fault injection technology, applied in software testing/debugging, etc., can solve problems such as inability to construct an integrated testing environment, incompatibility of architecture, etc., and achieve clear testing process, clear testing purpose, and good flexibility

Inactive Publication Date: 2013-04-03
中国人民解放军63928部队
View PDF2 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] Existing robustness tools basically implement a certain aspect of testing, their architectures are not compatible, and they cannot construct an integrated testing environment

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
  • Operating system fault tolerance testing system and method based on fault injection
  • Operating system fault tolerance testing system and method based on fault injection
  • Operating system fault tolerance testing system and method based on fault injection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0082] Mode 1: if Figure 4 As shown, for the application API interface parameters of the Windows XP operating system, the parameter replacement technology is used to inject faults. When injecting parameter replacement faults, if the parameter type is non-pointer, the generated abnormal parameters are directly written into the corresponding register; if the parameter type is pointer type, write the pointer address into the corresponding register, and copy the data area pointed to by the pointer to the application process:

[0083] The replaceable parameters of the main data types are shown in the table below:

[0084]

[0085] Mode 2: When a bit flip fault is injected, use the ptrace system call to read the system call parameter value, perform a bit flip on the parameter value with the specified number of digits in the specified method, and then write the flipped value back to the corresponding register, such as 001100, Bit 110011 can be bit flipped.

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 provides an operating system fault tolerance testing system and an operating system fault tolerance testing method based on fault injection. The testing system mainly comprises a data processor, an integrated fault injection platform, a reference testing operation controller, an interceptor, a monitor and a target machine with an operating system to be tested and a database. By using the testing system and the testing method, under the situation that a fault exists, a classified, reusable and comprehensive method can be provided to comprehensive check and measure the behavior of the operating system, the testing goal is explicit, the testing process is clear and comprehensive, the designed types of faults cover analog hardware faults, operating system faults and system component faults, the weak point of the system can be found under the situation that the fault exists, the aspects of the system which are required to be adjusted and improved to enhance fault tolerance can be pointed out, and even the structure of the system can be adjusted to achieve a proper fault tolerance level.

Description

technical field [0001] The invention relates to computer engineering and testing systems, in particular to an operating system fault-tolerant testing system and method based on fault injection. Background technique [0002] Fault injection (Fault Injection) technology is a non-traditional software testing technology, which refers to artificially and consciously generating faults according to a specific fault model, and applying specific faults to the system under test to accelerate the failure of the system. and failure occurs. Fault injection technology was first applied to hardware testing in the 1970s, and was further developed based on hardware technology, software technology, simulation technology and ion radiation technology. Software fault injection testing (Software Fault Injection Testing, referred to as SFIT) refers to the use of software methods to test software systems, which began with the program mutation test proposed by DeMillo in 1978. SFIT can improve sof...

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
IPC IPC(8): G06F11/36
Inventor 战茅唐乐乐房友园
Owner 中国人民解放军63928部队
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