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

Real-time dynamic forwarding method based on gateway basic service

A basic service, real-time dynamic technology, applied in the field of API gateway, can solve unreasonable problems, achieve the effect of improving usability and reducing the number of restarts

Inactive Publication Date: 2018-11-27
宏桥高科技集团有限公司
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the microservice system, the API gateway serves as the entrance of external services, just like the gate of enterprise services, which can prevent the sensitive information of the internal server from being exposed to external clients. All services are isolated from clients. Existing The API gateway provides routing and forwarding rules, and the gateway will automatically forward external requests to the corresponding microservers according to the routing and forwarding rules. However, the API gateway must be restarted every time the routing and forwarding rules are modified. This approach is unreasonable when more and more

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
  • Real-time dynamic forwarding method based on gateway basic service
  • Real-time dynamic forwarding method based on gateway basic service
  • Real-time dynamic forwarding method based on gateway basic service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0018] Real-time dynamic forwarding method based on gateway basic service, see figure 1 with figure 2 , the method includes the following steps:

[0019] S101. The configuration center receives and publishes configuration modification information input by a user, and generates a configuration modification event; the configuration modification information is the latest routing forwarding rule.

[0020] The configuration center runs independently on the server side. When users need to modify the routing forwarding rules, they input the configuration modification information to the configuration center. The configuration center modifies and publishes the routing forwarding rules according to the received configuration modification information, and generates configuration modification events at the same time. The configuration modification infor...

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 real-time dynamic forwarding method based on a gateway basic service. The method comprises the following steps: a configuration center receives configuration modification information inputted by a user and publishes the configuration modification information, and a configuration modification event is generated; the configuration center monitors happening of the configuration modification event, and an API gateway is triggered to be refreshed; and after the API gateway is refreshed, the latest configuration modification information is pulled from the configuration center instantly, and local configuration information is updated and takes effect. Through monitoring the configuration modification event by the configuration center, when happening of the configurationmodification event is monitored, refreshing of the API gateway is triggered, the API gateway pulls the configuration modification information from the configuration center automatically, the information takes effect, the function of dynamically refreshing routing by the API gateway is realized, restarting of the API gateway when a routing rule changes at each time is not needed, the API gateway restarting times are reduced, and the usability of the API gateway is improved.

Description

technical field [0001] The invention belongs to the technical field of API gateways, and in particular relates to a real-time dynamic forwarding method based on gateway basic services. Background technique [0002] In the microservice system, the API gateway serves as the entrance of external services, just like the gate of enterprise services, which can prevent the sensitive information of the internal server from being exposed to external clients. All services are isolated from clients. Existing The API gateway provides routing and forwarding rules, and the gateway will automatically forward external requests to the corresponding microservers according to the routing and forwarding rules. However, the API gateway must be restarted every time the routing and forwarding rules are modified. This approach is unreasonable when there are more and more. Contents of the invention [0003] In order to solve the above-mentioned problems in the prior art, the purpose of the presen...

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/24H04L29/08H04L12/66
CPCH04L12/66H04L41/0813H04L67/63
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