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

Crash log processing method and device, equipment and storage medium

A log, a single technology, applied in the computer field, can solve problems such as parsing failure, inability to symbolize the crash log of the application client, program error reporting, etc.

Active Publication Date: 2020-02-07
北京博睿宏远数据科技股份有限公司
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of the first method is: atos is an official analysis tool provided by Apple, which is pre-installed in the MacOS system and can only run in the MacOS system, while the server system is more likely to choose a stable, open source, and flexible Linux system, and In the face of enterprise-level crash log analysis, it is unrealistic to deploy an analysis system on MacOS with high cost and poor performance.
The disadvantage of the second method is: using the atosl tool, function symbol analysis for certain types of crash logs will produce garbled characters, analysis failures, program errors, and line number parsing confusion, etc., and the atosl tool was written in 2013, and It is no longer maintained, unable to perform correct symbolic analysis on the crash logs generated by the iOS system application client written in the Swift development language launched in 2014, and unable to accurately restore the exact name and parameter information of the function symbol

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
  • Crash log processing method and device, equipment and storage medium
  • Crash log processing method and device, equipment and storage medium
  • Crash log processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 It is a flow chart of a crash log processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the crash log of the target application client is processed. The method can be executed by the crash log processing device provided in the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and generally Can be integrated in computer equipment. For example, server. Such as figure 1 As shown, the method of this embodiment specifically includes:

[0035] Step 101 , acquiring the crash log generated when the target user uses the target application program client.

[0036] Wherein, the crash log is a log file recorded by the operating system (IOS system) of the terminal device after the application client crashes due to an abnormality. What is usually recorded in the crash log is a hexadecimal memory address (also called original information), which c...

Embodiment 2

[0056] figure 2 It is a flow chart of a crash log processing method provided by Embodiment 2 of the present invention. This embodiment can be combined with each optional solution in one or more of the above embodiments. In this embodiment, according to the actual crash address and crash base address corresponding to each crash log single entry, and matching with the target application client The symbol table and attribute record format debugging information of the crash log to obtain the symbolic analysis result of the crash log may include: according to the actual crash address and crash base address corresponding to each single entry of the crash log, in the symbol table matching the target application client Obtain the function name of the target function corresponding to a single entry in each crash log; according to the function name and the attribute record format debugging information matching the target application client, obtain the target file and target line number...

Embodiment 3

[0072] image 3 It is a flow chart of a crash log processing method provided by Embodiment 3 of the present invention. This embodiment can be combined with each optional solution in one or more of the above embodiments. In this embodiment, according to the function name and the attribute record format debugging information matching the target application client, the target for calling the target function is obtained. The file and target line number may include: according to the function name, determine whether there is subroutine information corresponding to the target function in the core information part of the attribute record format debugging information; if so, obtain the first subroutine corresponding to the target function program information, and according to the first subroutine information, obtain the target file and target line number of the calling target function; if not, get the target file and target line number of calling the target function according to the li...

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 crash log processing method and device, equipment and a storage medium. The method comprises the steps of obtaining a crash log generated in a process that a target user usesa target application client; obtaining a symbol file matched with the version information of the target application program client; performing entry splitting on the crash log to obtain at least onecrash log single entry; obtaining an actual crash address and a crash base address corresponding to the at least one crash log single entry; analyzing the symbol file to obtain a symbol table matchedwith the target application program client and attribute record format debugging information; and outputting a symbolization analysis result of the crash log according to the actual crash address andthe crash base address corresponding to the single entry of each crash log, and the symbol table and the attribute record format debugging information matched with the target application client. According to the embodiment of the invention, the function symbol analysis can be accurately carried out on the crash log on the server of the Linux system.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular, to a crash log processing method, device, device, and storage medium. Background technique [0002] The crash of the application client is the most serious problem that occurs during the operation of the application, which will lead to a sudden interruption of the service and severely damage the user experience. Therefore, it is very important to monitor and analyze the crash of the application program client. According to the crash log generated when the user uses the application client, the function memory address of the application client crash is obtained, and the function symbol analysis is performed in conjunction with the symbol file, and the function call stack when the application client crashes is restored, and based on this , Purposeful and targeted repair of problems that occur on the application client side. [0003] In the prior art, ...

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/07
CPCG06F11/0787Y02D10/00
Inventor 袁耀辉程秋实薛志朋
Owner 北京博睿宏远数据科技股份有限公司
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