Patent ID: 8321876

Claim:
A method of dynamically loading and executing a module device of a specific slave core using an ICC (inter-core communication) channel in a multicore system environment including a master core and a plurality of slave cores, comprising: receiving a channel event message generated by the master core through the ICC channel in order to process an instruction received from an application program; storing the channel event message in a channel event message queue thereof; and an event handler of the specific slave core interpreting the stored channel event message and executing one of a module device loading process, a module device executing process, and a module device deleting process, wherein each slave core includes a second event handler configured to interpret channel event messages received from the master core via the ICC channel, and wherein the module device executing process comprises: the event handler interpreting the channel event message; if the interpreted type of the message is a periodic message, a periodic event handler being invoked by an interrupt of a timer, and the periodic event handler fetching a channel event message from a periodic event message queue and interpreting the channel event message; opening a module device requested by the application program according to a result of the interpretation to obtain a file descriptor, invoking a function of the module device by using the file descriptor, and executing the function; if the execution of the function of the module device is completed, closing the module device to complete the module device execution; and if the module device execution is completed, registering the channel event message in the periodic event message queue in the order of periods.