Software fault injection method based on historical defect data mining

A software fault and data mining technology, which is applied in the direction based on specific mathematical models, electrical digital data processing, software testing/debugging, etc. Effects with high accuracy and confidence

Active Publication Date: 2020-08-28
SICHUAN XW BANK CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This approach has a huge workload, low efficiency, and will be affected by the experience of the testers. It is more random, and the quality of work is difficult to guarantee.

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
  • Software fault injection method based on historical defect data mining

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0043] Assume that there is a website now, including modules such as "Home Page", "Registration Page", and "Shopping Cart Page". Now it is necessary to develop new functions for the "registration page" module, which contains four physical elements such as "A: user name", "B: set password", "C: confirm password", and "D: registration button" . The four physical elements A, B, C, and D have had 100 defects in the past software development history, of which 6 defects are examples as follows:

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 software fault injection method based on historical defect data mining. The software fault injection method comprises the steps that A, inquiring entity element records of software; B, querying defect data; establishing and storing an association relationship between the defects and the injection fault types; C, initializing parameters of the hidden Markov model; trainingthe model by using the data to obtain a model with optimal parameters; D, acquiring entity elements contained in the software change content; E, substituting the optimal parameter model and the entity elements into a Viterbi algorithm to calculate an optimal possible result; and F, outputting an injection fault type and associated defect data, and designing a fault injection strategy. According to the invention, the design of a fault injection strategy is driven by mining and analyzing objective data; according to the method, the defects that the robustness, the fault tolerance, the disastertolerance and the service high availability faults of the software system are most likely to occur due to the fact that testing personnel are guided to inject the faults into a specific software module in a targeted mode are overcome, the working efficiency of fault injection is improved, and the working result has high accuracy and credibility.

Description

technical field [0001] The invention relates to the field of computer software development and software testing, in particular to a software fault injection method based on historical defect data mining. Background technique [0002] Software fault injection refers to the use of specific tools and techniques to construct or trigger one or some defects of the software system, so that the software system is in a fault state. After the fault occurs, observe the short-term and long-term operating status of the software system and evaluate the software system. Whether it has robustness, fault tolerance, disaster tolerance and high availability of services. Generally speaking, the principle of software fault injection is to use specific tools to modify the program execution statements of the software system, data in the database or data in the memory to simulate the occurrence of software defects. The techniques of software fault injection mainly include debugger injection, devic...

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/36G06F11/00G06N7/00G06N20/00
CPCG06F11/3664G06F11/3688G06F11/3684G06F11/008G06N20/00G06N7/01
Inventor 熊阳
Owner SICHUAN XW BANK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products