JP2006224436A - Data transfer control means - Google Patents

Data transfer control means Download PDF

Info

Publication number
JP2006224436A
JP2006224436A JP2005040374A JP2005040374A JP2006224436A JP 2006224436 A JP2006224436 A JP 2006224436A JP 2005040374 A JP2005040374 A JP 2005040374A JP 2005040374 A JP2005040374 A JP 2005040374A JP 2006224436 A JP2006224436 A JP 2006224436A
Authority
JP
Japan
Prior art keywords
data
cpu
inter
data transfer
printer
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.)
Withdrawn
Application number
JP2005040374A
Other languages
Japanese (ja)
Inventor
Yusuke Yamamoto
雄介 山本
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005040374A priority Critical patent/JP2006224436A/en
Publication of JP2006224436A publication Critical patent/JP2006224436A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To update a compression rate of data for inter-CPU communication corresponding to the data transfer amount to a printer engine, in a dual CPU printer controller that separately has the function of performing a PDL interpretation processing by receiving print data from a host computer and the function of performing color conversion of the data acquired by the PDL interpretation processing to transmit the converted data to a printer engine. <P>SOLUTION: The data transfer control means has in a BusBridge register groups for storing the data amount to be transferred to the printer engine, and is also provided with a means for performing data compression corresponding to the data amount to be transferred to the printer engine by updating the compression rate of the data for inter-CPU communication corresponding to the state of the register groups. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、CPU間通信のデータ圧縮率を変更するデータ転送制御手段に関するものである。   The present invention relates to a dual CPU printer controller in which a function of receiving print data from a host computer and performing PDL decoding processing and a function of performing color conversion on the data subjected to PDL decoding processing and transferring the data to a printer engine are separated. The present invention relates to data transfer control means for changing the data compression rate of inter-CPU communication.

近年のプリンタエンジンの高画質化により、プリンタコントローラに求められる処理速度が求められている。その解決方法として、マルチプロセッサを用いた並列処理により、デジタルデータの処理速度を向上させる方法が一般的である。しかし、開発期間やコストがかかるため、プリンタなどの周辺機器には採用されにくい。そこで、CPUを2個搭載し、プリンタコントローラにおける処理を段階的に行い、それぞれの段階でのデータを受け渡すことにより、複数のCPUでの並列処理を可能とするデュアルCPUのプリンタコントローラが提案されている(例えば、下記特許文献1参照。)。
特開2000−198240号公報
With the recent improvement in image quality of printer engines, the processing speed required for printer controllers is required. As a solution to this problem, a general method is to improve the processing speed of digital data by parallel processing using a multiprocessor. However, since it takes a development period and costs, it is difficult to adopt it for peripheral devices such as printers. In view of this, a dual CPU printer controller has been proposed in which two CPUs are mounted, the processing in the printer controller is performed in stages, and data in each stage is transferred to enable parallel processing by a plurality of CPUs. (For example, refer to Patent Document 1 below.)
JP 2000-198240 A

ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおける出力側のバスにおいて、エンジンへのデータ転送とCPU間のデータ転送の競合が生じる。その際、エンジン側へのデータ転送帯域は必ず保証をする必要があるのと同時に、次のページの印刷に必要なデータをCPU転送する必要もある。そのため、両者のデータ通信を効率的に行うことが求められている。そこで、本発明は、プリンタエンジンへのデータ転送量に応じて、CPU間通信のデータの圧縮率を変更することのできるデータ転送制御手段の提供を目的とする。   The function of receiving print data from the host computer and performing PDL decoding processing and the function of converting the data subjected to PDL decoding processing to color conversion and transferring to the printer engine are performed on the output-side bus in the dual CPU printer controller having the function separated. There is a conflict between data transfer to the engine and data transfer between CPUs. At that time, it is necessary to guarantee the data transfer band to the engine side, and at the same time, it is necessary to transfer the data necessary for printing the next page to the CPU. Therefore, efficient data communication between the two is required. SUMMARY An advantage of some aspects of the invention is that it provides a data transfer control unit that can change the compression ratio of data for inter-CPU communication according to the amount of data transferred to a printer engine.

上記目的を達成するために、本出願に関わる発明は、つぎの(1)の構成を備える。   In order to achieve the above object, an invention relating to the present application has the following configuration (1).

