JP2004112363A - Image forming device - Google Patents

Image forming device Download PDF

Info

Publication number
JP2004112363A
JP2004112363A JP2002272402A JP2002272402A JP2004112363A JP 2004112363 A JP2004112363 A JP 2004112363A JP 2002272402 A JP2002272402 A JP 2002272402A JP 2002272402 A JP2002272402 A JP 2002272402A JP 2004112363 A JP2004112363 A JP 2004112363A
Authority
JP
Japan
Prior art keywords
image
image signal
input
unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002272402A
Other languages
Japanese (ja)
Inventor
Yuriko Obata
小幡 百合子
Michio Doke
道家 教夫
Takao Okamura
岡村 隆生
Yasumitsu Shimizu
清水 泰光
Seiki Mogi
茂木 清貴
Yasuhiro Hattori
服部 康広
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002272402A priority Critical patent/JP2004112363A/en
Priority to US10/663,783 priority patent/US7185151B2/en
Publication of JP2004112363A publication Critical patent/JP2004112363A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To execute a plurality of image signal input/output operations effectively. <P>SOLUTION: There is provided an image forming device comprising a control means for executing processes based on a priority, and a specifying means for specifying the priority of an image signal input/output operation. According to the control means, when a plurality of image signal input/output operation requests are received (step 110), the received requests are searched for a process of high priority (step 111) to determine whether a process on execution can be interrupted or not (step 112). If the interruption is possible, the priority of the process, i.e., image signal input/output operation, on execution is compared to that of the received operation request of high priority (step 113). When the priority of the process on execution is lower, it is interrupted (step 114) to allow the received operation request to be executed (step 115) first, which is followed by the resumption of the interrupted process (step 116). If the interruption is impossible, or the priority of the process on execution is higher, it is sustained. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル複写機、ファクシミリ、プリンタ等の画像信号の入出力動作を効率よく行うことができる画像形成装置に関する。
【0002】
【従来の技術】
近年、複写機のデジタル化が進むとともに、画像メモリを応用した加工、編集が盛んとなってきている。その中で、原稿複数枚分の画像データをメモリに記憶することで、指定部数まとめてコピー出力して仕分けの作業をなくす電子ソートという機能がある。複数枚の画像データを保持するため、そのままの画像データを半導体メモリに蓄積するには、蓄積枚数分のデータ量に相当するメモリが必要になり、メモリコストが膨大になるという理由から、下記1〜3に示す構成・方法が一般的に用いられている。
【0003】
1.半導体メモリ+蓄積用メモリの構成とし、蓄積用メモリとして半導体メモリより安価なハードディスク等の2次記憶装置を使用する。
2.蓄積用メモリとして半導体メモリを使用し、圧縮処理を用いて画像データを圧縮し、1枚あたりのデータ量を減らすことでトータルのメモリ量を減らす。
3.複数の画像入出力手段(例えば、イメージスキャナ、プリンタコントローラ、ファイルサーバー、FAXコントローラ等)が同一の画像メモリを共有する。
【0004】
画像メモリに対し、画像データの入出力を実行するためにはDMA(Direct Memory Access)データ転送方式を用いたメモリ制御コントローラ(以下、DMAコントローラという。)が使用されることが多い(例えば、特許文献1及び2参照。)。DMAコントローラは、ディスクリプタと呼ばれるメモリ領域管理情報に基づいて画像メモリの特定の領域に対してデータの転送を行う。1画像が格納されるメモリ領域を複数のディスクリプタに分割してデータ転送を行うことも可能であり、例えば画像メモリをリングバッファの形態で利用することにより、画像データの容量よりも少ないメモリ容量で画像データの入出力を実行する場合もある。
【0005】
DMAコントローラを用いたメモリ制御では、各ディスクリプタで指定されたデータ転送の進行状況(開始、終了)の制御や、データ転送の実行タイミング制御(画像メモリ領域の途中でデータ転送を中断したり、再開する等)も可能であるため、DMAコントローラに接続された半導体メモリや、大容量の2次記憶装置のデータ転送のタイミング制御の自由度が高く、応用範囲が広い。
【0006】
上述したように蓄積メモリとして半導体メモリより安価なハードディスク等の2次記憶装置を使用する場合、通常単一の記憶装置に対して複数のデータ転送(データ書込み、読み出し動作)を行うことはできないため、DMAコントローラのディスクリプタを用いて2次記憶装置へのデータ転送単位を分割し、これを時分割に実行することで、複数のデータ転送動作をあたかも並行して実行しているようにすることが一般的である。
【0007】
しかしながら、このような時分割処理を用いる場合、データ転送に要する時間が短くなることはないため、画像形成装置のように画像データの入出力に要する時間を最短にすることが装置の生産性に影響を及ぼす場合には、時分割処理を行うことが逆に生産性の低下を招くとこもある。よって、画像データを圧縮し、データ転送量を小さくしたり、データ転送速度の速い2次記憶装置を搭載して、2次記憶装置へのデータ転送に要する時間を短くするような構成を採っていた。また、従来では、メモリ制御の簡素化を計る理由からも、積極的に時分割転送を行わずに、画像入出力手段を用いた画像データ入出力動作と略同期して2次記憶装置のリソースとして占有してデータ転送を行う手段が用いられていた。
【0008】
従来用いられていた2次記憶装置は、画像入出力手段から半導体メモリへの画像データ転送速度に比較して、半導体メモリの画像データを2次記憶装置へ転送する速度が遅く、画像データの圧縮を行って2次記憶装置のデータ処理容量を小さくしても、画像入出力手段−半導体メモリ間のデータ処理速度との差がなかったために、半導体メモリと、2次記憶装置のデータ転送処理(データ圧縮等のデータ変換処理も含む)の転送タイミングの制御を独立にかつ最適に制御することによる画像形成装置の生産性の向上度はあまり高くなかった。
【0009】
しかし上記問題もハードディスクのように2次記憶装置の転送処理速度は年々向上してきており、最適に制御することで生産性の向上度も高くなってきたが、近年の高速機では原稿の表裏同時読取が可能になり、画像入出力手段の処理能力も向上し、かつ生産性を達成するためには画像入力装置の原稿搬送処理をノンインターバルで動作させないと生産性が実現できないメカ制約が発生する機種もあり、画像入力手段からのデータ転送後のメモリタイミング制御だけではなく、画像入力手段に対する事前予測通知手段を設けて、メモリ制御の現状の状態、記憶装置の特性等の条件から、画像入力手段への原稿搬送ノンインターバル制御可否判定を通知し、画像入力装置側で原稿搬送のインターバル、ノンインターバル制御の切り替え処理を行うような機能が必要になってきた。
【0010】
【特許文献1】
特開平6−103225号公報
【特許文献2】
特開2000−158724号公報
【0011】
【発明が解決しようとする課題】
近年の技術の進歩に伴い、ハードディスク等の大容量の記憶装置のデータ転送速度の向上や、データ圧縮手段のデータ圧縮率および処理速度の向上が著しい。このような大容量の記憶装置を2次記憶装置として接続可能な画像形成装置においては、接続される画像入出力手段のデータ入力、および出力速度と比較して、2次記憶装置に対するデータ転送速度が速い場合が考えられる。このため、複数の画像信号の入出力を同時に並行して実行可能な構成を有する場合には、2次記憶装置に対する画像信号データの入力(保存)、出力(読み出し)の処理をいかに効率良く行うかが画像形成装置の生産性向上の課題となっている。画像形成装置における画像入出力手段も多様を極めている状況では、従来のようなメモリ制御では記憶装置やデータ圧縮手段の能力を最大限に利用して生産性を確保することが難しくなっている。
【0012】
また、画像形成装置においては、処理時間上の制約が発生する場合がある。例えば、FAX送信処理においては、電話回線を用いたデータ転送のプロトコルにおいて、データ転送時間に規約があるため、一定時間内にデータ送信を行わないと電話回線が切断されてしまいデータ転送が異常となる。また、カラーの画像形成装置において、複数色の画像データを一定の間隔で出力し重ね合わせることでカラー画像を得るような構成を有する場合には、2次記憶装置に保存された画像データを決められた時間内で読み出して出力可能な状態にしないと、カラー画像の形成ができないか、もしくは生産性が著しく低下することになる。
【0013】
本発明は、このような状況を鑑みてなされたもので、DMAを用いたメモリ制御方式を応用し、記憶装置の処理能力に応じてデータ転送動作の処理を効率よく制御することが可能な生産性の高い画像形成装置を提供することを目的とする。
【0014】
また、本発明は、処理時間上の条件および画像入出力手段やその周辺制御装置の構成により決定される画像入出力手段−記憶装置間の画像信号転送速度に応じて最適な画像入出力処理が可能な画像形成装置を提供することを目的とする。
【0015】
【課題を解決するための手段】
すなわち、請求項1の発明は、画像入力手段と、画像出力手段と、画像入力手段から入力された画像信号を1次記憶部に記憶し、この1次記憶部に記憶された画像信号を2次記憶部に保存する手段と、2次記憶部に保存された画像信号を読み出して1次記憶部に記憶し、この1次記憶部に記憶された画像信号を画像出力手段に出力する手段とを有する画像形成装置において、画像信号の入出力動作要求ごとにその優先度を指定する手段を備えたことを特徴とする。
【0016】
請求項1の発明においては、画像信号の入出力動作の要求時に、その優先度を指定することにより、優先度に基づいて一連の画像信号入出力動作を効率よく実行することが可能となり、記憶装置の処理能力に応じて画像信号の入出力動作を効率よく制御することが可能となる。
【0017】
請求項2の発明は、請求項1の画像形成装置において、複数の画像信号入出力動作の要求を受付ける手段と、複数の画像信号入出力動作の要求に対して、それぞれ指定された優先度に基づいて処理順序を決定する順序制御手段と、この順序制御手段で決定された処理順序が1番の画像信号入出力動作の優先度が実行中の画像信号入出力動作の優先度より高く、かつ実行中の画像信号入出力動作の中断が可能であるとき、この実行中の画像信号入出力動作を中断して、処理順序が1番の画像信号入出力動作を開始し、この画像信号入出力動作の終了後、中断した画像信号入出力動作を再開する中断/再開制御手段とを備えたことを特徴とする。
【0018】
請求項2の発明においては、複数の画像信号入出力動作の実行要求に対して、指定された優先度に基づいて最も優先度の高い画像信号入出力動作を抽出し、この画像信号入出力動作が実行中の画像信号入出力動作の優先度よりも高く、かつ実行中の画像信号入出力動作の中断が可能なとき、実行中の画像信号入出力動作を中断して、要求された画像信号入出力動作を割り込み実行し、この処理の終了後に、中断していた画像信号入出力動作を再開するよう制御される。これにより、優先度の高い画像信号入出力動作の処理時間の短縮が可能となる。なお、実行中の画像信号入出力動作の中断可/不可の情報を指定手段を介して入力するようにしてもよい。
【0019】
請求項3の発明は、請求項2の画像形成装置において、順序制御手段および中断/再開制御手段による制御を行うか否かを選択する手段を備えたことを特徴とする。これにより、優先度に基づいた処理順序制御方法を必要に応じて用いることが可能となる。
【0020】
【発明の実施の形態】
以下、図面に基づいて本発明の実施の形態を説明する。ここでは、画像形成装置としてデジタル複写機を例に挙げて説明するが、本発明の画像形成装置は、デジタル複写機に限定されない。
【0021】
図1は、本発明の一実施の形態にかかるデジタル複写機の基本構成を示すもので、画像を読み取る読取部1と、画像を記録紙上に形成する像形成部2と、画像データを記憶する記憶部3と、オペレータが操作する操作部4と、操作部4からの操作情報に基づいて各部を制御するシステム制御部5とを備え、さらにFAX部6がセレクタ部7を介して切替可能に接続されている。
【0022】
上記構成において、読取部1の読み取りプロセス、像形成部2の像形成プロセスを簡単に説明する。読取部1では、原稿Aを原稿台11に沿って可動な露光ランプ12によってスキャン露光を行い、その反射光をCCD(イメージセンサー)13によって光電変換を行い、光の強弱に応じた電気信号とする。IPU(イメージプロセッシングユニット)14により、その電気信号をシェーディング補正等の処理を行いA/D変換し、8ビットのデジタル信号とし、さらに変倍処理、ディザ処理等の画像処理を行い、画像同期信号と共に画像信号を像形成部2に送る。図2は原稿台11を上方から見た図である。スキャナ制御部15は以上のプロセスを実行するために、各種センサーの検知、駆動モータ等の制御を行い、また、IPU14に各種パラメータの設定を行う。以上が読み取りプロセスである。
【0023】
像形成部2では、送られた画像データを書込部16に書き込み、帯電チャージ17によって一様に帯電された一定回転する感光体18を、書込部16からの画像データによって変調されたレーザー光により露光する。感光体18には静電潜像ができ、それを現像装置19によりトナーで現像することにより顕像化したトナー像となる。あらかじめ給紙コロ20によって給紙トレイ21より給紙搬送されレジストローラ22で待機していた記録紙Bを、感光体18とタイミングを図って搬送し、転写チャージャ23によって感光体18上のトナーを記録紙Bに静電転写し、分離チャージャ24によって記録紙Bを感光体18より分離する。その後、記録紙B上のトナー像を定着装置25により加熱定着し、排紙ローラ26により排紙トレイに排紙する。一方、静電転写後の感光体18に残留したトナー像は、クリーニング装置27が感光体18に圧接、除去し、感光体18は除電チャージャ28により除電される。プロッタ制御部29は以上のプロセスを実行するために、各種センサーの検知、駆動モータ等の制御を行う。以上が像形成プロセスである。
【0024】
ここで、読取部1のIPU14より出力される画像同期信号の様子を図3に示し説明する。画像同期信号は、フレームゲート信号(/FGATE)、ライン同期信号(/LSYNC)および画素同期信号(PCLK)よりなる。フレームゲート信号(/FGATE)は、副走査方向の画像エリアに対しての画像有効範囲を表す信号で、この信号がローレベル(ローアクティブ)の間の画像データが有効とされる。また、この/FGATEは、ライン同期信号(/LSYNC)の立ち下がりエッジでアサート、あるいはネゲートされる。/LSYNCは画素同期信号(PCLK)の立ち上がりエッジで所定クロック数だけアサートされ、この信号の立ち上がり後、所定クロック後に主走査方向の画像データが有効とされる。送られてくる画像データは、PCLKの1周期に対して1つであり、例えば、図2の矢印部分より400DPI相当に分割されたものである。画像データは矢印部分を先頭にラスタ形式のデータとして送出される。また、画像データの副走査有効範囲は、通常、記録紙サイズによって決まる。
【0025】
システム制御部5は、オペレータによる操作部4への入力状態を検知し、読取部1、記憶部3、像形成部2、FAX部6への各種パラメータの設定、プロセス実行指示等を通信にて行う。また、システム全体の状態を操作部4にて表示する。システム制御部5への指示はオペレータの操作部4へのキー入力にてなされる。
【0026】
FAX部6は、システム制御部5からの指示により、送られてきた画像データをG3、G4FAXのデータ転送規定に基づき2値圧縮を行い、電話回線へ転送する。また、電話回線よりFAX部6に転送されたデータは復元されて2値の画像データとされ、像形成部2の書込部16へ送られ顕像化される。
【0027】
セレクタ部7は、システム制御部5からの指示により、セレクタの状態を変化させ、像形成を行う画像データのソースを読取部1、記憶部3、FAX部6の何れかより選択する。
【0028】
記憶部3は、通常はIPU14から入力される原稿の画像データを記憶することで、リピートコピー、回転コピー等の複写アプリケーションに使用される。また、FAX部5からの2値画像データを一時記憶させるバッファメモリとしても使用する。これらデータ記憶の指示はシステム制御部5によってなされる。
【0029】
記憶部3は、例えば図4に示すような構成を有する。この図において、記憶部3は、画像データの入出力を行う画像入出力DMAコントローラ(DMAC)31と、画像データを記憶する半導体メモリ32と、半導体メモリ32の書き込み、読み出しを行うメモリ制御部33と、2次記憶装置のハードディスク(HD)34と、HD34の書き込み、読み出しを行うHDDコントローラ35と、半導体メモリ32−HD34間の画像データの転送を行う画像転送DMAC36および符号転送DMAC37と、画像データの圧縮、伸長を行う圧縮伸長器38とによって構成される。以下、図4に従って、ブロック毎に機能説明を行う。
【0030】
画像入出力DMAC31は、CPUおよびロジックで構成され、メモリ制御部33と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行うとともに、画像入出力DMACの状態を知らせるステータス情報を送信する。画像入力のコマンドを受けた場合、入力画像データを入力画像同期信号に従って8画素単位のメモリデータとしてパッキングして、メモリ制御部33にメモリアクセス信号と共に随時出力する。画像出力のコマンドを受けた場合、メモリ制御部33からの画像データを出力画像同期信号に同期させて出力する。
【0031】
半導体メモリ32は、DRAM等の半導体記憶素子で構成され、メモリ量の合計は400DPI、2値画像データのA3サイズ分の4Mバイトと、電子ソート蓄積用のメモリ4Mバイト、データ変換後のデータ蓄積用メモリ1Mバイトの合計を9MBとしている。メモリ制御部33により読み出し、書き込み制御される。
【0032】
画像転送DMAC36は、CPUおよびロジックで構成され、メモリ制御部33と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行い、また、その状態を知らせるステータス情報を送信する。圧縮のコマンドを受けた場合、メモリ制御部33にメモリアクセス要求信号を出力し、メモリアクセス許可信号がアクティブの場合に画像データを受け取って圧縮伸長器38に転送する。また、メモリアクセス要求信号に応じてカウントアップするアドレスカウンタを内蔵し、画像データが格納される格納場所を示す22ビットのメモリアドレスを出力する。
【0033】
符号転送DMAC37は、CPUおよびロジックで構成され、メモリ制御部33と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行い、また、その状態を知らせるステータス情報を送信する。伸長のコマンドを受けた場合、メモリ制御部33にメモリアクセス要求信号を出力し、メモリアクセス許可信号がアクティブの場合に画像データを受け取って圧縮伸長器38に転送する。また、メモリアクセス要求信号に応じてカウントアップするアドレスカウンタを内蔵し、画像データが格納される格納場所を示す22ビットのメモリアドレスを出力する。
【0034】
圧縮伸長器38は、CPUおよびロジックで構成され、メモリ制御部33と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行い、また、その状態を知らせるステータス情報を送信する。2値データをMH符号化方法にて処理する。
【0035】
HDDコントローラ35は、CPUおよびロジックで構成され、メモリ制御部33と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行い、また、その状態を知らせるステータス情報を送信する。HD34のステータスのリード、データ転送を行う。
【0036】
メモリ制御部33は、CPUおよびロジックで構成され、システム制御部5と通信を行ってコマンドを受信し、そのコマンドに応じた動作設定を行い、また、その状態を知らせるステータス情報を送信する。システム制御部5からの動作コマンドには、画像入力、画像出力、圧縮、伸長等があり、画像入力、画像出力のコマンドは画像入出力DMAC31に、圧縮関連のコマンドは画像転送DMAC36、符号転送DMAC37、圧縮伸長器38に送信される。
【0037】
メモリ制御部33は、例えば図5に示すような内部構成を有する。以下、図5について、各ブロックの機能説明を行う。
【0038】
入出力画像アドレスカウンタ33aは、画像入出力DMAC31からの入出力メモリアクセス要求信号に応じてカウントアップするアドレスカウンタで、入出力画像データが格納される格納場所を示す22ビットのメモリアドレスを出力する。メモリアクセス開始時にアドレスはいったん初期化される。
【0039】
転送画像アドレスカウンタ33bは、転送メモリアクセス許可信号に応じてカウントアップするアドレスカウンタで、転送画像データが格納される格納場所を示す22ビットのメモリアドレスを出力する。メモリアクセス開始時にいったんアドレスは初期化される。
【0040】
差分算出部33cは、画像入力時に、圧縮伸長部が出力する転送処理ライン数と画像入出力部が出力する入出力処理ライン数との差を算出する。
【0041】
差分比較部33dは、画像入力時に差分算出部33cが出力する差分ライン数を設定値と比較し、差分ライン数=設定値となったならばエラー信号を出力し、また、差分ライン数が0となったならば転送要求マスク信号をアクティブとする。それ以外、または入出力画像が動作中でない状態では、アクティブを出力しない。
【0042】
ライン設定部33eは、画像入力時のバッファメモリとして半導体メモリ32を使用する場合の、差分比較部33dで比較に用いる設定値を、システム制御部5からの設定要求に基づいて設定する。任意の値を設定することが可能である。
【0043】
要求マスク33fは、差分比較部33dの比較結果にて圧縮伸長部のアクセスのための転送メモリアクセス要求信号をマスク(ディスイネーブル状態とすること)し、転送処理を停止させる。
【0044】
アービタ33gは、画像入出力部からの入出力メモリアクセス信号および要求マスク33fを介して入力される転送メモリアクセス要求信号に基づいて圧縮伸長部のアクセスのための転送メモリアクセス許可信号を出力する。
【0045】
アドレスセレクタ33hは、アービタ33gにより選択されるセレクタで、入力画像または転送画像のアドレスのどちらが選択される。
【0046】
アクセス制御回路33iは、入力される物理アドレスを半導体メモリ32であるDRAMに対応したロウアドレス、カラムアドレスに分割し11ビットのアドレスバスに出力する。また、アービタ33gからのアクセス開始信号に従い、DRAM制御信号(RAS、CAS、WE)を出力する。
【0047】
上記メモリ制御部33の構成において、システム制御部5からの画像入力指示により、メモリ制御部33は初期化され画像データの待ち状態となり、読取部1のスキャナが動作することにより記憶部3に画像データが入力される。入力された画像データはいったん半導体メモリ32に書き込まれる。また、書き込まれた画像データの処理ライン数は画像入出力DMAC31で計数され、メモリ制御部33へと入力される。圧縮伸長器38は、画像転送のコマンドを受けて転送メモリアクセス要求信号を出力しているが、メモリ制御部33の要求マスク33fにより要求信号がマスクされ、実際のメモリアクセスは行われていない。画像入出力部からの入力データが1ライン終了することで、転送メモリアクセス要求信号のマスクが解除され、半導体メモリ32の読み出しが行われ、画像データの圧縮伸長部への転送動作が開始される。また、動作中も差分算出部33cで2つの処理ライン数の差を算出し、0となればアドレスの追い越しがないように転送メモリアクセス要求信号にマスクをかけている。
【0048】
また、記憶部3の全体の動作としては、画像入力およびデータ蓄積に際してはシステム制御部3からの指示により、画像データを画像メモリの所定の画像領域に画像入出力DMAC31により書き込む、または、読み出す。このとき画像入出力DMAC31では画像ライン数をカウントしている。
【0049】
図6は、画像入出力DMAC31のディスクリプタアクセス動作およおびデータ転送動作を説明するためのものである。図中の画像データPは4つのバンドに分割されており、各バンドで設定されているライン数の画像データを転送する。
【0050】
以下に、1画像中の総転送ライン数を加算する手順を説明する。まず、画像入力DMAC31が転送コマンドを受けると、あらかじめ内部のディスクリプタ格納レジスタにCPUによって設定されたチェーン先アドレス(a)にディスクリプタ1をリードアクセスし、メモリ中のディスクリプタ1の内容をディスクリプタ格納レジスタ31aにロードする。そのロードされた内容は、4ワードで構成されており、次のディスクリプタの格納アドレスを示すチェーン先アドレス、転送するデータの転送先アドレスを示すデータ格納先アドレス、転送するデータのデータ量をライン数で示すデータ転送ライン数、および設定されたライン数転送が終了した場合、CPU割り込みを発生するか否かのフォーマット情報を有する。フォーマット情報の最下位ビットには、設定されたライン数転送終了の場合にCPU割り込みを発生させるか否かを表わすビットが配置されている。0でCPU割り込みを発生、1でCPU割り込みをマスクする。
【0051】
図6においては、1画像を4つのバンドに分割しているが、各ディスクリプタのフォーマット情報の最下位ビットを、1から4まで順に、0、0、0、0としている。これにより、各バンドの画像データ転送が終了すると、CPU割り込みが発生し、その割り込み発生により、各ディスクリプタに設定されているライン数を加算することにより、転送終了タイミングおよびライン数を検出しながら転送することが可能となる。
【0052】
同様にして、半導体メモリ32から、圧縮伸長器38を通してHD34にデータを転送(1次記憶装置→2次記憶装置)する場合、画像転送DMAC36のディスクリプタの設定は1バンドで転送するため、ディスクリプタのライン数の設定は画像ライン数として設定し転送を行う。そのときに符号転送DMAC37の転送先をHDDコントローラ35に設定する。HDDコントローラ35には格納アドレスを設定し、半導体メモリ32→画像転送DMAC36→圧縮伸長器38→符号転送DMAC37→HDDコントローラ35→HD34というパスを通して画像データの転送を行うことが可能となる。データ転送終了後に、HDDコントローラ35よりHD34へ蓄積した際の使用データ量が通知され、このHD34へ格納したアドレスと使用データ量を1次記憶装置(半導体メモリ32)に確保しているHDD管理領域に記憶しておく。また、メモリ制御部33は画像データの圧縮伸長器38への転送が、画像入出力DMAC31からの転送を追い越さないように転送メモリアクセス要求にマスクをかけている(2次記憶装置へのデータ転送が画像入力のデータ転送を追い越さないように制御している。)。
【0053】
逆に、HD34から圧縮伸長器38を通して半導体メモリ32にデータを転送(2次記憶装置→1次記憶装置)する場合、1次記憶装置に確保しているHDD管理領域に記憶しているHD34へ蓄積した際の格納アドレスと使用データ量を取得し、HDDコントローラ35に格納アドレスを設定し、符号転送DMAC37には使用データ量を、画像転送DMAC36には伸長後のライン数を設定して、HD34→HDDコントローラ35→符号転送DMAC37→圧縮伸長器38→画像転送DMAC36→半導体メモリ32というパスを通して画像データの転送を行うことが可能となる。
【0054】
本発明の実施の形態は、上記構成において、画像信号入出力動作の優先度を指定する優先度指定手段と、複数の画像信号入出力動作の要求を受付ける入出力動作要求受付け手段と、複数の画像信号入出力動作の要求に対して、それぞれの優先度に基づいて処理順序を決定する順序制御手段と、実行中の画像信号の入出力動作の中断が可能か否かを判定する中断判定手段と、画像信号入出力動作の優先度および中断判定手段の判定結果に基づいて、実行中の画像信号入出力動作の中断/再開の制御を行う中断/再開制御手段を有する。これらの手段は、図1に示すシステム制御部5に設けられる。
【0055】
優先度指定手段は、画像信号の入出力動作の実行要求時に画像信号転送動作の優先度を指定する手段であり、その処理動作を、図7に従って説明する。画像信号の入出力動作の実行要求を受信すると、図1に示す操作部4からのキー入力による優先度の指定要求を受付け(ステップ100)、操作部4から指定された優先度を実行要求された画像信号入出力動作に対して設定する(ステップ101)。操作部4から優先度指定要求を受信しなかった場合は、実行要求された画像信号入出力動作の優先度をデフォルト値に設定する(ステップ102)。
【0056】
この優先度指定手段により、画像信号の入出力動作の実行要求を行うときに優先度を指定することが可能となり、優先順位を判定することが可能となる。
【0057】
次に、順序制御手段から中断/再開制御手段による一連の処理動作を図8に従って説明する。まず、複数の画像信号入出力動作の要求を受信すると(ステップ110)、受信した要求の中で最も優先度が高い処理を検索する(ステップ111)。ついで、実行中の処理の中断が可能か否かを判定し(ステップ112)、実行中の処理の中断が可能であるときは、実行中の画像信号入出力動作の優先度と受信した画像信号入出力動作要求の優先度を比較する(ステップ113)。受信した画像信号入出力動作要求の優先度の方が実行中の処理の優先度よりも高い場合には、実行中の処理を中断して(ステップ114)、受信した画像信号入出力動作要求を実行し(ステップ115)、受信した処理が終了したら、中断した処理を再開する(ステップ116)。実行中の処理の中断が不可能であるとき、また、実行中の処理の優先度の方が受信した処理の優先度よりも高い場合は、実行中の処理を継続する。
【0058】
次に、複数の画像信号入出力動作の要求を受付ける入出力動作要求受付け手段の処理動作を図9に従って説明する。受信した画像信号入出力動作の要求が複数か否かによって(ステップ120)、複数の要求を受信した場合は複数回に分割して1次記憶装置から2次記憶装置へデータ転送を行う(ステップ121)。複数の画像信号入出力の要求を受信しなかった場合は1回で1次記憶装置から2次記憶装置へデータ転送を行う(ステップ122)。データ転送終了まで複数のデータ転送要求の受信がないかをチェックを行う(ステップ123)。このように、複数の処理要求の受信は、分割データ転送を行うことで可能となる。
【0059】
圧縮伸長器38によりデータ圧縮(データ変換)された画像データを記憶するための1次記憶領域を取得する手段と2次記憶領域を取得する手段を用いることで、各領域の任意の容量取得も、固定の容量取得も可能となる。また、データ転送を分割する場合は、1次記憶領域を固定容量で確保し固定容量分データ変換してから2次記憶領域に転送することを繰り返すことで分割転送が可能になる。
【0060】
1回のデータ転送で1次記憶領域のデータを転送する処理フローを図10に示す。まず、1次記憶装置(半導体メモリ32)に保存されている画像データの圧縮後の容量を全て確保できるだけの領域を1次記憶装置に確保する(ステップ130)。次に、圧縮伸長器38を用いデータ圧縮させ(ステップ131)、圧縮した画像データをステップ130で確保した1次記憶領域に保存する(ステップ132)。保存完了後、2次記憶装置(HD34)にデータ圧縮後の容量分の領域を確保し(ステップ133)、この2次記憶領域に1次記憶領域のデータを転送する(ステップ134)。転送終了後、1次記憶装置に確保した領域を解放する(ステップ135)。
【0061】
次に、複数回に分割して1次記憶領域のデータを転送する処理フローを図11に示す。まず、データ変換後に保存する1次記憶装置の領域を固定容量で確保する(ステップ140)。この領域は固定容量であるためデータ圧縮後のサイズと関連性がない。次に、圧縮伸長器38を用いデータを圧縮させ(ステップ141)、圧縮した画像データを(ステップ140)で確保した固定容量の1次記憶領域に保存する(ステップ142)。このとき確保した固定容量ではデータ圧縮が完了しない場合があるため、圧縮伸長器の終了応答により処理を変える必要がある。1次記憶領域で確保した固定領域中、使用した容量分の領域を2次記憶装置に確保し(ステップ143)、1次記憶領域のデータを転送する(ステップ144)。転送完了後、全てのデータの圧縮を完了したかどうかを判定し(ステップ145)、未完了の場合は、圧縮処理を継続するためにステップ141へ戻る。ここではデータ圧縮後のデータは、前に転送完了した固定領域に上書きされる。データ圧縮が完了すると、確保した固定容量の1次記憶領域を解放する(ステップ146)。
【0062】
上記データ変換量および記憶容量の選択は、2次記憶装置へのデータ転送速度からデータ転送能力を推測することが可能となり、またデータ転送能力でデータ変換量および記憶容量を選択することで1次記憶領域、2次記憶領域の占有率を効率良く選択することが可能となる。
【0063】
上述したように、本実施の形態においては、複数の画像信号入出力動作要求を受信した場合に、入出力動作要求時に指定された優先度に応じて処理順序を決定し、さらに実行中の処理に関して中断が可能か否かを判定し、処理の中断することが可能である場合は中断/再開の制御を行うことにより、優先順位の高い処理に要する時間を短縮することが可能となる。
【0064】
また、上記実施の形態において、実行中の処理に関して中断が可能か否かの判定は、各画像信号入出力動作の転送時間や処理時間等の制約から判断されるが、画像信号入出力動作の実行要求時にその入出力動作の中断が可能か否かを指定する手段を設けて、この指定情報から中断が可能か否かの判定を行うようにすることもできる。画像信号入出力動作の中断可/不可の指定手段の動作フローを図12に示す。
【0065】
図12において、画像信号入出力動作の実行要求を受信した場合に、操作部4からキー入力による画像信号転送動作の中断が可能か否かの指定を受付け(ステップ150)、中断可/不可の設定を行う(ステップ151)。操作部4から指定入力がなかった場合は画像信号入出力動作の中断は不可として設定する(ステップ152)。
【0066】
これにより、実行中の処理の中断が可能か否かを指定することが可能となり、中断が可能か否かを判定することが可能となる。
【0067】
さらに、上記実施の形態に対して、図8に示すような優先度に基づいた処理を行うか否かの選択をする手段を設けることもできる。この優先度処理選択手段の動作フローを図13に示す。
【0068】
図13において、画像信号入出力動作の実行要求を受信したとき、操作部4からの優先度処理要求の受付けを行い(ステップ160)、操作部4のキー入力により優先度に基づき制御を行う要求を受信した場合には、優先度を基にした画像信号入出力動作の実行/中断/再開の制御を有効にする(ステップ161)。優先度処理要求を受信しなかった場合は、優先度を基にした制御を無効にする(ステップ162)。
【0069】
このような優先度処理選択手段を設けて、優先度に基づいた順序制御の有効/無効を切り替え可能にすることにより、必要に応じて処理を行うことが可能となる。
【0070】
【発明の効果】
上述したように、請求項1の発明によれば、優先度指定手段を設けることにより、一連の画像入出力動作を効率よく処理することができ、比較的簡易に画像形成装置としての生産性を高めることができる。
【0071】
請求項2の発明によれば、優先度に基づく順序制御手段および中断/再開制御手段を設けることにより、同時に実行すると、決められた処理時間内にデータ転送処理が完了しない可能性がある場合でも、指定された優先度に基づいて実行順序の制御や実行中の動作の中断/再開制御を行うことで、複数の画像信号入出力動作を要求どおりに効率的に処理することができる。
【0072】
請求項3の発明によれば、優先度処理選択手段を設けることにより、優先度に基づく制御が不要の場合に、この制御にかかる処理を省くことができ、画像入出力動作を最適な制御でより効率よく処理することが可能となる。
【図面の簡単な説明】
【図1】本発明の画像形成装置の一実施の形態にかかるデジタル複写機の全体構成を示す図である。
【図2】図1における読取部の原稿台を上から見た図である。
【図3】画像同期信号と画像データの転送タイミングを示すタイミングチャートである。
【図4】図1における記憶部の構成を示すブロック図である。
【図5】図2におけるメモリ制御部の構成を示すブロック図である。
【図6】画像入出力DMACのデータ転送方法を説明するための図である
【図7】優先度指定手段の処理動作を示すフローチャートである。
【図8】順序制御手段および中断/再開制御手段の処理動作を示すフローチャートである。
【図9】複数の画像信号入出力動作の要求を受付ける手段の処理動作を示すフローチャートである。
【図10】1次記憶領域から2次記憶領域へ画像データを一括して転送する処理を示すフローチャートである。
【図11】1次記憶領域から2次記憶領域へ画像データを分割して転送する処理を示すフローチャートである。
【図12】画像信号入出力動作の中断可/不可の指定手段の処理動作を示すフローチャートである。
【図13】優先度処理選択手段の処理動作を示すフローチャートである。
【符号の説明】
11 原稿台
17 帯電チャージ
18 感光体
19 現像装置
21 給紙トレイ
25 定着装置
31aディスクリプタ格納レジスタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image forming apparatus, such as a digital copying machine, a facsimile, and a printer, that can efficiently perform input / output operations of image signals.
[0002]
[Prior art]
2. Description of the Related Art In recent years, digitalization of copiers has been progressing, and processing and editing using an image memory have become active. Among them, there is a function called an electronic sort in which the image data of a plurality of documents is stored in a memory so that a designated number of copies are collectively copied and output to eliminate the sorting operation. In order to store a plurality of image data and store the image data as it is in the semiconductor memory, a memory corresponding to the data amount of the number of stored images is required. Structures and methods shown in (1) to (3) are generally used.
[0003]
1. A semiconductor memory and a storage memory are used, and a secondary storage device such as a hard disk which is less expensive than the semiconductor memory is used as the storage memory.
2. A semiconductor memory is used as a storage memory, image data is compressed using a compression process, and the total amount of memory is reduced by reducing the amount of data per sheet.
3. A plurality of image input / output units (for example, an image scanner, a printer controller, a file server, a FAX controller, etc.) share the same image memory.
[0004]
In order to execute input / output of image data to / from an image memory, a memory controller (hereinafter, referred to as a DMA controller) using a DMA (Direct Memory Access) data transfer method is often used (for example, see Patents). References 1 and 2). The DMA controller transfers data to a specific area of the image memory based on memory area management information called a descriptor. It is also possible to transfer data by dividing a memory area where one image is stored into a plurality of descriptors. For example, by using an image memory in the form of a ring buffer, a memory capacity smaller than the capacity of image data can be obtained. In some cases, input / output of image data is executed.
[0005]
In the memory control using the DMA controller, the progress (start, end) of data transfer specified by each descriptor is controlled, and the execution timing of data transfer is controlled (interrupting or resuming data transfer in the middle of the image memory area). And the like, so that the degree of freedom in controlling the timing of data transfer of a semiconductor memory connected to a DMA controller or a large-capacity secondary storage device is high, and the range of application is wide.
[0006]
As described above, when a secondary storage device such as a hard disk, which is less expensive than a semiconductor memory, is used as a storage memory, a plurality of data transfers (data write / read operations) cannot normally be performed on a single storage device. By dividing the data transfer unit to the secondary storage device using the descriptor of the DMA controller and executing the data transfer in a time-division manner, it is possible to execute a plurality of data transfer operations as if they were being executed in parallel. General.
[0007]
However, when such time-division processing is used, the time required for data transfer is not shortened. Therefore, minimizing the time required for inputting / outputting image data as in an image forming apparatus can reduce the productivity of the apparatus. If it does, performing the time-sharing process may, on the contrary, cause a decrease in productivity. Therefore, a configuration is adopted in which image data is compressed to reduce the amount of data transfer, or a secondary storage device with a high data transfer speed is mounted to shorten the time required for data transfer to the secondary storage device. Was. Conventionally, for reasons of simplification of memory control, the resources of the secondary storage device are not synchronized with the image data input / output operation using the image input / output means but are actively performed in a time-division manner. Means for occupying and transferring data has been used.
[0008]
The conventional secondary storage device has a lower speed for transferring the image data of the semiconductor memory to the secondary storage device than the image data transfer speed from the image input / output means to the semiconductor memory, and the image data compression speed is lower. Is performed, the data processing capacity of the secondary storage device is reduced, and since there is no difference between the data processing speed between the image input / output means and the semiconductor memory, the data transfer processing between the semiconductor memory and the secondary storage device ( Independently and optimally controlling transfer timing control (including data conversion processing such as data compression), the degree of improvement in productivity of the image forming apparatus has not been very high.
[0009]
However, in the above problem, the transfer processing speed of the secondary storage device such as a hard disk has been improved year by year, and the degree of improvement in productivity has been increased by optimal control. Reading becomes possible, the processing capability of the image input / output means is improved, and in order to achieve productivity, mechanical constraints arise in which productivity cannot be realized unless the document feeding process of the image input device is operated at non-intervals. There is also a model, and not only memory timing control after data transfer from the image input unit but also a preliminary prediction notifying unit for the image input unit is provided, and image input is performed based on conditions such as the current state of the memory control and the characteristics of the storage device. Means for determining whether or not document transport non-interval control is possible, and performs switching processing of document transport interval and non-interval control on the image input device side. Functions, such as has become necessary.
[0010]
[Patent Document 1]
JP-A-6-103225 [Patent Document 2]
JP 2000-158724 A
[Problems to be solved by the invention]
With the advance of technology in recent years, the data transfer speed of a large-capacity storage device such as a hard disk, and the data compression rate and processing speed of a data compression unit have been remarkably improved. In an image forming apparatus in which such a large-capacity storage device can be connected as a secondary storage device, the data transfer speed for the secondary storage device is compared with the data input and output speed of the connected image input / output means. May be faster. For this reason, in the case of having a configuration in which input and output of a plurality of image signals can be performed simultaneously and in parallel, how efficiently image signal data input (save) and output (read) processing to the secondary storage device is performed. This is a problem in improving the productivity of the image forming apparatus. In a situation where the image input / output means in the image forming apparatus is extremely diverse, it is difficult to secure the productivity by maximizing the capabilities of the storage device and the data compression means in the conventional memory control.
[0012]
Further, in the image forming apparatus, there is a case where a restriction on processing time occurs. For example, in the facsimile transmission process, since there is a rule in the data transfer time in the protocol of data transfer using a telephone line, if the data transmission is not performed within a predetermined time, the telephone line is disconnected and the data transfer is abnormal. Become. In a case where a color image forming apparatus has a configuration in which a color image is obtained by outputting a plurality of color image data at regular intervals and superimposing the image data, the image data stored in the secondary storage device is determined. If it is not possible to read out and output within the allotted time, a color image cannot be formed, or productivity will be significantly reduced.
[0013]
SUMMARY OF THE INVENTION The present invention has been made in view of such a situation, and a memory control method using DMA is applied so that a data transfer operation process can be efficiently controlled according to the processing capability of a storage device. It is an object to provide an image forming apparatus having high reliability.
[0014]
Further, according to the present invention, optimal image input / output processing is performed in accordance with the processing time conditions and the image signal transfer speed between the image input / output means and the storage device determined by the configuration of the image input / output means and its peripheral control device. It is an object to provide a possible image forming apparatus.
[0015]
[Means for Solving the Problems]
That is, according to the first aspect of the present invention, an image input unit, an image output unit, and an image signal input from the image input unit are stored in a primary storage unit, and the image signal stored in the primary storage unit is stored in a primary storage unit. Means for storing the image signal stored in the secondary storage unit, storing the image signal in the primary storage unit, and outputting the image signal stored in the primary storage unit to the image output unit; And a means for designating a priority for each image signal input / output operation request.
[0016]
According to the first aspect of the present invention, when a request for an input / output operation of an image signal is made, by specifying the priority thereof, a series of image signal input / output operations can be efficiently executed based on the priority. It is possible to efficiently control the input / output operation of the image signal according to the processing capability of the device.
[0017]
According to a second aspect of the present invention, in the image forming apparatus of the first aspect, a means for receiving a plurality of image signal input / output operation requests, and a plurality of image signal input / output operation requests, each having a designated priority. An order control means for determining a processing order based on the image signal input / output operation, wherein the priority of the image signal input / output operation whose processing order is determined by the order control means is higher than the priority of the image signal input / output operation being executed; and When the currently executed image signal input / output operation can be interrupted, the currently executed image signal input / output operation is interrupted, and the first image signal input / output operation in the processing order is started. An interrupt / resume control unit for restarting the interrupted image signal input / output operation after the operation is completed.
[0018]
According to the invention of claim 2, in response to a plurality of image signal input / output operation execution requests, the image signal input / output operation having the highest priority is extracted based on the specified priority. When the priority is higher than the priority of the image signal input / output operation being executed and the image signal input / output operation being executed can be interrupted, the image signal input / output operation being executed is interrupted and the requested image signal is interrupted. The input / output operation is interrupted, and after this processing is completed, the interrupted image signal input / output operation is controlled to be restarted. This makes it possible to reduce the processing time of the image signal input / output operation with high priority. It should be noted that information on whether or not the image signal input / output operation being executed can be interrupted may be input via the specifying unit.
[0019]
According to a third aspect of the present invention, in the image forming apparatus of the second aspect, there is provided a means for selecting whether or not to perform control by the sequence control means and the interruption / resumption control means. This makes it possible to use the processing order control method based on the priority as needed.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. Here, a digital copying machine will be described as an example of an image forming apparatus, but the image forming apparatus of the present invention is not limited to a digital copying machine.
[0021]
FIG. 1 shows a basic configuration of a digital copying machine according to an embodiment of the present invention. A reading unit 1 for reading an image, an image forming unit 2 for forming an image on a recording sheet, and storing image data. A storage unit 3, an operation unit 4 operated by an operator, and a system control unit 5 for controlling each unit based on operation information from the operation unit 4 are provided. Further, the FAX unit 6 can be switched via a selector unit 7. It is connected.
[0022]
In the above configuration, the reading process of the reading unit 1 and the image forming process of the image forming unit 2 will be briefly described. In the reading unit 1, the original A is scanned and exposed by an exposure lamp 12 movable along an original table 11, and the reflected light is subjected to photoelectric conversion by a CCD (image sensor) 13, and an electric signal corresponding to the intensity of light is output. I do. The electric signal is subjected to processing such as shading correction by an IPU (image processing unit) 14 and A / D-converted into an 8-bit digital signal. Further, image processing such as scaling processing and dither processing is performed. At the same time, the image signal is sent to the image forming unit 2. FIG. 2 is a diagram of the document table 11 viewed from above. The scanner control unit 15 performs detection of various sensors, controls a drive motor and the like, and sets various parameters in the IPU 14 in order to execute the above process. The above is the reading process.
[0023]
The image forming unit 2 writes the sent image data into the writing unit 16, and rotates the photoreceptor 18, which is uniformly charged by the charging unit 17, and rotates at a constant speed, by the laser light modulated by the image data from the writing unit 16. Exposure with light. An electrostatic latent image is formed on the photoreceptor 18, and is developed into a toner image by developing the electrostatic latent image with toner by the developing device 19. The recording paper B, which has been fed in advance from the paper feed tray 21 by the paper feed roller 20 and has been waiting at the registration rollers 22, is conveyed at a timing to the photoconductor 18, and the toner on the photoconductor 18 is transferred by the transfer charger 23. The recording paper B is electrostatically transferred to the recording paper B, and the recording paper B is separated from the photoconductor 18 by the separation charger 24. Thereafter, the toner image on the recording paper B is heated and fixed by the fixing device 25, and is discharged to a discharge tray by a discharge roller 26. On the other hand, the toner image remaining on the photoconductor 18 after the electrostatic transfer is pressed against the photoconductor 18 by the cleaning device 27 to be removed, and the photoconductor 18 is discharged by the discharging charger 28. The plotter control unit 29 detects various sensors and controls a drive motor and the like in order to execute the above process. The above is the image forming process.
[0024]
Here, the state of the image synchronization signal output from the IPU 14 of the reading unit 1 will be described with reference to FIG. The image synchronization signal includes a frame gate signal (/ FGATE), a line synchronization signal (/ LSYNC), and a pixel synchronization signal (PCLK). The frame gate signal (/ FGATE) is a signal indicating an image effective range for an image area in the sub-scanning direction, and image data is valid while this signal is at a low level (low active). The signal / FGATE is asserted or negated at the falling edge of the line synchronization signal (/ LSYNC). / LSYNC is asserted for a predetermined number of clocks at the rising edge of the pixel synchronization signal (PCLK), and after the rising of this signal, the image data in the main scanning direction becomes valid after a predetermined clock. The transmitted image data is one for one cycle of PCLK, and is, for example, divided into 400 DPI equivalents from the arrow portion in FIG. The image data is sent out as raster format data, starting from the arrow. The effective sub-scanning range of image data is usually determined by the size of the recording paper.
[0025]
The system control unit 5 detects the input state of the operation unit 4 by the operator, and sets various parameters to the reading unit 1, the storage unit 3, the image forming unit 2, and the facsimile unit 6, and sends a process execution instruction through communication. Do. The state of the entire system is displayed on the operation unit 4. An instruction to the system control unit 5 is made by a key input to the operation unit 4 by the operator.
[0026]
In accordance with an instruction from the system control unit 5, the FAX unit 6 performs binary compression of the transmitted image data based on G3 and G4 FAX data transfer rules, and transfers the image data to a telephone line. The data transferred from the telephone line to the FAX unit 6 is restored to binary image data, sent to the writing unit 16 of the image forming unit 2, and visualized.
[0027]
The selector unit 7 changes the state of the selector according to an instruction from the system control unit 5 and selects a source of the image data for forming an image from the reading unit 1, the storage unit 3, or the FAX unit 6.
[0028]
The storage unit 3 stores image data of a document normally input from the IPU 14 and is used for copy applications such as repeat copy and rotation copy. It is also used as a buffer memory for temporarily storing the binary image data from the FAX unit 5. These data storage instructions are given by the system control unit 5.
[0029]
The storage unit 3 has a configuration as shown in FIG. 4, for example. In FIG. 1, a storage unit 3 includes an image input / output DMA controller (DMAC) 31 for inputting / outputting image data, a semiconductor memory 32 for storing image data, and a memory control unit 33 for writing / reading the semiconductor memory 32. A hard disk (HD) 34 of a secondary storage device, an HDD controller 35 for writing and reading the HD 34, an image transfer DMAC 36 and a code transfer DMAC 37 for transferring image data between the semiconductor memories 32 and HD 34, And a compression / decompression device 38 for performing compression and decompression. Hereinafter, the function will be described for each block with reference to FIG.
[0030]
The image input / output DMAC 31 is configured by a CPU and logic, communicates with the memory control unit 33, receives a command, sets an operation according to the command, and transmits status information notifying the state of the image input / output DMAC. I do. When an image input command is received, the input image data is packed as 8-pixel memory data according to the input image synchronization signal, and is output to the memory control unit 33 together with the memory access signal as needed. When an image output command is received, image data from the memory control unit 33 is output in synchronization with an output image synchronization signal.
[0031]
The semiconductor memory 32 is composed of a semiconductor storage element such as a DRAM. The total amount of memory is 400 DPI, 4 Mbytes of A3 size of binary image data, 4 Mbytes of electronic sort storage memory, and data storage after data conversion. The total of 1 Mbyte of memory for use is 9 MB. Reading and writing are controlled by the memory control unit 33.
[0032]
The image transfer DMAC 36 is configured by a CPU and logic, communicates with the memory control unit 33, receives a command, sets an operation according to the command, and transmits status information notifying the state. When a compression command is received, a memory access request signal is output to the memory control unit 33, and when the memory access permission signal is active, image data is received and transferred to the compression / expansion unit 38. Further, it incorporates an address counter that counts up in response to a memory access request signal, and outputs a 22-bit memory address indicating a storage location where image data is stored.
[0033]
The code transfer DMAC 37 is configured by a CPU and logic, communicates with the memory control unit 33, receives a command, performs an operation setting according to the command, and transmits status information notifying the state. When a decompression command is received, a memory access request signal is output to the memory control unit 33. When the memory access permission signal is active, image data is received and transferred to the compression / decompression unit 38. Further, it incorporates an address counter that counts up in response to a memory access request signal, and outputs a 22-bit memory address indicating a storage location where image data is stored.
[0034]
The compression / expansion unit 38 is configured by a CPU and logic, communicates with the memory control unit 33, receives a command, sets an operation according to the command, and transmits status information notifying the state. The binary data is processed by the MH encoding method.
[0035]
The HDD controller 35 is configured by a CPU and logic, communicates with the memory control unit 33, receives a command, sets an operation according to the command, and transmits status information notifying the state. The status of the HD 34 is read and data is transferred.
[0036]
The memory control unit 33 is configured by a CPU and logic, communicates with the system control unit 5, receives a command, sets an operation according to the command, and transmits status information notifying the state. The operation commands from the system control unit 5 include image input, image output, compression, decompression, and the like. Image input and image output commands are transmitted to the image input / output DMAC 31, and compression-related commands are transmitted to the image transfer DMAC 36 and code transfer DMAC 37. Are transmitted to the compression / decompression unit 38.
[0037]
The memory control unit 33 has, for example, an internal configuration as shown in FIG. Hereinafter, the function of each block will be described with reference to FIG.
[0038]
The input / output image address counter 33a counts up in response to an input / output memory access request signal from the image input / output DMAC 31, and outputs a 22-bit memory address indicating a storage location where the input / output image data is stored. . At the start of memory access, the address is initialized once.
[0039]
The transfer image address counter 33b is an address counter that counts up according to a transfer memory access permission signal, and outputs a 22-bit memory address indicating a storage location where transfer image data is stored. The address is initialized once at the start of memory access.
[0040]
The difference calculation unit 33c calculates the difference between the number of transfer processing lines output by the compression / decompression unit and the number of input / output processing lines output by the image input / output unit when an image is input.
[0041]
The difference comparison unit 33d compares the number of difference lines output by the difference calculation unit 33c at the time of image input with a set value, outputs an error signal if the number of difference lines = set value, and sets the difference line number to 0. Becomes active, the transfer request mask signal is activated. Otherwise, or when the input / output image is not operating, no active signal is output.
[0042]
The line setting unit 33e sets a setting value used for comparison in the difference comparing unit 33d based on a setting request from the system control unit 5 when the semiconductor memory 32 is used as a buffer memory at the time of image input. Any value can be set.
[0043]
The request mask 33f masks (disables) the transfer memory access request signal for accessing the compression / decompression unit based on the comparison result of the difference comparison unit 33d, and stops the transfer processing.
[0044]
The arbiter 33g outputs a transfer memory access permission signal for accessing the compression / decompression unit based on an input / output memory access signal from the image input / output unit and a transfer memory access request signal input via the request mask 33f.
[0045]
The address selector 33h is a selector selected by the arbiter 33g, and selects either the address of the input image or the address of the transfer image.
[0046]
The access control circuit 33i divides the input physical address into a row address and a column address corresponding to the DRAM, which is the semiconductor memory 32, and outputs the divided addresses to an 11-bit address bus. In addition, it outputs a DRAM control signal (RAS, CAS, WE) in accordance with an access start signal from the arbiter 33g.
[0047]
In the configuration of the memory control unit 33, the memory control unit 33 is initialized by an image input instruction from the system control unit 5, waits for image data, and the scanner of the reading unit 1 operates to store the image in the storage unit 3. The data is entered. The input image data is written into the semiconductor memory 32 once. The number of processing lines of the written image data is counted by the image input / output DMAC 31 and input to the memory control unit 33. The compression / expansion unit 38 outputs the transfer memory access request signal in response to the image transfer command. However, the request signal is masked by the request mask 33f of the memory control unit 33, and the actual memory access is not performed. When one line of input data from the image input / output unit ends, the mask of the transfer memory access request signal is released, the semiconductor memory 32 is read, and the transfer operation of the image data to the compression / decompression unit is started. . Also during operation, the difference calculation unit 33c calculates the difference between the two processing line numbers, and when it becomes 0, masks the transfer memory access request signal so as not to overtake the address.
[0048]
As an overall operation of the storage unit 3, upon input of an image and accumulation of data, image data is written to or read from a predetermined image area of the image memory by the image input / output DMAC 31 according to an instruction from the system control unit 3. At this time, the image input / output DMAC 31 counts the number of image lines.
[0049]
FIG. 6 is a view for explaining the descriptor access operation and the data transfer operation of the image input / output DMAC 31. The image data P in the figure is divided into four bands, and the image data of the number of lines set in each band is transferred.
[0050]
Hereinafter, a procedure for adding the total number of transfer lines in one image will be described. First, when the image input DMAC 31 receives the transfer command, the descriptor 1 is read-accessed to the chain destination address (a) set in advance by the CPU in the internal descriptor storage register, and the contents of the descriptor 1 in the memory are stored in the descriptor storage register 31a. To load. The loaded content is composed of four words, a chain destination address indicating the storage address of the next descriptor, a data storage destination address indicating the transfer destination address of the data to be transferred, and the number of lines of data to be transferred. And the format information indicating whether or not a CPU interrupt is to be generated when the transfer of the set number of lines is completed. In the least significant bit of the format information, a bit indicating whether to generate a CPU interrupt when the set number of lines has been transferred is arranged. 0 generates a CPU interrupt, 1 masks the CPU interrupt.
[0051]
In FIG. 6, one image is divided into four bands, and the least significant bits of the format information of each descriptor are set to 0, 0, 0, 0 in order from 1 to 4. As a result, when the image data transfer of each band is completed, a CPU interrupt is generated, and by the generation of the interrupt, the transfer end timing and the number of lines are detected by adding the number of lines set in each descriptor. It is possible to do.
[0052]
Similarly, when data is transferred from the semiconductor memory 32 to the HD 34 through the compression / decompression device 38 (primary storage device → secondary storage device), the setting of the descriptor of the image transfer DMAC 36 is performed in one band. The number of lines is set and transferred as the number of image lines. At that time, the transfer destination of the code transfer DMAC 37 is set to the HDD controller 35. A storage address is set in the HDD controller 35, and image data can be transferred through the path of the semiconductor memory 32 → the image transfer DMAC 36 → the compression / expansion device 38 → the code transfer DMAC 37 → the HDD controller 35 → HD34. After the end of the data transfer, the HDD controller 35 notifies the HDD controller 35 of the amount of data used when the data is stored in the HD 34, and the HDD management area in which the address stored in the HD 34 and the amount of data used are secured in the primary storage device (semiconductor memory 32). Remember. The memory control unit 33 masks the transfer memory access request so that the transfer of the image data to the compression / expansion unit 38 does not overtake the transfer from the image input / output DMAC 31 (data transfer to the secondary storage device). Controls not to overtake the data transfer of image input.)
[0053]
Conversely, when data is transferred from the HD 34 to the semiconductor memory 32 through the compression / decompression device 38 (secondary storage device → primary storage device), the data is transferred to the HD 34 stored in the HDD management area secured in the primary storage device. The storage address and the used data amount at the time of accumulation are obtained, the storage address is set in the HDD controller 35, the used data amount is set in the code transfer DMAC 37, and the number of expanded lines is set in the image transfer DMAC 36. Image data can be transferred through the path of the HDD controller 35, the code transfer DMAC 37, the compression / expansion unit 38, the image transfer DMAC 36, and the semiconductor memory 32.
[0054]
According to an embodiment of the present invention, in the above-described configuration, a priority specifying unit that specifies a priority of an image signal input / output operation, an input / output operation request receiving unit that receives a request for a plurality of image signal input / output operations, Order control means for determining a processing order based on the respective priorities in response to a request for an image signal input / output operation, and interruption determination means for determining whether or not the input / output operation of the image signal being executed can be interrupted And interruption / resumption control means for controlling interruption / resumption of the image signal input / output operation being executed based on the priority of the image signal input / output operation and the judgment result of the interruption judgment means. These means are provided in the system control unit 5 shown in FIG.
[0055]
The priority designating means is a means for designating the priority of the image signal transfer operation at the time of requesting the execution of the image signal input / output operation. The processing operation will be described with reference to FIG. When a request to execute an input / output operation of an image signal is received, a request to specify a priority by a key input from the operation unit 4 shown in FIG. 1 is accepted (step 100), and the execution of the priority specified by the operation unit 4 is requested. The image signal input / output operation is set (step 101). If the priority designation request has not been received from the operation unit 4, the priority of the image signal input / output operation requested to be executed is set to a default value (step 102).
[0056]
With this priority specifying means, it is possible to specify a priority when making an execution request for an input / output operation of an image signal, and it is possible to determine a priority.
[0057]
Next, a series of processing operations from the order control means to the interruption / resumption control means will be described with reference to FIG. First, when a plurality of image signal input / output operation requests are received (step 110), a process having the highest priority among the received requests is searched (step 111). Next, it is determined whether or not the currently executed process can be interrupted (step 112). If the currently executed process can be interrupted, the priority of the currently executed image signal input / output operation and the received image signal The priority of the input / output operation request is compared (step 113). If the priority of the received image signal input / output operation request is higher than the priority of the processing being executed, the processing being executed is interrupted (step 114), and the received image signal input / output operation request is canceled. The process is executed (step 115), and when the received process is completed, the interrupted process is resumed (step 116). When it is impossible to interrupt the process being executed, or when the priority of the process being executed is higher than the priority of the received process, the process being executed is continued.
[0058]
Next, the processing operation of the input / output operation request receiving means for receiving a plurality of image signal input / output operation requests will be described with reference to FIG. Depending on whether there are a plurality of received image signal input / output operation requests (step 120), if a plurality of requests are received, data is transferred from the primary storage device to the secondary storage device in a plurality of times (step 120). 121). If a plurality of image signal input / output requests have not been received, data transfer is performed once from the primary storage device to the secondary storage device (step 122). It is checked whether a plurality of data transfer requests have been received until the data transfer ends (step 123). As described above, reception of a plurality of processing requests becomes possible by performing divided data transfer.
[0059]
By using a means for acquiring a primary storage area and a means for acquiring a secondary storage area for storing image data subjected to data compression (data conversion) by the compression / expansion unit 38, an arbitrary capacity of each area can be acquired. Also, a fixed capacity can be obtained. In the case of dividing the data transfer, the primary transfer area is secured with a fixed capacity, data is converted by the fixed capacity, and then transferred to the secondary storage area.
[0060]
FIG. 10 shows a processing flow for transferring data in the primary storage area in one data transfer. First, an area for securing all of the compressed capacity of the image data stored in the primary storage device (semiconductor memory 32) is secured in the primary storage device (step 130). Next, data is compressed using the compression / decompression device 38 (step 131), and the compressed image data is stored in the primary storage area secured in step 130 (step 132). After the storage is completed, an area for the capacity after the data compression is secured in the secondary storage device (HD34) (step 133), and the data in the primary storage area is transferred to this secondary storage area (step 134). After the transfer is completed, the area secured in the primary storage device is released (step 135).
[0061]
Next, FIG. 11 shows a processing flow for transferring data in the primary storage area by dividing the data into a plurality of times. First, an area of the primary storage device to be saved after data conversion is secured with a fixed capacity (step 140). Since this area has a fixed capacity, it has no relation with the size after data compression. Next, the data is compressed using the compression / expansion unit 38 (step 141), and the compressed image data is stored in the fixed-capacity primary storage area secured in (step 140) (step 142). Since the data compression may not be completed with the fixed capacity secured at this time, it is necessary to change the processing according to the end response of the compression / expansion unit. In the fixed area secured in the primary storage area, an area corresponding to the used capacity is secured in the secondary storage device (step 143), and the data in the primary storage area is transferred (step 144). After the transfer is completed, it is determined whether or not compression of all data has been completed (step 145). If not completed, the process returns to step 141 to continue the compression process. Here, the data after the data compression is overwritten on the fixed area which has been previously transferred. When the data compression is completed, the secured fixed capacity primary storage area is released (step 146).
[0062]
The selection of the data conversion amount and the storage capacity makes it possible to estimate the data transfer capability from the data transfer speed to the secondary storage device, and the primary data conversion and storage capacity can be selected by the data transfer capability. It is possible to efficiently select the occupancy of the storage area and the secondary storage area.
[0063]
As described above, in the present embodiment, when a plurality of image signal input / output operation requests are received, the processing order is determined according to the priority specified at the time of the input / output operation request, and It is determined whether or not the processing can be interrupted, and if the processing can be interrupted, the interruption / restart control is performed, thereby making it possible to reduce the time required for processing with a higher priority.
[0064]
Further, in the above-described embodiment, the determination as to whether or not the interruption can be performed with respect to the process being executed is determined based on restrictions such as the transfer time and the processing time of each image signal input / output operation. It is also possible to provide a means for specifying whether or not the input / output operation can be interrupted when an execution request is made, and to determine whether or not the input / output operation can be interrupted from this specification information. FIG. 12 shows an operation flow of the designation means for specifying whether the image signal input / output operation can be suspended.
[0065]
In FIG. 12, when an execution request for an image signal input / output operation is received, a designation as to whether or not the image signal transfer operation can be interrupted by a key input from the operation unit 4 is accepted (step 150). The setting is performed (step 151). If there is no designation input from the operation unit 4, the interruption of the image signal input / output operation is set to be impossible (step 152).
[0066]
As a result, it is possible to specify whether or not the process being executed can be interrupted, and it can be determined whether or not the process can be interrupted.
[0067]
Further, a means for selecting whether or not to perform the processing based on the priority as shown in FIG. 8 may be provided for the above embodiment. FIG. 13 shows an operation flow of this priority processing selection means.
[0068]
In FIG. 13, when an execution request of an image signal input / output operation is received, a priority processing request is accepted from the operation unit 4 (step 160), and a request for performing control based on the priority by a key input of the operation unit 4 is received. Is received, the control of execution / interruption / resumption of the image signal input / output operation based on the priority is enabled (step 161). If the priority processing request is not received, the control based on the priority is invalidated (step 162).
[0069]
By providing such priority processing selection means and enabling / disabling the order control based on the priority, processing can be performed as needed.
[0070]
【The invention's effect】
As described above, according to the first aspect of the present invention, by providing the priority designation means, a series of image input / output operations can be efficiently processed, and the productivity of the image forming apparatus can be relatively easily reduced. Can be enhanced.
[0071]
According to the second aspect of the present invention, by providing the order control means and the interruption / resumption control means based on the priority, even if the data transfer processing may not be completed within a predetermined processing time if they are executed simultaneously, By controlling the execution order and suspending / resuming the operation being executed based on the designated priority, a plurality of image signal input / output operations can be efficiently processed as requested.
[0072]
According to the third aspect of the present invention, by providing the priority processing selection means, when the control based on the priority is unnecessary, the processing related to this control can be omitted, and the image input / output operation can be performed with the optimal control. Processing can be performed more efficiently.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an overall configuration of a digital copying machine according to an embodiment of an image forming apparatus of the present invention.
FIG. 2 is a top view of a platen of a reading unit in FIG. 1;
FIG. 3 is a timing chart showing transfer timings of an image synchronization signal and image data.
FIG. 4 is a block diagram illustrating a configuration of a storage unit in FIG. 1;
FIG. 5 is a block diagram illustrating a configuration of a memory control unit in FIG. 2;
FIG. 6 is a diagram for explaining a data transfer method of an image input / output DMAC; FIG. 7 is a flowchart showing a processing operation of a priority designation unit;
FIG. 8 is a flowchart showing processing operations of an order control unit and an interruption / resumption control unit.
FIG. 9 is a flowchart showing a processing operation of a means for receiving a request for a plurality of image signal input / output operations.
FIG. 10 is a flowchart illustrating a process of collectively transferring image data from a primary storage area to a secondary storage area.
FIG. 11 is a flowchart showing processing for dividing and transferring image data from a primary storage area to a secondary storage area.
FIG. 12 is a flowchart illustrating a processing operation of a designation unit for determining whether or not the image signal input / output operation can be interrupted;
FIG. 13 is a flowchart showing a processing operation of a priority processing selection means.
[Explanation of symbols]
11 Platen 17 Charge Charge 18 Photoconductor 19 Developing Device 21 Feed Tray 25 Fixing Device 31a Descriptor Storage Register

