Interface current limiting method and device and electronic equipment

A current limiting method and technology of a current limiting device, applied in the field of data processing, can solve the problems of poor expansion flexibility, high deployment and maintenance costs, and achieve the effects of improving expansion flexibility and reducing deployment and maintenance costs.

Pending Publication Date: 2021-10-08
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, redis resources or middleware are usually introduced to limit interface traffic, resulting in high deployment and maintenance costs for interface traffic limitation, and poor expansion flexibility

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
  • Interface current limiting method and device and electronic equipment
  • Interface current limiting method and device and electronic equipment
  • Interface current limiting method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0030] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 provides an interface flow limiting method and device and electronic equipment. The method comprises the steps of obtaining an HTTP request sent by a client through an interceptor; extracting a resource identifier of the HTTP request from the HTTP request, and judging whether the resource identifier is stored in the flow limiting configuration information or not; if yes, acquiring a parameter value of a current limiting parameter indicated by the current limiting configuration information from the HTTP request; and performing flow limiting processing on the HTTP request according to the obtained parameter value of the flow limiting parameter. According to the mode, an HTTP request sent to a server side is intercepted through an interceptor, and if a resource identifier in the HTTP request is matched with a resource identifier stored in flow limiting configuration information, flow limiting processing is carried out on the HTTP request according to a parameter value of a flow limiting parameter obtained from the HTTP request; according to the mode, redis resources or middleware do not need to be introduced for interface current limiting, the deployment and maintenance cost of current limiting processing is reduced, and the expansion flexibility of current limiting processing is also improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an interface current limiting method, device and electronic equipment. Background technique [0002] Interface current limiting is usually a very common scenario for server-side application security, mainly to avoid concurrent access to external malicious interfaces (for example, logging in or obtaining verification codes, etc.). [0003] Under the technical background that the business application developed based on Spring uses MongoDB as the storage layer, the business scale is small, but some resource interfaces need to be limited. In related technologies, redis resources or middleware are usually introduced to limit interface traffic, resulting in high deployment and maintenance costs and poor expansion flexibility. Contents of the invention [0004] The purpose of the present invention is to provide an interface current limiting method, device and electronic equip...

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/06H04L12/815H04L12/851H04L29/08H04L47/22
CPCH04L63/1466H04L47/22H04L67/02H04L47/24H04L67/60
Inventor 王加鑫洪庆文
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products