JP2000115277A - Coding/decoding device and image formation system - Google Patents

Coding/decoding device and image formation system

Info

Publication number
JP2000115277A
JP2000115277A JP28304498A JP28304498A JP2000115277A JP 2000115277 A JP2000115277 A JP 2000115277A JP 28304498 A JP28304498 A JP 28304498A JP 28304498 A JP28304498 A JP 28304498A JP 2000115277 A JP2000115277 A JP 2000115277A
Authority
JP
Japan
Prior art keywords
image
codec
encoding
bus
decoding
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.)
Granted
Application number
JP28304498A
Other languages
Japanese (ja)
Other versions
JP3581582B2 (en
Inventor
Hiroyuki Yaguchi
博之 矢口
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 JP28304498A priority Critical patent/JP3581582B2/en
Publication of JP2000115277A publication Critical patent/JP2000115277A/en
Application granted granted Critical
Publication of JP3581582B2 publication Critical patent/JP3581582B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable a high speed encoding/decoding processing of data to be supplied from the outside by providing a selecting means to select an encoding/ decoding means to be used for an encoding or decoding processing of original data according to a specified condition. SOLUTION: An encoding/decoding device is provided with a first codec consisting of hardware, a second codec to perform encoding/decoding by execution of software as the encoding/decoding means and the selecting means to select the encoding/decoding means. Namely, the software(S/W) codec and the hardware(H/W) codec are selected. In this case, use condition of resources like a scanner, a printer, a LAN, etc., to share a bus 2008 is investigated and when use ratio of the bus is larger than a specified value, the S/W codec is used. Since the S/W codec is realized by executing the software for the encoding/decoding processing which is stored in, for example, a ROM 2003 by a CPU 2001, the processing is enabled by using only a system bus and the image bus 2008 is not affected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像データ等の入力
データに所定の符号化・復号化処理を施して出力する符
号化復号化装置に関し、特に複数の処理を高速に行うこ
との出来る符号化復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding / decoding apparatus for subjecting input data such as image data to predetermined encoding / decoding processing and outputting the encoded data, and more particularly to an encoding / decoding apparatus capable of performing a plurality of processings at high speed. The present invention relates to a decoding device.

【0002】[0002]

【従来の技術】ネットワーク技術の普及に伴い、ネット
ワーク上で画像、音声、プログラム等のデータのやり取
りが頻繁に行われるようになってきた。多くの場合、ネ
ットワーク負荷を減らし、高速にデータ伝送を行うため
データ圧縮(符号化)技術が用いられている。符号化・
復号化は符号化復号化器(コーデック)を用いて行う
が、コーデックは専用LSIなどのハードウェア(ハー
ドウェアコーデック)によっても、汎用プロセッサによ
りソフトウェアを実行すること(ソフトウェアコーデッ
ク)によっても実現できる。一般には高速な圧縮を行う
必要性があればハードウェアコーデック、処理速度がそ
れほど重要でない場合やコストを安価に抑える必要があ
る場合にはソフトウェアコーデックというように、ハー
ドウェアコーデックあるいはソフトウェアコーデックの
どちらか一方を用いている。
2. Description of the Related Art With the spread of network technology, data such as images, sounds, programs and the like have been frequently exchanged on a network. In many cases, data compression (encoding) technology is used to reduce network load and perform high-speed data transmission. Coding·
Decoding is performed using an encoding / decoding device (codec). The codec can be realized by hardware (hardware codec) such as a dedicated LSI or by executing software by a general-purpose processor (software codec). Generally, either a hardware codec or a software codec, such as a hardware codec if high-speed compression is necessary, or a software codec if processing speed is not so important or if it is necessary to keep costs low. One is used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、例えば
スキャナ機能とプリンタ機能を有する複写機(複合機)
においては、各機能を容易にかつ任意に付加、削除また
は増設することができるよう、例えばPCIバスなどの
共通バスに接続するように構成されていることが多い。
すなわち、ネットワークインタフェースやスキャナ、プ
リンタへのインタフェース、コーデックが同一のバスに
接続される構成である。共通バスを使用することで柔軟
な設定が可能な上、コストを抑られる反面、バスの同時
使用者(デバイス)が多いと各機器の性能が十分発揮で
きないという問題がある。例えば、高速な処理を行うた
めにハードウェアコーデックを接続しても、他のデバイ
スの処理によっては、符号化復号化処理に時間がかかる
場合がある。特に前述の構成の場合、スキャナを用いて
読みとった原稿の画像データを符号化してネットワーク
上に接続された他の機器へ出力する処理と、他の機器か
ら受信した画像データを復号化してプリンタ機能を用い
て出力する処理が重複して発生したような場合において
は、バス使用要求が重複し、符号化復号化処理に時間が
かかることになる。
However, for example, a copier (multifunction machine) having a scanner function and a printer function
Are often connected to a common bus such as a PCI bus so that each function can be easily, arbitrarily added, deleted or added.
That is, the network interface, the interface to the scanner and the printer, and the codec are connected to the same bus. The use of the common bus enables flexible setting and reduces costs, but there is a problem that if there are many simultaneous users (devices) of the bus, the performance of each device cannot be sufficiently exhibited. For example, even if a hardware codec is connected to perform high-speed processing, the encoding / decoding processing may take time depending on the processing of another device. In particular, in the case of the above-described configuration, a process of encoding image data of a document read using a scanner and outputting the encoded image data to another device connected to the network, and a process of decoding image data received from the other device to perform a printer function. In the case where the processes for outputting the data by using the command are duplicated, the bus use requests are duplicated, and the encoding / decoding process takes time.

【0004】一方、最近では汎用プロセッサ(CPU)
の性能も向上し、ソフトウェアコーデックでもある程度
高速な処理が実現できるようになってきた。
On the other hand, recently, general-purpose processors (CPU)
Has improved, and software codecs have been able to achieve some high-speed processing.

【0005】[0005]

【課題を解決するための手段】本発明の目的は、外部か
ら供給されるデータを高速に符号化復号化処理すること
のできる符号化復号化装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an encoding / decoding apparatus capable of encoding / decoding data supplied from the outside at a high speed.

【0006】すなわち、本発明の要旨は、外部から供給
される原データに所定の符号化処理又は復号化処理を施
して出力する符号化復号化手段を有する符号化復号化装
置であって、符号化復号化手段として、ハードウェアに
よって構成された第1のコーデックと、ソフトウェアを
実行することによって符号化復号化を行う第2のコーデ
ックと、所定の条件に応じて原データの符号化又は復号
化処理に使用する符号化復号化手段を選択する選択手段
とを有することを特徴とした符号化復号化装置に存す
る。
That is, the gist of the present invention is an encoding / decoding apparatus having an encoding / decoding means for applying predetermined encoding processing or decoding processing to original data supplied from the outside and outputting the result. A first codec configured by hardware, a second codec that performs encoding and decoding by executing software, and encoding or decoding of original data according to predetermined conditions. And a selecting means for selecting an encoding / decoding means to be used for the processing.

【0007】また本発明の別の要旨は、画像データを発
生する手段と、受信した画像データをもとに画像を被記
録材上に形成して出力する画像形成手段とが上述の符号
化復号化装置を介して通信可能に接続された画像形成シ
ステムに存する。
Another aspect of the present invention resides in that the means for generating image data and the image forming means for forming an image on a recording material based on the received image data and outputting the image include the above-described encoding / decoding. In an image forming system communicably connected via an image forming apparatus.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明の好
適な実施例について詳細に説明する。以下の実施例にお
いては、本発明の符号化復号化装置をネットワーク接続
可能な複合機に適用した例を示すが、上述の通り符号化
復号化の対象は画像データに限定されるものではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the drawings. In the following embodiment, an example is shown in which the encoding / decoding device of the present invention is applied to a multifunction peripheral that can be connected to a network. However, as described above, the encoding / decoding target is not limited to image data.

【0009】[ハードウェア]複合機システムの全体構
成を図1に示す。コントローラ2000は画像入力デバ
イスであるスキャナ2070や画像出力デバイスである
プリンタ2095と接続し、一方ではLAN2011や
公衆回線(WAN)2051に接続することで、画像情
報やデバイス情報の入出力を行う為のコントローラであ
る。CPU2001は複合機全体を制御する汎用プロセ
ッサである。RAM2002はCPU2001が動作す
るためのシステムワークメモリであり、画像データを一
時記憶するための画像メモリでもある。ROM2003
はブートROMであり、複合機のブートプログラムが格
納されている。HDD2004はハードディスクドライ
ブで、システムソフトウェア、画像データを格納する。
操作部I/F2006は操作部(UI)2012とのイ
ンターフェース部で、操作部2012に表示する画像デ
ータを操作部2012に対して出力する。また、操作部
2012から本システム使用者が入力した情報を、CP
U2001に伝える役割をする。Modem2050は公衆
回線2051に接続し、情報の入出力を行う。以上のデ
バイスがシステムバス2007上に配置される。
[Hardware] FIG. 1 shows the overall configuration of a multifunction peripheral system. The controller 2000 is connected to a scanner 2070 as an image input device and a printer 2095 as an image output device, and is connected to a LAN 2011 or a public line (WAN) 2051 to input and output image information and device information. It is a controller. A CPU 2001 is a general-purpose processor that controls the entire MFP. 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. ROM2003
A boot ROM stores a boot program of the multifunction peripheral. An HDD 2004 is a hard disk drive that stores system software and image data.
An operation unit I / F 2006 is an interface with an operation unit (UI) 2012 and outputs image data to be displayed on the operation unit 2012 to the operation unit 2012. Further, information input by the user of the system from the operation unit 2012 is
Plays the role of telling U2001. The Modem 2050 is connected to the public line 2051 and inputs and outputs information. The above devices are arranged on the system bus 2007.

【0010】画像バスI/F2005はシステムバス2
007と画像データを高速で転送する画像バス2008
を接続し、データ構造を変換するバスブリッジである。
画像バス2008は、PCIバスまたはIEEE139
4で構成される。画像バス2008上には以下のデバイ
スが配置される。ネットワークI/F2010は画像バ
ス2008をLAN2011に接続し、情報の入出力を
行う。ラスターイメージプロセッサ(RIP)2060
はPDL(ページ記述言語)コードをビットマップイメ
ージに展開する。デバイスI/F部2020は、画像入
出力デバイスであるスキャナ2070やプリンタ209
5とコントローラ2000を接続し、画像データの同期
系/非同期系の変換を行う。スキャナ画像処理部208
0は、入力画像データに対し補正、加工、編集を行う。
プリンタ画像処理部は、プリント出力画像データに対し
て、プリンタの補正、解像度変換等を行う。画像回転部
2030は画像データの回転を行う。コーデック204
0は、多値画像データはJPEG、2値画像画像データ
はJBIG、MMR、MHの圧縮伸張処理を行う。
The image bus I / F 2005 is connected to the system bus 2
007 and an image bus 2008 for transferring image data at high speed
Is a bus bridge for connecting the data structure and converting the data structure.
The image bus 2008 is a PCI bus or IEEE139.
4 The following devices are arranged on the image bus 2008. A network I / F 2010 connects the image bus 2008 to the LAN 2011 and inputs and outputs information. Raster Image Processor (RIP) 2060
Develops a PDL (Page Description Language) code into a bitmap image. A device I / F unit 2020 includes a scanner 2070 and a printer 209 which are image input / output devices.
5 and the controller 2000, and performs synchronous / asynchronous conversion of image data. Scanner image processing unit 208
0 performs correction, processing, and editing on the 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. Codec 204
A value of 0 performs compression / expansion processing of JPEG for multilevel image data and JBIG, MMR, and MH for binary image image data.

【0011】以上説明したような構成は画像処理部分の
拡張性を考慮してシステムバス2007部、及び画像バ
ス2008部が分離されるような構成となっており、一
般的なコンピュータの構成を応用したものである。上記
構成では画像バスI/Fを汎用I/Fにすることで、画
像処理を任意に組み合わせることが可能な自由度、また
将来性を考慮し拡張性をもたせている。特にコーデック
部分は将来様々な規格が提案される可能性もあり、容易
に交換できるよう画像バス側に接続される。
The configuration as described above is configured such that the system bus 2007 and the image bus 2008 are separated in consideration of the expandability of the image processing part, and a general computer configuration is applied. It was done. In the above-described configuration, the image bus I / F is a general-purpose I / F, so that the degree of freedom in which image processing can be arbitrarily combined and the expandability in consideration of the future are provided. In particular, the codec portion is connected to the image bus side so that various standards may be proposed in the future and can be easily replaced.

【0012】複合機システムの正面外観例を図2に示
す。画像入力デバイスであるスキャナ部2070は、原
稿を照明し、CCDラインセンサ(図示せず)を走査す
ることで、ラスターイメージデータとして電気信号に変
換する。原稿は原稿フィーダ2072のトレイ2073
にセットし、装置使用者が操作部2012から読み取り
起動指示することにより、コントローラCPU2001
がスキャナ2070に指示を与え、フィーダ2072は
原稿を1枚ずつフィードし原稿画像の読み取り動作を行
う。
FIG. 2 shows an example of the front appearance of the multifunction peripheral system. A scanner unit 2070 serving as an image input device illuminates a document and scans a CCD line sensor (not shown) to convert the document into an electrical signal as raster image data. Documents are placed on the tray 2073 of the document feeder 2072.
Is set in the controller CPU 2001 by the apparatus user reading and instructing activation from the operation unit 2012.
Gives an instruction to the scanner 2070, and the feeder 2072 feeds the documents one by one and performs a reading operation of the document image.

【0013】画像出力デバイスであるプリンタ部209
5は、ラスターイメージデータ2096を紙などの被記
録材上の画像に変換する部分であり、その方式は感光体
ドラムや感光体ベルトを用いた電子写真方式、微小ノズ
ルアレイからインクを吐出して用紙上に直接画像を形成
するインクジェット方式等があるが、どの方式でも構わ
ない。プリント動作の起動は、コントローラCPU20
01からの指示によって開始する。プリンタ部2095
には、異なる被記録材サイズまたは異なる被記録材の向
きを選択できるように複数の供給段を持ち、それに対応
したカセット2101,2102,2103,2104
がある。また、排出トレイ2111は印字し終った被記
録材を受けるものである。
A printer unit 209 serving as an image output device
Reference numeral 5 denotes a part for converting the raster image data 2096 into an image on a recording material such as paper. The method is an electrophotographic method using a photosensitive drum or a photosensitive belt. There is an ink jet system for forming an image directly on paper, and the like, but any system may be used. The print operation is started by the controller CPU 20.
It starts with an instruction from 01. Printer unit 2095
Has a plurality of supply stages so that different recording material sizes or different recording material directions can be selected, and cassettes 2101, 1022, 2103, and 2104 corresponding thereto.
There is. The discharge tray 2111 receives the recording material on which printing has been completed.

【0014】・操作部 操作部2012の外観例を図3に示す。LCD表示部2
013は、LCD上にタッチパネルシートが貼られてお
り、システムの操作画面を表示するとともに、表示して
あるキーが押されるとその位置情報をコントローラCP
U2001に伝える。スタートキー2014は原稿画像
の読み取り動作を開始する時などに用いる。スタートキ
ー2014中央部には、緑と赤の2色LED2018が
あり、その色によってスタートキー2014が使える状
態にあるかどうかを示す。ストップキー2015は稼働
中の動作を止める働きをする。IDキー2016は、使
用者のユーザーIDを入力する時に用いる。リセットキ
ー2017は操作部からの設定を初期化する時に用い
る。
Operation section FIG. 3 shows an example of the appearance of the operation section 2012. LCD display 2
Reference numeral 013 denotes a touch panel sheet affixed on the LCD to display an operation screen of the system, and when a displayed key is pressed, its position information is transmitted to the controller CP.
Tell U2001. A start key 2014 is used to start a document image reading operation. At the center of the start key 2014, there is a two-color LED 2018 of green and red, which indicates whether the start key 2014 is in a usable state or not. A stop key 2015 functions to stop an operation in operation. An ID key 2016 is used to input a user ID of a user. A reset key 2017 is used to initialize settings from the operation unit.

【0015】・スキャナ画像処理部 スキャナ画像処理部2080の構成を図4に示す。画像
バスI/Fコントローラ2081は、画像バス2008
と接続し、そのバスアクセスシーケンスを制御する働き
と、スキャナ画像処理部2080内の各デバイスの制御
及びタイミングを発生させる。フィルタ処理部2082
は、空間フィルタでコンボリューション演算を行う。編
集部2083は、例えば入力画像データからマーカーペ
ンで囲まれた閉領域を認識して、その閉領域内の画像デ
ータに対して、影つけ、網掛け、ネガボジ反転等の画像
加工処理を行う。変倍処理部2084は、読み取り画像
の解像度を変える場合にラスターイメージの主走査方向
について補間演算を行い拡大、縮小を行う。副走査方向
の変倍については、画像読み取りラインセンサ(図示せ
ず)を走査する速度を変えることで行う。テーブル変換
部2085は、読み取った輝度データである画像データ
を濃度データに変換するのテーブル変換を行う。2値化
処理部2086は、多値のグレースケール画像データ
を、誤差拡散処理やスクリーン処理によって2値化す
る。
Scanner Image Processing Unit FIG. 4 shows the configuration of the scanner image processing unit 2080. The image bus I / F controller 2081 is connected to the image bus 2008
To control the bus access sequence, and control and timing of each device in the scanner image processing unit 2080. Filter processing unit 2082
Performs a convolution operation with a spatial filter. The editing unit 2083 recognizes, for example, a closed area surrounded by the marker pen from the input image data, and performs image processing such as shadowing, shading, and inverting the negative image on the image data in the closed area. When changing the resolution of the read image, the scaling unit 2084 performs interpolation calculation in the main scanning direction of the raster image to perform enlargement and reduction. Zooming in the sub-scanning direction is performed by changing the scanning speed of an image reading line sensor (not shown). The table conversion unit 2085 performs a table conversion for converting image data, which is read luminance data, into density data. The binarization processing unit 2086 binarizes the multi-value grayscale image data by error diffusion processing or screen processing.

【0016】処理が終了した画像データは、再び画像バ
スコントローラ2081を介して、画像バス上に転送さ
れる。
The processed image data is transferred to the image bus via the image bus controller 2081 again.

【0017】・プリンタ画像処理部 プリンタ画像処理部2090の構成を図5に示す。画像
バスI/Fコントローラ2091は、画像バス2008
と接続し、そのバスアクセスシーケンスを制御する働き
と、スキャナ画像処理部2090内の各デバイスの制御
及びタイミングを発生させる。解像度変換部2092
は、LAN2011あるいはWAN2051から受信し
た画像データを、プリンタ2095の解像度に変換する
ための解像度変換を行う。スムージング処理部2093
は、解像度変換後の画像データのジャギー(斜め線等の
白黒境界部に現れる画像のがさつき)を滑らかにする処
理を行う。
Printer Image Processing Unit FIG. 5 shows the configuration of the printer image processing unit 2090. The image bus I / F controller 2091 is connected to the image bus 2008
To control the bus access sequence, and control and timing of each device in the scanner image processing unit 2090. Resolution converter 2092
Performs resolution conversion for converting image data received from the LAN 2011 or the WAN 2051 into the resolution of the printer 2095. Smoothing processing unit 2093
Performs a process of smoothing jaggies (roughness of an image appearing at a black-and-white boundary such as an oblique line) of image data after resolution conversion.

【0018】・コーデック コーデック2040の構成を図6に示す。画像バスI/
Fコントローラ2041は、画像バス2008と接続
し、そのバスアクセスシーケンスを制御する働き、入力
バッファ2042・出力バッファ2045とのデータの
やりとりを行うためのタイミング制御及び、画像圧縮伸
長部2043に対するモード設定などの制御を行う。本
発明においては、データの圧縮を符号化、伸長を復号化
として取り扱う。以下にコーデックの処理手順を示す。
Codec The configuration of the codec 2040 is shown in FIG. Image bus I /
The F controller 2041 is connected to the image bus 2008 to control the bus access sequence, controls the timing for exchanging data with the input buffer 2042 and output buffer 2045, and sets the mode for the image compression / decompression unit 2043. Control. In the present invention, data compression is treated as encoding, and decompression is treated as decoding. The processing procedure of the codec is shown below.

【0019】画像バス2008を介して、CPU200
1から画像バスI/Fコントローラ2041に画像圧縮
制御のための設定を行う。この設定により画像バスI/
Fコントローラ2041は画像圧縮伸長部2043に対
して画像圧縮に必要な設定(たとえばMMR圧縮・JB
IG伸長等の)を行う。必要な設定を行った後に、再度
CPU2001から画像バスI/Fコントローラ204
1に対して画像データ転送の許可を行う。この許可に従
い、画像バスI/Fコントローラ2041はRAM20
02もしくは画像バス2008上の各デバイスから画像
データの転送を開始する。受け取った画像データは入力
バッファ2042に一時格納され、画像圧縮伸長部20
43の画像データ要求に応じて一定のスピードで画像を
転送する。この際、入力バッファは画像バスI/Fコン
トローラ2041と、画像圧縮伸長部2043両者の間
で、画像データを転送できるかどうかを判断し、画像バ
ス2008からの画像データの読み込み及び、画像圧縮
伸長部2043への画像の書き込みが不可能である場合
は、データの転送を行わないような制御を行う(以後こ
のような制御をハンドシェークと呼称する)。
A CPU 200 is connected via an image bus 2008.
1 to the image bus I / F controller 2041 for setting for image compression control. With this setting, the image bus I /
The F controller 2041 sets the image compression / decompression unit 2043 with settings necessary for image compression (for example, MMR compression / JB
IG extension etc.). After the necessary settings have been made, the CPU 2001 sends the image bus I / F controller 204 again.
1 is permitted to transfer image data. In accordance with this permission, the image bus I / F controller 2041
02 or each device on the image bus 2008 starts transferring image data. The received image data is temporarily stored in the input buffer 2042, and
The image is transferred at a constant speed in response to the image data request of 43. At this time, the input buffer determines whether image data can be transferred between the image bus I / F controller 2041 and the image compression / decompression unit 2043, reads image data from the image bus 2008, and performs image compression / decompression. If writing of an image to the unit 2043 is impossible, control is performed so as not to transfer data (hereinafter, such control is referred to as handshake).

【0020】画像圧縮伸長部2043は受け取った画像
データを、一旦RAM2044に格納する。これは画像
圧縮を行う際には行う画像圧縮処理の種類によって、数
ライン分のデータを要するためであり、最初の1ライン
分の圧縮を行うためには数ライン分の画像データを用意
してからでないと画像圧縮が行えないためである。画像
圧縮を施された画像データは直ちに出力バッファ204
5に送られる。出力バッファ2045では、画像バスI
/Fコントローラ2041及び画像圧縮伸長部2043
とのハンドシェークを行い、画像データを画像バスI/
Fコントローラ2041に転送する。画像バスI/Fコ
ントローラ2041では転送された圧縮(もしくは伸
長)された画像データをRAM2002もしくは画像バ
ス2008上の各デバイスにデータを転送する。こうし
た一連の処理は、CPU2001からの処理要求が無く
なるまで(必要なページ数の処理が終わったとき)、も
しくはこの画像圧縮伸長部から停止要求が出るまで(圧
縮及び伸長時のエラー発生時等)繰り返される。
The image compression / decompression 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 performed when performing image compression, and several lines of image data are prepared in order to perform the first one-line compression. This is because image compression cannot be performed unless the image is compressed. The image data subjected to the image compression is immediately output to the output buffer 204.
Sent to 5. In the output buffer 2045, the image bus I
/ F controller 2041 and image compression / decompression unit 2043
Handshake with the image bus I /
Transfer to the F controller 2041. The image bus I / F controller 2041 transfers the transferred compressed (or decompressed) image data to the RAM 2002 or each device on the image bus 2008. Such a series of processing is performed 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 the image compression / expansion unit (when an error occurs during compression and expansion). Repeated.

【0021】・画像回転部 画像回転部2030の構成を図7に示す。画像バスI/
Fコントローラ2031は、画像バス2008と接続
し、そのバスシーケンスを制御する働き、画像回転部2
032にモード等を設定する制御及び、画像回転部20
32に画像データを転送するためのタイミング制御を行
う。以下に画像回転部の処理手順を示す。
Image Rotation Unit FIG. 7 shows the configuration of the image rotation unit 2030. Image bus I /
The F controller 2031 is connected to the image bus 2008 and controls the bus sequence.
032 and control for setting the mode and the like, and the image rotation unit 20
32, a timing control for transferring the image data. The processing procedure of the image rotation unit will be described below.

【0022】画像バス2008を介して、CPU200
1から画像バスI/Fコントローラ2031に画像回転
制御のための設定を行う。この設定により画像バスI/
Fコントローラ2041は画像回転部2032に対して
画像回転に必要な設定(たとえば画像サイズや回転方向
・角度等)を行う。必要な設定を行った後に、再度CP
U2001から画像バスI/Fコントローラ2041に
対して画像データ転送の許可を行う。この許可に従い、
画像バスI/Fコントローラ2031はRAM2002
もしくは画像バス2008上のデバイスから画像データ
の転送を開始する。尚、ここでは画像バス2008の幅
を32bitとし回転を行う画像サイズを32×32
(bit)とし、又、画像バス2008上に画像データ
を転送させる際に32bitを単位とする画像転送を行
うものとする(扱う画像は2値を想定する)。
The CPU 200 via the image bus 2008
1 to the image bus I / F controller 2031 to make settings for image rotation control. With this setting, the image bus I /
The F controller 2041 performs settings necessary for image rotation (for example, image size, rotation direction, angle, and the like) for the image rotation unit 2032. After making the necessary settings,
U2001 permits the image bus I / F controller 2041 to transfer image data. Subject to this permission,
The image bus I / F controller 2031 is a RAM 2002
Alternatively, transfer of image data from a device on the image bus 2008 is started. Here, the width of the image bus 2008 is set to 32 bits, and the image size to be rotated is set to 32 × 32.
(Bit), and when transferring image data to the image bus 2008, image transfer is performed in units of 32 bits (the image to be handled is assumed to be binary).

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

【0024】32×32(bit)の画像回転(RAM
2033への書き込み)が完了した後、画像回転部20
32はRAM2033から上述した読み出し方法で画像
データを読み出し、画像バスI/Fコントローラ203
1に画像を転送する。
32 × 32 (bit) image rotation (RAM
After the completion of the writing to the image rotation unit 2033, the image rotation unit 20
The image bus I / F controller 203 reads out image data from the RAM 2033 by the above-described readout method.
1 to transfer the image.

【0025】回転処理された画像データを受け取った画
像バスI/Fコントローラ2031は、連続アドレッシ
ングを以て、RAM2002もしくは画像バス2008
上の各デバイスにデータを転送する。こうした一連の処
理は、CPU2001からの処理要求が無くなるまで
(必要なページ数の処理が終わったとき)繰り返され
る。
The image bus I / F controller 2031 that has received the rotated image data performs RAMA or image bus 2008 by continuous addressing.
Transfer data to each device above. 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).

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

【0027】画像スキャン時の処理手順を以下に示す。
スキャナ2070から送られてくる画像データをスキャ
ナ2070から送られてくるタイミング信号に同期させ
て、スキャンバッファ2022に保存する。そして、画
像バス2008がPCIバスの場合には、バッファ内に
画像データが32ビット以上入ったときに、画像データ
を先入れ先出しで32ビット分、バッファからシリアル
パラレル・パラレルシリアル変換2023に送り、32
ビットの画像データに変換し、画像バスI/Fコントロ
ーラ2021を通して画像バス2008上に転送する。
また、画像バス2008がIEEE1394の場合に
は、バッファ内の画像データを先入れ先出しで、バッフ
ァからシリアルパラレル・パラレルシリアル変換部20
23に送り、シリアル画像データに変換し、画像バスI
/Fコントローラ2021を通して画像バス2008上
に転送する。
The processing procedure at the time of image scanning is described below.
The image data sent from the scanner 2070 is stored in the scan buffer 2022 in synchronization with the timing signal sent from the scanner 2070. When the image bus 2008 is a PCI bus, when the buffer contains 32 bits or more of image data, the image data is sent from the buffer to the serial / parallel / serial / serial converter 2023 for 32 bits on a first-in first-out basis.
The image data is converted into bit image data and transferred to the image bus 2008 via 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, and the serial-parallel / parallel-serial
23, and converts the serial image data into serial image data.
The image data is transferred to the image bus 2008 via the / F controller 2021.

【0028】画像プリント時の処理手順を以下に示す。
画像バス2008がPCIバスの場合には、画像バスか
ら送られてくる32ビットの画像データを画像バスI/
Fコントローラで受け取り、パラレルシリアル・シリア
ルパラレル変換部2024に送り、プリンタ2095の
入力データビット数の画像データに分解し、プリントバ
ッファ2025に保存する。また、画像バス2008が
IEEE1394の場合には、画像バスからおくられて
くるシリアル画像データを画像バスI/Fコントローラ
で受け取り、パラレルシリアル・シリアルパラレル変換
2024に送り、プリンタ2095の入力データビット
数の画像データに変換し、プリントバッファ2025に
保存する。そして、プリンタ2095から送られてくる
タイミング信号に同期させて、バッファ内の画像データ
を先入れ先出しで、プリンタ2095に送る。
The processing procedure for printing an image is described below.
When the image bus 2008 is a PCI bus, the 32-bit image data sent from the image bus is transferred to the image bus I / O.
The data is received by the F controller, sent to the parallel / serial / serial / parallel conversion unit 2024, decomposed into image data of the number of input data bits of the printer 2095, and stored in the print buffer 2025. When the image bus 2008 is IEEE1394, the serial image data sent from the image bus is received by the image bus I / F controller, sent to the parallel / serial / serial / parallel converter 2024, and the number of input data bits of the printer 2095 is calculated. The data is converted into image data and stored in the print buffer 2025. Then, in synchronization with a timing signal sent from the printer 2095, the image data in the buffer is sent to the printer 2095 on a first-in first-out basis.

【0029】・ネットワークシステム 本発明のコーデックを適用した複合機をネットワークに
接続した場合のシステム構成例を図11に示す。100
1は本発明のコーデックを適用した複合機で、後述する
スキャナとプリンタから構成され、スキャナから読み込
んだ画像をローカルエリアネットワーク1010(以下
LAN)に流したり、LANから受信した画像をプリン
タによりプリントアウトできる。また、スキャナから読
んだ画像を図示しないFAX送信手段により、PSTN
またはISDN(1030)に送信したり、PSTNま
たはISDNから受信した画像をプリンタによりプリン
トアウトできる。1002は、データベースサーバで、
複合機1001により読み込んだ2値画像及び多値画像
をデータベースとして管理する。1003は、データベ
ースサーバ1002のデータベースクライアントで、デ
ータベース1002に保存されている画像データを閲覧
/検索等できる。
Network System FIG. 11 shows an example of a system configuration in which a multifunction peripheral to which the codec of the present invention is applied is connected to a network. 100
Reference numeral 1 denotes a multifunction peripheral to which the codec of the present invention is applied. The multifunction peripheral includes a scanner and a printer, which will be described later. it can. Further, the image read from the scanner is transmitted to the PSTN by a facsimile transmission unit (not shown).
Alternatively, an image transmitted to the ISDN (1030) or received from the PSTN or ISDN can be printed out by a printer. 1002 is a database server,
The binary image and the multivalued image read by the multifunction peripheral 1001 are managed as a database. Reference numeral 1003 denotes a database client of the database server 1002, which can browse / search image data stored in the database 1002.

【0030】1004は、電子メールサーバで、複合機
1001により読み取った画像を電子メールの添付とし
て受け取ることができる。1005は、電子メールのク
ライアントで、電子メールサーバ1004の受け取った
メールを受信し閲覧したり、電子メールを送信したり、
可能である。1006がHTML文書をLANに提供す
るWWWサーバで、複合機1001によりWWWサーバ
で提供されるHTML文書をプリントアウトできる。1
011は、ルータでLAN1010をインターネット/
イントラネット1012と連結する。インターネット/
イントラネットに、前述したデータベースサーバ(10
02)、WWWサーバ(1006)、電子メールサーバ
(1004)、複合機(1001)と同様の装置が、そ
れぞれ1020,1021,1022,1023として
連結している。一方、複合機1001は、PSTNまた
はISDN(1030)を介して、FAX装置1031
と送受信可能になっている。また、LAN上にプリンタ
1040も連結されており、複合機1001により読み
取った画像をプリントアウト可能なように構成されてい
る。
An electronic mail server 1004 can receive an image read by the multifunction peripheral 1001 as an electronic mail attachment. Reference numeral 1005 denotes an e-mail client which receives and browses e-mail received by the e-mail server 1004, transmits e-mail,
It is possible. Reference numeral 1006 denotes a WWW server that provides an HTML document to the LAN, and the MFP 1001 can print out an HTML document provided by the WWW server. 1
011 is a router that connects the LAN 1010 to the Internet /
Connect to intranet 1012. the Internet/
The database server (10
02), a WWW server (1006), an electronic mail server (1004), and devices similar to the multifunction peripheral (1001) are connected as 1020, 1021, 1022, and 1023, respectively. On the other hand, the multifunction peripheral 1001 transmits the fax device 1031 via the PSTN or ISDN (1030).
Can be sent and received. A printer 1040 is also connected on the LAN, and is configured so that an image read by the multifunction peripheral 1001 can be printed out.

【0031】[ソフトウェア]図12は、図1に示した
複合機のソフトウェアのモジュール構成を示すブロック
図である。1501はUI即ちユーザインターフェイス
を司るものであり、オペレータが本複合機の各種操作・
設定を行う際、機器との仲介を行うモジュールである。
本モジュールは、オペレータの操作に従い、後述の各種
モジュールに入力情報を転送し処理の依頼、或いはデー
タの設定等を行う。
[Software] FIG. 12 is a block diagram showing a module configuration of software of the multifunction peripheral shown in FIG. Reference numeral 1501 denotes a UI, that is, a user interface.
A module that mediates with devices when making settings.
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.

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

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

【0034】1504はUniversal-Send即ち、データの
配信を司るモジュールであり、UI1501によりオペ
レータに指示されたデータを、同様に指示された通信
(出力)先に配布するものである。また、オペレータに
より、本機器のスキャナ機能を使用し配布データの生成
が指示された場合は、後述のControl-API1518を介
して機器を動作させ、データの生成を行う。
Reference numeral 1504 denotes a Universal-Send, that is, a module that manages data distribution, and distributes data specified by the operator via the UI 1501 to the communication (output) destination similarly specified. When the operator instructs to generate distribution data using the scanner function of the device, the device is operated via a Control-API 1518 to be described later to generate data.

【0035】1505はUniversla-Send1504内で出
力先にプリンタが指定された際に実行されるモジュール
である。1506はUniversla-Send1504内で通信先
にE−mailアドレスが指定された際に実行されるモ
ジュールである。1507はUniversla-Send1504内
で出力先にデータベースが指定された際に実行されるモ
ジュールである。1508はUniversla-Send1504内
で出力先に本機器と同様の複合機が指定された際に実行
されるモジュールである。
Reference numeral 1505 denotes a module that is executed when a printer is specified as an output destination in the Universal Send 1504. Reference numeral 1506 denotes a module that is executed when an E-mail address is specified as a communication destination in the Universal Send 1504. Reference numeral 1507 denotes a module that is executed when a database is designated as an output destination in the Universal Send 1504. Reference numeral 1508 denotes a module that is executed when a multifunction peripheral similar to the present apparatus is designated as an output destination in the Universal Send 1504.

【0036】1509はRemote-Copy-Scanモジュール
であり、本複合機のスキャナ機能を使用し、ネットワー
ク等で接続された他の複合機を出力先とし、本複合機単
体で実現しているCopy機能と同等の処理を行うモジ
ュールである。1510はRemote-Copy-Printモジュー
ルであり、本複合機のプリンタ機能を使用し、ネットワ
ーク等で接続された他の複合機を入力先とし、本複合機
単体で実現しているCopy機能と同等の処理を行うモ
ジュールである。
Reference numeral 1509 denotes a Remote-Copy-Scan module, which uses the scanner function of the multifunction peripheral, sets another multifunction peripheral connected via a network or the like as an output destination, and implements a copy function realized by the multifunction peripheral alone. This module performs the same processing as. Reference numeral 1510 denotes a Remote-Copy-Print module, which uses the printer function of the multifunction peripheral, receives another multifunction peripheral connected via a network or the like as an input destination, and has the same copy function as that realized by the multifunction peripheral alone. This is a module that performs processing.

【0037】1511はWeb-Pull-Print即ちインターネ
ットまたはイントラネット上の各種ホームページの情報
を読み出し、印刷するモジュールである。1512は本
複合機がHTTPにより通信する際に使用されるモジュ
ールであり、後述のTCP/IP1516モジュールに
より前述のWeb-Server1503、Web-Pull-Print151
1モジュールに通信を提供するものである。1513は
lprモジュールであり、後述のTCP/IP1516
モジュールにより前述のUniversal-Send1504内のプ
リンタモジュール1505に通信を提供するものであ
る。
Reference numeral 1511 denotes a Web-Pull-Print module for reading and printing information of various homepages on the Internet or an intranet. Reference numeral 1512 denotes a module used when the multifunction peripheral communicates by HTTP. The above-described Web-Server 1503 and Web-Pull-Print 151 are used by a TCP / IP 1516 module described later.
This is to provide communication to one module. Reference numeral 1513 denotes an lpr module, which is a TCP / IP 1516 described later.
The module provides communication to the printer module 1505 in the above-described Universal-Send 1504.

【0038】1514はSMTPモジュールであり、後
述のTCP/IP1516モジュールにより前述のUniv
ersal-Send1504内のE−mailモジュール150
6に通信を提供するものである。
Reference numeral 1514 denotes an SMTP module.
E-mail module 150 in ersal-Send 1504
6 provides communication.

【0039】1515はSLM即ちSalutation-Manager
モジュールであり、後述のTCP/IP1516モジュ
ールにより前述のUniversal-Send1504内のデータベ
ースモジュール1517、DPモジュール1518、及
びRemote-Copy-Scan1509モジュール、Remote-Copy-
Print1510モジュールに通信を提供するものであ
る。1516はTCP/IP通信モジュールであり、前
述の各種モジュールに後述のNetwork-Driverによりネッ
トワーク通信を提供するものである。1517はネット
ワークドライバであり、ネットワークに物理的に接続さ
れる部分を制御するものである。
Reference numeral 1515 denotes an SLM, that is, Salutation-Manager.
The module is a database module 1517, a DP module 1518, a Remote-Copy-Scan 1509 module, and a Remote-Copy-Scan module in the above-mentioned Universal-Send 1504 by a TCP / IP 1516 module described later.
It provides communication to the Print1510 module. Reference numeral 1516 denotes a TCP / IP communication module which provides network communication to the above-described various modules by using a Network-Driver described later. Reference numeral 1517 denotes a network driver which controls a portion physically connected to the network.

【0040】1518はControl-APIであり、Universal
-Send1504等の上流モジュールに対し、後述のJob-M
anager1519等の下流モジュールとのインターフェイ
スを提供するものであり、上流、及び下流のモジュール
間の依存関係を軽減しそれぞれの流用性を高めるもので
ある。1519はJob-Managerであり、前述の各種モジ
ュールよりControl-API1518を介して指示される処
理を解釈し、後述の各モジュールに指示を与えるもので
ある。また、本モジュールは、本複合機内で実行される
ハード的な処理を一元管理するものである。
Reference numeral 1518 denotes a Control-API, which is a Universal
-For the upstream module such as Send 1504, Job-M described later
It provides an interface with downstream modules such as the anager 1519, and reduces the dependency between the upstream and downstream modules and enhances their applicability. Reference numeral 1519 denotes a Job-Manager, which interprets a process instructed from the various modules via the Control-API 1518 and gives an instruction to each module described later. Further, this module centrally manages hardware processing executed in the MFP.

【0041】1520はCODEC-Managerであり、Job-Man
ager1519が指示する処理の中でデータの各種圧縮・
伸長を管理・制御するものである。1521はFBE-En C
oderであり、Job-Manager1519、Scan-Manager15
24により実行されるスキャン処理により読み込まれた
データをFBEフォーマットにより圧縮するものであ
る。
Reference numeral 1520 denotes a CODEC-Manager, which is a Job-Man
Various types of data compression /
It manages and controls elongation. 1521 is FBE-En C
oder, Job-Manager1519, Scan-Manager15
The data read by the scan processing executed by the H.24 is compressed in the FBE format.

【0042】1522はJPEG-CODECであり、Job-Manage
r1519、Scan-Manager1524により実行されるス
キャン処理、及びPrint-Manager1526により実行さ
れる印刷処理において、読み込まれたデータのJPEG
圧縮及び印刷データのJPEG展開処理を行うものであ
る。
Reference numeral 1522 denotes a JPEG-CODEC, and Job-Manage
r1519, the scan processing executed by the Scan-Manager 1524 and the print processing executed by the Print-Manager 1526
It performs JPEG expansion processing of compression and print data.

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

【0044】1524はScan-Managerであり、Job-Mana
ger1519が指示するスキャン処理を管理・制御する
ものである。1525はスキャナドライバであり、Scan
-Manager1524と本複合機が内部的に接続しているス
キャナ部との通信を行うものである。1526はPrint-
Managerであり、Job-Manager1519が指示する印刷処
理を管理・制御するものである。
Reference numeral 1524 denotes a Scan-Manager, which is a Job-Mana
The ger 1519 manages and controls the scanning process specified by the ger 1519. Reference numeral 1525 denotes a scanner driver.
-Communication between the Manager 1524 and the scanner unit internally connected to the MFP. 1526 is Print-
A Manager that manages and controls the print processing instructed by the Job-Manager 1519.

【0045】1527はプリンタドライバであり、Prin
t-Manager1526と印刷部とのI/Fを提供するもの
である。1528はパラレルポートドライバであり、We
b-Pull-Print1511がパラレルポートを介して図外の
出力機器にデータを出力する際のI/Fを提供するもの
である。
Reference numeral 1527 denotes a printer driver.
An interface between the t-Manager 1526 and the printing unit is provided. 1528 is a parallel port driver.
The b-Pull-Print 1511 provides an I / F for outputting data to an output device (not shown) via a parallel port.

【0046】・アプリケーション 以下、本発明の組み込みアプリケーションの実施の形態
について図面を用いて説明する。図13は、図1に示す
複合機における、画像データ配信に関する組み込みアプ
リケーションブロックを表す図である。
Application An embodiment of the embedded application according to the present invention will be described below with reference to the drawings. FIG. 13 is a diagram illustrating embedded application blocks related to image data distribution in the multifunction peripheral illustrated in FIG. 1.

【0047】4050は、前記3000で説明した本発
明の操作部アプリケーションを示すブロックである。4
100は、リモートコピーアプリケーションの送信側を
示すブロックである。4150は、同報配信の送信側を
示すブロックである。4200は、Web Pull Printモジ
ュールを示すブロックである。
Reference numeral 4050 denotes a block indicating the operation unit application of the present invention described in the above 3000. 4
Reference numeral 100 denotes a block indicating the transmitting side of the remote copy application. Reference numeral 4150 denotes a block indicating the transmitting side of the broadcast distribution. Reference numeral 4200 denotes a block indicating a Web Pull Print module.

【0048】4250は、Web Serverモジュールを示す
ブロックである。4300は、リモートコピーの受信側
(プリント側)を示すブロックである。4350は、同
報配信で送信されてきたイメージを汎用のプリンタで受
信・プリントするブロックである。4400は、リモー
トプリントの受信側(プリント側)を示すブロックであ
る。
Reference numeral 4250 denotes a block indicating a Web Server module. Reference numeral 4300 denotes a block indicating a remote copy receiving side (printing side). Reference numeral 4350 denotes a block for receiving and printing the image transmitted by the broadcast distribution using a general-purpose printer. Reference numeral 4400 denotes a block indicating a remote print receiving side (print side).

【0049】4450は、同報配信で送信されてきたイ
メージを公知のNotes(商標) Serverで受信・格納する
ブロックである。4500は、同報配信で送信されてき
たイメージを2値のイメージを受信・格納するブロック
である。4550は、同報配信で送信されてきたイメー
ジを公知のMail Serverで受信・格納するブロックであ
る。
Reference numeral 4450 denotes a block for receiving and storing the image transmitted by the broadcast distribution in a publicly known Notes (trademark) Server. Reference numeral 4500 denotes a block for receiving and storing a binary image of the image transmitted by the broadcast distribution. Reference numeral 4550 denotes a block for receiving and storing the image transmitted by the broadcast distribution in a known Mail Server.

【0050】4600は、同報配信で送信されてきたイ
メージを多値のイメージを受信・格納するブロックであ
る。4650は、情報コンテンツを含んだ、公知のWeb
Serverである。4700は、本発明のWeb Serverなどに
アクセスする公知のWeb Browserである。
Reference numeral 4600 denotes a block for receiving and storing a multi-valued image transmitted from the broadcast. 4650 is a well-known Web containing information contents.
Server. Reference numeral 4700 denotes a known Web Browser for accessing the Web Server of the present invention.

【0051】以下、それぞれのブロックに照らし合わせ
ながら、アプリケーション群の説明を詳細に行う。 ・User Interfaceアプリケーション ブロック4050に示したUser Interface(以下、U
I)の詳細は、前記したとおりであるが、ここでは、4
051のAddress Bookについて説明する。このAddress
Bookは、本発明の機器内の不揮発性の記憶装置(不揮発
性メモリやハードディスクなど)に保存されており、こ
の中には、ネットワークに接続された機器の特徴が記載
されている。例えば、以下に列挙するようなものが含ま
れている。 機器の正式名やエイリアス名 機器のネットワークアドレス 機器の処理可能なネットワークプロトコル 機器の処理可能なドキュメントフォーマット 機器の処理可能な圧縮タイプ 機器の処理可能なイメージ解像度 プリンター機器の場合の給紙可能な紙サイズ、給紙段情
報 サーバー(コンピューター)機器の場合のドキュメント
を格納可能なフォルダ名
Hereinafter, the application group will be described in detail with reference to each block. -User Interface Application User Interface (hereinafter referred to as U
The details of I) are as described above, but here, 4
The Address Book 051 will be described. This Address
The Book is stored in a nonvolatile storage device (such as a nonvolatile memory or a hard disk) in the device of the present invention, and describes the characteristics of the device connected to the network. For example, those listed below are included. The official name or alias name of the device The network address of the device The network protocol that the device can process The document format that the device can process The compression type that the device can process The image resolution that the device can process The paper size that the printer device can feed , Paper source information Folder name that can store documents for server (computer) devices

【0052】以下に説明する各アプリケーションは、上
記Adderss Book4051に記載された情報により配信先
の特徴を判別することが可能となる。また、このAdders
s Bookは、編集可能であると共に、ネットワーク内のサ
ーバーコンピュータなどに保存されているものをダウン
ロードして使用する、または、直接参照することも可能
である。
Each application described below can determine the characteristics of the distribution destination based on the information described in the Adders Book 4051. Also this Adders
The s Book is editable, and can be downloaded from a server computer or the like in a network and used, or can be directly referred to.

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

【0054】・同報配信アプリケーション 同報配信アプリケーション4150は、前記リモートコ
ピーアプリケーションと違い、一度の画像走査で複数の
配信宛先に画像を送信する事が可能である。また、配信
先もプリンターのような画像出力機器にとどまらず、い
わゆるサーバーコンピューターにも直接配信可能であ
る。
Broadcast Distribution Application Unlike the remote copy application, the broadcast distribution application 4150 is capable of transmitting images to a plurality of distribution destinations by one image scan. The distribution destination is not limited to an image output device such as a printer, and can be directly distributed to a so-called server computer.

【0055】以下、配信先に従って順に説明する。配信
先の機器が公知のネットワークプリンタプロトコルであ
るLPD(Line プリンタ Daemon)、プリンタ制御コマン
ドとして公知のLIPSを処理可能だとAdderss Book4
051より判別した場合、同様にAdderss Book4051
より判別した画像解像度に従って画像読み取りを行い、
画像自体は、本実施例では、公知のFBE(First Binar
i Encoding)を用いて圧縮し、さらにLIPSコード化
して、公知のネットワークプリンタプロトコルであるL
PRで相手機器に送信する。
Hereinafter, description will be made in order according to the distribution destination. Adders Book 4 states that the destination device can process the known network printer protocol, LPD (Line Printer Daemon), and the known LIPS as printer control commands.
051, the Adderss Book 4051
The image is read according to the determined image resolution,
In this embodiment, the image itself is a known FBE (First Binar
i Encoding), and further LIPS-coded to obtain a known network printer protocol, L
Send to the partner device by PR.

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

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

【0058】配信先の機器が公知のE−Mailサーバ
ーである場合、Adderss Book4051に記載されたメー
ルアドレスを判別し、スキャナにより読みとった画像2
値画像を公知のMMR圧縮を用いて圧縮し、それを公知
のTIFF(Tagged Image File Format)し、公知のSM
TP(Simple Mail Transfer Protcol)4153を使用し
て、E−Mailサーバーに送信する。その後の配信
は、Mail Server4550に従って実行される。
If the destination device is a known E-Mail server, the mail address described in the Adders Book 4051 is determined, and the image 2 read by the scanner is used.
The value image is compressed using a known MMR compression, which is then subjected to a known TIFF (Tagged Image File Format),
Using TP (Simple Mail Transfer Protocol) 4153, it transmits to an E-Mail server. Subsequent distribution is performed according to Mail Server 4550.

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

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

【0061】以下、操作部の画面について簡単に説明す
る。 ・操作画面 図3に示した操作部2012のLCD表示部2013の
表示例を図14に示す。図は、コピー機能の表示例を示
している。
Hereinafter, the screen of the operation unit will be briefly described. Operation screen FIG. 14 shows a display example of the LCD display unit 2013 of the operation unit 2012 shown in FIG. The figure shows a display example of the copy function.

【0062】本発明の装置が提供する機能は、Copy/Sen
d/Retrieve/Tasks/Management/Configurationの6つの
大きなカテゴリーに分かれており、これらは操作画面
(3010)上の上部に表示される6つのメインタブ(C
OPY/SEND/RETREIVE/TASKS/MGMT/CONFIG)(3011〜3
016)に対応している。これらのメインタブを押すこ
とにより、各カテゴリーの画面への切り替えが行われ
る。他カテゴリーへの切り換えが許可されない場合は、
メインタブの表示色が変わり、メインタブを押しても反
応しない。
The function provided by the apparatus of the present invention is Copy / Sen
d / Retrieve / Tasks / Management / Configuration are divided into six major categories, and these are the six main tabs (C
OPY / SEND / RETREIVE / TASKS / MGMT / CONFIG)
016). By pressing these main tabs, switching to a screen of each category is performed. If switching to another category is not allowed,
The display color of the main tab changes, and there is no response when the main tab is pressed.

【0063】Copyは自機が有するスキャナとプリンタを
使用して通常のドキュメント複写を行う機能と、自機が
有するスキャナとネットワークで接続されたプリンタを
使用してドキュメントの複写を行う機能(リモートコピ
ー)を含む。Sendは自機が有するスキャナに置かれたド
キュメントを、電子メール、リモートプリンタ、ファッ
クス、ファイル転送(FTP)およびデータベースに転
送する機能であり、宛先を複数指定することが可能であ
る。Retrieveは外部にあるドキュメントを取得し、自機
が有するプリンタで印刷する機能である。ドキュメント
の取得手段としてWWW、電子メール、ファイル転送お
よびファックスの使用が可能である。Tasksはファック
スやインターネットプリントなどの外部から送られるド
キュメントを自動処理し、定期的にRetrieveを行うため
のタスクの生成、管理を行う。Managementはジョブ・ア
ドレス帳・ブックマーク・ドキュメント・アカウント情
報などの管理を行う。Configurationでは自機に関して
の設定(ネットワーク、時計など)を行う。
Copy has a function of copying a normal document using its own scanner and printer, and a function of copying a document using a printer connected to its scanner and a network (remote copy). )including. Send is a function for transferring a document placed in a scanner of the own device to an e-mail, a remote printer, a facsimile, a file transfer (FTP), and a database, and it is possible to specify a plurality of destinations. Retrieve is a function for acquiring an external document and printing the document on its own printer. WWW, e-mail, file transfer, and fax can be used as document acquisition means. Tasks automatically processes documents sent from outside such as faxes and Internet prints, and creates and manages tasks for periodic Retrieve. Management manages jobs, address books, bookmarks, documents, account information, and the like. In Configuration, you can make settings for your device (network, clock, etc.).