(1)ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、プリンタエンジンに印刷データ量転送する際のバス帯域を測定する手段と、CPU間通信のデータ圧縮手段と、CPU間通信のデータの圧縮率を制御する手段を有し、測定したバス帯域の結果に基づいてCPU間通信のデータ圧縮率を変更することを特徴とするデータ転送制御手段。   (1) In a dual CPU printer controller in which the function of receiving print data from a host computer and performing PDL decoding processing and the function of performing color conversion of the data subjected to PDL decoding processing and transferring the data to the printer engine are separated, the printer Based on the result of the measured bus bandwidth, having means for measuring the bus bandwidth when transferring the print data amount to the engine, data compression means for inter-CPU communication, and means for controlling the compression rate of data for inter-CPU communication And a data transfer control means for changing a data compression rate of communication between CPUs.

上記構成により、ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、プリンタエンジンへのデータ転送量に応じて、CPU間通信のデータ圧縮率を変更することが可能となり、効率的なデータ転送を行うことが可能となる。   In the dual CPU printer controller having the above-described configuration, the function of receiving print data from the host computer and performing PDL decoding processing and the function of performing color conversion on the data subjected to PDL decoding processing and transferring the data to the printer engine are separated. According to the data transfer amount to the printer engine, the data compression rate of communication between CPUs can be changed, and efficient data transfer can be performed.

本発明によれば、ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、効率的なデータ転送を行うことが出来る。   According to the present invention, a dual CPU printer controller in which a function of receiving print data from a host computer and performing PDL decoding processing and a function of performing color conversion on the data subjected to PDL decoding processing and transferring the data to the printer engine are separated. Thus, efficient data transfer can be performed.

以下、添付図面を参照して本発明に係る実施形態を詳細に説明する。   Embodiments according to the present invention will be described below in detail with reference to the accompanying drawings.

図1は、本システムの実施形態を示すブロック図である。   FIG. 1 is a block diagram showing an embodiment of the present system.

プリンタコントローラ101は本発明のプリンタコントローラである。プリンタコントローラ101はプリンタ102に搭載されており、ホストコンピュータ103から印刷データを受信する。印刷データは、通常、プリンタ102で解析可能なプリンタ記述言語(PDL)と呼ばれる形式のデータで記述される。プリンタ102とホストコンピュータ103の接続に関して、オフィス環境などでは、イーサネット(登録商標)などのLANが用いられている。単独で情報処理装置とプリンタを接続する手段としては、IEEE1284などのパラレルインターフェースやRS232C,USB,IEEE1394などのシリアルインターフェースがある。本発明において、プリンタ102とホストコンピュータ103を接続する手段に制限はない。ホストコンピュータ103に関して、例えばマイクロソフト株式会社製のOSであるWindows(登録商標)2000などを搭載したパーソナルコンピュータが考えられる。本発明において、プリンタコントローラ101で解析可能なPDLデータを生成することができ、かつプリンタ101と接続することができる手段を備えた装置であれば、例えばデジタルカメラやPDAなどでも適用可能である。   The printer controller 101 is a printer controller of the present invention. The printer controller 101 is mounted on the printer 102 and receives print data from the host computer 103. The print data is usually described in data in a format called a printer description language (PDL) that can be analyzed by the printer 102. Regarding the connection between the printer 102 and the host computer 103, a LAN such as Ethernet (registered trademark) is used in an office environment or the like. As means for independently connecting the information processing apparatus and the printer, there are a parallel interface such as IEEE1284 and a serial interface such as RS232C, USB, and IEEE1394. In the present invention, the means for connecting the printer 102 and the host computer 103 is not limited. As for the host computer 103, for example, a personal computer equipped with Windows (registered trademark) 2000, which is an OS manufactured by Microsoft Corporation, is considered. In the present invention, any apparatus that can generate PDL data that can be analyzed by the printer controller 101 and that can be connected to the printer 101 can be applied to, for example, a digital camera or a PDA.

InputI/F207は、ホストコンピュータ104とのデータ送受信において、受信したデータをMemory#0 201に格納したり、Memory#0 201上のデータを送信したりするためのインターフェイスである。CPU#0 202は、受信データが印刷ジョブである場合、ジョブをページ単位で管理し、ページ単位で処理を行うCPUを決定するページ管理機構や、受信データをプリンタエンジンへ転送可能なラスタデータに変換する画像処理手段や、受信データをCPU#1 203に転送する手段を有する演算処理装置である。CPU#1 203は、CPU#0 202で生成したラスタデータをページ順にプリンタエンジンに転送するた画像処理が完了したページを管理する手段や、EngineI/F211を介してエンジン104へラスタデータを転送する手段を有する演算処理装置である。Memory#0 201およびMemory#1 204はPDLデータやラスタデータを格納するための記憶媒体であるBusBridge205は、CPU#0 202からCPU#1 203へPDLデータを転送するときの媒体手段であり、エンジン104へ転送するデータ量を示すページレジスタ群206と、データ圧縮機構を搭載する。エンジン104は、転送されたラスタデータをもとに、紙に印字して印刷を行う装置である。   The Input I / F 207 is an interface for storing received data in the Memory # 0 201 and transmitting data on the Memory # 0 201 in data transmission / reception with the host computer 104. When the received data is a print job, the CPU # 0 202 manages the job in units of pages and determines a CPU that performs processing in units of pages, or raster data that can be transferred to the printer engine. This is an arithmetic processing unit having image processing means for conversion and means for transferring received data to the CPU # 1 203. The CPU # 1 203 transfers the raster data generated by the CPU # 0 202 to the printer engine in order of pages and transfers raster data to the engine 104 via the engine I / F 211. An arithmetic processing unit having means. Memory # 0 201 and Memory # 1 204 are storage media for storing PDL data and raster data. BusBridge 205 is a medium means for transferring PDL data from CPU # 0 202 to CPU # 1 203, and is an engine. A page register group 206 indicating the amount of data to be transferred to 104 and a data compression mechanism are installed. The engine 104 is a device that prints on paper based on the transferred raster data.

図2に、BusBridge205に搭載されたページレジスタ群の詳細を示す。ページサイズレジスタ300には、CPU#1が処理を行った後のページデータ量、つまりエンジンへ転送するデータのデータ量が格納されている。この値は、CPU#1がMemory#1の状態から算出し、ページサイズレジスタ300に値を格納する。圧縮率フラグレジスタ301は、圧縮率用のフラグレジスタであり、ページサイズレジスタ300に格納された値に応じて対応するビットのフラグが立つように設計されている。CPU#0もしくは、BudBridge内のデータ圧縮機構は、圧縮率フラグレジスタ301の状態から、データの圧縮率を決定する。   FIG. 2 shows details of the page register group mounted on the BusBridge 205. The page size register 300 stores the amount of page data after processing by the CPU # 1, that is, the amount of data to be transferred to the engine. This value is calculated by CPU # 1 from the state of Memory # 1 and stored in the page size register 300. The compression rate flag register 301 is a compression rate flag register, and is designed so that a corresponding bit flag is set according to the value stored in the page size register 300. The data compression mechanism in CPU # 0 or BudBridge determines the data compression rate from the state of the compression rate flag register 301.

図3は本発明の実施の処理フローを示したものである。以下、ステップごとに説明する。   FIG. 3 shows a processing flow for carrying out the present invention. Hereinafter, each step will be described.

1)S401:CPU#0は、印刷ジョブがあるかどうかをチェックする。印刷ジョブがあれば、S402へ進む。   1) S401: The CPU # 0 checks whether there is a print job. If there is a print job, the process proceeds to S402.

2)S402:CPU#0は、BusBridgeに搭載されたページレジスタ群の圧縮率フラグレジスタをチェックし、その値が‘0’であればCPU間のデータ圧縮する必要はないため、S408へ進む。‘0’でなければ、S403へ進む。   2) S402: CPU # 0 checks the compression rate flag register of the page register group mounted on BusBridge. If the value is “0”, it is not necessary to compress data between CPUs, and the process proceeds to S408. If it is not “0”, the process proceeds to S403.

3)S403:CPU間通信のデータをデータ圧縮する方法として、BusBridgeに搭載したデータ圧縮機構を用いてデータ圧縮する場合は、S404へ進み、CPU#0にてデータ圧縮を行う場合はS406へ進む。   3) S403: As a method for compressing data for inter-CPU communication, if data compression is performed using the data compression mechanism installed in BusBridge, the process proceeds to S404, and if CPU # 0 performs data compression, the process proceeds to S406. .

