Method for monitoring software operation state

A technology for software running status and abnormal status, which is applied in software testing/debugging, instrumentation, error detection/correction, etc. It can solve problems such as unmonitoring, single exception handling means, and failure of watchdog technology monitoring function, etc., to achieve software running Smooth, de-interacting effects

Inactive Publication Date: 2007-02-07
南京创码科技有限责任公司
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the use of watchdog technology in multitasking software will cause the following problems: when a certain task in the software enters an abnormal state, although the task does not clear the watchdog counter, other tasks will periodically clear the watchdog counter. As a result, the monitoring function of the watchdog technology fails; tasks with high priority in the software frequently obtain execution rights, and tasks with low priority cannot be run. Because tasks with high priority will clear the watchdog counter, this makes the watchdog Dog Technology cannot monitor the software entering an abnormal state
In addition, the exception handling method of the watchdog technology is too simple. When the software enters an abnormal state, the watchdog counter simply resets the CPU, and there are no other exception handling methods.

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 monitoring software operation state
  • Method for monitoring software operation state
  • Method for monitoring software operation state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to understand the present invention in depth, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0039] The registration task list is the core data structure of the present invention, and is a list for storing registration task information. Different data structures can also be used to implement the registration task list, such as an array or a linked list. The size of the registered tasks list is determined by the number of registered tasks.

[0040] According to the embodiment of the present invention, the registration task list is composed of multiple nodes, such as figure 1 As shown, each node saves the information of a registered task, and the information saved by the node includes the node use flag, the name of the registered task, the exception handling function pointer, the counter count, the counter threshold, the record of the number of times the counter is cleared in the det...

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 disclosed monitor method for software running comprises: creating register tack list, defining one mark to label whether there is operating on the list; monitoring the initiation, registering target task; repeated checking the register task list by the monitor task to decide whether there is abnormal register task; yes to enter the abnormal handling. This invention can monitor multiple running tasks and handles different abnormal.

Description

technical field [0001] The invention relates to a method for monitoring the running state of software, in particular to a method for monitoring the running state of software in a multitasking environment. Background technique [0002] In single-task software, watchdog technology is a relatively mature technology for monitoring the running status of software. In a system using watchdog technology, there is a hardware watchdog counter independent of the CPU (central processing unit), which starts counting after power-on, and resets the CPU when it overflows, which requires software to periodically clear it the watchdog counter. If the software does not clear the watchdog counter on time, it is considered that the software enters an abnormal state, and the watchdog counter overflows and resets the CPU, thereby resetting the software. [0003] When the watchdog technology is used in the multitasking software, each task will periodically clear the watchdog counter in the system...

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/00G06F11/36
Inventor 吴召惠曲欣
Owner 南京创码科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products