JP2005192116A - Image transfer system - Google Patents

Image transfer system Download PDF

Info

Publication number
JP2005192116A
JP2005192116A JP2003433725A JP2003433725A JP2005192116A JP 2005192116 A JP2005192116 A JP 2005192116A JP 2003433725 A JP2003433725 A JP 2003433725A JP 2003433725 A JP2003433725 A JP 2003433725A JP 2005192116 A JP2005192116 A JP 2005192116A
Authority
JP
Japan
Prior art keywords
image
bus
unit
transfer
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003433725A
Other languages
Japanese (ja)
Inventor
Noriyuki Kobayashi
紀幸 小林
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 JP2003433725A priority Critical patent/JP2005192116A/en
Publication of JP2005192116A publication Critical patent/JP2005192116A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image transfer system using a high-speed data transfer bus, which can leave a trade-off relation between image quality and transfer efficiency to the user's decision, by realizing control for changing an image transfer path by a means that the user chooses priority between the image quality or the transfer efficiency. <P>SOLUTION: The image transfer system has a means of controlling the high-speed image data transfer bus; a means of inputting and outputting images which requires real-time delivery of image data; a means of computing bus occupancy rate of the image data transfer bus with the time, when the user conducts keystrokes on the operation part as a starting point; and a means of setting a threshold of the bus occupancy rate, according to the mode which the user previously chooses priority between the image quality and the transfer efficiency. The system switches the image transfer path to a system which conducts resolution switching (decimation), according to the result of comparison between the computed bus occupancy rate and the threshold. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は共有バスを用いて画像データ転送を行う、ネットワーク機器、デジタル複写機等に関するものである。   The present invention relates to a network device, a digital copying machine, and the like that perform image data transfer using a shared bus.

従来から高速なデータ転送バス(例えばPCIバスやIEEE1394等)を使用した画像データ転送を行う処理系はすでに考案されていた。また、従来のデジタル複写機の様にリアルタイムな画像転送を必要とする画像処理系の画像転送用として上記高速バスを使用し、リアルタイムな画像転送とネットワーク転送等の処理を同一バス上で共存させる手段も実現されている。   Conventionally, a processing system that performs image data transfer using a high-speed data transfer bus (for example, a PCI bus, IEEE1394, or the like) has already been devised. The high-speed bus is used for image transfer in an image processing system that requires real-time image transfer like a conventional digital copying machine, and real-time image transfer and network transfer processing coexist on the same bus. Means are also realized.

このようなバス上ではリアルタイムな画像転送に関するアクセスの優先度を高くし、他のデバイスのアクセスに関する優先度を低くしたアービトレーションを行うことにより、リアルタイム系の確保を行う手段がすでに用いられている(特許文献1参照)。
特開平11−165454号公報
On such a bus, means for securing a real-time system has already been used by performing arbitration with a higher access priority for real-time image transfer and a lower priority for access of other devices ( Patent Document 1).
JP-A-11-165454

しかし、上記のような高速バスは画像のリアルタイム転送以外にもネットワーク等多様な接続デバイスとのアクセスが行われるため、画像のデータ量によるバスの占有率の変化は他のデバイスのアクセスに影響を与える。従って、このバスの占有率の変化よって優先順位の高いリアルタイムなタスクに関する画像の画質と優先順位の低いタスクが待たされる時間のうち、いずれかを向上させると他方が犠牲になる、互いにトレードオフの関係になることが多い。   However, since the high-speed bus as described above is accessed with various connected devices such as a network in addition to real-time image transfer, changes in the bus occupancy rate due to the amount of image data affect the access of other devices. give. Therefore, by changing the bus occupancy rate, it is a trade-off between the image quality of real-time tasks with high priority and the time that tasks with low priority are waited for. Often become a relationship.

本発明は、以上の点に着目して成されたもので、高速なデータ転送バスを使用した画像転送システムにおいて、ユーザが画質優先かあるいは転送効率優先かを選択する手段により画像の転送経路を変える制御を実現することで画質と転送効率のトレードオフ関係をユーザの判断にゆだねることができるようになる画像転送システムを提供することを目的とする。   The present invention has been made paying attention to the above points. In an image transfer system using a high-speed data transfer bus, an image transfer path is set by means for a user to select image quality priority or transfer efficiency priority. An object of the present invention is to provide an image transfer system in which the trade-off relationship between image quality and transfer efficiency can be left to the user's judgment by realizing the changing control.

そこで本発明では高速な画像データ転送バスを制御する制御手段とリアルタイムな画像データの受け渡しを必要とする画像入出力手段を有し、前記画像データ転送バスのバス占有率を算出するバス占有率算出手段とあらかじめバス占有率の閾値を設定する閾値設定手段を有し、前記バス占有率算出手段により算出されたバス占有率と前記閾値設定手段により設定された閾値を比較する比較手段による比較結果に応じて、画像の転送経路を変える制御を画質優先かあるいは転送効率優先か選択をする選択手段で実現する画像転送システムを提供することで画質と転送効率のトレードオフ関係をユーザの判断にゆだねることができるようになる。   Therefore, the present invention has a control means for controlling a high-speed image data transfer bus and an image input / output means that requires real-time image data transfer, and calculates a bus occupancy ratio for calculating the bus occupancy ratio of the image data transfer bus. And a threshold setting means for setting a threshold value for the bus occupancy ratio in advance, and a comparison result by the comparison means for comparing the bus occupancy ratio calculated by the bus occupancy ratio calculation means with the threshold value set by the threshold setting means. Accordingly, by providing an image transfer system that realizes the control to change the transfer path of an image with a selection means that selects whether the priority is on image quality or transfer efficiency, the trade-off relationship between image quality and transfer efficiency is left to the user's judgment. Will be able to.

なお、さらに詳細に説明すれば、本発明は下記の構成によって前記課題を解決できた。   In more detail, the present invention can solve the above problems by the following configuration.

(1)高速な画像データ転送バスを制御する制御手段とリアルタイムな画像データの受け渡しを必要とする画像入出力手段を有し、前記画像データ転送バスのバス占有率を算出するバス占有率算出手段とあらかじめバス占有率の閾値を設定する閾値設定手段を有し、前記バス占有率算出手段により算出されたバス占有率と前記閾値設定手段により設定された閾値を比較する比較手段による比較結果に応じて、画像の転送経路を変えることが可能にした画像転送システム。   (1) Bus occupancy rate calculating means for calculating a bus occupancy rate of the image data transfer bus, comprising control means for controlling a high-speed image data transfer bus and image input / output means that require real-time image data transfer And a threshold setting means for setting a threshold value for the bus occupancy ratio in advance, and according to a comparison result by a comparison means for comparing the bus occupancy ratio calculated by the bus occupancy ratio calculation means with the threshold value set by the threshold setting means. An image transfer system that can change the transfer path of images.

(2)前記(1)において画像データ転送バスのバス占有率の算出はユーザが操作部上で何らかのキー操作を行った時からの累積時間で行うことを特徴とした画像転送システム。   (2) The image transfer system according to (1), wherein the calculation of the bus occupancy rate of the image data transfer bus is performed based on a cumulative time since the user performed any key operation on the operation unit.

(3)前記(1)において画像の転送経路を変えることにより画質の程度が変化することを特徴とした画像転送システム。   (3) The image transfer system according to (1), wherein the degree of image quality is changed by changing an image transfer path.

(4)前記(3)においてユーザが操作部上で画質優先かあるいは転送効率優先か選択をする選択手段を有し、前記選択手段によって選択されたモードに応じて、前記(1)記載のバス占有率の閾値を生成することを特徴とした画像転送システム。   (4) The bus according to (1), further including selection means for the user to select whether the image quality priority or transfer efficiency priority is selected on the operation unit in (3), and depending on the mode selected by the selection means. An image transfer system that generates a threshold value of an occupation ratio.

本発明によれば、画像の転送経路を変える制御画質優先か、あるいは転送効率優先かを選択する構成を提供することで、画質と転送効率の設定をユーザが任意に設定可能となり、利便性を向上させることができる。   According to the present invention, by providing a configuration for selecting whether to prioritize control image quality or transfer efficiency that changes the transfer path of an image, the user can arbitrarily set the image quality and transfer efficiency settings, thereby improving convenience. Can be improved.

以下本発明を実施するための最良の形態を、実施例により詳しく説明する。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to examples.

以下で本発明の装置及びその動作について詳細に説明する。   The apparatus of the present invention and its operation will be described in detail below.

[ハードウェア]
全体構成
全体構成図を図3に示す。Controller Unit 2000は画像入力デバイスであるScanner 2070や画像出力デバイスであるPrinter 2095と接続し、一方ではLAN2011や公衆回線(WAN)2051接続することで、画像情報やデバイス情報の入出力を行う為のコントローラである。CPU2001はシステム全体を制御するコントローラである。RAM2002はCPU2001が動作するためのシステムワークメモリであり、画像データを一時記憶するための画像メモリでもある。ROM2003はブートROMであり、システムのブートプログラムが格納されている。HDD2004はハードディスクドライブで、システムソフトウェア、画像データを格納する。操作部I/F2006は操作部(UI)2012とインターフェイス部で、操作部2012に表示する画像データを操作部2012に対して出力する。また、操作部2012から本システム使用者が入力した情報を、CPU2001に伝える役割をする。Network2010はLAN2011に接続し、情報の入出力を行う。Modem2050は公衆回線2051に接続し、情報の入出力を行う。
[hardware]
Overall Configuration The overall configuration diagram is shown in FIG. The Controller Unit 2000 is connected to a scanner 2070 as an image input device and a printer 2095 as an image output device. On the other hand, the controller unit 2000 is connected to a LAN 2011 or a public line (WAN) 2051 to input / output image information and device information. It is a controller. A CPU 2001 is a controller that controls the entire system. A RAM 2002 is a system work memory for the operation of the CPU 2001, and is also an image memory for temporarily storing image data. A ROM 2003 is a boot ROM, and stores a system boot program. An HDD 2004 is a hard disk drive that stores system software and image data. An operation unit I / F 2006 is an operation unit (UI) 2012 and an interface unit, and outputs image data to be displayed on the operation unit 2012 to the operation unit 2012. Also, it plays a role of transmitting information input by the user of the system from the operation unit 2012 to the CPU 2001. A network 2010 is connected to the LAN 2011 and inputs / outputs information. A Modem 2050 is connected to the public line 2051 and inputs / outputs information.

以上のデバイスがシステムバス2007上に配置される。Image BusI/F2005はシステムバス2007と画像データを高速で転送する画像バス2008を接続し、データ構造を変換するバスブリッジである。画像バス2008は、PCIバスまたはIEEE1394で構成される。画像バス2008上には以下のデバイスが配置される。ラスターイメージプロセッサ(RIP)2060はPDLコードをビットマップイメージに展開する。デバイスI/F部2020は、画像入出力デバイスであるスキャナ2070やプリンタ2095とコントローラ2000を接続し、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部2080は、入力画像データに対し補正、加工、編集を行う。プリンタ画像処理部は、プリント出力画像データに対して、プリンタの補正、解像度変換等を行う。画像回転部2030は画像データの回転を行う。画像圧縮部2040は、多値画像データはJPEG、2値画像画像データはJBIG、MMR、MHの圧縮伸張処理を行う。   The above devices are arranged on the system bus 2007. An Image Bus I / F 2005 is a bus bridge that connects a system bus 2007 and an image bus 2008 that transfers image data at a high speed, and converts a data structure. The image bus 2008 is configured by a PCI bus or IEEE1394. The following devices are arranged on the image bus 2008. A raster image processor (RIP) 2060 expands the PDL code into a bitmap image. A device I / F unit 2020 connects an image input / output device such as a scanner 2070 and a printer 2095 to the controller 2000, and performs synchronous / asynchronous conversion of image data. A scanner image processing unit 2080 corrects, processes, and edits input image data. The printer image processing unit performs printer correction, resolution conversion, and the like on the print output image data. The image rotation unit 2030 rotates image data. The image compression unit 2040 performs compression / decompression processing of JPEG for multi-value image data and JBIG, MMR, and MH for binary image data.

