JPH01312672A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH01312672A
JPH01312672A JP63146171A JP14617188A JPH01312672A JP H01312672 A JPH01312672 A JP H01312672A JP 63146171 A JP63146171 A JP 63146171A JP 14617188 A JP14617188 A JP 14617188A JP H01312672 A JPH01312672 A JP H01312672A
Authority
JP
Japan
Prior art keywords
processor
switch circuit
processing
image data
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63146171A
Other languages
Japanese (ja)
Inventor
Yasuyuki Okumura
奥村 康行
Ryozo Kishimoto
岸本 了造
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP63146171A priority Critical patent/JPH01312672A/en
Publication of JPH01312672A publication Critical patent/JPH01312672A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To equalize the loads of processors by dispersing variance among blocks by a feedback system using a multistage switch even though there is the variance among the blocks in connection with the processing quantity of picture data inputted by a common bus. CONSTITUTION:The title processor is provided with one input bus 20, one output bus 30, plural processors 1-8 to perform picture processing, the multistage switching circuits 41a-41d, 42a-42d, 43a-43d and a passing means to connect the intermediate processed result of each of plural processors to other processor through the multistage switching circuit 40. Thus, each of plural processors 1-8 can perform dynamic load dispersion through the multistage switching circuit 40 by the passing means, and each processor can be made to operate effectively, and whole processing capacity can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像処理装置に関し、特に、複数個のプロセ
ッサ構成で画像処理を行う場合に、各々のプロセッサの
画像処理の処理負荷を動的に分散した画像処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device, and in particular, when image processing is performed using a plurality of processors, it is possible to dynamically reduce the processing load of image processing of each processor. The present invention relates to image processing devices distributed throughout the world.

〔従来の技術〕[Conventional technology]

従来、例えば、動画像の画像処理を行う画像処理装置は
1画像の1フレ一ム時間の内で1画面分の画像処理を行
なわなければならない。このため、処理能力が不足する
場合には、複数個のプロセッサ構成としたマルチプロセ
ッサ構成の画像処理装置とされる。このような、複数プ
ロセッサ構成のマルチプロセッサ画像処理装置の例を、
第8図に示す。第8図のマルチプロセッサ画像処理装置
は、複数個のプロセッサ11〜13が入力バス20と出
力バス30に共通に接続された構成となっているもので
ある。複数個のプロセッサ11〜13は、それぞれ処理
する画像の画像領域が予め固定的に定められており、プ
ロセッサは自プロセッサに割当られた領域画像データの
みを入力バス20から取りこんで処理を行い、取りこん
だ時と同じ順番に出力バス30へ処理結果を送出する。
Conventionally, for example, an image processing apparatus that performs image processing of a moving image must perform image processing for one screen within one frame time of one image. Therefore, when the processing capacity is insufficient, the image processing apparatus is configured with a multiprocessor configuration including a plurality of processors. An example of such a multiprocessor image processing device having a multiprocessor configuration is as follows.
It is shown in FIG. The multiprocessor image processing device shown in FIG. 8 has a configuration in which a plurality of processors 11 to 13 are commonly connected to an input bus 20 and an output bus 30. Each of the plurality of processors 11 to 13 has an image area fixedly determined in advance for each image to be processed, and each processor takes in only the area image data assigned to it from the input bus 20 and processes it. The processing results are sent to the output bus 30 in the same order as when they were sent.

すなわち、このような構成では、複数の各プロセッサが
、第1領域プロセッサ11.第2領域プロセッサ12.
・・・・、第n領域プロセッサ13と、処理する画像デ
ータの画像領域により分けられており、ある領域のプロ
セッサは。
That is, in such a configuration, each of the plurality of processors is the first area processor 11 . Second region processor 12.
. . . It is divided by the n-th area processor 13 and the image area of the image data to be processed, and the processor for a certain area is...

他の領域の画像データを処理することはない。Image data in other areas is not processed.

〔発明が解しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような画像処理装置において、ベク
トル量子化のような符号化処理の場合。
However, in such an image processing apparatus, in the case of encoding processing such as vector quantization.

通常1次処理として前フレームの画像データとの差分を
もとに有効/無効の判定を行い、有効画素にのみベクト
ル量子化を2次処理とりで施す。この場合、各々のプロ
セッサが分担する領域に含まれる有効画素の比率は0%
から100%まで変動するが、テレビ会議画像の場合な
どでは、全体として高々30%程度である。従って、第
8図に示すような構成のマルチプロセッサ構成の画像処
理装置では、常に有効画素が100%存在すると仮定し
て設計する必要があり、通常はその処理能力の2/3程
度が無駄になるという問題があった。
Normally, as a primary process, validity/invalidity is determined based on the difference with the image data of the previous frame, and vector quantization is performed only on valid pixels as a secondary process. In this case, the ratio of effective pixels included in the area shared by each processor is 0%.
However, in the case of video conference images, etc., the overall amount is about 30% at most. Therefore, an image processing device with a multiprocessor configuration as shown in FIG. 8 must be designed on the assumption that 100% of effective pixels always exist, and usually about two-thirds of its processing power is wasted. There was a problem.

本発明は、前記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、複数プロセッサ構成の画像処理装置に
おいて、入力バスを介して取りこんだ画像データに対す
る処理量がプロセッサの間で極端に異なる場合も、処理
量が均等化されるように動的な負荷分散を行い、全体の
処理能力を高めた画像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide dynamic processing so that the amount of processing is equalized even when the amount of processing for image data taken in via an input bus is extremely different between the processors in an image processing device configured with a plurality of processors. An object of the present invention is to provide an image processing device that performs load distribution and improves overall processing capacity.

