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

Intelligent gateway dynamic flow limiting implementation method

A technology of intelligent gateways and implementation methods, applied in the field of gateways, can solve problems such as too frequent interactions between gateways and databases, and achieve the effects of expanding high concurrency, high availability, and high concurrency

Pending Publication Date: 2021-11-02
中企云链(北京)金融信息服务有限公司
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The technical problem to be solved in the content of the present invention is to provide a dynamic current limiting implementation method of an intelligent gateway for the defects involved in the background technology, which solves the problem of frequent interaction between the gateway and the database, dynamically modifies the configuration information, and realizes dynamic load balancing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, rather than all of them. All other embodiments obtained by those skilled in the art without creative efforts are protected by the present invention. scope.

[0047]It should be understood that although the terms first, second, third etc. may be used herein to describe various elements, components and / or sections, these elements, components and / or sections should not be limited by these terms.

[0048] Such as figure 1 As shown, a method for realizing dynamic current limiting of an intelligent gateway includes:

[0049] S1: Pre-configure current limiting, circuit breaker, login related parameters, start the smart gateway, after receiving the service request, cache all configuration information in the preset period of the smart gateway, an...

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 an intelligent gateway dynamic flow limiting implementation method, which comprises the following steps of: starting an intelligent gateway, receiving a service request, caching configuration information of the intelligent gateway and loading the configuration information into a memory; refreshing the memory cache automatically, and meanwhile recalculating the cache expiration time; reading configuration information; performing black and white list verification, performing login verification and permission verification, and if login succeeds, obtaining a request body rewriting mapping rule from the long-term cache, and executing request body rewriting; performing intelligent gateway distributed cluster flow limiting control, configuring the local flow limiting size of the gateway, and when the flow is too large, returning a flow limiting response code; performing local fusing control; and forwarding the service request to the intelligent gateway cluster, and processing the request to realize load balancing. According to the invention, the deployment architecture is simple, the database and the gateway are decoupled, personalized dynamic current limiting and fusing are realized, an intelligent gateway realization method with distributed deployment, high availability and high concurrency capability is provided, the error-tolerant rate of communication abnormity is increased, and the use scene is expanded.

Description

technical field [0001] The content of the present invention relates to the technical field of gateways, in particular to a method for realizing dynamic current limiting of an intelligent gateway. Background technique [0002] With the development of the Internet, network access traffic is increasing, and the requirements for service stability and availability are getting higher and higher. High availability has become an important criterion for measuring the performance of a service. [0003] The gateway is usually used as a unified entrance and exit of the API, and at the same time provides functions such as load balancing, service degradation, current limiting, and circuit breaker. Although the existence of these functions can reduce the risk of back-end service downtime, and can return fixed content when the back-end service is down, these functions cannot guarantee to continue to provide stable and accurate output after the back-end service is down, seriously reducing th...

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/803H04L29/06H04L29/08H04L12/24
CPCH04L47/125H04L63/0428H04L63/0807H04L41/082H04L67/5682
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