Unified API for Agnostic Message Queue and File Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies require different APIs for accessing message queues and sequential files, leading to complexity and inefficiency in resource management, as applications need to handle discrete data formats and operations differently for each type of resource.

Innovation Solution

A unified API and unified resource request processing logic are introduced to enable agnostic processing of message queues and sequential files, allowing applications to access resources uniformly and independently, with the logic identifying the resource type and invoking corresponding access requests specific to either message queues or sequential files.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If separate APIs are used for message queues and sequential files, then each resource type can be accessed with dedicated functionality, but application complexity increases and ease of operation deteriorates

Engineering Contradiction:
Improveresource access functionalityVSAvoidapplication coding complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent implements a unified API that serves both message queues and sequential files, allowing a single interface to handle multiple resource types. The unified resource request processing logic automatically routes requests to the appropriate resource type (message queue or sequential file) based on the request parameters, eliminating the need for separate API implementations and reducing application coding complexity.

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

Solution Approach 2:

The unified resource request processing logic acts as an intermediary layer between the application and the underlying resources. It receives uniform resource requests from applications, identifies the target resource type, and invokes the appropriate access requests independently of the application, thereby shielding the application from resource-specific complexities.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If separate APIs are used for message queues and sequential files, then resource-specific operations can be optimized, but device complexity increases

Engineering Contradiction:
Improveresource access functionalityVSAvoidAPI structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the previously separate APIs for message queues and sequential files into a single unified API. This consolidation reduces the overall system complexity by eliminating redundant interface definitions and unified the access patterns, while the internal routing logic maintains the ability to handle resource-specific operations efficiently.

Inventive Principle:
Principle #5Merging (Combining)

3Ease of operation

If uniform resource access requests are implemented, then ease of operation improves, but adaptability to different resource types may deteriorate

Engineering Contradiction:
Improveapplication coding simplicityVSAvoidresource type handling
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The unified resource request processing logic dynamically adapts to different resource types based on the incoming request. It automatically identifies whether the target resource is a message queue or sequential file and adjusts its behavior accordingly, allowing the system to maintain both uniformity in the API interface and adaptability to resource-specific requirements.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9495174B2Agnostic processing of resource requests to message queues and sequential files
Publication Date: 2016.11.15 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9495174B2 patent drawing
  • US9495174B2 patent drawing

AI summary

Embodiments of the present invention provide a method, system and computer program product for agnostic processing of message queues and sequential files. In an embodiment of the invention, a method for agnostic processing of message queues and sequential files can be provided. The method can include receiving an access request for a resource that is uniform for both a message queue and a sequential file and identifying a resource type of the resource. In response to identifying the resource type as a message queue, a corresponding access request specific to a message queue can be invoked in the message queue. Otherwise a corresponding access request specific to a sequential file can be invoked responsive to identifying the resource type as a sequential file.