State machine based fault positioning method and apparatus

A fault location and state machine technology, applied in the computer field, can solve problems such as rough fault location and achieve the effect of improving accuracy

Active Publication Date: 2015-12-16
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in this way, the fault can only be located at the module level, and the user cannot know which operation step the fault occurs in. Therefore, the fault location is very rough

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
  • State machine based fault positioning method and apparatus
  • State machine based fault positioning method and apparatus
  • State machine based fault positioning method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In the following description, for purposes of illustration rather than limitation, specific details, such as specific system architectures, interfaces, and techniques, are set forth in order to provide a thorough understanding of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0024] refer to figure 1 , figure 1 It is a flow chart of a fault location method based on a state machine provided by an embodiment of the present invention. The state machine-based fault location method of this embodiment includes:

[0025] 110: Obtain analysis information of multiple operation processes from the analyzed system.

[0026] The analyzed system is a software sys...

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 application discloses a state machine based fault positioning method and apparatus. The method comprises: obtaining analysis information of an operation process with a fault, wherein the analysis information comprises logs, and the logs are generated when performing operation steps in the operation process with the fault; obtaining a state machine template matched with a special character of one log according to the special character in the log; performing mode matching on the analysis information and the state machine template to obtain an operation step sequence diagram of the operation process with the fault; and finding the operation step with the fault in the operation step sequence graph according to an error log in the logs. The method is capable of realizing fault positioning in operation step level, thereby improving the precision of fault positioning.

Description

technical field [0001] The present application relates to the field of computers, in particular to a fault location method and device based on a state machine. Background technique [0002] The current software system usually includes multiple operation processes, and each operation process completes a complex thing, for example, creating user information through the operation process and so on. Each operation process includes a plurality of operation steps, and the entire operation process is completed by executing each operation step in sequence. However, in order to improve programming efficiency, multiple operation steps are usually encapsulated in a module. When executing the operation process, the entire operation process is completed by calling the module. During execution, if a fault occurs, the information generated by the module can be used to determine which module the fault occurs in. [0003] However, in this way, the fault can only be located at the module l...

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/22G06F11/34
Inventor 郭鹏章宇牛振国柯晓东王华
Owner HUAWEI CLOUD COMPUTING TECH 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