Monitoring method capable of quickly positioning error code and monitoring ajax request service abnormity

A technology for locating errors and requesting services, applied in the field of java applications, can solve problems such as troublesome code troubleshooting, complicated troubleshooting, and time-consuming locating problems.

Inactive Publication Date: 2021-05-21
GUANGZHOU FAISCO INFORMATON TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when an abnormal situation is found, it is more troublesome to troubleshoot the abnormal code, and it takes time to locate the problem, and the troubleshooting is more complicated

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
  • Monitoring method capable of quickly positioning error code and monitoring ajax request service abnormity
  • Monitoring method capable of quickly positioning error code and monitoring ajax request service abnormity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.

[0020] refer to Figure 1-2 , a monitoring method that can quickly locate error codes and monitor ajax request service exceptions. The specific implementation process is:

[0021] S1: When the data returned by the svr server is received by the front-end call interface and an exception occurs, a runtime exception is uniformly thrown through the front-end call interface;

[0022] S2: Use corresponding tools to receive and analyze runtime exceptions;

[0023] S3: By analyzing the data in the stack, locate the number of lines of code where the problem occurs, and the context of the relevant code;

[0024] S4: Through the command, print the context corresponding to the ...

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 monitoring method capable of quickly positioning error codes and monitoring ajax request service abnormities, which comprises the following specific implementation processes: when a front-end calling interface receives an abnormity condition of data returned by an svr server, throwing out the abnormities during operation uniformly by providing the abnormities to the front-end calling interface; carrying out receiving analysis on the abnormity during operation by using a corresponding tool; by analyzing the data in the stack, positioning the line number of the code with the problem and the context of the related code; printing the context of the corresponding line number into a log system through a command; and when an abnormal alarm is given, finding out the detailed situation of an error occurring at the current time point through the keyword. According to the invention, after the exception is analyzed through the self-defined error checking tool TsMisc.logWebExp, the context of the exception condition can be quickly printed, and subsequent problem checking is facilitated by printing the context of the line number corresponding to the exception into a log system for storage.

Description

technical field [0001] The invention relates to the technical field of java applications, in particular to a monitoring method capable of quickly locating error codes and monitoring ajax request service exceptions. Background technique [0002] In order to monitor the abnormality of the service, the usual practice is to embed the monitoring code separately in the corresponding service interface. When an abnormality is found, it is necessary to find the abnormal error first, find the ajax corresponding to the abnormality, and enter the compiled java code through linux to view. However, when an abnormal situation is discovered, it is more troublesome to troubleshoot the abnormal code, and it takes time to locate the problem, and the troubleshooting is more complicated. [0003] Therefore, a monitoring method that can quickly locate error codes and monitor ajax request service exceptions is proposed. Contents of the invention [0004] Based on the technical problems existing...

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/30G06F11/07G06F8/41G06F8/30
CPCG06F11/3065G06F11/0766G06F8/427G06F8/43G06F8/315
Inventor 刘俊鑫
Owner GUANGZHOU FAISCO INFORMATON TECH
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