# US 2026/0099455 A1 · Interface fusing method, interface fusing apparatus, and computer-readable storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0099455 A1
- Document ID: US20260099455A1
- Status: Published application
- Kind: A1
- Application number: 19/026,580
- Filed: 2025-01-17
- Published: 2026-04-09
- Earliest claimed: 2024-10-09
- Assignees: Hangzhou PingPong Intelligence Technology Co., Ltd.
- Applicants: Hangzhou Pingpong Intelligence Technology Co. Ltd.
- Inventors: Nian PENG
- Web page: https://patentgrep.com/patent/US20260099455A1

## CPC

- G06F 8/70: Software maintenance or management
- G06F 13/409: {Mechanical coupling (back panels H05K7/1438)}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/448: Execution paradigms, e.g. implementations of programming paradigms
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1443: {Transmit or communication errors}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An interface fusing method, an interface fusing apparatus, and a computer-readable storage medium are provided. The method includes: determining, according to a fusing configuration parameter and a current status of a circuit breaker, whether a target method meets a calling condition, determining whether the target method is called successfully, if yes, executing a preconfigured fusing rule according to meta information of the target method; if an executing result of the fusing rule is true, counting the quantity of calling times and the quantity of error calling times; if the target method is failed to be called, determining, with reference to the fusing configuration parameter and according to the quantity of calling times and the quantity of error calling times in a preset sliding time window, whether to perform fusing processing on the target method, if yes, performing fusing processing on the target method.

## Claims

### Claim 1

An interface fusing method, comprising:
acquiring meta information and a fusing configuration parameter of a target method of an interface based on a target forward notification, and determining, according to the fusing configuration parameter and a current status of a circuit breaker, whether the target method meets a calling condition,
if yes, calling the target method, wherein the target forward notification is a forward notification of an Aspect Oriented Programming section that is pre-configured for the target method;
determining, based on a target backward notification, whether the target method is called successfully,
if yes, executing a preconfigured fusing rule according to the meta information of the target method; and if an executing result of the fusing rule is true, counting the quantity of calling times and the quantity of error calling times, wherein the target backward notification is a backward notification of the Aspect Oriented Programming section that is pre-configured for the target method;
if the target method is failed to be called, counting the quantity of calling times and the quantity of error calling times according to the fusing configuration parameter; and
determining, with reference to the fusing configuration parameter and according to the quantity of calling times and the quantity of error calling times in a preset sliding time window, whether to perform fusing processing on the target method,
if yes, performing fusing processing on the target method.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is closed, determining that the target method meets the calling condition.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is open, determining whether a current timestamp is greater than or equal to a next retry timestamp,
if yes, setting the current state of the circuit breaker to half open, and confirming that the target method meets the calling condition, wherein the next retry timestamp is determined according to a fusing duration specified by the fusing configuration parameter and a timestamp corresponding to last performing fusing processing on the target method;
otherwise, confirming that the target method does not meet the calling condition, and executing a preset fusing degradation policy.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is half open, confirming that the target method does not meet the calling condition, and executing a preset fusing degradation policy.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
in a case that the fusing configuration parameter is null, confirming that the target method meets the calling condition.

### Claim 6 (depends on 1)

The method of claim 1, wherein if the target method is failed to be called, counting the quantity of calling times and the quantity of error calling times according to the fusing configuration parameter further comprises:
if the target method is failed to be called, acquiring a calling anomaly type of calling failure of the target method; and
determining whether the calling anomaly type is consistent with a preset anomaly type specified in the fusing configuration parameter,
if yes, counting the quantity of calling times and the quantity of error calling times in the current sliding time window.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining, with reference to the fusing configuration parameter and according to the quantity of calling times and the quantity of error calling times in a preset sliding time window, whether to perform fusing processing on the target method further comprises:
when a fusing determining condition specified by the fusing configuration parameter is an anomaly quantity, the quantity of calling times is greater than or equal to a minimum quantity of requests specified by the fusing configuration parameter, and the quantity of error calling times is greater than or equal to a quantity threshold specified by the fusing configuration parameter, confirming to perform fusing processing on the target method, set the current state of the circuit breaker to open, and set a next retry timestamp according to a specified fusing duration; and
when the fusing determining condition is an anomaly proportion, the quantity of calling times is greater than or equal to the minimum quantity of requests, and an error calling proportion is greater than or equal to a proportion threshold specified by the fusing configuration parameter, confirming to perform fusing processing on the target method, set the current state of the circuit breaker to open, and set the next retry timestamp according to the fusing duration, wherein the error calling proportion is a proportion of the quantity of error calling times to the quantity of calling times.

### Claim 8 (depends on 1)

The method of claim 1, wherein duration of the sliding time window is set according to fusing statistics duration specified by the fusing configuration parameter, and the sliding time window comprises several sub-time window intervals.

### Claim 9

An interface fusing apparatus, comprising:
means for acquiring meta information and a fusing configuration parameter of a target method of an interface based on a target forward notification, and determining, according to the fusing configuration parameter and a current status of a circuit breaker, whether the target method meets a calling condition,
if yes, calling the target method, wherein the target forward notification is a forward notification of an Aspect Oriented Programming section that is pre-configured for the target method;
means for determining, based on a target backward notification, whether the target method is called successfully,
if yes, executing a preconfigured fusing rule according to the meta information of the target method; and if an executing result of the fusing rule is true, counting the quantity of calling times and the quantity of error calling times, wherein the target backward notification is a backward notification of the Aspect Oriented Programming section that is pre-configured for the target method;
means for counting the quantity of calling times and the quantity of error calling times according to the fusing configuration parameter when the target method is failed to be called; and
means for determining, with reference to the fusing configuration parameter and according to the quantity of calling times and the quantity of error calling times in a preset sliding time window, whether to perform fusing processing on the target method,
if yes, performing fusing processing on the target method.

### Claim 10 (depends on 1)

A computer-readable storage medium, storing a computer program, wherein the computer program is executed by a processor to perform the method of claim 1.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is closed, determining that the target method meets the calling condition.

### Claim 12 (depends on 10)

The computer-readable storage medium of claim 10, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is open, determining whether a current timestamp is greater than or equal to a next retry timestamp;
if yes, setting the current state of the circuit breaker to half open, and confirming that the target method meets the calling condition, wherein the next retry timestamp is determined according to a fusing duration specified by the fusing configuration parameter and a timestamp corresponding to last performing fusing processing on the target method;
otherwise, confirming that the target method does not meet the calling condition, and executing a preset fusing degradation policy.

### Claim 13 (depends on 10)

The computer-readable storage medium of claim 10, wherein determining, according to the fusing configuration parameter and the current status of the circuit breaker, whether the target method meets the calling condition further comprises:
in a case that the fusing configuration parameter is not null and the current state of the circuit breaker is half open, confirming that the target method does not meet the calling condition, and executing a preset fusing degradation policy.

### Claim 14 (depends on 10)

The computer-readable storage medium of claim 10, wherein the computer program is executed by the processor to perform the following step:
in a case that the fusing configuration parameter is null, confirming that the target method meets the calling condition.

### Claim 15 (depends on 10)

The computer-readable storage medium of claim 10, wherein if the target method is failed to be called, counting the quantity of calling times and the quantity of error calling times according to the fusing configuration parameter further comprises:
if the target method is failed to be called, acquiring a calling anomaly type of calling failure of the target method; and
determining whether the calling anomaly type is consistent with a preset anomaly type specified in the fusing configuration parameter;
if yes, counting the quantity of calling times and the quantity of error calling times in the current sliding time window.

### Claim 16 (depends on 10)

The computer-readable storage medium of claim 10, wherein determining, with reference to the fusing configuration parameter and according to the quantity of calling times and the quantity of error calling times in a preset sliding time window, whether to perform fusing processing on the target method further comprises:
when a fusing determining condition specified by the fusing configuration parameter is an anomaly quantity, the quantity of calling times is greater than or equal to a minimum quantity of requests specified by the fusing configuration parameter, and the quantity of error calling times is greater than or equal to a quantity threshold specified by the fusing configuration parameter, confirming to perform fusing processing on the target method, set the current state of the circuit breaker to open, and set a next retry timestamp according to a specified fusing duration; and
when the fusing determining condition is an anomaly proportion, the quantity of calling times is greater than or equal to the minimum quantity of requests, and an error calling proportion is greater than or equal to a proportion threshold specified by the fusing configuration parameter, confirming to perform fusing processing on the target method, set the current state of the circuit breaker to open, and set the next retry timestamp according to the fusing duration, wherein the error calling proportion is a proportion of the quantity of error calling times to the quantity of calling times.

### Claim 17 (depends on 10)

The computer-readable storage medium of claim 10, wherein duration of the sliding time window is set according to fusing statistics duration specified by the fusing configuration parameter, and the sliding time window comprises several sub-time window intervals.
