DATA PROCESSOR AND DATA PROCESSING METHOD
First Claim
1. A data processor, comprising:
- device control threads corresponding to respective peripheral devices each capable of an independent operation;
CPU processing threads corresponding to respective predetermined data processing that a CPU performs;
a control thread equipped with a plurality of processing parts for constructing an application using the device control threads and the CPU processing threads; and
an application management table for defining the application by a combination of the plurality of processing parts and managing its performance;
wherein the control thread checks output data from each thread of the device control threads and the CPU processing threads associated with the plurality of respective processing parts, performs with a higher priority from the processing part near termination of the processing of the application defined by the application management table among the plurality of processing parts corresponding to the device control threads and the CPU processing threads in each of which the output data exists, and instructs execution of the device control threads and the CPU processing threads and input/output of the data;
each of the device control threads controls the corresponding peripheral device according to the instruction, and in response to the completion notification from the peripheral device, sends a processing result of the peripheral device and the completion notification to the control thread; and
each of the CPU processing threads performs the predetermined data processing according to the instruction and sends a processing result of the predetermined data processing and a notification to the control thread.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing method has a device control thread for each peripheral device capable of an independent operation, a CPU processing thread for each data processing that is performed by a CPU, a control thread equipped with a processing part for constructing an application. The control thread checks an output from the thread related with each processing part, performs with a higher priority from the processing part in which output data of the preprocessing part as a configuration of the application exists and that is near termination, and instructs execution of the each device control thread and the CPU processing thread, and data input/output. Each of device control thread and CPU processing thread processes the data according to the instructions, and sends a processing result and a notification to the control thread.
-
Citations
12 Claims
-
1. A data processor, comprising:
-
device control threads corresponding to respective peripheral devices each capable of an independent operation; CPU processing threads corresponding to respective predetermined data processing that a CPU performs; a control thread equipped with a plurality of processing parts for constructing an application using the device control threads and the CPU processing threads; and an application management table for defining the application by a combination of the plurality of processing parts and managing its performance; wherein the control thread checks output data from each thread of the device control threads and the CPU processing threads associated with the plurality of respective processing parts, performs with a higher priority from the processing part near termination of the processing of the application defined by the application management table among the plurality of processing parts corresponding to the device control threads and the CPU processing threads in each of which the output data exists, and instructs execution of the device control threads and the CPU processing threads and input/output of the data; each of the device control threads controls the corresponding peripheral device according to the instruction, and in response to the completion notification from the peripheral device, sends a processing result of the peripheral device and the completion notification to the control thread; and each of the CPU processing threads performs the predetermined data processing according to the instruction and sends a processing result of the predetermined data processing and a notification to the control thread. - View Dependent Claims (2, 3)
-
-
4. A data processor, comprising:
-
an application management table for defining an application that makes a plurality of peripheral devices operate according to an operation sequence; device control threads for controlling the peripheral devices correspondingly to the plurality of respective peripheral devices; and a control thread that selects the device control thread such that the operation sequence defined by the application management table is later among the device control threads each of which has a higher priority than those of the device control threads and has input data to be processed by the peripheral device and makes it execute. - View Dependent Claims (5, 6, 7, 8, 9)
-
-
10. A data processing method in a data processor, comprising:
- an application control table for defining an application that makes a plurality of peripheral devices operate according to an operation sequence;
device control threads each for controlling the peripheral device corresponding to each of the plurality of peripheral devices; and
a control thread,wherein the control thread selects the device control thread such that the operation sequence defined by the application management table is later among the device control threads each of which has input data to be processed by the peripheral device, and makes the selected device control thread execute. - View Dependent Claims (11, 12)
- an application control table for defining an application that makes a plurality of peripheral devices operate according to an operation sequence;
Specification