JP2012008838A - Print document conversion device and program - Google Patents

Print document conversion device and program Download PDF

Info

Publication number
JP2012008838A
JP2012008838A JP2010144735A JP2010144735A JP2012008838A JP 2012008838 A JP2012008838 A JP 2012008838A JP 2010144735 A JP2010144735 A JP 2010144735A JP 2010144735 A JP2010144735 A JP 2010144735A JP 2012008838 A JP2012008838 A JP 2012008838A
Authority
JP
Japan
Prior art keywords
image processing
request
software
processing
hardware
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
JP2010144735A
Other languages
Japanese (ja)
Inventor
Koichi Miyazaki
康一 宮崎
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2010144735A priority Critical patent/JP2012008838A/en
Publication of JP2012008838A publication Critical patent/JP2012008838A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent a situation where, due to a request of image processing to a hardware image processing device by a software RIP module, the acquisition of a processing result gets delayed more than software conversion processing means itself executes the image processing.SOLUTION: A processing execution control unit 230 refers to image processing device management information 232 when a request of image processing arrives from software RIP modules 210A-C, and estimates a time required until the completion of the image processing relating to the request for each of an image processing device 220 and image processing software 212 of the RIP modules 210 of the request sources. In this estimation, the time until the processing completion is estimated based on the performance ratio of the image processing device 220 and the image processing software 212, the number of requests or the number of pixels of each request in a queue of the image processing device 220, and the like. Then, the earlier one to complete the image processing is instructed to perform the image processing relating to the request.

Description

本発明は、印刷文書変換装置およびプログラムに関する。   The present invention relates to a print document conversion apparatus and program.

PostScript(登録商標)やPDF( Portable Data Format: ISO 32000-1) などのページ記述言語(以下、PDLと呼ぶ。PDLはPage Description Languageの略)で記述された印刷データは、RIP( Raster Image Processor)と呼ばれる変換モジュールによりビットマップ画像(ラスター画像とも呼ばれる)に変換され、プリンタにより印刷される。変換モジュールは、PDLの解釈という言語系の処理を行う必要があるため、一般にはソフトウエアで実現されている。   Print data written in a page description language (hereinafter referred to as PDL; PDL is an abbreviation of Page Description Language) such as PostScript (registered trademark) or PDF (Portable Data Format: ISO 32000-1) is RIP (Raster Image Processor). ) Is converted into a bitmap image (also called a raster image) by a conversion module called) and printed by a printer. Since the conversion module needs to perform a language processing called PDL interpretation, it is generally realized by software.

しかし、RIPが行う処理の中には、ビットマップ画像オブジェクトに対する画像処理(例えば色空間変換、回転、拡大縮小)などのように、汎用コンピュータによるソフトウエア処理よりは、専用のハードウエア画像処理回路を用いた方が高速に実行できる処理もある。そこで、ソフトウエアRIPモジュールが、ハードウエア画像処理回路に対して画像処理を依頼するシステムが提案されている。   However, in the processing performed by the RIP, a dedicated hardware image processing circuit is used rather than software processing by a general-purpose computer such as image processing (for example, color space conversion, rotation, enlargement / reduction) for a bitmap image object. There are also processes that can be executed at a higher speed by using. Therefore, a system has been proposed in which a software RIP module requests image processing from a hardware image processing circuit.

特許文献1に開示されたコンピュータは、印刷文書の描画要素を画像処理するにあたり、外部の画像処理回路が当該描画要素の画像処理を行う能力があるかどうかを問い合わせ、画像処理を行う能力がある場合のみ、その画像処理回路に画像処理を依頼する。ない場合は、コンピュータ自身がソフトウエアによりその描画要素を処理する。   The computer disclosed in Patent Document 1 has an ability to inquire whether an external image processing circuit has an ability to perform image processing of the drawing element and to perform image processing when performing image processing of the drawing element of the print document. Only in this case, the image processing circuit is requested to perform image processing. If not, the computer itself processes the drawing element by software.

特許文献2に開示されたシステムは、印刷文書を中間言語(ディスプレイリスト)に変換するに当たり、図形描画処理をハード向けとソフト向けにそれぞれ振り分けて、ハード向け及びソフト向けの中間言語コードを生成する。そして、ハード向けコードをハードウエア回路に、ソフト向けコードをソフトウエアにそれぞれ供給して並列に処理を実行させる。   The system disclosed in Japanese Patent Application Laid-Open No. 2004-228561 generates graphics intermediate language codes for hardware and software by distributing graphic drawing processing for hardware and software when converting a print document into an intermediate language (display list). . Then, the hardware code is supplied to the hardware circuit and the software code is supplied to the software to execute the processes in parallel.

特開2002−042121号公報Japanese Patent Laid-Open No. 2002-042121 特開2006−007496号公報JP 2006-007496 A

ところで、近年のプロセッサのマルチコア化により、RIPのためのソフトウエアを複数のプロセッサコアにより並列実行することで、処理の高速化を図ることも考えられる。ここで、RIPソフトウエアが並列実行される数よりもハードウエアの画像処理装置の数が少ない構成では、並列実行されているうちのあるRIPソフトウエアが画像処理装置に画像処理を依頼しても、すべての画像処理装置が既に他の依頼を処理している場合には、その依頼はすぐには処理されない。そして、各画像処理装置の依頼処理待ち状況によっては、画像処理装置がその画像処理を行うよりもRIPソフトエア自身が行った方が処理結果を早く得られる場合もでてくる。   By the way, with recent multi-core processors, it is conceivable to increase the processing speed by executing software for RIP in parallel by a plurality of processor cores. Here, in a configuration in which the number of hardware image processing devices is smaller than the number of RIP software executed in parallel, even if some of the RIP software being executed in parallel requests image processing from the image processing device. If all image processing devices are already processing other requests, the requests are not processed immediately. Depending on the request processing waiting status of each image processing apparatus, the processing result may be obtained earlier when the RIP software itself performs the image processing than when the image processing apparatus performs the image processing.

本発明は、ソフトウエアでRIPを実行するソフトウエア変換処理手段がハードウエア画像処理装置に画像処理を依頼することにより、その画像処理をソフトウエア変換処理手段自身が実行する場合よりも処理結果が得られるのが遅くなる事態を防止することを目的とする。   In the present invention, when the software conversion processing means that executes RIP by software requests image processing from the hardware image processing apparatus, the processing result is more than that when the software conversion processing means itself executes the image processing. The purpose is to prevent the situation where it is delayed.

請求項1に係る発明は、特定の画像処理を実行するハードウエア画像処理装置と、ページ記述言語で記述された印刷文書データをビットマップ画像形式のページ画像データに変換するためのソフトウエア変換処理を行う複数のソフトウエア変換手段であって、前記ソフトウエア変換処理のうちの前記特定の画像処理については前記ハードウエア画像処理装置による処理を依頼し、この依頼に対して当該画像処理を当該ソフトウエア変換手段自身が行う旨の指示を受けた場合には当該画像処理を実行するソフトウエア変換手段と、前記ソフトウエア変換手段から前記依頼を受けた場合に、前記ハードウエア画像処理装置と依頼元の前記ソフトウエア変換手段とのうち、前記依頼に係る前記特定の画像処理を処理させた場合に処理結果を早く得られる方に、当該画像処理を実行させる制御を行う制御手段と、を備える印刷文書変換装置である。   The invention according to claim 1 is a hardware image processing apparatus that executes specific image processing, and software conversion processing for converting print document data described in a page description language into page image data in a bitmap image format. A plurality of software conversion means for performing a request for processing by the hardware image processing device for the specific image processing of the software conversion processing, and for performing the image processing in response to the request When receiving an instruction to be performed by the hardware conversion means itself, the software conversion means for executing the image processing, and when receiving the request from the software conversion means, the hardware image processing apparatus and the request source If the specific image processing related to the request is processed, the processing result can be obtained quickly. Towards that a printed document conversion apparatus comprising: a control means for performing control to execute the image processing, the.

請求項2に係る発明は、前記制御手段は、前記ハードウエア画像処理装置と前記依頼元のソフトウエア変換手段との性能情報と、前記ハードウエア画像処理装置の負荷状況と、に基づき、前記ハードウエア画像処理装置と前記依頼元のソフトウエア変換手段とのどちらに前記特定の画像処理を実行させた方が当該画像処理の処理結果が早く得られるかを判定し、早く得られると判定された方に当該画像処理の実行を指示する制御を行う、ことを特徴とする請求項1に記載の印刷文書変換装置である。   According to a second aspect of the present invention, the control means is configured based on performance information of the hardware image processing apparatus and the requesting software conversion means, and a load status of the hardware image processing apparatus. It is determined which of the image processing apparatus and the requesting software conversion means can execute the specific image processing can obtain the processing result of the image processing earlier, and can be obtained earlier. The print document conversion apparatus according to claim 1, wherein control for instructing the image processing to be executed is performed.

請求項3に係る発明は、前記制御手段が、前記特定の画像処理を前記ハードウエア画像処理回路に実行させた場合と前記依頼元のソフトウエア変換手段に実行させた場合とで当該画像処理の処理結果が得られるまでの時間が同等である場合には、前記依頼元のソフトウエア変換手段に当該画像処理を実行させる、ことを特徴とする請求項1に記載の印刷文書変換装置である。   According to a third aspect of the present invention, there is a case where the control unit causes the hardware image processing circuit to execute the specific image processing and a case where the requesting software conversion unit executes the specific image processing. The print document conversion apparatus according to claim 1, wherein when the time until the processing result is obtained is equal, the software conversion unit of the request source executes the image processing.

請求項4に係る発明は、前記ハードウエア画像処理装置は、前記特定の画像処理を実行可能な単位回路を複数備え、前記制御手段は、前記ハードウエア画像処理装置の前記複数の単位回路の中に、前記依頼元のソフトウエア変換処理手段よりも前記特定の画像処理の処理結果を早く得られるものがあれば、前記依頼元のソフトウエア変換処理手段よりも前記特定の画像処理の処理結果を早く得られる前記単位回路に当該画像処理を実行させ、そうでない場合は前記依頼元のソフトウエア変換処理手段に当該画像処理を実行させる、ことを特徴とする請求項2に記載の印刷文書変換装置である。   According to a fourth aspect of the present invention, the hardware image processing device includes a plurality of unit circuits capable of executing the specific image processing, and the control means is a plurality of unit circuits of the hardware image processing device. If it is possible to obtain the processing result of the specific image processing earlier than the requesting software conversion processing means, the processing result of the specific image processing is obtained from the requesting software conversion processing means. 3. The print document conversion apparatus according to claim 2, wherein the unit circuit obtained earlier is caused to execute the image processing, and if not, the request source software conversion processing unit is caused to execute the image processing. It is.

