Code Migration Framework Using ML Templates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Migrating on-premises applications to cloud-based applications, such as SaaS, is challenging due to the need to transfer customizations and integration code, requiring significant time and effort to align with the differences between on-prem and cloud platforms.

Innovation Solution

A computer-implemented method using a machine learning model to determine existing templates based on source platform code attributes, recommending and generating templates for code migration from an on-premises platform to a cloud platform, ensuring compliance with predetermined criteria and facilitating deployment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual code migration is performed from on-premises to cloud platform, then code conversion can be achieved, but migration time and effort increase significantly

Engineering Contradiction:
Improvemigration speedVSAvoidmigration time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent uses template copying where pre-defined migration templates are replicated and adapted for different code migration scenarios. The system copies existing successful migration patterns and applies them to new codebases, significantly reducing the time needed to understand and execute complex migration transformations.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent implements preliminary action by pre-creating and maintaining a library of migration templates before actual migration occurs. These templates are prepared in advance with all necessary transformation logic, allowing rapid deployment during migration without needing to create transformation rules on-the-fly.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If extensive customizations and integration code are migrated, then application functionality is preserved, but migration complexity increases

Engineering Contradiction:
Improvefunctionality preservationVSAvoidmigration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the migration process into distinct phases: template selection, template customization, code transformation, and validation. This segmentation allows complex migration tasks to be handled in manageable chunks, reducing overall migration complexity while preserving all necessary functionality through systematic processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces migration templates as intermediary artifacts that mediate between the source on-premises code and the target cloud platform. These templates act as translators that automatically convert code from the source format to the target format, preserving functionality while simplifying the migration process.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Manufacturing precision

If code conversion is performed manually, then accuracy can be controlled, but time consumption increases

Engineering Contradiction:
Improvecode conversion accuracyVSAvoidconversion time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical code conversion with automated template-based transformation. The system uses machine-readable templates that automatically parse, transform, and validate code, eliminating manual intervention while maintaining high accuracy through systematic transformation rules and validation checks.

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

Solution Approach 2:

The patent incorporates feedback mechanisms where the system validates transformed code against predefined criteria and provides feedback for corrections. This feedback loop ensures accuracy by catching errors automatically and allowing targeted corrections only where necessary, rather than requiring complete manual review.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12086589B2Code migration framework
Publication Date: 2024.09.10 DELL PROD LP
  • US12086589B2 patent drawing
  • US12086589B2 patent drawing
  • US12086589B2 patent drawing

AI summary

In one aspect, an example methodology implementing the disclosed techniques includes, by a computing device, determining a source platform code for migration from a source platform to a target platform and determining one or more attributes of the source platform code. The method also includes determining, using a machine learning (ML) model, one or more existing templates based on the one or more attributes of the source platform code, and recommending the one or more existing templates for use in generating a template for migration of the source platform code to the target platform. The template for the source platform code is configured to convert the source platform code to a target platform code suitable for the target platform. The one or more existing template can then be used to generate a template for migrating the source platform code to a target platform code suitable for the target platform.