US 11,928,126 B1
Data transformation methodology using generated program code and token mappings
Shanmukha Chaitanya Guttula, Vijayawada (IN); Pranay Kumar Lohia, Bhagalpur (IN); Nitin Gupta, Saharanpur (IN); and Hima Patel, Bengaluru (IN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Aug. 22, 2022, as Appl. No. 17/821,309.
Int. Cl. G06F 16/25 (2019.01); G06F 16/84 (2019.01)
CPC G06F 16/258 (2019.01) [G06F 16/86 (2019.01)] 9 Claims
OG exemplary drawing
 
1. A computer implemented method for transforming data, the computer implemented method comprising:
responsive to receiving a data transformation of an input string to an output string, identifying, by a computer system, mappable tokens in the input string that are mappable to the output string,
creating, by the computer system, a set of initial mappings for a set of common tokens in the mappable tokens, wherein the set of initial mappings maps the set of common tokens from the input string to the output string that match one another;
creating, by the computer system, a set of user mappings that maps the mappable tokens from input string to the output string using a user input to the set of initial mappings;
generating, by the computer system, program code that transform input strings to output strings using the set of user mappings that maps the mappable tokens from input string to the output string, wherein the program code is used to transform input strings to output strings;
identifying, by the computer system, a set of initial token properties for the mappable tokens in the set of user mappings;
creating, by the computer system, a set of user token properties using an additional user input to the set of initial token properties; and
performing, by the computer system, data transformation of the input strings to the output strings using the program code, wherein generating, by the computer system, the program code for mapping the input string to the output string using the set of user mappings comprises:
creating, by the computer system, the program code for mapping the input string to the output string using the set of user mappings and the set of user token properties.