Legacy Code Reconfiguration via Domain Decomposition and Microservices

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Legacy application code is inefficient, costly, and difficult to modernize due to outdated programming languages, large code bases, and lack of adequate modernization processes, leading to compatibility issues with modern systems and hindering business intelligence and operational reporting.

Innovation Solution

A system and method for reconfiguring legacy application code through a processor that scans, extracts business logic rules, analyzes using a legacy code meta model, simulates reverse engineering, decomposes and componentizes the code, and generates micro service templates for an updated framework.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual optimization and refactoring of legacy software is performed, then code quality and efficiency are improved, but the process becomes extremely expensive and time-consuming due to the large code base

Engineering Contradiction:
Improvecode qualityVSAvoidmodernization time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical refactoring processes with an automated system that uses machine learning models, natural language processing, and symbolic execution to perform code analysis, modernization, and optimization automatically, eliminating the need for extensive manual intervention

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

Solution Approach 2:

The patent introduces an intermediary automated modernization system that acts as a mediator between legacy code and modern codebases, using trained machine learning models and symbolic execution engines to translate and adapt legacy code automatically without direct manual refactoring

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If legacy application code is rewritten from scratch, then modernization and compatibility are achieved, but the process becomes extremely tedious and complex

Engineering Contradiction:
Improvemodern system compatibilityVSAvoidmodernization process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the legacy codebase into functional components and modules that can be independently analyzed, processed, and modernized using automated techniques, reducing the overall complexity of the modernization process

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces the complex manual process of rewriting code from scratch with an automated system that uses machine learning models trained on legacy code patterns to automatically generate modernized code while preserving business logic

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

3Loss of information

If traditional processes and systems are used for reconfiguring legacy application code, then reverse engineering is performed, but the process is inadequate due to use of disparate tools and focus on straight syntax-based code conversion

Engineering Contradiction:
Improvebusiness logic preservationVSAvoidmodernization process ease
Core Design Contradiction:
Loss of informationVSEase of manufacture

Solution Approach 1:

The patent implements feedback mechanisms where the automated system continuously analyzes the legacy code, learns from patterns, validates modernized code against original functionality, and iteratively improves the modernization process while preserving business logic

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent replaces traditional syntax-based code conversion tools with an intelligent system that uses natural language processing, machine learning, and symbolic execution to understand and preserve business logic during modernization

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

4Measurement precision

If expertise of original authors of legacy code is utilized for manual refactoring, then code understanding and accuracy are improved, but the process becomes difficult and expensive

Engineering Contradiction:
Improvecode understanding accuracyVSAvoidprocess scalability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent enables the system to serve itself by automatically learning from legacy code patterns, performing self-training on historical code data, and executing automated modernization without requiring continuous human expertise intervention

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent substitutes human expert knowledge with machine learning models that have been trained on legacy code patterns, enabling automated code understanding and modernization that scales without requiring original authors or domain experts

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

Data Source

PatentUS12393418B2System for reconfiguring a legacy application code and a method thereof
Publication Date: 2025.08.19 TECH MAHINDRA INDIA
  • US12393418B2 patent drawing
  • US12393418B2 patent drawing
  • US12393418B2 patent drawing

AI summary

A system and method for reconfiguring legacy application code. The method includes receiving legacy application code as input through a user interface, and parsing legacy application code through a processor. The processor is configured for scanning legacy application code through a scanner, extracting business logic rules from the legacy application code, analyzing the legacy application code through an analyzer using a legacy code meta model, simulating content of the legacy application code by executing reverse engineering for obtaining reverse engineered legacy code, decomposing and componentizing reverse engineered legacy code for identifying legacy components that are clustered according to domain for obtaining decomposed domain and generating micro service templates from the decomposed domains of the reverse engineered legacy code. The micro service templates are used for generating updated code framework for reconfiguring the legacy application code.