Method for reducing probability of dead halt of embedded software

An embedded software and crash technology, which is applied in hardware monitoring, instruments, electrical digital data processing, etc., can solve the problems that other threads or processes cannot monitor, and the embedded software crash probability can be minimized, etc., to achieve crash low probability effect

Inactive Publication Date: 2011-05-18
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional technology, in order to reduce the probability of embedded software crashes, it is adopted to create a thread or process at will to monitor the operation of other threads or processes. This method can effectively reduce the probability of embedded software crashes. However, for monitoring other threads or A thread or process created arbitrarily has the same probability of crashing as other threads or processes. In other words, if a thread or process created for monitoring other threads or processes crashes, it will also affect other threads or processes. Therefore, traditional technology cannot minimize the probability of embedded software crash

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 reducing probability of dead halt of embedded software
  • Method for reducing probability of dead halt of embedded software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The present invention will be further described below in conjunction with the accompanying drawings.

[0013] In the traditional technology, a thread or process is randomly created to monitor other threads or processes. Since the random creation of a thread or process has the same crash probability as the monitored thread or process, the crash probability of the embedded software cannot be Minimize; for above-mentioned defect, the present invention proposes a kind of method that reduces embedded software crash probability, monitors the operation of embedded software in the clock program with minimum crash probability, thereby reduces the crash probability of embedded software to minimum .

[0014] First of all, it is necessary to theoretically confirm that the clock is the only sign of a crash, because the system CPU assigns tasks to each thread (thread) and interrupt according to the time slice method. If the clock is wrong, it will inevitably cause confusion of the C...

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 embedded software and discloses a method for reducing the probability of dead halt of the embedded software. The method comprises the step of monitoring the operation of the embedded software in a clock program with minimum probability of dead halt, thus reducing the probability of dead halt of the embedded software to minimum. The technical scheme of the method comprises the following key points: flags are respectively set at the inlets and the outlets of all the interruptions, processes and public variables, a monitoring program is set in a clock to monitor the flags, and restoring once an abnormal interruption, process or public variable enters or exits. The invention has the beneficial effects that all the interruptions, processes and public variables are monitored in the clock program with minimum probability of dead halt and the probability of dead halt of the embedded software is reduced to minimum, and the method disclosed by the invention is applicable to the embedded software.

Description

technical field [0001] The invention relates to embedded software, in particular to a method for reducing the crash probability of embedded software. Background technique [0002] During the power-on operation of embedded products, the software is run by several interrupts, processes, and public variables; if it is possible to detect in real time which interrupt or process has a problem, the problematic software can be corrected during the development and testing phase. Even if the product has been handed over to the user, the interrupt, process and public variables that have problems can be self-repaired through the repair program, so as to avoid unreasonable crashes. [0003] In the traditional technology, in order to reduce the probability of embedded software crashes, it is adopted to create a thread or process at will to monitor the operation of other threads or processes. This method can effectively reduce the probability of embedded software crashes. However, for moni...

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/30G06F11/00
Inventor 程智俊
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
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