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

AOP annotation-based call chain tracking and service analysis method

A technology of business analysis and call chain, applied in the direction of non-redundancy-based fault handling, response error generation, hardware monitoring, etc., can solve the problems of accurate positioning of call data, complicated call paths, etc., and achieve the effect of optimizing the program

Pending Publication Date: 2022-01-28
北京航天云路有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the continuous increase of requests and calls, the call path inside the system becomes complicated. Once the system is abnormal, it is difficult to accurately locate the abnormality from the massive call data

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
  • AOP annotation-based call chain tracking and service analysis method
  • AOP annotation-based call chain tracking and service analysis method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present invention. In order to facilitate the understanding of the above-mentioned technical solutions of the present invention, the above-mentioned technologies of the present invention will be described below through specific usage methods The plan is described in detail.

[0026] Such as figure 1 As shown, according to the AOP annotation-based call chain tracking and business analysis method described in the embodiment of the present invention, the steps include: first, the Spring Boot framework adds a small...

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 AOP annotation-based call chain tracking and service analysis method, which comprises the following steps of: adding an annotation during development, and initiating call chain tracking; recording the calling chain information by using a log, and connecting the micro-service and the calling relationship in series by using the TraceID; adding StepID between micro-service calling chains, and identifying the nested relation of service calling in the calling chains; performing bidirectional association, establishing a relationship between the call chain and the business, and recording the relationship between the call chain TraceID and the business ID by using a log; judging whether the system is abnormal or not, and if not, judging whether tracking is ended or not; if so, positioning and marking abnormal information by using a log, and judging whether tracking is ended or not; and finally, enabling a developer to query logs and exception information from different dimensions to optimize codes to solve exceptions. According to the method, the micro-service calling chain and service analysis function is achieved by recording the relation between the calling chain and the service, when the program is abnormal, checking is conducted from the two aspects of the calling chain and the service, and developers are helped to rapidly position the abnormity and repair vulnerabilities.

Description

technical field [0001] The present invention relates to the technical field of microservice call chain tracking, in particular to a method for call chain tracking and business analysis based on AOP annotations. Background technique [0002] In recent years, with the rapid development of the Internet, the requirements for software delivery, iteration speed and operating efficiency have become higher and higher, and the microservice architecture has emerged as the times require. It has become the mainstream of distributed architecture. [0003] OpenTracing is a distributed tracing system. When we split the system into a service-oriented and distributed system, we may need to log in to multiple machines to query a problem. OpenTracing enables developers to easily add (or replace) the implementation of the tracking system by providing a platform-independent and vendor-independent API. The call chain in OpenTracing is implicitly defined by the Span that belongs to the call chai...

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/34G06F11/07G06F8/73G06F8/72
CPCG06F11/3006G06F11/302G06F11/3093G06F11/3476G06F11/079G06F11/0751G06F11/0709G06F11/0793G06F8/73G06F8/72G06F2201/865
Inventor 贺彩玲于聪妍刘东丽王翀刘明
Owner 北京航天云路有限公司
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