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

Application exception analysis method and generation method

A technology of application programs and analysis methods, applied in special data processing applications, hardware monitoring, instruments, etc., to achieve the effect of improving work efficiency

Inactive Publication Date: 2020-01-03
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of the embodiments of the present invention is to provide an application program exception analysis method, system, computer equipment, computer-readable storage medium, and application program exception generation method, so as to solve how to quickly and effectively find out where an exception occurs in an application program The cause of the exception when

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
  • Application exception analysis method and generation method
  • Application exception analysis method and generation method
  • Application exception analysis method and generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] refer to figure 1 , shows a flow chart of the steps of the method for analyzing the application anomaly in Embodiment 1 of the present invention. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. details as follows:

[0056] Step S100, receiving the Dump file sent by the client, and storing the Dump file in a specified storage area in the server, the Dump file being a memory image file of an associated process of the corresponding application program.

[0057] Exemplarily, the received Dump file is written into the server through the http protocol.

[0058] The Dump file is a memory image file of the associated process of the corresponding application program, which is used to save the execution state of the target program during running, such as the memory, stack, handle, thread and other program running related information associated with the target program.

[0059] Step S102, scanning the stora...

Embodiment 2

[0087] refer to image 3 , shows a flow chart of the steps of the method for generating an application exception according to Embodiment 2 of the present invention. It can be understood that the flowchart in this method embodiment is not used to limit the sequence of execution steps. details as follows:

[0088] Step S200, configuring an exception catching function for the application.

[0089] Optionally, the SetUnhandledExceptionFilter() function is set at the start position of the application program, so that the SetUnhandledExceptionFilter() function acts on the running life cycle of the application program.

[0090] Step S202 , monitoring abnormal events that occur during the running of the application program according to the exception catching function.

[0091] Exemplarily, when the target program encounters an unhandled exception and causes a program exception, the exception is handed over to the function for processing.

[0092] Step S204, when the abnormal event...

Embodiment 3

[0101] read on Figure 4 , shows a schematic diagram of program modules of Embodiment 3 of the application anomaly analysis system 20 of the present invention. In this embodiment, the application-based anomaly analysis system 20 may include or be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors, In order to complete the present invention, and realize the above-mentioned application anomaly analysis system method. The program module referred to in the embodiment of the present invention refers to a series of computer program instruction segments capable of completing specific functions, which is more suitable than the program itself to describe the execution process of the application anomaly analysis system 20 in the storage medium. The following description will specifically introduce the functions of each program module of the present embodiment:

[0102] The receiving module 300 is ...

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 embodiment of the invention provides an application program exception analysis method, which comprises the following steps of: receiving a Dump file sent by a client, and storing the Dump file into a specified storage area in a server; scanning the storage area at a preset frequency to obtain the Dump file; opening the Dump file and analyzing the Dump file so as to acquire target abnormal stack information in the Dump file; classifying the target abnormal stack information according to an abnormal reason; and generating an anomaly analysis file according to the classification result. The embodiment of the invention provides an application exception analysis system, computer equipment and a computer readable storage medium. According to the embodiment of the invention, the working efficiency of querying the program exception reason by developers can be effectively improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer system maintenance, and in particular to a method for generating an abnormal application program, an analysis method and system, computer equipment, and a computer-readable storage medium. Background technique [0002] With the popularization of Windows system, it provides a good ecological environment for a variety of client applications. In order to meet the needs of users, various client applications emerge in an endless stream. But with these client applications, there will be some abnormal events more or less. In order to detect these abnormal faults, the windows system is configured with a Dump file. When the client application program is abnormal, the reason for the abnormality of the application program can be obtained through the Dump file. [0003] Dump files can save program operation-related information such as internal memory, stacks, handles, threads, etc...

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/34G06F16/11G06F16/13
CPCG06F11/3495G06F16/113G06F16/13
Inventor 芦永胜
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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