請求項5に係る発明は、コンピュータを、ページ記述言語で記述された印刷文書データをビットマップ画像形式のページ画像データに変換するためのソフトウエア変換処理を行う複数のソフトウエア変換手段であって、前記ソフトウエア変換処理のうちの特定の画像処理については、当該特定の画像処理を実行するハードウエア画像処理装置による処理を依頼し、この依頼に対して当該画像処理を当該ソフトウエア変換手段自身が行う旨の指示を受けた場合には当該画像処理を実行するソフトウエア変換手段、前記ソフトウエア変換手段から前記依頼を受けた場合に、前記ハードウエア画像処理装置と依頼元の前記ソフトウエア変換手段とのうち、前記依頼に係る前記特定の画像処理を処理させた場合に処理結果を早く得られる方に、当該画像処理を実行させる制御を行う制御手段、として機能させるためのプログラムである。   The invention according to claim 5 is a plurality of software conversion means for performing a software conversion process for converting print document data described in a page description language into page image data in a bitmap image format. The specific image processing of the software conversion processing is requested to be processed by a hardware image processing apparatus that executes the specific image processing, and the software conversion means itself performs the image processing in response to the request. Software conversion means for executing the image processing when receiving an instruction to perform the image processing, and when receiving the request from the software conversion means, the hardware image processing apparatus and the software conversion of the request source If the specific image processing related to the request is processed, the image can be obtained quickly. Control means for performing control to execute the processing which is a program to function as a.

請求項1又は5に係る発明によれば、ソフトウエア変換処理手段がハードウエア画像処理装置に画像処理を依頼することにより、その画像処理をソフトウエア変換処理手段自身が実行する場合よりも処理結果が得られるのが遅くなる事態を防止することができる。   According to the invention according to claim 1 or 5, when the software conversion processing means requests the hardware image processing apparatus to perform image processing, the processing result is more than when the software conversion processing means itself executes the image processing. Can be prevented from being delayed.

請求項2に係る発明によれば、ハードウエア画像処理装置と依頼元のソフトウエア変換手段との性能情報と、ハードウエア画像処理装置の負荷状況とを用いて、ソフトウエア変換処理手段とハードウエア画像処理装置とのどちらが早く依頼に係る画像処理の処理結果を得られるかを求めることができる。   According to the second aspect of the present invention, the software conversion processing means and the hardware are obtained using the performance information of the hardware image processing apparatus and the requesting software conversion means and the load status of the hardware image processing apparatus. It can be determined which of the image processing apparatuses can obtain the processing result of the requested image processing earlier.

請求項3に係る発明によれば、画像処理の実行の遅れを回避しつつ、ハードウエア画像処理回路の負荷を低減することができる。   According to the third aspect of the present invention, it is possible to reduce the load on the hardware image processing circuit while avoiding delay in the execution of image processing.

請求項4に係る発明によれば、特定の画像処理を実行する複数の単位回路が存在する構成においても、それら単位回路にその画像処理を実行させるとソフトウエア変換処理手段自身が実行する場合よりも処理結果が得られるのが遅くなる事態を防止することができる。   According to the invention of claim 4, even in a configuration in which there are a plurality of unit circuits that execute specific image processing, when the unit circuits are caused to execute the image processing, the software conversion processing means itself executes it. In addition, it is possible to prevent the processing result from being delayed.

実施形態の装置が実装される印刷システムのハードウエア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the printing system by which the apparatus of embodiment is mounted. 実施形態の装置が実装される印刷システムのハードウエア構成の別の一例を示す図である。It is a figure which shows another example of the hardware constitutions of the printing system by which the apparatus of embodiment is mounted. 実施形態の印刷データ変換装置の一例を示す機能ブロック図である。1 is a functional block diagram illustrating an example of a print data conversion apparatus according to an embodiment. 処理実行制御部の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of a process execution control part. 実施形態の印刷データ変換装置の別の例を示す機能ブロック図である。It is a functional block diagram which shows another example of the print data converter of embodiment. 画像処理装置管理情報の一例を示す図である。It is a figure which shows an example of image processing apparatus management information. 画像処理装置管理情報の別の一例を示す図である。It is a figure which shows another example of image processing apparatus management information. 図5の印刷データ変換装置における処理実行制御部の処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a processing procedure of a process execution control unit in the print data conversion apparatus of FIG. 5. 画像処理装置管理情報の更に別の一例を示す図である。It is a figure which shows another example of image processing apparatus management information.

以下、図面を参照して、本発明の実施形態を説明する。各図において、互いに同一又は類似の構成要素には、同一の符号を付す。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In each figure, the same or similar components are denoted by the same reference numerals.

まず、図1を参照して、実施形態の印刷データ変換装置が実装されるシステムの一例を説明する。このシステムは、印刷データ変換装置100,ホストコンピュータ140,印刷制御装置160及びプリンタエンジン170を備える。   First, an example of a system in which the print data conversion apparatus according to the embodiment is mounted will be described with reference to FIG. This system includes a print data conversion apparatus 100, a host computer 140, a print control apparatus 160, and a printer engine 170.

印刷データ変換装置100は、ページ記述言語(以下、PDLと呼ぶ。PDLはPage Description Languageの頭字語)で記述された印刷文書データを、プリンタエンジン170が取扱可能なビットマップ画像等の印刷画像データに変換する装置である。ホストコンピュータ140は、LAN(ローカルエリアネットワーク)130等のネットワークを介して印刷データ変換装置100に対して印刷文書データを送り、その印刷文書データの印刷を指示する。   The print data conversion apparatus 100 print data such as a bitmap image that can be handled by the printer engine 170 using print document data described in a page description language (hereinafter referred to as PDL, which is an acronym for Page Description Language). It is a device to convert to. The host computer 140 sends print document data to the print data conversion apparatus 100 via a network such as a LAN (local area network) 130 and instructs printing of the print document data.

印刷データ変換装置100は、コントローラ110を備える。コントローラ110は、ローカルバス122を介して相互に通信可能に接続された通信制御部112及び120,マルチCPU114,ローカルメモリ116,及び二次記憶装置118を備える。通信制御部112は、LAN130を介してホストコンピュータ140とデータ通信を行う装置である。通信制御部112は、例えば、ホストコンピュータ140から印刷指示や印刷文書データを受信したり、印刷制御のための情報をホストコンピュータ140との間でやりとりしたりする。マルチCPU114は、複数のCPUコアを搭載したプロセッサパッケージである。ローカルメモリ116は、マルチCPU114の各CPUコアが例えば作業用領域として使用する一次記憶であり、例えばランダムアクセスメモリなどから構成されている。二次記憶装置118は、ハードディスク装置又はEEPROM(Electrically Erasable Programmable Read Only Memory)などの比較的大容量の不揮発性記憶装置であり、マルチCPU114が実行するプログラムや、ホストコンピュータ140から受信した印刷文書データなどを記憶する。後述するRIPモジュール210等の各種機能モジュールの処理内容を記述した制御プログラムが、例えばこの二次記憶装置118に記憶され、マルチCPU114により実行される。制御プログラムのうちの一部は、マルチCPU114の複数のCPUコアにより並列実行可能となっている。マルチCPU114は、制御プログラムを実行することにより、印刷文書データを各ページの印刷画像データへと変換する。通信制御部120は、システム内ネット150と呼ぶネットワークを介して印刷制御装置160とデータ通信を行う装置である。この例では、印刷データ変換装置100と印刷制御装置160(及びプリンタエンジン170)とはシステム内ネット150を介して相互接続されることで1つの印刷システムを構成している。マルチCPU114の処理により生成された各ページの印刷画像データは、通信制御部120及びシステム内ネット150を介して印刷制御装置160に送信される。   The print data conversion apparatus 100 includes a controller 110. The controller 110 includes communication control units 112 and 120, a multi CPU 114, a local memory 116, and a secondary storage device 118 that are communicably connected to each other via a local bus 122. The communication control unit 112 is a device that performs data communication with the host computer 140 via the LAN 130. For example, the communication control unit 112 receives a print instruction and print document data from the host computer 140, and exchanges information for print control with the host computer 140. The multi CPU 114 is a processor package having a plurality of CPU cores. The local memory 116 is primary storage used by each CPU core of the multi-CPU 114 as a work area, for example, and is configured by, for example, a random access memory. The secondary storage device 118 is a relatively large-capacity nonvolatile storage device such as a hard disk device or an EEPROM (Electrically Erasable Programmable Read Only Memory), and a program executed by the multi CPU 114 or print document data received from the host computer 140. Memorize etc. A control program describing the processing contents of various functional modules such as the RIP module 210 described later is stored in the secondary storage device 118, for example, and executed by the multi CPU 114. Some of the control programs can be executed in parallel by a plurality of CPU cores of the multi CPU 114. The multi CPU 114 converts the print document data into print image data for each page by executing a control program. The communication control unit 120 is a device that performs data communication with the print control apparatus 160 via a network called an in-system network 150. In this example, the print data conversion apparatus 100 and the print control apparatus 160 (and the printer engine 170) are connected to each other via an intra-system network 150 to constitute one printing system. The print image data of each page generated by the processing of the multi CPU 114 is transmitted to the print control apparatus 160 via the communication control unit 120 and the system internal network 150.

