Method and device for detecting and defending abnormal access of API (Application Program Interface) based on Sentinel

The invention provides an API (Application Program Interface) abnormal access detection and defense method and device based on Sentinel. A front slot processor and a rear slot processor are added to a Sentinel component in a slot expansion manner, so that the problems of invasion of business and com...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: WU JIANCAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides an API (Application Program Interface) abnormal access detection and defense method and device based on Sentinel. A front slot processor and a rear slot processor are added to a Sentinel component in a slot expansion manner, so that the problems of invasion of business and component codes and difficulty in subsequent open source community code merging caused by old system transformation are solved. According to the invention, API monitoring expansion is carried out on the Sentinel component, so that the problem that an open source flow limiting component cannot monitor abnormal access of the api is solved, the application scene of the Sentinel is expanded, and the development and maintenance workload of a service system is reduced. 本申请提供了一种基于Sentinel的API异常访问检测及防御的方法和装置。通过对Sentinel组件通过扩展插槽的方式,加入前置和后置插槽处理器,解决了旧系统改造带来业务和组件代码的侵入性、后续开源社区代码合并难的问题。通过对Sentinel组件进行API监测拓展,解决了开源限流组件无法针对api异常访问监测的情况,拓展了Sentinel的适用场景,降低了业务系统的开发维护工作量。