JPH10224580A - Picture storage device - Google Patents

Picture storage device

Info

Publication number
JPH10224580A
JPH10224580A JP9041432A JP4143297A JPH10224580A JP H10224580 A JPH10224580 A JP H10224580A JP 9041432 A JP9041432 A JP 9041432A JP 4143297 A JP4143297 A JP 4143297A JP H10224580 A JPH10224580 A JP H10224580A
Authority
JP
Japan
Prior art keywords
disk
input
transfer
information
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9041432A
Other languages
Japanese (ja)
Inventor
Kinichi Yoshida
欣一 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP9041432A priority Critical patent/JPH10224580A/en
Publication of JPH10224580A publication Critical patent/JPH10224580A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the generation of mismatch between a data transfer speed requested to a compressed picture data page and the transfer speed of a disk area to be written by writing compressed picture data in a storage area corresponding to the transfer speed. SOLUTION: Compressed picture data inputted through an input interface part 19 are temporarily stored in a picture input memory (CPU memory) 15. In the case of transferring the data from the memory 15 to a hard disk device 11, the functions of a transfer request speed operation part 141 for finding out a request transfer speed from the inputted compressed picture data volume and specified output size and a writing address determination part 142 for determining a writing block address from the request transfer speed and the transfer speeds of respective track parts of the hard disk device are used. The functions of the operation part 141 and the determination part 142 are attained by executing program control by a CPU 14.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、大量の圧縮画像デ
ータをハードディスク装置のような転送速度の異なる複
数の記憶領域を有するディスク型記憶媒体に高速かつ効
率的に記憶する記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device for storing a large amount of compressed image data at high speed and efficiently in a disk type storage medium such as a hard disk device having a plurality of storage areas with different transfer speeds.

【0002】[0002]

【従来の技術】電子写真方式のプリンタや表示装置にお
いて、リッピング処理された画像データを蓄える手段と
してハードディスク装置等のディスク型記憶装置が使わ
れてきている(特開平8−70425号公報、特開平2
−100769号公報)。また、従来技術においては、
ハードディスクの読み出し速度(10MB/S以下)で
は、高速多値のプリンタで要求されるデータ転送速度
(数+MB/S)には間に合わないため、画像データを
画質が劣化しない位に、例えばJPEG又は可逆圧縮+
JPEGの複合圧縮手段により、最悪圧縮率1/10程
度を保証して圧縮した後、ハードディスクに蓄えリアル
タイムに伸長し出力される方法が用いられている。この
場合頻繁に起こるディスクのエラー発生を考え、最悪圧
縮率時のデータ量(数MB)の圧縮画像メモリを使うこ
とが一般的である。このような一般的な技術において、
ハードディスク装置を一時的なバッファとしてではな
く、圧縮画像データをファイリングし、可変ページを大
量に連続出力するアプリケーションの記憶装置として用
いる場合には、圧縮画像データ1ページ分を一定時間内
に圧縮画像メモリに供給することがディスク全面にわた
り要求される。
2. Description of the Related Art In an electrophotographic printer or display device, a disk-type storage device such as a hard disk device has been used as a means for storing ripped image data (Japanese Patent Laid-Open Nos. 8-70425 and 8-70425). 2
-100679). Also, in the prior art,
At the read speed of the hard disk (10 MB / S or less), the data transfer speed (number + MB / S) required for a high-speed multi-valued printer cannot be met. Compression +
A method is used in which the worst compression ratio is guaranteed to be about 1/10 by the JPEG composite compression means, compressed, stored in a hard disk, and decompressed and output in real time. In this case, in consideration of frequent occurrence of disk errors, it is general to use a compressed image memory having a data amount (several MB) at the worst compression ratio. In such a general technology,
When the hard disk device is used not as a temporary buffer but as a storage device of an application for filing compressed image data and continuously outputting a large number of variable pages, one page of compressed image data is stored in a compressed image memory within a predetermined time. Is required over the entire surface of the disk.

【0003】[0003]