Claims (3)

画像入力手段と、画像出力手段と、画像入力手段から入力された画像信号を1次記憶部に記憶し、この1次記憶部に記憶された画像信号を2次記憶部に保存する手段と、2次記憶部に保存された画像信号を読み出して1次記憶部に記憶し、この1次記憶部に記憶された画像信号を画像出力手段に出力する手段とを有する画像形成装置において、画像信号の入出力動作要求ごとにその優先度を指定する手段を備えたことを特徴とする画像形成装置。An image input unit, an image output unit, an image signal input from the image input unit, stored in a primary storage unit, and an image signal stored in the primary storage unit stored in a secondary storage unit; Reading an image signal stored in the secondary storage unit, storing the read image signal in the primary storage unit, and outputting the image signal stored in the primary storage unit to image output means. An image forming apparatus comprising means for designating the priority of each input / output operation request. 複数の画像信号入出力動作の要求を受付ける手段と、
複数の画像信号入出力動作の要求に対して、それぞれ指定された優先度に基づいて処理順序を決定する順序制御手段と、
この順序制御手段で決定された処理順序が1番の画像信号入出力動作の優先度が実行中の画像信号入出力動作の優先度より高く、かつ実行中の画像信号入出力動作の中断が可能であるとき、この実行中の画像信号入出力動作を中断して、前記処理順序が1番の画像信号入出力動作を開始し、この画像信号入出力動作の終了後、中断した画像信号入出力動作を再開する中断/再開制御手段と
を備えたことを特徴とする請求項1記載の画像形成装置。
Means for receiving a plurality of image signal input / output operation requests;
An order control unit that determines a processing order based on a specified priority for each of a plurality of image signal input / output operation requests,
The priority of the image signal input / output operation whose processing order is determined by this order control means is higher than the priority of the image signal input / output operation being executed, and the image signal input / output operation being executed can be interrupted. In this case, the currently executed image signal input / output operation is interrupted, the image signal input / output operation having the first processing order is started, and after the completion of the image signal input / output operation, the interrupted image signal input / output operation is completed. 2. The image forming apparatus according to claim 1, further comprising an interruption / resumption control unit that resumes the operation.
前記順序制御手段および中断/再開制御手段による制御を行うか否かを選択する手段を備えたことを特徴とする請求項2記載の画像形成装置。3. The image forming apparatus according to claim 2, further comprising: means for selecting whether to perform control by the sequence control means and the interruption / resumption control means.
JP2002272402A 2002-09-19 2002-09-19 Image forming device Pending JP2004112363A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002272402A JP2004112363A (en) 2002-09-19 2002-09-19 Image forming device
US10/663,783 US7185151B2 (en) 2002-09-19 2003-09-17 Data processing device characterized in its data transfer method, program for executing on a computer to perform functions of the device, and computer readable recording medium storing such a program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002272402A JP2004112363A (en) 2002-09-19 2002-09-19 Image forming device