画像処理装置125は、例えばグラフィックアクセラレータなどの、画像処理専用のハードウエア画像処理回路を備えた装置である。このハードウエア画像処理回路は、例えば、色空間変換、画像の拡大・縮小、画像の回転、ハーフトーン処理等といった各種ビットマップ画像処理のうちの1以上を実行するための回路構成を備えている。画像処理装置125は、例えばコントローラ110のローカルバス122上に設けられたスロットに、例えば増設ボードとして接続しても良い。   The image processing device 125 is a device including a hardware image processing circuit dedicated to image processing, such as a graphic accelerator. This hardware image processing circuit has a circuit configuration for executing one or more of various bitmap image processing such as color space conversion, image enlargement / reduction, image rotation, halftone processing, and the like. . For example, the image processing apparatus 125 may be connected to a slot provided on the local bus 122 of the controller 110, for example, as an expansion board.

マルチCPU114で実行されるRIP処理プログラム(後述するRIPモジュール210A〜C)は、画像処理装置125に画像処理などを依頼し、その処理結果を受け取ってページ画像データの作成に用いることができる。ただし、後述するように、RIPモジュール210A〜C自体も、同じ画像処理をソフトウエアで実行することができる。このため、本実施形態では、画像処理を画像処理装置125に実行させるかRIPモジュール210A〜C自体が実行するかを制御する。この制御については後で詳しく説明する。   The RIP processing program (RIP modules 210A to 210C described later) executed by the multi CPU 114 can request the image processing device 125 to perform image processing and the like, receive the processing result, and use it for creating page image data. However, as will be described later, the RIP modules 210A to 210C themselves can execute the same image processing by software. For this reason, in this embodiment, it is controlled whether the image processing apparatus 125 executes the image processing or the RIP modules 210A to 210C themselves. This control will be described in detail later.

プリンタエンジン170は、印刷画像データが表す画像をインクやトナーなどの色材を用いて用紙に対して印刷する印刷ハードウエアである。印刷制御装置160は、プリンタエンジン170を制御する装置であり、通信制御部162,ページ制御部164及びエンジン制御部166を備える。通信制御部162は、システム内ネット150を介して印刷データ変換装置100と通信し、各ページの印刷画像データを受信したり、印刷制御のために必要な各種の制御情報をやりとりしたりする。ページ制御部164は、受信された各ページの印刷画像データを蓄積し、印刷順序に従ってエンジン制御部166に送る。エンジン制御部166は、受け取ったページの印刷画像データをプリンタエンジン170に供給する。プリンタエンジン170は、受け取った印刷画像データを用紙に印刷する。   The printer engine 170 is printing hardware that prints an image represented by print image data on paper using a color material such as ink or toner. The print control device 160 is a device that controls the printer engine 170 and includes a communication control unit 162, a page control unit 164, and an engine control unit 166. The communication control unit 162 communicates with the print data conversion apparatus 100 via the in-system network 150 to receive print image data of each page and exchange various control information necessary for print control. The page control unit 164 accumulates the received print image data of each page and sends it to the engine control unit 166 according to the print order. The engine control unit 166 supplies the received print image data of the page to the printer engine 170. The printer engine 170 prints the received print image data on paper.

図2に、実施形態の装置が実装されるシステムの別の例を示す。図1の例では、印刷データ変換装置100内に画像処理装置125が設けられていたのに対し、図2の例では、画像処理装置125が備えるハードウエア画像処理回路と同様の画像処理回路182を備える画像処理装置180が、印刷データ変換装置100の外に設けられている。画像処理装置180は、印刷データ変換装置100が備える通信装置127が接続されたネットワーク186に接続されており、このネットワーク186を介して印刷データ変換装置100から画像処理の依頼を受け取ったり、画像処理の結果を返したりする。ネットワーク186は、システム内ネット150(又はLAN130)と同じネットワークであってもよく、この場合通信装置127は、通信制御部120(又は112)と同じものでもよい。また、画像処理装置180は、ネットワーク186を介した通信や、印刷データ変換装置100からの依頼の管理などを行う制御部184を備えている。制御部184は、画像処理回路182の負荷状況、すなわち画像処理回路182により現在処理されている依頼及び処理待ちの依頼(以上まとめて、待ち行列内にある依頼)の状況を監視して印刷データ変換装置100に通知する機能を備えていてもよい。   FIG. 2 shows another example of a system in which the apparatus of the embodiment is implemented. In the example of FIG. 1, the image processing device 125 is provided in the print data conversion device 100, whereas in the example of FIG. 2, an image processing circuit 182 similar to the hardware image processing circuit provided in the image processing device 125. Is provided outside the print data conversion apparatus 100. The image processing apparatus 180 is connected to a network 186 to which a communication device 127 included in the print data conversion apparatus 100 is connected. An image processing request is received from the print data conversion apparatus 100 via the network 186, and image processing is performed. Or return the result. The network 186 may be the same network as the intra-system network 150 (or LAN 130), and in this case, the communication device 127 may be the same as the communication control unit 120 (or 112). The image processing apparatus 180 includes a control unit 184 that performs communication via the network 186 and manages requests from the print data conversion apparatus 100. The control unit 184 monitors the load status of the image processing circuit 182, that is, the status of requests currently processed by the image processing circuit 182 and requests waiting for processing (collectively, requests in the queue), and print data. A function of notifying the conversion device 100 may be provided.

次に、図3を参照して、実施形態の印刷データ変換装置100の機能モジュール構成の一例を説明する。図3に例示する印刷データ変換装置100の機能モジュール構成は、画像処理装置220を除き、コントローラ110のマルチCPU114が制御プログラムを実行することにより実現される。   Next, an example of a functional module configuration of the print data conversion apparatus 100 according to the embodiment will be described with reference to FIG. The functional module configuration of the print data conversion apparatus 100 illustrated in FIG. 3 is realized when the multi CPU 114 of the controller 110 executes a control program except for the image processing apparatus 220.

図3において、印刷文書受信部202は、ホストコンピュータ140から印刷文書データを受信する。印刷文書格納部204は、ホストコンピュータ140から受信されたPDLの印刷文書データを格納する。印刷文書データは、一例として、ページ独立のPDL(例えばPDF)で記述されたデータであってもよい(ただし、これに限らない)。ページ独立とは、ページの印刷画像データを記述する情報が当該ページについてのPDLデータのみで表されており、他のページについてのPDLデータに依存しないことをいう。印刷文書格納部204には、複数の印刷文書データを、例えばその印刷順序の情報と共に格納してもよい。印刷文書選択部206は、印刷文書格納部204に格納された印刷文書データのなかから、印刷処理の対象とするものを選択する。例えば、印刷順序の情報に従って、実行中の印刷処理が終了するごとに、次の印刷文書データを印刷対象に選択する。   In FIG. 3, the print document receiving unit 202 receives print document data from the host computer 140. The print document storage unit 204 stores PDL print document data received from the host computer 140. For example, the print document data may be data described in page-independent PDL (for example, PDF) (but not limited to this). “Page independence” means that information describing print image data of a page is represented only by PDL data for the page and does not depend on PDL data for other pages. The print document storage unit 204 may store a plurality of print document data together with information about the print order, for example. A print document selection unit 206 selects a print processing target from print document data stored in the print document storage unit 204. For example, the next print document data is selected as a print target every time the print process being executed is completed according to the print order information.

ページ割り当て制御部208は、各RIPモジュール210A〜C(以下、区別する必要のない場合はRIPモジュール210と総称する)に対して、印刷文書データのうちのそれぞれ異なるページを割り当てる。割り当ての仕方は特に限定されない。例えば、RIPモジュール210の番号に従って先頭ページから順に固定的に割り当てる方式でもよいし、ページの変換処理が終了したRIPモジュール210から順に動的にページを割り当てる方式でもよい。ページのこの割り当ては、ページ割り当て制御部208からRIPモジュール210に対して、例えば、割り当て対象のページ番号を通知することにより行えばよい。   The page allocation control unit 208 allocates different pages of the print document data to the RIP modules 210A to 210C (hereinafter collectively referred to as the RIP module 210 when it is not necessary to distinguish them). The method of assignment is not particularly limited. For example, a method of fixedly assigning in order from the first page according to the number of the RIP module 210 may be used, or a method of dynamically assigning pages in order from the RIP module 210 that has completed the page conversion processing may be used. This page allocation may be performed by notifying the RIP module 210 from the page allocation control unit 208, for example, the page number to be allocated.

RIPモジュール210は、印刷文書選択部206が選択した印刷処理対象の印刷文書データのうち、ページ割り当て制御部208から指定されたページの部分のデータを印刷画像データへと変換する。すなわち、RIPモジュール210は、指定されたページのPDLデータを先頭から順に解釈し、ページメモリ上に描画(ラスタライズ)することで、そのページの印刷画像データを生成する。なお、PDFフォーマットの印刷文書データの場合、その文書が含む各ページのPDLデータのインデックス情報を含んでいる。各RIPモジュール210は、印刷文書格納部204に格納された印刷文書データ内のそのインデックス情報を参照することで、ページ割り当て制御部208から指定されたページ番号に対応するページのPDLデータを取得すればよい。   The RIP module 210 converts the data of the page portion designated by the page assignment control unit 208 out of the print document data to be printed selected by the print document selection unit 206 into print image data. That is, the RIP module 210 interprets the PDL data of the designated page in order from the top, and draws (rasterizes) it on the page memory, thereby generating print image data of the page. In the case of print document data in the PDF format, it includes index information of PDL data of each page included in the document. Each RIP module 210 refers to the index information in the print document data stored in the print document storage unit 204, and acquires the PDL data of the page corresponding to the page number designated from the page allocation control unit 208. That's fine.