本発明の前記ならびにその他の目的と新規な特徴は1本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために1本発明においては。 In order to achieve the above object, one aspect of the present invention is as follows.

画像処理装置が、1つの入力バスと、1つの出力バスと
、前記入力バスおよび出力バスに接続され画像処理を行
う複数個のプロセッサと、複数の2×2スイッチから成
る多段スイッチ回路と、前記複数個の各プロセッサの中
間処理結果を前記多段スイッチ回路に介して他の各プロ
セッサに接続するパス手段とを備えたことを特徴とする
The image processing device includes one input bus, one output bus, a plurality of processors connected to the input bus and the output bus to perform image processing, and a multistage switch circuit including a plurality of 2×2 switches; The present invention is characterized by comprising path means for connecting intermediate processing results of each of the plurality of processors to each of the other processors via the multistage switch circuit.

〔作用〕[Effect]

前記手段によれば2画像処理装置には、1つの入力バス
と、1つの出力バスと、画像処理を行う複数個のプロセ
ッサと、多段スイッチ回路と、複数個の各プロセッサの
中間処理結果を前記多段スイッチ回路に介して他の各プ
ロセッサに接続するバス手段とが備えられる。画像処理
を行う複数個の各プロセッサは、パス手段により多段ス
イッチ回路を介して動的な負荷分散が行うことができ、
各々のプロセッサを有効に働かすことができ、全体の処
理能力を向上させることができる。
According to the above means, the two image processing devices include one input bus, one output bus, a plurality of processors that perform image processing, a multistage switch circuit, and the intermediate processing results of each of the plurality of processors. and bus means for connecting to each of the other processors via a multi-stage switch circuit. Each of the plurality of processors that perform image processing can perform dynamic load distribution via a multi-stage switch circuit by a path means.
Each processor can be used effectively, and the overall processing capacity can be improved.

すなわち、多段スイッチ回路を設けられると共に、個々
のプロセッサと多段スイッチ回路と間の接続するパス手
段となる例えば入出力ポートが設けられる。これにより
、多段スイッチ回路およびバス手段を用いて、各々のプ
ロセッサの画像処理の中間処理結果は、他の任意のプロ
セッサに供給でき、適切に動的な負荷分散が行える。
That is, a multi-stage switch circuit is provided, and, for example, an input/output port is provided that serves as a path means for connecting each processor and the multi-stage switch circuit. Thereby, by using the multi-stage switch circuit and the bus means, the intermediate processing results of the image processing of each processor can be supplied to any other processor, and dynamic load distribution can be performed appropriately.

画像処理を行う各々のプロセッサに供給される画像デー
タは、入力バスから個々のプロセッサに分配された後、
分配されたプロセッサで1次処理が施される。1次処理
の結果1個々のプロセッサ間で2次処理に関する負荷の
ばらつきが判明するので、ここで、1次処理の終了した
中間処理結果の画像データを多段スイッチ回路により負
荷の小さいプロセッサへ分配する。該画像データが分配
されたプロセッサでは2次処理を終了した後、再び多段
スイッチ回路により、−次処理を分担したプロセッサへ
ルーチングする。これにより、負荷の動的分散が可能に
なるとともに、全ての処理を終了した画像データに関し
、入力時と同一の順序で出力することができる。
The image data supplied to each processor that performs image processing is distributed from the input bus to each processor, and then
Primary processing is performed by distributed processors. As a result of the primary processing 1. As it becomes clear that there are variations in the load related to the secondary processing among individual processors, the image data of the intermediate processing result after the primary processing is now distributed to the processors with a smaller load using a multi-stage switch circuit. . After the secondary processing is completed in the processor to which the image data has been distributed, the multistage switch circuit again routes the image data to the processor that has been assigned the secondary processing. This makes it possible to dynamically distribute the load, and to output all processed image data in the same order as when it was input.

このように、共通の入力バスによって入力された画像デ
ータが、各々のプロセッサのおけるの処理量に関してば
らつきがあっても多段スイッチ回路を用いたフィードバ
ックによって分散することができ、プロセッサ間の負荷
を均等化できる。このため、プロセッサの処理能力は、
画像データ全体の平均処理量程度に削減できる。
In this way, even if the image data input via a common input bus varies in the processing amount of each processor, it can be distributed by feedback using the multi-stage switch circuit, and the load among the processors can be evenly distributed. can be converted into Therefore, the processing power of the processor is
The processing amount can be reduced to about the average processing amount for the entire image data.

〔実施例〕〔Example〕

以下1本発明の一実施例を図面を用いて具体的に説明す
る。
An embodiment of the present invention will be specifically described below with reference to the drawings.

なお、実施例を説明するための全回において。In addition, in all the times for explaining the example.

同一要素は同一符号を付け、その繰り返しの説明は省略
する。
Identical elements are given the same reference numerals, and repeated explanations will be omitted.

第1図は、本発明の第1の実施例にかかる画像処理装置
の要部の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of main parts of an image processing apparatus according to a first embodiment of the present invention.

