Data processing system and data processing method
The data processing system addresses delays and redundant circuitry by dividing processing into steps with path information management, facilitating efficient parallel execution and reduced delays.
Patent Information
- Application Number
- JP2023051969
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2043-03-28
AI Technical Summary
Existing data processing systems face challenges with increased delays in image processing due to the number of viewpoints in robots, leading to impaired real-time motion control, and require redundant circuitry implementation and inefficient data transfer.
A data processing system that divides data processing into steps, using an input unit to add path information, an arbitration unit to manage connections between processing units, and an output unit to discard path information, allowing parallel execution of processes without redundant circuitry.
The system reduces redundant implementation of common steps and circuitry requirements, enabling efficient parallel processing with reduced data transfer delays and improved real-time performance.
Smart Images

Figure 2024140684000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a data processing system and a data processing method. [Background technology]
[0002] In recent years, in order to improve accuracy and prevent accidents in robotic tasks, cameras are being attached to various positions on the robot to enable multi-viewpoint monitoring of the work area and reduce blind spots. In general, in robots with multiple viewpoints, the controller that processes images is integrated with or used in parallel with the controller that controls the robot's movements, and it is required that the results of image processing be quickly reflected in the robot's movements. However, as the number of viewpoints increases, the amount of image processing that is performed also increases, which increases the delay in image processing and impairs the real-time nature of the robot's movement control.
[0003] One method to solve 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) as hardware 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. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2011-86158 A Summary of the Invention [Problem to be solved by the invention]
[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 the memory are connected via a bus, and data transfer cannot be executed simultaneously, resulting in waiting time, so that delays in data transfer must also be reduced.
[0007] The present invention has been made in consideration of the above circumstances, and has an object to provide a data processing system and a data processing method that can reduce duplicate implementation of common steps in a series of data processing, and reduce the amount of circuitry required for implementation. [Means for solving the problem]
[0008] In order to solve the above problems, the data processing system of the present invention comprises 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 is passed through, to input data input to the processing units; an arbitration unit which connects the input unit and the processing units according to the path information added to the 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 and outputs data from the final data processed by the last processing unit specified by the path information, 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. Effect of the Invention
[0009] According to the present invention, it is possible to provide a data processing system and a data processing method that can reduce duplicate implementation of common steps in a series of data processing, and reduce the amount of circuitry required for implementation. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram showing a configuration of a data processing system according to a first embodiment of the present invention. [Diagram 2] 4] FIG. 4 is a diagram showing an example of a configuration of path information in the data processing system according to the first embodiment. [Diagram 3] FIG. 2 is a diagram showing another configuration of the data processing system according to the first embodiment. [Figure 4] 5 is a flowchart showing the operation of an input section of the data processing system according to the first embodiment. [Diagram 5] 6 is a flowchart showing an operation of an arbitration unit of the data processing system according to the first embodiment. [Figure 6] 10 is a flowchart showing the operation of a processing unit of a data processing system according to a second embodiment of the present invention. [Figure 7] 6 is a flowchart showing an operation of an output unit of the data processing system according to the first embodiment. [Figure 8] FIG. 2 is a diagram illustrating the data processing operation of the data processing system according to the first embodiment, developed according to a data flow. [Figure 9] FIG. 11 is a diagram illustrating a configuration of a data processing system according to a second embodiment of the present invention. [Figure 10] FIG. 11 is a diagram showing a case where data transmission to a processing unit P3 occurs simultaneously in the data processing system according to the second embodiment. [Figure 11] FIG. 13 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. [Figure 12] 13 is a timing chart showing a process of processing image data acquired by an image acquisition section of the image processing system according to the third embodiment. [Figure 13] 13 is a timing chart showing a process of processing image data when path information added in an input unit of the image processing system according to the third embodiment is changed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. (First embodiment) 1 is a diagram showing the configuration of a data processing system according to a first embodiment of the present invention. In each diagram, the same reference numbers indicate the same components or components having similar functions. As shown in FIG. 1, the data processing system 1 includes, in hardware, an input unit 10 (I1), a plurality of processing units 20 (P1 to 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 of the receiving ports 120 via a communication line 50 and the multiplexer 130. The input unit 10 is connected to the receiving port 120 through the communication line 50, and transmits data and path information 150 (FIG. 2) through the communication line 50. The processing unit 20 is connected to the receiving port 120 and the transmitting port 140 through the communication line 50, and transmits and receives the 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 constituted by, for example, a microprocessor.
[0013] <Input section 10> The input unit 10 is an input module that adds path information 150 (FIG. 2) that is a list of the order of passing through each of the processing units 20 to the input data that is input to the processing units 20.
[0014] <Pass information 150> The path information 150 is a list that explicitly indicates the next destination of data associated with itself, and the end of the list is the output unit 30. The path information 150 is added to data input to the input unit . FIG. 2 is a diagram showing an example of the configuration of the path information 150. FIG. 2 shows a list of data transmission destinations arranged from top to bottom as an example of the path information 150. In the path information 150 shown in FIG. 2, when the data transmission destinations are processing 1 "P1" (for example, a binarization process), processing 4 "P4" (for example, an edge enhancement process), and output 1 "O1" in that order, processing 1 "P1" (binarization process) and processing 4 "P4" (edge enhancement process) are processed in that order on hardware such as a controller, and the processed data is output to the user at output 1 "O1". In other words, the data output from the data processing system 1 has already been pre-processed by processing 1 "P1" (binarization process) and processing 4 "P4" (edge enhancement process) at the point of being handed over to the user.
[0015] The path information 150 can indicate the next destination by deleting the list of the path information 150 that it has processed in each processing unit. Finally, the list of all the path information 150 is deleted in the last processing unit 20.
[0016] <Processing section 20> The processing unit 20 is a plurality of processing modules that divide a series of data processing into steps and execute data processing for each step. For example, when the processing unit 20 is an image data processing unit, it includes a grayscale process, a specific color extraction process, a binarization process, an edge enhancement process, a template matching process, a circle detection process, and the like. The processing unit 20 deletes the information about the processing unit 20 from the head of the received path information 150 and transmits it to the arbitration unit 100 together with the data that 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] <Mediation Department 100> The arbitration unit 100 connects the input unit 10 and the processing unit 20 according to the path information 150 added to the data. The arbitration unit 100 switches the connection between 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 a multiplexer 130 that connects modules on the output side and input side in accordance with path information 150 output from the processing unit 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 and outputs data from the final data processed by the last processing unit 20 specified by the path information 150 .
[0019] In this way, the data processing system 1 includes, on the 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 added thereto is distributed on 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 which the same components as those in Fig. 1 are given 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 through which data and path information are distributed, 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 through the communication line 50, and transmits data and path information 150 (FIG. 2) through the communication line 50. The processing unit 20A is connected to the receiving port 120A and the transmitting port 140A through 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 signal line 51 arranged in parallel with the communication line 50, and a control unit 110, so that the control unit 110 can actively check the arrival of data at each unit using the signal line 51. The data processing system 1 executes communication between the processing units 20 simultaneously in parallel, but can grasp the state of each processing unit 20 and ensure the reliability of data processing. In addition, when a priority is set for the processing units 20, as described later, the control unit 110 can indicate this priority using the signal line 51, thereby achieving the effectiveness of parallel processing.
[0023] In FIG. 3, the arbitration unit 100 and the control unit 110 are shown as separate blocks, but the arbitration unit 100 may have a control function for the control unit 110.
[0024] The operation of the data processing system configured as above will be described below, taking the data processing system 1 of FIG. [Operation overview] The processing flow of the data processing system 1 will now be outlined. 1. When data is input into the data processing system 1 (FIG. 1) (e.g., 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) to connect the input unit 10 and the output destination processing unit 20 in accordance with the path information 150 added to the data, and transfers the data to the connected processing unit 20.
[0026] 3. The processing unit 20 that received the data executes its own process and updates the path information 150 (deletes 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 the 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, and the output unit 30 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 if 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> FIG. 4 is a flowchart showing the operation of the input section 10 of the data processing system 1. As shown in FIG. In step S11, the input unit 10 (FIG. 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 is input (S11: Yes), the input unit 10 adds path information 150 (FIG. 2) to the input data in step S12.
[0032] In step S13, the input unit 10 processes the generation and update data of the path information 150. In step S14, the input unit 10 transmits the data and the path information 150, and the process of this flow ends.
[0033] <Operation of the arbitration unit 100> FIG. 5 is a flowchart showing the operation of the arbitration unit 100 of the data processing system 1. As shown in FIG. In step S21, arbitration unit 100 (FIG. 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 data and path information 150 (S21: No). When data and path information 150 are received (S21: Yes), the arbitration unit 100 reads out information about the destination specified in the path information 150 in step S22.
[0034] In step S23, the arbitration unit 100 determines whether the destination is in a state where data can be received. The determination of whether the destination is in a state where data can be received is performed by inquiring about the reception availability via a communication line (not shown), and in the case of the configuration of FIG. 3, the arbitration unit 100 uses the signal line 51 to confirm whether data can be received by each unit. If the destination is not in a receiving state, the process waits until the destination becomes receiving (S23: No). If the destination becomes receiving (S23: Yes), the arbitration unit 100 switches the multiplexer 130 in step S24 to connect the receiving port 120 connected to the source and 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 has been completed. When the transmission of the access data and the path information 150 is completed, the arbitration unit 100 in step S releases the connection established in the above step S24, and ends the processing of this flow.
[0036] <Operation of Processing Unit 20> FIG. 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 it has received the data and path information 150. If it has not received the data and path information 150, it waits until it receives the data and path information 150 (S31: No). If data and path information 150 have 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 S 34 , 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> FIG. 7 is a flowchart showing the operation of the output section 30 of the data processing system 1. In step S41, the output unit 30 determines whether or not it has received the data and path information 150. If it has not received the data and path information 150, it waits until it receives the data and path information 150 (S41: No). If data and path information 150 have been received (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, the data processing operation of the data processing system 1 will be described in detail. Fig. 8 is a diagram showing the data processing operation of the data processing system 1 expanded according to a 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") to the arbitration unit 100 (lower left diagram in FIG. 8).
[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 switches and controls the multiplexer 130 (FIG. 1) so as to transmit the data and path information 150 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 data for the P1 process, 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 the data processing of 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 (the lower center diagram in FIG. 8). The arbitration unit 100 switches and controls the multiplexer 130 (FIG. 1) so as to transmit the data and path information 150 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 the P4 step, deletes the information at the beginning of the path information 150, and updates it to path information 150 ("O1") (the lower right diagram in FIG. 8). After completing the data processing of 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 switches and controls the multiplexer 130 so as to transmit the data and path information 150 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 the 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 according to 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 9 is a diagram showing the configuration of a data processing system according to the second embodiment of the present invention, in which the same components as those in FIG. 9 includes a plurality of P3 processing units 20 having the same processing function. The function of P3 of the processing unit 20 that is redundantly implemented may be, for example, a function that requires more processing time than other processing units 20.
[0049] In the above configuration, the operation of the data processing system 1 shown in FIG. 9 will be described. A method for transmitting data to a processing unit 20 having the same processing function will now be described. FIG. 10 is a diagram showing a case where data transmission to P3 of the processing unit 20 occurs simultaneously in the data processing system 1 shown in FIG. The arbitration unit 100B accepts data transmission from the processing units 20 P1 and P4 to the processing unit 20 P3 at the same time. First, the arbitration unit 100B controls the multiplexer 130 to connect the receiving port 120 connected to P1 of the processing unit 20 to the transmitting port 140 of P3 connected to one of the processing units 20, and transmits data. After that, the arbitration unit 100B controls the multiplexer 130 to connect the receiving port 120 connected to P4 of the processing unit 20 with the transmitting port 140 of P3 connected to the other processing unit 20, and transmits the data. Since 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 the processing units 20 simultaneously in parallel. Also, the data destination can be switched according to the operating state of a plurality of processing units 20 having the same function. Therefore, it is possible to reduce delays in data transfer in parallel processing, and it is also possible to adjust parallel processing according to 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. However, the arbitration unit 100 can arbitrate connections in any order, for example, by setting priorities for the processing units 20.
[0052] (Third embodiment) 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. The same components as those in the data processing system 1 in FIG. 1 are denoted by the same reference numerals. The image processing system 2 shown in FIG. 11 includes an image acquisition section 160, an input section 10, a processing section 20, an output section 30, an arbitration section 100, and a processing result control section 170. The image acquisition unit 160 acquires image data to be image-processed by the data processing system 1 and inputs the image data 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 or the like.
[0053] The processing result control unit 170 acquires the image processing result output from the data processing system 1, and transmits it to the outside of the image processing system 2. The processing result control unit 170 is, for example, a device with a communication function for transmitting the image processing result to another computer, or a data output device for saving the image processing result in a storage device.
[0054] The processing unit 20 in the image processing system 2 shown in Fig. 11 is divided and implemented into multiple processing units 20 according to the relevance and execution frequency of the steps of the multiple image processing executed by the image processing system 2. The multiple processing units 20 are steps that require more processing time than the other processing units 20, similar to P3 of the processing unit 20 implemented in a redundant manner shown in Fig. 9, and in Fig. 11, three P3 of the processing units 20 are provided.
[0055] In this embodiment, an example is taken of the case where the processing at 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, i.e., 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] Hereinafter, the flow of image processing in the image processing system 2 will be described with reference to FIGS. FIG. 12 is a timing chart showing the process of processing image data acquired by the image acquisition unit 160 of the image processing system 2. As shown in FIG. As shown in the timing chart of FIG. 12, the case is shown in which pass information 150 (lower diagram of FIG. 12) is added to all image data and the same processing is performed.
[0057] Image data acquired by C1, C2, and C3 of the image acquisition unit 160 (FIG. 11) are 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, since there are only one P1 and one P2 of the processing unit 20 to which all image data is sent, the 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. After that, the image data of C1 that has already been processed by P2 of the processing unit 20 is sent to P3 of the processing unit 20.
[0059] Next, the image data of C2 that has finished processing at P2 of the processing unit 20 is transmitted 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 of C3 is transmitted by the arbitration unit 100 to P3 of the processing unit 20 that is not currently processing. Then, the image data are transmitted to the output unit 30 in order starting from 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 steps of processing image data when the path information 150 added by the input unit 10 is changed. As shown in the timing chart of Fig. 13, a case is shown in which 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 image acquisition units 160C1, C2, and C3. Path information 151 shown in the lower diagram of Fig. 13 is the same as path information 150 shown in the lower diagram of Fig. 12 (before change). Path information 152 shown in the lower diagram of Fig. 13 is changed path information 150 obtained by changing path information 151. Path information 153 shown in the lower diagram of Fig. 13 is path information 150 obtained by further changing changed path information 152.
[0061] As shown in the upper timing chart of Fig. 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 data. After that, each image data is transmitted one by one to P1 and P2 of the processing unit 20, which are common pre-processing units.
[0062] 13, the image data that has undergone pre-processing is sent to the processing unit 20 that executes the main image processing designated by each of the pass information 151, pass information 152, and pass information 153. Then, the processing unit 20 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. Also, by changing the path information 150 added to the data, the process of processing applied to the data can be freely switched.
[0064] [effect] 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 divide a series of data processing steps into steps and execute data processing for each step; an input unit 10 that adds path information 150, which is a list of the order of passing through each processing unit 20, to the 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 data, and switches the connection between 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 data. After executing the data processing of its own step, the processing unit 20 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 relevant processing unit 20 or output unit 30 in accordance with the path information 150. Therefore, the data processing system 1 can assign a plurality of process steps (e.g., image preprocessing) to be performed on the input data to the relevant processing unit 20 and have them executed. The data outputted outside the data processing system 1 is data for which each process step (e.g., image preprocessing) has already been completed on the hardware, and the processing load of the user at the subsequent stage can be reduced.
[0066] Furthermore, when multiple processes implemented in the data processing system 1 include a common step, there is no need to implement the common step redundantly by implementing the step as one processing unit 20. Therefore, it is possible to reduce the amount of circuitry required for implementation.
[0067] The differences between this data processing system 1 and the prior art (eg, Patent Document 1) will be described. - Bus and usage rights occupancy In the conventional technology, multiple devices are connected in parallel to one signal line / communication line, and only one master can use the bus at a time. In contrast, the data processing system 1 can use the bus simultaneously as long as the destination is not currently receiving data.
[0068] -Master / Slave availability In the 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 obtain the right to use the master by interrupting the master and control the communication. In contrast, the data processing system 1 has a 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 duplicate 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 (FIG. 1), the input unit 10, the processing unit 20, and the output unit 30 have their inputs and outputs connected in parallel to the arbitration unit 100, and the input unit 10 and the 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 the processing unit 20 to the processing unit 20 or the output unit 30 specified by the path information 150.
[0071] In this manner, the arbitration unit 100 of the data processing system 1 can cause the input unit 10, the processing unit 20, and the output unit 30, which are connected in parallel, to execute processes in parallel in any order. The data processing system 1 can simultaneously execute communications between the processing units 20 in parallel. Also, the data destination can be switched according to the operating state of a plurality of processing units 20 having 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 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 data processing system 1 can be universally applied to various devices.
[0074] In the data processing system 1 (FIG. 1), the processing units 20 include a plurality of processing units 20 that perform the same processing, the path information 150 has a list of the 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] In this way, the data processing system 1 can add any path information 150 at 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 the 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 describes 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 the 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 distributed, a signal line 51 arranged in parallel with the communication line 50, and a control unit 110 which uses the signal line 51 to confirm the arrival of data at the input unit 10, the processing unit 20, and the 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 a priority is set for the processing units 20, the control unit 110 can indicate this priority using the signal line 51, thereby enabling parallel processing to be carried out effectively.
[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 adds path information 150 to the image data acquired by the image acquisition unit, and a processing unit 20 executes 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.
[0081] Conventionally, in remote control of a robot (corresponding to the hardware in this specification), it is effective to use multiple viewpoints using cameras at the end of the hand to deal with blind spots, but the more cameras there are, the worse the visibility becomes. Even if accelerators such as FPGAs are used, 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. In the data processing system 1 (image processing system 2), image processing is performed to support operation, while reducing the number of transferred images makes it possible 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 without departing from the gist of the present invention described in the claims.
[0084] The above-mentioned embodiments have been described in detail to clearly explain the present invention, and are not necessarily limited to those including all of the configurations described. In addition, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is possible to add, delete, or replace a part of the configuration of each embodiment with another configuration. [Explanation of symbols]
[0085] 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 Mediation Department 110 Control section 120 inbound port 140 outbound port 130 Multiplexer 150 Path Information
Claims
1. A plurality of processing units provided on the hardware, which divide a series of data processing into steps and execute data processing for each step; an input unit that adds path information, which is a list of the order of passing through each of the processing units, to input data that is input to the processing unit; an arbitration unit that connects the input unit and the processing unit according to the path information added to the 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; an output unit that discards the path information and outputs data from the final data processed by the last processing unit specified by the path information, The processing unit executes data processing of its own process, updates the path information, and outputs the processed data and the updated path information. A data processing system comprising:
2. the input unit, the processing unit, and the output unit are connected in parallel to the arbitration unit through inputs and outputs; the input unit and the processing unit transmit data and the path information to the arbitration unit; 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 designated by the path information.
2. The data processing system of claim 1.
3. After executing the data processing, the processing unit deletes its own processing unit from the list of path information to shorten the list of path information; The output unit deletes the path information from the data last processed by the processing unit and outputs data without the path information.
2. The data processing system of claim 1.
4. The processing unit includes a plurality of processing units each performing the same process, The path information includes a list of the processing units that perform the same processing, The arbitration unit connects one of the processing units performing the same process while connecting the other of the processing units performing the same process according to the path information.
2. The data processing system of claim 1.
5. When one of the processing units executes data processing repeatedly, the input unit describes the processing unit in the list of path information in a redundant manner.
2. The data processing system of claim 1.
6. a communication line through which data and the path information are distributed; A signal line arranged in parallel with the communication line; a control unit that uses the signal line to check arrival of data at the input unit, the processing unit, and the output unit and to control data transmission.
2. The data processing system of claim 1.
7. An image acquisition unit that acquires image data, The input unit adds the path information to the image data acquired by the image acquisition unit, The processing unit executes data processing for each of a plurality of image processing steps according to the relevance and / or execution frequency of the image processing steps.
2. The data processing system of claim 1.
8. A data processing method for a data processing device provided on hardware, comprising: The data processing device includes: a step of 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 of passing through each of the processing units, to input data input to the processing unit; switching a connection between communication lines between the processing units in accordance with the path information added to the data so that the data processed by the processing units follows a route sequence of the path information; and outputting data from the data last processed by the processing unit specified by the path information, discarding the path information.
23. A data processing method comprising:
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
