Application Context Identifiers for Cross-Component Log Correlation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In complex database environments with multiple applications, traditional monitoring and diagnostic techniques face challenges in data format inconsistencies, difficulty in correlation, and inefficiencies in identifying the cause of performance issues due to temporary connections and environmental changes.

Innovation Solution

Implementing a common format and schema for logging and tracing, along with formal correlation mechanisms, and using session universal unique identifiers (UUIDs) to encapsulate context information, error messages, and time utilization statistics across components, enabling efficient tracking and diagnosis of performance issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If traditional monitoring and diagnostic techniques are used in complex database environments with multiple applications, then the system can operate with simple monitoring mechanisms, but it becomes difficult to correlate data format inconsistencies and identify performance issues across multiple applications and temporary connections

Engineering Contradiction:
Improvemonitoring mechanism simplicityVSAvoidperformance issue identification difficulty
Core Design Contradiction:
Ease of operationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces a context information mechanism that acts as an intermediary between multiple applications and the database system. This mechanism captures and transmits contextual information (including application identifiers, session information, and transaction details) through temporary connections, enabling correlation of performance issues across distributed components without requiring complex monitoring infrastructure

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements a universal context information format that can be used across multiple applications and database operations. This standardized format allows the same monitoring mechanism to handle diverse data types and applications uniformly, enabling consistent performance tracking without application-specific customization

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

2Adaptability or versatility

If multiple applications access the database with temporary connections and environmental changes, then the system gains flexibility and adaptability, but it becomes difficult to correlate diagnostic information and maintain data consistency

Engineering Contradiction:
Improvesystem flexibilityVSAvoiddiagnostic information correlation reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The context information mechanism serves as a reliable intermediary that captures diagnostic information at the point of interaction between applications and the database. By transmitting this information through a standardized channel, the system maintains reliable correlation of diagnostic data even when connections are temporary or environmental conditions change

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent captures context information preliminarily at the source (when applications first interact with the database) rather than attempting to reconstruct it later. This preliminary capture ensures diagnostic information is preserved with its original context, maintaining correlation reliability regardless of subsequent environmental changes or connection terminations

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250272209A1Techniques for providing application contextual information
Publication Date: 2025.08.28 SALESFORCE INC
  • US20250272209A1 patent drawing
  • US20250272209A1 patent drawing
  • US20250272209A1 patent drawing

AI summary

Techniques for providing application contextual information. One or more sets of database context identifiers corresponding to events that occur within the database are generated by the database. The one or more sets of database context identifiers have at least one application context field. A session identifier corresponding to a session to be monitored is sent from the application to the database. Information to be stored in the database with the session identifier is sent to the database. Database logs and application logs are correlated using at least the session identifier.