Event Topological Graph for Log Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern software systems are becoming increasingly complex, making it difficult for operation and maintenance personnel to accurately and efficiently detect anomalies in system logs due to their unstructured nature, which existing solutions fail to address effectively.

Innovation Solution

A method and apparatus for generating a topological graph by acquiring a preset event stream corresponding to a normal log execution path, determining dependent event pairs, and generating an event topological graph based on transfer intervals and probabilities, which is then used for anomaly detection in a to-be-detected event stream.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If system logs are used for anomaly detection, then valuable system status information can be obtained, but the unstructured nature of logs makes it difficult to locate anomalies accurately and efficiently

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoidlog structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the complex log data into structured event streams with defined schemas. Each log entry is parsed into standardized fields (event type, timestamp, source, etc.), transforming unstructured text into organized data units that can be systematically analyzed for anomaly detection.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a temporal dimension by constructing event topological graphs that model the time-ordered relationships between events. This transforms static log analysis into dynamic temporal pattern recognition, enabling detection of anomalies based on deviations from normal event sequences and time intervals.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If traditional log analysis methods are used, then system operations can be monitored, but anomaly detection accuracy is insufficient

Engineering Contradiction:
Improveanomaly detection reliabilityVSAvoidanomaly detection accuracy
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent implements feedback mechanisms where the event topological graph continuously learns from observed event sequences. Normal event patterns are established as baseline models, and deviations from these patterns trigger anomaly detection, with results feeding back to refine the understanding of normal behavior over time.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary construction of event topological graphs during normal system operation to establish baseline event sequences and time intervals. This pre-learning phase creates reference models that enable rapid anomaly detection when deviations occur, without requiring complex real-time analysis of every log entry.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If operation and maintenance personnel manually analyze system logs, then system status can be understood, but the process is time-consuming and inefficient

Engineering Contradiction:
Improveanomaly detection efficiencyVSAvoidtime for anomaly detection
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical analysis of logs with automated computational systems. Event streams are automatically parsed, topological graphs are constructed algorithmically, and anomalies are detected through automated comparison against learned patterns, eliminating the time-consuming manual review process while maintaining or improving detection accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11797360B2Method for generating topology diagram, anomaly detection method, device, apparatus, and storage medium
Publication Date: 2023.10.24 ZTE CORP
  • US11797360B2 patent drawing
  • US11797360B2 patent drawing
  • US11797360B2 patent drawing

AI summary

Provided are a method and apparatus for generating a topological graph, an anomaly detection method and apparatus, a device and a storage medium. The method for generating a topological graph includes acquiring a preset event stream, where the preset event stream corresponds to a normal log execution path; determining a dependent event pair in the preset event stream; determining a range of a transfer interval corresponding to the dependent event pair, where a transfer interval represents the time difference between adjacent occurrences of two events in the dependent event pair; and generating an event topological graph according to the range of the transfer interval and the transfer probability corresponding to the dependent event pair, where the transfer probability represents the conditional probability between the two events in the dependent event pair.