Periodic task reliability control method based on watchdog and timer

A periodic task and watchdog technology, which is applied in the computer field, can solve problems such as system error restarts, and achieve the effects of ensuring automatic recovery, strengthening monitoring, and reducing restarts

Inactive Publication Date: 2008-07-09
ZHEJIANG UNIV
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem of restarting the system due to a slight change in the running time of the periodic task when only using the watchdog to monitor the periodic task, and to effectively monitor whether the running time of the periodic task meets the requirements, the purpose of the present invention is to Provides a method for monitoring the reliability of periodic tasks based on watchdogs and timers

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
  • Periodic task reliability control method based on watchdog and timer
  • Periodic task reliability control method based on watchdog and timer
  • Periodic task reliability control method based on watchdog and timer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The method for monitoring periodic tasks based on a watchdog and a timer in the present invention will be further introduced below in conjunction with the accompanying drawings and examples.

[0020] The periodic task reliability monitoring method referred to here mainly uses two hardware resources: a watchdog and a timer. Among them, the timer is used to measure the running time of the periodic task, and monitor whether the task is running normally within a certain measurement period; while the watchdog only uses its function of automatically restarting the system, that is, when a periodic task is found to be abnormally running, or When the expected timing is not met, restart the entire system.

[0021] 1. First set a normal report variable (aliveCounter) for each periodic task, that is, the periodic task needs to report to the system whether it is normal within each preset time interval, and the expected normal report within a monitoring period Quantity (expectedAliv...

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 monitoring method for periodic task reliability based on a watchdog and a timer. The invention adopts a task multi-mode management method which allows the task to have temporary state and a task report mechanism; in addition, the invention increases the execution time of the periodic task measured by using the timer, and enhances the running reliability monitoring to the periodic task, through combining with the recovery system function completed by overtime restarting of the watchdog and the timing function of the timer. Based on the automatic restart function of the watchdog, the invention ensures that the system can recover automatically under an abnormal condition at the same time; whether the running time of the periodic task corresponds to the requirements is monitored; the number of periodic task reports of the configuration is allowed to have difference; the accessorial temporary state greatly decreases the abnormity misjudgment in the periodic task, thereby reducing the wrong restart of the system.

Description

technical field [0001] The invention relates to the field of computers, in particular to a reliability monitoring method for periodic tasks based on a watchdog and a timer. Background technique [0002] Embedded real-time operating system generally consists of several parts such as task scheduling management, time management, task synchronization and communication, and memory management. Periodic tasks often appear in real-time operating systems, and the reliability of periodic tasks needs to be effectively monitored, that is, to monitor whether the tasks are running normally and whether the running time of the tasks meets the requirements. The watchdog is an important hardware device that is often used in embedded systems to monitor whether the system is running normally. The watchdog is an automatic counter of the system, when the watchdog count reaches its maximum count value, it will restart the whole system. The general way to use the watchdog is to clear the watchdog...

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/30
Inventor 吴朝晖赵民德俞建德魏城炯杨国青高志刚
Owner ZHEJIANG UNIV
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