Patent ID: 7761853
Filing Date: 2010-07-20
Classification: G06F

Abstract:
1. A portable terminal device that controls execution, pausing, and termination of programs, comprising: a processor executing a program execution section that controls execution, suspension, and termination of programs, wherein the termination of programs deletes the program from a memory; an output section that outputs information based on an instruction of the program; the processor executing a program management section that makes the program execution section suspend the first program when a second program is being executed, wherein when the program management section receives a termination request of the first program that is suspended based on execution of the second program from the second program, the program management section terminates the second program and executes the first program, and then terminates the first program, the program management section sends a pause request to the output section before the termination of the second program and execution of the first program, and the program execution section that makes an executing program become suspended, which is pausing if the executing program is an unmanaged program, or is terminating and storing restore information for restoration into a storage section if the executing program is a managed program, the program management section, when there is a third program that has been executed before the first program is executed and is being suspended, makes the program execution section restore the third program when the program management section makes the program execution section terminate the first program, and after the execution of the first program is finished, a dummy program is executed to cause the output section to output no information, in response to which the program management section executes the third program.