Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Embedded software system fault detecting and recovering method and system

An embedded software, detection and recovery technology, applied in the direction of error detection/correction, generation of response errors, instruments, etc., can solve problems such as low reliability, function failure, software system restart, etc., and achieve the effect of comprehensive detection range

Active Publication Date: 2016-05-04
HNAC TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a real-time multi-tasking system, each task program independently completes different functions. When any task in the system fails, it will cause the entire software system to restart, which may bring serious consequences.
In addition, when a certain functional module of the software system fails, as long as the "feeding dog" program of the hardware watchdog can run normally, the software system will not restart. Failure to function or other unintended consequences
Traditional embedded software fault detection and recovery methods have the disadvantage of low reliability

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 system fault detecting and recovering method and system
  • Embedded software system fault detecting and recovering method and system
  • Embedded software system fault detecting and recovering method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] A fault detection and recovery method for an embedded software system is suitable for fault detection and recovery of real-time multi-task embedded software systems. Such as figure 1 As shown, the above method includes the following steps:

[0021] Step S120: Monitor multiple application tasks of the embedded software system in real time, and detect whether any application task fails. Real-time detection of each application task of the embedded software system, monitoring the operation of each application task, when a certain application task in the real-time multi-tasking system does not respond within the set time, it can be determined that this application task is running error occured. If it is detected that the application task is faulty, proceed to step S130; if not, return to step S120 to continue monitoring the application task, or directly proceed to step S140 to detect task scheduling faults. In this embodiment, step S140 is performed when no failure of the...

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 relates to an embedded software system fault detecting and recovering method and system. Multiple application tasks of the embedded software system are monitored in real time; whether the application tasks generate faults is detected; the application tasks generating the faults are restarted. Whether the embedded software system generates a task scheduling fault is detected; when detecting that the embedded software system generates the task scheduling fault, fault recovery is carried out to the embedded software system. In adoption of the method and the system, the partial software faults and integrated software system faults in the multi-task system can be detected in real time; the software system is automatically recovered to the normal operation state when the software system generates the faults; selective software fault detection and recovery is realized; and the detection range is more comprehensive without a dead angle; and the detection is simple and reliable.

Description

technical field [0001] The invention relates to the technical field of fault detection, in particular to a fault detection and recovery method and system for an embedded software system. Background technique [0002] Embedded software is the operating system and development tool software embedded in the hardware. Its relationship in the industry is reflected in: chip design and manufacturing→embedded system software→embedded electronic device development and manufacturing. Embedded software is widely used in national defense, industrial control, household, commercial, office, medical and other fields. [0003] The traditional embedded software fault detection and recovery methods generally perform the "feeding" operation periodically in a cyclic program or interrupt program. When the software system fails and there is no "feeding" for a certain period of time, the hardware will see The watchdog starts, resets the CPU, and the software system runs again. In a real-time mult...

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/07
CPCG06F11/0736
Inventor 黄文宝桂勇华赵红梅张志峰潘前华
Owner HNAC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products