【0064】 ・Device Information Service(DIS) コントローラ内でジョブに対する設定値、デバイス(ス
キャナ、プリンタなど)の機能、ステータス、課金情報
等をControl APIに準拠したデータ形態で保持するデー
タベースと、そのデータベースとのI/FをDevice Inf
ormation Service(以下、DISと呼称する)として定
義している。図15にDIS7102とJob Manager1
519、及びScan、Printの各Manager1524,152
6との関係を示す。
Device Information Service (DIS) A database that holds setting values for jobs, functions of devices (scanners, printers, etc.), status, billing information, and the like in a controller in a data format compliant with the Control API. I / F of Device Inf
Ormation Service (hereinafter referred to as DIS). FIG. 15 shows DIS7102 and Job Manager1.
519 and Scan and Print Managers 1524 and 152
6 is shown.

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

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

【0067】Job ManagerからDISのデータベースに
データの設定、取得を行う場合には、Job ManagerとD
ISの間でデータの変換は生じない。
When setting and acquiring data from the Job Manager to the DIS database, the Job Manager and the D
No conversion of data occurs between ISs.

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

【0069】図16にDIS内部に保持される各種デー
タベース(以下、DBと呼称する)を示し、それぞれの
DBについて説明する。
FIG. 16 shows various databases (hereinafter, referred to as DBs) held in the DIS, and each DB will be described.