画像入出力部
画像入出力デバイスを図4に示す。画像入力デバイスであるスキャナ部2070は、原稿となる紙上の画像を照明し、CCDラインセンサ(図示せず)を走査することで、ラスターイメージデータ2071として電気信号に変換する。原稿用紙は原稿フィーダ2072のトレイ2073にセットし、装置使用者が操作部2012から読み取り起動指示することにより、コントローラCPU2001がスキャナ2070に指示を与え(2071)、フィーダ2072は原稿用紙を1枚ずつフィードし原稿画像の読み取り動作を行う。
Image Input / Output Unit An image input / output device is shown in FIG. A scanner unit 2070 serving as an image input device illuminates an image on paper as an original and scans a CCD line sensor (not shown), thereby converting the image into raster signal data 2071 into an electrical signal. The original paper is set on the tray 2073 of the original feeder 2072, and when the apparatus user gives a reading start instruction from the operation unit 2012, the controller CPU 2001 gives an instruction to the scanner 2070 (2071), and the feeder 2072 copies the original paper one by one. Feeds and reads the original image.

画像出力デバイスであるプリンタ部2095は、ラスターイメージデータ2096を用紙上の画像に変換する部分であり、その方式は感光体ドラムや感光体ベルトを用いた電子写真方式、微少ノズルアレイからインクを吐出して用紙上に直接画像を印字するインクジェット方式等があるが、どの方式でも構わない。プリント動作の起動は、コントローラCPU2001からの指示2096によって開始する。プリンタ部2095には、異なる用紙サイズまたは異なる用紙向きを選択できるように複数の給紙段を持ち、それに対応した用紙カセット2101、2102、2103、2104がある。また、排紙トレイ2111は印字し終わった用紙を受けるものである。   The printer unit 2095, which is an image output device, is a part that converts raster image data 2096 into an image on paper. The method is an electrophotographic method using a photosensitive drum or a photosensitive belt, and ink is ejected from a micro nozzle array. In addition, there is an ink jet method for printing an image directly on a sheet, but any method may be used. The printing operation is started by an instruction 2096 from the controller CPU 2001. The printer unit 2095 has a plurality of paper feed stages so that different paper sizes or different paper orientations can be selected, and there are paper cassettes 2101, 2102, 2103, 2104 corresponding thereto. A paper discharge tray 2111 receives paper that has been printed.

操作部
操作部2012の構成を図5に示す。LCD表示部2013は、LCD上にタッチパネルシートが貼られており、システムの操作画面を表示するとともに、表示してあるキーが押されるとその位置情報をコントローラCPU2001に伝える。スタートキー2014は原稿画像の読み取り動作を開始する時などに用いる。スタートキー2014中央部には、緑と赤の2色LED2018があり、その色によってスタートキー2014が使える状態にあるかどうかを示す。ストップキー2015は稼働中の動作を止める働きをする。IDキー2016は、使用者のユーザIDを入力する時に用いる。リセットキー2017は操作部からの設定を初期化する時に用いる。
Operation Unit The configuration of the operation unit 2012 is shown in FIG. The LCD display unit 2013 has a touch panel sheet pasted on the LCD, displays a system operation screen, and transmits position information to the controller CPU 2001 when a displayed key is pressed. A start key 2014 is used to start a document image reading operation. At the center of the start key 2014, there is a green and red two-color LED 2018, which indicates whether or not the start key 2014 is in a usable state. A stop key 2015 serves to stop an operation in operation. The ID key 2016 is used when inputting the user ID of the user. A reset key 2017 is used when initializing settings from the operation unit.

スキャナ画像処理部
スキャナ画像処理部2080の構成を図6に示す。フィルタ処理部2082は、空間フィルタでコンボリューション演算を行う。編集部2083は、例えば入力画像データからマーカーペンで囲まれた閉領域を認識して、その閉領域内の画像データに対して、影つけ、網掛け、ネガポジ反転等の画像加工処理を行う。変倍処理部2084は、読み取り画像の解像度を変える場合にラスターイメージの主走査方向について補間演算を行い拡大、縮小を行う。副走査方向の変倍については、画像読み取りラインセンサ(図示せず)を走査する速度を変えることで行う。テーブル2085は、読み取った輝度データである画像データを濃度データに変換するために、行うテーブル変換である。2値化2086は、多値のグレースケール画像データを、誤差拡散処理やスクリーン処理によって2値化する。
Scanner Image Processing Unit The configuration of the scanner image processing unit 2080 is shown in FIG. The filter processing unit 2082 performs a convolution operation with a spatial filter. For example, the editing unit 2083 recognizes a closed area surrounded by a marker pen from the input image data, and performs image processing such as shading, shading, and negative / positive inversion on the image data in the closed area. A scaling unit 2084 performs enlargement and reduction by performing an interpolation operation in the main scanning direction of the raster image when changing the resolution of the read image. The scaling in the sub-scanning direction is performed by changing the scanning speed of an image reading line sensor (not shown). A table 2085 is table conversion performed to convert image data, which is read luminance data, into density data. Binarization 2086 binarizes multi-value grayscale image data by error diffusion processing or screen processing.

プリンタ画像処理部
プリンタ画像処理部2090の構成を図7に示す。解像度変換部2092は、Network2011あるいは公衆回線2051から来た画像データを、プリンタ2095の解像度に変換するための解像度変換を行う。スムージング処理部2093は、解像度変換後の画像データのジャギー(斜め線等の白黒境界部に現れる画像のがさつき)を滑らかにする処理を行う。
Printer Image Processing Unit The configuration of the printer image processing unit 2090 is shown in FIG. A resolution conversion unit 2092 performs resolution conversion for converting image data from the network 2011 or the public line 2051 into the resolution of the printer 2095. The smoothing processing unit 2093 performs processing to smooth out jaggies of the image data after resolution conversion (roughness of an image appearing at a black and white border such as an oblique line).

画像圧縮部
画像圧縮部2040の構成を図8に示す。また、以下に画像圧縮処理部の処理手順を示す。
Image Compression Unit The configuration of the image compression unit 2040 is shown in FIG. The processing procedure of the image compression processing unit is shown below.

画像バス2008を介して、CPU2001から画像バスI/Fコントローラ2021に画像圧縮制御のための設定を行う。この設定により画像バスI/Fコントローラ2021は画像圧縮部2043に対して画像圧縮に必要な設定(例えばMMR圧縮・JBIG伸長等の)を行う。必要な設定を行った後に、再度CPU2001から画像バスI/Fコントローラ2021に対して画像データ転送の許可を行う。この許可に従い、画像バスI/Fコントローラ2021はRAM2002もしくは画像バス2008上の各デバイスから画像切換え部2026を介して画像データの転送を開始する。受け取った画像データは入力バッファ2042に一時格納され、画像圧縮部2043の画像データ要求に応じて一定のスピードで画像を転送する。この際、入力バッファは画像バスI/Fコントローラ2021と、画像圧縮部2043両者の間で、画像データを転送できるかどうかを判断し、画像バス2008からの画像データの読み込み及び、画像圧縮部2043への画像の書き込みが不可能である場合は、データの転送を行わないような制御を行う(以後このような制御をハンドシェークと呼称する)。画像圧縮部2043は受け取った画像データを、一旦RAM2044に格納する。これは画像圧縮を行う際には行う画像圧縮処理の種類によって、数ライン分のデータを要するためであり、最初の1ライン分の圧縮を行うためには数ライン分の画像データを用意してからでないと画像圧縮が行えないためである。画像圧縮を施された画像データは直ちに出力バッファ2045に送られる。出力バッファ2045では、画像切換え部2026及び画像圧縮部2043とのハンドシェークを行い、画像切換え部2026を介して画像データを画像バスI/Fコントローラ2021に転送する。画像バスI/Fコントローラ2021では転送された圧縮(もしくは伸長)された画像データをRAM2002もしくは画像バス2008上の各デバイスにデータを転送する。こうした一連の処理は、CPU2001からの処理要求が無くなるまで(必要なページ数の処理が終わったとき)、もしくはこの画像圧縮部から停止要求が出るまで(圧縮及び伸長時のエラー発生時等)繰り返される。   Settings for image compression control are performed from the CPU 2001 to the image bus I / F controller 2021 via the image bus 2008. With this setting, the image bus I / F controller 2021 makes settings necessary for image compression (for example, MMR compression, JBIG expansion, etc.) to the image compression unit 2043. After performing the necessary settings, the CPU 2001 again permits image data transfer to the image bus I / F controller 2021. In accordance with this permission, the image bus I / F controller 2021 starts transferring image data from each device on the RAM 2002 or the image bus 2008 via the image switching unit 2026. The received image data is temporarily stored in the input buffer 2042, and the image is transferred at a constant speed in response to an image data request from the image compression unit 2043. At this time, the input buffer determines whether image data can be transferred between the image bus I / F controller 2021 and the image compression unit 2043, reads the image data from the image bus 2008, and reads the image compression unit 2043. When it is impossible to write an image on the screen, control is performed so as not to transfer data (hereinafter, such control is referred to as handshaking). The image compression unit 2043 temporarily stores the received image data in the RAM 2044. This is because several lines of data are required depending on the type of image compression processing to be performed, and several lines of image data are prepared in order to compress the first one line. This is because the image cannot be compressed unless it is empty. The image data subjected to the image compression is immediately sent to the output buffer 2045. The output buffer 2045 performs handshaking with the image switching unit 2026 and the image compression unit 2043, and transfers image data to the image bus I / F controller 2021 via the image switching unit 2026. The image bus I / F controller 2021 transfers the transferred compressed (or expanded) image data to each device on the RAM 2002 or the image bus 2008. Such a series of processing is repeated until there is no processing request from the CPU 2001 (when processing of the required number of pages is completed) or until a stop request is issued from this image compression unit (when an error occurs during compression and expansion). It is.

画像回転部
画像回転部2030の構成を図15に示す。画像バスI/Fコントローラ2031は、画像バス2008と接続し、そのバスシーケンスを制御する働き、画像回転部2032にモード等を設定する制御及び、画像回転部2032に画像データを転送するためのタイミング制御を行う。以下に画像回転部の処理手順を示す。
Image Rotation Unit The configuration of the image rotation unit 2030 is shown in FIG. The image bus I / F controller 2031 is connected to the image bus 2008 to control the bus sequence, control to set a mode or the like in the image rotation unit 2032, and timing to transfer image data to the image rotation unit 2032 Take control. The processing procedure of the image rotation unit is shown below.

画像バス2008を介して、CPU2001から画像バスI/Fコントローラ2031に画像回転制御のための設定を行う。この設定により画像バスI/Fコントローラ2041は画像回転部2032に対して画像回転に必要な設定(たとえば画像サイズや回転方向・角度等)を行う。必要な設定を行った後に、再度CPU2001から画像バスI/Fコントローラ2041に対して画像データ転送の許可を行う。この許可に従い、画像バスI/Fコントローラ2031はRAM2002もしくは画像バス2008上の各デバイスから画像データの転送を開始する。尚、ここでは32bitをそのサイズとし回転を行う画像サイズを32×32(bit)とし、又、画像バス2008上に画像データを転送させる際に32bitを単位とする画像転送を行うものとする(扱う画像は2値を想定する)。   Settings for image rotation control are performed from the CPU 2001 to the image bus I / F controller 2031 via the image bus 2008. With this setting, the image bus I / F controller 2041 makes settings necessary for image rotation (for example, image size, rotation direction / angle, etc.) to the image rotation unit 2032. After performing the necessary settings, the CPU 2001 again permits image data transfer to the image bus I / F controller 2041. In accordance with this permission, the image bus I / F controller 2031 starts transferring image data from each device on the RAM 2002 or the image bus 2008. Here, the size is 32 bits and the image size to be rotated is 32 × 32 (bits), and when transferring image data on the image bus 2008, image transfer is performed in units of 32 bits ( The image to be handled is assumed to be binary).