【発明が解決しようとする課題】しかし、ハードディス
ク装置では、ディスクの外周と内周ではデータ転送速度
の差(約1.5倍)が生じるが、高速な転送を行う場合
にはそのデータ転送速度の差は無視できなくなる。最悪
圧縮率時のデータ転送速度がディスク内周部のデータ転
送速度を越えるような場合では、連続プリントが止ま
る、ディスクへの入力性能が落ちる等、問題となる。従
来の技術では、ディスクを複数用意してデータ転送速度
を上げる方法や圧縮画像メモリのサイズを増やす、1ク
ラス高速なディスクを使用するなどで対処しているが、
これらの方法ではコストがかかるという問題がある。一
方、圧縮画像データはぺージの画像密度等により圧縮率
は変化する。つまり、各ページにより圧縮画像データ量
は変わり、それに伴いページ毎に要求されるデータ転送
速度が異なる。過去の統計からは、前記複合圧縮手段を
使った一般的なドキュメントの場合の平均的な圧縮率は
1/20程度である。しかし、通常通りのシーケンシャ
ルなアドレス制御をしていると、最悪圧縮率の画像デー
タが来た時に、圧縮画像データページに要求されるデー
タ転送速度と書き込まれるディスク領域の持つ転送速度
とでのミスマッチが発生してしまうことがあるという問
題点がある。
In a hard disk drive, however, a difference in data transfer speed (approximately 1.5 times) occurs between the outer circumference and the inner circumference of the disk. Can not be ignored. If the data transfer speed at the worst compression ratio exceeds the data transfer speed of the inner peripheral portion of the disk, problems arise, such as continuous printing being stopped and input performance to the disk being reduced. In the conventional technology, measures are taken such as increasing the data transfer speed by preparing a plurality of disks and increasing the size of the compressed image memory by using a disk that is one class faster.
There is a problem that these methods are costly. On the other hand, the compression ratio of the compressed image data changes depending on the image density of the page. In other words, the amount of compressed image data changes depending on each page, and the data transfer speed required for each page changes accordingly. According to past statistics, the average compression ratio for a general document using the composite compression means is about 1/20. However, if sequential address control is performed as usual, when image data with the worst compression ratio comes in, there is a mismatch between the data transfer speed required for the compressed image data page and the transfer speed of the disk area to be written. There is a problem that may occur.

【0004】本発明は、これらの問題点を解消すること
を課題とする。即ち、本発明は、最悪圧縮率の画像デー
タが来た時にも、圧縮画像データページに要求されるデ
ータ転送速度と書き込まれるディスク領域の持つ転送速
度とでのミスマッチが発生しないような画像記憶装置を
提供することを課題とする。また、本発明は、圧縮率の
低い画像データが入力したときにもページ当たりの読み
出し時間を平均化し、出力装置への安定した出力が可能
な画像記憶装置を提供することを課題とするものであ
る。更に、本発明は、圧縮画像データの比較的高速な転
送を安価に実現することを課題とする。
An object of the present invention is to solve these problems. That is, the present invention provides an image storage device which does not cause a mismatch between the data transfer speed required for a compressed image data page and the transfer speed of a disk area to be written even when image data with the worst compression ratio comes. The task is to provide Another object of the present invention is to provide an image storage device capable of averaging the readout time per page even when image data with a low compression ratio is input, and performing stable output to an output device. is there. A further object of the present invention is to realize relatively high-speed transfer of compressed image data at low cost.

【0005】[0005]

【課題を解決するための手段】本発明は、圧縮画像デー
タ、その圧縮画像データの圧縮に関する情報、および出
力サイズ指定情報を入力する入力手段と、その入力手段
により入力された圧縮画像データを記憶するための、転
送速度の異なる複数の記憶領域を有するディスク型記憶
手段と、前記入力手段により入力した前記圧縮に関する
情報と前記指定出力サイズとを基に前記圧縮データを前
記ディスク型記憶手段にリアルタイムで転送するのに必
要な要求転送速度を求める要求速度演算手段と、前記デ
ィスク型記憶手段の各記憶領域の転送速度情報を保持す
る速度情報記憶手段と、前記要求速度演算手段で算出し
た要求転送速度により、前記速度情報記憶手段に保持さ
れた各記憶領域の転送速度情報を参照して、前記要求転
送速度を満たす記憶領域を選択する選択手段と、その選
択手段により選択されたディスク型記憶手段の記憶領域
に、前記入力された圧縮画像データを書き込む書込み手
段とを備えたことを特徴とする。
According to the present invention, there is provided input means for inputting compressed image data, information relating to compression of the compressed image data, and output size designation information, and stores the compressed image data input by the input means. A disk-type storage unit having a plurality of storage areas with different transfer speeds, and the compressed data is input to the disk-type storage unit in real time based on the information on the compression input by the input unit and the designated output size. Request speed calculating means for calculating a required transfer speed required for transferring data by speed, speed information storing means for holding transfer speed information of each storage area of the disk type storage means, and request transfer calculated by the requested speed calculating means. By referring to the transfer speed information of each storage area held in the speed information storage means, a record satisfying the requested transfer speed is obtained based on the speed. Selection means for selecting an area, the storage area of the disk type storage means selected by the selection means, characterized in that a writing means for writing the compressed image data which has been the input.

【0006】[0006]

