JP2004096253A - Iamge forming method and apparatus there of - Google Patents

Iamge forming method and apparatus there of Download PDF

Info

Publication number
JP2004096253A
JP2004096253A JP2002252079A JP2002252079A JP2004096253A JP 2004096253 A JP2004096253 A JP 2004096253A JP 2002252079 A JP2002252079 A JP 2002252079A JP 2002252079 A JP2002252079 A JP 2002252079A JP 2004096253 A JP2004096253 A JP 2004096253A
Authority
JP
Japan
Prior art keywords
processing
image forming
image
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
JP2002252079A
Other languages
Japanese (ja)
Inventor
Yasushi Miyake
三宅 耕史
Hiroyuki Ishikura
石倉 裕之
Seiichi Tanaka
田中 精一
Kazuhiro Mizuide
水出 一弘
Hirotsugu Inoue
井上 博嗣
Hitoshi Sato
佐藤 仁
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2002252079A priority Critical patent/JP2004096253A/en
Publication of JP2004096253A publication Critical patent/JP2004096253A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively process images and make an image forming process at a high speed by scheduling received process requests. <P>SOLUTION: A scheduler comprises a queue manager 51, a scheduling unit 52, an HW process setting/executing unit 53 and a scheduling table manager 54. The queue manager 51 receives a process request from a task requesting am HW turn process, and the scheduling unit 52 selects a scheduling table suited to printing conditions received from an operating unit, etc. among scheduling tables stored in the table manager 54. Based on the executing order of tasks prescribed in the selected scheduling table, it increments a parameter (k) showing the executing number of the task to select the tasks in the HW turn processing unit in the order starting from the first task, and the HW process setting/executing unit 53 sets the conditions of the HW turn process in the task and executes it. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像形成方法、及び画像形成装置に関し、特にプリンタ、複写機、及びファクシミリ通信装置等の画像形成装置に関する。
【0002】
【従来の技術】
特開2001−334648号公報に開示されているように、近年、画像形成装置としての機能に加えて、スキャナ及びモデムを備えることにより複写機及びファクシミリ通信装置としての機能を備えた複合機が実用化されている。このような複合機には、スキャナにより取得した画像方向が記録シートの画像形成方向と不一致の場合に、画像データを回転して画像を形成する回転処理機能、スキャナにより取得した画像に対して、画像の左右方向を反転して画像を形成するミラー処理機能、及び複数の画像を一枚の記録シートに形成するNin1処理機能等が備えられており、種々の画像形成を可能にするとともに、画像形成時における給シート方向の間違い等の初歩的なエラーを自動的に修正処理させることが可能となり、利用者に対して便利で優しい処理機能を実現している。
【0003】
【発明が解決しようとする課題】
しかしながら、前述した処理機能は、複合機が備える画像処理LSIを用いて、汎用的な処理であるソフトウエア(以下、SWという)処理により実現しているため、画像データ量が大きくなるに伴って処理数が増大し、SW処理の負荷が増大するという問題があった。
【0004】
また、画像形成部であるインクジェットプリンタが回転処理機能及びミラー処理機能をハードウエア(以下、HWという)処理できるように構成されていたとしても、スキャナから読み取った画像データを画像処理(回転処理及びミラー処理等)する場合、前記HW処理ではなくSW処理による画像処理を行うため、スキャナによるSW処理が終了するまで画像形成処理を待機させる必要があり、画像形成処理の処理時間を無駄に浪費し、処理効率が低いという問題があった。
【0005】
更に、スキャナによる画像処理の一部を、インクジェットプリンタに備えられたHW処理によって実行することにより、スキャナによるSW処理の負荷を軽減し、画像処理を高速化する方法も考えられるが、HW処理は一度に一の処理(シングルタスク)しか実行することができず、複数のタスクがHW処理を要求すると、一のタスクにより他のタスクが待機させられ、全体の処理時間が長くなる虞があった。
【0006】
本発明は斯かる事情に鑑みてなされたものであり、画像データに画像処理を行う画像データ処理手段及び画像データから画像形成用データを生成処理する画像形成データ生成処理手段から受け付けた、高速処理可能なHW処理手段における処理の要求に対してスケジューリングを行うことにより、HW処理手段における処理を効率良く処理し、HW処理による処理の高速化の利点を発揮して画像形成処理を高速化することができる画像形成方法及び画像形成装置の提供を主たる目的とする。
【0007】
また本発明は、画像データ処理手段及び画像形成データ生成処理手段から受け付けたHW処理手段における処理要求頻度が、画像形成条件によって大きく異なるため、画像形成条件毎に最適なスケジューリングができるようにすることにより、画像形成処理を効率良く処理し、画像形成処理を高速化することができる画像形成方法及び画像形成装置の提供を目的とする。
【0008】
更に本発明は、スケジューリングテーブルを用いて、画像データ処理手段及び画像形成データ生成処理手段から受け付けたHW処理手段における処理の実行順序を決定することにより、予め想定した条件に対して効率的な処理ができるようにスケジューリングテーブルを規定することができ、画像形成処理を効率良く処理し、画像形成処理を高速化することができる画像形成方法及び画像形成装置の提供を目的とする。
【0009】
【課題を解決するための手段】
本発明に係る画像形成方法は、画像データに対する画像形成処理の条件を受け付け、受け付けた条件に基づいて、画像データ処理手段にて画像データに画像処理を行い、画像形成データ生成処理手段にて画像データから画像形成用データを生成処理し、生成処理された画像形成用データに基づいて記録シートに画像を形成する画像形成装置の画像形成方法において、前記画像形成装置は、画像データに特定の処理を行うハードウエア処理手段を備え、前記画像データ処理手段及び前記画像形成データ生成処理手段にて前記特定の処理を行う際に、前記ハードウエア処理手段にて処理をすべく、前記画像データ処理手段及び前記画像形成データ生成処理手段から処理要求を受け付け、受け付けた処理要求を待ち行列として夫々管理し、受け付けた画像形成処理の条件に基づいて、管理されている待ち行列の内、前記画像データ処理手段又は前記画像形成データ生成処理手段のいずれの処理を前記ハードウエア処理手段にて実行するかを決定することを特徴とする。
【0010】
このような本発明の画像形成方法にあっては、画像データに画像処理を行う画像データ処理手段及び画像データから画像形成用データを生成処理する画像形成データ生成処理手段にて特定の処理をする際に、その特定の処理が可能なHW処理手段にて処理することとし、画像データ処理手段及び画像形成データ生成処理手段から受け付けたHW処理手段における処理要求に対して二系統の待ち行列で管理し、いずれの処理を実行すべきであるかを、受け付けた画像形成条件により決定することにより、画像データ処理手段及び画像形成データ生成処理手段からの処理要求を効率良く処理することができる。
【0011】
また本発明に係る画像形成方法においては、前記画像形成装置に、処理の実行順序を規定した複数のスケジューリングテーブルを予め記憶しておき、前記複数のスケジューリングテーブルから一のスケジューリングテーブルを選択することにより、処理の実行順序を決定することを特徴とする。
【0012】
このような本発明の画像形成方法にあっては、スケジューリングテーブルを用いて、HW処理手段における画像データ処理手段及び画像形成データ生成処理手段からの処理要求の実行順序を決定することにより、予め想定した効率的な処理ができるようにスケジューリングテーブルを規定することができる。また、受け付けられた画像形成処理の条件に基づいて、複数のスケジューリングテーブルから一のスケジューリングテーブルを選択することにより、画像形成処理の条件に対して最適化されたスケジューリングテーブルに基づく処理を実行し、処理効率が最適な処理を行うことができる。
【0013】
本発明に係る画像形成装置は、画像データに対する画像形成処理の条件を受け付ける処理条件受付手段と、受け付けた画像形成処理の条件に基づいて、画像データに画像処理を行う画像データ処理手段と、画像データから画像形成用データを生成処理する画像形成データ生成処理手段とを備え、生成処理された画像形成用データに基づいて記録シートに画像を形成する構成とした画像形成装置において、画像データに特定の処理を行うハードウエア処理手段と、前記画像データ処理手段及び前記画像形成データ生成処理手段にて前記特定の処理を行う際に、前記ハードウエア処理手段にて処理をすべく、前記画像データ処理手段及び前記画像形成データ生成処理手段から処理要求を受け付け、待ち行列として夫々管理する処理要求管理手段と、前記処理条件受付手段にて受け付けられた画像形成処理の条件に基づいて、該処理要求管理手段にて管理されている待ち行列の内、前記画像データ処理手段又は前記画像形成データ生成処理手段のいずれの処理を前記ハードウエア処理手段にて実行するかを決定するスケジューリング手段とを備えることを特徴とする。
【0014】
このような本発明の画像形成装置にあっては、画像データに画像処理を行う画像データ処理手段及び画像データから画像形成用データを生成処理する画像形成データ生成処理手段にて特定の処理をする際に、その特定の処理が可能なHW処理手段にて処理することとし、処理要求管理手段にて、画像データ処理手段及び画像形成データ生成処理手段から処理要求を受け付けて、二系統の待ち行列で管理し、スケジューリング手段にて、いずれの処理を実行すべきであるかを受け付けた画像形成条件により決定することにより、画像データ処理手段及び画像形成データ生成処理手段からの処理要求を効率良く処理することができる。
【0015】
また本発明に係る画像形成装置においては、前記スケジューリング手段は、処理の実行順序を規定した複数のスケジューリングテーブルを予め記憶する手段と、前記複数のスケジューリングテーブルから一のスケジューリングテーブルを選択する手段とを備えることを特徴とする。
【0016】
このような本発明の画像形成装置にあっては、スケジューリング手段が、スケジューリングテーブルを用いて、HW処理手段における画像データ処理手段及び画像形成データ生成処理手段からの処理要求の実行順序を決定することにより、予め想定した効率的な処理ができるようにスケジューリングテーブルを規定することができる。また、スケジューリング手段が、受け付けられた画像形成処理の条件に基づいて、複数のスケジューリングテーブルから一のスケジューリングテーブルを選択することにより、画像形成処理の条件に対して最適化されたスケジューリングテーブルに基づく処理を実行し、処理効率が最適な処理を行うことができる。
【0017】
また本発明に係る画像形成装置においては、前記処理条件受付手段は、画像形成処理の条件として画像解像度により分類された複数の画像形成モードを含むことを特徴とする。
【0018】
このような本発明の画像形成装置にあっては、スケジューリング手段による処理を行う際に、その処理速度に大きな影響を及ぼす画像解像度により分類された画像形成モードに対して、予め画像形成モード毎に最適なスケジューリングテーブルを記憶しておき、画像形成処理の条件に基づいて最適なスケジューリングテーブルを選択することにより、処理効率が最適な処理を行うことができる。
【0019】
また本発明に係る画像形成装置においては、原稿に記載された画像を読み取り、画像データに変換する読取手段を備え、前記処理条件受付手段は、画像形成処理の条件として前記読取手段の読み取り条件を含むことを特徴とする。
【0020】
このような本発明の画像形成装置にあっては、読取手段により画像を読み取る処理を行う際に、その処理速度に大きな影響を及ぼす読取手段の読み取り条件に対して、予め読取手段の読み取り条件毎に最適なスケジューリングテーブルを記憶しておき、画像形成処理の条件に基づいて最適なスケジューリングテーブルを選択することにより、処理効率が最適な処理を行うことができる。
【0021】
また本発明に係る画像形成装置においては、前記スケジューリング手段は、前記ハードウエア処理手段による処理の際に、該処理の時刻と前記処理要求管理手段にて処理要求を受け付けた時刻とから実行待機時間を検出する手段と、検出した実行待機時間が予め設定された上限値を超過しているか否かを判定する手段と、該手段にて、前記実行待機時間が前記上限値を超過していると判定された場合に、スケジューリングテーブルを切り替えるテーブル切替手段とを備えることを特徴とする。
【0022】
このような本発明の画像形成装置にあっては、画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段による処理の実行待機時間を検出し、検出した実行待機時間が予め設定された上限値を超過しているか否かを判定し、超過していると判定された場合にスケジューリングテーブルを切り替えることにより、HW処理における実行待機時間が予め設定した上限値以下となるよう画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段における処理の実行順序を変更し、実行待機時間を減少させることができる。
【0023】
また本発明に係る画像形成装置においては、前記スケジューリング手段は、前記処理要求管理手段にて管理されている待ち行列の登録数を検出する手段と、検出した登録数が予め設定された上限値を超過しているか否かを判定する手段と、該手段にて、前記登録数が前記上限値を超過していると判定された場合に、スケジューリングテーブルを切り替えるテーブル切替手段とを備えることを特徴とする。
【0024】
このような本発明の画像形成装置にあっては、画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段による処理の登録数(待ち行列数)を検出し、検出した登録数が予め設定された上限値を超過しているか否かを判定し、超過していると判定された場合にスケジューリングテーブルを切り替えることにより、HW処理における処理の登録数が予め設定した上限値以下となるよう画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段における処理の実行順序を変更し、処理の登録数を減少させることができる。
【0025】
また本発明に係る画像形成装置においては、前記スケジューリング手段は、前記テーブル切替手段にて、切り替え可能なスケジューリングテーブルが存在しない場合に、前記ハードウエア処理手段にて処理される画像データのデータ量を変更する手段を備えることを特徴とする。
【0026】
このような本発明の画像形成装置にあっては、テーブル切替手段にて、切り替え可能なスケジューリングテーブルが存在しない場合に、HW処理手段にて処理される画像データのデータ量を変更することにより、HW処理手段における処理のデータ量を減少させ、一の処理に要する時間を短縮することができる。
【0027】
【発明の実施の形態】
以下、本発明をその実施の形態を示す図面に基づいて詳述する。
図1は、本発明の画像形成装置の一例である複合型インクジェットプリンタの外観を示す斜視図である。図中1は、複合型インクジェットプリンタであり、インクジェット方式により記録シートに画像を画像形成(以下、印刷という)するプリンタ本体2上にスキャナ3が配置されている。
【0028】
プリンタ本体2は、同図矢印8に示すように、記録シート収納部4内に収納されている記録シートを1枚ずつ取り出し、取り出した記録シートを印刷部5により印刷処理し、印刷された記録シートを排シート口6から排シートトレイ7上に排出する。
【0029】
スキャナ3は、上部に原稿カバー32及びプラテンガラス33を備えており、原稿カバー32により外部光を遮光し、プラテンガラス33上にセットされた原稿に記載された画像及び文字等をデジタルデータである画像データとして取り込む機能を備えた後述する光学ユニット等によって画像を取り込む。
【0030】
図2は、図1の複合型インクジェットプリンタ1を右側面から見た断面図であり、図3は、図1の印刷部5を正面から見た断面図である。記録シート収納部4内の下部に備えられた給シートカセット11上に積層して収納されている記録シート12は、その上面に接したピックアップローラ13によって1枚ずつ取り出され、上下一対の給シートローラ14及びU字状の記録シート搬送路15を介して印刷部5へ搬送される。なお、印刷部5の直前には、上下一対のPSローラ16が備えられており、PSローラ16は、記録シート12の印刷部5に対する斜行調整及びタイミング調整を行う。
【0031】
印刷部5へ搬送された記録シート12は、印刷部5が備えるキャリッジ17に搭載された印刷ヘッド17aにより印刷処理が行われる。
【0032】
キャリッジ17は、プリンタ本体2の奥行方向(図2の左右方向)に伸縮可能な一対の案内シャフト18によって支持されており、案内シャフト18により主走査方向(図2の左右方向)19に変位できるように構成されており、加えて、キャリッジ17は、一対のプーリ20及び21間に巻掛けられたタイミングベルト22の一点と固着されており、一方のプーリ20がモータ23で駆動されることにより、主走査方向19の所定位置に変位駆動される。
【0033】
印刷部5には、記録シート12を背面から支持するプラテン24が備えられており、記録シート12は、プラテン24により主走査方向19に変位する印刷ヘッド17aと対向して搬送され、印刷ヘッド17aにより所定の画像が印刷される。
【0034】
印刷部5の直後には、スターローラ25及び排シートローラ26が備えられており、印刷された記録シート12は、スターローラ25及び排シートローラ26に挟持されて排シートトレイ7上に排出される。
【0035】
一方、スキャナ3は、光学ユニット31、原稿カバー32、及びプラテンガラス33を備えており、光学ユニット31が副走査方向(図2の左右方向)34に変位することにより、プラテンガラス33上にセットされた原稿画像をライン順次に読み込む。
【0036】
光学ユニット31は、光源35、第1ミラー36、第2ミラー37、第3ミラー38、結像レンズ39、及びCCD(Charge Coupled Device)ユニット40等を備えており、前述したキャリッジ17と同様に、図示しない案内シャフトによって副走査方向34に変位自在に支持されており、タイミングベルト等により駆動される。
【0037】
図4は、本発明の画像形成装置の一例である複合型インクジェットプリンタ1の構成を示すブロック図である。図中42は、CPU(Central Proccessing Unit)42aを備えた制御部であり、制御部42はスキャナ3及び画像処理部46を制御する機能を備えており、ホストとなる操作部45等により印刷(コピー)の指示を受け付けると、スキャナ3に対して制御情報を出力し、スキャナ3に画像の読取処理を命令し、また画像処理部46に対して制御情報を出力し、画像処理部46に所定の画像処理を命令する。
【0038】
スキャナ3は、受け取った制御情報に基づいて光学ユニット31の走査を開始し、光学ユニット31が備えるCCDユニット40によって画像を読み取り、読み取って得られた画像データをメモリ43に記憶する。
【0039】
画像処理部46は、画像データ処理手段として機能する画像データ処理部46a及び画像形成データ生成処理手段として機能する印刷データ生成処理部46bを備えており、画像データ処理部46aは、操作部45等から受け付けた印刷条件に基づいてメモリ43にアクセスして画像データを画像処理し、印刷データ生成処理部46bは、画像データ処理部46aにより処理された画像データを印刷用データに変換し、メモリ43に記憶する。
【0040】
画像データ処理部46a及び印刷データ生成処理部46bは、スキャナ3にセットされた原稿のスキャン方向が、記録シート収納部4内の給シートカセット11に収納された記録シート12の搬送方向と一致せず、画像データを回転する画像処理が必要である場合には、HW処理手段として機能するHW回転処理部47にてHW処理による回転処理(以下、HW回転処理という)を行う。
【0041】
HW回転処理部47においてHW回転処理を行うに際しては、画像データ処理部46a及び印刷データ生成処理部46bは、まずHW回転処理の処理要求を、スケジューラ部48へ出力し、処理要求を受け取ったスケジューラ部48は、後述するスケジューリングテーブルに基づいてHW回転処理の管理を行うことで、HW回転処理部47における処理を効率的に運用し印刷処理時間を短縮する。
【0042】
画像処理部46にて生成処理された印刷用データが1ライン分のデータを蓄積した際に、制御情報及び印刷用データを印刷部5へ出力し、印刷用データを受け取った印刷部5は、制御情報に基づいてキャリッジ17の走査を開始する。
【0043】
図5は、本発明の画像形成装置が備えるスケジューラ部48の構成を示すブロック図である。スケジューラ部48は、処理要求管理手段として機能するキュー管理部51、スケジューリング手段として機能するスケジューリング部52、HW処理設定/実行部53、及びスケジューリングテーブル管理部54を備えており、キュー管理部51は、HW回転処理部47によるHW回転処理を要求するタスクから処理要求(キュー)を受け付け(キューイング)、スケジューリング部52は、スケジューリングテーブル管理部54に予め記憶された複数のスケジューリングテーブルから、操作部45等により受け付けた印刷条件、例えば、スキャン解像度及び印刷モード等の印刷条件に適したスケジューリングテーブルを選択する。
【0044】
スケジューリングテーブルは、図6に示すように、タスクの実行順序を規定した構成(TABLEi(i=1,2,…,11),i:テーブル番号)としており、タスクAは画像データ処理部46aから処理要求を受け付けた画像データ処理タスク、タスクBは印刷データ生成処理部46bから処理要求を受け付けた印刷データ生成処理タスクを示す。例えば、TABLE1は、実行順1にタスクA、実行順2にタスクB、実行順3にタスクB、実行順4にタスクB、及び実行順5にタスクBを実行すべく規定したスケジューリングテーブルであり、スケジューリング部52がこのTABLE1を選択した場合には、タスクA、タスクB、タスクB、タスクB、及びタスクBがこの順序にて実行される。タスクA及びタスクBのキュー実行順としては、キュー管理部51が受け付けた時間順にタスクを実行するFIFO(First In First Out)形式であり、タスクAに関しては、キューA1、キューA2、…をこの順序にて実行し、タスクBに関しては、キューB1、キューB2、…をこの順序にて実行する。従って、キュー管理部51は、キューA1、キューB1、キューB2、キューB3、及びキューB4の順にタスクを実行する。
【0045】
なお、TABLE6は、タスクAとタスクBとを交互に実行するスケジューリングテーブルであり、画像データ処理と印刷データ生成処理とが均等に実行されるモードである。TABLE3は、タスクAが1タスク実行するのに対して、タスクBが2タスク実行するスケジューリングテーブルであり、画像データ処理より印刷データ生成処理が優先して実行されるモードである。TABLE9は、タスクBが1タスク実行するのに対して、タスクAが2タスク実行するスケジューリングテーブルであり、印刷データ生成処理より画像データ処理が優先して実行されるモードである。
【0046】
従って、スケジューリングテーブルの選択方法については、例えば、画像解像度が低く、キャリッジ17の移動速度が速いドラフト印刷モードの場合は、印刷データ生成処理部46bからのHW回転処理の処理要求が頻繁に発生するため、印刷データ生成処理であるタスクBからの処理要求を優先的に処理するスケジューリングテーブルを用いる方が効率良く処理でき、デフォルトのスケジューリングテーブルとしてTABLE3を選択する。
【0047】
一方、画像解像度が高く、キャリッジ17の移動速度が遅いファイン印刷モードの場合は、画像データ処理に対する処理負荷が増大するため、画像データ処理であるタスクAからの処理要求を優先的に処理するスケジューリングテーブルを用いる方が効率良く処理でき、デフォルトのスケジューリングテーブルとしてTABLE9を選択する。
【0048】
また、TABLEiを選択した状態で、スキャナ3の読取条件によりTABLE選択の補正を行うことも可能である。画像データ処理の処理負荷が増大する読取条件、例えば、スキャナ3の解像度を高解像度とする等の読取条件を設定した場合は、スケジューリングテーブルを図5矢印bの方向にシフトする。即ちTABLEiのiをインクリメントして、画像データ処理部46aからの処理要求を優先的に処理するスケジューリングテーブルに切り替る。一方、画像データ処理の処理負荷が減少する読取条件、例えば、スキャナ3の解像度を低解像度とする等の読取条件を設定した場合は、スケジューリングテーブルを同図矢印aの方向にシフトする。即ちTABLEiのiをディクリメントして、印刷データ生成処理部46bからの処理要求を優先的に処理するスケジューリングテーブルに切り替える。
【0049】
更に、実際の画像データ処理タスク及び印刷データ生成処理タスクの実行待機時間を検出し、いずれかのタスクが遅延していると判定した場合には、デフォルトのスケジューリングテーブルから、遅延しているタスクの処理要求を優先的に処理すべく規定されたスケジューリングテーブルにシフトすることにより、効率的な処理が可能となる。
【0050】
スケジューリング部52は、スケジューリングテーブルが規定したタスクの実行順序に基づいて、1番目のタスクから順に、実行番号を示す変数kをインクリメントして処理すべきタスクを選択し、HW処理設定/実行部53においてタスクのHW回転処理の条件を設定し、HW回転処理部47にてHW回転処理を実行する。
【0051】
なお、変数kがスケジューリングテーブルの最終番号(同図においては、”実行順5”である)となった場合は、再度スケジューリングテーブルの開始番号、即ち”実行順1”に戻りタスクの選択を行うことで、キューイングされているタスクが、スケジューリングテーブルに規定されているタスク数より多い場合でも効率的な運用ができる。
【0052】
また、スケジューリングテーブルにおいて変数kにて選択したタスクに実行権が移行されたにもかかわらず、タスクからのHW回転処理の処理要求がない場合は、そのタスクについては実行せず、変数kをインクリメントして次の実行番号のタスクを実行することにより効率的な処理が可能である。
【0053】
本発明の意義は、操作部45等から受け付けた印刷条件に基づいて、スケジューリングテーブル管理部54からスケジューリングテーブルを選択することにより、受け付けた印刷条件における最適なHW回転処理のスケジューリングを行うことにある。
【0054】
図7は、本発明の画像形成装置が行う画像形成処理の手順を示すフローチャートである。複写すべき原稿がプラテンガラス33上にセット(S61)され、印刷条件が操作部45等により選択(S62)されると、S62にて選択された印刷条件に基づいて、スキャナ3にセットされた原稿のスキャン方向が記録シート12の搬送方向と一致せず、印刷時にHW回転処理が必要であるか否かを判定(S63)する。
【0055】
S63にて、HW回転処理が必要であると判定(S63:YES)された場合は、画像データ処理部46a及び印刷データ生成処理部46bにて処理を行うのではなく、HW回転処理部47にて処理を行うため、S62にて選択された印刷条件に適したスケジューリングテーブルをスケジューリングテーブル管理部54から選択して、スケジューリング部52のスケジューリングテーブルとして設定(S64)する。
【0056】
操作部45から印刷動作の開始指示が入力(S65)されると、スキャナ3から画像を読み取って画像データに変換し、印刷動作が開始(S66)される。スキャナ3から読み取られた画像データにγ補正、シェーディング、及びフィルタリング等の画像処理が設定された場合、並びに、S62にて選択された印刷条件において、ミラー処理及びNin1処理等の画像処理(特殊機能処理)が設定された場合には、その設定に対応する画像処理を画像データ処理部46aにて実行(S67)する。ただし、回転を必要とする画像データの画像処理(回転処理)については、画像データ処理部46aではなくHW回転処理部47にて処理を行う。
【0057】
次に、詳細は後述するが、スケジューラ部48のキュー管理部51に対して、HW回転処理の処理要求を行い、画像のHW回転処理を実行するスケジューラ処理(S68)を行う。
【0058】
画像処理、特殊機能処理、並びにHW回転処理が完了した画像データから色空間変換処理、誤差拡散処理、及びディザ処理等の画像処理を行い印刷用データを生成処理(S69)し、印刷用データの各印刷ヘッドノズルへのデータ配置の高速化のために、再度スケジューラ処理(S70)を行う。即ち、スケジューラ部48のキュー管理部51に対して、再度HW回転処理の処理要求を行い、画像のHW回転処理を実行する。
【0059】
そして、印刷が終了したか否かを判定(S71)し、印刷が終了したと判定(S71:YES)された場合は処理を終了し、印刷が終了していないと判定(S71:NO)された場合はS67に戻り、S67からS70までの処理を再度実行する。
【0060】
一方、S63にて、HW回転処理が必要でないと判定(S63:NO)された場合は、画像データ処理部46aのタスクがHW回転処理を利用する必要がないため、操作部45から印刷動作の開始指示が入力(S72)されると、スキャナ3から画像を読み取って画像データに変換し、印刷動作が開始(S73)される。スキャナ3から読み取られた画像データにγ補正、シェーディング、及びフィルタリング等の画像処理が設定された場合、並びに、S62にて選択された印刷条件において、ミラー処理及びNin1処理等の画像処理(特殊機能処理)が設定された場合には、その設定に対応する画像処理を画像データ処理部46aにて実行(S74)する。
【0061】
画像処理、特殊機能処理が完了した画像データから色空間変換処理、誤差拡散処理、及びディザ処理等の画像処理を行い印刷用データを生成処理(S75)し、印刷用データの各印刷ヘッドノズルへのデータ配置の高速化のために、HW回転処理部47にてHW回転処理を実行(S76)する。
【0062】
そして、印刷が終了したか否かを判定(S77)し、印刷が終了したと判定(S77:YES)された場合は処理を終了し、印刷が終了していないと判定(S77:NO)された場合はS74に戻り、S74からS76までの処理を再度実行する。
【0063】
図8、図9、及び図10は、本発明の画像形成装置が行うスケジューラ処理の手順を示すフローチャートである。画像データ処理部46a及び印刷データ生成処理部46bから受け付けたタスクの実行待機時間を検出(S81)し、効率的にタスクを実行できるようにスケジューリングテーブルの切り替えが必要であるか否かを判定する。例えば、実行待機時間は、タスクを受け付けた時刻と現在時刻との時間差を算出すればよい。
【0064】
スケジューリングテーブルの切り替え条件を詳細に説明すれば、例えば、本実施の形態では、実行待機時間がテーブル切替閾値である上限時間(例えば、キャリッジ17の移動所要時間(走査時間)+αの時間)を超過しているか否かを判定(S82)する。そして、S82にて、実行待機時間が上限時間を超過していると判定(S82:YES)された場合には、選択しているスケジューリングテーブルでのHW回転処理の実行回数をカウントするHW回転処理カウンタの数値jが、予め設定したカウンタ上限値(例えば、数値”10”)を超過しているか否かを判定(S83)する。更に、S83にて、HW回転処理カウンタの数値jがカウンタ上限値を超過していると判定(S83:YES)された場合には、テーブル切替不可フラグが設定されているか否かを判定(S84)する。S84にて、テーブル切替不可フラグが設定されていないと判定(S84:NO)された場合には、スケジューリングテーブルの切り替えが必要であると判定されたことになる。
【0065】
一方、S82にて実行待機時間が上限時間を超過していないと判定(S82:NO)された場合、S83にてHW回転処理カウンタの数値jがカウンタ上限値を超過していないと判定(S83:NO)された場合、又は、S84にてテーブル切替不可フラグが設定されていると判定(S84:YES)された場合には、スケジューリングテーブルの切り替えが必要でないと判定されたことになる。
【0066】
S82、S83、及びS84により、スケジューリングテーブルの切り替えが必要でないと判定された場合は、画像データ処理部46a及び印刷データ生成処理部46bからHW回転処理の処理要求があるか否かを判定(S85)する。S85にて、HW回転処理の処理要求があると判定(S85:YES)された場合は、登録可能な空キューがあるか否かを判定(S86)する。S86にて、登録可能な空キューがあると判定(S86:YES)された場合は、キューの登録(S87)を行い、HW回転処理部47がHW回転処理可能状態か否かを判定(S88)する。S88にて、HW回転処理部47がHW回転処理可能状態ではないと判定(S88:NO)された場合は、そのままスケジューラ処理を終了する。
【0067】
一方、S86にて、登録可能な空キューがないと判定(S86:NO)された場合は、処理要求を行ったタスクに対して、キューイングができなかったことを通知(S89)し、S88に移行する。
【0068】
また一方、S85にて、HW回転処理の処理要求がないと判定(S85:NO)された場合は、登録キューがあるか否かを判定(S90)する。S90にて、登録キューがあると判定(S90:YES)された場合は、S88に移行し、登録キューがないと判定(S90:NO)された場合は、そのままスケジューラ処理を終了する。
【0069】
そして、S88にて、HW回転処理が処理可能状態であると判定(S88:YES)された場合は、スケジューリングテーブルの実行番号を示す変数kに関連付けて記憶されているタスク(タスクA又はタスクBのいずれか)の一番先頭のキューにあるレジスタ設定をHW回転処理のレジスタに設定(S91)し、HW回転処理部47にてHW回転処理を実行(S92)する。
【0070】
次に、スケジューリングテーブルの最終番号まで実行された場合には、スケジューリングテーブルの開始番号に戻す必要があるため、変数kがスケジューリングテーブルの最終番号以上であるか否かを判定(S93)する。S93にて、変数kが最終番号以上であると判定(S93:YES)された場合は、変数kを0にリセット(S94)し、HW回転処理カウンタの数値j及び変数kをインクリメント(S95)する。一方、S93にて、変数kが最終番号未満であると判定(S93:NO)された場合は、変数kを保持し、S95に移行する。そして、HW回転処理のレジスタ設定を行ったキューをキュー管理部51のキューから開放(S96)し、スケジューラ処理を終了する。
【0071】
S82、S83、及びS84により、スケジューリングテーブルの切り替えが必要であると判定された場合は、処理開始後、スケジューリングテーブルが何回切り替えられたかを示すテーブル切替カウンタの数値lを確認し、まだ一度もスケジューリングテーブル切り替えが行われていないかどうか、即ちテーブル切替カウンタの数値lが0であるか否かを判定(S97)する。
【0072】
S97にて、一度もスケジューリングテーブル切り替えが行われていない、即ちテーブル切替カウンタの数値lが0であると判定(S97:YES)された場合は、テーブル番号を、S81にて検出した処理要求タスクの実行待機時間と関連付けてベストパフォーマンステーブル(最適テーブル)として記憶(S98)する。そして、次のテーブルXを新規のスケジューリングテーブルとして選択(S99)し、テーブル切替カウンタの数値lをインクリメント(S100)し、HW回転処理カウンタの数値jを0にリセット(S101)し、スケジューラ処理を終了する。
【0073】
一方、S97にて、スケジューリングテーブルの切り替えが行われたことがある、即ちテーブル切替カウンタの数値lが0でないと判定(S97:NO)された場合は、切り替え可能なスケジューリングテーブルが残存しているか否かを判定(S102)する。S102にて、切り替え可能なスケジューリングテーブルが残存していると判定(S102:YES)された場合は、今回選択したスケジューリングテーブルの実行待機時間が最適テーブルの実行待機時間より改善されているか否か、即ちS81にて検出した実行待機時間が最適テーブルの実行待機時間より小さいか否かを判定(S103)する。
【0074】
S103にて、今回選択したスケジューリングテーブルの実行待機時間の方が小さいと判定(S103:YES)された場合は、S98に移行する。
【0075】
一方、S103にて、今回選択したスケジューリングテーブルの実行待機時間の方が大きいと判定(S103:NO)された場合は、テーブルXとは異なるテーブルYを新しいスケジューリングテーブルとして選択(S104)し、S100に移行する。
【0076】
例えば、テーブルXは、スケジューリングテーブル管理部54が管理するテーブル番号をインクリメントするように決定し、テーブルYは、テーブル番号をディクリメントするように決定するようにすれば、S103における判定の結果に基づいて、スケジューリングテーブルに規定した画像データ処理タスクAと印刷データ生成処理タスクBとの処理数の比率の増減を逆にする処理が可能となり、効率的に最適テーブルを決定することができる。
【0077】
S102にて、切り替え可能なスケジューリングテーブルが残存していないと判定(S102:NO)された場合は、スケジューリングテーブル管理部54が管理する全てのスケジューリングテーブルに対して実行待機時間を検出したことになり、新規にスケジューリングテーブルを選択するのではなく、最適テーブルをスケジューリングテーブルとして選択(S105)し、全てのスケジューリングテーブルに対して実行待機時間を検出したため、スケジューリングテーブルを切り替える必要がないことを示すテーブル切替不可フラグを設定(S106)して、S100に移行する。
【0078】
なお、S102にて、切り替え可能なスケジューリングテーブルが残存していないと判定(S102:NO)された場合は、最適テーブルをスケジューリングテーブルとして選択(S105)し、テーブル切替不可フラグを設定(S106)して、更に画像データのデータ量を変更し、画像処理のデータ量を減少させ、スケジューリングテーブルがより効率的に作用できるようにして、S100に移行するようにしてもよい。
【0079】
図11は、HW回転処理の処理前後における画像を示す模式図である。同図(a)のように、原稿のスキャン方向と記録シート12の搬送方向とが同一方向である場合には、画像データをHW回転処理する必要はなく、同図(b)のように、原稿のスキャン方向と記録シート12の搬送方向とが垂直になっている場合には、スキャナ3により取得した画像データを90°反時計方向にHW回転処理し、記録シート12の搬送方向に一致させる必要がある。
【0080】
図12は、印刷ヘッドノズル及び印刷用データの配置を示した模式図である。図12中、各セルは、印刷ヘッドノズルを示し、上段に印刷ヘッドノズルのノズル番号、下段に印刷用データの一例を示す。図12に示すように、印刷ヘッドノズルは、キャリッジ17の移動方向、即ち主走査方向に対して垂直な順に配置されている。
【0081】
図13は、HW回転処理を行う前のメモリアドレス及び印刷用データを示した模式図であり、図14は、HW回転処理を行った後のメモリアドレス及び印刷用データを示した模式図である。図13及び図14中、各セルは、メモリセルを示し、各セルの上段にメモリアドレス(番地)、下段に印刷用データの一例を示す。印刷用データは、図12の太枠で囲まれた部分に示すように、印刷ヘッドノズルの配置順序、即ちノズル番号(1,2,…,16,17,18,…,32,33,34,…,48)順に転送される必要があるため、印刷用データは、データA1,A2,…,A16,B1,B2,…,B16,C1,C2,…,C16,…という順で印刷ヘッド17aへ転送される。
【0082】
回転前の印刷用データは、図13の太枠で囲まれた部分に示すように、キャリッジの移動方向(主走査方向)へ配置されており、データA1,B1,C1,…,A2,B2,C2,…という順でメモリ43に記憶されている。従って、転送順で送られるべき印刷用データがメモリ空間の不連続なメモリアドレスに配置されているため、データA1,A2,…,A16,B1,B2,…,B16,C1,C2,…,C16という順にデータを転送しようとすると、まず、データA1の格納されているメモリアドレス(”0x0000”)を指定してデータA1を転送し、次にメモリアドレス(”0x0000”)からキャリッジの移動方向(主走査方向)のノズル数(256)分、加算したメモリアドレス(”0x0100”)を指定してデータA2を転送する…といった方法で、印刷用データをノズル単位で転送する必要があるため、処理負荷が大きくなるという欠点がある。
【0083】
一方、HW回転処理を行うことにより、回転後の印刷用データは、図14の太枠で囲まれた部分に示すように、転送順で送られるべき印刷用データがメモリ空間の連続したメモリアドレスに配置されている。従って、印刷用データを転送する際、データA1の格納されているメモリアドレス(”0x0ff0”)と、ノズルの記録シート12の搬送方向の個数(16)を指定することで、データA1,A2,…,A16までをライン単位で転送することができる。データB1,B2,…,B16、及びデータC1,C2,…,C16も同様の方法で転送することができるため、HW回転処理を行わない方法に比べ処理負担を大きく軽減できる。
【0084】
なお、本発明の実施形態の説明においては、スキャナにセットされた原稿のスキャン方向に対する画像データの回転処理について説明したが、それに限定するものではなく、インターフェイスを介して接続されたパーソナルコンピュータ等から要求された画像データに対する回転処理においても適用可能である。
【0085】
また、HW処理は回転処理に限定されるものではなく、HWミラー処理等にも適用可能であり、複数のHW処理に対して本実施形態を適用可能である。
【0086】
更に、タスクの実行待機時間を検出し、実行待機時間が最小になるように、スケジューリングテーブルを選択する場合について説明したが、これに限定するものではなく、タスクの登録数を検出し、登録数が最小になるように、スケジューリングテーブルを選択してもよい。
【0087】
【発明の効果】
以上詳述した如く本発明によれば、画像データ処理手段及び画像形成データ生成処理手段から受け付けたHW処理手段における処理の要求に対して二系統の待ち行列で管理し、いずれの処理を実行すべきであるかを受け付けた画像形成条件により決定し、画像データ処理手段及び画像形成データ生成処理手段からの処理要求を効率良く処理することにより、高速処理可能なHW処理にて画像データ処理及び画像形成データ生成処理の一部を実行することができ、HW処理による処理の高速化の利点を発揮して画像形成処理を高速化することができる。
【0088】
また本発明によれば、画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段における処理要求頻度が、画像形成条件によって大きく異なるため、画像形成条件毎に最適なスケジューリングができるようにすることにより、画像形成処理を効率良く処理し、画像形成処理を高速化することができる。
【0089】
更に本発明によれば、スケジューリングテーブルを用いて、画像データ処理手段及び画像形成データ生成処理手段からのHW処理手段における処理の実行順序を決定することにより、予め想定した条件に対して効率的な処理ができるようにスケジューリングテーブルを規定することができ、画像形成処理を効率良く処理し、画像形成処理を高速化することができる等、優れた効果を奏する。
【図面の簡単な説明】
【図1】本発明の画像形成装置の一例である複合型インクジェットプリンタの外観を示す斜視図である。
【図2】図1の複合型インクジェットプリンタを右側面から見た断面図である。
【図3】図1の印刷部を正面から見た断面図である。
【図4】本発明の画像形成装置の一例である複合型インクジェットプリンタの構成を示すブロック図である。
【図5】本発明の画像形成装置が備えるスケジューラ部の構成を示すブロック図である。
【図6】本発明の画像形成装置が記憶するスケジューリングテーブルの一例を示すテーブル図である。
【図7】本発明の画像形成装置が行う画像形成処理の手順を示すフローチャートである。
【図8】本発明の画像形成装置が行うスケジューラ処理の手順を示すフローチャートである。
【図9】本発明の画像形成装置が行うスケジューラ処理の手順を示すフローチャートである。
【図10】本発明の画像形成装置が行うスケジューラ処理の手順を示すフローチャートである。
【図11】HW回転処理の処理前後における画像を示す模式図である。
【図12】印刷ヘッドノズル及び印刷用データの配置を示した模式図である。
【図13】HW回転処理を行う前のメモリアドレス及び印刷用データを示した模式図である。
【図14】HW回転処理を行った後のメモリアドレス及び印刷用データを示した模式図である。
【符号の説明】
1 複合型インクジェットプリンタ
2 プリンタ本体
3 スキャナ
4 記録シート収納部
5 印刷部
6 排シート口
7 排シートトレイ
17 キャリッジ
17a 印刷ヘッド
31 光学ユニット
42 制御部
43 メモリ
45 操作部
46 画像処理部
46a 画像データ処理部
46b 印刷データ生成処理部
47 HW回転処理部
48 スケジューラ部
51 キュー管理部
52 スケジューリング部
53 HW処理設定/実行部
54 スケジューリングテーブル管理部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image forming method and an image forming apparatus, and more particularly, to an image forming apparatus such as a printer, a copier, and a facsimile communication apparatus.
[0002]
[Prior art]
As disclosed in Japanese Patent Application Laid-Open No. 2001-334648, in recent years, in addition to the function as an image forming apparatus, a multifunction peripheral having a function as a copier and a facsimile communication apparatus by providing a scanner and a modem has been put into practical use. Has been Such a multi-function device has a rotation processing function of rotating image data to form an image when the image direction acquired by the scanner does not match the image forming direction of the recording sheet. A mirror processing function for forming an image by reversing the left-right direction of the image, a Nin1 processing function for forming a plurality of images on one recording sheet, and the like are provided. It is possible to automatically correct a rudimentary error such as an error in the sheet feeding direction at the time of formation, thereby realizing a convenient and gentle processing function for the user.
[0003]
[Problems to be solved by the invention]
However, since the above-described processing functions are realized by software (hereinafter, referred to as SW) processing, which is a general-purpose processing, using an image processing LSI provided in the multifunction peripheral, the image data amount increases. There is a problem that the number of processes increases and the load of the SW process increases.
[0004]
Further, even if the inkjet printer, which is an image forming unit, is configured so that the rotation processing function and the mirror processing function can be processed by hardware (hereinafter, referred to as HW), the image data read from the scanner is subjected to image processing (rotation processing and rotation processing). In the case of performing mirror processing or the like), image processing is performed by SW processing instead of the HW processing. Therefore, it is necessary to wait for image forming processing until the SW processing by the scanner is completed, and the processing time of the image forming processing is wastefully wasted. However, there is a problem that the processing efficiency is low.
[0005]
Furthermore, a method of reducing the load of the SW processing by the scanner and speeding up the image processing by executing a part of the image processing by the scanner by the HW processing provided in the ink jet printer can be considered. If only one process (single task) can be executed at a time and a plurality of tasks request HW processing, one task causes another task to wait, and the overall processing time may be lengthened. .
[0006]
The present invention has been made in view of such circumstances, and has been made in consideration of a high-speed processing received from an image data processing unit that performs image processing on image data and an image forming data generation processing unit that generates image forming data from the image data. Scheduling the processing request in the possible HW processing means to efficiently process the processing in the HW processing means, and to speed up the image forming processing by exhibiting the advantage of speeding up the processing by the HW processing. It is a main object of the present invention to provide an image forming method and an image forming apparatus capable of performing the above-described operations.
[0007]
Further, according to the present invention, since the processing request frequency in the HW processing unit received from the image data processing unit and the image formation data generation processing unit greatly varies depending on the image forming conditions, it is possible to perform optimal scheduling for each image forming condition. Accordingly, an object of the present invention is to provide an image forming method and an image forming apparatus which can efficiently process an image forming process and speed up the image forming process.
[0008]
Further, the present invention uses a scheduling table to determine the execution order of the processes in the HW processing unit received from the image data processing unit and the image formation data generation processing unit, thereby enabling efficient processing with respect to a condition assumed in advance. It is an object of the present invention to provide an image forming method and an image forming apparatus capable of defining a scheduling table so that the image forming process can be efficiently performed and speeding up the image forming process.
[0009]
[Means for Solving the Problems]
An image forming method according to the present invention receives an image forming process condition for image data, performs image processing on the image data by an image data processing unit based on the received condition, and outputs an image by an image forming data generation processing unit. In an image forming method of an image forming apparatus for generating image forming data from data and forming an image on a recording sheet based on the generated image forming data, the image forming apparatus may perform a specific process on the image data. The image data processing means for performing the specific processing in the image data processing means and the image forming data generation processing means so as to be processed by the hardware processing means. And receiving a processing request from the image forming data generation processing unit, managing the received processing request as a queue, and receiving the processing request. Determining which of the image data processing means or the image formation data generation processing means is to be executed by the hardware processing means in the managed queue based on the conditions of the image forming processing. It is characterized by.
[0010]
In such an image forming method of the present invention, specific processing is performed by image data processing means for performing image processing on image data and image forming data generation processing means for generating image forming data from image data. At this time, the processing is performed by the HW processing unit capable of performing the specific processing, and the processing request in the HW processing unit received from the image data processing unit and the image formation data generation processing unit is managed in two queues. By determining which processing should be executed based on the received image forming conditions, it is possible to efficiently process processing requests from the image data processing unit and the image forming data generation processing unit.
[0011]
Further, in the image forming method according to the present invention, a plurality of scheduling tables defining an execution order of the processing are stored in the image forming apparatus in advance, and one scheduling table is selected from the plurality of scheduling tables. , The execution order of the processes is determined.
[0012]
In such an image forming method of the present invention, the scheduling order is used to determine the execution order of the processing requests from the image data processing unit and the image forming data generation processing unit in the HW processing unit, thereby presuming the execution order. A scheduling table can be defined so that efficient processing can be performed. Further, by selecting one scheduling table from the plurality of scheduling tables based on the accepted conditions of the image forming process, executing a process based on a scheduling table optimized for the conditions of the image forming process, Processing with optimum processing efficiency can be performed.
[0013]
An image forming apparatus according to the present invention includes a processing condition receiving unit that receives a condition of an image forming process for image data, an image data processing unit that performs image processing on image data based on the received condition of the image forming process, An image forming data generating means for generating image forming data from the data, and forming an image on a recording sheet based on the generated image forming data. Hardware processing means for performing the above-mentioned processing, and when performing the specific processing by the image data processing means and the image forming data generation processing means, the image data processing means for performing the processing by the hardware processing means. Means and a processing request management means for receiving a processing request from the image forming data generation processing means and managing them as a queue, respectively. Any one of the image data processing means or the image formation data generation processing means in a queue managed by the processing request management means based on the image forming processing conditions received by the processing condition reception means. And a scheduling means for deciding whether or not to execute the above processing by the hardware processing means.
[0014]
In such an image forming apparatus of the present invention, specific processing is performed by image data processing means for performing image processing on image data and image forming data generation processing means for generating image forming data from the image data. At this time, the processing is performed by HW processing means capable of performing the specific processing, and the processing request management means receives processing requests from the image data processing means and the image formation data generation processing means, The processing request from the image data processing means and the image formation data generation processing means can be efficiently processed by determining which processing to be executed by the scheduling means based on the received image forming conditions. can do.
[0015]
Further, in the image forming apparatus according to the present invention, the scheduling unit includes: a unit that stores a plurality of scheduling tables defining an execution order of processing in advance; and a unit that selects one scheduling table from the plurality of scheduling tables. It is characterized by having.
[0016]
In such an image forming apparatus according to the present invention, the scheduling unit determines the execution order of the processing requests from the image data processing unit and the image formation data generation processing unit in the HW processing unit using the scheduling table. Accordingly, the scheduling table can be defined so that efficient processing assumed in advance can be performed. In addition, the scheduling unit selects one scheduling table from the plurality of scheduling tables based on the accepted conditions of the image forming process, thereby performing a process based on the scheduling table optimized for the conditions of the image forming process. And the processing with the optimum processing efficiency can be performed.
[0017]
Further, in the image forming apparatus according to the present invention, the processing condition receiving means includes a plurality of image forming modes classified according to image resolution as conditions of the image forming process.
[0018]
In such an image forming apparatus of the present invention, when performing the processing by the scheduling means, the image forming modes classified according to the image resolution that greatly affects the processing speed are set in advance for each image forming mode. By storing the optimum scheduling table and selecting the optimum scheduling table based on the conditions of the image forming processing, the processing with the optimum processing efficiency can be performed.
[0019]
Further, the image forming apparatus according to the present invention includes a reading unit that reads an image written on a document and converts the image into image data, and the processing condition receiving unit sets a reading condition of the reading unit as a condition of the image forming process. It is characterized by including.
[0020]
In such an image forming apparatus of the present invention, when performing a process of reading an image by the reading unit, the reading condition of the reading unit that greatly affects the processing speed is set in advance for each reading condition of the reading unit. The optimal scheduling table is stored in advance, and the optimal scheduling table is selected based on the conditions of the image forming processing, whereby the processing with the optimal processing efficiency can be performed.
[0021]
Further, in the image forming apparatus according to the present invention, the scheduling unit may execute an execution standby time based on a time of the processing and a time at which the processing request is received by the processing request management unit during the processing by the hardware processing unit. And a means for determining whether or not the detected execution standby time exceeds a preset upper limit. When the execution standby time exceeds the upper limit, A table switching unit that switches the scheduling table when the determination is made.
[0022]
In such an image forming apparatus of the present invention, the execution standby time of the processing by the HW processing unit from the image data processing unit and the image formation data generation processing unit is detected, and the detected execution standby time is set in advance. The image data processing means determines whether or not the upper limit value is exceeded, and switches the scheduling table when it is determined that the upper limit value is exceeded, so that the execution standby time in the HW process is equal to or less than a predetermined upper limit value. In addition, the execution order of the processing in the HW processing unit from the image formation data generation processing unit can be changed, and the execution standby time can be reduced.
[0023]
Further, in the image forming apparatus according to the present invention, the scheduling unit includes a unit that detects a registration number of a queue managed by the processing request management unit, and the detected registration number sets a predetermined upper limit value. Means for determining whether or not the number of registrations exceeds the upper limit, and table switching means for switching a scheduling table when it is determined that the number of registrations exceeds the upper limit. I do.
[0024]
In such an image forming apparatus of the present invention, the number of registered processes (the number of queues) by the HW processing unit from the image data processing unit and the image formation data generation processing unit is detected, and the detected registration number is determined in advance. It is determined whether or not the set upper limit value is exceeded, and if it is determined that the set upper limit value is exceeded, the scheduling table is switched so that the number of registered processes in the HW process becomes equal to or less than a preset upper limit value. The execution order of the processes in the HW processing unit from the image data processing unit and the image formation data generation processing unit can be changed, and the number of registered processes can be reduced.
[0025]
Further, in the image forming apparatus according to the present invention, the scheduling unit may determine a data amount of the image data processed by the hardware processing unit when the switchable scheduling table does not exist in the table switching unit. It is characterized by having a means for changing.
[0026]
In such an image forming apparatus of the present invention, when there is no switchable scheduling table in the table switching unit, the data amount of the image data processed by the HW processing unit is changed. The data amount of the processing in the HW processing means can be reduced, and the time required for one processing can be reduced.
[0027]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings showing the embodiments.
FIG. 1 is a perspective view showing the appearance of a composite ink jet printer which is an example of the image forming apparatus of the present invention. In the figure, reference numeral 1 denotes a composite type ink jet printer, in which a scanner 3 is arranged on a printer main body 2 which forms an image on a recording sheet by an ink jet method (hereinafter, referred to as printing).
[0028]
The printer body 2 takes out the recording sheets stored in the recording sheet storage unit 4 one by one as shown by an arrow 8 in FIG. The sheet is discharged from the discharge port 6 onto the discharge tray 7.
[0029]
The scanner 3 is provided with a document cover 32 and a platen glass 33 on the upper part, and shields external light with the document cover 32, and digitally converts images and characters written on the document set on the platen glass 33 into digital data. An image is captured by an optical unit, which will be described later, having a function of capturing as image data.
[0030]
2 is a cross-sectional view of the composite inkjet printer 1 of FIG. 1 as viewed from the right side, and FIG. 3 is a cross-sectional view of the printing unit 5 of FIG. 1 as viewed from the front. The recording sheets 12 stacked and stored on a sheet feeding cassette 11 provided at a lower portion in the recording sheet storing section 4 are taken out one by one by a pickup roller 13 which is in contact with the upper surface thereof, and a pair of upper and lower sheet feeding sheets is provided. The sheet is conveyed to the printing unit 5 via the rollers 14 and the U-shaped recording sheet conveying path 15. A pair of upper and lower PS rollers 16 are provided immediately before the printing unit 5, and the PS rollers 16 perform skew adjustment and timing adjustment of the recording sheet 12 with respect to the printing unit 5.
[0031]
The recording sheet 12 conveyed to the printing unit 5 is subjected to a printing process by a print head 17a mounted on a carriage 17 provided in the printing unit 5.
[0032]
The carriage 17 is supported by a pair of guide shafts 18 that can be extended and contracted in the depth direction of the printer main body 2 (the left-right direction in FIG. 2), and can be displaced in the main scanning direction (left-right direction in FIG. 2) 19 by the guide shafts 18. In addition, the carriage 17 is fixed to one point of the timing belt 22 wound between the pair of pulleys 20 and 21, and one of the pulleys 20 is driven by the motor 23. Is driven to a predetermined position in the main scanning direction 19.
[0033]
The printing unit 5 includes a platen 24 that supports the recording sheet 12 from the back. The recording sheet 12 is conveyed by the platen 24 so as to face the print head 17a displaced in the main scanning direction 19, and the print head 17a Prints a predetermined image.
[0034]
Immediately after the printing unit 5, a star roller 25 and a discharge roller 26 are provided. The printed recording sheet 12 is nipped by the star roller 25 and the discharge roller 26 and discharged onto the discharge tray 7. You.
[0035]
On the other hand, the scanner 3 includes an optical unit 31, a document cover 32, and a platen glass 33. The optical unit 31 is set on the platen glass 33 by being displaced in the sub-scanning direction (the horizontal direction in FIG. 2). The read original image is read in line order.
[0036]
The optical unit 31 includes a light source 35, a first mirror 36, a second mirror 37, a third mirror 38, an image forming lens 39, a charge coupled device (CCD) unit 40, and the like. , Are supported by a guide shaft (not shown) so as to be displaceable in the sub-scanning direction 34, and are driven by a timing belt or the like.
[0037]
FIG. 4 is a block diagram illustrating a configuration of the composite inkjet printer 1 as an example of the image forming apparatus of the present invention. In the figure, reference numeral 42 denotes a control unit provided with a CPU (Central Processing Unit) 42a. The control unit 42 has a function of controlling the scanner 3 and the image processing unit 46. When the instruction of (copy) is received, the control information is output to the scanner 3, the image reading process is commanded to the scanner 3, the control information is output to the image processing unit 46, and the predetermined information is output to the image processing unit 46. Image processing.
[0038]
The scanner 3 starts scanning of the optical unit 31 based on the received control information, reads an image by the CCD unit 40 included in the optical unit 31, and stores the image data obtained by reading in the memory 43.
[0039]
The image processing unit 46 includes an image data processing unit 46a that functions as an image data processing unit and a print data generation processing unit 46b that functions as an image formation data generation processing unit. The image data processing unit 46a includes an operation unit 45 and the like. The print data generation processing unit 46b converts the image data processed by the image data processing unit 46a into print data by accessing the memory 43 based on the print conditions received from the To memorize.
[0040]
The image data processing unit 46a and the print data generation processing unit 46b determine that the scanning direction of the document set on the scanner 3 matches the transport direction of the recording sheet 12 stored in the sheet feeding cassette 11 in the recording sheet storing unit 4. If image processing for rotating image data is necessary, the HW rotation processing unit 47 functioning as HW processing means performs rotation processing by HW processing (hereinafter referred to as HW rotation processing).
[0041]
When performing the HW rotation processing in the HW rotation processing unit 47, the image data processing unit 46a and the print data generation processing unit 46b first output a processing request of the HW rotation processing to the scheduler unit 48, and receive the processing request. The unit 48 manages the HW rotation processing based on the scheduling table described later, thereby efficiently operating the processing in the HW rotation processing unit 47 and reducing the print processing time.
[0042]
When the print data generated and processed by the image processing unit 46 accumulates data for one line, the print unit 5 outputs the control information and the print data to the print unit 5 and receives the print data. The scanning of the carriage 17 is started based on the control information.
[0043]
FIG. 5 is a block diagram illustrating a configuration of the scheduler unit 48 included in the image forming apparatus of the present invention. The scheduler unit 48 includes a queue management unit 51 functioning as a processing request management unit, a scheduling unit 52 functioning as a scheduling unit, an HW processing setting / execution unit 53, and a scheduling table management unit 54. The processing request (queue) is received (queued) from the task requesting the HW rotation processing by the HW rotation processing unit 47, and the scheduling unit 52 determines the operation unit from the plurality of scheduling tables stored in the scheduling table management unit 54 in advance. For example, a scheduling table suitable for printing conditions accepted by the user such as 45, for example, scanning resolution and printing mode, is selected.
[0044]
As shown in FIG. 6, the scheduling table has a configuration that defines the execution order of tasks (TABLEi (i = 1, 2,..., 11), i: table number), and task A is transmitted from the image data processing unit 46a. An image data processing task that has received a processing request, and task B indicates a print data generation processing task that has received a processing request from the print data generation processing unit 46b. For example, TABLE1 is a scheduling table that defines task A in execution order 1, task B in execution order 2, task B in execution order 3, task B in execution order 4, and task B in execution order 5. When the scheduling unit 52 selects TABLE1, task A, task B, task B, task B, and task B are executed in this order. The queue execution order of the task A and the task B is a FIFO (First In First Out) format in which the tasks are executed in the order of the time received by the queue management unit 51. For the task A, the queue A1, the queue A2,. Are executed in this order, and for task B, queue B1, queue B2,... Are executed in this order. Therefore, the queue management unit 51 executes the tasks in the order of the queue A1, the queue B1, the queue B2, the queue B3, and the queue B4.
[0045]
TABLE 6 is a scheduling table that alternately executes task A and task B, and is a mode in which image data processing and print data generation processing are executed equally. TABLE3 is a scheduling table in which one task is executed by the task A and two tasks are executed by the task B. In this mode, the print data generation processing is executed with higher priority than the image data processing. TABLE 9 is a scheduling table in which task B executes one task while task A executes two tasks, and is a mode in which image data processing is executed with priority over print data generation processing.
[0046]
Therefore, regarding the method of selecting the scheduling table, for example, in the case of the draft print mode in which the image resolution is low and the moving speed of the carriage 17 is high, the processing request of the HW rotation processing from the print data generation processing unit 46b frequently occurs. Therefore, it is more efficient to use a scheduling table that preferentially processes a processing request from task B, which is print data generation processing, and TABLE3 is selected as a default scheduling table.
[0047]
On the other hand, in the fine print mode in which the image resolution is high and the moving speed of the carriage 17 is slow, the processing load on the image data processing increases. Using a table allows more efficient processing, and TABLE9 is selected as a default scheduling table.
[0048]
Further, it is also possible to correct TABLE selection in accordance with the reading conditions of the scanner 3 in a state where TABLEi is selected. When reading conditions that increase the processing load of image data processing, for example, reading conditions such as increasing the resolution of the scanner 3 are set, the scheduling table is shifted in the direction of arrow b in FIG. That is, i of TABLEi is incremented, and the processing is switched to the scheduling table for processing the processing request from the image data processing unit 46a with priority. On the other hand, when reading conditions that reduce the processing load of image data processing, for example, reading conditions such as setting the resolution of the scanner 3 to low resolution, are set, the scheduling table is shifted in the direction of arrow a in FIG. In other words, i of TABLEi is decremented, and the processing is switched to the scheduling table that preferentially processes the processing request from the print data generation processing unit 46b.
[0049]
Furthermore, the execution waiting time of the actual image data processing task and the print data generation processing task is detected, and if it is determined that any of the tasks is delayed, the default scheduling table is used to determine the delayed task. By shifting the processing request to a scheduling table defined to process the processing request with priority, efficient processing can be performed.
[0050]
The scheduling unit 52 selects a task to be processed by incrementing the variable k indicating the execution number in order from the first task based on the execution order of the tasks defined by the scheduling table, and sets the HW processing setting / execution unit 53 , The HW rotation processing condition of the task is set, and the HW rotation processing unit 47 executes the HW rotation processing.
[0051]
When the variable k becomes the last number of the scheduling table (in the figure, "execution order 5"), the process returns to the start number of the scheduling table, that is, "execution order 1," and the task is selected again. This allows efficient operation even when the number of queued tasks is larger than the number of tasks specified in the scheduling table.
[0052]
If the execution right has been transferred to the task selected by the variable k in the scheduling table, but there is no processing request for HW rotation processing from the task, the task is not executed and the variable k is incremented. Then, by executing the task of the next execution number, efficient processing is possible.
[0053]
The significance of the present invention is that the scheduling of the HW rotation process under the accepted printing conditions is performed by selecting a scheduling table from the scheduling table management unit 54 based on the printing conditions received from the operation unit 45 or the like. .
[0054]
FIG. 7 is a flowchart illustrating a procedure of an image forming process performed by the image forming apparatus of the present invention. When the document to be copied is set on the platen glass 33 (S61) and the printing condition is selected by the operation unit 45 or the like (S62), the document is set on the scanner 3 based on the printing condition selected in S62. It is determined whether or not the scanning direction of the document does not match the transport direction of the recording sheet 12 and HW rotation processing is required at the time of printing (S63).
[0055]
If it is determined in S63 that the HW rotation processing is necessary (S63: YES), the HW rotation processing unit 47 does not perform the processing in the image data processing unit 46a and the print data generation processing unit 46b. Therefore, a scheduling table suitable for the printing condition selected in S62 is selected from the scheduling table management unit 54 and set as a scheduling table of the scheduling unit 52 (S64).
[0056]
When an instruction to start a printing operation is input from the operation unit 45 (S65), the image is read from the scanner 3 and converted into image data, and the printing operation is started (S66). Image processing such as mirror processing and Nin1 processing (special functions) when image processing such as gamma correction, shading, and filtering is set on the image data read from the scanner 3, and under the printing conditions selected in S62. If (processing) is set, image processing corresponding to the setting is executed by the image data processing unit 46a (S67). However, the image processing (rotation processing) of the image data requiring rotation is performed not by the image data processing unit 46a but by the HW rotation processing unit 47.
[0057]
Next, although the details will be described later, the scheduler 48 requests the queue manager 51 of the HW rotation process to perform a scheduler process (S68) for executing the HW rotation process of the image.
[0058]
Image processing such as color space conversion processing, error diffusion processing, and dither processing is performed from the image data on which image processing, special function processing, and HW rotation processing have been completed to generate print data (S69). The scheduler process (S70) is performed again to speed up the data arrangement to each print head nozzle. That is, a request for the HW rotation processing is made again to the queue management section 51 of the scheduler section 48, and the HW rotation processing of the image is executed.
[0059]
Then, it is determined whether or not the printing has been completed (S71). If it is determined that the printing has been completed (S71: YES), the process is terminated, and it is determined that the printing has not been completed (S71: NO). If so, the process returns to S67, and the processes from S67 to S70 are executed again.
[0060]
On the other hand, if it is determined in S63 that the HW rotation processing is not necessary (S63: NO), the task of the image data processing unit 46a does not need to use the HW rotation processing, and the operation unit 45 performs the printing operation. When the start instruction is input (S72), the image is read from the scanner 3 and converted into image data, and the printing operation is started (S73). When image processing such as gamma correction, shading, and filtering is set on the image data read from the scanner 3, and under the printing conditions selected in S62, image processing such as mirror processing and Nin1 processing (special functions) If (processing) is set, the image data processing unit 46a executes image processing corresponding to the setting (S74).
[0061]
Image processing such as color space conversion processing, error diffusion processing, and dither processing is performed from the image data on which image processing and special function processing have been completed to generate print data (S75). In order to speed up the data arrangement, HW rotation processing is performed by the HW rotation processing unit 47 (S76).
[0062]
Then, it is determined whether or not the printing is completed (S77). If it is determined that the printing is completed (S77: YES), the process is terminated, and it is determined that the printing is not completed (S77: NO). If so, the process returns to S74, and the processes from S74 to S76 are executed again.
[0063]
FIGS. 8, 9, and 10 are flowcharts illustrating the procedure of the scheduler process performed by the image forming apparatus of the present invention. The execution standby time of the task received from the image data processing unit 46a and the print data generation processing unit 46b is detected (S81), and it is determined whether the switching of the scheduling table is necessary so that the task can be executed efficiently. . For example, the execution standby time may be calculated by calculating the time difference between the time at which the task was received and the current time.
[0064]
To explain the switching condition of the scheduling table in detail, for example, in the present embodiment, the execution standby time exceeds the upper limit time (for example, the time required for moving the carriage 17 (scanning time) + α) which is the table switching threshold. It is determined whether or not it is performed (S82). Then, in S82, when it is determined that the execution standby time exceeds the upper limit time (S82: YES), the HW rotation processing for counting the number of executions of the HW rotation processing in the selected scheduling table is performed. It is determined whether or not the numerical value j of the counter exceeds a preset counter upper limit value (for example, numerical value “10”) (S83). Further, in S83, when it is determined that the numerical value j of the HW rotation processing counter exceeds the counter upper limit value (S83: YES), it is determined whether or not the table switching disable flag is set (S84). ). When it is determined in S84 that the table switching disable flag is not set (S84: NO), it is determined that the switching of the scheduling table is necessary.
[0065]
On the other hand, if it is determined in S82 that the execution standby time does not exceed the upper limit time (S82: NO), it is determined in S83 that the numerical value j of the HW rotation processing counter does not exceed the counter upper limit value (S83). : NO), or when it is determined in S84 that the table switching disable flag is set (S84: YES), it is determined that the switching of the scheduling table is not necessary.
[0066]
If it is determined in S82, S83, and S84 that the switching of the scheduling table is not necessary, it is determined whether there is a processing request for the HW rotation process from the image data processing unit 46a and the print data generation processing unit 46b (S85). ). If it is determined in S85 that there is a processing request for the HW rotation processing (S85: YES), it is determined whether there is an empty queue that can be registered (S86). When it is determined in S86 that there is an empty queue that can be registered (S86: YES), the queue is registered (S87), and it is determined whether the HW rotation processing unit 47 is in the HW rotation processing enabled state (S88). ). In S88, when it is determined that the HW rotation processing unit 47 is not in the HW rotation processing enabled state (S88: NO), the scheduler processing ends as it is.
[0067]
On the other hand, if it is determined in S86 that there is no empty queue that can be registered (S86: NO), the task that has issued the processing request is notified that queuing was not possible (S89), and S88. Move to
[0068]
On the other hand, if it is determined in S85 that there is no processing request for the HW rotation processing (S85: NO), it is determined whether there is a registration queue (S90). In S90, when it is determined that there is a registration queue (S90: YES), the process proceeds to S88, and when it is determined that there is no registration queue (S90: NO), the scheduler process ends as it is.
[0069]
If it is determined in S88 that the HW rotation process is in a processable state (S88: YES), the task (task A or task B) stored in association with the variable k indicating the execution number of the scheduling table Is set in the register for the HW rotation processing (S91), and the HW rotation processing unit 47 executes the HW rotation processing (S92).
[0070]
Next, when the execution is performed up to the last number of the scheduling table, it is necessary to return to the start number of the scheduling table. Therefore, it is determined whether or not the variable k is equal to or larger than the last number of the scheduling table (S93). If it is determined in S93 that the variable k is equal to or greater than the final number (S93: YES), the variable k is reset to 0 (S94), and the numerical value j and the variable k of the HW rotation processing counter are incremented (S95). I do. On the other hand, when it is determined in S93 that the variable k is smaller than the final number (S93: NO), the variable k is held and the process proceeds to S95. Then, the queue in which the register setting of the HW rotation process has been performed is released from the queue of the queue management unit 51 (S96), and the scheduler process ends.
[0071]
If it is determined in S82, S83, and S84 that the switching of the scheduling table is necessary, after the processing is started, the value l of the table switching counter indicating how many times the scheduling table has been switched is checked, and it has never been changed. It is determined whether the scheduling table has not been switched, that is, whether or not the numerical value 1 of the table switching counter is 0 (S97).
[0072]
If it is determined in S97 that the scheduling table has never been switched, that is, if it is determined that the numerical value 1 of the table switching counter is 0 (S97: YES), the processing request task detected in S81 determines the table number. Is stored as the best performance table (optimum table) in association with the execution standby time (S98). Then, the next table X is selected as a new scheduling table (S99), the numerical value l of the table switching counter is incremented (S100), the numerical value j of the HW rotation processing counter is reset to 0 (S101), and the scheduler processing is performed. finish.
[0073]
On the other hand, in S97, the switching of the scheduling table has been performed, that is, when it is determined that the numerical value l of the table switching counter is not 0 (S97: NO), whether the switchable scheduling table remains. It is determined whether or not there is (S102). In S102, when it is determined that the switchable scheduling table remains (S102: YES), it is determined whether or not the execution standby time of the currently selected scheduling table has been improved from the optimal table execution standby time. That is, it is determined whether the execution standby time detected in S81 is shorter than the execution standby time of the optimum table (S103).
[0074]
If it is determined in S103 that the execution standby time of the currently selected scheduling table is shorter (S103: YES), the process proceeds to S98.
[0075]
On the other hand, if it is determined in S103 that the execution waiting time of the currently selected scheduling table is longer (S103: NO), a table Y different from table X is selected as a new scheduling table (S104), and S100 is executed. Move to
[0076]
For example, if the table X is determined to increment the table number managed by the scheduling table management unit 54 and the table Y is determined to decrement the table number, the table Y is determined based on the determination result in S103. Thus, it is possible to reverse the increase / decrease in the ratio of the number of processes between the image data processing task A and the print data generation processing task B specified in the scheduling table, and it is possible to efficiently determine the optimum table.
[0077]
If it is determined in S102 that there are no switchable scheduling tables remaining (S102: NO), it means that the execution standby time has been detected for all the scheduling tables managed by the scheduling table management unit 54. Instead of selecting a new scheduling table, the optimum table is selected as the scheduling table (S105), and since the execution waiting time has been detected for all the scheduling tables, table switching indicating that there is no need to switch the scheduling tables is performed. The disabling flag is set (S106), and the routine goes to S100.
[0078]
If it is determined in S102 that no switchable scheduling table remains (S102: NO), the optimal table is selected as the scheduling table (S105), and a table switch disable flag is set (S106). Then, the data amount of the image data may be further changed, the data amount of the image processing may be reduced, and the scheduling table may operate more efficiently, and the process may shift to S100.
[0079]
FIG. 11 is a schematic diagram showing images before and after the HW rotation processing. If the scanning direction of the document and the conveyance direction of the recording sheet 12 are the same as shown in FIG. 7A, it is not necessary to perform the HW rotation processing on the image data, and as shown in FIG. When the scanning direction of the document and the transport direction of the recording sheet 12 are perpendicular to each other, the image data acquired by the scanner 3 is HW-rotated 90 ° counterclockwise to match the transport direction of the recording sheet 12. There is a need.
[0080]
FIG. 12 is a schematic diagram showing the arrangement of print head nozzles and print data. In FIG. 12, each cell indicates a print head nozzle, the upper row shows the nozzle number of the print head nozzle, and the lower row shows an example of print data. As shown in FIG. 12, the print head nozzles are arranged in the direction perpendicular to the moving direction of the carriage 17, that is, the main scanning direction.
[0081]
FIG. 13 is a schematic diagram showing a memory address and print data before performing the HW rotation process, and FIG. 14 is a schematic diagram showing a memory address and print data after performing the HW rotation process. . 13 and 14, each cell indicates a memory cell, and an upper row of each cell indicates a memory address (address), and a lower row indicates an example of print data. As shown in a portion surrounded by a thick frame in FIG. 12, the print data is arranged in the order of the print head nozzles, that is, the nozzle numbers (1, 2,..., 16, 17, 18,..., 32, 33, 34). ,..., 48), the print data is printed in the order of data A1, A2,..., A16, B1, B2,..., B16, C1, C2,. 17a.
[0082]
The printing data before rotation is arranged in the moving direction (main scanning direction) of the carriage, as shown in a portion surrounded by a thick frame in FIG. 13, and data A1, B1, C1,..., A2, B2 , C2,... Are stored in the memory 43 in this order. Therefore, since the print data to be transmitted in the transfer order is arranged at discontinuous memory addresses in the memory space, the data A1, A2, ..., A16, B1, B2, ..., B16, C1, C2, ..., If data is to be transferred in the order of C16, first, the memory address (“0x0000”) where the data A1 is stored is specified and the data A1 is transferred, and then the moving direction of the carriage from the memory address (“0x0000”) Since the data A2 is transferred by specifying the added memory address ("0x0100") for the number of nozzles (256) in the (main scanning direction), the print data must be transferred in nozzle units. There is a disadvantage that the processing load increases.
[0083]
On the other hand, by performing the HW rotation processing, the print data after rotation is transferred to the print data to be sent in the transfer order as shown in a portion surrounded by a thick frame in FIG. Are located in Therefore, when transferring the print data, the data A1, A2, and A2 are specified by specifying the memory address (“0x0ff0”) where the data A1 is stored and the number (16) of nozzles in the transport direction of the recording sheet 12. .., A16 can be transferred in line units. Since the data B1, B2,..., B16 and the data C1, C2,..., C16 can be transferred in the same manner, the processing load can be greatly reduced as compared with the method in which the HW rotation processing is not performed.
[0084]
In the description of the embodiment of the present invention, the rotation processing of the image data with respect to the scanning direction of the original set on the scanner has been described. However, the present invention is not limited to this, and it is not limited to the processing from a personal computer connected via an interface. The present invention is also applicable to a rotation process for requested image data.
[0085]
Further, the HW processing is not limited to the rotation processing, but is also applicable to HW mirror processing and the like, and the present embodiment is applicable to a plurality of HW processing.
[0086]
Further, the case has been described in which the execution waiting time of the task is detected and the scheduling table is selected so that the execution waiting time is minimized. However, the present invention is not limited to this. May be selected such that is minimized.
[0087]
【The invention's effect】
As described in detail above, according to the present invention, a request for processing in the HW processing unit received from the image data processing unit and the image formation data generation processing unit is managed in two queues, and either processing is executed. It is determined by the received image forming condition that the image data should be processed, and the processing request from the image data processing unit and the image forming data generation processing unit is efficiently processed. Part of the formation data generation processing can be executed, and the advantage of speeding up the processing by the HW processing can be exerted to speed up the image formation processing.
[0088]
Further, according to the present invention, since the processing request frequency in the HW processing unit from the image data processing unit and the image formation data generation processing unit greatly varies depending on the image forming conditions, it is possible to perform optimal scheduling for each image forming condition. Thus, the image forming process can be efficiently performed, and the image forming process can be speeded up.
[0089]
Further, according to the present invention, by using the scheduling table to determine the execution order of the processing in the HW processing unit from the image data processing unit and the image formation data generation processing unit, it is possible to efficiently perform the processing on the condition assumed in advance. The scheduling table can be defined so that processing can be performed, and excellent effects can be achieved, such as efficient image forming processing and high-speed image forming processing.
[Brief description of the drawings]
FIG. 1 is a perspective view illustrating the appearance of a composite inkjet printer as an example of an image forming apparatus of the present invention.
FIG. 2 is a cross-sectional view of the composite inkjet printer of FIG. 1 as viewed from a right side.
FIG. 3 is a sectional view of the printing unit of FIG. 1 as viewed from the front.
FIG. 4 is a block diagram illustrating a configuration of a composite inkjet printer as an example of the image forming apparatus of the present invention.
FIG. 5 is a block diagram illustrating a configuration of a scheduler unit included in the image forming apparatus of the present invention.
FIG. 6 is a table diagram illustrating an example of a scheduling table stored in the image forming apparatus of the present invention.
FIG. 7 is a flowchart illustrating a procedure of an image forming process performed by the image forming apparatus of the present invention.
FIG. 8 is a flowchart illustrating a procedure of a scheduler process performed by the image forming apparatus of the present invention.
FIG. 9 is a flowchart illustrating a procedure of a scheduler process performed by the image forming apparatus of the present invention.
FIG. 10 is a flowchart illustrating a procedure of a scheduler process performed by the image forming apparatus of the present invention.
FIG. 11 is a schematic diagram showing images before and after HW rotation processing.
FIG. 12 is a schematic diagram showing the arrangement of print head nozzles and print data.
FIG. 13 is a schematic diagram showing a memory address and print data before HW rotation processing is performed.
FIG. 14 is a schematic diagram showing a memory address and print data after performing HW rotation processing.
[Explanation of symbols]
1 Composite inkjet printer
2 Printer body
3 Scanner
4 Recording sheet storage
5 Printing department
6 Discharge sheet outlet
7 Discharge sheet tray
17 Carriage
17a print head
31 Optical unit
42 control unit
43 memory
45 Operation unit
46 Image processing unit
46a Image data processing unit
46b print data generation processing unit
47 HW rotation processing unit
48 Scheduler
51 Queue management unit
52 Scheduling unit
53 HW processing setting / executing unit
54 Scheduling Table Management Unit

Claims (9)

画像データに対する画像形成処理の条件を受け付け、受け付けた条件に基づいて、画像データ処理手段にて画像データに画像処理を行い、画像形成データ生成処理手段にて画像データから画像形成用データを生成処理し、生成処理された画像形成用データに基づいて記録シートに画像を形成する画像形成装置の画像形成方法において、
前記画像形成装置は、画像データに特定の処理を行うハードウエア処理手段を備え、
前記画像データ処理手段及び前記画像形成データ生成処理手段にて前記特定の処理を行う際に、前記ハードウエア処理手段にて処理をすべく、前記画像データ処理手段及び前記画像形成データ生成処理手段から処理要求を受け付け、受け付けた処理要求を待ち行列として夫々管理し、
受け付けた画像形成処理の条件に基づいて、管理されている待ち行列の内、前記画像データ処理手段又は前記画像形成データ生成処理手段のいずれの処理を前記ハードウエア処理手段にて実行するかを決定すること
を特徴とする画像形成方法。
Image forming processing conditions are received for the image data, image processing is performed on the image data by the image data processing means based on the received conditions, and image forming data is generated from the image data by the image forming data generating processing means. And an image forming method of an image forming apparatus for forming an image on a recording sheet based on the image forming data subjected to the generation processing,
The image forming apparatus includes a hardware processing unit that performs a specific process on the image data,
When performing the specific processing by the image data processing means and the image formation data generation processing means, the image data processing means and the image formation data generation processing means perform processing by the hardware processing means. Receiving the processing requests, managing the received processing requests as a queue,
Based on the conditions of the received image forming process, it is determined which of the image data processing unit and the image forming data generation processing unit is to be executed by the hardware processing unit in the managed queue. An image forming method.
前記画像形成装置に、処理の実行順序を規定した複数のスケジューリングテーブルを予め記憶しておき、
前記複数のスケジューリングテーブルから一のスケジューリングテーブルを選択することにより、処理の実行順序を決定すること
を特徴とする請求項1に記載の画像形成方法。
In the image forming apparatus, a plurality of scheduling tables defining the execution order of processing are stored in advance,
2. The image forming method according to claim 1, wherein an execution order of the processes is determined by selecting one scheduling table from the plurality of scheduling tables.
画像データに対する画像形成処理の条件を受け付ける処理条件受付手段と、受け付けた画像形成処理の条件に基づいて、画像データに画像処理を行う画像データ処理手段と、画像データから画像形成用データを生成処理する画像形成データ生成処理手段とを備え、生成処理された画像形成用データに基づいて記録シートに画像を形成する構成とした画像形成装置において、
画像データに特定の処理を行うハードウエア処理手段と、
前記画像データ処理手段及び前記画像形成データ生成処理手段にて前記特定の処理を行う際に、前記ハードウエア処理手段にて処理をすべく、前記画像データ処理手段及び前記画像形成データ生成処理手段から処理要求を受け付け、待ち行列として夫々管理する処理要求管理手段と、
前記処理条件受付手段にて受け付けられた画像形成処理の条件に基づいて、該処理要求管理手段にて管理されている待ち行列の内、前記画像データ処理手段又は前記画像形成データ生成処理手段のいずれの処理を前記ハードウエア処理手段にて実行するかを決定するスケジューリング手段と
を備えることを特徴とする画像形成装置。
Processing condition receiving means for receiving image forming conditions for image data; image data processing means for performing image processing on the image data based on the received conditions for image forming processing; and processing for generating image forming data from the image data An image forming apparatus comprising: an image forming data generation processing unit configured to form an image on a recording sheet based on the generated image forming data.
Hardware processing means for performing specific processing on the image data,
When performing the specific processing by the image data processing means and the image formation data generation processing means, the image data processing means and the image formation data generation processing means perform processing by the hardware processing means. Processing request management means for receiving processing requests and managing each as a queue;
Any one of the image data processing means or the image formation data generation processing means in a queue managed by the processing request management means based on the image forming processing conditions received by the processing condition reception means. An image forming apparatus comprising: a scheduling unit that determines whether or not the above processing is performed by the hardware processing unit.
前記スケジューリング手段は、処理の実行順序を規定した複数のスケジューリングテーブルを予め記憶する手段と、
前記複数のスケジューリングテーブルから一のスケジューリングテーブルを選択する手段と
を備えることを特徴とする請求項3に記載の画像形成装置。
Means for pre-storing a plurality of scheduling tables that define the order of execution of the processing,
4. The image forming apparatus according to claim 3, further comprising: means for selecting one scheduling table from the plurality of scheduling tables.
前記処理条件受付手段は、画像形成処理の条件として画像解像度により分類された複数の画像形成モードを含むこと
を特徴とする請求項3又は請求項4に記載の画像形成装置。
5. The image forming apparatus according to claim 3, wherein the processing condition receiving unit includes a plurality of image forming modes classified according to an image resolution as a condition of the image forming process. 6.
原稿に記載された画像を読み取り、画像データに変換する読取手段を備え、
前記処理条件受付手段は、画像形成処理の条件として前記読取手段の読み取り条件を含むこと
を特徴とする請求項3乃至請求項5のいずれかに記載の画像形成装置。
Reading means for reading an image described in the document and converting it to image data,
The image forming apparatus according to claim 3, wherein the processing condition receiving unit includes a reading condition of the reading unit as a condition of the image forming process.
前記スケジューリング手段は、前記ハードウエア処理手段による処理の際に、該処理の時刻と前記処理要求管理手段にて処理要求を受け付けた時刻とから実行待機時間を検出する手段と、
検出した実行待機時間が予め設定された上限値を超過しているか否かを判定する手段と、
該手段にて、前記実行待機時間が前記上限値を超過していると判定された場合に、スケジューリングテーブルを切り替えるテーブル切替手段と
を備えることを特徴とする請求項4乃至請求項6のいずれかに記載の画像形成装置。
Means for detecting, during processing by the hardware processing means, an execution standby time from a time of the processing and a time at which a processing request is received by the processing request management means;
Means for determining whether the detected execution standby time exceeds a preset upper limit value,
7. The apparatus according to claim 4, further comprising: a table switching unit that switches a scheduling table when it is determined that the execution standby time exceeds the upper limit. An image forming apparatus according to claim 1.
前記スケジューリング手段は、前記処理要求管理手段にて管理されている待ち行列の登録数を検出する手段と、
検出した登録数が予め設定された上限値を超過しているか否かを判定する手段と、
該手段にて、前記登録数が前記上限値を超過していると判定された場合に、スケジューリングテーブルを切り替えるテーブル切替手段と
を備えることを特徴とする請求項4乃至請求項6のいずれかに記載の画像形成装置。
Means for detecting the number of registered queues managed by the processing request management means,
Means for determining whether the detected number of registrations exceeds a preset upper limit,
7. The apparatus according to claim 4, further comprising: a table switching unit that switches a scheduling table when it is determined that the number of registrations exceeds the upper limit. The image forming apparatus as described in the above.
前記スケジューリング手段は、前記テーブル切替手段にて、切り替え可能なスケジューリングテーブルが存在しない場合に、前記ハードウエア処理手段にて処理される画像データのデータ量を変更する手段を備えること
を特徴とする請求項7又は請求項8に記載の画像形成装置。
The scheduling means includes means for changing a data amount of image data processed by the hardware processing means when there is no switchable scheduling table in the table switching means. An image forming apparatus according to claim 7 or claim 8.
JP2002252079A 2002-08-29 2002-08-29 Iamge forming method and apparatus there of Pending JP2004096253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002252079A JP2004096253A (en) 2002-08-29 2002-08-29 Iamge forming method and apparatus there of

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002252079A JP2004096253A (en) 2002-08-29 2002-08-29 Iamge forming method and apparatus there of