上述のように、32×32(bit)の画像を得るためには、上述の単位データ転送を32回行う必要があり、且つ不連続なアドレスから画像データを転送する必要がある(図16参照)。不連続アドレッシングにより転送された画像データは、読み出し時に所望の角度に回転されているように、RAM2033に書き込まれる。例えば、90度反時計方向回転であれば、最初に転送された32bitの画像データを、図17のようにY方向に書き込んでいく。読み出し時にX方向に読み出すことで、画像が回転される。   As described above, in order to obtain a 32 × 32 (bit) image, it is necessary to perform the above unit data transfer 32 times, and it is necessary to transfer image data from discontinuous addresses (see FIG. 16). ). The image data transferred by the discontinuous addressing is written in the RAM 2033 so that it is rotated at a desired angle at the time of reading. For example, if the rotation is 90 degrees counterclockwise, the 32-bit image data transferred first is written in the Y direction as shown in FIG. By reading in the X direction at the time of reading, the image is rotated.

32×32(bit)の画像回転(RAM2033への書き込み)が完了した後、画像回転部2032はRAM2033から上述した読み出し方法で画像データを読み出し、画像バスI/Fコントローラ2031に画像を転送する。   After the 32 × 32 (bit) image rotation (writing to the RAM 2033) is completed, the image rotation unit 2032 reads the image data from the RAM 2033 by the above-described reading method, and transfers the image to the image bus I / F controller 2031.

回転処理された画像データを受け取った画像バスI/Fコントローラ2031は、連続アドレッシングを以て、RAM2002もしくは画像バス2008上の各デバイスにデータを転送する。こうした一連の処理は、CPU2001からの処理要求が無くなるまで(必要なページ数の処理が終わったとき)繰り返される。   The image bus I / F controller 2031 that has received the rotated image data transfers the data to each device on the RAM 2002 or the image bus 2008 by continuous addressing. Such a series of processing is repeated until there is no processing request from the CPU 2001 (when processing of the necessary number of pages is completed).

デバイスI/F部
デバイスI/F部2020の構成を図9に示す。画像バスI/Fコントローラ2021は、画像バス2008と接続し、そのバスアクセスシーケンスを制御する働きと、デバイスI/F部2020内の各デバイスの制御及びタイミングを発生させる。また、画像切換え部2026への制御信号を発生させる。スキャンバッファ2022は、画像切換え部2026から送られてくる画像データを一時保存し、画像バス2008に同期させて画像データを出力する。シリアルパラレル・パラレルシリアル変換2023は、スキャンバッファ2022に保存された画像データを順番に並べて、あるいは分解して、画像バス2008に転送できる画像データのデータ幅に変換する。パラレルシリアル・シリアルパラレル変換2024は、画像バス2008から転送された画像データを分解して、あるいは順番に並べて、プリントバッファ2025に保存できる画像データのデータ幅に変換する。プリントバッファ2025は、画像バス2008から送られてくる画像データを一時保存し、画像切換え部2026からの転送要求に応じて画像データを出力する。
Device I / F Unit The configuration of the device I / F unit 2020 is shown in FIG. The image bus I / F controller 2021 is connected to the image bus 2008, and controls the bus access sequence and generates control and timing of each device in the device I / F unit 2020. In addition, a control signal to the image switching unit 2026 is generated. The scan buffer 2022 temporarily stores the image data sent from the image switching unit 2026 and outputs the image data in synchronization with the image bus 2008. The serial-parallel / parallel-serial conversion 2023 arranges the image data stored in the scan buffer 2022 in order or decomposes and converts the image data into a data width that can be transferred to the image bus 2008. The parallel-serial / serial-parallel conversion 2024 decomposes the image data transferred from the image bus 2008 or arranges the image data in order, and converts the image data into a data width that can be stored in the print buffer 2025. The print buffer 2025 temporarily stores the image data sent from the image bus 2008, and outputs the image data in response to a transfer request from the image switching unit 2026.

画像スキャン時の処理手順を以下に示す。スキャナ2070から送られてくる画像データをスキャナ2070から送られてくるタイミング信号に同期させて、画像切換え部2026に送る。画像切換え部2026ではスキャナ2070から受け取った画像をCPU2001からの設定に応じて選択された転送先へ画像を送る。通常はスキャナ2070から受け取った画像はスキャナ画像処理部2080へ送られ、所定の画像処理を行った後、画像切換え部2026を介してスキャンバッファ2022に保存される。そして、画像バス2008がPCIバスの場合には、パッファ内に画像データが32ビット以上入ったときに、画像データを先入れ先出しで32ビット分、バッファからシリアルパラレル・パラレルシリアル変換2023に送り、32ビットの画像データに変換し、画像バスIノFコントローラ2021を通して画像バス2008上に転送する。また、画像バス2008がIEEE1394の場合には、バッファ内の画像データを先入れ先出しで、バッファからシリアルパラレル・パラレルシリアル変換2023に送り、シリアル画像データに変換し、画像バスI/Fコントローラ2021を通して画像バス2008上に転送する。   The processing procedure at the time of image scanning is shown below. The image data sent from the scanner 2070 is sent to the image switching unit 2026 in synchronization with the timing signal sent from the scanner 2070. The image switching unit 2026 sends the image received from the scanner 2070 to the transfer destination selected according to the setting from the CPU 2001. Normally, the image received from the scanner 2070 is sent to the scanner image processing unit 2080, and after performing predetermined image processing, it is stored in the scan buffer 2022 via the image switching unit 2026. When the image bus 2008 is a PCI bus, when image data is 32 bits or more in the buffer, the image data is sent in a first-in first-out manner for 32 bits from the buffer to the serial-parallel / parallel-serial conversion 2023, and then 32 bits The image data is transferred to the image bus 2008 through the image bus I-F controller 2021. When the image bus 2008 is IEEE1394, the image data in the buffer is first-in-first-out, sent from the buffer to the serial-parallel / parallel-serial conversion 2023, converted into serial image data, and then converted into serial image data through the image bus I / F controller 2021. Transfer on 2008.

画像プリント時の処理手順を以下に示す。画像バス2008がPCIバスの場合には、画像バスから送られてくる32ビットの画像データを画像バスI/Fコントローラで受け取り、パラレルシリアル・シリアルパラレル変換2024に送り、プリンタ2095の入力データビット数の画像データに分解し、プリントバッファ2025に保存する。また、画像バス2008がIEEE1394の場合には、画像バスからおくられてくるシリアル画像データを画像バスI/Fコントローラで受け取り、パラレルシリアル・シリアルパラレル変換2024に送り、プリンタ2095の入力データビット数の画像データに変換し、プリントバッファ2025に保存する。画像データはプリントバッファ2025から画像切換え部2026を介してプリンタ画像処理部2090に送られる。そして所定の画像処理を行った後、画像切換え部2026を介し、プリンタ2095から送られてくるタイミング信号に同期させて、バッファ内の画像データを先入れ先出しで、プリンタ2095に送る。   The processing procedure at the time of image printing is shown below. When the image bus 2008 is a PCI bus, 32-bit image data sent from the image bus is received by the image bus I / F controller, sent to the parallel-serial / serial-parallel conversion 2024, and the number of input data bits of the printer 2095 Are stored in the print buffer 2025. When the image bus 2008 is IEEE1394, serial image data sent from the image bus is received by the image bus I / F controller, sent to the parallel serial / serial parallel conversion 2024, and the number of input data bits of the printer 2095 is determined. It is converted into image data and stored in the print buffer 2025. The image data is sent from the print buffer 2025 to the printer image processing unit 2090 via the image switching unit 2026. Then, after performing predetermined image processing, the image data in the buffer is sent to the printer 2095 via the image switching unit 2026 in a first-in first-out manner in synchronization with a timing signal sent from the printer 2095.

バス占有率の算出
ここでは本発明の中心であるバス占有率の算出について説明する。ここではバス2021がPCIバスである例を示す。画像バスI/Fコントローラ2021は図9のようにスキャンバッファ2022、プリントバッファ2025、シリアル・パラレルの変換部2023、2024とPCIバス2021間の画像転送制御を行うと同時に図10の様なバス占有率の算出回路を有する。ユーザが操作部2003上で何らかの操作を行うと本装置のCPU2001は画像転送が近々行われると判断して、画像バスI/Fコントローラ2021のレジスタを制御することで、図2401の回路上のRESET信号(内部信号)をディアサートする。
Calculation of Bus Occupancy Ratio Here, calculation of the bus occupation ratio, which is the center of the present invention, will be described. In this example, the bus 2021 is a PCI bus. The image bus I / F controller 2021 performs image transfer control between the scan buffer 2022, the print buffer 2025, the serial / parallel conversion units 2023 and 2024 and the PCI bus 2021, as shown in FIG. 9, and simultaneously occupies the bus as shown in FIG. It has a rate calculation circuit. When the user performs any operation on the operation unit 2003, the CPU 2001 of this apparatus determines that the image transfer is about to be performed, and controls the register of the image bus I / F controller 2021, whereby the RESET on the circuit in FIG. Deassert signal (internal signal).

RESET信号がディアサートされるとバス占有率の算出回路上のトータル時間累積カウント部2411で実際に転送が開始されるまでの間、CLKのカウントを続ける。また、転送時間累積カウント部2412ではFRAME,IRDY,TRDYのORゲート信号がアクティブな時間のみCLKのカウントを行い、実際にPCIバス上でのバスサイクルが行われていた時間をカウントする。図11はPCIバスの波形と、転送時間累積カウント部2412でカウントされた時間の関係を示している。また、それぞれのカウント結果は除算部2413で除算処理され、バス占有率は画像バスI/Fコントローラ2021上のレジスタにラッチされ、CPU2001により読み取られる。   When the RESET signal is deasserted, the total time accumulation count unit 2411 on the bus occupancy rate calculation circuit continues counting CLK until the transfer is actually started. In addition, the transfer time accumulating counting unit 2412 counts CLK only when the FRAME, IRDY, and TRDY OR gate signals are active, and counts the time during which a bus cycle is actually performed on the PCI bus. FIG. 11 shows the relationship between the waveform of the PCI bus and the time counted by the transfer time accumulation count unit 2412. Each count result is divided by the division unit 2413, and the bus occupancy is latched in a register on the image bus I / F controller 2021 and read by the CPU 2001.

画像切換え部の制御
ユーザはあらかじめ請求項記載のように画質優先かあるいは転送効率優先かを設定することができる。図12はその設定キーの例を示す。速度優先はすなわち転送効率優先を示す。ユーザにより図12の設定キーを操作するとそれに応じた請求項記載のバス占有率の閾値が決定される。画質優先に近い設定を選べば選ぶほど、バス占有率の閾値は大きく設定される。また、速度優先に近い設定を選べば選ぶほど、バス占有率の閾値は小さく設定される。この閾値と上記算出回路で算出されたバス占有率を比較した結果によって画像切換え部2026上の画像バス制御等が変化する。
Control of Image Switching Unit The user can set in advance whether to give priority to image quality or transfer efficiency as described in the claims. FIG. 12 shows an example of the setting key. Speed priority indicates transfer efficiency priority. When the user operates the setting key shown in FIG. 12, the bus occupancy rate threshold according to the claims is determined accordingly. As the setting closer to the image quality priority is selected, the bus occupancy threshold is set larger. In addition, as the setting closer to the speed priority is selected, the bus occupancy ratio threshold is set smaller. The image bus control or the like on the image switching unit 2026 changes depending on the result of comparing this threshold value with the bus occupancy calculated by the calculation circuit.

