System and method for detecting and removing fault of software in operation

A technology for software faults and faults, applied in error detection/correction, instrumentation, electrical digital data processing, etc., can solve problems such as insufficient fault-tolerant mechanism security in software, achieve good practicability and reduce the amount of development

Inactive Publication Date: 2013-08-21
XI AN JIAOTONG UNIV +1
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In Linux servers, many high-quality C / C++ software are used in important occasions. However, most of these software do not have enough fault-tolerant mechanisms to ensure safe operation, and it is an important task to develop new fault-tolerant mechanisms for each software. hard work

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
  • System and method for detecting and removing fault of software in operation
  • System and method for detecting and removing fault of software in operation
  • System and method for detecting and removing fault of software in operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described below in conjunction with the accompanying drawings.

[0034] Such as figure 1 As shown, this figure is an overall block diagram of the software fault detection and elimination system during operation according to the present invention, including in the figure:

[0035] The monitored program is a program enhanced to C / C++ under common Linux. It mainly consists of three parts: the original program, the error removal component and the function interception component. The original program is an application program without fault tolerance function. This type of program is generally used in important fields and requires high security and reliability. In the present invention, the original program is written in C or C++ language. The function interception component includes a function acquisition module, a scope acquisition module, and an event management module. Among them, the function acquisition module and the scope acqu...

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 belongs to the field of computer software fault tolerance and relates to a system for detecting and removing a fault of software in operation and a method for detecting and removing the fault of the software in operation. The system is mainly composed of a monitored procedure and a monitoring server. The monitored procedure comprises a function intercepting component and a fault processing component. The monitoring server comprises a regular file, a regular transferring component and a fault reasoning component. The regular file is read by the monitoring server, the regular file is transferred to a reasoning self-actor through the regular transferring component, and an event sent by the monitored procedure is waited; the function intercepting component and the fault processing component are combined with the monitored procedure in a source code plug-in mounting mode; in the process of operation of the monitored procedure, the event is sent to the monitoring server through the function intercepting component, reasoning is conducted on the event through the fault reasoning component, a conclusion is obtained, and a handling method is returned; the handling method is executed by the monitored procedure through the fault processing component. The system for detecting and removing the fault of the software in operation and the method for detecting and removing the fault of the software in operation are suitable for the fault tolerance of the C/C++ procedure of a known source code and error analysis and repair can be conducted conveniently in the process of software operation.

Description

technical field [0001] The invention relates to a software fault-tolerant system and method, in particular to a software fault detection and elimination system and method during operation. Background technique [0002] Software fault tolerance refers to the ability of computer software to continue to execute in accordance with normal steps in the event of a system failure. Commonly used software fault tolerance methods include recovery block method, N version method, defensive programming and so on. Among them, the recovery block method uses the main program block and several backup program blocks. If the main program block fails the acceptance test, a series of restorations are required on site and then run by the backup block. The N version method uses N program segments with the same function to run simultaneously, and finally decides the result of the operation by voting. Defensive programming adds error detection code and error recovery code to the program, which can ...

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/28
Inventor 张兴军杨岩董小社王恩东公维锋
Owner XI AN JIAOTONG UNIV
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