JP2000182036A - Data processing system - Google Patents

Data processing system

Info

Publication number
JP2000182036A
JP2000182036A JP10357732A JP35773298A JP2000182036A JP 2000182036 A JP2000182036 A JP 2000182036A JP 10357732 A JP10357732 A JP 10357732A JP 35773298 A JP35773298 A JP 35773298A JP 2000182036 A JP2000182036 A JP 2000182036A
Authority
JP
Japan
Prior art keywords
processing
data
mpu
processes
specific
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.)
Granted
Application number
JP10357732A
Other languages
Japanese (ja)
Other versions
JP4348760B2 (en
Inventor
Junji Ishikawa
淳史 石川
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP35773298A priority Critical patent/JP4348760B2/en
Priority to US09/447,263 priority patent/US6535971B1/en
Publication of JP2000182036A publication Critical patent/JP2000182036A/en
Application granted granted Critical
Publication of JP4348760B2 publication Critical patent/JP4348760B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform a data processing at high speed by shortening stand-by time as a whole in plural processing parts. SOLUTION: Ten processings from processings 1 to 10 are executed for inputted data by an MPU(microprocessing unit) 1 and an MPU 2. The processings 1 to 8 can be executed by the MPU 1 and the processings 3 to 10 can be executed by the MPU 2. The processings 3 to 8 are specified processings to be executed by both of the MPU 1 and the MPU 2. When the processings are completed, a request signal ACK to request the data is transmitted to the MPU 1 by the MPU 2. The specified processings are executed until the request signal ACK is received from the MPU 2 and after the request signal ACK is received, a transmission signal REQ and the data DATA are transmitted to the MPU 2 by the MPU 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明はデータ処理システ
ムに関し、特に、シリアルに接続された複数の処理部が
一連の処理をそれぞれ分担して非同期で実行することに
より、入力データに一連の処理を施すデータ処理システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system, and in particular, performs a series of processes on input data by a plurality of serially connected processing units sharing a series of processes and executing the processes asynchronously. It relates to a data processing system.

【0002】[0002]

【従来の技術】従来より、複数のMPU(マイクロプロ
セッシングユニット)で入力データに対して複数の処理
を順に施す非同期方式のデータ処理装置が知られてい
る。従来のデータ処理装置は、複数のMPUがそれぞれ
複数の処理の一部を担当して非同期にデータ処理を行な
い、MPU間でデータの受渡しをすることにより、入力
データに一連の処理を施すものである。
2. Description of the Related Art Conventionally, there has been known an asynchronous data processing apparatus in which a plurality of MPUs (microprocessing units) sequentially perform a plurality of processes on input data. In a conventional data processing device, a plurality of MPUs perform a part of a plurality of processes, perform data processing asynchronously, and perform a series of processes on input data by transferring data between the MPUs. is there.

【0003】図15は、従来のデータ処理装置における
MPU間のデータ入出力を説明するためのブロック図で
ある。図では、MPU21とMPU22の2つのMPU
で処理1〜処理10の10の処理を実行する場合のデー
タの入出力を示している。MPU21では処理1〜処理
5までの5つの処理が実行され、MPU22では、処理
5の後段の処理にあたる処理6〜処理10までの5つの
処理が実行される。したがって、MPU21に入力され
るデータは処理1〜処理5の5つの処理が施されてMP
U22に引渡され、MPU22ではMPU21で処理後
のデータに対して処理6〜処理10の処理が施される。
FIG. 15 is a block diagram for explaining data input / output between MPUs in a conventional data processing apparatus. In the figure, two MPUs, MPU21 and MPU22,
4 shows input / output of data when the ten processes of processes 1 to 10 are executed. The MPU 21 executes five processes from process 1 to process 5, and the MPU 22 executes five processes from process 6 to process 10, which are processes subsequent to process 5. Therefore, the data input to the MPU 21 is subjected to the five processings of processing 1 to processing 5 and
The data is passed to U22, and the MPU 22 performs the processing of processing 6 to processing 10 on the data processed by the MPU 21.

【0004】MPU21とMPU22との間では、要求
信号ACKと送信信号REQの2つの制御信号が送受信
されてデータDATAの引渡しが行なわれる。要求信号
ACKはデータDATAを要求するための信号であり、
MPU22からMPU21に送信される。送信信号RE
Qは、データDATAを送信するための信号であり、M
PU1からMPU2に送信される。
[0004] Two control signals, a request signal ACK and a transmission signal REQ, are transmitted and received between the MPU 21 and the MPU 22 to transfer data DATA. The request signal ACK is a signal for requesting data DATA,
It is transmitted from the MPU 22 to the MPU 21. Transmission signal RE
Q is a signal for transmitting data DATA, and M
It is transmitted from PU1 to MPU2.

【0005】要求信号ACKがMPU22からMPU2
1に送信される際には、MPU22は前のデータに対す
る処理6〜処理10の処理の実行が終了している状態で
ある。送信信号REQがMPU21からMPU22に送
信される際には、要求信号ACKをMPU22から受信
した場合であって、これから送信するデータDATAに
対する処理1〜処理5の処理の実行が終了した状態であ
る。
The request signal ACK is sent from the MPU 22 to the MPU 2
When the data is transmitted to No. 1, the MPU 22 is in a state where the execution of the processes 6 to 10 on the previous data has been completed. When the transmission signal REQ is transmitted from the MPU 21 to the MPU 22, the request signal ACK is received from the MPU 22, and the execution of the processing 1 to processing 5 for the data DATA to be transmitted is completed.

【0006】したがって、MPU21がMPU22に対
して送信信号REQを送信することができる条件は、M
PU22から要求信号ACKを受信した場合であって、
かつ処理1〜処理5の処理の実行が終了していることが
条件となる。一方MPU22で要求信号ACKを送信す
ることができる状態とは、MPU22で処理6〜処理1
0の処理の実行が終了していることが条件となる。MP
U21とMPU22との双方の条件が揃った場合に初め
てデータDATAがMPU21からMPU22に送信さ
れることになる。
Therefore, the conditions under which the MPU 21 can transmit the transmission signal REQ to the MPU 22
The case where the request signal ACK is received from the PU 22
The condition is that the execution of the processes 1 to 5 has been completed. On the other hand, the state in which the MPU 22 can transmit the request signal ACK means that the MPU 22 performs processing 6 to processing 1
The condition is that the execution of the process 0 has been completed. MP
Data DATA is transmitted from the MPU 21 to the MPU 22 only when the conditions of both the U 21 and the MPU 22 are satisfied.

【0007】図16は、MPU21とMPU22におけ
る動作状態の時間的変化を示す図である。図は、横方向
に時間を示し図面右方向に向かって時間が経過すること
を示す。そして、上段よりMPU21の状態、MPU2
2の状態を示す。最下段では入力データAと入力データ
Bとに処理1〜処理10のすべての処理が施される時間
をそれぞれ示している。
FIG. 16 is a diagram showing a temporal change in the operating state of the MPU 21 and MPU 22. In the figure, time is shown in the horizontal direction and time elapses in the right direction of the drawing. From the upper stage, the state of MPU21, MPU2
2 is shown. The bottom row shows the time during which all of the processes 1 to 10 are performed on the input data A and the input data B.

【0008】MPU21は、入力データAに対して処理
1〜処理5を実行し(A(1−5))、MPU22に対
して送信信号REQを送信した後直ちに次の入力データ
Bに対して処理1〜処理5を実行し(B(1−5))、
MPU22より要求信号ACKを受信するまで待機状態
となる。MPU22より要求信号ACKを受信すると、
MPU22に対して送信信号REQを送信して処理済の
入力データBを送信する。その後、入力データCに対し
て処理1〜処理5を実行する。
The MPU 21 executes the processing 1 to processing 5 on the input data A (A (1-5)), and immediately after transmitting the transmission signal REQ to the MPU 22, performs processing on the next input data B. 1 to processing 5 (B (1-5)),
The apparatus enters a standby state until a request signal ACK is received from the MPU 22. Upon receiving the request signal ACK from the MPU 22,
The transmission signal REQ is transmitted to the MPU 22 to transmit the processed input data B. Thereafter, processing 1 to processing 5 are executed on the input data C.

【0009】MPU22は、MPU21より送信信号R
EQを受信した後MPU21で処理済の入力データAに
対して処理6〜処理10を実行する(A(6−1
0))。そして、入力データAに対して処理が終了する
と、MPU21に対して要求信号ACKを送信し、MP
U21から送信信号REQを受信するまで待機状態とな
る。その後、MPU21から送信信号REQを受信した
後、MPU21で処理済の入力データBを受信して、受
信した入力データBに対して処理6〜処理10を実行す
る(B(6−10))。
[0009] The MPU 22 receives a transmission signal R from the MPU 21.
After receiving the EQ, the MPU 21 executes the processing 6 to the processing 10 on the input data A that has been processed (A (6-1).
0)). When the processing for the input data A is completed, a request signal ACK is transmitted to the MPU 21 and the
It is in a standby state until a transmission signal REQ is received from U21. Thereafter, after receiving the transmission signal REQ from the MPU 21, the input data B processed by the MPU 21 is received, and the processing 6 to the processing 10 are executed on the received input data B (B (6-10)).

【0010】MPU21とMPU22とでそれぞれ処理
が実行されることにより、入力データAと入力データB
とに処理1〜処理10が施される時間は図に示すとおり
異なる時間となる。
The processing is executed by MPU 21 and MPU 22, respectively, so that input data A and input data B
In this case, the times when the processes 1 to 10 are performed are different times as shown in FIG.

【0011】[0011]

【発明が解決しようとする課題】画像データに複数の処
理を施す画像処理においては、画像データ中の画素デー
タが異なればそれぞれの処理にかかる負荷が異なること
になる。これは、画素データの違いにより処理の内容が
異なってくることによるものである。たとえば、文字と
写真とが描かれた画像データにシェーディング補正、L
og変換、変倍、MTF補正、γ補正、2値化の6つの
処理を施す画像処理のにおいては、処理の対象となる画
素データが文字の領域に属する場合と写真の領域に属す
る場合とで処理内容が異なり、負荷が異なる。MTF補
正では、文字の領域に属する画素データの処理に要する
負荷を「3」とすると、写真領域に属する画素データの
処理に要する負荷は「1」となる。また、2値化処理に
おいては、文字の領域に属する画素データの処理に要す
る負荷を「1」とすると、写真の領域に属する画素デー
タの処理に要する負荷は「3」となる。
In image processing for performing a plurality of processes on image data, if pixel data in the image data is different, the load on each process will be different. This is due to the fact that the contents of processing differ depending on the pixel data. For example, shading correction is performed on image data in which characters and photos are drawn, and L
In image processing in which six processes of og conversion, scaling, MTF correction, γ correction, and binarization are performed, pixel data to be processed belongs to a text region or a photographic region. The processing content is different and the load is different. In the MTF correction, assuming that the load required for processing pixel data belonging to the character area is “3”, the load required for processing pixel data belonging to the photographic area is “1”. Also, in the binarization processing, if the load required for processing pixel data belonging to the character area is “1”, the load required for processing pixel data belonging to the photographic area is “3”.

【0012】画像データのようにそれぞれの処理に要す
る負荷が変動するデータを、従来のデータ処理装置で処
理した場合には、MPU21の負荷とMPU22の負荷
とがデータの種類により異なってくるので、MPU21
でMPU22から要求信号ACKを受信するまでの待機
時間とMPU2でデータDATAを受信するまでの待機
時間とが長くなってしまい、データ処理の速度が遅くな
るといった問題点があった。
When data of which load required for each process fluctuates, such as image data, is processed by a conventional data processing apparatus, the load on the MPU 21 and the load on the MPU 22 differ depending on the type of data. MPU21
In this case, the waiting time until the request signal ACK is received from the MPU 22 and the waiting time until the data DATA is received by the MPU 2 are increased, and the speed of data processing is reduced.

【0013】この発明は上述の問題点を解決するために
なされたもので、複数の処理部において何も行なわない
待ち時間(待機時間)を全体的に短くすることにより、
データの処理を高速に行なうことができるデータ処理シ
ステムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and by shortening the waiting time (waiting time) during which nothing is performed in a plurality of processing units,
An object of the present invention is to provide a data processing system capable of performing data processing at high speed.

【0014】[0014]

【課題を解決するための手段】上述の目的を達成するた
めにこの発明のある局面によるデータ処理システムは、
シリアルに接続される複数の処理部を有し、複数の処理
部が一連の処理をそれぞれ分担して非同期で実行するこ
とにより、入力データに一連の処理を施すデータ処理シ
ステムであって、複数の処理部は、一連の処理のうち特
定の処理とその前段の前段処理とを実行可能な第1の処
理部と、特定処理とその後段の後段処理とを実行可能な
第2の処理部とを含むことを特徴とする。
In order to achieve the above object, a data processing system according to an aspect of the present invention comprises:
A data processing system that has a plurality of processing units connected serially and performs a series of processes on input data by sharing a series of processes and executing the processes asynchronously. The processing unit includes a first processing unit that can execute a specific process and a preceding stage process in a preceding stage of the series of processes, and a second processing unit that can execute the specific process and a subsequent stage process in the subsequent stage. It is characterized by including.

【0015】好ましくはデータ処理システムは、第1の
処理部は、第2の処理部からの要求により特定処理の実
行を中止することを特徴とする。
Preferably, the data processing system is characterized in that the first processing unit suspends the execution of the specific processing in response to a request from the second processing unit.

【0016】さらに好ましくはデータ処理システムは、
第2の処理部は、第1の処理部で特定処理が実行されて
いない入力データに対して、特定の処理を実行すること
を特徴とする。
More preferably, the data processing system comprises:
The second processing unit performs a specific process on the input data for which the specific process has not been performed in the first processing unit.

【0017】さらに好ましくはデータ処理システムは、
複数の処理部の負荷を予測する予測手段をさらに備え、
予測手段で予測された負荷に応じて特定処理を実行する
処理部を決定することを特徴とする。
More preferably, the data processing system comprises:
The apparatus further includes a prediction unit that predicts loads of the plurality of processing units,
The processing unit that executes the specific processing is determined according to the load predicted by the prediction unit.

【0018】さらに好ましくはデータ処理システムは、
複数の処理部の負荷を予測する予測手段をさらに備え、
予測手段で予測された負荷に応じて特定処理を変更する
ことを特徴とする。
[0018] More preferably, the data processing system comprises:
The apparatus further includes a prediction unit that predicts loads of the plurality of processing units,
The specific processing is changed according to the load predicted by the prediction means.

【0019】さらに好ましくはデータ処理システムの予
測手段は、入力データの種類を検出する手段を含み、検
出された種類に基づいて負荷を予測することを特徴とす
る。
More preferably, the prediction means of the data processing system includes means for detecting the type of the input data, and predicts the load based on the detected type.

【0020】これらの発明に従うと、複数の処理部で実
行することのできる処理を重複させたので、一方の処理
部の負荷が大きいときに他方の処理部で重複する処理を
行なうことにより、各処理部における待機時間を短くす
ることができる。その結果、データの処理を高速に行な
うことができるデータ処理システムを提供することがで
きる。
According to these inventions, the processes that can be executed by a plurality of processing units are duplicated, so that when the load on one processing unit is heavy, the other processing unit performs the duplicated processing, so that The waiting time in the processing unit can be shortened. As a result, a data processing system capable of performing data processing at high speed can be provided.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳しく説明する。なお、図中同一符号
は同一または相当する部材を示す。
Embodiments of the present invention will be described below in detail with reference to the drawings. In the drawings, the same reference numerals indicate the same or corresponding members.

【0022】[第1の実施の形態]図1は、この発明の
第1の実施の形態のデータ処理システムにおけるMPU
間のデータ入出力を説明するためのブロック図である。
図を参照して、MPU1とMPU2とで処理1〜処理1
0の10の処理が1つのデータに対して施される。そし
て、MPU1では処理1〜処理8までの処理を実行する
ことが可能で、MPU2では処理3〜処理10の処理を
実行することが可能である。このとき処理3〜処理8の
6つの処理については、MPU1とMPU2の双方で実
行することができるようになっている。このMPU1と
MPU2との双方で実行することができる処理(処理3
〜処理8)を特定処理という。MPU1がデータDAT
AをMPU2に引渡す際に、MPU1とMPU2との間
で要求信号ACKと送信信号REQとからなる制御信号
の送受信が行なわれる。
[First Embodiment] FIG. 1 shows an MPU in a data processing system according to a first embodiment of the present invention.
FIG. 3 is a block diagram for explaining data input / output between the devices.
Referring to the figure, processing 1 to processing 1 are performed by MPU1 and MPU2.
The process of 0 to 10 is performed on one data. The MPU 1 can execute the processes 1 to 8, and the MPU 2 can execute the processes 3 to 10. At this time, the six processings of processing 3 to processing 8 can be executed by both MPU1 and MPU2. Processing that can be executed by both MPU1 and MPU2 (processing 3
Process 8) is referred to as a specific process. MPU1 has data DAT
When A is delivered to MPU2, a control signal including a request signal ACK and a transmission signal REQ is transmitted and received between MPU1 and MPU2.

【0023】MPU1では、1つのデータに施す処理と
して、MPU1で処理可能な処理(処理1〜処理8)か
ら特定処理(処理6〜処理8)を除いた処理(処理1〜
処理5)が不要な処理を除いて必ず行なわれる。同様
に、MPU2では、MPU2で処理可能な処理(処理3
〜処理10)から特定処理を除いた処理(処理9〜処理
10)が不要な処理を除いて必ず行なわれる。そして、
特定処理(処理3〜処理8)をどちらのMPUで実行す
るかは、制御信号(ACK,REQ)をMPU間で送受
信することにより定められる。
In the MPU 1, the processing (processing 1 to processing 8) excluding the specific processing (processing 6 to processing 8) from the processing (processing 1 to processing 8) that can be processed by the MPU 1 is performed on one data.
Processing 5) is always performed except for unnecessary processing. Similarly, in MPU2, processing that can be processed by MPU2 (processing 3
(Processes 9 to 10) excluding the unnecessary processes are always performed except for the unnecessary processes. And
Which MPU executes the specific processing (processing 3 to processing 8) is determined by transmitting and receiving a control signal (ACK, REQ) between the MPUs.

【0024】図2は、本実施の形態におけるMPU1と
MPU2における動作状態の時間的変化を示す図であ
る。図を参照して、MPU1では、入力データAに対し
て処理1〜処理5を実行した後(A(1−5))、送信
信号REQをMPU2に送信するとともに処理1〜処理
5を施した入力データAをMPU2に送信する。そし
て、次の入力データBに対して処理1〜処理5を実行す
る。入力データBに対して処理5の実行が終了した時点
で、MPU2より要求信号ACKを受信していないの
で、引続き入力データBに対して特定処理を実行する。
そして、MPU2により要求信号ACKを受信したとき
に行なっている処理(図では処理8)を終了した時点で
MPU2に対して送信信号REQを送信するとともに、
処理1〜処理8を施した入力データBをMPU2に送信
する。その後、次の入力データCに対して処理1〜処理
5を実行する。
FIG. 2 is a diagram showing a temporal change in the operation state of MPU1 and MPU2 in the present embodiment. Referring to the figure, in MPU1, after processing 1 to processing 5 are performed on input data A (A (1-5)), transmission signal REQ is transmitted to MPU2 and processing 1 to processing 5 is performed. The input data A is transmitted to the MPU 2. Then, processing 1 to processing 5 are executed for the next input data B. Since the request signal ACK has not been received from the MPU 2 when the execution of the processing 5 on the input data B is completed, the specific processing is continuously executed on the input data B.
Then, when the processing (processing 8 in the figure) performed when the request signal ACK is received by the MPU 2 is completed, the transmission signal REQ is transmitted to the MPU 2 and
The input data B subjected to the processes 1 to 8 is transmitted to the MPU 2. Thereafter, processing 1 to processing 5 are executed for the next input data C.

【0025】一方、MPU2では、MPU1から送信信
号REQと処理1〜処理5が施された入力データAを受
信すると、処理5の後の処理(処理6〜処理10)を入
力データAに対して実行する(A(6−10))、入力
データAに対して処理10の実行が終了すると、MPU
1に対して要求信号ACKを送信し、MPU1より送信
信号と次の入力データBが送信されてくるまで待機状態
となる。そして、MPU1より処理1〜処理8が施され
た入力データBを受信すると、処理8の後の処理(処理
9,処理10)を入力データBに対して実行し(B(9
−10))、MPU1に対して要求信号ACKを送信す
る。以下同様に、MPU1とMPU2とで入力データの
処理と受渡しが行なわれる。
On the other hand, when the MPU 2 receives the transmission signal REQ and the input data A subjected to the processing 1 to the processing 5 from the MPU 1, the processing after the processing 5 (the processing 6 to the processing 10) is performed on the input data A. Execute (A (6-10)). When the execution of the process 10 is completed for the input data A, the MPU
1 and transmits a request signal ACK to MPU 1 and waits until a transmission signal and next input data B are transmitted from MPU 1. Then, when receiving the input data B subjected to the processing 1 to the processing 8 from the MPU 1, the processing after the processing 8 (processing 9 and processing 10) is executed on the input data B (B (9
-10)), transmits a request signal ACK to MPU1. Hereinafter, similarly, input data processing and transfer are performed between MPU1 and MPU2.

【0026】図2に示すMPU1とMPU2との時間の
経過に伴う状態の変化からも明らかなように、MPU1
における待機時間がなくなっている。また、MPU2に
は待機時間が発生するが、MPU1とMPU2との両方
における待機時間の合計は、従来のデータ処理装置(図
16参照)に比べて減少しているのがわかる。また、入
力データそれぞれについても、従来のデータ処理装置で
処理される入力データよりも短い時間で処理されてい
る。
As is clear from the state change over time between MPU1 and MPU2 shown in FIG.
Waiting time is gone. Also, although a waiting time occurs in the MPU2, it can be seen that the sum of the waiting times in both the MPU1 and the MPU2 is smaller than that in the conventional data processing device (see FIG. 16). Also, each of the input data is processed in a shorter time than the input data processed by the conventional data processing device.

【0027】図3は、本実施の形態におけるそれぞれの
MPUで行なわれる処理の流れを示すフロー図である。
図を参照して、MPUは、前段のMPUに対してデータ
DATAの送信を要求する要求信号ACKを送信する
(ステップS01)。その後、前段のMPUが送信する
送信信号REQを受信するまで待機状態となる(ステッ
プS02)。前段のMPUが送信する送信信号REQ
は、後段のMPUが送信信号REQを受信した後にデー
タDATAを送信する旨を示す制御信号である。送信信
号REQを受信すると、データDATAが前段のMPU
より送信されるので、そのデータを受信する(ステップ
S03)。
FIG. 3 is a flowchart showing the flow of processing performed by each MPU in the present embodiment.
Referring to the figure, the MPU transmits a request signal ACK requesting transmission of data DATA to the preceding MPU (step S01). Thereafter, the system is in a standby state until a transmission signal REQ transmitted by the preceding MPU is received (step S02). Transmission signal REQ transmitted by the preceding MPU
Is a control signal indicating that the subsequent MPU transmits data DATA after receiving the transmission signal REQ. When the transmission signal REQ is received, the data DATA
Then, the data is received (step S03).

【0028】ここで、前段のMPUから送信されるデー
タDATAについて説明する。図4は、データDATA
のデータフォーマットを示す図である。データDATA
は、4ビットの処理フラグと8ビットの処理データより
なる。処理フラグは、データDATAを送信するMPU
で実行した最後の処理を示すもので、本実施の形態にお
いては処理の数が10個なので4ビットとしている。こ
のビット数は、データ処理システムで行なわれる処理の
数により定まるもので、4ビット設けておけば16個の
処理を実行するデータ処理システムに用いることができ
る。処理データは、それぞれの処理を行なう対象となる
データであり、処理フラグに書かれた処理が施されたデ
ータが書込まれる。画像データを画像処理するデータ処
理システムの場合には、画像データを構成する画素デー
タのビット数にあたる8ビットとすればよい。処理デー
タのビット数はデータ処理システムで処理の対象となる
データにより定まるもので、8ビットに限定されるわけ
ではない。
Here, data DATA transmitted from the preceding MPU will be described. FIG. 4 shows data DATA
FIG. 3 is a diagram showing a data format of FIG. Data DATA
Consists of a 4-bit processing flag and 8-bit processing data. The processing flag is set to the MPU transmitting the data DATA.
Indicates the last processing executed, and in the present embodiment, the number of processing is 10, so that it is 4 bits. The number of bits is determined by the number of processes performed in the data processing system. If four bits are provided, the number of bits can be used in a data processing system that executes 16 processes. The processing data is data to be subjected to each processing, and the data on which the processing described in the processing flag has been performed is written. In the case of a data processing system that performs image processing on image data, the number of bits may be 8 bits, which is the number of bits of pixel data constituting image data. The number of bits of the processing data is determined by data to be processed in the data processing system, and is not limited to 8 bits.

【0029】図3に戻って、受信したデータDATAか
ら処理フラグが読取られ、変数Fに読取った処理フラグ
が設定される(ステップS04)。ここでは、処理フラ
グを前段のMPUで最後に実施した処理の番号としてい
るので、そのまま変数Fに代入される。
Returning to FIG. 3, the processing flag is read from the received data DATA, and the read processing flag is set in the variable F (step S04). Here, since the processing flag is the number of the processing last performed by the MPU in the preceding stage, the processing flag is directly substituted for the variable F.

【0030】次に、変数Fに「1」が加算される(ステ
ップS05)。これは、データDATAを受信したMP
U(後段のMPU)は、データDATAを送信したMP
U(前段のMPU)で最後に実施した処理の次の処理か
ら実行するためである。
Next, "1" is added to the variable F (step S05). This is the MP that received the data DATA.
U (the latter MPU) is the MP that transmitted the data DATA.
This is because the processing is started from the processing next to the processing last performed in U (the MPU in the preceding stage).

【0031】そして、受信したデータDATA中の処理
データを読出し、読出した処理データに対してF番目の
処理を実行する(ステップS06)。
Then, the processing data in the received data DATA is read, and the F-th processing is executed on the read processing data (step S06).

【0032】そして次に後段のMPUからデータの送信
を要求する要求信号ACKを受信したか否かが判断され
る(ステップS07)。後段のMPUより要求信号AC
Kを受信した場合には、変数Fが定数Sと比較され(ス
テップS09)、要求信号ACKを受信していない場合
には変数Fが定数Eと比較される(ステップS08)。
変数Fが定数Sより小さい場合(ステップS09でYE
S)と変数Fが定数Eより小さい場合(ステップS08
でYES)には、ステップS05からステップS07ま
での処理が繰返し行なわれる。変数Fが定数Sより小さ
くない場合(ステップS09でNO)と変数Fが定数E
より小さくない場合(ステップS08でNO)には、ス
テップS10に進む。
Then, it is determined whether or not a request signal ACK for requesting data transmission has been received from the subsequent MPU (step S07). Request signal AC from MPU at subsequent stage
When K is received, the variable F is compared with a constant S (step S09), and when the request signal ACK is not received, the variable F is compared with a constant E (step S08).
When the variable F is smaller than the constant S (YE in step S09)
S) and the case where the variable F is smaller than the constant E (step S08)
In the case of (YES), the processing from step S05 to step S07 is repeatedly performed. If the variable F is not smaller than the constant S (NO in step S09),
If not smaller (NO in step S08), the process proceeds to step S10.

【0033】ここで、定数Sと定数Eとは、それぞれ特
定処理(処理3〜処理8)の最初の処理の番号と最後の
処理の番号を示す。したがって、本実施の形態において
は、定数Sは「3」となり、定数Eは「8」となる。ス
テップS07とステップ08とステップS09とで行な
われる処理は、後段のMPUより要求信号ACKを受信
した際に、終了した処理(処理F)が特定処理でない場
合(ステップS09でYES)には特定処理になるまで
ステップS05とステップS06を繰返し行なうように
している。また、後段のMPUより要求信号ACKを受
信していない場合(ステップS07でNO)には、終了
した処理(処理F)が処理可能な最後の処理(処理8)
になるまでステップS05とステップS06を繰返し行
なうようにしている。
Here, the constant S and the constant E indicate the number of the first processing and the number of the last processing of the specific processing (processing 3 to processing 8), respectively. Therefore, in the present embodiment, the constant S is “3” and the constant E is “8”. The processing performed in step S07, step 08, and step S09 is as follows. When the completed processing (processing F) is not the specific processing (YES in step S09) when the request signal ACK is received from the subsequent MPU. Steps S05 and S06 are repeated until the time becomes. If the request signal ACK has not been received from the subsequent MPU (NO in step S07), the last process (process 8) in which the completed process (process F) can be processed (process 8)
Steps S05 and S06 are repeated until the time becomes.

【0034】ステップS10では、後段のMPU2に対
してデータDATAを送信する旨を示す送信信号REQ
を送信し、後段のMPU2で送信信号REQの受信を確
認した後データDATAを送信する(ステップS1
1)。その後上述の処理を繰返し行なう。
At step S10, a transmission signal REQ indicating that data DATA is to be transmitted to the MPU 2 at the subsequent stage.
Is transmitted, and after confirming the reception of the transmission signal REQ by the MPU 2 at the subsequent stage, the data DATA is transmitted (step S1).
1). After that, the above processing is repeated.

【0035】図5は、処理1〜処理5に要する負荷が処
理6〜処理10に要する負荷よりも常に小さい入力デー
タを処理する場合における各MPUの状態を従来のデー
タ処理装置と比較して示す図である。図5(A)は、本
実施の形態におけるデータ処理システムのMPU1とM
PU2の状態を示す図である。図5(B)は、従来のデ
ータ処理装置のMPU21とMPU22の状態を示す図
である。図では、入力データA、入力データB、入力デ
ータC…が入力された場合を示す。それぞれのMPUで
行なわれる処理は、たとえば入力データAに対して処理
1〜処理5が実行される状態を、A(1−5)として示
している。
FIG. 5 shows the state of each MPU when processing input data in which the load required for processing 1 to processing 5 is always smaller than the load required for processing 6 to processing 10 in comparison with a conventional data processing apparatus. FIG. FIG. 5A shows MPU1 and MPU of the data processing system according to the present embodiment.
It is a figure showing the state of PU2. FIG. 5B is a diagram showing states of the MPU 21 and the MPU 22 of the conventional data processing device. The figure shows a case where input data A, input data B, input data C... Are input. In the processing performed by each MPU, for example, a state in which processing 1 to processing 5 are performed on input data A is indicated as A (1-5).

【0036】図5(A)を参照して、MPU1では、M
PU2で負荷の大きい処理6〜処理10を入力データA
に対して実行している間に、入力データBに対して処理
1〜処理5を実行した後にさらに処理6〜処理8を実行
している(B(6−8))。また、MPU2では、入力
データBについてはMPU1で処理8まで実行されてい
るので、処理9と処理10とが実行される。
Referring to FIG. 5A, in MPU 1, M
Processing 6 to processing 10 with heavy load on PU2
, While the processing 1 to the processing 5 are performed on the input data B, the processings 6 to 8 are further performed (B (6-8)). Further, in the MPU 2, since the input data B has been executed up to the processing 8 in the MPU 1, the processing 9 and the processing 10 are executed.

【0037】図5(A)と図5(B)とを比較して明ら
かなように、本実施の形態におけるデータ処理システム
では、従来のデータ処理装置と比べて、処理1〜処理5
に要する負荷が処理6〜処理10に要する負荷よりも常
に小さい場合においても、MPU2の負荷が大きい場合
に負荷の小さいMPU1で特定処理を実行するようにし
たのでMPU1とMPU2の待機時間が短くなってお
り、データ処理の高速化が図られていることがわかる。
また、入力データ各々についても、処理が開始されてか
ら終了するまでの時間が短縮されている。
As is apparent from a comparison between FIGS. 5A and 5B, the data processing system according to the present embodiment has processing 1 to processing 5 as compared with the conventional data processing apparatus.
Even when the load required for the processes 6 to 10 is always smaller than the load required for the processes 6 to 10, when the load on the MPU 2 is large, the specific process is executed by the MPU 1 with a small load, so that the waiting time between the MPU 1 and the MPU 2 is reduced. It can be seen that the speed of data processing has been increased.
Also, for each input data, the time from the start to the end of the process is reduced.

【0038】図6は、処理1〜処理5に要する負荷が処
理6〜処理10に要する負荷よりも常に大きい入力デー
タを処理する場合における各MPUの状態を従来のデー
タ処理装置と比較して示す図である。図6(A)は、本
実施の形態におけるデータ処理システムのMPU1とM
PU2の状態を示す図である。図6(B)は、従来のデ
ータ処理装置におけるMPU21とMPU22の状態を
示す図である。MPU22では、MPU21より常に負
荷が小さいので、入力データの受信が完了した時点で要
求信号ACKをMPU21に送信するようにし、MPU
21では、MPU22から要求信号ACKを受信するま
で待機状態となるようにしている。
FIG. 6 shows the state of each MPU when processing input data in which the load required for processing 1 to processing 5 is always larger than the load required for processing 6 to processing 10 in comparison with a conventional data processing apparatus. FIG. FIG. 6A shows MPU1 and MPU of the data processing system according to the present embodiment.
It is a figure showing the state of PU2. FIG. 6B is a diagram showing a state of the MPU 21 and the MPU 22 in the conventional data processing device. Since the load is always smaller in the MPU 22 than in the MPU 21, the request signal ACK is transmitted to the MPU 21 when the reception of the input data is completed.
At 21, a standby state is set until a request signal ACK is received from the MPU 22.

【0039】図6(A)を参照して、入力データBにつ
いては、処理1〜処理4がMPU1で実行され(B(1
−4))、処理5〜処理10がMPU2で実行される
(B(5)、B(6−10))。
Referring to FIG. 6A, for input data B, processing 1 to processing 4 are executed by MPU 1 (B (1
-4)), Process 5 to Process 10 are executed by the MPU 2 (B (5), B (6-10)).

【0040】図6(A)と図6(B)とを比較して明ら
かなように、処理1〜処理5に要する負荷が処理6〜処
理10に要する負荷よりも常に大きい場合においても、
従来のデータ処理装置に比べて、MPU1とMPU2の
待機時間が短縮されてデータ処理の高速化が図られてい
ることがわかる。
As apparent from a comparison between FIG. 6A and FIG. 6B, even when the load required for processing 1 to processing 5 is always larger than the load required for processing 6 to processing 10,
It can be seen that the standby time of MPU1 and MPU2 is reduced and the speed of data processing is increased as compared with the conventional data processing device.

【0041】以上説明したとおり、MPU1とMPU2
とで重複して実行することができる特定処理(処理3〜
処理8)を設けて、後段の処理を実行するMPU2から
の要求信号ACKを受信するまで前段の処理を実行する
MPU1で特定処理を実行するようにしたので、MPU
1とMPU2における待機時間を短くすることができ、
その結果データ処理を高速に行なうことができる。
As described above, MPU1 and MPU2
And specific processing (processing 3 to
The processing 8) is provided, and the specific processing is executed by the MPU 1 that executes the preceding processing until the request signal ACK is received from the MPU 2 that executes the subsequent processing.
1 and the waiting time in the MPU 2 can be shortened,
As a result, data processing can be performed at high speed.

【0042】[第2の実施の形態]第2の実施の形態に
おけるデータ処理システムは、第2の実施の形態におけ
るデータ処理システムを画像処理に適用したものであ
る。画像処理においては処理1から処理6までの4つの
処理が行なわれる。処理1は、SH補正処理(シェーデ
ィング補正処理)であり、入力データである画像データ
がCCD等の光電変換素子で読込まれる場合に生ずるC
CD等の光電変換素子の性能のばらつきに起因する読取
むら(シェーディングむら)を除去するための補正処理
である。
[Second Embodiment] The data processing system according to the second embodiment is obtained by applying the data processing system according to the second embodiment to image processing. In image processing, four processes from process 1 to process 6 are performed. Process 1 is an SH correction process (shading correction process), which is performed when image data as input data is read by a photoelectric conversion element such as a CCD.
This is a correction process for removing uneven reading (uneven shading) due to variations in the performance of photoelectric conversion elements such as CDs.

【0043】処理2はLog変換処理であり、SH補正
処理が施されたデータとLog関係にあるデータに変換
する処理である。
Process 2 is a Log conversion process, which is a process of converting data subjected to the SH correction process into data having a Log relationship.

【0044】処理3は変倍処理であり、入力される画像
データを拡大または縮小したデータに変換する処理であ
る。処理4はMTF補正処理であり、先鋭度補正とも言
われ、たとえばラプラシアンフィルタ等のデジタルフィ
ルタを用いて入力データに先鋭度補正を行なう処理であ
る。
Process 3 is a scaling process in which the input image data is converted into enlarged or reduced data. Process 4 is an MTF correction process, also referred to as sharpness correction, which is a process for performing sharpness correction on input data using a digital filter such as a Laplacian filter.

【0045】処理5はγ補正処理であり、画像データを
入力する装置と画像データを出力する装置との階調カー
ブの差異を補正する処理である。たとえば、256ワー
ド8ビットのLUT(ルックアップテーブル)を用い
て、非線形γ補正データを出力する処理である。
Process 5 is a gamma correction process for correcting a difference in a gradation curve between a device for inputting image data and a device for outputting image data. For example, this is a process of outputting nonlinear gamma correction data using a 256 word 8-bit LUT (lookup table).

【0046】処理6は、2値化処理であり、γ補正処理
が施されたデータを明暗に応じた1ビットの2値データ
に変換する処理である。2値化処理には、たとえば誤差
拡散2値化方式等の面積階調2値化法を用いることがで
きる。
The process 6 is a binarization process in which the data subjected to the gamma correction process is converted into 1-bit binary data corresponding to the brightness. For the binarization processing, for example, an area gradation binarization method such as an error diffusion binarization method can be used.

【0047】図7は、画像データの属性と変倍処理で処
理される倍率とによって区分されるパターン別の処理1
〜処理6で要する負荷を示す図である。図を参照して、
パターンAは、画像データのうち処理対象となる画素デ
ータの属性が「文字」で、処理3で変倍処理される倍率
が「1」のパターンであり、そのときの処理1〜処理6
のそれぞれに要する負荷は、順に「1」、「1」、
「0」、「3」、「1」、「1」である。
FIG. 7 shows a process 1 for each pattern divided by the attribute of the image data and the magnification processed in the scaling process.
FIG. 14 is a diagram showing a load required in processing 6; Referring to the figure,
Pattern A is a pattern in which the attribute of the pixel data to be processed in the image data is “character”, and the magnification at which the scaling process is performed in process 3 is “1”.
The load required for each of "1", "1",
"0", "3", "1", "1".

【0048】パターンBは、処理対象となる画素データ
の属性は「文字」で、処理3で変倍処理される倍率が
「4」のパターンである。パターンCは処理対象となる
画像データの属性が「写真」で処理3で、変倍処理され
る倍率が「1」を示す。パターンDは、処理対象となる
画像データの属性が「写真」で、処理3で変倍処理され
る倍率が「4」であるパターンを示す。パターンB〜パ
ターンDにおける処理1〜処理6のそれぞれにおける負
荷は、図7に示すとおりである。図7に示すパターン別
の処理部の負荷から判るように、本実施の形態における
画像処理システムで行なわれる画像処理は、パターンが
異なることによって、処理1〜処理6で要する負荷が異
なってくる。
The pattern B is a pattern in which the attribute of the pixel data to be processed is “character” and the scaling factor in the process 3 is “4”. In pattern C, the attribute of the image data to be processed is “photograph”, the processing 3 is performed, and the magnification at which the magnification processing is performed is “1”. Pattern D indicates a pattern in which the attribute of the image data to be processed is “photograph” and the magnification at which the scaling process is performed in process 3 is “4”. The load in each of processing 1 to processing 6 in pattern B to pattern D is as shown in FIG. As can be seen from the load on the processing unit for each pattern shown in FIG. 7, the image processing performed by the image processing system according to the present embodiment requires different loads for processing 1 to processing 6 due to different patterns.

【0049】本実施の形態におけるデータ処理システム
では、処理5を特定処理とすると、前段のMPU1で実
行可能な処理を処理1〜処理5となり、後段のMPU2
で実行可能な処理を処理5〜処理6となる。そして、各
MPUで行なわれる処理は図3に示した処理の流れに従
って実行される。
In the data processing system according to the present embodiment, if the processing 5 is a specific processing, the processing that can be executed by the MPU 1 in the preceding stage becomes the processing 1 to the processing 5, and the MPU 2 in the subsequent stage.
The processes that can be executed by are the processes 5 and 6. The processing performed by each MPU is performed according to the processing flow shown in FIG.

【0050】図8は、本実施の形態におけるデータ処理
システムのMPU1とMPU2の動作状態の時系的変化
を従来のデータ処理装置と比較して示す図である。図8
(A)は、本実施の形態におけるデータ処理システムの
MPU1とMPU2の動作状態を示す図であり、図8
(B)は従来のデータ処理装置のMPU21とMPU2
2の動作状態を示す図である。従来のデータ処理装置で
は、前段のMPU1で処理1〜処理4を実行し、後段の
MPU2で処理5と処理6とを実行する。
FIG. 8 is a diagram showing a change over time of the operating state of MPU1 and MPU2 of the data processing system according to the present embodiment in comparison with a conventional data processing apparatus. FIG.
FIG. 8A is a diagram showing an operation state of MPU1 and MPU2 of the data processing system according to the present embodiment.
(B) shows MPU21 and MPU2 of the conventional data processing device.
FIG. 4 is a diagram showing an operation state of FIG. In the conventional data processing device, the MPU 1 at the preceding stage executes the processes 1 to 4, and the MPU 2 at the subsequent stage executes the processes 5 and 6.

【0051】図8(A)を参照して、入力データB以降
に入力されるデータは、処理1〜処理5がMPU1で実
行され、処理6のみがMPU2で実行される。この結
果、MPU1とMPU2それぞれの待機時間が短くなっ
ている。また、入力データそれぞれの処理が開始されて
から終了するまでの時間の、従来のデータ処理装置にお
ける時間より短縮されている。
Referring to FIG. 8A, for data input after input data B, processing 1 to processing 5 are executed by MPU1, and only processing 6 is executed by MPU2. As a result, the waiting time of each of MPU1 and MPU2 is shortened. Further, the time from the start to the end of processing of each input data is shorter than the time in the conventional data processing apparatus.

【0052】このように、本実施の形態におけるデータ
処理システムは、処理対象のデータの属性や処理する内
容が処理対象となるデータにより異なり各処理で要する
負荷が変動する場合であっても、MPU1とMPU2の
待機時間を短くすることができ、データの処理を高速に
行なうことができる。
As described above, the data processing system according to the present embodiment can operate the MPU 1 even when the attributes of the data to be processed and the contents to be processed vary depending on the data to be processed and the load required for each processing varies. And the standby time of the MPU 2 can be shortened, and data processing can be performed at high speed.

【0053】[第3の実施の形態]第3の実施の形態に
おけるデータ処理システムは、第2の実施の形態におけ
るデータ処理システムで行なわれる処理に種類判別処理
を付加したものである。
[Third Embodiment] A data processing system according to a third embodiment is obtained by adding a type determination process to the process performed by the data processing system according to the second embodiment.

【0054】図9は、本実施の形態におけるデータ処理
システムで行なわれる処理を説明するための図である。
本実施の形態におけるデータ処理システムで行なわれる
処理は、SH補正処理、種類判別処理、Log変換処
理、変倍処理、MTF補正処理、γ補正処理、2値化処
理であり、これらの処理がこの順に行なわれる。
FIG. 9 is a diagram for explaining processing performed in the data processing system according to the present embodiment.
The processing performed by the data processing system in the present embodiment is SH correction processing, type discrimination processing, Log conversion processing, scaling processing, MTF correction processing, γ correction processing, and binarization processing. It is performed in order.

【0055】種類判別処理とは、処理対象となる画素デ
ータの種類を判別する処理である。画素データの種類と
は、「背景」と「属性」の2種類をいう。種類判別は、
背景判別と属性判別とを含む。
The type determination process is a process for determining the type of pixel data to be processed. The types of pixel data refer to two types, “background” and “attribute”. Type determination is
It includes background determination and attribute determination.

【0056】背景判別においては、処理対象となる画素
データの背景が判別される。ここで、「背景」とは、処
理対象となる画素データが属する背景領域をいい、「画
像」と「無地」とを含む。「画像」とは、濃淡の変化が
ある領域で下地に画像が描かれた領域である。「無地」
とは、濃淡の変化のない領域で下地に何も描かれていな
い領域である。
In the background determination, the background of the pixel data to be processed is determined. Here, “background” refers to a background area to which pixel data to be processed belongs, and includes “image” and “plain”. The “image” is an area where the image has been drawn on the background in a region where there is a change in shading. "Plain"
Is an area where there is no change in shading and nothing is drawn on the background.

【0057】また、属性判別においては、処理対象とな
る画素データの属性が判別される。ここで、「属性」と
は、処理対象となる画素データが属する領域をいい、
「文字」と「写真」の領域を含む。「文字」とは、文字
が描かれた領域である。「写真」とは、写真が描かれた
領域である。
In the attribute determination, the attribute of the pixel data to be processed is determined. Here, the “attribute” refers to a region to which pixel data to be processed belongs,
Includes "text" and "photo" areas. “Character” is an area where a character is drawn. “Photo” is an area where a photo is drawn.

【0058】図10は、種類判別処理で行なわれる処理
の流れを示すフロー図である。図を参照して、領域判別
処理は、属性判別処理(ステップS21)と背景判別処
理(ステップS22)とを行ない、属性判別処理で判別
された属性と背景判別処理で判別された背景をもとに4
つの種類を判別する(ステップS23〜ステップS2
9)。すなわち、属性が文字で背景が画像の場合には、
画素データの種類を「1」とし(ステップS25)、属
性が文字で背景が無地の場合には画素データの種類を
「2」とし(ステップS26)、属性が写真で背景が画
像の場合には画素データの種類を「3」とし(ステップ
S28)、属性が写真で背景が無地の場合には画素デー
タの種類を「4」とする(ステップS29)。
FIG. 10 is a flowchart showing the flow of the processing performed in the type determination processing. Referring to the figure, the area discriminating process performs an attribute discriminating process (step S21) and a background discriminating process (step S22), based on the attribute discriminated in the attribute discriminating process and the background discriminated in the background discriminating process. To 4
(Step S23 to Step S2)
9). That is, if the attribute is text and the background is an image,
The type of pixel data is set to "1" (step S25). If the attribute is character and the background is plain, the type of pixel data is set to "2" (step S26). If the attribute is photo and the background is image, The type of pixel data is set to "3" (step S28), and when the attribute is a photograph and the background is plain, the type of pixel data is set to "4" (step S29).

【0059】この種類判別処理は、処理対象となる画素
データを4つの種類に分類するものである。後述するよ
うに、画素データの処理に伴う負荷がこの4つの種類に
より大きく異なるので、処理を施す前にその画素データ
の種類を予め判別することで、後で行なう処理の負荷を
予測することができる。
In this type determination processing, pixel data to be processed is classified into four types. As will be described later, the load involved in the processing of pixel data is greatly different depending on the four types. Therefore, it is possible to predict the type of the pixel data before performing the processing, thereby predicting the load of the processing to be performed later. it can.

【0060】図11は、種類判別処理により判別される
種類別の処理1〜処理7における負荷を示す図である。
図を参照して、種類1〜4により、処理1〜処理7にお
ける負荷がそれぞれ示されている。処理1のSH補正処
理と処理2の背景判別処理については、種類に関係なく
すべて負荷が「1」となる。他の処理については、それ
ぞれ図に示すとおり「0」から「3」の間の値となって
いる。
FIG. 11 is a diagram showing loads in processes 1 to 7 for each type determined by the type determination process.
Referring to the figure, loads in processing 1 to processing 7 are shown by types 1 to 4, respectively. Regarding the SH correction processing of the processing 1 and the background determination processing of the processing 2, the load is “1” regardless of the type. Other processes have values between “0” and “3” as shown in the figure.

【0061】MPU1で実行可能な処理から特定処理を
除いた処理における負荷とMPU2で実行可能な処理か
ら特定処理を除いた処理の負荷とがほぼ同じとなるよう
に、処理対象の画素データの種類によって特定処理を決
定する。
The type of the pixel data to be processed is such that the load in the processing excluding the specific processing from the processing executable by the MPU 1 and the processing load excluding the specific processing from the processing executable in the MPU 2 are almost the same. The specific processing is determined by

【0062】図12は、処理対象となる画素データの種
類別の特定処理を示す図である。図を参照して、処理対
象の画素データの種類が「1」の場合は、処理3〜処理
5を特定処理とし、このときの特定処理より前の処理の
負荷は「2」となり特定処理より後の処理の負荷は
「2」となる。また、特定処理の負荷は「4〜」とな
る。これは、変倍処理により特定処理の負荷が変更する
ことによるものである。
FIG. 12 is a diagram showing a specific process for each type of pixel data to be processed. Referring to the figure, when the type of pixel data to be processed is “1”, processing 3 to processing 5 are set as the specific processing, and the load of the processing before the specific processing at this time is “2” and the processing is smaller than the specific processing. The load of the subsequent processing is “2”. In addition, the load of the specific processing is “4 to”. This is because the load of the specific process is changed by the scaling process.

【0063】処理対象となる画素データの種類が「2」
の場合には、処理3〜処理6が特定処理となる。同様
に、処理対象となる画素データの種類が「3」の場合に
は処理4〜処理6が、種類が「4」の場合は処理3〜処
理6がそれぞれ特定処理となる。
The type of pixel data to be processed is "2"
In the case of, the processes 3 to 6 are the specific processes. Similarly, when the type of the pixel data to be processed is “3”, the processes 4 to 6 are specific processes, and when the type is “4”, the processes 3 to 6 are the specific processes.

【0064】このように、処理対象となる画像データの
種類を判別して、その後の処理で行なわれる処理の負荷
を予め予測し、予測された負荷に基づいてMPU1とM
PU2との両方で実施することができる特定処理を変更
する。特定処理を変更することにより、処理対象となる
画像データの負荷に応じた処理をMPU1とMPU2と
に分担させることができるので、より待機時間を短縮し
てデータの処理速度を高速間することが可能となる。
As described above, the type of image data to be processed is determined, the load of the processing performed in the subsequent processing is predicted in advance, and the MPU 1 and the MPU 1 are determined based on the predicted load.
The specific processing that can be performed with both PU2 is changed. By changing the specific processing, the processing according to the load of the image data to be processed can be shared between the MPU1 and the MPU2, so that the waiting time can be further reduced and the data processing speed can be increased. It becomes possible.

【0065】図13は、本実施の形態におけるデータ処
理システムのMPUで行なわれる処理の流れを示すフロ
ー図である。図を参照して、図3に示した第1の実施の
形態におけるMPUで行なわれる処理と異なる点は、ス
テップS35において処理対象となる画素データの種類
により定数Sと定数Lを決定する処理(ステップS3
5)が加わった点である。その他の点については図3で
示した処理の流れと同様であるので、ここでの説明は繰
返さない。
FIG. 13 is a flowchart showing a flow of processing performed by the MPU of the data processing system according to the present embodiment. Referring to the figure, the difference from the processing performed by the MPU in the first embodiment shown in FIG. 3 is that processing for determining constants S and L according to the type of pixel data to be processed in step S35 ( Step S3
5) is added. The other points are the same as those in the flow of the process shown in FIG. 3, and thus description thereof will not be repeated.

【0066】ステップS35で行なわれる処理は、処理
2の種類判別処理で判別された種類により、図12で示
す特定処理に基づいて特定処理の最初の処理の番号を示
す定数Sと特定処理の最後の処理の番号を示すLを決定
するものである。この定数Sと定数Lとはそれぞれ、ス
テップS40、ステップS41においてMPUが実行を
終了した処理の番号Fと比較判断する処理で用いられ
る。
The processing performed in step S35 includes a constant S indicating the number of the first processing of the specific processing based on the specific processing shown in FIG. Is determined, which indicates the number of the process. The constant S and the constant L are used in the process of comparing and determining the number F of the process that the MPU has finished executing in steps S40 and S41, respectively.

【0067】後段のMPU2では、種類判別処理を行な
わないため、処理対象となる画素データがどの種類を有
する画素データであるのか不明である。そのため、前段
のMPU1から後段のMPU2へデータDATAを送信
する際に、「種類」も合わせて送信される。
Since the type determination processing is not performed in the MPU 2 at the subsequent stage, it is unknown which type of pixel data is to be processed. Therefore, when data DATA is transmitted from the MPU 1 in the preceding stage to the MPU 2 in the subsequent stage, the “type” is also transmitted.

【0068】図14は、本実施の形態におけるデータD
ATAのデータフォーマットを示す図である。図を参照
して、データDATAのデータフォーマットは、2ビッ
トの種類フラグと4ビットの処理フラグと8ビットの処
理データとよりなる。種類フラグには、処理判別処理で
判別された処理対象の画素データの種類が書込まれて送
信される。種類フラグのビット数を2ビットととしたの
は、本実施の形態における「種類」が4種類だからであ
る。後の処理の負荷を予測するために判別される種類が
4種類以上ある場合には、これより多くのビット数が必
要となる。
FIG. 14 shows data D in the present embodiment.
It is a figure showing the data format of ATA. Referring to the drawing, the data format of data DATA includes a 2-bit type flag, a 4-bit processing flag, and 8-bit processing data. In the type flag, the type of the pixel data to be processed determined in the process determination processing is written and transmitted. The number of bits of the type flag is set to 2 bits because there are four "types" in the present embodiment. If there are four or more types determined to predict the load of the subsequent processing, a larger number of bits is required.

【0069】以上説明したとおり、本実施の形態におけ
るデータ処理システムにおいては、種類判別処理におい
て、処理対象となる画像データがこれから行なわれる処
理でどれだけの負荷を要する画素データであるのかを予
測し、予測した結果に基づいて特定処理を変更している
ので、MPU1とMPU2の待機時間を短くすることが
でき、データの処理を高速に行なうことができる。
As described above, in the data processing system according to the present embodiment, in the type determination processing, it is predicted how much load the image data to be processed is the pixel data that will be required in the processing to be performed. Since the specific processing is changed based on the predicted result, the waiting time of MPU1 and MPU2 can be shortened, and the data processing can be performed at high speed.

【0070】[第4の実施の形態]第4の実施の形態に
おけるデータ処理システムは、第3の実施の形態におけ
るデータ処理システムが種類判別処理により判別された
種類に基づいて特定処理を変更したのに対して、種類判
別処理により判別された種類に基づいて前段のMPU1
で行なう処理と後段のMPU2で行なう処理を決定する
ようにしたものである。図11を参照して、点線10よ
りも前の処理がMPU1で行なわれる処理となり、点線
10より後の処理がMPU2で行なわれる処理となる。
具体的には、処理対象となる画素データの種類が「1」
と「2」の場合には、処理1〜処理4がMPU1で実行
され、処理5〜処理7がMPU2で実行される。種類が
「3」と「4」の場合には、処理1〜処理5がMPU1
で実行され、処理6と処理7がMPU2で実行される。
[Fourth Embodiment] The data processing system according to the fourth embodiment is different from the data processing system according to the third embodiment in that the specific processing is changed based on the type determined by the type determination processing. On the other hand, based on the type determined by the type determination process,
And the process performed by the MPU 2 at the subsequent stage are determined. Referring to FIG. 11, the processing before dotted line 10 is performed by MPU1, and the processing after dotted line 10 is performed by MPU2.
Specifically, the type of pixel data to be processed is “1”
In the case of " 2 ", processing 1 to processing 4 are executed by MPU1, and processing 5 to processing 7 are executed by MPU2. If the types are “3” and “4”, processing 1 to processing 5
The processing 6 and the processing 7 are executed by the MPU 2.

【0071】本実施の形態においては、特定処理を処理
5とすると、特定処理を行なうMPUを処理対象となる
画素データの種類に応じて決定するものである。
In this embodiment, assuming that the specific processing is processing 5, the MPU performing the specific processing is determined according to the type of pixel data to be processed.

【0072】したがって、処理対象となる画素データの
負荷を種類判別処理により判別された種類に基づいて予
測することができ、予測された負荷に応じて特定処理を
実行するMPUを決定するので、MPU1とMPU2で
生ずる待機時間を短くすることができる。その結果、デ
ータ処理を高速に行なうことができる。
Accordingly, the load of the pixel data to be processed can be predicted based on the type determined by the type determination processing, and the MPU to execute the specific processing is determined according to the predicted load. And the waiting time generated in the MPU 2 can be shortened. As a result, data processing can be performed at high speed.

【0073】なお、本実施の形態においては、データ処
理システムについて説明したが、図3、図10または図
13に示すフローをコンピュータに実行させるためのプ
ログラムを記録した記録媒体として捉えることもでき
る。
Although the data processing system has been described in the present embodiment, the data processing system may be regarded as a recording medium on which a program for causing a computer to execute the flow shown in FIG. 3, FIG. 10, or FIG.

【0074】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1の実施の形態におけるデータ処理システム
におけるMPU間のデータ入出力を説明するためのブロ
ック図である。
FIG. 1 is a block diagram for explaining data input / output between MPUs in a data processing system according to a first embodiment.

【図2】第1の実施の形態におけるデータ処理システム
のMPU1とMPU2との動作状態の時間的変化を示す
図である。
FIG. 2 is a diagram illustrating a temporal change in an operation state of MPU1 and MPU2 of the data processing system according to the first embodiment.

【図3】第1の実施の形態におけるデータ処理システム
のMPUで行なわれる処理の流れを示すフロー図であ
る。
FIG. 3 is a flowchart showing a flow of processing performed by an MPU of the data processing system according to the first embodiment.

【図4】第1の実施の形態におけるMPU1とMPU2
との間で引渡されるデータDATAのデータフォーマッ
トを示す図である。
FIG. 4 shows MPU1 and MPU2 in the first embodiment.
FIG. 9 is a diagram showing a data format of data DATA transferred between the first embodiment and the second embodiment.

【図5】処理1〜処理5に要する負荷が処理6〜処理1
0に要する負荷より常に小さい入力データを処理する場
合における各MPUの状態を従来のデータ処理装置と比
較して示す図である。
FIG. 5 shows processing 6 to processing 1 required for processing 1 to processing 5;
FIG. 11 is a diagram illustrating a state of each MPU when processing input data that is always smaller than a load required for 0, in comparison with a conventional data processing apparatus.

【図6】処理1〜処理5に要する負荷が処理6〜処理1
0に要する負荷より常に大きい入力データを処理する場
合における各MPUの状態を従来のデータ処理装置と比
較して示す図である。
FIG. 6 shows the load required for processing 1 to processing 5 is processing 6 to processing 1
FIG. 7 is a diagram illustrating a state of each MPU when processing input data that is always larger than a load required for 0, as compared with a conventional data processing apparatus.

【図7】処理対象の画素データの属性と変倍処理される
倍率とに基づき決定されるパターン別の処理1〜処理6
における負荷を示す図である。
FIG. 7 shows processing 1 to processing 6 for each pattern determined based on the attribute of the pixel data to be processed and the magnification for the scaling processing.
FIG.

【図8】第2の実施の形態におけるデータ処理システム
のMPU1とMPU2との動作状態の時間的変化を従来
のデータ処理装置と比較して示す図である。
FIG. 8 is a diagram illustrating a temporal change in the operation state of MPU1 and MPU2 of the data processing system according to the second embodiment, as compared with a conventional data processing apparatus.

【図9】第3の実施の形態におけるデータ処理システム
で行なわれる処理を説明するための図である。
FIG. 9 is a diagram for describing processing performed in a data processing system according to a third embodiment.

【図10】種類判別処理の流れを示すフロー図である。FIG. 10 is a flowchart showing the flow of a type determination process.

【図11】処理対象となる画素データの種類別に処理1
〜処理7における負荷を示す図である。
FIG. 11 shows processing 1 for each type of pixel data to be processed.
FIG. 11 is a diagram showing loads in processing 7;

【図12】処理対象となる画素データの種類別に特定処
理を示す図である。
FIG. 12 is a diagram illustrating a specific process for each type of pixel data to be processed;

【図13】第3の実施の形態におけるデータ処理システ
ムのMPUで行なわれる処理の流れを示すフロー図であ
る。
FIG. 13 is a flowchart showing the flow of processing performed by the MPU of the data processing system according to the third embodiment.

【図14】第3の実施の形態におけるデータDATAの
データフォーマットを示す図である。
FIG. 14 is a diagram showing a data format of data DATA in the third embodiment.

【図15】従来のデータ処理装置におけるMPU間のデ
ータ入出力を説明するためのブロック図である。
FIG. 15 is a block diagram for explaining data input / output between MPUs in a conventional data processing device.

【図16】従来のデータ処理装置のMPU21とMPU
22との動作状態の時間的変化を示す図である。
FIG. 16 shows MPU21 and MPU of a conventional data processing device.
22 is a diagram showing a temporal change of an operation state with the operation state of FIG.

【符号の説明】[Explanation of symbols]

1,2 MPU 21,22 MPU 10 点線 1,2 MPU 21,22 MPU 10 dotted line

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 シリアルに接続される複数の処理部を有
し、前記複数の処理部が一連の処理をそれぞれ分担して
非同期で実行することにより、入力データに前記一連の
処理を施すデータ処理システムであって、 前記複数の処理部は、前記一連の処理のうち特定の処理
とその前段の前段処理とを実行可能な第1の処理部と、
前記特定処理とその後段の後段処理とを実行可能な第2
の処理部とを含むことを特徴とする、データ処理システ
ム。
1. A data processing apparatus comprising: a plurality of processing units connected serially, wherein the plurality of processing units share a series of processes and execute the series of processes asynchronously, thereby performing the series of processes on input data. In the system, the plurality of processing units, a first processing unit capable of executing a specific process of the series of processes and a preceding stage process thereof,
A second process capable of executing the specific process and the subsequent post-process;
A data processing system, comprising:
【請求項2】 前記第1の処理部は、前記第2の処理部
からの要求により前記特定処理の実行を中止することを
特徴とする、請求項1に記載のデータ処理システム。
2. The data processing system according to claim 1, wherein the first processing unit suspends execution of the specific processing in response to a request from the second processing unit.
【請求項3】 前記第2の処理部は、前記第1の処理部
で前記特定処理が実行されていない前記入力データに対
して、前記特定の処理を実行することを特徴とする、請
求項1または2に記載のデータ処理システム。
3. The method according to claim 2, wherein the second processing unit executes the specific processing on the input data for which the specific processing has not been performed by the first processing unit. 3. The data processing system according to 1 or 2.
【請求項4】 前記複数の処理部の負荷を予測する予測
手段をさらに備え、前記予測手段で予測された負荷に応
じて前記特定処理を実行する処理部を決定することを特
徴とする、請求項1から3のいずれかに記載のデータ処
理システム。
4. The apparatus according to claim 1, further comprising: a prediction unit configured to predict a load of the plurality of processing units, wherein a processing unit that executes the specific processing is determined according to the load predicted by the prediction unit. Item 4. The data processing system according to any one of Items 1 to 3.
【請求項5】 前記複数の処理部の負荷を予測する予測
手段をさらに備え、前記予測手段で予測された負荷に応
じて前記特定処理を変更することを特徴とする、請求項
1から3のいずれかに記載のデータ処理システム。
5. The apparatus according to claim 1, further comprising a prediction unit for predicting loads on the plurality of processing units, wherein the specific processing is changed according to the load predicted by the prediction unit. The data processing system according to any one of the above.
【請求項6】 前記予測手段は、前記入力データの種類
を検出する手段を含み、検出された種類に基づいて負荷
を予測することを特徴とする、請求項4または5に記載
のデータ処理システム。
6. The data processing system according to claim 4, wherein the prediction unit includes a unit for detecting a type of the input data, and predicts a load based on the detected type. .
JP35773298A 1998-11-24 1998-12-16 Data processing system Expired - Fee Related JP4348760B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP35773298A JP4348760B2 (en) 1998-12-16 1998-12-16 Data processing system
US09/447,263 US6535971B1 (en) 1998-11-24 1999-11-23 Data processing system having plurality of processors and executing series of processings in prescribed order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35773298A JP4348760B2 (en) 1998-12-16 1998-12-16 Data processing system

Publications (2)

Publication Number Publication Date
JP2000182036A true JP2000182036A (en) 2000-06-30
JP4348760B2 JP4348760B2 (en) 2009-10-21

Family

ID=18455642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35773298A Expired - Fee Related JP4348760B2 (en) 1998-11-24 1998-12-16 Data processing system

Country Status (1)

Country Link
JP (1) JP4348760B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005134976A (en) * 2003-10-28 2005-05-26 Hitachi High-Technologies Corp Image processor for appearance inspection apparatus
JP2005322050A (en) * 2004-05-10 2005-11-17 Fuji Xerox Co Ltd Image processor and program
JP2006259970A (en) * 2005-03-16 2006-09-28 Fuji Xerox Co Ltd Data processor, data processing program and data processing method
JP2008015565A (en) * 2006-06-30 2008-01-24 Nec Electronics Corp Circuit, system and method for processing image
JP2009282689A (en) * 2008-05-21 2009-12-03 Toshiba Corp Data processor and data processing method
JP2010067276A (en) * 2008-09-09 2010-03-25 Sony Corp Pipelined image processing engine
JP2011128909A (en) * 2009-12-17 2011-06-30 Toshiba Corp Image processing apparatus and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005134976A (en) * 2003-10-28 2005-05-26 Hitachi High-Technologies Corp Image processor for appearance inspection apparatus
JP2005322050A (en) * 2004-05-10 2005-11-17 Fuji Xerox Co Ltd Image processor and program
JP4539163B2 (en) * 2004-05-10 2010-09-08 富士ゼロックス株式会社 Image processing apparatus and program
JP2006259970A (en) * 2005-03-16 2006-09-28 Fuji Xerox Co Ltd Data processor, data processing program and data processing method
JP4534814B2 (en) * 2005-03-16 2010-09-01 富士ゼロックス株式会社 Data processing apparatus, data processing program, and data processing method
JP2008015565A (en) * 2006-06-30 2008-01-24 Nec Electronics Corp Circuit, system and method for processing image
JP4723427B2 (en) * 2006-06-30 2011-07-13 ルネサスエレクトロニクス株式会社 Image processing circuit, image processing system, and image processing method
JP2009282689A (en) * 2008-05-21 2009-12-03 Toshiba Corp Data processor and data processing method
JP2010067276A (en) * 2008-09-09 2010-03-25 Sony Corp Pipelined image processing engine
US8754895B2 (en) 2008-09-09 2014-06-17 Sony Corporation Pipelined image processing engine
JP2011128909A (en) * 2009-12-17 2011-06-30 Toshiba Corp Image processing apparatus and method

Also Published As

Publication number Publication date
JP4348760B2 (en) 2009-10-21

Similar Documents

Publication Publication Date Title
US11922598B2 (en) Image processing apparatus, image processing method, and storage medium
CN103179321B (en) A kind of for performing equipment based on the image procossing of error diffusion and method
CN100586144C (en) Image processing device and method
JP2000182036A (en) Data processing system
US5646741A (en) Image processing apparatus and method capable of smoothing image data in accordance with an image enlargement/reduction ratio
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
CN111950562A (en) Picture processing method and device, terminal equipment and storage medium
JP5636816B2 (en) Reconfigurable arithmetic circuit and program
JPH07311839A (en) Information processing system
US20190268500A1 (en) Image processing apparatus, image processing method, and storage medium
US20090262212A1 (en) Image processing apparatus and method
WO2018167973A1 (en) Image capturing device, control method and control program
US8432577B2 (en) Scanner parameter techniques
KR20110007838A (en) Image processing method and apparatus
JP4540054B2 (en) Data processing system
JP2000163388A (en) Data processing system
JP3224283B2 (en) Predictive encoding device and predictive decoding device
JP3466655B2 (en) Image processing device
JP6816469B2 (en) Communication devices, communication systems, communication methods, and communication programs
JP2011191903A (en) Information processing apparatus, image forming apparatus and information processing method
JP3080937B2 (en) JBIG encoding method and recording medium recording JBIG program
JPH0784973A (en) Unit and method for multiprocessing processor control
JP2023133993A (en) Image formation apparatus and program
JPS60117967A (en) Picture processor
JPH11122482A (en) Method and device for processing color picture

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050920

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20051122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090630

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090713

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120731

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130731

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees