Wrapper Layer for REST API Subscription Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data processing systems face inefficiencies due to the request-response paradigm of REST APIs, which leads to redundant requests, significant resource overhead, and delays in notification of updates, as clients must continuously poll for changes, resulting in delayed notifications and increased resource usage.

Innovation Solution

A wrapper layer is implemented over REST APIs or similar interfaces to track updates and generate notifications, converting requests and responses to compatible formats, allowing for real-time or near-real-time notifications and reducing resource overhead by enabling clients to subscribe to updates and receive notifications without continuous polling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If clients continuously poll for changes using REST APIs, then clients can receive update notifications, but resource overhead and latency increase significantly

Engineering Contradiction:
Improveupdate notification reliabilityVSAvoidresource overhead
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent introduces a wrapper layer as an intermediary component that sits between the REST API and clients. This wrapper layer subscribes to resource updates and pushes notifications directly to clients, eliminating the need for continuous polling. The intermediary handles the complexity of change detection and notification routing, while clients receive updates efficiently through push mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces continuous periodic polling with event-driven push notifications. Instead of clients repeatedly sending requests at fixed intervals, the system detects changes and pushes notifications only when relevant updates occur. This transforms the periodic action model into an event-triggered model, reducing unnecessary resource consumption.

Inventive Principle:
Principle #19Periodic action

2Reliability

If clients continuously poll for changes using REST APIs, then clients can receive update notifications, but notification latency increases

Engineering Contradiction:
Improveupdate notification reliabilityVSAvoidnotification latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The wrapper layer acts as a real-time intermediary that immediately detects resource updates and pushes notifications to subscribed clients without delay. This eliminates the polling interval delay inherent in traditional REST approaches, achieving near-real-time notification delivery.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary setup by having clients subscribe to specific resources in advance. The wrapper layer maintains a subscription registry and pre-configures notification routes. When changes occur, notifications are immediately routed to the correct clients without requiring them to wait for the next polling cycle.

Inventive Principle:
Principle #10Preliminary action

3Use of energy by moving object

If a wrapper layer is implemented to enable real-time notifications, then resource overhead is reduced, but device complexity increases

Engineering Contradiction:
Improveresource overheadVSAvoidsystem architecture complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The wrapper layer is designed as a universal component that can serve multiple clients and monitor multiple resources simultaneously. It implements a standardized subscription interface that works across different resource types and client platforms. This multi-functionality amortizes the complexity overhead across many operations, making the added complexity worthwhile.

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

Solution Approach 2:

The wrapper layer implements a feedback mechanism where it subscribes to resource updates and receives notifications, then relays these notifications to clients. This feedback loop automates the update propagation process, reducing the need for complex client-side polling logic and centralized coordination, thereby managing system complexity through automated feedback-driven operation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11895192B1Managing subscriptions to resource updates made via a target interface
Publication Date: 2024.02.06 CISCO TECHNOLOGY INC
  • US11895192B1 patent drawing
  • US11895192B1 patent drawing
  • US11895192B1 patent drawing

AI summary

A wrapper layer over a target interface receives requests from client devices over a different interface, converts the requests into a format that is compatible with the target interface, and transmits each converted request over the target interface for processing by a service. The wrapper layer also processes a request by a client device to subscribe to a certain type of update made via the target interface by verifying that the client device is authorized to access a resource associated with that type of update and creating a subscription that identifies the client device and the type of update. When the wrapper layer subsequently receives a request corresponding to that type of update, the wrapper layer matches attributes of the request to the subscription by the client device and transmits a message notifying the client device of the request.