Automated Legacy System Re-architecting Using Pattern Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Legacy systems with monolithic architectures are difficult to re-architect into modern, object-oriented architectures due to lack of effective conversion techniques, leading to high costs and inefficiencies in adopting new technologies like Service-Oriented Architecture (SOA) and Object-Oriented Programming (OOP) languages.

Innovation Solution

An automated method and system that recognizes architectural and design patterns in legacy systems, extracts these patterns, and converts them into object-oriented code, using a pattern repository and conversion tools to generate a re-architected system with a layered modern architecture.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual re-architecting of legacy systems is performed, then system functionality can be preserved, but time and cost increase significantly

Engineering Contradiction:
Improvesystem functionality preservationVSAvoidre-architecting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates a virtual copy of the legacy system's architectural patterns and extracts them into a repository. This copied representation allows the system to analyze and transform the legacy code without manually rewriting everything, significantly reducing time while preserving functionality through automated pattern recognition and code generation.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces manual mechanical code transformation with an automated computer-based system. The system automatically identifies architectural patterns, extracts them to a repository, and generates new code, eliminating the need for manual re-architecting while maintaining system functionality and reducing time investment.

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

2Productivity

If automated pattern recognition is applied to legacy code, then conversion speed increases, but complexity of the conversion system increases

Engineering Contradiction:
Improveconversion speedVSAvoidconversion system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the complex conversion process into distinct manageable phases: pattern identification, pattern extraction to repository, pattern optimization, and code generation. This segmentation allows each phase to be handled by specialized tools, making the overall complex task more manageable and implementable through automated means.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary repository that stores extracted architectural patterns. This repository acts as a mediator between the legacy code analysis phase and the code generation phase, simplifying the conversion system by providing a centralized storage and retrieval mechanism for patterns, thereby reducing the complexity of direct transformation.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If legacy monolithic architecture is converted to layered architecture, then system adaptability improves, but transformation difficulty increases

Engineering Contradiction:
Improvesystem adaptabilityVSAvoidtransformation difficulty
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts architectural patterns from the legacy monolithic codebase and stores them in a separate repository. This extraction process isolates the transformation logic from the legacy system, making the conversion to layered architecture more manageable. The extracted patterns can then be systematically reorganized into modern layered structures without directly manipulating the complex legacy code.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the organizational parameters of the system architecture from monolithic to layered. By transforming the structural parameters (separating presentation, business logic, and data access layers) while using the same extracted patterns, the system achieves improved adaptability without requiring complete rewriting of business logic, thus reducing transformation difficulty.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8819621B2System and method for automated re-architectureing of legacy systems using object oriented language
Publication Date: 2014.08.26 TATA CONSULTANCY SERVICES LTD
  • US8819621B2 patent drawing
  • US8819621B2 patent drawing
  • US8819621B2 patent drawing

AI summary

The present invention relates to method of defining multiple program abstractions, extraction methodologies, transformation, and code conversion to convert legacy monolithic architecture of business systems to a layered modern architecture using Object Oriented language such as Java.