Embedded software watchdog design method and device, equipment and storage medium

A technology of embedded software and design method, which is applied in calculation, generation of response errors, instruments, etc., and can solve problems such as low reliability and single watchdog feeding mechanism

Pending Publication Date: 2019-10-01
XIAMEN FOUR FAITH COMM TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, whether it is an internal watchdog or an external watchdog, the watchdog feeding mechanism is relatively simple, and the dog is fed directly at the applicati

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
  • Embedded software watchdog design method and device, equipment and storage medium
  • Embedded software watchdog design method and device, equipment and storage medium
  • Embedded software watchdog design method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] see figure 1 with figure 2 , the first embodiment of the present invention provides an embedded software watchdog design method, which can be executed by the embedded software watchdog design device of the above-mentioned embodiment, especially, the embedded software watchdog design device executed by one or more processors, and include at least the following steps:

[0043] S101, start a first timing task of the kernel, and feed a dog regularly and detect a feeding state of an application layer through the first timing task.

[0044] S102. Start a second timed task of the application layer, and use the second timed task to regularly feed the dog and detect the state of the kernel's dog feeding.

[0045] In this embodiment, the application layer includes the dog feeding application of the watchdog and other application software or related service programs, etc., which will not be repeated in the present invention.

[0046]In this embodiment, the first timed task and...

no. 2 example

[0062] see image 3 , the second embodiment of the present invention provides an embedded software watchdog design device, including:

[0063] The first timing task starting unit 100 is used to start the first timing task of the kernel, and feed the dog regularly and detect the feeding status of the application layer through the first timing task;

[0064] The second timing task starting unit 200 is used to start the second timing task of the application layer, and feed the dog regularly and detect the feeding state of the kernel through the second timing task;

[0065] The reset signal triggering unit 300 is configured to trigger a reset signal and restart the system when the first timing task detects that the dog feeding state of the application layer is abnormal or the second timing task detects that the kernel's dog feeding state is abnormal.

[0066] On the basis of the first embodiment, in a preferred embodiment of the present invention, before the first timed task star...

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 an embedded software watchdog design method and device, an equipment computer storage medium, and the method comprises the steps: starting a first timing task of a kernel, feeding a dog regularly through the first timing task, and detecting the dog feeding state of an application layer; starting a second timing task of the application layer, feeding dogs regularly through the second timing task, and detecting the dog feeding state of the inner core; and when the first timing task detects that the dog feeding state of the application layer is abnormal or the second timing task detects that the dog feeding state of the kernel is abnormal, triggering a reset signal, and restarting the system. Mutual detection of the kernel and the application layer is achieved, an interlocking mechanism is formed to play a double protection role on the system, and more reliable restarting of the system under abnormal conditions is achieved in the embedded system.

Description

technical field [0001] The invention relates to the field of embedded system applications, in particular to an embedded software watchdog design method, device, equipment and storage medium. Background technique [0002] The watchdog is a functional module commonly used in embedded system design to ensure that the system can be reset reliably after an abnormality. Especially in some harsh working environments, the operation of embedded system software is often affected by external electromagnetic interference, high and low temperature and other harsh environmental factors, resulting in unpredictable abnormalities during system operation, falling into an endless loop and unable to Reset itself. Therefore, it is generally necessary to introduce a watchdog in a productized embedded system to ensure that the system can automatically reset under abnormal conditions. Watchdogs are generally divided into two types: internal watchdogs and external watchdogs. The internal 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
IPC IPC(8): G06F11/07
CPCG06F11/0757
Inventor 唐仕斌彭府赖锦洪
Owner XIAMEN FOUR FAITH COMM TECH
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