JP2003198817A - Image processing apparatus - Google Patents

Image processing apparatus

Info

Publication number
JP2003198817A
JP2003198817A JP2001396251A JP2001396251A JP2003198817A JP 2003198817 A JP2003198817 A JP 2003198817A JP 2001396251 A JP2001396251 A JP 2001396251A JP 2001396251 A JP2001396251 A JP 2001396251A JP 2003198817 A JP2003198817 A JP 2003198817A
Authority
JP
Japan
Prior art keywords
image
transfer
data
storage means
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001396251A
Other languages
Japanese (ja)
Other versions
JP4148680B2 (en
Inventor
Yuriko Obata
百合子 小幡
Michio Doke
教夫 道家
Takao Okamura
隆生 岡村
Yasumitsu Shimizu
泰光 清水
Seiki Mogi
清貴 茂木
Yasuhiro Hattori
康広 服部
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001396251A priority Critical patent/JP4148680B2/en
Priority to US10/327,908 priority patent/US7034838B2/en
Publication of JP2003198817A publication Critical patent/JP2003198817A/en
Application granted granted Critical
Publication of JP4148680B2 publication Critical patent/JP4148680B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus that applies proper transfer control to each of transfer operations in the case that two images or more are simultaneously transferred between a buffer area of a primary storage section (image memory 42) and a secondary storage section (HDD 48) and that a single image is transferred. <P>SOLUTION: After data compression conversion is applied to a received image by DMA control of a memory control section 43, the image processing apparatus performs a series of processes to transfer converted data to the HDD 48 through the buffer area of the image memory 42. In this case, depending on whether or not a request of a plurality of data transfer (simultaneous transfer) is made, the image processing apparatus selects either of division (number of a plurality of times) transfer and batch (one time) transfer. In the case of transferring one image through division, the capacity equivalent to the division transfer amount to the HDD is reserved for the buffer area, and in the case of batch transfer, the capacity equivalent to the batch transfer amount is reserved for the buffer area so as to optimize (transfer in the shortest time and effective utilization of the storage area) each transfer operation. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル複写
機、ファクシミリ、プリンタ、イメージスキャナ、ネッ
トワークファイルサーバ等の画像入出力機器、又はこれ
らのうちの複数の機能を備えたデジタル複合機等の画像
処理装置に関し、入出力デジタル画像を扱う、主に作業
用として装備される比較的小容量の画像記憶部(半導体
メモリ)とこの記憶部と相互にデータ転送を可能にした
ハードディスクドライブ(HDD)等の大容量の記憶装
置(画像データ保存用)との間で行われるデータ転送の
制御技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image input / output device such as a digital copying machine, a facsimile, a printer, an image scanner, a network file server, or an image processing apparatus such as a digital multi-function peripheral having a plurality of functions. Regarding a device, such as an image storage unit (semiconductor memory) of a relatively small capacity that is mainly equipped for work, which handles input and output digital images, and a hard disk drive (HDD) or the like that enables mutual data transfer with this storage unit. The present invention relates to a control technique of data transfer performed with a large-capacity storage device (for storing image data).

【0002】[0002]

【従来の技術】近年、複写機のデジタル化が進むと共に
画像メモリを応用した、加工、編集が盛んとなってきて
いる。その中で、読取った原稿複数枚分の画像データを
画像メモリ(通常、半導体メモリが用いられている)に
記憶することで、指定部数まとめてコピー出力し、仕分
けの作業をなくす電子ソートという機能がある。全原稿
の画像データを保持するため、そのままの画像データを
半導体メモリに蓄積するには読取った原稿枚数分のデー
タ量に相当するメモリが必要になり、メモリコストが膨
大になるという理由から、下記1.〜3.の方式が一般
的に用いられる。 1. 半導体メモリ+蓄積(保存)用メモリの構成と
し、蓄積用メモリとして半導体メモリより安価なハード
ディスク等の二次記憶装置を使用する。 2. 半導体メモリ+蓄積用メモリの構成とし、蓄積用
メモリとして半導体メモリを使用し、圧縮処理を用いて
画像データを圧縮し、1枚あたりのデータ量を減らすこ
とでトータルのメモリ量を減らす。 3. デジタル複合機では、複数の画像入出力手段(イ
メージスキャナ、プリンタコントローラ、ファイルサー
バ、FAXコントローラ等)が同一の画像メモリを共有
する。
2. Description of the Related Art In recent years, with the progress of digitalization of copying machines, processing and editing using image memories have become popular. Among them, by storing image data for multiple read originals in an image memory (usually a semiconductor memory is used), a designated number of copies can be collectively output and a function called electronic sorting that eliminates sorting work There is. In order to store the image data of all originals, in order to store the original image data in the semiconductor memory, a memory equivalent to the data amount for the number of read originals is required, and the memory cost becomes huge. 1. ~ 3. This method is generally used. 1. A semiconductor memory + storage (storage) memory is used, and a secondary storage device such as a hard disk, which is cheaper than a semiconductor memory, is used as the storage memory. 2. With the configuration of semiconductor memory + storage memory, semiconductor memory is used as storage memory, image data is compressed using compression processing, and the total amount of memory is reduced by reducing the amount of data per sheet. 3. In the digital multi-function peripheral, a plurality of image input / output units (image scanner, printer controller, file server, FAX controller, etc.) share the same image memory.

【0003】上記のような各種の画像メモリ(記憶手
段)に対し、画像データの入出力を実行するためにはD
MA(Direct Memory Access)データ転送方式を用いた
メモリ制御コントローラ(以下「DMAコントローラ」
或いは[DMAC」と記す)が使用されることが多い。
DMAコントローラは、ディスクリプタと呼ばれるメモ
リ領域管理情報を基に画像メモリの特定の領域に対して
データの転送を行う。1画像が格納されるメモリ領域を
複数のディスクリプタに分割してデータ転送を行うこと
も可能であり、例えば、画像メモリをリングバッファの
形態で利用することにより、画像データの容量よりも少
ないメモリ容量で画像データの入出力を行うことも可能
にしている。DMAコントローラを用いたメモリ制御で
は、各ディスクリプタにより指定されたデータ転送の進
行状況(開始、終了)や、データ転送の実行タイミング
制御(画像メモリ領域の途中でデータ転送を中断した
り、再開する等)も可能であるため、DMAコントロー
ラに接続された一次記憶部としての半導体メモリや、大
容量の二次記憶装置のデータ転送のタイミング制御の自
由度が高く、応用範囲が広い。上述のように蓄積(保存
用)メモリとして半導体メモリより安価なハードディス
ク等の二次記憶装置を使用する場合、この種の記憶装置
では、通常単一の装置に対して複数のデータ転送(デー
タ書込み、読み出し動作)を行うことはできないため、
DMAコントローラのディスクリプタを用いて二次記憶
装置へのデータ転送単位を分割し、これを時分割に実行
することで、複数のデータ転送動作をあたかも並行して
実行しているようにすることが一般的である。
In order to execute input / output of image data to / from various image memories (storage means) as described above, D
Memory controller using MA (Direct Memory Access) data transfer method (hereinafter "DMA controller")
Alternatively, “DMAC” is often used.
The DMA controller transfers data to a specific area of the image memory based on memory area management information called a descriptor. It is also possible to divide the memory area in which one image is stored into multiple descriptors for data transfer. For example, by using the image memory in the form of a ring buffer, the memory capacity is smaller than the image data capacity. It is also possible to input and output image data with. In the memory control using the DMA controller, the progress (start, end) of the data transfer specified by each descriptor and the execution timing control of the data transfer (such as interrupting or restarting the data transfer in the middle of the image memory area) ) Is also possible, the degree of freedom in timing control of data transfer of a semiconductor memory as a primary storage unit connected to a DMA controller and a large-capacity secondary storage device is high, and the application range is wide. When a secondary storage device such as a hard disk, which is cheaper than a semiconductor memory, is used as the storage (storing) memory as described above, in this type of storage device, a plurality of data transfer (data writing) is usually performed to a single device. , Read operation) cannot be performed.
It is common to divide the data transfer unit to the secondary storage device using the descriptor of the DMA controller and execute this in a time-sharing manner so that a plurality of data transfer operations are executed in parallel. Target.

【0004】しかしながら、このような時分割処理を用
いる場合、データ転送に要する時間が短くなることはな
いため、複写機やプリンタ等の画像形成装置のように画
像データの入出力に要する時間を最短にすることが装置
の生産性に影響を及ぼす場合には、時分割処理を行うこ
とが逆に生産性の低下を招くところもある。このような
ことから、画像データを圧縮し、データ転送量を小さく
したり、データ転送速度の速い二次記憶装置を搭載し
て、二次記憶装置へのデータ転送に要する時間を短くす
るような構成を採っていた。また、従来では、メモリ制
御の簡素化を図る理由からも積極的に時分割転送を行わ
ずに、画像入出力手段を用いて行われる画像データ入出
力動作と略同期して二次記憶装置をリソースとして占有
してデータ転送を行う手段を用いていた。ところで、従
来用いられていた二次記憶装置は、画像入出力手段から
半導体メモリへの画像データ転送速度に比較して、半導
体メモリの画像データを二次記憶装置へ転送する速度が
遅く、画像データの圧縮を行って二次記憶装置のデータ
処理容量を小さくしても、画像入出力手段−半導体メモ
リ間のデータ処理速度との差がなかったために、半導体
メモリへの転送(データ圧縮等のデータ変換処理も含
む)と、二次記憶装置へのデータ転送処理の転送タイミ
ングの制御を独立にかつ最適に制御することによる画像
形成装置の生産性の向上度はあまり高くなかった。
However, when such time division processing is used, the time required for data transfer is not shortened, so that the time required for inputting / outputting image data is minimized as in image forming apparatuses such as copying machines and printers. If the setting affects the productivity of the apparatus, performing the time-sharing process may cause a decrease in productivity. For this reason, image data is compressed to reduce the data transfer amount, or a secondary storage device with a high data transfer rate is installed to shorten the time required for data transfer to the secondary storage device. It had a composition. Further, in the past, for the purpose of simplifying the memory control, the secondary storage device is set substantially synchronously with the image data input / output operation performed by using the image input / output means without actively performing the time division transfer. A means for occupying as a resource and transferring data was used. By the way, in the conventional secondary storage device, the transfer speed of the image data of the semiconductor memory to the secondary storage device is slower than the transfer speed of the image data from the image input / output means to the semiconductor memory. Even if the data processing capacity of the secondary storage device is reduced by compressing the data, there is no difference in the data processing speed between the image input / output unit and the semiconductor memory. The degree of improvement in productivity of the image forming apparatus by controlling the transfer timing of the data transfer processing to the secondary storage device independently and optimally is not so high.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、最近の
技術の進歩に伴い、ハードディスク等の二次記憶装置の
データ転送速度の向上やデータ圧縮手段のデータ圧縮率
および処理速度の向上が著しく、さらに画像形成装置に
接続する画像入出力手段も多様を極めている状況では、
従来のようなメモリ制御では記憶装置やデータ圧縮手段
の能力を最大限に利用して生産性を確保することが難し
くなっている。本発明は、このような従来技術の状況に
鑑みてなされたもので、その目的は、入出力画像を扱
う、主に作業用に用いる一次記憶部(例えば半導体メモ
リ)とこの記憶部と相互にデータ転送を可能にした圧縮
データ保存用(大容量)の二次記憶装置(例えばHD
D)を装備する記憶部に、DMAを用いたメモリ制御方
式を適用し、記憶装置の処理能力に応じて最大の利用効
率を得るためのリソースの取得、開放を管理し、データ
転送動作の開始タイミングを制御することにより記憶領
域の利用率の向上、転送時間の短縮化を可能にした転送
制御手段を備え、高い生産性の確保を図ることが可能な
画像処理装置を提供することにある。
However, with the recent technological progress, the data transfer rate of the secondary storage device such as a hard disk and the data compression rate and the processing rate of the data compression means are remarkably improved. In the situation where the image input / output means connected to the forming device is extremely diverse,
With conventional memory control, it is difficult to maximize productivity by making full use of the capabilities of the storage device and data compression means. The present invention has been made in view of such a state of the art, and an object of the present invention is to provide a primary storage unit (for example, a semiconductor memory) mainly used for work, which handles input / output images, and this storage unit to each other. Secondary storage device (eg HD) for storing compressed data (large capacity) that enables data transfer
The memory control method using DMA is applied to the storage unit equipped with D), the acquisition and release of resources to obtain the maximum utilization efficiency is managed according to the processing capacity of the storage device, and the data transfer operation is started. An object of the present invention is to provide an image processing apparatus that includes a transfer control unit capable of improving the utilization rate of a storage area and shortening the transfer time by controlling the timing and ensuring high productivity.

【0006】また、上記目的の下に、二次記憶装置の記
憶領域に対して2以上の画像の転送操作を同時に実行す
る場合、或いは単一画像の転送操作を実行する場合、そ
れぞれの場合に適応した転送制御が可能な手段を備えた
前記画像処理装置を提供することにある。即ち、入力画
像・中間(入力に変換を施した)画像データを一次変換
部のバッファ領域を通して転送、保存する二次記憶装置
に対する上記画像転送操作に応じて、個々の画像の転送
(入出力)操作のために二次記憶装置を占有する時間を
適正化し、この占有時間の設定に伴い、一次変換部及び
二次記憶装置に必要な記憶領域を確保可能にし、そのと
き、一次変換部のバッファ領域の容量を最適に確保、制
御することにより、冗長な記憶領域の占有を防止し、複
数の画像信号の処理を効率的に行うことを可能にする。
Further, for the above purpose, in the case where the transfer operation of two or more images is simultaneously executed to the storage area of the secondary storage device, or when the transfer operation of the single image is executed, in each case, An object of the present invention is to provide the image processing apparatus including means capable of adaptive transfer control. That is, according to the image transfer operation to the secondary storage device that transfers and stores the input image / intermediate (converted input) image data through the buffer area of the primary conversion unit, transfer of individual images (input / output) The time to occupy the secondary storage device for operation is optimized, and the storage area necessary for the primary conversion unit and the secondary storage device can be secured by setting the occupied time, and at that time, the buffer of the primary conversion unit is secured. By optimally securing and controlling the capacity of the area, it is possible to prevent the redundant storage area from being occupied and to efficiently process a plurality of image signals.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、入出
力画像・中間画像に対しバッファとしての機能を持つ一
次記憶手段と、一次記憶手段のバッファ領域を通して転
送される画像を保存する二次記憶手段と、一次記憶手段
及び二次記憶手段に対するアクセス制御を行い、一次記
憶手段のバッファ領域と二次記憶手段の記憶領域間相互
の画像転送を制御する転送制御手段を有する画像処理装
置であって、前記転送制御手段は、一次記憶手段のバッ
ファ領域から二次記憶手段の記憶領域へのデータ転送に
あたり、単位画像に対する転送操作を1回、もしくは複
数回に分割して実行することを可能にし、二次記憶手段
の記憶領域に対する複数画像の同時転送時には複数回の
分割転送操作により、単一画像の転送時には1回の転送
操作により、単位画像の転送を実行するようにしたこと
を特徴とする画像処理装置である。
According to a first aspect of the present invention, a primary storage means having a function as a buffer for input / output images / intermediate images and an image transferred through a buffer area of the primary storage means are stored. An image processing apparatus having a secondary storage means, a transfer control means for controlling access to the primary storage means and the secondary storage means, and controlling mutual image transfer between the buffer area of the primary storage means and the storage area of the secondary storage means. Therefore, the transfer control means can execute the transfer operation for the unit image once or in a plurality of times when transferring data from the buffer area of the primary storage means to the storage area of the secondary storage means. If multiple images are simultaneously transferred to the storage area of the secondary storage means, the unit image can be transferred by multiple divided transfer operations, and when transferring a single image, the unit image can be transferred by one transfer operation. An image processing apparatus which is characterized in that so as to perform the transfer.

