Method and device for recovering anomaly of application program in embedded system

2014 
The invention relates to a method and a device for recovering anomaly of an application program in an embedded system. The method comprises the following steps: 1) after kernel startup of the embedded system, executing the application program and a monitoring program; 2) detecting a failure by the monitoring program, and after finding the failure, recovering the application program from a first backup program; when the application program is recovered from the first backup program, deleting the first backup program, wherein the first backup program is generated by copying the current correctly-running application program if the first backup program does not exist after the monitoring program judges that the current application program can normally run. After the kernel startup of the embedded system, if application program data in a nonvolatile memory is destroyed, the application program cannot run or can generate a running self-detection failure or a process communication interaction failure, and after the monitoring program finds the failure, the application program can be recovered from the backup program, and after the system is reset, the system can resume running.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []