Handling method and device for abnormal information

A technology of abnormal information and processing method, applied in the field of abnormal information processing method and device, and can solve problems such as low efficiency

Active Publication Date: 2015-04-08
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for processing abnormal information, so as to solve the problem of low efficiency in

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
  • Handling method and device for abnormal information
  • Handling method and device for abnormal information
  • Handling method and device for abnormal information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] The embodiment of the present invention provides a method for processing abnormal information. The method includes steps as follows:

[0017] Step S12, collecting exception information that occurs during the running of the application program, wherein the application program runs on the IOS system, and a processing method for unhandled exceptions is registered in the thread of the application program.

[0018] It should be noted here that, in a preferred embodiment, the solution provided by this application can be applied to application programs running on the IOS operating system.

[0019] Specifically, in the process of running the application program in the IOS operating system, a method for handling unhandled exceptions may be registered. You can use the IOS API to register the global unhandled exception handling method. Optionally, the partial implementation code is as follows:

[0020] NSSetUncaughtExceptionHandler(&UncaughtExceptionHandler);

[0021] Specifica...

Embodiment 2

[0084] The embodiment of the present invention also provides a device for processing abnormal information, such as figure 2 As shown, the device may include:

[0085] The collection module 22 is configured to collect exception information that occurs during the running of the application program, wherein a processing method for unhandled exceptions is registered in the thread of the application program.

[0086] The distribution module 24 is used for distributing the exception information that occurs during the running of the application program to multiple matching processing modules according to the distribution records through the unhandled exception processing method, wherein the multiple matching processing modules pre-define the abnormal pattern information of the corresponding programming user .

[0087] Specifically, in the distribution module 24, the above-mentioned exception information can be distributed to multiple matching processing modules at the same time thr...

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 handling method and device for abnormal information. The method comprises the steps of acquiring abnormal information occurring in the operation of an application program, wherein the application program is operated through an IOS system, and non-handled abnormal handling classes are registered in a thread of the application program; distributing the abnormal information occurring in the operation of the application program to a plurality of matching handling modules through the non-handled abnormal handling classes according to a distribution record, wherein abnormal mode information of corresponding programming use are preliminarily defined through the plurality of matching handling modules; sending the abnormal information to the corresponding abnormal information to handle on the premise that the abnormal information is consistent with the abnormal mode information in any one of the matching handling modules. With the adoption of the method and device, the problem of low abnormality handling efficiency caused by distributing the abnormal information to all developing bodies in case of abnormality in the IOS application program in the prior art can be solved.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method and device for processing abnormal information. Background technique [0002] In the development process of application program (APP), APP developers will use software development kit (SDK). development. IOS APP occasionally crashes unexpectedly during the running process, that is, an exception occurs, so developers need to analyze and solve the above abnormal problems. [0003] What needs to be explained here is that when an exception occurs in the IOS APP, it is impossible to distinguish whether the above crash is caused by the software development kit (SDK) or the APP itself. APP developers, and SDK developers and APP developers need to analyze the above abnormal information at the same time to solve the problem (although the occurrence of the above abnormal may have nothing to do with one of them), resulting in long time-consuming and APP developers in solving abno...

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): G06F9/44G06F11/36
Inventor 王杰
Owner BEIJING GRIDSUM TECH CO LTD
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