Fault positioning method, device and system

A fault location and fault technology, applied in instruments, error detection/correction, calculation, etc., can solve the problems of inability to obtain fault information in time and low positioning accuracy, so as to reduce the cost of positioning, improve the accuracy of positioning, and improve the efficiency of positioning Effect

Active Publication Date: 2020-03-10
ALIBABA GRP HLDG LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a fault location method, device and system to at least solve the technical problem that the fault location method in the prior art cannot obtain the fault information when the fault occurs in time, resulting in low positioning accuracy

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
  • Fault positioning method, device and system
  • Fault positioning method, device and system
  • Fault positioning method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] According to an embodiment of the present application, an embodiment of a fault location method is provided. It should be noted that the steps shown in the flowcharts of the drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0035] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A block diagram of a hardware structure of a computer terminal (or mobile device) for implementing a fault location method is shown. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor 102 may include but not limited to a micro...

Embodiment 2

[0108] According to an embodiment of the present application, a fault location device for implementing the above fault location method is also provided, such as Figure 7 As shown, the apparatus 700 includes: a printing module 702 , a storage module 704 and a determination module 706 .

[0109] Wherein, the printing module 702 is used to print the stack area of ​​the kernel stack and the stack area of ​​the user stack to obtain the print result if a system failure is detected; the storage module 704 is used to store the print result and control the restart of the system; the determination module 706 is used to If the system restarts, determine the type of failure based on the printed results.

[0110] Specifically, the above-mentioned system may be a Linux operating system deployed in an intelligent router in a public area, and the intelligent router is implemented by hardware based on MIPS CPU architecture and a Linux kernel. The watchdog program can be used to detect whethe...

Embodiment 3

[0159] According to an embodiment of the present application, a fault location system is also provided, including:

[0160] processor; and

[0161] The memory, connected to the processor, is used to provide the processor with instructions for processing the following processing steps: if a fault is detected in the system, print the stack area of ​​the kernel stack and the stack area of ​​the user stack to obtain the print result; store the print result, and control System restart; if the system restarts, determine the fault type based on the printed results.

[0162] The method provided in the above-mentioned embodiment 3 of the present application, if a system failure is detected, print the stack area of ​​the kernel stack and the stack area of ​​the user stack, obtain the print result, store the print result, and control the system to restart. If the system restarts successfully, further Determine the fault type based on the printing results, so as to realize the purpose of...

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 fault positioning method, device and system. The method comprises the steps that if it is detected that a system breaks down, a stack area of a kernel stack and a stack areaof a user stack are printed, and a printing result is obtained; storing the printing result, and controlling the system to be restarted; if the system is restarted, a fault type is determined based onthe print result. The technical problem of low positioning accuracy due to the fact that a fault positioning method in the prior art cannot acquire fault information in time when a fault occurs is solved.

Description

technical field [0001] The present application relates to the field of embedded systems, in particular, to a fault location method, device and system. Background technique [0002] In the field of commercial data analysis, there are two requirements for smart routers. On the one hand, smart routers can report WiFi sniffing data to the cloud through long-term connection channels stably for a long time. On the other hand, smart routers can run stably for a long time. , there should be no hanging phenomenon and cannot be recovered, otherwise it will cause waste of resources and time. When the router starts up, it will establish a TCP long-term connection pipeline with the cloud server to report data and receive control commands or system upgrade commands / data from the server. Therefore, if a system-level crash occurs, the device will restart After that, the information collected when an exception occurs can be sent to the server for analysis, so as to guess why the system cann...

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/0766G06F11/079G06F11/1438
Inventor 杨骁
Owner ALIBABA GRP HLDG 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