Automation process system and method to upgrade from non-unicode transformation support to unicode data transformation support
AssigneeInternational Business Machines Corporation
InventorSandipan Sengupta
Life of this patent
Estimating the term…
Abstract
A system and method for automatically transforming non-Unicode supporting files into Unicode supporting files via one or more reusable maps. The system comprises a reusable source type tree organized from a schema, wherein the schema is created from a file; and one or more reusable maps, structured to automatically map one or more rules onto the reusable source type tree to transform the reusable source type tree into a reusable target type tree. The method comprises determining a type of data to be supported; defining one or more rules to support the type of data; and applying the one or more rules automatically to a reusable source type tree to transform the reusable source type tree into a reusable target type tree.
Claims20
A system comprising:
- a computing device of a computer infrastructure comprising:
- a non-Unicode supporting process component;
- an automation process component comprising:
- a reusable source type tree organized from a schema, created from a file;
- and
- one or more reusable maps structured to automatically map one or more rules onto the reusable source type tree to transform the reusable source type tree into a reusable target type tree that meets Unicode requirements,
- wherein:
- the reusable target type tree outputs transformed output source data and transformed output target data, and
- the transformed output source data and the transformed output target data are representative of the reusable target type tree and fulfill requirements to support Unicode processing;
- a Unicode supporting process component comprising a source type tree and a target type tree, which are structured to receive the transformed output source data and the transformed output target data that support Unicode processing,
- wherein the non-unicode supporting process component, the automation process component, and the unicode supporting process component interact to convert non-Unicode files to Unicode files.
A method for transforming files, comprising:
- determining whether non-Unicode input data is valid source data;
- defining one or more rules to support the non-Unicode input data;
- applying the one or more rules automatically to a reusable source type tree to transform the reusable source type tree into a reusable target type tree that meets Unicode requirements;
- outputting transformed output source data and transformed output target data that are representative of the reusable target type tree and fulfill requirements to support Unicode processing;
- and
- applying the transformed output source data and the transformed output target data to a source type tree and a target type tree to obtain Unicode output data,
- wherein the method transforms non-Unicode files into Unicode files.
A system for deploying an application for converting non-Unicode files to Unicode files, comprising:
- a computing device of a computer infrastructure comprising an automated transformer including:
- a non-unicode supporting process component that includes a first source type tree and at least one map structured to map at least one rule onto the first source type tree to transform the first source type tree into a first target type tree, wherein non-Unicode input data is input into the first source type tree to obtain the source input data and the target input data is obtained from the first target type tree;
- an automation process component that includes a reusable source type tree for receiving the source input data and the target input data and at least one reusable map structured to automatically map at least one rule onto the reusable source type tree to transform the reusable source type tree into the reusable target type tree that meets Unicode requirements, wherein the reusable target type tree outputs transformed output source data and transformed output target data;
- and
- a unicode supporting process component that includes a second source type tree and at least one map structured to map at least one rule onto the second source type tree to transform the second source type tree into a second target type tree, wherein the transformed output source data is input into the second source type tree, and the transformed output target data is input into the second target type tree, and the second target type tree outputs Unicode output data,
- wherein:
- the transformed output source data and the transformed output target data represent the reusable target type tree and fulfill requirements to support Unicode processing;
- the second source type tree and the second target type tree, which are structured to receive the transformed output source data and the transformed output target data support Unicode processing;
- and
- the non-unicode supporting process component, the automation process component, and the unicode supporting process component interact to convert non-Unicode files to Unicode files.
A computer program product comprising a computer usable storage medium having computer readable program code embodied in the medium to:
- determine whether non-Unicode input data is valid source data;
- define one or more rules to support the non-Unicode input data;
- create a reusable source type tree from a file;
- apply one or more reusable maps having one or more rules onto the reusable source type tree to transform the reusable source type tree into a reusable target type tree that meets Unicode requirements;
- output transformed output source data and transformed output target data that are representative of the reusable target type tree and fulfill requirements to support Unicode processing;
- and
- apply the transformed output source data and the transformed output target data to a source type tree and a target type tree to obtain Unicode output data,
- wherein the computer readable program code converts non-Unicode files to Unicode files.
A computer system for transforming non-Unicode supporting files into Unicode supporting files, the system comprising:
- a CPU, a computer readable memory and a computer readable storage media;
- first program instructions to provide a reusable source type tree organized from a schema, created from a file;
- second program instructions to provide one or more reusable maps structured to automatically map one or more rules onto the reusable source type tree to transform the reusable source type tree into a reusable target type tree that meets Unicode requirements;
- third program instructions to output source data and target data, the source data and the target data being representative of the reusable target type tree and fulfill requirements to support Unicode processing;
- fourth program instructions to receive the source data and the target data for Unicode processing;
- and
- fifth program instructions to output Unicode data,
- wherein:
- the first, second, third, fourth and fifth program instructions are stored on the computer readable storage media for execution by the CPU via the computer readable memory, and convert non-Unicode files to Unicode files.
Dependencies are inferred from the claim text.