Unified API for Agnostic Message Queue and File Access
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Reliability
If separate APIs are used for message queues and sequential files, then resource-specific operations can be optimized, but device complexity increases
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.
3Ease of operation
If uniform resource access requests are implemented, then ease of operation improves, but adaptability to different resource types may deteriorate
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.
Data Source
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.

