Supercharge Your Innovation With Domain-Expert AI Agents!

Method for enhancing robustness of embedded system

An embedded system, robust technology, applied in the direction of response error generation, redundant operation data error detection, instrumentation, etc., can solve problems affecting other processes or tasks, and achieve the effect of ensuring robustness

Inactive Publication Date: 2020-03-06
南京火零信息科技有限公司
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the second method, the hardware watchdog restarts the device, which often affects other processes or tasks, so unnecessary restarts of the device should be avoided as much as possible

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 enhancing robustness of embedded system
  • Method for enhancing robustness of embedded system
  • Method for enhancing robustness of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] This method can be implemented under the software and hardware environment that has moved embedded Linux system, and main operation is as follows:

[0029] The daemon process A monitors every message processing process of the user process C. As long as there is a blocking timeout (the waiting time of the daemon process exceeds the set threshold Tc), it will restart the daemonized process, that is, the user process C.

[0030] The daemon process A regularly scans the process list. If the daemon process C shuts down unexpectedly, the daemon process can be restarted immediately by A.

[0031] The two daemon processes without a parent process, A and B, monitor each other whether they are running. If one party terminates unexpectedly, the other party can start it immediately.

[0032] The daemon process B feeds the hardware watchdog D regularly, and writes specific data to a specific address. If the dog is not fed for a long time (exceeding the set threshold Td), D will rest...

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 enhancing robustness of an embedded system, and relates to the embedded system, in particular to the robustness of user tasks and daemon processes in the embeddedoperating system. An embedded system is usually used for an unattended scene in the field of Internet of Things, so that very high requirements are provided for the reliability of the embedded system,especially the robustness of user tasks. Generally, a system is required to run continuously, and even if a program is halted due to reasons inside or outside the system, the system can be automatically restarted to run. A plurality of daemon processes are adopted for a monitored user process, and the plurality of daemon processes monitor the user process, monitor each other and are monitored bya hardware watchdog. Therefore, on the two levels of the hardware watchdog and the daemon process, it is finally guaranteed that the user process cannot run away or stop, and the effect is better thanthat of a single daemon process or watchdog.

Description

technical field [0001] The invention relates to embedded systems, especially the robustness of user tasks and daemon processes in embedded operating systems. Background technique [0002] Because embedded systems are often used in unattended scenarios in the Internet of Things field, high requirements are placed on their reliability, especially the robustness of user tasks. In many cases, it is often not allowed or there is no condition for the operator to find a problem and restart it at any time like ordinary personal computers and handheld devices. In its application scenarios, it is more required to be able to run continuously, even if the program crashes due to reasons inside or outside the system, it can automatically restart and run. [0003] In embedded systems, general user tasks run as user processes on the operating system. Usually, in order to ensure the robustness of the operation, a daemon process is provided to monitor the status of the user process, judge w...

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/07G06F11/14
CPCG06F11/0757G06F11/1417G06F11/143
Inventor 张毓魏天鸿
Owner 南京火零信息科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More