Publications (1)

Publication Number Publication Date
JP2004096253A true JP2004096253A (en) 2004-03-25

Family

ID=32058444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002252079A Pending JP2004096253A (en) 2002-08-29 2002-08-29 Iamge forming method and apparatus there of

Country Status (1)

Country Link
JP (1) JP2004096253A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911510B2 (en) 2004-06-10 2011-03-22 Canon Kabushiki Kaisha Imaging apparatus using a key image in image retrieval or reading out
US9811089B2 (en) 2013-12-19 2017-11-07 Aktiebolaget Electrolux Robotic cleaning device with perimeter recording function
US9946263B2 (en) 2013-12-19 2018-04-17 Aktiebolaget Electrolux Prioritizing cleaning areas
US10045675B2 (en) 2013-12-19 2018-08-14 Aktiebolaget Electrolux Robotic vacuum cleaner with side brush moving in spiral pattern
US10149589B2 (en) 2013-12-19 2018-12-11 Aktiebolaget Electrolux Sensing climb of obstacle of a robotic cleaning device
US10209080B2 (en) 2013-12-19 2019-02-19 Aktiebolaget Electrolux Robotic cleaning device
US10219665B2 (en) 2013-04-15 2019-03-05 Aktiebolaget Electrolux Robotic vacuum cleaner with protruding sidebrush
US10231591B2 (en) 2013-12-20 2019-03-19 Aktiebolaget Electrolux Dust container
US10433697B2 (en) 2013-12-19 2019-10-08 Aktiebolaget Electrolux Adaptive speed control of rotating side brush
US10448794B2 (en) 2013-04-15 2019-10-22 Aktiebolaget Electrolux Robotic vacuum cleaner
US10499778B2 (en) 2014-09-08 2019-12-10 Aktiebolaget Electrolux Robotic vacuum cleaner
US10518416B2 (en) 2014-07-10 2019-12-31 Aktiebolaget Electrolux Method for detecting a measurement error in a robotic cleaning device
US10534367B2 (en) 2014-12-16 2020-01-14 Aktiebolaget Electrolux Experience-based roadmap for a robotic cleaning device
US10617271B2 (en) 2013-12-19 2020-04-14 Aktiebolaget Electrolux Robotic cleaning device and method for landmark recognition
US10678251B2 (en) 2014-12-16 2020-06-09 Aktiebolaget Electrolux Cleaning method for a robotic cleaning device
US10729297B2 (en) 2014-09-08 2020-08-04 Aktiebolaget Electrolux Robotic vacuum cleaner
US10874271B2 (en) 2014-12-12 2020-12-29 Aktiebolaget Electrolux Side brush and robotic cleaner
US10874274B2 (en) 2015-09-03 2020-12-29 Aktiebolaget Electrolux System of robotic cleaning devices
US10877484B2 (en) 2014-12-10 2020-12-29 Aktiebolaget Electrolux Using laser sensor for floor type detection
US11099554B2 (en) 2015-04-17 2021-08-24 Aktiebolaget Electrolux Robotic cleaning device and a method of controlling the robotic cleaning device
US11122953B2 (en) 2016-05-11 2021-09-21 Aktiebolaget Electrolux Robotic cleaning device
US11169533B2 (en) 2016-03-15 2021-11-09 Aktiebolaget Electrolux Robotic cleaning device and a method at the robotic cleaning device of performing cliff detection
US11474533B2 (en) 2017-06-02 2022-10-18 Aktiebolaget Electrolux Method of detecting a difference in level of a surface in front of a robotic cleaning device
US11921517B2 (en) 2017-09-26 2024-03-05 Aktiebolaget Electrolux Controlling movement of a robotic cleaning device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7911510B2 (en) 2004-06-10 2011-03-22 Canon Kabushiki Kaisha Imaging apparatus using a key image in image retrieval or reading out
US10448794B2 (en) 2013-04-15 2019-10-22 Aktiebolaget Electrolux Robotic vacuum cleaner
US10219665B2 (en) 2013-04-15 2019-03-05 Aktiebolaget Electrolux Robotic vacuum cleaner with protruding sidebrush
US9946263B2 (en) 2013-12-19 2018-04-17 Aktiebolaget Electrolux Prioritizing cleaning areas
US10045675B2 (en) 2013-12-19 2018-08-14 Aktiebolaget Electrolux Robotic vacuum cleaner with side brush moving in spiral pattern
US10149589B2 (en) 2013-12-19 2018-12-11 Aktiebolaget Electrolux Sensing climb of obstacle of a robotic cleaning device
US10209080B2 (en) 2013-12-19 2019-02-19 Aktiebolaget Electrolux Robotic cleaning device
US10433697B2 (en) 2013-12-19 2019-10-08 Aktiebolaget Electrolux Adaptive speed control of rotating side brush
US9811089B2 (en) 2013-12-19 2017-11-07 Aktiebolaget Electrolux Robotic cleaning device with perimeter recording function
US10617271B2 (en) 2013-12-19 2020-04-14 Aktiebolaget Electrolux Robotic cleaning device and method for landmark recognition
US10231591B2 (en) 2013-12-20 2019-03-19 Aktiebolaget Electrolux Dust container
US10518416B2 (en) 2014-07-10 2019-12-31 Aktiebolaget Electrolux Method for detecting a measurement error in a robotic cleaning device
US10729297B2 (en) 2014-09-08 2020-08-04 Aktiebolaget Electrolux Robotic vacuum cleaner
US10499778B2 (en) 2014-09-08 2019-12-10 Aktiebolaget Electrolux Robotic vacuum cleaner
US10877484B2 (en) 2014-12-10 2020-12-29 Aktiebolaget Electrolux Using laser sensor for floor type detection
US10874271B2 (en) 2014-12-12 2020-12-29 Aktiebolaget Electrolux Side brush and robotic cleaner
US10678251B2 (en) 2014-12-16 2020-06-09 Aktiebolaget Electrolux Cleaning method for a robotic cleaning device
US10534367B2 (en) 2014-12-16 2020-01-14 Aktiebolaget Electrolux Experience-based roadmap for a robotic cleaning device
US11099554B2 (en) 2015-04-17 2021-08-24 Aktiebolaget Electrolux Robotic cleaning device and a method of controlling the robotic cleaning device
US10874274B2 (en) 2015-09-03 2020-12-29 Aktiebolaget Electrolux System of robotic cleaning devices
US11712142B2 (en) 2015-09-03 2023-08-01 Aktiebolaget Electrolux System of robotic cleaning devices
US11169533B2 (en) 2016-03-15 2021-11-09 Aktiebolaget Electrolux Robotic cleaning device and a method at the robotic cleaning device of performing cliff detection
US11122953B2 (en) 2016-05-11 2021-09-21 Aktiebolaget Electrolux Robotic cleaning device
US11474533B2 (en) 2017-06-02 2022-10-18 Aktiebolaget Electrolux Method of detecting a difference in level of a surface in front of a robotic cleaning device
US11921517B2 (en) 2017-09-26 2024-03-05 Aktiebolaget Electrolux Controlling movement of a robotic cleaning device

