Supercharge Your Innovation With Domain-Expert AI Agents!

Micro-service-oriented business request processing method and device, equipment and storage medium

A technology of service request and processing method, applied in the direction of multi-channel program device, electrical digital data processing, program control design, etc., can solve the problem of inability to track links, reduce development costs and maintenance costs, and solve the problem of link series connection. , reduce the effect of code intrusion

Pending Publication Date: 2021-12-31
PINGAN INT SMART CITY TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above, the present invention provides a microservice-oriented business request processing method, device, equipment and storage medium, the purpose of which is to solve the technical problem that link tracking cannot be performed in the prior art

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-oriented business request processing method and device, equipment and storage medium
  • Micro-service-oriented business request processing method and device, equipment and storage medium
  • Micro-service-oriented business request processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the objects, technical solutions and advantages of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for explaining the present invention and is not intended to limit the invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art are in the range of the present invention without making creative labor premise.

[0061] Refer figure 1 As shown, a schematic view of a preferred embodiment of the electronic device 1 of the present invention.

[0062] The electronic device 1 includes, but is not limited to, a memory 11, a processor 12, a display 13, and a network interface 14. The electronic device 1 connects the network through the network interface 14 to obtain raw data. Among them, the network can be an intranet, an Internet, a gl...

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 relates to the field of artificial intelligence, and provides a micro-service-oriented business request processing method, which comprises the following steps of: acquiring or generating a link identifier from an interface request parameter by a Spring interface interceptor, and storing the link identifier in a main thread local variable and a main thread log memory so that the link can be tracked; adopting the AOP annotation to realize automatic log printing, so that the development cost and the maintenance cost are reduced, and code intrusion is reduced to a great extent; based on a Feign request interceptor, updating a target link identifier in a local variable of a main thread to a Feign request header, so that the problem of link series connection of Feign calling is solved; based on the main thread local variable and the main thread log storage, using a preset thread pool instantiation method and an Executor object overwriting method, sending the link identifier to the asynchronous thread so that both the Spring interceptor and the Fegn request interceptor avoid code intrusion.

Description

Technical field [0001] The present application belongs to artificial intelligence technology, and in particular, it relates to a business request processing method, apparatus, device, and storage medium facing micro-serving. Background technique [0002] In the micro service environment, it is a plurality of components to constitute an interface service, and each interface service may call multiple different components. It is not possible to pass all call parameters to the called components during the call. This leads to a difficulty of distinguishing between the adjuvant and the adjusted party during the logo check problem. In order to solve this problem, you need to pass each time you create a unique identifier (under the reply "TRACEID below to mark what the log is called by the same interface. [0003] Although this approach reached the initial goal, it is undoubtedly a lot of workloads, so there is a solution on the market: because each request is to first pass the gateway c...

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): G06F9/48G06F9/50G06F11/34
CPCG06F9/4881G06F9/5027G06F11/3476G06F2209/5018G06F2209/5011
Inventor 邱昶卿
Owner PINGAN INT SMART CITY TECH 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