4)S404:CPU#0からBusBridgeへデータ転送を行う。S405へ進む。   4) S404: Data is transferred from CPU # 0 to BusBridge. Proceed to S405.

5)S405:BusBridgeに搭載されたページレジスタ群の圧縮率フラグレジスタのフラグビットに対応した圧縮率で、データ圧縮を行う。その際、BusBridgeに搭載された圧縮機構を用いてデータ圧縮を行う。S408へ進む。   5) S405: Data compression is performed at a compression rate corresponding to the flag bit of the compression rate flag register of the page register group mounted on BusBridge. At that time, data compression is performed using a compression mechanism mounted on BusBridge. The process proceeds to S408.

6)S406:BusBridgeに搭載されたページレジスタ群の圧縮率フラグレジスタのフラグビットに対応した圧縮率で、データ圧縮を行う。その際、CPU#0にてデータ圧縮を行う。S407へ進む。   6) S406: Data compression is performed at a compression rate corresponding to the flag bit of the compression rate flag register of the page register group mounted on BusBridge. At that time, CPU # 0 performs data compression. The process proceeds to S407.

7)S407:CPU#0からBusBridgeへデータ転送を行う。S408へ進む。   7) S407: Data is transferred from CPU # 0 to BusBridge. The process proceeds to S408.

8)S408:CPU#1へデータ転送を行う。S409へ進む。   8) S408: Data is transferred to CPU # 1. The process proceeds to S409.

9)S409:CPU#1では、CPU#0から印刷ジョブを受けたら、S410へ進む。   9) S409: When CPU # 1 receives the print job from CPU # 0, it proceeds to S410.

10)S410:CPU#1で、色変換処理を行う。S411へ進む。   10) S410: CPU # 1 performs color conversion processing. The process proceeds to S411.

11)S411:S410で色変換処理を行った結果、エンジンへ転送するデータのデータ量が決定する。CPU#1はSDRAM#1の状態から算出し、その値をBusBridgeに搭載されたページレジスタ群のページサイズレジスタに値をセットする。S412へ進む。   11) S411: As a result of performing the color conversion process in S410, the amount of data to be transferred to the engine is determined. CPU # 1 calculates from the state of SDRAM # 1, and sets the value to the page size register of the page register group mounted on BusBridge. The process proceeds to S412.

12)S412:S410で色変換処理を行ったデータを、エンジンへ出力する。S409へ進む。   12) S412: The data subjected to the color conversion process in S410 is output to the engine. The process proceeds to S409.

以上説明したように、本実施例によれば、ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、CPU間通信のデータ圧縮率を、プリンタエンジンへ転送するデータのデータ量に応じて変更することが可能となる。   As described above, according to the present embodiment, the function of receiving the print data from the host computer and performing the PDL decoding process, and the function of performing color conversion on the data subjected to the PDL decoding process and transferring the data to the printer engine are provided. In the separated dual CPU printer controller, the data compression rate of the inter-CPU communication can be changed according to the data amount of data transferred to the printer engine.

本発明のデュアルCPUプリンタコントーラにおけるデータ転送制御手段を含むシステムの実施形態図Embodiment of a system including data transfer control means in a dual CPU printer controller of the present invention 本実施例のフラグレジスタ群の例を示す図The figure which shows the example of the flag register group of a present Example 本実施例のCPUプリンタコントーラにおけるデータ転送制御手段の例を示すフローチャート図The flowchart figure which shows the example of the data transfer control means in the CPU printer controller of a present Example.

符号の説明Explanation of symbols

101 プリンタコントローラ
102 プリンタ
103 ホストコンピュータ
104 エンジン
201 Memory#0
202 CPU#0
203 CPU#1
204 Memory#1
205 BusBridge
206 ページレジスタ群
207 データ圧縮機構
208 InputI/F
209 Rom#0
210 Rom#1
211 EngineI/F
300 ページデータサイズレジスタ
301 圧縮率フラグレジスタ
101 Printer Controller 102 Printer 103 Host Computer 104 Engine 201 Memory # 0
202 CPU # 0
203 CPU # 1
204 Memory # 1
205 BusBridge
206 Page register group 207 Data compression mechanism 208 Input I / F
209 Rom # 0
210 Rom # 1
211 Engine I / F
300 Page data size register 301 Compression rate flag register

