Decentralized API Response Handling Through Relayers And Resolvers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing API architectures rely on centralized servers, leading to potential trust issues and single points of failure, which undermines the decentralization of decentralized applications (dApps).

Innovation Solution

A decentralized peer-to-peer network is used to handle API calls, utilizing relayers and resolvers to process and validate requests, with consensus mechanisms and end-to-end encryption to ensure secure and decentralized data exchange.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a centralized server is used to handle API calls, then the system architecture is simple and easy to manage, but it creates a single point of failure and reduces decentralization

Engineering Contradiction:
Improvesystem architectureVSAvoidsingle point of failure
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The centralized server is segmented into multiple distributed nodes across a peer-to-peer network. Each node can independently handle API calls, eliminating the single point of failure while maintaining system functionality through distributed architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Smart contracts on the blockchain network act as intermediaries to coordinate API call handling between decentralized nodes. These smart contracts manage the routing, validation, and response aggregation without requiring a centralized server.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If a centralized server handles API calls, then data exchange is efficient and fast, but trust issues arise due to centralized control

Engineering Contradiction:
Improvedata exchange efficiencyVSAvoidtrust
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system implements feedback mechanisms where nodes verify each other's API call handling through consensus protocols. This creates trust through transparent validation and accountability, ensuring that no single node can manipulate results without detection.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Blockchain technology serves as a trusted intermediary that records and verifies all API call transactions. The immutable ledger provides cryptographic proof of data exchange integrity, eliminating trust issues associated with centralized control.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If a decentralized peer-to-peer network is used to handle API calls, then decentralization and reliability are improved, but system complexity increases

Engineering Contradiction:
ImprovedecentralizationVSAvoidsystem architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

Each node in the peer-to-peer network is designed to be multi-functional, capable of acting as both a client and a server. This universality simplifies the overall system architecture by reducing the need for specialized components while maintaining decentralized reliability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system changes key architectural parameters from centralized to distributed, transforming the fundamental structure while maintaining similar operational principles. This allows the system to achieve decentralization without completely redesigning all aspects of the architecture.

Inventive Principle:
Principle #35Parameter changes

4Reliability

If multiple nodes validate API calls in a decentralized network, then security and trust are improved, but processing time increases

Engineering Contradiction:
ImprovesecurityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of requiring all nodes to validate every API call, the system uses a partial validation approach where a sufficient subset of nodes performs verification. This reduces processing time while maintaining security through consensus mechanisms that only require a threshold number of validations.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12423697B1Decentralized systems and methods for response generation to API calls
Publication Date: 2025.09.23 DEGENSOFT LTD
  • US12423697B1 patent drawing
  • US12423697B1 patent drawing
  • US12423697B1 patent drawing

AI summary

The present disclosure provides a system for decentralized handling of application programming interface (API) calls. The system comprises a peer-to-peer network including a plurality of nodes, each node being a user device, a relayer, or a resolver. Each node includes at least one hardware processor and at least one non-transitory memory storing instructions. When executed, the instructions cause the node to receive an encrypted API request from a user device, forward the encrypted API request to at least one resolver node, process the API request to generate an API response, and transmit the API response back to the user device. The peer-to-peer network may comprise a mesh network and utilize a Remote Procedure Call (RPC) architectural style. The system enables decentralized management of API calls without relying on centralized servers.