Process crash analysis method and device, distributed device and storage medium

A technology for distributed equipment and crash analysis, applied in the computer field, to solve problems such as the inability to continue manual analysis

Active Publication Date: 2019-09-20
SHENZHEN ONETHING TECH CO LTD
View PDF19 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In a stand-alone environment, relying on manual analysis of the core dump file can assist in the analysis of the cause of the lo

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
  • Process crash analysis method and device, distributed device and storage medium
  • Process crash analysis method and device, distributed device and storage medium
  • Process crash analysis method and device, distributed device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is a flow chart of the process crash analysis method provided by the embodiment of the present invention. The process crash analysis method is applied to distributed devices under the distributed cloud computing framework, and is used to obtain the crash stack information of the crash process of the distributed device and send it to the server, so that the server performs statistical analysis according to the crash stack information, In this way, the process crash analysis under the framework of distributed cloud computing is realized. In this embodiment, the distributed device may be a personal cloud disk, such as Wanke Cloud. In other embodiments, the distributed device may be a set-top box or a router. There are multiple distributed devices.

[0045] Referring to 1, the process crash analysis method specifically includes the following steps:

[0046] S101. Register a process crash handler in a dump mode of an operating system of a distributed device. ...

Embodiment 2

[0087] figure 2 The structure diagram of the process crash analysis device provided by the embodiment of the present invention. The process crash analysis device 20 is applied to the distributed equipment under the framework of distributed cloud computing, and is used to obtain the crash stack information of the crash process of the distributed equipment and send it to the server, so that the server can perform statistical analysis according to the crash stack information , so as to realize the process crash analysis under the framework of distributed cloud computing. In this embodiment, the distributed device may be a personal cloud disk, such as Wanke Cloud. In other embodiments, the distributed device may be a set-top box or a router. There are multiple distributed devices.

[0088] Such as figure 2 As shown, the process crash analysis apparatus 20 may include: a registration unit 201 , a delivery unit 202 , an analysis unit 203 , and a sending unit 204 .

[0089] Th...

Embodiment 3

[0128] This embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above-mentioned embodiment of the process crash analysis method are implemented, for example figure 1 S101-S104 shown:

[0129] S101, registering the process crash handler in the dump mode of the operating system of the distributed device;

[0130] S102. When a crash occurs, the operating system transfers the core dump file of the crash process from the kernel of the distributed device to the process crash handler through a pipeline;

[0131] S103, the process crash processing program analyzes the core dump file to obtain the crash stack information of the crash process;

[0132] S104. The process crash handler sends the crash stack information to the server.

[0133] Alternatively, when the computer program is executed by the processor, the functions of the m...

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 process crash analysis method. The method comprises the following steps of registering a process crash processing program into a dump mode of an operating system of a distributed device; when the crash occurs, the operating system transmitting a core dump file of a crash process to the process crash processing program from a kernel of the distributed device through a pipeline; the process crash processing program analyzing the core dump file to obtain the crash stack information of the crash process; and the process crash processing program sending the crash stack information to the server. The invention further provides a process crash analysis device, the distributed device and a storage medium. According to the invention, the crash stack information of the crash process of the distributed device can be acquired and sent to the server, so that the server can perform statistical analysis according to the crash stack information, thereby realizing the process crash analysis under the distributed cloud computing framework.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a process crash analysis method and device, distributed equipment, and a computer-readable storage medium under a distributed cloud computing framework. Background technique [0002] When a running process terminates abnormally or crashes, the operating system will record the memory status of the program at that time and save it in a file. This behavior is called core dump (Core Dump). [0003] In a stand-alone environment, relying on manual analysis of core dump files can assist in analyzing and locating the cause of process crashes, but when the number of devices increases to a large number, it is obviously impossible to continue manual analysis. Contents of the invention [0004] In view of the above, it is necessary to propose a process crash analysis method, a process crash analysis device, a distributed device, a computer-readable storage medium and a computer p...

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
IPC IPC(8): G06F11/07G06F16/27H04L29/08
CPCG06F11/079G06F11/0706G06F16/27H04L67/1097Y02P90/02
Inventor 熊第彬
Owner SHENZHEN ONETHING TECH 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