Control method, apparatus, and non-transitory computer-readable storage medium for generating data body adjusted to second program by converting data type of parameter of first program
AssigneeFujitsu Limited
InventorTakashi Ohata
Life of this patent
Estimating the term…
Abstract
A control method includes: executing a receiving process that includes receiving designation, the designation indicating a program, a data kind and a data type; executing a identifying process that includes identifying a data type associated with the designated program and data kind by referring to a storage unit, the storage unit being configured to store information associating a data type of a target data of processing to be executed by a program with the program and a data kind of the data; executing a generating process that includes generating information associating the identified data type with the designated program and data type.
Claims15
A control method comprising:
- executing a receiving process that includes receiving a designation from a first program, the designation including first indication information, first data symbol information, first data type information, and first data body, the first indication information indicating a second program, the first data symbol information indicating a parameter name of a parameter in the first program, the first data type information indicating a first data type of the parameter in the first program, the second program being one of a plurality of programs;
- automatically executing an identifying process in response to the receiving of the designation from the first program, the identifying process including:
- automatically selecting, in accordance with the received designation from the first program, first configuration information from among plural pieces of configuration information stored in a storage unit, each configuration information including second indication information, second data symbol information, and second data type information, the second indication information indicating any of the plurality of programs, the second data symbol information indicating a parameter name of a parameter in a respective program, the second data type information indicating a second data type of the parameter in the respective program, the automatically selected first configuration information having the second indication information that indicates a program same as the second program indicated by the first indication information of the received designation from the first program and having the second data symbol information that indicates a parameter name of a parameter in the respective program same as the parameter name of the parameter in the first program indicated by the first data symbol information of the received designation from the first program;
- and
- automatically identifying a target data type corresponding to the first data type of the parameter in the first program of the received designation from the first program by using the second data type information of the automatically selected first configuration information, the identified target data type being the second data type of the parameter in the respective program indicated by the second data type information included in the automatically selected first configuration information;
- and
- executing a generating process in response to the identified target data type, the generating process including:
- generating second data body adjusted to the second program by converting the first data body included in the received designation from the first program from the first data type of the parameter in the first program to the identified target data type;
- and
- causing the second program to perform target operation on the generated second data body, the target operation being an operation indicated by at least either the first data symbol information or the second data symbol information.
A control apparatus comprising:
- a memory;
- and
- a processor coupled to the memory, the processor being configured to:
- execute a receiving process that includes receiving a designation from a first program, the designation including first indication information, first data symbol information, first data type information, and first data body, the first indication information indicating a second program, the first data symbol information indicating a parameter name of a parameter in the first program, the first data type information indicating a first data type of the parameter in the first program, the second program being one of a plurality of programs;
- automatically execute an identifying process in response to the receiving of the designation from the first program, the identifying process including:
- automatically selecting, in accordance with the received designation from the first program, first configuration information from among plural pieces of configuration information stored in a storage unit, each configuration information including second indication information, second data symbol information, and second data type information, the second indication information indicating any of the plurality of programs, the second data symbol information indicating a parameter name of a parameter in a respective program, the second data type information indicating a second data type of the parameter in the respective program, the automatically selected first configuration information having the second indication information that indicates a program same as the second program indicated by the first indication information of the received designation from the first program and having the second data symbol information that indicates a parameter name of a parameter in the respective program same as the parameter name of the parameter in the first program indicated by the first data symbol information of the received designation from the first program;
- and
- automatically identifying a target data type corresponding to the first data type of the parameter in the first program of the received designation from the first program by using the second data type information of the automatically selected first configuration information, the identified target data type being the second data type of the parameter in the respective program indicated by the second data type information included in the automatically selected first configuration information;
- and
- execute a generating process in response to the identified target data type, the generating process including:
- generating second data body adjusted to the second program by converting the first data body included in the received designation from the first program from the first data type of the parameter in the first program to the identified target data type;
- and
- causing the second program to perform target operation on the generated second data body, the target operation being an operation indicated by at least either the first data symbol information or the second data symbol information.
A non-transitory computer-readable storage medium for storing a program which causes a processor to perform processing, the processing comprising:
- executing a receiving process that includes receiving a designation from a first program, the designation including first indication information, first data symbol information, first data type information, and first data body, the first indication information indicating a second program, the first data symbol information indicating a parameter name of a parameter in the first program, the first data type information indicating a first data type of the parameter in the first program, the second program being one of a plurality of programs;
- automatically executing an identifying process in response to the receiving of the designation from the first program, the identifying process including:
- automatically selecting, in accordance with the received designation from the first program, first configuration information from among plural pieces of configuration information stored in a storage unit, each configuration information including second indication information, second data symbol information, and second data type information, the second indication information indicating any of the plurality of programs, the second data symbol information indicating a parameter name of a parameter in a respective program, the second data type information indicating a second data type of the parameter in the respective program, the automatically selected first configuration information having the second indication information that indicates a program same as the second program indicated by the first indication information of the received designation from the first program and having the second data symbol information that indicates a parameter name of a parameter in the respective program same as the parameter name of the parameter in the first program indicated by the first data symbol information of the received designation from the first program;
- and
- automatically identifying a target data type corresponding to the first data type of the parameter in the first program of the received designation from the first program by using the second data type information of the automatically selected first configuration information, the identified target data type being the second data type of the parameter in the respective program indicated by the second data type information included in the automatically selected first configuration information;
- and
- executing a generating process in response to the identified target data type, the generating process including:
- generating second data body adjusted to the second program by converting the first data body included in the received designation from the first program from the first data type of the parameter in the first program to the identified target data type;
- and
- causing the second program to perform target operation on the generated second data body, the target operation being an operation indicated by at least either the first data symbol information or the second data symbol information.
Dependencies are inferred from the claim text.