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

Exception catching method and device

A capture device and exception technology, applied in the field of exception handling, can solve the problems of large amount of code deployment and failure to capture system crashes, etc., achieve the effect of comprehensive exception information and reduce the amount of code deployment

Active Publication Date: 2018-06-05
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above exception capture method requires a large amount of code deployment, and cannot capture the exception that causes the system to crash

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
  • Exception catching method and device
  • Exception catching method and device
  • Exception catching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0048] The exception capture method is used to capture the exception during the running of the application and execute the exception handling process. In the existing method for catching exceptions, it is necessary to determine the codes where exceptions may occur in each place in the application, and deploy try / catch codes at the codes where exceptions may occur. In this way, if an exception occurs during the running of the applic...

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 exception catching method. Through the method, it is only needed to write one exception catching function, and monitoring of the self-running process of an application can be realized by applying and calling the exception catching function. Compared with the prior art, it is not needed to deploy try / catch at each position, where an exception possibly occurs, of an application code, and therefore the code deployment quantity is reduced. The exception catching function in the exception catching method is a global exception catching function, all exceptions, including asystem exception causing application crash, in the application can be monitored, and after the system exception is monitored, exception information is sent to a server. Obviously, compared with the prior art, the exception information of the system exception can be collected before application crash, and the collected exception information is more comprehensive. The invention furthermore providesan exception catching device and equipment to guarantee application and implementation of the method in practice.

Description

technical field [0001] The present invention relates to the technical field of exception handling, more specifically, an exception capturing method and device. Background technique [0002] Various applications can be set on the terminal, and some abnormal situations may occur during the running of the application. For example, NetEase Cloud Music (a music application) is installed on the mobile phone, and the user did not enable the network connection function before logging in, resulting in an abnormality that the network cannot be connected during the login process. [0003] The terminal needs to catch the exception and send it to the server side for record analysis. At present, the method for catching exceptions is that developers analyze application codes and deploy try / catch codes where exceptions may occur, and the try / catch codes catch the exceptions and send them to the server. [0004] The above exception capture method requires a large amount of code deployment,...

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/30
CPCG06F11/3051G06F2201/865
Inventor 王安迪包佳杰
Owner BEIJING GRIDSUM 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