RIPモジュール210は、PDLで記述された印刷文書データを解釈し、プリンタエンジン170が取扱可能なビットマップ(ラスター)画像に変換するソフトウエアモジュールである。例えば、RIPモジュール210は、割り当てられたページのPDLデータを先頭から順に解釈していく中で、フォント、イメージ、フォームなどの画像オブジェクトを描画する描画コマンドを検出すると、その描画コマンドを実行し、ローカルメモリ116上に確保された各画素の記憶領域にそのコマンドに従って画素値を書き込んでいく。また、RIPモジュール210は、そのようにして形成されたビットマップ画像に対して、PDLデータ内のコマンドや設定に応じて、色空間変換、回転、拡大・縮小、ハーフトーン処理などといった画像処理を実行する機能を有する。この機能は、図では画像処理ソフトウエア(図ではSWと略記)212A〜Cとして示されている(以下では、区別する必要がない場合は画像処理ソフトウエア212と総称する)。画像処理ソフトウエア212は、例示した色空間変換、回転、拡大・縮小、ハーフトーン処理、又は例示しなかった他の各種のビットマップ画像処理、のうちの1以上の処理を記述したプログラムである。   The RIP module 210 is a software module that interprets print document data described in PDL and converts it into a bitmap (raster) image that can be handled by the printer engine 170. For example, when the RIP module 210 detects a drawing command for drawing an image object such as a font, an image, and a form while interpreting the PDL data of the assigned page in order from the top, the RIP module 210 executes the drawing command. In accordance with the command, the pixel value is written in the storage area of each pixel secured on the local memory 116. In addition, the RIP module 210 performs image processing such as color space conversion, rotation, enlargement / reduction, halftone processing, etc., on the bitmap image formed in this way, according to commands and settings in the PDL data. Has the function to execute. This function is shown as image processing software (abbreviated as SW in the figure) 212A to C in the figure (hereinafter collectively referred to as image processing software 212 when it is not necessary to distinguish). The image processing software 212 is a program that describes one or more of the exemplified color space conversion, rotation, enlargement / reduction, halftone processing, or other various bitmap image processing not shown. .

画像処理ソフトウエア212A〜Cを含む各RIPモジュール210A〜Cは、上述のような処理内容を記述したプログラム群をマルチCPU114の各CPUコアに実行させることにより、上述の処理内容を実行する装置として実現される。RIPモジュール210A〜Cは、それぞれプロセス又はスレッドとしてCPUコアで実行される。典型的な例では、1つのCPUコアが1つのRIPモジュール210を実行するが、これに限らず、1つのCPUコアが複数のRIPモジュール210を実行してもよい。図3では、3つのRIPモジュール210が実行されているが、これは一例に過ぎない。   Each RIP module 210A-C including the image processing software 212A-C is a device that executes the above-described processing contents by causing each CPU core of the multi-CPU 114 to execute a program group describing the above-described processing contents. Realized. Each of the RIP modules 210A to 210C is executed by the CPU core as a process or a thread. In a typical example, one CPU core executes one RIP module 210. However, the present invention is not limited to this, and one CPU core may execute a plurality of RIP modules 210. In FIG. 3, three RIP modules 210 are executed, but this is only an example.

このように、各RIPモジュール210は、それぞれ自身の画像処理ソフトウエア212にて画像処理を実行することができる。しかし、その画像処理専用のハードウエアである画像処理装置220の方が通常は処理が早いので、基本動作としては、RIP処理の中で画像処理を行う必要が生じると、画像処理装置220に対して画像処理を依頼する。ただし、後述するように、場合によっては、画像処理をハードウエアの画像処理装置220に実行させるよりも、依頼元のRIPモジュール210自身に処理させた方が早く処理が終わる場合もある。そこで、本実施形態では、RIPモジュール210からの依頼を処理実行制御部230で分析し、その依頼の処理結果が早く得られる方に依頼を処理させるようにしている(詳細は後述)。   In this way, each RIP module 210 can execute image processing with its own image processing software 212. However, since the image processing device 220, which is hardware dedicated to image processing, is usually faster in processing, as a basic operation, if it is necessary to perform image processing in the RIP processing, Request image processing. However, as will be described later, in some cases, the processing may be completed earlier when the requesting RIP module 210 itself performs the image processing than when the hardware image processing device 220 executes the image processing. Therefore, in this embodiment, the request from the RIP module 210 is analyzed by the process execution control unit 230, and the request is processed by a person who can obtain the processing result of the request earlier (details will be described later).

このように、この実施形態では、複数のRIPモジュール210により複数のページを並列的にRIP処理する。各RIPモジュール210は、1ページ分のPDLデータの変換処理を終えると、ページ画像メモリ上に形成された当該ページの印刷画像データを印刷制御装置160経由でプリンタエンジン170に供給する。   Thus, in this embodiment, a plurality of pages are RIP processed in parallel by the plurality of RIP modules 210. When the conversion processing of PDL data for one page is completed, each RIP module 210 supplies the print image data of the page formed on the page image memory to the printer engine 170 via the print control device 160.

なお、印刷文書選択部206やページ割り当て制御部208、後述する処理実行制御部230は、マルチCPU114内のいずれかのCPUコアにて実行される。   Note that the print document selection unit 206, the page allocation control unit 208, and a process execution control unit 230, which will be described later, are executed by any of the CPU cores in the multi CPU 114.

画像処理装置220は、画像処理ソフトウエア212と同じ画像処理をハードウエア画像処理回路にて実行する装置であり、図1に示した画像処理装置125又は図2に示した画像処理装置180に相当する。図1の例では、画像処理装置220は、画像処理ソフトウエア212と同じ画像処理を実行可能なハードウエア画像処理回路を1つだけ備えているものとする。   The image processing device 220 is a device that executes the same image processing as the image processing software 212 by a hardware image processing circuit, and corresponds to the image processing device 125 shown in FIG. 1 or the image processing device 180 shown in FIG. To do. In the example of FIG. 1, it is assumed that the image processing apparatus 220 includes only one hardware image processing circuit capable of executing the same image processing as the image processing software 212.

処理実行制御部230は、RIPモジュール210が発する画像処理装置220への画像処理の依頼に応じて、その画像処理を画像処理装置220に実行させるか、依頼を発したRIPモジュール210自身の画像処理ソフトウエア212に実行させるかを制御する。この制御では、RIPモジュール210自身の画像処理ソフトウエア212で実行する場合と、画像処理装置220に実行させる場合とのうち、画像処理結果が得られるのが早い方を選択する。   The processing execution control unit 230 causes the image processing apparatus 220 to execute the image processing in response to a request for image processing from the image processing apparatus 220 issued by the RIP module 210, or the image processing of the RIP module 210 itself that issued the request. Controls whether the software 212 is executed. In this control, an image processing result that is obtained earlier is selected between the case where it is executed by the image processing software 212 of the RIP module 210 itself and the case where it is executed by the image processing apparatus 220.

画像処理装置220は、ハードウエア処理なので処理速度自体は画像処理ソフトウエア212よりも早い。しかし、画像処理装置220の待ち行列に先に他の依頼が入っていると新着の依頼はそれら先着の依頼の処理の後に行われるため、新着の依頼の処理完了までには、待ち行列内の先着の依頼の処理と当該新着の依頼自身の処理の時間を要する。このため、画像処理装置220の負荷状況、すなわち画像処理装置220の待ち行列の状況により、画像処理ソフトウエア212自身が画像処理を行った方が早く得られる場合が出てくる。そこで、本実施形態では、画像処理装置220の待ち行列の状況も考慮に入れて、依頼元の画像処理ソフトウエア212自身で処理した方が早い場合を割り出す。   Since the image processing apparatus 220 is a hardware process, the processing speed itself is faster than that of the image processing software 212. However, if there is another request in the queue of the image processing apparatus 220, the new arrival request is made after the processing of the first arrival request. It takes time to process the first request and the new request itself. For this reason, depending on the load status of the image processing device 220, that is, the status of the queue of the image processing device 220, it may occur that the image processing software 212 itself can perform image processing earlier. Therefore, in the present embodiment, the situation of the queue of the image processing apparatus 220 is also taken into consideration, and the case where the processing by the requesting image processing software 212 itself is earlier is determined.

なお、待ち行列は、依頼の処理順序を管理するための先入れ先出し方式のデータ構造であり、例えば各依頼を識別する識別情報を先着順に並べたものである。この明細書では、説明を簡潔にするために、画像処理装置220が現在処理中の依頼が、待ち行列の先頭にあるものとする。すなわち、待ち行列内には、現在処理中の依頼と、画像処理装置220で処理されるのを待っている処理待ち状態の依頼とが含まれる。画像処理装置220に対する各RIPモジュール210からの画像処理の依頼は、その画像処理装置220に対応づけられた待ち行列の最後尾に追加される。そして、画像処理装置220は、実行中の依頼(これが現在待ち行列の先頭)についての処理が終わると、当該依頼を待ち行列の先頭から取り除き、新たに先頭になった依頼に係る画像処理を実行する。このように、現在処理中の依頼が待ち行列の先頭に含まれるという方式を例示するのは、そうすることで、現在処理中の依頼と処理待ちの依頼とを合わせたものを「待ち行列中の依頼群」と簡潔に総称できるからである。すなわち、これはあくまで説明の便宜のためのものであり、実施形態の技術内容に実質的な影響を与えるものではない。なお、現在処理中の依頼を含まない形の待ち行列を用いた場合には、同じものを「処理中の依頼及び処理待ち状態の依頼群」と表現すればよいだけのことであり、実施形態の制御自体には変更は不要である。   The queue is a first-in first-out data structure for managing the processing order of requests. For example, identification information for identifying each request is arranged in the order of arrival. In this specification, for the sake of brevity, it is assumed that the request currently being processed by the image processing apparatus 220 is at the head of the queue. That is, the queue includes a request that is currently being processed and a request that is waiting to be processed by the image processing apparatus 220. A request for image processing from each RIP module 210 to the image processing apparatus 220 is added to the tail of the queue associated with the image processing apparatus 220. Then, when the processing for the request that is being executed (this is the head of the current queue) is completed, the image processing apparatus 220 removes the request from the head of the queue and executes the image processing related to the request that has been newly headed. To do. In this way, the method in which the request currently being processed is included at the head of the queue is illustrated by doing so by combining the request currently being processed and the request waiting to be processed as “ This is because it can be collectively referred to as “a group of requests”. That is, this is merely for convenience of explanation, and does not substantially affect the technical contents of the embodiment. In the case of using a queue that does not include a request that is currently being processed, it is only necessary to express the same thing as a “request being processed and a group of requests waiting to be processed”. There is no need to change the control itself.

処理実行制御部230は、以上に概説した画像処理依頼のハード(画像処理装置220)又はソフト(依頼元の画像処理ソフトウエア212)への割り当ての制御のために、画像処理装置管理情報232を参照する。画像処理装置管理情報232は、その制御のための判断材料となる管理情報である。画像処理装置管理情報232は、まず、画像処理装置220と画像処理ソフトウエア212との性能比、又はこの性能比を算出するための材料となる情報を含む。ここでいう「性能」は、ある単位量の画像データを処理するのに要する時間、言い換えれば処理速度、を表す性能である。性能比の算出の材料となる情報は、例えば、画像処理装置220と画像処理ソフトウエア212のそれぞれの性能を表す数値である。これら数値の比をとることで、性能比が算出される。これら性能比、又はその算出材料の情報は、画像処理装置220及び画像処理ソフトウエア212に対してそれぞれテスト用の画像を処理させてその処理時間を測定する実験などにより求め、印刷データ変換装置100に登録しておけばよい。ここでは、簡単のために、各RIPモジュール210の画像処理ソフトウエア212の性能は同一であるものと想定するが、同一でない場合は、RIPモジュール210ごとに、画像処理ソフトウエア212と画像処理装置220との性能比の情報(又はそれを求めるための材料となる情報)を画像処理装置管理情報232に組み込んでおけばよい。   The process execution control unit 230 controls the image processing apparatus management information 232 in order to control the allocation of the image processing request outlined above to hardware (image processing apparatus 220) or software (requesting image processing software 212). refer. The image processing apparatus management information 232 is management information that serves as a judgment material for the control. The image processing device management information 232 first includes a performance ratio between the image processing device 220 and the image processing software 212 or information that is a material for calculating the performance ratio. “Performance” here is performance that represents the time required to process a certain amount of image data, in other words, the processing speed. The information used as the material for calculating the performance ratio is, for example, a numerical value representing the performance of each of the image processing device 220 and the image processing software 212. The performance ratio is calculated by taking the ratio of these numerical values. These performance ratios or information on the calculation materials are obtained by an experiment in which the image processing device 220 and the image processing software 212 process test images and measure the processing time, respectively. You can register with. Here, for the sake of simplicity, it is assumed that the performance of the image processing software 212 of each RIP module 210 is the same, but if not, the image processing software 212 and the image processing apparatus are provided for each RIP module 210. Information on the performance ratio to 220 (or information as a material for obtaining the performance ratio) may be incorporated in the image processing apparatus management information 232.

また、画像処理装置管理情報232は、画像処理装置220の待ち行列内にある全ての依頼を処理し終わるまでの時間(以下では、「先着依頼の処理所要時間」と呼ぶ)の判断材料となる情報を含む。この先着依頼の処理所要時間の判断材料となる情報としては、例えば、以下の3つの例がある(ただし、これに限られるわけではない)。   Further, the image processing device management information 232 is used as a judgment material for the time until processing of all the requests in the queue of the image processing device 220 is completed (hereinafter, referred to as “processing time for first-come-first-served request”). Contains information. For example, there are the following three examples of information that can be used to determine the time required for processing the first-come-first-served request (however, the present invention is not limited to this).

(1)待ち行列内にある依頼の数
この例は、画像処理装置220がどの依頼でも一定の時間で処理するとのモデルに基づくものである。実際には、画像処理装置220が依頼を処理するのに要する時間は、依頼に係る画像処理の対象である画像のサイズ(画素数)などといった様々なパラメータに応じて変わってくるが、所要時間は全ての依頼について一定であるとの仮定でも、ある程度の精度は達成される。例えば、画像処理装置220に依頼される画像処理が1ページ全体の処理(例えばページに対する色空間変換)などに限定される場合には、どのページに関する依頼についても処理対象の画素数は同じであり、処理に要する時間もほぼ一定である。
(1) Number of requests in the queue This example is based on a model in which the image processing apparatus 220 processes any request in a certain time. Actually, the time required for the image processing apparatus 220 to process the request varies depending on various parameters such as the size (number of pixels) of the image that is the target of the image processing related to the request. A certain degree of accuracy is achieved even with the assumption that is constant for all requests. For example, when the image processing requested to the image processing apparatus 220 is limited to processing of the entire page (for example, color space conversion for the page), the number of pixels to be processed is the same for requests regarding any page. The time required for processing is also almost constant.

(2)待ち行列内の各依頼の対象の画像の画素数の合計
RIPモジュール210は、PDLの印刷文書データ内にあるオブジェクトごとに、当該オブジェクトに画像処理を施す必要であれば画像処理装置220に画像処理を依頼するが、そのオブジェクトの画素数が当該依頼に係る画素数である。待ち行列内の総画素数は、待ち行列内の各依頼に係る画素数を総和したものである。画像処理装置220(及び画像処理ソフトウエア212)が行う画像処理がビットマップ画像に対する処理である場合、画像処理に要する時間は大まかには画素数に比例する。したがって、依頼に係るオブジェクトの画素数を、そのオブジェクトの画像処理に要する時間の指標値として用いることができ、ひいては、待ち行列内の各依頼に係る画素数の合計を、先着依頼の処理所要時間の指標値として用いることができる。なお、依頼に係るオブジェクトの画素数は当該オブジェクトの属性データとして印刷文書データに含まれている場合が多いので、それを利用すればよい。
(2) Total number of pixels of target images in each queue The RIP module 210 performs image processing on each object in the PDL print document data if necessary to perform image processing on the object. The number of pixels of the object is the number of pixels related to the request. The total number of pixels in the queue is the sum of the number of pixels related to each request in the queue. When the image processing performed by the image processing device 220 (and the image processing software 212) is processing for a bitmap image, the time required for the image processing is roughly proportional to the number of pixels. Accordingly, the number of pixels of the object related to the request can be used as an index value of the time required for image processing of the object, and the total number of pixels related to each request in the queue is calculated as the time required for processing the first-arrival request. Can be used as an index value. In many cases, the number of pixels of the object related to the request is included in the print document data as attribute data of the object.

(3)待ち行列内の各依頼の対象の画像の処理所要時間の推定値の合計
上記(2)では画像処理装置220(及び画像処理ソフトウエア212)の処理所要時間は画像処理対象の画素数に比例すると想定したのに対し、この(3)では「画素数」に比例しない要因も無視できないほど存在する場合を想定する。例えば、画像の拡大・縮小を含んだ画像処理の場合、画素数が変化するために、所要時間が画素数に比例しない場合も考えられる。この他、所要時間が画素数に比例しない画像処理も存在し得る。このような場合でも、画像処理の対象となる画素数からその処理の所要時間を推定するための計算式を実験等により求めることはできるので、その計算式を用いて画素数から画像処理の所要時間を推定することもできる。待ち行列に入れる依頼ごとに、その依頼の対象の画素数から所要時間を推定することで、待ち行列内にある全依頼の合計の処理所要時間の推定値が得られる。
(3) Total estimated value of processing time required for each request target image in the queue In the above (2), the processing time required for the image processing device 220 (and the image processing software 212) is the number of pixels to be processed. Whereas (3) assumes that there are factors that are not proportional to the “number of pixels” so that they cannot be ignored. For example, in the case of image processing including enlargement / reduction of an image, the number of pixels changes, so the time required may not be proportional to the number of pixels. In addition, there may be image processing whose required time is not proportional to the number of pixels. Even in such a case, a calculation formula for estimating the time required for the processing from the number of pixels subject to image processing can be obtained by experiments or the like. Time can also be estimated. For each request placed in the queue, the required time is estimated from the number of target pixels of the request, thereby obtaining an estimated value of the total processing time required for all requests in the queue.

なお、画像処理装置管理情報232のうち先着依頼の処理所要時間に関する情報については、画像処理装置220の処理の実行状況や、各RIPモジュール210からの依頼の到来状況などに応じて、例えば処理実行制御部230が随時情報を更新する。例えば、上記(1)の例の場合、画像処理装置220から実行中の画像処理を完了した旨の通知が到来すると、例えば処理実行制御部230は、画像処理装置管理情報232における待ち行列内の依頼数を1つ減じる。上記(2)、(3)の例の場合は、画像処理装置220から画像処理の完了通知が来ると、待ち行列の先頭の依頼(今処理を完了した依頼)の画素数又は推定所要時間を、画像処理装置管理情報232内の総画素数、又は推定所要時間の合計値から減算する。また、RIPモジュール210からの依頼を画像処理装置220に追加した場合は、画像処理装置管理情報232において、依頼数に1を加算したり、総画素数又は推定所要時間の合計値に対して、今回追加した依頼に係る画素数や推定所要時間を加算したりする。   Note that information regarding the processing time required for the first-arrival request in the image processing apparatus management information 232 is, for example, executed according to the execution status of the processing of the image processing apparatus 220 or the arrival status of requests from the RIP modules 210. The control unit 230 updates information as needed. For example, in the case of the above example (1), when the notification that the image processing being executed is completed is received from the image processing device 220, the processing execution control unit 230, for example, in the queue in the image processing device management information 232. Decrease the number of requests by one. In the case of the above examples (2) and (3), when the image processing completion notification is received from the image processing device 220, the number of pixels or the estimated required time of the request at the head of the queue (request that has completed the current processing) is obtained. Then, the total number of pixels in the image processing apparatus management information 232 or the total value of the estimated required time is subtracted. In addition, when a request from the RIP module 210 is added to the image processing apparatus 220, 1 is added to the number of requests in the image processing apparatus management information 232, or the total number of pixels or the estimated required time is calculated. Add the number of pixels and estimated time required for the request added this time.

以上、画像処理装置管理情報232について説明した。次に、この管理情報を用いた処理実行制御部230の処理手順の一例を、図4を参照して説明する。   The image processing apparatus management information 232 has been described above. Next, an example of a processing procedure of the processing execution control unit 230 using this management information will be described with reference to FIG.

処理実行制御部230は、RIPモジュール210A〜Cから画像処理の依頼が来るのを待つ(S10)。依頼が到来すると、画像処理装置管理情報232を参照し(S12)、ハード(画像処理装置220)とソフト(依頼元のRIPモジュール210の画像処理ソフトウエア212)のそれぞれについて、当該依頼に係る画像の処理が完了するまでに要する時間を推定する(S14)。この推定では、ハードとソフトのどちらが早く完了するかを比較できればよいので、分秒単位の意味での「時間」を推定する必要はなく、同一尺度で比較できる数値を推定すればよい。   The process execution control unit 230 waits for an image processing request from the RIP modules 210A to 210C (S10). When the request arrives, the image processing device management information 232 is referred to (S12), and the image relating to the request is obtained for each of the hardware (the image processing device 220) and the software (the image processing software 212 of the requesting RIP module 210). The time required to complete the process is estimated (S14). In this estimation, it is only necessary to compare whether hardware or software is completed earlier, so it is not necessary to estimate “time” in terms of minutes and seconds, and it is only necessary to estimate a numerical value that can be compared on the same scale.

