API Interface Module for Selective Idempotency Checking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face challenges in ensuring idempotency and efficient communication between synchronous and asynchronous applications, leading to computational inefficiencies, security vulnerabilities, and data inaccuracies, particularly in processing protected data.

Innovation Solution

An interface module that determines whether a synchronous API has an idempotency check and performs a check only if necessary, optimizing communication by reducing redundant checks and maintaining system efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If an idempotency check is performed on every message sent to a synchronous API, then data accuracy and security are improved, but computational overhead and processing time increase

Engineering Contradiction:
Improvedata accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary classification of messages into idempotent and non-idempotent categories before processing. By pre-identifying which messages require idempotency checks based on their type and characteristics, the system avoids performing unnecessary checks on all messages, thereby reducing computational overhead while maintaining data accuracy for critical operations

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Different idempotency verification strategies are applied to different message types based on their specific requirements. Critical messages that affect data integrity receive rigorous idempotency checks, while less critical messages use simplified verification methods, optimizing the balance between reliability and processing efficiency

Inventive Principle:
Principle #3Local quality

2Reliability

If an idempotency check is performed on every message, then security against double-execution is improved, but system performance and throughput deteriorate

Engineering Contradiction:
ImprovesecurityVSAvoidsystem throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system pre-classifies messages into idempotent and non-idempotent categories before they enter the main processing queue. This preliminary action allows the system to apply security checks selectively rather than universally, maintaining strong security posture for critical operations while preserving high throughput for routine messages that don't require intensive verification

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system applies full idempotency verification only to messages that require it (partial action), rather than applying excessive verification to all messages. This selective approach ensures security where needed without imposing unnecessary overhead on the entire system, thereby maintaining optimal throughput

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If synchronous APIs wait for response confirmation before proceeding, then message delivery reliability is improved, but communication efficiency and speed deteriorate

Engineering Contradiction:
Improvemessage delivery reliabilityVSAvoidcommunication speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The system performs preliminary classification of messages to identify which ones are idempotent and can tolerate asynchronous processing. For these pre-identified messages, the system can proceed with fire-and-forget patterns or asynchronous acknowledgment, eliminating the need for synchronous waiting while maintaining reliability through the idempotency guarantee

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary layer that manages the synchronization between synchronous and asynchronous communication patterns. This intermediary can buffer messages, manage acknowledgment flows, and coordinate between different communication styles, enabling reliable message delivery without requiring all participants to operate in synchronous mode

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP4687036A1Facilitating secure and efficient communication between synchronous and asynchronous applications
Publication Date: 2026.02.04 BARCLAYS EXECUTION SERVICES LTD
  • EP4687036A1 patent drawingFigure 1
  • EP4687036A1 patent drawingFigure 2
  • EP4687036A1 patent drawingFigure 3A~3B

AI summary

There is provided an interface module for facilitating communication with a synchronous application programming interface, the module being configured to: generate or receive a message to be sent to the synchronous API; and determine whether or not the synchronous API has an idempotency check; wherein upon determining that the synchronous API has an idempotency check, the module is further configured to: perform no idempotency check; and send the message to the synchronous API, and wherein upon determining that the synchronous API does not have an idempotency check, the module is further configured to: perform an idempotency check; and send the message to the synchronous API if the message passes the idempotency check or not send the message to the synchronous API if the message fails the idempotency check.