Data processing system and data processing method
The data processing system addresses delays in robots with multiple viewpoints by dividing tasks and using path information to efficiently route data, reducing circuitry and processing delays, thus enhancing real-time operation.
Patent Information
- Application Number
- PCT/JP2024/009435
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-11
- Publication Date
- 2024-10-03
AI Technical Summary
In robots with multiple viewpoints, the increased number of image processing tasks leads to delays in motion control due to the need for extensive circuitry and concurrent data transfer limitations, impairing real-time operation.
A data processing system with multiple processing units that divide tasks into steps, utilize path information to route data through the system efficiently, and an arbitration unit to manage communication lines, reducing redundant implementations and circuitry requirements.
This approach reduces delays in data processing and circuitry needs, enabling more efficient parallel processing and real-time motion control in robots with multiple viewpoints.
Smart Images

Figure JP2024009435_03102024_PF_FP_ABST
Abstract
Description
Data processing system and data processing method
[0001] The present invention relates to a data processing system and a data processing method.
[0002] In recent years, in order to improve accuracy and prevent accidents in work using robots, cameras are being attached to various positions on the robot to enable multi-viewpoint monitoring of the work area and reduce blind spots. Generally, in robots with multiple viewpoints, the controller that performs image processing is integrated with or used in parallel with the controller that controls the robot's motion, and it is required that the image processing results be quickly reflected in the robot's motion. However, as the number of viewpoints increases, the amount of image processing that is performed increases, which increases the delay in image processing and impairs the real-time nature of the robot's motion control.
[0003] One method for solving this problem is to use an accelerator for image processing. For example, image processing is generally performed using a graphics processing unit (GPU) or a field programmable gate array (FPGA), which are hardware devices capable of parallel processing and high-speed image processing.
[0004] Patent Document 1 describes a parallel signal processing device in which a plurality of control units are connected to a memory via a bus, and each control unit executes processing in parallel according to an instruction from an overall control unit.
[0005] JP 2011-86158 A
[0006] In the technology described in Patent Document 1, each control unit that performs arithmetic processing is deployed on hardware as a dedicated circuit. Since there is an upper limit to the amount of circuitry that can be deployed on hardware, in order to increase the number of parallel processes executed simultaneously and improve parallelism, it is necessary to reduce the amount of circuitry required for implementation. Furthermore, in Patent Document 1, the control unit and memory are connected via a bus, which prevents simultaneous data transfer and creates waiting times, so it is also necessary to reduce delays in data transfer.
[0007] The present invention has been made in consideration of the above circumstances, and aims to provide a data processing system and a data processing method that can reduce the redundant implementation of common steps in a series of data processing operations and reduce the amount of circuitry required for implementation.
[0008] In order to solve the above problems, the data processing system of the present invention is provided on hardware and comprises a plurality of processing units which divide a series of data processing into steps and execute data processing for each step; an input unit which adds path information to the input data input to the processing units, which is a list of the order in which each of the processing units passes; an arbitration unit which connects the input unit and the processing units according to the path information added to the input data and switches the connection of communication lines between the processing units so that the data processed by the processing units follows the route order of the path information; and an output unit which discards the path information from the final data processed by the last processing unit specified in the path information and outputs the final data with the path information discarded, and is characterized in that after executing data processing for its own step, the processing unit updates the path information and outputs the processed data and the updated path information.
[0009] According to the present invention, it is possible to provide a data processing system and a data processing method that can reduce the overlapping implementation of common steps in a series of data processing and reduce the amount of circuitry required for implementation.
[0010] FIG. 1 is a diagram showing the configuration of a data processing system according to a first embodiment of the present invention. FIG. 2 is a diagram showing an example of the configuration of path information in the data processing system according to the first embodiment. FIG. 3 is a diagram showing another configuration of the data processing system according to the first embodiment. FIG. 4 is a flowchart showing the operation of an input unit of the data processing system according to the first embodiment. FIG. 5 is a flowchart showing the operation of an arbitration unit of the data processing system according to the first embodiment. FIG. 6 is a flowchart showing the operation of a processing unit of the data processing system according to the second embodiment of the present invention. FIG. 7 is a flowchart showing the operation of an output unit of the data processing system according to the first embodiment. FIG. 8 is a diagram showing the data processing operation of the data processing system according to the first embodiment, expanded according to a data flow. FIG. 9 is a diagram showing the configuration of a data processing system according to a second embodiment of the present invention. FIG. 10 is a diagram showing a case in which data transmission to P3 of a processing unit occurs simultaneously in the data processing system according to the second embodiment. FIG. 11 is a diagram showing a configuration when a data processing system 1 according to a third embodiment of the present invention is applied to an image processing system 2. FIG. 12 is a timing chart showing the processing steps of image data acquired by an image acquisition unit of the image processing system according to the third embodiment. FIG. 13 is a timing chart showing the processing steps of image data when path information added in the input unit of the image processing system according to the third embodiment is changed.
[0011] Embodiments of the present invention will be described in detail below with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing the configuration of a data processing system according to a first embodiment of the present invention. In each figure, the same reference numerals indicate the same components or components with similar functions. As shown in FIG. 1, the data processing system 1 includes, in hardware, an input unit 10 (I1), multiple processing units 20 (P1-P5), an output unit 30 (O1), a communication line 50 through which data and path information are transmitted, and an arbitration unit 100. The arbitration unit 100 includes a receiving port 120, a transmitting port 140, and a multiplexer 130. The transmitting port 140 is connected to all receiving ports 120 via the communication line 50 and the multiplexer 130. The input unit 10 is connected to the receiving ports 120 via the communication line 50 and transmits data and path information 150 (FIG. 2) via the communication line 50. The processing unit 20 is connected to the receiving port 120 and the transmitting port 140 via the communication line 50, and transmits and receives data and path information 150. The output unit 30 is connected to the transmitting port 140, and receives the data and path information 150.
[0012] The input unit 10, the processing unit 20, the output unit 30 and the arbitration unit 100 constitute a data processing device that is constituted by, for example, a microprocessor.
[0013] <Input Unit 10> The input unit 10 is an input module that adds path information 150 (FIG. 2) that is a list of the order in which the processing units 20 are passed to the input data that is input to the processing units 20.
[0014] <Path Information 150> Path information 150 is a list that explicitly indicates the next destination of data associated with itself, with the output unit 30 at the end. Path information 150 is added to data input to the input unit 10. FIG. 2 is a diagram illustrating an example of the configuration of path information 150. FIG. 2 illustrates an example of path information 150, showing a list of data destinations arranged from top to bottom. In the path information 150 illustrated in FIG. 2, if the data destinations are processing 1 "P1" (e.g., a binarization step), processing 4 "P4" (e.g., an edge enhancement step), and output 1 "O1" in this order, processing 1 "P1" (binarization step) and processing 4 "P4" (edge enhancement step) are processed in this order on hardware such as a controller, and the processed data is output to the user via output 1 "O1." In other words, the data output from the data processing system 1 has already undergone preprocessing of processing 1 "P1" (binarization step) and processing 4 "P4" (edge enhancement step) before being passed to the user.
[0015] The path information 150 can indicate the next destination by deleting the list of path information 150 that each processing unit has processed. Finally, the list of all path information 150 is deleted in the last processing unit 20.
[0016] <Processing Unit 20> The processing unit 20 is a plurality of processing modules that divide a series of data processing steps and execute data processing for each step. For example, if the processing unit 20 is an image data processing unit, it may perform a grayscale conversion step, a specific color extraction step, a binarization step, an edge enhancement step, a template matching step, a circle detection step, etc. The processing unit 20 deletes the information about the processing unit 20 at the beginning of the received path information 150 and transmits it to the arbitration unit 100 together with the data it has processed. After executing data processing for its own step, the processing unit 20 updates the path information 150 and outputs the processed data and the updated path information 150.
[0017] <Arbitration Unit 100> The arbitration unit 100 connects the input unit 10 and the processing unit 20 according to path information 150 added to the input data. The arbitration unit 100 switches the connection of the communication lines 50 between the processing units 20 so that the data processed by the processing units 20 follows the route order of the path information 150. The arbitration unit 100 controls the multiplexer 130 that connects the output side and input side modules according to the path information 150 output from the processing units 20. The arbitration unit 100 is connected in parallel to each module of the input unit 10, the processing unit 20, and the output unit 30.
[0018] <Output Unit 30> The output unit 30 is an output module that discards the path information 150 from the final data processed by the last processing unit 20 specified by the path information 150, and outputs the final data with the path information discarded.
[0019] In this way, the data processing system 1 includes, on its hardware, an input unit 10, a processing unit 20, an output unit 30, and an arbitration unit 100, which are modularized, and data with path information 150 attached thereto is distributed over a communication line 50 connecting the input unit 10, the processing unit 20, and the output unit 30. The arbitration unit 100 is connected in parallel to each module of the input unit 10, the processing unit 20, and the output unit 30. The path information 150 is added to the input data by the input unit 10, updated by each processing unit 20, and discarded by the final processing unit 20, so that only the processed data is output to the outside.
[0020] [Another Configuration of Data Processing System 1] Another configuration of the data processing system 1 will be described. FIG. 3 is a diagram showing another configuration of the data processing system according to the first embodiment of the present invention. In FIG. 3, the same components as those in FIG. 1 are designated by the same reference numerals. As shown in FIG. 3, the data processing system 1 includes, in hardware, an input unit 10A, a plurality of processing units 20A, an output unit 30A, a communication line 50 over which data and path information are transmitted, an arbitration unit 100A, a signal line 51 arranged in parallel with the communication line 50, and a control unit 110 that uses the signal line 51 to confirm the arrival of data at the input unit 10A, the processing unit 20A, and the output unit 30A and to control data transmission.
[0021] The arbitration unit 100 includes a receiving port 120A, a transmitting port 140A, and a multiplexer 130A. The transmitting port 140A is connected to all of the receiving ports 120A via a communication line 50 and the multiplexer 130A. The input unit 10A is connected to the receiving port 120A via the communication line 50 and transmits data and path information 150 ( FIG. 2 ) via the communication line 50. The processing unit 20A is connected to the receiving port 120A and the transmitting port 140A via the communication line 50 and transmits and receives the data and path information 150A. The output unit 30A is connected to the transmitting port 140A and receives the data and path information 150.
[0022] 3 includes a control unit 110 and a signal line 51 arranged in parallel with the communication line 50, allowing the control unit 110 to actively check the arrival of data at each unit using the signal line 51. The data processing system 1 executes communications between the processing units 20 simultaneously in parallel, but is able to grasp the status of each processing unit 20 and ensure the reliability of data processing. Furthermore, as will be described later, when priorities are assigned to the processing units 20, the control unit 110 can indicate these priorities using the signal line 51, thereby enabling the implementation of parallel processing.
[0023] Although the arbitration unit 100 and the control unit 110 are shown as separate blocks in FIG. 3, the arbitration unit 100 may have the control function of the control unit 110 .
[0024] The operation of the data processing system configured as described above will be explained below. The operation will be explained using the data processing system 1 in FIG. 1 as an example. [Operation Overview] An overview of the processing flow of the data processing system 1 will be described. 1. When data is input to the data processing system 1 (FIG. 1) (for example, capturing captured image data), the input unit 10 adds path information 150 (FIG. 2) to the input data, and inputs the data and path information 150 to the arbitration unit 100 (FIG. 1).
[0025] 2. The arbitration unit 100 switches the multiplexer 130 (FIG. 1) between the input unit 10 and the processing unit 20 of the output destination in accordance with the path information 150 added to the input data, and transfers the data to the connected processing unit 20.
[0026] 3. Upon receiving the data, the processing unit 20 executes its own process and updates the path information 150 (deleting its own list from the path information 150). 4. The processing unit 20 outputs the processed data and path information 150 to the arbitration unit 100.
[0027] 5. The arbitration unit 100 outputs the data and path information 150 to the next processing unit 20 in accordance with the path information 150. 6. The data processing system 1 repeats the above steps 3 to 5 until the series of steps is completed.
[0028] 7. Finally, the arbitration unit 100 inputs the data to the output unit 30, which then outputs the data as the processing result of the data processing system 1.
[0029] The data processing system 1 can save logic because it is not necessary to separately implement common processes. The data processing system 1 can communicate in parallel as long as the outputs to the processing unit 20 do not overlap.
[0030] [Flowchart] The operations of the input unit 10, arbitration unit 100, processing unit 20, and output unit 30 of the data processing system 1 will be described.
[0031] <Operation of Input Unit 10> Figure 4 is a flowchart showing the operation of the input unit 10 of the data processing system 1. In step S11, the input unit 10 (Figure 1) determines whether or not data has been input. If no data has been input, the input unit 10 waits until data is input (S11: No). If data has been input (S11: Yes), in step S12 the input unit 10 adds path information 150 (Figure 2) to the input data.
[0032] In step S13, the input unit 10 performs processing for generating and updating the path information 150. In step S14, the input unit 10 transmits the data and the path information 150, and then ends the processing of this flow.
[0033] <Operation of Arbitration Unit 100> Figure 5 is a flowchart showing the operation of the arbitration unit 100 of the data processing system 1. In step S21, the arbitration unit 100 (Figure 1) determines whether or not it has received data and path information 150. If it has not received data and path information 150, it waits until it receives the data and path information 150 (S21: No). If it has received data and path information 150 (S21: Yes), in step S22 the arbitration unit 100 reads out information about the destination specified in the path information 150.
[0034] In step S23, the arbitration unit 100 determines whether the destination is ready to receive data. The determination of whether the destination is ready to receive data is made by inquiring about the availability of reception via a communication line (not shown), or, in the configuration of FIG. 3, by using signal line 51 to check with each unit whether data can be received. If the destination is not ready to receive data, the arbitration unit 100 waits until the destination is ready to receive data (S23: No). If the destination is ready to receive data (S23: Yes), in step S24, the arbitration unit 100 switches the multiplexer 130 to connect the receiving port 120 connected to the source to the transmitting port 140 connected to the destination.
[0035] In step S24, the arbitration unit 100 determines whether or not the transmission of the data and path information 150 is complete. If the transmission of the data and path information 150 is complete, in step S24, the arbitration unit 100 releases the connection made in step S24 and ends the processing of this flow.
[0036] 6 is a flowchart showing the operation of the processing unit 20 of the data processing system 1. In step S31, the processing unit 20 determines whether or not the data and path information 150 has been received. If the data and path information 150 has not been received, the processing unit 20 waits until the data and path information 150 is received (S31: No). If the data and path information 150 has been received (S31: Yes), the processing unit 20 switches to a receiving state in step S32.
[0037] In step S33, the processing unit 20 processes the generation and update data of the path information 150. In step S34, the processing unit 20 transmits the data and the path information 150. In step S35, the processing unit 20 switches to a receivable state and ends the processing of this flow.
[0038] <Operation of Output Unit 30> Figure 7 is a flowchart showing the operation of the output unit 30 of the data processing system 1. In step S41, the output unit 30 determines whether or not it has received data and path information 150. If it has not received data and path information 150, it waits until it receives the data and path information 150 (S41: No). If it has received data and path information 150 (S41: Yes), the output unit 30 switches to a receiving state in step S42. In step S43, the output unit 30 outputs the data as a processing result to the outside. The output unit 30 switches to a receivable state and ends the processing of this flow.
[0039] [Data Flow] Next, a detailed description will be given of the data processing operation of the data processing system 1. Fig. 8 is a diagram showing the data processing operation of the data processing system 1 expanded according to the data flow. Fig. 8 shows the data flow expanded into <Stage 1> (left side of Fig. 8), <Stage 2> (center of Fig. 8), and <Stage 3> (right side of Fig. 8).
[0040] <Stage 1> In <Stage 1>, when data is input to the data processing system 1, I1 of the input unit 10 transmits the data and path information 150 ("P1", "P4", "O1") (lower left diagram in Figure 8) to the arbitration unit 100.
[0041] The receiving port 120 (FIG. 1) of the arbitration unit 100 receives data and path information 150 (lower left diagram in FIG. 8). The arbitration unit 100 controls the switching of the multiplexer 130 (FIG. 1) so that the data and path information 150 is transmitted to the transmitting port 140 connected to P1 of the processing unit 20, which is the destination indicated in the path information 150.
[0042] <Stage 2> In <Stage 2>, the processing unit 20 processes the data for the P1 step, deletes the information at the top of the path information 150 (its own list information), and updates the path information 150. The updated path information 150 is path information 150 ("P4" "O1") (lower center diagram in FIG. 8). After completing data processing for the P1 step, the processing unit 20 transmits the data and path information 150 to the arbitration unit 100.
[0043] The receiving port 120 of the arbitration unit 100 receives the data and path information 150 (bottom center diagram in FIG. 8 ). The arbitration unit 100 controls the switching of the multiplexer 130 ( FIG. 1 ) so that the data and path information 150 is transmitted to the transmitting port 140 connected to P4 of the processing unit 20, which is the destination indicated in the path information 150.
[0044] <Stage 3> In <Stage 3>, the processing unit 20 processes the data for step P4, deletes the information at the beginning of the path information 150, and updates it to path information 150 ("O1") (lower right diagram in FIG. 8). After completing the data processing for step P4, the processing unit 20 transmits the data and path information 150 to the arbitration unit 100.
[0045] The receiving port 120 of the arbitration unit 100 receives the data and path information 150 (the lower right diagram in FIG. 8 ). The arbitration unit 100 controls the switching of the multiplexer 130 so that the data and path information 150 is transmitted to the transmitting port 140 connected to “O1” of the output unit 30, which is the destination indicated in the path information 150.
[0046] “O1” of the output unit 30 discards the path information 150 and outputs the data without the path information 150 to the outside of the data processing system 1.
[0047] In this way, in the data processing system 1, the input unit 10 adds path information 150 to the data, and the arbitration unit 100 can transfer the data to the corresponding processing unit 20 or output unit 30 in accordance with the path information 150. In addition, any destination can be assigned to the path information 150, and processing can be executed in parallel in any order.
[0048] Second Embodiment Fig. 9 is a diagram showing the configuration of a data processing system according to a second embodiment of the present invention. Components that are the same as those in Fig. 1 are given the same reference numerals. The data processing system 1 shown in Fig. 9 includes a plurality of processing units 20 P3 each having the same processing function. The function of the redundantly implemented processing unit 20 P3 may be, for example, a function that requires more processing time than the other processing units 20.
[0049] The operation of the data processing system 1 shown in FIG. 9 will be described with reference to the above configuration. A method for transmitting data to processing units 20 having the same processing function will be described. FIG. 10 is a diagram illustrating a case in which data transmission to P3 of the processing unit 20 occurs simultaneously in the data processing system 1 shown in FIG. 9. The arbitration unit 100B accepts data transmission from P1 and P4 of the processing units 20 to P3 of the processing unit 20 simultaneously. First, the arbitration unit 100B controls the multiplexer 130 to connect the receive port 120 connected to P1 of the processing unit 20 with the transmit port 140 of P3 connected to one of the processing units 20, thereby transmitting data. Then, the arbitration unit 100B controls the multiplexer 130 to connect the receive port 120 connected to P4 of the processing unit 20 with the transmit port 140 of P3 connected to the other processing unit 20, thereby transmitting data. Because these connections are completely independent, even if one transmission is in progress, there is no conflict with the other transmission.
[0050] Therefore, data transmission from P1 to P3 of the processing unit 20 and data transmission from P4 to P3 of the processing unit 20 can be performed simultaneously in parallel. According to this embodiment, the data processing system 1 can execute communications between processing units 20 simultaneously in parallel. Furthermore, it is possible to switch the destination of data transmission depending on the operating status of multiple processing units 20 having the same function. This makes it possible to reduce delays in data transfer during parallel processing, and also makes it possible to adjust parallel processing depending on the frequency and speed of processing.
[0051] In this embodiment, connections are made in order starting from the receiving port 120 connected to P1 of the processing unit 20, but the arbitration unit 100 can also arbitrate connections in any order, for example, by assigning a priority to the processing unit 20.
[0052] Third Embodiment Fig. 11 is a diagram showing a configuration in which a data processing system 1 according to a third embodiment of the present invention is applied to an image processing system 2. Components that are the same as those in the data processing system 1 of Fig. 1 are assigned the same reference numerals. The image processing system 2 shown in Fig. 11 includes an image acquisition unit 160, an input unit 10, a processing unit 20, an output unit 30, an arbitration unit 100, and a processing result control unit 170. The image acquisition unit 160 acquires image data to be processed by the data processing system 1 and inputs it to the data processing system 1. The image acquisition unit 160 is, for example, an imaging device such as a camera, or a data reading device that imports image data stored in a storage device, etc.
[0053] The processing result control unit 170 acquires the image processing results output from the data processing system 1 and transmits them to the outside of the image processing system 2. The processing result control unit 170 is, for example, a device with a communication function that transmits the image processing results to another computer, or a data output device that stores the image processing results in a storage device.
[0054] The processing unit 20 in the image processing system 2 shown in Fig. 11 is divided into multiple processing units 20 and implemented according to the relevance and execution frequency of the multiple image processes executed by the image processing system 2. The multiple processing units 20 are processes that require more processing time than other processing units 20, similar to P3 of the processing unit 20 implemented in duplicate as shown in Fig. 9, and in Fig. 11, three P3 of the processing units 20 are provided.
[0055] In this embodiment, we take as an example a case where the processing in P1 and P2 of the processing unit 20 is pre-processing of the image, and P3, P4, and P5 of the processing unit 20 are the main processing, that is, the processing time required for P1 and P2 of the processing unit 20 is relatively short, and the processing time required for P3, P4, and P5 of the processing unit 20 is relatively long.
[0056] 12 and 13, the flow of image processing in the image processing system 2 will be described below. Fig. 12 is a timing chart showing the processing steps of image data acquired by the image acquisition unit 160 of the image processing system 2. As shown in the timing chart of Fig. 12, path information 150 (lower diagram of Fig. 12) is added to all image data, and the same processing is performed on each image data.
[0057] Image data acquired by C1, C2, and C3 of the image acquisition unit 160 (FIG. 11) is input to I1, I2, and I3 of the input unit 10 (FIG. 11), respectively. I1, I2, and I3 of the input unit 10 each add path information 150 (lower diagram in FIG. 12) and transmit the image data and path information 150 (lower diagram in FIG. 12).
[0058] In the image processing system 2 shown in Fig. 11, all image data is sent to only one processing unit 20, P1 and P2, so image data is processed one by one. As shown in the timing chart in the upper diagram of Fig. 12, P1 and P2 are executed one by one for each of the C1 image, C2 image, and C3 image. Thereafter, the image data of C1, which has been processed first by P2 of the processing unit 20, is sent to P3 of the processing unit 20.
[0059] Next, the image data C2 that has finished processing at P2 of the processing unit 20 is sent by the arbitration unit 100 (FIG. 11) to P3 of the processing unit 20 that is not currently processing, as shown in the timing chart in the upper diagram of FIG. 12. Similarly, the image data C3 is sent by the arbitration unit 100 to P3 of the processing unit 20 that is not currently processing. Then, the image data are sent to the output unit 30 in order, starting with the image data that has finished processing at P3 of the processing unit 20.
[0060] Next, a case where the path information 150 added by the input unit 10 is changed will be described. FIG. 13 is a timing chart showing the image data processing steps when the path information 150 added by the input unit 10 is changed. As shown in the timing chart of FIG. 13, a case where path information 151 (path information 150), path information 152 (path information 150), and path information 153 (path information 150) are added to image data acquired by the image acquisition units 160C1, C2, and C3 is shown. The path information 151 shown in the lower diagram of FIG. 13 is the same as the path information 150 shown in the lower diagram of FIG. 12 (before change). The path information 152 shown in the lower diagram of FIG. 13 is the changed path information 150 obtained by changing the path information 151. The path information 153 shown in the lower diagram of FIG. 13 is the path information 150 obtained by further changing the changed path information 152.
[0061] 13, image data acquired by C1, C2, and C3 of the image acquisition unit 160 are input to I1, I2, and I3 of the input unit 10, respectively. I1, I2, and I3 of the input unit 10 add path information 151, path information 152, and path information 153 to the image data, respectively, and transmit the image data. Thereafter, each piece of image data is transmitted one by one to P1 and P2 of the processing unit 20, which is a common pre-processing unit.
[0062] 13, the image data that has undergone preprocessing is sent to the processing unit 20, which executes the main image processing specified by the pass information 151, pass information 152, and pass information 153. The processing unit 20 then executes the main image processing, and the image data that has undergone the main image processing is sent to the output unit 30.
[0063] According to this embodiment, the data processing system 1 can execute multiple image processing operations in parallel. Furthermore, by changing the path information 150 added to the data, it is possible to freely switch the processing steps to be performed on the data.
[0064] [Effects] As described above, the data processing system 1 (FIG. 1) according to this embodiment includes: a plurality of processing units 20 that are provided on hardware and that divide a series of data processing steps and execute data processing for each step; an input unit 10 that adds path information 150, which is a list of the order in which each processing unit 20 passes, to input data input to the processing units 20; an arbitration unit 100 that connects the input unit 10 and the processing units 20 according to the path information 150 added to the input data and switches the connection of the communication lines 50 between the processing units 20 so that the data processed by the processing units 20 follows the route order of the path information 150; and an output unit 30 that discards the path information 150 from the final data processed by the last processing unit 20 specified by the path information 150 and outputs the final data with the path information discarded. After the processing unit 20 executes data processing for its own step, it updates the path information 150 and outputs the processed data and the updated path information 150.
[0065] In this way, in the data processing system 1, the input unit 10 adds path information 150 ( FIG. 2 ) to the data, and the arbitration unit 100 can transfer the data to the appropriate processing unit 20 or output unit 30 in accordance with the path information 150. Therefore, the data processing system 1 can assign and execute a plurality of process steps (e.g., image preprocessing) to be performed on the input data to the appropriate processing unit 20. Data output outside the data processing system 1 is data for which each process step (e.g., image preprocessing) has already been completed on the hardware, thereby reducing the processing load on the user at a later stage.
[0066] Furthermore, if multiple processes implemented in the data processing system 1 include common steps, the steps can be implemented as a single processing unit 20, eliminating the need to implement the common steps redundantly. This makes it possible to reduce the amount of circuitry required for implementation.
[0067] The differences between this data processing system 1 and the prior art (for example, Patent Document 1) are described below. Regarding bus and usage rights monopoly: Prior art is configured such that multiple devices are connected in parallel to a single signal line / communication line, and only one master can use the bus at a time. In contrast, this data processing system 1 allows simultaneous use as long as the destination is not currently receiving data.
[0068] - Master / Slave: In conventional technology, only the master has the right to use the bus. In order for a slave to use the bus, it is necessary to interrupt the master to obtain the right to use the master and control communication. In contrast, the data processing system 1 has the feature that all modules (input unit 10, processing unit 20, output unit 30) have the right to use the bus.
[0069] As described above, the data processing system 1 can reduce the redundant implementation of common steps in a series of data processing, and reduce the amount of circuitry required for implementation.
[0070] In the data processing system 1 (Figure 1), the input unit 10, processing unit 20, and output unit 30 have their inputs and outputs connected in parallel to the arbitration unit 100, and the input unit 10 and processing unit 20 transmit data and path information 150 to the arbitration unit 100, and the arbitration unit 100 transfers the data and path information 150 transmitted by the input unit 10 or processing unit 20 to the processing unit 20 or output unit 30 specified by the path information 150.
[0071] In this way, the arbitration unit 100 of the data processing system 1 can cause the parallel-connected input unit 10, processing unit 20, and output unit 30 to execute processes in parallel in any order. The data processing system 1 can execute communications between the processing units 20 simultaneously in parallel. It can also switch the destination of data transmission depending on the operating status of multiple processing units 20 with the same function. In this case, delays in data transfer during parallel processing can be reduced.
[0072] In the data processing system 1 (FIG. 1), after executing data processing, the processing unit 20 deletes its own processing unit 20 from the list of path information 150 to shorten the list of path information 150, and the output unit 30 deletes the path information 150 from the data processed by the last processing unit 20 and outputs the data without the path information 150.
[0073] In this way, data processing system 1 adds path information 150 to the data within the system, and only the processed data is output to the outside of the system. In other words, since multiple parallel connections can be completed within the system, there is no effect on other devices that use data processing system 1, and therefore it can be applied universally to various devices.
[0074] In the data processing system 1 (Figure 1), the processing unit 20 has multiple processing units 20 that perform the same processing, the path information 150 has a list of processing units 20 that perform the same processing, and the arbitration unit 100 connects one processing unit 20 that performs the same processing while connecting the other processing unit 20 that performs the same processing in accordance with the path information 150.
[0075] By doing this, the data processing system 1 can add any path information 150 in the input unit 10. Therefore, multiple processes to be performed on the input data can be implemented as separate processing units 20. Furthermore, if multiple processes implemented in the data processing system 1 include a common step, by implementing that step as a single processing unit, it is not necessary to implement the common step redundantly. Therefore, it is possible to reduce the amount of circuitry required for implementation.
[0076] In the data processing system 1 (FIG. 1), when one processing unit 20 repeatedly executes data processing, the input unit 10 writes the processing unit 20 in the list of path information 150 in a redundant manner.
[0077] In this way, any destination can be assigned to the path information 150, and processes can be executed in parallel in any order. For example, multiple processes to be performed on input data can be implemented as separate processing units 20. Furthermore, if multiple processes implemented in the data processing system 1 include a common step, implementing that step as a single processing unit eliminates the need to implement the common step redundantly. This makes it possible to reduce the amount of circuitry required for implementation.
[0078] The data processing system 1 (FIG. 3) comprises a communication line 50 through which data and path information 150 are circulated, a signal line 51 arranged in parallel with the communication line 50, and a control unit 110 that uses the signal line 51 to confirm the arrival of data at the input unit 10, processing unit 20, and output unit 30 and to control data transmission.
[0079] In this way, the control unit 110 (FIG. 3) of the data processing system 1 can actively check the arrival of data at each unit using the signal line 51, thereby ensuring the reliability of data processing. Furthermore, when priorities are set for the processing units 20, the control unit 110 can indicate these priorities using the signal line 51, thereby enabling the implementation of parallel processing.
[0080] In the data processing system 1 (FIG. 11), the image processing system 2 includes an image acquisition unit 160 that acquires image data, an input unit 10 that adds path information 150 to the image data acquired by the image acquisition unit, and a processing unit 20 that executes the image processing steps for each of a plurality of steps according to the relevance and / or execution frequency of the image processing steps.
[0081] Conventionally, in remote control of a robot (corresponding to the hardware in this specification), it has been effective to use multiple viewpoints such as hand cameras to deal with blind spots, but the more cameras used, the worse the visibility becomes. Even with accelerators such as FPGAs, there are limits to high-speed parallel processing.
[0082] The image processing system 2 is implemented in, for example, a robot controller, performs image processing within the robot controller, and provides the user with the image processing results. The data processing system 1 (image processing system 2) performs image processing to support operation, while reducing the number of transferred images to improve visibility and reduce the amount of data transferred.
[0083] The present invention is not limited to the above-described embodiments, and includes other modifications and applications within the scope of the claims.
[0084] The above-described embodiments have been described in detail to clearly explain the present invention, and are not necessarily limited to those including all of the described configurations. Furthermore, it is possible to replace part of the configuration of one embodiment with the configuration of another embodiment, or to add the configuration of another embodiment to the configuration of one embodiment. Furthermore, it is possible to add, delete, or replace part of the configuration of each embodiment with another configuration.
[0085] REFERENCE SIGNS LIST 1 Data processing system (data processing device) 2 Image processing system (data processing system) 10, 10A Input section 20, 20A Processing section 30, 30A Output section 50 Communication line 51 Signal line 100, 100A, 100B Arbitration section 110 Control section 120 Receiving port 140 Transmitting port 130 Multiplexer 150 Path information
Claims
1. A data processing system comprising: a plurality of processing units provided on hardware, which divide a series of data processing into steps and execute data processing for each step; an input unit which adds path information, which is a list of the order in which each of the processing units passes, to input data input to the processing units; an arbitration unit which connects the input unit and the processing units in accordance with the path information added to the input data, and switches the connection of communication lines between the processing units so that the data processed by the processing units follows the route order of the path information; and an output unit which discards the path information from the final data processed by the last processing unit specified in the path information, and outputs the final data with the path information discarded, wherein the processing units update the path information after executing data processing for their own steps, and output the processed data and the updated path information.
2. The data processing system according to claim 1, characterized in that the input unit, the processing unit, and the output unit have inputs and outputs connected in parallel to the arbitration unit, the input unit and the processing unit transmit data and the path information to the arbitration unit, and the arbitration unit transfers the data and the path information transmitted by the input unit or the processing unit to the processing unit or the output unit specified by the path information.
3. The data processing system according to claim 1, characterized in that, after executing data processing, the processing unit deletes its own processing unit from the list of path information to shorten the list of path information, and the output unit deletes the path information from the data processed by the last processing unit and outputs data without the path information.
4. The data processing system according to claim 1, characterized in that the processing unit has a plurality of processing units performing the same processing, the path information has a list of the processing units performing the same processing, and the arbitration unit connects one of the processing units performing the same processing while connecting the other processing unit performing the same processing in accordance with the path information.
5. The data processing system according to claim 1, characterized in that, when one of said processing units executes data processing repeatedly, said input unit describes said processing unit in the list of said path information in a redundant manner.
6. The data processing system according to claim 1, further comprising: a communication line through which data and said path information are distributed; a signal line arranged in parallel with said communication line; and a control unit which uses said signal line to confirm arrival of data at said input unit, said processing unit, and said output unit and to control data transmission.
7. A data processing system as described in claim 1, further comprising an image acquisition unit that acquires image data, wherein the input unit adds the path information to the image data acquired by the image acquisition unit, and wherein the processing unit executes the data processing for each of a plurality of image processing steps according to the relevance and / or frequency of execution of the image processing steps.
8. A data processing method for a data processing device implemented on hardware, the data processing device having a plurality of processing units which divide a series of data processing into steps, the plurality of processing units executing data processing for each step, updating path information after executing data processing for their own step, and outputting the processed data and the updated path information; adding the path information which is a list of the order in which each of the processing units is passed through to input data input to the processing units; switching the connection between communication lines between the processing units in accordance with the path information added to the input data so that the data processed by the processing units follows the route order of the path information; and discarding the path information from the data processed by the last processing unit specified in the path information, and outputting final data with the path information discarded.
Citation Information
Patent Citations
Delay time display method
JP2002366605A
Setting method, deleting method, setting device, deleting device, setting program, and deleting program of network resource, and recording medium recording these programs
JP2005252404A
Routing method coping with overlay network and overlay node
JP2006246205A
Parallel signal processing apparatus
JP2011086158A