まず、バス占有率が閾値以下の場合にはバスの占有率が小さいと判断されて、図13に示す様な画像転送経路を通る。スキャナ画像処理部2080では画像がフルカラーで処理されRGB24bitの画像が画像切換え部2026を介してデバイスI/F2020に転送される。従って画質は良質を保たれたままPCIバスヘ画像が送られ、プリンタ等、転送先のデバイスヘも高画質が画像を提供することになる。しかし、その反面PCIバス2008への負荷は大きくなり、膨大なデータ転送が終了するまではネートワーク経由の画像等がPCIバス2008を通ることを許可されない。   First, when the bus occupancy is less than or equal to the threshold, it is determined that the bus occupancy is small, and passes through an image transfer path as shown in FIG. The scanner image processing unit 2080 processes the image in full color, and the RGB 24-bit image is transferred to the device I / F 2020 via the image switching unit 2026. Accordingly, an image is sent to the PCI bus while maintaining high image quality, and a high-quality image is provided to a transfer destination device such as a printer. However, on the other hand, the load on the PCI bus 2008 becomes large, and images and the like via the network are not allowed to pass through the PCI bus 2008 until a huge data transfer is completed.

また、バス占有率が閥値以上の場合にはバスの占有率が大きいと判断されて、図14に示す様な画像転送経路を通る。スキャナ画像処理部2080では画像が2値化されたCMYK4bitの画像が画像切換え部2026を介してさらに解像度変換部2029で間引き処理が行われ、デバイスI/F2020に転送される(スキャナ画像処理部2080による2値化処理、あるいは解像度変換部2029による間引き処理のいずれかのみを行う方法でももちろんかまわない。)。この場合、画質は劣化するが、その反面PCIバス2008への負荷は小さくなり、速やかにデータ転送が終了し、ネートワーク経由の画像等のPCIバス2008上のアクセスはすぐに許可される様になる。   If the bus occupancy is equal to or greater than the threshold value, it is determined that the bus occupancy is high, and the image transfer route as shown in FIG. 14 is passed. In the scanner image processing unit 2080, the CMYK 4-bit image obtained by binarizing the image is further thinned out by the resolution conversion unit 2029 via the image switching unit 2026 and transferred to the device I / F 2020 (scanner image processing unit 2080). Of course, it is possible to use only the binarization processing according to the above or the thinning processing by the resolution conversion unit 2029.) In this case, although the image quality deteriorates, the load on the PCI bus 2008 is reduced, the data transfer is completed quickly, and access on the PCI bus 2008 such as images via the network is immediately permitted. Become.

また、ユーザにより図12の設定キー上の強制画質優先キーが押された場合は上記バス占有率の結果にかかわらず、図13に示す様な画像転送経路を通り、スキャナ画像処理部2080では画像がフルカラーで処理されRGB24bitの画像が画像切換え部2026を介してデバイスI/F2020に転送される。画質は良質を保たれたままPCIバスヘ画像が送られ、プリンタ等、転送先のデバイスヘも高画質が画像を提供することになる。しかし、その反面バスが混みあっていても、PCIバス2008へ大きな負荷を与えるため画像転送効率は最も悪くなる。   If the forced image quality priority key on the setting key in FIG. 12 is pressed by the user, the scanner image processing unit 2080 passes through the image transfer path as shown in FIG. 13 regardless of the result of the bus occupancy rate. Are processed in full color, and an RGB 24-bit image is transferred to the device I / F 2020 via the image switching unit 2026. The image is sent to the PCI bus while maintaining the high image quality, and the image is provided to the transfer destination device such as a printer. However, even if the buses are crowded, the image transfer efficiency becomes the worst because a large load is applied to the PCI bus 2008.

また、ユーザにより図12の設定キー上の強制速度優先キーが押された場合は上記バス占有率の結果にかかわらず、図14に示す様な画像転送経路を通り、スキャナ画像処理部2080では画像が2値化されたCMYK4bitの画像が画像切換え部2026を介してさらに解像度変換部2029で間引き処理が行われ、デバイスI/F2020に転送される。この場合、バスは空いていても、画質は劣化したものが転送される。バスは空いており、データ転送量は小さいため、PCIバス2008への負荷は最も小さくなり、速やかにデータ転送が終了する。   If the forced speed priority key on the setting key in FIG. 12 is pressed by the user, the scanner image processing unit 2080 passes through the image transfer path as shown in FIG. 14 regardless of the result of the bus occupancy rate. The CMYK 4-bit image obtained by binarizing is further subjected to thinning processing by the resolution conversion unit 2029 via the image switching unit 2026 and transferred to the device I / F 2020. In this case, even if the bus is vacant, the image with degraded image quality is transferred. Since the bus is free and the amount of data transfer is small, the load on the PCI bus 2008 is the smallest and the data transfer is completed promptly.

いずれのケースも画像データのプリント時はプリントバッファ2025から画像切換え部2026を介してプリンタ画像処理部2090でプリンタ用画像処理が行われて、再び画像切換え部2026を介してプリンタ2095に出力される。   In either case, when image data is printed, the printer image processing unit 2090 performs image processing for the printer from the print buffer 2025 via the image switching unit 2026, and the image data is output again to the printer 2095 via the image switching unit 2026. .

[ソフトウェア]
システム全体
本発明のネットワークシステム全体の構成図を図1に示す。1001は本発明の装置で、後述するスキャナとプリンタから構成され、スキャナから読み込んだ画像をローカルエリアネットワーク1010(以下LAN)に流したり、LANから受信した画像をプリンタによりプリントアウトできる。また、スキャナから読んだ画像を図示しないFAX送信手段により、PSTNまたはISDN(1030)に送信したり、PSTNまたはISDNから受信した画像をプリンタによりプリントアウトできる。1002は、データベースサーバで、本発明の装置1001により読み込んだ2値画像及び多値画像をデータベースとして管理する。1003は、データベースサーバ1002のデータベースクライアントで、データベース1002に保存されている画像データを閲覧/検索等できる。1004は、電子メールサーバで、本発明の装置1001により読み取った画像を電子メールの添付として受け取ることができる。1005は、電子メールのクライアントで、電子メールサーバ1004の受け取ったメールを受信し閲覧したり、電子メールを送信したり、可能である。1006がHTML文書をLANに提供するWWWサーバで、本発明の装置1001によりWWWサーバで提供されるHTML文書をプリントアウトできる。1007は、ルータでLAN1010をインターネット/イントラネット1012と連結する。インターネット/イントラネットに、前述したデータベースサーバ(1002)、WWWサーバ(1006)、電子メールサーバ(1004)、本発明の装置(1001)と同様の装置が、それぞれ1020、1021、1022、1023として連結している。一方、本発明の装置1001は、PSTNまたはISDN(1030)を介して、FAX装置1031と送受信可能になっている。また、LAN上にプリンタ1040も連結されており、本発明の装置1001により読み取った画像をプリントアウト可能なように構成されている。
[software]
Overall System FIG. 1 shows a configuration diagram of the entire network system of the present invention. An apparatus 1001 according to the present invention includes a scanner and a printer, which will be described later. An image read from the scanner can be sent to a local area network 1010 (hereinafter referred to as a LAN), and an image received from the LAN can be printed out by a printer. Further, the image read from the scanner can be transmitted to the PSTN or ISDN (1030) by a FAX transmission means (not shown), and the image received from the PSTN or ISDN can be printed out by the printer. Reference numeral 1002 denotes a database server that manages binary images and multi-valued images read by the apparatus 1001 of the present invention as a database. Reference numeral 1003 denotes a database client of the database server 1002 that can browse / search image data stored in the database 1002. An e-mail server 1004 can receive an image read by the apparatus 1001 of the present invention as an e-mail attachment. Reference numeral 1005 denotes an e-mail client that can receive and browse e-mail received by the e-mail server 1004 and send e-mail. Reference numeral 1006 denotes a WWW server that provides an HTML document to the LAN, and the apparatus 1001 of the present invention can print out the HTML document provided by the WWW server. Reference numeral 1007 denotes a router that connects the LAN 1010 to the Internet / intranet 1012. The database server (1002), WWW server (1006), e-mail server (1004), and apparatus similar to the apparatus (1001) of the present invention are connected to the Internet / intranet as 1020, 1021, 1022, and 1023, respectively. ing. On the other hand, the apparatus 1001 of the present invention can transmit and receive with the FAX apparatus 1031 via the PSTN or ISDN (1030). A printer 1040 is also connected on the LAN, and is configured to print out an image read by the apparatus 1001 of the present invention.

ソフトウエアブロック全体構成
図2は、本発明を実施した複合機のソフトウエアブロック図である。
Overall Configuration of Software Block FIG. 2 is a software block diagram of a multi-function machine that implements the present invention.

1501はUI即ちユーザインターフェイスを司るものであり、オペレータが本複合機の各種操作・設定を行う際、機器との仲介を行うモジュールである。本モジュールは、オペレータの操作に従い、後述の各種モジュールに入力情報を転送し処理の依頼、或いはデータの設定等を行う。   Reference numeral 1501 denotes a UI, that is, a user interface, which is a module that mediates with the device when the operator performs various operations and settings of the multifunction peripheral. This module transfers input information to various modules, which will be described later, and requests processing or sets data in accordance with the operation of the operator.

1502はAddress−Book即ちデータの送付先、通信先等を管理するデータベースモジュールである。Address−Bookの内容は、UI 1501からの操作によりデータの追加、削除、取得が行われ、オペレータの操作により後述の各モジュールにデータの送付・通信先情報を与えるものとして使用されるものである。   Reference numeral 1502 denotes an address-book, that is, a database module that manages a data transmission destination, a communication destination, and the like. The contents of the Address-Book are used to add, delete, and acquire data by operations from the UI 1501 and to provide data sending / communication destination information to each module described later by the operations of the operator. .

1503はWeb−Serverモジュールであり、図外のWebクライアントからの要求により、本複合機の管理情報を通知するために使用される。管理情報は、後述のControll−API 1518を介して読み取られ、後述のHTTP 1512、TCP/IP 1516、Network−Driver 1517を介してWebクライアントに通知される。   Reference numeral 1503 denotes a Web-Server module, which is used for notifying management information of the multifunction peripheral in response to a request from a Web client (not shown). The management information is read via a later-described Control-API 1518 and notified to a Web client via an HTTP 1512, TCP / IP 1516, and Network-Driver 1517 which will be described later.

1504はUniversal−Send即ち、データの配信を司るモジュールであり、UI 1501によりオペレータに指示されたデータを、同様に指示された通信(出力)先に配布するものである。   Reference numeral 1504 denotes a universal-send, that is, a module that manages data distribution, and distributes data instructed to the operator by the UI 1501 to a communication (output) destination similarly designated.

また、オペレータにより、本機器のスキャナ機能を使用し配布データの生成が指示された場合は、後述のControll−API 1518を介して機器を動作させ、データの生成を行う。   When the operator uses the scanner function of this device to instruct the generation of distribution data, the device is operated via the below-described Control-API 1518 to generate data.

1505はUniversal−Send 1504内で出力先にプリンタが指定された際に実行されるモジュールである。   A module 1505 is executed when a printer is specified as an output destination in the Universal-Send 1504.

1506はUniversal−Send 1504内で通信先にE−mallアドレスが指定された際に実行されるモジュールである。   A module 1506 is executed when an E-mall address is designated as a communication destination in the Universal-Send 1504.

1507はUniversal−Send 1504内で出力先にデータベースが指定された際に実行されるモジュールである。   A module 1507 is executed when a database is designated as an output destination in the Universal-Send 1504.

1508はUniversal−Send 1504内で出力先に本機器と同様の複合機が指定された際に実行されるモジュールである。   Reference numeral 1508 denotes a module that is executed when a multifunction device similar to this device is designated as an output destination in the Universal-Send 1504.

1509はRemote−Copy−Scanモジュールであり、本複合機のスキャナ機能を使用し、ネットワーク等で接続された他の複合機を出力先とし、本複合機単体で実現しているCopy機能と同等の処理を行うモジュールである。   Reference numeral 1509 denotes a Remote-Copy-Scan module, which uses the scanner function of this multifunction device, and is equivalent to the Copy function realized by this multifunction device alone, using another multifunction device connected via a network as an output destination. This module performs processing.

1510はRemote−Copy−Printモジュールであり、本複合機のプリンタ機能を使用し、ネットワーク等で接続された他の複合機を入力先とし、本複合機単体で実現しているCopy機能と同等の処理を行うモジュールである。   Reference numeral 1510 denotes a Remote-Copy-Print module, which uses the printer function of this multifunction device, and is equivalent to the Copy function realized by this multifunction device alone with another multifunction device connected via a network or the like as an input destination. This module performs processing.

1511はWeb−Pull−Print、即ちインターネットまたはイントラネット上の各種ホームページの情報を読み出し、印刷するモジュールである。   Reference numeral 1511 denotes a Web-Pull-Print, that is, a module for reading and printing information on various home pages on the Internet or an intranet.

1512は本複合機がHTTPにより通信する際に使用されるモジュールであり、後述のTCP/IP1516モジュールにより前述のWeb−Server 1503、Web−Pull−Print 1511モジュールに通信を提供するものである。   Reference numeral 1512 denotes a module used when the multi-function peripheral communicates by HTTP, and provides communication to the Web-Server 1503 and the Web-Pull-Print 1511 module by a TCP / IP 1516 module described later.

1513はlprモジュールであり、後述のTCP/IP 1516モジュールにより前述のUniversal−Send 1504内のプリンタモジュール1505に通信を提供するものである。   Reference numeral 1513 denotes an lpr module which provides communication to the printer module 1505 in the above-described Universal-Send 1504 by a TCP / IP 1516 module described later.

1514はSMTPモジュールであり、後述のTCP/IP 1516モジュールにより前述のUniversal−Send 1504内のE−mailモジュール1506に通信を提供するものである。   Reference numeral 1514 denotes an SMTP module which provides communication to the E-mail module 1506 in the above-mentioned Universal-Send 1504 by a TCP / IP 1516 module described later.

1515はSLM即ちSalutation−Managerモジュールであり、後述のTCP/IP1516モジュールにより前述のUniversal−Send 1504内のデータベースモジュール1517、DPモジュール1518、及びRemote−Copy−Scan 1509モジュール、Remote−Copy−Print 1510モジュールに通信を提供するものである。   Reference numeral 1515 denotes an SLM, that is, a Salutation-Manager module, and a database module 1517, a DP module 1518, a Remote-Copy-Scan 1509 module, and a Remote-Copy-Print 1510 module in the above-mentioned Universal-Send 1504 according to a TCP / IP 1516 module described later. Communication.

1516はTCP/IP通信モジュールであり、前述の各種モジュールに後述のNetwork−Driverによりネットワーク通信を提供するものである。   Reference numeral 1516 denotes a TCP / IP communication module, which provides network communication to the various modules described above using a network-driver described later.

1517はネットワークドライバであり、ネットワークに物理的に接続される部分を制御するものである。
1518はControll−APIであり、Universal−Send 1504等の上流モジュールに対し、後述のJob−Manager 1519等の下流モジュールとのインターフェイスを提供するものであり、上流、及び下流のモジュール間の依存関係を軽減しそれぞれの流用性を高めるものである。
Reference numeral 1517 denotes a network driver that controls a portion physically connected to the network.
1518 is a Control-API that provides an interface with an upstream module such as Universal-Send 1504 to a downstream module such as Job-Manager 1519 described later, and provides a dependency relationship between upstream and downstream modules. It will reduce and improve the applicability of each.

1519はJob−Managerであり、前述の各種モジュールよりControll−API 1518を介して指示される処理を解釈し、後述の各モジュールに指示を与えるものである。また、本モジュールは、本複合機内で実行されるハード的な処理を一元管理するものである。   Reference numeral 1519 denotes a job manager, which interprets processing instructed from the various modules described above via the control-API 1518 and gives instructions to each module described later. In addition, this module centrally manages hardware processing executed in the multifunction peripheral.

1520はCODEC−Managerであり、Job−Manager 1519が指示する処理の中でデータの各種圧縮・伸長を管理・制御するものである。   Reference numeral 1520 denotes a CODEC-Manager, which manages and controls various compression / decompression of data in the process instructed by the Job-Manager 1519.

1521はFBE−Encoderであり、Job−Manager 1519、Scan−Manager 1524により実行されるスキャン処理により読み込まれたデータをFBEフォーマットにより圧縮するものである。   Reference numeral 1521 denotes an FBE-Encoder, which compresses data read by a scan process executed by the job manager 1519 and the scan manager 1524 in the FBE format.

1522はJPEG−CODEであり、Job−Manager 1519、Scan−Manager 1524により実行されるスキャン処理、及びPrint−Manager 1526により実行される印刷処理において、読み込まれたデータのJPEG圧縮及び印刷データのJPEG展開処理を行うものである。   Reference numeral 1522 denotes JPEG-CODE, which is JPEG compression of read data and JPEG expansion of print data in scan processing executed by Job-Manager 1519 and Scan-Manager 1524 and print processing executed by Print-Manager 1526. The processing is performed.

1523はMMR−CODECであり、Job−Manager 1519、Scan−Manager 1524により実行されるスキャン処理、及びPrint−Manager 1526により実行される印刷処理において、読み込まれたデータのMMR圧縮及び印刷データのMMR伸長処理を行うものである。   Reference numeral 1523 denotes an MMR-CODEC. In the scan processing executed by the Job-Manager 1519 and the Scan-Manager 1524 and the print processing executed by the Print-Manager 1526, the MMR compression of the read data and the MMR expansion of the print data are performed. The processing is performed.

1524はScan−Managerであり、Job−Manager 1519が指示するスキャン処理を管理・制御するものである。   Reference numeral 1524 denotes a scan manager, which manages and controls scan processing instructed by the job manager 1519.

1525はSCSIドライバであり、Scan−Manager 1524と本複合機が内部的に接続しているスキャナ部との通信を行うものである。   Reference numeral 1525 denotes a SCSI driver, which communicates between the Scan-Manager 1524 and the scanner unit to which the multifunction peripheral is internally connected.

1526はPrint−Managerであり、Job−Manager 1519が指示する印刷処理を管理・制御するものである。   Reference numeral 1526 denotes a print manager, which manages and controls print processing instructed by the job manager 1519.

1527はEngine−I/Fドライバであり、Print−Manager 1526と印刷部とのI/Fを提供するものである。   Reference numeral 1527 denotes an engine-I / F driver, which provides an interface between the print-manager 1526 and the printing unit.

1528はパラレルポートドライバであり、Web−Pull−Print 1511がパラレルポートを介して図外の出力機器にデータを出力する際のI/Fを提供するものである。   A parallel port driver 1528 provides an I / F when the Web-Pull-Print 1511 outputs data to an output device (not shown) via the parallel port.

アプリケーション
以下、本発明の組み込みアプリケーションの実施の形態について図面を用いて説明する。
Application An embodiment of an embedded application according to the present invention will be described below with reference to the drawings.

図18は、本発明の配信に関する組み込みアプリケーションブロックを表すものである。   FIG. 18 shows a built-in application block relating to distribution of the present invention.

4050は、前記3000で説明した本発明の操作部アプリケーションを示すブロックである。   Reference numeral 4050 denotes a block indicating the operation unit application of the present invention described in 3000 above.

4100は、リモートコピーアプリケーションの送信側を示すブロック図である。   4100 is a block diagram showing the transmission side of the remote copy application.

4150は、同報配信の送信側を示すブロック図である。   4150 is a block diagram showing the transmission side of the broadcast distribution.

4200は、Web Pun Printモジュールを示すブロック図である。   4200 is a block diagram showing the Web Pun Print module.

4250は、Web Serverモジュールを示すブロック図である。   4250 is a block diagram showing the Web Server module.

4300は、リモートコピーの受信側(プリント側)を示すブロック図である。   4300 is a block diagram showing the remote copy receiving side (printing side).

4350は、同報配信で送信されてきたイメージを汎用のプリンタで受信にプリントするブロック図である。   Reference numeral 4350 is a block diagram for printing an image transmitted by the broadcast distribution for reception by a general-purpose printer.

4400は、リモートプリントの受信側(プリント側)を示すブロック図である。   4400 is a block diagram showing the remote print receiving side (printing side).

4450は、同報配信で送信されてきたイメージを公知のNotes Serverで受信・格納するブロック図である。   4450 is a block diagram for receiving and storing an image transmitted by the broadcast distribution by a known Notes Server.

4500は、同報配信で送信されてきたイメージを2値のイメージを受信・格納するブロック図である。   4500 is a block diagram for receiving and storing a binary image from an image transmitted by broadcast distribution.

4550は、同報配信で送信されてきたイメージを公知のMail Serverで受信・格納するブロック図である。   Reference numeral 4550 is a block diagram for receiving and storing an image transmitted by the broadcast distribution by a known Mail Server.

4600は、同報配信で送信されてきたイメージを多値のイメージを受信・格納するブロック図である。   Reference numeral 4600 denotes a block diagram for receiving and storing a multi-valued image transmitted by broadcast distribution.

4650は、情報コンテンツを含んだ、公知のWeb Serverを示す図である。   4650 is a diagram showing a known Web Server including information content.

4700は、本発明のWeb Serverなどにアクセスする公知のWeb Browserを示す図である。   4700 is a diagram showing a known Web Browser that accesses the Web Server of the present invention.

以下、それぞれのブロックに照らし合わせながら、アプリケーション群の説明を詳細に行う。   Hereinafter, the application group will be described in detail with reference to each block.

User Interface アプリケーション
4050ブロックに示したUser Interface(以下、UI)の詳細は、前記したとおりであるが、ここでは、4051のAddress Bookについて説明する。このAddress Bookは、本発明の機器内の不揮発性の記憶装置(不揮発性メモリやハードディスクなど)に保存されており、この中には、ネットワークに接続された機器の特徴が記載されている。例えば、以下に列挙するようなものが含まれている。
機器の正式名やエイリアス名
機器のネットワークアドレス
機器の処理可能なネットワークプロトコル
機器の処理可能なドキュメントフォーマット
機器の処理可能な圧縮タイプ
機器の処理可能なイメージ解像度
プリンタ機器の場合の給紙可能な紙サイズ、給紙段情報
サーバ(コンピュータ)機器の場合のドキュメントを格納可能なフォルダ名
Details of the User Interface (hereinafter referred to as UI) shown in the User Interface application 4050 block are as described above. Here, the Address Book 4051 will be described. This Address Book is stored in a non-volatile storage device (non-volatile memory, hard disk, etc.) in the device of the present invention, in which the characteristics of the device connected to the network are described. For example, those listed below are included.
Official device name or alias name Device network address Device processable network protocol Device processable document format Device processable compression type Device processable image resolution Paper size for printers , Paper source information Folder name that can store documents for server (computer) devices

以下に説明する各アプリケーションは、上記Address Book 4051に記載された情報により配信先の特徴を判別することが可能となる。   Each application described below can determine the characteristics of the delivery destination based on the information described in the Address Book 4051.

また、このAddress Bookは、編集可能であると共に、ネットワーク内のサーバコンピュータなどに保存されているものをダウンロードして使用する、または、直接参照することも可能である。   The Address Book can be edited, and can be downloaded and used, or directly referenced, stored in a server computer or the like in the network.

リモートコピーアプリケーション
リモートコピーアプリケーションは、配信先に指定された機器の処理可能な解像度情報を前記Address Book 4051より判別し、それに従い、スキャナにより読みとった画像2催画像を公知のMMR圧縮を用いて圧縮し、それを公知のTIFF(Tagged Image File Format)化し、SLM4103に通して、ネットワーク上のプリンタ機器に送信する。SLM4103とは、詳細には説明しないが、公知のSalutation Manager(または、Smart Link Manager)と呼ばれる機器制御情報などを含んだネットワークプロトコルの一種である。
Remote Copy Application The remote copy application discriminates resolution information that can be processed by the device designated as the distribution destination from the Address Book 4051, and compresses the image 2 host image read by the scanner using a known MMR compression according to the discriminated resolution information. Then, it is converted into a known TIFF (Tagged Image File Format), passed through the SLM 4103, and transmitted to the printer device on the network. Although not described in detail, the SLM 4103 is a kind of network protocol including device control information called a known Salutation Manager (or Smart Link Manager).

同報配信アプリケーション
同報配信アプリケーションは、前記リモートコピーアプリケーションと違い、一度の画像走査で複数の配信宛先に画像を送信する事が可能である。また、配信先もプリンタ機器にとどまらず、いわゆるサーバコンピュータにも直接配信可能である。
Broadcast distribution application Unlike the remote copy application, the broadcast distribution application can transmit images to a plurality of distribution destinations by one-time image scanning. Further, the distribution destination is not limited to the printer device, but can be directly distributed to a so-called server computer.

以下、配信先に従って純に説明する。   The following is a pure description according to the delivery destination.

配信先の機器が公知のネットワークプリンタプロトコルであるLPD(Line Printer Daemon)、プリンタ制御コマンドとして公知のLIPSを処理可能だとAddress Book 4051より判別した場合、同様にAddress Book 4051より判別した画像解像度に従って画像読み取りを行い、画像自体は、本実施例では、公知のFBE(First Binari Encoding)を用いて圧縮し、さらにLIPSコード化して、公知のネットワークプリンタプロトコルであるLPRで相手機器に送信する。   When it is determined from Address Book 4051 that the destination device is capable of processing a known network printer protocol LPD (Line Printer Daemon) and a known LIPS as a printer control command, the image is similarly determined from Address Book 4051. In this embodiment, the image is read, and in this embodiment, the image is compressed using a well-known FBE (First Binary Encoding), further LIPS-coded, and transmitted to the counterpart device using the LPR which is a well-known network printer protocol.

配信先の機器が前記SLMで通信可能で、サーバ機器の場合、Address Book 4051より、サーバアドレス、サーバ内のフォルダの指定を判別し、リモートコピーアプリケーションと同様に、スキャナにより読み取った画像2値画像を公知のMMR圧縮を用いて圧縮し、それを公知のTIFF(Tagged Image File Format)化し、SLMを通して、ネットワーク上のサーバ機器の特定のフォルダに格納する事が可能である。   When the delivery destination device is communicable with the SLM and is a server device, the address book 4051 is used to determine the server address and the designation of the folder in the server, and the binary image read by the scanner in the same manner as the remote copy application. Can be compressed using a known MMR compression, converted into a known TIFF (Tagged Image File Format), and stored in a specific folder of a server device on the network through the SLM.

また、本実施例の機器では、相手機器であるサーバが公知のJPEG圧縮された多値画像を処理可能だと判別した場合、前記の2値画像と同様に多値読み取りした画像を公知のJPEG圧縮を用いて、やはり公知のJFIF化し、SLMを通して、ネットワーク上のサーバ機器の特定のフォルダに格納する事が可能である。   Further, in the device of this embodiment, when the server as the counterpart device determines that a known JPEG-compressed multi-value image can be processed, the multi-value read image similar to the above-described binary image is used. Using compression, it is also possible to convert to a known JFIF and store it in a specific folder of a server device on the network through the SLM.

配信先の機器が公知のE−Mailサーバである場合、Address Book 4051に記載されたメールアドレスを判別し、スキャナにより読み取った画像2値画像を公知のMMR圧縮を用いて圧縮し、それを公知のTIFF(Tagged Image File Format)化し、公知のSMTP(Simple Mail Transfer Protcol)4153を使用して、E−Mailサーバに送信する。その後の配信は、Mail Server 4550に従って実行される。   When the delivery destination device is a known E-Mail server, the e-mail address described in Address Book 4051 is determined, the binary image read by the scanner is compressed using known MMR compression, and this is known. The TIFF (Tagged Image File Format) is sent to the E-Mail server using the well-known SMTP (Simple Mail Transfer Protocol) 4153. Subsequent delivery is performed according to Mail Server 4550.

Web Pull Print アプリケーション
Web Pull Print アプリケーションは、本実施例と直接関係しないので、説明は省略する。
Web Pull Print Application Since the Web Pull Print application is not directly related to the present embodiment, the description thereof is omitted.

Web Server アプリケーション
Web Server アプリケーションは、本実施例と直接関係しないので、説明は省略する。
Web Server Application Since the Web Server application is not directly related to the present embodiment, description thereof is omitted.

Devic Information Service(DIS)
コントローラ内でジョブに対する設定値、デバイス(スキャナ、プリンタなど)の機能、ステータス、課金情報等をControl APIに準拠したデータ形態で保持するデータベースと、そのデータベースとのI/FをDevice Information Service(以下、DISと呼称する)として定義している。図19にDIS 7102と JobManager 7101、及びScan、Printの各DocuentManager 7103、7104とのやり取りを示す。
Device Information Service (DIS)
A database that stores setting values for devices, functions of devices (scanners, printers, etc.), status, billing information, etc. in the controller in a data format conforming to the Control API, and device information service (hereinafter referred to as Device Information Service) , Called DIS). FIG. 19 shows exchanges between the DIS 7102 and the JobManager 7101 and the Scan and Print DocumentManagers 7103 and 7104.

基本的に、Jobの開始命令など動的な情報はJobManager 7101 から各DocumentManagerに直接指示され、デバイスの機能やジョブの内容など静的な情報はDIS 7102を参照する。各DocumentManagerからの静的、動的情報、イベントはDIS 7102を介してJobManager 7101に伝えられる。   Basically, dynamic information such as a job start command is instructed directly from the JobManager 7101 to each DocumentManager, and the DIS 7102 is referred to for static information such as device functions and job contents. Static and dynamic information and events from each DocumentManager are transmitted to the JobManager 7101 via the DIS 7102.

各DocumentManagerからDISのデータベースにデータの設定、取得を行う場合、DISの内部データ形式がControl API準拠であることから、Control APIに準拠したデータ形式と各DocumentManagerが理解できるデータ形式との相互の変換処理を行う。例えば、各DocumentManagerからステータスデータの設定を行う場合、デバイス固有のデータを解釈し、Control APIで定義される対応するデータに変換し、DISのデータベースヘ書き込みを行う。   When data is set and acquired from each DocumentManager to the DIS database, the internal data format of DIS is based on the Control API. Therefore, mutual conversion between the data format conforming to the Control API and the data format understood by each DocumentManager is possible. Process. For example, when setting status data from each DocumentManager, device-specific data is interpreted, converted into corresponding data defined by the Control API, and written to the DIS database.

JobManagerからDISのデータベースにデータの設定、取得を行う場合には、JobManagerとDISの間でデータの変換は生じない。   When data is set and acquired from the JobManager to the DIS database, no data conversion occurs between the JobManager and the DIS.

またDISには、DocumentManagerから通知される各種イベント情報に基づき、イベントデータの更新が行われる。   In the DIS, event data is updated based on various event information notified from the DocumentManager.

図20にDIS内部に保持される各種データベース(以下、DBと呼称する)を示し、それぞれのDBについて説明する。図20中の丸角長方形は個々のDBを表している。   FIG. 20 shows various databases (hereinafter referred to as DBs) held in the DIS, and each DB will be described. The rounded rectangle in FIG. 20 represents each DB.

7201はSupervisorDBであり、機器全体についてのステータスやユーザ情報を保持しているDBであり、ユーザIDやパスワード等、バックアップが必要な情報はHD装置、あるいはバックアップメモリなどの不揮発性の記憶装置に保持される。   7201 is a superviser DB, which holds status and user information about the entire device, and holds information that needs to be backed up, such as a user ID and password, in an HD device or a non-volatile storage device such as a backup memory. Is done.

7202はScanComponentDB、7203はPrintComponentDBであり、これらComponentDBは存在するComponent毎に対応して保持される。例えば、プリンタのみからなる機器の場合はPrintComponentDBのみが存在し、また例えば、FAXを備えた機器の場合はFAXComponentDBが保持される。各ComponentDBには初期化時に、それぞれ対応するDocumentManagerがComponentの機能やステータスを設定する。   Reference numeral 7202 denotes a Scan Component DB, and reference numeral 7203 denotes a Print Component DB. These Component DBs are held corresponding to each existing component. For example, in the case of a device consisting only of a printer, only PrintComponentDB exists, and for example, in the case of a device equipped with FAX, FAX ComponentDB is held. In each ComponentDB, the corresponding DocumentManager sets the function and status of the Component at the time of initialization.

7204はScanJobServiceDB、7205はPrintJobServiceDBであり、これらのJobServiceDBもComponentDB同様、初期化時にそれぞれ対応するDocumentManagerが機器で使用できる機能や、それらのサポート状況を設定する。   Reference numeral 7204 denotes a ScanJobServiceDB, and 7205 denotes a PrintJobServiceDB. These JobServiceDBs, like ComponentDB, set functions that can be used by the corresponding DocumentManager at the time of initialization, and their support status.

次にJobDB、DocumentDBについて説明する。7206はScanJobDB、7207はPrintJobDBの各JobDB、7208はScanDocumentDB、7209はPrintDocumentDBである。   Next, JobDB and DocumentDB will be described. Reference numeral 7206 denotes a ScanJobDB, 7207 denotes each JobDB of the PrintJobDB, 7208 denotes a ScanDocumentDB, and 7209 denotes a PrintDocumentDB.

JobDB、DocuenlDBはJobとそれに付随するDocumentが生成される度にJobManagerにより動的に確保、初期化が行われ、必要な項目の設定が行われる。各DocumentManagerはJobの処理開始前にJobDB、およびDocuentDBから処理に必要な項目を読み出し、Jobを開始する。その後、Jobが終了するとこれらのJob、及びそれに付随していたDocumentのDBは解放される。Jobは1つ以上のDocumentを持つので、あるJobに対して複数のDocumentDBが確保される場合がある。   The JobDB and DocumentDB are dynamically secured and initialized by the JobManager every time a Job and its accompanying Document are generated, and necessary items are set. Each DocumentManager reads out items necessary for processing from JobDB and DocumentDB before starting processing of Job, and starts Job. After that, when the job is finished, these jobs and the DB of the document associated therewith are released. Since Job has one or more Documents, a plurality of DocumentDBs may be secured for a certain Job.

7210は各DocumentManagerから通知されるイベント情報を保持するデータベース、7211は装置のScan回数、Print回数を記録するためのカウンタテーブルである。   Reference numeral 7210 denotes a database holding event information notified from each document manager, and 7211 denotes a counter table for recording the number of scans and the number of prints of the apparatus.

DocumentManagerから通知されるイベントには、ScanDocumentManagerからのComponentの状態遷移、Scan処理動作完了や各種のエラー、またPrintDocumentManagerからのComponentの状態遷移、Print処理動作完了、紙詰まり、給紙カセットオープンなどがあり、それぞれのイベントを識別するためのイベントIDが予め定められている。   Events notified from Document Manager include Component status transition from Scan Document Manager, Scan processing operation completion and various errors, Component Status transition from Print Document Manager, Print processing operation completion, paper jam, paper feed cassette open, etc. The event ID for identifying each event is determined in advance.

DocumentManagerからイベントが発行された場合、DISはイベントデータベース7211に発行されたイベントIDと必要なら該イベントに付随する詳細データを登録する。また、DocumentManagerからイベントの解除が通知された場合、解除指定されたイベントデータをイベントデータベース7211から削除する。   When an event is issued from the DocumentManager, the DIS registers the event ID issued in the event database 7211 and, if necessary, detailed data associated with the event. In addition, when the cancellation of the event is notified from the DocumentManager, the event data designated to be deleted is deleted from the event database 7211.

