Order Summary Data Object for Low-Latency Querying

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloud-based database systems face challenges in efficiently managing order information, leading to increased system latency and data inconsistencies due to the need to query multiple data domains for order-related data, which degrades user experience and system performance.

Innovation Solution

Implementing order summary data objects that track the current state of an order and automatically update as new data is received, allowing for efficient querying and reducing the need to aggregate information from multiple data objects in real-time, thereby improving user interface updates and system efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If order information is stored across multiple data domains (databases, APIs, applications), then data completeness and accuracy are improved, but system latency increases and user experience degrades

Engineering Contradiction:
Improvedata completenessVSAvoidsystem latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by proactively querying multiple data domains and aggregating order information in advance, before the user actually requests it. This allows the aggregated data to be ready and available immediately when needed, eliminating the latency that would occur if aggregation happened in real-time at the moment of user request.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary aggregation layer that sits between the multiple data domains and the user interface. This intermediary component consolidates data from various sources (databases, APIs, applications) into a unified view, allowing users to access aggregated information without directly querying multiple sources, thus reducing system latency while maintaining data completeness.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If real-time aggregation of order information from multiple data objects is performed, then data consistency is improved, but system performance and efficiency deteriorate

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

Instead of continuously aggregating data in real-time, the system uses periodic action by implementing event-driven updates. Data aggregation occurs periodically when specific events trigger changes (such as order status changes, payments, or shipments), rather than continuously. This maintains data consistency while significantly improving system efficiency by avoiding unnecessary aggregation operations.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system implements self-service mechanisms where individual data domains automatically publish their own data and changes through standardized interfaces. Each data domain is responsible for maintaining its own consistency and automatically notifying the aggregation layer when changes occur, eliminating the need for centralized real-time polling and improving overall system efficiency while maintaining consistency.

Inventive Principle:
Principle #25Self-service

3Loss of information

If multiple queries are executed to retrieve order-related information, then comprehensive order data is obtained, but user experience and system responsiveness are degraded

Engineering Contradiction:
Improveorder data completenessVSAvoiduser experience
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The patent merges multiple separate data queries into a single unified aggregation operation. By consolidating the retrieval of order information from multiple data domains into one integrated query or pre-computed view, the system delivers comprehensive order data in a single response, improving user experience and system responsiveness while maintaining complete order information.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11301483B2Data object aggregation to manage an order summary
Publication Date: 2022.04.12 SALESFORCE INC
  • US11301483B2 patent drawing
  • US11301483B2 patent drawing
  • US11301483B2 patent drawing

AI summary

Methods, systems, and devices supporting data storage are described. A database system may store order information for an organization. This order information may span multiple steps of an order lifecycle, including order creation, order changes, order fulfillment, etc. To efficiently store order information for low-latency querying and data consistency, the database system may implement order summaries. For example, a database server may receive a new order data object associated with an order identifier and may create a corresponding order summary data object. If the database system receives any additional data objects associated with the same order identifier, the database server may update the order summary data object based on the additional data objects. If the database system receives a query for information related to the order, the system may retrieve queried values directly from the order summary data object, rather than aggregating data on-the-fly across multiple underlying data objects.