Route forwarding method, device and system based on zuul gateway
A forwarding method and routing technology, applied in the gateway field, can solve the problem that front-end requests cannot call back-end microservices, and achieve the effect of maintaining availability and high availability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] In summary, Embodiment 1 of the present application is as follows:
[0065] Example 1
[0066] Such as figure 1 The methods shown include:
[0067] S11. The gateway dynamically obtains the routing configuration information stored in the external database and refreshes the routing configuration;
[0068] By building a configuration management center, the routing configuration information is stored in the database of the configuration management center. The database stores routing configurations such as a, b, and c. The gateway dynamically obtains the routing configurations a, b, and c in the database and refreshes the routing configuration. Realize the dynamic configuration routing of the gateway, achieve the effect of maintaining routing configuration information without stopping the machine, and maintain high availability. The configuration management center provides a visual interface configuration function. Users can modify the routing configuration in the database...
Embodiment 2
[0105] Corresponding to the above method, Embodiment 2 of the present application provides a gateway-based routing and forwarding device, such as figure 2 As shown, the device includes:
[0106] The routing configuration unit 20 is used to dynamically obtain routing configuration information stored in the external database 30 and refresh the routing configuration. The routing configuration includes the back-end service interface protocol type; the routing configuration information is stored in the external database 30, and the routing configuration unit 20 Obtain routing configuration information and refresh the routing configuration to realize dynamic routing configuration of the gateway.
[0107] The protocol conversion unit 21 is configured to obtain the front-end request and convert the front-end request according to the corresponding back-end service interface protocol according to the back-end service interface corresponding to the front-end request and the back-end ser...
Embodiment 3
[0129] Corresponding to the above method and device, such as image 3 As shown, Embodiment 3 of the present application provides a computer system, including:
[0130] one or more processors; and
[0131] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the method steps of Embodiment 1 are executed, such as Do the following:
[0132] The gateway dynamically obtains the routing configuration information stored in the external database and refreshes the routing configuration;
[0133] The gateway obtains the front-end request and converts the front-end request according to the corresponding back-end service interface protocol according to the back-end service interface corresponding to the front-end request and the back-end service interface protocol type in the routing configuration;
[0134] The gateway calls the corresponding backend ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com