Search

CN-122019298-A - Application crash alarm method, device, equipment, storage medium and program product

CN122019298ACN 122019298 ACN122019298 ACN 122019298ACN-122019298-A

Abstract

The embodiment of the application provides an application crash alarm method, an application crash alarm device, application crash alarm equipment, a storage medium and a program product. The method comprises the steps of obtaining crash data generated in the running process of a target application in a current alarm time window, determining crash information and application knowledge of the target application according to the crash data, wherein the crash information comprises crash stack information, generating a crash analysis result of the target application according to the crash data, the crash information and the application knowledge, wherein the crash analysis result comprises a crash repairing scheme, and performing alarm pushing processing according to the crash analysis result. The method can improve the response speed and analysis efficiency of the application crash problem.

Inventors

  • WANG CE
  • LU YUNHAI

Assignees

  • 北京侠客汇信息技术有限责任公司

Dates

Publication Date
20260512
Application Date
20251226

Claims (12)

  1. 1. An application crash alarm method, comprising: obtaining crash data generated in the running process of the target application in the current alarm time window; determining the collapse information and application knowledge of the target application according to the collapse data, wherein the collapse information comprises collapse stack information; generating a breakdown analysis result of the target application according to the breakdown data, the breakdown information and the application knowledge, wherein the breakdown analysis result comprises a breakdown restoration scheme; And carrying out alarm pushing processing according to the crash analysis result.
  2. 2. The method of claim 1, wherein determining crash information and application knowledge for the target application based on the crash data comprises: Generating alarm data of the target application according to the collapse data; Determining the collapse information of the target application according to the alarm data, wherein the collapse information comprises a collapse problem and collapse stack information; and acquiring application knowledge of the target application from a preset knowledge document base according to the collapse information, wherein the application knowledge comprises knowledge document fragments, a collapse file prefix and responsible person information.
  3. 3. The method of claim 2, wherein generating alert data for the target application based on the crash data comprises: Determining the number of crashes and the rate of crashed devices of the target application in the current alarm time window according to the crashed data; And if the number of crashes is larger than or equal to a preset number, or if the rate of crashed equipment is larger than or equal to a preset threshold value, generating alarm data of the target application.
  4. 4. The method of claim 2, wherein determining crash information for the target application based on the alert data comprises: acquiring historical crash data generated in the running process of the target application in a historical alarm time window, wherein the historical alarm time window is the previous alarm time window of the current alarm time window; determining a crash record which is not repaired and has the largest difference value of the corresponding crash quantity between the historical crash data and the crash data as a target crash record; and determining the collapse information of the target application according to the target collapse record.
  5. 5. The method according to claim 2, wherein the obtaining the application knowledge of the target application from a preset knowledge document base according to the crash information includes: Generating a search keyword of the target application according to the application name and the application identifier in the collapse information; And according to the search keywords, searching application knowledge of the target application from the preset knowledge document library.
  6. 6. The method of claim 1, wherein generating a crash analysis result for the target application based on the crash data, the crash information, and the application knowledge comprises: generating a crash root cause analysis result of the target application according to the crash data, the crash information, the application knowledge and a preset analysis instruction; generating a crash repairing scheme of the target application according to the crash root cause analysis result; And generating a crash analysis result of the target application according to the crash root cause analysis result, the crash stack information and the crash repair scheme.
  7. 7. The method of claim 1, wherein the performing the alert push process according to the crash analysis result comprises: converting the crash analysis result according to a preset alarm template to obtain structural alarm information, wherein the structural alarm information comprises an alarm title, crash core information, a root cause positioning result and a repair suggestion; Converting the structured alarm information according to a preset interactive message format to obtain an interactive message; Pushing the interactive message to a target group in target user equipment, and generating a pushing log, wherein the pushing log comprises pushing time, a pushing object and an alarm identifier.
  8. 8. The method according to any one of claims 1-7, further comprising: Creating an alarm work order according to the crash analysis result, wherein the alarm work order comprises work order information and work order description content; and carrying out distribution processing on the alarm worksheets according to the worksheet priorities of the alarm worksheets.
  9. 9. An application crash alerting device, comprising: The acquisition module is used for acquiring crash data generated in the running process of the target application in the current alarm time window; the determining module is used for determining the collapse information and application knowledge of the target application according to the collapse data, wherein the collapse information comprises collapse stack information; the generation module is used for generating a breakdown analysis result of the target application according to the breakdown data, the breakdown information and the application knowledge, wherein the breakdown analysis result comprises a breakdown restoration scheme; and the alarm module is used for carrying out alarm pushing processing according to the crash analysis result.
  10. 10. An electronic device is characterized by comprising a memory and a processor; The memory stores computer-executable instructions; The processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-8.
  11. 11. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-8.
  12. 12. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 1-8.

Description

Application crash alarm method, device, equipment, storage medium and program product Technical Field The present application relates to the field of artificial intelligence technologies, and in particular, to an application crash alarm method, apparatus, device, storage medium, and program product. Background The frequent occurrence of crashes in mobile applications during operation has become one of the core challenges facing developers and enterprises. With the increase of the complexity of the mobile application function and the expansion of the user scale, the crash problem (such as application jamming, data loss, functional failure, etc.) not only directly affects the user experience, but also may cause the user loss. In the prior art, through developing an own monitoring platform, full-type acquisition, cluster analysis and visual presentation of crash logs are realized. However, in the above manner, the analysis process still depends on manual experience, and full-flow automation cannot be realized, resulting in low crash analysis efficiency. Disclosure of Invention The embodiment of the application provides an application crash alarm method, an application crash alarm device, application crash alarm equipment, a storage medium and a program product, which can improve the response speed and analysis efficiency of an application crash problem. In a first aspect, an embodiment of the present application provides an application crash alarm method, including: obtaining crash data generated in the running process of the target application in the current alarm time window; determining the collapse information and application knowledge of the target application according to the collapse data, wherein the collapse information comprises collapse stack information; generating a breakdown analysis result of the target application according to the breakdown data, the breakdown information and the application knowledge, wherein the breakdown analysis result comprises a breakdown restoration scheme; And carrying out alarm pushing processing according to the crash analysis result. In a possible implementation manner, the determining the crash information and the application knowledge of the target application according to the crash data includes: Generating alarm data of the target application according to the collapse data; Determining the collapse information of the target application according to the alarm data, wherein the collapse information comprises a collapse problem and collapse stack information; and acquiring application knowledge of the target application from a preset knowledge document base according to the collapse information, wherein the application knowledge comprises knowledge document fragments, a collapse file prefix and responsible person information. In a possible implementation manner, the generating the alarm data of the target application according to the crash data includes: Determining the number of crashes and the rate of crashed devices of the target application in the current alarm time window according to the crashed data; And if the number of crashes is larger than or equal to a preset number, or if the rate of crashed equipment is larger than or equal to a preset threshold value, generating alarm data of the target application. In a possible implementation manner, the determining the crash information of the target application according to the alarm data includes: acquiring historical crash data generated in the running process of the target application in a historical alarm time window, wherein the historical alarm time window is the previous alarm time window of the current alarm time window; determining a crash record which is not repaired and has the largest difference value of the corresponding crash quantity between the historical crash data and the crash data as a target crash record; and determining the collapse information of the target application according to the target collapse record. In a possible implementation manner, the obtaining, according to the crash information, the application knowledge of the target application from a preset knowledge document library includes: Generating a search keyword of the target application according to the application name and the application identifier in the collapse information; And according to the search keywords, searching application knowledge of the target application from the preset knowledge document library. In a possible implementation manner, the generating a crash analysis result of the target application according to the crash data, the crash information and the application knowledge includes: generating a crash root cause analysis result of the target application according to the crash data, the crash information, the application knowledge and a preset analysis instruction; generating a crash repairing scheme of the target application according to the crash root cause analysis result; And generating a crash analysis