第1図において、1〜8は画像処理を行う各々のプロセ
ッサのプロセッサエレメント(以下PEと略称する)で
ある。20は入力バス、30は出力パス、40は多段ス
イッチ回路である。41a〜41d、42a〜42d、
43a〜43dは多段スイッチ回路40を構成する要素
のスイッチ回路であり、2×2単位スイッチである。P
EI〜PE8に対する画像データの入力および出力は入
力バス20および出力バス30を介して行われる。各々
のPEは入力バス20.出力パス30とは異なる入出力
ポートによって、多段スイッチ回路40に接続されてい
る。
In FIG. 1, reference numerals 1 to 8 indicate processor elements (hereinafter abbreviated as PE) of each processor that performs image processing. 20 is an input bus, 30 is an output path, and 40 is a multistage switch circuit. 41a to 41d, 42a to 42d,
43a to 43d are switch circuits of elements constituting the multistage switch circuit 40, and are 2×2 unit switches. P
Image data is input to and output from EI to PE8 via an input bus 20 and an output bus 30. Each PE has an input bus 20. It is connected to a multistage switch circuit 40 by an input/output port different from the output path 30.

第2図は、第1図の画像処理装置の動作を説明するタイ
ムチャートである。タイムチャートに示すように、画像
処理するデータは、画像1フレームがデータのn個のブ
ロックと垂直帰線区間から形成されている。また、1つ
のデータのブロックが1個のPEに割り当てられ、入力
バス20を介して個々のPEに入力される。例えば、プ
ロセッサのPEIはブロック1を取りこみ、この後に1
次処理を施す。1次処理は、1つのブロックをいくつか
のサブブロックに分割し、各サブブロックについて前フ
レームの画素値との差を求め、その値がある閾値よりも
小さければ無効と判定し、そうでなければ有効と判定す
る。無効サブブロックについては、その後の2次処理が
不要であり、当該PE内では映像フレーム作成時に、そ
のデータが用いられる。有効サブブロックについては、
当該PEの番号(この場合はR1+1 )を付与して多
段スイッチ回路に送出する。多段スイッチ回路において
は、1次処理のみ終了した有効サブブロックについて、
適当なPEにルーチングするよう自律的に制御される。
FIG. 2 is a time chart illustrating the operation of the image processing apparatus shown in FIG. As shown in the time chart, one frame of image processing data is formed from n blocks of data and a vertical blanking interval. Also, one block of data is assigned to one PE and input to each PE via the input bus 20. For example, a processor's PEI takes in block 1, then 1
Perform the next processing. The primary processing divides one block into several subblocks, calculates the difference between each subblock and the pixel value of the previous frame, and if that value is smaller than a certain threshold, it is determined to be invalid. If so, it is determined to be valid. For invalid sub-blocks, subsequent secondary processing is not necessary, and the data is used when creating a video frame within the PE. For valid subblocks,
It is given the number of the PE (R1+1 in this case) and sent to the multistage switch circuit. In a multi-stage switch circuit, for valid sub-blocks for which only the primary processing has been completed,
It is autonomously controlled to route to an appropriate PE.

例えば、多段スイッチ回路の要素の個々の2X2単位ス
イッチにおいて、2つの出力ポートのうちいずれかをラ
ンダムに選び、1次処理のみ終了した有効サブブロック
を選ばれた出力ポートに送出する。このような制御によ
り、1次処理のみ終了した有効サブブロックを受信した
PEが2次処理を施すことになる。この2次処理は、例
えばベクトル量子化のような符号化処理であり、通常処
理量が極めて大きい。多段スイッチ回路を介して2次処
理の依頼のサブブロックを受けて、2次処理を行った当
該PEでは、2次処理が終了するとこの状態を示すフラ
グを当該サブブロックに付与して、再び多段スイッチ回
路に送出する。この場合、多段スイッチ回路では、2次
処理を終了したサブブロックに対して予め付与されたP
E番号に従い、1次処理を担当したPEにルーチングす
る。これにより、2次処理の終了した有効サブブロック
を受信したPE(この場合、PEの番号は“1”)は、
当該サブブロックを用いて映像フレームを組み立て、出
力バス3へ出力する。
For example, in each 2×2 unit switch of the elements of the multi-stage switch circuit, one of the two output ports is selected at random, and the valid sub-block that has undergone only the primary processing is sent to the selected output port. With such control, a PE that has received a valid subblock for which only primary processing has been completed will perform secondary processing. This secondary processing is, for example, encoding processing such as vector quantization, and normally requires an extremely large amount of processing. Upon receiving the sub-block requested for secondary processing via the multi-stage switch circuit, the PE that has performed the secondary processing attaches a flag indicating this state to the sub-block when the secondary processing is completed, and performs the multi-stage processing again. Send to switch circuit. In this case, in the multi-stage switch circuit, the P
According to the E number, it is routed to the PE in charge of the primary processing. As a result, the PE that has received the valid subblock for which the secondary processing has been completed (in this case, the PE number is "1"),
A video frame is assembled using the sub-blocks and output to the output bus 3.

このように、多段スイッチ回路が動作して、2次処理を
他のプロセッサで処理を行うようにするので1例えば、
テレビ会議のような画像データの場合、有効サブブロッ
クは全体の30%程度であるが、ブロックごとに見ると
ほとんど0%のものから100%に近いものまでばらつ
きが多い。従って、多段スイッチ回路による動的負荷分
散を行わない場合、100%のサブブロックを処理でき
る能力を全てのPEが持つ必要がある。しかしながら1
本実施例では、上述のような動作をするから、有効サブ
ブロックのみがPEに分配されるため、各I’Eにおい
ては、サブブロックの有効率程度に処理能力を有するの
みでよく、各々のPEが必要とする処理能力は低減でき
る。
In this way, the multi-stage switch circuit operates so that the secondary processing is performed by another processor, so for example,
In the case of image data such as a video conference, the effective sub-blocks are about 30% of the total, but when looking at each block, there are many variations ranging from almost 0% to close to 100%. Therefore, if dynamic load distribution using a multi-stage switch circuit is not performed, all PEs need to have the ability to process 100% of the sub-blocks. However, 1
In this embodiment, since the above-mentioned operation is performed, only valid sub-blocks are distributed to PEs, so each I'E only needs to have a processing capacity corresponding to the effective rate of the sub-block, and each The processing power required by the PE can be reduced.