JobManagerよりイベントのポーリングが行われた場合、DISはイベントデータベース7210を参照し、現在発生しているイベントIDと必要ならイベントに付随する詳細データをJobManagerへ返信し、現在イベントが発生していなければその旨を返信する。   When an event is polled by the job manager, the DIS refers to the event database 7210, returns the event ID currently generated and, if necessary, detailed data associated with the event to the job manager, and if no event has occurred. Reply to that effect.

また、Scan処理動作完了、Print処理動作完了のイペントが通知された場合はScan、Printを行ったユーザのカウンタ値を更新する。このソフトウェアによるカウンタは不慮の電源遮断などでその値が失われないように、バックアップされたメモリ装置やHD装置の不揮発性記憶装置にその値が更新されるたびに書き戻す。   In addition, when an event of completion of the scan processing operation and completion of the print processing operation is notified, the counter value of the user who performed the scan and print is updated. The counter by this software is written back every time the value is updated in the backed up memory device or the non-volatile storage device of the HD device so that the value is not lost due to accidental power interruption or the like.

スキャン動作
以下にスキャン動作の詳細について説明する。図21はスキャン動作に関するブロックの概念図である。PCIバス8105にCPU8101とメモリ8102、画像の圧縮・伸長ボード8104、及びスキャナ8107と、このシステムを接続するためのI/Fを提供するSCSI I/F回路8103が接続されている。SCSI I/F回路8103とスキャナ(または複合機能を有する複写機のスキャナ機能ユニット)8107はSCSIインターフェースケーブル8106で接続されている。またPCIバス8105にはIDE Controller 8108が接続されており、IDE Cable 8109を介してIDE Hard Disk 8110と接続されている。図22はスキャン動作に関するソフトウェア構造を示したものである。JobManager 8201はアプリケーションレベルの要求を分類、保存する機能を持つ。DIS 8202はアプリケーションレベルからのスキャン動作に必要なパラメータを保存する。アプリケーションからの要求はメモリ8102に保存される。スキャン動作管理部8203はJobManager 8201とDIS 8202からスキャンを行うのに必要な情報を取得する。スキャン動作管理部8203はJobManager 8201から図23のジョブ番号、ドキュメント番号のテーブルデータ8301を受け取り、ジョブ番号、ドキュメント番号のテーブルデータ8301を元に、DIS 8202よりスキヤンパラメータ8302を受け取る。これによりアプリケーションから要求されているスキャン条件を元にスキャンを行う。
Scan Operation Details of the scan operation will be described below. FIG. 21 is a conceptual diagram of blocks related to the scanning operation. A CPU 8101, a memory 8102, an image compression / decompression board 8104, a scanner 8107, and a SCSI I / F circuit 8103 that provides an I / F for connecting this system are connected to the PCI bus 8105. A SCSI I / F circuit 8103 and a scanner (or a scanner function unit of a copier having a composite function) 8107 are connected by a SCSI interface cable 8106. Also, an IDE controller 8108 is connected to the PCI bus 8105, and is connected to an IDE hard disk 8110 via an IDE cable 8109. FIG. 22 shows a software structure related to the scanning operation. JobManager 8201 has a function of classifying and storing application level requests. The DIS 8202 stores parameters necessary for the scanning operation from the application level. A request from the application is stored in the memory 8102. The scan operation management unit 8203 acquires information necessary for scanning from the job manager 8201 and the DIS 8202. The scan operation management unit 8203 receives the job number and document number table data 8301 of FIG. 23 from the job manager 8201, and receives the scan parameter 8302 from the DIS 8202 based on the job number and document number table data 8301. As a result, scanning is performed based on the scanning conditions requested by the application.

スキャン動作管理部8203はDIS 8202から取得したスキャンパラメータ8302をドキュメント番号順にスキャンシーケンス制御部8204に渡す。スキャンパラメータ8302を受け取ったスキャンシーケンス制御部8204はスキャン画像属性8308の内容に従ってSCSI制御部8207をコントロールする。これにより図21のPCI 8105に接続されたSCSIController 8103を動作させることにより、SCSIケーブル8106を介してScanner 8107にSCSI制御コマンドを送ることによりスキャンが実行される。スキャンした画像はSCSICable 8106を介してSCSI Controller 8103にわたり、さらにPCI 8105を介してMemory 8102に格納される.スキャンシーケンス制御部8204はスキャンが終了し、PCI 8105を介してMemory 8102に画像が格納された時点で、スキャンパラメータ8302のスキャン画像圧縮形式8309の内容にしたがって、Memory 8102に格納されているスキャン画像を圧縮するために、圧縮・伸長制御部8205に対して要求を出す。要求を受け取った圧縮・伸長制御部8205はPCI 8105に接続されているCODEC 8104を用いて、スキャンシーケンス制御部8204からのスキャン画像圧縮形式8309の指定で圧縮を行う。圧縮・伸長制御部8205は圧縮された画像をPCI 8105を介してMemory 8102に格納する。   The scan operation management unit 8203 passes the scan parameters 8302 acquired from the DIS 8202 to the scan sequence control unit 8204 in the order of document numbers. Upon receiving the scan parameter 8302, the scan sequence control unit 8204 controls the SCSI control unit 8207 in accordance with the content of the scan image attribute 8308. Thus, by operating the SCSI controller 8103 connected to the PCI 8105 in FIG. 21, a scan is executed by sending a SCSI control command to the scanner 8107 via the SCSI cable 8106. The scanned image is stored in the SCSI controller 8103 through the SCICSable 8106 and further stored in the memory 8102 through the PCI 8105. When the scan is completed and the image is stored in the memory 8102 via the PCI 8105, the scan sequence control unit 8204 scans the scan image stored in the memory 8102 according to the content of the scan image compression format 8309 of the scan parameter 8302. Is sent to the compression / decompression control unit 8205. The compression / decompression control unit 8205 that has received the request uses the CODEC 8104 connected to the PCI 8105 to perform compression by specifying the scan image compression format 8309 from the scan sequence control unit 8204. The compression / decompression control unit 8205 stores the compressed image in the Memory 8102 via the PCI 8105.

スキャンシーケンス制御部8204は圧縮・伸長制御部8205がスキャン画像圧縮形式8309で指定された形式にスキャン画像を圧縮し、Memory 8102に格納した時点で、スキャンパラメータ8302の画像ファイルタイプ8307にしたがってMemory 8102に格納されている圧縮されたスキャン画像をファイル化する。スキャンシーケンス制御部8204はファイルシステム8206に対して、スキャンパラメータ8302の画像ファイルタイプ8307で指定されたファイル形式でファイル化することを要求する。ファイルシステム8206はスキャンシーケンス制御部8204からの画像ファイルタイプ8307にしたがって、Memory 8102に格納されている圧縮された画像をファイル化し、PCI 8105を介してIDE Controner 8108に転送し、IDE Cable 8109を介してIDE Hard Disk 8110に転送することによりスキャンされた圧縮画像をファイル化する。スキャンシーケンス制御部8204はファイルシステム8206がIDE Hard Disk 8110にファイル化された画像を格納した時点で、Scanner 8107上の一枚の現行の処理が終了したとして、スキャン動作管理部8203にスキャン終了通知を送り返す。   When the compression / decompression control unit 8205 compresses the scan image into the format specified by the scan image compression format 8309 and stores it in the Memory 8102, the scan sequence control unit 8204 stores the Memory 8102 in accordance with the image file type 8307 of the scan parameter 8302. The compressed scan image stored in is filed. The scan sequence control unit 8204 requests the file system 8206 to create a file in the file format specified by the image file type 8307 of the scan parameter 8302. The file system 8206 converts the compressed image stored in the memory 8102 into a file in accordance with the image file type 8307 from the scan sequence control unit 8204, transfers the file to the IDE controller 8108 via the PCI 8105, and passes through the IDE cable 8109. Then, the scanned compressed image is filed by transferring it to the IDE Hard Disk 8110. When the file system 8206 stores an image filed in the IDE Hard Disk 8110, the scan sequence control unit 8204 notifies the scan operation management unit 8203 that the current processing on the Scanner 8107 has been completed, and notifies the scan operation management unit 8203 of the scan end. Send back.

この時点でScanner 8107上にまだスキャンが行われていない原稿が存在し、JobManager 8201からスキャン要求が存在する場合には再度、DIS 8202に格納されているスキャンパラメータ8302を用いてスキャンシーケンス制御部にスキャン動作を要求する。Scanner 8107上にスキャンされていない原稿が存在しない場合、またはJobManager 8201からのスキャン要求が存在しない場合には、スキャン動作が終了したものとしてJobManager 8201に対してスキャン終了通知を発行する。   At this time, if there is a document that has not yet been scanned on the Scanner 8107 and there is a scan request from the JobManager 8201, the scan sequence control unit uses the scan parameter 8302 stored in the DIS 8202 again. Request a scan operation. If there is no unscanned document on the Scanner 8107, or if there is no scan request from the JobManager 8201, a scan end notification is issued to the JobManager 8201, assuming that the scan operation has ended.

プリント動作
以下でプリント動作について詳細に説明する。
Printing Operation The printing operation will be described in detail below.

図24はプリント動作に関するブロックの概念図である。PCIバス9005にCPU9001とメモリ9002、画像の圧縮・伸張ボード9004、及びプリンタ9007と、このシステムを接続するためのI/Fを提供するEngineI/Fボード9003が接続されている。EngineI/Fボード9003とプリンタ(または複合機能を有する複写機のプリンタ機能ユニット)9007はエンジンインターフェースケーブル9006で接続されている。   FIG. 24 is a conceptual diagram of blocks related to the printing operation. A CPU 9001, a memory 9002, an image compression / expansion board 9004, a printer 9007, and an engine I / F board 9003 that provides an I / F for connecting this system are connected to the PCI bus 9005. An Engine I / F board 9003 and a printer (or a printer function unit of a copier having a composite function) 9007 are connected by an engine interface cable 9006.

EngineI/Fボードは内部にDPRAMを持ち、このDPRAMを介してプリンタヘのパラメータ設定及びプリンタの状態読み出しと、プリントの制御コマンドのやり取りを行う。またこのボードはVideoコントローラを持ち、プリンタからエンジンインターフェースケーブル経由で与えられるVCLK(VideoClock)とHSYNCに合わせて、PCI上に展開されているイメージデータをエンジンインターフェースケーブルを介してプリンタに送信する。この送信のタイミングを図で表すと図25の様になる。VCLKは常に出続け、HSYNCがプリンタの1ラインの開始に同期して与えられる。Videoコントローラは設定された画像幅(WIDTH)分のデータを、設定されたPCI上のメモリ(SOURCE)から読み出して、Video信号としてエンジンインターフェースケーブルに出力する。これを指定ライン分(LINES)繰り返した後、IMAGE_END割り込みを発生する。   The Engine I / F board has a DPRAM inside, and through this DPRAM, parameter setting to the printer, printer status reading, and print control commands are exchanged. The board has a video controller, and transmits image data developed on the PCI to the printer via the engine interface cable in accordance with VCLK (Video Clock) and HSYNC given from the printer via the engine interface cable. The transmission timing is shown in FIG. VCLK continues to come out and HSYNC is given in synchronization with the start of one line of the printer. The video controller reads data for the set image width (WIDTH) from the set memory (SOURCE) on the PCI and outputs it to the engine interface cable as a video signal. After repeating this for the designated line (LINES), an IMAGE_END interrupt is generated.

先に説明したとおり、CPU上のアプリケーションプログラムからControllAPIにプリントジョブの指示が渡されると、ControllAPIはこれをコントローラレベルのJobManagerにジョブとして渡す。さらにこのJobManagerはジョブの設定をDISに格納し、PrintManagerにジョブの開始を指示する。PrintManagerはジョブを受け付けるとDISからジョブ実行に必要な情報を読み出し、EngineI/Fボード及び、DPRAMを介してプリンタに設定する。   As described above, when a print job instruction is passed from the application program on the CPU to the Control API, the Control API passes this to the controller-level JobManager as a job. Furthermore, this JobManager stores the job settings in the DIS and instructs the PrintManager to start the job. When the PrintManager receives a job, it reads information necessary for job execution from the DIS and sets it in the printer via the Engine I / F board and DPRAM.

