JP5483946B2 - Image processing apparatus, image processing apparatus control method, and program - Google Patents
Image processing apparatus, image processing apparatus control method, and program Download PDFInfo
- Publication number
- JP5483946B2 JP5483946B2 JP2009174519A JP2009174519A JP5483946B2 JP 5483946 B2 JP5483946 B2 JP 5483946B2 JP 2009174519 A JP2009174519 A JP 2009174519A JP 2009174519 A JP2009174519 A JP 2009174519A JP 5483946 B2 JP5483946 B2 JP 5483946B2
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- image data
- buffer area
- removable storage
- size
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
Description
本発明は外部記憶装置を接続可能な画像処理装置に関する。 The present invention relates to an image processing apparatus to which an external storage device can be connected.
近年USBメモリやメモリカード等、着脱可能な外部記憶装置が多品種にわたり市場に供給されている。そして、このような着脱可能な外部記憶媒体を接続可能な画像処理装置が提案されている(例えば、特許参考文献1)。 In recent years, removable external storage devices such as a USB memory and a memory card have been supplied to the market over a wide variety. An image processing apparatus capable of connecting such a removable external storage medium has been proposed (for example, Patent Reference 1).
しかし、これらの外部記憶装置は製品によって性能、例えば書き込み速度のばらつきが大きい。 However, these external storage devices vary greatly in performance, for example, writing speed, depending on products.
例えば、画像処理装置が原稿をスキャンして生成した画像データをUSBメモリのような外部記憶媒体へ格納する場合を考える。画像データをUSBメモリへ書き込むためには画像処理装置のメインメモリ内にバッファ領域を確保する必要がある。上述のように、USBメモリの書き込み速度のばらつきが大きいと、装着したUSBメモリの種類によって確保すべきバッファ領域のサイズも変動する。そこでUSBメモリの書き込み速度のばらつきを考慮して予め十分な容量の書き込みバッファをメインメモリ内に確保することも考えられる。しかし、そうしてしまうと同じくメインメモリ内に確保するプログラム実行のための領域やワーク領域の容量が小さくなり、画像処理装置のパフォーマンスが低下する。またメインメモリ自体の容量を大きくすることも考えられるが、画像処理装置のコストが高くなる。 For example, consider a case where image data generated by an image processing apparatus scanning a document is stored in an external storage medium such as a USB memory. In order to write image data to the USB memory, it is necessary to secure a buffer area in the main memory of the image processing apparatus. As described above, when the variation in the writing speed of the USB memory is large, the size of the buffer area to be secured varies depending on the type of the mounted USB memory. Therefore, it is conceivable to secure a sufficient write buffer in the main memory in consideration of variations in the writing speed of the USB memory. However, if this is done, the capacity of the program execution area and work area secured in the main memory will be reduced, and the performance of the image processing apparatus will be reduced. Although it is conceivable to increase the capacity of the main memory itself, the cost of the image processing apparatus increases.
本発明は、装着された外部記憶装置の書き込み速度(転送速度)に応じて適切なバッファサイズを確保することのできる画像処理装置を提供することを目的とする。 An object of the present invention is to provide an image processing apparatus capable of ensuring an appropriate buffer size according to the writing speed (transfer speed) of an attached external storage device.
本発明は上記課題を鑑みてなされたものであり、本発明の画像処理装置は、着脱可能な記憶装置と接続するためのインターフェース手段と、前記インターフェース手段に接続された着脱可能な記憶装置へ転送すべき画像データを記憶する第1バッファ領域を含む記憶手段と、前記第1バッファ領域に記憶された画像データを読み出して前記着脱可能な記憶装置へ転送する転送手段と、前記着脱可能な記憶装置の書き込みに関する能力を特定する特定手段と、前記特定手段が特定した前記着脱可能な記憶装置の書き込み能力に基づいて前記記憶手段の前記第1バッファ領域のサイズを決定する第1決定手段と、を備え、前記転送手段が前記着脱可能な記憶装置へ前記画像データを転送したことに対して前記着脱可能な記憶装置が更なる画像データの受信を行なうことができないことを示す応答を行なった場合に、前記転送手段は前記着脱可能な記憶装置への前記画像データの転送速度を低下させ、前記第1決定手段は前記第1バッファ領域のサイズをより大きいサイズとなるよう決定することを特徴とする。 The present invention has been made in view of the above problems, and an image processing apparatus according to the present invention transfers interface means for connecting to a removable storage device and a removable storage device connected to the interface means. Storage means including a first buffer area for storing image data to be stored; Transfer means for reading out image data stored in the first buffer area and transferring it to the removable storage apparatus; and the removable storage apparatus Specifying means for specifying the write-related capability; and first determining means for determining the size of the first buffer area of the storage means based on the write capability of the removable storage device specified by the specifying means; wherein the said removable storage device is further image data with respect to the transfer means has transferred the image data to the removable storage device When the response indicating that the image data cannot be received is made, the transfer means reduces the transfer speed of the image data to the removable storage device, and the first determining means is the first buffer area. the size, characterized that you determined to be a larger size.
本発明によれば、接続された外部記憶装置の書き込み速度に応じて適切なサイズのバッファ領域を確保することが可能になる。 According to the present invention, it is possible to secure a buffer area of an appropriate size according to the writing speed of the connected external storage device.
以下、本発明を実施するための最良の形態について図面を用いて説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
<画像処理装置の構成>
図1は本実施形態における画像処理装置のハードウェア構成の一例を示すブロック図である。本実施形態の画像処理装置40は、原稿を読み取る読み取り部406とプリンタ部405とを備える複合画像形成装置である。
<Configuration of image processing apparatus>
FIG. 1 is a block diagram illustrating an example of a hardware configuration of an image processing apparatus according to the present embodiment. The
制御部401は、CPU400を備える。CPU400は、FLASH ROM403に記憶されているプログラムをDRAM402へロードして実行することで画像処理装置40全体を制御する。DRAM402は画像処理装置40のプログラムをロードする領域や、画像データを一時的に記憶しておく領域や、後述するバッファ領域として用いられる。FLASH ROM403は画像処理装置40の動作パラメータ、あるいはCPU400が実行するプログラム等を格納する。電源部404は画像処理装置40の各部に電力を供給する。プリンタ部405は、制御部401により転送される画像データを印刷出力する。
The
読み取り部406は制御部401の制御の下、原稿を読み取って画像データを生成し制御部401へ出力する。ネットワークI/F部407はLAN450とのインターフェースである。操作表示部408はユーザからの操作入力を制御部401へ出力する。操作表示部408は表示部409を備え、操作画面を表示する。外部デバイスI/F410は、外部デバイスとのインターフェースであり、外部記憶装置の接続を検出し、外部記憶装置に電源供給したり、データ通信を行う。本実施形態では、外部デバイスI/F410はUSBインターフェースであるものとする。また、外部デバイスI/F410は他の種類のインターフェース、たとえばIEEE1394等のインターフェースであってもよい。USBメモリ411は外部記憶装置の一例であり、外部デバイスI/F部410を介して画像処理装置40と接続する。外部デバイスI/F410には、USBメモリ411以外のUSBデバイスを接続することも可能である。
A
次に、画像処理装置40が原稿を読み取って生成した画像データをUSBメモリ411へ格納する処理について説明する。
Next, processing for storing image data generated by the
<DRAM402のメモリマップ>
DRAM402の内部に確保される領域について説明する。
<Memory Map of
An area secured in the
図6は、本実施形態におけるDRAMのメモリマップの一例を示す図である。 FIG. 6 is a diagram showing an example of a memory map of the DRAM in the present embodiment.
プログラム領域501はCPU400画像処理装置40を制御するために実行するプログラムをロードするための領域である。画像処理装置40の電源が投入された後、FLASH ROM403から読み出されたプログラムがこの領域に格納される。ワーク領域502は、CPU400が画像データに対して画像処理する際に一時的に画像データを格納するために用いる領域である。第2バッファ領域の一例であるスキャンバッファ領域503は、読み取り部406から出力された画像データを制御部401へ転送するために一時的に画像データを格納する領域である。第1バッファ領域の一例である蓄積用バッファ領域504は、スキャンバッファ領域503から制御部401へ転送され、制御部401内でエンコードされた画像データを一時的に格納する。蓄積用バッファ領域504から読み出されたエンコード済み画像データは外部デバイスI/F410を介してUSBメモリ411へ転送される。USBメモリ411は、外部デバイスI/F410から転送されたエンコード済み画像データを格納する。なお、本実施形態では画像データのエンコード方法としてJPEG圧縮を用いるものとする。転送用画像バッファ領域505は、USBメモリ内に蓄積された画像データをネットワークI/F部407を介して、外部へ送信する処理を実行する場合のための転送用画像バッファ領域である。
The
<原稿画像をスキャンしてUSBメモリへ書き込む処理>
図2、図3は、本実施形態の画像処理装置における、原稿画像を読み取って生成した画像データをUSBメモリへ格納する処理の一例を示すフローチャートである。本フローチャートは画像処理装置40のCPU400がFLASH ROM403に格納されたプログラムを実行することで実現する。
<Process to scan original image and write to USB memory>
2 and 3 are flowcharts showing an example of processing for storing image data generated by reading a document image in the USB memory in the image processing apparatus of the present embodiment. This flowchart is realized by the CPU 400 of the
ステップS101において、USBメモリ411が外部デバイスI/F410に接続されたか否かを判断する。検出された場合には、S102へ進み、接続されたUSBメモリ411の書き込み速度を計測する。この計測処理の詳細については図5のフローチャートで詳述する。
In step S101, it is determined whether or not the USB memory 411 is connected to the external device I /
次に、ステップS103へ進み、操作表示部408を介して画像処理装置40のユーザからの画像読み取りに関する各種の設定(解像度、読み取りモード等)を受け付ける。そして、ステップS104へ進み、DRAM402内に確保すべきバッファ容量を決定する。このバッファ容量の決定処理の詳細については図4のフローチャートで詳述する。
In step S103, various settings (resolution, reading mode, etc.) relating to image reading from the user of the
バッファ容量が決定されたらステップS105へ進み、スキャンバッファ領域503、蓄積用画像バッファ領域504が許容最大サイズ以下であるか否かを制御部401が判定する。許容最大サイズとは、DRAM402の容量から他の用途のために既に確保されている領域やワーク領域502を引いた残りの領域を、蓄積用画像バッファ504とスキャンバッファ領域503に振り分けた領域の各サイズである。本実施形態では原稿を読み取って生成した画像データはJPEGエンコード処理により圧縮する。例えば圧縮後の画像データのサイズは圧縮前の画像データの1/10のサイズになると仮定すると、蓄積用画像バッファ領域504は、読み取り画像バッファ領域の1/10となるよう割り当てられる。よって、残領域のサイズの10/11がスキャンバッファ領域503に対する許容最大サイズとなり、残領域のサイズの1/11が蓄積用画像バッファ領域504に対する許容最大サイズとなる。スキャンバッファ領域503、蓄積用画像バッファ領域504の少なくともいずれかが許容最大サイズを越えている場合には、ステップS106へ進む。この場合は、装着されたUSBメモリへの書き込み速度とJPEG圧縮された画像データが蓄積用画像バッファ領域504へ蓄積されていく速度との比較から、原稿の読み取り動作を停止することなしに1ページの原稿画像を読み取ることができない。ステップS106では、操作表示部408内の表示部409に警告を表示して本フローチャートを終了する。
When the buffer capacity is determined, the process proceeds to step S105, and the
一方、スキャンバッファ領域503、蓄積用画像バッファ領域504のいずれも許容最大サイズを越えていない場合には、ステップS107へ進み原稿の読み取り動作を開始する。そして、ステップS108にて、スキャンバッファ領域503内の残容量が所定の第1の最小値以上であるか否かを制御部401が判定する。第1の最小値としては、スキャンバッファ領域503の残容量がそれ以上小さくなるとバッファオーバーフローが発生して原稿画像の読み取りを正常に行うことができなくなってしまうサイズが設定される。残容量が最小値以上あればステップS109へ進み、そうでなければステップS110へ進む。ステップS109では、蓄積用画像バッファ領域504の残容量が所定の第2の最小値以上であるかを制御部401が判定する。第2の最小値としては、蓄積用画像バッファ領域504の残容量がそれ以上小さくなるとバッファオーバーフローが発生して原稿画像の読み取りを正常に行うことができなくなってしまうサイズが設定される。残容量が最小値以上あればステップS112へ進む。そうでなければ読み取り動作に支障があるものと判断し、ステップS110へ進む。
On the other hand, if neither the
次にS112において、画像データを蓄積用画像バッファ領域504からUSBメモリ411へ転送している間に、特定のコマンド、即ち“NAK”、“NYET”の受信回数(発生回数)が所定回数以下であるか否かを制御部401が判定する。“NAK”、“NYET”が発生する、即ちハンドシェークが多いということはUSBメモリへの画像データの転送レート(転送速度)が高すぎるということを示している。
In step S112, while the image data is being transferred from the storage
ここで、外部デバイスI/F部410からUSBメモリ411へデータを書き込む場合の手順について説明する。
Here, a procedure for writing data from the external device I /
図7は、本実施形態における外部デバイスI/F部とUSBメモリ間のBULK通信の一例を示す図である。図中左側は外部デバイスI/F部410であり、右側はUSBメモリ411である。
FIG. 7 is a diagram illustrating an example of BULK communication between the external device I / F unit and the USB memory in the present embodiment. In the drawing, the left side is an external device I /
外部デバイスI/F部410からUSBメモリ411へ画像データを転送する場合、外部デバイスI/F部410からUSBメモリ411へ“OUT Token”を出力する(601)。次に外部デバイスI/F部410はUSBメモリ411へ“DATA”を出力する(602)。本実施形態の場合、“DATA”としては、原稿を読み取ってJPEG圧縮された画像データが相当する。“DATA”を受信したUSBメモリ411は、更なる“DATA”を受信不可能の場合には、“NYET”を外部デバイスI/F部410へ送信する(603)。“NYET”を受信した外部デバイスI/F部410は、USBメモリ411の状態を問い合わせるコマンドである“PING”を送信する(604)。USBメモリ411は、更なる“DATA”を受信できなければ外部デバイスI/F部410に対して“NAK”を送信する(605)。“NAK”を受信した外部デバイスI/F部410はUSBメモリ411に対して再度“PING”を送信する(606)。USBメモリ411は次の“DATA”が受信可能であれば、外部デバイスI/F部410に対して“ACK”を返答する(607)。“ACK”を受信した外部デバイスI/F部410は次のデータ送信のために“OUT Token”を送信した(608)後、“DATA”を送信する(609)。USBメモリ411は“DATA”を受信し、更なる“DATA”を受信することが可能であれば外部デバイスI/F部410に対して“ACK”を送信する。
When image data is transferred from the external device I /
以上のような手順例に従って画像データは外部デバイスI/F部410から、USBメモリ411に転送される。
Image data is transferred from the external device I /
図3のフローチャートに戻る。S112にて“NAK”、“NYET”の受信回数(発生回数)が所定回数以上であると判定した場合は、外部デバイスI/F部410とUSBメモリ411間のデータ転送レートが高すぎるということを示している。この場合、ステップS113へ進み、確保すべき蓄積用画像バッファ領域504のサイズを変更する。具体的には、確保すべき蓄積用画像バッファ領域504のサイズを拡大する。そして外部デバイスI/F部410からUSBメモリ411へのデータ転送レートを低下させる。本実施形態では、拡大するサイズはUSBメモリ411へのデータ転送サイズ(8,16,32,64バイトまたは、512バイト)の整数倍とする。そして、外部デバイスI/F部410の転送レートを低下させたことによってUSBメモリ411へのデータの書き込み速度が低下するので、ステップS109での判定に用いる所定値を変更する。具体的にはより小さい値に変更する。次に、ステップS114へ進み、変更された蓄積用画像バッファ領域504のサイズが許容最大バッファサイズ以下であるか否かを制御部401が判定する。もし、ステップS113で変更した蓄積用画像バッファ領域504のサイズが許容最大バッファサイズより大きければ、ステップS110へ進み、そうでなければステップS115へすすむ。ステップS115では、原稿1ページの読み取りが終了したか否かを制御部401が確認する。原稿1ページの読み取りが終了し邸内と判定した場合にはステップS107へ戻り、次の原稿の読み取りを行う。原稿1ページの読み取りが終了したと判断した場合、ステップS116へ進み、1ページ内での蓄積用画像バッファ領域504のサイズ変更があったか否かを判定する。サイズ変更があったと判定した場合、ステップS117へ進み、ページ間で原稿読み取りを一時停止する。この結果、蓄積用画像バッファ領域504内の全画像データをUSBメモリ411に転送し、蓄積用画像バッファ領域504をクリアにする。その後、ステップS118へ進み、全ページの原稿読み取りが終了したか否かを判定する。終了したと判定した場合には本フローチャートを終了する。終了していないと判定した場合にはステップS107に戻って次の原稿の読み取りを行う。
Returning to the flowchart of FIG. If it is determined in S112 that the number of receptions (number of occurrences) of “NAK” and “NYET” is equal to or greater than the predetermined number, the data transfer rate between the external device I /
ステップS110では原稿の読み取りを中止し、ステップS111に進み、表示部409に原稿の読み取りが中断した旨を示す警告表示を行う。なお、ステップS110にて読み取り中断後、バッファ領域が空くのを待ち、その後、動作を再開することも可能である。このようにすることにより、生産性は低下するものの原稿読み取り処理を完遂することが可能となる。 In step S110, the reading of the document is stopped, and the process proceeds to step S111, where a warning display indicating that the reading of the document is interrupted is displayed on the display unit 409. Note that after the reading is interrupted in step S110, it is possible to wait for the buffer area to become free and then resume the operation. By doing so, it is possible to complete the document reading process although the productivity is lowered.
図2、図3のフローチャートによれば、“NAK”、“NYET”の発生回数を検出することによって、USBメモリ411の状態に応じた最適な転送速度に変更することが可能となる。 According to the flowcharts of FIGS. 2 and 3, by detecting the number of occurrences of “NAK” and “NYET”, it is possible to change the transfer rate to the optimum transfer rate according to the state of the USB memory 411.
上記のバッファ制御を行いながら、読み取り部406が読み取った原稿の画像データはUSBメモリ411に格納される。更に、USBメモリ411をバッファとして用い、画像データをLAN450を介して接続されたPC(不図示)に転送することもできる。この場合、USBメモリ411から読み出された画像データは、外部デバイスI/F部410を介してDRAM402内に確保された転送用画像バッファ領域505に転送される。そして、制御部401は転送用画像バッファ領域505から読み出した画像データをネットワークI/F部407へと転送し、LAN450を介して不図示のPCへ画像を送信する。
The image data of the original read by the
次に、図2のステップS102の処理である、USBメモリの速度計測処理の詳細について説明する。 Next, the details of the USB memory speed measurement process, which is the process of step S102 of FIG. 2, will be described.
図5は、本実施形態の画像処理装置における、USBメモリの速度計測処理の一例を示すフローチャートである。 FIG. 5 is a flowchart illustrating an example of a USB memory speed measurement process in the image processing apparatus according to the present embodiment.
ステップS301にてUSBメモリ411の残容量を検出する。そして、ステップS302にて、残容量からUSBメモリ411の速度計測のために用いるテストデータのデータ量(サイズ)を決定する。そしてステップS303にて、USBメモリ411に対してテストデータの書き込みを開始する。そして、ステップS304書き込み速度計測のために制御部401は時間測定を開始する。ステップS305にて、テストデータの書き込みが終了したか否かを判定する。書き込みが終了したと判定したらステップS306へ進む。そして、ステップS306にて、制御部401はテストデータのライト時間の計測を終了する。
In step S301, the remaining capacity of the USB memory 411 is detected. In step S302, the data amount (size) of test data used for speed measurement of the USB memory 411 is determined from the remaining capacity. In step S303, writing of test data to the USB memory 411 is started. In step S304, the
次にステップS307にて、USBメモリ411に書き込んだテストデータの読み出しを開始し、S308にて制御部401は時間測定を開始する。ステップS309にて、テストデータ読み出しが完了したか否かを判定する。読み出しが完了したと判定したら、ステップS310へ進み、読み出し時間測定を終了する。
In step S307, reading of the test data written in the USB memory 411 is started. In step S308, the
そして、ステップS311にて、制御部401はテストデータのデータ量と測定した書き込み時間とから書き込み速度を算出する。更に、ステップS311では、制御部401はテストデータのデータ量と測定した読み出し時間とから読み出し速度を算出する。そして本フローチャートを終了する。
In step S311, the
なお、図5のフローチャートでは、USBメモリ411の能力として書き込み速度と読み出し速度の両方を算出したが、例えば、書き込み速度だけを算出するようにしてもよい。その場合、ステップS307〜S310の処理を行わずに、USBメモリ411に書き込んだテストデータを削除するようにすればよい。 In the flowchart of FIG. 5, both the writing speed and the reading speed are calculated as the capabilities of the USB memory 411. However, for example, only the writing speed may be calculated. In that case, the test data written in the USB memory 411 may be deleted without performing the processing of steps S307 to S310.
次に、図2のステップS104の処理である、バッファ容量決定処理の詳細について説明する。 Next, details of the buffer capacity determination process, which is the process of step S104 in FIG. 2, will be described.
図4は、本実施形態の画像処理装置における、バッファ容量決定処理の一例を示すフローチャートである。 FIG. 4 is a flowchart illustrating an example of a buffer capacity determination process in the image processing apparatus according to the present embodiment.
まず、ステップS201では、ステップS103で設定された画像読み取りの設定に従い、スキャンバッファ領域503を確保する。そして、ステップS202において、S102にて測定したUSBメモリの速度(書き込み速度)と、スキャンバッファ領域503から蓄積用画像バッファ領域504へ転送されるJPEGエンコード後の画像データ転送速度を比較する。ここで、USBメモリの速度が速い場合(ステップS202でYES)、ステップS203へ進み、DRAM402から蓄積用画像バッファ領域504の領域として画像1ページ分のサイズを確保する。画像1ページ分のサイズとしては、読み取り部406における原稿読み取りに関する設定に基づいて予測されるJPEGエンコード後の画像データ1ページ分データが少なくとも記憶できるサイズとする。一方、USBメモリの速度が遅い場合(ステップS202でNO)には、S204へ進み、蓄積用画像バッファ領域504の領域として、{(蓄積用画像バッファ入力速度/USBメモリ速度)*画像1ページ分}から算出されるサイズを確保する。ここで、蓄積用画像バッファ入力速度は蓄積用画像バッファ領域504にJPEGエンコードされた画像データが書き込まれる速度である。本実施形態では、この速度はJPEGエンコードされた画像データが蓄積用画像バッファ領域504へ転送される速度と等しいものとする。
First, in step S201, the
以上、本実施形態の画像処理装置によれば、装着されたUSBメモリの書き込み速度に応じて最適なサイズのバッファ領域を確保することが可能になる。 As described above, according to the image processing apparatus of the present embodiment, it is possible to secure a buffer area having an optimal size according to the writing speed of the attached USB memory.
なお、本実施形態では、外部記憶装置としてUSBメモリを例にあげて説明したが、外部記憶装置としては他の着脱可能な記憶媒体、例えば、各種のメモリカードであっても構わない。この場合、画像処理装置40には外部デバイスI/F410の代わりにメモリカードリーダライタが設けられ、メモリカードリーダライタにメモリカードが装着される。
In this embodiment, the USB memory is described as an example of the external storage device. However, the external storage device may be another removable storage medium, for example, various memory cards. In this case, the
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(制御プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。 The present invention can also be realized by executing the following processing. That is, software (control program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. To be executed. In this case, the program and the storage medium storing the program constitute the present invention.
40 画像形成装置
402 DRAM
406 読取り部
410 外部デバイスI/F部
411 USBメモリ
503 スキャンバッファ領域
504 蓄積用画像バッファ領域
40
406
Claims (7)
前記インターフェース手段に接続された着脱可能な記憶装置へ転送すべき画像データを記憶する第1バッファ領域を含む記憶手段と、
前記第1バッファ領域に記憶された画像データを読み出して前記着脱可能な記憶装置へ転送する転送手段と、
前記着脱可能な記憶装置の書き込みに関する能力を特定する特定手段と、
前記特定手段が特定した前記着脱可能な記憶装置の書き込み能力に基づいて前記記憶手段の前記第1バッファ領域のサイズを決定する第1決定手段と、を備え、
前記転送手段が前記着脱可能な記憶装置へ前記画像データを転送したことに対して前記着脱可能な記憶装置が更なる画像データの受信を行なうことができないことを示す応答を行なった場合に、前記転送手段は前記着脱可能な記憶装置への前記画像データの転送速度を低下させ、前記第1決定手段は前記第1バッファ領域のサイズをより大きいサイズとなるよう決定することを特徴とする画像処理装置。 Interface means for connecting to a removable storage device;
Storage means including a first buffer area for storing image data to be transferred to a removable storage device connected to the interface means;
Transfer means for reading out the image data stored in the first buffer area and transferring it to the removable storage device;
Identifying means for identifying the ability of the removable storage device to write;
First determining means for determining the size of the first buffer area of the storage means based on the write capability of the removable storage device specified by the specifying means ;
When the transfer means makes a response indicating that the removable storage device cannot receive further image data in response to the transfer of the image data to the removable storage device, transfer means lowers the transfer rate of the image data to the removable storage device, the image first determination means, characterized that you determined to be larger than the size of the size of the first buffer area Processing equipment.
前記着脱可能な記憶装置への書き込み速度が前記第1バッファ領域へ画像データが書き込まれる速度よりも遅い場合、前記第1決定手段は前記着脱可能な記憶装置への書き込み速度が前記第1バッファ領域へ画像データが書き込まれる速度よりも早い場合よりも大きくなるよう前記第1バッファ領域のサイズを決定することを特徴とする、請求項1に記載の画像処理装置。 The writing capability of the storage device is the writing speed of the removable storage device,
When the writing speed to the removable storage device is slower than the speed at which image data is written to the first buffer area, the first determining means sets the writing speed to the removable storage device to the first buffer area. The image processing apparatus according to claim 1, wherein the size of the first buffer area is determined so as to be larger than a case where the image data is written at a speed faster than that of the image data.
前記第1決定手段は、前記着脱可能な記憶装置への書き込み速度が前記第1バッファ領域へ画像データが書き込まれる速度よりも早い場合、前記読み取り手段における原稿読み取りに関する設定に基づいて前記第1バッファ領域のサイズを決定することを特徴とする、請求項2に記載の画像処理装置。 A reading unit that reads the document and generates image data;
When the writing speed to the detachable storage device is higher than the speed at which image data is written to the first buffer area, the first determining means is configured to set the first buffer based on a setting relating to document reading in the reading means. The image processing apparatus according to claim 2, wherein a size of the area is determined.
前記記憶手段は、前記読み取り手段が生成した画像データを記憶するための第2バッファ領域を更に含み、
前記第2バッファ領域のサイズを決定する第2決定手段を更に備えることを特徴とする、請求項1に記載の画像処理装置。 A reading unit that reads the document and generates image data;
The storage means further includes a second buffer area for storing image data generated by the reading means,
The image processing apparatus according to claim 1, further comprising second determination means for determining a size of the second buffer area.
前記着脱可能な記憶装置の書き込みに関する能力を特定する特定工程と、
前記特定工程で特定された前記着脱可能な記憶装置の書き込み能力に基づいて、前記記憶手段の前記バッファ領域のサイズを決定する決定工程と、
前記決定工程で決定されたサイズのバッファ領域に記憶された画像データを読み出して前記着脱可能な記憶装置に転送する転送工程と、を有し、
前記転送工程において前記画像データが前記着脱可能な記憶装置へ転送されたことに対して前記着脱可能な記憶装置が更なる画像データの受信を行なうことができないことを示す応答を行なった場合に、前記転送工程における前記着脱可能な記憶装置への前記画像データの転送速度を低下させ、前記決定工程において決定された前記バッファ領域のサイズをより大きいサイズとなるよう変更することを特徴とする制御方法。 A control method for an image processing apparatus, comprising: interface means for connecting to a removable storage device; and storage means including a buffer area for storing image data to be transferred to the removable storage device connected to the interface means. Because
A specific step of identifying the ability of the removable storage device to write;
A determination step of determining a size of the buffer area of the storage unit based on a writing capability of the removable storage device specified in the specification step;
A transfer step of reading the image data stored in the buffer area of the size determined in the determination step and transferring it to the removable storage device ,
When the response indicating that the removable storage device cannot receive further image data in response to the transfer of the image data to the removable storage device in the transfer step, control said in the transfer step removable to lower the transfer rate of the image data to the storage device, and wherein the be relocated so that the larger size the size of the determined the buffer region in the determination step Method.
前記着脱可能な記憶装置の書き込みに関する能力を特定する特定ステップと、
前記特定ステップで特定された前記着脱可能な記憶装置の書き込み能力に基づいて、前記記憶手段の前記バッファ領域のサイズを決定する決定ステップと、
前記決定ステップで決定されたサイズのバッファ領域に記憶された画像データを読み出して前記着脱可能な記憶装置に転送する転送ステップと、を有し、
前記転送ステップにおいて前記画像データが前記着脱可能な記憶装置へ転送されたことに対して前記着脱可能な記憶装置が更なる画像データの受信を行なうことができないことを示す応答を行なった場合に、前記転送ステップにおける前記着脱可能な記憶装置への前記画像データの転送速度を低下させ、前記決定ステップにおいて決定された前記バッファ領域のサイズをより大きいサイズとなるよう変更することを特徴とする制御プログラム。 A control method for an image processing apparatus, comprising: interface means for connecting to a removable storage device; and storage means including a buffer area for storing image data to be transferred to the removable storage device connected to the interface means. A control program for executing
A specific step of identifying the ability of the removable storage device to write;
A determination step of determining a size of the buffer area of the storage unit based on a writing capability of the removable storage device specified in the specifying step;
A transfer step of reading the image data stored in the buffer area of the size determined in the determination step and transferring it to the removable storage device ,
When the response indicating that the removable storage device cannot receive further image data in response to the transfer of the image data to the removable storage device in the transfer step, control wherein in the transfer step removable to lower the transfer rate of the image data to the storage device, and wherein the be relocated so that the larger size the size of the buffer area determined in said determining step program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009174519A JP5483946B2 (en) | 2009-07-27 | 2009-07-27 | Image processing apparatus, image processing apparatus control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009174519A JP5483946B2 (en) | 2009-07-27 | 2009-07-27 | Image processing apparatus, image processing apparatus control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011030009A JP2011030009A (en) | 2011-02-10 |
| JP5483946B2 true JP5483946B2 (en) | 2014-05-07 |
Family
ID=43638197
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009174519A Expired - Fee Related JP5483946B2 (en) | 2009-07-27 | 2009-07-27 | Image processing apparatus, image processing apparatus control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5483946B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4326793B2 (en) * | 2002-12-20 | 2009-09-09 | シャープ株式会社 | Image processing apparatus and image processing system including the image processing apparatus |
| JP2009070012A (en) * | 2007-09-12 | 2009-04-02 | Seiko Epson Corp | Information processing apparatus, information processing method, and data transfer apparatus. |
| JP2009126037A (en) * | 2007-11-22 | 2009-06-11 | Canon Inc | Recording method |
-
2009
- 2009-07-27 JP JP2009174519A patent/JP5483946B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011030009A (en) | 2011-02-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1271918B1 (en) | Image processing apparatus, and control method and control device therefor | |
| US20040073824A1 (en) | Information processing device with sleep mode function | |
| CN102300023B (en) | Information processing apparatus and controlling method thereof | |
| CN100456796C (en) | Apparatus and method for controlling a scanner | |
| US9189183B2 (en) | Image processing apparatus, and control method thereof, and recording medium | |
| CN102281376B (en) | Image processing equipment, method and stored program computer-readable recording medium | |
| JP5483946B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
| CN101004665A (en) | Image forming apparatus and method for control thereof | |
| JP2016513301A (en) | Image forming apparatus and method for connecting to external apparatus | |
| US20110157645A1 (en) | Image forming apparatus, method for controlling image forming apparatus, and storage medium | |
| CN100525372C (en) | Manuscript image reading recording device | |
| US9081523B2 (en) | Non-transitory computer readable recording medium storing job transmission program for transmission of job to electronic device and electronic device executing job | |
| JP7081477B2 (en) | Image processing device, control method of image processing device, and program | |
| JP6720824B2 (en) | Image processing device, image processing device control method, and program | |
| JP5392039B2 (en) | Image processing device | |
| JP2013191162A (en) | Operation analysis device, image forming device, operation analysis method, and program | |
| JP2006285529A (en) | Host controller | |
| US8207979B2 (en) | Image processing apparatus, image processing method, and computer program product | |
| JP2015103121A (en) | Electronics | |
| JP2000099451A (en) | Interface controller | |
| JP2012070028A (en) | Image forming apparatus | |
| JP4307435B2 (en) | Image data storage device, copying machine, image forming system, and image data storage method | |
| JP2009006570A (en) | Printer | |
| JP5494055B2 (en) | Image forming apparatus, control method, program, and recording medium | |
| JP2014230070A (en) | Image reading apparatus, image reading system, and image reading method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120718 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130807 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130820 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131021 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140121 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140218 |
|
| LAPS | Cancellation because of no payment of annual fees |