【0008】請求項2の発明は、請求項1に記載された
画像処理装置において、前記転送制御手段は、単位画像
を1回の転送操作により一次記憶手段のバッファ領域を
通して二次記憶手段の記憶領域へ転送するときに、二次
記憶手段に転送するデータ量に相当する容量を一次記憶
手段のバッファ領域として確保するようにしたことを特
徴とするものである。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the transfer control means stores the unit image through a buffer area of the primary storage means by a single transfer operation and stores the secondary storage means. When the data is transferred to the area, a capacity corresponding to the amount of data to be transferred to the secondary storage means is secured as a buffer area of the primary storage means.

【0009】請求項3の発明は、請求項1又は2に記載
された画像処理装置において、前記転送制御手段は、単
位画像を複数回に分割した転送操作により一次記憶手段
のバッファ領域を通して二次記憶手段の記憶領域へ転送
するときに、二次記憶手段に分割転送する個々のデータ
量に相当する容量を一次記憶手段のデータ変換された画
像のバッファ領域として確保するようにしたことを特徴
とするものである。
According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the transfer control means performs a secondary operation through a buffer area of the primary storage means by a transfer operation in which a unit image is divided into a plurality of times. When the data is transferred to the storage area of the storage means, a capacity corresponding to the amount of individual data to be divided and transferred to the secondary storage means is secured as a buffer area for the data-converted image of the primary storage means. To do.

【0010】請求項4の発明は、請求項1乃至3のいず
れか記載された画像処理装置において、入出力画像にデ
ータ変換を施すデータ変換手段を有し、前記転送制御手
段は、データ変換手段によりデータ変換された変換画像
を前記転送操作の対象画像として、一次記憶手段のバッ
ファ領域から二次記憶手段の記憶領域へ変換画像のデー
タ転送を行うようにしたことを特徴とするものである。
According to a fourth aspect of the invention, in the image processing apparatus according to any one of the first to third aspects, there is provided data conversion means for performing data conversion on the input / output image, and the transfer control means is the data conversion means. The converted image data is converted into a target image for the transfer operation, and the converted image data is transferred from the buffer area of the primary storage means to the storage area of the secondary storage means.

【0011】[0011]

【発明の実施の形態】本発明の画像処理装置を添付する
図面を参照して示す以下の実施例に基づき説明する。図
1は、本発明の画像処理装置をデジタル複写機に実施し
た例を示す概略構成図である。図1を参照して、読み取
り部20の読み取りプロセス、像形成部30の像形成プ
ロセスを説明する。読み取りプロセスでは、原稿を原稿
台21に沿って可動な露光ランプ22によってスキャン
露光し、その反射光をCCD(イメージセンサー)23
によって光電変換を行い、光の強弱に応じた電気信号と
する。IPU(イメージプロセッシングユニット)24
により、その電気信号をシェーディング補正等の処理を
行いA/D変換し、8ビットのデジタル信号とし、さら
に変倍処理、MTF補正、空間フィルタ処理、γ補正処
理、ディザ処理等の画像処理を行い、画像同期信号と共
に画像信号を像形成部30に送る。図2は、原稿台を上
方から見た図である。同図中の走査方向に示すように、
CCD23により主走査、スキャナーの移動により副走
査が行われ原稿をラスタ形式で読み取る。スキャナー制
御部25は、上記読み取りプロセスを実行するために、
各種センサーの検知、スキャン駆動モータ等の制御を行
い、また、IPU24に各種パラメータの設定を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus of the present invention will be described based on the following embodiments shown with reference to the accompanying drawings. FIG. 1 is a schematic configuration diagram showing an example in which the image processing apparatus of the present invention is applied to a digital copying machine. The reading process of the reading unit 20 and the image forming process of the image forming unit 30 will be described with reference to FIG. In the reading process, an original is scan-exposed by an exposure lamp 22 that is movable along an original table 21, and the reflected light is scanned by a CCD (image sensor) 23.
Photoelectric conversion is performed by using an electric signal according to the intensity of light. IPU (Image Processing Unit) 24
The electrical signal is subjected to processing such as shading correction and A / D conversion to be an 8-bit digital signal, and further image processing such as scaling processing, MTF correction, spatial filter processing, γ correction processing and dither processing is performed. , And sends the image signal together with the image synchronization signal to the image forming unit 30. FIG. 2 is a view of the document table viewed from above. As shown in the scanning direction in the figure,
Main scanning is performed by the CCD 23 and sub-scanning is performed by moving the scanner to read the document in a raster format. The scanner control unit 25 executes the above reading process,
It detects various sensors, controls the scan drive motor, and sets various parameters in the IPU 24.

【0012】像形成プロセスでは、帯電チャージャ32
によって一様に帯電された一定回転する感光体33を、
書込部31からの画像データによって変調されたレーザ
ー光により露光する。感光体33には静電潜像ができ、
それを現像装置34によりトナーで現像することにより
顕像化したトナー像となる。あらかじめ給紙コロ15に
よって給紙トレイ16より給紙搬送されレジストローラ
14で待機していた転写紙を、感光体33とタイミング
を図って搬送し、転写チャージャ35によって感光体3
3上のトナーを転写紙に静電転写し、分離チャージャー
36によって転写紙を感光体33より分離する。その
後、転写紙上のトナー像を定着装置13により加熱定着
し、排紙ローラ12により排紙トレイ11に排紙する。
一方、静電転写後の感光体33に残留したトナー像は、
クリーニング装置37が感光体33に圧接、除去し、感
光体33は除電チャージャ38により除電される。プロ
ッタ制御部39は以上のプロセスを実行するために、各
種センサーの検知、駆動モータ等の制御を行う。
In the image forming process, the charger 32
The photoconductor 33 that is uniformly charged by
Exposure is performed with laser light modulated by the image data from the writing unit 31. An electrostatic latent image is formed on the photoconductor 33,
By developing it with toner by the developing device 34, it becomes a visualized toner image. The transfer paper previously fed by the paper feed roller 15 from the paper feed tray 16 and waiting by the registration roller 14 is conveyed in time with the photoconductor 33, and is transferred by the transfer charger 35.
The toner on 3 is electrostatically transferred onto the transfer paper, and the transfer paper is separated from the photoconductor 33 by the separation charger 36. After that, the toner image on the transfer paper is heated and fixed by the fixing device 13, and is ejected to the paper ejection tray 11 by the paper ejection roller 12.
On the other hand, the toner image remaining on the photoconductor 33 after electrostatic transfer is
The cleaning device 37 presses and removes the photoconductor 33, and the photoconductor 33 is neutralized by the neutralization charger 38. The plotter control unit 39 detects various sensors and controls a drive motor and the like in order to execute the above process.

【0013】ここで、読み取り部20のIPU24より
出力される画像同期信号の様子を示す図3を参照して、
各画像同期信号とその関係を説明する。フレームゲート
信号(/FGATE)は副走査方向の画像エリアに対しての画
像有効範囲を表す信号でこの信号がローレベル(ローア
クティブ)の間の画像データが有効とされる。また、こ
の/FGATEは、ライン同期信号(/LSYNC)の立ち下がりエ
ッジでアサート、あるいはネゲートされる。/LSYNCは、
画素同期信号(PCLK)の立ち上がりエッジで所定クロッ
ク数(この例では、8CLK)だけアサートされ、この信号
の立ち上がり後、所定クロック数(この例では、8CLK)
後に、主走査方向の画像データが有効とされる。送られ
てくる画像データは、PCLKの1周期に対して1つであ
り、図2の矢印部分より400DPI相当に分割されたも
のである。画像データは矢印部分を先頭にラスタ形式の
データとして送出される。また、画像データの副走査有
効範囲は、通常、転写紙サイズによって決まる。
Here, referring to FIG. 3 showing the state of the image synchronization signal output from the IPU 24 of the reading section 20,
Each image synchronization signal and its relationship will be described. The frame gate signal (/ FGATE) is a signal indicating an effective image range for an image area in the sub-scanning direction, and image data is valid while this signal is at a low level (low active). This / FGATE is asserted or negated at the falling edge of the line sync signal (/ LSYNC). / LSYNC is
A predetermined number of clocks (8CLK in this example) is asserted at the rising edge of the pixel synchronization signal (PCLK), and a predetermined number of clocks (8CLK in this example) after the rising edge of this signal
After that, the image data in the main scanning direction is validated. The image data sent is one for one cycle of PCLK, and is divided into 400 DPI equivalent from the arrow portion in FIG. The image data is transmitted as raster format data with the arrowhead at the beginning. The effective sub-scanning range of image data is usually determined by the transfer paper size.

【0014】システム制御部1は、複写機全体を制御す
るためのシステムを構成し、オペレータによる操作部7
への入力状態を検知し、読み取り部20、記憶部4、像
形成部30、FAX部9への各種パラメータの設定、プ
ロセス実行指示等を、通信にて行う。また、システム全
体の状態を操作部7にて表示する。システム制御部1へ
の指示はオペレータの操作部7へのキー入力にてなされ
る。FAX部9は、システム制御部1からの指示によ
り、送られてきた画像データをG3、G4FAXのデータ転
送規定に基づき2値圧縮を行い、電話回線へ転送する。
また、電話回線よりFAX部9に転送されたデータは復
元されて2値の画像データとされ、像形成部30の書込
部31へ送られ顕像化される。セレクタ部5は、システ
ム制御部1からの指示により、セレクタの状態を変化さ
せ、像形成を行う画像データのソースを読み取り部2
0、記憶部4、FAX部9の何れかより選択する。記憶
部4は、通常はIPU24から入力される原稿の画像デ
ータを記憶することで、リピートコピー、回転コピー等
の複写アプリケーションに使用される。また、FAX部
9からの2値画像データを一時記憶させるバッファメモ
リとしても使用する。これらデータ記憶の指示は、シス
テム制御部1によってなされる。
The system control unit 1 constitutes a system for controlling the entire copying machine, and an operator operates the operation unit 7.
An input state to the reading unit 20, the storage unit 4, the image forming unit 30, and the FAX unit 9 is set by communication, and a process execution instruction is performed. Further, the state of the entire system is displayed on the operation unit 7. The instruction to the system control unit 1 is made by a key input to the operation unit 7 by the operator. In response to an instruction from the system control unit 1, the FAX unit 9 performs binary compression on the sent image data based on the G3 and G4 FAX data transfer regulations, and transfers the image data to a telephone line.
Further, the data transferred to the FAX unit 9 from the telephone line is restored to binary image data, which is sent to the writing unit 31 of the image forming unit 30 and visualized. In response to an instruction from the system control unit 1, the selector unit 5 changes the state of the selector and determines the source of image data for forming an image by the reading unit 2.
0, the storage unit 4, or the FAX unit 9 is selected. The storage unit 4 is used for copying applications such as repeat copying and rotating copying by storing the image data of the original that is normally input from the IPU 24. It is also used as a buffer memory for temporarily storing the binary image data from the FAX unit 9. These data storage instructions are given by the system control unit 1.

【0015】記憶部4について、その構成をブロック図
にて示す図4を参照して、詳細に説明する。以下に、図
4に示す各ブロック毎にその機能説明を行う。 <メモリ制御部43>メモリ制御部43はCPU及びロ
ジックで構成され、システム制御部1と通信を行ってコ
マンドを受信し、そのコマンドに応じて動作条件を設定
し、また、記憶部4の状態を知らせるためステータス情
報をシステム制御部1に送信する。システム制御部1か
らの動作コマンドには、画像入力、画像出力、圧縮、伸
長等があり、画像入力、画像出力のコマンドは、画像入
出力DMAC41(後述)に、圧縮関連のコマンドは画
像転送DMAC44(後述)、符号転送DMAC45
(後述)、圧縮伸長器46(後述)に送信される。 <画像入出力DMAC41>画像入出力DMAC41
は、CPU及びロジックで構成され、メモリ制御部43
(後述)と通信を行ってコマンドを受信し、そのコマン
ドに応じて動作条件を設定し、また、画像入出力DMA
C41の状態を知らせるためのステータス情報をメモリ
制御部43に送信する。画像入力のコマンドを受けた場
合、入力画像データを入力画像同期信号に従って8画素
単位のメモリデータとしてパッキングして、メモリ制御
部43にメモリアクセス信号と共に随時出力する。画像
出力のコマンドを受けた場合、メモリ制御部43からの
画像データを出力画像同期信号に同期させて出力する。 <画像メモリ42>画像メモリ42は画像データを記憶
するところで、DRAM等の半導体記憶素子で構成さ
れ、メモリ量の合計は、例えば、600DPI、2値画像デ
ータのA3サイズ、2面分の18Mバイトと、データ圧縮用
メモリ9Mバイトの合計27MBとしている。メモリ制御
部43から読み出し、書込の制御を行なう。
The storage unit 4 will be described in detail with reference to FIG. 4, which shows a block diagram of its configuration. The function of each block shown in FIG. 4 will be described below. <Memory Control Unit 43> The memory control unit 43 includes a CPU and logic, communicates with the system control unit 1 to receive commands, sets operating conditions according to the commands, and stores the state of the storage unit 4. The status information is transmitted to the system control unit 1 in order to inform the user. The operation commands from the system control unit 1 include image input, image output, compression, decompression, etc., commands for image input and image output are sent to the image input / output DMAC 41 (described later), and commands related to compression are sent to the image transfer DMAC 44. (Described later), code transfer DMAC 45
(Described later), and transmitted to the compression / expansion unit 46 (described later). <Image input / output DMAC41> Image input / output DMAC41
Is composed of a CPU and logic, and is a memory control unit 43.
It communicates with (described later) to receive commands, sets operating conditions according to the commands, and also performs image input / output DMA.
The status information for notifying the state of C41 is transmitted to the memory control unit 43. When an image input command is received, the input image data is packed as memory data in units of 8 pixels according to the input image synchronization signal, and is output to the memory control unit 43 together with the memory access signal at any time. When receiving the image output command, the image data from the memory control unit 43 is output in synchronization with the output image synchronization signal. <Image memory 42> The image memory 42 stores image data, and is composed of a semiconductor memory element such as DRAM. The total memory amount is, for example, 600 DPI, A3 size of binary image data, 18 Mbytes for two planes. And the memory for data compression is 9 MB and the total is 27 MB. Reading and writing is controlled from the memory control unit 43.

