Method and device for determining crash attribution, electronic equipment and storage medium

A technology for storing media and compiling files, applied in the computer field, can solve problems such as increasing the workload and time required for troubleshooting SDK crashes, the inability of SDK developers to optimize and improve the SDK in time, and the inability of SDK developers to distinguish them. Workload, faster crash handling, lower development cost effect

Inactive Publication Date: 2020-05-01
TONGDUN HLDG CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When an application crashes and a crash occurs when calling a method in the SDK, the name displayed in the crash stack will be the name of the executable file of the application, which is the same as the crash caused by the code in the application, so SDK developers cannot distinguish , SDK developers will not be able to optimize and improve the SDK
[0004] At present, most of the c...

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
  • Method and device for determining crash attribution, electronic equipment and storage medium
  • Method and device for determining crash attribution, electronic equipment and storage medium
  • Method and device for determining crash attribution, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Embodiment 1 provides a method for determining the attribution of a crash, which aims to compare and judge the call address obtained by parsing the crash information with the SDK running address range, quickly locate the SDK where the crash occurs, and report the crash information in a timely manner. By analyzing and judging whether the calling address corresponding to the crash information falls within the SDK running address range, this method can quickly and accurately determine the SDK where the crash is located, reduce the troubleshooting time and workload of SDK crashes, improve the efficiency of analyzing SDK crashes, and reduce development costs ;Report SDK crashes in time, which will help to speed up the SDK developers' handling of crashes, and then optimize and improve the SDK in time, thereby improving the stability of the SDK.

[0041] Please refer to figure 1 As shown, a method for determining the attribution of a crash includes the following steps:

[004...

Embodiment 2

[0057] Embodiment 2 discloses a device for determining the attribution of a crash corresponding to the above embodiment, which is the virtual device structure of the above embodiment, please refer to figure 2 shown, including:

[0058] A crash acquisition module 210, configured to acquire crash information;

[0059] A crash parsing module 220, configured to parse the crash information to obtain a calling address;

[0060] The address range calculation module 230 is used to obtain the SDK compiled file, and calculate the SDK running address range based on the SDK compiled file;

[0061] The crash judgment processing module 240 is used to judge whether the call address is within the range of the SDK running address, if so, save the crash information, and upload the crash information to the remote server.

[0062] The above-mentioned crash acquisition module 210 captures exception information and device information by registering a crash capture function, and records the crash...

Embodiment 3

[0067] image 3 A schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention, such as image 3 As shown, the electronic device includes a processor 310, a memory 320, an input device 330, and an output device 340; the number of processors 310 in a computer device may be one or more, image 3 Take a processor 310 as an example; the processor 310, memory 320, input device 330 and output device 340 in the electronic device can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0068] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for determining crash attribution in the embodiment of the present invention (for example, the device for determining crash attribution The crash acquisition module 210, the crash analysis module 220, the address interva...

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 method for determining crash attribution, which relates to the technical field of computers and comprises the following steps of: obtaining crash information; analyzing the crash information to obtain a calling address; obtaining an SDK compiling file, and based on the SDK compiling file, performing calculation to obtain an SDK running address interval; and judging whether the calling address is in an SDK running address interval or not, if so, storing crash information, and uploading the crash information to a remote server. According to the method, whether the calling address corresponding to the crash information is located in the SDK running address interval or not is analyzed and judged, so that the SDK where the crash is located can be quickly and accuratelydetermined, the troubleshooting time and workload of SDK crash are reduced, the SDK crash analysis efficiency is improved, and the development cost is reduced; and the SDK crash is reported in time,so that the crash processing speed of an SDK developer is increased, the SDK is optimized and improved in time, and the stability of the SDK is improved. The invention further discloses a device for determining crash attribution, electronic equipment and a computer storage medium.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, electronic equipment and storage medium for determining crash attribution. Background technique [0002] With the upsurge of SDK development on mobile platforms, timely detection of online crashes caused by SDKs in applications has always been a hot topic. In the iOS operating system, the SDK is divided into two types: static library and dynamic library (Embedded Framework). The dynamic library and the application belong to different binary modules. Therefore, when a crash occurs when a method in the SDK is called, the name of the dynamic library SDK will be displayed in the crash stack information. By comparing the SDK names, it can be determined whether the current SDK caused the Crash. [0003] The static library and the application program belong to the same binary module, and its code will be added to the code segment of the application program....

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/36
CPCG06F11/366
Inventor 程展斌
Owner TONGDUN HLDG 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