Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing abnormal information

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

Active Publication Date: 2018-07-13
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 0 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 solving abnormal problems caused by sending abnormal information to all development subjects when an abnormality occurs in an IOS application program in the prior art

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 and device for processing abnormal information
  • Method and device for processing abnormal information
  • Method and device for processing 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 a method and device for processing abnormal information. Wherein, the method includes: collecting abnormal 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 exception is registered in the thread of the application program; The abnormal information that occurs during the running of the program is distributed to multiple matching processing modules according to the distribution records. Among them, the multiple matching processing modules pre-define the corresponding abnormal pattern information of the programming user; the abnormal information and the abnormal pattern information in any matching processing module If they match, send the exception information to the programming user corresponding to the exception information for processing. The invention solves the problem in the prior art that when an abnormality occurs in an IOS application program, the abnormality information must be sent to all development subjects, resulting in low efficiency in solving the abnormality problem.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/448G06F11/36
Inventor 王杰
Owner BEIJING GRIDSUM TECH CO LTD