A fault-tolerant method of c language monitoring software under embedded linux system
A monitoring software and embedded technology, which is applied in the field of C language monitoring software fault tolerance under the embedded Linux system, can solve the problems of unable to monitor software error handling, lack of trycatch exception handling mechanism, etc., to highlight substantive features and improve operational reliability , to avoid the effect of complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] Below in conjunction with accompanying drawing, the present invention is described in further detail:
[0029] A fault-tolerant method for monitoring software in C language under an embedded Linux system. Firstly, an explanation is given to the processing flow of general monitoring software. The monitoring software (main) is a program executed in an infinite loop according to certain timing rules. To ensure the persistent operation of the monitoring software, the monitoring core code (monitor) needs to be stable enough without error. However, as the complexity of the code increases, the probability of errors gradually increases, especially some occasional errors with low recurrence rates. These errors, such as floating-point division by 0, will cause the monitoring program to exit with an error. The code in the table below is the code framework of this embodiment. Take it as an example to describe the fault-tolerant method of the present invention.
[0030]
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


