Data processing apparatus and data processing method
First Claim
1. A data processing apparatus including a plurality of processors configured to sequentially execute data processing on a plurality of partial data of input data through a plurality of stages, wherein, in the data processing, it is determined, depending on a processing result of data in a preceding stage, whether or not to execute processing of data in a stage subsequent to the preceding stage, the apparatus comprising:
- a CPU coupled to a memory, wherein the CPU is programmed to provide;
a connecting unit configured to allocate the plurality of processors over the plurality of stages, and to connect the plurality of processors such that a plurality of partial data pieces are processed in parallel;
a detecting unit configured to detect and update, sequentially, with respect to at least one of the plurality of stages, a ratio of an amount of data that has been processed in a stage to an amount of data that is to be processed in the stage, as a passage rate;
a calculation unit configured to calculate, each time the data processing has been executed on a predetermined number of partial data of the input data, respective numbers of processors to be allocated to the plurality of stages based on the passage rate detected by the detecting unit at a current time, if the passage rate has been changed from a previous time; and
a changing unit configured to change a connection between the plurality of processors connected by the connecting unit so that the respective numbers of processors calculated by the calculation unit are allocated to the plurality of stages.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing apparatus includes a connecting unit that distributes the plurality of processing modules over the stages, and connects the plurality of processing modules such that a plurality of partial data are processed in parallel. The data processing apparatus detects, with respect to at least a part of the stages, a ratio of an amount of data for which processing in the subsequent stage has been executed, as a passage rate, acquires a processing time for a data amount to be processed in each stage, for which the passage rate was detected, based on the passage rate, and determines the number of processing modules distributed to each stage based on the data amount.
-
Citations
6 Claims
-
1. A data processing apparatus including a plurality of processors configured to sequentially execute data processing on a plurality of partial data of input data through a plurality of stages, wherein, in the data processing, it is determined, depending on a processing result of data in a preceding stage, whether or not to execute processing of data in a stage subsequent to the preceding stage, the apparatus comprising:
a CPU coupled to a memory, wherein the CPU is programmed to provide; a connecting unit configured to allocate the plurality of processors over the plurality of stages, and to connect the plurality of processors such that a plurality of partial data pieces are processed in parallel; a detecting unit configured to detect and update, sequentially, with respect to at least one of the plurality of stages, a ratio of an amount of data that has been processed in a stage to an amount of data that is to be processed in the stage, as a passage rate; a calculation unit configured to calculate, each time the data processing has been executed on a predetermined number of partial data of the input data, respective numbers of processors to be allocated to the plurality of stages based on the passage rate detected by the detecting unit at a current time, if the passage rate has been changed from a previous time; and a changing unit configured to change a connection between the plurality of processors connected by the connecting unit so that the respective numbers of processors calculated by the calculation unit are allocated to the plurality of stages. - View Dependent Claims (2, 3, 4, 5)
-
6. A data processing method in a data processing apparatus including a plurality of processors configured to sequentially execute data processing on a plurality of partial data of input data through a plurality of stages, wherein, in the data processing, it is determined, depending on a processing result of data in a preceding stage, whether or not to execute processing of the data in a stage subsequent to the preceding stage, the method comprising steps of:
-
allocating the plurality of processors over the plurality of stages; connecting the plurality of processors such that a plurality of partial data pieces are processed in parallel; detecting and updating, sequentially, with respect to at least one of the plurality of stages, a ratio of an amount of data that has been processed in a stage to an amount of data that is to be processed in the stage, as a passage rate; calculating, each time the data processing has been executed on a predetermined number of partial data of the input data, respective numbers of processors to be allocated to the plurality of stages based on the passage rate detected in the detecting step at a current time, if the passage rate has been changed from a previous time; and changing a connection between the plurality of processors connected in the connecting step so that the respective numbers of processors calculated in the calculating step are allocated to the plurality of stages.
-
Specification