Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for automatic recovery of system from fault state

A fault state, automatic recovery technology, applied in the direction of instruments, electrical digital data processing, computing, etc., can solve problems such as hanging

Active Publication Date: 2015-07-29
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the current hotspot AP, if there is no operation for 10 minutes after booting into the bootloader, the ap will hang, and no operation can be performed on the ap at this time

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
  • A method for automatic recovery of system from fault state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] like figure 1 As shown, this embodiment is a method for automatically recovering the software fault of the hotspot AP when the hotspot AP does not perform any operation for 10 minutes after booting into the bootloader, and the ap hangs and cannot perform any operation on the ap.

[0017] According to the actual situation of the hardware, by defining the relevant processing functions of the watchdog in the initialization place of the bootloader,

[0018] In this embodiment, there is the following code in the place that has entered the bootloader to initialize the watchdog and related functions. The specific code is as follows:

[0019] watchdog_open();

[0020] mem_malloc_init();

[0021] serial_init();

[0022] eth_initialize(gd->bd);

[0023] watchdog_close();

[0024] The first line opens the watchdog processing function, then the initialization function for hardware such as memory, serial port, and Ethernet port, and finally closes the watchdog processing functi...

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 provides a method for a system to automatically recover from a failure, which has the following steps: according to the actual situation of the system hardware, the related processing function of a watchdog is defined at the initialized position of bootloader, and watchdog counter progressing is added to avoid the system serial port hanging; and the watchdog is automatically fed when the counter value reaches 10 minutes, and finally the system is automatically rebooted. The method adopts the watchdog to detect whether the system software fails, and automatically reboots the computer in case that the failure is detected, so as to recover the system software.

Description

technical field [0001] The invention belongs to the field of software fault handling, and in particular relates to a method for automatic software recovery of industrial control systems such as hotspot APs, servers, telephone systems and production lines. Background technique [0002] Currently, a software bug that crashes the system in a human-operated desktop is not terrible, because the user only needs to reboot the system, and it will only cause a small amount of data loss. However, for software running on an industrial control system, the system must be able to recover from failures without human intervention. This characteristic is critical in two situations: one is high availability systems, such as servers, telephone systems, and production lines, etc.; the other is high reliability systems, because the failure of such systems will cause harm, such as automobiles , medical equipment, industrial control, automatic doors, etc. These industrial control systems genera...

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 Patents(China)
IPC IPC(8): G06F11/00
Inventor 汪公玉
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD