JPH09224134A - Image processor - Google Patents
Image processorInfo
- Publication number
- JPH09224134A JPH09224134A JP8029159A JP2915996A JPH09224134A JP H09224134 A JPH09224134 A JP H09224134A JP 8029159 A JP8029159 A JP 8029159A JP 2915996 A JP2915996 A JP 2915996A JP H09224134 A JPH09224134 A JP H09224134A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- unit
- search
- area
- buffer
- 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
Links
- 238000012545 processing Methods 0.000 claims description 77
- 238000007906 compression Methods 0.000 claims description 10
- 230000006835 compression Effects 0.000 claims description 7
- 239000006185 dispersion Substances 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 49
- 238000007726 management method Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 230000003139 buffering effect Effects 0.000 description 4
- 238000007639 printing Methods 0.000 description 4
- 230000000052 comparative effect Effects 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010017 direct printing Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
【発明の詳細な説明】Detailed Description of the Invention
【0001】[0001]
【産業上の利用分野】本発明は、画像データを一時的に
記憶するバッファを備えた画像処理装置に関し、特に、
効率的なバッファ管理に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus having a buffer for temporarily storing image data,
For efficient buffer management.
【0002】[0002]
【従来の技術】近年、ディジタル複写機、プリンタ装
置、ファクシミリ、及び、これらの機能を組み合わせた
マルチファンクション機、等の画像処理装置において
は、一般に、画像入力部と画像出力部との速度差を吸収
するため、少なからず装置内に画像記憶部が搭載されて
いる。その画像記憶部としては、低価格で大容量の記憶
が可能であるが書き込み/読み出し速度が遅いハードデ
ィスクや光磁気ディスク、及び、高価であるが書き込み
/読み出し速度が早い半導体メモリが知られている。近
年の画像処理装置は、両者の特性を生かすためにそれら
を併用している。このような2種類の画像記憶部を搭載
することにより、上述した速度差吸収のみならず、多種
多様で効果的な画像処理を実現できる。すなわち、その
ような2種類の画像記憶部の併用によれば、例えば、入
力した画像データを画像記憶部に記憶しておきそれを複
数回出力させる機能、入力順序とは異なる出力順序で画
像データを出力させる電子ソーティング機能など、近年
の画像処理装置にとっては必要不可欠の機能を実現でき
る。2. Description of the Related Art In recent years, in image processing apparatuses such as digital copying machines, printers, facsimiles, and multi-function machines combining these functions, generally, the speed difference between the image input section and the image output section is reduced. In order to absorb, an image storage unit is mounted in the device to some extent. As the image storage unit, a hard disk or a magneto-optical disk that can store a large amount of data at a low price but has a slow write / read speed, and a semiconductor memory that is expensive but has a fast write / read speed are known. . Image processing apparatuses in recent years use them in combination in order to make the best use of their characteristics. By mounting such two types of image storage units, not only the speed difference absorption described above but also various and effective image processing can be realized. That is, when such two types of image storage units are used together, for example, the function of storing the input image data in the image storage unit and outputting it a plurality of times, the image data in an output order different from the input order It is possible to realize functions that are indispensable for recent image processing apparatuses, such as an electronic sorting function for outputting the.
【0003】一方、画像記憶部の容量削減及び画像デー
タの高速転送のために、画像データを圧縮する方式が普
及している。画像データの圧縮を行うことにより、大量
ページの画像を一度に記憶でき、また書き込み/読み出
し等の転送時間を短縮できるため、高速処理が可能とな
る。しかし、一般的な可変長圧縮処理によると、画像デ
ータの内容によって圧縮率が異なるため、プレート毎に
圧縮後のデータ量がまちまちになる。なお、プレートは
白黒画像の場合には各ページのイメージに相当し、カラ
ー画像の場合には各色ごとの各ページのイメージに相当
する。On the other hand, a method of compressing image data has become widespread in order to reduce the capacity of the image storage section and to transfer the image data at high speed. By compressing the image data, a large number of pages of images can be stored at one time, and the transfer time such as writing / reading can be shortened, so that high-speed processing becomes possible. However, according to a general variable length compression process, the compression rate varies depending on the content of the image data, so that the amount of data after compression varies for each plate. The plate corresponds to the image of each page in the case of a monochrome image, and corresponds to the image of each page for each color in the case of a color image.
【0004】そこで、複数の画像データを格納可能な半
導体メモリ(以下、ページバッファと呼ぶ)の小型化及
び効率的利用のために、最終番地の次の番地を先頭番地
とすることでバッファを仮想的に環状にしたページバッ
ファ(以下、リングバッファと呼ぶ)を使用する装置
が、例えば特開昭60−100872号公報で開示され
ている。圧縮処理を施しながらページバッファ及びハー
ドディスクを用いて上述の電子ソーティング機能を実現
するシステムにおいては、現状では、リングバッファ方
式が最も適した方式であるといえよう。Therefore, in order to miniaturize and efficiently use a semiconductor memory (hereinafter referred to as a page buffer) capable of storing a plurality of image data, the buffer next to the last address is set to the first address to make the buffer virtual. A device that uses a page buffer (hereinafter referred to as a ring buffer) that is circular in nature is disclosed in, for example, Japanese Patent Laid-Open No. 60-100872. In the system which realizes the above electronic sorting function by using the page buffer and the hard disk while performing the compression process, the ring buffer method can be said to be the most suitable method at present.
【0005】ところが、画像処理装置においては、両面
/片面処理、印刷部数及び出力装置の動作シーケンスな
どに起因し、画像入力順と画像出力順は必ずしも同一と
ならない。例えば、両面出力可能な出力装置(例えばプ
リンタ)には、表、裏、表、……の順に出力するもの
や、表、表、表、裏、裏、裏、……の順に出力するもの
などが存在する。従って、入力順を特定の出力装置に合
わせても、他の出力装置にはその入力順で出力すること
ができないことになる。このように入力順と出力順が異
なる場合、上述の圧縮画像を取り扱うリングバッファ方
式では、ばらばらに圧縮画像が格納された領域を所定順
序で解放していくと、バッファ内の空き領域が散在して
しまう。However, in the image processing apparatus, the image input order and the image output order are not always the same due to the double-sided / single-sided processing, the number of print copies, the operation sequence of the output apparatus, and the like. For example, for an output device capable of double-sided output (for example, a printer), a device that outputs in the order of front, back, front, ..., or a device that outputs in the order of front, front, front, back, back, back, ... Exists. Therefore, even if the input order is adjusted to a specific output device, it is impossible to output to the other output device in the input order. In this way, when the input order and the output order are different, in the above-mentioned ring buffer method that handles compressed images, free areas in the buffer are scattered when areas where compressed images are stored are released in a predetermined order. Will end up.
【0006】空き領域は、可変長圧縮後の画像データが
格納されていた領域であるため、その領域の大きさは多
様であり、たとえ空き領域があったとしても必ずしもそ
こに次の圧縮画像データを格納できるわけではない。す
なわち、リングバッファは連続した空き領域を確保でき
ることを特徴としたものだが、入力順と出力順が異なる
ことによって、その特徴を発揮できないことになり、場
合によっては、バッファ全体としては十分な空き領域が
存在するにも拘らず各空き領域が分散することにより次
の画像データを格納できない問題(デッドロック)や、
入力処理と出力処理が並列に行なえなかったりする問題
などが発生していた。Since the empty area is an area in which the image data after variable length compression is stored, the size of the area varies, and even if there is an empty area, the next compressed image data is not always present. Can not be stored. That is, the ring buffer is characterized by being able to secure a continuous free area, but due to the difference in the input order and the output order, it cannot exhibit its characteristics. In some cases, the buffer as a whole has a sufficient free area. There is a problem (deadlock) in which the next image data cannot be stored due to the dispersion of each free area,
There was a problem that input processing and output processing could not be performed in parallel.
【0007】これに関し、特開平2−288464号公
報のように、ページ出力順(降順)に応じてバッファ格
納順を変えるもの、特開昭60−74768号公報のよ
うに、両面出力可能なようにバッファを表面用、裏面用
の2つに分割して格納するもの、特開平6−86030
号公報のように、順序が異なることによってバッファ上
でデッドロックが生じた場合に、出力順とは異なるペー
ジ(バッファ領域を解放するのに都合のよいページ)を
出力させてデッドロックを回避するもの、などの各種の
手法が提案されている。In this regard, as disclosed in Japanese Patent Laid-Open No. 2-288464, the buffer storage order is changed according to the page output order (descending order), and two-sided output is possible as in Japanese Patent Laid-Open No. 60-74768. In which a buffer is divided into two parts, one for the front side and the other for the back side, and stored.
When deadlock occurs in the buffer due to a different order as in Japanese Patent Publication, a page different from the output order (page convenient for releasing the buffer area) is output to avoid the deadlock. Various methods such as things have been proposed.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上記の
特開昭60−74768号公報で開示されているような
バッファ管理方式では、両面出力時についてのみ対応し
ており、両面/片面切替え時による出力順の変動、及び
複数回の出力を行う場合におけるバッファの効率的な管
理については十分考慮されていない。However, the buffer management system as disclosed in Japanese Patent Laid-Open No. 60-74768 described above only supports double-sided output, and output by double-sided / single-sided switching. The change in order and the efficient management of the buffer in the case of outputting a plurality of times are not sufficiently considered.
【0009】また、特開平6−86030号公報で開示
されているようなデッドロック回避方式においては、ユ
ーザが意図する出力順とは異なる出力順で出力されるた
め、出力されたシートの並べかえを手作業で行わなけれ
ばならず煩わしいといった問題がある。Further, in the deadlock avoidance method disclosed in Japanese Patent Laid-Open No. 6-86030, since the output order is different from the output order intended by the user, the output sheets are rearranged. There is a problem that it has to be done manually and is troublesome.
【0010】さらに、特開平2−288464号公報で
開示されているようなバッファ格納方式では、出力順で
画像データがバッファに格納されるため、デッドロック
が生じるような問題はないが、同一画像データの出力回
数については考慮されていないため、例えば、特定の画
像データのみを複数回出力させるような場合に、一回目
の出力によりバッファ領域が解放されてしまい、二回目
に出力しようとする場合には画像データをハードディス
クから再び読み出してこなければならず、結果として、
処理速度が低下していた。Further, in the buffer storage method disclosed in Japanese Patent Laid-Open No. 2-288464, since the image data is stored in the buffer in the output order, there is no problem such as deadlock, but the same image is generated. Since the number of data outputs is not considered, for example, when outputting only specific image data multiple times, the buffer area is released by the first output and the second output is attempted. To read the image data from the hard disk again, as a result,
The processing speed was slow.
【0011】また、公知の技術であるバッファをブロッ
ク単位で区切って使用するバッファ管理方式において
は、入力順と出力順が異なってもバッファをページ単位
に切り出していくため問題は生じないが、可変長圧縮画
像を取り扱う場合は、無駄な領域を確保することにな
り、結果的に、バッファ全体を不必要に増大させなけれ
ばならないといった問題がある。Further, in the buffer management method which is a known technique and divides a buffer into block units and is used, even if the input order and the output order are different, since the buffer is cut out in page units, no problem occurs. When handling a long compressed image, a wasteful area is secured, and as a result, there is a problem that the entire buffer must be unnecessarily increased.
【0012】本発明は、上記従来の課題に鑑みなされた
ものであり、その目的は、バッファへの画像データの書
き込み順序とバッファからの画像データの読み出し順序
とが異なるような画像処理装置において、バッファ上で
空き領域が分散化してしまって次の画像データを格納で
きなくなる問題を解消することにある。The present invention has been made in view of the above conventional problems, and an object thereof is to provide an image processing apparatus in which the order of writing image data to a buffer and the order of reading image data from the buffer are different from each other. It is to solve the problem that the next image data cannot be stored because the free areas are dispersed in the buffer.
【0013】また、本発明の目的は、空き領域待ちにな
る画像データを極力少なくしながら上記のデッドロック
を解消することにある。Another object of the present invention is to eliminate the above deadlock while reducing the image data waiting for a free area as much as possible.
【0014】[0014]
(1)上記目的を達成するために本発明は、複数の画像
データが書き込まれる記憶部と、前記記憶部へ画像デー
タを書き込む書込み手段と、前記記憶部から画像データ
を読み出す読出し手段と、前記記憶部に格納された画像
データを出力する出力手段と、を含み、書き込まれた順
序と異なる順序で出力する画像処理装置において、前記
書込み手段は、前記記憶部上の空き領域をサーチする際
の開始アドレスを管理する開始アドレス管理手段と、前
記空き領域をサーチするために前記開始アドレスを含む
前記バッファの一部のみを参照して次に格納すべき画像
データを格納可能な有効空き領域を特定する手段であっ
て、前記開始アドレスからサーチを開始し、所定のサー
チ終了条件に達するまでサーチを行っても前記有効空き
領域が発見されない場合にサーチを終了する空き領域サ
ーチ手段と、前記有効空き領域が発見された場合にそこ
に前記次の画像データを書き込み、前記有効空き領域が
発見されなかった場合に前記次の画像データの書き込み
待ち状態を維持する書込み制御手段と、を含むことを特
徴とする。(1) In order to achieve the above object, the present invention provides a storage unit in which a plurality of image data is written, a writing unit for writing image data in the storage unit, a reading unit for reading image data from the storage unit, An output unit for outputting the image data stored in the storage unit, wherein the output unit outputs the image data in an order different from the order in which the data is written. A start address management unit that manages a start address, and an effective free area in which image data to be stored next can be stored by referring to only a part of the buffer including the start address for searching the free area The effective empty area is not found even if the search is started from the start address and a predetermined search end condition is reached. A free area search means for ending the search, and writing the next image data there when the valid free area is found, and writing the next image data when the valid free area is not found Write control means for maintaining a wait state.
【0015】例えば、記憶部(リングバッファ)上で次
の画像データを格納するための有効空き領域をサーチす
る場合において、書込みポインタによって指定される開
始アドレスからサーチを開始し、そのサーチを記憶部全
体に渡って行って有効空き領域を特定すると、次の画像
データは、書込みポインタあるいは前回書き込んだ画像
データの格納領域の位置にかかわらず、それらとは相当
程度離れていても書き込まれてしまう。しかし、そのよ
うな書き込みでは、結果として、画像データ読み出し後
の各空き領域が記憶部全体に渡って飛び飛びに発生する
可能性が高まり、上述したデッドロックの発生が危惧さ
れる。For example, when searching an effective empty area for storing the next image data on the storage unit (ring buffer), the search is started from the start address designated by the write pointer, and the search is performed on the storage unit. When the effective empty area is specified over the entire area, the next image data is written even if it is considerably distant from it regardless of the position of the write pointer or the storage area of the previously written image data. However, in such writing, as a result, there is a high possibility that each empty area after the image data is read will be scattered across the entire storage unit, and the above-described deadlock may occur.
【0016】そこで、本発明は、データ処理効率を考慮
しつつ可能な限り空き領域が連続して生じるように各画
像データの書込みを行うことを特徴とするものである。Therefore, the present invention is characterized in that each image data is written in such a manner that empty areas continuously occur as much as possible while taking the data processing efficiency into consideration.
【0017】すなわち、本発明によれば、開始アドレス
から空き領域のサーチを行う場合、所定のサーチ終了条
件が充足するまでサーチを行っても前記有効空き領域が
発見されない場合にそのサーチは強制終了する。つま
り、本発明では、空き領域のサーチを常にバッファ全体
に渡って行うのではなく、一定条件で終了させるもので
ある。換言すれば、通常の画像処理であれば、入力順序
が近い関係にある2つの画像データは出力順序も比較的
近いであろうとの経験則に基づいて、記憶部全体とし
て、入力順序が近い画像データ同士があまり離れないよ
うに書込み制御を行うものである。従って、サーチ終了
条件は、望ましくは、開始アドレスを示す書込みポイン
タを基準として、また前回格納された画像データの格納
領域を基準として設定される。サーチ終了条件に到達す
るまでに有効空き領域が発見されれば、次の画像データ
はそこに書き込まれ、発見されなければ書込み待ち状態
が維持される。その後、記憶部から画像データが読み出
され、その格納領域が解放されて空き領域が発生した時
点で、再度、上記の有効空き領域のサーチが実行され
る。なお、上記の記憶部としてはバッファメモリやハー
ドディスクが用いられ、基本的にリングバッファが用い
られる。That is, according to the present invention, when a free area is searched from the start address, if the effective free area is not found even if the search is performed until a predetermined search end condition is satisfied, the search is forcibly terminated. To do. That is, in the present invention, the search for the free area is not always performed over the entire buffer, but is ended under a fixed condition. In other words, in the case of normal image processing, based on the empirical rule that two image data sets that have a close input order will also have a relatively close output order, the image data that has a close input order as a whole storage unit The write control is performed so that the two are not separated from each other. Therefore, the search end condition is preferably set based on the write pointer indicating the start address and based on the storage area of the image data stored previously. If the effective empty area is found before the search end condition is reached, the next image data is written therein, and if not found, the writing waiting state is maintained. After that, the image data is read from the storage unit, and when the storage area is released and an empty area is generated, the search for the effective empty area is performed again. A buffer memory or a hard disk is used as the storage unit, and a ring buffer is basically used.
【0018】(2)また、本発明は、さらに、前記バッ
ファへの書き込みに先立って、画像データを可変長圧縮
する圧縮手段を含み、前記空き領域サーチ手段は、前記
画像データのデータ量を考慮して前記有効空き領域を特
定することを特徴とする。すなわち、本発明は、画像デ
ータのデータ量が固定されている装置にも適用可能であ
るが、殊に、可変長圧縮された画像データの書込み制御
が行われる装置に有用である。(2) Further, the present invention further includes compression means for variable-length compressing the image data prior to writing to the buffer, and the free area search means considers the data amount of the image data. Then, the effective free area is specified. That is, the present invention can be applied to an apparatus in which the data amount of image data is fixed, but is particularly useful in an apparatus in which writing control of variable-length compressed image data is performed.
【0019】(3)また、本発明は、前回書き込まれた
画像データの格納領域の最終アドレスに相当する基準ア
ドレスを管理する基準アドレス管理手段を含み、前記空
き領域サーチ手段は、前記基準アドレスから数えて所定
数n(n≧1)番目の空き領域までサーチを行っても前
記有効空き領域が発見されない場合にサーチを終了する
ことを特徴とする。(3) Further, the present invention includes a reference address management means for managing a reference address corresponding to the last address of the storage area of the image data previously written, wherein the empty area search means is based on the reference address. The present invention is characterized in that the search is terminated when the effective free area is not found even after the search is performed up to a predetermined number n (n ≧ 1) free area.
【0020】上記構成によれば、前回格納された画像デ
ータの格納位置が基準となって、そこから所定数n番目
までの空き領域がサーチ対象とされる。これにより、前
回格納された画像データの格納領域からあまり離れない
場所に次の画像データが格納されるように条件付けるこ
とができ、空き領域が連続する可能性を高められる。も
ちろん、前回格納された画像データよりも前に有効空き
領域が存在していれば次の画像データはそこに格納され
る。With the above arrangement, the storage position of the previously stored image data is used as a reference, and a predetermined number n of empty regions from that position are searched. This makes it possible to condition that the next image data is stored in a place not far away from the storage area of the previously stored image data, and the possibility of continuous empty areas is increased. Of course, if an effective empty area exists before the previously stored image data, the next image data is stored there.
【0021】所定数nとしては、各種の条件に応じて
1,2,3などの数値の中から選択されることが望まし
い。例えば、n=1の場合、前回格納された画像データ
の後にある最初の空き領域までがサーチ対象とされ(ス
キップ数は0)、n=2の場合、前回格納された画像デ
ータから数えて2番目の空き領域までがサーチ対象とさ
れる(スキップ数は1)。なお、スキップ数は、1つの
画像データ又は連続した複数の画像データを1つのデー
タブロックと定義した場合において、サーチを行ってい
く際のデータブロックの飛び越し数である。The predetermined number n is preferably selected from numerical values such as 1, 2, 3 according to various conditions. For example, in the case of n = 1, the search is performed up to the first empty area after the previously stored image data (the number of skips is 0), and in the case of n = 2, 2 is counted from the previously stored image data. The search is performed up to the second empty area (the number of skips is 1). The number of skips is the number of interlaced data blocks when performing a search when one image data or a plurality of consecutive image data is defined as one data block.
【0022】(4)また、本発明は、さらに、前記所定
数nを設定する設定手段を有することを特徴とする。こ
こで、前記設定手段は、望ましくは、前記記憶部への画
像データの書き込み順序と前記記憶部からの画像データ
の読み出し順序の相違度に基づいて、前記所定数nを設
定する。あるいは、前記設定手段は、望ましくは、各画
像データに付随する情報を参照して動的に前記所定数n
を設定する。(4) Further, the present invention is characterized by further comprising setting means for setting the predetermined number n. Here, it is preferable that the setting unit sets the predetermined number n based on the degree of difference between the writing order of the image data to the storage unit and the reading order of the image data from the storage unit. Alternatively, preferably, the setting means dynamically refers to information associated with each image data to dynamically set the predetermined number n.
Set.
【0023】このように諸条件に応じて所定数n(換言
すればスキップ数の上限)を可変設定することにより、
書込み待ちが発生する度合いと空き領域が分散する度合
いとのバランスを適宜調整できる。By thus variably setting the predetermined number n (in other words, the upper limit of the skip number) according to various conditions,
The balance between the degree of waiting for writing and the degree of dispersion of free areas can be adjusted as appropriate.
【0024】[0024]
【発明の実施の形態】以下、図面を参照しながら本発明
の実施形態について説明する。本実施形態においては、
画像処理装置としてのプリンタ装置を例に挙げて説明す
る。Embodiments of the present invention will be described below with reference to the drawings. In this embodiment,
A printer device as an image processing device will be described as an example.
【0025】図1は、本発明が適用されるシステムの構
成例を示す概略図である。各種のプリンタ1A〜1D
は、それぞれ画像処理制御を行うプリントサーバ2A〜
2Dに接続されている。プリントサーバ2A〜2Dは、
画像データの入出力制御及び画像データの編集等を行う
ものである。プリントサーバ2A〜2Dは、所定の区域
に張られたネット上、例えばローカルエリアネットワー
ク4(以下、LANと呼ぶ)に接続され、また、LAN
4を介して公衆回線5等と接続されており、これらのネ
ットを介して、他の入出力装置及び端末装置(ファクシ
ミリ装置6などを含む)と通信することが可能である。FIG. 1 is a schematic diagram showing a configuration example of a system to which the present invention is applied. Various printers 1A-1D
Are print servers 2A to
It is connected to 2D. The print servers 2A to 2D are
The input / output control of image data and the editing of image data are performed. The print servers 2A to 2D are connected to, for example, a local area network 4 (hereinafter, referred to as LAN) on a network set up in a predetermined area, and the LAN
It is connected to the public line 5 or the like via 4 and can communicate with other input / output devices and terminal devices (including the facsimile device 6 etc.) via these nets.
【0026】ユーザは、クライアント3において、グラ
フィカル・ユーザ・インタフェース(GUI)を用い
て、もしくはワープロソフト等のアプリケーションに備
わっている印刷コマンドによって、ネット上のいずれか
のプリントサーバ2A〜2Dへ印刷処理(プリントジョ
ブ)を要求する。この要求を受け付けたプリントサーバ
は、ジョブの内容をチェックして適当な画像処理を施し
ながら、画像データをそのプリントサーバに接続された
プリンタへもしくは他のプリントサーバへ出力する。こ
れによってユーザが所望する印刷処理が実現される。The user prints to one of the print servers 2A to 2D on the net by using a graphical user interface (GUI) in the client 3 or a print command provided in an application such as word processing software. Request (print job). The print server that receives this request outputs the image data to the printer connected to the print server or to another print server while performing the appropriate image processing by checking the content of the job. As a result, the print processing desired by the user is realized.
【0027】なお、プリントサーバに接続されたプリン
タへ画像データを出力する場合をダイレクトプリント、
他のプリントサーバを介して別のプリンタに画像データ
を出力する場合をリダイレクトプリントと呼ぶ。Direct printing is used to output image data to a printer connected to the print server.
The case where image data is output to another printer via another print server is called redirect printing.
【0028】図2は、図1に示した各種のプリンタ1A
〜1D中の一例を示す断面図である。以下、参考まで
に、図2に示すプリンタ1について説明する。FIG. 2 shows various printers 1A shown in FIG.
1 to 1D are cross-sectional views showing an example. The printer 1 shown in FIG. 2 will be described below for reference.
【0029】プリンタ1の内部に設けられた画像形成部
M1は、LAN4上の端末装置もしくは公衆回線から送
信された画像情報に基づき、記録紙上に原稿画像に対応
したトナー像を形成する印字部M2と、この印字部M2
に対して記録紙を供給する給紙部M3と、で構成され
る。ここで、印字部M2は、処理部からのディジタル画
像データに従って、周知の電子写真法により記録用紙上
にトナー像を形成するものであり、帯電装置M4によっ
て均一に帯電された感光体ドラムM5の表面を、レーザ
ー露光装置M6からのレーザー光により露光して静電潜
像を形成するものである。レーザー露光装置M6は、画
像データに基づいて駆動電流が変調される半導体レーザ
ー等のレーザー素子(図示せず)、レーザー素子からの
レーザー光を感光体ドラムM5の表面の移動方向と直交
する方向に周期的に偏向する回転多面鏡M7、反射ミラ
ーM8、等で構成されている。The image forming unit M1 provided inside the printer 1 forms a toner image corresponding to the original image on the recording paper based on the image information transmitted from the terminal device on the LAN 4 or the public line. And this printing unit M2
And a paper feeding unit M3 that supplies recording paper to the paper. Here, the printing unit M2 forms a toner image on a recording sheet by a well-known electrophotographic method in accordance with the digital image data from the processing unit, and the toner image of the photosensitive drum M5 uniformly charged by the charging device M4. The surface is exposed by laser light from the laser exposure device M6 to form an electrostatic latent image. The laser exposure device M6 is a laser element (not shown) such as a semiconductor laser whose drive current is modulated based on image data, and directs laser light from the laser element in a direction orthogonal to the moving direction of the surface of the photosensitive drum M5. It is composed of a rotating polygon mirror M7 that periodically deflects, a reflecting mirror M8, and the like.
【0030】感光体ドラムM5上の静電潜像は、現像器
M9,M10により現像されて感光体ドラムM5上に所
望色のトナー像が形成され、このトナー像は、転写部M
11により、給紙部M3の複数のトレイM3a〜3eの
いずれかから経路Aに沿って送られてきた記録紙に転写
される。なお、トレイM3a〜3cは、それぞれサイズ
の異なった用紙が収納される給紙トレイであり、トレイ
M3dは両面複写のための記録紙を一時的に収納する中
間トレイであり、M3eは数百枚の記録紙を収納する大
容量トレイである。転写後に、感光体ドラムM5の表面
に残った残留トナーは、クリーニング部M12により除
去される。The electrostatic latent image on the photoconductor drum M5 is developed by the developing devices M9 and M10 to form a toner image of a desired color on the photoconductor drum M5. This toner image is transferred to the transfer portion M.
By 11, the image is transferred onto the recording paper sent along the path A from any one of the plurality of trays M3a to 3e of the paper feeding unit M3. It should be noted that the trays M3a to 3c are paper feed trays for storing papers of different sizes, the tray M3d is an intermediate tray for temporarily storing recording papers for double-sided copying, and the M3e is for several hundred sheets. It is a large-capacity tray that stores the recording paper of. After the transfer, the residual toner remaining on the surface of the photosensitive drum M5 is removed by the cleaning unit M12.
【0031】転写後の記録紙は、剥離部M13により感
光体ドラムM5から剥離され、コンベアM14で定着部
M15に搬送され、定着処理を受ける。定着後の用紙の
経路は、切り替えゲートM16により、排出部M17に
進む経路Bと、両面複写のために反転部M18を介して
中間トレイM3dに進む経路Cのいずれかに切り換えら
れる。両面複写の場合には反転部M18で記録紙の表裏
が反転され、中間トレイM3dを経由し経路Aに沿って
再度印字部M2に供給され、今度は記録紙の裏面にトナ
ー像が形成された後、排出部M17に送られる。The recording sheet after transfer is peeled from the photosensitive drum M5 by the peeling section M13, conveyed to the fixing section M15 by the conveyor M14, and subjected to the fixing process. The path of the sheet of paper after fixing is switched by the switching gate M16 to either the path B which goes to the discharging section M17 or the path C which goes to the intermediate tray M3d through the reversing section M18 for double-sided copying. In the case of double-sided copying, the front and back sides of the recording paper are reversed at the reversing unit M18 and are supplied again to the printing unit M2 along the path A via the intermediate tray M3d, and a toner image is formed on the back surface of the recording paper this time. After that, it is sent to the discharge unit M17.
【0032】図3は、本発明に係る画像処理装置の一実
施形態を示す図であり、具体的にはプリントサーバ2内
のハードウェアブロック図である。プリントサーバ2に
は、画像形成部(Image Output Terminal : IOT)1
10(図1に示したプリンタ1に相当)が接続され、ま
た、ネットワークインタフェース(Ether I/F )101
を介してLAN4が接続されている。なお、本実施形態
では、LANの例としてイーサネットが示されている。FIG. 3 is a diagram showing an embodiment of the image processing apparatus according to the present invention, and is specifically a hardware block diagram in the print server 2. The print server 2 includes an image forming unit (Image Output Terminal: IOT) 1
10 (corresponding to the printer 1 shown in FIG. 1) is connected, and a network interface (Ether I / F) 101
The LAN 4 is connected via. In the present embodiment, Ethernet is shown as an example of LAN.
【0033】プリントサーバ2は、上記のネットワーク
インタフェース101、画像データを圧縮する圧縮器
(Compressor)102、画像データを転送するためのD
MA(Direct Memory Access)コントローラ103、ソ
フトウェア処理を行うためのCPU104、RAM/R
OM/クロック発生回路等のCPU周辺チップ群(Peri
pheral)105、画像データを格納するためのページバ
ッファ(リングバッファ)106、画像データを一時的
に格納しておくためのハードディスク108(HD)、
ハードディスクを制御するためのディスクコントローラ
(DiskCont)107、画像データを伸長するための伸長
器109、及び、画像データや制御データが転送される
内部バス111、などで構成されている。The print server 2 includes the above-mentioned network interface 101, a compressor (Compressor) 102 for compressing image data, and a D for transferring image data.
MA (Direct Memory Access) controller 103, CPU 104 for performing software processing, RAM / R
CPU peripheral chips such as OM / clock generator (Peri
pheral) 105, a page buffer (ring buffer) 106 for storing image data, a hard disk 108 (HD) for temporarily storing image data,
It is composed of a disk controller (DiskCont) 107 for controlling the hard disk, a decompressor 109 for decompressing image data, an internal bus 111 for transferring image data and control data, and the like.
【0034】次に、プリントサーバ2の全体動作につい
て説明する。ネットワークからの画像情報は、通常、ペ
ージ記述言語(Page Description Language :PDL)
で記述されており、一方、IOT110が取り扱う画像
情報はラスタデータ(ビットマップデータ)であるた
め、そのままではIOT110に出力することができな
い。従って、LAN4から画像情報が入力されると、ま
ず画像情報をラスタデータに変換することが必要であ
る。この処理をデコンポーズと呼び、デコンポーズ処理
を行うモジュール(ソフトウェア又はハードウェア)を
デコンポーザと呼ぶ。デコンポーズ処理が行われかつラ
スタデータに変換された画像データは、圧縮器102に
よって圧縮され、ページバッファ106にいったん格納
される。そして、ページバッファ106は容量が小さい
ため、ハードディスク108へ画像データを転送し、一
時的に待避させておく。Next, the overall operation of the print server 2 will be described. Image information from the network is usually Page Description Language (PDL).
However, since the image information handled by the IOT 110 is raster data (bitmap data), it cannot be output to the IOT 110 as it is. Therefore, when image information is input from the LAN 4, it is necessary to first convert the image information into raster data. This processing is called decomposing, and the module (software or hardware) that performs the decomposing processing is called a decomposer. The image data that has undergone the decomposing process and has been converted into raster data is compressed by the compressor 102 and temporarily stored in the page buffer 106. Since the page buffer 106 has a small capacity, the image data is transferred to the hard disk 108 and temporarily saved.
【0035】一方、圧縮処理がなされた画像データをI
OT110へ出力する場合には、後に詳述するようにペ
ージバッファ106への書込み/読み出しを経て、画像
データが伸長器109に転送され、そこで伸長処理がな
された画像データがIOT110に出力される。IOT
110では、図2に示した画像形成部M1において、入
力された画像データから生成された2値データに基づ
き、レーザー光のオン/オフを各画素毎に制御すること
により網点を形成して中間調画像を再現し、これにより
印刷画像を出力する。On the other hand, the compressed image data is I
When outputting to the OT 110, the image data is transferred to the decompressor 109 through writing / reading to the page buffer 106 as described later in detail, and the decompressed image data is output to the IOT 110. IOT
In 110, in the image forming unit M1 shown in FIG. 2, halftone dots are formed by controlling on / off of laser light for each pixel based on the binary data generated from the input image data. The halftone image is reproduced, and the print image is output.
【0036】このような一連の処理によって画像データ
が出力されるが、画像情報をデコンポーズする処理、圧
縮処理を施しながらページバッファ106へ圧縮画像デ
ータを格納する処理、ハードディスク108へ一時待避
するもしくはハードディスクからページバッファ106
に画像データを戻す処理、及びページバッファ106か
ら画像データを伸長しながらIOT110へ出力する処
理は、内部バス111のバスアービトレーション及び時
分割処理により、可能である限り並列に処理される。こ
れにより、結果的に処理速度を向上することが可能とな
る。The image data is output by such a series of processes. The process of decomposing the image information, the process of storing the compressed image data in the page buffer 106 while performing the compression process, the temporary saving to the hard disk 108 or the hard disk. To page buffer 106
The process of returning the image data to the IOT 110 and the process of outputting the image data from the page buffer 106 to the IOT 110 while decompressing the image data are processed in parallel by the bus arbitration and the time division process of the internal bus 111 as much as possible. As a result, the processing speed can be improved as a result.
【0037】図4は、プリントサーバ2が有する制御部
10を機能ブロック図として表したものである。また、
図5は、制御部10の制御に当たって利用される管理テ
ーブルが示されている。FIG. 4 is a functional block diagram showing the control unit 10 of the print server 2. Also,
FIG. 5 shows a management table used for controlling the control unit 10.
【0038】図4の制御部10は、ハードウエア面から
見れば、図3において符号10で示すように、例えばC
PU104及びCPU周辺チップ群105などにより実
現される。ちなみに、CPU周辺チップ群105に含ま
れるROMにはCPU104を制御部として機能させる
ための制御プログラムなどが格納され、またCPU周辺
チップ群105に含まれるRAMには後述するジョブ管
理テーブルなどが形成される。なお、図4には、説明の
都合上、圧縮器102、ディスクコントローラ107な
どに相当する構成も示されている。From a hardware standpoint, the control unit 10 of FIG. 4 is, for example, C as shown by reference numeral 10 in FIG.
It is realized by the PU 104, the CPU peripheral chip group 105, and the like. Incidentally, the ROM included in the CPU peripheral chip group 105 stores a control program or the like for causing the CPU 104 to function as a control unit, and the RAM included in the CPU peripheral chip group 105 is formed with a job management table described later. It For convenience of description, FIG. 4 also shows configurations corresponding to the compressor 102, the disk controller 107, and the like.
【0039】図4において、制御部10は、ジョブ受付
部201及びジョブスケジューリング部203を含み、
それらの間では、ジョブキューイング部202を仲立ち
としてジョブ処理のためのやり取りが行われる。In FIG. 4, the control unit 10 includes a job receiving unit 201 and a job scheduling unit 203,
Among them, the job queuing unit 202 acts as an intermediary for exchange for job processing.
【0040】まず、初期化部200によってシステムの
立上げが行われ、ジョブ受け付け可能状態となる。この
時、スキップ回数選択部211により、デフォルト値と
して所定のスキップ回数(上限値)がセットされる。ス
キップ回数は、空き領域のサーチを行う場合のサーチ終
了条件に関わるもので、後述のスキップポインタを越え
てサーチを行う場合におけるデータブロックの飛び越し
数に相当する。このスキップ回数は、ぺージバッファへ
のデータ入力順序とページバッファからのデータ出力順
序の食い違い度合い(相違度)に基づいて適宜設定され
ることが望ましい。例えば、順序の食い違いが1〜3プ
レート分程度であればスキップ回数を1にセットすれば
よいし、それが10プレート以内ならばスキップ回数を
2にセットし、それ以上ならばスキップ回数を3にセッ
トする。このように食い違い度合いに応じてスキップ数
を選択するのは、食い違い度合いが大きいのにもかかわ
らずスキップ数を小さい値にしておくと、データの書込
み待ち頻度が大きくなり、結果として、処理速度が低下
するためである。なお、スキップポインタから数えた空
き領域の個数をn(n≧1)とした場合、スキップ数は
n−1となる。First, the initialization unit 200 starts up the system, and the job can be accepted. At this time, the skip count selection unit 211 sets a predetermined skip count (upper limit) as a default value. The number of skips relates to a search end condition when searching for an empty area, and corresponds to the number of data block jumps when performing a search beyond a skip pointer described later. It is desirable that the number of skips be appropriately set based on the degree of discrepancy between the data input order to the page buffer and the data output order from the page buffer. For example, if the order difference is about 1 to 3 plates, the number of skips may be set to 1. If it is within 10 plates, the number of skips may be set to 2, and if it is more than that, the number of skips may be set to 3. set. In this way, the number of skips is selected according to the degree of discrepancy.If the number of skips is set to a small value even though the degree of discrepancy is large, the data write waiting frequency increases, and as a result, the processing speed increases. This is because it will decrease. When the number of empty areas counted from the skip pointer is n (n ≧ 1), the number of skips is n−1.
【0041】上記の初期化後、クライアントからネット
を介してジョブ受付部201がジョブ処理要求を受け付
けると、そこでジョブ内容が解析され、ジョブ内容格納
部210によってその解析結果がジョブチケットテーブ
ル14に格納される(図5参照)。これによりジョブキ
ューイング部202がキューイングを行い、一方、ジョ
ブ受付部201の処理は次のジョブの受け付け待ちとな
る。After the above initialization, when the job accepting unit 201 accepts a job processing request from the client via the net, the job content is analyzed there, and the analysis result is stored in the job ticket table 14 by the job content storing unit 210. (See FIG. 5). As a result, the job queuing unit 202 performs queuing, while the processing of the job receiving unit 201 waits for the next job.
【0042】ジョブスケジューリング部203は、ジョ
ブキューイング部202のジョブキュー12(図5参
照)内にジョブが存在するかを常に監視しており、存在
すれば要求取り出し部212によってジョブキュー12
からジョブを取り出し、その内容をチェックする。本実
施形態では、そのチェックの結果、処理可能なジョブで
あると判断されると、スキップ回数選択部211によっ
て、ジョブ内容に応じてスキップ回数が再セットされ
る。このように、本実施形態では、上述したようなIO
Tすなわち環境によるものとジョブ内容によるものとで
スキップ回数を最適化することにより、最も確からしい
スキップ回数を決定することができる。The job scheduling unit 203 constantly monitors whether or not a job exists in the job queue 12 (see FIG. 5) of the job queuing unit 202.
Take the job from and check its contents. In the present embodiment, when it is determined that the job can be processed as a result of the check, the skip count selection unit 211 resets the skip count according to the job content. Thus, in this embodiment, the IO as described above is used.
The most probable skip count can be determined by optimizing the skip count depending on T, that is, the environment and the job content.
【0043】なお、図5に示すように、ジョブチケット
テーブル14内には、ジョブ内容の一部としてスキップ
回数も書き込まれている。このスキップ回数の情報は、
クライエンアト側でジョブを作成する際にジョブを構成
する情報の1つとして画像データに付随させておくこと
ができるが、例えば、部数、両面/片面などの一般のジ
ョブ情報に基づいてプリントサーバ側でスキップ回数を
自動算定してもよい。As shown in FIG. 5, the number of skips is also written in the job ticket table 14 as a part of the job content. This skip count information is
When the job is created on the client side, it can be attached to the image data as one of the information constituting the job. For example, on the print server side based on general job information such as the number of copies, double-sided / single-sided, etc. The number of skips may be calculated automatically with.
【0044】さて、ここまで処理を行うと初めて、画像
生成/圧縮/書込み部213によって、上述のような画
像データの出力のための処理がなされる。その際、ペー
ジバッファ内の画像データの管理するために必要な情
報、例えば空き領域、格納画像データ番号(Plate N
o.)、次に書き込むアドレス(アドレスポインタ)、
後述のスキップポインタ等は、ページバッファ管理部2
14が一括管理している。具体的には、バッファ内のデ
ータ構造は、図5に示す管理テーブル内のバッファテー
ブル(BufferTable )16及びバッファリング情報テー
ブル(Buffering Info)18で管理されており、前者の
テーブル16にはバッファ全体に関する情報、後者のテ
ーブル18にはバッファ内に格納された各プレートに関
する情報がそれぞれ格納されている。For the first time, the image generation / compression / writing unit 213 performs the above-described processing for outputting image data. At that time, the information necessary for managing the image data in the page buffer, such as an empty area and the stored image data number (Plate N
o. ), The address to write next (address pointer),
The skip pointer and the like, which will be described later, are stored in the page buffer management unit 2
14 collectively manage. Specifically, the data structure in the buffer is managed by the buffer table (BufferTable) 16 and the buffering information table (Buffering Info) 18 in the management table shown in FIG. The latter table 18 stores information about each plate stored in the buffer.
【0045】ジョブスケジューリング部203は、出力
の準備が整うとページバッファ管理部214を介して画
像読み出し部216に指令を与える。これによりハード
ディスクからページバッファへ画像データが所定の順序
で書き込まれた後、出力処理制御部217によって、そ
のページバッファから画像データが所定の順序で読み出
され、出力処理が行われる。The job scheduling unit 203 gives a command to the image reading unit 216 via the page buffer management unit 214 when preparation for output is completed. As a result, after the image data is written from the hard disk to the page buffer in a predetermined order, the output processing control unit 217 reads the image data from the page buffer in a predetermined order and performs an output process.
【0046】具体的に説明すると、ハードディスクから
読み出す各画像データ毎にその格納領域を確保するため
に、ジョブスケジューリング部203は、ページバッフ
ァ管理部214に空き領域のサーチ及び有効空き領域の
特定を要求する。その空き領域のサーチは、スキップ処
理(空き領域検索)部215によって行われ、その空き
領域のサーチの際に、スキップ処理が必要となれば、ス
キップ回数選択部211にセットされたスキップ回数を
上限として、そのスキップ処理が行われる。ここで、実
際のスキップ回数が、セットされたスキップ回数に至る
までに、次の画像データを格納可能な有効空き領域が見
つかれば、画像読み出し部216の書込み制御により、
その空き領域に次の画像データが書き込まれる。その一
方、そのような有効空き領域が見付からない場合には書
込み待ち状態が維持される。これらの各モジュール間の
つながりは図9〜図12に示すフローチャートで明らか
にする。なお、以上の説明から明らかなように、ページ
バッファ管理部214及び画像読み出し部216は、書
込み制御手段として機能しており、出力処理制御部21
7は読出し手段として機能している。More specifically, in order to secure a storage area for each image data read from the hard disk, the job scheduling unit 203 requests the page buffer management unit 214 to search for a free area and specify an effective free area. To do. The search for the empty area is performed by the skip processing (free area search) unit 215, and if the skip processing is required at the time of searching for the empty area, the skip count set in the skip count selection unit 211 is set as the upper limit. As such, the skip processing is performed. Here, if an effective empty area in which the next image data can be stored is found before the actual skip count reaches the set skip count, the write control of the image reading unit 216 causes
The next image data is written in the empty area. On the other hand, when such an effective free area is not found, the write waiting state is maintained. The connections between these modules will be clarified in the flowcharts shown in FIGS. As is clear from the above description, the page buffer management unit 214 and the image reading unit 216 function as a writing control unit, and the output processing control unit 21.
Reference numeral 7 functions as a reading means.
【0047】次に、本発明に係るページバッファ管理に
ついて図6、図7を利用して具体的に説明する。Next, the page buffer management according to the present invention will be specifically described with reference to FIGS. 6 and 7.
【0048】図6には、バッファ管理モデルが示されて
いる。ページバッファ106は、いわゆるリングバッフ
ァであり、その先頭アドレス24から最終アドレス26
までがバッファ全領域22である。なお、先頭アドレス
24が絶対アドレスで示される場合にはそれはベースア
ドレスを示し、相対アドレスで示される場合にはそれは
アドレス0となる。同様に、最終アドレスが絶対アドレ
スで示される場合にはそれはベースアドレスにバッファ
全領域を加算したアドレスを示し、絶対アドレスで示さ
れる場合にはそれはバッファ全領域から1を引いたアド
レスを示す。なお、図4に示したバッファ管理部214
は、基本的に、相対アドレスを使用している。A buffer management model is shown in FIG. The page buffer 106 is a so-called ring buffer, and its start address 24 to end address 26
Up to is the entire buffer area 22. When the head address 24 is indicated by an absolute address, it indicates a base address, and when it is indicated by a relative address, it is an address 0. Similarly, when the final address is indicated by an absolute address, it indicates an address obtained by adding the buffer entire region to the base address, and when indicated by an absolute address, it indicates an address obtained by subtracting 1 from the buffer entire region. The buffer management unit 214 shown in FIG.
Basically uses relative addresses.
【0049】符号18は各画像データ(プレート)の格
納領域を示している。各プレートの格納領域の先頭アド
レス及びサイズは図5に示したバッファリング情報テー
ブル18内に格納される。それに関連し、スキップ処理
(空き領域検索)部215が空き領域のサーチを行うた
めの情報として、バッファリング情報テーブル18に
は、各プレート毎にそれが読み出されて上書き可能か
(ON)、あるいはまだ読み出されておらず上書き不可
能か(OFF)の情報も格納されている。Reference numeral 18 indicates a storage area for each image data (plate). The start address and size of the storage area of each plate are stored in the buffering information table 18 shown in FIG. In relation to this, as information for the skip processing (empty area search) unit 215 to search for an empty area, is it read out for each plate in the buffering information table 18 and can be overwritten (ON), Alternatively, information that has not been read yet and cannot be overwritten (OFF) is also stored.
【0050】書込みポインタPは、次の画像データ(プ
レート)の書き込むための空き領域をサーチする際の開
始アドレスを示す。この書込みポインタPは、現在示し
ているアドレスから画像データが書き込まれると、次の
空き領域の最初のアドレスへ移行する。例えば、図6の
ように書き込みポインタPが存在している状態におい
て、プレート2に続いて他のプレートが書き込まれる
と、書き込みポインタPは次の空き領域の最初のアドレ
スへ移動する。ただし、本実施形態において、スキップ
処理によって画像データを書き込んだ場合には書き込み
ポインタは移行せず、もとの位置に維持される。The write pointer P indicates the start address when searching for an empty area for writing the next image data (plate). The write pointer P shifts to the first address of the next empty area when the image data is written from the currently indicated address. For example, in the state where the write pointer P exists as shown in FIG. 6, when another plate is written after the plate 2, the write pointer P moves to the first address of the next empty area. However, in the present embodiment, when the image data is written by the skip processing, the write pointer does not move and is maintained at the original position.
【0051】なお、サーチ上、最終アドレスと先頭アド
レスは連続したアドレスとみなされるが、DMAなどを
行う都合上から、最終アドレスから先頭アドレスへ跨が
って画像データを格納することはできない。また、書き
込みポインタPと最終アドレス26との間が所定アドレ
ス長まで近付いた場合には、書き込みポインタPは、最
終アドレスから先頭アドレス側へ回り込んで、最初の空
き領域の先頭アドレスへジャンプする。Although the final address and the start address are regarded as consecutive addresses in the search, the image data cannot be stored over the end address and the start address for the convenience of DMA or the like. When the write pointer P and the final address 26 approach each other up to a predetermined address length, the write pointer P wraps around from the final address to the start address side and jumps to the start address of the first free area.
【0052】スキップポインタSは、前回のスキップ処
理により格納されたプレートの最終アドレスを示すもの
で、スキップ処理によりプレートを書き込むと、そのプ
レートの最終アドレスへ移行する。The skip pointer S indicates the final address of the plate stored by the previous skip processing. When the plate is written by the skip processing, the skip pointer S moves to the final address of the plate.
【0053】以上のようなバッファ管理モデルにおいて
プレートの書き込みを行った場合の例が図7に示されて
いる。この例では、プレート1,2,3,4,5,6,
7,8…の順序で書き込みが行われ、プレート2,4,
6,1,3,5,…の順序で読み出しが行われている。
また、この例ではスキップ回数の上限として1が設定さ
れている。FIG. 7 shows an example of writing the plate in the buffer management model as described above. In this example, plates 1, 2, 3, 4, 5, 6,
Writing is performed in the order of 7, 8 ...
Reading is performed in the order of 6, 1, 3, 5, ....
Further, in this example, 1 is set as the upper limit of the skip count.
【0054】まず、(A)では、ページバッファ106
にプレート1,2,3,4,5,6,7が格納される。
プレート7の後には比較的小さい空き領域30が存在し
ているが、プレート8を格納するのに十分な領域ではな
い。このためプレート8は書き込み待ち状態におかれ
る。書き込みポインタPは空き領域30の最初のアドレ
スを示している。First, in (A), the page buffer 106
The plates 1, 2, 3, 4, 5, 6, 7 are stored in.
There is a relatively small free space 30 after the plate 7, but not enough to accommodate the plate 8. Therefore, the plate 8 is placed in a write waiting state. The write pointer P indicates the first address of the free area 30.
【0055】この状態から、(B)に示すように、プレ
ート2が読み出されて当該領域32が解放されると、こ
のバッファ内容の変化を契機として、プレート8を格納
するために十分な領域をもった有効空き領域のサーチが
行われる。この場合、書き込みポインタPが示す空き領
域30は、依然として容量的にプレート8の書き込みを
行うことができないが、プレート1をスキップした位置
に存在する空き領域32(プレート2のもとの格納領
域)にはプレート8を書き込むことが可能である。そこ
で、当該領域32にプレート8が前詰めで書き込まれ
る。なお、これによりプレート8とプレート3との間に
小さい空き領域34が生じる。ここで、スキップポイン
タSはスキップ処理で書き込まれたプレート8の最終ア
ドレスに設定される。From this state, as shown in (B), when the plate 2 is read and the area 32 is released, an area sufficient for storing the plate 8 is triggered by the change in the buffer content. A search for an effective free area is carried out. In this case, the empty area 30 indicated by the write pointer P cannot still write on the plate 8 due to capacity, but the empty area 32 existing at the position where the plate 1 is skipped (the original storage area of the plate 2) It is possible to write a plate 8 on it. Therefore, the plate 8 is written in the area 32 in a right-justified manner. Note that this creates a small empty area 34 between the plate 8 and the plate 3. Here, the skip pointer S is set to the final address of the plate 8 written in the skip processing.
【0056】なお、仮に空き領域32がプレート8を格
納するために十分な容量をもっていない場合、既にスキ
ップ数がその上限(=1)に到達しているので、たとえ
それ以降に有効空き領域が存在していても、サーチはそ
こで終了し、プレート8は引き続いて書き込み待ち状態
におかれる。これは上述のように空き領域連続化のため
である。If the empty area 32 does not have a sufficient capacity to store the plate 8, the skip number has already reached its upper limit (= 1), so that there is an effective empty area even after that. If so, the search ends there, and the plate 8 continues to be in a write wait state. This is because of the continuous free area as described above.
【0057】(B)の状態から、(C)に示すように、
プレート4の読み出しによりその格納領域36が解放さ
れると、プレート9を格納する有効空き領域のサーチが
実行される。この場合、空き領域30には容量的に格納
不可能であり、またプレート1及びそれに連結されたプ
レート8のデータブロックをスキップして発見された空
き領域34も容量的に格納不可能と判断されるが、引き
続いてプレート9をスキップしたところに存在する空き
領域36(プレート4のもとの格納領域)にはプレート
9を格納可能であるので、その空き領域36に前詰めで
プレート9が書き込まれる。From the state of (B), as shown in (C),
When the storage area 36 is released by reading the plate 4, a search for an effective free area for storing the plate 9 is executed. In this case, it is determined that the empty area 30 cannot be stored in terms of capacity, and the empty area 34 found by skipping the data block of the plate 1 and the plate 8 connected to it is also not possible in terms of capacity. However, since the plate 9 can be stored in the empty area 36 (original storage area of the plate 4) that exists where the plate 9 is subsequently skipped, the plate 9 is written in the empty area 36 in a left-justified manner. Be done.
【0058】ここで、スキップ数は、スキップポインタ
S以降のスキップ数としてカウントされ、つまりスキッ
プポインタS以前のスキップ数は関係ない。Here, the skip number is counted as the skip number after the skip pointer S, that is, the skip number before the skip pointer S is irrelevant.
【0059】(D)には、以上のルールに従ってバッフ
ァ管理を進行させた場合の状態が示されている。この状
態では、空き領域38の最初に書き込みポインタPが存
在し、プレート17の最終アドレスにスキップポインタ
Sが存在している。また、プレート17の後に、スキッ
プ処理の効果として形成された空き領域40、42、4
4の連続体が存在している。(D) shows the state when the buffer management is advanced according to the above rules. In this state, the write pointer P exists at the beginning of the empty area 38, and the skip pointer S exists at the final address of the plate 17. Further, after the plate 17, empty areas 40, 42, 4 formed as an effect of the skip process are formed.
There are 4 continuums.
【0060】この(D)の状態において、比較的大きな
データ量のプレート18を格納しようとした場合、最初
に発見された空き領域38には格納不可能であるが、プ
レート15,16,17のデータブロックに対するスキ
ップを経て発見された空き領域40は次の空き領域42
にも連続しており、プレート18を十分に格納可能であ
る。そこで、その2つの領域に前詰めでプレート18が
格納される。In this state (D), if an attempt is made to store a plate 18 having a relatively large amount of data, it is impossible to store it in the first found free area 38, but the plates 15, 16 and 17 cannot be stored. The empty area 40 found after skipping the data block is the next empty area 42.
, And the plate 18 can be stored sufficiently. Therefore, the plates 18 are stored in the two areas in the left-justified manner.
【0061】図8には、サーチ終了条件を定めることな
く各プレートの書き込み制御を行った結果が比較例とし
て示されている。この手法では、プレートの書き込み及
び読み出しが次第に進行していくと、先に格納したもの
と後から格納したものが混在してしまい、更にばらばら
に解放されていくため、例えば、図8の空き領域46、
48、50、52で示すように各空き領域が分散する可
能性が高くなる。その結果、プレート18を格納しよう
として、書き込みポインタPから有効空き領域をサーチ
していっても(スキップ数の上限はない)、バッファ全
体として見れば空き領域が多いにもかかわらず、結局、
いずれの空き領域にもプレート18を書き込むことがで
きない。すなわち、この比較例ではデッドロックが発生
している。FIG. 8 shows, as a comparative example, the result of performing the write control of each plate without defining the search termination condition. In this method, as writing and reading of the plate gradually progresses, the previously stored ones and the later stored ones are mixed, and the released ones are further released. 46,
As shown by 48, 50 and 52, there is a high possibility that the free areas will be dispersed. As a result, even if an attempt is made to store the plate 18 and an effective free area is searched from the write pointer P (there is no upper limit of the number of skips), although there are many free areas as a whole buffer, in the end,
The plate 18 cannot be written in any of the empty areas. That is, deadlock has occurred in this comparative example.
【0062】その一方、本実施形態によれば、書き込み
ポインタPから空き領域のサーチを行う際に、スキップ
ポインタSを基準としてスキップ数の上限(サーチする
空き領域の個数の上限)を定めたので、書き込み順序が
近い関係にある2つのプレートをあまり互いに離すこと
なくページバッファ上に格納でき、その結果、空き領域
が連続する確率を高められる。これは書き込み順序が比
較的近い関係にあるプレート間ではその読み出し順序も
近い関係にあるだろうとの経験則に基づいたもので、簡
単な書き込み制御でありながら、デッドロックを有効に
防止できる。On the other hand, according to the present embodiment, when the empty area is searched from the write pointer P, the upper limit of the number of skips (the upper limit of the number of empty areas to be searched) is set based on the skip pointer S. , Two plates having a close writing order can be stored in the page buffer without being separated from each other, and as a result, the probability of continuous empty areas can be increased. This is based on the empirical rule that the read order will be close between the plates whose write order is relatively close, and deadlock can be effectively prevented even though the write control is simple.
【0063】もちろん、スキップ数の上限は、書き込み
待ちが発生してデータ処理速度があまり低下しないよう
に適宜設定するのが望ましい。Of course, it is desirable to set the upper limit of the number of skips as appropriate so that a write wait does not occur and the data processing speed does not decrease so much.
【0064】次に、本実施形態の画像処理装置の動作を
図9〜図12に基づいて説明する。図9は、図4に示し
たジョブ受付部201の動作を示すフローチャートであ
る。まず、S1では、クライアントからのジョブ処理要
求の有無が判定され、ジョブ処理要求があると、S2に
おいてジョブ内容を確認し、処理可能であればジョブ内
容をジョブ管理テーブル(ジョブチケット14)に格納
する。S3では、スキップ回数の上限としてデフォルト
値をセットする。この値は、格納された順に解放される
といった原則に対して、どの程度その原則とそぐわない
状態になり得るかによって適宜選択される。そして、S
4では、ジョブチケット14をキューイングし、S5で
は、ジョブ要求があったことをジョブスケジューリング
部203に通知し、S1に戻って次のジョブ要求を待
つ。Next, the operation of the image processing apparatus of this embodiment will be described with reference to FIGS. FIG. 9 is a flowchart showing the operation of the job receiving unit 201 shown in FIG. First, in S1, it is determined whether or not there is a job processing request from the client. If there is a job processing request, the job content is confirmed in S2, and if processing is possible, the job content is stored in the job management table (job ticket 14). To do. In S3, a default value is set as the upper limit of the skip count. This value is appropriately selected depending on the degree to which the principle of releasing in the order of storage can be inconsistent with the principle. And S
In step 4, the job ticket 14 is queued, in step S5, the job scheduling unit 203 is notified that there is a job request, and the process returns to step S1 to wait for the next job request.
【0065】図10は、図4で示したジョブスケジュー
リング部203の動作を示すフローチャートである。FIG. 10 is a flowchart showing the operation of the job scheduling unit 203 shown in FIG.
【0066】S6では、ジョブ受付部201からの通知
を受けると、ジョブキュー12からジョブチケット14
を取り出す。そして、S7では、ジョブ内容をチェック
し、適当なスキップ回数が与えられているかを動的にチ
ェックする。S8では、画像データを出力可能なように
処理する。この処理の詳細については図11に示されて
る。S9では、画像データを出力するために、その画像
データをページバッファ上に書き込む。この場合の処理
の詳細については図12に示されている。S10では、
上記のS8及びS9の準備が整い、出力可能になったか
どうかをチェックし、不可能であればS11に移行し、
可能であればS12が実行される。S11では、S8及
びS9の処理のいずれの準備がまだなのかを調べ、S8
又はS9に処理を戻す。そして、S12では、画像デー
タの出力処理が実行される。S13では、全ての画像デ
ータの出力が完了したかどうかがチェックされ、まだで
あればS10に戻り、全ての出力が完了した場合はS1
4に進む。このS14では、ハードディスク内の画像デ
ータが消去される。S15では、ジョブの終了処理が行
われ、具体的にはジョブチケットの消去等がなされる。In step S6, when the notification is received from the job receiving unit 201, the job ticket 14 is transferred from the job queue 12.
Take out. Then, in S7, the contents of the job are checked to dynamically check whether or not an appropriate number of skips is given. In S8, the image data is processed so that it can be output. Details of this process are shown in FIG. In S9, in order to output the image data, the image data is written in the page buffer. The details of the processing in this case are shown in FIG. In S10,
It is checked whether the above S8 and S9 are ready and output is possible. If not, the process proceeds to S11,
If possible, S12 is executed. In S11, it is checked which of the preparations in S8 and S9 is not completed, and S8
Alternatively, the process is returned to S9. Then, in S12, the output process of the image data is executed. In S13, it is checked whether or not the output of all the image data is completed, and if not, the process returns to S10, and if all the output is completed, S1
Proceed to 4. In this S14, the image data in the hard disk is erased. In S15, the job ending process is performed, and specifically, the job ticket is deleted.
【0067】なお、S16は、S12による出力処理の
起動によって出力処理を行うモジュールを示しており、
メイン処理(図9〜12で示した動作)と並列して動作
する。出力処理の内容については、図2、図3に基づい
て説明した通りである。Note that S16 represents a module that performs output processing by starting the output processing in S12.
It operates in parallel with the main processing (operations shown in FIGS. 9 to 12). The content of the output process is as described based on FIGS. 2 and 3.
【0068】図11は、図10で示したS8に相当する
画像処理部での動作を示したものである。FIG. 11 shows the operation in the image processing section corresponding to S8 shown in FIG.
【0069】まず、S21ではデコンポーザが起動さ
れ、S22ではデコンポーズ処理が実行される。この処
理は、S16の出力処理と同様、メイン処理(図9〜1
2で示した動作)と並列して動作可能である。クライア
ントから送られた画像情報は、ページ記述言語であるた
め、ここではデコンポーズによってラスタデータが生成
される。S23では、ページバッファ上にデコンポーズ
結果を格納する領域を要求する。この場合、S24の判
断において、領域を確保可能であれば処理がS26に進
み、不可能であれば処理がS25に進む。なお、この領
域検索は、画像データの圧縮及びハードディスクへの書
き込みに先立って行われるもので、すなわち、画像デー
タを格納した順番と同一の順番で解放が行われるため、
上記のスキップ処理は行われない。S25では、空き領
域待ち状態になり、S26では、S22によってラスタ
データがページバッファ上に格納されるのを待つ。そし
て、S27では、格納されたラスタデータを圧縮する。
S28では、圧縮した圧縮画像データをハードディスク
に書き込む処理を起動する。なお、S29におけるハー
ドディスクに書き込む処理は、S22のデコンポーズ処
理やS16の出力処理と同様、メイン処理(図9〜12
の動作)と並列して実行される。First, the decomposer is activated in S21, and the decompose process is executed in S22. This processing is similar to the output processing of S16, and is the main processing (see FIGS.
2) can be operated in parallel. Since the image information sent from the client is in the page description language, raster data is generated here by decomposing. In S23, an area for storing the decomposing result is requested on the page buffer. In this case, in the determination of S24, if the area can be secured, the process proceeds to S26, and if not, the process proceeds to S25. Note that this area search is performed prior to compression of image data and writing to the hard disk, that is, because the release is performed in the same order as the order in which the image data was stored,
The above skip processing is not performed. In S25, a standby state is waited, and in S26, the process waits for raster data to be stored in the page buffer in S22. Then, in S27, the stored raster data is compressed.
In S28, the process of writing the compressed image data that has been compressed to the hard disk is started. Note that the processing of writing to the hard disk in S29 is the same as the main processing (FIGS. 9 to 12) as in the decomposing processing of S22 and the output processing of S16.
Operation) is executed in parallel.
【0070】S30において、ハードディスクに書き込
む処理が終了すると、バッファに上書き可能になるた
め、バッファ管理テーブルを更新する。一方、S31で
は、S25でバッファの空き待ちだった場合、更新結果
に基づいて再度確保可能かどうかをS24にてチェック
する。S32では、全てのプレートについて書き込み処
理が終了したかどうかをチェックし、まだであれば、S
21に戻って処理を繰り返し、終了すればこのフローが
終了する。At S30, when the process of writing to the hard disk is completed, the buffer can be overwritten, so the buffer management table is updated. On the other hand, in S31, when waiting for the buffer to be free in S25, it is checked in S24 whether or not the buffer can be secured again based on the update result. In S32, it is checked whether the writing process has been completed for all the plates, and if not, S
Returning to step 21, the process is repeated, and when the process is completed, this flow ends.
【0071】図12は、図10で示したS9に相当する
画像処理部の動作を示したものである。FIG. 12 shows the operation of the image processing section corresponding to S9 shown in FIG.
【0072】S41では、ハードディスクから圧縮画像
データを読み出す処理を起動する。ここで、S42に示
すハードディスクから読み出す処理は、S29の書き込
み処理と同様、メイン処理(図9〜12で示した動作)
と並列して動作する。S43では、ページバッファ上に
読み出し結果を格納する領域を要求する。このS43に
おいて、サーチ開始を示す書き込みポインタの直後に、
画像データを書き込むための十分な領域が存在していな
ければ、引き続いて、バッファ管理テーブルにセットさ
れたスキップ回数を最大限として、スキップ処理を行
う。スキップ処理については、図5及び図6を基に説明
した通りである。S44において、領域を確保可能であ
れば処理がS46に進み、不可能であれば処理がS45
に進む。S45では、スキップ処理を行っても有効な空
き領域が確保できない場合、空き領域待ち状態になる。
S46では、S42によって圧縮画像データがバッファ
上に読み出されるのを待つ。In S41, the process of reading the compressed image data from the hard disk is started. Here, the processing of reading from the hard disk shown in S42 is the same as the writing processing of S29 (main processing (operation shown in FIGS. 9 to 12)).
Works in parallel with. In S43, an area for storing the read result is requested on the page buffer. In this S43, immediately after the write pointer indicating the start of search,
If there is not a sufficient area for writing the image data, the skip processing is subsequently performed while maximizing the number of skips set in the buffer management table. The skip processing is as described based on FIGS. 5 and 6. If the area can be secured in S44, the process proceeds to S46, and if not, the process proceeds to S45.
Proceed to. In S45, if the effective free area cannot be secured even after the skip processing is performed, the free area wait state is entered.
In S46, the process waits for the compressed image data to be read onto the buffer in S42.
【0073】S47は、S16で示した出力処理を行う
モジュールであり、ここで1ページの出力が終了する毎
に、その旨が通知される。S48では、1ページの出力
終了を示す情報に基づいてバッファ管理テーブルを更新
する。S49では、S45でバッファの空き待ちだった
場合、更新結果に基づいて再度確保可能かどうかをS4
4にてチェックする。そして、S50では、全ての出力
が終了したかどうかをチェックし、まだであれば、S4
1に戻って処理を繰り返し、終了すればこのフローが終
了する。S47 is a module for performing the output process shown in S16, and every time the output of one page is completed, the fact is notified. In S48, the buffer management table is updated based on the information indicating the end of output of one page. In S49, when waiting for the buffer to be free in S45, it is determined whether or not the buffer can be secured again based on the update result.
Check at 4. Then, in S50, it is checked whether or not all the outputs are completed, and if not, S4.
When the process returns to 1 and the process is repeated, and the process ends, this flow ends.
【0074】なお、実際の画像データの入出力制御に当
たっては、上述の他にもエラー解除処理、通信処理、等
が存在するが、本発明とは関係がないので省略してい
る。また、上記の実施形態では、プリンタを例として挙
げているが、バッファを有する画像処理装置であれば、
複写機、プリンタ装置、ファクシミリ装置、等どのよう
な画像処理装置であっても、本発明を適用できる。Note that, in actual input / output control of image data, error cancellation processing, communication processing, and the like exist in addition to the above, but they are omitted because they are not related to the present invention. Further, in the above embodiment, the printer is taken as an example, but if the image processing apparatus has a buffer,
The present invention can be applied to any image processing device such as a copying machine, a printer device, a facsimile device, and the like.
【0075】[0075]
【発明の効果】以上説明したように、本発明によれば、
バッファへの画像データの書き込み順序とバッファから
の画像データの読み出し順序とが異なるような画像処理
装置において、バッファ上で空き領域が分散化してしま
って次の画像データを格納できなくなる問題を解消で
き、また、空き領域待ちになる画像データを極力少なく
しながらデッドロックを効果的に防止できる。As described above, according to the present invention,
In an image processing device in which the order of writing image data to the buffer and the order of reading image data from the buffer are different, it is possible to solve the problem that the empty area is dispersed in the buffer and the next image data cannot be stored. Also, deadlock can be effectively prevented while minimizing the amount of image data waiting for a free space.
【図1】 本発明が適用されるシステム構成を示す概略
図である。FIG. 1 is a schematic diagram showing a system configuration to which the present invention is applied.
【図2】 本発明が適用されるプリンタの概略構成を示
す断面図である。FIG. 2 is a sectional view showing a schematic configuration of a printer to which the present invention is applied.
【図3】 本発明に係る画像処理装置の一実施形態を示
すハードウェアブロック図である。FIG. 3 is a hardware block diagram showing an embodiment of an image processing apparatus according to the present invention.
【図4】 本発明に係る制御部の構成を示す図である。FIG. 4 is a diagram showing a configuration of a control unit according to the present invention.
【図5】 管理テーブルを示す図である。FIG. 5 is a diagram showing a management table.
【図6】 バッファ管理モデルを示す図である。FIG. 6 is a diagram showing a buffer management model.
【図7】 本発明に係るバッファ書き込み制御を示す図
である。FIG. 7 is a diagram showing buffer write control according to the present invention.
【図8】 スキップ処理がなされない場合の比較例を示
す図ある。FIG. 8 is a diagram showing a comparative example when skip processing is not performed.
【図9】 本発明に係る制御手順を説明するフローチャ
ートである。FIG. 9 is a flowchart illustrating a control procedure according to the present invention.
【図10】 本発明に係る制御手順を説明するフローチ
ャートである。FIG. 10 is a flowchart illustrating a control procedure according to the present invention.
【図11】 本発明に係る制御手順を説明するフローチ
ャートである。FIG. 11 is a flowchart illustrating a control procedure according to the present invention.
【図12】 本発明に係る制御手順を説明するフローチ
ャートである。FIG. 12 is a flowchart illustrating a control procedure according to the present invention.
1A〜1D プリンタ、2A〜2D プリントサーバ、
102 圧縮器、106 ページバッファ、109 伸
長器、201 ジョブ受付部、202 ジョブキューイ
ング部、203 ジョブスケジューリング部、211
スキップ回数選択部、214 ページバッファ管理部、
215 スキップ処理部、P 書き込みポインタ、S
スキップポインタ。1A-1D printer, 2A-2D print server,
102 compressor, 106 page buffer, 109 decompressor, 201 job receiving unit, 202 job queuing unit, 203 job scheduling unit, 211
Skip count selection unit, 214 page buffer management unit,
215 skip processing unit, P write pointer, S
Skip pointer.
Claims (6)
と、 前記記憶部へ画像データを書き込む書込み手段と、 前記記憶部から画像データを読み出す読出し手段と、 前記記憶部に格納された画像データを出力する出力手段
と、を含み書き込まれた順序と異なる順序で出力する画
像処理装置において、 前記書込み手段は、 前記記憶部上の空き領域をサーチする際の開始アドレス
を管理する開始アドレス管理手段と、 前記空き領域をサーチするために前記開始アドレスを含
む前記バッファの一部のみを参照して次に格納すべき画
像データを格納可能な有効空き領域を特定する手段であ
って、前記開始アドレスからサーチを開始し、所定のサ
ーチ終了条件に達するまでサーチを行っても前記有効空
き領域が発見されない場合にサーチを終了する空き領域
サーチ手段と、 前記有効空き領域が発見された場合にそこに前記次の画
像データを書き込み、前記有効空き領域が発見されなか
った場合に前記次の画像データの書き込み待ち状態を維
持する書込み制御手段と、 を含むことを特徴とする画像処理装置。1. A storage unit in which a plurality of image data is written, a writing unit for writing image data in the storage unit, a reading unit for reading image data from the storage unit, and an image data stored in the storage unit. In the image processing apparatus, which includes an output unit for outputting, and outputs in an order different from the written order, the writing unit includes a start address management unit that manages a start address when searching a free area on the storage unit. A means for identifying an effective empty area in which image data to be stored next can be stored by referring to only a part of the buffer including the start address for searching the empty area, Empty to start the search and end the search if the effective free space is not found even if the search is performed until a predetermined search end condition is reached Area search means for writing the next image data therein when the valid free area is found, and for maintaining the waiting state for writing the next image data when the valid free area is not found An image processing apparatus comprising: a control unit.
長圧縮する圧縮手段を含み、 前記空き領域サーチ手段は、前記画像データのデータ量
を考慮して前記有効空き領域を特定することを特徴とす
る画像処理装置。2. The apparatus according to claim 1, further comprising a compression unit that compresses image data in a variable length prior to writing to the storage unit, and the empty area search unit considers a data amount of the image data. The image processing apparatus is characterized by specifying the effective free area.
に相当する基準アドレスを管理する基準アドレス管理手
段を含み、 前記空き領域サーチ手段は、前記基準アドレスから数え
て所定数n(n≧1)番目の空き領域までサーチを行っ
ても前記有効空き領域が発見されない場合にサーチを終
了することを特徴とする画像処理装置。3. The apparatus according to claim 1, further comprising a reference address management unit that manages a reference address corresponding to a final address of a storage area of the image data written last time, wherein the empty area search unit includes the reference address. An image processing apparatus characterized by terminating the search when the effective empty area is not found even when the search is performed up to a predetermined number n (n ≧ 1) empty area counted from.
する画像処理装置。4. The image processing apparatus according to claim 3, further comprising setting means for setting the predetermined number n.
み順序と前記バッファからの画像データの読み出し順序
の相違度に基づいて、前記所定数nを設定することを特
徴とする画像処理装置。5. The apparatus according to claim 4, wherein the setting unit sets the predetermined number n based on the degree of difference between the order of writing image data to the buffer and the order of reading image data from the buffer. An image processing device characterized by:
て動的に前記所定数nを設定することを特徴とする画像
処理装置。6. The image processing apparatus according to claim 4, wherein the setting unit dynamically sets the predetermined number n by referring to information associated with each image data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8029159A JP3000914B2 (en) | 1996-02-16 | 1996-02-16 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8029159A JP3000914B2 (en) | 1996-02-16 | 1996-02-16 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09224134A true JPH09224134A (en) | 1997-08-26 |
| JP3000914B2 JP3000914B2 (en) | 2000-01-17 |
Family
ID=12268490
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8029159A Expired - Fee Related JP3000914B2 (en) | 1996-02-16 | 1996-02-16 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3000914B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008135913A (en) * | 2006-11-28 | 2008-06-12 | Kyocera Mita Corp | Accessing method for data |
-
1996
- 1996-02-16 JP JP8029159A patent/JP3000914B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008135913A (en) * | 2006-11-28 | 2008-06-12 | Kyocera Mita Corp | Accessing method for data |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3000914B2 (en) | 2000-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5142667A (en) | Resource and memory management algorithms for electric printing and electronic reprographic systems | |
| US5717842A (en) | Method of managing memory allocation in a printing system | |
| JP4383625B2 (en) | Distributed processing system and control method thereof | |
| US20010054126A1 (en) | SIMD type processor, method and apparatus for parallel processing, devices that use the SIMD type processor or the parallel processing apparatus, method and apparatus for image processing, computer product | |
| US6671065B1 (en) | Method and apparatus to optimize transition of resources from a lower priority to a higher priority job | |
| US6651081B1 (en) | Method and apparatus for processing a high priority resource request in a system using a set of shared resources | |
| US6570670B1 (en) | Method and apparatus to enable job streaming for a set of commonly shared resources | |
| US6717690B1 (en) | Method and apparatus for managing job contention for system resources in an electrographic reproduction system where images are multibanded | |
| US6762857B1 (en) | Method and apparatus to enable processing multiple capabilities for a sub-job when using a set of commonly shared resources | |
| US6483604B1 (en) | Disk-based image storage system and method with prioritized loading and retrieval operations | |
| JP3347309B2 (en) | Image forming apparatus and image forming method | |
| EP1104168B1 (en) | Method and apparatus for managing job contention for system resources in an electronic reprographic system | |
| US5495339A (en) | Scheduling multiple disk requests and writing data buffers to disk | |
| US6614542B1 (en) | Method and apparatus to improve system concurrency for a job using a set of commonly shared resources such that a specific resource is used only for a portion of the job | |
| US7061639B2 (en) | Apparatus and method for scanning a copy job when a print path is not available | |
| JP3000914B2 (en) | Image processing device | |
| JPH0863310A (en) | Image processor | |
| JP2003177895A (en) | Print server, print system, print method, print program and computer readable recording medium with print program recorded | |
| JP3387300B2 (en) | Image processing device | |
| JPH11331528A (en) | Image processor | |
| JP2002259080A (en) | Image processing apparatus and control method thereof | |
| JPH08289075A (en) | Image processing system | |
| JP2006174247A (en) | Image input / output device, image processing method, computer-readable storage medium storing program, and program | |
| JP2003198815A (en) | Image processing device | |
| JPH11110171A (en) | Printing controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |