WO2010100970A1 - Data processing apparatus, method for controlling data processing apparatus, and program - Google Patents
Data processing apparatus, method for controlling data processing apparatus, and program Download PDFInfo
- Publication number
- WO2010100970A1 WO2010100970A1 PCT/JP2010/050741 JP2010050741W WO2010100970A1 WO 2010100970 A1 WO2010100970 A1 WO 2010100970A1 JP 2010050741 W JP2010050741 W JP 2010050741W WO 2010100970 A1 WO2010100970 A1 WO 2010100970A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- packet
- data
- communication unit
- unit
- data processing
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
- H04L12/423—Loop networks with centralised control, e.g. polling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06F15/17337—Direct connection machines, e.g. completely connected computers, point to point communication networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4494—Execution paradigms, e.g. implementations of programming paradigms data driven
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/34—Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99931—Database or file accessing
- Y10S707/99937—Sorting
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10—TECHNICAL SUBJECTS COVERED BY FORMER USPC
- Y10S—TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y10S707/00—Data processing: database and file management or data structures
- Y10S707/99951—File or database maintenance
Definitions
- the present invention relates to a data processing apparatus and a method for controlling the same, and particularly relates to technology for realizing complicated processing by controlling the flow of data (data flow) into a plurality of data processing units.
- the processing order is a problem.
- the processing order performed by a space conversion unit on an input side and that on an output side are opposite (the processing order of processing such as one-dimensional LUT, matrix operation, and three-dimensional LUT) . That is, if the processing order can be changed, the same processing module can also be shared on the input side and the output side.
- Japanese Patent Laid-Open No. 01-023340 Japanese Patent No. 2518293
- Japanese Patent No. 2834210 discloses a data flow control method in which expandability and maintainability have been improved by using broadcast communication .
- the present invention has been conceived in view of the aforementioned problems, and provides technology for enabling a change of the processing order with a simple configuration and, furthermore, enabling data processing with complicated data paths, such as separating a data path into branches, integrating data paths, and simultaneously executing a plurality of data paths.
- a data processing apparatus includes a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means includes a reception means for receiving data from a previous communication means in the order, and a transmission means for transmitting data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, causes the corresponding processing means to perform data processing on the packet, sets the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmits the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, transmits the packet to the next communication means in
- a method for controlling a data processing apparatus comprising a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means executes a reception step in which a reception means receives data from a previous communication means in the order, and a transmission step in which a transmission means transmits data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying a logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, executes steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as
- a program causes each of a plurality of modules that have a reception means and a transmission means as communication means, and are connected in a ring shape in a prescribed order to execute : a reception step in which the reception means receives data from a previous communication means in the order; a transmission step in which the transmission means transmits data to a next communication means in the order; connection information for identifying logical connection of data processing is assigned to the reception means and the transmission means, and in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order; and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, a step of transmitting the packet
- FIG. 1 is a block diagram showing an example of a configuration of a data processing apparatus according to an embodiment of the present invention.
- FIG. 2 is a block diagram showing an example of a configuration of a communication unit.
- FIG. 3 is a block diagram showing an example of a configuration of a data reception unit.
- FIG. 4 is a block diagram showing an example of a configuration of a data transmission unit.
- FIG. 5 is a diagram showing an example of a configuration of a packet that is passed onto a ring bus ,
- FIG. 6 is a block diagram showing an example of a configuration of the data processing apparatus in the case of five data processing units being provided.
- FIGS. 7A, 7B, 7C, and 7D are diagrams showing examples of signal flow graphs .
- FIG. 8 is a block diagram showing an example of a configuration of a system that has the data processing apparatus according to the embodiment of the present invention.
- FIG. 9 is a flowchart showing a control procedure performed by the data processing apparatus.
- FIG. 10 is a block diagram showing another example of a configuration of the communication unit.
- FIG. 11 is a block diagram showing an example of a configuration of the data processing apparatus according to the embodiment of the present invention.
- FIG. 12 is a block diagram showing an example of a configuration of the data processing apparatus in the case of two input/output units and five data processing units being provided.
- FIG. 13 is a diagram showing examples of signal flow graphs for simultaneously processing two data flows.
- FIGS. 14A and 14B are diagrams showing examples of signal flow graphs.
- FIG. 1 is a block diagram showing an example of a configuration of a data processing apparatus according to the present invention.
- reference numeral 101 denotes a data input/output unit (input/output unit) serving as an input/output means that inputs data to be processed and outputs data that has been processed.
- reference numerals 102-1 to 102-m denote communication units (collectively, a communication unit 102) serving as communication means, and reference numerals 103-2 to 103-m denote data processing units (processing units, and collectively, a data processing unit 103) serving as processing means.
- the communication units 102-1 to 102-m are connected to the communication units that are adjacent thereto, respectively (note that the communication unit 102-m is connected to the communication unit 102-1) , and constitute a ring bus. Furthermore, the communication units 102-1 to 102-m transmit and receive data between the ring bus and the data input/output unit 101 or the data processing units 103-2 to 103-m. Accordingly, the communication units 102-2 to 102-m are connected to the data processing unit 103-2 to 103-m, respectively.
- Data input from an input terminal 151 is input to the communication unit 102-1 via the data input/output unit 101.
- the input data is packetized and is passed onto the ring bus.
- the communication unit 102 takes in a necessary packet from the ring bus in accordance with information that has been set in advance, extracts data from the packet that has been taken in, and inputs the extracted data to the data processing unit 103.
- the data processing unit 103 performs prescribed data processing thereon (for example, color space conversion, resolution conversion, or the like) , and outputs the data after processing to the communication unit 102.
- the data after processing is packetized in the communication unit 102, and is passed onto the ring bus.
- the communication units 102-2 to 102-m data is successively processed in the data processing units 103-2 to 103-m in the order that has been set in advance. Then, data for which the set data processing has ended is taken into the data input/output unit 101 via the communication unit 102-1, and is output from an output terminal 152.
- the data input/output unit 101 serves as an interface with an external device (or a module) , and can be omitted if the communication unit 102-1 can serve as a direct interface.
- connection identifier information for identifying the processing order of data processing (logical connection of data processing units or communication units) is assigned to each of the reception unit 201 and the transmission unit 204.
- the communication unit 102 in the case of receiving a packet that has the same identifier information as the connection identifier information that is assigned to the reception unit 201 of the communication unit 102, the communication unit 102 causes the corresponding data processing unit 103 to perform data processing on the packet. Then, connection identifier information that is assigned to the transmission unit 204 of the communication unit 102 is set to the packet on which data processing has been performed, and the resultant packet is transmitted to. the next communication unit 102 in the order.
- FIG. 2 is a block diagram showing an example of a configuration of the communication unit 102.
- reference numeral 201 denotes a data reception unit (reception unit)
- reference numeral 202 denotes a buffer
- reference numeral 203 denotes a selector
- reference numeral 204 denotes a data transmission unit (transmission unit) .
- ⁇ n output terminal 259 of the adjacent communication unit is connected to an input terminal 257; thus, the communication units 102-1 to 102-m constitute a ring bus. Further, signal lines 251, 252, 253, 254, 255, and 256 are connected to the corresponding data processing unit 103 (one of 103-2 to 103-m) . Note that the signal lines 251 to 256 of the communication unit 102-1 are connected to the data input/output unit 101.
- FIG. 5 is a schematic diagram showing an example of a configuration of a packet that is passed onto the ring bus.
- reference numeral 501 denotes a valid flag that shows that the packet is valid
- reference numeral 502 denotes a stall flag that shows that reception of the packet is held.
- Reference numeral 503 denotes a count value that shows the transmission order of data
- reference numeral 504 denotes a connection identifier for identifying a logical data connection
- reference numeral 505 denotes data to be input to or output from the communication unit 102.
- the packet input from the adjacent communication unit is once held in the buffer 202, and is output to the selector 203 at the next clock cycle.
- the data reception unit 201 monitors a packet from the input terminal 257, and if all of the following are satisfied, takes in this packet, and outputs the data thereof to the data processing unit 103 from the output terminal 252 (validating the valid signal 251) :
- connection identifier and count value thereof match those held in the reception unit 201.
- the data processing unit 103 that is connected can input data (the stall signal 253 is not in a holding state) .
- the data reception unit 201 notifies the buffer 202 that the data is taken in via a signal line 260, and clears the valid flag of the packet stored in the buffer 202, so as to invalidate the packet. Further, after taking in the packet, the count value 503 that the reception unit 201 holds is incremented. [0038] On the other hand, if all of the following are satisfied, the data reception unit 201 notifies the buffer 202 of a data hold via the signal line 260, and sets the stall flag of the packet stored in the buffer 202:
- connection identifier and count value thereof match those held in the reception unit 201.
- a stall flag is also set in this case. Note that as described in an operation example described later, it is not necessary to evaluate a count value in determining whether or not to receive a packet.
- the data transmission unit 204 monitors the valid flag of the output packet (a signal line 258) from the buffer 202. Since data cannot be output onto the ring bus when a valid flag is valid, the data transmission unit 204 sets the stall signal 254 in order to hold the output of data from the data processing unit 103 that is connected. Note that when a valid flag is invalid, the stall signal 254 is reset. If both of the following are satisfied, the data transmission unit 204 validates a valid flag and invalidates a stall flag, adds a count value and a connection identifier set in a register, and generates a packet:
- Data can be output from the data processing unit 103 that is connected (if the valid signal 256 is valid) , and
- FIG. 3 is a block diagram showing an example of a configuration of the data reception unit 201.
- reference numeral 301 denotes a register
- reference numeral 302 denotes a counter as a first holding means
- reference numeral 303 denotes a comparison unit
- reference numeral 304 denotes a determination unit.
- the comparison unit 303 monitors a valid flag, a connection identifier, and a count value of a packet on the ring bus input from the input terminal 257. Then, if all of the following are satisfied, the valid signal 251 is validated:
- connection identifier of the packet matches a connection identifier that is stored in the register 301.
- the comparison unit 303 inputs the following into the determination unit 304:
- the determination unit 304 determines whether or not the data processing unit 103 was able to take in data based on an input packet determination signal, a count- value matching signal, and the stall signal 253 from the data processing unit 103 that is connected. If it is determined that the data processing unit 103 was able to take in data, the data reception unit 201 notifies the buffer 202 that the data is taken in via the signal line 260, and clears the valid flag of the packet stored in the buffer 202, so as to invalidate the packet. Note that, as is described later, for branching data (using data in a plurality of data processing units), this packet invalidating processing can be turned ON/OFF by a CPU, for instance.
- ⁇ data taking-in notification signal is also input to the counter 302, and if it is determined that data could be taken in, in order to obtain the next data, the count value in the counter 302 is incremented (+1) at a next clock cycle.
- the data reception unit 201 based on an input packet determination signal, a count-value matching signal, and the stall signal 253 from the data processing unit 103 that is connected, if it is determined that the data that is to be taken in cannot be taken in, the data reception unit 201 notifies the buffer 202 of a data hold via the signal line 260. Furthermore, the stall flag of the packet stored in the buffer 202 is set.
- the data reception unit 201 notifies the buffer 202 of a data hold, and sets the stall flag of the packet stored in the buffer 202. Note that although a description has been given regarding the case of evaluating a count value here, if a count value is not evaluated, it is not necessary to transmit and receive a signal regarding a count value.
- FIG. 4 is a block diagram showing an example of a configuration of the data transmission unit 204.
- reference numeral 401 denotes a register
- reference numeral402 denotes a counter as a second holding means
- reference numeral 403 denotes a comparison unit
- reference numeral 404 denotes a packet generation unit.
- the comparison unit 403 monitors the valid flag, the stall flag, and the connection identifier of an output packet (the signal line 258) from the buffer 202. Since data cannot be output onto the ring bus when a valid flag is valid, in order to hold the data output from the data processing unit 103 that is connected, the stall signal 254 is set. Note that when a valid flag is invalid, the stall signal 254 is reset. [0045] If both of the following are satisfied, the comparison unit 403 determines that the packet output by the unit itself was not held and returned:
- connection identifier of the output packet from the buffer 202 matches the connection identifier stored in the register 401.
- the comparison unit 403 controls the selector 203 via the packet generation unit 404, and a valid flag is invalidated so as to invalidate the packet. Since a packet can also be output in this case, the stall signal 254 is reset.
- the packet generation unit 404 refers to the valid signal 256 from the data processing unit 103 that is connected. If it is determined that data can be output from the data processing unit 103 (if the valid signal 256 is valid) , and if an output packet from the buffer 202 matches one of the following cases, a valid flag is validated and a stall flag is invalidated and, then, a count value in the counter 402 and a connection identifier set in the register 401 are added so as to generate a packet:
- the packet generation unit 404 controls the selector 203 so as to pass the generated packet onto the ring bus from the output terminal 259. Furthermore, at the next clock cycle, the count value in the counter 402 is incremented (+1) . Note that since the counter 402 of the transmission unit 204 and the counter 302 of the reception unit 201 that receives a packet from this transmission unit synchronize, the counters are initialized to the same value before starting data transfer.
- FIG. 6 is a block diagram in the case of five data processing units being provided. As shown in FIG. 6, it is assumed that each of the data processing units 103-2 to 103-6 performs the processing indicated by the processing units A to E, respectively, on input data. In order to simplify the description below, a description is given regarding the case in which input data is not held in the data processing unit 103 and the input/output unit 101.
- the communication unit 102-1 adds a connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2. Since “1" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "1", and inputs a data portion thereof to the data processing unit 103-2. The data processing unit 103-2 performs processing A on the input data, and outputs the resultant data to the communication unit 102-2. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-2, the communication unit 102-2 generates a packet having a connection identifier "2" and outputs the generated packet to the communication unit 102-3.
- the communication unit 102-3 Since "2" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "2", and the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3. Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having a connection identifier "3" and outputs the generated packet to the communication unit 102-4.
- the communication unit 102-4 takes in the packet having the connection identifier X ⁇ 3"
- the data processing unit 103-4 performs processing C thereon, so that a packet having a connection identifier ⁇ 4" is generated and is output to the communication unit 102-5.
- the communication unit 102-5 takes in the packet having the connection identifier "4"
- the data processing unit 103-5 performs processing D thereon, so that a packet having a connection identifier "5" is generated and is output to the communication unit 102-6.
- the communication unit 102-6 takes in the packet having the connection identifier "5"
- the data processing unit 103-6 performs processing E thereon, so that a packet having a connection identifier XV 6" is generated and is output to the communication unit 102-1.
- FIG. 7B is a signal flow graph in which the order of processing B and processing C is inverted.
- ⁇ 3" is stored in the register of the reception unit 201 of the communication unit 102-3
- "4" is stored in the register of the transmission unit 204 thereof.
- "2" is stored in the register of the reception unit 201 of the communication unit 102-4
- "3" is stored in the register of the transmission unit 204 thereof. Since the values set in other registers are the same as those in the example shown in FIG. 7A, a description thereof is omitted.
- the communication unit 102-1 adds the connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2.
- the communication unit 102-2 takes in the packet having the connection identifier "1", and the data processing unit 103-2 performs processing A thereon, so that a packet having the connection identifier "2" is generated, and the generated packet is output to the communication unit 102-3.
- the communication unit 102-3 Since ⁇ 3" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 does not take in any packet other than a packet having the connection identifier "3", and outputs the packet to the communication unit 102-4 as it is. Therefore, the above-mentioned packet having the connection identifier "2" is output to the communication unit 102-4, without any processing being performed thereon.
- the communication unit 102-4 takes in the packet having the connection identifier "2", and the data processing unit 103-4 performs processing C thereon, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-5.
- the communication unit 102-5 Since "4" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 does not take in the packet having the connection identifier "3" and outputs the packet to the communication unit 102-4 as it is. Similarly, the communication unit 102-6, the communication unit 102-1, and the communication unit 102-2 do not perform any processing on a packet having the connection identifier ⁇ 3". Therefore, after four clock cycles since the communication unit 102-4 has output the packet, the packet having the connection identifier N ⁇ 3" reaches the communication unit 102-3 and is taken in, and the data processing unit 103-3 performs processing B thereon, so that a packet having the connection identifier "4" is generated, and the generated packet is output to the communication unit 102-4.
- the communication unit 102-4 Since "2" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 does not take in the packet having the connection identifier "4" and outputs the packet to the communication unit 102-5 as it is.
- the communication unit 102-5 takes in the packet having the connection identifier ⁇ 4", and the data processing unit 103-5 performs processing D thereon, so that a packet having the connection identifier N ⁇ 5" is generated, and the generated packet is output to the communication unit 102-6.
- the communication unit 102-6 takes in the packet having the connection identifier "5", and the data processing, unit 103-6 performs processing E thereon, so that a packet having the connection identifier ⁇ 6" is generated, and the generated packet is output to the communication unit 102-1. Since "6" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152. In this way, the input data is processed in the order from processing A, processing C, processing B, processing D, and processing E, and the resultant data is output. [0058] Operation Example 3
- FIG. 7C is a signal flow graph in which processing D and processing E are eliminated. In this case, it is sufficient to change the value set in the register of the transmission unit 204 of the communication unit 102-4 to "6". Since the values set in other registers are the same as those in the example shown in FIG. 7A, a description thereof is omitted. Note that a value that is not used in the signal flow graph is set to the registers of the reception units 201 of the communication unit 102-5 and the communication unit 102-6, so that a packet will not be taken therein. [0059] Operation Example 4
- FIG. 7D shows an example of a signal flow graph including branching/integration.
- Such a signal flow is effective in the case of performing the following processing, for example:
- the counter 402 of the transmission unit of the communication unit 102-3 is initialized to "0"
- the counter 402 of the transmission unit of the communication unit 102-5 is initialized to "1”.
- the above-mentioned two counters are incremented by an increment of 2 (that is, +2 every time a packet is output) .
- the communication unit 102-4 since the communication unit 102-4 also needs to take in the packet that the communication unit 102-2 takes in, the communication unit 102-2 does not invalidate the packet that has been taken in, and is set so as to output the packet to the communication unit 102-3 as it is. In other words, the input packet invalidating processing described above is set to OFF. [0061] Next, operations are described following the data flow.
- the communication unit . 102-1 adds the connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "1", and inputs a data portion thereof to the data processing unit 103-2.
- the input packet invalidating processing is set to OFF in the communication unit 102-2 to branch data and, accordingly, the communication unit 102-2 does not invalidate (erase) the packet that has been taken in, and outputs the packet to the communication unit 102-3 as it is.
- the data processing unit 103-2 performs processing A on the input data, and the resultant data is output to the communication unit 102- 2. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-2, a packet having the connection identifier "2" is generated, and the generated packet is output to the communication unit 102-3.
- the communication unit 102-3 takes in the packet having the connection identifier "2", and the data processing unit 103-3 performs processing B on that packet, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-4. At this time, the initial value "0" is added as a count value. Further, the counter 402 of the transmission unit is incremented by an increment of 2 for transmitting a next packet (that is, +2 every time a packet is output) . [0063] Since "1" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 does not take in the packet having the connection identifier "3", and outputs the packet to the communication unit 102-5 as it is. Similarly, the communication unit 102-5 does not perform any processing on the packet either, and outputs the packet to the communication unit 102-6 as it is.
- the communication unit 102-6 takes in the packet having the connection identifier "3" and the count value "0", and inputs a data portion thereof to the data processing unit 103-6. At this time, in order to receive the data on which processing D has been performed next, the counter 302 of the reception unit is incremented (+1) .
- the communication unit 102-3 Since the packet branched by the communication unit 102-2 has the connection identifier "1”, the communication unit 102-3 does not perform any processing thereon, and outputs the packet to the communication unit 102-4.
- the communication unit 102-4 takes in the packet having the connection identifier "1", and outputs a data portion thereof to the data processing unit 103-4. Note that since this packet will no longer be used by other data processing units, invalidating processing is performed thereon to facilitate effective use of the ring bus.
- the data processing unit 103-4 performs processing C on the input data, and outputs the resultant data to the communication unit 102-4. Since ⁇ M" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier "4", and outputs the generated packet to the communication unit 102-5.
- the communication unit 102-5 takes in the packet having the connection identifier "4", the data processing unit 103-5 performs processing D thereon, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-6. At this time, the initial value "1" is added as a count value. Further, the counter 402 of the transmission unit is incremented by an increment of 2 for transmitting the next packet (that is, +2 every time a packet is output) .
- the communication unit 102-6 takes in a packet having the connection identifier "3" and the count value "1", and inputs a data portion thereof to the data processing unit 103-6. At this time, in order to receive the data on which processing B has been performed next, the counter 302 of the reception unit is incremented (+1) .
- the data on which processing A and processing B have been performed is input for the even numbered times, and the data on which processing C and processing D have been performed is input for the odd numbered times, sequentially, to the data processing unit 103-6.
- the data processing unit 103-6 composites (integrates) these data pieces, and outputs the result to the communication unit 102-6. Since "6" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier "6", and outputs the generated packet to the communication unit 102-1.
- the communication unit 102-1 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152.
- the input data is branched and processed through two lines , namely, a line including processing A and processing B and a line including processing C and processing D, and composite processing is performed on the resultant data pieces in processing E, and the composited data is output.
- processing A and processing B are performed on even- numbered pixels
- processing including processing C and processing D is performed on odd-numbered pixels
- processing E is performed where the pixels input for processing E are integrated.
- the counter 302 of the reception unit of the communication unit 102-2 is initialized to "0", and the counter 302 of the reception unit of the communication unit 102-4 is initialized to "1". Further, the above-mentioned two counters are incremented by an increment of 2 (that is, +2 every time a packet is output) .
- the communication unit 102-2 takes in a packet having an even-numbered count value
- the communication unit 102-4 takes in a packet having an odd-numbered count value. Note that in this case, since the same data is not referenced, the packet that has been taken in may be invalidated (the input packet invalidating processing is set to ON) .
- FIG. 8 shows an example of a configuration of a system that has the data processing apparatus according to the present embodiment.
- Reference numeral 1100 denotes a system control unit that is provided with a CPU 1101 for arithmetic control, a ROM 1102 that stores fixed data and a program, a RAM 1103 that is used for temporarily saving data and loading a program, an external storage device 1104 that holds external data, and so on.
- Reference numeral 1110 denotes a data input unit that takes in data to be processed from outside the system.
- the data input unit 1110 may be realized by an image reading apparatus that has devices, such as an image scanner and an A/D converter, an audio input apparatus that has devices, such as a microphone and an A/D converter, or the like.
- Reference numeral 1120 denotes a data processing apparatus according to the present embodiment.
- Reference numeral 1130 denotes a data output unit that outputs data processed in this system to the outside.
- the data output unit 1130 may be realized by an image output apparatus including a printer device that converts image data into a print dot pattern and outputs the result, or an audio output apparatus that outputs audio data through a D/A converter, for instance.
- Data input in the data input unit 1110 may be sent to the system control unit and processed by the CPU 1101, or may be temporarily recorded on the RAM 1103 or the external storage device 1104 as it is.
- the data processing apparatus 1120 may directly accept input data from the data input unit 1110 and perform processing thereon, or may perform processing by receiving instructions and data supplied from the system control unit 1100.
- the output from the data processing apparatus 1120 may be again sent to the system control unit 1100, or may be directly sent to the data output unit 1130. Based on the control of the system control unit 1100, a variety of data processing content is set in the data processing apparatus 1120, and then the data processing apparatus 1120 is supplied with a variety of processing, executes processing according to the settings, and outputs the processed data to the outside. [0076] Control Procedure
- step S1210 the data processing apparatus 1120 is reset.
- the buffer 202 that constitutes the ring bus, the registers 301 and 401 that set a connection identifier, the counters 302 and 402 that show the data order, a counter increment register (not shown) , a packet invalidating setting register (not shown) , and so on are initialized.
- step S1220 the registers 301 and 401 that store connection identifiers of the communication units are set. Further, the initial values and increments of the counters 302 and 402 that show the data order, the packet invalidating setting register, and so on are set as necessary.
- step S1230 parameter designation for the data processing unit, and the like are performed.
- step S1240 an instruction to start the data processing apparatus 1120 is given.
- step S1250 processing for monitoring an end notice from the data processing apparatus 1120 is performed, and this is repeated until it is determined that the end of processing has been detected in step S1260.
- step S1260 if an end notice from the data processing apparatus 1120 is confirmed (YES in step S1260), the processing ends.
- the data processing apparatus sets the node numbers in a signal flow graph in the registers of the communication unit, and controls the data flow using these node numbers. Thereby, it is possible to configure data flows that correspond to various signal flow graphs .
- the transmission unit 204 that is provided to at least one of the communication units 102 is provided with the counter 402 that holds a counter value. Then, if a packet that has the same identifier information as connection identifier information assigned to the corresponding reception unit 201 is received, a counter value held by the counter 402 is set in a packet on which data processing has been performed, and the resultant packet is transmitted to the next communication unit 102 in the order. Furthermore, the counter value held by the counter 402 is incremented by a first value.
- the reception unit 201 provided to at least one of the communication units 102 is also provided with the counter 302 that holds a counter value. Then, only in the case of receiving a packet that has both of the following, the communication unit 102 causes the corresponding data processing unit 103 to perform data processing on that packet, and increments the counter value held by the counter 302 by a second value:
- At least one of the communication units 102 in the case of receiving a packet that has the same identifier information as the connection identifier information assigned to the reception unit 201 of the communication unit 102, at least one of the communication units 102:
- counter values held by the counters 402 and 302 may be initialized (first initialization, second initialization) .
- the increment value of the counter 402 (first value) , and the increment value of the counter 302 (second value) may be set (first setting, second setting) .
- This setting can be set by a user inputting an instruction, or by reading out data that shows details of the settings from a storage device. Accordingly, data processing can be arbitrarily customized.
- registers that store connection identifier information to be assigned to the reception unit 201 and the transmission unit 204 of the communication unit 102 are provided. Accordingly, by appropriately setting the contents stored in the registers, the data processing flow can be arbitrarily customized.
- FIG. 11 shows another example of a configuration of a data processing apparatus.
- the buffer may be arranged downstream of the selector 203.
- the setting of a stall flag to hold a packet and the clearance of a valid flag to invalidate a received packet are performed by the selector 203 via a transmission unit 1304.
- processing may be performed by the reception unit and the transmission unit.
- FIG. 11 shows another example of a configuration of a data processing apparatus. In FIG.
- FIG. 11 The configuration shown in FIG. 11 is a configuration to which another data input/output unit 101 has been added in order to simultaneously realize a plurality of different data paths. Note that since operations performed by the data input/output unit 101, the communication unit 102, and the data processing unit 103, respectively, are similar to those described above, a description thereof is omitted. [0088] Next, operations are described using a signal flow graph. In order to simplify the description, as shown in FIG. 12, using an example in which a data processing apparatus is constituted so as to be provided with two data input/output units and four data processing units, operations in the case of simultaneously processing two data paths are described. [0089] Operation Example 1
- the communication unit 102-1 adds the connection identifier "1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "6" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 does not take in the packet, and outputs the packet to the communication unit 102-3 as it is.
- the communication unit 102-3 Since "1" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "1", and the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3. Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-4. [0093] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 outputs the packet to the communication unit 102-5 as it is, without taking in the packet.
- the communication unit 102-5 Since "3" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 takes in the packet having the connection identifier "3", and the data processing unit 103-5 performs processing D thereon, and outputs the result to the communication unit 102-5. Since "5" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "5", and outputs the generated packet to the communication unit 102-6.
- the communication unit 102-6 Since "4" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet to the communication unit 102-1 as it is, without taking in the packet. Since "5" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "5", and outputs a data portion thereof from the output terminal 152-1. In this way, processing B and processing D are sequentially performed on the data input from the input terminal 151-1, and the resultant data is output from the output terminal 152-1. [0095] Data Flow (b)
- the communication unit 102-2 adds the connection identifier "2" to the input data, and outputs the resultant data to the communication unit 102-3. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 outputs that packet to the communication unit 102-4 as it is, without taking in the packet.
- the communication unit 102-4 Since "2" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 takes in the packet having the connection identifier "2", the data processing unit 103-4 performs processing C thereon, and outputs the result to the communication unit 102-4. Since "4" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier ⁇ M", and outputs the generated packet to the communication unit 102-5.
- the communication unit 102-5 Since "3" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 outputs the packet to the communication unit 102-6 as it is, without taking in the packet. Since "4" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 takes in the packet having the connection identifier ⁇ M", and the data processing unit 103-6 performs processing E thereon, and outputs the result to the communication unit 102-6. Since "6" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier "6", and outputs the generated packet to the communication unit 102-1.
- the communication unit 102-1 Since "5" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet to the communication unit 102-2 as it is, without taking in the packet. Since ⁇ 6" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152-2. [0099] In this way, processing C and processing E are sequentially performed on the data input from the input terminal 151-2, and the resultant data is output from the output terminal 152-2.
- a signal flow graph showing such processing is the graph as shown in FIG. 14A.
- the counter 302 of the reception unit of the communication unit 102-4 is incremented by an increment of 64 (that is, +64 every time data is taken in) .
- the communication unit 102-4 sets a setting so as to output the packet that has been taken into the communication unit 102-5 as it is, without invalidating it. In other words, the input packet invalidating processing described above is set to OFF.
- the following values are set in the register of the reception unit and the register of the transmission unit of the communication units 102:
- the communication unit 102-1 adds the connection identifier ⁇ % 1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "5" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 outputs the packet to the communication unit 102-3 as it is, without taking in the packet.
- the communication unit 102-3 takes in the packet having the connection identifier "1"
- the data processing unit 103-3 performs processing B (DCT conversion) thereon, and outputs the result to the communication unit 102-3.
- "2" is stored in the register 401 of the transmission unit of the communication unit 102-3, and the counter 402 of the transmission unit of the communication unit 102-3 is initialized to "0" before the processing starts, the communication unit 102-3 generates a packet having the connection identifier "2" and the count value "0", and outputs the generated packet to the communication unit 102-4.
- the counter 402 of the transmission unit of the communication unit 102-3 is incremented (+1) for the output of the next data.
- "2" is stored, and the counter 302 of the reception unit of the communication unit 102-4 is initialized to "0". Accordingly, the communication unit 102-4 takes in the packet having the connection identifier "2" and the count value "0", and inputs a data portion thereof to the data processing unit 103-4. At this time, in order to receive the next DC component, the counter 302 of the reception unit is incremented by +64.
- the input packet invalidating processing is set to OFF for data branching and, accordingly, the communication unit 102-4 outputs the packet that has been taken in, to the communication unit 102-5 as it is, without invalidating (erasing) it.
- Processing C color conversion
- the communication unit 102-4 Since "5" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier "5", and outputs the generated packet to the communication unit 102-5 .
- the communication unit 102-5 Since "2" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 outputs the packet having the connection identifier "5" to the communication unit 102-6 as it is, without taking in the packet. Since ⁇ ⁇ 3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet to the communication unit 102- 1 as it is. Since "3" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet to the communication unit 102-2 as it is.
- the communication unit 102-5 takes in the packet having the connection identifier "2" and the count value "0", and inputs a data portion thereof to the data processing unit 103-5.
- the counter 302 of the reception unit is incremented by +1.
- the input packet invalidating processing is set to ON in the communication unit 102-5 since the packet taken in is not used in subsequent processing and, thus, the packet taken in is invalidated (erased) .
- Processing D Quantization and zigzag scan conversion
- the communication unit 102-5 Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-6.
- the signal flow graph shown in FIG. 14B is a graph in which processing C has been eliminated from the signal flow graph shown in FIG. 14A. Therefore, since the input/output unit 101-2 is not used, an arbitrary node can be monitored.
- the following is a description regarding a method for outputting monitor output of a node 2 in the signal flow graph shown in FIG. 14B from the output terminal 152-2. Note that a node to be monitored is expressed as a double circle so as to be distinguished. [0113]
- the following values are set in the register of the reception unit and the register of the transmission unit of the communication units 102:
- a setting is set in the communication unit 102-5 so as to output the packet that has been taken in to the communication unit 102-6 as it is, without invalidating the packet.
- the input packet invalidating processing described above is set to OFF.
- the communication unit 102-1 adds the connection identifier "1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "2" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 outputs the packet to the communication unit 102-3 as it is, without taking in the packet .
- the communication unit 102-3 takes in the packet having the connection identifier "1"
- the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3.
- the communication unit 102-3 Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having the connection identifier "2", and outputs the generated packet to the communication unit 102-4.
- the communication unit 102-4 Since "5" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 outputs the packet having the connection identifier "2" to the communication unit 102-5 as it is, without taking in the packet.
- the communication unit 102-5 Since "2" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 takes in the packet having the connection identifier "2", and inputs a data portion thereof to the data processing unit 103-5. Note that for monitoring, the communication unit 102-5 outputs the packet that has been taken in to the communication unit 102-6 as it is, without invalidating the packet. This is because the input packet invalidating processing described above is set to OFF. [0118] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet having the connection identifier "2" to the communication unit 102-1 as it is, without taking in the packet.
- the communication unit 102-1 Since "4" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet having the connection identifier "2" to the communication unit 102-2 as it is, without taking in the packet. Since ⁇ 2" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "2", and outputs a data portion thereof from the output terminal 152-2 .
- the data processing unit 103-5 performs processing D on the data portion of the packet that the communication unit 102-5 has taken in, and outputs the result to the communication unit 102-5. Since ⁇ 3" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-6. [0120] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 takes in the packet having the connection identifier "3", the data processing unit 103-6 performs processing E thereon, and outputs the result to the communication unit 102-6. Since "4" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier ⁇ M", and outputs the generated packet to the communication unit 102-1.
- the communication unit 102-1 takes in the packet having the connection identifier "4", and outputs a data portion thereof from the output terminal 152-1.
- processing B, processing D, and processing E are sequentially performed on the data input from the input terminal 151-1, and the resultant data is output from the output terminal 152-1 and, also, from the output terminal 152-2, the output of processing B that is an intermediate result of the series of processing can be obtained.
- a valid flag showing that a packet is valid is used, the configuration is not limited to this.
- a specific connection identifier for example, "0" may be used to show that a packet including it is an invalid packet.
- the data processing apparatus described above is provided with a plurality of data processing units that perform data processing, a data input/output unit that inputs and outputs data, and a plurality of communication units that connect the data processing units and the data input/output unit. Furthermore, the data processing apparatus is provided with the following:
- a data input means for comparing the connection identifier added to the data input to the input unit of the communication unit with a connection identifier stored in the input unit of the communication unit, and taking the data whose connection identifier matched into the module.
- the data processing apparatus controls a data path using numbers (connection identifiers) for identifying a node in a signal flow graph that shows the flow of data processing. Accordingly, since it is possible to realize complicated data paths, such as separating a data path into branches, integrating data paths, or simultaneously executing a plurality of data paths, even if each processing module is constituted from hardware (a circuit whose function cannot be changed using a program) , flexible processing can be realized. Further, since the erasing of a packet can also be controlled for each processing module, a ring bus can be efficiently used.
- a packet length may be shortened by using a specific connection identifier (for example, "0") to show that a packet including it is an invalid packet.
- a specific connection identifier for example, "0"
- the processing unit may interpret a packet and process the packet as it is.
- the diagrams schematically showing configurations of the units of the data processing apparatus referenced in the embodiments described above are intended to describe a circuit and the connecting relationship of functional means, and are not intended to limit the positional relationship of the configurations and the number thereof.
- a processing module may be formed as a separate chip, or may be formed as a single chip. The same follows for the data processing unit and the communication unit.
- the configuration of the present invention may be formed as one chip.
- the present invention can be applied to a parallel processing unit that executes a plurality of pipeline processing using time division multiplexing.
- a path identifier for identifying pipeline processing to which a packet belongs is provided to the format of the packet, and each module is also caused to store a setting according to each module, for each pipeline processing.
- a register that identifies an input packet for identifying input data, and a register that stores an identifier added to a packet to be output must also to store an identifier for each pipeline processing.
- aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments.
- the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable storage medium) .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Multi Processors (AREA)
- Small-Scale Networks (AREA)
Abstract
A data processing apparatus includes multiple processing means that are connected in a ring shape via corresponding communication means respectively. Each communication means includes a reception means for receiving data from a previous communication means, and a transmission means for transmitting data to a next communication means. Connection information is assigned to each of the reception means and the transmission means. The communication means, when receiving a packet that has same connection information as one assigned to its reception means, causes the corresponding processing means to perform data processing on the packet, sets the connection information assigned to its transmission means to the packet, and transmits the packet to the next communication means, and when receiving a packet that has connection information that is not same as one assigned to its reception means, transmits the packet to the next communication means without changing the connection information of the packet.
Description
DESCRIPTION
DATA PROCESSING APPARATUS, METHOD FOR CONTROLLING DATA PROCESSING APPARATUS, AND PROGRAM
TECHNICAL FIELD
[0001] The present invention relates to a data processing apparatus and a method for controlling the same, and particularly relates to technology for realizing complicated processing by controlling the flow of data (data flow) into a plurality of data processing units.
BACKGROUND ART
[0002] Conventionally, a method has been known in which in order to efficiently realize a data processing series such as print image processing at high speed, all data processing is divided into prescribed functions so as to be provided by hardware; modules implemented using said hardware are then connected in the order of processing flow, and a data processing series is executed through pipelining. On the other hand, in image processing, processing can be efficiently realized by changing the order of a processing series.
[0003] For example, if an image is outp'ut to an output apparatus having a prescribed number of pixels, although resolution conversion is necessary in order to
adjust the number of pixels (resolution), if the number of pixels of an input image is greater than the number of pixels of the output apparatus, it is better to perform processing after the number of pixels is reduced by performing resolution conversion upstream of processing. On the other hand, if the number of pixels of an input image is smaller than the number of pixels of the output apparatus, image quality is better if processing is performed in the state with a smaller number of pixels without performing resolution conversion and, thereafter, resolution conversion is performed immediately before output (downstream) . [0004] Further, for example, also in the case in which processing is performed after a certain space (for example, an input device space) is converted into standard space (for example, a resolution of 600 dpi and the CIELAB color space, or the like) , and then the resultant space is converted into another space (for example, an output device space) , the processing order is a problem. In other words, the processing order performed by a space conversion unit on an input side and that on an output side are opposite (the processing order of processing such as one-dimensional LUT, matrix operation, and three-dimensional LUT) . That is, if the processing order can be changed, the same processing module can also be shared on the input side and the output side.
[0005] However, in data processing for performing pipeline processing using modules to which a prescribed function is assigned, the processing order cannot be changed. Accordingly, an example case as described above is handled by implementing a plurality of modules that have the same function, which is a waste in the efficient use of resources.
[0006] In order to solve the aforementioned problem, a configuration in which processing modules are connected via a ring shaped network is proposed (Japanese Patent Laid-Open No. 01-023340, Japanese Patent No. 2518293) . According to these techniques, by changing the connection destination of data using such a ring shaped network, it is possible to change the processing order. Note that in the configuration disclosed in Japanese Patent No. 2518293, since each processing module is respectively executed by a processor, it is also possible to change the processing order by changing the program of each processor. Further, Japanese Patent No. 2834210 discloses a data flow control method in which expandability and maintainability have been improved by using broadcast communication .
[0007] However, in the configurations disclosed in Japanese Patent Laid-Open No. 01-023340 and Japanese Patent No. 2518293, the connecting relationship for processing data is set to one to one. Accordingly, it
is not possible to control complicated data paths, such as separating a data path into branches (the same data being referenced by a plurality of modules), simultaneously executing a plurality of data paths, and performing time division multiplexing processing with a processing module.
[0008] Further, if broadcast communication is used as disclosed in the configuration of Japanese Patent No. 2834210, it is possible to separate a data path into branches (reference the same data by a plurality of modules) . However, it is not possible to control complicated data paths, such as integrating data paths, simultaneously executing a plurality of data paths, and performing time division multiplexing processing with a processing module. Note that in the case of using broadcast communication, there is also a disadvantage in that the ring bus occupancy will increase since a transmission packet is not basically erased until it returns to a transmission source. Further, with the configuration disclosed in Japanese Patent No. 2834210, since a module in a state in which it is unable to receive erases a packet, after waiting one ring's worth of time or more, a transmission source starts retransmission processing. Accordingly, there has been a problem in that not only does control become complicated, but also transfer efficiency remarkably falls.
DISCLOSURE OF INVENTION
[0009] The present invention has been conceived in view of the aforementioned problems, and provides technology for enabling a change of the processing order with a simple configuration and, furthermore, enabling data processing with complicated data paths, such as separating a data path into branches, integrating data paths, and simultaneously executing a plurality of data paths.
[0010] According to one aspect of the present invention, a data processing apparatus includes a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means includes a reception means for receiving data from a previous communication means in the order, and a transmission means for transmitting data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same
connection information as the connection information that is assigned to the reception means of the communication means, causes the corresponding processing means to perform data processing on the packet, sets the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmits the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, transmits the packet to the next communication means in the order without changing the connection information of the packet .
[0011] According to another aspect of the present invention, a method for controlling a data processing apparatus comprising a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means executes a reception step in which a reception means receives data from a previous communication means in the order, and a transmission step in which a transmission means
transmits data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying a logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, executes steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, executes a step of transmitting the packet to the next communication means in the order without changing the connection information of the packet. [0012] According to still another aspect of the present invention, a program causes each of a plurality
of modules that have a reception means and a transmission means as communication means, and are connected in a ring shape in a prescribed order to execute : a reception step in which the reception means receives data from a previous communication means in the order; a transmission step in which the transmission means transmits data to a next communication means in the order; connection information for identifying logical connection of data processing is assigned to the reception means and the transmission means, and in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order; and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, a step of
transmitting the packet to the next communication means in the order without changing the connection information of the packet.
[0013] Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings .
BRIEF DESCRIPTION OF DRAWINGS
[0014] FIG. 1 is a block diagram showing an example of a configuration of a data processing apparatus according to an embodiment of the present invention.
[0015] FIG. 2 is a block diagram showing an example of a configuration of a communication unit. [0016] FIG. 3 is a block diagram showing an example of a configuration of a data reception unit. [0017] FIG. 4 is a block diagram showing an example of a configuration of a data transmission unit. [0018] FIG. 5 is a diagram showing an example of a configuration of a packet that is passed onto a ring bus ,
[0019] FIG. 6 is a block diagram showing an example of a configuration of the data processing apparatus in the case of five data processing units being provided. [0020] FIGS. 7A, 7B, 7C, and 7D are diagrams
showing examples of signal flow graphs . [0021] FIG. 8 is a block diagram showing an example of a configuration of a system that has the data processing apparatus according to the embodiment of the present invention.
[0022] FIG. 9 is a flowchart showing a control procedure performed by the data processing apparatus. [0023] FIG. 10 is a block diagram showing another example of a configuration of the communication unit. [0024] FIG. 11 is a block diagram showing an example of a configuration of the data processing apparatus according to the embodiment of the present invention.
[0025] FIG. 12 is a block diagram showing an example of a configuration of the data processing apparatus in the case of two input/output units and five data processing units being provided. [0026] FIG. 13 is a diagram showing examples of signal flow graphs for simultaneously processing two data flows.
[0027] FIGS. 14A and 14B are diagrams showing examples of signal flow graphs.
BEST MODE FOR CARRYING OUT THE INVENTION [0028] Embodiments of the present invention are described below. Of course, the following embodiments are intended to provide disclosure to allow a person
skilled in the technical field of the present invention to easily practice it, and are merely some of the embodiments of the present invention specified in the scope of the claims. Therefore, it is obvious for a person skilled in the art that even embodiments that are not directly described in this specification are included in the technical scope of the present invention, as far as the technical ideas thereof are commonly applied. It should be noted that although a plurality of embodiments are described for the sake of convenience, a person skilled in the art will easily understand that not only these embodiments are individually realized as an invention, but of course, the invention is realized by combining a plurality of embodiments as appropriate. Hereinafter, embodiments according to the present invention are described in detail in accordance with the attached drawings. [0029] Configuration of Data Processing Apparatus
FIG. 1 is a block diagram showing an example of a configuration of a data processing apparatus according to the present invention. In FIG. 1, reference numeral 101 denotes a data input/output unit (input/output unit) serving as an input/output means that inputs data to be processed and outputs data that has been processed. Further, reference numerals 102-1 to 102-m denote communication units (collectively, a communication unit 102) serving as communication means,
and reference numerals 103-2 to 103-m denote data processing units (processing units, and collectively, a data processing unit 103) serving as processing means. [0030] The communication units 102-1 to 102-m are connected to the communication units that are adjacent thereto, respectively (note that the communication unit 102-m is connected to the communication unit 102-1) , and constitute a ring bus. Furthermore, the communication units 102-1 to 102-m transmit and receive data between the ring bus and the data input/output unit 101 or the data processing units 103-2 to 103-m. Accordingly, the communication units 102-2 to 102-m are connected to the data processing unit 103-2 to 103-m, respectively.
[0031] Data input from an input terminal 151 is input to the communication unit 102-1 via the data input/output unit 101. The input data is packetized and is passed onto the ring bus. The communication unit 102 takes in a necessary packet from the ring bus in accordance with information that has been set in advance, extracts data from the packet that has been taken in, and inputs the extracted data to the data processing unit 103. The data processing unit 103 performs prescribed data processing thereon (for example, color space conversion, resolution conversion, or the like) , and outputs the data after processing to the communication unit 102.
[0032] The data after processing is packetized in the communication unit 102, and is passed onto the ring bus. In this way, by the communication units 102-2 to 102-m, data is successively processed in the data processing units 103-2 to 103-m in the order that has been set in advance. Then, data for which the set data processing has ended is taken into the data input/output unit 101 via the communication unit 102-1, and is output from an output terminal 152. Note that the data input/output unit 101 serves as an interface with an external device (or a module) , and can be omitted if the communication unit 102-1 can serve as a direct interface.
[0033] Here, the outline of operations performed by a data processing apparatus according to the present embodiment is described. In the data processing apparatus according to the present embodiment, a plurality of the data processing units 103 that perform prescribed data processing and the data input/output unit 101 are connected in a ring shape in the prescribed order via the communication units 102 corresponding thereto, respectively. As described later, each of the communication units 102 is provided with a reception unit 201 that receives data from the previous communication unit 102 in the order, and a transmission unit 204 that transmits data to the next communication unit 102 in the order. Further,
connection identifier information (connection information) for identifying the processing order of data processing (logical connection of data processing units or communication units) is assigned to each of the reception unit 201 and the transmission unit 204. In such a configuration, in the case of receiving a packet that has the same identifier information as the connection identifier information that is assigned to the reception unit 201 of the communication unit 102, the communication unit 102 causes the corresponding data processing unit 103 to perform data processing on the packet. Then, connection identifier information that is assigned to the transmission unit 204 of the communication unit 102 is set to the packet on which data processing has been performed, and the resultant packet is transmitted to. the next communication unit 102 in the order. On the other hand, in the case of receiving a packet that has identifier information that is not the same as the connection identifier information that is assigned to the reception unit 201 of the communication unit 102, the packet is transmitted to the next communication unit 102 in the order, without the identifier information thereof being changed. In this way, by controlling the transmission channel of a packet by assigning connection identifier information to each of the reception unit 201 and the transmission unit 204, data processing with a
complicated data path can be efficiently realized. Hereinafter, the detailed configuration of the communication unit 102 is described. [0034] Communication Unit
FIG. 2 is a block diagram showing an example of a configuration of the communication unit 102. In FIG. 2, reference numeral 201 denotes a data reception unit (reception unit) , reference numeral 202 denotes a buffer, reference numeral 203 denotes a selector, and reference numeral 204 denotes a data transmission unit (transmission unit) .
[0035] Δn output terminal 259 of the adjacent communication unit is connected to an input terminal 257; thus, the communication units 102-1 to 102-m constitute a ring bus. Further, signal lines 251, 252, 253, 254, 255, and 256 are connected to the corresponding data processing unit 103 (one of 103-2 to 103-m) . Note that the signal lines 251 to 256 of the communication unit 102-1 are connected to the data input/output unit 101.
[0036] FIG. 5 is a schematic diagram showing an example of a configuration of a packet that is passed onto the ring bus. In FIG. 5, reference numeral 501 denotes a valid flag that shows that the packet is valid, and reference numeral 502 denotes a stall flag that shows that reception of the packet is held. Reference numeral 503 denotes a count value that shows
the transmission order of data, reference numeral 504 denotes a connection identifier for identifying a logical data connection, and reference numeral 505 denotes data to be input to or output from the communication unit 102.
[0037] The packet input from the adjacent communication unit is once held in the buffer 202, and is output to the selector 203 at the next clock cycle. The data reception unit 201 monitors a packet from the input terminal 257, and if all of the following are satisfied, takes in this packet, and outputs the data thereof to the data processing unit 103 from the output terminal 252 (validating the valid signal 251) :
• The valid flag of the packet is valid,
• the connection identifier and count value thereof match those held in the reception unit 201, and
• the data processing unit 103 that is connected can input data (the stall signal 253 is not in a holding state) .
At this time, the data reception unit 201 notifies the buffer 202 that the data is taken in via a signal line 260, and clears the valid flag of the packet stored in the buffer 202, so as to invalidate the packet. Further, after taking in the packet, the count value 503 that the reception unit 201 holds is incremented. [0038] On the other hand, if all of the following are satisfied, the data reception unit 201 notifies the
buffer 202 of a data hold via the signal line 260, and sets the stall flag of the packet stored in the buffer 202:
• The valid flag of the input packet is valid,
• the connection identifier and count value thereof match those held in the reception unit 201, and
• the data processing unit 103 that is connected cannot input data (the stall signal 253 is in a holding state) .
Further, in the case in which, even though the valid flag of the input packet is valid and the connection identifier matches, the count value does not match the value that the reception unit 201 holds, since data cannot be taken in, a stall flag is also set in this case. Note that as described in an operation example described later, it is not necessary to evaluate a count value in determining whether or not to receive a packet.
[0039] The data transmission unit 204 monitors the valid flag of the output packet (a signal line 258) from the buffer 202. Since data cannot be output onto the ring bus when a valid flag is valid, the data transmission unit 204 sets the stall signal 254 in order to hold the output of data from the data processing unit 103 that is connected. Note that when a valid flag is invalid, the stall signal 254 is reset. If both of the following are satisfied, the data
transmission unit 204 validates a valid flag and invalidates a stall flag, adds a count value and a connection identifier set in a register, and generates a packet:
• Data can be output from the data processing unit 103 that is connected (if the valid signal 256 is valid) , and
• the valid flag of the output packet from the buffer 202 is invalid.
Then, the selector 203 is controlled, and this generated packet is passed onto the ring bus from the output terminal 259. After outputting the packet, the count value that the data transmission unit 204 holds is incremented. Note that as described in an operation example described later, with the configuration in which a count value is not evaluated, it is not necessary to increment a count value (for example, in the case of performing processing in which a problem due to the packet processing order being switched does not occur, the case in which the packet processing order is not switched, or the case in which packet processing is not held, a count value is not necessarily needed) . [0040] Data Reception Unit
FIG. 3 is a block diagram showing an example of a configuration of the data reception unit 201. In FIG. 3, reference numeral 301 denotes a register, reference
numeral 302 denotes a counter as a first holding means, reference numeral 303 denotes a comparison unit, and reference numeral 304 denotes a determination unit. [0041] The comparison unit 303 monitors a valid flag, a connection identifier, and a count value of a packet on the ring bus input from the input terminal 257. Then, if all of the following are satisfied, the valid signal 251 is validated:
• The valid flag of the packet is valid,
•' the connection identifier of the packet matches a connection identifier that is stored in the register 301, and
• the count value of the packet matches the value in the counter 302.
Note that a data portion of this packet is output to the output terminal 252. Further, the comparison unit 303 inputs the following into the determination unit 304:
• An input packet determination signal showing that the valid flag of the input packet is valid, and the connection identifier of this packet matches a connection identifier stored in the register 301, and
• a count-value matching signal showing that the count value of this packet matched the value in the counter 302.
The determination unit 304 determines whether or not the data processing unit 103 was able to take in data
based on an input packet determination signal, a count- value matching signal, and the stall signal 253 from the data processing unit 103 that is connected. If it is determined that the data processing unit 103 was able to take in data, the data reception unit 201 notifies the buffer 202 that the data is taken in via the signal line 260, and clears the valid flag of the packet stored in the buffer 202, so as to invalidate the packet. Note that, as is described later, for branching data (using data in a plurality of data processing units), this packet invalidating processing can be turned ON/OFF by a CPU, for instance. [0042] Α data taking-in notification signal is also input to the counter 302, and if it is determined that data could be taken in, in order to obtain the next data, the count value in the counter 302 is incremented (+1) at a next clock cycle. On the other hand, based on an input packet determination signal, a count-value matching signal, and the stall signal 253 from the data processing unit 103 that is connected, if it is determined that the data that is to be taken in cannot be taken in, the data reception unit 201 notifies the buffer 202 of a data hold via the signal line 260. Furthermore, the stall flag of the packet stored in the buffer 202 is set. Further, when it is determined that the order in which the data is taken in is not appropriate although it is a packet to be taken
in, based on an input packet determination signal and a count-value matching signal, similar processing is performed. Specifically, via the signal line 260, the data reception unit 201 notifies the buffer 202 of a data hold, and sets the stall flag of the packet stored in the buffer 202. Note that although a description has been given regarding the case of evaluating a count value here, if a count value is not evaluated, it is not necessary to transmit and receive a signal regarding a count value. [0043] Data Transmission Unit
FIG. 4 is a block diagram showing an example of a configuration of the data transmission unit 204. In FIG. 4, reference numeral 401 denotes a register, reference numeral402 denotes a counter as a second holding means, reference numeral 403 denotes a comparison unit, and reference numeral 404 denotes a packet generation unit.
[0044] The comparison unit 403 monitors the valid flag, the stall flag, and the connection identifier of an output packet (the signal line 258) from the buffer 202. Since data cannot be output onto the ring bus when a valid flag is valid, in order to hold the data output from the data processing unit 103 that is connected, the stall signal 254 is set. Note that when a valid flag is invalid, the stall signal 254 is reset. [0045] If both of the following are satisfied, the
comparison unit 403 determines that the packet output by the unit itself was not held and returned:
• The valid flag of the output packet from the buffer 202 is valid, and the stall flag thereof does not show that it is held, and
• the connection identifier of the output packet from the buffer 202 matches the connection identifier stored in the register 401.
Then, the comparison unit 403 controls the selector 203 via the packet generation unit 404, and a valid flag is invalidated so as to invalidate the packet. Since a packet can also be output in this case, the stall signal 254 is reset.
[0046] The packet generation unit 404 refers to the valid signal 256 from the data processing unit 103 that is connected. If it is determined that data can be output from the data processing unit 103 (if the valid signal 256 is valid) , and if an output packet from the buffer 202 matches one of the following cases, a valid flag is validated and a stall flag is invalidated and, then, a count value in the counter 402 and a connection identifier set in the register 401 are added so as to generate a packet:
• The case in which the valid flag of that output packet is invalid, and
• the case in which the packet is to be invalidated (when the valid flag is valid and the stall
flag does not show that it is held, and the connection identifier of the packet matches a connection identifier stored in the register 401) . Then, the packet generation unit 404 controls the selector 203 so as to pass the generated packet onto the ring bus from the output terminal 259. Furthermore, at the next clock cycle, the count value in the counter 402 is incremented (+1) . Note that since the counter 402 of the transmission unit 204 and the counter 302 of the reception unit 201 that receives a packet from this transmission unit synchronize, the counters are initialized to the same value before starting data transfer. Note that although a description has been given regarding the case of evaluating a count value here, if a count value is not evaluated, it is not necessary to execute processing regarding a count value. [0047] Operations Performed by Data Processing Apparatus Next, operations performed by the data processing apparatus according to the present embodiment are described with reference to the drawings. FIG. 6 is a block diagram in the case of five data processing units being provided. As shown in FIG. 6, it is assumed that each of the data processing units 103-2 to 103-6 performs the processing indicated by the processing units A to E, respectively, on input data. In order to simplify the description below, a description is given regarding the case in which input data is not held in
the data processing unit 103 and the input/output unit 101. In this case, the stall flag and a count value of a packet are not necessary. Operations in such a configuration are described using a signal flow graph. In the signal flow graph, a node is expressed with a "circle" and processing is expressed with an "arrow". [0048] Operation Example 1
First, if it is assumed that processing is simply performed in the order from processing A, processing B, processing C, processing D, and processing E, a signal flow graph is as shown in FIG. 7A. At this time,
• λλl" is stored in the register (register 301) of the reception unit 201 of the communication unit 102-2 corresponding to the processing unit A (data processing unit 103-2) , and "2" is stored in the register
(register 401) of the transmission unit 204 of the communication unit 102-2. Similarly,
• "2" is stored in the register of the reception unit 201 of the communication unit 102-3, and "3" is stored in the register of the transmission unit 204 thereof;
• "3" is stored in the register of the reception unit 201 of the communication unit 102-4, and "4" is stored in the register of the transmission unit 204 thereof;
• "4" is stored in the register of the reception unit 201 of the communication unit 102-5, and "5" is
stored in the register of the transmission unit 204 thereof; and
• "5" is stored in the register of the reception unit 201 of the communication unit 102-6, and "6" is stored in the register of the transmission unit 204 thereof.
[0049] Since the input terminal 151 corresponds to a node "1" and the output terminal 152 corresponds to a node "6", λλ6" is stored in the register of the reception unit 201 of the communication unit 102-1, and "1" is stored in the register of the transmission unit 204 thereof.
[0050] The communication unit 102-1 adds a connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "1", and inputs a data portion thereof to the data processing unit 103-2. The data processing unit 103-2 performs processing A on the input data, and outputs the resultant data to the communication unit 102-2. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-2, the communication unit 102-2 generates a packet having a connection identifier "2" and outputs the generated
packet to the communication unit 102-3.
[0051] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "2", and the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3. Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having a connection identifier "3" and outputs the generated packet to the communication unit 102-4.
[0052] Similarly, the communication unit 102-4 takes in the packet having the connection identifier XΛ3", the data processing unit 103-4 performs processing C thereon, so that a packet having a connection identifier λλ4" is generated and is output to the communication unit 102-5. The communication unit 102-5 takes in the packet having the connection identifier "4", and the data processing unit 103-5 performs processing D thereon, so that a packet having a connection identifier "5" is generated and is output to the communication unit 102-6. The communication unit 102-6 takes in the packet having the connection identifier "5", and the data processing unit 103-6 performs processing E thereon, so that a packet having a connection identifier XV6" is generated and is output
to the communication unit 102-1. Since "6" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152. In this way, the input data is processed in the order from processing A, processing B, processing C, processing D, and processing E, and the resultant data is output. [0053] Operation Example 2
FIG. 7B is a signal flow graph in which the order of processing B and processing C is inverted. In this case, λλ3" is stored in the register of the reception unit 201 of the communication unit 102-3, and "4" is stored in the register of the transmission unit 204 thereof. Then, "2" is stored in the register of the reception unit 201 of the communication unit 102-4, and "3" is stored in the register of the transmission unit 204 thereof. Since the values set in other registers are the same as those in the example shown in FIG. 7A, a description thereof is omitted.
[0054] The communication unit 102-1 adds the connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2. The communication unit 102-2 takes in the packet having the connection identifier "1", and the data processing unit 103-2
performs processing A thereon, so that a packet having the connection identifier "2" is generated, and the generated packet is output to the communication unit 102-3.
[0055] Since λΛ3" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 does not take in any packet other than a packet having the connection identifier "3", and outputs the packet to the communication unit 102-4 as it is. Therefore, the above-mentioned packet having the connection identifier "2" is output to the communication unit 102-4, without any processing being performed thereon. The communication unit 102-4 takes in the packet having the connection identifier "2", and the data processing unit 103-4 performs processing C thereon, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-5. [0056] Since "4" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 does not take in the packet having the connection identifier "3" and outputs the packet to the communication unit 102-4 as it is. Similarly, the communication unit 102-6, the communication unit 102-1, and the communication unit 102-2 do not perform any processing on a packet having the connection identifier λλ3". Therefore, after four
clock cycles since the communication unit 102-4 has output the packet, the packet having the connection identifier Nλ3" reaches the communication unit 102-3 and is taken in, and the data processing unit 103-3 performs processing B thereon, so that a packet having the connection identifier "4" is generated, and the generated packet is output to the communication unit 102-4.
[0057] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 does not take in the packet having the connection identifier "4" and outputs the packet to the communication unit 102-5 as it is. The communication unit 102-5 takes in the packet having the connection identifier λλ4", and the data processing unit 103-5 performs processing D thereon, so that a packet having the connection identifier Nλ5" is generated, and the generated packet is output to the communication unit 102-6. The communication unit 102-6 takes in the packet having the connection identifier "5", and the data processing, unit 103-6 performs processing E thereon, so that a packet having the connection identifier λΛ6" is generated, and the generated packet is output to the communication unit 102-1. Since "6" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection
identifier "6", and outputs a data portion thereof from the output terminal 152. In this way, the input data is processed in the order from processing A, processing C, processing B, processing D, and processing E, and the resultant data is output. [0058] Operation Example 3
FIG. 7C is a signal flow graph in which processing D and processing E are eliminated. In this case, it is sufficient to change the value set in the register of the transmission unit 204 of the communication unit 102-4 to "6". Since the values set in other registers are the same as those in the example shown in FIG. 7A, a description thereof is omitted. Note that a value that is not used in the signal flow graph is set to the registers of the reception units 201 of the communication unit 102-5 and the communication unit 102-6, so that a packet will not be taken therein. [0059] Operation Example 4
FIG. 7D shows an example of a signal flow graph including branching/integration. Such a signal flow is effective in the case of performing the following processing, for example:
(1) Using two of the same image, processing is performed on one of the images in which a low-frequency component is extracted therefrom by applying an LPF (low pass filter), and processing is performed on the
other image in which a high frequency component is extracted therefrom by applying an HPF (high pass filter) ; and
(2) the low-frequency component and the high frequency component of the images are composited so as to generate an output image.
The following is a description regarding the case in which processing including branching/integration is executed using a count value.
[0060] In order that data pieces from two lines that have been branched and processed are synchronized and taken in by the communication unit 102-6, before starting processing, the counter 402 of the transmission unit of the communication unit 102-3 is initialized to "0", and the counter 402 of the transmission unit of the communication unit 102-5 is initialized to "1". Further, the above-mentioned two counters are incremented by an increment of 2 (that is, +2 every time a packet is output) . By setting the counters in this way, the communication unit 102-6 can alternately receive the output from the communication unit 102-3, and the output from the communication unit 102-5. Further, since the communication unit 102-4 also needs to take in the packet that the communication unit 102-2 takes in, the communication unit 102-2 does not invalidate the packet that has been taken in, and is set so as to output the packet to the communication
unit 102-3 as it is. In other words, the input packet invalidating processing described above is set to OFF. [0061] Next, operations are described following the data flow. The communication unit .102-1 adds the connection identifier "1" to the data input from the input terminal 151, and outputs the resultant data to the communication unit 102-2. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "1", and inputs a data portion thereof to the data processing unit 103-2. Further, the input packet invalidating processing is set to OFF in the communication unit 102-2 to branch data and, accordingly, the communication unit 102-2 does not invalidate (erase) the packet that has been taken in, and outputs the packet to the communication unit 102-3 as it is. On the other hand, the data processing unit 103-2 performs processing A on the input data, and the resultant data is output to the communication unit 102- 2. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-2, a packet having the connection identifier "2" is generated, and the generated packet is output to the communication unit 102-3.
[0062] The communication unit 102-3 takes in the packet having the connection identifier "2", and the
data processing unit 103-3 performs processing B on that packet, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-4. At this time, the initial value "0" is added as a count value. Further, the counter 402 of the transmission unit is incremented by an increment of 2 for transmitting a next packet (that is, +2 every time a packet is output) . [0063] Since "1" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 does not take in the packet having the connection identifier "3", and outputs the packet to the communication unit 102-5 as it is. Similarly, the communication unit 102-5 does not perform any processing on the packet either, and outputs the packet to the communication unit 102-6 as it is.
[0064] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, and the counter 302 of the reception unit is initialized to "0", the communication unit 102-6 takes in the packet having the connection identifier "3" and the count value "0", and inputs a data portion thereof to the data processing unit 103-6. At this time, in order to receive the data on which processing D has been performed next, the counter 302 of the reception unit is incremented (+1) .
[0065] Since the packet branched by the communication unit 102-2 has the connection identifier "1", the communication unit 102-3 does not perform any processing thereon, and outputs the packet to the communication unit 102-4. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 takes in the packet having the connection identifier "1", and outputs a data portion thereof to the data processing unit 103-4. Note that since this packet will no longer be used by other data processing units, invalidating processing is performed thereon to facilitate effective use of the ring bus. The data processing unit 103-4 performs processing C on the input data, and outputs the resultant data to the communication unit 102-4. Since λM" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier "4", and outputs the generated packet to the communication unit 102-5. [0066] The communication unit 102-5 takes in the packet having the connection identifier "4", the data processing unit 103-5 performs processing D thereon, so that a packet having the connection identifier "3" is generated, and the generated packet is output to the communication unit 102-6. At this time, the initial value "1" is added as a count value. Further, the
counter 402 of the transmission unit is incremented by an increment of 2 for transmitting the next packet (that is, +2 every time a packet is output) . [0067] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, and the counter 302 of the reception unit is incremented so as to be "1", the communication unit 102-6 takes in a packet having the connection identifier "3" and the count value "1", and inputs a data portion thereof to the data processing unit 103-6. At this time, in order to receive the data on which processing B has been performed next, the counter 302 of the reception unit is incremented (+1) .
[0068] By performing the above operations, the data on which processing A and processing B have been performed is input for the even numbered times, and the data on which processing C and processing D have been performed is input for the odd numbered times, sequentially, to the data processing unit 103-6. The data processing unit 103-6 (processing E) composites (integrates) these data pieces, and outputs the result to the communication unit 102-6. Since "6" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier "6", and outputs the generated packet to the communication unit 102-1. Since "6" is stored in the register 301 of
the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152. The input data is branched and processed through two lines , namely, a line including processing A and processing B and a line including processing C and processing D, and composite processing is performed on the resultant data pieces in processing E, and the composited data is output. [0069] Operation Example 5
Similarly, it is also possible to separate a data path into branches based on a count value or to perform different processing on data arranged in specific intervals. For example, it is also possible to divide pixels into even-numbered pixels and odd-numbered pixels, and perform different processing thereon, easily. A description is given using an example in which in the signal flow graph shown in FIG. 7D, processing A and processing B are performed on even- numbered pixels, processing including processing C and processing D is performed on odd-numbered pixels, and processing E is performed where the pixels input for processing E are integrated.
[0070] Also in this case, similar to Operation Example 4, in order that data pieces from two lines that have been branched and processed are synchronized and taken in by the communication unit 102-6, before
starting processing, the counter 402 of the transmission unit of the communication unit 102-3 is initialized to "0", and the counter 402 of the transmission unit of the communication unit 102-5 is initialized to λλl". Further, the above-mentioned two counters are incremented by an increment of 2 (that is, +2 every time a packet is output) . In addition to this, in order that pixels are divided into even-numbered pixels and odd-numbered pixels and processed, before starting processing, the counter 302 of the reception unit of the communication unit 102-2 is initialized to "0", and the counter 302 of the reception unit of the communication unit 102-4 is initialized to "1". Further, the above-mentioned two counters are incremented by an increment of 2 (that is, +2 every time a packet is output) . By setting such settings, the communication unit 102-2 takes in a packet having an even-numbered count value, and the communication unit 102-4 takes in a packet having an odd-numbered count value. Note that in this case, since the same data is not referenced, the packet that has been taken in may be invalidated (the input packet invalidating processing is set to ON) . [0071] Example of System Configuration
FIG. 8 shows an example of a configuration of a system that has the data processing apparatus according to the present embodiment. Reference numeral 1100
denotes a system control unit that is provided with a CPU 1101 for arithmetic control, a ROM 1102 that stores fixed data and a program, a RAM 1103 that is used for temporarily saving data and loading a program, an external storage device 1104 that holds external data, and so on.
[0072] Reference numeral 1110 denotes a data input unit that takes in data to be processed from outside the system. For example, the data input unit 1110 may be realized by an image reading apparatus that has devices, such as an image scanner and an A/D converter, an audio input apparatus that has devices, such as a microphone and an A/D converter, or the like. [0073] Reference numeral 1120 denotes a data processing apparatus according to the present embodiment. Reference numeral 1130 denotes a data output unit that outputs data processed in this system to the outside. For example, the data output unit 1130 may be realized by an image output apparatus including a printer device that converts image data into a print dot pattern and outputs the result, or an audio output apparatus that outputs audio data through a D/A converter, for instance.
[0074] Data input in the data input unit 1110 may be sent to the system control unit and processed by the CPU 1101, or may be temporarily recorded on the RAM 1103 or the external storage device 1104 as it is.
Thus, the data processing apparatus 1120 may directly accept input data from the data input unit 1110 and perform processing thereon, or may perform processing by receiving instructions and data supplied from the system control unit 1100.
[0075] Further, the output from the data processing apparatus 1120 may be again sent to the system control unit 1100, or may be directly sent to the data output unit 1130. Based on the control of the system control unit 1100, a variety of data processing content is set in the data processing apparatus 1120, and then the data processing apparatus 1120 is supplied with a variety of processing, executes processing according to the settings, and outputs the processed data to the outside. [0076] Control Procedure
The procedure in which the system control unit controls the data processing apparatus 1120 is shown in FIG. 9. When control processing is started, in step S1210, the data processing apparatus 1120 is reset. At this time, the buffer 202 that constitutes the ring bus, the registers 301 and 401 that set a connection identifier, the counters 302 and 402 that show the data order, a counter increment register (not shown) , a packet invalidating setting register (not shown) , and so on are initialized. [0077] In step S1220, the registers 301 and 401
that store connection identifiers of the communication units are set. Further, the initial values and increments of the counters 302 and 402 that show the data order, the packet invalidating setting register, and so on are set as necessary.
[0078] In step S1230, parameter designation for the data processing unit, and the like are performed. Next, in step S1240, an instruction to start the data processing apparatus 1120 is given.
[0079] In step S1250, processing for monitoring an end notice from the data processing apparatus 1120 is performed, and this is repeated until it is determined that the end of processing has been detected in step S1260. In step S1260, if an end notice from the data processing apparatus 1120 is confirmed (YES in step S1260), the processing ends.
[0080] As described above, the data processing apparatus according to the present embodiment sets the node numbers in a signal flow graph in the registers of the communication unit, and controls the data flow using these node numbers. Thereby, it is possible to configure data flows that correspond to various signal flow graphs .
[0081] Further, in the present embodiment, the transmission unit 204 that is provided to at least one of the communication units 102 is provided with the counter 402 that holds a counter value. Then, if a
packet that has the same identifier information as connection identifier information assigned to the corresponding reception unit 201 is received, a counter value held by the counter 402 is set in a packet on which data processing has been performed, and the resultant packet is transmitted to the next communication unit 102 in the order. Furthermore, the counter value held by the counter 402 is incremented by a first value. On the other hand, the reception unit 201 provided to at least one of the communication units 102 is also provided with the counter 302 that holds a counter value. Then, only in the case of receiving a packet that has both of the following, the communication unit 102 causes the corresponding data processing unit 103 to perform data processing on that packet, and increments the counter value held by the counter 302 by a second value:
• The same identifier information as the connection identifier information assigned to the reception unit 201 of the communication unit 102, and
• the same counter value as the counter value held by the counter 302 of the reception unit 201. Therefore, according to the present embodiment, it is possible to execute data processing with complicated data paths, such as separating a data path into branches, integrating data paths, or simultaneously executing a plurality of data paths, by appropriately
setting the following, for instance:
• Connection identifier information that is to be assigned to the transmission unit and the reception unit, and
• the transmission unit and the reception unit that increment the counter values, and increment values of the counters (the first increment value, the second increment value) .
[0082] Further, in the case of receiving a packet that has the same identifier information as the connection identifier information assigned to the reception unit 201 of the communication unit 102, at least one of the communication units 102:
• transmits, to the next communication unit 102 in the order, a packet to which the connection identifier information assigned to the transmission unit 204 of the communication unit 102 has been set, and on which data processing has been performed; and also
• transmits the received packet to the next communication unit 102 in the order without changing the identifier information thereof.
Accordingly, it is possible to perform different data processing, respectively, on the same data using the different data processing units 103, and to monitor a data processing result obtained by a certain data processing unit.
[0083] Note that counter values held by the counters 402 and 302 may be initialized (first initialization, second initialization) . Alternatively, the increment value of the counter 402 (first value) , and the increment value of the counter 302 (second value) may be set (first setting, second setting) . This setting can be set by a user inputting an instruction, or by reading out data that shows details of the settings from a storage device. Accordingly, data processing can be arbitrarily customized. [0084] Further, in the present embodiment, registers (storage means) that store connection identifier information to be assigned to the reception unit 201 and the transmission unit 204 of the communication unit 102 are provided. Accordingly, by appropriately setting the contents stored in the registers, the data processing flow can be arbitrarily customized.
[0085] Note that in the description given above, although the buffer of the communication unit 102 is arranged between the reception unit 201 and transmission unit 204, the configuration is not limited to this, and for example, as shown in FIG. 10, the buffer may be arranged downstream of the selector 203. In this case, the setting of a stall flag to hold a packet and the clearance of a valid flag to invalidate a received packet are performed by the selector 203 via
a transmission unit 1304. Alternatively, after packets are received by the buffer, processing may be performed by the reception unit and the transmission unit. [0086] FIG. 11 shows another example of a configuration of a data processing apparatus. In FIG. 11, reference numerals 101-1 to 101-n denote n data input/output units, reference numerals 102-1 to 102-n+m denote n+m communication units, and reference numerals 103-1 to 103-m denote m data processing units. [0087] The configuration shown in FIG. 11 is a configuration to which another data input/output unit 101 has been added in order to simultaneously realize a plurality of different data paths. Note that since operations performed by the data input/output unit 101, the communication unit 102, and the data processing unit 103, respectively, are similar to those described above, a description thereof is omitted. [0088] Next, operations are described using a signal flow graph. In order to simplify the description, as shown in FIG. 12, using an example in which a data processing apparatus is constituted so as to be provided with two data input/output units and four data processing units, operations in the case of simultaneously processing two data paths are described. [0089] Operation Example 1
The case in which a data flow (a) and a data flow (b) shown in FIG. 13 are simultaneously processed is
described. First, in order to configure the data flow (a), "1" is stored in the register (the register 301) of the reception unit of the communication unit 102-3 corresponding to the processing unit B (the data processing unit 103-3) , and "3" is stored in the register (the register 401) of the transmission unit of the communication unit 102-3. "3" is stored in the register of the reception unit of the communication unit 102-5 corresponding to the processing unit D (the data processing unit 103-5) , and "5" is stored in the register of the transmission unit thereof. Since the input terminal 151-1 corresponds to the node "1" and the output terminal 152-1 corresponds to the node "5", "5" is stored in the register of the reception unit of the communication unit 102-1, and λΛl" is stored in the register of the transmission unit thereof. [0090] Next, in order to configure the data flow (b) , "2" is stored in the register (the register 301) of the reception unit of the communication unit 102-4 corresponding to the processing unit C (the data processing unit 103-4), and "4" is stored in the register (the register 401) of the transmission unit of the communication unit 102-4. "4" is stored in the register of the reception unit of the communication unit 102-6 corresponding to the processing unit E (the data processing unit 103-6), and "6" is stored in the register of the transmission unit thereof. Since the
input terminal 151-2 corresponds to the node "2" and the output terminal 152-2 corresponds to the node "6", "6" is stored in the register of the reception unit of the communication unit 102-1, and "2" is stored in the register of the transmission unit thereof. [0091] Data Flow (a)
After the above settings have been set, if data is input from the input terminal 151-1, the communication unit 102-1 adds the connection identifier "1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "6" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 does not take in the packet, and outputs the packet to the communication unit 102-3 as it is.
[0092] Since "1" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "1", and the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3. Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-4. [0093] Since "2" is stored in the register 301 of
the reception unit of the communication unit 102-4, the communication unit 102-4 outputs the packet to the communication unit 102-5 as it is, without taking in the packet. Since "3" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 takes in the packet having the connection identifier "3", and the data processing unit 103-5 performs processing D thereon, and outputs the result to the communication unit 102-5. Since "5" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "5", and outputs the generated packet to the communication unit 102-6.
[0094] Since "4" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet to the communication unit 102-1 as it is, without taking in the packet. Since "5" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "5", and outputs a data portion thereof from the output terminal 152-1. In this way, processing B and processing D are sequentially performed on the data input from the input terminal 151-1, and the resultant data is output from the output terminal 152-1.
[0095] Data Flow (b)
On the other hand, if data is input from the input terminal 151-2, the communication unit 102-2 adds the connection identifier "2" to the input data, and outputs the resultant data to the communication unit 102-3. Since "1" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 outputs that packet to the communication unit 102-4 as it is, without taking in the packet.
[0096] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 takes in the packet having the connection identifier "2", the data processing unit 103-4 performs processing C thereon, and outputs the result to the communication unit 102-4. Since "4" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier λM", and outputs the generated packet to the communication unit 102-5.
[0097] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 outputs the packet to the communication unit 102-6 as it is, without taking in the packet. Since "4" is stored in the register 301 of the reception unit of the communication unit 102-6, the
communication unit 102-6 takes in the packet having the connection identifier λM", and the data processing unit 103-6 performs processing E thereon, and outputs the result to the communication unit 102-6. Since "6" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier "6", and outputs the generated packet to the communication unit 102-1.
[0098] Since "5" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet to the communication unit 102-2 as it is, without taking in the packet. Since λλ6" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "6", and outputs a data portion thereof from the output terminal 152-2. [0099] In this way, processing C and processing E are sequentially performed on the data input from the input terminal 151-2, and the resultant data is output from the output terminal 152-2. Therefore, it can be seen that even if data pieces are simultaneously input to the input terminal 151-1 and the input terminal 151- 2, processing following the data flows that have been set is executed on the data pieces, and the data pieces are output from the output terminal 152-1 and the
output terminal 152-2, respectively. [0100] Operation Example 2
Next, a description is given regarding the case in which the sampling of data is performed in units of the prescribed number of pixels, and data pieces are output from different lines. For example, a description is given regarding the case in which JPEG compression is performed in one processing, and in another processing, only a DC component is extracted when performing JPEG compression so as to generate a reduced image. First, in the main data flow, data is input in a luminance/color difference format using YCC, DCT conversion is performed in processing B, quantization and zigzag scan conversion are performed in processing D, and variable length coding is performed in processing E, thus performing JPEG compression. On the other hand, in the sub-data flow, only a DC component is extracted from the output of processing B, and color conversion is performed in processing C so as to convert data into RGB data, thus obtaining a reduced image .
[0101] Therefore, a signal flow graph showing such processing is the graph as shown in FIG. 14A. Note that since only a DC component is extracted in processing C, the counter 302 of the reception unit of the communication unit 102-4 is incremented by an increment of 64 (that is, +64 every time data is taken
in) . Further, since the DC component that is the input data from processing C is also used in processing D, the communication unit 102-4 sets a setting so as to output the packet that has been taken into the communication unit 102-5 as it is, without invalidating it. In other words, the input packet invalidating processing described above is set to OFF. [0102] The following values are set in the register of the reception unit and the register of the transmission unit of the communication units 102:
• "4" in the register of the reception unit of the communication unit 102-1, and "1" in the register of the transmission unit thereof;
• "5" in the register of the reception unit of the communication unit 102-2, and an arbitrary value in the register of the transmission unit thereof (although any value may be set, 0 or the maximum value is normally set) ;
• "1" in the register of the reception unit of the communication unit 102-3, and "2" in the register of the transmission unit thereof;
• "2" in the register of the reception unit of the communication unit 102-4, and "5" in the register of the transmission unit thereof;
• "2" in the register of the reception unit of the communication unit 102-5, and ΛΛ3" in the register of the transmission unit thereof; and
• "3" in the register of the reception unit of the communication unit 102-6, and "4" in the register of the transmission unit thereof.
[0103] Hereinafter, an operation is described following a data flow. After the above-mentioned settings have been set, if data is input from the input terminal 151-1, the communication unit 102-1 adds the connection identifier Λ%1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "5" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 outputs the packet to the communication unit 102-3 as it is, without taking in the packet.
[0104] Since λλl" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "1", the data processing unit 103-3 performs processing B (DCT conversion) thereon, and outputs the result to the communication unit 102-3. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-3, and the counter 402 of the transmission unit of the communication unit 102-3 is initialized to "0" before the processing starts, the communication unit 102-3 generates a packet having the connection identifier "2" and the count value "0", and outputs the generated
packet to the communication unit 102-4. After outputting the packet, the counter 402 of the transmission unit of the communication unit 102-3 is incremented (+1) for the output of the next data. [0105] In the register 301 of the reception unit of the communication unit 102-4, "2" is stored, and the counter 302 of the reception unit of the communication unit 102-4 is initialized to "0". Accordingly, the communication unit 102-4 takes in the packet having the connection identifier "2" and the count value "0", and inputs a data portion thereof to the data processing unit 103-4. At this time, in order to receive the next DC component, the counter 302 of the reception unit is incremented by +64. Further, in the communication unit 102-4, the input packet invalidating processing is set to OFF for data branching and, accordingly, the communication unit 102-4 outputs the packet that has been taken in, to the communication unit 102-5 as it is, without invalidating (erasing) it. [0106] Processing C (color conversion) is performed on the data input to the data processing unit 103-4, and the resultant data is output to the communication unit 102-4. Since "5" is stored in the register 401 of the transmission unit of the communication unit 102-4, the communication unit 102-4 generates a packet having the connection identifier "5", and outputs the generated packet to the communication
unit 102-5 .
[0107] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 outputs the packet having the connection identifier "5" to the communication unit 102-6 as it is, without taking in the packet. Since λλ3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet to the communication unit 102- 1 as it is. Since "3" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet to the communication unit 102-2 as it is.
[0108] Since "5" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "5", and outputs a data portion thereof from the output terminal 152-2. In this way, processing B is performed on the data input from the input terminal 151-1 and, thereafter, the resultant data is extracted in units of 64 pixels, then processing C is performed thereon, and the resultant data is output from the output terminal 152-2. [0109] On the other hand, "2" is stored in the register 301 of the reception unit of the communication unit 102-5, and the counter 302 of the reception unit of the communication unit 102-5 is initialized to λλ0".
Accordingly, the communication unit 102-5 takes in the packet having the connection identifier "2" and the count value "0", and inputs a data portion thereof to the data processing unit 103-5. At this time, in order to receive the next data (AC components) , the counter 302 of the reception unit is incremented by +1. Further, the input packet invalidating processing is set to ON in the communication unit 102-5 since the packet taken in is not used in subsequent processing and, thus, the packet taken in is invalidated (erased) . [0110] Processing D (quantization and zigzag scan conversion) is performed on the data input to the data processing unit 103-5, and the resultant data is output to the communication unit 102-5. Since "3" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-6.
[0111] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 takes in the packet having the connection identifier "3", the data processing unit 103-6 performs processing E (variable length coding) on that packet, and outputs the resultant packet to the communication unit 102-6. Since "4" is stored in the register 401 of the transmission unit of the
communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier "4", and outputs the generated packet to the communication unit 102-1. Since "4" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "4", and outputs a data portion thereof from the output terminal 152-1. In this way, processing B, processing D, and processing E are sequentially performed on the data input from the input terminal 151-1, and the resultant data is output from the output terminal 152-1. [0112] Operation Example 3
Next, a description is given regarding the case of outputting the output of an arbitrary data processing unit from different lines. The signal flow graph shown in FIG. 14B is a graph in which processing C has been eliminated from the signal flow graph shown in FIG. 14A. Therefore, since the input/output unit 101-2 is not used, an arbitrary node can be monitored. The following is a description regarding a method for outputting monitor output of a node 2 in the signal flow graph shown in FIG. 14B from the output terminal 152-2. Note that a node to be monitored is expressed as a double circle so as to be distinguished. [0113] The following values are set in the register of the reception unit and the register of the
transmission unit of the communication units 102:
• "4" in the register of the reception unit of the communication unit 102-1, and "1" in the register of the transmission unit thereof/
• "2" in the register of the reception unit of the communication unit 102-2, and an arbitrary value in the register of the transmission unit thereof (although any value may be set, 0 or the maximum value is normally set) ;
• "1" in the register of the reception unit of the communication unit 102-3, and "2" in the register of the transmission unit thereof;
• "5" (a value that is not used in the main data flow) in the register of the reception unit of the communication unit 102-4, and an arbitrary value in the register of the transmission unit thereof (although any value may be set, 0 or the maximum value is normally set) ;
• "2" in the register of the reception unit of the communication unit 102-5, and "3" in the register of the transmission unit thereof; and
• "3" in the register of the reception unit of the communication unit 102-6, and NM" in the register of the transmission unit thereof.
[0114] Further, a setting is set in the communication unit 102-5 so as to output the packet that has been taken in to the communication unit 102-6
as it is, without invalidating the packet. Specifically, the input packet invalidating processing described above is set to OFF.
[0115] Hereinafter, an operation is described following a data flow. After the above-mentioned settings have been set, if data is input from the input terminal 151-1, the communication unit 102-1 adds the connection identifier "1" to the input data, and outputs the resultant data to the communication unit 102-2. Since "2" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 outputs the packet to the communication unit 102-3 as it is, without taking in the packet .
[0116] Since "1" is stored in the register 301 of the reception unit of the communication unit 102-3, the communication unit 102-3 takes in the packet having the connection identifier "1", the data processing unit 103-3 performs processing B thereon, and outputs the result to the communication unit 102-3. Since "2" is stored in the register 401 of the transmission unit of the communication unit 102-3, the communication unit 102-3 generates a packet having the connection identifier "2", and outputs the generated packet to the communication unit 102-4. Since "5" is stored in the register 301 of the reception unit of the communication unit 102-4, the communication unit 102-4 outputs the
packet having the connection identifier "2" to the communication unit 102-5 as it is, without taking in the packet.
[0117] Since "2" is stored in the register 301 of the reception unit of the communication unit 102-5, the communication unit 102-5 takes in the packet having the connection identifier "2", and inputs a data portion thereof to the data processing unit 103-5. Note that for monitoring, the communication unit 102-5 outputs the packet that has been taken in to the communication unit 102-6 as it is, without invalidating the packet. This is because the input packet invalidating processing described above is set to OFF. [0118] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 outputs the packet having the connection identifier "2" to the communication unit 102-1 as it is, without taking in the packet. Since "4" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 outputs the packet having the connection identifier "2" to the communication unit 102-2 as it is, without taking in the packet. Since λλ2" is stored in the register 301 of the reception unit of the communication unit 102-2, the communication unit 102-2 takes in the packet having the connection identifier "2", and outputs a data portion thereof from the output
terminal 152-2 .
[0119] On the other hand, the data processing unit 103-5 performs processing D on the data portion of the packet that the communication unit 102-5 has taken in, and outputs the result to the communication unit 102-5. Since λΛ3" is stored in the register 401 of the transmission unit of the communication unit 102-5, the communication unit 102-5 generates a packet having the connection identifier "3", and outputs the generated packet to the communication unit 102-6. [0120] Since "3" is stored in the register 301 of the reception unit of the communication unit 102-6, the communication unit 102-6 takes in the packet having the connection identifier "3", the data processing unit 103-6 performs processing E thereon, and outputs the result to the communication unit 102-6. Since "4" is stored in the register 401 of the transmission unit of the communication unit 102-6, the communication unit 102-6 generates a packet having the connection identifier λM", and outputs the generated packet to the communication unit 102-1.
[0121] Since "4" is stored in the register 301 of the reception unit of the communication unit 102-1, the communication unit 102-1 takes in the packet having the connection identifier "4", and outputs a data portion thereof from the output terminal 152-1. In this way, processing B, processing D, and processing E are
sequentially performed on the data input from the input terminal 151-1, and the resultant data is output from the output terminal 152-1 and, also, from the output terminal 152-2, the output of processing B that is an intermediate result of the series of processing can be obtained.
[0122] As described above, by adding another data input/output unit, it is possible to simultaneously process a plurality of data flows. Further, since it is possible to simultaneously output data in an intermediate node, other data processing apparatuses can also use intermediate data from the processing. [0123] Note that although a value is set to the register 401 of the transmission unit of the communication unit 102, such a value may be fixed in each of the communication units. For example, "1" may be fixed in the communication unit 102-1, λλ2" in the communication unit 102-2, ..., and "m" in the communication unit 102-m. In this case, although the node number of the destination of the arrow that shows a process in the signal flow graph is fixed for each process, since the source of the arrow (input) can be programmed, it is possible to perform an operation similar to that as described above.
[0124] Further, in the embodiment described above, although a valid flag showing that a packet is valid is used, the configuration is not limited to this. For
example, a specific connection identifier (for example, "0") may be used to show that a packet including it is an invalid packet.
[0125] As described above, the data processing apparatus described above is provided with a plurality of data processing units that perform data processing, a data input/output unit that inputs and outputs data, and a plurality of communication units that connect the data processing units and the data input/output unit. Furthermore, the data processing apparatus is provided with the following:
• A means for storing a connection identifier with which an input unit and an output unit of the communication unit that is connected to each module identify a logical connection for processing data;
• a data output means for adding a connection identifier stored in the output unit of the communication unit to data when the data is output from the communication unit; and
• a data input means for comparing the connection identifier added to the data input to the input unit of the communication unit with a connection identifier stored in the input unit of the communication unit, and taking the data whose connection identifier matched into the module.
In this way, the data processing apparatus controls a data path using numbers (connection identifiers) for
identifying a node in a signal flow graph that shows the flow of data processing. Accordingly, since it is possible to realize complicated data paths, such as separating a data path into branches, integrating data paths, or simultaneously executing a plurality of data paths, even if each processing module is constituted from hardware (a circuit whose function cannot be changed using a program) , flexible processing can be realized. Further, since the erasing of a packet can also be controlled for each processing module, a ring bus can be efficiently used.
[0126] According to the present invention, it is possible to provide technology with which the order of processing, such as pipeline processing, can be changed with a simple configuration if pipeline processing or the like is performed using a plurality of modules to which a prescribed function has been assigned. [0127] Further, it is possible to provide technology that enables data processing with complicated data paths, such as separating a data path into branches, integrating data paths, or simultaneously executing a plurality of data paths. [0128] Other Embodiments
Further, in the embodiment described above, although a valid flag showing that a packet is valid is used, a packet length may be shortened by using a specific connection identifier (for example, "0") to
show that a packet including it is an invalid packet. [0129] Further, it is sufficient to input data obtained from the outside in the form of a packet handled in the ring bus, as it is. Furthermore, it is sufficient that the processing unit may interpret a packet and process the packet as it is. [0130] The diagrams schematically showing configurations of the units of the data processing apparatus referenced in the embodiments described above are intended to describe a circuit and the connecting relationship of functional means, and are not intended to limit the positional relationship of the configurations and the number thereof. For example, in order to implement the present invention, it is sufficient to use three or more communication units (including an input/output unit) . Further, it is sufficient to use two or more processing units. [0131] The diagrams schematically showing configurations of the units of the data processing apparatus referenced in the embodiments described above are intended to describe a circuit and the connecting relationship of functional means, and are not intended to limit the positional relationship of the configurations. For example, a processing module may be formed as a separate chip, or may be formed as a single chip. The same follows for the data processing unit and the communication unit. Of course, the
configuration of the present invention may be formed as one chip.
[0132] Further, in the embodiments described above, although only an example in which single pipeline processing is set is described, the present invention can be applied to a parallel processing unit that executes a plurality of pipeline processing using time division multiplexing. In that case, it is sufficient that a path identifier for identifying pipeline processing to which a packet belongs is provided to the format of the packet, and each module is also caused to store a setting according to each module, for each pipeline processing. Further, a register that identifies an input packet for identifying input data, and a register that stores an identifier added to a packet to be output must also to store an identifier for each pipeline processing.
[0133] Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the
program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable storage medium) .
[0134] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions. [0135] This application claims the benefit of Japanese Patent Application No. 2009-049713, filed on March 3, 2009, which is hereby incorporated by reference herein in its entirety.
Claims
1. A data processing apparatus comprising a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means includes a reception means for receiving data from a previous communication means in the order, and a transmission means for transmitting data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, causes the corresponding processing means to perform data processing on the packet, sets the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmits the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, transmits the packet to the next communication means in the order without changing the connection information of the packet.
2. The data processing apparatus according to claim 1, wherein the transmission means included in at least any one of the communication means includes a first holding means for holding a counter value, sets the counter value that the first holding means holds to the packet on which data processing has been performed, transmits the packet to the next communication means in the order, and increments the counter value that the first holding means holds by a first value, the reception means included in at least any one of the communication means includes a second holding means for holding a counter value, and the communication means causes, only in a case of receiving a packet that has both of information that is same as the connection information that is assigned to the reception means of the communication means, and a counter value that is same as the counter value that the second holding means of the reception means holds, the corresponding processing means to perform data processing on the packet, and increments the counter value that the second holding means holds by a second value.
3. The data processing apparatus according to claim 2, further comprising: a first initializing means for initializing the counter value that the first holding means holds; and a second initializing means for initializing the counter value that the second holding means holds .
4. The data processing apparatus according to claim 2 or 3, further comprising: a first setting means for setting the first value; and a second setting means for setting the second value .
5. The data processing apparatus according to any one of claims 1 to 4, wherein in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, at least any one of the communication means transmits the packet to which the connection information that is assigned to the transmission means of the communication means has been set and on which data processing has been performed to the next communication means in the order, and also transmits the received packet to the next communication means in the order, without changing the connection information thereof.
6. The data processing apparatus according to any one of claims 1 to 5, wherein at least any one of the processing means is an input/output means for inputting data to be processed, and outputting data that has been processed.
7. The data processing apparatus according to any one of claims 1 to 6, further comprising a storage means for storing the connection information assigned to the reception means and the transmission means of the communication means.
8. The data processing apparatus according to any one of claims 1 to 7, wherein the connection information is identifier information for identifying a logical connection of data processing.
9. A method for controlling a data processing apparatus comprising a plurality of processing means for performing prescribed data processing that are connected in a ring shape in a prescribed order via communication means respectively corresponding thereto, wherein each of the communication means executes a reception step in which a reception means receives data from a previous communication means in the order, and a transmission step in which a transmission means transmits data to a next communication means in the order, to each of the reception means and the transmission means, connection information for identifying a logical connection of data processing is assigned, the communication means, in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, executes steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order, and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, executes a step of transmitting the packet to the next communication means in the order without changing the connection information of the packet.
10. A program that causes each of a plurality of modules that have a reception means and a transmission means as communication means, and are connected in a ring shape in a prescribed order to execute: a reception step in which the reception means receives data from a previous communication means in the order; a transmission step in which the transmission means transmits data to a next communication means in the order; connection information for identifying logical connection of data processing is assigned to the reception means and the transmission means, and in a case of receiving a packet that has same connection information as the connection information that is assigned to the reception means of the communication means, steps of causing the corresponding processing means to perform data processing on the packet, setting the connection information that is assigned to the transmission means of the communication means to the packet on which data processing has been performed, and transmitting the packet to the next communication means in the order; and in a case of receiving a packet that has connection information that is not same as the connection information that is assigned to the reception means of the communication means, a step of transmitting the packet to the next communication means in the order without changing the connection information of the packet.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/139,502 US9021126B2 (en) | 2009-03-03 | 2010-01-15 | Data processing apparatus and method for controlling data processing apparatus |
US14/658,694 US10148455B2 (en) | 2009-03-03 | 2015-03-16 | Data processing apparatus, method for controlling data processing apparatus, and program |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009049713A JP5419493B2 (en) | 2009-03-03 | 2009-03-03 | Data processing apparatus, data processing apparatus control method, and program |
JP2009-049713 | 2009-03-03 |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/139,502 A-371-Of-International US9021126B2 (en) | 2009-03-03 | 2010-01-15 | Data processing apparatus and method for controlling data processing apparatus |
US14/658,694 Continuation US10148455B2 (en) | 2009-03-03 | 2015-03-16 | Data processing apparatus, method for controlling data processing apparatus, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2010100970A1 true WO2010100970A1 (en) | 2010-09-10 |
Family
ID=42026796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2010/050741 WO2010100970A1 (en) | 2009-03-03 | 2010-01-15 | Data processing apparatus, method for controlling data processing apparatus, and program |
Country Status (3)
Country | Link |
---|---|
US (2) | US9021126B2 (en) |
JP (1) | JP5419493B2 (en) |
WO (1) | WO2010100970A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032704A (en) * | 2017-06-12 | 2018-12-18 | 深圳市中兴微电子技术有限公司 | A kind of method and apparatus of data processing |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5538798B2 (en) * | 2009-03-17 | 2014-07-02 | キヤノン株式会社 | Data processing apparatus and data processing method or program |
JP5600492B2 (en) * | 2010-06-28 | 2014-10-01 | キヤノン株式会社 | Data processing apparatus, data processing method, control apparatus, control method, and program |
JP2012252490A (en) * | 2011-06-02 | 2012-12-20 | Renesas Electronics Corp | Multiprocessor and image processing system using the same |
JP5922898B2 (en) * | 2011-09-15 | 2016-05-24 | キヤノン株式会社 | Information processing apparatus, communication method, and program |
US9135532B2 (en) | 2011-10-07 | 2015-09-15 | Hewlett-Packard Development Company, L.P. | Processing image data strips |
WO2013129752A1 (en) * | 2012-03-02 | 2013-09-06 | 엘에스산전(주) | Communication device and communication method |
JP2013196509A (en) * | 2012-03-21 | 2013-09-30 | Canon Inc | Information processor and control method of the same |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6423340A (en) | 1987-07-20 | 1989-01-26 | Sanyo Electric Co | Ring-shaped network device |
US4884192A (en) * | 1984-08-16 | 1989-11-28 | Sharp Kabushiki Kaisha | Information processor capable of data transfer among plural digital data processing units by using an active transmission line having locally controlled storage of data |
US5155858A (en) * | 1988-10-27 | 1992-10-13 | At&T Bell Laboratories | Twin-threshold load-sharing system with each processor in a multiprocessor ring adjusting its own assigned task list based on workload threshold |
JP2518293B2 (en) | 1987-07-24 | 1996-07-24 | 日本電気株式会社 | Data Flow Processor |
JP2834210B2 (en) | 1988-09-14 | 1998-12-09 | 株式会社日立製作所 | Message control method in ring network |
JP2009049713A (en) | 2007-08-20 | 2009-03-05 | Canon Inc | Data communication equipment, its control method, computer program and storage medium |
Family Cites Families (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0123340Y2 (en) | 1981-05-30 | 1989-07-18 | ||
US4554659A (en) * | 1983-12-12 | 1985-11-19 | At&T Bell Laboratories | Data communication network |
US4615029A (en) * | 1984-12-03 | 1986-09-30 | Texas Instruments Incorporated | Ring transmission network for interfacing control functions between master and slave devices |
US4768190A (en) * | 1986-04-30 | 1988-08-30 | Og Corporation | Packet switching network |
JPS6242260A (en) * | 1986-08-01 | 1987-02-24 | Hitachi Ltd | Decentralized processing method |
US5274637A (en) * | 1989-12-28 | 1993-12-28 | Yamaha Corporation | Token-ring-type local area network |
US5216670A (en) * | 1991-07-03 | 1993-06-01 | International Business Machines Corporation | Message stripping protocol for a communication network |
US5490145A (en) * | 1993-05-25 | 1996-02-06 | Matsushita Electric Industrial Company, Ltd. | Communication system for a ring-type network |
JPH0766820A (en) * | 1993-08-24 | 1995-03-10 | Matsushita Electric Ind Co Ltd | Flow control system |
DE69329834T2 (en) * | 1993-10-19 | 2001-05-31 | International Business Machines Corp., Armonk | ACCESS CONTROL SYSTEM FOR A MULTI-CHANNEL TRANSMISSION RING |
US6026425A (en) * | 1996-07-30 | 2000-02-15 | Nippon Telegraph And Telephone Corporation | Non-uniform system load balance method and apparatus for updating threshold of tasks according to estimated load fluctuation |
US6028837A (en) * | 1996-08-27 | 2000-02-22 | National Semiconductor Corporation | Ether ring architecture for local area networks |
US5896384A (en) * | 1997-02-28 | 1999-04-20 | Intel Corporation | Method and apparatus for transferring deterministic latency packets in a ringlet |
JPH11167560A (en) * | 1997-12-03 | 1999-06-22 | Nec Corp | Data transfer system, switching circuit used to the transfer system, adapter, integrated circuit having the transfer system and data transfer method |
US6246692B1 (en) * | 1998-02-03 | 2001-06-12 | Broadcom Corporation | Packet switching fabric using the segmented ring with resource reservation control |
JP3595690B2 (en) * | 1998-08-06 | 2004-12-02 | 富士通株式会社 | Fixed-length data processor |
JP3626017B2 (en) * | 1998-08-07 | 2005-03-02 | 富士通株式会社 | Fixed-length data processor |
US6370579B1 (en) * | 1998-10-21 | 2002-04-09 | Genuity Inc. | Method and apparatus for striping packets over parallel communication links |
US6496516B1 (en) * | 1998-12-07 | 2002-12-17 | Pmc-Sierra, Ltd. | Ring interface and ring network bus flow control system |
US6658016B1 (en) * | 1999-03-05 | 2003-12-02 | Broadcom Corporation | Packet switching fabric having a segmented ring with token based resource control protocol and output queuing control |
ATE354227T1 (en) * | 2000-06-19 | 2007-03-15 | Broadcom Corp | EXCHANGE WITH A STORAGE MANAGEMENT UNIT TO IMPROVE FLOW CONTROL |
JP2002190816A (en) * | 2000-12-20 | 2002-07-05 | Nec Corp | Wireless communication system |
US6959358B2 (en) * | 2001-07-06 | 2005-10-25 | Micron Technology, Inc. | Distributed content addressable memory |
US20040012600A1 (en) * | 2002-03-22 | 2004-01-22 | Deering Michael F. | Scalable high performance 3d graphics |
WO2005022850A1 (en) * | 2003-09-01 | 2005-03-10 | Nippon Telegraph And Telephone Corporation | Packet communication method |
JP4970284B2 (en) * | 2005-12-28 | 2012-07-04 | パナソニック株式会社 | Transmitting apparatus and receiving apparatus |
JP2007243595A (en) * | 2006-03-08 | 2007-09-20 | Fuji Xerox Co Ltd | Network control apparatus and control method |
JP4929073B2 (en) | 2006-07-07 | 2012-05-09 | キヤノン株式会社 | Multi-function printer |
US7940759B2 (en) * | 2007-06-22 | 2011-05-10 | Newport Media, Inc. | Robust technique for frame synchronization in DAB-IP systems |
JP4468425B2 (en) * | 2007-08-31 | 2010-05-26 | 株式会社東芝 | Transmission device, reception device, content transmission / reception system, content transmission method, content reception method, and program |
JP2009194860A (en) * | 2008-02-18 | 2009-08-27 | Toshiba Corp | Transmitter, receiver, content transmitting and receiving system, content transmitting method, content receiving method, and program |
DE102008018633B4 (en) * | 2008-04-11 | 2013-10-10 | Phoenix Contact Gmbh & Co. Kg | Method, bus components and control system for Ethernet-based control of an automation system |
DE112008004203B4 (en) * | 2008-12-25 | 2015-01-08 | Mitsubishi Electric Corporation | Communication management device, communication device and communication method |
US8774187B2 (en) * | 2011-10-24 | 2014-07-08 | Richard L. Hartman | Methods, systems, and devices for interfacing to networks |
-
2009
- 2009-03-03 JP JP2009049713A patent/JP5419493B2/en active Active
-
2010
- 2010-01-15 WO PCT/JP2010/050741 patent/WO2010100970A1/en active Application Filing
- 2010-01-15 US US13/139,502 patent/US9021126B2/en active Active
-
2015
- 2015-03-16 US US14/658,694 patent/US10148455B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4884192A (en) * | 1984-08-16 | 1989-11-28 | Sharp Kabushiki Kaisha | Information processor capable of data transfer among plural digital data processing units by using an active transmission line having locally controlled storage of data |
JPS6423340A (en) | 1987-07-20 | 1989-01-26 | Sanyo Electric Co | Ring-shaped network device |
JP2518293B2 (en) | 1987-07-24 | 1996-07-24 | 日本電気株式会社 | Data Flow Processor |
JP2834210B2 (en) | 1988-09-14 | 1998-12-09 | 株式会社日立製作所 | Message control method in ring network |
US5155858A (en) * | 1988-10-27 | 1992-10-13 | At&T Bell Laboratories | Twin-threshold load-sharing system with each processor in a multiprocessor ring adjusting its own assigned task list based on workload threshold |
JP2009049713A (en) | 2007-08-20 | 2009-03-05 | Canon Inc | Data communication equipment, its control method, computer program and storage medium |
Non-Patent Citations (1)
Title |
---|
YONG M CHONG: "A DATA-FLOW ARCHITECTURE FOR DIGITAL IMAGE PROCESSING", WESCON CONFERENCE RECORD, XX, XX, 1 January 1984 (1984-01-01), pages 4/601 - 4/610, XP000565437 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032704A (en) * | 2017-06-12 | 2018-12-18 | 深圳市中兴微电子技术有限公司 | A kind of method and apparatus of data processing |
CN109032704B (en) * | 2017-06-12 | 2022-08-09 | 深圳市中兴微电子技术有限公司 | Data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
JP2010206517A (en) | 2010-09-16 |
US9021126B2 (en) | 2015-04-28 |
US10148455B2 (en) | 2018-12-04 |
JP5419493B2 (en) | 2014-02-19 |
US20150188726A1 (en) | 2015-07-02 |
US20110246670A1 (en) | 2011-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10148455B2 (en) | Data processing apparatus, method for controlling data processing apparatus, and program | |
JP5922898B2 (en) | Information processing apparatus, communication method, and program | |
US9225547B2 (en) | Apparatus, method, and medium for controlling transmission of data | |
US9152605B2 (en) | Apparatus, method, and computer-readable storage medium for data processing in a ring bus | |
JP5460156B2 (en) | Data processing device | |
EP2312457A2 (en) | Data processing apparatus, data processing method and computer-readable medium | |
CN102739651B (en) | automation system | |
US20100303090A1 (en) | Data processing apparatus using ring bus, data processing method andcomputer-readable storage medium | |
KR100283979B1 (en) | Micro-frame multiplex transmitter | |
CN1130951C (en) | Segmented performance monitoring of multi-stage ATM node | |
JP5406558B2 (en) | Data processing apparatus, data processing method and program | |
US9071504B2 (en) | Data processing apparatus and method of controlling the same | |
JP5432587B2 (en) | Data processing apparatus, control method thereof, and program | |
JP5600492B2 (en) | Data processing apparatus, data processing method, control apparatus, control method, and program | |
JP6139857B2 (en) | Data processing apparatus, input control apparatus, and control method | |
EP3448015A1 (en) | Multiplexer and image capturing device provided with said multiplexer | |
JP2019036833A (en) | Signal processing apparatus and signal processing method | |
US7545409B2 (en) | Imaging module and data receiving apparatus | |
CN111930327A (en) | LED mirror screen display method and device | |
JP2014236382A (en) | Transmission device, reception device, and transmission reception system | |
JPH11184672A (en) | Serial data holding circuit | |
CN112446474A (en) | Chip, multichip system, electronic equipment and data transmission method | |
JP2011170560A (en) | Apparatus and method for processing data | |
JP2012231346A (en) | Network device, network and lldp frame processing method used therein | |
JP2002216105A (en) | Image processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10703360 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 13139502 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10703360 Country of ref document: EP Kind code of ref document: A1 |