【0070】7201はSupervisor DBであり、機器全
体についてのステータスやユーザ情報を保持しているD
Bであり、ユーザIDやパスワード等、バックアップが
必要な情報はHD装置、あるいはバックアップメモリな
どの不揮発性の記憶装置に保持される。
Reference numeral 7201 denotes a supervisor DB, which holds status and user information of the entire device.
B, information that requires backup, such as a user ID and a password, is stored in a non-volatile storage device such as an HD device or a backup memory.

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

【0072】7204はScan Job Service DB、720
5はPrint Job Service DBであり、これらのJob Servic
e DBもComponent DB同様、初期化時にそれぞれ対応する
Managerが機器で使用できる機能や、それらのサポート
状況を設定する。
Reference numeral 7204 denotes a Scan Job Service DB, 720
5 is a Print Job Service DB, and these Job Servic
e DB also supports each at the time of initialization like Component DB
Manager sets the functions that can be used on the device and their support status.

【0073】次にJob DB、Document DBについて説明す
る。7206はScan Job DB、7207はPrint Job DB
の各Job DB、7208はScan Document DB、7209は
PrintDocument DBである。
Next, the Job DB and Document DB will be described. 7206 is the Scan Job DB, 7207 is the Print Job DB
Each of the Job DB, 7208 is Scan Document DB, 7209 is
PrintDocument DB.

