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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com