第3図は1本発明の第2の実施例にかかる画像処理装置
の要部の構成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of essential parts of an image processing apparatus according to a second embodiment of the present invention.

第3図において、1〜8は画像処理を行う各々のプロセ
ッサのプロセッサエレメント(PE)、20は入力バス
、30は出力バス、40は多段スイッチ回路である。4
1 a 〜41d 、 42a 〜42d 、 43a
 〜43dは多段スイッチ回路40を構成する要素のス
イッチ回路であり、2×2単位スイッチである。PEI
〜PE8に対する画像データの入力および出力は入力バ
ス20および出力バス30を介して行われる。
In FIG. 3, 1 to 8 are processor elements (PE) of each processor that performs image processing, 20 is an input bus, 30 is an output bus, and 40 is a multistage switch circuit. 4
1a ~ 41d, 42a ~ 42d, 43a
43d is a switch circuit of an element constituting the multi-stage switch circuit 40, and is a 2×2 unit switch. P.E.I.
Input and output of image data to and from PE8 are performed via input bus 20 and output bus 30.

各々のPEは入力バス20.出力バス30とは異なる入
出力ポートによって、多段スイッチ回路40に接続され
ている。これらの要素は第1の実施例の画像処理装置と
同様なものである。ここでは、更に、プロセッサ制御回
路50が設けられる。このプロセッサ制御回路50は、
各々のプロセッサエレメントに対しての負荷分散を制御
する。
Each PE has an input bus 20. It is connected to a multistage switch circuit 40 through an input/output port different from the output bus 30. These elements are similar to those in the image processing device of the first embodiment. Here, a processor control circuit 50 is further provided. This processor control circuit 50 is
Controls load distribution for each processor element.

このように、第2の実施例の画像処理装置は。In this way, the image processing apparatus of the second embodiment.

第1の実施例の画像処理装置(第1図)に対して更に、
各々のプロセッサエレメントを集中的に制御するプロセ
ッサ制御回路50を設けられた構成となっている。
Furthermore, with respect to the image processing device of the first embodiment (FIG. 1),
The configuration includes a processor control circuit 50 that centrally controls each processor element.

第4図は、第2の実施例の画像処理装置の動作を説明す
るタイムチャートである。
FIG. 4 is a time chart illustrating the operation of the image processing apparatus of the second embodiment.

このタイムチャートに示されるように、第2の実施例の
画像処理装置においても、各々のプロセッサエレメント
の画像処理は、1次処理までは。
As shown in this time chart, in the image processing apparatus of the second embodiment, the image processing of each processor element is performed up to the primary processing.

第1の実施例の画像処理装置と同様に動作する。The image processing apparatus operates in the same manner as the image processing apparatus of the first embodiment.

その後、各PEI〜PE8において1次処理の結果によ
り、あるサブブロックが有効であれば、プロセッサ制御
回路50の送出する最小負荷のPE番号を受信して、自
分のPE番号および当該最小負荷のPE番号を当該サブ
ブロックに付与して、多段スイッチ回路40に送出する
。この場合、各PE1〜PE8は常時、負荷量をプロセ
ッサ制御回路50に通知し、プロセッサ制御回路50で
は、この結果をもとに最小負荷のPE番号を送出する。
After that, if a certain sub-block is valid as a result of the primary processing in each PEI to PE8, the processor control circuit 50 receives the minimum load PE number sent from the processor control circuit 50, and receives its own PE number and the minimum load PE number. A number is assigned to the subblock and sent to the multistage switch circuit 40. In this case, each PE1 to PE8 always notifies the processor control circuit 50 of the amount of load, and the processor control circuit 50 sends out the PE number with the minimum load based on this result.

一方、多段スイッチ回路40においては、1次処理が終
了した有効サブブロックを受信した場合、この最小負荷
のPE番号に従い当該サブブロックをルーチングする。
On the other hand, when the multi-stage switch circuit 40 receives a valid sub-block for which the primary processing has been completed, the multi-stage switch circuit 40 routes the sub-block in accordance with the PE number of the minimum load.

当該サブブロックを受信したPEは、2次処理を施し、
後は、第1の実施例と同様にして、2次処理したサブブ
ロックのデータを多段スイッチ回路40に送出する。こ
れ以後の処理は、第1の実施例の場合と同様であり、2
次処理を終了した当該サブブロックが、その1次処理を
担当したPEにルーチングされる。2次処理の、データ
が得られると、当該PEは映像フレームの作成の処理を
行い、その結果を出力バス30に出力する、これにより
出力バスからは、画像処理された出力の画像データが出
力される。この第2の実施例においては、プロセッサ制
御回路50により有効サブブロックが常に負荷最小のP
Eにルーチングされるため、全体としての負荷均等化が
図られる。従って、各PEにおいて、必要とされる処理
能力は。
The PE that receives the sub-block performs secondary processing,
Thereafter, the secondary-processed subblock data is sent to the multistage switch circuit 40 in the same manner as in the first embodiment. The subsequent processing is the same as in the first embodiment, and 2
The sub-block that has completed its next processing is routed to the PE that was in charge of its primary processing. When the secondary processing data is obtained, the PE performs the process of creating a video frame and outputs the result to the output bus 30. As a result, the output bus outputs the image data that has undergone image processing. be done. In this second embodiment, the processor control circuit 50 ensures that the effective sub-block is always set to P with the minimum load.
Since the data is routed to E, the overall load is balanced. Therefore, the required processing power in each PE is as follows.

更に低減したものでよい。It may be further reduced.

第5図は、多段スイッチ回路の単位スイッチとして用い
る単位スイッチ回路の一例を示すブロック図である。第
5図では、−船釣に第1段の単位スイッチ回路の構成と
して示しである。第5図において、61はポート1側の
入カバソファ、62はポート2側の入力バッファ、63
は2X2スイッチ。
FIG. 5 is a block diagram showing an example of a unit switch circuit used as a unit switch of a multi-stage switch circuit. In FIG. 5, the configuration of the first stage unit switch circuit is shown in - boat fishing. In FIG. 5, 61 is an input buffer on the port 1 side, 62 is an input buffer on the port 2 side, and 63 is an input buffer on the port 2 side.
is a 2X2 switch.

64はポート1側の出力回路、65はポート2側の出力
回路である。66は出力制御回路、67は比較器、51
は1段グループ負荷情報メモリ、52はポート1側側の
(i+1)段スイッチ負荷情報メモリ、53はポート1
側の(i+1)段スイッチ負荷情報メモリ、54はセレ
クタ、55はポート1側のラッチ回路。
64 is an output circuit on the port 1 side, and 65 is an output circuit on the port 2 side. 66 is an output control circuit, 67 is a comparator, 51
is the 1st stage group load information memory, 52 is the (i+1) stage switch load information memory on the port 1 side, and 53 is the port 1 side
(i+1) stage switch load information memory on the side; 54 is a selector; 55 is a latch circuit on the port 1 side.

56はポート2側のラッチ回路である。56 is a latch circuit on the port 2 side.

第6図は、第5図に示した単位スイッチ回路を用いた多
段スイッチ回路の動作原理を説明する図である。第6図
において、70a〜70hは第0段の単位スイッチ回路
、71a〜71hは第1段の単位スイッチ回路、72a
〜72hは第2段の栄位スイッチ回路、73a〜73h
は第3段の単位スイッチ回路である。これらの単位スイ
ッチ回路は、第5図に示した単位スイッチ回路である。
FIG. 6 is a diagram illustrating the operating principle of a multistage switch circuit using the unit switch circuit shown in FIG. 5. In FIG. 6, 70a to 70h are 0th stage unit switch circuits, 71a to 71h are 1st stage unit switch circuits, and 72a
~72h is the second stage priority switch circuit, 73a~73h
is the third stage unit switch circuit. These unit switch circuits are the unit switch circuits shown in FIG.

第6図においては、第3段における単位スイッチ回路7
3a〜73hの負荷をQ、。、Q□1.・・・・、Q、
7とすると、この多段スイッチ回路のルーチング制御は
、各々の単位スイッチの負荷情報により、第3段の単位
スイッチ回路73a〜73hの負荷Q 30+ Q3L
l ””r Q3?が。
In FIG. 6, the unit switch circuit 7 in the third stage is
Q, the load of 3a to 73h. ,Q□1. ...,Q,
7, the routing control of this multistage switch circuit calculates the load Q30+Q3L of the third stage unit switch circuits 73a to 73h based on the load information of each unit switch.
l ””r Q3? but.

なるべく等しくなるように行う。Try to make them as equal as possible.

この制御動作を具体的には説明すると次のようになる6
第5図に示した第i段単位スイッチ回路は、当該単位ス
イッチ回路の2つの出力ポートから多段スイッチ網の出
力方向へ、ルーチングが可能な配下の単位スイッチ回路
から現在保持している最小の負荷情報〔これを(i+1
)段負荷情報と呼ぶ〕を出力ポート別に保持し、更新す
る。例えば、第6図において、第1段のm位スイッチ回
路71fは、ルーチングが可能な配下の接続スイッチと
して第3段の単位スイッチ回路73e 、 73f 。
The concrete explanation of this control operation is as follows.6
The i-th stage unit switch circuit shown in FIG. Information [This (i+1
) Stage load information] is maintained and updated for each output port. For example, in FIG. 6, the first-stage m-position switch circuit 71f is connected to the third-stage unit switch circuits 73e and 73f as subordinate connection switches that can be routed.

73g、73hを有している。また、この単位スイッチ
回路71fの出力ポート1と出力ポート2と接続される
接続スイッチの負荷情報、即ち第2段負荷情報として3
と4を有している。この第2段負荷情報は、第5図の単
位スイッチ回路においては、(i+1)段スイッチ負荷
情報メモリ52.53に畜えられる。単位スイッチ回路
では、比較器67がセレクタを制御し、(i+1)段ス
イッチ負荷情報メモリ52.53の値の中で小さい値を
、1段グループ負荷情報メモリ51に格納する。そして
、1段グループ負荷情報メモリ51からは、格納された
値を1段スイッチの負荷差分情報として送出する。また
、出力制御回路66は、(i+1)段スイッチ負荷情報
メモリ52.53の値を比較して、2×2スイッチ63
を制御して負荷の小さい方へルーチングする。このため
、入力バッファ61または入力バッファ62に保持され
た1次処理済の画像ブロックデータは出力回路64また
は出力回路65を介して負荷の小さい方へ出力される。
It has 73g and 73h. In addition, as load information of the connection switch connected to output port 1 and output port 2 of this unit switch circuit 71f, that is, 2nd stage load information, 3.
and 4. This second stage load information is stored in the (i+1) stage switch load information memories 52 and 53 in the unit switch circuit of FIG. In the unit switch circuit, the comparator 67 controls the selector and stores the smaller value among the values in the (i+1) stage switch load information memories 52 and 53 in the 1st stage group load information memory 51. Then, the stored value is sent out from the first stage group load information memory 51 as the load difference information of the first stage switch. Further, the output control circuit 66 compares the values of the (i+1) stage switch load information memory 52.53 and outputs the 2×2 switch 63.
control and route to the direction with smaller load. Therefore, the primary processed image block data held in the input buffer 61 or the input buffer 62 is outputted to the one with the smaller load via the output circuit 64 or the output circuit 65.

この時、同時にラッチ回路55.56は新しい負荷差分
情報をルーチングされた側の単位スイッチ回路へ送出す
る。これによって、負荷の増加を次段のルーチングされ
た単位スイッチ回路に通知できる。
At this time, the latch circuits 55 and 56 simultaneously send new load difference information to the routed unit switch circuit. Thereby, the increase in load can be notified to the routed unit switch circuit in the next stage.

2次処理を終了した画像ブロックを単位スイッチ回路が
受信した場合、ルーチングを画像ブロックに付随した1
次処理のPE番号に従って行い、負荷差分情報の転送は
上述と同様に行う。
When the unit switch circuit receives an image block for which secondary processing has been completed, the routing is performed by
The processing is performed according to the PE number of the next process, and the load difference information is transferred in the same manner as described above.

このような制御によって、1次処理の終った画像ブロッ
クは負荷の最も小さいPEにルーチングされ、全体とし
ての負荷分散が図られる。
Through such control, image blocks that have undergone primary processing are routed to the PE with the least load, thereby achieving overall load distribution.

第7図は、多段スイッチ回路の単位スイッチとして用い
る単位スイッチ回路の別の一例を示すブロック図である
。第7図では、−船釣に第1段の単位スイッチ回路の構
成として示しである。第7図において、63は2X2ス
イッチ、64はポート1側の出力回路、65はポート2
側の出力回路である。
FIG. 7 is a block diagram showing another example of a unit switch circuit used as a unit switch of a multi-stage switch circuit. In FIG. 7, the configuration of the first stage unit switch circuit is shown in the case of boat fishing. In Fig. 7, 63 is a 2X2 switch, 64 is an output circuit on the port 1 side, and 65 is a port 2 switch.
This is the side output circuit.

66aは入出力制御回路、67は比較器、51は1段グ
ループ負荷情報メモリ、52はポート1側の(i+1)
段スイッチ負荷情報メモリ、53はポート1側の(i+
1)段スイッチ負荷情報メモリ、54はセレクタ、55
はポート1側のラッチ回路、56はポート2側のラッチ
回路である。これらの構成は、第5図の単位スイッチ回
路と同様な構成である。この構成においては、第5図の
単位スイッチ回路と異なる点は、入力バッファが無くな
っている構成となっている点である。そして、出力制御
回路に替えて、入出力制御回路66aが備えられている
点である。入出力制御回路66aは隣接する単位スイッ
チ回路との間に制御線としてリクエスト線(REG、R
EG’ )アクルッジ線(ACK、ACK’ )を有し
ている。多段スイッチ回路は、画像ブロックを転送する
モードとルーチング設定を行うモードの2つのモードが
あり、各々のPEI〜PE8の中で、任意のPEが画像
ブロックを送りたい場合は、該当PEがリクエスト線R
EQ’ を用いて要求し、ルーチング設定モードに入る
。各単位スイッチ回路では、リクエスト線REQからの
要求を受けると(i+1)段スイッチ負荷情報メモリ5
2.53および比較器67により、2×2スイッチ63
が使用中でない限り、負荷の小さい側の出力ポートへル
ーチング設定を行う。最終段の単位スイッチ回路におい
てルーチング設定が行われるとアクノレツジBACQ’
 を用いて確認信号を第0段へ向けて転送する。アクル
ッジ線ACQ’からの確認信号が、要求を送出した送出
プロセッサに達すると、始めて画像ブロックを転送する
モードに入る。この場合でも、1段グループ負荷情報メ
モリ51、(i+1)段スイッチ負荷情報メモリ52.
53、ラッチ回路55.56を用いて負荷情報を転送し
あっているので、負荷が最小のルーチング設定が行われ
、全体としての負荷分散が図られる。
66a is an input/output control circuit, 67 is a comparator, 51 is a 1-stage group load information memory, and 52 is (i+1) on the port 1 side.
Stage switch load information memory 53 is (i+
1) Stage switch load information memory, 54 is a selector, 55
56 is a latch circuit on the port 1 side, and 56 is a latch circuit on the port 2 side. These structures are similar to the unit switch circuit shown in FIG. This configuration differs from the unit switch circuit of FIG. 5 in that there is no input buffer. Another point is that an input/output control circuit 66a is provided instead of the output control circuit. The input/output control circuit 66a connects request lines (REG, R
EG') has an acknowledgment line (ACK, ACK'). The multi-stage switch circuit has two modes: a mode for transferring image blocks and a mode for making routing settings.If any PE among PEI to PE8 wants to send an image block, the corresponding PE will use the request line. R
Request using EQ' to enter routing setup mode. In each unit switch circuit, upon receiving a request from the request line REQ, the (i+1) stage switch load information memory 5
2.53 and comparator 67, the 2×2 switch 63
Unless the output port is in use, set the routing to the output port with the lower load. When the routing setting is performed in the final stage unit switch circuit, an acknowledgment BACQ' is sent.
is used to transfer the confirmation signal to the 0th stage. Only when the confirmation signal from the access line ACQ' reaches the sending processor that sent the request does it enter the mode of transferring image blocks. Even in this case, the first stage group load information memory 51, the (i+1) stage switch load information memory 52.
53. Since the load information is transferred using the latch circuits 55 and 56, the routing setting with the minimum load is performed, and the overall load is distributed.

以上1本発明を実施例にもとづき具体的に説明したが9
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
Although the present invention has been specifically explained above based on the examples, 9
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

〔発明の効果〕〔Effect of the invention〕

以上、説明したように、本発明によれば、共通バスによ
って入力された画像データの処理量に関し、ブロック間
でばらつきがあっても多段スイッチを用いたフィードバ
ックによって分散することができ、プロセッサ間の負荷
を均等化できる。このため、プロセッサの処理能力は1
画像データ全体の平均処理量程度に削減できるという利
点がある。
As described above, according to the present invention, even if there is variation among blocks regarding the processing amount of image data input through a common bus, it can be distributed through feedback using multistage switches, and Load can be equalized. Therefore, the processing power of the processor is 1
There is an advantage that the processing amount can be reduced to about the average processing amount for the entire image data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の第1の実施例にかかる画像処理装置
の要部の構成を示すブロック図、第2図は、第1図の画
像処理装置の動作を説明するタイムチャート、 第3図は1本発明の第2の実施例にかかる画像処理装置
の要部の構成を示すブロック図、第4図は、第2の実施
例の画像処理装置の動作を説明するタイムチャート、 第5図は、多段スイッチ回路の単位スイッチとして用い
る単位スイッチ回路の一例を示すブロック図、 第6図は、第5図に示した単位スイッチ回路を用いた多
段スイッチ回路の動作原理を説明する図。 第7図は、多段スイッチ回路の単位スイッチとして用い
る単位スイッチ回路の別の一例を示すブロック図。 第8図は、複数プロセッサ構成のマルチプロセッサ画像
処理装置の例を示す説明する図である。 図中、1〜8・・・プロセッサエレメント、 11.1
2゜13・・・プロセッサ、20・・・入力バス、30
・・・出力バス。 40−・・多段スイッチ回路、 41 a 〜41d 
、 42a 〜42d 。 43a〜43d・・・単位スイッチ回路、50・・・プ
ロセッサ制御回路、61・・・ポート1側の入力バッフ
ァ、62・・・ポート2側の入力バッファ、63・・・
2×2スイッチ。 64・・・ポート1個の出力回路、65・・・ポート2
側の出力回路、66・・・出力制御回路、66a・・・
入出力制御回路、67・・・比較器、51・・・1段グ
ループ負荷情報メモリ、52・・・ポート1側の(i+
1)段スイッチ負荷情報メモリ、53・・・ポート2側
の(i+1)段スイッチ負荷情報メモリ、54・・・セ
レクタ、55・・・ポート1側のラッチ回路、56・・
・ポート2側のラッチ回路。 70a〜70h・・・第0段の単位スイッチ回路、71
a〜71h・・・第1段の単位スイッチ回路、72a〜
72h・・・第2段の単位スイッチ回路、73a〜73
h・・・第3段の単位スイッチ回路。
1 is a block diagram showing the configuration of main parts of an image processing apparatus according to a first embodiment of the present invention; FIG. 2 is a time chart explaining the operation of the image processing apparatus shown in FIG. 1; 1 is a block diagram showing the configuration of main parts of an image processing apparatus according to a second embodiment of the present invention; FIG. 4 is a time chart illustrating the operation of the image processing apparatus according to the second embodiment; The figure is a block diagram showing an example of a unit switch circuit used as a unit switch of a multi-stage switch circuit, and FIG. 6 is a diagram explaining the operating principle of a multi-stage switch circuit using the unit switch circuit shown in FIG. FIG. 7 is a block diagram showing another example of a unit switch circuit used as a unit switch of a multi-stage switch circuit. FIG. 8 is an explanatory diagram showing an example of a multiprocessor image processing apparatus having a plurality of processors. In the figure, 1 to 8... processor elements, 11.1
2゜13...Processor, 20...Input bus, 30
...output bus. 40-...Multi-stage switch circuit, 41a to 41d
, 42a-42d. 43a to 43d... Unit switch circuit, 50... Processor control circuit, 61... Input buffer on port 1 side, 62... Input buffer on port 2 side, 63...
2x2 switch. 64...Port 1 output circuit, 65...Port 2
Side output circuit, 66... Output control circuit, 66a...
Input/output control circuit, 67... Comparator, 51... 1-stage group load information memory, 52... Port 1 side (i+
1) Stage switch load information memory, 53...(i+1) stage switch load information memory on the port 2 side, 54...Selector, 55...Latch circuit on the port 1 side, 56...
・Latch circuit on port 2 side. 70a to 70h... 0th stage unit switch circuit, 71
a~71h...first stage unit switch circuit, 72a~
72h...Second stage unit switch circuit, 73a to 73
h...Third stage unit switch circuit.

Claims (4)

【特許請求の範囲】[Claims] (1)1つの入力バスと、1つの出力バスと、前記入力
バスおよび出力バスに接続され画像処理を行う複数個の
プロセッサと、複数の2×2スイッチから成る多段スイ
ッチ回路と、前記複数個の各プロセッサの中間処理結果
を前記多段スイッチ回路に介して他の各プロセッサに接
続するパス手段とを備えたことを特徴とする画像処理装
置。
(1) A multi-stage switch circuit consisting of one input bus, one output bus, a plurality of processors connected to the input bus and the output bus and performing image processing, and a plurality of 2×2 switches; An image processing apparatus comprising: path means for connecting intermediate processing results of each processor to each other processor via the multistage switch circuit.
(2)画像処理を行う複数個の各プロセッサは、入力バ
スから画像データを受信し、出力バスに処理済の画像デ
ータを送出する手段を備えるとともに、前記多段スイッ
チ回路の初段に処理途中の中間処理結果の画像データを
送出し、多段スイッチ回路の最終段から処理途中の画像
データを受信する手段を備えたことを特徴とする前記特
許請求の範囲第1項に記載の画像処理装置。
(2) Each of the plurality of processors that performs image processing is provided with a means for receiving image data from an input bus and sending out processed image data to an output bus, and is also provided with a means for transmitting processed image data to an output bus, and to an intermediate point in the middle of processing in the first stage of the multistage switch circuit. The image processing apparatus according to claim 1, further comprising means for transmitting image data as a result of processing and receiving image data in the middle of processing from the final stage of the multistage switch circuit.
(3)前記特許請求の範囲第1項に記載の画像処理装置
において、各プロセッサが入力バスに接続されたバス入
力ポートから受信した画像データに対し、1次処理を行
った後、自己プロセッサのアドレスを付与して、1次処
理済画像データを多段スイッチ回路に接続されるスイッ
チ出力ポートを介して多段スイッチ回路へ出力し、多段
スイッチ回路は任意のプロセッサに1次処理済画像デー
タをルーチングして、スイッチ入力ポートを介して供給
し、1次処理済画像データを受信したプロセッサでは、
2次処理を行った後に多段スイッチ回路に出力し、多段
スイッチ回路により、2次処理済画像データを上記アド
レスに従い1次処理を施したプロセッサにルーチングし
、該プロセッサでは該2次処理済画像データをバス出力
ポートを介して出力バスに送出することを特徴とする画
像処理装置の制御方法。
(3) In the image processing apparatus according to claim 1, after each processor performs primary processing on the image data received from the bus input port connected to the input bus, the self-processor The address is assigned and the primary processed image data is output to the multistage switch circuit via the switch output port connected to the multistage switch circuit, and the multistage switch circuit routes the primary processed image data to an arbitrary processor. The processor receives the primary processed image data through the switch input port.
After performing the secondary processing, it is output to a multi-stage switch circuit, and the multi-stage switch circuit routes the secondary-processed image data to the processor that performed the primary processing according to the above address, and the processor then outputs the secondary-processed image data. A method for controlling an image processing device, the method comprising: transmitting the image to an output bus via a bus output port.
(4)前記特許請求の範囲第1項に記載の画像処理装置
において、複数の各プロセッサにおける処理負荷状態を
検出して、プロセッサを選択するプロセッサ制御回路を
備え、該プロセッサ制御回路により、多段スイッチ回路
が1次処理済画像データを、最も負荷の小さいプロセッ
サにルーチングするよう制御することを特徴とする画像
処理装置。
(4) The image processing apparatus according to claim 1, further comprising a processor control circuit that detects the processing load state of each of the plurality of processors and selects a processor, and the processor control circuit controls the multistage switch. An image processing device characterized in that a circuit controls primary processed image data to be routed to a processor with the least load.
JP63146171A 1988-06-13 1988-06-13 Picture processor Pending JPH01312672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63146171A JPH01312672A (en) 1988-06-13 1988-06-13 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63146171A JPH01312672A (en) 1988-06-13 1988-06-13 Picture processor

Publications (1)

Publication Number Publication Date
JPH01312672A true JPH01312672A (en) 1989-12-18

Family

ID=15401739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63146171A Pending JPH01312672A (en) 1988-06-13 1988-06-13 Picture processor

Country Status (1)

Country Link
JP (1) JPH01312672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065460A (en) * 2004-08-25 2006-03-09 Seiko Epson Corp Allotment of loading at time of performing image processing by parallel processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006065460A (en) * 2004-08-25 2006-03-09 Seiko Epson Corp Allotment of loading at time of performing image processing by parallel processing

Similar Documents

Publication Publication Date Title
JP3363424B2 (en) Distributed multipoint conferencing system, method, chip and storage medium
JPH0316384A (en) Video signal processing circuit
JP2007129573A (en) Imaging apparatus
US7429992B2 (en) Method and system for providing accelerated video processing in a communication device
JPH01312672A (en) Picture processor
US20050080784A1 (en) Data processing system
JPH0683787A (en) Parallel processor
JP2000151593A (en) Data exchange switch
JPH10174086A (en) Image data distribution system
JP3389610B2 (en) Parallel processing system and data transfer method
JPH03196189A (en) Image signal processor
JPH01265684A (en) Moving compensation inter-frame prediction coding and decoding device
JP2862581B2 (en) Packet switching switch transfer control method
JP2005223490A (en) Image processor and image processing method
JPS6352597A (en) Connector
CN115225841A (en) Time schedule controller, image processing system and image processing method
JPH1145079A (en) Picture signal processor
JPH08297651A (en) Array processor
KR19990042704A (en) Apparatus and method for controlling bit rate of video encoder
JPS60196866A (en) Data processor
JPH05181809A (en) Data transfer system in multiprocessor system
JPH0399593A (en) Picture data transmission system for inter-multipoint video conference system
JPH01248262A (en) Access priority controller
JPH0427243A (en) Atm cell concentrating system
JPH05197662A (en) Information processor