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

A test method for simulating system failure based on usb disk

A technology for simulating systems and testing methods, applied in software testing/debugging, error detection/correction, instruments, etc., to solve problems such as failure to achieve expected results, system hangs, time-consuming and labor-intensive

Active Publication Date: 2021-04-06
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some system startup faults cannot be simulated closer to the fault site through manual or scripting. For example, the system is suspended during the system upgrade process and cannot continue to upgrade, and system data is lost during system startup.
Although a similar scenario can be simulated manually or with a script, the timing of the injection cannot be grasped manually, and the simple and rude method often kills some processes that affect the fault. Systems with relatively complex software are often very difficult to implement, such as remote monitoring of various processes in the system, controlling the duration of fault states, etc., which is time-consuming and laborious and often fails to achieve the expected results

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 test method for simulating system failure based on usb disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The core of the invention is to provide a test method for simulating system faults based on a USB disk, which can simply and accurately realize the purpose of system test.

[0035] In order to make the above objects, features and advantages of the present invention more comprehensible, the specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0036] In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways than those described here, and those skilled in the art can make similar extensions without departing from the connotation of the present invention. Accordingly, the invention is not limited to the specific implementations disclosed below.

[0037] Please refer to figure 1 , figure 1 It is a flowchart of a test method for simulating system ...

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 test method for simulating system faults based on a USB disk. Connect the USB disk to the device under test; restart the target test system in the device under test to trigger the fault corresponding to the preset fault injection script; execute the test in the fault state; remove the target USB disk after the test is completed. The function of making a USB disk into a system installation startup disk, and connecting the USB disk with preset faults to the device of the system under test, so that the fault is directly injected into the system under test, at this time, the verification of the fault handling process can be carried out. Moreover, the fault can be automatically resolved after the USB disk is removed, so as to realize the next step of processing the system under test after simulating the fault repair, which not only achieves the purpose of the test, but also makes the test method more simple, direct and accurate.

Description

technical field [0001] The invention relates to the technical field of software system testing, in particular to a testing method for simulating system faults based on a USB disk. Background technique [0002] In the process of system testing, in order to test the reliability of the system, it is necessary to simulate various abnormal faults for testing, so that various methods are used to simulate the fault scene to the greatest extent. Therefore, various methods are used to simulate the fault scene to the greatest extent, so as to verify the reliability and fault recovery function of the system. [0003] Some failure simulations can be done manually directly, such as plugging and unplugging components to simulate component failures and system hot standby. Some faults can be simulated remotely by scripts written directly, such as the port failure of the switch, the restart of the system, etc. However, some system startup faults cannot be simulated closer to the fault site...

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/36
CPCG06F11/3648G06F11/368G06F11/3696
Inventor 刘粉粉
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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