【作用】本発明では、前記課題を解決するために、ディ
スク型記憶手段のディスクの制御に関して、ディスクの
外周から内周に向かって転送速度が遅くなる点と、圧縮
されたページデータはその内容により可変となることに
着目し、入力された圧縮画像データの出力サイズに対す
るデータ量、もしくは圧縮率などの圧縮に関する情報か
ら判断し、データ量が小さい(圧縮率が高い)場合は内
周に、データ量が大きい(圧縮率が低い)場合は外周に
というように、転送速度に応じた記憶領域に圧縮画像デ
ータ書き込むようにしたものである。即ち、速度演算手
段は、前記圧縮に関する情報と前記指定出力サイズとを
基に、要求転送速度を算出する。速度情報記憶手段にデ
ィスク型記憶装置の記憶領域毎の転送速度情報を予め保
持しておき、選択手段は、その転送速度情報と前記算出
した要求転送速度を比較して、要求転送速度を満たすこ
とのできる転送速度を持つ記憶領域を選択する。書込み
手段は、選択手段により選択された記憶領域に、圧縮デ
ータを書き込む。
According to the present invention, in order to solve the above-mentioned problems, regarding the control of the disk of the disk type storage means, the point that the transfer speed decreases from the outer circumference to the inner circumference of the disk and the content of the compressed page data is reduced. From the information about the output size of the input compressed image data, or from information about compression such as the compression ratio. When the data amount is small (the compression ratio is high), When the data amount is large (the compression ratio is low), the compressed image data is written in a storage area corresponding to the transfer speed, such as on the outer periphery. That is, the speed calculating means calculates the requested transfer speed based on the information on the compression and the specified output size. The transfer rate information for each storage area of the disk-type storage device is stored in advance in the transfer rate information storage unit, and the selection unit compares the transfer speed information with the calculated requested transfer speed to satisfy the requested transfer speed. Select a storage area with a transfer rate that allows The writing means writes the compressed data to the storage area selected by the selection means.

【0007】このように本発明では、圧縮画像データを
リアルタイムに転送するためにディスク型記憶手段に必
要とされる要求転送速度を基に最適となるディスクの領
域を選んで格納するようにしたので、最悪圧縮率の画像
データが来た時にも、そのデータに要求される転送速度
と書き込まれるディスク領域の持つ転送速度とでのミス
マッチがなくなる。従って、データの読み出し時にも、
読み出し時間が平均化され、出力装置への安定した出力
が可能となると共に、一定時間内でのディスクへの入出
力並行処理レートも上げることができる。また、ディス
ク型記憶手段の持つ性能を最大限に活用できるので、従
来技術に比べ安価な装置で高速な出力装置にも対応でき
る。また、圧縮画像データを複数の単位連続的に格納す
る際には、直前に格納した記憶領域からのヘッドの相対
的な移動時間即ちシーク時間が転送速度に影響する場合
がある。子の影響を少なくするために、直前に格納され
た記憶領域(シリンダ)からの相対移動シーク時間も領
域選択のの要因に加えるようにすることができる。
As described above, in the present invention, an optimal disk area is selected and stored based on the required transfer speed required for the disk-type storage means in order to transfer compressed image data in real time. Even when image data with the worst compression ratio arrives, there is no mismatch between the transfer speed required for the data and the transfer speed of the disk area to be written. Therefore, even when reading data,
The reading time is averaged, stable output to the output device is possible, and the rate of parallel processing of input / output to the disk within a fixed time can be increased. Further, since the performance of the disk-type storage means can be utilized to the maximum, it is possible to cope with a high-speed output device with a cheaper device than the conventional technology. When storing a plurality of units of compressed image data continuously, the relative movement time of the head from the immediately preceding storage area, that is, the seek time, may affect the transfer speed. In order to reduce the influence of the child, the relative movement seek time from the storage area (cylinder) stored immediately before can be added to the factor of the area selection.

【0008】[0008]

【発明の実施の形態】図1は本発明による画像記憶装置
の構成を示すブロック図である。この画像記憶装置は、
ハードディスク装置11、ディスク制御部12、システ
ムバス13、CPU14、CPUメモリ15、圧縮画像
メモリ16、メモリ制御部17、伸張器18、入力イン
タフェース部19を備えている。
FIG. 1 is a block diagram showing the configuration of an image storage device according to the present invention. This image storage device
A hard disk drive 11, a disk control unit 12, a system bus 13, a CPU 14, a CPU memory 15, a compressed image memory 16, a memory control unit 17, a decompressor 18, and an input interface unit 19 are provided.

【0009】ハードディスク装置11はディスク制御部
12を介してシステムバス13に接続されている。ディ
スク制御部12は、CPU14からの指令によりディス
クバス(例えばSCSI)のシーケンス、CPUメモリ
15〜ハードディスク装置11間のデータ転送を制御す
る。ハードディスク装置11は、512KB程度の内部
バッファメモリ(FIFO)111を介してディスクバ
ス13と接続されている。圧縮画像メモリ16は、メモ
リ制御部163を介してシステムバス13に接続されて
いる。ディスクのエラー発生や、入出力を並行動作させ
るため、最悪圧縮率時のデータ量2面分の容量を持ち圧
縮画像を一時的に保持する。メモリ制御部17は、ディ
スク制御部12及び伸長器18からの書き込み、読み出
しを並列に行う。伸長器18はCPU14からの指令に
より圧縮画像メモリ16からのデータ読み出し制御を行
うと共にプリンタの動作に必要な速度でリアルタイム伸
長、データ転送を行う。
The hard disk device 11 is connected to a system bus 13 via a disk control unit 12. The disk control unit 12 controls a sequence of a disk bus (for example, SCSI) and a data transfer between the CPU memory 15 and the hard disk device 11 according to a command from the CPU 14. The hard disk device 11 is connected to the disk bus 13 via an internal buffer memory (FIFO) 111 of about 512 KB. The compressed image memory 16 is connected to the system bus 13 via the memory control unit 163. In order to cause a disk error or perform input / output in parallel, the compressed image is temporarily held with a capacity of two data volumes at the worst compression ratio. The memory control unit 17 performs writing and reading from the disk control unit 12 and the decompressor 18 in parallel. The decompressor 18 controls the reading of data from the compressed image memory 16 in response to a command from the CPU 14, and performs real-time decompression and data transfer at a speed required for the operation of the printer.

【0010】入力インタフェース部19を介して入力さ
れた圧縮画像データは一旦画像入力メモリ(CPUメモ
リ15が用いられる)に保持され、画像入力メモリ15
からハードディスク装置11への転送においては、入力
した圧縮画像データ量と指定出力サイズから要求転送速
度を求める転送要求速度演算部141及び、要求転送速
度とハードディスク装置の各トラック部分の持つ転送速
度から書き込みブロックアドレスを決定する書き込みア
ドレス決定部142の機能が用いられる。これらの転送
要求速度演算部141及び書き込みアドレス決定部14
2の機能は、CPU14によるプログラム制御で実現さ
れる。CPUメモリ15は、ワーク用として使われ前記
制御の演算、入力画像データのバッファ(画像入力メモ
リ)として機能する。転送要求速度演算部141は、入
力した出力サイズ指定により、CPUプログラムにあら
かじめ持つ情報からプリンタが1秒間に出力できる枚数
Nを求め、入力した圧縮画像のデータ量M(MB)によ
りこのページデータに要求される転送速度Si=M/N
(MB/S)を決定する。書き込みアドレス決定部14
2は、機能的に図2に示す構成を有し、要求転送速度S
iをもとにCPUプログラム制御により処理される。一
例として図3に示すテーブルを使った処理をもとに説明
する。
The compressed image data input via the input interface unit 19 is temporarily held in an image input memory (using the CPU memory 15), and is temporarily stored in the image input memory 15.
In the transfer from the HDD to the hard disk drive 11, a transfer request speed calculation unit 141 for obtaining a requested transfer speed from the input compressed image data amount and the designated output size, and writing from the requested transfer speed and the transfer speed of each track of the hard disk device. The function of the write address determination unit 142 that determines the block address is used. The transfer request speed calculator 141 and the write address determiner 14
The function 2 is realized by program control by the CPU 14. The CPU memory 15 is used for work, and functions as a buffer (image input memory) for calculating the control and input image data. The transfer request speed calculation unit 141 obtains the number N of images that can be output per second by the printer from information previously stored in the CPU program by designating the input output size, and converts the page data into the data amount M (MB) of the input compressed image. Required transfer rate Si = M / N
(MB / S) is determined. Write address determination unit 14
2 functionally has the configuration shown in FIG.
It is processed by CPU program control based on i. An example will be described based on the processing using the table shown in FIG.

【0011】ディスクの領域の分割は、ディスクの持つ
各転送速度毎の分割を利用しても良いし、処理簡略のた
めにさらに大きく分割しても良い。例えば前記ディスク
において6分割(0.5MB/S刻み)にする等が可能
である。
The division of the disk area may be performed by using the division for each transfer speed of the disk, or may be further divided to simplify the processing. For example, it is possible to divide the disc into six (in 0.5 MB / S steps).

【0012】図4に示すように、ハードディスク装置1
1のディスクは一般的にシリンダ当たりのデータ量が一
定となる領域#Z0,#Z1,…#Zi,…#Znがあ
り、例えばあるディスクでは13個の領域に分けらてお
り各領域は約500シリンダで構成される。領域内での
転送速度(5MB/Sの内周から外周に向かって約0.
2MB/S刻み)はほぼ一定である。
[0012] As shown in FIG.
One disk generally has areas # Z0, # Z1,... #Zi,... #Zn where the data amount per cylinder is constant. For example, a certain disk is divided into 13 areas, and each area is approximately It consists of 500 cylinders. Transfer speed within the area (about 0.5 MB / S from the inner circumference to the outer circumference).
(2 MB / S increments) is almost constant.

