Data Service Class Object Auto-Generates Context URIs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing protocols, such as OData, lack the ability to automatically generate parameter and filter contextual URIs, leading to error-prone and inconsistent URI generation when accessing data services, which complicates the process of accessing specific resources with applied parameters and filters.
Innovation Solution
A data service class object is used to represent a set of resources with applied parameters and filters, enabling the automatic generation of parameter and filter contextual URIs through an algorithm that extracts and transforms name-value pairs and filter range items into valid OData URIs, ensuring consistency and accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual URI generation is used, then flexibility in accessing resources is maintained, but error-proneness and inconsistency increase
Solution Approach 1:
The data service class object automatically generates its own contextual URIs by combining its identifier with stored parameter and filter information, eliminating the need for external manual construction and ensuring consistency between the object state and the generated URI
Solution Approach 2:
The patent introduces an intermediary mechanism that bridges the data service class object and the URI generation process, using the object's stored parameters and filters as intermediaries to automatically construct accurate contextual URIs without manual intervention
2Stability of the object's composition
If parameters and filters are stored separately, then data structure simplicity is maintained, but URI generation consistency deteriorates
Solution Approach 1:
The patent merges the storage of parameters and filters directly within the data service class object, combining what could be separate entities into a unified structure that ensures consistency between the object's state and its generated URIs
Solution Approach 2:
The data service class object serves multiple functions: it represents the data service, stores identification information, maintains parameter and filter information, and automatically generates contextual URIs, making it a multi-functional entity that eliminates the need for separate structures
Data Source
AI summary
Disclosed herein are system, method, and computer program product embodiments for accessing a data service using a data service Uniform Resource Identifier (URI) object. An embodiment operates extracting a name-value pair of each parameter stored in the data service class object. The embodiment generates a parameter context URI using the one or more extracted name-value pairs according to a data service specification of the data service. The embodiment extracts one or more filter range items for each filter option stored in the data service class object. The embodiment generates a filter context URI using the one or more extracted filter range items according to the data service specification of the data service. The embodiment generates a context URI using the parameter context URI and the filter context URI. The embodiment then accesses the data service according to the context URI.