EngineI/Fボードの設定項目を図26に、プリンタのDPRAMを介した設定項目及び制御コマンド、状態コマンドを図27に示す。   FIG. 26 shows setting items of the Engine I / F board, and FIG. 27 shows setting items, control commands, and status commands via the DPRAM of the printer.

簡単のためにこのジョブを非圧縮、レター(11″x8.5″)サイズ2値画像の、2ページ1部プリント、プリンタが600dpiの性能を持つものとして、具体的に動作を説明する。   For the sake of simplicity, the operation will be specifically described on the assumption that this job is a non-compressed, letter (11 ″ × 8.5 ″) size binary image, two pages and one copy, and the printer has a performance of 600 dpi.

まず、このジョブを受けるとPrintManagerはこの画像の幅(この場合8.5″の側とする)の画像バイト数を算出する。   First, when this job is received, PrintManager calculates the number of image bytes of the width of this image (in this case, it is on the 8.5 ″ side).

WIDTH=8.5×600÷8≒630(Bytes)
次にライン数を演算する。
WIDTH = 8.5 × 600 ÷ 8≈630 (Bytes)
Next, the number of lines is calculated.

LINES=11×600=6600(Lines)
これらの算出した値と、与えられた1ページ目の画像が格納されているSOURCEアドレスとを図26に示したWIDTH,LINES,SOURCEに設定する。この時点でEngineI/Fボードは画像出力の用意が完了しているが、プリンタからのHSYNC信号が来ていないため(VCLKは来ている)画像データを出力していない。
LINES = 11 × 600 = 6600 (Lines)
These calculated values and the SOURCE address storing the given first page image are set in WIDTH, LINES, and SOURCE shown in FIG. At this point, the Engine I / F board is ready for image output, but the HSYNC signal from the printer does not come (VCLK is coming) and no image data is being output.

次にPrintManagerは図27に示したDPRAMの所定のアドレス(BookNo)に出力部数である1を書き込む。その後、1ページ目に対する出力用紙の給紙要求(FEED_REQ)を出し、プリンタからのIMAGE_REQを待つ。プリンタからIMAGE_REQが来たら、IMAGE_STARTを出す。これを受けてプリンタはHSYNCを出し始め、HSYNC待ちであったEngineI/Fボードは画像を出力する。プリンタは出力用紙の後端を検出すると、IMAGE_ENDを出力し、出力用紙が排出されるとSHEET_OUTを出力する。PrintManagerは1ページ目のIMAGE_ENDを受けて、2ページ目のWIDTH,LINES,SOURCEをEngineI/Fボードに設定し、FEED_REQを出して、IMAGE_REQを待つ。2ページ目のIMAGE_REQが来てからの動作は、1ページ目と同様である。   Next, PrintManager writes 1 as the number of output copies to a predetermined address (BookNo) of the DPRAM shown in FIG. After that, an output paper feed request (FEED_REQ) for the first page is issued, and an IMAGE_REQ from the printer is awaited. When IMAGE_REQ is received from the printer, IMAGE_START is issued. In response to this, the printer starts to issue HSYNC, and the Engine I / F board waiting for HSYNC outputs an image. When the printer detects the trailing edge of the output paper, it outputs IMAGE_END, and when the output paper is discharged, it outputs SHEET_OUT. The PrintManager receives IMAGE_END of the first page, sets WIDTH, LINES, and SOURCE of the second page to the Engine I / F board, issues FEED_REQ, and waits for IMAGE_REQ. The operation after the IMAGE_REQ of the second page comes is the same as that of the first page.

本ネットワークシステム全体の構成図Overall configuration of this network system 本システムのソフトウェアの全体構成図Overall configuration diagram of the software of this system 本システムの全体ブロック図Overall block diagram of this system スキャナ部、プリンタ部、及び操作部の外形図Outline drawing of scanner unit, printer unit, and operation unit 操作部を示す図Diagram showing the operation unit スキャナ画像処理部のブロック図Block diagram of the scanner image processing unit プリンタ画像処理部のブロック図Block diagram of the printer image processing unit 画像圧縮処理部のブロック図Block diagram of the image compression processing unit デバイスI/F部のブロック図Device I / F block diagram バス占有率算出回路のブロック図Block diagram of bus occupancy rate calculation circuit PCIバスの占有率の説明図Illustration of PCI bus occupancy ユーザ設定キーの図Figure of user setting key バス占有率が低い場合の画像転送の経路を示す図Diagram showing image transfer route when bus occupancy is low バス占有率が高い場合の画像転送の経路を示す図Diagram showing image transfer route when bus occupancy is high 画像回転部のブロック図Block diagram of the image rotation unit 画像回転処理の説明図Illustration of image rotation processing 画像回転処理の説明図Illustration of image rotation processing 組み込みアプリケーション説明のブロック図Embedded application description block diagram DISとJobManager、PrintManager、ScanManagerとのやり取りを示す図Diagram showing the exchange between DIS and JobManager, PrintManager, ScanManager DIS内部のデータベース、及びカウンタを示す図Diagram showing database and counter in DIS スキャンに関するハードウェア制御のブロック図Scanning hardware control block diagram スキャンにおけるソフトウェア制御のブロック図Software control block diagram for scanning スキャンにおけるパラメータテーブルの概略図Schematic diagram of parameter table for scanning プリントに関するブロック図Block diagram for printing プリントイメージデータの転送タイミング図Print image data transfer timing diagram EngineI/Fボード内のプリントパラメータレジスタ表Print parameter register table in the Engine I / F board プリンタとEngineI/Fボードとの通信コマンド表Communication command table between printer and Engine I / F board

符号の説明Explanation of symbols

1001 装置
1002 データベースサーバ
1003 データベースクライアント
1004 電子メールサーバ
1005 電子メールのクライアント
1007 ルータ
1010 ローカルエリアネットワーク(LAN)
1012 インターネット/イントラネット
1030 PSTNまたはISDN
1031 FAX装置
1040 プリンタ
2000 Controller unit
2001 CPU
2002 RAM
2003 ROM
2004 HDD
2006 操作部I/F
2005 Image BusI/F
2007 システムバス
2008 画像バス
2010 Network
2011 LAN
2012 操作部(UI)
2020 デバイスI/F部
2030 画像回転部
2040 像画圧縮部
2050 Modem
2051 公衆回線(WAN)
2060 ラスターイメージプロセッサ(RIP)
2070 Scanner
2080 スキャナ画像処理部
2090 プリンタ画像処理部
2095 Printer
1001 apparatus 1002 database server 1003 database client 1004 e-mail server 1005 e-mail client 1007 router 1010 local area network (LAN)
1012 Internet / Intranet 1030 PSTN or ISDN
1031 FAX machine 1040 Printer 2000 Controller unit
2001 CPU
2002 RAM
2003 ROM
2004 HDD
2006 Operation unit I / F
2005 Image Bus I / F
2007 System bus 2008 Image bus 2010 Network
2011 LAN
2012 Operation unit (UI)
2020 Device I / F unit 2030 Image rotation unit 2040 Image image compression unit 2050 Modem
2051 Public line (WAN)
2060 Raster Image Processor (RIP)
2070 Scanner
2080 Scanner image processing unit 2090 Printer image processing unit 2095 Printer

Claims (4)

高速な画像データ転送バスを制御する制御手段とリアルタイムな画像データの受け渡しを必要とする画像入出力手段を有し、前記画像データ転送バスのバス占有率を算出するバス占有率算出手段とあらかじめバス占有率の閾値を設定する閾値設定手段を有し、前記バス占有率算出手段により算出されたバス占有率と前記閾値設定手段により設定された閾値を比較する比較手段による比較結果に応じて、画像の転送経路を変えることが可能にした画像転送システム。   A bus occupancy rate calculating unit for calculating a bus occupancy rate of the image data transfer bus and a bus in advance, having a control unit for controlling a high-speed image data transfer bus and an image input / output unit requiring real-time image data transfer A threshold setting unit configured to set a threshold of the occupation rate, and an image according to a comparison result by the comparison unit that compares the bus occupation rate calculated by the bus occupation rate calculation unit and the threshold set by the threshold setting unit; Image transfer system that can change the transfer path. 請求項1において画像データ転送バスのバス占有率の算出はユーザが操作部上で何らかのキー操作を行った時からの累積時間で行うことを特徴とした画像転送システム。   2. The image transfer system according to claim 1, wherein the bus occupancy ratio of the image data transfer bus is calculated based on an accumulated time from when the user performs any key operation on the operation unit. 請求項1において画像の転送経路を変えることにより画質の程度が変化することを特徴とした画像転送システム。   2. The image transfer system according to claim 1, wherein the degree of image quality is changed by changing an image transfer path. 請求項3においてユーザが操作部上で画質優先かあるいは転送効率優先か選択をする選択手段を有し、前記選択手段によって選択されたモードに応じて、請求項1記載のバス占有率の閾値を生成することを特徴とした画像転送システム。   4. The bus occupancy threshold according to claim 1, further comprising selection means for allowing the user to select image quality priority or transfer efficiency priority on the operation unit according to the mode selected by the selection means. An image transfer system characterized by generating.
JP2003433725A 2003-12-26 2003-12-26 Image transfer system Withdrawn JP2005192116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003433725A JP2005192116A (en) 2003-12-26 2003-12-26 Image transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003433725A JP2005192116A (en) 2003-12-26 2003-12-26 Image transfer system

Publications (1)

Publication Number Publication Date
JP2005192116A true JP2005192116A (en) 2005-07-14

Family

ID=34791025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003433725A Withdrawn JP2005192116A (en) 2003-12-26 2003-12-26 Image transfer system

Country Status (1)

Country Link
JP (1) JP2005192116A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527530A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Message processing method, device, equipment, storage medium and computer program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527530A (en) * 2020-12-21 2021-03-19 北京百度网讯科技有限公司 Message processing method, device, equipment, storage medium and computer program product
CN112527530B (en) * 2020-12-21 2024-02-23 北京百度网讯科技有限公司 Message processing method, device, apparatus, storage medium and computer program product

Similar Documents

Publication Publication Date Title
US6587735B1 (en) Data processing apparatus and processor selection method
JP3880277B2 (en) Image processing apparatus and control method thereof
JP3581582B2 (en) Encoding / decoding device and image forming system
JP2006344128A (en) Image processing apparatus
JP2000358144A (en) Picture input/output system and its control method
JP2004140420A (en) Multifunction system
JP4077958B2 (en) Data processing apparatus, method, and storage medium storing program
JP4147097B2 (en) Image forming method, image forming system, and image forming apparatus
JP2006171297A (en) Composite image processor
JP2000151873A (en) Information processing system and information processing method
JP3755867B2 (en) Image forming apparatus and recording medium
JP3814452B2 (en) Image input / output device and control method thereof
JP2003167705A (en) Image processing system, information processor, image processor, image output control method, storage medium, and program
JP4027073B2 (en) Image processing system, image processing apparatus, and job management method
JP2005192116A (en) Image transfer system
JP3990887B2 (en) Information processing apparatus, job processing method, and storage medium
JP4109903B2 (en) Printing apparatus and printing method
JP4078041B2 (en) Image input / output device, image input / output method, image input / output system, and storage medium
JP2006236039A (en) Multifunction system
JP2006253989A (en) Image processing apparatus
JP2003289412A (en) Image processor
JP2002160426A (en) Imaging apparatus, imaging system, and imaging method
JP2005348423A (en) Image forming system, image forming device and control method thereof
JP2001313752A (en) Multi-function system and image data transfer method for the system
JPH11328376A (en) Method and device for inputting and outputting information and storage medium

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070306