【0074】Job DB、Document DBはJobとそれに付
随するDocumentが生成される度にJobManagerにより動的
に確保、初期化が行われ、必要な項目の設定が行われ
る。各ManagerはJobの処理開始前にJob DB、およびD
ocument DBから処理に必要な項目を読み出し、Jobを
開始する。その後、Jobが終了するとこれらのJo
b、及びそれに付随していたDocumentのDBは解放され
る。Jobは1つ以上のDocumentを持つので、あるJo
bに対して複数のDocument DBが確保される場合があ
る。
The Job DB and Document DB are dynamically secured and initialized by the JobManager every time a Job and a Document attached thereto are generated, and necessary items are set. Each Manager starts the Job DB and D before starting Job processing.
Read the items required for processing from the ocument DB and start Job. Then, when Job ends, these Jobs
b and the DB of the Document attached thereto are released. Since Job has one or more Documents, a certain Job
In some cases, a plurality of Document DBs may be secured for b.

【0075】7211は各Managerから通知されるイベ
ント情報を保持するデータベース、7210は装置のSc
an回数、Print回数を記録するためのカウンタテーブル
である。
Reference numeral 7211 denotes a database holding event information notified from each Manager, and reference numeral 7210 denotes an Sc of the apparatus.
9 is a counter table for recording an number of times and a number of times of printing.

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

【0077】Managerからイベントが発行された場合、
DISはイベントデータベース7211に発行されたイ
ベントIDと必要ならイベントに付随する詳細データを
登録する。また、Managerからイベントの解除が通知さ
れた場合、解除指定されたイベントデータをイベントデ
ータベース7211から削除する。
When an event is issued from the Manager,
The DIS registers the issued event ID in the event database 7211 and, if necessary, detailed data accompanying the event. When the event release is notified from the manager, the event data designated to be released is deleted from the event database 7211.

【0078】Job Managerよりイベントのポーリングが
行われた場合、DISはイベントデータベース7211
を参照し、現在発生しているイベントIDと必要ならイ
ベントに付随する詳細データをJob Managerへ返信し、
現在イベントが発生していなければその旨を返信する。
When an event is polled by the Job Manager, DIS is stored in the event database 7211.
And return the current event ID and, if necessary, detailed data attached to the event to Job Manager,
If no event has occurred, a response to that effect is returned.

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

【0080】・スキャン動作 図17はスキャン動作に関するソフトウェア構造を示し
たものである。Job Manager1519はアプリケーショ
ンレベルの要求を分類、保存する機能を持つ。DIS7
102はアプリケーションレベルからのスキャン動作に
必要なパラメータを保存する。アプリケーションからの
要求はRAM2002に保存される。スキャン動作管理
部8203はJob Manager1519とDIS7102か
らスキャンを行うのに必要な情報を取得する。スキャン
動作管理部8203はJob Manager1519から図18
に示すジョブ番号、ドキュメント番号のテーブルデータ
8301を受け取り、ジョブ番号、ドキュメント番号の
テーブルデータ8301を元に、DIS7102より図
19に示すスキャンパラメータ8302を受け取る。こ
れによりアプリケーションから要求されているスキャン
条件を元にスキャンを行う。
Scan Operation FIG. 17 shows a software structure related to the scan operation. The Job Manager 1519 has a function of classifying and storing application-level requests. DIS7
Reference numeral 102 stores parameters required for a scan operation from the application level. The request from the application is stored in the RAM 2002. The scan operation management unit 8203 acquires information necessary for performing a scan from the Job Manager 1519 and the DIS 7102. The scan operation management unit 8203 uses the Job Manager 1519 from FIG.
19, and scan parameters 8302 shown in FIG. 19 from the DIS 7102 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.

【0081】スキャン動作管理部8203はDIS71
02から取得したスキャンパラメータ8302をドキュ
メント番号順にスキャンシーケンス制御部8204に渡
す。スキャンパラメータ8302を受け取ったスキャン
シーケンス制御部8204はスキャン画像属性8308
の内容に従ってデバイスI/F制御部8207をコント
ロールする。これにより図1の画像バス2008に接続
されたデバイスI/F2020を動作させることによ
り、ケーブル2071を介してスキャナ2070に制御
コマンドを送ることによりスキャンが実行される。スキ
ャンした画像はケーブル2071を介してデバイスI/
F2020に渡り、さらにバス2008を介してRAM
2002に格納される。
The scan operation management unit 8203 stores the DIS 71
The scan parameters 8302 obtained from “02” are transferred to the scan sequence control unit 8204 in document number order. Upon receiving the scan parameter 8302, the scan sequence control unit 8204 sets the scan image attribute 8308
The device I / F control unit 8207 is controlled in accordance with the contents of (1). By operating the device I / F 2020 connected to the image bus 2008 in FIG. 1, a scan is executed by sending a control command to the scanner 2070 via the cable 2071. The scanned image is sent to the device I / O via the cable 2071.
F2020, and via the bus 2008 to the RAM
2002.

【0082】スキャンシーケンス制御部8204はスキ
ャンが終了し、バス2008を介してRAM2002に
画像が格納された時点で、スキャンパラメータ8302
のスキャン画像圧縮形式8309の内容にしたがって、
RAM2002に格納されているスキャン画像を圧縮す
るために、CODEC Manager1520に対して要求を出
す。要求を受け取ったCODEC Manager1520はバス2
008に接続されているコーデック2040、あるいは
MMR-CODEC1523内のソフトウェア圧縮モジュールを
用いて、スキャンシーケンス制御部8204からのスキ
ャン画像圧縮形式8309の指定で圧縮を行う。圧縮・
伸長制御部8205は圧縮された画像をバス2008を
介してRAM2002に格納する。
At the time when the scan is completed and the image is stored in the RAM 2002 via the bus 2008, the scan sequence control
According to the content of the scan image compression format 8309 of
A request is issued to the CODEC Manager 1520 in order to compress the scan image stored in the RAM 2002. The CODEC Manager 1520 receiving the request sends the request to bus 2
Codec 2040 connected to 008, or
Using the software compression module in the MMR-CODEC 1523, compression is performed by specifying the scan image compression format 8309 from the scan sequence control unit 8204. compression·
The extension control unit 8205 stores the compressed image in the RAM 2002 via the bus 2008.

【0083】スキャンシーケンス制御部8204はCODE
C Manager1520がスキャン画像圧縮形式8309で
指定された形式にスキャン画像を圧縮し、RAM200
2に格納した時点で、スキャンパラメータ8302の画
像ファイルタイプ8307にしたがってRAM2002
に格納されている圧縮されたスキャン画像をファイル化
する。スキャンシーケンス制御部8204はファイルシ
ステム8206に対して、スキャンパラメータ8302
の画像ファイルタイプ8307で指定されたファイル形
式でファイル化することを要求する。ファイルシステム
8206はスキャンシーケンス制御部8204からの画
像ファイルタイプ8307にしたがって、RAM200
2に格納されている圧縮された画像をファイル化し、バ
ス2008を介してHDD2004に転送することによ
りスキャンされた圧縮画像をファイル化する。スキャン
シーケンス制御部8204はファイルシステム8206
がHDD2004にファイル化された画像を格納した時
点で、スキャナ2070上の一枚の原稿の処理が終了し
たとして、スキャン動作管理部8203にスキャン終了
通知を送り返す。
The scan sequence control unit 8204 has a CODE
The C Manager 1520 compresses the scan image into the format specified by the scan image compression format 8309, and
2 in the RAM 2002 according to the image file type 8307 of the scan parameter 8302.
File of the compressed scanned image stored in. The scan sequence control unit 8204 sends a scan parameter 8302 to the file system 8206.
Of the image file type 8307. The file system 8206 stores the RAM 200 according to the image file type 8307 from the scan sequence control unit 8204.
2 is converted into a file, and is transferred to the HDD 2004 via the bus 2008 to convert the scanned compressed image into a file. The scan sequence control unit 8204 includes a file system 8206
Stores the filed image in the HDD 2004 and sends a scan end notification to the scan operation management unit 8203 assuming that the processing of one document on the scanner 2070 has been completed.

