Code-Tracing Data Management via Property-Based Filtering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Managing code-tracing data poses challenges due to the large volume of data generated, which consumes storage space and slows down software operations, making it difficult to identify relevant data for error analysis.

Innovation Solution

A method and system for managing code-tracing data involve receiving data from executing software components, adding it to temporary storage, detecting properties, copying to non-volatile storage when a defined trigger property is met, and deleting data based on a caching policy to maintain manageable storage sizes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If code-tracing data is stored in a log file for fault detection, then fault detection capability is improved, but storage space consumption increases and software performance deteriorates

Engineering Contradiction:
Improvefault detection capabilityVSAvoidsoftware performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts only the essential information from code-tracing data by detecting specific properties (such as error categories, function entry/exit points, or custom metadata) and storing only those filtered records in the log file, rather than storing all generated trace data. This reduces storage consumption and improves write performance while maintaining fault detection capability for relevant events.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies preliminary filtering action by detecting properties of code-tracing data before storing it in the log file. The system evaluates each trace record against predefined criteria (such as category, source, or condition flags) and only persists records that match the criteria, preventing unnecessary data from consuming storage space and slowing down the logging operation.

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If all code-tracing data is stored for analysis, then comprehensive error analysis is improved, but difficulty in identifying relevant data increases

Engineering Contradiction:
Improvecomprehensive error analysisVSAvoiddifficulty in identifying relevant data
Core Design Contradiction:
Loss of informationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent extracts and stores only the most relevant code-tracing data by detecting specific properties such as error categories, warning levels, or custom metadata tags. This selective extraction ensures that the log file contains only information needed for fault detection, making relevant data easy to identify through property-based filtering while maintaining comprehensive analysis capability for the extracted subset.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different storage qualities to different types of code-tracing data based on their importance. By detecting properties such as error severity, category, or source priority, the system stores high-priority data (errors, warnings) while filtering out low-priority data (informational messages), creating a log file with varying quality levels that optimizes both comprehensiveness and identifiability.

Inventive Principle:
Principle #3Local quality

3Reliability

If code-tracing data is written to disk continuously, then real-time fault detection is improved, but storage space consumption increases

Engineering Contradiction:
Improvereal-time fault detectionVSAvoidstorage space consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only essential information from continuous code-tracing data streams by detecting specific properties before disk writing. This property-based filtering ensures that only relevant trace records are persisted to disk, reducing storage space consumption while maintaining real-time fault detection capability through continuous property evaluation and selective persistence.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS8499200B2Managing code-tracing data
Publication Date: 2013.07.30 NCR ATLEOS CORP
  • US8499200B2 patent drawing
  • US8499200B2 patent drawing

AI summary

A method of managing code-tracing data is described. The method comprises the steps of: receiving code-tracing data from an executing software component; adding the received code-tracing data to a log stored in temporary storage; detecting a property of the received code-tracing data; copying the log to non-volatile storage when the property matches a defined trigger property; and deleting contents of the log according to a caching policy when the property does not match a defined trigger property.