Service Graph Generation with Order and Exclusive Relationships

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing service topology visualization techniques, such as those described in NPL 1, fail to express dependency relationships including order and exclusive relationships between components in microservice architectures, making it difficult to identify the root cause and failure range of service failures.

Innovation Solution

A service graph generation apparatus that acquires trace data, analyzes time data to estimate order and exclusive relationships between components, and creates a service graph expressing parent-child, order, and exclusive relationships, enabling the visualization of dependency relationships between components.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If service topology visualization is performed using existing techniques, then parent-child relationship between components can be expressed, but dependency relationship including order relationship and exclusive relationship cannot be expressed

Engineering Contradiction:
Improvedependency relationship informationVSAvoidservice graph structure
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent segments the dependency relationship information into three distinct types: parent-child relationships, order relationships, and exclusive relationships. Each type is represented by different visual elements in the service graph (different line styles or connection types), allowing comprehensive information expression while maintaining clear visual distinction and avoiding overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds temporal and logical dimensions to the traditional service topology visualization. By incorporating time data from trace spans and analyzing execution sequences, the system elevates the visualization from static parent-child connections to dynamic multi-dimensional relationships that include temporal ordering and exclusivity constraints.

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

2Difficulty of detecting and measuring

If comprehensive dependency relationships are visualized, then root cause identification becomes easier, but the complexity of analyzing trace data increases

Engineering Contradiction:
Improveroot cause identificationVSAvoiddata analysis time
Core Design Contradiction:
Difficulty of detecting and measuringVSLoss of time

Solution Approach 1:

The patent performs preliminary analysis of trace data by automatically comparing time stamps of spans with identical parent components to pre-determine order and exclusive relationships. This preliminary processing extracts dependency patterns before service failures occur, so that when failures happen, the pre-analyzed service graph can immediately provide root cause information without requiring time-consuming real-time analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system makes the trace data self-analyzing by automatically extracting temporal relationships and dependency patterns without requiring manual intervention. The analysis unit autonomously processes span time data to infer order and exclusive relationships, reducing both manual analysis time and the burden on operators.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11748226B2Service graph generator, service graph generation method, and program
Publication Date: 2023.09.05 NIPPON TELEGRAPH & TELEPHONE CORP
  • US11748226B2 patent drawing
  • US11748226B2 patent drawing
  • US11748226B2 patent drawing

AI summary

Provided is a service graph generation apparatus 10 for generating a service graph expressing a dependency relationship between components constituting a monitoring target service 50. The service graph generation apparatus 10 includes an acquisition unit 11 that acquires trace data including spans recording a parent-child relationship and time data of processing of components in a series of processing in a service, an analysis unit 13 that compares, for every piece of the trace data, time data between spans of the components having the same parent to estimate an order relationship or an exclusive relationship between the components, and a creation unit 14 that creates a service graph expressing all components formed of the monitoring target service 50, and the parent-child relationship, the order relationship, and the exclusive relationship between the components.