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

Gateway control method and device, electronic equipment and storage medium

Active Publication Date: 2021-11-23
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to problems such as load balancing configuration and client long-term connections, the traffic reaching each gateway node in the gateway cluster is generally different, so that some gateway nodes with large requests start to limit traffic when they reach the pre-allocated traffic quota, while some Some gateway nodes with small requests have surplus quotas, resulting in waste of resources

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
  • Gateway control method and device, electronic equipment and storage medium
  • Gateway control method and device, electronic equipment and storage medium
  • Gateway control method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts all belong to the scope of protection of this application.

[0047] The embodiment of the present application provides a gateway cluster, which is used to limit the flow of the API interface (each cloud service has at least one API), figure 1 It is a structural diagram of a gateway cluster provided according to an embodiment of the present application.

[0048] Such as figure 1 As shown, in the embodi...

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 relates to a gateway control method and device, electronic equipment and a storage medium; the method comprises the steps: obtaining the quota use condition of each gateway node in a gateway cluster; determining a quota distribution proportion among the gateway nodes based on the quota use condition; determining a second quota of the first gateway node based on the cluster quota and the quota distribution proportion; and sending a quota application notification to the first gateway node, wherein the quota application notification is used for instructing the first gateway node to apply for the traffic limit from the cache database according to the second quota. According to the embodiment of the invention, the dynamic adjustment of the second quotas of all gateway nodes in the gateway cluster in the second period is realized. Therefore, the current limiting effect of the gateway cluster can be improved to a certain extent after each period, and the current limiting quota of each gateway node is fully utilized. According to the method, the current limiting performance is maintained, the current limiting precision of the gateway cluster is improved, and the current limiting effect is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a gateway control method, device, electronic equipment and storage medium. Background technique [0002] At present, in high-concurrency scenarios, in order to avoid the background system of the gateway cluster from being impacted by heavy traffic, it is necessary to limit the access requests for accessing the gateway cluster. [0003] In related technologies, the total traffic quota is generally allocated by each gateway node in the gateway cluster. However, due to problems such as load balancing configuration and client long-term connections, the traffic reaching each gateway node in the gateway cluster is generally different, so that some gateway nodes with large requests start to limit traffic when they reach the pre-allocated traffic quota, while some Some gateway nodes with small requests have surplus quotas, resulting in waste of resources. Contents of the i...

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): H04L29/08H04L29/06
CPCH04L67/10H04L63/10H04L67/568H04L67/60
Inventor 崔宇童
Owner BEIJING QIYI CENTURY SCI & TECH 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