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

An embedded system and application technology, which is applied in the direction of response error generation, redundant data error detection in calculation, etc., can solve the problems of poor reliability of application programs, and achieve the effect of avoiding separate installation
CN104346239AActive Publication Date: 2015-02-11STATE GRID CORP OF CHINA +3

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
STATE GRID CORP OF CHINA
Publication Date
2015-02-11

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

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.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to an abnormal recovery method and device for application program backup in an embedded system. Background technique

[0002] Embedded systems are widely used in various personal consumer products, home display terminals, and industrial control terminals because of their platform-based architecture, rich development resources, and easy debugging. In actual use, the application functions of embedded systems often need to be upgraded and improved according to customer needs, or the application programs need to be modified in various debugging, testing, and maintenance. The Chinese invention patent "A Method for Safe Remote Upgrade of Embedded Linux System Software" (application number: 201110209990.6) introduces a method for safe upgrade of embedded system application software. This method controls the upgrade process by setting the upgrade flag, and can restore the system when an upgrade error is found. The specific process is as ...

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