【0016】<画像転送DMAC44>画像転送DMA
C44はCPU及びロジックで構成され、メモリ制御部
43と通信を行ってコマンドを受信し、そのコマンドに
応じて動作条件を設定し、また、画像転送DMAC44
の状態を知らせるためのステータス情報をメモリ制御部
43に送信する。圧縮のコマンドを受けた場合、メモリ
制御部43にメモリアクセス要求信号を出力し、メモリ
アクセス許可信号がアクティブの場合に画像データを受
け取って圧縮伸長器46(後述)に転送する。また、メ
モリアクセス要求信号に応じてカウントアップするアド
レスカウンタを内蔵し、変換された画像データが一時格
納される格納場所を示す22ビットのメモリアドレスを出
力する。 <符号転送DMAC45>符号転送DMAC45はCP
U及びロジックで構成され、メモリ制御部43と通信を
行ってコマンドを受信し、そのコマンドに応じて動作条
件を設定し、また、符号転送DMAC45の状態を知ら
せるためステータス情報をメモリ制御部43に送信す
る。伸長のコマンドを受けた場合、メモリ制御部43に
メモリアクセス要求信号を出力し、メモリアクセス許可
信号がアクティブの場合に画像データを受け取って圧縮
伸長器46(後述)に転送する。また、メモリアクセス
要求信号に応じてカウントアップするアドレスカウンタ
を内蔵し、変換された画像データが一時格納される格納
場所を示す22ビットのメモリアドレスを出力する。な
お、DMACのディスクリプタアクセス動作については
後述する。 <圧縮伸長器46>CPU及びロジックで構成され、メ
モリ制御部43と通信を行ってコマンドを受信し、その
コマンドに応じて動作条件を設定し、また、圧縮伸長器
46の状態を知らせるためステータス情報をメモリ制御
部43に送信する。2値データをMH(Modified Huffma
n)符号化方法にて処理する。 <HDDコントローラ47>CPU及びロジックで構成
され、メモリ制御部43と通信を行ってコマンドを受信
し、そのコマンドに応じて動作条件を設定し、また、H
DDコントローラ47の状態を知らせるためステータス
情報をメモリ制御部43に送信する。HDD48のステ
ータス情報のリード、データ転送を行なう。このHDD
コントローラ47は、ディスクリプタ方式を用い、圧縮
変換後の符号データをHDD48へ送信することもでき
る。 <HDD48>二次記憶装置でハードディスクである。
このHDDは、圧縮変換された符号データ(画像メモリ
42内の変換データを格納するバッファ領域から転送さ
れる)を保存するための大容量記憶装置であり、HDD
コントローラ47からの指示により、符号(画像)デー
タを内部のハードディスク(HD)に書き込んで保存さ
せる動作と、保存した符号データを読み出してHDDコ
ントローラ47へ送出する動作とを行う。
<Image transfer DMAC 44> Image transfer DMA
The C44 is composed of a CPU and a logic, communicates with the memory control unit 43 to receive a command, sets an operating condition in accordance with the command, and also transfers an image transfer DMAC44.
The status information for notifying the state of is transmitted to the memory control unit 43. When it receives a compression command, it outputs a memory access request signal to the memory control unit 43. When the memory access permission signal is active, it receives image data and transfers it to a compression / expansion unit 46 (described later). It also has a built-in address counter that counts up in response to a memory access request signal, and outputs a 22-bit memory address indicating the storage location where the converted image data is temporarily stored. <Code Transfer DMAC 45> The code transfer DMAC 45 is a CP
It is composed of U and logic, communicates with the memory control unit 43 to receive a command, sets an operating condition according to the command, and sends status information to the memory control unit 43 to inform the state of the code transfer DMAC 45. Send. When it receives a decompression command, it outputs a memory access request signal to the memory control unit 43, and when the memory access permission signal is active, it receives image data and transfers it to a compression / decompression unit 46 (described later). It also has a built-in address counter that counts up in response to a memory access request signal, and outputs a 22-bit memory address indicating the storage location where the converted image data is temporarily stored. The descriptor access operation of the DMAC will be described later. <Compressor / decompressor 46> Comprised of a CPU and logic, communicates with the memory controller 43 to receive a command, sets an operating condition in accordance with the command, and a status for notifying the state of the compressor / decompressor 46. The information is transmitted to the memory control unit 43. Binary data is converted to MH (Modified Huffma
n) Process by the encoding method. <HDD controller 47> Comprised of a CPU and logic, it communicates with the memory control unit 43 to receive commands, sets operating conditions in accordance with the commands, and H
Status information is transmitted to the memory control unit 43 to notify the state of the DD controller 47. The status information of the HDD 48 is read and the data is transferred. This HDD
The controller 47 can also transmit the code data after compression conversion to the HDD 48 by using the descriptor method. <HDD48> A secondary storage device, which is a hard disk.
The HDD is a large-capacity storage device for storing compression-converted code data (transferred from a buffer area in the image memory 42 for storing conversion data).
According to an instruction from the controller 47, the operation of writing the code (image) data in the internal hard disk (HD) and saving it, and the operation of reading the saved code data and sending it to the HDD controller 47 are performed.

【0017】記憶部4が構成要素とするメモリ制御部4
3の内部構成をブロック図にて示す図5を参照して、詳
細に説明する。以下に、図5に示す各ブロック毎にその
機能説明を行う。 <入出力画像アドレスカウンタ435>画像入出力DM
AC41からの入出力メモリアクセス要求信号に応じて
カウントアップするアドレスカウンタで、入出力画像デ
ータが格納される格納場所を示す22ビットのメモリアド
レスを出力する。メモリアクセス開始時にアドレスはい
ったん初期化される。 <転送画像アドレスカウンタ437>転送メモリアクセ
ス許可信号に応じてカウントアップするアドレスカウン
タで、転送画像データが一時格納される格納場所を示す
22ビットのメモリアドレスを出力する。メモリアクセス
開始時にいったんアドレスは初期化される。 <ライン設定部431>画像入力時のバッファとして画
像(半導体)メモリ42を使用する場合、差分比較部4
32(後述)で差分算出部430(後述)から出力され
た入力処理ラインと転送ラインの差分結果と比較する値
を設定する。システム制御部1から任意の値が設定され
る。 <差分算出部430>画像入力時には、圧縮伸張器46
が出力する転送処理ライン数から画像入出力部が出力す
る入出力処理ライン数を減算し、結果を差分比較部43
2に出力する。 <差分比較部432>画像入力時には、差分算出部43
0が出力する差分ライン数と、ライン設定部が出力する
設定値とを大小比較し、差分ライン数=設定値となった
ならばエラー信号を出力し、また、差分ライン数が0と
なったならばアービタ434(後述)に出力する比較結
果の転送要求マスク信号をアクティブとする。それ以
外、または入出力画像が動作中でない状態では、アクテ
ィブを出力しない。
Memory control unit 4 which is a component of the storage unit 4
The internal configuration of No. 3 will be described in detail with reference to FIG. 5, which is a block diagram. The function of each block shown in FIG. 5 will be described below. <Input / output image address counter 435> Image input / output DM
An address counter that counts up in response to an input / output memory access request signal from the AC 41 outputs a 22-bit memory address indicating a storage location where input / output image data is stored. The address is initialized once when the memory access is started. <Transfer image address counter 437> An address counter that counts up in accordance with a transfer memory access permission signal and indicates a storage location where transfer image data is temporarily stored.
Outputs 22-bit memory address. The address is initialized once when the memory access is started. <Line setting unit 431> When the image (semiconductor) memory 42 is used as a buffer at the time of image input, the difference comparison unit 4
At 32 (described later), a value to be compared with the difference result between the input processing line and the transfer line output from the difference calculation unit 430 (described later) is set. An arbitrary value is set by the system control unit 1. <Difference calculation unit 430> At the time of image input, the compression / expansion unit 46
Subtracts the number of input / output processing lines output by the image input / output unit from the number of transfer processing lines output by
Output to 2. <Difference comparison unit 432> At the time of image input, the difference calculation unit 43
The difference line number output by 0 is compared with the set value output by the line setting unit, and if the difference line number = the set value, an error signal is output, and the difference line number is 0. Then, the transfer request mask signal of the comparison result output to the arbiter 434 (described later) is activated. Other than that, or when the input / output image is not in operation, the active is not output.

【0018】<アドレスセレクタ436>アービタ43
4により選択されるセレクタで、入出力画像または転送
画像のアドレスのどちらが選択される。 <アービタ434>画像入出力DMAC41、画像転送
DMAC44、符号転送DMAC45からのメモリアク
セス要求信号を調停し、アクセス許可信号を出力する。
リフレッシュ制御回路を内蔵し、優先順位はリフレッシ
ュ、画像入出力DMAC、画像転送DMAC、符号転送
DMACの順で、メモリアクセスが非アクティブの条件
で許可先にはメモリアクセス許可信号をアクティブ出力
する。また、許可信号を出力すると共に画像メモリ42
のアドレスをセレクトし、アクセス制御回路438(後
述)にメモリアクセスのスタートを示すトリガ信号を出
力する。 <要求マスク433>差分比較部432からの比較結果
にて圧縮伸張部46のアクセスのための転送メモリアク
セス要求信号をマスク(ディスイネーブル状態とするこ
と)し、転送処理を停止させる。 <アクセス制御回路438>入力される物理アドレスを
アクセス制御回路438からの信号により半導体メモリ
であるDRAMに対応したロウアドレス、カラムアドレ
スに分割し11ビットのアドレスバスに出力する。また、
アービタ434からのアクセス開始信号に従い、DRA
M制御信号(RAS、CAS、WE)を出力する。
<Address Selector 436> Arbiter 43
The selector selected by 4 selects either the input / output image address or the transfer image address. <Arbiter 434> It arbitrates the memory access request signal from the image input / output DMAC 41, the image transfer DMAC 44, and the code transfer DMAC 45, and outputs the access permission signal.
A refresh control circuit is built-in, and priority is given to refresh, image input / output DMAC, image transfer DMAC, and code transfer DMAC in this order, and a memory access permission signal is actively output to the permission destination under the condition that memory access is inactive. Further, the permission signal is output and the image memory 42
Address is selected, and a trigger signal indicating the start of memory access is output to the access control circuit 438 (described later). <Request Mask 433> The transfer memory access request signal for access of the compression / expansion unit 46 is masked (set in the disable state) based on the comparison result from the difference comparison unit 432, and the transfer process is stopped. <Access control circuit 438> The input physical address is divided into a row address and a column address corresponding to a semiconductor memory DRAM by a signal from the access control circuit 438 and output to an 11-bit address bus. Also,
According to the access start signal from the arbiter 434, the DRA
It outputs the M control signal (RAS, CAS, WE).

【0019】記憶部4全体の動作としては、画像入力、
及びデータ蓄積に際しては、システム制御部1からの画
像入力指示により、メモリ制御部43は初期化され、画
像データの待ち状態となり、読み取り部20のスキャナ
が動作することにより記憶部4に画像データが入力され
る。入力された画像データは一旦画像(半導体)メモリ
42に書き込まれる。また、書き込まれた画像データの
処理ライン数は画像入出力DMAC41で計数され、メ
モリ制御部43へと入力される。圧縮伸長器46は、画
像転送のコマンドを受けて転送メモリアクセス要求信号
を出力しているが、メモリ制御部43の要求マスク部4
33により要求信号がマスクされ、実際のメモリアクセ
スは行われていない。画像入出力部からの入力データが
1ライン終了することで、転送メモリアクセス要求信号
のマスクが解除され、半導体メモリ42の読み出しが行
われ画像データの圧縮伸張器46への転送動作が開始さ
れる。また、動作中も差分算出部430で2つの処理ラ
イン数の差を算出し、0となればアドレスの追い越しが
ない様に転送メモリアクセス要求信号にマスクをかけて
いる。以上の動作により、画像メモリ42に対する書き
込み・読み出しに応じた転送制御が行われる。
The operation of the entire storage unit 4 includes image input,
When storing data, the memory control unit 43 is initialized in response to an image input instruction from the system control unit 1 and enters a standby state for image data. When the scanner of the reading unit 20 operates, the image data is stored in the storage unit 4. Is entered. The input image data is once written in the image (semiconductor) memory 42. The number of processing lines of the written image data is counted by the image input / output DMAC 41 and input to the memory control unit 43. The compression / expansion unit 46 outputs the transfer memory access request signal in response to the image transfer command, but the request mask unit 4 of the memory control unit 43.
The request signal is masked by 33, and the actual memory access is not performed. Input data from the image input / output unit
When one line is completed, the mask of the transfer memory access request signal is released, the semiconductor memory 42 is read, and the transfer operation of the image data to the compression / expansion unit 46 is started. Further, even during the operation, the difference calculation unit 430 calculates the difference between the two processing line numbers, and when it becomes 0, the transfer memory access request signal is masked so that the address will not be overtaken. Through the above operation, transfer control according to writing / reading to / from the image memory 42 is performed.

【0020】ここで、画像(ビデオ)入力DMAC41
の画像(半導体)メモリ42に対するディスクリプタア
クセス動作、及びデータ転送動作を説明する。図6は、
ディスクリプタの形式とディスクリプタによる転送動作
を説明するための模式図である。図6を参照すると、図
中の画像データは、バンド1〜4の4つのバンドに分割さ
れており、各バンドで設定されているライン数の画像デ
ータを各々のディスクリプタ1〜4の指示に従って転送す
る。1画像中の総転送ライン数を加算する手順を説明す
ると、まず、ビデオ入力DMAC41が転送コマンドを
受けるとDMAが起動し、あらかじめ内部のディスクリ
プタ格納レジスタにCPUによって設定されたチェーン
先アドレス(a)にディスクリプタ1をリードアクセス
し、半導体メモリ42中のディスクリプタ1の内容をデ
ィスクリプタ格納レジスタにロードする。そのロードさ
れた内容には、4ワードで構成されており、次のディス
クリプタの格納アドレスを示すチェーン先アドレス、転
送するデータの先頭アドレスを示すデータ格納先アドレ
ス、転送するデータのデータ量をライン数で示すデータ
転送ライン数、及び設定されたライン数転送が終了した
場合、CPU割り込みを発生するか否かのフォーマット
情報がある。フォーマット情報の最下位ビットには、設
定されたライン数転送終了の場合にCPU割り込みを発
生させるかさせないかを表わすビットが配置されてい
る。“1”でCPU割り込みを発生、“0”でCPU割り
込みをマスクする。図6の例では、1画像を4つのバン
ドに分割して、4つのディスクリプタのこのフォーマッ
ト情報の最下位ビットには1から4まで順に、“1、1、
1、1”となっている。各バンドの画像データ転送が終了
するとCPU割り込みが発生し、その割り込み発生によ
り、各ディスクリプタに設定されているライン数を加算
することにより転送終了タイミング、及びライン数を検
出しながら一次記憶手段としての画像メモリ42に画像
の転送を行う。なお、一次記憶部としての画像メモリ4
2は、画像(ビデオ)入力DMAC41により転送され
る入力画像のバッファ領域の外に、下記のように、符号
転送DMAC46により圧縮伸長器46を通して転送さ
れるデータ圧縮された変換データの格納領域としても用
いる。
Here, the image (video) input DMAC 41
The descriptor access operation and the data transfer operation for the image (semiconductor) memory 42 of FIG. Figure 6
FIG. 6 is a schematic diagram for explaining a descriptor format and a transfer operation by the descriptor. Referring to FIG. 6, the image data in the figure is divided into four bands of bands 1 to 4, and the image data of the number of lines set in each band is transferred according to the instructions of each descriptor 1 to 4. To do. The procedure for adding the total number of transfer lines in one image will be described. First, when the video input DMAC 41 receives a transfer command, the DMA is activated, and the chain destination address (a) set in advance by the CPU in the internal descriptor storage register. Then, the descriptor 1 is read-accessed and the contents of the descriptor 1 in the semiconductor memory 42 are loaded into the descriptor storage register. The loaded content consists of 4 words.The chain destination address that indicates the storage address of the next descriptor, the data storage destination address that indicates the start address of the data to be transferred, and the data amount of the data to be transferred are the number of lines. The number of data transfer lines indicated by and the format information indicating whether or not a CPU interrupt is generated when the transfer of the set number of lines is completed. In the least significant bit of the format information, a bit indicating whether or not to generate a CPU interrupt when the transfer of the set number of lines is completed is arranged. When "1", CPU interrupt is generated, and when "0", CPU interrupt is masked. In the example of FIG. 6, one image is divided into four bands, and the least significant bits of this format information of the four descriptors are “1, 1,
When the image data transfer of each band is completed, a CPU interrupt occurs, and the interrupt occurrence causes the line number set in each descriptor to be added to complete the transfer end timing and the line number. The image is transferred to the image memory 42 as the primary storage means while detecting the.
In addition to the buffer area of the input image transferred by the image (video) input DMAC 41, 2 is also used as a storage area of the converted data compressed by the code transfer DMAC 46 through the compression / expansion unit 46 as described below. To use.

【0021】上記のようにして、画像(ビデオ)入力D
MAC41により入力画像を一旦一次記憶部としての画
像(半導体)メモリ42に格納した後、この画像は、二
次記憶装置としてのHDD48に蓄積するために転送さ
れる。本実施例では、入力画像に対して圧縮処理を施
し、圧縮後のデータを二次記憶装置に保存する。そのた
めに、画像メモリ42に保持されている入力画像を画像
転送DMAC44に設定したディスクリプタにより(既
知の1画像分のデータ転送ライン数を設定して1ディスク
リプタで)圧縮伸長器46に送り込み、そこで圧縮処理
が施される。圧縮処理された後の符号化された変換デー
タ(中間画像データ)は、符号転送DMAC45に設定
したディスクリプタにより画像メモリ42に設けた変換
データを格納するバッファ領域に転送する。圧縮変換後
のデータについては、符号転送DMAC45でカウント
した符号量により認識することができる。この後、画像
メモリ42に設けた圧縮変換データを格納するために確
保したバッファ領域に転送されたデータは、HDDコン
トローラ47がメモリ制御部43と通信を行ってコマン
ドを受信し、バッファ領域からさらにHDD48へ転送
し、データをそこに保存する。このとき、画像メモリ4
2に確保したバッファメモリに圧縮後転送されたデータ
量によりHDD48の記憶領域の確保を行う。
As described above, the image (video) input D
The input image is temporarily stored in the image (semiconductor) memory 42 as the primary storage unit by the MAC 41, and then this image is transferred to be stored in the HDD 48 as the secondary storage device. In this embodiment, the input image is compressed and the compressed data is stored in the secondary storage device. For that purpose, the input image stored in the image memory 42 is sent to the compression / expansion unit 46 by the descriptor set in the image transfer DMAC 44 (with one descriptor by setting the known number of data transfer lines for one image), and compressed there. Processing is performed. The encoded converted data (intermediate image data) after the compression processing is transferred to the buffer area provided in the image memory 42 for storing the converted data by the descriptor set in the code transfer DMAC 45. The data after compression conversion can be recognized by the code amount counted by the code transfer DMAC 45. After that, the data transferred to the buffer area secured for storing the compressed conversion data provided in the image memory 42 is received by the HDD controller 47 with the memory control unit 43 to receive a command, and the data is further transferred from the buffer area. The data is transferred to the HDD 48 and the data is stored there. At this time, the image memory 4
The storage area of the HDD 48 is secured by the amount of data transferred after being compressed in the buffer memory secured in 2.

【0022】次に、画像入力からHDD48へ保存する
までの上記した一連のデータ転送動作を制御する手段に
係わる実施例を詳細に説明する。先ず、一次記憶部への
転送に係わる実施例について説明する。一次記憶部への
転送は、二次記憶装置であるHDD48に蓄積する前に
行われる圧縮処理によりデータ変換された画像データを
一時的に保持するために確保したバッファ領域への転送
である。確保するバッファ領域のサイズは、基本的には
任意に設定することが可能で、例えば、1画像分の領域
を取得し、HDD48に確保された連続領域に対して連
続転送することも可能であるし、分割転送するための領
域を取得し、HDD48に確保された分断領域に対して
転送することも可能である。こうした一次記憶部(画像
メモリ42)の記憶領域の取得および開放を管理するた
めに、以下に示す「画像IDテーブル」「ディスクリプ
タテーブル」「ブロックテーブル」の3つの管理テーブ
ルを用いる。まず、「画像IDテーブル」について説明
する。図7は、メモリ制御部43によって画像メモリ4
2の記憶領域の取得および解放を行うために必要な画像
IDテーブルの構成例を示すメモリマップ図である。こ
の画像IDテーブルは、0〜nからなるテーブルIDの下
に、1テーブルを画像IDと、開始ディスクリプタテー
ブルIDとによって構成する。画像IDは、画像メモリ
(一次記憶部)42,HDD(二次記憶装置)48でユ
ニーク(特有)なID(識別情報)であり、各記憶部の
異なる画像データで重複したIDが存在してはならな
い。また、画像IDは、0(NULL)を画像IDテーブル
上の初期状態とするために、システム予約IDとして使
用できないものとする。開始ディスクリプタテーブルI
Dは、最初に取得したディスクリプタテーブルのIDを
示す。画像IDテーブルの初期状態は、画像IDをNULL
に、開始ディスクリプタテーブルIDをEOD(End Of Di
scriptor)にしておく。
Next, an embodiment relating to the means for controlling the series of data transfer operations from the image input to the storage in the HDD 48 will be described in detail. First, an embodiment relating to the transfer to the primary storage unit will be described. The transfer to the primary storage unit is a transfer to a buffer area secured for temporarily holding the image data converted by the compression process performed before being stored in the HDD 48 which is the secondary storage device. The size of the buffer area to be secured can basically be set arbitrarily, and for example, it is also possible to acquire an area for one image and continuously transfer it to the continuous area secured in the HDD 48. However, it is also possible to obtain an area for divided transfer and transfer it to the divided area secured in the HDD 48. In order to manage the acquisition and release of the storage area of the primary storage unit (image memory 42), the following three management tables of “image ID table”, “descriptor table” and “block table” are used. First, the "image ID table" will be described. FIG. 7 shows the image memory 4 by the memory control unit 43.
It is a memory map figure which shows the structural example of the image ID table required in order to acquire and release the 2nd storage area. In this image ID table, one table is composed of an image ID and a start descriptor table ID under a table ID consisting of 0 to n. The image ID is a unique ID (identification information) in the image memory (primary storage unit) 42 and the HDD (secondary storage device) 48, and there are duplicate IDs in different image data in each storage unit. Don't The image ID cannot be used as the system reservation ID because 0 (NULL) is set as the initial state on the image ID table. Start descriptor table I
D indicates the ID of the descriptor table acquired first. In the initial state of the image ID table, the image ID is NULL
The start descriptor table ID to EOD (End Of Di
scriptor).

【0023】次に、「ディスクリプタテーブル」につい
て説明する。図8は、メモリ制御部43によって画像メ
モリ42の記憶領域の取得,解放を行うために必要なデ
ィスクリプタテーブルの構成例を示すメモリマップ図で
ある。このディスクリプタテーブルは、“0〜n”からな
るテーブルIDの下に、1テーブルを開始ブロックID
と、使用ブロック数と、次ディスクリプタテーブルID
とによって構成する。開始ブロックIDは、最初に取得
したブロックのIDを示す。使用ブロック数は、開始ブ
ロックから連続的に取得しているブロック数を意味す
る。次ディスクリプタテーブルIDは、HDD48の記
憶領域を連続的に取得(使用)できない場合に、チェー
ン構造にして、その記憶領域を不連続的に取得して管理
可能にするためのものである。開始ブロックIDとし
て、EOB(End Of Block)コードが挿入されていると、
未使用ディスクリプタと判定できる。次ディスクリプタ
テーブルIDは、EOT(End Of Table)コードが挿入さ
れている場合、チェーンの最後と判定できる。ディスク
リプタテーブルの初期状態も同様に、開始ブロックをEO
Bに、使用ブロック数を“0”に、そして次ディスクリプ
タテーブルIDをEOTにしておく。
Next, the "descriptor table" will be described. FIG. 8 is a memory map diagram showing a configuration example of the descriptor table necessary for the memory control unit 43 to acquire and release the storage area of the image memory 42. This descriptor table has one table under the table ID consisting of "0 to n" and a start block ID.
, Number of used blocks, and next descriptor table ID
It consists of and. The start block ID indicates the ID of the first acquired block. The number of used blocks means the number of blocks continuously acquired from the start block. The next descriptor table ID has a chain structure when the storage area of the HDD 48 cannot be continuously acquired (used), and the storage area is discontinuously acquired and can be managed. If an EOB (End Of Block) code is inserted as the start block ID,
It can be determined as an unused descriptor. When the EOT (End Of Table) code is inserted, the next descriptor table ID can be determined to be the end of the chain. Similarly, in the initial state of the descriptor table, the start block is set to EO.
The number of used blocks is set to “0” in B, and the next descriptor table ID is set to EOT.

【0024】次に、「ブロックテーブル」について説明
する。図9は、メモリ制御部43によって画像メモリ4
2の蓄積領域の取得,解放を行うために必要なブロック
テーブルの構成例を示すメモリマップ図である。このブ
ロックテーブルは、HDD48の蓄積領域を固定長サイ
ズに細分化し(細分化した単位領域を、以降「ブロッ
ク」と呼ぶ)、1ブロックの使用状態を1ビットで表し、
“0”を未使用ブロック、“1”を使用ブロックと定義
し、圧縮画像記憶領域の使用状態を管理する。例えば、
図4の画像メモリ42として、上記したように、データ
圧縮用の9MBを記憶領域にした場合に固定長のブロック
サイズを4KBとした場合、 9216(KB)÷4(KB)=2304(ブロック) となり、1ブロックは1ビットなので2304ビットのビット
テーブルが必要になる。ブロックテーブルの初期状態は
全て“0”(未使用状態)にしておく。また、1画像デー
タにつき最小で1画像IDテーブル+1ディスクリプタテ
ーブル+1ブロックになるため、画像IDテーブルとデ
ィスクリプタテーブルの各テーブルの最大数はブロック
数分確保しておけば良いことになる。
Next, the "block table" will be described. FIG. 9 shows the image memory 4 by the memory control unit 43.
It is a memory map figure which shows the structural example of the block table required in order to acquire and release the 2 accumulation area. In this block table, the storage area of the HDD 48 is subdivided into fixed length sizes (the subdivided unit areas are hereinafter referred to as “blocks”), and the usage state of one block is represented by 1 bit,
“0” is defined as an unused block and “1” is defined as a used block, and the usage state of the compressed image storage area is managed. For example,
As described above, in the image memory 42 of FIG. 4, when the fixed-size block size is 4 KB when 9 MB for data compression is used as the storage area, 9216 (KB) / 4 (KB) = 2304 (block) Since 1 block has 1 bit, a bit table of 2304 bits is required. The initial state of the block table is all set to "0" (unused state). Further, since one image data is a minimum of one image ID table + one descriptor table + one block, it is sufficient to secure the maximum number of each table of the image ID table and the descriptor table by the number of blocks.

【0025】ここで、上記した「画像IDテーブル」
「ディスクリプタテーブル」「ブロックテーブル」によ
り管理された画像メモリ42の記憶領域において、連続
した領域、分断された領域を確保し、一次的に入力画像
データ(圧縮後の変換データを含む)を格納するための
記憶領域を取得する処理に係わる実施例を示す。画像メ
モリ42へのデータ記憶領域を連続して取得するか、不
連続で(分断して)取得しても良いかの設定は、操作部
7よりキー操作により設定することが可能である。図1
0〜12は、連続/分断の設定に従いメモリ制御部43
が実行する画像メモリ42の記憶領域の取得処理に係わ
るフローチャートを示す。次に、図10〜12を参照し
て、本実施例を説明する。記憶領域の取得要求が発生す
ると、本フローが開始され、先ず、入力値に画像ID
と、取得するブロックの連続性を指示する連続ブロック
数と、該連続ブロック数を複数取得指示可能にするディ
スクリプタテーブル個数が必要なため、この入力値を示
すパラメータに異常がないか評価する(S1002)。
入力値を示すパラメータに異常があれば(S1002-N
O)、“入力パラメータ異常”を返し(S1003)、
処理を抜ける。次いで、今回の保存対象画像に対する処
理フローの始めに、画像IDテーブル取得処理時に必要
なテーブルIDカウンタ(画像IDテーブルを指示する
カウンタ)と取得済ブロックテーブルカウンタの変数を
“0”とする、初期化を行い(S1004)、画像ID
テーブル取得を試みる(S1005)。画像IDテーブ
ル取得は、画像IDがNULL値になっているテーブルを画
像IDテーブルの先頭からループ検索する。ループ検索
でテーブルIDカウンタが最終テーブルID値になった
場合には、全て使用されているため、テーブルIDカウ
ントがFULLであるか否かをチェックし(S1006)、
FULLである場合、画像IDテーブル取得不能と判定し、
“画像IDテーブルFULL”であるを返す、異常処理を行
い(S1007)、処理を抜ける。ステップS1006
でテーブルIDカウントがFULLではない(即ち画像ID
が存在した)場合は、テーブルIDカウントがNULL値に
なり、つまり空き画像IDテーブルが存在する(S10
08-YES)まで、テーブルIDカウンタを加算し(S1
009)、画像IDテーブルをループ検索する。この結
果、空き画像IDテーブルが存在した場合は(S100
8-YES)、対象画像IDテーブルの画像IDに要求画像
IDを設定する(S1010)。
Here, the above-mentioned "image ID table"
In the storage area of the image memory 42 managed by the "descriptor table" and the "block table", a continuous area and a divided area are secured, and the input image data (including the converted data after compression) is temporarily stored. An example related to a process of acquiring a storage area for the storage will be described. The setting of whether the data storage area in the image memory 42 may be continuously acquired or discontinuously (partitioned) may be set by a key operation from the operation unit 7. Figure 1
0 to 12 are memory control units 43 according to the setting of continuous / division.
10 is a flowchart related to the acquisition processing of the storage area of the image memory 42 executed by. Next, this embodiment will be described with reference to FIGS. When a storage area acquisition request is issued, this flow is started, and the input value is first set to the image ID.
Since the number of continuous blocks that instruct the continuity of the blocks to be acquired and the number of descriptor tables that enable multiple acquisition of the number of continuous blocks are required, it is evaluated whether there is an abnormality in the parameter indicating this input value (S1002). ).
If the parameter indicating the input value is abnormal (S1002-N
O), "Input parameter error" is returned (S1003),
Exit the process. Next, at the beginning of the processing flow for the image to be stored this time, the variables of the table ID counter (the counter indicating the image ID table) and the acquired block table counter necessary for the image ID table acquisition processing are set to “0”. (S1004) and image ID
Attempt to acquire a table (S1005). In the image ID table acquisition, a table in which the image ID has a null value is loop-searched from the top of the image ID table. If the table ID counter reaches the final table ID value in the loop search, it is checked that the table ID count is FULL because all the table ID counters have been used (S1006).
If it is FULL, it is determined that the image ID table cannot be acquired,
It returns "image ID table FULL", abnormal processing is performed (S1007), and the processing ends. Step S1006
And the table ID count is not FULL (ie image ID
Table ID count becomes a null value, that is, there is a free image ID table (S10).
08-YES), add the table ID counter (S1
009), loop search the image ID table. As a result, if there is an empty image ID table (S100
8-YES), the requested image ID is set to the image ID of the target image ID table (S1010).

【0026】次に、ディスクリプタテーブル取得を試み
る。最初にディスクリプタ取得処理に必要なテーブルI
Dカウンタ(ディスクリプタテーブルを指示するカウン
タ)の変数を“0”とし、前ディスクリプタテーブルI
D(変数)をEODにして、初期化を行う(S101
2)。ディスクリプタテーブルの取得は、開始ブロック
がEOBになっているテーブルをディスクリプタテーブル
の先頭からループ検索する。ループ検索でテーブルID
カウンタが最終テーブルID値になった場合には、全て
使用されているため、テーブルIDカウントがFULLであ
るか否かをチェックし(S1013)、FULLである場
合、ディスクリプタテーブル取得不能と判定し、“ディ
スクリプタテーブルFULL”であるを返し、異常処理を行
い(S1014)、処理を抜ける。ステップS1013
でテーブルIDカウントがFULLではない(即ちディスク
リプタテーブルIDが存在した)場合は、開始ブロック
がEOBになり、つまり空きディスクリプタテーブルが存
在する(S1015-YES)まで、テーブルIDカウンタ
を加算し(S1016)、ディスクリプタテーブルをル
ープ検索する。この結果、空きディスクリプタテーブル
が存在した場合(S1015-YES)、前ディスクリプタ
テーブルIDがEOTであるか否かにより処理を分け、EOT
である場合は(S1017-YES)、最初のディスクリプ
タテーブルと判定し、取得済の画像IDテーブル(S1
010、参照)の開始ディスクリプタテーブルIDに検
索したディスクリプタテーブルID(カウンタ値)を設
定する(S1018)。他方、前ディスクリプタテーブ
ルIDにEOT以外の値が代入されている場合は(S10
17-NO)、前ディスクリプタテーブルIDに設定され
ているディスクリプタテーブルの次ディスクリプタテー
ブルIDに検索したディスクリプタテーブルID(カウ
ンタ値)を設定する(S1019)。ディスクリプタテ
ーブルを取得できたことで、前ディスクリプタテーブル
ID(変数)に前ステップで取得したテーブルIDカウ
ンタ(カウンタ値)を設定し、取得済ディスクリプタテ
ーブルカウンタをカウントアップする(S1020)。
Next, the descriptor table acquisition is tried. First, table I required for descriptor acquisition processing
The variable of the D counter (counter for instructing the descriptor table) is set to “0”, and the previous descriptor table I
Initialize with D (variable) set to EOD (S101)
2). To obtain the descriptor table, a loop search is performed from the beginning of the descriptor table for a table whose start block is EOB. Loop search table ID
When the counter reaches the final table ID value, all are used, so it is checked whether or not the table ID count is FULL (S1013). If it is FULL, it is determined that the descriptor table cannot be acquired, It returns "descriptor table FULL", performs abnormal processing (S1014), and exits the processing. Step S1013
If the table ID count is not FULL (that is, the descriptor table ID exists), the start block becomes EOB, that is, the table ID counter is incremented until a free descriptor table exists (S1015-YES) (S1016). , Loop search descriptor table. As a result, if there is a free descriptor table (S1015-YES), the process is divided depending on whether the previous descriptor table ID is EOT or not.
If it is (S1017-YES), it is determined to be the first descriptor table, and the acquired image ID table (S1
The search descriptor table ID (counter value) is set to the start descriptor table ID of (010, reference) (S1018). On the other hand, if a value other than EOT is assigned to the previous descriptor table ID (S10
17-NO), the retrieved descriptor table ID (counter value) is set in the next descriptor table ID of the descriptor table set in the previous descriptor table ID (S1019). Since the descriptor table has been acquired, the table ID counter (counter value) acquired in the previous step is set in the previous descriptor table ID (variable), and the acquired descriptor table counter is incremented (S1020).

【0027】最後にブロックテーブル取得を試みる。最
初に、ブロック取得処理に必要なブロックIDカウン
タ、開始ブロックIDと未使用ブロックカウンタの変数
をそれぞれ“0”にして、初期化を行う(S102
2)。ブロックテーブルの取得は“0”(未使用)にな
っているビットをブロックテーブルの先頭からループ検
索する。ループ検索でブロックIDカウンタが最終ブロ
ックID値になった場合、全て使用されているため、テ
ーブルIDカウントがFULLであるか否かをチェックし
(S1023)、FULLである場合、ブロック取得不能と
判定し、“ブロックテーブルFULL”を返し(S102
4)、処理を抜ける。対象ブロックが存在し(S102
3-NO)、ブロックテーブルを検索した結果、その対象
ブロックがビットが“1”(使用)の場合は(S102
5-YES)、連続ブロック数が途切れるので、未使用ブロ
ックカウンタをリセットし(S1026)、ブロックI
Dカウンタを加算させ(S1027)、ステップS10
23へ戻り、次のブロックの検索を続ける。検索の結
果、空きブロックが存在した場合は(S1025-N
O)、未使用ブロックカウンタが初期化されているか、
即ち“0”であるか判定し(S1028)、“0”である
場合には、連続ブロックの最初であるから、連続取得の
開始ブロックと判断し、開始ブロックIDにブロックI
Dカウンタ値(現対象ブロックを示す)を保持させる
(S1029)。その後、未使用ブロックカウンタを1
加算する(S1030)。なお、対象ブロックが連続取
得の開始ブロックではない場合(S1028-NO)、ス
テップS1029を飛ばす。未使用ブロックカウンタを
加算した後、このカウンタ値が連続ブロック数として設
定された値に達したか、即ち要求されたブロック数分取
得できたかを判定し、取得していない場合は(S103
1-NO)、ブロックIDカウンタを加算させ(S102
7)、ステップS1023へ戻り、次ブロックの検索を
続ける。
Finally, the block table acquisition is tried. First, the variables of the block ID counter, the start block ID, and the unused block counter necessary for the block acquisition processing are set to "0", and initialization is performed (S102).
2). To obtain the block table, a loop search is performed from the beginning of the block table for the bit that is "0" (unused). If the block ID counter reaches the final block ID value in the loop search, all are used, so it is checked whether the table ID count is FULL (S1023). If it is FULL, it is determined that the block cannot be acquired. And returns “block table FULL” (S102
4), exit the process. The target block exists (S102
3-NO), as a result of searching the block table, if the bit of the target block is "1" (used) (S102)
5-YES), since the number of continuous blocks is interrupted, the unused block counter is reset (S1026), and block I
The D counter is incremented (S1027), and step S10
Return to step 23 to continue searching for the next block. If a free block exists as a result of the search (S1025-N
O), the unused block counter has been initialized,
That is, it is determined whether or not it is "0" (S1028), and if it is "0", it is determined as the start block of continuous acquisition because it is the beginning of the continuous block, and the block I is set as the start block ID.
The D counter value (indicating the current target block) is held (S1029). Then set the unused block counter to 1
Add (S1030). If the target block is not the start block for continuous acquisition (S1028-NO), step S1029 is skipped. After adding the unused block counter, it is determined whether or not this counter value has reached the value set as the number of continuous blocks, that is, the requested number of blocks has been acquired, and if not acquired (S103).
1-NO), and the block ID counter is incremented (S102
7) The process returns to step S1023 to continue the search for the next block.

【0028】要求されたブロック数分取得できた場合は
(S1031-YES)、現在取得中のディスクリプタテー
ブルの開始ブロックに開始ブロックIDと使用ブロック
数には未使用ブロックカウンタのカウント値を設定す
る。また、ブロックテーブルの今回取得分のブロックに
対し、使用を指示する“1”を設定する(S103
2)。この後、入力パラメータ中に設定されている要求
ディスクリプタテーブル個数と取得済ディスクリプタテ
ーブルカウンタのカウント値を比較し(S1033)、
一致した場合は取得完了と判断して、“取得完了”を返
し(S1034)、処理を抜ける。他方、要求ディスク
リプタテーブル個数と取得数が一致しない場合は、次デ
ィスクリプタテーブルを取得するため、ステップS10
12に戻し、ディスクリプタテーブルの取得から始まる
記憶領域(ブロック)の取得シーケンスを行う。
If the requested number of blocks can be acquired (S1031-YES), the start block ID is set to the start block of the descriptor table currently being acquired, and the count value of the unused block counter is set to the used block number. In addition, “1” is instructed to be used for the block acquired this time in the block table (S103).
2). After that, the number of requested descriptor tables set in the input parameter is compared with the count value of the acquired descriptor table counter (S1033),
When they match, it is determined that the acquisition is completed, "acquisition completed" is returned (S1034), and the process ends. On the other hand, if the number of requested descriptor tables and the number of acquired descriptors do not match, the next descriptor table is acquired, so step S10
Returning to step 12, the acquisition sequence of the storage area (block) starting from the acquisition of the descriptor table is performed.

【0029】次いで、一次記憶部の解放処理について説
明する。上記では、圧縮後の画像データを一次的に格納
するために転送される画像データの記憶領域を取得する
処理を説明したが、一次記憶部(画像メモリ42)に確
保された領域はバッファとして機能するものであり、次
の転送先である二次記憶装置への転送を終えると、取得
していた記憶領域を開放し、次データのためのバッファ
領域として使用できるようにする。このための処理手順
を示すものである。図13,14はメモリ制御部43が
実行する画像メモリ42の記憶領域の解放処理に係わる
フローチャートを示す。図13,14に示すように、記
憶領域の開放要求が発生すると、本フローが開始され、
先ず、入力値として画像IDが必要なため、この入力値
を示すパラメータに異常がないか評価する(S130
2)。入力値を示すパラメータに異常があれば(S13
02-NO)、“入力パラメータ異常”を返し(S130
3)、処理を抜ける。今回の対象画像に対する開放処理
の始めに、画像IDテーブル検索処理時に必要なテーブ
ルIDカウンタ(画像IDテーブルを指示するカウン
タ)の変数を“0”とする、初期化を行い(S130
4)、画像IDテーブル検索を試みる(S1305)。
画像IDテーブルの検索は、画像IDテーブルの画像I
Dが入力パラメータの対象画像IDと一致するまで画像
IDテーブルの先頭からループ検索する。ループ検索で
テーブルIDカウンタが最終テーブルID値になった場
合には、検索できなかったため、テーブルIDカウント
がFULLであるか否かをチェックし(S1306)、FULL
である場合、該当する画像IDテーブル取得不能と判定
し、“該当画像IDテーブルなし”を返す終了処理を行
い(S1307)、処理を抜ける。ステップS1306
でテーブルIDカウントがFULLではない(即ち検索画像
が存在する)場合は、テーブルIDカウントが対象画像
IDと一致する値になる(S1308-YES)まで、テー
ブルIDカウンタを加算し(S1309)、画像IDテ
ーブルをループ検索する。この結果、対象画像IDと一
致する画像IDテーブルが存在した場合は(S1308
-YES)、ディスクリプタテーブルの解放、ブロックテー
ブルの解放を試みるために、次ステップに移行させる。
Next, the process of releasing the primary storage unit will be described. In the above, the process of acquiring the storage area of the image data transferred to temporarily store the compressed image data has been described, but the area secured in the primary storage unit (image memory 42) functions as a buffer. When the transfer to the secondary storage device, which is the next transfer destination, is completed, the acquired storage area is released and can be used as a buffer area for the next data. The processing procedure for this is shown. 13 and 14 are flowcharts related to the release processing of the storage area of the image memory 42 executed by the memory control unit 43. As shown in FIGS. 13 and 14, when a storage area release request is issued, this flow is started,
First, since the image ID is required as an input value, it is evaluated whether or not there is an abnormality in the parameter indicating this input value (S130).
2). If the parameter indicating the input value is abnormal (S13
02-NO), and returns "input parameter error" (S130
3), exit the process. At the beginning of the opening process for the target image this time, initialization is performed by setting the variable of the table ID counter (counter indicating the image ID table) necessary for the image ID table search process to "0" (S130).
4) Attempt to search the image ID table (S1305).
The image ID table is searched by searching the image I of the image ID table.
A loop search is performed from the beginning of the image ID table until D matches the target image ID of the input parameter. When the table ID counter reaches the final table ID value in the loop search, it is not possible to search, so it is checked whether or not the table ID count is FULL (S1306), and FULL
If it is, it is determined that the corresponding image ID table cannot be acquired, an ending process of returning “no corresponding image ID table” is performed (S1307), and the process is exited. Step S1306
If the table ID count is not FULL (that is, a search image exists), the table ID counter is incremented until the table ID count reaches a value that matches the target image ID (S1308-YES) (S1309), and the image is displayed. Loop the ID table. As a result, if there is an image ID table that matches the target image ID (S1308).
-YES), move to next step to try to release descriptor table and block table.

