Graph Database Path-Based Update Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Graph databases require multiple database transactions for updating values, leading to increased computational and network resource usage, necessitating an efficient approach for updating values.

Innovation Solution

Implementing path-based updates in graph databases, where a single update request updates a value in a single child node, and subsequent read requests calculate the shortest path to retrieve the updated value, reducing the need for multiple database trips.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple database transactions are used to update values in graph databases, then data accuracy is maintained, but computational resource usage and network resource usage increase

Engineering Contradiction:
Improvedata accuracyVSAvoidcomputational resource usage
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent merges multiple separate database update transactions into a single batched update operation. Multiple value updates that would traditionally require separate transactions are combined into one transaction that updates multiple nodes along a path simultaneously, reducing the total number of transactions while maintaining data consistency through atomic commit semantics.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary actions by calculating the shortest path and identifying all nodes that need updates before executing the database transaction. This pre-computation of the update plan allows the system to batch multiple updates together in a single transaction, avoiding the need for multiple separate transactions while ensuring data accuracy.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If multiple database transactions are used to update values in graph databases, then data consistency is ensured, but network resource usage increases

Engineering Contradiction:
Improvedata consistencyVSAvoidnetwork resource usage
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent combines multiple network round-trips into a single network transaction by batching multiple update operations. Instead of sending separate update requests for each node along the path, the system consolidates these into one network call that updates all necessary nodes atomically, significantly reducing network resource consumption.

Inventive Principle:
Principle #5Merging (Combining)

3Ease of operation

If traditional update methods are used in graph databases, then each update operation is simple, but multiple database trips are required

Engineering Contradiction:
Improveupdate operation simplicityVSAvoidnumber of database trips
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent creates a universal update mechanism that handles both single-node and multi-node updates through a single interface. The batched update function can update one node or multiple nodes along a shortest path using the same operation pattern, eliminating the need for different update procedures and reducing the number of database trips required.

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

4Productivity

If path-based updates are implemented, then resource usage is minimized, but system complexity increases

Engineering Contradiction:
Improveupdate efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary shortest-path calculation module that acts as a mediator between the update request and the database operation. This intermediary component handles the complexity of path calculation and node identification, allowing the rest of the system to use simple batched update operations without needing to understand the underlying graph structure or path-finding algorithms.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10671588B2Multiple database updates using paths
Publication Date: 2020.06.02 EBAY INC
  • US10671588B2 patent drawing
  • US10671588B2 patent drawing
  • US10671588B2 patent drawing

AI summary

Systems and methods for multiple updates to a database using paths is disclosed. Updates to a graph database can be performed by associating an attribute node, that stores the updated value, to the entity node to-be updated. When the entity node is queried for the value, the nearest attribute node is identified using a shortest path determination.