Converter, server system, conversion method and program
First Claim
1. A conversion method for converting an application program to be executed for every job request into a batch processing program for collectively processing the plurality of job requests, comprising the steps of:
- Identifying as a service request code, a portion of the application program that includes a code to issue a service request to request another server to execute processing;
Identifying as a processing code, a portion of the application program that does not include the service request code;
converting the service request code in the application program into a collective service request code that collectively requests a plurality of services corresponding to the plurality of job requests;
converting the processing code in the application program into a multiplexing code that multiplexes an execution of multiple processings corresponding to the plurality of job requests;
outputting, as the batch processing program, the collective service request code and the multiplexing code; and
inserting, into the application program, a mask vector generating code for generating a mask vector for each of multiple stages obtained by separating code sequences in the application program, where the mask vector stores, as indices of the respective job requests, values each specifying whether or not to execute the stage, wherein the outputting, as the batch processing program, includes the mask vector generating code.
1 Assignment
0 Petitions
Accused Products
Abstract
A converter for converting an application program that is executed for every job request into a batch processing program for collectively processing a plurality of job requests. The converter includes: a code identifier for identifying a portion of the application program that includes a service request to another server, and a portion that does not include a service request; an integration unit for converting the service request into a collective service request that collectively issues a plurality of service requests corresponding to the plurality of job requests; a multiplexing unit for converting the processing code in the application program into a multiplexed code for executing multiple processings corresponding to the plurality of job requests; and an output unit for outputting, as the batch processing program, the application program that the integration unit and the multiplexing unit have processed.
16 Citations
18 Claims
-
1. A conversion method for converting an application program to be executed for every job request into a batch processing program for collectively processing the plurality of job requests, comprising the steps of:
-
Identifying as a service request code, a portion of the application program that includes a code to issue a service request to request another server to execute processing; Identifying as a processing code, a portion of the application program that does not include the service request code; converting the service request code in the application program into a collective service request code that collectively requests a plurality of services corresponding to the plurality of job requests; converting the processing code in the application program into a multiplexing code that multiplexes an execution of multiple processings corresponding to the plurality of job requests; outputting, as the batch processing program, the collective service request code and the multiplexing code; and inserting, into the application program, a mask vector generating code for generating a mask vector for each of multiple stages obtained by separating code sequences in the application program, where the mask vector stores, as indices of the respective job requests, values each specifying whether or not to execute the stage, wherein the outputting, as the batch processing program, includes the mask vector generating code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable storage medium tangibly embodying computer-executable instructions program for causing a computer to function as a converter for an application program to be executed for every job request into a batch processing program for collectively processing the plurality of job requests, wherein the instructions program when implemented, causes the computer to perform a method comprising the steps of:
-
Identifying as a service request code, a portion of the application program that includes a code to issue a service request to request another server to execute processing; Identifying as a processing code, a portion of the application program that does not include the service request code; converting the service request code in the application program into a collective service request code that collectively requests a plurality of services corresponding to the plurality of job requests; converting the processing code in the application program into a multiplexing code that multiplexes an execution of multiple processings corresponding to the plurality of job requests; outputting, as the batch processing program, the collective service request code and the multiplexing code; and inserting, into the application program, a mask vector generating code for generating a mask vector for each of multiple stages obtained by separating code sequences in the application program, where the mask vector stores, as indices of the respective job requests, values each specifying whether or not to execute the stage, wherein the outputting, as the batch processing program, includes the mask vector generating code.
-
-
11. A computer-readable storage medium tangibly embodying computer-executable instructions program for causing a computer to function as a converter for an application program to be executed for every job request into a batch processing program for collectively processing the plurality of job requests, wherein the instructions program when implemented, causes the computer to perform the steps of a method comprising:
-
Identifying as a service request code, a portion of the application program that includes a code to issue a service request to request another server to execute processing; Identifying as a processing code, a portion of the application program that does not include the service request code; converting the service request code in the application program into a collective service request code that collectively requests a plurality of services corresponding to the plurality of job requests; converting the processing code in the application program into a multiplexing code that multiplexes an execution of multiple processings corresponding to the plurality of job requests; outputting, as the batch processing program, the collective service request code and the multiplexing code; and inserting, into the application program, a mask vector generating code for generating a mask vector for each of multiple stages obtained by separating code sequences in the application program, where the mask vector stores, as indices of the respective job requests, values each specifying whether or not to execute the stage, wherein the outputting, as the batch processing program, includes the mask vector generating code; wherein if the application program includes a query for issuing a service request to a database server, converting a code for issuing the query in the application program into a single collective service request code, by collectively listing, in a single description, a plurality of queries corresponding to the plurality of job requests. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification