Database Triggered Push Notification for Cached Data Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In 'Big Data' environments, managing voluminous and complex data efficiently is challenging due to the risk of data inconsistency caused by dynamic database entities, which requires frequent refreshing of cached data to maintain consistency but increases system load.

Innovation Solution

Implementing a database triggered push notification mechanism that sends messages to affected sessions when database entities are altered, allowing for selective refresh of cached data and minimizing unnecessary synchronization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If cached database entities are re-checked frequently to minimize data inconsistency risk, then data consistency is improved, but system load increases

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem load
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a feedback mechanism where database triggers automatically detect changes in database entities and send notifications to cached data holders. This feedback loop eliminates the need for frequent polling by providing real-time change information, thus maintaining data consistency without increasing system load through continuous checking

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The database system performs self-service by automatically detecting its own changes through triggers and proactively notifying affected components. This eliminates the need for external components to continuously query and check for changes, reducing the overall system load while maintaining reliability

Inventive Principle:
Principle #25Self-service

2Reliability

If cached data is refreshed frequently to maintain consistency with dynamic database entities, then data consistency is improved, but resource consumption increases

Engineering Contradiction:
Improvedata consistencyVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by setting up database triggers in advance that automatically detect changes as they occur. This preliminary detection mechanism ensures that cached data is refreshed only when necessary, avoiding unnecessary resource consumption from frequent scheduled refreshes while maintaining data consistency

Inventive Principle:
Principle #10Preliminary action

3Reliability

If all cached data is synchronized frequently to ensure consistency, then data consistency is improved, but system efficiency deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the cached data into specific entities and uses database triggers to identify which specific entities have changed. This segmentation allows for selective refreshing of only the affected cached entities rather than synchronizing all cached data, thereby maintaining consistency while improving system efficiency

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by providing different refresh behaviors to different cached entities based on whether they are affected by database changes. Only the locally affected cached entities are refreshed, while unaffected entities remain unchanged, optimizing system efficiency while maintaining necessary data consistency

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS9654576B2Database triggered push notification
Publication Date: 2017.05.16 SAP SE
  • US9654576B2 patent drawing
  • US9654576B2 patent drawing
  • US9654576B2 patent drawing

AI summary

Systems and methods of database triggered push notification are disclosed. In one aspect, data from a database entity is cached in response to executing user service request at a client session, where the service request involves information from the database entity. In response to caching the data from the database entity, the client session subscribing to a messaging channel dedicated to the database entity. In another aspect, a message is generated as a result of invoking a trigger by an operation in the database entity. In yet another aspect, the message is transported by the messaging channel to the subscribed client session to invoke refresh of the cached data. A push notification is sent to the client in response to the message.