Patent ID: 8689217

Claim:
An apparatus for thread processing robot software components, the apparatus comprising: a data port unit for, when an input data is inputted, storing the input data in a buffer and then processing the input data in a periodic execution mode or in a dedicated execution mode; an event port unit for, when an input event is received, processing the input event in a passive execution mode; and a method port unit for, when a method request is received by the method port unit, processing a requested method in the passive execution mode by calling a user-defined method corresponding to the requested method, wherein, in said passive execution mode, using a finite State machine or a new created thread for processing the input event received or the method requested, wherein, in said periodic execution mode, the input data is processed periodically by using a single execution thread according to a period and a priority of a corresponding component set in component setting information, wherein, in said dedicated execution mode, the input data is processed by using a dedicated thread, dedicated to a corresponding component, such that the dedicated thread is suspended after being executed one time, and then re-executed when a resume method is called.