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. O

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

Example Embodiment

[0025] Next, the technical solutions in the embodiments of the present invention will be described in connection with the drawings of the embodiments of the present invention, and it is understood that the described embodiments are merely the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art are in the scope of the present invention, in order to facilitate understanding of the above technical solutions of the present invention, the above techniques of the present invention will be described below. The plan will be described in detail.

[0026] like figure 1 As shown, the AOP annotation-based call tracking and service analysis method according to the embodiment of the present invention, the steps include: First, the Spring Boot framework adds a small amount of annotation @bizLog when the service is developed, and is used to record the correlation l...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products