Claims (4)

ホストコンピュータより印刷データを受信しPDL解読処理を行う機能と、PDL解読処理を行ったデータを色変換しプリンタエンジンへ転送する機能とを、機能分離をしたデュアルCPUプリンタコントローラにおいて、プリンタエンジンに印刷データ量転送する際のバス帯域を測定する手段と、CPU間通信のデータ圧縮手段と、CPU間通信のデータの圧縮率を制御する手段を有し、測定したバス帯域の結果に基づいてCPU間通信のデータ圧縮率を変更することを特徴とするデータ転送制御手段。   Printing on the printer engine using a dual CPU printer controller that separates the function of receiving print data from the host computer and performing PDL decoding processing, and the function of color-converting and transferring the PDL decoding data to the printer engine It has means for measuring the bus bandwidth when transferring the amount of data, data compression means for communication between CPUs, and means for controlling the compression rate of data for communication between CPUs, and between CPUs based on the result of the measured bus bandwidth A data transfer control means for changing a data compression rate of communication. CPU間通信のデータのデータ圧縮を、入力処理・PDL解読処理を行うCPUで行うことを特徴とする請求項1記載のデータ転送制御手段。   2. The data transfer control means according to claim 1, wherein data compression of inter-CPU communication data is performed by a CPU that performs input processing and PDL decoding processing. CPU間通信のデータのデータ圧縮を、CPU間データ転送ブリッジで行うことを特徴とする請求項1記載のデータ転送制御手段。   2. The data transfer control means according to claim 1, wherein data compression of data for inter-CPU communication is performed by an inter-CPU data transfer bridge. CPU間通信のデータ圧縮率を、CPU間データ転送ブリッジで行うことを特徴とする請求項1記載のデータ転送制御手段。   2. The data transfer control means according to claim 1, wherein the data compression rate of inter-CPU communication is performed by an inter-CPU data transfer bridge.
JP2005040374A 2005-02-17 2005-02-17 Data transfer control means Withdrawn JP2006224436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005040374A JP2006224436A (en) 2005-02-17 2005-02-17 Data transfer control means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005040374A JP2006224436A (en) 2005-02-17 2005-02-17 Data transfer control means

Publications (1)

Publication Number Publication Date
JP2006224436A true JP2006224436A (en) 2006-08-31

Family

ID=36986205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005040374A Withdrawn JP2006224436A (en) 2005-02-17 2005-02-17 Data transfer control means

Country Status (1)

Country Link
JP (1) JP2006224436A (en)

Similar Documents

Publication Publication Date Title
JP4543340B2 (en) Image processing apparatus, image forming system, and program
US8107128B2 (en) Image forming apparatus and print control method thereof
JP6465843B2 (en) Ring bus system
JP2010211349A (en) Semiconductor integrated circuit and memory access control method
JP2006224436A (en) Data transfer control means
US10560600B2 (en) Encoding apparatus, encoding method, and recording medium
JP5093576B2 (en) Printing control apparatus and image forming system
JP2006035636A (en) Printing processor
JP2005518293A (en) Printer control device
JP2006285792A (en) Image processor and image processing method
JPH1145161A (en) Digital copying machine
JP2005219222A (en) Page management method for printer controller composed of dual cpu
JP5202265B2 (en) Image processing apparatus, program, and control method for image processing apparatus
JP2005071329A (en) Computer system, integrated circuit and printing method
JP2006130816A (en) Image forming device
JP2005333676A (en) Image data processing method, image data processing apparatus and image forming apparatus
JP4394891B2 (en) Page printer controller
JP6833491B2 (en) Information processing device
US20080158595A1 (en) Printing system and control method thereof
JPH11179975A (en) Color printer control device
JP2022090784A (en) Edge device, program, and edge device control method
JP2006040120A (en) Image processing function memory
JP2002326402A (en) Printer
JP2007136953A (en) Printer
KR20050073188A (en) Apparatus and method for controlling image forming apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080513