Similar Documents

Publication Publication Date Title
JP2004096253A (en) Iamge forming method and apparatus there of
JP4972989B2 (en) Compound machine
JP2011009881A (en) Image forming apparatus, and control method and program therefor
JP2001066951A (en) Imamge forming system
US8514430B2 (en) Apparatus, system, and method for processing image in network environment based on local protocol
JP5560803B2 (en) Image processing device
JP3537612B2 (en) Image forming system
JP2001186311A (en) Picture reader, copying machine, facsimile equipment and composite equipment
JPH0898038A (en) Network system for digital copying machine
JP3476554B2 (en) Digital copier and image forming method thereof
JP2007081779A (en) Double-side image reading method
JP2002328568A (en) Image forming device
JP4229080B2 (en) Double-sided image reading method
JP3471931B2 (en) Facsimile machine with printer function
JP5001223B2 (en) Image reading device
JP4311551B2 (en) Image forming apparatus
JP2003271017A (en) Image forming device system
JP3830880B2 (en) Image processing apparatus and image forming apparatus
JP2001334648A (en) Composite ink jet printer and its controlling method
JP2000307834A (en) Image forming device
JP2005014247A (en) Image formation device
JP2004112692A (en) Image processing device
JP2002232646A (en) Image reader
JP2005123886A (en) Communication terminal device
JP2005086540A (en) Combined machine system