例えば、先着依頼の処理所要時間に関する情報として、上記(1)のように待ち行列内の依頼数を管理している例では、1つの依頼の処理に要する時間は一定であると想定しているので、依頼数を所要時間の指標値として用いればよい。この場合、画像処理装置220(ハード)において今回の依頼の処理が完了するまでの所要時間の指標値は、待ち行列内の依頼数をn個とすると、n+1となる。ここで、「+1」は今回の依頼の所要時間に対応している。また、現在実行中の依頼は、既に途中まで処理が完了しているはずであるが、この例では、処理の簡素化のため、どの程度完了しているかを推定して精度を上げることはせず、単純に依頼1つ分の所要時間を要するとして見積もっている。一方、依頼元の画像処理ソフトウエア212がその依頼を処理するのに要する時間は、当該画像処理ソフトウエア212と画像処理装置220との性能比から見積もればよい。例えば、画像処理装置220の性能(処理速度)が依頼元の画像処理ソフトウエア212のP倍(すなわち装置220のソフトウエア212に対する性能比がP)であるとすると、画像処理ソフトウエア212は、その依頼に係る画像処理を実行するのみであり(待ち行列は無い)、その1つの依頼につき画像処理装置220のP倍の時間を要するので、結局所要時間の指標値はPとなる。   For example, in the example in which the number of requests in the queue is managed as described in (1) above as information on the time required for processing the first request, it is assumed that the time required for processing one request is constant. Therefore, the number of requests may be used as an index value for the required time. In this case, the index value of the required time until the processing of the current request is completed in the image processing apparatus 220 (hardware) is n + 1 when the number of requests in the queue is n. Here, “+1” corresponds to the time required for this request. In addition, the request that is currently being executed should have already been processed halfway, but in this example, to simplify the process, it is not possible to increase the accuracy by estimating how much it has been completed. However, it is simply estimated that the time required for one request is required. On the other hand, the time required for the requesting image processing software 212 to process the request may be estimated from the performance ratio between the image processing software 212 and the image processing apparatus 220. For example, if the performance (processing speed) of the image processing device 220 is P times that of the requesting image processing software 212 (that is, the performance ratio of the device 220 to the software 212 is P), the image processing software 212 Only the image processing related to the request is executed (there is no queue), and it takes P times as long as that of the image processing apparatus 220 for each request, so the index value of the required time is eventually P.

このようにして、ソフトとハードの所要時間を推定すると、次にそれら所要時間同士を比較し、ハードとソフトのどちらが先に処理結果が得られるかを判定する(S16)。上述の(1)の例で言えば、推定した所要時間の指標値n+1(ハード)とP(ソフト)とを比較する。指標値が小さい方が、処理結果が早く得られる。例えば、Pの方が小さければ、依頼元の画像処理ソフトウエア212の方が早く、逆であれば画像処理装置220の方が早い。S16の判定は、待ち行列内の依頼数が性能比P未満かどうかを判定するものと捉えてもよい。待ち行列内の依頼数がP未満であれば、これに今回の依頼を加えたとしても、ソフトよりも指標値が小さくなる。   When the required time for software and hardware is estimated in this way, the required times are then compared to determine which of the hardware and software can obtain the processing result first (S16). In the above example (1), the estimated time index value n + 1 (hard) and P (soft) are compared. The smaller the index value, the faster the processing result can be obtained. For example, if P is smaller, the requesting image processing software 212 is faster, and vice versa, the image processing device 220 is faster. The determination in S16 may be regarded as determining whether the number of requests in the queue is less than the performance ratio P. If the number of requests in the queue is less than P, even if this request is added to this, the index value is smaller than that of the software.

S16の判定で、ハードの方が早いと判定した場合、処理実行制御部230は、ハード(画像処理装置220)の待ち行列(キュー)に今回の依頼を追加する(S18)。また、これに伴い、画像処理装置管理情報232の先着依頼の処理所要時間に関する情報を更新する。一方、S16でソフトの方が早いと判定した場合は、ソフト(依頼元のRIPモジュール210)に対し、その依頼に係る画像処理を実行するように指示する(S20)。ハードとソフトの所要時間の推定指標値が同じであれば、ソフトに画像処理を割り当てる。依頼元のRIPモジュール210にすれば、所要時間が同等であればどちらに割り当てても不利益はなく、その一方で他のRIPモジュール210にとっては、画像処理装置220の負荷(処理待ち数)が増加しないので、今後発する依頼に対する処理を画像処理装置220により早く処理できる可能性が増す。   If it is determined in S16 that the hardware is earlier, the process execution control unit 230 adds the current request to the queue (queue) of the hardware (image processing apparatus 220) (S18). Accordingly, the information related to the processing time required for the first-arrival request in the image processing apparatus management information 232 is updated. On the other hand, if it is determined in S16 that the software is earlier, the software (requesting RIP module 210) is instructed to execute image processing related to the request (S20). If the estimated index values of the required time for hardware and software are the same, image processing is assigned to software. In the case of the requesting RIP module 210, there is no penalty if the required time is the same, and on the other hand, for the other RIP modules 210, the load (the number of processing waits) of the image processing apparatus 220 is high. Since the number does not increase, the possibility that the image processing apparatus 220 can process the request issued in the future is increased.

例えば、画像処理装置220がRIPモジュール210の画像処理ソフトウエア212の2倍の性能を持ち、図3に例示するように、画像処理装置220がRIPモジュール210Aの依頼を処理中であり、且つRIPモジュール210Bの依頼が待ち行列内で処理待ち状態あるときに、RIPモジュール210Cが画像処理の依頼を行ったとする。この場合、待ち行列内の依頼数は2であり、この値は性能比2以上なので、このRIPモジュール210Cの依頼は、RIPモジュール210C自身に割り当てられることとなる。   For example, the image processing apparatus 220 has twice the performance of the image processing software 212 of the RIP module 210, and as illustrated in FIG. 3, the image processing apparatus 220 is processing the request of the RIP module 210A, and the RIP Assume that the RIP module 210C makes a request for image processing when the request for the module 210B is waiting for processing in the queue. In this case, the number of requests in the queue is 2, and since this value is 2 or more, the request for this RIP module 210C is assigned to the RIP module 210C itself.

なお、依頼元のRIPモジュール210は、処理実行制御部230に対して今回の依頼を発した時点で、その依頼の結果を待つ待機状態に入る。処理実行制御部230によりその依頼が画像処理装置220に割り当てられた場合は、画像処理装置220がその依頼に係る画像処理を完了すると、その画像処理の結果が依頼元のRIPモジュール210に返される。依頼元のRIPモジュール210は、その画像処理の結果を受け入れて、RIP処理を更に先に進める。一方、処理実行制御部230がその依頼を依頼元のRIPモジュール210自身に割り当てると、その割り当て指示を受けたRIPモジュール210は、自身の画像処理ソフトウエア212にその依頼の対象である画像を処理させる。そして、処理結果が得られると、その処理結果を用いて更にRIP処理を進める。   The requesting RIP module 210 enters a waiting state waiting for the result of the request at the time of issuing the current request to the process execution control unit 230. When the request is assigned to the image processing device 220 by the processing execution control unit 230, when the image processing device 220 completes the image processing related to the request, the result of the image processing is returned to the requesting RIP module 210. . The requesting RIP module 210 accepts the result of the image processing and advances the RIP processing further. On the other hand, when the processing execution control unit 230 assigns the request to the requesting RIP module 210 itself, the RIP module 210 that has received the assignment instruction processes the image that is the target of the request in its image processing software 212. Let When the processing result is obtained, the RIP process is further advanced using the processing result.

以上では、上記(1)の例(所要時間の指標値として依頼数を用いる例)について説明したが、(2)及び(3)の場合も、S14における所要時間の指標値の見積もり方が(1)の場合と変わるだけで、それ以外は(1)の場合と同様に処理すればよい。(2)の場合(所要時間の指標値として画素数を用いる場合)、S14の処理を行う時点で、画像処理装置管理情報232に含まれる待ち行列内の処理待ち依頼の総画素数Nであり、今回到来した依頼の画素数Nであるとすると、画像処理装置220が今回の依頼の処理を完了するまでに要する時間は、N+Nにほぼ比例する。したがって、N+Nをハードの所要時間の指標値とする。一方、依頼元のRIPモジュール210(の画像処理ソフトウエア212)が今回の依頼の処理を終えるまでに要する時間は、性能比Pを用いて、P×Nと表すことができる。したがって、S16では、N+N(ハード)とP×N(ソフト)との大小関係を判定すればよい。そして、前者が小さければハードに、後者が前者と同等以下であればソフトに、今回の依頼を割り当てる。(3)については、この(2)の場合と同じ考え方でよい。 In the above, the example of (1) above (an example in which the number of requests is used as the index value of the required time) has been described. The processing is the same as in the case of (1) except for the case of 1). In the case of (2) (when the number of pixels is used as an index value for the required time), at the time of performing the process of S14, the total number of pixels N A of processing wait requests in the queue included in the image processing device management information 232 If it is assumed that the number of requested pixels N B has arrived this time, the time required for the image processing apparatus 220 to complete the processing of the current request is approximately proportional to N A + N B. Therefore, N A + N B is used as an index value of the required time for hardware. Meanwhile, the time the requesting RIP module 210 (the image processing software 212) is required until completion of the processing of this request, we can use the performance ratio P, which is described as P × N B. Therefore, in S16, the magnitude relationship between N A + N B (hard) and P × N B (soft) may be determined. If the former is small, the current request is assigned to hardware, and if the latter is equal to or less than the former, the current request is assigned to software. For (3), the same idea as in (2) may be used.