【0013】ディスク領域比較/選択部22により、要
求転送速度Siとディスク領域#Zo〜#Zn(#0が
外周)の持つ平均転送速度データsiを比較しSiより
速い領域Ziを決定する。そのためディスク領域比較/
選択部22は、平均転送速度データsiと領域#Zo〜
#Znを関連付けた図3に示すような領域選択テーブル
31を有し、要求転送速度Siにより領域選択テーブル
31を参照して対応する領域#Ziのブロック使用状況
情報の格納位置へのポインタ(アドレス)を求める処理
をする。領域選択テーブル31は平均転送速度とそれに
対応する領域を対応させたものであり、対応領域は領域
内のブロックの使用状況を管理する領域内使用状況管理
アドレステーブル24(図3の321、322、32
3)の格納位置のアドレスとして決定する。
The disk area comparison / selection unit 22 compares the requested transfer rate Si with the average transfer rate data si of the disk areas #Zo to #Zn (# 0 is the outer periphery) and determines an area Zi faster than Si. Therefore, disk space comparison /
The selecting unit 22 calculates the average transfer speed data si and the area #Zo to
3 has an area selection table 31 as shown in FIG. 3 associated with #Zn, and refers to the area selection table 31 based on the requested transfer rate Si to obtain a pointer (address) to the storage location of the block usage information of the corresponding area #Zi. ). The area selection table 31 associates an average transfer speed with an area corresponding thereto, and the corresponding area is an in-area use state management address table 24 (321, 322, 322, and 322 in FIG. 3) for managing the use state of blocks in the area. 32
Determined as the address of the storage position in 3).

【0014】次に領域内未使用ブロック選択部23によ
り、領域内ブロック使用状況管理テーブル24を参照し
て領域Zi内での単位転送ブロックサイズ(例えば32
KB:64セクタ)毎の未使用ブロックの先頭アドレス
を求める。領域内ブロック使用状況管理アドレステーブ
ル24は、使用可能か否かを示す1ビットのフラグと各
ブロックの先頭アドレスの項からなっている。フラグ
「1」は使用が不可であることを表し、フラグ「0」は
使用可を表す。決定された格納アドレスはページの情報
として管理されるとともに、前記テーブルの未使用情報
も更新し、ディスクへの書き込み開始のため、前記ディ
スク制御部12に指令を発行する。なお領域の使用状況
によりあるページの使用サイズがとれない時、不足分は
領域Ziより速い領域から選ぶようにする。本実施例で
は、上位ホストコンピュータの圧縮手段によりページ当
たりの最悪圧縮率が保証され、(圧縮画像メモリへの要
求転送速度)=(ワーストケースでのデータ量)/(プ
リンタの出力性能)からハードディスク装置が選択され
たものであり、圧縮画像メモリへの要求転送速度は、ハ
ードディスク装置の平均読み出し速度程度としている。
Next, the in-area unused block selecting section 23 refers to the in-area block usage management table 24 to specify a unit transfer block size (for example, 32) in the area Zi.
The head address of an unused block for each (KB: 64 sectors) is obtained. The intra-region block use status management address table 24 includes a 1-bit flag indicating whether or not the block is usable and a head address of each block. The flag “1” indicates that use is impossible, and the flag “0” indicates use. The determined storage address is managed as page information, the unused information in the table is updated, and a command is issued to the disk control unit 12 to start writing to the disk. When the use size of a certain page cannot be obtained due to the use state of the area, the shortage is selected from an area faster than the area Zi. In this embodiment, the worst compression ratio per page is guaranteed by the compression means of the host computer, and the hard disk is calculated from (requested transfer speed to the compressed image memory) = (data amount in worst case) / (printer output performance). The device is selected, and the required transfer speed to the compressed image memory is about the average read speed of the hard disk device.

【0015】以下、このプリンタ画像記憶装置の動作を
図5のフローチャートをもとに説明する。上位ホストコ
ンピュータでリップ処理され圧縮された画像データは、
1ページずつ図1の入力インターフェース部19よりC
PUメモリ15に入力される(ステップS5−1)。圧
縮画像データの入力に先立ち、出力サイズ指定、圧縮画
像データ量情報が前記ホストコンピュータからの通信に
より得られる。情報は圧縮画像データサイズの代わりに
圧縮率情報でもよい。
The operation of the printer image storage device will be described below with reference to the flowchart of FIG. The image data compressed and ripped by the host computer is
From the input interface unit 19 of FIG.
The data is input to the PU memory 15 (step S5-1). Prior to input of compressed image data, output size designation and compressed image data amount information are obtained by communication from the host computer. The information may be compression rate information instead of the compressed image data size.

【0016】入力した圧縮画像のデータ量Mと指定出力
サイズからの1秒当たりの出力枚数Nから、転送要求速
度演算部141により要求速度(S=M/N)を算出す
る(ステップS5−2)。次に書き込みアドレス決定部
142により、分割された各ディスク領域の転送速度
(s)と前記要求速度S(=M/N)を比較しs>Sと
なる領域Zを決定する。即ち、最も内周の領域#Znに
対応するディスク領域速度データsm(m=n)をテー
ブル31から取り出し(ステップS5−3)、smが要
求速度Sより大きいか否かを調べ(ステップS5−
4)、smが要求速度Sより小さいときには一つ外側の
領域に対応するディスク領域速度データsm(m=n−
1)を取り出し(ステップS5−5)、再びsmが要求
速度Sより大きいか否かを調べる(ステップS5−
4)。このようなステップS5−4、ステップS5−5
の処理を繰り返しながら、sm>Sとなったときに、そ
のsmに対応する領域のブロック使用状況管理アドレス
テーブル32のアドレスを領域選択テーブル31により
求める(ステップS5−6)。求めたアドレスによって
特定されるブロック使用状況管理テーブル321〜32
3の一つのテーブルから順次未使用フラグビットを参照
し、書き込みブロックをM/(転送ブロックサイズ)分
(=a個)選択し、同テーブルから各ブロックの先頭ア
ドレスを得る(ステップS5−7)。テーブル内の選択
された各ブロックの未使用フラグビットを更新し、本ペ
ージのディスク格納場所をCPUメモリ15上のページ
管理情報に追加する。そして、1ページ分の前記書き込
みアドレス決定処理が済んだ所でディスク制御部12に
上記各ブロックのアドレスへの書き込み指示を発行する
(ステップS5−8)。
From the data amount M of the input compressed image and the number N of output per second from the designated output size, the requested transfer speed calculating section 141 calculates a requested speed (S = M / N) (step S5-2). ). Next, the write address determination unit 142 compares the transfer speed (s) of each of the divided disk areas with the required speed S (= M / N) to determine an area Z where s> S. That is, the disk area speed data sm (m = n) corresponding to the innermost area #Zn is extracted from the table 31 (step S5-3), and it is checked whether or not sm is greater than the required speed S (step S5-).
4) If sm is smaller than the required speed S, the disk area speed data sm (m = n-
1) is taken out (step S5-5), and it is checked again whether or not sm is greater than the required speed S (step S5-).
4). Such steps S5-4 and S5-5
When sm> S, the address of the block use status management address table 32 of the area corresponding to the sm is obtained from the area selection table 31 (step S5-6). Block use status management tables 321 to 32 specified by the obtained addresses
3, the unused flag bits are sequentially referred to, the write block is selected by M / (transfer block size) (= a), and the start address of each block is obtained from the same table (step S5-7). . The unused flag bit of each selected block in the table is updated, and the disk storage location of this page is added to the page management information on the CPU memory 15. After the write address determination processing for one page is completed, a write instruction to the address of each block is issued to the disk control unit 12 (step S5-8).

【0017】一方、圧縮画像メモリ16は2ページ分の
記憶容量を有し(図1には161、162として表され
ている)、これには1ページ分の前記処理と並行してジ
ョブ内の次ページの圧縮画像データも入力されており、
以降1ジョブ完了まで前記入力処理〜書き込みアドレス
決定処理が繰り替えされる。1ジョブ分の処理完了後、
CPUはホストからの出力要求により、1ページずつデ
ィスク制御部12に対しディスクから圧縮画像メモリ1
6への転送要求を発行し、伸長器18を介してプリンタ
に出力される。
On the other hand, the compressed image memory 16 has a storage capacity for two pages (shown as 161 and 162 in FIG. 1). The compressed image data of the next page is also input,
Thereafter, the input processing to the write address determination processing are repeated until one job is completed. After completing the processing for one job,
The CPU sends the compressed image memory 1 from the disk to the disk control unit 12 one page at a time in response to an output request from the host.
6 is issued to the printer via the decompressor 18.

【0018】また前記書き込みアドレス決定部142に
おいて、前ページを書き込んだディスク領域Zjから一
旦求まった現ページの領域Zkへのディスクヘッドのシ
ーク時間t=b+c(|Zj−Zk|−1)を求め、t
の要素を加味して現ページの書き込む領域を補正する手
段を加えることにより、1ジョブ内の連続出力時にさら
に効率をよく読み出すことができる。ただし、上記tの
計算式におけるbはディスクヘッド移動の立ち上がり時
間、cは1領域当たりの移動にかかるシーク時間であ
る。
The write address determination section 142 calculates a seek time t = b + c (| Zj-Zk | -1) of the disk head from the disk area Zj in which the previous page is written to the current page area Zk once obtained. , T
By adding means for correcting the area where the current page is to be written in consideration of the elements described above, it is possible to read out data more efficiently during continuous output within one job. Here, b in the above formula for t is the rise time of the disk head movement, and c is the seek time required for movement per area.

