×

Method and system of migrating legacy code for upgraded systems

  • US 10,324,712 B1
  • Filed: 11/17/2015
  • Issued: 06/18/2019
  • Est. Priority Date: 12/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of migrating legacy source code from a legacy system for use in a targeted system, comprising:

  • obtaining a legacy source code from a legacy machine;

    identifying an operational function performed by the legacy machine in the legacy source code independent of a platform source of the legacy source code;

    refactoring, by a processor, independent of the platform source, the legacy source code by encapsulating the identified operational function with a user defined representation of the identified function;

    compiling, by the processor, the refactored legacy source code using a configurable explicative compiler to present the encapsulated identified function as an operating specification of functions using the user defined representation(s), in a person readable language that is higher than machine language and independent of an operating system code of the targeted system to customize the operating specification of functions for operational compatibility with the targeted system'"'"'s operating system code;

    determining whether all lines of code in the legacy source code are accounted for with respect to being associated with one of the user defined representations;

    examining communication and block diagram structures in the legacy source code to determine encapsulation and refactoring opportunities within the operating specification of functions in response to determining that not all lines of code in the legacy source code are accounted for;

    adding an encapsulation and refactoring boundaries to the lines of code in the operating specification of functions for lines of code that are unaccounted for; and

    migrating the compiled legacy source code with the operating specification of functions using the user defined representation(s) into the targeted system for operation of the targeted system using the compiled legacy source code to perform the identified function in the targeted system.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×