Web Service Entity Clustering for Microservice Refactoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Identifying suitable groups of Web service entities in monolithic applications for refactoring into microservices is challenging due to the complexity of navigation relationships among hundreds to thousands of entities.

Innovation Solution

A system is developed to efficiently determine groups of Web service entities by generating an undirected graph based on navigation relationships, applying clustering algorithms such as spectral clustering, and presenting the grouped entities for refactoring into microservices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual analysis of navigation relationships is performed to identify microservice groups, then accuracy of entity grouping is improved, but time consumption and labor complexity increase exponentially

Engineering Contradiction:
Improveaccuracy of entity groupingVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical analysis of navigation relationships with an automated computer system that uses graph theory and clustering algorithms. The system automatically constructs navigation relationship graphs and applies spectral clustering to identify microservice groups, eliminating the need for manual examination of hundreds to thousands of entities and their relationships.

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

Solution Approach 2:

The patent introduces an intermediary computer system that acts as a mediator between the monolithic application and the microservice identification process. This intermediary system automatically analyzes navigation relationships, constructs graphs, applies clustering algorithms, and presents refined groupings, thereby reducing the cognitive load and time required for manual analysis.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Quantity of substance

If comprehensive analysis of all navigation relationships is performed, then completeness of entity grouping is improved, but system complexity and difficulty of detection increase

Engineering Contradiction:
Improvecompleteness of entity groupingVSAvoidsystem complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the complex task of analyzing all navigation relationships into manageable components: (1) automatic construction of navigation relationship graphs, (2) application of spectral clustering algorithms, and (3) presentation of refined groupings. This segmentation allows comprehensive analysis of all entities while maintaining manageable system complexity through automated processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameters of analysis by transforming navigation relationships into graph theory representations and applying spectral clustering algorithms. This parameter transformation enables comprehensive analysis of all entities and their relationships while managing complexity through mathematical formulations and automated computation.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If automated clustering algorithms are applied to all Web service entities, then productivity of microservice identification is improved, but measurement precision and accuracy of grouping may deteriorate

Engineering Contradiction:
Improveproductivity of microservice identificationVSAvoidaccuracy of entity grouping
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent implements feedback mechanisms where the system presents refined groupings of entities for review, and the navigation relationship graph is continuously updated and refined based on analysis. This feedback loop ensures that automated clustering produces accurate groupings by allowing verification and adjustment of results.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary actions by automatically constructing navigation relationship graphs and pre-processing entity data before applying clustering algorithms. This preliminary preparation ensures that the subsequent clustering operation works with optimized data structures, improving both productivity and the accuracy of the resulting groupings.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250193267A1Determination of microservices from application web services
Publication Date: 2025.06.12 SAP SE
  • US20250193267A1 patent drawing
  • US20250193267A1 patent drawing
  • US20250193267A1 patent drawing

AI summary

Systems and methods include identification of a plurality of entities of a monolithic application and navigation relationships between the plurality of entities, determination of a plurality of primary groups of entities based on the navigation relationships and, for each of the plurality of primary groups of entities, determination of a closeness of each entity of the primary group to each other entity of the primary group based on received queries of the navigation relationships between the entities of the primary group, and clustering of the entities of the primary group into two or more secondary groups based on the determined closeness of each entity of the primary group.