【0019】本実施の態様によれば、各ページに要求さ
れるデータ転送速度から最適となるディスクの領域を選
んで格納するようにしたので、最悪圧縮率の画像データ
が来た時に、そのデータに要求される転送速度と書き込
まれるディスク領域の持つ転送速度とでのミスマッチが
なくなる。従って、データの読み出し時間が平均化され
安定したプリント出力が可能となると共に、一定時間内
でのディスクへの入出力並行処理レートも上げることが
できる。また、ハードディスク装置の持つ性能を最大に
活用できるので、従来技術に比べ安価なハードディスク
装置で高速なプリンタにも対応できる。
According to the present embodiment, an optimal disk area is selected from the data transfer speed required for each page and stored, so that when image data with the worst compression ratio comes, the data Between the transfer speed required for the disk drive and the transfer speed of the disk area to be written. Therefore, the data read time is averaged, stable print output is possible, and the parallel processing rate of input / output to the disk within a certain time can be increased. Further, since the performance of the hard disk device can be utilized to the maximum, it is possible to cope with a high-speed printer with a hard disk device that is inexpensive compared to the related art.

【0020】また、本発明をカラープリンタに適用した
実施の一態様では、前記ハードディスク装置、圧縮画像
メモリ、伸長器をカラー要素に対応して複数個設け、前
記書き込みアドレス決定部を各ハードディスク装置毎に
順次用いるようにすることにより、カラー圧縮画像を効
率的に書込み、読み出しすることができる。
In one embodiment in which the present invention is applied to a color printer, a plurality of the hard disk devices, a compressed image memory, and a decompressor are provided corresponding to the color elements, and the write address determination unit is provided for each hard disk device. , The color compressed image can be written and read efficiently.

【0021】[0021]

【発明の効果】本発明によれば、各圧縮画像データに要
求されるデータ転送速度から最適となるディスクの領域
を選んで格納するようにしたので、最悪圧縮率の画像デ
ータが来た時にも、そのデータに要求される転送速度と
書き込まれるディスク領域の持つ転送速度とでのミスマ
ッチがなくなる。従って、データの読み出し時間が平均
化され安定したプリント出力が可能となると共に、一定
時間内でのディスクへの入出力並行処理レートも上げる
ことができる。また、本発明は圧縮画像データに要求さ
れるデータ転送速度にマッチした転送速度の領域を選択
して格納することができるので、使用するディスク型記
憶手段を高価なものに変更することなく、最悪圧縮率の
画像データに対処でき、コストメリットが大きい。
According to the present invention, an optimal disk area is selected from the data transfer speed required for each compressed image data and stored, so that even when image data with the worst compression ratio comes, Thus, there is no mismatch between the transfer speed required for the data and the transfer speed of the disk area to which the data is written. Therefore, the data read time is averaged, stable print output is possible, and the parallel processing rate of input / output to the disk within a certain time can be increased. Further, according to the present invention, an area having a transfer rate matching the data transfer rate required for the compressed image data can be selected and stored, so that the worst case is possible without changing the disk type storage means to be expensive. It can deal with image data with a compression ratio, and has a great cost advantage.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明をプリンタ画像記憶装置へ適用した実
施態様の機能的構成を示す概略ブロック図、
FIG. 1 is a schematic block diagram showing a functional configuration of an embodiment in which the present invention is applied to a printer image storage device;

【図2】 書き込みアドレス決定部の機能的構成を示す
ブロック図、
FIG. 2 is a block diagram showing a functional configuration of a write address determining unit;

【図3】 ディスク書き込みアドレスを決定する処理テ
ーブルの例を示す図、
FIG. 3 is a diagram showing an example of a processing table for determining a disk write address;

【図4】 ディスク内部の構成概念を示す図、FIG. 4 is a diagram showing a configuration concept inside a disk;

【図5】 実施態様の動作を示す概略フロー図。FIG. 5 is a schematic flowchart showing the operation of the embodiment.

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

