Check patentability & draft patents in minutes with Patsnap Eureka AI!

Abnormal capture 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: 2021-08-17
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 0 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
  • Abnormal capture method and device
  • Abnormal capture method and device
  • Abnormal capture 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 of 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 applica...

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 capturing method, which only needs to write an exception capturing function, and the application calls the exception capturing function, so that the monitoring of the running process of the application itself can be realized. Compared with the prior art, it is not necessary to deploy try / catch at every place where an exception may occur in the application code, which reduces the amount of code deployment. The exception capture function implementing the exception capture method in the present invention is a global exception capture function, which can monitor all exceptions in the application, including system exceptions that cause application crashes, and send the exception information to the server after monitoring the system exceptions . It can be seen that compared with the prior art, the present invention can collect the abnormal information of the system abnormality before the application crashes, and the collected abnormal information is more comprehensive. The present invention also provides an abnormality capturing device and equipment to ensure the practical application and realization of the above method.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/30
CPCG06F11/3051G06F2201/865
Inventor 王安迪包佳杰
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More