Abnormal fusing mechanism enhancement method and device and related product

By monitoring API performance indicator data to calculate the abnormal rate indicator and dynamically adjust the circuit breaker status, the problem of increasing response time, false alarms and misjudgment in the existing API fuse mechanism is solved, and adaptive adjustments to the system load and back-end service status are achieved, improving system stability and continuous availability of API services.

CN119690723APending Publication Date: 2025-03-25CHINA PETROLEUM & CHEMICAL CORP +1
0 Cites 1 Cited by

Patent Information

Application Number
CN202411764945.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing API fuse mechanism has problems such as frequent health checks, increased system response time, false alarms and misjudgment, and the circuit breaker mode lacks the ability to adapt to the system load and back-end service status.

Method used

By monitoring the performance index data of the API during the set time period, the abnormality rate index is calculated, and compared with the preset abnormality threshold, the circuit breaker status is dynamically adjusted to achieve intelligent management of fuse and recovery.

Benefits of technology

It reduces the system response time brought by health checks, improves system performance, accurately judges service abnormalities, reduces false judgments and false alarms, realizes adaptive adjustments to system load and back-end service status, and improves system stability and continuous availability of API services.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides an abnormal fusing mechanism enhancement method and device and a related product, and the method comprises the steps: monitoring the performance index data of an AP I in a set time period, and calculating a corresponding abnormal rate index according to the monitored performance index data; the abnormal rate index is compared with a preset abnormal threshold value, and if the abnormal rate index exceeds the preset abnormal threshold value, it is determined that fusing needs to be started; if the fusing needs to be started, generating a circuit breaker opening control instruction to open the circuit breaker and enable the AP I to enter a fusing state according to the following mode; all the requests are made to return the defined error state codes; acquiring a set fusing state adjusting condition to judge whether the state of the circuit breaker needs to be adjusted or not; and if the adjustment is needed, converting the fusing state from a mode of completely blocking the request to a mode of allowing partial requests to pass so as to try to recover the access to the back-end service.
Need to check novelty before this filing date? Find Prior Art