【0030】ディスクリプタテーブル解放では、検索し
た画像IDテーブルの開始ディスクリプタテーブルID
をもとに解放対象の画像IDが使用している最終ディス
クリプタテーブルを検索していく。最終ディスクリプタ
はディスクリプタテーブルの次ディスクリプタテーブル
IDがEOTになっていることで判定できる。ディスクリ
プタテーブルの解放順はチェーン構造(図8、参照)
上、最後のテーブルから解放するようにしなければなら
ない。そこで、まず、画像IDテーブルに入力されてい
る開始ディスクリプタテーブルIDをディスクリプタテ
ーブルIDカウンタに、前ディスクリプタテーブルID
をEOTに設定する初期化を行う(S1311)。ディス
クリプタテーブルIDカウンタからディスクリプタテー
ブルをループ検索する。ディスクリプタテーブルIDカ
ウンタが最終テーブルID値(FULL)になっても、目的
のテーブル(下記のS1314においてチェックする)
が検索できない場合は(S1312-YES)、ディスクリ
プタ管理テーブルに何らかの異常が生じていると判定
し、“ディスクリプタテーブル異常”を返し(S131
3)、処理を抜ける。ディスクリプタテーブルを検索し
た結果、テーブルIDカウンタ値のIDを持つディスク
リプタテーブルに記載した次ディスクリプタテーブルI
DがEOT以外の場合(S1314-NO)、前ディスクリプ
タテーブルIDとして現テーブルIDカウンタが示す値
を設定してから、テーブルIDカウンタに次ディスクリ
プタテーブルIDを再設定し(S1315)、ステップ
S1312→S1314へ戻す。
In the descriptor table release, the start descriptor table ID of the retrieved image ID table
The final descriptor table used by the image ID to be released is searched based on the. The final descriptor can be determined by the next descriptor table ID of the descriptor table being EOT. The descriptor table release order is a chain structure (see Figure 8).
Above, you have to be free from the last table. Therefore, first, the start descriptor table ID entered in the image ID table is set in the descriptor table ID counter and the previous descriptor table ID is set.
Is set to EOT for initialization (S1311). The descriptor table is loop-searched from the descriptor table ID counter. Even if the descriptor table ID counter reaches the final table ID value (FULL), the target table (checked in S1314 below)
Is not found (S1312-YES), it is determined that some abnormality has occurred in the descriptor management table, and "descriptor table abnormality" is returned (S131).
3), exit the process. As a result of searching the descriptor table, the next descriptor table I described in the descriptor table having the ID of the table ID counter value
If D is other than EOT (S1314-NO), the value indicated by the current table ID counter is set as the previous descriptor table ID, and then the next descriptor table ID is reset in the table ID counter (S1315), and steps S1312 → S1314. Return to.

【0031】ステップS1314で、テーブルIDカウ
ンタ値のIDを持つディスクリプタテーブルに記載した
次ディスクリプタテーブルIDがEOTの場合は、前ディ
スクリプタテーブルIDのディスクリプタテーブルに記
載した次ディスクリプタテーブルIDをEOTに設定する
(S1316)。解放対象ディスクリプタテーブルID
が上記のステップで決定されるので、ここで、決定した
ブロックテーブルの解放を実行する(S1317)。ブ
ロックの解放は、開放対象ディスクリプタテーブル中に
示されている開始ブロックID及び使用ブロック数から
開始ブロックと使用ブロック数分のビットを未使用を示
す“0”に設定することにより実行する。これで、対象
ディスクリプタテーブルの開放処理が完了する。ただ
し、1テーブルづつ処理するので、チェーンで複数テー
ブルがつながっている場合には、次のテーブルの開放処
理を行う必要があり、そのために前ディスクリプタテー
ブルIDを参照し、EOTが設定されているかをチェック
する(S1318)。 チェックの結果、EOTが設定さ
れている場合は、対象画像全てのディスクリプタテーブ
ルとブロックテーブルの解放が完了したと判定し処理を
抜ける(S1318-YES)。他方、EOTが設定されてい
ない場合は、次のテーブルの開放を行うために、テーブ
ルIDカウンタに前ディスクリプタテーブルIDを設定
して(S1319)、ステップS1312に戻し、解放
処理を行い、EOTが設定されているテーブルに至るまで
最後のテーブルから順に解放処理を継続する。
If the next descriptor table ID described in the descriptor table having the ID of the table ID counter value is EOT in step S1314, the next descriptor table ID described in the descriptor table of the previous descriptor table ID is set to EOT ( S1316). Release target descriptor table ID
Is determined in the above step, the release of the determined block table is executed here (S1317). The release of the block is executed by setting bits corresponding to the start block and the number of used blocks from the start block ID and the number of used blocks shown in the release target descriptor table to “0” indicating unused. This completes the process of releasing the target descriptor table. However, since each table is processed one by one, if multiple tables are connected by a chain, it is necessary to open the next table. For that purpose, refer to the previous descriptor table ID and check whether EOT is set. Check (S1318). If EOT is set as a result of the check, it is determined that the release of the descriptor table and the block table of all the target images is completed, and the process is exited (S1318-YES). On the other hand, if the EOT is not set, the previous descriptor table ID is set in the table ID counter to open the next table (S1319), the process returns to step S1312, the release process is performed, and the EOT is set. The releasing process is continued from the last table in order until the table is reached.

【0032】上記で一次記憶部への転送操作の一環とし
て行う記憶領域の取得・開放処理に関して説明したが、
次に、二次記憶装置(HDD48)における記憶領域の
取得・開放処理について説明する。HDD48では、画
像メモリ42に確保したデータ変換用のバッファ領域に
圧縮後転送されたデータをさらにHDD48に転送、デ
ータ蓄積を行う。このために、HDD48に確保される
記憶領域は、画像メモリ42に確保されるバッファ領域
との関係により決められる。例えば、1画像分のバッフ
ァ領域を取得し、HDD48に連続領域を確保し、連続
転送することを可能としたり、分割分のバッファ領域を
取得し、HDD48の分断領域に分割転送することを可
能とする。二次記憶装置の記憶領域の取得、解放処理
は、一次記憶部の取得、解放処理におけると共通の構造
に従い実施し得る。即ち図7〜9により示したと同様の
メモリマップによるデータ構造を用いる。従って、図7
〜9に関する上記説明を参照して、ここでは説明を省略
する。ただし、ブロックテーブルは一次記憶部に比べ記
憶領域の容量が大きいため固定長サイズにブロック化す
る際の単位を、論理アドレス上連続する複数のセクタ
(ディスク状の記憶媒体における記憶単位を「セクタ」
と言い、セクタ単位でデータの書き込み・読み出しが行
われる)の固まりで管理する。
The acquisition / release processing of the storage area performed as a part of the transfer operation to the primary storage section has been described above.
Next, the acquisition / release processing of the storage area in the secondary storage device (HDD 48) will be described. In the HDD 48, the data transferred after being compressed in the data conversion buffer area secured in the image memory 42 is further transferred to the HDD 48 for data storage. Therefore, the storage area reserved in the HDD 48 is determined by the relationship with the buffer area reserved in the image memory 42. For example, it is possible to acquire a buffer area for one image and secure a continuous area in the HDD 48 for continuous transfer, or to acquire a divided buffer area and transfer the divided area to the divided area of the HDD 48. To do. The acquisition and release processing of the storage area of the secondary storage device can be performed according to the same structure as the acquisition and release processing of the primary storage unit. That is, the same data structure as the memory map shown in FIGS. Therefore, FIG.
9 to 9, the description is omitted here. However, since the block table has a larger storage area capacity than the primary storage unit, the unit used when dividing into blocks of a fixed length size is a plurality of consecutive sectors on the logical address (the storage unit in a disk-shaped storage medium is “sector”).
That is, data writing / reading is performed in sector units).

【0033】次の実施例は、2以上の画像の同時転送に
係わる。上記転送制御手段(画像入力から一次記憶部を
経由してデータ変換後の画像を二次記憶装置へ保存する
までの一連のデータ転送動作を制御する手段)を用い
て、同時に2以上の画像について転送操作を行うことを
可能にし、各画像の転送処理効率の向上を図ることを目
的とした画像データの転送に係わるものである。ここで
は、二次記憶手段(HDD48)の記憶領域に対して2
以上の画像の転送操作を同時に実行する動作条件下で
は、複数回に分割した転送操作により、又、単一画像の
転送操作を実行する動作条件下では、1回の転送操作に
より単位画像に対する転送を実行するようにしている。
図15は、画像データの入力の要求および、二次記憶装
置に保存された画像データの読み出し要求の状況に応じ
て、分割(複数回)/一括(1回)いずれかの転送操作
を選択する本実施例の動作フローを示す。図15を参照
し本例の動作を説明すると、操作部7の設定に応じシス
テム制御部1がメモリ制御部43に対しデータ転送操作
(入力/出力)の要求を行い、その要求に従ってメモリ
制御部43がその画像データの転送処理を開始するが、
受信した要求の転送処理前もしくは転送処理中に、さら
にデータ転送操作(入力/出力)の要求がある場合、即
ち複数の転送処理要求を受信する場合がある。ここで
は、複数の転送要求があったか否かにより処理を分岐す
るので、先ず、複数の転送処理要求を受信したか否かを
チェックする(S1501)。
The following example concerns the simultaneous transfer of two or more images. Using the above transfer control means (means for controlling a series of data transfer operations from the image input to the storage of the image after data conversion to the secondary storage via the primary storage), for two or more images at the same time The present invention relates to the transfer of image data for the purpose of enabling the transfer operation and improving the transfer processing efficiency of each image. Here, the storage area of the secondary storage means (HDD 48) is 2
Under the operating conditions where the above image transfer operations are executed at the same time, the transfer operation is divided into multiple times, and under the operating conditions where the single image transfer operation is executed, one transfer operation is performed for the unit image. I'm trying to do.
In FIG. 15, either a division (multiple times) or a batch (one time) transfer operation is selected in accordance with a request for inputting image data and a request for reading out image data stored in the secondary storage device. An operation flow of the present embodiment is shown. The operation of this example will be described with reference to FIG. 15. The system control unit 1 requests the memory control unit 43 for a data transfer operation (input / output) according to the setting of the operation unit 7, and the memory control unit follows the request. 43 starts the transfer process of the image data,
Before or during the transfer process of the received request, there may be a request for a data transfer operation (input / output), that is, a plurality of transfer process requests may be received. Here, since the processing is branched depending on whether or not there are a plurality of transfer requests, it is first checked whether or not a plurality of transfer processing requests are received (S1501).

【0034】ここで、複数の転送処理要求を受信した場
合は(S1501-YES)、単位画像(1画像)を複数回
に分割して画像メモリ42(一次記憶部)のバッファ領
域を通してHDD48(二次記憶装置)へ分割データ転
送を行う(S1502)。複数の転送処理要求を受信し
なかった場合は(S1501-NO)、単位画像(1画像)
を1回のデータ転送で画像メモリ42のバッファ領域を
通してHDD48へ一括データ転送を行う(S150
2)。いずれの転送操作を行ったときも、データ転送終
了まで複数のデータ転送要求の受信がないか、即ち転送
処理を実行中にも続けて新たな転送要求が受信されたか
を所定のタイミングでチェックをするためにデータ転送
が終了しているか否かを確認し(S1504)、データ
転送が終了していない場合は(S1504-NO)、複数
のデータ転送操作(入力/出力)の要求を受信している
かをチェックするステップS1501に戻し、再びデー
タ転送操作の選択を行う。他方、ステップS1504で
データ転送が終了している場合は(S1504-YES)、
この処理を抜ける。
If a plurality of transfer processing requests are received (S1501-YES), the unit image (1 image) is divided into a plurality of times and the HDD 48 (secondary storage unit) passes through the buffer area of the image memory 42 (primary storage unit). The divided data is transferred to the next storage device (S1502). When multiple transfer processing requests have not been received (S1501-NO), a unit image (1 image)
Data is transferred all at once through the buffer area of the image memory 42 to the HDD 48 (S150).
2). No matter which transfer operation is performed, it is checked at a predetermined timing whether multiple data transfer requests have not been received until the end of data transfer, that is, whether new transfer requests have been received continuously during the transfer process. In order to do so, it is confirmed whether or not the data transfer is completed (S1504). If the data transfer is not completed (S1504-NO), a request for a plurality of data transfer operations (input / output) is received. Whether the data transfer operation is selected again by returning to step S1501 for checking whether there is any data transfer operation. On the other hand, if the data transfer is completed in step S1504 (S1504-YES),
Exit this process.

