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

MDC-based multi-thread link tracking method and device and computer readable storage medium

A link tracking and multi-threading technology, applied in the field of log tracking system, can solve problems such as inaccurate troubleshooting, inability to provide basis for optimizing the system, inability to quickly locate http request response time, etc., to achieve the effect of improving processing capacity

Active Publication Date: 2020-12-22
UNICLOUD (NANJING) DIGITAL TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] After the SpringBoot microservice receives the http request, it will call the custom controller, service, dao, driver and other modules to complete the basic business process. During this process, the controller, service, dao, and driver will respond to multiple http requests concurrently, and the service The log will be written concurrently by multiple http requests. Compared with the log of a service, it will be written alternately to the log file. If an exception occurs in the service, the method of alternately printing the log will make it impossible to accurately and quickly locate the source of the exception through the log. It is impossible to accurately troubleshoot the problem, and at the same time, it is impossible to quickly locate the response time of each http request, and it is impossible to provide a basis for optimizing the system

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
  • MDC-based multi-thread link tracking method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention, and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments, for reference Those of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0027] According to the embodiments of the present invention, an MDC-based multi-thread link tracking method, device and computer-readable storage medium are provided.

[0028] Now in conjunction with accompanying drawing and specific embodiment the present invention is further described, as figure 1 As shown, according to one embodime...

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 MDC-based multi-thread link tracking method and device and a computer readable storage medium. The tracking method comprises the following steps of S1, finishing link identifier creation through a preset rule; S2, completing the inheritance of the multi-thread link parameters by adopting a preset rule; S3, completing the recording of the response time according to a preset method; S4, outputting a recording result of the response time to the log file by adopting a preset principle; and S5, completing recording of the unique identifier of the multi-thread link according to a preset criterion. The method has the beneficial effects that the link unique identifier is generated for each http request, each http request can be quickly searched under the action of the unique identifier, the execution time, the entry parameter and the response time of each http request can be distinguished, and meanwhile, all logs in the log file can be screened, so that online problems can be quickly positioned and troubleshot. And thus, the online problem processing capability is effectively improved.

Description

technical field [0001] The present invention relates to the technical field of log tracking systems, in particular to an MDC-based multi-threaded link tracking method, device and computer-readable storage medium. Background technique [0002] After the SpringBoot microservice receives the http request, it will call the custom controller, service, dao, driver and other modules to complete the basic business process. During this process, the controller, service, dao, and driver will respond to multiple http requests concurrently, and the service The log will be written concurrently by multiple http requests. Compared with the log of a service, it will be written alternately to the log file. If an exception occurs in the service, the method of alternately printing the log will make it impossible to accurately and quickly locate the source of the exception through the log. It is impossible to accurately troubleshoot the problem, and at the same time, it is impossible to quickly ...

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): H04L29/08G06F3/12G06F9/50
CPCH04L67/025H04L67/146H04L67/30G06F9/5027G06F3/1205G06F3/1257G06F3/1258G06F2209/5018H04L67/63
Inventor 杨志鹏
Owner UNICLOUD (NANJING) DIGITAL 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