Method for capturing and processing embedded application program faults
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 f...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 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.
本发明公开了种嵌入式应用程序故障捕捉及处理方法,其步骤为:S100:初始化,预处理;配置需要监视的寄存器表格,注册CPU硬件异常中断信号钩子函数和系统软中断异常信号钩子函数,寄存器表格作为参数传送给钩子函数;S200:进入监视程序;用来完成所有的分析判断处理和记录工作,包括:实时消息接收及处理任务、CPU使用率监视及处理任务和内存占用监视及处理任务。本发明具有自动化程度高、运行开销小、可靠性高等优点。 |
---|