【0035】ここで、上記の動作フロー(図15)に示
した、複数のデータ転送要求があるか否かにより、選択
される分割(複数回)/一括(1回)の各転送操作によ
る転送処理に係わる実施例を示す。これらの処理は、画
像メモリ42及びHDD48への画像転送の際に行われ
る各記憶手段における記憶領域の取得及び開放処理に、
上記した取得・開放処理手段を用い、入力画像に対して
データ圧縮(データ変換)を施した後、圧縮処理後の画
像データを一次記憶部(画像メモリ42)のバッファ領
域を通して二次記憶装置(HDD48)に保存する一連
の転送処理を行う。上記した取得・開放処理手段によれ
ば、転送先の記憶領域を任意の容量で取得可能となるの
で、画像メモリ42→HDD48のデータ転送を1回の
転送操作で行う場合と、分割転送を行う場合、それぞれ
の動作を行うことが可能になる。1画像を分割して転送
する場合は、画像メモリ42の記憶領域を固定容量で確
保してから、圧縮伸張器46を通し処理を完了した変換
データを画像メモリ42のバッファ領域に格納し、次に
変換データサイズ分の容量(最大値は固定容量)でHD
D48の記憶領域を確保し、バッファ領域からHDD4
8に変換データを転送する、という操作を繰り返すこと
で分割転送ができる。また、転送処理にあたり、一括転
送の際に連続した記憶領域を確保することにより、或い
は、分割転送の際に取得する容量を適正化することによ
り、画像メモリ42及びHDD48の効率的な利用を図
ることが可能になる。
Here, transfer by each of the divided (multiple times) / collective (one time) transfer operations selected depending on whether or not there are a plurality of data transfer requests shown in the above operation flow (FIG. 15). An example of processing will be described. These processes are the acquisition and release processing of the storage area in each storage unit, which is performed when the image is transferred to the image memory 42 and the HDD 48.
After the data compression (data conversion) is performed on the input image using the acquisition / release processing means described above, the image data after the compression processing is passed through the buffer area of the primary storage unit (image memory 42) to the secondary storage device ( A series of transfer processing for saving in the HDD 48) is performed. According to the acquisition / release processing means described above, the storage area of the transfer destination can be acquired with an arbitrary capacity. Therefore, the data transfer from the image memory 42 to the HDD 48 can be performed in one transfer operation, and the divided transfer can be performed. In this case, each operation can be performed. When dividing and transferring one image, the storage area of the image memory 42 is secured with a fixed capacity, and then the converted data that has been processed through the compression / expansion unit 46 is stored in the buffer area of the image memory 42. HD with the capacity of the converted data size (the maximum value is fixed capacity)
Secure the storage area of D48, and from the buffer area to HDD4
By repeating the operation of transferring the converted data to 8, the divided transfer can be performed. Further, in the transfer processing, by ensuring a continuous storage area at the time of batch transfer, or by optimizing the capacity acquired at the time of divided transfer, the image memory 42 and the HDD 48 are efficiently used. It will be possible.

【0036】以下に、単位画像のメモリ42→HDD4
8のデータ転送を1回の転送操作で行う場合と、分割転
送を行う場合、それぞれの転送制御に係わる実施例を示
す。図16は、画像メモリ42を経由するHDD48へ
のデータ保存をそれぞれ1回の転送操作で行う場合の制
御動作のフローを示す。図16を参照して動作を説明す
ると、まず、メモリ制御部43はシステム制御部1から
の指示に従い、データ圧縮等の変換後の1画像分のデー
タ量が全て保持可能な容量を持つバッファ領域を画像メ
モリ42に確保する(S1601)。このとき、圧縮伸
長器46の特性によりデータ圧縮前の容量を越えてしま
う可能性がある時は、その分も考慮して領域を確保する
必要がある。次に、圧縮伸長器46を用いデータ圧縮を
行い(S1602)、圧縮した1画像分の画像データを
ステップS1601で確保した画像メモリ42のバッフ
ァ領域に格納する(S1603)。このときのデータの
転送処理動作について述べると、本実施例では、先ず、
画像メモリ42に保持されている入力画像を画像転送D
MAC44に設定したディスクリプタにより圧縮伸長器
46に送り、そこで圧縮処理を施こす。次いで、圧縮伸
長器46により圧縮処理された後の符号化された変換デ
ータを符号転送DMAC45に設定したディスクリプタ
により画像メモリ42に設けた変換データを格納するバ
ッファ領域に転送する。なお、ディスクリプタによるD
MA転送については、図6を参照して説明したデータ転
送手段におけると同様に実施することが可能である。バ
ッファ領域への変換データの格納完了後、HDDコント
ローラ47がメモリ制御部43からのコマンドに従い、
HDD48の記憶領域にこの変換データ分の容量を確保
する(S1604)。この場合、バッファ領域に保持さ
れた1画像分の変換データ量は圧縮処理時にカウントさ
れ、既知であるから、この量を1回の転送操作により転
送先であるHDD4に確保すべき容量として設定するこ
とにより、記憶領域を過不足無く確保することができ
る。HDD48への転送も1回の操作よって転送を完了
させるので、HDD48に取得する記憶領域は連続領域
で確保することになり、操作部7からの設定によりその
指示を行う。HDD48に連続領域を確保した後、画像
メモリ42のバッファ領域のデータをHDD48の確保
した記憶領域に転送する(S1605)。転送終了後、
画像メモリ42に確保したバッファ領域を解放し(S1
606)、フローを終了させる。
In the following, the unit image memory 42 → HDD 4
An example relating to the respective transfer control when the data transfer of 8 is performed by one transfer operation and when the divided transfer is performed will be described. FIG. 16 shows a flow of control operation in the case where data is stored in the HDD 48 via the image memory 42 by one transfer operation. The operation will be described with reference to FIG. 16. First, the memory control unit 43 follows a command from the system control unit 1 and has a buffer area having a capacity capable of holding the entire data amount of one image after conversion such as data compression. Is secured in the image memory 42 (S1601). At this time, when there is a possibility that the capacity before data compression will be exceeded due to the characteristics of the compression / expansion unit 46, it is necessary to consider that amount and secure the area. Next, data compression is performed using the compression / expansion device 46 (S1602), and the compressed image data for one image is stored in the buffer area of the image memory 42 secured in step S1601 (S1603). To describe the data transfer processing operation at this time, in this embodiment, first,
Image transfer of the input image held in the image memory 42
It is sent to the compression / expansion unit 46 by the descriptor set in the MAC 44, and compression processing is performed there. Next, the encoded conversion data after being compressed by the compression / expansion unit 46 is transferred to the buffer area provided in the image memory 42 for storing the conversion data by the descriptor set in the code transfer DMAC 45. In addition, D by the descriptor
MA transfer can be performed in the same manner as in the data transfer means described with reference to FIG. After storing the converted data in the buffer area, the HDD controller 47 follows the command from the memory control unit 43,
A capacity for this converted data is secured in the storage area of the HDD 48 (S1604). In this case, the amount of converted data for one image held in the buffer area is counted during compression processing and is known, so this amount is set as the capacity to be secured in the HDD 4 which is the transfer destination by one transfer operation. As a result, the storage area can be secured without excess or deficiency. Since the transfer to the HDD 48 is completed by one operation, the storage area to be acquired in the HDD 48 is secured in a continuous area, and the instruction is given by the setting from the operation unit 7. After the continuous area is secured in the HDD 48, the data in the buffer area of the image memory 42 is transferred to the secured storage area of the HDD 48 (S1605). After the transfer,
The buffer area secured in the image memory 42 is released (S1
606), terminate the flow.

【0037】図17は、複数の分割転送によって、画像
メモリ42を経由するHDD48へのデータ保存を行う
場合の制御動作フローを示す。図17を参照して動作を
説明すると、まず、圧縮等のデータ変換後のデータを分
割格納するバッファ領域として固定容量を画像メモリ4
2に確保する(S1701)。このときに確保する画像
メモリ42のバッファ領域は、予め使用状況によって決
めることができる適当な分割データ量(分割数)となる
ように1画像を分割転送するデータ量に相当する容量を
確保するが、固定容量で確保するため、圧縮変換後のデ
ータサイズと関係無く決められる。この後、圧縮伸長器
46によりデータ圧縮を行い(S1702)、圧縮した
画像データをステップS1701で確保した画像メモリ
42の固定容量のバッファ領域に格納する(S170
3)。このとき、確保した固定容量のバッファ領域は、
1画像を複数回で転送することを前提としている、即ち
固定容量分だけでデータ圧縮が完了しない場合があるの
で、圧縮伸長器46の終了応答の有無によりループ処理
を繰り返すか否か判断し、処理手順を変える必要があ
る。そのために、まず画像メモリ42に確保した固定容
量のバッファ領域中に一時格納された変換データ量分に
相当する容量でHDD48に領域を確保し(S170
4)、確保した領域へバッファ領域の変換データを転送
する(S1705)。即ち、バッファ領域へ分割分の変
換データの格納を完了した後、HDDコントローラ47
がメモリ制御部43からのコマンドに従い、HDD48
の記憶領域にこの変換データ分の容量を確保し、転送を
行う。このときのデータの転送動作は、基本的に上記実
施例(図16)と同様に実行することが可能である。こ
の転送が完了した後、圧縮伸長器46の終了応答の有無
により、データ圧縮の完了/未完了を判断するために、
終了応答の有無を確認をして(S1706)、圧縮未完
了の場合は(S1706-NO)、データ圧縮を完了させ
るまで、ステップS1702の圧縮処理からのループ処
理を繰り返す。ここで、未完了の圧縮処理を継続する場
合、データ圧縮した次変換データは、前に使用したと同
じ固定容量のバッファ領域に上書きされる。転送終了
後、画像メモリ42に確保したバッファ領域を解放し
(S1707)、フローを終了させる。この実施例にお
いて、HDD48へのデータ転送速度からデータ転送能
力を推測することが可能であるから、推測したデータ転
送能力により圧縮伸長器46、画像メモリ42を選択す
ること、或いは一次記憶部(画像メモリ42)のバッフ
ァ領域や二次記憶装置(HDD48)の保存領域の占有
率を選択することにより使用効率を向上させることが可
能となる。
FIG. 17 shows a control operation flow when data is stored in the HDD 48 via the image memory 42 by a plurality of divided transfers. The operation will be described with reference to FIG. 17. First, a fixed capacity is set as the image memory 4 as a buffer area for separately storing data after data conversion such as compression.
2 is secured (S1701). The buffer area of the image memory 42 secured at this time secures a capacity corresponding to the data amount for dividing and transferring one image so as to have an appropriate divided data amount (the number of divisions) that can be determined in advance according to the usage situation. Since it is secured with a fixed capacity, it is determined regardless of the data size after compression conversion. Thereafter, the compression / expansion unit 46 performs data compression (S1702), and the compressed image data is stored in the fixed capacity buffer area of the image memory 42 secured in step S1701 (S170).
3). At this time, the secured fixed capacity buffer area is
It is premised that one image is transferred a plurality of times, that is, data compression may not be completed with only a fixed capacity, so it is determined whether or not the loop processing is repeated depending on the presence or absence of the end response of the compression / expansion unit 46. It is necessary to change the processing procedure. Therefore, first, an area is secured in the HDD 48 with a capacity corresponding to the amount of converted data temporarily stored in the fixed capacity buffer area secured in the image memory 42 (S170).
4), the converted data in the buffer area is transferred to the secured area (S1705). That is, after the storage of the divided conversion data in the buffer area is completed, the HDD controller 47
According to the command from the memory control unit 43, the HDD 48
The capacity for this converted data is secured in the storage area of and the transfer is performed. The data transfer operation at this time can be basically performed in the same manner as in the above embodiment (FIG. 16). After completion of this transfer, in order to judge the completion / non-completion of data compression depending on the presence / absence of the end response of the compression / expansion unit 46,
The presence / absence of an end response is confirmed (S1706), and if the compression is not completed (S1706-NO), the loop process from the compression process of step S1702 is repeated until the data compression is completed. Here, when the incomplete compression processing is continued, the data-compressed next conversion data is overwritten in the buffer area having the same fixed capacity as that used before. After the transfer is completed, the buffer area secured in the image memory 42 is released (S1707), and the flow is ended. In this embodiment, since the data transfer capacity can be estimated from the data transfer rate to the HDD 48, the compression / expansion unit 46 and the image memory 42 can be selected according to the estimated data transfer capacity, or the primary storage unit (image By selecting the occupancy rate of the buffer area of the memory 42) or the storage area of the secondary storage device (HDD 48), it becomes possible to improve the usage efficiency.

【0038】上記のように、2以上の画像の転送操作を
同時に実行する要求がなされたか、単一画像の転送操作
を実行する要求がなされたかという動作条件に応じて、
転送操作回数を複数回に分割するか否かを選択するよう
にしたので、2以上の画像の同時転送時に、複数画像の
転送処理を時分割に並行して実行することにより、個々
の画像信号の入出力に対する二次記憶装置(HDD4
8)の占有時間を分散させ、複数の画像信号を並行して
効率良く実行させることが可能になる。さらに、画像入
力から一次記憶部(画像メモリ42)を経由してデータ
変換後の画像を二次記憶装置へ保存するまでの一連のデ
ータ転送動作を行う際に、二次記憶装置へのデータ転送
の容量に応じて、データ変換後のバッファ領域の容量を
最適に確保、制御することが可能になり、冗長な記憶領
域の占有を防止し、複数の画像の処理が効率的に行うこ
とが可能になり、一次記憶部に接続される入出力手段の
構成に応じて、最適な記憶部の制御を実現することがで
きる。
As described above, depending on whether the request to execute the transfer operation of two or more images at the same time is made or the request to execute the transfer operation of a single image is made,
Since it is possible to select whether or not to divide the number of transfer operations into multiple times, when simultaneously transferring two or more images, by executing the transfer processing of multiple images in parallel in time division, Secondary storage (HDD4)
It is possible to disperse the occupied time of 8) and efficiently execute a plurality of image signals in parallel. Furthermore, when performing a series of data transfer operations from image input to storage of the image after data conversion to the secondary storage device via the primary storage unit (image memory 42), data transfer to the secondary storage device is performed. It is possible to optimally secure and control the capacity of the buffer area after data conversion according to the capacity of the data, prevent the redundant storage area from being occupied, and efficiently process multiple images. Therefore, optimum control of the storage unit can be realized according to the configuration of the input / output unit connected to the primary storage unit.

【0039】[0039]

【発明の効果】(1) 請求項1,4の発明に対応する
効果 入出力画像を一次的に格納する一次記憶手段のバッファ
領域からデータ(圧縮データ)保存用の二次記憶手段へ
のデータ転送処理、例えば、一次記憶手段(入力画像デ
ータを格納)→圧縮伸長器(データ変換)→一次記憶手
段(一次記憶手段の圧縮データ記憶領域に変換データを
格納)→二次記憶手段(二次記憶手段に圧縮変換データ
を保存)というデータ転送処理を行う際に、2以上の画
像の転送操作を同時に実行する動作条件下では、複数回
に分割した転送操作により、又、単一画像の転送操作を
実行する動作条件下では、1回の転送操作により単位画
像に対する転送を実行するという選択を行うようにした
ので、2以上の画像の同時転送時に、複数画像の転送処
理を時分割に並行して実行することにより、個々の画像
信号の入出力に対する二次記憶手段(例えばHDD)の
占有時間を分散し、複数の画像信号を並行して効率良く
実行させ、最短時間で転送を完了することを可能にす
る。 (2) 請求項2,4の発明に対応する効果 上記(1)の効果に加えて、一次記憶手段のバッファ領
域として、二次記憶手段に1画像を一括転送するデータ
量に相当する容量を確保するようにしたので、1回の転
送操作により単位画像に対する転送を実行するときの最
適動作を可能にする。 (3) 請求項3,4の発明に対応する効果 上記(1)、(2)の効果に加えて、一次記憶手段のバ
ッファ領域として、二次記憶手段に1画像を分割転送す
るデータ量に相当する容量を確保するようにしたので、
複数回の転送操作により単位画像に対する転送を実行す
るときの最適動作を可能にする。
(1) Effects corresponding to the inventions of claims 1 and 4 Data from the buffer area of the primary storage means for temporarily storing input / output images to the secondary storage means for storing data (compressed data) Transfer process, for example, primary storage means (stores input image data) → compressor / decompressor (data conversion) → primary storage means (stores converted data in a compressed data storage area of the primary storage means) → secondary storage means (secondary storage means When performing a data transfer process of storing compressed conversion data in the storage means), under the operating condition that the transfer operation of two or more images is executed at the same time, the transfer operation is divided into a plurality of times, or a single image is transferred. Under the operating conditions for executing operations, the transfer of one unit image is selected by one transfer operation, so when transferring two or more images at the same time, the transfer processing of multiple images is performed in parallel in time division. Shi By executing the above, the occupation time of the secondary storage means (for example, HDD) for input / output of each image signal is dispersed, the plurality of image signals are efficiently executed in parallel, and the transfer is completed in the shortest time. To enable. (2) Effects corresponding to the inventions of claims 2 and 4 In addition to the effects of (1) above, a buffer area of the primary storage means is provided with a capacity corresponding to the amount of data for transferring one image to the secondary storage means at a time. Since it is ensured, the optimum operation when executing the transfer for the unit image by one transfer operation is enabled. (3) Effects Corresponding to the Inventions of Claims 3 and 4 In addition to the effects of (1) and (2) above, as a buffer area of the primary storage means, the amount of data for dividing and transferring one image to the secondary storage means is increased. Since I tried to secure the equivalent capacity,
It enables an optimum operation when executing transfer for a unit image by a plurality of transfer operations.

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

【図1】 本発明の画像処理装置に係わる一実施例とし
てのデジタル複写機を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing a digital copying machine as an embodiment of an image processing apparatus of the present invention.

【図2】 図1のデジタル複写機における原稿台を上方
から見た図である。
FIG. 2 is a view of a document table in the digital copying machine of FIG. 1 viewed from above.

【図3】 図1のデジタル複写機における読み取り部の
IPUより出力される画像同期信号の様子を示す図であ
る。
FIG. 3 is a diagram showing a state of an image synchronization signal output from an IPU of a reading unit in the digital copying machine of FIG.

【図4】 図1のデジタル複写機における記憶部の構成
を示すブロック図である。
4 is a block diagram showing a configuration of a storage unit in the digital copying machine of FIG.

【図5】 記憶部の構成要素であるメモリ制御部の内部
構成を示すブロック図である。
FIG. 5 is a block diagram showing an internal configuration of a memory control unit which is a constituent element of a storage unit.

【図6】 ディスクリプタの形式とディスクリプタによ
る転送動作を説明するための模式図である。
FIG. 6 is a schematic diagram for explaining a format of a descriptor and a transfer operation by the descriptor.

【図7】 HDDの記憶領域の取得および解放を行うた
めに必要な画像IDテーブルの構成例を示すメモリマッ
プ図である。
FIG. 7 is a memory map diagram showing a configuration example of an image ID table necessary for obtaining and releasing a storage area of an HDD.

【図8】 HDDの記憶領域の取得,解放を行うために
必要なディスクリプタテーブルの構成例を示すメモリマ
ップ図である。
FIG. 8 is a memory map diagram showing a configuration example of a descriptor table necessary for acquiring and releasing a storage area of the HDD.

【図9】 HDDの蓄積領域の取得,解放を行うために
必要なブロックテーブルの構成例を示すメモリマップ図
である。
FIG. 9 is a memory map diagram showing a configuration example of a block table necessary for acquiring and releasing a storage area of the HDD.

【図10】 連続/分断の設定に従い実行される記憶領
域の取得処理のフローチャート(その1)を示す。
FIG. 10 is a flowchart (part 1) of a storage area acquisition process executed in accordance with continuous / division setting.

【図11】 連続/分断の設定に従い実行される記憶領
域の取得処理のフローチャート(その2)を示す。
FIG. 11 is a flowchart (part 2) of the storage area acquisition processing executed according to the continuous / partition setting.

【図12】 連続/分断の設定に従い実行される記憶領
域の取得処理のフローチャート(その3)を示す。
FIG. 12 is a flowchart (part 3) of the storage area acquisition processing executed according to the continuous / partition setting.

【図13】 メモリ制御部が実行する記憶領域の解放処
理に係わるフローチャート(その1)を示す。
FIG. 13 is a flowchart (No. 1) related to a storage area releasing process executed by the memory control unit.

【図14】 メモリ制御部が実行する記憶領域の解放処
理に係わるフローチャート(その2)を示す。
FIG. 14 is a flow chart (No. 2) relating to a storage area releasing process executed by the memory control unit.

【図15】 複数のデータ転送要求の受信有無に応じ
て、分割/一括いずれかの転送操作を選択する転送動作
のフローチャートを示す。
FIG. 15 shows a flowchart of a transfer operation for selecting one of the division / collection transfer operations depending on whether or not a plurality of data transfer requests have been received.

【図16】 画像メモリを経由してHDDへのデータ保
存をそれぞれ1回の転送操作で行う場合の制御動作のフ
ローを示す。
FIG. 16 shows a flow of a control operation when data is stored in the HDD via the image memory by one transfer operation.

【図17】 画像メモリを経由してHDDへのデータ保
存を複数の分割転送により行う場合の制御動作フローを
示す。
FIG. 17 shows a control operation flow when data is stored in the HDD via an image memory by a plurality of divided transfers.

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

1…システム制御部、 4…記憶部、5…セ
レクタ部、 7…操作部、9…FAX
部、 20…読み取り部、21…原稿
台、 23…CCD、24…画像処理
部(IPU:イメージプロセッシングユニット)、25
…スキャナ制御部、 30…像形成部、39…
プロッタ制御部、 41…画像入出力DMA
C、42…画像メモリ、 43…メモリ制
御部、44…画像転送DMAC、 45…符号転
送DMAC、46…圧縮伸長器、 47…
HDDコントローラ、48…HDD(ハードディスクド
ライブ)。
1 ... System control part, 4 ... Storage part, 5 ... Selector part, 7 ... Operation part, 9 ... FAX
Section, 20 ... reading section, 21 ... manuscript table, 23 ... CCD, 24 ... image processing section (IPU: image processing unit), 25
... Scanner control unit, 30 ... Image forming unit, 39 ...
Plotter controller, 41 ... Image input / output DMA
C, 42 ... Image memory, 43 ... Memory control unit, 44 ... Image transfer DMAC, 45 ... Code transfer DMAC, 46 ... Compression / expansion unit, 47 ...
HDD controller, 48 ... HDD (hard disk drive).

フロントページの続き (72)発明者 岡村 隆生 東京都大田区中馬込1丁目3番6号株式会 社リコー内 (72)発明者 清水 泰光 東京都大田区中馬込1丁目3番6号株式会 社リコー内 (72)発明者 茂木 清貴 東京都大田区中馬込1丁目3番6号株式会 社リコー内 (72)発明者 服部 康広 東京都大田区中馬込1丁目3番6号株式会 社リコー内 Fターム(参考) 5B047 AA01 BB02 CA23 CB25 EA01 EA09 EB17 5C073 AB01 AB07 BB09 BD02 CA01Continued front page    (72) Inventor Takao Okamura             1-3-3 Nakamagome Stock Market, Ota-ku, Tokyo             Inside Ricoh (72) Inventor Yasumitsu Shimizu             1-3-3 Nakamagome Stock Market, Ota-ku, Tokyo             Inside Ricoh (72) Inventor Kiyotaka Mogi             1-3-3 Nakamagome Stock Market, Ota-ku, Tokyo             Inside Ricoh (72) Inventor Yasuhiro Hattori             1-3-3 Nakamagome Stock Market, Ota-ku, Tokyo             Inside Ricoh F term (reference) 5B047 AA01 BB02 CA23 CB25 EA01                       EA09 EB17                 5C073 AB01 AB07 BB09 BD02 CA01

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入出力画像・中間画像に対しバッファと
しての機能を持つ一次記憶手段と、一次記憶手段のバッ
ファ領域を通して転送される画像を保存する二次記憶手
段と、一次記憶手段及び二次記憶手段に対するアクセス
制御を行い、一次記憶手段のバッファ領域と二次記憶手
段の記憶領域間相互の画像転送を制御する転送制御手段
を有する画像処理装置であって、前記転送制御手段は、
一次記憶手段のバッファ領域から二次記憶手段の記憶領
域へのデータ転送にあたり、単位画像に対する転送操作
を1回、もしくは複数回に分割して実行することを可能
にし、二次記憶手段の記憶領域に対する複数画像の同時
転送時には複数回の分割転送操作により、単一画像の転
送時には1回の転送操作により、単位画像の転送を実行
するようにしたことを特徴とする画像処理装置。
1. A primary storage means having a function as a buffer for input / output images and intermediate images, a secondary storage means for storing an image transferred through a buffer area of the primary storage means, a primary storage means and a secondary storage means. An image processing apparatus having transfer control means for controlling access to a storage means and controlling mutual image transfer between a buffer area of a primary storage means and a storage area of a secondary storage means, wherein the transfer control means comprises:
When transferring data from the buffer area of the primary storage means to the storage area of the secondary storage means, it is possible to execute the transfer operation for the unit image once or in a plurality of times, and the storage area of the secondary storage means An image processing apparatus characterized in that a unit image is transferred by a plurality of divided transfer operations when simultaneously transferring a plurality of images, and a single transfer operation when a single image is transferred.
【請求項2】 請求項1に記載された画像処理装置にお
いて、前記転送制御手段は、単位画像を1回の転送操作
により一次記憶手段のバッファ領域を通して二次記憶手
段の記憶領域へ転送するときに、二次記憶手段に転送す
るデータ量に相当する容量を一次記憶手段のバッファ領
域として確保するようにしたことを特徴とする画像処理
装置。
2. The image processing apparatus according to claim 1, wherein the transfer control means transfers the unit image to the storage area of the secondary storage means through the buffer area of the primary storage means by one transfer operation. In addition, the image processing apparatus is characterized in that a capacity corresponding to the amount of data to be transferred to the secondary storage means is secured as a buffer area of the primary storage means.
【請求項3】 請求項1又は2に記載された画像処理装
置において、前記転送制御手段は、単位画像を複数回に
分割した転送操作により一次記憶手段のバッファ領域を
通して二次記憶手段の記憶領域へ転送するときに、二次
記憶手段に分割転送する個々のデータ量に相当する容量
を一次記憶手段のデータ変換された画像のバッファ領域
として確保するようにしたことを特徴とする画像処理装
置。
3. The image processing apparatus according to claim 1 or 2, wherein the transfer control means passes through a buffer area of the primary storage means by a transfer operation in which a unit image is divided into a plurality of times, and a storage area of the secondary storage means. An image processing apparatus, wherein a capacity corresponding to the amount of individual data to be divided and transferred to the secondary storage means is secured as a buffer area for the data-converted image of the primary storage means when the data is transferred to the secondary storage means.
【請求項4】 請求項1乃至3のいずれか記載された画
像処理装置において、入出力画像にデータ変換を施すデ
ータ変換手段を有し、前記転送制御手段は、データ変換
手段によりデータ変換された変換画像を前記転送操作の
対象画像として、一次記憶手段のバッファ領域から二次
記憶手段の記憶領域へ変換画像のデータ転送を行うよう
にしたことを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, further comprising a data conversion unit that performs data conversion on the input / output image, and the transfer control unit performs data conversion by the data conversion unit. An image processing apparatus, wherein data of a converted image is transferred from a buffer area of a primary storage means to a storage area of a secondary storage means by using the converted image as a target image of the transfer operation.
JP2001396251A 2001-12-27 2001-12-27 Image processing device Expired - Fee Related JP4148680B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001396251A JP4148680B2 (en) 2001-12-27 2001-12-27 Image processing device
US10/327,908 US7034838B2 (en) 2001-12-27 2002-12-26 Information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001396251A JP4148680B2 (en) 2001-12-27 2001-12-27 Image processing device

Publications (2)

Publication Number Publication Date
JP2003198817A true JP2003198817A (en) 2003-07-11
JP4148680B2 JP4148680B2 (en) 2008-09-10

Family

ID=27602393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001396251A Expired - Fee Related JP4148680B2 (en) 2001-12-27 2001-12-27 Image processing device

Country Status (1)

Country Link
JP (1) JP4148680B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640374B2 (en) 2005-01-14 2009-12-29 Fujitsu Limited Data transfer apparatus by direct memory access controller
JP2014044609A (en) * 2012-08-28 2014-03-13 Renesas Electronics Corp Transfer control apparatus, transfer control method, and transfer control program
US9558432B2 (en) 2014-03-19 2017-01-31 Konica Minolta, Inc. Buffer management technology in image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640374B2 (en) 2005-01-14 2009-12-29 Fujitsu Limited Data transfer apparatus by direct memory access controller
JP2014044609A (en) * 2012-08-28 2014-03-13 Renesas Electronics Corp Transfer control apparatus, transfer control method, and transfer control program
US9558432B2 (en) 2014-03-19 2017-01-31 Konica Minolta, Inc. Buffer management technology in image forming apparatus

Also Published As

Publication number Publication date
JP4148680B2 (en) 2008-09-10

Similar Documents

Publication Publication Date Title
US7034838B2 (en) Information processing apparatus
US7185151B2 (en) Data processing device characterized in its data transfer method, program for executing on a computer to perform functions of the device, and computer readable recording medium storing such a program
US7710613B2 (en) Image information apparatus
JP2003198817A (en) Image processing apparatus
JP2003198818A (en) Image processing apparatus
JP2002140286A (en) Information processing device and dma transfer method
JP2003198815A (en) Image processing apparatus
JP2003179732A (en) Image processor
JP2003198816A (en) Image processing apparatus
JP2003018376A (en) Image forming device
JP2003178295A (en) Image processor
JP4359047B2 (en) Image forming apparatus
JP4061200B2 (en) Image forming system and image forming apparatus
JP4133394B2 (en) Image forming apparatus
JP3903464B2 (en) Image forming apparatus, image signal input processing method and output processing method
JP4076224B2 (en) Image forming apparatus
JP2002244994A (en) Image forming device
JP2003298820A (en) Image forming device
JP2005079646A (en) Image forming apparatus
JP2004104447A (en) Image forming apparatus
JP2003018386A (en) Image forming apparatus
JP2004222090A (en) Image forming apparatus
JP2003018375A (en) Image forming device
JP4197916B2 (en) Data processing apparatus, data processing method, data processing program, and recording medium
JP2005067004A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061218

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070119

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070510

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070525

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080624

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees