Exception stack information acquisition method and device and computer-readable storage medium

US11010227B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11010227-B2
Application numberUS-201716088831-A
CountryUS
Kind codeB2
Filing dateSep 30, 2017
Priority dateJun 12, 2017
Publication dateMay 18, 2021
Grant dateMay 18, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An exception stack information acquisition method, including: when a preset exception signal is sensed in a running process of a project, calling and executing an exception signal processing function to acquire first exception stack information of a native layer; reading second exception stack information recorded by an Application (APP) layer when the exception signal is sensed; and assembling the first exception stack information and the second exception stack information to obtain assembled information, then reporting the assembled information to a server, and aborting the project after reporting is completed.

First claim

Opening claim text (preview).

The invention claimed is: 1. An exception stack information acquisition method, comprising steps of: when a preset exception signal is sensed in a running process of a project, calling and executing an exception signal processing function to acquire first exception stack information of a native layer, wherein the calling and executing step comprises: when the preset exception signal is sensed in the running process of the project, determining version information of an operating system for running the project; and calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire exception address information, and generating the first exception stack information according to the exception address information; reading second exception stack information recorded by an Application (APP) layer when the exception signal is sensed; and assembling the first exception stack information and the second exception stack information to obtain a first assembled information, then reporting the first assembled information to a server, and aborting the project after reporting is completed, wherein the assembling step comprises: reading a stored symbol table, and recovering the acquired first exception stack information on the basis of the stored symbol table to convert the first exception stack information into third exception stack information readable for the server; and assembling the third exception stack information and the second exception stack information to obtain a second assembled information, then reporting the second assembled information to the server, and aborting the project after reporting is completed. 2. The exception stack information acquisition method of claim 1 , wherein the step of calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire the exception address information and generating the first exception stack information according to the exception address information comprises: calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire the exception address information; acquiring exception stack data according to the exception address information, and acquiring a signal type of the sensed exception signal; and assembling the signal type and the exception stack data to generate the first exception stack information. 3. The exception stack information acquisition method of claim 2 , wherein the step of assembling the first exception stack information and the second exception stack information to obtain the first assembled information, then reporting the first assembled information to the server, and aborting the project after reporting is completed comprises: reading the stored symbol table, and recovering the acquired first exception stack information on the basis of the stored symbol table to convert the first exception stack information into the third exception stack information readable for the server; and assembling the third exception stack information and the second exception stack information to obtain a second assembled information, then reporting the second assembled information to the server, and aborting the project after reporting is completed. 4. The exception stack information acquisition method of claim 3 , wherein the step of reading the stored symbol table and recovering the acquired first exception stack information on the basis of the stored symbol table to convert the first exception stack information into the third exception stack information readable for the server comprises: starting an information recovery script, and sequentially matching a function name in the first exception stack information with function names in the symbol table one by one on the basis of the information recovery script to acquire a filename and a row number corresponding to the function name in the first exception stack information; and adding the filename and the row number to an original first exception stack information to generate the third exception stack information readable for the server. 5. The exception stack information acquisition method of claim 1 , wherein the step of reading the stored symbol table and recovering the acquired first exception stack information on the basis of the stored symbol table to convert the first exception stack information into the third exception stack information readable for the server comprises: starting an information recovery script, and sequentially matching a function name in the first exception stack information with the function names in the stored symbol table one by one on the basis of the information recovery script to acquire a filename and a row number corresponding to the function name in the first exception stack information; and adding the file name and the row number to an original first exception stack information to generate the third exception stack information readable for the server. 6. An exception stack information acquisition device, comprising: a memory, a processor, and an exception stack information acquisition program stored on the memory and capable of running on the processor; wherein the exception stack information acquisition program is executed by the processor to implement steps of: when a preset exception signal is sensed in a running process of a project, calling and executing an exception signal processing function to acquire first exception stack information of a native layer, wherein the calling and executing step comprises: when the preset exception signal is sensed in the running process of the project, determining version information of an operating system for running the project; and calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire exception address information, and generating the first exception stack information according to the exception address information; reading second exception stack information recorded by an Application (APP) layer when the exception signal is sensed; and assembling the first exception stack information and the second exception stack information to obtained a first assembled information, then reporting the first assembled information to a server, and aborting the project after reporting is completed, wherein the assembling step comprises: reading a stored symbol table, and recovering the acquired first exception stack information on the basis of the stored symbol table to convert the first exception stack information into third exception stack information readable for the server; and assembling the third exception stack information and the second exception stack information to obtain a second assembled information, then reporting the second assembled information to the server, and aborting the project after reporting is completed. 7. The exception stack information acquisition device of claim 6 , wherein the step of calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire the exception address information and generating the first exception stack information according to the exception address information comprises: calling and executing the exception signal processing function corresponding to the version information of the operating system to acquire the exception address information; acquiring exception stack data according to the exception address information, and acquiring a signal type of the sensed exception signal; and assembling the signal type and the exception stack data to generate the first exception stack information. 8. The e

Assignees

Inventors

Classifications

  • G06F11/302Primary

    where the computing system component is a software system · CPC title

  • Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available (error or fault processing without redundancy G06F11/0703; error detection or correction by redundancy in data representation G06F11/08; error detection or correction of the data by redundancy in operations G06F11/14; error detection or correction by redundancy in hardware G06F11/16) · CPC title

  • Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06) · CPC title

  • Performance evaluation by tracing or monitoring · CPC title

  • Dumping, i.e. gathering error/state information after a fault for later diagnosis · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11010227B2 cover?
An exception stack information acquisition method, including: when a preset exception signal is sensed in a running process of a project, calling and executing an exception signal processing function to acquire first exception stack information of a native layer; reading second exception stack information recorded by an Application (APP) layer when the exception signal is sensed; and assembling…
Who is the assignee on this patent?
Ping An Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F11/302. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 18 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).