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

Dynamic routing arrangement method and system realized based on Spring Cloud Gateway

A routing and dynamic technology, applied in the field of service gateways, can solve problems such as single resources and returned data that cannot be processed again, and achieve the effects of high gateway performance, accurate and reliable request return results, and usable gateway performance

Active Publication Date: 2021-12-14
科大国创云网科技有限公司
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: how to realize the matching routing filtering strategy based on Spring Cloud Gateway, execute the dynamic routing arrangement function, enrich the dimension of the gateway in management and control, solve the problem that the Spring CloudGateway gateway call is generally aimed at a single resource, and return The problem that data cannot be processed again provides a dynamic routing arrangement method based on Spring Cloud Gateway

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
  • Dynamic routing arrangement method and system realized based on Spring Cloud Gateway
  • Dynamic routing arrangement method and system realized based on Spring Cloud Gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The embodiments of the present invention are described in detail below. This embodiment is implemented on the premise of the technical solution of the present invention, and detailed implementation methods and specific operating procedures are provided, but the protection scope of the present invention is not limited to the following implementation example.

[0037] This embodiment provides a technical solution: a dynamic routing arrangement method based on Spring Cloud Gateway, including the following steps:

[0038] Step S1: Register dynamic routing rule information

[0039] The service provider provides the business system interface that needs to be registered, improves the basic service information, arranges resources, determines the dynamic routing flow direction and arranges processing requirements; adds necessary filters to the dynamic routing, including black and white lists, current limiting, fuses, etc., as The restriction strategy of the service gateway;

...

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 dynamic routing arrangement method and system based on Spring Cloud Gateway, and belongs to the technical field of service gateways. The method comprises the following steps: S1, registering dynamic routing rule information; S2, starting, loading and monitoring dynamic routing configuration; S3, requesting to call the gateway; S4, matching a route filtering control strategy; S5, executing a dynamic routing arrangement process; and S6, returning the request. According to the invention, the arrangement of Spring Cloud Gateway dynamic routing is realized, the service gateway is changed from nothing to the existence, a service provider does not need to concern the details of dynamic routing arrangement, the service gateway can be generated only by configuring corresponding strategy information according to requirements, the service gateway uniformly calls an address prefix, all gateways are managed and controlled in a centralized manner by means of a global filter, individual gateways are managed and controlled in an isolated mode according to private filters, logs are asynchronously stored in stages in the calling process, request return results are accurate and reliable, and the gateways are high in performance and available.

Description

technical field [0001] The invention relates to the technical field of service gateways, in particular to a dynamic routing arrangement method and system based on Spring Cloud Gateway. Background technique [0002] In the field of IT, the microservice architecture is prevalent recently. A system is often composed of several systems. From a functional point of view, the business logic is abstracted into reusable and assembleable services, and the rapid regeneration of the business is realized through the orchestration of services, thereby Transform the original inherent business functions into general business services to achieve rapid reuse of business logic. In order to manage each service in a unified way, the gateway came into being. Its purpose is to provide a simple and effective unified API route management method. [0003] In the application process of the gateway, Spring Cloud Gateway not only provides a unified access address than other gateways, but also uses filt...

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 Applications(China)
IPC IPC(8): H04L12/721H04L12/751H04L12/66H04L12/24H04L45/02
CPCH04L45/02H04L45/14H04L12/66H04L41/082
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