Software fault detection method and device

A technology for software faults and detection methods, applied in the computer field, can solve problems such as wasting time, poor efficiency, and lack of understanding of the internal implementation of software, and achieve the effect of improving solving efficiency and saving time

Inactive Publication Date: 2018-02-09
RUN TECH CO LTD BEIJING
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when the software malfunctions, the operation and maintenance personnel of the software system generally perform troubleshooting and maintenance. It is impossible to quickly locate the cause of the ...

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 detection method and device
  • Software fault detection method and device
  • Software fault detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flow chart of the software fault detection method in Embodiment 1 of the present invention, and this embodiment is applicable to the situation of detecting the cause of the software fault when the software runs faulty. The method can be executed by a software fault detection device, and the software fault detection device can be implemented in software and / or hardware. Such as figure 1 As shown, the method specifically includes:

[0022] S110. Obtain a fault parameter input by the user, where the fault parameter is an instruction executed when the software fails.

[0023] When the software fails, in order to determine the cause of the software failure, the software can simulate its failure operation process in the background, and determine the cause of the software failure through the analysis of the failure operation process. When simulating the running process of a software fault, it is first necessary to obtain the fault parameters input by the us...

Embodiment 2

[0045] figure 2 It is a flowchart of the software fault detection method in the second embodiment of the present invention, and this embodiment is further optimized on the basis of the first embodiment. Such as figure 2 As shown, the method includes:

[0046] S210. Obtain a fault parameter input by the user, where the fault parameter is an instruction executed when the software fails.

[0047] S220. Call the preset interface to send the operation instruction corresponding to the fault parameter to the fault software to simulate the fault operation process.

[0048] In this embodiment, the program operation instruction corresponding to the fault parameter is sent to the fault software by calling the preset interface, so that the fault software runs the corresponding command to simulate the process of fault operation.

[0049] Optionally, the fault detection tool can generate corresponding program operation instructions according to the obtained fault parameters. Take the ab...

Embodiment 3

[0055] image 3 It is a flow chart of the software fault detection method in Embodiment 3 of the present invention, and this embodiment is further optimized on the basis of the foregoing embodiments. Such as image 3 As shown, the method includes:

[0056] S310. Obtain a failure parameter input by the user, where the failure parameter is an instruction executed when the software fails.

[0057] S320. Call preset interface failure parameters to simulate a failure operation process, and obtain an operation log.

[0058] S330. Determine a fault analysis object according to the fault parameters.

[0059] In this embodiment, when performing fault analysis on the operation log, the fault analysis object is firstly determined. When the software executes different instructions, it corresponds to different fault analysis objects. Optionally, components or methods that are likely to cause software failure when the software executes instructions may be determined as failure analysis...

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

An embodiment of the invention discloses a software fault detection method and device. The software fault detection method includes: acquiring a fault parameter input by a user, wherein the fault parameter is an instruction executed when a software fault occurs; calling a preset interface to simulate a fault operation process according to the fault parameter, and obtaining an operation log; performing fault analysis on the operation log, and displaying the fault analysis result. The software fault detection method can assist system operation and maintenance personnel to detect faults and enable software developers to know more about the internal operation of the system, solves the time-consuming and labor-intensive problems in the existing software fault detection, saves the time for manually troubleshooting the software system, and improves the efficiency of solving software operation faults.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a software fault detection method and device. Background technique [0002] With the rapid development of computer technology, software is increasingly widely used in various fields of society, and the scale is getting larger and the complexity is getting higher and higher. With the development and expansion of the network and software scale, it is extremely important to ensure the normal operation of the software system at any time. [0003] At present, when the software malfunctions, the operation and maintenance personnel of the software system generally perform troubleshooting and maintenance. It is impossible to quickly locate the cause of the fault, and if necessary, the developer of the software system needs to locate the cause of the software fault. [0004] It can be seen that the fault resolution methods of the current software system waste time and hav...

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
CPCG06F11/3672
Inventor 李晓同万月亮王梅
Owner RUN TECH CO LTD BEIJING
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