Pattern-Based Service Extraction from Legacy Monoliths

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Legacy applications, with complex intertwined functionalities, pose challenges in maintenance and modernization due to their monolithic architecture and lack of extensibility to new platforms, making it difficult to extract business knowledge and migrate them to modern service-oriented architectures.

Innovation Solution

A method and system for defining and automating the extraction of services from legacy applications using structural and functional service patterns, enabling re-factoring and transformation into modern platforms through a workbench-based pattern matching process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If legacy applications are maintained in their original monolithic architecture, then the existing functionalities remain stable, but the maintenance difficulty and modernization cost increase significantly

Engineering Contradiction:
Improvefunctional stabilityVSAvoidmaintenance difficulty
Core Design Contradiction:
ReliabilityVSEase of repair

Solution Approach 1:

The patent applies segmentation by dividing the monolithic legacy application into multiple independent service components based on identified service patterns. Each pattern represents a cohesive functional unit that can be extracted, maintained, and modernized independently, reducing overall system complexity and maintenance difficulty while preserving functional stability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts service patterns from the legacy application codebase by analyzing code structures, data flows, and business logic. These extracted patterns are then separated from the monolithic architecture and can be independently maintained or migrated, addressing the maintenance difficulty without compromising the stability of the core application.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If legacy applications are refactored into service-oriented architecture, then the adaptability and extensibility improve, but the extraction complexity and initial effort increase

Engineering Contradiction:
Improveextensibility to modern platformsVSAvoidextraction process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary action by automatically analyzing the legacy application codebase before refactoring, to identify and extract service patterns. This preliminary analysis phase reduces the complexity of the subsequent refactoring process by pre-organizing the code structure and identifying extraction boundaries, making the transition to service-oriented architecture more manageable.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements self-service through automated pattern recognition and extraction mechanisms that analyze the legacy codebase independently. The system uses algorithms to automatically identify service patterns, define their boundaries, and prepare them for extraction without requiring extensive manual intervention, thereby reducing extraction complexity.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If manual extraction of business logic is performed, then the accuracy of service identification improves, but the time consumption and cost increase

Engineering Contradiction:
Improveservice identification accuracyVSAvoidextraction time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces the mechanical manual process of service identification with an automated computational system. The system uses program analysis, pattern matching algorithms, and code visualization tools to automatically identify and extract service patterns from the legacy application, maintaining high accuracy while dramatically reducing the time and effort required compared to manual extraction.

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

Data Source

PatentUS9612829B2System and method for pattern based services extraction
Publication Date: 2017.04.04 TATA CONSULTANCY SERVICES LTD
  • US9612829B2 patent drawing
  • US9612829B2 patent drawing
  • US9612829B2 patent drawing

AI summary

The present invention relates to a method and system comprising service pattern definitions and automated extraction of Services from the legacy code based on the pattern matching.