11…ハードディスク装置、111…内蔵バッファメモ
リ、12…ディスク制御部、13…システムバス、14
…CPU、141…転送要求速度演算部、142…書込
みアドレス決定部、15…CPUメモリ、16…圧縮画
像メモリ、17…メモリ制御部、18…伸張器、19…
入力インタフェース部。
11: Hard disk drive, 111: Built-in buffer memory, 12: Disk control unit, 13: System bus, 14
... CPU, 141 ... Transfer request speed calculation unit, 142 ... Write address determination unit, 15 ... CPU memory, 16 ... Compressed image memory, 17 ... Memory control unit, 18 ... Decompressor, 19 ...
Input interface section.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/765 H04N 5/781 510C 5/781 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 5/765 H04N 5/781 510C 5/781

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 圧縮画像データ、その圧縮画像データの
圧縮に関する情報、および出力サイズ指定情報を入力す
る入力手段と、 前記入力された圧縮画像データを記憶するための、転送
速度の異なる複数の記憶領域を有するディスク型記憶手
段と、 前記入力手段により入力した前記圧縮に関する情報と前
記指定出力サイズとを基に前記圧縮データを前記ディス
ク型記憶手段にリアルタイムで転送するのに必要な要求
転送速度を求める要求速度演算手段と、 前記ディスク型記憶手段の各記憶領域の転送速度情報を
保持する速度情報記憶手段と、 前記要求速度演算手段で算出した要求転送速度により、
前記速度情報記憶手段に保持された各記憶領域の転送速
度情報を参照して、前記要求転送速度を満たす記憶領域
を選択する選択手段と、 前記選択手段により選択されたディスク型記憶手段の記
憶領域に、前記入力された圧縮画像データを書き込む書
込み手段とを備えたことを特徴とする画像記憶装置。
1. An input means for inputting compressed image data, information relating to compression of the compressed image data, and output size designation information, and a plurality of storages having different transfer speeds for storing the input compressed image data. A disk-type storage unit having an area; and a request transfer rate required to transfer the compressed data to the disk-type storage unit in real time based on the information on the compression input by the input unit and the designated output size. Request speed calculation means to be obtained, speed information storage means for holding transfer speed information of each storage area of the disk type storage means, and the requested transfer rate calculated by the request speed calculation means,
Selecting means for selecting a storage area that satisfies the required transfer rate by referring to transfer rate information of each storage area held in the speed information storage means; and storage area of the disk type storage means selected by the selection means And a writing means for writing the input compressed image data.
【請求項2】 前記選択手段は、選択のための条件とし
てディスク型記憶手段の書込みヘッド移動のためにかか
るシーク時間をも加味することを特徴とする請求項1記
載の画像記憶装置。
2. The image storage device according to claim 1, wherein the selection unit also takes into consideration a seek time required for moving the write head of the disk-type storage unit as a condition for selection.
【請求項3】 前記圧縮に関する情報として、入力手段
により入力された圧縮率情報を用いることを特徴とする
請求項1記載の画像記憶装置。
3. The image storage device according to claim 1, wherein compression ratio information input by an input unit is used as the information on the compression.
【請求項4】 同一構成のディスク型記憶手段をカラー
の要素に対応して複数個設け、前記選択手段を各ハード
ディスク毎に順次用いてカラー圧縮画像データを記憶す
ることを特徴とする請求項1記載の画像記憶装置。
4. The apparatus according to claim 1, wherein a plurality of disk-type storage units having the same configuration are provided corresponding to the color elements, and the selection unit is used sequentially for each hard disk to store the color compressed image data. The image storage device according to claim 1.
JP9041432A 1997-02-12 1997-02-12 Picture storage device Pending JPH10224580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9041432A JPH10224580A (en) 1997-02-12 1997-02-12 Picture storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9041432A JPH10224580A (en) 1997-02-12 1997-02-12 Picture storage device

Publications (1)

Publication Number Publication Date
JPH10224580A true JPH10224580A (en) 1998-08-21

Family

ID=12608214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9041432A Pending JPH10224580A (en) 1997-02-12 1997-02-12 Picture storage device

Country Status (1)

Country Link
JP (1) JPH10224580A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005262488A (en) * 2004-03-16 2005-09-29 Ricoh Co Ltd Image forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005262488A (en) * 2004-03-16 2005-09-29 Ricoh Co Ltd Image forming device

Similar Documents

Publication Publication Date Title
US6748486B2 (en) Method, system, and data structures for superimposing data records in a first data format to memory in a second data format
JP3697395B2 (en) Method and apparatus for storing different data structures
RU2642349C1 (en) Method for storing data using data storage device and data storage device
US7606954B2 (en) Data storage using compression
JPH0570855B2 (en)
JP5068197B2 (en) Apparatus and method for writing data to tape medium
JP3407628B2 (en) Computer system
US5872955A (en) Method and apparatus for reading and writing data in a disk drive system
JP4982354B2 (en) Information processing device
US20030097523A1 (en) External storage device within a computer network
JP4324993B2 (en) Data transfer method and apparatus
JPH10224580A (en) Picture storage device
JPH05189157A (en) Disk type storage device
JP2003150416A (en) File management device and method therefor
JP2772205B2 (en) Data area generation method
JP3079876B2 (en) Printer device
JP2587417B2 (en) File backup and restoration method
JPH05224846A (en) Printing and recording device
JP4194583B2 (en) Data storage device
JP2008158572A (en) Data storage device
JPH01169643A (en) Filing device for picture data
JPH10293667A (en) Band dividing method in banding, and double-sided printing method
JPH10154045A (en) Picture data supply device
JP3376316B2 (en) Disk array device, high-speed communication method used therefor, and recording medium recording control program therefor
JP6911443B2 (en) Information processing device