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

Service request processing method and device, storage medium and computing equipment

A technology for service requests and processing methods, applied in electrical components, transmission systems, etc., can solve problems such as inability to meet business scenarios, and achieve the effect of smooth and stable upgrade process of micro-service architecture

Pending Publication Date: 2021-02-02
北京健康之家科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above two existing network call methods can only run independently in their own way, which cannot meet the needs of real business scenarios.

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
  • Service request processing method and device, storage medium and computing equipment
  • Service request processing method and device, storage medium and computing equipment
  • Service request processing method and device, storage medium and computing equipment

Examples

Experimental program
Comparison scheme
Effect test

example

[0082] In the embodiment of the present invention, the instance set corresponding to the target service can be obtained from the service registration center consul through the Watch mechanism.

[0083] 3. In the process of load balancing, use the load balancing algorithm to select service instances from the instance collection.

[0084] In the embodiment of the present invention, the calling method includes at least one of the Feign Starter middleware calling method and the gRPC Starter middleware calling method after the enhanced logic. The software uses a load balancing algorithm to select service instances from the instance collection. In this embodiment, one service instance may be selected from the instance set, or multiple instances may be selected. The embodiment of the present invention selects a service instance from the instance set by using a load balancing algorithm, which can be compatible with the fusing strategy of Hystrix, a fault-tolerant framework of the mic...

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 service request processing method and device, a storage medium and computing equipment. The method comprises the steps: intercepting a service request of a client, and judging whether there is a target service requested to be called by the service request in an upgraded service white list or not; if the target service exists, obtaining an instance address corresponding tothe target service, converting the instance address into a service name, and requesting a corresponding server to call the target service through the service name; and if the target service does notexist, obtaining an instance address corresponding to the target service, and directly requesting a corresponding server to call the target service through the instance address. According to the method disclosed in the embodiment of the invention, the architecture upgrading of the application level is realized by adopting the upgraded service white list, the network calling is carried out by adopting different modes for different service mechanisms, therefore the network calling of the micro-service can be compatible with and support two service mechanisms of non-upgraded service and upgradedservice at the same time, and the upgrading process of the micro-service architecture is smoother and more stable.

Description

technical field [0001] The invention relates to the technical field of network calling, in particular to a service request processing method, device, storage medium and computing equipment. Background technique [0002] Common inter-service calling methods under the microservice system Spring Cloud include Feign (http calling middleware) calling method and gRPC (network calling middleware) calling method. The calling process is to obtain Pod information from the service registry, and then call . Under the Service Mesh service grid system, the service invocation process is for the client service to perform network invocation through the service name. Usually, in the process of technological evolution, in order to ensure the stability of services, a small number of services are often upgraded first, and some services remain unchanged. After the upgraded services are stable, they are upgraded in full. However, the above two existing network call methods can only run independe...

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/06H04L29/08H04L29/12
CPCH04L63/101H04L67/1004H04L61/45H04L67/133
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