Anti-brushing method based on multi-Agent cluster OpenResty gateway characteristics

A gateway and cluster technology, applied in the computer field, can solve the problem of not implementing feature anti-brush, etc., and achieve the effect of facilitating statistical period rules, reducing misjudgments, and preventing misjudgments

Active Publication Date: 2020-03-31
美味不用等(上海)信息科技股份有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] After all, the OpenResty framework is just a tool. Although it provides an interface to operate at various stages of the API life cycle, it does not implement the function of feature anti-scraping, and feature anti-scaling and anti-crawler are different businesses with different rules. , need to be configured and analyzed separately

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
  • Anti-brushing method based on multi-Agent cluster OpenResty gateway characteristics
  • Anti-brushing method based on multi-Agent cluster OpenResty gateway characteristics
  • Anti-brushing method based on multi-Agent cluster OpenResty gateway characteristics

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] combine figure 1 , the present invention provides a kind of anti-brush method based on multi-Agent cluster OpenResty gateway feature, comprising the following steps:

[0047] S1: Send an API request to the OpenResty gateway cluster;

[0048]It should be noted that the API request here refers to multiple API requests.

[0049] S2: The gateway management system configures the detection rules of the gateway;

[0050] It can be understood that the sequence of S1 and S2 can be reversed.

[0051] S3: After the OpenResty gateway cluster receives the API request, it records the log generated by the API request and filters the log according to the detection rules. The log includes the source IP and environment of the API request, the URL of the API request, the request parameters and response parameters;

[0052] S4: The OpenResty gateway cluster transmits the filtered logs to the Agent cluster;

[0053] S5: The agent cluster calculates the filtered log data flow according ...

Embodiment 2

[0071] On the basis of Embodiment 1, this embodiment is an application embodiment.

[0072] The present invention relates to an OpenResty-oriented gateway solution. The solution includes a gateway cluster, a gateway management system and a multi-Agent cluster. The gateway cluster is the OpenResty cluster, which is responsible for forwarding and routing APIs. Features anti-brush interception. The gateway management system includes gateway rule configuration management, gateway machine and upstream service management module. In the present invention, it mainly supports the configuration of various detection rules. The multi-agent cluster is used to calculate the data flow in the gateway cluster according to the detection rules and generate gateway execution rules.

[0073] The invention transforms the OpenResty gateway to support multi-service deployment. In the multi-service mode, this method designs a data collection plug-in to collect and filter the logs in OpenResty, and s...

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 anti-brushing method based on multi-Agent cluster OpenResty gateway characteristics. The method comprises the steps that an API request is sent to an OpenResty gateway cluster; the gateway management system configures a detection rule of the gateway; after receiving the API request, the OpenResty gateway cluster records a log generated by the API request and filters thelog according to a detection rule, and the log comprises a source IP and an environment of the API request, a URL of the API request, a request parameter and a response parameter; the OpenResty gateway cluster transmits the filtered logs to an Agent cluster; and the Agent cluster calculates the filtered log data flow according to the detection rule to obtain an execution rule, and sends the processed API request meeting the screening requirement to the upstream server cluster. According to the method, the multi-Agent cluster is designed, logs are analyzed in real time, multi-service rule calculation is supported, anti-refreshing and access control are carried out through request parameters of IP addresses, returned distribution and quantified revenue values, the method is more accurate, and meanwhile misjudgment is prevented.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a multi-Agent cluster-based OpenResty gateway feature anti-brush method. Background technique [0002] In the era of rapid promotion of micro-services, the number of back-end applications is increasing, and they are becoming more and more independent and scattered. Many businesses include several back-end applications, and each application also has multiple domain names. In order to manage many services in a unified manner, the external and internal Services are isolated. Existing technologies use gateways, and most gateways use the OpenResty framework, which is based on Nginx and has excellent performance. It also provides a relatively friendly programming interface for controlling API requests, thereby realizing API current limiting, access statistics, Reverse proxy, firewall and many other functions can effectively protect the upstream services of the gatewa...

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
IPC IPC(8): H04L29/06
CPCH04L63/02H04L63/1425
Inventor 黄超郑国春
Owner 美味不用等(上海)信息科技股份有限公司
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