【0084】この時点でスキャナ2070上にまだスキ
ャンが行われていない原稿が存在し、Job Manager15
19からスキャン要求が存在する場合には再度、DIS
7102に格納されているスキャンパラメータ8302
を用いてスキャンシーケンス制御部にスキャン動作を要
求する。スキャナ2070上にスキャンされていない原
稿が存在しない場合、またはJob Manager1519から
のスキャン要求が存在しない場合には、スキャン動作が
終了したものとしてJob Manager1519に対してスキ
ャン終了通知を発行する。
At this point, there is an unscanned document on the scanner 2070, and the Job Manager 15
If a scan request exists from step 19, DIS
Scan parameters 8302 stored in 7102
Is used to request a scan operation from the scan sequence control unit. If there is no unscanned document on the scanner 2070, or if there is no scan request from the Job Manager 1519, a scan end notification is issued to the Job Manager 1519 assuming that the scan operation has ended.

【0085】・プリント動件 以下、プリント動作について詳細に説明する。The print operation will be described below in detail.

【0086】デバイスI/F2020は内部にDPRA
Mを持ち、このDPRAMを介してプリンタへのパラメ
ータ設定及びプリンタの状態読み出しと、プリントの制
御コマンドのやりとりを行う。またこのボードはVideo
コントローラを持ち、プリンタからエンジンインターフ
ェースケーブル経由で与えられるVCLK(Video Cloc
k)とHSYNCに合わせて、バス2008上に展開さ
れているイメージデータをエンジンインターフェースケ
ーブルを介してプリンタに送信する。この送信のタイミ
ングを図で表すと図20の様になる。VCLKは常に出
続け、HSYNCがプリンタの1ラインの開始に同期し
て与えられる。Videoコントローラは設定された画像幅
(WIDTH)分のデータを、RAM2002から読み出し
て、Video信号としてエンジンインターフェースケーブ
ルに出力する。これを指定ライン分(LINES)繰り返した
後、IMAGE_END割り込みを発生する。
The device I / F 2020 has an internal DPRA
M, and sets parameters for the printer, reads the status of the printer, and exchanges print control commands via the DPRAM. Also this board is Video
VCLK (Video Cloc) provided from the printer via the engine interface cable
According to k) and HSYNC, the image data developed on the bus 2008 is transmitted to the printer via the engine interface cable. FIG. 20 shows the timing of this transmission. VCLK is constantly output, and HSYNC is provided in synchronization with the start of one line of the printer. Video controller is set image width
The (WIDTH) data is read from the RAM 2002 and output to the engine interface cable as a Video signal. After repeating this for the specified number of lines (LINES), an IMAGE_END interrupt is generated.

【0087】先に説明したとおり、CPU上のアプリケ
ーションプログラムからControll APIにプリントジョブ
の指示が渡されると、Controll APIはこれをコントロー
ラレベルのJob Manager1519にジョブとして渡す。
さらにこのJob Manager1519はジョブの設定をDI
S7102に格納し、Print Manager1526にジョブ
の開始を指示する。Print Manager1526はジョブを
受け付けるとDISからジョブ実行に必要な情報を読み
出しEngineI/Fボード及び、DPRAMを介してプリ
ンタに設定する。画像が圧縮されている場合はCODEC Ma
nagerに展開を依頼し、CODEC Managerは依頼に従ってプ
リンタ Managerから指示された展開方法(JPEG、M
MRなど)により画像ファイルからビットマップ画像へ
展開する。展開された画像はRAM2002に格納され
る。
As described above, when a print job instruction is passed from the application program on the CPU to the Controll API, the Controll API passes this as a job to the Job Manager 1519 at the controller level.
Further, the Job Manager 1519 converts the job settings into DI
The job is stored in step S7102, and the print manager 1526 is instructed to start a job. Upon receiving the job, the Print Manager 1526 reads information necessary for executing the job from the DIS and sets the information in the printer via the Engine I / F board and the DPRAM. CODEC Ma if the image is compressed
nager, and the CODEC Manager responds to the request and the expansion method (JPEG, M
MR or the like) to develop the image file into a bitmap image. The developed image is stored in the RAM 2002.

【0088】デバイスI/F2020の設定項目を図2
1に、プリンタのDPRAMを介した設定項目及び制御
コマンド、状態コマンドを図22に示す。ビットマップ
画像の印刷についてレター(11"x8.5")サイズ2
値画像の、2ページ1部プリント、プリンタが600d
piの性能を持つものとして、具体的に動作を説明す
る。
FIG. 2 shows the setting items of the device I / F 2020.
FIG. 22 shows setting items, control commands, and status commands via the DPRAM of the printer. About printing bitmap images Letter (11 "x 8.5") size 2
Two copies of two pages of value image, 600d printer
The operation will be specifically described assuming that it has pi performance.

