Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for capturing and processing embedded application program faults

A technology of application programs and processing methods, applied in the direction of electrical digital data processing, instruments, calculations, etc., can solve problems such as failure to capture the deep-seated causes of faults, and achieve the effects of real-time monitoring of operating performance and rapid restart

Active Publication Date: 2016-12-14
CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The shortcoming of monit is that it only monitors whether the running state of the application is stopped or abnormal to decide whether to take recovery treatment, but does not capture the deep cause of the failure

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
  • Method for capturing and processing embedded application program faults
  • Method for capturing and processing embedded application program faults
  • Method for capturing and processing embedded application program faults

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] Such as figure 1 Shown, a kind of embedded application fault capture and processing method of the present invention, the steps are:

[0027] S100: initialization, preprocessing; configure the register table to be monitored, register the CPU hardware exception interrupt signal hook function and the system soft interrupt exception signal hook function, and send the register table as a parameter to the hook function;

[0028] S200: enter the monitoring program;

[0029] Before the application program is started, the present invention needs to start a monitoring program for monitoring the application program, which will complete all analysis, judgment, processing and recording work, and be divided into three independent small tasks to perform, which are respectively:

[0030] a. Real-time message receiving and processing tasks; ...

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 discloses a method for capturing and processing embedded application program faults comprising following steps: S100: initialization and pretreatment; configuring a register form required monitoring, registering a hook function of CPU hardware abnormal interruption signals and a hook function of system soft interruption abnormal signals, wherein the register form is used as parameters transmitted to the hook functions; S200: entering a monitor program; for completing all analysis determination processing and recording work comprising real-time information receiving and processing task, CPU utilization rate monitoring and processing task, and memory occupation monitoring and processing task. The method has advantages such as high automation degree, less operation cost and high reliability.

Description

technical field [0001] The invention mainly relates to the field of monitoring of embedded systems, in particular to a fault capturing and processing method suitable for embedded application programs. Background technique [0002] In the field of PC desktops, when a fault occurs during the running of an application, there are already very rich tools for fault capture and emergency handling, but in the embedded field, it is still relatively lacking. As the design of embedded systems tends to become more and more complex, when an application fails, if the running status of the application is not monitored in real time to provide data for failure analysis, it will become difficult to find out the cause of the error afterwards. It is becoming more and more difficult; and embedded systems are generally used in the field of industrial field, if the fault is not dealt with emergency, it is very likely to cause a safety accident. [0003] In the prior art, a common solution to this...

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/36G06F11/30
CPCG06F11/302G06F11/3024G06F11/3055G06F11/3644
Inventor 任湘辉郝俊杰廖吉芳顾广娟陈小玄蒋学寨易伟民刘群欣
Owner CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products