Unlock instant, AI-driven research and patent intelligence for your innovation.

Microservice call tracking method and system based on log buried points

A call tracking and micro-service technology, applied in data processing applications, multi-program devices, instruments, etc., can solve problems such as low use efficiency, performance bottlenecks, and huge database data, and achieve the effect of improving the running rate and ensuring that it cannot be tampered with.

Active Publication Date: 2021-03-12
厦门商集网络科技有限责任公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, the technical problem to be solved by the present invention is that the recorded service tracking information lacks the process information in the service execution process, and the monitoring microservice needs to process a very large amount of tracking information in real time, which is easy to become a performance bottleneck, and a large amount of monitoring information is recorded in the database. , leading to the monitoring database data is too large and the use efficiency is low

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
  • Microservice call tracking method and system based on log buried points
  • Microservice call tracking method and system based on log buried points
  • Microservice call tracking method and system based on log buried points

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Microservice call tracking method based on log buried points, such as figure 2 shown, including the following steps:

[0043] S1: The external system sends a request to start calling the microservice.

[0044] S2: Generate a transaction serial number, and print the embedded log of the microservice call, and the log information includes the transaction serial number.

[0045] S3: The transaction serial number is transparently transmitted to the invocation of the microservice through the local thread. Transparent transmission, that is, transparent transmission (pass-through), means that regardless of the business content transmitted during communication, it is only responsible for transmitting the transmitted content from the source address to the destination address, without making any changes to the business data content.

[0046] S4: Print the business log with the transaction serial number.

[0047] S5: When the microservice calls other remote microservices, recor...

Embodiment 2

[0062] The microservice call tracking system based on log buried points includes a processor, which is suitable for realizing each instruction; and a storage device, which is suitable for storing a plurality of instructions, and the instructions are suitable for being loaded and executed by the processor:

[0063] Call the microservice.

[0064] Generate a transaction serial number, print the embedded log of the microservice call, and the log information includes the transaction serial number.

[0065] Transparently transmit the transaction serial number to the invocation of the microservice through the local thread.

[0066] Print the business log with the transaction serial number.

[0067] When the microservice calls other remote microservices, record the embedded log of the remote call microservice, then remotely call other microservices, and transparently transmit the transaction serial number to the remote microservice.

[0068] Call the remote microservice to receive ...

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 collects the application log, the system log and the buried point log of the service to the log collection server together, and the technician can conveniently inquire all the executioninformation of a transaction, thereby facilitating the debugging and searching for problems. The invention also discloses a micro service call tracking method based on the buried point of the log. Inaddition, managers can also easily customize reports in the system. Transaction tracking is done through logging, which minimizes system intrusion and allows developers to seamlessly inject transaction numbers into logs without any additional processing.

Description

technical field [0001] The invention relates to a method for tracking and invoking a microservice, in particular to a method for invoking a microservice based on a log buried point and a system thereof. Background technique [0002] Microservices is an architectural style in which a large complex software application consists of one or more microservices. Each microservice in the system can be deployed independently, and each microservice is loosely coupled. Each microservice is only focused on doing one task and doing it well. In all cases, each task represents a small business capability. Although the architectural style of "microservices" has no precise definition, it has some common characteristics, such as organizing services around business capabilities, automated deployment, intelligent endpoints, "decentralized" control of language and data, and so on. Due to the small transaction volume and slow iterative update of traditional applications, the technical architec...

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): G06F9/54G06F11/30G06Q30/06
CPCG06F9/547G06F11/3006G06F11/3055G06F2209/544G06Q30/0601
Inventor 陈瑛辉谢周明
Owner 厦门商集网络科技有限责任公司