【0089】画像の展開終了後、Print Managerはこの
画像の幅(この場合8.5"の側とする)の画像バイト
数を算出する。 WIDTH=8.5×600÷8≒630(Bytes) 次にライン数を演算する。 LINES=11×600=6600(Lines)
After the development of the image is completed, the Print Manager calculates the number of image bytes of the width of the image (in this case, the side of 8.5 "). WIDTH = 8.5 × 600/8 ÷ 630 (Bytes) Next, the number of lines is calculated: LINES = 11 × 600 = 6600 (Lines)

【0090】これらの算出した値と、与えられた1ペー
ジ目の画像が格納されているRAM2002のSOURCEア
ドレスを図21に示したWIDTH,LINES,SOURCEに設定す
る。この時点でデバイスI/Fは画像出力の用意が完了
しているが、プリンタからのHSYNC信号が来ていな
いため(VCLKは来ている)画像データを出力してい
ない。
The calculated values and the SOURCE address of the RAM 2002 in which the given first page image is stored are set to WIDTH, LINES, and SOURCE shown in FIG. At this point, the device I / F has completed preparation for image output, but has not output image data because the HSYNC signal from the printer has not been received (VCLK has been received).

【0091】次にPrint Managerは図22に示したDP
RAMの所定のアドレス(Book No)に出力部数である1
を書き込む。その後、1ページ目に対する出力用紙の給
紙要求(FEED_REQ)を出し、プリンタからのIMAGE-REQを
待つ。プリンタからIMAGE-REQが来たら、IMAGE_STARTを
出す。これを受けてプリンタはHSYNCを出し始め、
HSYNC待ちで、あったデバイスI/F2020は画
像を出力する。プリンタは出力用紙の後端を検出する
と、IMAGE_ENDを出力し、出力用紙が排出されるとSHEET
_OUTを出力する。Print Managerは1ページ目のIMAGE_E
NDを受けて、2ページ目のWIDTH,LINES,SOURCEをEngi
meI/Fボードに設定し、FEED_REQを出して、IMAGE_RE
Qを待つ。2ページ目のIMAGE_REQが来てからの動作は、
1ページ目と同様である。
Next, the Print Manager executes the DP shown in FIG.
The number of output copies is 1 at a predetermined address (Book No) in the RAM.
Write. Thereafter, a feed request (FEED_REQ) for the output sheet for the first page is issued, and an IMAGE-REQ from the printer is waited. When IMAGE-REQ comes from the printer, issue IMAGE_START. In response to this, the printer started issuing HSYNC,
The device I / F 2020 that has been 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 ejected, SHEET
Output _OUT. Print Manager is IMAGE_E of the first page
After receiving ND, Engi changed WIDTH, LINES, SOURCE on the second page
Set to me I / F board, issue FEED_REQ, IMAGE_RE
Wait for Q. The operation after IMAGE_REQ of the second page comes
It is the same as the first page.

【0092】[コーデックの選択]以下に本発明の特徴
であるソフトウェア(S/W)コーデック、ハードウェ
ア(H/W)コーデックの選択について詳述する。ま
ず、スキャン、プリント時のデータの流れタイミングの
説明をする。スキャンの一例としてUniversal Send機能
の場合を説明する。スキャナによってスキャンされた画
像はまずデバイスI/F2020からバス2008を介
して、RAM2002に書き込まれる。次にRAM20
02から読み出されハードウェア、あるいはソフトウェ
アにより符号化された後、再度RAM2002に格納さ
れる。ハードウェアによる符号化の場合バス2008を
介してコーデック2040によって圧縮される。またソ
フトウェアによる圧縮の場合、RAM2002から読み
出しCPU2001によって圧縮しRAM2002に格
納される。RAM2002に格納された画像はTIFF
ファイルなどの汎用フォーマットに変換され、RAM2
002、HDD2004に格納される。最後に、RAM
2002、HDD2004から読み出されたファイルが
バス2008、Network2010を介してネットワーク
上の他の機器に転送される。図23は、この一連の動作
を行ったときのバス2008の使用状況をタイムチャー
トとして示した図である。
[Selection of Codec] Hereinafter, selection of a software (S / W) codec and a hardware (H / W) codec which is a feature of the present invention will be described in detail. First, the data flow timing at the time of scanning and printing will be described. A case of the Universal Send function will be described as an example of scanning. The image scanned by the scanner is first written into the RAM 2002 from the device I / F 2020 via the bus 2008. Next, the RAM 20
After being read from the H.02 and encoded by hardware or software, it is stored in the RAM 2002 again. In the case of encoding by hardware, it is compressed by the codec 2040 via the bus 2008. In the case of compression by software, the data is read from the RAM 2002, compressed by the CPU 2001, and stored in the RAM 2002. The image stored in the RAM 2002 is TIFF
Converted to a general format such as a file
002 is stored in the HDD 2004. Finally, RAM
2002, the file read from the HDD 2004 is transferred to another device on the network via the bus 2008 and the Network 2010. FIG. 23 is a diagram showing, as a time chart, a usage state of the bus 2008 when the series of operations are performed.

【0093】同様にプリント動作の一例としてRemote C
opy Print機能を説明する。Network2010及びバス2
008を介して送られてきた画像データ(TIFF化さ
れた圧縮画像)はまずRAM2002、HDD2004
に格納される。次にTIFFなどの余分なヘッダーを除
去した後、圧縮データがRAM2002に格納される。
RAM2002から読み出したデータをハードウェア
(バス2008−>コーデック2040−>バス200
8)、あるいはソフトウェアにより復号化し、再度RA
M2002に格納する。最後にビットマップ化された画
像をRAM2002から読み出しバス2008、デバイ
スI/Fを介してプリント出力する。
Similarly, as an example of the printing operation, Remote C
The opy print function will be described. Network 2010 and bus 2
The image data (compressed image converted to TIFF) transmitted via the RAM 008 and the HDD 2004
Is stored in Next, after removing an extra header such as TIFF, the compressed data is stored in the RAM 2002.
The data read from the RAM 2002 is transferred to the hardware (bus 2008 → codec 2040 → bus 200).
8) Alternatively, decrypt by software and
M2002. Finally, the bit-mapped image is read from the RAM 2002 and printed out via the bus 2008 and the device I / F.

【0094】ここで上記Universal Send機能におけるス
キャン(原稿2枚)要求と、RemoteCopy Print機能によ
るプリント(1枚)要求が同時に発生した場合のタイミ
ングを図24を用いて説明する。11001は1枚目の
スキャン、11002は2枚目のスキャン、11003
はプリントである。1枚目のスキャン動作時、H/WCodec
とプリント動作のLANが同時にバス2008を使用す
るため、バスの競合が生じ処理時間が単独使用時よりも
遅くなる。また1枚目のスキャンのLANと2枚目のス
キャン画像転送、プリントのデコード動作の3つが重な
る時間ではさらに遅くなってしまう。
The timing when a scan (two documents) request in the Universal Send function and a print (one sheet) request by the RemoteCopy Print function occur simultaneously will be described with reference to FIG. 11001 is the first scan, 11002 is the second scan, 11003
Is a print. H / WCodec during first scan operation
And the LAN of the printing operation use the bus 2008 at the same time, a bus contention occurs, and the processing time becomes slower than when using alone. Further, if the three times of the LAN of the first scan, the transfer of the scan image of the second scan, and the decoding operation of the print overlap, the time will be further delayed.

【0095】そこで本発明においては、スキャナ、プリ
ンタ、LANなどバス2008を共有する資源のバス使
用状況を調査し、バス使用率が所定値よりも大きいとき
はS/W Codecを使用する。S/W CodecはCPU2001が
例えばROM2003に記憶された符号化・復号化処理
用のソフトウェアを実行することにより実現されるた
め、システムバス2007のみの使用で処理が可能で、
画像バス2008には影響を与えない。
Therefore, in the present invention, the bus use status of resources sharing the bus 2008 such as a scanner, a printer, and a LAN is examined, and when the bus use ratio is larger than a predetermined value, the S / W Codec is used. The S / W Codec is realized by the CPU 2001 executing, for example, encoding / decoding processing software stored in the ROM 2003, so that the processing can be performed using only the system bus 2007.
The image bus 2008 is not affected.

【0096】CODEC Manager1520周辺のソフトウェ
ア構成を示す図25を用いて、バスの管理方法を以下に
示す。Scan Manager1524、Print Manager152
6、CODEC Manager1520はバスを使用する資源を持
っている場合、DIS7102のSupervisor7201内
のデータベースの、資源の有無を示す領域にフラグを立
てる(1を書き込む)。そして実際にバスを使用する資
源を使用する直前に、データベースの使用中であること
を示す領域にフラグをたて、終了時にそのフラグをリセ
ットする。図26にこのデータベースを示す。図26
は、LAN、H/Wコーデック、Scan、Printがバス2
008を使用する資源を有し、LANとスキャンがバス
を使用中である場合のデータベースの状況を示してい
る。
A bus management method will be described below with reference to FIG. 25 showing the software configuration around the CODEC Manager 1520. Scan Manager 1524, Print Manager 152
6. If the CODEC Manager 1520 has resources that use the bus, the CODEC Manager 1520 sets a flag in the area of the database in the Supervisor 7201 of the DIS 7102 that indicates the presence or absence of the resources (writes 1). Immediately before using the resources that actually use the bus, a flag is set in an area indicating that the database is being used, and the flag is reset at the time of termination. FIG. 26 shows this database. FIG.
Is LAN, H / W codec, Scan, Print is bus 2
008 shows the status of the database when resources are used and the LAN and scan are using the bus.

【0097】実際のスキャナ動作を図27を用いて説明
する。ジョブ発生時、Scan Manager1524はS140
01でスキャナの初期化処理を行う。バスを使用する資
源の調査もここで同時に行通信エラーなどによりスキャ
ナが使用できなければUIで操作部にエラーを表示す
る。S14002でスキャン要求があればS14003
でSupervisorデータベースに使用中を示すフラグを立て
る。S14004でスキャナ2070にスキャンを指示
し、スキャンデータをRAM2002へ転送させる。R
AMへの転送が終了したらS14005で使用中フラグ
を0に戻し、S14006でCodec Manager1520に
データの圧縮を依頼する。
The actual scanner operation will be described with reference to FIG. When a job occurs, Scan Manager 1524 returns to S140
In step 01, the scanner is initialized. At this time, if the scanner cannot be used due to a row communication error or the like, an error is displayed on the operation unit on the UI. If there is a scan request in S14002, S14003
To flag the Supervisor database as busy. In step S <b> 14004, the scanner 2070 is instructed to scan, and the scan data is transferred to the RAM 2002. R
When the transfer to the AM is completed, the in-use flag is returned to 0 in S14005, and the data compression is requested to the Codec Manager 1520 in S14006.

【0098】同様に、プリンタの動作を図28を用いて
説明する。ジョブ発生時、Print Manager1526はS
15001でプリンタの初期化処理を行う。バスを使用
する資源の調査もここで同時に行い、バスを使用する資
源があれば上述のようにDIS7102のSupervisorデ
ータベースにフラグを立てる。初期化処理中、通信エラ
ーなどによりプリンタが使用できなければUIで操作部
にエラーを表示する。S15002でスキャン要求があ
ればS15003でCodec Managerに対して復号を要求
し、復号が終わるまで待つ。S15004で復号終了
後、Supervisorデータベースに使用中を示すフラグを立
てる。S15005でプリンタにプリントを指示し、プ
リントデータをRAM2002から転送させる。RAM
からの転送が終了したらS15006で使用中フラグを
リセットする(0を書き込む)。
Similarly, the operation of the printer will be described with reference to FIG. When a job occurs, Print Manager 1526 returns S
At 15001, the printer is initialized. The resource using the bus is also checked at this time, and if there is a resource using the bus, a flag is set in the Supervisor database of the DIS 7102 as described above. During the initialization process, if the printer cannot be used due to a communication error or the like, an error is displayed on the operation unit on the UI. If there is a scan request in S15002, a decoding request is made to the Codec Manager in S15003, and the process waits until decoding is completed. After the decoding is completed in step S15004, a flag indicating “in use” is set in the supervisor database. In step S15005, the printer is instructed to print, and the print data is transferred from the RAM 2002. RAM
When the transfer from is completed, the in-use flag is reset (0 is written) in S15006.

【0099】図29にCodec Manager1520の動作を
フローチャートとして示す。S16001でH/Wコー
デック2040の初期化処理を行い、DIS7102の
Supervisorデータベースにフラグを立てる。Codecチッ
プの故障などによりが使用できなければUIで操作部に
エラーを表示する。S16002でプリンタ/スキャナ
から符号化/復号化の要求があればS16003でバス
2008の使用状況を調査する。具体的にはDIS内の
Supervisorデータベースにアクセスし、バスを使用中で
ある資源がいくつあるかを数える。そして、バス200
8を使用中の資源が所定の数を超えている場合には、要
求に対する符号化/復号化はソフトウェアコーデックを
用いて行う。ここでは一例として2つ以上資源が使用し
ている場合はソフトコーデックを使用するとあらかじめ
決められているものとする。ただし、ソフトコーデック
はCPUの処理能力や処理内容などによってコーデック
としての性能が変わるため、ソフトコーデックへの切り
替えを判断する資源使用率はシステムにあった値を事前
に設定しておく。
FIG. 29 is a flowchart showing the operation of the Codec Manager 1520. In step S16001, initialization of the H / W codec 2040 is performed.
Flag the Supervisor database. If the codec chip cannot be used due to a failure or the like, an error is displayed on the operation unit on the UI. If there is a request for encoding / decoding from the printer / scanner in S16002, the use status of the bus 2008 is checked in S16003. Specifically, in DIS
Access the Supervisor database and count how many resources are using the bus. And the bus 200
If the number of resources using 8 exceeds a predetermined number, encoding / decoding for the request is performed using a software codec. Here, as an example, it is assumed that the use of the soft codec is determined in advance when two or more resources are used. However, since the performance of the soft codec as a codec changes depending on the processing capability and processing content of the CPU, the value of the resource usage for judging switching to the soft codec is set in advance to a value appropriate for the system.

【0100】S16004でバス使用率が所定値を超え
なかった場合、S16005でH/Wコーデック使用中
を示すフラグを立てる。S16006でコーデック20
40に圧縮/復号化を指示し、データをRAM2002
から転送し圧縮/復号してさらにRAM2002に転送
させる。RAMへ転送が終了したらS16007でS1
6005で立てた使用中フラグをリセットする。
If the bus use rate does not exceed the predetermined value in S16004, a flag indicating that the H / W codec is being used is set in S16005. Codec 20 in S16006
40 is instructed to compress / decode, and the data is stored in RAM 2002
And compresses / decodes the data, and further transfers the data to the RAM 2002. When the transfer to the RAM is completed, in S16007 S1
The busy flag set in 6005 is reset.

【0101】一方、S16004でバス使用率が所定値
を超えた場合、CPUによるS/Wコーデックを動作さ
せる(S16008)。
On the other hand, if the bus use rate exceeds the predetermined value in S16004, the CPU operates the S / W codec (S16008).

【0102】図30に図24で説明したジョブについて
本特許を用いた場合のタイムチャートを示す。スキャン
画像のネットワークへの出力完了時刻が図24に比べ早
くなっていることがわかる。
FIG. 30 is a time chart when the present invention is used for the job described with reference to FIG. It can be seen that the output completion time of the scanned image to the network is earlier than in FIG.

【0103】図31は、本発明を適用した画像形成装置
の別の構成例を示すブロック図である。上述の実施例に
おいては、ハードウェアコーデックもソフトウェアコー
デックも処理データをRAM2002から読みだし、ま
た記憶していた。そのため、画像バスの競合は無いが、
システムバスの競合が発生する場合があった。本構成
は、ハードウェアコーデックが用いる記憶装置2041
と、ソフトウェアコーデックが用いる記憶装置(RAM
2002)を別個に設けたものである。
FIG. 31 is a block diagram showing another example of the configuration of an image forming apparatus to which the present invention is applied. In the above embodiment, both the hardware codec and the software codec read and store the processing data from the RAM 2002. Therefore, there is no competition for the image bus,
In some cases, system bus contention occurred. This configuration is based on the storage device 2041 used by the hardware codec.
And a storage device (RAM
2002) are provided separately.

【0104】このように構成することにより、処理後の
データを記憶する際のシステムバス競合が無くなるほ
か、ハードウェアコーデックで処理する画像データを予
めDMA転送等で記憶装置2041に記憶しておくこと
により、原画像データの読み出しの際にもシステムバス
の競合が生じないため、より一層効率の良い処理が可能
となる。記憶装置2041としては、RAMをはじめと
して、HDDなど一般的な記憶装置を用いることが出来
る。
With this configuration, there is no system bus contention when storing the processed data, and the image data to be processed by the hardware codec is stored in advance in the storage device 2041 by DMA transfer or the like. Thus, even when reading the original image data, competition of the system bus does not occur, so that more efficient processing can be performed. As the storage device 2041, a general storage device such as a HDD, such as a RAM, can be used.

【0105】また、上述の実施例においては画像バスの
占有率を元にソフトウェアコーデックの使用を決定して
いたが、ソフトウェアコーデックとして動作するCPU
2001が他の処理によって高い負荷状態にあった場合
には、ハードウェアコーデックを使用した方が結果とし
て処理が早いことも考えられる。そのため、CPU20
01の負荷状態と画像バス2008の占有率とを組み合
わせてソフトウェアコーデックの使用を決定するように
構成しても良い。
In the above-described embodiment, the use of the software codec is determined based on the occupation rate of the image bus.
If 2001 is in a high load state due to other processing, the processing may be faster if a hardware codec is used. Therefore, the CPU 20
01 may be combined with the occupancy of the image bus 2008 to determine the use of the software codec.

【0106】なお、実施例においては画像データを取り
扱う装置に本発明の符号化復号化装置を適用した例を用
いて説明したが、符号化、復号化を行う対象は限定され
るものではなく、音声、文書、プログラムなど、任意の
データを取り扱う装置に適用できることはいうまでもな
い。
Although the embodiment has been described using an example in which the encoding / decoding apparatus of the present invention is applied to an apparatus for handling image data, the object of encoding and decoding is not limited. It goes without saying that the present invention can be applied to a device that handles arbitrary data such as a voice, a document, and a program.

【0107】なお、実施例においてはスキャナ機能及び
プリンタ機能を一体化した複合機を例にして説明した
が、本発明は、ネットワーク上で接続された複数の機器
(例えばホストコンピュータ,インタフェイス機器,リ
ーダ,プリンタなど)から構成されるシステムに適用し
ても、一つの機器からなる装置(例えば、複写機,ファ
クシミリ装置など)に適用してもよい。
Although the embodiment has been described by taking as an example a multifunction machine in which a scanner function and a printer function are integrated, the present invention relates to a plurality of devices (for example, a host computer, an interface device, The present invention may be applied to a system including a reader, a printer, or the like, or may be applied to an apparatus (for example, a copying machine, a facsimile machine, or the like) including one device.

【0108】[0108]

【発明の効果】【The invention's effect】 【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を適用した複合機の全体構成を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating an overall configuration of a multifunction peripheral to which the present invention has been applied.

【図2】本発明を適用した複合機の正面外観を示す図で
ある。
FIG. 2 is a diagram showing a front appearance of a multifunction peripheral to which the present invention is applied.

【図3】操作部外観を示す図である。FIG. 3 is a diagram illustrating an appearance of an operation unit.

【図4】スキャナ画像処理部のブロック図である。FIG. 4 is a block diagram of a scanner image processing unit.

【図5】プリンタ画像処理部のブロック図である。FIG. 5 is a block diagram of a printer image processing unit.

【図6】コーデックのブロック図である。FIG. 6 is a block diagram of a codec.

【図7】画像回転部のブロック図である。FIG. 7 is a block diagram of an image rotation unit.

【図8】画像回転処理の説明図である。FIG. 8 is an explanatory diagram of an image rotation process.

【図9】画像回転処理の説明図である。FIG. 9 is an explanatory diagram of an image rotation process.

【図10】デバイスI/F部のブロック図である。FIG. 10 is a block diagram of a device I / F unit.

【図11】本発明を適用した装置を接続したネットワー
クシステムの構成例を示す図である。
FIG. 11 is a diagram illustrating a configuration example of a network system to which apparatuses to which the present invention is applied are connected.

【図12】本発明を適用した複合機のソフトウェアの全
体構成図である。
FIG. 12 is an overall configuration diagram of software of a multifunction peripheral to which the present invention is applied.

【図13】配信用組み込みアプリケーションを説明する
ブロック図である。
FIG. 13 is a block diagram illustrating a distribution embedded application.

【図14】操作部の具体的表示例を示す図である。FIG. 14 is a diagram showing a specific display example of an operation unit.

【図15】DISとJob Manager、Print Manager、Scan
Managerとの接続関係を示す図である。
FIG. 15: DIS, Job Manager, Print Manager, Scan
FIG. 4 is a diagram illustrating a connection relationship with a Manager.

【図16】DIS内部のデータベース、及びカウンタを
示す図である。
FIG. 16 is a diagram showing a database and counters inside the DIS.

【図17】スキャンにおけるソフトウェア制御のブロッ
ク図である。
FIG. 17 is a block diagram of software control in scanning.

【図18】スキャンにおけるパラメータテーブルの概略
図である。
FIG. 18 is a schematic diagram of a parameter table in scanning.

【図19】スキャンにおけるパラメータテーブルの概略
図である。
FIG. 19 is a schematic diagram of a parameter table in scanning.

【図20】プリント時のデータの転送タイミングを示す
波形図である。
FIG. 20 is a waveform chart showing data transfer timing during printing.

【図21】EngineI/Fボード内のプリントパラメータ
レジスタを示す図である。
FIG. 21 is a diagram showing a print parameter register in the Engine I / F board.

【図22】プリンタとEngineI/Fボードとの通信コマ
ンドを示す図である。
FIG. 22 is a diagram showing communication commands between the printer and the Engine I / F board.

【図23】1ページスキャン時のタイムチャートであ
る。
FIG. 23 is a time chart when scanning one page.

【図24】複数のジョブが同時発生した場合のタイムチ
ャートである。
FIG. 24 is a time chart when a plurality of jobs occur simultaneously.

【図25】コーデックマネージャ周辺のソフトウェア構
成を示す図である。
FIG. 25 is a diagram showing a software configuration around a codec manager.

【図26】DIS内Supervisorデータベースの構成を示
す図である。
FIG. 26 is a diagram showing a configuration of a Supervisor database in DIS.

【図27】スキャナの動作を示すフローチャートであ
る。
FIG. 27 is a flowchart showing the operation of the scanner.

【図28】プリンタの動作を示すフローチャートであ
る。
FIG. 28 is a flowchart illustrating an operation of the printer.

【図29】コーデックの動作を示すフローチャートであ
る。
FIG. 29 is a flowchart showing the operation of the codec.

【図30】図24において本発明によるコーデック切り
替えを行った際のタイムチャートである。
FIG. 30 is a time chart when the codec is switched according to the present invention in FIG. 24;

【図31】本発明を適用した複合機の別の構成例を示す
ブロック図である。
FIG. 31 is a block diagram illustrating another configuration example of a multifunction peripheral to which the present invention has been applied.

【符号の説明】[Explanation of symbols]

2001 CPU 2002 RAM 2003 ROM 2004 HDD 2005 画像バスインタフェース 2006 操作部インタフェース 2007 システムバス 2008 画像バス 2010 ネットワークインタフェース 2020 デバイスインタフェース 2040 コーデック 2050 モデム 2060 ラスタイメージプロセッサ 2070 スキャナ 2095 プリンタ 2001 CPU 2002 RAM 2003 ROM 2004 HDD 2005 Image bus interface 2006 Operation unit interface 2007 System bus 2008 Image bus 2010 Network interface 2020 Device interface 2040 Codec 2050 Modem 2060 Raster image processor 2070 Scanner 2095 Printer

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK13 MA00 ME02 PP02 SS12 SS26 SS28 TA80 TC00 TD11 UA02 UA05 UA29 UA38 UA39 5C062 AB20 AB38 AB46 AB53 AC25 AC58 BA04 5C078 BA12 BA21 CA02 CA34 DA01 DA02 EA01 5K034 CC02 FF02 FF17 FF19 HH01 HH02 HH25 HH63  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK13 MA00 ME02 PP02 SS12 SS26 SS28 TA80 TC00 TD11 UA02 UA05 UA29 UA38 UA39 5C062 AB20 AB38 AB46 AB53 AC25 AC58 BA04 5C078 BA12 BA21 CA02 CA34 DA01 DA02 EA01 5K03H01 FF01 CC02 HH02 HH25 HH63

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 外部から供給される原データに所定の符
号化処理又は復号化処理を施して出力する符号化復号化
手段を有する符号化復号化装置であって、 前記符号化復号化手段として、ハードウェアによって構
成された第1のコーデックと、ソフトウェアを実行する
ことによって符号化復号化を行う第2のコーデックと、
所定の条件に応じて前記原データの符号化又は復号化処
理に使用する符号化復号化手段を選択する選択手段とを
有することを特徴とした符号化復号化装置。
1. An encoding / decoding device having encoding / decoding means for subjecting original data supplied from outside to predetermined encoding processing or decoding processing and outputting the result, wherein said encoding / decoding means is A first codec configured by hardware, a second codec that performs encoding and decoding by executing software,
Selecting means for selecting coding and decoding means to be used for coding or decoding of the original data according to predetermined conditions.
【請求項2】 前記選択手段が前記第1のコーデックが
接続された第1のバスの占有率を監視し、前記占有率が
所定の値を超えた場合に前記第2のコーデックを選択す
ることを特徴とする請求項1記載の符号化復号化装置。
2. The method according to claim 1, wherein the selecting unit monitors the occupancy of the first bus to which the first codec is connected, and selects the second codec when the occupancy exceeds a predetermined value. The encoding / decoding device according to claim 1, wherein:
【請求項3】 前記第2のコーデックが前記第1のバス
に接続された第2のバスに接続されていることを特徴と
する請求項1記載の符号化復号化装置。
3. The encoding / decoding apparatus according to claim 1, wherein said second codec is connected to a second bus connected to said first bus.
【請求項4】 前記第2のコーデックが、前記ソフトウ
ェアを記憶する第1の記憶手段と、前記ソフトウェアを
実行する処理手段とから構成されることを特徴とする請
求項1記載の符号化復号化装置。
4. The encoding / decoding method according to claim 1, wherein said second codec comprises first storage means for storing said software, and processing means for executing said software. apparatus.
【請求項5】 前記第2のコーデックが、前記ソフトウ
ェアを記憶する第1の記憶手段と、前記ソフトウェアを
実行する処理手段とから構成されるとともに前記選択手
段が前記処理手段の負荷を監視し、前記占有率と前記負
荷を用いて前記第2のコーデックの選択を決定すること
を特徴とする請求項2記載の符号化復号化装置。
5. The second codec comprises first storage means for storing the software, and processing means for executing the software, and the selection means monitors a load on the processing means, 3. The encoding / decoding device according to claim 2, wherein the selection of the second codec is determined using the occupancy and the load.
【請求項6】 前記原データの供給源が複数あり、複数
の前記所定の符号化又は復号化処理の要求が同時に発生
しうることを特徴とする請求項1乃至5のいずれかに記
載の符号化復号化装置。
6. The code according to claim 1, wherein there are a plurality of sources of said original data, and a plurality of said predetermined coding or decoding processing requests can be generated at the same time. Decryption device.
【請求項7】 前記符号化又は復号化処理を行ったデー
タを記憶する記憶手段を有し、かつ前記第1のコーデッ
クが使用する前記記憶手段と前記第2のコーデックが使
用する前記記憶手段が異なることを特徴とする請求項1
乃至6のいずれかに記載の符号化復号化装置。
7. A storage unit for storing data obtained by performing the encoding or decoding processing, wherein the storage unit used by the first codec and the storage unit used by the second codec are 2. The method of claim 1, wherein
An encoding / decoding device according to any one of claims 1 to 6.
【請求項8】 前記第1のコーデックが使用する前記記
憶手段が前記第1のバスに、前記第2のコーデックが使
用する前記記憶手段が前記第2のバスにそれぞれ接続さ
れていることを特徴とする請求項7記載の符号化復号化
装置。
8. The storage device used by the first codec is connected to the first bus, and the storage device used by the second codec is connected to the second bus. The encoding / decoding device according to claim 7, wherein
【請求項9】 画像データを発生する手段と、受信した
画像データをもとに画像を被記録材上に形成して出力す
る画像形成手段とが前記請求項1乃至8のいずれかに記
載の符号化復号化装置を介して通信可能に接続された画
像形成システム。
9. The image forming apparatus according to claim 1, further comprising: means for generating image data; and image forming means for forming an image on a recording material based on the received image data and outputting the image. An image forming system communicably connected via an encoding / decoding device.
【請求項10】 前記画像データを発生する手段が、原
稿を読みとって画像データを発生する手段と、文字コー
ドやページ記述言語などのコードで表される電子的な原
稿データを発生する手段を含むことを特徴とする請求項
9記載の画像形成システム。
10. The means for generating image data includes means for reading an original to generate image data, and means for generating electronic original data represented by a code such as a character code or a page description language. The image forming system according to claim 9, wherein:
JP28304498A 1998-10-05 1998-10-05 Encoding / decoding device and image forming system Expired - Fee Related JP3581582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28304498A JP3581582B2 (en) 1998-10-05 1998-10-05 Encoding / decoding device and image forming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28304498A JP3581582B2 (en) 1998-10-05 1998-10-05 Encoding / decoding device and image forming system

Publications (2)

Publication Number Publication Date
JP2000115277A true JP2000115277A (en) 2000-04-21
JP3581582B2 JP3581582B2 (en) 2004-10-27

Family

ID=17660494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28304498A Expired - Fee Related JP3581582B2 (en) 1998-10-05 1998-10-05 Encoding / decoding device and image forming system

Country Status (1)

Country Link
JP (1) JP3581582B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078769A (en) * 2001-08-31 2003-03-14 Canon Inc Image processor, image processing control method, storage medium and program
JP2008067002A (en) * 2006-09-06 2008-03-21 Seiko Epson Corp Image processor and printer equipped with the same
JP2008252818A (en) * 2007-03-30 2008-10-16 Toshiba Corp Information processor
JP2008301240A (en) * 2007-05-31 2008-12-11 Toshiba Corp Portable terminal
JP2010124491A (en) * 2000-07-05 2010-06-03 Ricoh Co Ltd Device and method for forming image
US20110248986A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Intelligent media decoding
US8190582B2 (en) 2007-05-31 2012-05-29 Kabushiki Kaisha Toshiba Multi-processor
CN116055715A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Scheduling method of coder and decoder and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010124491A (en) * 2000-07-05 2010-06-03 Ricoh Co Ltd Device and method for forming image
JP2011103664A (en) * 2000-07-05 2011-05-26 Ricoh Co Ltd Image forming device
JP2003078769A (en) * 2001-08-31 2003-03-14 Canon Inc Image processor, image processing control method, storage medium and program
JP2008067002A (en) * 2006-09-06 2008-03-21 Seiko Epson Corp Image processor and printer equipped with the same
JP4691062B2 (en) * 2007-03-30 2011-06-01 株式会社東芝 Information processing device
JP2008252818A (en) * 2007-03-30 2008-10-16 Toshiba Corp Information processor
JP2008301240A (en) * 2007-05-31 2008-12-11 Toshiba Corp Portable terminal
US8190582B2 (en) 2007-05-31 2012-05-29 Kabushiki Kaisha Toshiba Multi-processor
US8543612B2 (en) 2007-05-31 2013-09-24 Fujitsu Mobile Communications Limited Mobile terminal
US20110248986A1 (en) * 2010-04-07 2011-10-13 Apple Inc. Intelligent media decoding
US8768078B2 (en) * 2010-04-07 2014-07-01 Apple Inc. Intelligent media decoding
CN116055715A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Scheduling method of coder and decoder and electronic equipment
CN116055715B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Scheduling method of coder and decoder and electronic equipment

Also Published As

Publication number Publication date
JP3581582B2 (en) 2004-10-27

Similar Documents

Publication Publication Date Title
JP2001027986A (en) Data processor and processing part selecting method
JP3880277B2 (en) Image processing apparatus and control method thereof
JP2001136352A (en) Picture input device and its controlling method
JP2003256216A (en) Software-incorporated electronic apparatus
JP3581582B2 (en) Encoding / decoding device and image forming system
JP2000358144A (en) Picture input/output system and its control method
JP2004140420A (en) Multifunction system
JP2001356853A (en) Image processor and state display control method of the same
JP2004336431A (en) Image forming apparatus, image processing program, and recording medium
JP2006171297A (en) Composite image processor
JP2000151873A (en) Information processing system and information processing method
JP2003337681A (en) Image processing system and server device
JP3814452B2 (en) Image input / output device and control method thereof
JP4027073B2 (en) Image processing system, image processing apparatus, and job management method
JP2003167705A (en) Image processing system, information processor, image processor, image output control method, storage medium, and program
JP2001339561A (en) Composite image processing unit and recovering method in network copying
JP2000194531A (en) Information processor, information processing method and storage medium
JP2006060868A (en) Data processing apparatus, method, and storage medium storing program
JP3755867B2 (en) Image forming apparatus and recording medium
JPH11331455A (en) Remote copying system and remote copying method
JP3990887B2 (en) Information processing apparatus, job processing method, and storage medium
JP2001339549A (en) Composite image processing unit and network transfer control method
JPH11327376A (en) Remote copying system and method therefor
JPH11328376A (en) Method and device for inputting and outputting information and storage medium
JP2006236039A (en) Multifunction system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040405

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040709

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040723

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090730

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees