Application program abnormal log processing method and system

A technology of application program and processing method, applied in the direction of electrical digital data processing, generation of response error, instrument, etc., can solve the problems of mobile terminal operation performance degradation, abnormal log location difficulty, etc.

Inactive Publication Date: 2017-05-31
TCL CORPORATION
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method and system for processing abnormal logs of application programs, aiming to solve the problems in the prior art that the system generates a large number of log files, which causes the performance of the mobile terminal to decline, and the abnormal log location is difficult question

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
  • Application program abnormal log processing method and system
  • Application program abnormal log processing method and system
  • Application program abnormal log processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] The present invention provides a flow chart of a preferred embodiment of an application exception log processing method, as figure 1 As shown, the methods include:

[0044] Step S100, adding a monitoring application program service in the system, registering the monitoring application program service into the system service, and registering the application to be monitored in the monitoring application program service.

[0045] For specific implementation, the Android system is used as an example for introduction, but this method can also be used for other systems. SystemServer is a core process of the Android system. All system services o...

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 an application program abnormal log processing method and system. The method comprises the steps of adding an application program service in a system, registering the monitoring application program service into the system service, registering to-be-monitored application in the monitoring application program service; the to-be-monitored application sends messages to the monitoring application program service every preset time interval; if the monitoring application program service receives the message sent by the to-be-monitored application in a preset expire time, the log file is not generated, if the monitoring application program service does not receive the message sent by the to-be-monitored application in a preset expire time, then the abnormal applications are searched based on the registered package name of monitored application, and the abnormal log of the abnormal application is recorded. Only when abnormalities of the system applications are detected, can the abnormal log be recorded. The running efficiency of the system is enhanced. The locating of the abnormal log information is facilitated. The method and system provide convenience to the analysis work of abnormal log information carried out by technical developers.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a method and system for processing abnormal logs of application programs. Background technique [0002] Nowadays, the Android system of mobile terminals will record log information when it is running normally. Using the mobile terminal for a long time will cause the continuous accumulation of log information files, and the system space occupied by it will also increase day by day. Existing large-volume log information files are likely to burden the storage space of the mobile terminal, and easily lead to a decrease in the operating performance of the mobile terminal and a slow processing speed of the mobile terminal. Moreover, in the prior art, when an abnormality occurs in the mobile terminal, a large amount of useless log information will also take a long time to find the corresponding abnormal log. [0003] Therefore, the prior art still needs to be improved and deve...

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/07G06F11/30
CPCG06F11/0757G06F11/0787G06F11/302G06F11/3079
Inventor 孙向作
Owner TCL CORPORATION
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