Database Junction Data Embedding in Entity Creation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional database management systems face challenges in efficiently processing many-to-many relationships, leading to increased computing overhead and data corruption, especially in cloud-based systems with serialized APIs, due to the need for multiple API calls and separate junction tables.

Innovation Solution

Representing junction relationship data within a flattened array or string structure during the creation of a new database entity, allowing for a single call to associate junction data with the entity, thereby reducing the likelihood of data corruption and processing overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional junction tables are used to manage many-to-many relationships, then database relationships can be maintained, but computing resources and processing overhead increase substantially

Engineering Contradiction:
Improvedata relationship integrityVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges the junction table operations with the main entity creation operation. Instead of creating a junction table separately after obtaining an entity key, the system embeds junction relationship data within the entity creation request itself, allowing both operations to execute simultaneously in a single database transaction. This eliminates the sequential processing steps and reduces computing overhead while maintaining relationship integrity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system makes the entity creation operation universal by accepting both entity definition data and junction relationship data within the same request structure. This multi-functional approach allows a single API call to perform both entity creation and relationship establishment, eliminating the need for separate specialized operations and reducing overall processing complexity.

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

2Reliability

If multiple separate API calls are used to create entities and establish junction relationships, then data can be validated and relationships can be maintained, but the risk of data corruption increases

Engineering Contradiction:
Improvedata consistencyVSAvoiddata corruption risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent combines multiple data operations into a single atomic transaction. By embedding junction relationship data within the entity creation request and processing both operations simultaneously in one database transaction, the system eliminates the intermediate states and potential failure points that exist in multi-call sequences. This single-transaction approach ensures that either both operations succeed together or both fail together, preventing data corruption scenarios where one operation succeeds but the other fails.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If separate junction tables are used, then many-to-many relationships can be managed, but the number of API calls and processing steps increases

Engineering Contradiction:
Improverelationship management capabilityVSAvoidAPI protocol complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system merges the entity creation and relationship establishment operations into a single unified process. The entity creation request structure is enhanced to include embedded junction relationship data, allowing the client to specify both the new entity and its relationships in one request. This eliminates the need for separate API calls to create entities and then separately to establish relationships through junction tables, thereby simplifying the overall API protocol.

Inventive Principle:
Principle #5Merging (Combining)

4Manufacturing precision

If conventional multi-step processes are used for creating entities and establishing relationships, then data can be validated, but transaction time increases

Engineering Contradiction:
Improvedata validation accuracyVSAvoidtransaction processing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent combines data validation and relationship establishment into a single validation-then-transaction cycle. The system validates the entity definition and junction relationship data together before executing a single atomic database transaction that performs both creation and relationship establishment. This eliminates the sequential validation and execution steps required in multi-call processes, significantly reducing transaction processing time while maintaining validation accuracy.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10282352B2Computing systems and processes for improved database junction relationships
Publication Date: 2019.05.07 SALESFORCE INC
  • US10282352B2 patent drawing
  • US10282352B2 patent drawing

AI summary

Database clients submit junction data (such as invitees to a meeting or other event) at the same time that a new database entity is created. Junction data may be represented within a string array or other data structure that can be delivered using a SOAP, REST or similar protocol for delivering data to the computing server platform. By submitting junction data within the same structure that is used to create the new entity, the likelihood of phantom data or other corruption in the database is greatly reduced.