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

Method, apparatus and system for handling failures of application programs

A technology of application programs and application program names, applied in the computer field, can solve problems such as difficulty in maintenance, difficulty in obtaining fault causes, slowness, etc., to solve the problems of low efficiency of manual query, reduction of log data volume, and reduction of log data volume Effect

Active Publication Date: 2022-06-07
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. The log output depends on the hard coding of the program. When a fault occurs, the fault point that does not output abnormal data cannot be located and must be processed online, which is inefficient
[0009] 2. The abnormal data output code is coupled with the business code, making maintenance difficult
[0010] 3. The content of the output log cannot be controlled, and there are a lot of content irrelevant to the fault, which makes the log data huge, resulting in inability to query or slow query
[0011] 4. The efficiency of manual query is low. At the same time, the log is unstructured data, which cannot be aggregated and analyzed. It is difficult to accurately locate the fault point and obtain the cause of the fault.

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, apparatus and system for handling failures of application programs
  • Method, apparatus and system for handling failures of application programs
  • Method, apparatus and system for handling failures of application programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 2 It is a schematic diagram of the main steps of the method for handling the failure of an application program according to this embodiment.

[0052] like figure 2 As shown, the method for handling the failure of an application program according to the embodiment of the present invention mainly includes the following steps:

[0053] Step S201 : separately acquire abnormal data generated when the application is running, any of the abnormal data includes at least one abnormal feature information.

[0054] In this embodiment, the abnormal data refers to data that is different from most of the data generated when the application is running. Generally, when a fault occurs, abnormal data will appear in a concentrated and large amount. Therefore, the concentrated and large amount of abnormal data can be regarded as the failure of the application program, and the abnormal data can be used as the key data to determine the fault point. In this embodiment, fault discov...

Embodiment 2

[0124] Figure 4 It is a schematic diagram of the main part of the apparatus for handling the failure of the application program according to the present embodiment.

[0125] like Figure 4 As shown, the apparatus 400 for processing application program failures in this embodiment includes an acquisition unit 401 , an aggregation unit 402 and a display unit 403 . in:

[0126] The acquiring unit 401 may be configured to separately acquire abnormal data generated when the application is running, any of the abnormal data includes at least one abnormal feature information.

[0127] The aggregation unit 402 may be configured to aggregate the abnormal data according to the abnormal feature information, and obtain the abnormal data quantity corresponding to any abnormal feature information.

[0128] The display unit 403 can be used to display any abnormal feature information and the abnormal data quantity corresponding to the abnormal feature information, so as to deal with the fai...

Embodiment 3

[0142] Figure 5 An exemplary system architecture 500 is shown to which the method for handling a failure of an application program or the apparatus for handling a failure of an application program of this embodiment may be applied.

[0143] like figure 1 As shown, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505 (this architecture is only an example, and the components included in the specific architecture can be adjusted according to the specific application). The network 504 is a medium used to provide a communication link between the terminal devices 501 , 502 , 503 and the server 505 . Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.

[0144] The user can use the terminal devices 501, 502, 503 to interact with the server 505 through the network 504 to receive or send messages and the like. Various communication client applications ma...

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, a device and a system for dealing with failures of application programs, and relates to the field of computers. A specific implementation of the method includes: separately acquiring abnormal data generated when the application program is running, any of the abnormal data includes at least one kind of abnormal characteristic information; aggregating the abnormal data according to the abnormal characteristic information, Acquiring the amount of abnormal data corresponding to any abnormal characteristic information; displaying any abnormal characteristic information and the abnormal data amount corresponding to the abnormal characteristic information, so as to deal with the failure of the application program. This embodiment can quickly find faults and accurately locate fault points.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a method, an apparatus and a system for handling application program failures. Background technique [0002] In the field of computer technology, it is necessary to deal with the faults generated during the running of the application program in time, so as to ensure the normal operation of the business and improve the user experience. Therefore, it is necessary to find and locate the fault point at the first time through technical means. [0003] The process of fault discovery and processing in the prior art is generally as follows: [0004] S101. Generate a collection program by hard coding, and output abnormal information when the application program is running to a log file. [0005] S102. The log collection service reports the content of the log file to the log system for storage. [0006] S103. When a system failure is found through the monitoring system, manually que...

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 Patents(China)
IPC IPC(8): G06F11/34
CPCG06F11/3476
Inventor 李政
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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