Publications (1)

Publication Number Publication Date
JP2004112363A true JP2004112363A (en) 2004-04-08

Family

ID=32269423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002272402A Pending JP2004112363A (en) 2002-09-19 2002-09-19 Image forming device

Country Status (1)

Country Link
JP (1) JP2004112363A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940412B2 (en) 2006-02-08 2011-05-10 Kyocera Mita Corporation Image forming apparatus with job interruption handling

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7940412B2 (en) 2006-02-08 2011-05-10 Kyocera Mita Corporation Image forming apparatus with job interruption handling

Similar Documents

Publication Publication Date Title
US7185151B2 (en) Data processing device characterized in its data transfer method, program for executing on a computer to perform functions of the device, and computer readable recording medium storing such a program
JP2002140286A (en) Information processing device and dma transfer method
JP3967074B2 (en) Image processing apparatus and image forming apparatus
JP2004112363A (en) Image forming device
JP4359047B2 (en) Image forming apparatus
JP3903464B2 (en) Image forming apparatus, image signal input processing method and output processing method
JP3932275B2 (en) Image input / output device
JP2002140288A (en) Information processing device and dma transfer method
JP2004222090A (en) Image forming apparatus
JP4061200B2 (en) Image forming system and image forming apparatus
JP4253138B2 (en) Image forming apparatus
JP2004104447A (en) Image forming apparatus
JP2004112362A (en) Image forming apparatus
JP4197916B2 (en) Data processing apparatus, data processing method, data processing program, and recording medium
JP2005079646A (en) Image forming apparatus
JP4133394B2 (en) Image forming apparatus
JP4076224B2 (en) Image forming apparatus
JP2004040585A (en) Image processing apparatus and image forming apparatus
JP2003179732A (en) Image processor
JP2004080135A (en) Image processing apparatus
JP2004104670A (en) Image forming device
JP2003341156A (en) Imaging apparatus, memory controlling method
JP2003198815A (en) Image processing apparatus
JP2004040489A (en) Image forming device
JP2000069257A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061211

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070116