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

A dynamic routing method, device, equipment and storage medium

A routing and dynamic technology, applied in the network field, can solve problems such as affecting system stability, cumbersome upgrade process, not supporting zero-downtime upgrade, etc., to achieve the effect of reducing downtime and failure frequency, simplifying the upgrade process, and shortening the upgrade cycle.

Active Publication Date: 2021-06-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the scalability of network messages used in the traditional method is poor, and in the process of implementing dynamic routing, all components included in the API gateway need to be upgraded, the upgrade process is cumbersome, and the upgrade cycle is long; zero downtime upgrade is not supported, resulting in The upgrade will cause business interruption on the control plane for a certain period of time, affecting availability, which in turn brings higher failure risks and affects system stability

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
  • A dynamic routing method, device, equipment and storage medium
  • A dynamic routing method, device, equipment and storage medium
  • A dynamic routing method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Embodiments of the present application are described below in conjunction with the accompanying drawings.

[0047] In order to realize dynamic routing of the API gateway, related technologies provide figure 1 The system architecture shown. The system architecture includes an interface component 101, a management component 102, a proxy component 103, and a gateway component 104. Routing configuration information is sequentially sent from the interface component 101, the management component 102, and the proxy component 103 to the gateway component 104 through network messages, wherein , the routing configuration information is delivered using the binary serialization protocol (protobuf). When a new function is released, the protobuf file needs to be recompiled, and the scalability is poor. In addition, all components included in the system architecture need to be upgraded to support recompiled protobuf files. The upgrade process is cumbersome and the upgrade cycle is l...

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 present application discloses a dynamic routing method, device, device and storage medium. The extension field of the text data serialization format is set in the routing configuration information. Since the text data serialization format has good scalability, when a new routing configuration appears, Write the newly added route configuration into the extension field of the target route configuration information according to the text data serialization format to obtain the updated target route configuration information. The interface component sends the updated target routing configuration information to the management component, and the management component transparently transmits the updated target routing configuration information to the proxy component, and then the proxy component transparently transmits it to the gateway component, so that the gateway component can use the updated routing configuration The new routing configuration is parsed in the extension field of the information for forwarding service requests. This method improves the scalability of routing configuration information, simplifies the upgrade process, and improves development efficiency; supports zero-downtime upgrades, greatly reduces service downtime and failure frequency, and improves gateway stability.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a dynamic routing method, device, equipment and storage medium. Background technique [0002] An Application Programming Interface (API) gateway is a server that provides each client with a custom API. All clients access the service through a unified gateway, that is, all external requests are sent to the gateway uniformly, and the gateway forwards it to the corresponding service according to the corresponding routing configuration. [0003] Dynamic routing means that when the routing configuration changes, there is no need to restart the gateway service. At present, the traditional dynamic routing method mainly implements dynamic routing by sending routing configurations through network messages. [0004] However, the scalability of network messages used in the traditional method is poor, and in the process of implementing dynamic routing, all components included in...

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 Patents(China)
IPC IPC(8): H04L12/24H04L12/741H04L45/74
CPCH04L41/082H04L41/0889H04L45/74
Inventor 厉辉金鑫
Owner TENCENT TECH (SHENZHEN) CO LTD
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