Overlapping Data Cache for Object API Requests

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing API caching systems are data-agnostic and unaware of object relationships, leading to inefficiencies in storing and retrieving response data across multiple API requests, resulting in unnecessary calls to data services and increased latency.

Innovation Solution

Implementing an overlapping data cache that maps object request graphs onto a cache as a set of entries, using object identifiers to store and retrieve sub-graph objects and their relationships, allowing for efficient retrieval of response data from cache for overlapping requests and reducing calls to data services.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If data-agnostic caching systems are used, then implementation simplicity is maintained, but retrieval efficiency deteriorates due to inability to recognize overlapping object relationships

Engineering Contradiction:
Improvecaching system implementation simplicityVSAvoidresponse data retrieval efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent segments the monolithic caching system into multiple hierarchical cache levels (L1, L2, L3 caches) with specialized functions. Each cache level handles specific types of data or access patterns, allowing the system to maintain simplicity at each level while achieving high retrieval efficiency through coordinated multi-level caching with object relationship awareness

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an object graph parser and relationship detector as intermediary components between the data service and cache system. These intermediaries analyze API requests, identify overlapping object relationships, and enable intelligent cache retrieval without requiring complete system redesign, thus maintaining implementation feasibility while improving efficiency

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If comprehensive object relationship tracking is implemented, then cache retrieval accuracy is improved, but system complexity increases

Engineering Contradiction:
Improveoverlapping request detection accuracyVSAvoidcaching system structural complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements preliminary parsing of API requests into object graphs before cache lookup. By pre-identifying object relationships and potential overlaps in the request structure itself, the system achieves high detection accuracy without requiring complex real-time analysis during cache operations, thus managing system complexity effectively

Inventive Principle:
Principle #10Preliminary action

3Reliability

If frequent calls to data services are made, then data freshness is maintained, but latency increases

Engineering Contradiction:
Improvedata service response freshnessVSAvoidAPI request latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent merges multiple API requests that share overlapping object relationships into a single cache lookup operation. By combining retrieval efforts for related objects and using multi-level caching to serve overlapping data, the system reduces the number of data service calls while maintaining data freshness, thereby significantly reducing latency

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary cache checks for overlapping objects before making data service calls. By pre-identifying which objects can be served from cache based on relationship analysis, the system avoids unnecessary data service calls and reduces latency while ensuring that fresh data is retrieved only when absolutely necessary

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11762775B2Systems and methods for implementing overlapping data caching for object application program interfaces
Publication Date: 2023.09.19 INTUIT INC
  • US11762775B2 patent drawing
  • US11762775B2 patent drawing
  • US11762775B2 patent drawing

AI summary

Systems and methods that may be used to implement overlapping data caching for object application program interfaces (APIs). A unique identifier may be assigned to each sub-component of an object API request. The unique identifiers may be used to determine if sub-components of one object API request overlaps with a sub-component of a prior different request such that a data response for the prior different request can be retrieved from the cache and used as part of the data response for the current object API request.