次に、図5〜図7を参照して、変形例を説明する。図3の例では、画像処理装置220が1つのハードウエア画像処理回路を有していたが、この変形例では、画像処理装置220は2つのハードウエアの画像処理回路222A及び222Bを備える。画像処理回路222A及び222Bは、それぞれ例えばグラフィックアクセラレータチップであり、画像処理装置220は例えばそのチップを2個搭載し、コントローラ110のバスに設けられたコネクタに装着されるグラフィックボードである。ただし、これは一例に過ぎず、画像処理装置220は、例えば、ネットワークを介して印刷データ変換装置100と通信するリモートの装置であってもよい。図ではRIPモジュール210を3つ示しているが、実際には更に多く(例えば図6Aの設定では、6個以上)のRIPモジュール210がマルチCPU114により実行されているものとする。   Next, a modified example will be described with reference to FIGS. In the example of FIG. 3, the image processing apparatus 220 has one hardware image processing circuit, but in this modification, the image processing apparatus 220 includes two hardware image processing circuits 222 </ b> A and 222 </ b> B. Each of the image processing circuits 222A and 222B is, for example, a graphic accelerator chip, and the image processing apparatus 220 is, for example, a graphic board that has two such chips and is mounted on a connector provided on the bus of the controller 110. However, this is merely an example, and the image processing apparatus 220 may be a remote apparatus that communicates with the print data conversion apparatus 100 via a network, for example. Although three RIP modules 210 are shown in the figure, it is assumed that more RIP modules 210 are actually executed by the multi CPU 114 (for example, six or more in the setting of FIG. 6A).

この場合、例えば処理実行制御部230は、画像処理回路222A及び222Bのそれぞれの待ち行列を管理する。画像処理装置管理情報232には、例えば図6Aに示すように、画像処理回路222A及び222Bのそれぞれについて、対SW(ソフトウエア)性能比、及び待ち行列(キュー)内の依頼数が記憶されている。ここでは、画像処理回路222A及び222Bの識別番号がそれぞれ「1」及び「2」であるとしている。対SW性能比は、画像処理ソフトウエア212の性能(処理速度)に対する当該画像処理回路222A又は222Bの性能の比率であり、例えば識別番号2の画像処理回路222Bは画像処理ソフトウエア212の3倍の処理速度を有することを示している。画像処理回路222A及び222Bの性能が同じであれば、個別に記憶しておく必要はない。待ち行列内の依頼数は、待ち行列に対する依頼の追加(依頼受け付け時)又は除去(処理完了時)に応じて更新される。図6Aの例は、上述の(1)の場合に対応する。   In this case, for example, the process execution control unit 230 manages each queue of the image processing circuits 222A and 222B. For example, as shown in FIG. 6A, the image processing device management information 232 stores the performance ratio with respect to SW (software) and the number of requests in a queue (queue) for each of the image processing circuits 222A and 222B. Yes. Here, it is assumed that the identification numbers of the image processing circuits 222A and 222B are “1” and “2”, respectively. The SW performance ratio is the ratio of the performance of the image processing circuit 222A or 222B to the performance (processing speed) of the image processing software 212. For example, the image processing circuit 222B with the identification number 2 is three times as large as the image processing software 212. It has shown that it has processing speed of. If the performance of the image processing circuits 222A and 222B is the same, there is no need to store them separately. The number of requests in the queue is updated according to the addition (when accepting requests) or removal (when processing is completed) of requests to the queue. The example of FIG. 6A corresponds to the above-described case (1).

また、上述の(2)に対応する例では、画像処理装置管理情報232には、図6Bに示すように、画像処理回路222A及び222Bのそれぞれについて、対SW性能比、及び待ち行列(キュー)内の各依頼の画素数のリストが記憶されている。図6Bの例では、識別番号2の画像処理回路222Bの待ち行列には、依頼識別番号2,3,5の依頼が入っており、それら各依頼2,3,5に係る画像処理の対象の画素数はそれぞれN2,N3,N5である。これら各依頼の画素数N2,N3,N5の合計が、待ち行列内の総画素数となる。画像処理回路222Bが、待ち行列の先頭の依頼2に係る画像処理を完了すると、画素数N2が、待ち行列内の依頼の画素数の情報から削除される。上記(3)の場合も、これと同様の情報を画像処理装置管理情報232に登録して管理すればよい。   Further, in the example corresponding to the above (2), the image processing device management information 232 includes, as shown in FIG. 6B, the SW performance ratio and the queue (queue) for each of the image processing circuits 222A and 222B. A list of the number of pixels of each request is stored. In the example of FIG. 6B, the requests of the request identification numbers 2, 3, and 5 are placed in the queue of the image processing circuit 222B of the identification number 2, and the target of the image processing related to the requests 2, 3, and 5 is included. The number of pixels is N2, N3, and N5, respectively. The total number of pixels N2, N3, and N5 for each request is the total number of pixels in the queue. When the image processing circuit 222B completes the image processing related to the request 2 at the head of the queue, the pixel number N2 is deleted from the information on the number of requested pixels in the queue. In the case of (3) above, the same information may be registered and managed in the image processing apparatus management information 232.

図7に、この変形例の処理実行制御部230の処理手順の例を説明する。この手順において、図4の手順におけるステップと同様の処理内容のステップについては、同一符号を付して説明を省略する。   FIG. 7 illustrates an example of a processing procedure of the processing execution control unit 230 according to this modification. In this procedure, steps having the same processing contents as the steps in the procedure of FIG. 4 are denoted by the same reference numerals and description thereof is omitted.

図7の手順では、処理実行制御部230は、いずれかのRIPモジュール210から画像処理の依頼を受けると、画像処理装置管理情報232を参照して、当該依頼に係る画像処理が完了するまでの時間の指標値を各画像処理回路222A及び222Bのそれぞれについて計算し、更に依頼元のRIPモジュール210でその画像処理を実行した場合の完了までの時間の指標値を計算する(S14a)。各画像処理回路222A及び222Bについての画像処理完了までの時間の指標値の計算の仕方は、上記実施形態と同様でよい。そして、計算した所要時間の指標値を比較した結果、最も早く処理が完了するものにその依頼を割り当てる。例えば、当該依頼の処理を完了するのが最も早いのが画像処理回路222Aであれば、画像処理回路222Aの待ち行列の末尾にその依頼を追加する(S18a)。当該依頼の処理を完了するのが最も早いのが依頼元のRIPモジュール210であれば、そのモジュール210にその依頼を実行するように指示する(S20)。   In the procedure of FIG. 7, when the processing execution control unit 230 receives an image processing request from any of the RIP modules 210, the processing execution control unit 230 refers to the image processing device management information 232 until the image processing related to the request is completed. A time index value is calculated for each of the image processing circuits 222A and 222B, and a time index value until completion when the requesting RIP module 210 executes the image processing is calculated (S14a). The method of calculating the index value of the time until completion of image processing for each of the image processing circuits 222A and 222B may be the same as in the above embodiment. Then, as a result of comparing the calculated index values for the required time, the request is assigned to the one that completes processing the earliest. For example, if it is the image processing circuit 222A that completes the processing of the request most quickly, the request is added to the end of the queue of the image processing circuit 222A (S18a). If it is the RIP module 210 of the request source that completes the processing of the request, the module 210 is instructed to execute the request (S20).

次に、更に別の変形例を、図8を参照して説明する。図8の例では、ハードウエアの画像処理回路242A及び242B(例えばグラフィックアクセラレータ)を搭載した画像処理装置240が、印刷データ変換装置100とLAN等のネットワークを介して接続されている。この画像処理装置240は、画像処理回路242A及び242Bを制御する画像処理制御部244を有する。画像処理制御部244は、ネットワークを介して、印刷データ変換装置100の処理実行制御部230と通信して画像処理依頼を受け付けたり、画像処理回路242A及び242Bの画像処理結果の画像データを依頼元のRIPモジュール210に返したりする。また、画像処理制御部244は、各画像処理回路242A及び242Bの待ち行列を管理する。また画像処理制御部244は、処理実行制御部230からの(例えば定期的な)問合せに応じて、或いは各画像処理回路242A及び242Bの待ち行列の内容が変化するごとに、処理実行制御部230に対して、各画像処理回路242A及び242Bの待ち行列の情報(例えば、各待ち行列内にある依頼のリスト)を提供する。この情報に基づき、処理実行制御部230は、画像処理装置管理情報232内の各画像処理回路242A及び242Bの待ち行列内の依頼数又は総画素数の情報を更新する。処理実行制御部230は、この管理情報232を参照して、上述のようにして、各RIPモジュール210からの依頼を画像処理回路242A又は242B又は依頼元のRIPモジュール210のいずれに割り当てるかを判定する。   Next, still another modification will be described with reference to FIG. In the example of FIG. 8, an image processing apparatus 240 equipped with hardware image processing circuits 242A and 242B (for example, a graphic accelerator) is connected to the print data conversion apparatus 100 via a network such as a LAN. The image processing apparatus 240 includes an image processing control unit 244 that controls the image processing circuits 242A and 242B. The image processing control unit 244 communicates with the processing execution control unit 230 of the print data conversion apparatus 100 via the network to receive an image processing request, or request image data of image processing results of the image processing circuits 242A and 242B. To the RIP module 210. The image processing control unit 244 manages the queues of the image processing circuits 242A and 242B. In addition, the image processing control unit 244 responds to an inquiry (for example, periodically) from the processing execution control unit 230 or whenever the contents of the queues of the image processing circuits 242A and 242B change. , Information about the queues of the image processing circuits 242A and 242B (for example, a list of requests in each queue) is provided. Based on this information, the process execution control unit 230 updates information on the number of requests or the total number of pixels in the queue of each of the image processing circuits 242A and 242B in the image processing apparatus management information 232. The process execution control unit 230 refers to the management information 232 and determines whether the request from each RIP module 210 is assigned to the image processing circuit 242A or 242B or the requesting RIP module 210 as described above. To do.

この画像処理制御部244は、例えば、上述の機能を記述したプログラムを画像処理装置240のCPU(図示省略)が実行することにより実現される。   The image processing control unit 244 is realized, for example, when a CPU (not shown) of the image processing apparatus 240 executes a program describing the above-described functions.

