Automated Code Segmentation for Legacy Framework Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Migrating applications from outdated or inferior programming languages or frameworks to newer ones is increasingly time-consuming and inefficient, as existing methods lack automation and adherence to best design practices.

Innovation Solution

A system and method for converting applications by dividing source code into smaller segments, evaluating them for quality using machine learning and best practice thresholds, and converting them into a new programming language or framework, with machine learning and rules databases updated for future improvements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual code migration is performed from legacy frameworks to new frameworks, then code quality and adherence to best practices can be maintained, but the migration process becomes increasingly time-consuming and inefficient

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

Solution Approach 1:

The patent segments the codebase into smaller functional units or modules that can be independently analyzed and converted. This segmentation allows the migration system to process code in manageable chunks, applying best practices to each segment while maintaining overall code quality, thereby reducing the total migration time compared to manual full-code review

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The migration system performs self-service by automatically analyzing the legacy codebase, identifying code patterns, applying conversion rules, and generating migrated code without requiring manual intervention for each code segment. This automated self-service capability maintains code quality through systematic application of best practices while dramatically reducing migration time

Inventive Principle:
Principle #25Self-service

2Extent of automation

If existing manual migration methods are used, then some code conversion can be achieved, but automation and adherence to best design practices are lacking

Engineering Contradiction:
Improvemigration automationVSAvoiddesign practice adherence
Core Design Contradiction:
Extent of automationVSManufacturing precision

Solution Approach 1:

The system incorporates feedback mechanisms where the analysis of legacy code patterns informs the application of conversion rules, and the results of each conversion segment are evaluated against best practices thresholds. This feedback loop ensures that automation is systematically applied while maintaining adherence to design practices, as the system learns and adjusts based on code quality metrics

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies parameter changes by transforming code according to predefined conversion rules and best practice parameters. The system modifies code structure, syntax, and design patterns to match target framework requirements while maintaining functional equivalence, thereby achieving both high automation and precision in design practice adherence

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11269605B1Programming language conversion
Publication Date: 2022.03.08 WELLS FARGO BANK NA
  • US11269605B1 patent drawing
  • US11269605B1 patent drawing
  • US11269605B1 patent drawing

AI summary

An application can be converted to new programming language or framework. A source application written for a legacy framework is analyzed and divided into smaller segments of code. The smaller segments are evaluated for quality in view of best practices design for writing applications. A rubric is determined for each segment and compared to a best practice threshold. Segments can be evaluated for features that can be passed through a model. The model converts the features into new code adapted for target framework. Machine learning and rules databases are updated with details of the conversion.