Patent ID: 9026988
Filing Date: 2015-05-05
Classification: G06F

Abstract:
1. A code conversion method of an application code, the code conversion method comprising: obtaining, by a processor, from an execution history of the application code executed in response to a request, method call sequences classifying, for each of the request, a series of sequences of a method call included in the application code; comparing, by the processor, method calls for each number of calls among the respective method call sequences, putting, from a top method call in the respective method call sequences, common method calls together as a node, making uncommon method calls into a node, and generating a process type branching tree being tree-structure data from the nodes; marking , by the processor, a branched node among respective nodes constituting the process type branching tree as an important call to confirm a method executing process type of the application code, traversing the respective nodes along the process type branching tree from the respective branched nodes marked as the important calls toward a start node direction, and further marking, as the important call, the start node and a node of a same method as the branched node; the important call and the start node are further marked as important calls; generating ,by the processor, a code based on the process type branching tree and the methods of the nodes marked as the important calls; and inserting, by the processor, the generated code to the application code.