なお、画像処理装置管理情報232をリモートの画像処理装置240内に持たせ、処理実行制御部230が画像処理装置240の画像処理制御部244に各画像処理回路242A及び242Bの待ち行列内の依頼数などを問い合わせるようにしてもよい。   Note that the image processing device management information 232 is provided in the remote image processing device 240, and the processing execution control unit 230 requests the image processing control unit 244 of the image processing device 240 in the queues of the image processing circuits 242A and 242B. You may make it inquire about the number.

以上に説明した実施形態、変形例は、あくまで本発明の説明のための例に過ぎず、この他にも本発明の範囲内で様々な変形や改良が可能である。例えば、以上の各例では、RIPモジュール210に対して、ページ単位で変換処理を割り当てたが、割り当ての単位はページに限られるものではなく、バンドなどといったページ以外の単位であってもよい。   The embodiments and modifications described above are merely examples for explaining the present invention, and various modifications and improvements can be made within the scope of the present invention. For example, in each of the above examples, the conversion process is assigned to the RIP module 210 in units of pages, but the unit of assignment is not limited to pages, and may be units other than pages such as bands.

100 印刷データ変換装置、110 コントローラ、140 ホストコンピュータ、160 印刷制御装置、170 プリンタエンジン、202 印刷文書受信部、204 印刷文書格納部、206 印刷文書選択部、208 ページ割り当て制御部、210A,210B,210C RIPモジュール、212A,212B,212C 画像処理ソフトウエア、220 画像処理装置、230 処理実行制御部、232 画像処理装置管理情報。   100 Print Data Conversion Device, 110 Controller, 140 Host Computer, 160 Print Control Device, 170 Printer Engine, 202 Print Document Receiving Unit, 204 Print Document Storage Unit, 206 Print Document Selection Unit, 208 Page Assignment Control Unit, 210A, 210B, 210C RIP module, 212A, 212B, 212C image processing software, 220 image processing device, 230 processing execution control unit, 232 image processing device management information.

Claims (5)

特定の画像処理を実行するハードウエア画像処理装置と、
ページ記述言語で記述された印刷文書データをビットマップ画像形式のページ画像データに変換するためのソフトウエア変換処理を行う複数のソフトウエア変換手段であって、前記ソフトウエア変換処理のうちの前記特定の画像処理については前記ハードウエア画像処理装置による処理を依頼し、この依頼に対して当該画像処理を当該ソフトウエア変換手段自身が行う旨の指示を受けた場合には当該画像処理を実行するソフトウエア変換手段と、
前記ソフトウエア変換手段から前記依頼を受けた場合に、前記ハードウエア画像処理装置と依頼元の前記ソフトウエア変換手段とのうち、前記依頼に係る前記特定の画像処理を処理させた場合に処理結果を早く得られる方に、当該画像処理を実行させる制御を行う制御手段と、
を備える印刷文書変換装置。
A hardware image processing device for performing specific image processing;
A plurality of software conversion means for performing software conversion processing for converting print document data described in a page description language into page image data in a bitmap image format, wherein the specific of the software conversion processing The image processing is requested by the hardware image processing apparatus, and when an instruction to perform the image processing by the software converting unit itself is received in response to the request, the software for executing the image processing is executed. Wear conversion means;
When the request is received from the software conversion means, a processing result is obtained when the specific image processing related to the request is processed among the hardware image processing apparatus and the requesting software conversion means. Control means for performing control to execute the image processing for those who can quickly obtain
A print document conversion apparatus comprising:
前記制御手段は、前記ハードウエア画像処理装置と前記依頼元のソフトウエア変換手段との性能情報と、前記ハードウエア画像処理装置の負荷状況と、に基づき、前記ハードウエア画像処理装置と前記依頼元のソフトウエア変換手段とのどちらに前記特定の画像処理を実行させた方が当該画像処理の処理結果が早く得られるかを判定し、早く得られると判定された方に当該画像処理の実行を指示する制御を行う、
ことを特徴とする請求項1に記載の印刷文書変換装置。
The control means, based on the performance information of the hardware image processing apparatus and the requesting software conversion means, and the load status of the hardware image processing apparatus, the hardware image processing apparatus and the request source. It is determined which one of the software conversion means and the specific image processing to execute to obtain the image processing result earlier, and the image processing to the one determined to be obtained earlier is executed. Control to direct,
The printed document conversion apparatus according to claim 1, wherein:
前記制御手段は、前記特定の画像処理を前記ハードウエア画像処理回路に実行させた場合と前記依頼元のソフトウエア変換手段に実行させた場合とで当該画像処理の処理結果が得られるまでの時間が同等である場合には、前記依頼元のソフトウエア変換手段に当該画像処理を実行させる、ことを特徴とする請求項1に記載の印刷文書変換装置。   The control means is a time until the processing result of the image processing is obtained when the specific image processing is executed by the hardware image processing circuit and when the requested software conversion means is executed. 2. The print document conversion apparatus according to claim 1, wherein if the two are equal, the software conversion unit of the request source executes the image processing. 前記ハードウエア画像処理装置は、前記特定の画像処理を実行可能な単位回路を複数備え、
前記制御手段は、前記ハードウエア画像処理装置の前記複数の単位回路の中に、前記依頼元のソフトウエア変換処理手段よりも前記特定の画像処理の処理結果を早く得られるものがあれば、前記依頼元のソフトウエア変換処理手段よりも前記特定の画像処理の処理結果を早く得られる前記単位回路に当該画像処理を実行させ、そうでない場合は前記依頼元のソフトウエア変換処理手段に当該画像処理を実行させる、
ことを特徴とする請求項2に記載の印刷文書変換装置。
The hardware image processing apparatus includes a plurality of unit circuits capable of executing the specific image processing,
If the control means is one that can obtain the processing result of the specific image processing earlier than the requesting software conversion processing means in the plurality of unit circuits of the hardware image processing apparatus, The unit circuit that can obtain the processing result of the specific image processing earlier than the requesting software conversion processing unit executes the image processing, and if not, the requesting software conversion processing unit causes the image processing to be performed. To execute,
The printed document conversion apparatus according to claim 2, wherein
コンピュータを、
ページ記述言語で記述された印刷文書データをビットマップ画像形式のページ画像データに変換するためのソフトウエア変換処理を行う複数のソフトウエア変換手段であって、前記ソフトウエア変換処理のうちの特定の画像処理については、当該特定の画像処理を実行するハードウエア画像処理装置による処理を依頼し、この依頼に対して当該画像処理を当該ソフトウエア変換手段自身が行う旨の指示を受けた場合には当該画像処理を実行するソフトウエア変換手段、
前記ソフトウエア変換手段から前記依頼を受けた場合に、前記ハードウエア画像処理装置と依頼元の前記ソフトウエア変換手段とのうち、前記依頼に係る前記特定の画像処理を処理させた場合に処理結果を早く得られる方に、当該画像処理を実行させる制御を行う制御手段、
として機能させるためのプログラム。
Computer
A plurality of software conversion means for performing software conversion processing for converting print document data described in a page description language into page image data in a bitmap image format. For image processing, if a request is made by the hardware image processing apparatus that executes the specific image processing, and the software conversion means itself receives an instruction to perform the image processing in response to the request. Software conversion means for executing the image processing;
When the request is received from the software conversion means, a processing result is obtained when the specific image processing related to the request is processed among the hardware image processing apparatus and the requesting software conversion means. Control means for performing control to execute the image processing for those who can obtain the
Program to function as.
JP2010144735A 2010-06-25 2010-06-25 Print document conversion device and program Pending JP2012008838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010144735A JP2012008838A (en) 2010-06-25 2010-06-25 Print document conversion device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010144735A JP2012008838A (en) 2010-06-25 2010-06-25 Print document conversion device and program

Publications (1)

Publication Number Publication Date
JP2012008838A true JP2012008838A (en) 2012-01-12

Family

ID=45539292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010144735A Pending JP2012008838A (en) 2010-06-25 2010-06-25 Print document conversion device and program

Country Status (1)

Country Link
JP (1) JP2012008838A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018118426A (en) * 2017-01-24 2018-08-02 キヤノン株式会社 Image formation system and image formation method
US10402131B2 (en) 2016-12-13 2019-09-03 Canon Kabushiki Kaisha Image processing apparatus and method to form image on sheet using page image data and object information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402131B2 (en) 2016-12-13 2019-09-03 Canon Kabushiki Kaisha Image processing apparatus and method to form image on sheet using page image data and object information
JP2018118426A (en) * 2017-01-24 2018-08-02 キヤノン株式会社 Image formation system and image formation method

Similar Documents

Publication Publication Date Title
JP5482528B2 (en) Printed document conversion apparatus and program
US8576435B2 (en) Print-document conversion apparatus, print-document conversion method, and computer-readable medium storing program
US8736876B2 (en) Print document processing system, cache apparatus, data processing apparatus, non-transitory computer readable medium storing program, and print document processing method
US8625133B2 (en) Print data processing apparatus, print data processing method, and storage medium
US8810813B2 (en) Print document processing system, cache apparatus, computer readable medium storing program, and print document processing method
JP5839845B2 (en) Printing apparatus, printing method, and program
US8537396B2 (en) Print document conversion apparatus, print document conversion method, and computer readable medium
JP5594470B2 (en) Printing control apparatus, printing system, and program
JP2012081626A (en) Image forming apparatus, image processing method, and program
EP2206036B1 (en) Setting a partition size for a print job
JP6372262B2 (en) Printing apparatus and program
US8941852B2 (en) Print data processing system, print data processing method, and non-transitory computer readable medium
US8614822B2 (en) Print data processing apparatus, print data processing method, and storage medium
JP2012008838A (en) Print document conversion device and program
US10209931B2 (en) Image processing apparatus and image forming apparatus
JP3724536B2 (en) Image output control device and process execution control method thereof
JP5799968B2 (en) Printing system
US8368937B2 (en) Print data processing apparatus, print data processing method, and storage medium
US20120236362A1 (en) Printing system, method for controlling power of printing system, and program
JP6128104B2 (en) Image processing apparatus, control method thereof, and program
JP2019057207A (en) Print controller, image forming system, and image forming apparatus
JP2013052568A (en) Image forming apparatus, control method and control program
US8629997B2 (en) Print control apparatus and image forming system for rendering image data
JP5631022B2 (en) Processing device, processing allocation method, and program
JPH09265365A (en) Device and method for processing printing