Code conversion method, apparatus, storage medium and request remaining time response method
AssigneeFujitsu Limited
InventorMotoyuki KAWABA
Life of this patent
Estimating the term…
Abstract
To which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds is detected; a code is generated based on identification information corresponding to the detected method on the call order pattern; and the generated code is inserted to the application code.
Claims11
A conversion method of an application code, the conversion method comprising:
- detecting to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- generating a code based on identification information corresponding to the detected method on the call order pattern;
- and
- inserting the generated code to the application code.
A request remaining time response method comprising:
- detecting to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- generating a code based on identification information corresponding to the detected method on the call order pattern;
- inserting the generated code to the application code;
- receiving an enquiry request of a remaining time of a process of a thread being executed;
- automatically generating, and embedding to the application code, a code to judge a current number of method calls to the application program;
- and
- obtaining the remaining time of the process based on a result of estimation of relationship between the number of method calls and a remaining time of the method for each identification information to respond to the enquiry request.
A code conversion apparatus comprising:
- a processor configured to detect to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- and
- to generate a code based on identification information corresponding to the detected method on the call order pattern and to insert the generated code to the application code.
A computer readable, non-transitory storage medium storing a code conversion program to make a computer execute processes comprising:
- detecting to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- generating a code based on identification information corresponding to the detected method on the call order pattern;
- and
- inserting the generated code to the application code.
A request remaining time response apparatus comprising:
- a unit configured to detect to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- a unit configured to generate a code based on identification information corresponding to the detected method on the call order pattern;
- a unit configured to insert the generated code to the application code;
- a unit configured to receive an enquiry request of a remaining time of a process of a thread being executed;
- an embedding unit configured to automatically generate, and embed to the application program, a code to judge a current number of method calls to the application program;
- and
- a response unit configured to obtain the remaining time of the process based on a result of estimation of relationship between the number of method calls and a remaining time of the method for each identification information to respond to the enquiry request.
A computer readable, non-transitory storage medium storing a request remaining time response program to make a computer execute processes comprising:
- detecting to which method on each method call order pattern included in a series of application codes executed in response to a request a method included in an application code executed in response to a request corresponds;
- generating a code based on identification information corresponding to the detected method on the call order pattern;
- inserting the generated code to the application code;
- receiving an enquiry request of a remaining time of a process of a thread being executed;
- automatically generating, and embedding to the application code, a code to judge a current number of method calls to the application program;
- and
- obtaining the remaining time of the process based on a result of estimation of relationship between the number of method calls and a remaining time of the method for each identification information to respond to the enquiry request.
Dependencies are inferred from the claim text.