JP4114988B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP4114988B2
JP4114988B2 JP35380897A JP35380897A JP4114988B2 JP 4114988 B2 JP4114988 B2 JP 4114988B2 JP 35380897 A JP35380897 A JP 35380897A JP 35380897 A JP35380897 A JP 35380897A JP 4114988 B2 JP4114988 B2 JP 4114988B2
Authority
JP
Japan
Prior art keywords
data
bus
memory
data bus
control
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.)
Expired - Fee Related
Application number
JP35380897A
Other languages
Japanese (ja)
Other versions
JPH11184800A (en
Inventor
友弘 鈴木
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP35380897A priority Critical patent/JP4114988B2/en
Priority to US09/216,443 priority patent/US6240481B1/en
Priority to CN98127174A priority patent/CN1122224C/en
Publication of JPH11184800A publication Critical patent/JPH11184800A/en
Application granted granted Critical
Publication of JP4114988B2 publication Critical patent/JP4114988B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は複写機やプリンタ、ファクシミリなどの画像処理装置に適用して好適なデータ処理装置及びシステム構築方法に関する。詳しくは、データ用のメモリと2つに分断されたデータバスに3方向性のインタフェース手段を接続して、一方のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、他方のデータバスを他の外部機器に開放できるようにすると共に、各々のデータバスに接続された外部機器によってデータ用のメモリを時系列的若しくは同時に共用できるようにしたものである。
【0002】
【従来の技術】
近年、原稿画像から取得した画像データに基づいて画像形成を行うデジタル複写機が使用されるに至っている。この種の複写機では原稿の画像情報がスキャナ等により読み込まれ、その原稿の画像情報が一旦、画像メモリに蓄えられる。そして、該画像メモリに蓄えられた画像情報はユーザの要求に応じて画像の縮小、拡大及び回転などの画像処理が施される。これにより、画像処理された画像データに基づいてその原稿の画像を所定の転写紙に複写することができる。
【0003】
ところで、この種のデジタル複写機では原稿の画像情報を一旦蓄積するために大容量のメモリが設けられ、その画像情報を効率良くデータ転送する技術が必要になる。
【0004】
図7はこの種の画像メモリを用いた従来方式の画像形成装置500の構成例を示すブロック図である。この画像形成装置500は図7に示すCPUバス1を有している。このCPUバス1には、システム制御手段2、画像メモリ3、ダイレクトメモリアクセスコントローラ(以下単にDMACという)4、画像取得手段5及び画像再生手段6とが接続されている。
【0005】
このCPUバス1に接続されたシステム制御手段2はCPU2a,ROM2b,RAM2c及び操作部2dを有している。CPU2aは画像形成装置500の全体制御を行うICで、その制御プログラムはROM2bに格納されている。RAM2cはCPU2aが演算を行うときに、一時的に使用されるメモリで、制御プログラムの実行上必要になるものである。
【0006】
例えば、画像取得手段5や画像再生手段6に起動指示などの制御命令が出力されたとき、CPU2aによってRAM2cにその制御命令が書き込まれ、その後、画像データの書き込み終了通知などがあった場合にこの制御命令に対するものかが照合される。
【0007】
また、操作部2dはユーザと本装置との間のインタフェースに必要なものであり、この指示によりCPU2aは所定のデータ処理を実行する。CPUバス1に接続された画像メモリ3は複数ページ分の容量をもつ比較的大きな容量のメモリで、図示しないが符号化処理を行うことにより符号データの蓄積も行われる。DMAC4はCPU2aの介在なしに各デバイス間のデータ転送を実行するもので、CPU2aに比べ高速にデータ転送を行うことができる。
【0008】
このCPUバス1に接続された画像取得手段5はスキャナ用インタフェース5a、スキャナ部5b及びページメモリ5cを有している。スキャナ用インタフェース5aはスキャナ部5bの駆動制御及びページメモリ5cにおける画像データ(DATA)の書き込み読み出し制御を行うものである。ページメモリ5cはスキャナ部5bからの画像データを1ページ分格納するメモリで、スキャナ部5bとCPU2aのデータ転送速度の整合及びCPUバス1の使用効率の向上のため必要になるものである。
【0009】
更に、CPUバス1に接続された画像再生手段6はプリンタ用インタフェース6a,ページメモリ6b及びプリンタ部6cを有している。プリンタ用インタフェース6aはプリンタ部6cの駆動制御及びページメモリ6bにおける画像データの書き込み読み出し制御を行うものである。ページメモリ6bはプリンタ部6cへの書き込みデータを1ページ分格納するメモリで、プリンタ6cとCPU2aのデータ転送速度の整合及びCPUバス1の使用効率の向上のため必要になるものである。
【0010】
次に、画像形成装置500の動作を説明する。始めに、単一原稿時のコピー動作について説明する。まず、操作部2dから1ページコピーの指示を受けると、CPU2aから画像取得手段5へスキャナ駆動が指示される。この指示を受けたスキャナ用インタフェース5aではスキャナ部5bが駆動されると共に、スキャナ部5bから原稿の画像データが取得され、その画像データが順次ページメモリ5cに格納される。1ページ分の画像データがページメモリ5cに格納されると、スキャナ用インタフェース5aはCPU2aに対して画像データの読み取り終了を通知する。
【0011】
この通知を受けたCPU2aからDMAC4に対して、スキャナ用インタフェース5aからプリンタ用インタフェース6aへ画像データを転送するように指示が与えられる。そして、1ページ分の画像データがスキャナ用のページメモリ5cからプリンタ用のページメモリ6bに転送される。この1ページの画像データの転送が終わると、DMAC4からCPU2aに対して、転送終了が通知される。この通知を受けたCPU2aから画像再生手段6へプリンタ駆動が指示される。この指示を受けたプリンタ用インタフェース6aによって、ページメモリ6bから画像データが読み出され、その画像データがプリンタ部6cに出力される。プリンタ部6cでは1ページの画像データに基づいて、原稿の画像を転写紙などに複写することができる。
【0012】
次に、複数枚の原稿を複数部コピーするときの動作について説明する。まず、操作部2dからの指示を受けたCPU2aによって画像取得手段5に対してスキャナ駆動が指示される。この指示を受けたスキャナ用インタフェース5aでは、スキャナ部5bによって取得された1ページ分の画像データがページメモリ5cに格納されると、その後、スキャナ用インタフェース5aからCPU2aへ1ページ分の画像データの読み取り終了が通知される。この通知を受けたCPU2aからDMAC4にデータ転送が指示されるので、ページメモリ5cに格納された画像データが画像メモリ3に転送される。
【0013】
この一連の動作が原稿枚数分だけ繰り返され、全ての画像データが画像メモリ3に蓄積される。その後、蓄積された画像データはCPU2aの指示によりプリンタ用インタフェース6aに転送される。このとき、DMAC4により1ページ分の画像データが画像メモリ3からプリンタ用のページメモリ6dに格納されると、CPU2aからプリンタ用インタフェース6aに対してプリンタ起動が指示される。
【0014】
この指示を受けたプリンタ用インタフェース6aによって1ページ分の画像データがプリンタ部6cに出力されると、CPU2aに対して印刷終了が通知される。この通知を受けたCPU2aからDMAC4へ次ページの画像データの転送が指示され、その印刷が開始される。
【0015】
この一連の動作が原稿枚数分だけ繰り返されるので、最初の1部のコピーが完了する。この例ではCPU2aに対して複数部のコピーが指示されているので、DMAC4に対して、再度1ページ目の画像データを画像メモリ3からプリンタ用インタフェース6aへ転送するように指示される。これ以降は、同一動作を設定された部数分だけ繰り返すことにより、複数部のコピーを行うことができる。
【0016】
【発明が解決しようとする課題】
ところで、従来方式の画像形成装置10によれば、本装置に通信手段を付加することにより、複写機能にプリンタ、ファクシミリ機能を複合させたデータ処理装置の要求がある。この要求に対して、いわゆるメモリ通信や同報通信などを行うために画像メモリ3を効率良く使用しなければならない。しかしながら、従来方式では1本のCPUバス1に画像メモリ3、DMCA4、画像取得手段5及び画像再生手段6が接続され、しかも、各々の手段5,6毎にページメモリ5cや6bが接続されている。
【0017】
従って、スキャナ部5c及びプリンタ部6cの動作時以外はスキャナー用及びプリンタ用のページメモリ5c,6bが使用されないので、メモリ使用効率が悪くなるというシステム構築上の問題がある。因なみに、ページメモリ5c,6bは一番大きな原稿サイズ(例えばA3サイズ)の画像データが記録できるような容量を有している。これにより、A3サイズより小さな原稿を複写する場合は、使用しないメモリ領域が発生してしまいメモリ使用効率が低下する。
【0018】
また、複数枚の原稿を複数部コピーするとき、すなわち、1ページの画像データを読み込んだ後に、1ページ目の原稿をプリントアウトしながら複数部のコピーを同時に行う場合に、DMAC4によってスキャナ用のページメモリ5cから画像メモリ3とプリンタ用のページメモリ6bとの両方に画像データを転送しなければならない。従って、画像データを2度に分けて転送しなければならず、単一原稿時のデータ転送時間の約2倍になる。
【0019】
更に、CPUバス1に接続されたDMAC4の転送速度がCPU2aのバス占有率によって変化するので、DMAC4によって前ページの画像データ上に次ページの画像データが上書きされてしまう場合がある。これは、CPU2aのバス占有率の変化によって、DMAC4の転送速度が低下したときなどに、1ページ分の画像データがページメモリ5aから画像メモリ3へ全て転送される前に、次ページの画像データの読み込みが開始された場合に発生する。
【0020】
同様に、1ページ分の画像データをページメモリ6bに格納する前に、プリンタの起動指示がなされると、画像データのアンダーフローが発生して原稿の上部が複写されない場合がある。このような状態を避けるために、CPU2aに優先してDMAC(以下外部機器ともいう)4にCPUバス1を専有させるようにすると、CPU2aの処理速度が低下したり、CPUバス(以下データバスともいう)1や画像メモリ(以下データ用のメモリともいう)3を使用したファックス処理などをCPU(以下外部機器ともいう)2aに実行させることが困難になるという問題がある。
【0021】
そこで、この発明は上述した課題を解決したものであって、一方の外部機器がデータバスを専有していた場合でも、他方の外部機器が他のデータバスを使用して他のデータ処理を実行できるようにすると共に、各々のデータバスに接続された外部機器によってデータ用のメモリを時系列的に共用できるようにしたデータ処理装置及びシステム構築方法を提供することを目的とする。
【0022】
【課題を解決するための手段】
上記問題点を解決するために、本発明に係るデータ処理装置は、画像メモリと、第1のデータバスと、第2のデータバスと、前記画像メモリと前記第1のデータバスとの間でのデータの書き込み読み出しを前記画像メモリと前記第2のデータバスとの間でのデータの書き込み読み出しを、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、前記3方向性のインタフェース手段は、前記第1のデータバスに接続されてデータを入出力する双方向性の第1のインタフェース部と、前記第2のデータバスに接続されてデータを入出力する双方向性の第2のインタフェース部と、前記第1及び第2のインタフェース部間に接続された内部データバスと、前記内部データバスから分岐した分岐データバスと、前記分岐データバスに接続されて、前記画像メモリとの間のデータの書き込み読み出しを制御するメモリ制御手段と、前記第1のインタフェース部と前記メモリ制御手段との間に設けられ、前記第1のインタフェース部から入力されるデータを一時記憶する第1のFIFOメモリと、前記メモリ制御手段と前記第2のインタフェース部との間に設けられ、前記第2のインタフェース部から入力されるデータを一時記憶する第2のFIFOメモリと、前記メモリ制御手段によって書き込み制御されるデータを一時記憶する第3のFIFOメモリと、前記メモリ制御手段によって読み出し制御されるデータを一時記憶する第4のFIFOメモリと、前記第1のインタフェース部、前記第2のインタフェース部、前記内部データバスおよび前記メモリ制御手段を入出力制御する制御命令を一時記録する制御用メモリとを有し、前記制御用メモリに記録された制御命令に基づいて、前記第1、第2、第3及び第4のFIFOメモリのデータ書き込み読み出し制御を行い、前記画像メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的に入出力制御するようにしてなることを特徴とする。
【0023】
本発明のデータ処理装置によれば、1本のデータバスを2つに分断したデータ転送制御をすることができるので、例えば、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータの書き込み読み出しを行っているときに、第2のデータバスとデータ用のメモリとの間におけるデータの書き込み読み出しを停止させたり、データ用のメモリから読み出された同じデータを第2のデータバスに転送したりすることができる。
【0024】
従って、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、第2のデータバスを他の外部機器に開放することができる。これと共に、第1のデータバスに接続された外部機器と、第2のデータバスに接続された外部機器とでデータ用のメモリを時系列的若しくは同時に共用することができる。しかも、上位の制御装置などに過度な制御負担などをかけないようなデータ処理システムを構築することができる。
【0027】
【発明の実施の形態】
以下、図面を参照しながら、この発明の実施形態としてのデータ処理装置について説明をする。
【0028】
(1)インタフェース装置の構成例
図1は、この実施形態としてのデータ処理装置に適用されるインタフェース装置の構成例を示す図である。
【0029】
本実施の形態では、データ用のメモリと2つに分断されたデータバスに3方向性のインタフェース手段を接続して、一方のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、他方のデータバスを他の外部機器に開放できるようにすると共に、各々のデータバスに接続された外部機器によってデータ用のメモリを時系列的若しくは同時に共用できるようにしたものである。
【0030】
このインタフェース装置100は図1に示す第1のデータバス11及び第2のデータバス12の間に接続されて使用される。データバス11には双方向性の第1のインタフェース部13が接続され、このデータバス11との間でデータが入出力される。インタフェース部13の内部への出力段にはデータ用の第1のFIFOメモリ14aが接続され、データバス11から入力されたデータが一時記録される。FIFOメモリ14aは2つのデータバス間のデータ転送速度を整合するために必要となる。FIFOメモリ14aによるデータは最初に入力されたものから最初に出力される。
【0031】
FIFOメモリ14aの出力段には内部データバス15aを介在して第2のインタフェース部16が接続される。インタフェース部16の外部への出力段にはデータバス12が接続され、データバス11からのデータがデータバス12に出力される。
【0032】
また、インタフェース部16の内部への出力段にはデータ用の第2のFIFOメモリ14bが接続され、上述した理由からデータバス12より入力されたデータが一時記録される。このデータは最初に入力されたものから、最初に出力される。このFIFOメモリ14bの出力段には内部データバス15bを介在してインタフェース部13が接続される。インタフェース部13の外部への出力段にはデータバス11が接続され、データバス12からのデータがデータバス11に出力される。
【0033】
更に、上述の2つのインタフェース部13及び16間には制御用のメモリ17が接続され、例えばこのインタフェース装置100を含めたデータ処理システムを構築したときに、そのシステム上位の制御装置などからの制御命令D1が一時記録される。この例で制御用のメモリ17はコマンドレジスタ17a及びステータスレジスタ17bを有している。上述の制御命令D1はこのコマンドレジスタ17aに記録される。
【0034】
このインタフェース装置100へのアクセス方法には、一義的に決めたチップセレクト信号を使用する方法や、アドレスデコード方式を使用する方法などが考えられる。アドレスデコード方式は予めROMなどにマッピンクされたアドレスAddをアクセス時に制御装置などによって、データバス11上にそのアドレスをドライブする。これにより、インタフェース装置100内のアドレスレジスタに設定するようにして、そのインタフェース装置100内でアドレスをデコードすることによりアクセスを受け付ける方法である。以降の説明では、後者の場合を想定して説明をする。
【0035】
例えば、インタフェース部13又はインタフェース部16内にはインタフェース制御部18が設けられ、コマンドレジスタ17aに記録された制御命令D1に基づいてFIFOメモリ14a,14bのデータ書き込み読み出し制御が行われ、しかも、インタフェース部13、16、内部データバス15a,15bの入出力が制御される。
【0036】
インタフェース制御部18には図2に示すアドレスレジスタ18a,デコーダ18b,タイミング発生回路18cなどが設けられる。アドレスレジスタ18aには、アクセス時に本インタフェース装置100宛のアドレスが設定される。本インタフェース装置100宛のアクセスであるかは、そのアドレスがデコーダ18bによって解読されることで判断される。このデコーダ18bは制御命令D1の解読にも使用される。この制御命令D1のデコード結果に基づいてタイミング発生回路18cではスイッチ制御信号S1〜S4が発生される。
【0037】
スイッチ制御信号S1はインタフェース部13のバス切換えに使用され、スイッチ制御信号S2はインタフェース部16のバス切換えに使用される。メモリ制御信号S3はFIFOメモリ14aの書き込み読み出しに使用され、メモリ制御信号S4はFIFOメモリ14bの書き込み読み出しに使用される。
【0038】
ステータスレジスタ17bには制御通知情報が一時記録される。この制御通知情報は制御命令D1に関して実行されたデータ転送結果などを示す終了ステータスデータD2のようなものであり、システム上位の制御装置などはこの終了ステータスデータD2を受信することで、先にインタフェース装置100に与えた制御命令D1に対するデータ処理が終了したかを判断することができる。
【0039】
次に、図2を参照しながら、インタフェース装置100の動作を説明する。この例ではデータバス11,12間でデータ転送をするときに、コマンドレジスタ17aに制御命令D1が書き込まれるようになされたものである。
【0040】
例えば、データバス11からデータバス12へデータを転送する場合には、その旨の制御命令D1がコマンドレジスタ17aに書き込まれる。この制御命令D1がインタフェース制御部18に受信されると、この制御命令D1がインタフェース制御部18でデコードされ、このデコード結果であるスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15aに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。
【0041】
そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。これはデータバス11上のデータ転送速度とデータバス12上のデータ転送速度とを整合させるためである。このFIFOメモリ14aに最初に記録されたデータから順にメモリ制御信号S3に基づいて読み出され、インタフェース部16を通過してデータバス12に出力される。
【0042】
また、データバス12からデータバス11へデータを転送する場合には、その旨の制御命令D1がコマンドレジスタ17aに書き込まれる。この制御命令D1がインタフェース制御部18に受信されると、インタフェース制御部18でデコードされたスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15bに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。
【0043】
そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録され、データバス11及び12のデータ転送速度がマッチングされる。このFIFOメモリ14bに最初に記録されたデータから順に、メモリ制御信号S4に基づいて読み出され、インタフェース部13を通過してデータバス11に出力される。
【0044】
このデータ転送が終了すると、ステータスレジスタ17bには終了ステータスデータD2が書き込まれる。なお、ステータスレジスタ17bにはインタフェース装置100自身の終了ステータスデータD2が書き込まれることは勿論のこと、この種のインタフェース装置100をデータバスを分断する節目、節目に多数配置してデータ処理システムを構築したときに、他のインタフェース装置100からの終了ステータスデータD2をも記録するようになされている。
【0045】
このようにすると、システムの制御装置に対して最も近い位置に配置したインタフェース装置100のステータスレジスタ17bの記録内容を確認することで、そのデータ処理システムで端末装置に近いインタフェース装置100に与えた制御命令D1に対するデータ処理が終了したかを容易に判断することができる。
【0046】
このように、本実施の形態に係るインタフェース装置100によれば、コマンドレジスタ17aに一旦、制御命令D1が書き込まれた後は、その制御命令D1に基づいてインタフェース部13,16及び内部データバス15a,15bの入出力制御及びFIFOメモリ14a,14bの書き込み読み出し制御をすることができるので、インタフェース装置100に接続されたシステム上位の制御装置などと独立してデータバス11,12間でデータを転送することができる。
【0047】
従って、制御命令D1を書き込んだ後は、その制御装置自らがインタフェース装置100の入出力を管理しなくても済むので、その制御装置のデータ処理負担を軽減することができる。
【0048】
また、本実施の形態では制御命令D1に関して実行されたデータ転送結果を示す終了ステータスデータD2がステータスレジスタ17bに一時記録されるので、このコマンドレジスタ17bからそのデータD2を読み出すことにより、制御命令D1に関して実行されたデータの転送結果を容易に確認することができる。従って、制御装置とインタフェース装置100との間において、ハンドシェイクによるデータ処理を行うこと、及び、複数のインタフェース装置100間において、ハンドシェイクによるデータ処理を行うことができる。
【0049】
続いて、本実施の形態としての3方向性のインタフェース装置200について説明をする。図3は本実施の形態としての3方向性のインタフェース装置200の構成例を示すブロック図である。
【0050】
この実施形態では、内部データバス15a,15bから分岐した分岐データバスが接続され、この分岐データバスにメモリ制御手段が接続され、インタフェース部13,16よって入出力されるデータが制御命令D1に基づいて書き込み読み出し制御されるようにしたものである。なお、インタフェース装置100と同じ符号及び同じ名称のものは同じ機能を有するので、その説明を省略する。
【0051】
この3方向性のインタフェース装置200には図3に示す内部バスセレクタ21が設けられる。内部バスセレクタ21は図4に示す2回路1選択用のスイッチ回路21a,単一スイッチ回路21b及び21cを有している。勿論、これらのスイッチ回路21a〜21cは電界効果トランジスタやバイポーラトランジスタなどにより集積化されたトランジスタ回路を用いてもよい。
【0052】
スイッチ回路21aのa点はFIFOメモリ14aの出力段の内部データバス15aに接続され、そのb点はFIFOメモリ14bの出力段の内部データバス15bに接続される。スイッチ回路21aの中性点nは分岐データバスとしての書き込み用のメモリバス22aに接続される。このメモリバス22aにはデータ用の第3のFIFOメモリ23aに接続され、内部データバス15a又は15bから分岐された書き込み用のデータが一時記憶される。このFIFOメモリ23aの出力段にはメモリ制御手段24が接続され、内部データバス15a又は15bから分岐されたデータの書き込み読み出し制御が行われる。このメモリ制御手段24の外部への出力段には画像メモリ3などのデータ用のメモリが接続される。
【0053】
また、メモリ制御手段24の内部への出力段には第4のFIFOメモリ23bが接続され、内部データバス15a又は15bへ出力するための読み出し用のデータが一時記憶される。このFIFOメモリ23bの出力段には読み出し用のメモリバス22bが接続される。このメモリバス22bはスイッチ回路21b,21cの接点nに接続される。スイッチ回路21bのa点は内部データバス15aを通じてインタフェース部16の入力段に接続され、スイッチ回路21cのb点は内部データバス15bを通じてインタフェース部13の入力段に接続される。
【0054】
上述のインタフェース部13又はインタフェース部16内にはインタフェース制御部18に代わってインタフェース制御部28が設けられる。インタフェース制御部28はアドレスレジスタ28a、デコーダ28b及びタイミング発生回路28cを有しており、これらの機能はインタフェース制御部18のアドレスレジスタ18a、デコーダ18b及びタイミング発生回路18cとほぼ同じである。このインタフェース制御部28では、コマンドレジスタ17aに記録された制御命令D1に基づいてFIFOメモリ14a,14b及び23a,23bのデータ書き込み読み出し制御と、インタフェース部13、16、内部データバス15a,15bの入出力制御と、スイッチ回路21a〜21cのスイッチ制御などが行われる。
【0055】
インタフェース制御部28ではインタフェース制御部18と同様に制御命令D1をデコードしてスイッチ制御信号S1〜S4を発生する他に、タイミング発生回路28cによって、スイッチ回路21aのバス切換えに使用されるスイッチ制御信号S5と、スイッチ回路21bのバス切換えに使用されるスイッチ制御信号S6と、FIFOメモリ23aの書き込み読み出しに使用されるメモリ制御信号S7と、FIFOメモリ23bの書き込み読み出しに使用されるメモリ制御信号S8と、スイッチ回路21cのバス短絡に使用されるスイッチ制御信号S9などが発生される。
【0056】
次に、図4を参照しながら、インタフェース装置200の動作を説明する。この例では以下の9つのデータ転送事象に関する制御命令D1がコマンドレジスタ17aに書き込まれるようになされたものである。このデータ転送事象は、
▲1▼ データバス11からデータバス12へデータを転送(データスルー)する場合、
▲2▼ データバス11から画像メモリ3へデータを書き込む場合、
▲3▼ データバス11から画像メモリ3へデータを書き込むと同時にデータバス12へ同じデータを転送する場合、
▲4▼ データバス12からデータバス11へデータを転送(データスルー)する場合、
▲5▼ データバス12から画像メモリ3へデータを書き込む場合、
▲6▼ データバス12から画像メモリ3へデータを書き込むと同時にデータバス11へ同じデータを転送する場合、
▲7▼ 画像メモリ3からデータバス11へデータを読み出す場合、
▲8▼ 画像メモリ3からデータバス12へデータを読み出す場合、及び
▲9▼ 画像メモリ3からデータバス11及びデータバス12へ同じデータを読み出す場合である。
【0057】
例えば、データ転送事象▲1▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、この制御命令D1がインタフェース制御部28に受信されると、この制御命令D1がインタフェース制御部28でデコードされ、このデコード結果であるスイッチ制御信号S1に基づいてインタフェース部13ではデータバス11が内部データバス15aに接続され、インタフェース部16ではスイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。
【0058】
スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aが内部データバス15aから切り離され、同様にスイッチ回路21aではスイッチ制御信号S6に基づいてメモリバス22bが内部データバス15bから切り離される。そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にメモリ制御信号S3に基づいて読み出され、インタフェース部16を通過してデータバス12に出力される。これによりデータバス11からデータバス12へデータを転送(データスルー)することができる。
【0059】
また、データ転送事象▲2▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aに接続され、スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。
【0060】
そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にFIFOメモリ23aに記録される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。
【0061】
このとき、メモリバス22bは内部データバス15bから切り離されたままである。この場合にデータバス12と内部データバス15a,15bとはどのような接続の仕方をしていてもよい。これにより、データバス11から画像メモリ3へデータを書き込むことができる。
【0062】
更に、データ転送事象▲3▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aに接続され、スイッチ制御信号S2に基づいて内部データバス15aがデータバス12に接続される。スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。
【0063】
そして、データバス11から入力されたデータはメモリ制御信号S3に基づいてFIFOメモリ14aに一時記録される。このFIFOメモリ14aに最初に記録されたデータから順にFIFOメモリ23aに記録される。これと共に、FIFOメモリ14aに記録されたデータがデータバス12に出力される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。これにより、データバス11から画像メモリ3へデータを書き込むと同時にデータバス12へ同じデータを転送することができる。
【0064】
また、データ転送事象▲4▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。
【0065】
スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aが内部データバス15aから切り離され、同様にスイッチ回路21aではスイッチ制御信号S6に基づいてメモリバス22bが内部データバス15bから切り離される。そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にメモリ制御信号S4に基づいて読み出され、インタフェース部13を通過してデータバス11に出力される。これによりデータバス12からデータバス11へデータを転送(データスルー)することができる。
【0066】
次に、データ転送事象▲5▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S2に基づいてデータバス12が内部データバス15bに接続され、スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。
【0067】
そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にFIFOメモリ23aに記録される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。
【0068】
このとき、メモリバス22bは内部データバス15bから切り離されたままである。この場合にデータバス11と内部データバス15a,15bとはどのような接続の仕方をしていてもよい。これにより、データバス12から画像メモリ3へデータを書き込むことができる。
【0069】
データ転送事象▲6▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ制御信号S2に基づいて内部データバス15bがデータバス12に接続される。スイッチ回路21aではスイッチ制御信号S5に基づいてメモリバス22aと内部データバス15aとが接続される。
【0070】
そして、データバス12から入力されたデータはメモリ制御信号S4に基づいてFIFOメモリ14bに一時記録される。このFIFOメモリ14bに最初に記録されたデータから順にFIFOメモリ23aに記録される。これと共に、FIFOメモリ14bに記録されたデータがデータバス11に出力される。FIFOメモリ23aに記録されたデータはメモリ制御信号S7に基づいて読み出され、画像メモリ3に書き込まれる。これにより、データバス12から画像メモリ3へデータを書き込むと同時にデータバス11へ同じデータを転送することができる。
【0071】
データ転送事象▲7▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続され、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15bとが接続される。この例ではスイッチ制御信号S9によってスイッチ回路21cがオンされる。
【0072】
そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部13を通ってデータバス11に出力される。このとき、メモリバス22aは内部データバス15bから切り離された状態である。この場合に、内部データバス15bはスイッチ制御信号S2に基づいてデータバス12から切り離されている。これにより、画像メモリ3からデータバス11へデータを読み出すことができる。
【0073】
データ転送事象▲8▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15aから切り離され、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15aとが接続される。
【0074】
そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部16を通ってデータバス12に出力される。このとき、メモリバス22aは内部データバス15bから切り離された状態である。この場合に、内部データバス15aはスイッチ制御信号S1に基づいてデータバス11から切り離されている。これにより、画像メモリ3からデータバス12へデータを読み出すことができる。なお、データ転送事象▲1▼〜▲6▼,▲8▼に関する制御命令D1を実行する場合には、スイッチ制御信号S9によってスイッチ回路21cをオフした状態が保たれる。
【0075】
▲9▼に関する制御命令D1がコマンドレジスタ17aに書き込まれた場合には、インタフェース制御部28でデコードされたスイッチ制御信号S1に基づいてデータバス11が内部データバス15bに接続されると共に、スイッチ制御信号S2に基づいてデータバス12が内部データバス15aに接続される。しかも、スイッチ回路21bではスイッチ制御信号S6に基づいてメモリバス22bと内部データバス15aとが接続され、スイッチ制御信号S9に基づいてスイッチ回路21cがオンされて内部データバス15a及び15bが短絡される。
【0076】
そして、画像メモリ3から読み出されたデータはメモリ制御信号S8に基づいてFIFOメモリ23bに一時記録される。このFIFOメモリ23bに最初に記録されたデータから順にインタフェース部13を通ってデータバス11に出力されると共に、インタフェース部16を通ってデータバス12に出力される。このとき、メモリバス22aは内部データバス15a,15bから切り離された状態である。これにより、画像メモリ3からデータバス11及びデータバス12へ同じデータを読み出すことができる。これらのいずれかのデータ転送事象▲1▼〜▲9▼が終了すると、ステータスレジスタ17bにはデータ転送結果を通知するために終了ステータスデータD2が書き込まれる。
【0077】
このように、本実施の形態としての3方向性のインタフェース装置200によれば、システムの制御装置からコマンドレジスタ17aに制御命令D1が書き込まれた後は、制御装置と独立してデータバス11から画像メモリ3などへデータを書き込んだり、この画像メモリ3からデータバス12上にデータを読み出すことができる。
【0078】
従って、オフィースコンピユータシステムや画像形成装置などのデータ処理システムを構築する場合であって、1つのデータバスを2つに分断し、この2つのデータバス11、12間でデータ転送をする場合などは、本実施の形態としての双方向性のインタフェース装置100を2つのデータバス11,12の間に配置するように設計する。
【0079】
また、唯一の画像メモリ3とデータバス11との間でデータの書き込み読み出をしたり、その画像メモリ3とデータバス12との間でデータの書き込み読み出をしたり、及び、データバス11、12間でデータ転送をする場合などは、本実施の形態としての3方向性のインタフェース装置200を画像メモリ3、データバス11及び12間に配置するようにする。そして、これらのインタフェース装置100,200内にコマンドレジスタ17aを設け、このコマンドレジスタ17aに制御命令D1を書き込むようにしてインタフェース装置100や200の入出力を制御するようにするとよい。
【0080】
続いて、インタフェース装置100や200を用いたデータ処理装置について説明する。
【0081】
(2)データ処理装置の構成例
図5は本実施の形態としてのデータ処理装置300の構成例を示すブロック図である。
【0082】
この実施形態では図5に示す主記憶装置30と、2つに分断されたデータバスA,B間に3方向性のインタフェース装置200を接続して、一方のデータバスBに接続された端末装置40が主記憶装置30との間でデータの書き込み読み出しを行っているときは、他方のデータバスAを主制御装置10に開放できるようにすると共に、各々のデータバスA又はBに接続された主制御装置10、副制御装置20及び端末装置40,50などによって主記憶装置30を時系列的若しくは同時に共用できるようにしたものである。
【0083】
このデータ処理装置300にはデータ用のメモリとしての図5に示す主記憶装置30が設けられる。この主記憶装置30には上述した3方向性のインタフェース装置200が接続され、その内部のコマンドレジスタ17aに書き込まれた制御命令D1によって、この主記憶装置30とデータバスAとの間でデータの書き込み読み出をしたり、主記憶装置30とデータバスBとの間でデータの書き込み読み出をしたり、及び、2つのデータバスA,B間でデータ転送がなされる。
【0084】
この例で、データバスAには2つの双方向性のインタフェース装置101及び102が設けられる。一方のインタフェース装置101はデータバスAに接続されて他方のインタフェース装置102及び3方向性のインタフェース装置200に接続されると共に、CPUバス1aを通じて外部機器としての主制御装置10に接続される。
【0085】
他方のインタフェース装置102は同様にデータバスAに接続されて3方向性のインタフェース装置200に接続されると共に、CPUバス1bを通じて外部機器としての副制御装置20に接続される。更に、データバスAには第1の調停手段としてのバス調停手段60が接続され、データ衝突が生じないようにインタフェース装置101及び102のバス使用権の調停がなされる。
【0086】
また、データバスBにも2つの双方向性のインタフェース装置103及び104が設けられる。一方のインタフェース装置103はデータバスBに接続されて他方のインタフェース装置104及び3方向性のインタフェース装置200に接続されると共に、端末用のバス40aを通じて外部機器としての端末装置40に接続される。
【0087】
他方のインタフェース装置104は同様にデータバスBに接続されて3方向性のインタフェース装置200に接続されると共に、端末用のバス50aを通じて外部機器としての端末装置50に接続される。更に、データバスBには第2の調停手段としてのバス調停手段70が接続され、インタフェース装置103及び104のバス使用権の調停がなされる。
【0088】
上述したインタフェース装置101〜104はいずれも本実施の形態としての双方向性のインタフェース装置100が使用され、内部に設けられたコマンドレジスタ17aに書き込まれた制御命令D1によって、データ転送制御がなされる。この例では、少なくともデータバスAと主記憶装置30の間でデータ転送を行うとき、主記憶装置30とデータバスBとの間でデータ転送を行うとき、または、データバスA,B間でデータ転送を行うときに、インタフェース装置200内のコマンドレジスタ17aに制御命令D1が書き込まれる。この制御命令D1は主制御装置10又は副制御装置20によって書き込まれる。
【0089】
次に、データ処理装置300の動作を説明する。例えば、端末装置40から主記憶装置30にデータを書き込む場合を想定して説明をする。この場合には、上述したデータ転送事象▲5▼に関する制御命令D1がインタフェース装置200のコマンドレジスタ17aに書き込まれる。
【0090】
これに先立っては、まず、主制御装置10からインタフェース装置101内の図示ないコマンドレジスタ17a及びインタフェース装置200内の以下図示ないコマンドレジスタ17aにはデータ転送事象▲1▼に関する制御命令D1が書き込まれる。次に、主制御装置10からインタフェース装置103にデータ転送事象▲4▼に関する制御命令D1が書き込まれ、その後、インタフェース装置200にデータ転送事象▲5▼に関する制御命令D1が書き込まれる。
【0091】
インタフェース装置101、200及び103で各々の制御命令D1がデコードされると、インタフェース装置103ではデータバスBと端末用のバス40aとが接続され、インタフェース装置200ではデータバスBとメモリバス30aとが接続される。各々のインタフェース装置101、200及び103の内部での動作は上述した通りである。例えば、インタフェース装置103及び200の接続動作により、端末装置40からデータバスBを経由して主記憶装置30へデータを書き込むことができる。
【0092】
この例では端末装置40から主記憶装置30へデータを書き込んでいるとき、及び、主記憶装置30から端末装置50にデータを読み出しているときは、3方向性のインタフェース装置200によって、データバスAがデータバスBから切り離されるので、データバスAを主制御装置10や副制御装置20に開放することができる。これにより、データバスAに接続された主制御装置10が、インタフェース装置101及び102を通して副制御装置20と他のデータのやりとりを行うことができる。
【0093】
また、上述したデータ転送事象▲9▼に関する制御命令D1に基づいて主記憶装置30から読み出された同じデータを主制御装置10を始め、副制御装置20及び端末装置50などに転送することができる。これにより、データバスAに接続された主制御装置10や副制御装置20と、データバスBに接続された端末装置40及び50とで主記憶装置30を時系列的若しくは同時に共用することができる。
【0094】
このように本実施の形態としてのデータ処理装置300によれば、双方向性のインタフェース装置101〜104及び3方向性のインタフェース装置200によって2つのデータバスA,Bを時系列的に入出力制御することができるので、従来方式の画像形成装置500のような1本のCPUバス1を2つに分断したデータ転送制御をすることができる。
【0095】
続いて、データ処理装置300を応用した画像形成装置について説明する。
【0096】
(3)データ処理装置の応用例
図6は本実施の形態としての画像形成装置400の構成例を示すブロック図である。この実施形態では、図7に示す画像メモリ3と2つに分断されたデータバスA,Bにメモリ用のバスブリッジ201を接続し、このバスブリッジ201に制御命令D1を与えた後は、この制御命令D1によってスキャナ部42及びプリンタ部52をCPU2aとは独立して時系列的に入出力を制御させるようにして、この間にCPU2aが他のデータ処理を実行できるようになされたものである。
【0097】
この画像形成装置400には3方向性のインタフェース手段としての図6に示すバスブリッジ201が設けられる。このバスブリッジ201には本実施の形態に係る3方向性のインタフェース装置200が使用される。
【0098】
このバスブリッジ201には画像メモリ3が接続され、原稿などの画像データが一時記憶される。この例ではバスブリッジ201内のコマンドレジスタ17aに書き込まれた制御命令D1によって、この画像メモリ3とデータバスAとの間で画像データの書き込み読み出をしたり、画像メモリ3とデータバスBとの間で画像データの書き込み読み出をしたり、及び、2つのデータバスA,B間で画像データ転送がなされる。
【0099】
この例で、データバスAには2つの双方向性のバスブリッジ31及び32が設けられる。一方のバスブリッジ31はデータバスAに接続されて他方のバスブリッジ32及びメモリ用のバスブリッジ201に接続されると共に、CPUバス1aを通じてCPU2aに接続される。CPU2aには従来方式と同様に、ROM2b,RAM2c及び操作部2dが接続され、画像形成装置400の全体制御が行われる。これらの機能については説明を省略する(図7参照)。
【0100】
他方のバスブリッジ32はデータバスAに接続されてバスブリッジ201に接続されると共に、CPUバス1bを通じて通信モデムなどを制御するCPU25に接続される。CPUバス1bに接続されたROM26及びRAM27はCPU25をサポートするものである。更に、データバスAには第1の調停手段としてのバスアービタ61が接続され、データ衝突が生じないようにバスブリッジ31及びバスブリッジ32のバス使用権の調停がなされる。
【0101】
また、データバスBにも2つの双方向性のバスブリッジ33及び34が設けられる。一方のバスブリッジ33はデータバスBに接続されて他方のバスブリッジ34及びバスブリッジ201に接続されると共に、スキャナ用のバス41を通して画像取得手段としてのスキャナ部42に接続される。スキャナ部41ではバスブリッジ33の入力制御に基づいて原稿の画像が取得され、その原稿の画像データが出力される。
【0102】
他方のバスブリッジ34は同様にデータバスBに接続されてバスブリッジ201に接続されると共に、プリンタ用のバス51を通して画像再生手段としてのプリンタ部52に接続される。プリンタ部52ではバスブリッジ34の出力制御に基づいて画像データが与えられ、その画像データに基づいて原稿の画像が再生される。更に、データバスBには第2の調停手段としてのバスアービタ71が接続され、バスブリッジ33及び34のバス使用権の調停がなされる。
【0103】
上述したバスブリッジ101〜104はいずれも本実施の形態としての双方向性のインタフェース装置100が使用され、内部に設けられたコマンドレジスタ17aに書き込まれた制御命令D1によって、データ転送制御がなされる。この例では、少なくともデータバスAと画像メモリ3の間でデータ転送を行うとき、画像メモリ3とデータバスBとの間でデータ転送を行うとき、または、データバスA,B間でデータ転送を行うときに、バスブリッジ201内のコマンドレジスタ17aに制御命令D1が書き込まれる。
【0104】
この例では制御命令D1がCPU2a又はCPU25によってバスブリッジ201に書き込まれた後は、この制御命令D1によってスキャナ部42及びプリンタ部52が時系列的に入出力制御されるようにしたものである。
【0105】
次に、本実施の形態としての画像形成装置400の動作を説明する。始めに、単一(1ページ)の原稿をコピーする場合について説明する。この例ではスキャナ部42で取得された原稿の画像データが一旦、画像メモリ3に転送され、その後、画像メモリ3から画像データが読み出されてプリンタ部52に供給される場合を想定して説明する。
【0106】
例えば、操作部2dからCPU2aに1ページのコピーが指示されると、CPU2aはスキャナ部42を駆動するためにバスブリッジ33に対してスキャナ駆動指示をする。このとき、バスブリッジ33とCPU2aとは直接データバスA,Bが接続されていないので、バスブリッジ31とバスブリッジ201を介してスキャナ駆動指示が送られる。
【0107】
このスキャナ駆動指示に際して、CPU2aからバスブリッジ31へ制御命令D1が送出される。この際に、CPU2aで発生されるアドレスは予めマッピングされたバスブリッジ31を示している。従って、バスブリッジ31はこの制御命令D1及びアドレスをデータバスAにドライブする。このデータバスAに接続されたバスブリッジ201では、この制御命令D1に付されたアドレスがデータバスBに接続されたバスブリッジ33を指定するものなので、この制御命令D1及びアドレスがデータバスBにドライブされる。これにより、バスブリッジ33ではバスブリッジ201からの制御命令D1及びアドレスが受信され、スキャナ部42の駆動制御が行われる。
【0108】
次に、CPU2aからバスブリッジ33に対して、スキャナ部42から出力される画像データの転送先、転送バイト数などが指示される。このとき、上述したようにCPU2aはCPUバス1aを通して、データバスA上にバスブリッジ33のアドレスと画像データの格納先などを指示する制御命令D1がドライブされる。これにより、バスブリッジ31及びバスブリッジ201を通って、制御命令D1がバスブリッジ33に転送される。この制御命令D1を受け取ったバスブリッジ33では、スキャナ部42からの画像データを指示された画像メモリ3のアドレスに書き込むべき準備が開始される。
【0109】
この書き込みに際して、バスブリッジ33はバスアービタ71に対してデータバスBの使用を要求する。バスアービタ71は内蔵する所定のアルゴリズムに従って、その時の最優先のバス使用要求に対してデータバスBの使用を許可する。この場合は、バスブリッジ201及びバスブリッジ34からバス使用要求がなされていないので、バスブリッジ33に対してデータバスBの使用が許可される。許可を受けたバスブリッジ33では、指定された画像メモリ3のアドレスがデータバスBにドライブされる。
【0110】
この画像メモリ3のアドレスを受けたバスブリッジ201では、制御命令D1をデコードすることにより、画像メモリ3に対するアクセスであることが検知される。従って、データバスB上にドライブされた画像データが、バスブリッジ201の上述した内部データバス15b及びFIFOメモリ23aを通って画像メモリ3に格納される(図4参照)。
【0111】
ここで、CPU2aのアドレスマップ上で画像メモリ3のアドレスとバスブリッジ34のアドレスとを同じ値に設定すると、スキャナ部42からの画像データを画像メモリ3に格納しつつ、プリンタ部52によって同時に原稿の画像をプリントアウトすることができる。
【0112】
このバスブリッジ33によって、CPU2aより指定された転送バイト数の画像データが画像メモリ3に格納されている間は、CPUバス1a及びデータバスAは画像データの転送には使用されていないので、CPU2aやCPU25等は新たに指示された通信処理などのジョブを処理することができる。
【0113】
そして、指定されたバイト数分の画像データの転送が終了すると、バスブリッジ33はCPU2aに対してデータ転送終了を通知する。このとき、バスブリッジ33ではバスブリッジ31内のステータスレジスタ17bに終了ステータスデータD2を記録するために、バスブリッジ31のアドレスを指示すべくデータバスBがドライブされる。
【0114】
このデータバスBがドライブされるので、バスブリッジ201ではアドレスがデコードされ、バスブリッジ31のアドレスと終了ステータスデータD2とがデータバスAにドライブされる。これにより、バスブリッジ31では当該バスブリッジ自身宛のアドレスがドライブされているので、終了ステータスデータD2が上述したステータスレジスタ17bに格納される。
【0115】
このバスブリッジ31ではステータスレジスタ17bの内容が変化するので、この内容がCPU2aに通知される。従って、CPU2aはバスブリッジ31のレジスタ17bをリードすることにより、スキャナ部42から画像メモリ3への画像データの転送が終了したことを検知することができる。
【0116】
このデータ転送終了通知を受け取ったCPU2aは、今度はバスブリッジ34に対してプリンタ部52の起動を指示する。このとき、CPUバス1aにドライブされたアドレスはバスブリッジ34を指示するものである。従って、バスブリッジ34に対する制御命令D1はバスブリッジ31及びバスブリッジ201を通って、バスブリッジ34のコマンドレジスタ17aに格納される。その後、CPU2aからバスブリッジ34に対して、画像データの格納元、そのバイト数が指示され、プリント開始の準備がなされる。
【0117】
そして、バスブリッジ34ではデータ転送のためにバスアービタ71に対してデータバスBの使用が要求される。この要求を受けたバスアービタ71では所定のアルゴリズムに従って、その時最優先のバス使用要求に対して許可が与えられる。この場合は、バスブリッジ201及びバスブリッジ33からのバス使用要求がないので、バスブリッジ34に対してデータバスBの使用の許可が与えられる。この許可を受けたバスブリッジ34では画像メモリ3のアドレスがデータバスBにドライブされる。
【0118】
この画像メモリ3のアドレスを受けたバスブリッジ201では、このアドレスがデコードされ、このデコード結果によって画像メモリ3に対するアクセスであることが検知される。これにより、バスブリッジ201ではCPU2aによって指定されたアドレスの画像メモリ3から画像データが読み出され、その画像データがデータバスB上にドライブされる。このデータバスB上にドライブされた画像データがバスブリッジ34によって取り込まれ、その画像データがプリンタ部52に出力される。
【0119】
このバスブリッジ34では、指定されたバイト分だけプリントアウトが済むと、上述したバスブリッジ31内のステータスレジスタ17bに転送終了ステータスが格納される。このように、バスブリッジ33に起動コマンドを送ってから原稿の1ページのコピー終了まで、CPUバス1a及びデータバスAをCPU2aの次のジョブのために使用することができる。
【0120】
次に、原稿が複数枚で、しかも、複数部の転写紙にコピーする場合について説明する。この場合も、操作部2dからの指示によりCPU2aはバスブリッジ33に対してスキャナ部42の駆動制御のための制御命令D1を送る。さらに、スキャナ部42で読み取られた画像データの格納先アドレス及び読み込みバイト数が設定され、画像データの読み取りが開始される。このとき、前述したように、バスブリッジ34のアドレスを画像メモリ3のアドレスと同一に設定することにより、読み込まれた画像データをプリントアウトしながら画像メモリ3に格納することもできる。
【0121】
この例では原稿の第1ページ目の画像データの読み込みが終了したら、CPU2aはバスブリッジ34に対してプリンタ部52の起動を指示する。また、このとき、画像メモリ3に1ページ分のメモリ領域に空きがあれば、CPU2aはバスブリッジ33に対して第2ページ目の読み込みの開始を指示する。各ブリッジ33、34はバスアービタ71に対してデータバスBの使用を要求する。この許可を受け取ったバスブリッジ33又は34が上述したようなデータ転送が行われる。上述した同一動作を第1ページ目の原稿の枚数分だけ行われると、第1ページ目の原稿の1部コピーが終了する。複数部のコピーをとるためには、バスブリッジ34に対して順次起動をかけ、予め設定された部数のコピーが終了する。
【0122】
このようにして、本実施の形態としての画像形成装置400によれば、CPU2aとは独立してメモリ専用のバスブリッジ201により画像データの入出力制御を行うことができるので、スキャナ部42が画像メモリ3に画像データを書き込んでいるときに、同時に、スキャナ部42からの画像データに基づいてプリンタ部42で、原稿の画像を複写することができる。従って、CPU2aからバスブリッジ201へ制御命令D1が与えられた後は、CPU2aに通信処理などの他のデータ処理を実行させることができる。
【0123】
この例ではCPU25に通信手段38が接続され、スキャナ部42による原稿の画像データが通信回線39に送信され、又は通信回線39を使用して送られてくる原稿の画像データが受信される。この通信手段38によって受信された原稿の画像データをプリンタ部52により再生出力するようにしてもよい。
【0124】
なお、CPU2aとCPU25とは同一のものであっても構わない。CPU2aとCPU25が同一の場合には、バスブリッジ31とバスブリッジ32とを同一構成とすることができる。ROM2bなどに設備するアドレスマップ内容が簡略化する。
【0125】
本実施の形態では、スキャナ部42及びプリンタ部52などによって画像メモリ3を共用できるので、従来方式のようなページメモリが不要となると共に、画像メモリ3の使用効率が向上する。
【0126】
また、従来方式のような1つのデータバスをA、Bの2つに分けることができたので、CPU2aとの影響を懸念することなく、DMACを導入することができる。従って、バスブリッジ31〜34内のインタフェース制御部18やバスブリッジ201内のインタフェース制御部28にDMAC機能を備えることにより、画像データなどの転送速度の高速化が図れる。
【0127】
【発明の効果】
以上説明したように、本発明のデータ処理装置によれば、第1のデータバスと第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段を備えこのインタフェース手段は、第1のデータバス及び第2のデータバスを時系列的に入出力制御するためのFIFOメモリを有するものである。
【0128】
この構成によって、1本のデータバスを2つに分断したデータ転送制御をすることができるので、例えば、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータの書き込み読み出しを行っているときに、第2のデータバスとデータ用のメモリとの間におけるデータの書き込み読み出しを停止させたり、データ用のメモリから読み出された同じデータを第2のデータバスに転送したりすることができる。
【0129】
従って、第1のデータバスに接続された外部機器が、データ用のメモリとの間でデータを書き込み読み出しを行っているときは、第2のデータバスを他の外部機器に開放することができる。これと共に、第1のデータバスに接続された外部機器と、第2のデータバスに接続された外部機器とでデータ用のメモリを時系列的若しくは同時に共用することができる。しかも、上位の制御装置などに過度な制御負担などをかけないようなデータ処理システムを構築することができる
【0132】
この発明は複写機やプリンタ、ファクシミリなどの画像処理装置に適用して極めて好適である。
【図面の簡単な説明】
【図1】本発明の実施の形態としてのインタフェース装置100の構成例を示すブロック図である。
【図2】インタフェース装置100の動作例を示す構成図である。
【図3】本発明の実施の形態としての3方向性のインタフェース装置200の構成例を示すブロック図である。
【図4】インタフェース装置200の動作例を示す構成図である。
【図5】本発明の実施の形態としてのデータ処理装置300の構成例を示すブロック図である。
【図6】本発明の実施の形態としての画像形成装置400の構成例を示すブロック図である。
【図7】従来方式の画像形成装置500の構成例を示すブロック図である。
【符号の説明】
1 CPUバス
2 システム制御手段
3 画像メモリ
5 画像取得手段
6 画像再生手段
10 主制御装置
13,16 インタフェース部
17 制御用のメモリ
17a コマンドレジスタ
17b ステータスレジスタ
20 副制御装置
21 内部バスセレクタ
24 メモリ制御手段
28 インタフェース制御部
30 主記憶装置
31〜34,201 バスブリッジ
60,70 バス調停手段
100,200 インタフェース装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus and a system construction method suitable for application to an image processing apparatus such as a copying machine, a printer, and a facsimile. Specifically, a three-way interface unit is connected to a data memory and a data bus divided into two, and an external device connected to one data bus transfers data to and from the data memory. When writing / reading, the other data bus can be opened to other external devices, and the memory for data can be shared in time series or simultaneously by the external devices connected to each data bus. It is a thing.
[0002]
[Prior art]
In recent years, digital copying machines that perform image formation based on image data acquired from a document image have been used. In this type of copying machine, image information of an original is read by a scanner or the like, and the image information of the original is temporarily stored in an image memory. The image information stored in the image memory is subjected to image processing such as image reduction, enlargement, and rotation in response to a user request. As a result, the image of the original can be copied onto a predetermined transfer sheet based on the image data subjected to the image processing.
[0003]
By the way, in this type of digital copying machine, a large-capacity memory is provided to temporarily store image information of a document, and a technique for efficiently transferring the image information is required.
[0004]
FIG. 7 is a block diagram showing a configuration example of a conventional image forming apparatus 500 using this type of image memory. The image forming apparatus 500 has a CPU bus 1 shown in FIG. Connected to the CPU bus 1 are a system control means 2, an image memory 3, a direct memory access controller (hereinafter simply referred to as DMAC) 4, an image acquisition means 5 and an image reproduction means 6.
[0005]
The system control means 2 connected to the CPU bus 1 has a CPU 2a, a ROM 2b, a RAM 2c, and an operation unit 2d. The CPU 2a is an IC that performs overall control of the image forming apparatus 500, and the control program is stored in the ROM 2b. The RAM 2c is a memory that is temporarily used when the CPU 2a performs calculations, and is necessary for execution of the control program.
[0006]
For example, when a control command such as a start instruction is output to the image acquisition unit 5 or the image playback unit 6, the control command is written in the RAM 2c by the CPU 2a, and then there is a notification of completion of writing of image data. It is verified whether it is for a control command.
[0007]
The operation unit 2d is necessary for an interface between the user and the apparatus, and the CPU 2a executes predetermined data processing according to this instruction. The image memory 3 connected to the CPU bus 1 is a relatively large memory having a capacity for a plurality of pages, and the code data is also accumulated by performing an encoding process (not shown). The DMAC 4 performs data transfer between devices without the intervention of the CPU 2a, and can perform data transfer at a higher speed than the CPU 2a.
[0008]
The image acquisition means 5 connected to the CPU bus 1 includes a scanner interface 5a, a scanner unit 5b, and a page memory 5c. The scanner interface 5a performs drive control of the scanner unit 5b and image data (DATA) writing / reading control in the page memory 5c. The page memory 5c is a memory for storing one page of image data from the scanner unit 5b, and is necessary for matching the data transfer speed between the scanner unit 5b and the CPU 2a and improving the use efficiency of the CPU bus 1.
[0009]
Further, the image reproducing means 6 connected to the CPU bus 1 has a printer interface 6a, a page memory 6b, and a printer unit 6c. The printer interface 6a performs drive control of the printer unit 6c and image data write / read control in the page memory 6b. The page memory 6b is a memory for storing data to be written to the printer unit 6c for one page, and is necessary for matching the data transfer speed between the printer 6c and the CPU 2a and improving the use efficiency of the CPU bus 1.
[0010]
Next, the operation of the image forming apparatus 500 will be described. First, a copy operation for a single document will be described. First, when a one-page copy instruction is received from the operation unit 2d, the CPU 2a instructs the image acquisition unit 5 to drive the scanner. In response to this instruction, the scanner interface 5a drives the scanner unit 5b, acquires image data of the original from the scanner unit 5b, and sequentially stores the image data in the page memory 5c. When the image data for one page is stored in the page memory 5c, the scanner interface 5a notifies the CPU 2a of the end of reading the image data.
[0011]
Upon receiving this notification, the CPU 2a instructs the DMAC 4 to transfer image data from the scanner interface 5a to the printer interface 6a. Then, one page of image data is transferred from the scanner page memory 5c to the printer page memory 6b. When the transfer of the image data for one page is completed, the DMAC 4 notifies the CPU 2a of the transfer end. Upon receiving this notification, the CPU 2a instructs the image reproducing means 6 to drive the printer. Upon receiving this instruction, the printer interface 6a reads the image data from the page memory 6b and outputs the image data to the printer unit 6c. The printer unit 6c can copy an image of a document on transfer paper or the like based on one page of image data.
[0012]
Next, the operation when a plurality of copies of a plurality of documents are copied will be described. First, the CPU 2a receiving the instruction from the operation unit 2d instructs the image acquisition means 5 to drive the scanner. In response to this instruction, when one page of image data acquired by the scanner unit 5b is stored in the page memory 5c, the scanner interface 5a stores the image data for one page from the scanner interface 5a to the CPU 2a. The end of reading is notified. Upon receiving this notification, the CPU 2a instructs the DMAC 4 to transfer data, so that the image data stored in the page memory 5c is transferred to the image memory 3.
[0013]
This series of operations is repeated for the number of documents, and all image data is stored in the image memory 3. Thereafter, the stored image data is transferred to the printer interface 6a in accordance with an instruction from the CPU 2a. At this time, when image data for one page is stored from the image memory 3 to the printer page memory 6d by the DMAC 4, the CPU 2a instructs the printer interface 6a to start the printer.
[0014]
When one page of image data is output to the printer unit 6c by the printer interface 6a receiving this instruction, the CPU 2a is notified of the end of printing. Upon receiving this notification, the CPU 2a instructs the DMAC 4 to transfer the image data of the next page, and the printing is started.
[0015]
Since this series of operations is repeated for the number of documents, the first copy is completed. In this example, since the CPU 2a is instructed to copy a plurality of copies, the DMAC 4 is instructed to transfer the image data of the first page from the image memory 3 to the printer interface 6a again. Thereafter, a plurality of copies can be made by repeating the same operation for the set number of copies.
[0016]
[Problems to be solved by the invention]
By the way, according to the conventional image forming apparatus 10, there is a demand for a data processing apparatus in which a printer and a facsimile function are combined with a copying function by adding a communication means to this apparatus. In response to this request, the image memory 3 must be used efficiently in order to perform so-called memory communication or broadcast communication. However, in the conventional system, the image memory 3, DMCA 4, image acquisition means 5 and image reproduction means 6 are connected to one CPU bus 1, and page memories 5 c and 6 b are connected to each means 5 and 6. Yes.
[0017]
Accordingly, since the scanner and printer page memories 5c and 6b are not used except during the operation of the scanner unit 5c and the printer unit 6c, there is a problem in system construction that the memory use efficiency is deteriorated. Incidentally, the page memories 5c and 6b have a capacity capable of recording image data of the largest document size (for example, A3 size). As a result, when a document smaller than the A3 size is copied, a memory area that is not used is generated, and the memory use efficiency is lowered.
[0018]
Also, when a plurality of originals are copied, that is, when a plurality of copies are simultaneously made while printing out the original of the first page after reading one page of image data, the DMAC 4 is used for the scanner. Image data must be transferred from the page memory 5c to both the image memory 3 and the printer page memory 6b. Therefore, the image data must be transferred twice, which is about twice the data transfer time for a single document.
[0019]
Furthermore, since the transfer speed of the DMAC 4 connected to the CPU bus 1 changes depending on the bus occupancy rate of the CPU 2a, the image data of the next page may be overwritten by the DMAC 4 on the image data of the previous page. This is because the image data of the next page is transferred before all the image data for one page is transferred from the page memory 5a to the image memory 3 when the transfer speed of the DMAC 4 decreases due to the change in the bus occupation ratio of the CPU 2a. Occurs when the loading of starts.
[0020]
Similarly, if the printer is instructed before the image data for one page is stored in the page memory 6b, an underflow of the image data may occur and the upper part of the document may not be copied. In order to avoid such a state, if the CPU bus 1 is exclusively used by the DMAC (hereinafter also referred to as an external device) 4 in preference to the CPU 2a, the processing speed of the CPU 2a is reduced, or the CPU bus (hereinafter also referred to as the data bus). There is a problem that it is difficult to cause the CPU (hereinafter also referred to as an external device) 2a to execute a fax process using the 1 or image memory (hereinafter also referred to as a data memory) 3 or the like.
[0021]
Therefore, the present invention solves the above-described problem, and even when one external device occupies a data bus, the other external device uses the other data bus to execute other data processing. It is an object of the present invention to provide a data processing apparatus and a system construction method that enable data memory to be shared in time series by external devices connected to each data bus.
[0022]
[Means for Solving the Problems]
  In order to solve the above problems, a data processing device according to the present invention provides:imageMemory,A first data bus, a second data bus, and the imageMemory andSaidRead / write data to / from the first data busShi,The imageMemory andSaidRead / write data to / from the second data busShi,as well as,SaidWith the first data busSaidA three-way interface means for transferring data to and from the second data bus,SaidThe three-way interface meansA bidirectional first interface unit connected to the first data bus for inputting / outputting data and a bidirectional second interface unit connected to the second data bus for inputting / outputting data An internal data bus connected between the first and second interface units, a branch data bus branched from the internal data bus, and data between the image memory connected to the branch data bus Memory control means for controlling writing / reading of data, and a first FIFO memory provided between the first interface section and the memory control means for temporarily storing data input from the first interface section; , Provided between the memory control means and the second interface unit, for temporarily storing data input from the second interface unit. FIFO memory, a third FIFO memory for temporarily storing data to be written controlled by the memory control means, a fourth FIFO memory for temporarily storing data to be read controlled by the memory control means, and the first A control memory for temporarily recording a control command for input / output control of the interface unit, the second interface unit, the internal data bus, and the memory control means, and the control command recorded in the control memory Based on the first, second, third and fourth FIFO memories, and controls the image memory toA first data bus andSaidInput / output control of the second data bus in time seriesBecomeIt is characterized by that.
[0023]
According to the data processing device of the present invention, data transfer control can be performed by dividing one data bus into two. For example, an external device connected to the first data bus is connected to a data memory. Data read / write between the second data bus and the data memory, the same data read from the data memory is stopped. Or transfer to the second data bus.
[0024]
  Therefore, when the external device connected to the first data bus is writing data to and reading data from the data memory, the second data bus can be opened to other external devices. . In addition, the data memory can be shared in time series or simultaneously between the external device connected to the first data bus and the external device connected to the second data bus.In addition, it is possible to construct a data processing system that does not place an excessive control burden on the host control device.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
  Hereinafter, a data processing device as an embodiment of the present invention will be described with reference to the drawings.In placeExplain about it.
[0028]
(1) Configuration example of interface device
FIG. 1 is a diagram showing a configuration example of an interface apparatus applied to the data processing apparatus as this embodiment.
[0029]
In this embodiment, a three-way interface means is connected to a data memory and a data bus divided into two, and an external device connected to one data bus is connected to the data memory. When data is being read and written, the other data bus can be opened to other external devices, and the memory for data can be opened in time series or simultaneously by the external device connected to each data bus. It can be shared.
[0030]
  The interface device 100 is used by being connected between the first data bus 11 and the second data bus 12 shown in FIG. A bidirectional first interface unit 13 is connected to the data bus 11, and data is input to and output from the data bus 11. The output stage to the inside of the interface unit 13 is the first for data.FThe IFO memory 14a is connected, and data input from the data bus 11 is temporarily recorded. The FIFO memory 14a is necessary for matching the data transfer rate between the two data buses. The data from the FIFO memory 14a is output first from the first input.
[0031]
A second interface unit 16 is connected to the output stage of the FIFO memory 14a via an internal data bus 15a. A data bus 12 is connected to an output stage to the outside of the interface unit 16, and data from the data bus 11 is output to the data bus 12.
[0032]
  Further, the output stage to the inside of the interface unit 16 has a second for data.FThe IFO memory 14b is connected, and data input from the data bus 12 is temporarily recorded for the reason described above. This data is output first from the first input. An interface unit 13 is connected to the output stage of the FIFO memory 14b via an internal data bus 15b. A data bus 11 is connected to an output stage to the outside of the interface unit 13, and data from the data bus 12 is output to the data bus 11.
[0033]
Further, a control memory 17 is connected between the two interface units 13 and 16 described above. For example, when a data processing system including the interface device 100 is constructed, control from a control device or the like at the higher level of the system is performed. Instruction D1 is temporarily recorded. In this example, the control memory 17 has a command register 17a and a status register 17b. The control instruction D1 is recorded in the command register 17a.
[0034]
As a method for accessing the interface device 100, a method using a uniquely selected chip select signal, a method using an address decoding method, or the like can be considered. In the address decoding method, an address Add mapped in advance in a ROM or the like is driven on the data bus 11 by a control device or the like when accessed. This is a method of accepting access by decoding the address in the interface device 100 by setting the address register in the interface device 100. In the following description, the latter case is assumed.
[0035]
For example, the interface control unit 18 is provided in the interface unit 13 or the interface unit 16, and the data write / read control of the FIFO memories 14a and 14b is performed based on the control instruction D1 recorded in the command register 17a. The inputs and outputs of the units 13 and 16 and the internal data buses 15a and 15b are controlled.
[0036]
The interface control unit 18 is provided with an address register 18a, a decoder 18b, a timing generation circuit 18c and the like shown in FIG. An address addressed to the interface device 100 is set in the address register 18a when accessed. Whether the access is to the interface apparatus 100 is determined by the address being decoded by the decoder 18b. The decoder 18b is also used for decoding the control instruction D1. Based on the decoding result of the control instruction D1, the timing generation circuit 18c generates switch control signals S1 to S4.
[0037]
The switch control signal S1 is used for bus switching of the interface unit 13, and the switch control signal S2 is used for bus switching of the interface unit 16. The memory control signal S3 is used for writing / reading of the FIFO memory 14a, and the memory control signal S4 is used for writing / reading of the FIFO memory 14b.
[0038]
Control notification information is temporarily recorded in the status register 17b. This control notification information is like the end status data D2 indicating the data transfer result executed with respect to the control command D1, and the control device or the like of the system receives the end status data D2 so that the interface is first connected. It can be determined whether or not the data processing for the control instruction D1 given to the device 100 is completed.
[0039]
Next, the operation of the interface device 100 will be described with reference to FIG. In this example, when data is transferred between the data buses 11 and 12, the control instruction D1 is written to the command register 17a.
[0040]
For example, when data is transferred from the data bus 11 to the data bus 12, a control instruction D1 to that effect is written to the command register 17a. When the control command D1 is received by the interface control unit 18, the control command D1 is decoded by the interface control unit 18, and the data bus 11 is transferred to the internal data in the interface unit 13 based on the switch control signal S1 as a result of the decoding. The interface unit 16 is connected to the bus 15a, and the internal data bus 15a is connected to the data bus 12 based on the switch control signal S2.
[0041]
The data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. This is because the data transfer speed on the data bus 11 and the data transfer speed on the data bus 12 are matched. The data first recorded in the FIFO memory 14a is read based on the memory control signal S3 in order, and is output to the data bus 12 through the interface unit 16.
[0042]
When data is transferred from the data bus 12 to the data bus 11, a control instruction D1 to that effect is written to the command register 17a. When the control command D1 is received by the interface control unit 18, the data bus 11 is connected to the internal data bus 15b in the interface unit 13 based on the switch control signal S1 decoded by the interface control unit 18, and the interface unit 16 The internal data bus 15b is connected to the data bus 12 based on the switch control signal S2.
[0043]
The data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4, and the data transfer rates of the data buses 11 and 12 are matched. The data recorded first in the FIFO memory 14b is read based on the memory control signal S4 in order, and is output to the data bus 11 through the interface unit 13.
[0044]
When this data transfer ends, the end status data D2 is written in the status register 17b. The status register 17b is not only written with the end status data D2 of the interface device 100 itself, but also a data processing system is constructed by arranging a large number of this type of interface device 100 at nodes and nodes that divide the data bus. In this case, the end status data D2 from the other interface device 100 is also recorded.
[0045]
In this way, by confirming the recorded contents of the status register 17b of the interface device 100 arranged at the closest position to the control device of the system, the control given to the interface device 100 close to the terminal device in the data processing system. It is possible to easily determine whether the data processing for the instruction D1 is completed.
[0046]
As described above, according to the interface device 100 according to the present embodiment, after the control instruction D1 is once written in the command register 17a, the interface units 13 and 16 and the internal data bus 15a are based on the control instruction D1. 15b input / output control and FIFO memory 14a, 14b write / read control, so that data can be transferred between the data buses 11 and 12 independently of the control device of the host system connected to the interface device 100. can do.
[0047]
Therefore, after writing the control command D1, the control device itself does not have to manage the input / output of the interface device 100, so the data processing burden on the control device can be reduced.
[0048]
In this embodiment, the end status data D2 indicating the data transfer result executed with respect to the control instruction D1 is temporarily recorded in the status register 17b. Therefore, by reading the data D2 from the command register 17b, the control instruction D1 It is possible to easily confirm the data transfer result executed for. Therefore, data processing by handshake can be performed between the control device and the interface device 100, and data processing by handshaking can be performed between the plurality of interface devices 100.
[0049]
Next, the three-way interface device 200 according to this embodiment will be described. FIG. 3 is a block diagram showing a configuration example of the three-way interface device 200 according to the present embodiment.
[0050]
In this embodiment, a branch data bus branched from the internal data buses 15a and 15b is connected, a memory control means is connected to the branch data bus, and data input / output by the interface units 13 and 16 is based on the control instruction D1. Thus, read / write control is performed. In addition, since the same code | symbol and the same name as the interface apparatus 100 have the same function, the description is abbreviate | omitted.
[0051]
The three-way interface device 200 is provided with an internal bus selector 21 shown in FIG. The internal bus selector 21 has a switch circuit 21a for selecting two circuits 1 and single switch circuits 21b and 21c shown in FIG. Of course, these switch circuits 21a to 21c may use transistor circuits integrated by field effect transistors or bipolar transistors.
[0052]
  The point a of the switch circuit 21a is connected to the internal data bus 15a of the output stage of the FIFO memory 14a, and the point b is connected to the internal data bus 15b of the output stage of the FIFO memory 14b. The neutral point n of the switch circuit 21a is connected to a memory bus 22a for writing as a branch data bus. The memory bus 22a has a third data bus.FConnected to the IFO memory 23a, the write data branched from the internal data bus 15a or 15b is temporarily stored. The memory control means 24 is connected to the output stage of the FIFO memory 23a, and data read / write control from the internal data bus 15a or 15b is performed. A data memory such as the image memory 3 is connected to the output stage of the memory control means 24 to the outside.
[0053]
  Also, the output stage to the inside of the memory control means 244thA FIFO memory 23b is connected to temporarily store read data for output to the internal data bus 15a or 15b. A memory bus 22b for reading is connected to the output stage of the FIFO memory 23b. The memory bus 22b is connected to a contact n of the switch circuits 21b and 21c. The point a of the switch circuit 21b is connected to the input stage of the interface unit 16 through the internal data bus 15a, and the point b of the switch circuit 21c is connected to the input stage of the interface unit 13 through the internal data bus 15b.
[0054]
An interface control unit 28 is provided in place of the interface control unit 18 in the interface unit 13 or the interface unit 16 described above. The interface control unit 28 includes an address register 28a, a decoder 28b, and a timing generation circuit 28c, and these functions are substantially the same as those of the address register 18a, the decoder 18b, and the timing generation circuit 18c of the interface control unit 18. In the interface control unit 28, the data write / read control of the FIFO memories 14a, 14b and 23a, 23b, the input of the interface units 13, 16, and the internal data buses 15a, 15b based on the control instruction D1 recorded in the command register 17a. Output control, switch control of the switch circuits 21a to 21c, and the like are performed.
[0055]
The interface control unit 28 decodes the control command D1 and generates the switch control signals S1 to S4 in the same manner as the interface control unit 18, and also uses the timing generation circuit 28c to switch the switch control signal used for switching the bus of the switch circuit 21a. S5, a switch control signal S6 used for switching the bus of the switch circuit 21b, a memory control signal S7 used for writing / reading of the FIFO memory 23a, and a memory control signal S8 used for writing / reading of the FIFO memory 23b A switch control signal S9 used for short-circuiting the bus of the switch circuit 21c is generated.
[0056]
Next, the operation of the interface apparatus 200 will be described with reference to FIG. In this example, the control instruction D1 relating to the following nine data transfer events is written in the command register 17a. This data transfer event is
(1) When transferring data from the data bus 11 to the data bus 12 (data through),
(2) When writing data from the data bus 11 to the image memory 3,
(3) When writing the data from the data bus 11 to the image memory 3 and simultaneously transferring the same data to the data bus 12,
(4) When transferring data from the data bus 12 to the data bus 11 (data through),
(5) When writing data from the data bus 12 to the image memory 3,
(6) When writing the data from the data bus 12 to the image memory 3 and transferring the same data to the data bus 11 at the same time,
(7) When reading data from the image memory 3 to the data bus 11,
(8) When reading data from the image memory 3 to the data bus 12, and
(9) This is a case where the same data is read from the image memory 3 to the data bus 11 and the data bus 12.
[0057]
For example, when the control instruction D1 related to the data transfer event (1) is written in the command register 17a, when the control instruction D1 is received by the interface control unit 28, the control instruction D1 is decoded by the interface control unit 28. The data bus 11 is connected to the internal data bus 15a in the interface unit 13 based on the switch control signal S1 that is the decoding result, and the internal data bus 15a is connected to the data bus 12 in the interface unit 16 based on the switch control signal S2. Connected.
[0058]
In the switch circuit 21a, the memory bus 22a is disconnected from the internal data bus 15a based on the switch control signal S5. Similarly, in the switch circuit 21a, the memory bus 22b is disconnected from the internal data bus 15b based on the switch control signal S6. The data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The data first recorded in the FIFO memory 14a is read based on the memory control signal S3 in order, and is output to the data bus 12 through the interface unit 16. As a result, data can be transferred from the data bus 11 to the data bus 12 (data through).
[0059]
When the control instruction D1 related to the data transfer event (2) is written to the command register 17a, the data bus 11 is connected to the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.
[0060]
The data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The first data recorded in the FIFO memory 14a is sequentially recorded in the FIFO memory 23a. The data recorded in the FIFO memory 23a is read based on the memory control signal S7 and written into the image memory 3.
[0061]
At this time, the memory bus 22b remains disconnected from the internal data bus 15b. In this case, the data bus 12 and the internal data buses 15a and 15b may be connected in any way. Thereby, data can be written from the data bus 11 to the image memory 3.
[0062]
Further, when the control instruction D1 related to the data transfer event (3) is written to the command register 17a, the data bus 11 is connected to the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28. The internal data bus 15a is connected to the data bus 12 based on the switch control signal S2. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.
[0063]
The data input from the data bus 11 is temporarily recorded in the FIFO memory 14a based on the memory control signal S3. The first data recorded in the FIFO memory 14a is sequentially recorded in the FIFO memory 23a. At the same time, the data recorded in the FIFO memory 14 a is output to the data bus 12. The data recorded in the FIFO memory 23a is read based on the memory control signal S7 and written into the image memory 3. Thus, the same data can be transferred to the data bus 12 at the same time as the data is written from the data bus 11 to the image memory 3.
[0064]
When the control instruction D1 related to the data transfer event (4) is written to the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28. The internal data bus 15b is connected to the data bus 12 based on the switch control signal S2.
[0065]
In the switch circuit 21a, the memory bus 22a is disconnected from the internal data bus 15a based on the switch control signal S5. Similarly, in the switch circuit 21a, the memory bus 22b is disconnected from the internal data bus 15b based on the switch control signal S6. The data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The data recorded first in the FIFO memory 14b are read out in order based on the memory control signal S4, passed through the interface unit 13, and output to the data bus 11. As a result, data can be transferred from the data bus 12 to the data bus 11 (data through).
[0066]
Next, when the control instruction D1 related to the data transfer event (5) is written to the command register 17a, the data bus 12 is connected to the internal data bus 15b based on the switch control signal S2 decoded by the interface control unit 28. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.
[0067]
The data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The first data recorded in the FIFO memory 14b is recorded in the FIFO memory 23a in order. The data recorded in the FIFO memory 23a is read based on the memory control signal S7 and written into the image memory 3.
[0068]
At this time, the memory bus 22b remains disconnected from the internal data bus 15b. In this case, the data bus 11 and the internal data buses 15a and 15b may be connected in any way. Thereby, data can be written from the data bus 12 to the image memory 3.
[0069]
When the control instruction D1 related to the data transfer event (6) is written to the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and the switch The internal data bus 15b is connected to the data bus 12 based on the control signal S2. In the switch circuit 21a, the memory bus 22a and the internal data bus 15a are connected based on the switch control signal S5.
[0070]
The data input from the data bus 12 is temporarily recorded in the FIFO memory 14b based on the memory control signal S4. The first data recorded in the FIFO memory 14b is recorded in the FIFO memory 23a in order. At the same time, the data recorded in the FIFO memory 14 b is output to the data bus 11. The data recorded in the FIFO memory 23a is read based on the memory control signal S7 and written into the image memory 3. Thereby, the same data can be transferred to the data bus 11 at the same time as the data is written from the data bus 12 to the image memory 3.
[0071]
When the control instruction D1 related to the data transfer event (7) is written to the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and the switch In the circuit 21b, the memory bus 22b and the internal data bus 15b are connected based on the switch control signal S6. In this example, the switch circuit 21c is turned on by the switch control signal S9.
[0072]
The data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data first recorded in the FIFO memory 23b is output to the data bus 11 through the interface unit 13 in order. At this time, the memory bus 22a is disconnected from the internal data bus 15b. In this case, the internal data bus 15b is disconnected from the data bus 12 based on the switch control signal S2. As a result, data can be read from the image memory 3 to the data bus 11.
[0073]
When the control instruction D1 related to the data transfer event (8) is written to the command register 17a, the data bus 11 is disconnected from the internal data bus 15a based on the switch control signal S1 decoded by the interface control unit 28, and the switch In the circuit 21b, the memory bus 22b and the internal data bus 15a are connected based on the switch control signal S6.
[0074]
The data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data first recorded in the FIFO memory 23b is output to the data bus 12 through the interface unit 16 in order. At this time, the memory bus 22a is disconnected from the internal data bus 15b. In this case, the internal data bus 15a is disconnected from the data bus 11 based on the switch control signal S1. Thereby, data can be read from the image memory 3 to the data bus 12. When the control command D1 related to the data transfer events (1) to (6) and (8) is executed, the switch circuit 21c is kept off by the switch control signal S9.
[0075]
When the control instruction D1 related to {circle around (9)} is written to the command register 17a, the data bus 11 is connected to the internal data bus 15b based on the switch control signal S1 decoded by the interface control unit 28, and switch control is performed. Based on the signal S2, the data bus 12 is connected to the internal data bus 15a. Moreover, in the switch circuit 21b, the memory bus 22b and the internal data bus 15a are connected based on the switch control signal S6, the switch circuit 21c is turned on based on the switch control signal S9, and the internal data buses 15a and 15b are short-circuited. .
[0076]
The data read from the image memory 3 is temporarily recorded in the FIFO memory 23b based on the memory control signal S8. The data first recorded in the FIFO memory 23b is sequentially output to the data bus 11 through the interface unit 13 and output to the data bus 12 through the interface unit 16. At this time, the memory bus 22a is disconnected from the internal data buses 15a and 15b. Thereby, the same data can be read from the image memory 3 to the data bus 11 and the data bus 12. When any one of these data transfer events {circle over (1)} to {circle over (9)} is completed, end status data D2 is written in the status register 17b to notify the data transfer result.
[0077]
Thus, according to the three-way interface device 200 as the present embodiment, after the control instruction D1 is written from the system control device to the command register 17a, the data bus 11 is independent of the control device. Data can be written to the image memory 3 or the like, or data can be read from the image memory 3 onto the data bus 12.
[0078]
Accordingly, when a data processing system such as an office computer system or an image forming apparatus is constructed, one data bus is divided into two and data is transferred between the two data buses 11 and 12. The bidirectional interface device 100 according to this embodiment is designed to be disposed between the two data buses 11 and 12.
[0079]
In addition, data can be written and read between only the image memory 3 and the data bus 11, data can be written and read between the image memory 3 and the data bus 12, and the data bus 11 , 12, the three-way interface device 200 according to the present embodiment is arranged between the image memory 3 and the data buses 11 and 12. A command register 17a may be provided in the interface devices 100 and 200, and the control command D1 may be written in the command register 17a to control input / output of the interface devices 100 and 200.
[0080]
Next, a data processing device using the interface devices 100 and 200 will be described.
[0081]
(2) Configuration example of data processing device
FIG. 5 is a block diagram showing a configuration example of the data processing apparatus 300 as the present embodiment.
[0082]
In this embodiment, a terminal device connected to one data bus B by connecting a three-way interface device 200 between the main storage device 30 shown in FIG. When 40 is writing / reading data to / from the main storage device 30, the other data bus A can be opened to the main control device 10 and connected to each data bus A or B. The main storage device 30 can be shared in time series or simultaneously by the main control device 10, the sub control device 20, the terminal devices 40, 50, and the like.
[0083]
The data processing device 300 is provided with a main storage device 30 shown in FIG. 5 as a data memory. The main storage device 30 is connected to the above-described three-way interface device 200, and data is transferred between the main storage device 30 and the data bus A by a control instruction D1 written in the internal command register 17a. Writing and reading are performed, data is written and read between the main storage device 30 and the data bus B, and data transfer is performed between the two data buses A and B.
[0084]
In this example, the data bus A is provided with two bidirectional interface devices 101 and 102. One interface device 101 is connected to the data bus A and is connected to the other interface device 102 and the three-way interface device 200, and is also connected to the main control device 10 as an external device through the CPU bus 1a.
[0085]
Similarly, the other interface device 102 is connected to the data bus A and connected to the three-way interface device 200, and is also connected to the sub-control device 20 as an external device through the CPU bus 1b. Further, a bus arbitration unit 60 as a first arbitration unit is connected to the data bus A, and arbitration of the bus use right of the interface devices 101 and 102 is performed so that data collision does not occur.
[0086]
The data bus B is also provided with two bidirectional interface devices 103 and 104. One interface device 103 is connected to the data bus B, is connected to the other interface device 104 and the three-way interface device 200, and is connected to a terminal device 40 as an external device through a terminal bus 40a.
[0087]
Similarly, the other interface device 104 is connected to the data bus B to be connected to the three-way interface device 200, and is connected to the terminal device 50 as an external device through the terminal bus 50a. Further, a bus arbitration unit 70 as a second arbitration unit is connected to the data bus B, and arbitration of the bus use right of the interface devices 103 and 104 is performed.
[0088]
As the above-described interface devices 101 to 104, the bidirectional interface device 100 according to the present embodiment is used, and data transfer control is performed by a control instruction D1 written in a command register 17a provided therein. . In this example, at least when data transfer is performed between the data bus A and the main storage device 30, data transfer is performed between the main storage device 30 and the data bus B, or data is transferred between the data buses A and B. When the transfer is performed, the control instruction D1 is written to the command register 17a in the interface device 200. The control command D1 is written by the main control device 10 or the sub control device 20.
[0089]
Next, the operation of the data processing device 300 will be described. For example, description will be made assuming that data is written from the terminal device 40 to the main storage device 30. In this case, the control command D1 related to the above-described data transfer event (5) is written to the command register 17a of the interface device 200.
[0090]
Prior to this, first, the control instruction D1 related to the data transfer event (1) is written from the main control device 10 to a command register 17a (not shown) in the interface device 101 and a command register 17a (not shown) in the interface device 200. . Next, the control command D1 related to the data transfer event (4) is written from the main control device 10 to the interface device 103, and then the control command D1 related to the data transfer event (5) is written to the interface device 200.
[0091]
When each control command D1 is decoded by the interface devices 101, 200 and 103, the data bus B and the terminal bus 40a are connected in the interface device 103, and the data bus B and the memory bus 30a are connected in the interface device 200. Connected. The operation inside each of the interface devices 101, 200 and 103 is as described above. For example, data can be written from the terminal device 40 to the main storage device 30 via the data bus B by the connection operation of the interface devices 103 and 200.
[0092]
In this example, when data is written from the terminal device 40 to the main storage device 30 and when data is read from the main storage device 30 to the terminal device 50, the data bus A is transmitted by the three-way interface device 200. Is disconnected from the data bus B, the data bus A can be opened to the main controller 10 and the sub controller 20. As a result, the main control device 10 connected to the data bus A can exchange other data with the sub control device 20 through the interface devices 101 and 102.
[0093]
Further, the same data read from the main storage device 30 based on the control command D1 related to the data transfer event {circle over (9)} described above can be transferred to the main control device 10, the sub control device 20, the terminal device 50, and the like. it can. Accordingly, the main storage device 30 can be shared in time series or simultaneously by the main control device 10 and the sub control device 20 connected to the data bus A and the terminal devices 40 and 50 connected to the data bus B. .
[0094]
As described above, according to the data processing device 300 as the present embodiment, the two data buses A and B are input / output controlled in time series by the bidirectional interface devices 101 to 104 and the three-way interface device 200. Therefore, data transfer control can be performed by dividing one CPU bus 1 into two as in the conventional image forming apparatus 500.
[0095]
Next, an image forming apparatus to which the data processing apparatus 300 is applied will be described.
[0096]
(3) Application examples of data processing equipment
FIG. 6 is a block diagram illustrating a configuration example of an image forming apparatus 400 according to the present embodiment. In this embodiment, the memory bus bridge 201 is connected to the image memory 3 shown in FIG. 7 and the two data buses A and B, and the control instruction D1 is given to the bus bridge 201. The control unit D1 controls the scanner unit 42 and the printer unit 52 in time series independently of the CPU 2a so that the CPU 2a can execute other data processing during this time.
[0097]
The image forming apparatus 400 is provided with a bus bridge 201 shown in FIG. 6 as a three-way interface unit. The bus bridge 201 uses the three-way interface device 200 according to the present embodiment.
[0098]
An image memory 3 is connected to the bus bridge 201, and image data such as a document is temporarily stored. In this example, image data is written and read between the image memory 3 and the data bus A by the control instruction D1 written in the command register 17a in the bus bridge 201, and the image memory 3 and the data bus B The image data is written and read between the two data buses, and the image data is transferred between the two data buses A and B.
[0099]
In this example, the data bus A is provided with two bidirectional bus bridges 31 and 32. One bus bridge 31 is connected to the data bus A, is connected to the other bus bridge 32 and the memory bus bridge 201, and is also connected to the CPU 2a through the CPU bus 1a. As in the conventional method, the CPU 2a is connected to the ROM 2b, the RAM 2c, and the operation unit 2d, and performs overall control of the image forming apparatus 400. Description of these functions is omitted (see FIG. 7).
[0100]
The other bus bridge 32 is connected to the data bus A and connected to the bus bridge 201, and is also connected to the CPU 25 for controlling the communication modem and the like through the CPU bus 1b. The ROM 26 and the RAM 27 connected to the CPU bus 1b support the CPU 25. Further, a bus arbiter 61 as a first arbitration unit is connected to the data bus A, and arbitration of the bus use right of the bus bridge 31 and the bus bridge 32 is performed so that data collision does not occur.
[0101]
The data bus B is also provided with two bidirectional bus bridges 33 and 34. One bus bridge 33 is connected to the data bus B and is connected to the other bus bridge 34 and the bus bridge 201, and is also connected to a scanner unit 42 as an image acquisition unit through a scanner bus 41. The scanner unit 41 acquires an image of a document based on input control of the bus bridge 33 and outputs image data of the document.
[0102]
Similarly, the other bus bridge 34 is connected to the data bus B and connected to the bus bridge 201, and is also connected to a printer section 52 as an image reproducing means through a printer bus 51. The printer unit 52 is supplied with image data based on the output control of the bus bridge 34, and the original image is reproduced based on the image data. Further, a bus arbiter 71 as second arbitration means is connected to the data bus B, and arbitration of the bus use right of the bus bridges 33 and 34 is performed.
[0103]
The above-described bus bridges 101 to 104 use the bidirectional interface device 100 according to the present embodiment, and the data transfer is controlled by the control instruction D1 written in the command register 17a provided therein. . In this example, at least when data transfer is performed between the data bus A and the image memory 3, data transfer is performed between the image memory 3 and the data bus B, or data transfer is performed between the data buses A and B. When performing, the control instruction D1 is written to the command register 17a in the bus bridge 201.
[0104]
In this example, after the control command D1 is written to the bus bridge 201 by the CPU 2a or CPU 25, the scanner unit 42 and the printer unit 52 are input / output controlled in time series by the control command D1.
[0105]
Next, the operation of the image forming apparatus 400 as the present embodiment will be described. First, a case where a single (one page) document is copied will be described. In this example, it is assumed that the document image data acquired by the scanner unit 42 is once transferred to the image memory 3, and then the image data is read from the image memory 3 and supplied to the printer unit 52. To do.
[0106]
For example, when the operation unit 2d instructs the CPU 2a to copy one page, the CPU 2a instructs the bus bridge 33 to drive the scanner in order to drive the scanner unit 42. At this time, since the data buses A and B are not directly connected to the bus bridge 33 and the CPU 2a, a scanner drive instruction is sent via the bus bridge 31 and the bus bridge 201.
[0107]
In response to this scanner drive instruction, a control command D1 is sent from the CPU 2a to the bus bridge 31. At this time, the address generated by the CPU 2a indicates the bus bridge 31 mapped in advance. Accordingly, the bus bridge 31 drives this control command D1 and address to the data bus A. In the bus bridge 201 connected to the data bus A, since the address attached to the control instruction D1 designates the bus bridge 33 connected to the data bus B, the control instruction D1 and the address are transferred to the data bus B. Driven. As a result, the bus bridge 33 receives the control command D1 and the address from the bus bridge 201, and the drive control of the scanner unit 42 is performed.
[0108]
Next, the CPU 2a instructs the bus bridge 33 about the transfer destination of the image data output from the scanner unit 42, the number of transfer bytes, and the like. At this time, as described above, the CPU 2a drives the control instruction D1 for instructing the address of the bus bridge 33 and the storage location of the image data on the data bus A through the CPU bus 1a. As a result, the control command D 1 is transferred to the bus bridge 33 through the bus bridge 31 and the bus bridge 201. In the bus bridge 33 that has received the control command D1, preparation for writing the image data from the scanner unit 42 to the address of the instructed image memory 3 is started.
[0109]
In this writing, the bus bridge 33 requests the bus arbiter 71 to use the data bus B. The bus arbiter 71 permits the use of the data bus B in response to the highest priority bus use request at that time according to a built-in predetermined algorithm. In this case, since no bus use request is made from the bus bridge 201 and the bus bridge 34, the use of the data bus B is permitted to the bus bridge 33. In the bus bridge 33 that has received the permission, the address of the designated image memory 3 is driven to the data bus B.
[0110]
The bus bridge 201 that has received the address of the image memory 3 detects an access to the image memory 3 by decoding the control instruction D1. Accordingly, the image data driven on the data bus B is stored in the image memory 3 through the internal data bus 15b and the FIFO memory 23a of the bus bridge 201 (see FIG. 4).
[0111]
Here, if the address of the image memory 3 and the address of the bus bridge 34 are set to the same value on the address map of the CPU 2a, the image data from the scanner unit 42 is stored in the image memory 3, and the document is simultaneously written by the printer unit 52. Images can be printed out.
[0112]
While the image data of the transfer byte number designated by the CPU 2a is stored in the image memory 3 by the bus bridge 33, the CPU bus 1a and the data bus A are not used for transferring image data. The CPU 25 and the like can process jobs such as newly designated communication processing.
[0113]
When the transfer of image data for the designated number of bytes is completed, the bus bridge 33 notifies the CPU 2a of the end of data transfer. At this time, in the bus bridge 33, the data bus B is driven to indicate the address of the bus bridge 31 in order to record the end status data D2 in the status register 17b in the bus bridge 31.
[0114]
Since the data bus B is driven, the address is decoded in the bus bridge 201, and the address of the bus bridge 31 and the end status data D2 are driven to the data bus A. As a result, since the address addressed to the bus bridge 31 is driven in the bus bridge 31, the end status data D2 is stored in the status register 17b described above.
[0115]
Since the contents of the status register 17b change in the bus bridge 31, the contents are notified to the CPU 2a. Therefore, the CPU 2a can detect that the transfer of the image data from the scanner unit 42 to the image memory 3 is completed by reading the register 17b of the bus bridge 31.
[0116]
The CPU 2a that has received this data transfer end notification instructs the bus bridge 34 to start up the printer unit 52. At this time, the address driven to the CPU bus 1a instructs the bus bridge 34. Therefore, the control instruction D1 for the bus bridge 34 is stored in the command register 17a of the bus bridge 34 through the bus bridge 31 and the bus bridge 201. Thereafter, the CPU 2a is instructed to the bus bridge 34 about the storage source of the image data and the number of bytes thereof, and preparation for the start of printing is made.
[0117]
The bus bridge 34 requests the bus arbiter 71 to use the data bus B for data transfer. In response to this request, the bus arbiter 71 grants permission for the bus use request with the highest priority at that time according to a predetermined algorithm. In this case, since there is no bus use request from the bus bridge 201 and the bus bridge 33, permission to use the data bus B is given to the bus bridge 34. The bus bridge 34 that has received this permission drives the address of the image memory 3 to the data bus B.
[0118]
The bus bridge 201 that has received the address of the image memory 3 decodes this address, and it is detected that the access is to the image memory 3 based on the decoding result. As a result, the bus bridge 201 reads the image data from the image memory 3 at the address designated by the CPU 2 a and drives the image data onto the data bus B. The image data driven on the data bus B is taken in by the bus bridge 34, and the image data is output to the printer unit 52.
[0119]
In this bus bridge 34, when the printout for the designated byte is completed, the transfer end status is stored in the status register 17b in the bus bridge 31 described above. As described above, the CPU bus 1a and the data bus A can be used for the next job of the CPU 2a from the time when the start command is sent to the bus bridge 33 until the end of copying one page of the document.
[0120]
Next, a case where a plurality of originals are copied to a plurality of copies of transfer paper will be described. Also in this case, the CPU 2a sends a control command D1 for driving control of the scanner unit 42 to the bus bridge 33 according to an instruction from the operation unit 2d. Further, the storage destination address and the number of read bytes of the image data read by the scanner unit 42 are set, and reading of the image data is started. At this time, as described above, by setting the address of the bus bridge 34 to be the same as the address of the image memory 3, the read image data can be stored in the image memory 3 while being printed out.
[0121]
In this example, when the reading of the image data of the first page of the document is completed, the CPU 2a instructs the bus bridge 34 to activate the printer unit 52. At this time, if the image memory 3 has an empty memory area for one page, the CPU 2a instructs the bus bridge 33 to start reading the second page. Each bridge 33, 34 requests the bus arbiter 71 to use the data bus B. The bus bridge 33 or 34 having received this permission performs the data transfer as described above. When the same operation as described above is performed for the number of documents on the first page, one copy of the document on the first page is completed. In order to copy a plurality of copies, the bus bridge 34 is sequentially activated, and a predetermined number of copies are completed.
[0122]
As described above, according to the image forming apparatus 400 as the present embodiment, the input / output control of the image data can be performed by the bus bridge 201 dedicated to the memory independently of the CPU 2a. When image data is being written in the memory 3, an image of a document can be copied by the printer unit 42 based on the image data from the scanner unit 42 at the same time. Therefore, after the control command D1 is given from the CPU 2a to the bus bridge 201, the CPU 2a can execute other data processing such as communication processing.
[0123]
In this example, the communication means 38 is connected to the CPU 25, and the document image data from the scanner unit 42 is transmitted to the communication line 39, or the document image data sent using the communication line 39 is received. The document image data received by the communication unit 38 may be reproduced and output by the printer unit 52.
[0124]
Note that the CPU 2a and the CPU 25 may be the same. When the CPU 2a and the CPU 25 are the same, the bus bridge 31 and the bus bridge 32 can have the same configuration. The contents of the address map installed in the ROM 2b and the like are simplified.
[0125]
In the present embodiment, since the image memory 3 can be shared by the scanner unit 42, the printer unit 52, and the like, a page memory as in the conventional method becomes unnecessary and the use efficiency of the image memory 3 is improved.
[0126]
Further, since one data bus as in the conventional method can be divided into two, A and B, a DMAC can be introduced without worrying about the influence on the CPU 2a. Therefore, by providing the interface control unit 18 in the bus bridges 31 to 34 and the interface control unit 28 in the bus bridge 201 with a DMAC function, the transfer speed of image data and the like can be increased.
[0127]
【The invention's effect】
  As described above, according to the data processing apparatus of the present invention,Data is transferred between the first data bus and the second data busThree-way interface meansWith,The interface means connects the first data bus and the second data bus.Input / output control in time seriesHave FIFO memory forIs.
[0128]
With this configuration, data transfer control can be performed by dividing one data bus into two. For example, an external device connected to the first data bus can transfer data to and from a data memory. During writing / reading, data writing / reading between the second data bus and the data memory is stopped, or the same data read from the data memory is transferred to the second data bus. Can be transferred.
[0129]
  Therefore, when the external device connected to the first data bus is writing data to and reading data from the data memory, the second data bus can be opened to other external devices. . In addition, the data memory can be shared in time series or simultaneously between the external device connected to the first data bus and the external device connected to the second data bus.Moreover, it is possible to construct a data processing system that does not place an excessive control burden on the host control device..
[0132]
The present invention is extremely suitable when applied to an image processing apparatus such as a copying machine, a printer, or a facsimile.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of an interface apparatus 100 as an embodiment of the present invention.
FIG. 2 is a configuration diagram showing an operation example of the interface apparatus 100. FIG.
FIG. 3 is a block diagram showing a configuration example of a three-way interface device 200 as an embodiment of the present invention.
FIG. 4 is a configuration diagram illustrating an operation example of the interface apparatus 200;
FIG. 5 is a block diagram showing a configuration example of a data processing device 300 as an embodiment of the present invention.
FIG. 6 is a block diagram illustrating a configuration example of an image forming apparatus 400 as an embodiment of the present invention.
7 is a block diagram illustrating a configuration example of a conventional image forming apparatus 500. FIG.
[Explanation of symbols]
1 CPU bus
2 System control means
3 Image memory
5 Image acquisition means
6 Image playback means
10 Main controller
13,16 Interface part
17 Memory for control
17a Command register
17b Status register
20 Sub-control device
21 Internal bus selector
24 Memory control means
28 Interface controller
30 Main memory
31-34,201 Bus bridge
60, 70 Bus arbitration means
100,200 interface device

Claims (4)

画像メモリと、
第1のデータバスと、
第2のデータバスと、
前記画像メモリと前記第1のデータバスとの間でのデータの書き込み読み出をし、前記画像メモリと前記第2のデータバスとの間でのデータの書き込み読み出をし、及び、前記第1のデータバスと前記第2のデータバスとの間でのデータ転送を行う3方向性のインタフェース手段とを備え、
前記3方向性のインタフェース手段は、
前記第1のデータバスに接続されてデータを入出力する双方向性の第1のインタフェース部と、
前記第2のデータバスに接続されてデータを入出力する双方向性の第2のインタフェース部と、
前記第1及び第2のインタフェース部間に接続された内部データバスと、
前記内部データバスから分岐した分岐データバスと、
前記分岐データバスに接続されて、前記画像メモリとの間のデータの書き込み読み出しを制御するメモリ制御手段と、
前記第1のインタフェース部と前記メモリ制御手段との間に設けられ、前記第1のインタフェース部から入力されるデータを一時記憶する第1のFIFOメモリと、
前記メモリ制御手段と前記第2のインタフェース部との間に設けられ、前記第2のインタフェース部から入力されるデータを一時記憶する第2のFIFOメモリと、
前記メモリ制御手段によって書き込み制御されるデータを一時記憶する第3のFIFOメモリと、
前記メモリ制御手段によって読み出し制御されるデータを一時記憶する第4のFIFOメモリと、
前記第1のインタフェース部、前記第2のインタフェース部、前記内部データバスおよび前記メモリ制御手段を入出力制御する制御命令を一時記録する制御用メモリとを有し、
前記制御用メモリに記録された制御命令に基づいて、前記第1、第2、第3及び第4のFIFOメモリのデータ書き込み読み出し制御を行い、
前記画像メモリに対して前記第1のデータバス及び前記第2のデータバスを時系列的に入出力制御するようにしてなることを特徴とするデータ処理装置。
Image memory,
A first data bus;
A second data bus;
The image memory and the Shi read out the write data between the first data bus, the Shi writing read out of the data between the image memory and the second data bus, and, and a 3 directional interface means for performing data transfer between said first data bus and said second data bus,
The three-way interface means includes:
A bidirectional first interface unit connected to the first data bus for inputting and outputting data;
A bidirectional second interface unit connected to the second data bus for inputting / outputting data;
An internal data bus connected between the first and second interface units;
A branched data bus branched from the internal data bus;
A memory control unit connected to the branch data bus for controlling the writing and reading of data to and from the image memory;
A first FIFO memory that is provided between the first interface unit and the memory control unit and temporarily stores data input from the first interface unit;
A second FIFO memory that is provided between the memory control means and the second interface unit and temporarily stores data input from the second interface unit;
A third FIFO memory for temporarily storing data to be written controlled by the memory control means;
A fourth FIFO memory for temporarily storing data to be read and controlled by the memory control means;
A control memory for temporarily recording a control command for input / output control of the first interface unit, the second interface unit, the internal data bus, and the memory control unit;
Based on the control command recorded in the control memory, performs data write / read control of the first, second, third and fourth FIFO memories,
The data processing apparatus characterized by comprising as time series input and output controls the first data bus and said second data bus to said image memory.
前記制御命令に関して実行されたデータ転送結果を示す制御通知情報が前記制御用のメモリに一時記録するようになされたことを特徴とする請求項1記載のデータ処理装置。2. The data processing apparatus according to claim 1, wherein control notification information indicating a result of data transfer executed with respect to the control command is temporarily recorded in the control memory. 前記第1のデータバスに配置された二以上の双方向性のインタフェース手段と、Two or more bidirectional interface means disposed on the first data bus;
前記第1のデータバスに配置された二以上の双方向性のインタフェース手段のバス調停をするために配置された第1の調停手段と、First arbitration means arranged for bus arbitration of two or more bidirectional interface means arranged on the first data bus;
前記第2のデータバスに配置された二以上の双方向性のインタフェース手段と、Two or more bidirectional interface means disposed on the second data bus;
前記第2のデータバスに配置された二以上の双方向性のインタフェース手段のバス調停をするために配置された第2の調停手段とを備えることを特徴とする請求項1記載のデータ処理装置。2. The data processing apparatus according to claim 1, further comprising: a second arbitration unit arranged to perform bus arbitration of two or more bidirectional interface units arranged on the second data bus. .
前記第2のデータバスに接続された双方向性のインタフェース手段を有し、Bi-directional interface means connected to the second data bus;
前記双方向性のインタフェース手段に接続された外部機器が設けられ、An external device connected to the bidirectional interface means is provided;
前記双方向性のインタフェース手段は、The bidirectional interface means includes:
前記第2のデータバスに接続されてデータを入出力する双方向性の第1のインタフェース部と、A bidirectional first interface unit connected to the second data bus for inputting / outputting data;
前記外部機器に接続されてデータを入出力する双方向性の第2のインタフェース部と、A bidirectional second interface unit connected to the external device for inputting and outputting data;
前記第1及び第2のインタフェース部間に接続された内部データバスと、An internal data bus connected between the first and second interface units;
前記第1のインタフェース部、前記第2のインタフェース部及び前記内部データバスを入出力制御するための制御命令を一時記録する制御用メモリとを備え、A control memory for temporarily recording a control command for input / output control of the first interface unit, the second interface unit, and the internal data bus;
前記外部機器及び前記第2のデータバス間でデータを転送するときに、When transferring data between the external device and the second data bus,
前記制御用メモリに制御命令が書き込まれるようになされたことを特徴とする請求項1記載のデータ処理装置。2. The data processing apparatus according to claim 1, wherein a control command is written in the control memory.
JP35380897A 1997-12-22 1997-12-22 Data processing device Expired - Fee Related JP4114988B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP35380897A JP4114988B2 (en) 1997-12-22 1997-12-22 Data processing device
US09/216,443 US6240481B1 (en) 1997-12-22 1998-12-18 Data bus control for image forming apparatus
CN98127174A CN1122224C (en) 1997-12-22 1998-12-22 Data bus-line control of image formation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35380897A JP4114988B2 (en) 1997-12-22 1997-12-22 Data processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004210911A Division JP4010310B2 (en) 2004-07-20 2004-07-20 Image forming apparatus

Publications (2)

Publication Number Publication Date
JPH11184800A JPH11184800A (en) 1999-07-09
JP4114988B2 true JP4114988B2 (en) 2008-07-09

Family

ID=18433359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35380897A Expired - Fee Related JP4114988B2 (en) 1997-12-22 1997-12-22 Data processing device

Country Status (1)

Country Link
JP (1) JP4114988B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418494B1 (en) * 1998-10-30 2002-07-09 Cybex Computer Products Corporation Split computer architecture to separate user and processor while retaining original user interface
US7321623B2 (en) 2002-10-01 2008-01-22 Avocent Corporation Video compression system
US9560371B2 (en) 2003-07-30 2017-01-31 Avocent Corporation Video compression system
JP4337783B2 (en) * 2005-06-30 2009-09-30 セイコーエプソン株式会社 Data transfer control device and electronic device
JP4824422B2 (en) * 2005-08-30 2011-11-30 株式会社リコー Control device, image processing system, and data transfer path switching method
US7783820B2 (en) 2005-12-30 2010-08-24 Avocent Corporation Packet-switched split computer having disassociated peripheral controller and plural data buses

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5760424A (en) * 1980-09-30 1982-04-12 Fujitsu Ltd Data transfer controller
JPS6433658A (en) * 1987-07-30 1989-02-03 Toshiba Corp Computer system
JP2910303B2 (en) * 1990-06-04 1999-06-23 株式会社日立製作所 Information processing device
JPH05342140A (en) * 1992-06-12 1993-12-24 Fuji Xerox Co Ltd Data processor
JPH11184801A (en) * 1997-12-22 1999-07-09 Konica Corp Interface device and data processing system

Also Published As

Publication number Publication date
JPH11184800A (en) 1999-07-09

Similar Documents

Publication Publication Date Title
US6240481B1 (en) Data bus control for image forming apparatus
JP4114988B2 (en) Data processing device
JP4010310B2 (en) Image forming apparatus
JPH11184801A (en) Interface device and data processing system
JP3920168B2 (en) Image forming apparatus, control method therefor, image forming system, and recording medium
JP3490670B2 (en) Image processing method, image processing apparatus, and image processing system
JPH08101803A (en) Information processing system
JP3953676B2 (en) Printer and printer data processing method
JP3689258B2 (en) Digital composite device
JP4136347B2 (en) System controller, image forming apparatus having system controller, and DMA transfer method
JPH11187230A (en) Image forming device
JP2002314740A (en) Network system for digital copying machine
JP4983251B2 (en) Printing device
JP4280366B2 (en) Image control apparatus, image control method, and storage medium storing computer-readable program
JP4157219B2 (en) Tandem image forming apparatus
JP4455566B2 (en) DMA transfer method
JPH09214746A (en) Image output system and image forming device
US7610452B1 (en) Data processing system wherein data is stored in a memory and an external storage in parallel
JP3156617B2 (en) Copier
JP3951083B2 (en) Network printer and network printing system
JP4158575B2 (en) Data processing system
JPH11239254A (en) Digital composite device
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP2001167046A (en) Image processor
JP2004104447A (en) Image forming apparatus

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040720

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040902

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20041210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080415

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

Free format text: PAYMENT UNTIL: 20110425

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: 20110425

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees