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

Method, apparatus and system for handling failure of an application

An application program and application program name technology, applied in the computer field, can solve problems such as maintenance difficulties, difficulty in obtaining the cause of failure, slowness, etc. Effect

Active Publication Date: 2019-02-26
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 1 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 failure of an application
  • Method, apparatus and system for handling failure of an application
  • Method, apparatus and system for handling failure of an application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

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

[0052] Such as figure 2 As shown, the method for processing the failure of the application program in the embodiment of the present invention mainly includes the following steps:

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

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

Embodiment 2

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

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

[0126] The obtaining unit 401 may be configured to separately obtain exception data generated when the application program is running, any of which includes at least one type of abnormal feature information.

[0127] The aggregating unit 402 may be configured to aggregate the abnormal data according to the abnormal characteristic information, and acquire the amount of abnormal data corresponding to any abnormal characteristic information.

[0128] The display unit 403 can be used to display any abnormal feature information and the amount of abnormal data corresponding to the abnormal feature information, so as to dea...

Embodiment 3

[0142] Figure 5 An exemplary system architecture 500 is shown in which the method for handling application failures or the device for handling application failures of this embodiment can be applied.

[0143] Such as 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 contained in the specific architecture can be adjusted according to the specific conditions of the application). The network 504 is used as a medium for providing communication links between the terminal devices 501 , 502 , 503 and the server 505 . Network 504 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others.

[0144] Users can use terminal devices 501 , 502 , 503 to interact with server 505 through network 504 to receive or send messages and the like. Various communication client applications can be installed on th...

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 handling the failure of an application program, which relates to the computer field. One embodiment of the method includes separately acquiring exception data generated when an application is running, any of the exception data including at least one exception characteristic information; Aggregating the abnormal data according to the abnormal characteristic information to obtain the amount of abnormal data corresponding to any abnormal characteristic information; Displaying any exception characteristic information, and the amount of exception data corresponding to the exception characteristic information, to handle a failure of the application. The embodiment can quickly discover a fault and accurately locate a fault point.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method, device and system for handling failures of application programs. Background technique [0002] In the field of computer technology, it is necessary to deal with the faults generated during the running of the application in a timely manner, 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 through hard coding, and output the 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 ...

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/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