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

Micro-service call chain concretization method and device, electronic device and storage medium

A technology of microservices and call chains, applied in the computer field, can solve problems such as complex microservice call chains and the complexity of business system operation and maintenance

Active Publication Date: 2020-04-21
PING AN TECH (SHENZHEN) CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the fine-grained microservice means that the original business logic needs to connect multiple microservice interfaces in series to form a complex microservice call chain.
The existence of microservice call chains adds complexity to the operation and maintenance of business systems

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
  • Micro-service call chain concretization method and device, electronic device and storage medium
  • Micro-service call chain concretization method and device, electronic device and storage medium
  • Micro-service call chain concretization method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 It is a flow chart of the method for concretizing the microservice call chain provided by Embodiment 1 of the present invention. According to different requirements, the execution sequence in the flowchart can be changed, and some steps can be omitted.

[0048] Step S1, receiving a service request from a client.

[0049] In this embodiment, the service request may be an HTTP request, and the service of the HTTP request may be a face recognition service or a voiceprint recognition service.

[0050] Step S2, according to the business request, determine the target microservice call chain that responds to the business request.

[0051] In this embodiment, the invocation chain refers to initiating a business request on a client page, which is usually accompanied by invocation of multiple microservices, thus generating a microservice invocation chain. Specifically, after obtaining the business request initiated by the client, the target microservice call chain tha...

Embodiment 2

[0080] image 3 It is a function module diagram in a preferred embodiment of the device for embodying the microservice call chain of the present invention.

[0081] In some embodiments, the microservice call chain visualization device 20 (for convenience of description, referred to as "reification device" for short) runs in an electronic device. The visualization device 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the visualization device 20 can be stored in a memory, and executed by at least one processor, so as to implement the function of visualization of the microservice call chain.

[0082] In this embodiment, the embodiment device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a receiving module 201 , a determining module 202 , a collecting module 203 and a processing module 204 . The module referred to in ...

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 micro-service call chain concretization method. The method comprises the following steps: receiving a service request sent by a client; determining a target micro-service calling chain responding to the service request according to the service request; collecting metadata of all micro-services on a target micro-service call chain and a calling sequence of the micro-services; collecting first data related to the service request; acquiring second data in all micro-service calling processes on the micro-service call chain; and generating a portrait of the micro-service call chain according to the metadata of all the micro-services on the target micro-service call chain, the calling sequence of the micro-services, the first data and the second data. The invention further provides a micro-service call chain concretization device, an electronic device and a storage medium. According to the invention, traces can be reserved for the series process of the micro-servicecall chain, and the series process and the call state are dynamically displayed in a graphic form, so that visual information is provided for operation and maintenance of a service system, and the complexity of operation and maintenance is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for concretizing a microservice call chain. Background technique [0002] A complete microservice system includes multiple microservice units, and each microservice unit calls each other to form a call chain. Information such as which components, which microservices, the total duration of the request, and the duration of each component that the client’s request has gone through from sending to being responded to is information that we need to understand and collect. This information can help us locate performance bottlenecks and perform performance tuning. However, in the prior art, the above-mentioned information is displayed in the form of text or data, which is not conducive to the user's intuitive understanding of the calling situation of the request of the client. [0003] Although micro-services have bro...

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/08G06F9/48
CPCG06F9/4881H04L67/51H04L67/60
Inventor 吴创彭俊清王健宗
Owner PING AN TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More