Patent ID: 7802253

Claim:
A program processing system including a processor for executing a program comprising a plurality of tasks under a multitasking environment in which the plurality of the tasks pseudo-operates in parallel and an execution environment provided by a multitask operating system providing an inter-task communication function, the system comprising: a session defining means for defining a task needed for realizing a function and its execution order in every function provided by the program as a session; a session management means for managing a resource for executing the session and an execution status using a task lookup table, wherein the session management means generates an instance of respective tasks constituting the session in starting the session, assigns an identification information of the session and an identification information of the instance to the session and the instance of the respective tasks constituting the session, records in the look up table for the session (i) block identification information for the respective tasks constituting the session and (ii) instance task identification information corresponding respectively to the block identification information for the respective tasks constituting the session, and manages each identification information on the task lookup table of each session; and a message communication means for referring to the task lookup table of the session including the task, for specifying the task based on the instance task identification information of a destination task, wherein the instance task identification information of the destination task is obtained from the task lookup table, and for performing a transmission and reception of a message by applying the inter-task communication function provided by the operating system, wherein the transmitting of the message includes using the block identification information for the destination task to obtain the instance task identification information of the destination task from the task lookup table, wherein the message includes the instance task identification information of a transmitter task at which the message is generated, wherein the message communication means is built into the respective tasks.