JP2006351059A - Controller, control method and program - Google Patents

Controller, control method and program Download PDF

Info

Publication number
JP2006351059A
JP2006351059A JP2005172784A JP2005172784A JP2006351059A JP 2006351059 A JP2006351059 A JP 2006351059A JP 2005172784 A JP2005172784 A JP 2005172784A JP 2005172784 A JP2005172784 A JP 2005172784A JP 2006351059 A JP2006351059 A JP 2006351059A
Authority
JP
Japan
Prior art keywords
data
disk drive
drive device
transfer
dummy data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005172784A
Other languages
Japanese (ja)
Inventor
Hideaki Nagase
秀明 長瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2005172784A priority Critical patent/JP2006351059A/en
Publication of JP2006351059A publication Critical patent/JP2006351059A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a controller, a control method, and a program capable of avoiding deterioration in system productivity and stop of the system due to vibrations in a less expensive configuration. <P>SOLUTION: It transfers dummy data to an HDD 26 and changes the destination of the actual data from the HDD 26 to a memory 22 when the transfer time (access time) of this dummy data exceeds the threshold preset in advance. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ディスクドライブ装置に対するデータ転送を制御する制御装置、制御方法、及びプログラムに関する。   The present invention relates to a control device, a control method, and a program for controlling data transfer to a disk drive device.

近年、例えばHDD(Hard Disk Drive)に代表されるディスクドライブ装置を有した情報機器が広く普及している。ハードディスク装置に対してデータの読み出し処理や書き込み処理が行われているときに、ハードディスク装置に振動が与えられると、リトライが繰り返されて読み出し処理及び書き込み処理に時間がかかったり、読み出し処理及び書き込み処理が不能になる場合がある。   In recent years, for example, information equipment having a disk drive device represented by an HDD (Hard Disk Drive) has been widely used. When data is being read from or written to the hard disk device, if the hard disk device is vibrated, retry will be repeated and the read processing and write processing may take a long time. May become impossible.

ハードディスク装置に対する振動検知の一般的な方法として、加速度を検知するセンサーを内蔵し、そのセンサーにより測定した加速度値と予め設定された許容加速度とを比較し、許容範囲を超えていた場合にハードディスクに対する情報の書き込み動作を中断させる制御方法が知られている(例えば、特許文献1参照)。   As a general method of vibration detection for hard disk devices, a built-in sensor for detecting acceleration is compared, and the acceleration value measured by the sensor is compared with a preset allowable acceleration. A control method for interrupting an information writing operation is known (see, for example, Patent Document 1).

また、異なる方法として、ハードディスク装置に対して読み取り専用のセクタを含む検知用トラックのセクタを設け、書き込み時に、まずその検知用トラックのセクタを読み取り、所定時間内に読み込まれない場合、外乱振動が発生したと判断し、記録動作を一時中断するディスク駆動方法が知られている(例えば特許文献2参照)。
特開平7−130115号公報 特開平11−337382号公報
Also, as a different method, if a hard disk device is provided with a sector of a detection track including a read-only sector, when writing, the sector of the detection track is first read and not read within a predetermined time. A disk drive method is known in which it is determined that a recording has occurred and the recording operation is temporarily interrupted (see, for example, Patent Document 2).
JP-A-7-130115 JP 11-337382 A

しかしながら、従来の加速度センサーを用いる方法では、加速度センサー自体が高価であるため、装置全体でコスト高になってしまう、という問題がある。   However, the conventional method using an acceleration sensor has a problem in that the acceleration sensor itself is expensive, resulting in a high cost for the entire apparatus.

また、ディスクに読み取り専用セクタを設ける方法は、読み取り動作にて振動を検知しているが、一般的に読み取り動作では振動有無の判断がしにくく、高精度に判断することができない、という問題がある。   In addition, the method of providing the read-only sector on the disk detects vibrations in the reading operation, but generally there is a problem that it is difficult to determine the presence or absence of vibrations in the reading operation and cannot be determined with high accuracy. is there.

更に、上記いずれの方法も、振動の検知後はHDDへの情報の書き込み動作を一時中断し、外乱振動がおさまるまでは待機状態となるため、リアルタイム性が要求される処理には不向きである。   Furthermore, any of the above methods is not suitable for processing that requires real-time properties because the operation of writing information to the HDD is temporarily suspended after vibration is detected and the standby state is maintained until disturbance vibration is stopped.

デジタル・複合機でのハードディスク装置を使用したコピー動作(電子ソート機能実行時など)においては、特にリアルタイム性が要求される。また、ハードディスク装置に対する書き込みデータ量は、カラー機ともなるとモノクロ機の4倍のデータ量となり、解像度が高くなるにつれてそのデータ量は増加する。これに加えて、近年コピー速度が高速化しており、ハードディスク装置に対するデータ転送速度も高速性が要求されている。このため、振動の影響により何度もデータ転送のリトライが発生しデータ転送速度が低下すると、システムとしての生産性低下、更にはシステム停止に至る懸念があった。それゆえ、振動が発生しても生産性低下やシステム停止を回避できるようなシステム制御が必要とされている。   Real-time performance is particularly required in a copying operation using a hard disk device in a digital / multifunction peripheral (for example, when an electronic sort function is executed). In addition, the amount of data written to the hard disk device is four times that of a monochrome machine when it is a color machine, and the amount of data increases as the resolution increases. In addition, in recent years, the copying speed has been increased, and the data transfer speed to the hard disk device is also required to be high. For this reason, if data transfer retries occur many times due to the influence of vibration and the data transfer speed is lowered, there is a concern that the productivity of the system is lowered and further the system is stopped. Therefore, there is a need for system control capable of avoiding productivity reduction and system stoppage even when vibration occurs.

本発明は上述した問題を解決するためになされたものであり、安価な構成で振動等の影響によるシステムの生産性低下や停止を回避することができる制御装置、制御方法、及びプログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides a control device, a control method, and a program capable of avoiding a decrease in system productivity and a stop due to the influence of vibration or the like with an inexpensive configuration. For the purpose.

上記目的を達成するために、本発明の制御装置は、ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断手段と、前記判断手段によって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替手段と、を含んで構成されている。   In order to achieve the above object, the control device of the present invention transfers dummy data to a disk drive device and determines whether or not the transfer time of the dummy data exceeds a predetermined threshold value, And switching means for switching the actual data transfer destination from the disk drive device to the internal memory when the determination means determines that the transfer time of the dummy data has exceeded the threshold.

このように、ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えた場合に実データの転送先をディスクドライブ装置から内部メモリに切替えるようにしたため、例えば振動等の発生によってディスクドライブ装置へのデータ転送を通常通りに行うことができなくなった場合であっても、データ転送を中断せずに、処理を続行することができる。また、ダミーデータを転送して転送時間の測定するだけで判断できるので、高価なハードウェアを追加すること無しに実現できる。従って、安価な構成で振動等の影響によるシステムの生産性低下や停止を回避することができる。   In this way, dummy data is transferred to the disk drive device, and when the transfer time of the dummy data exceeds a predetermined threshold, the transfer destination of the actual data is switched from the disk drive device to the internal memory. Even if the data transfer to the disk drive device cannot be performed normally due to the occurrence of vibration or the like, the processing can be continued without interrupting the data transfer. In addition, since it can be determined by simply transferring dummy data and measuring the transfer time, it can be realized without adding expensive hardware. Accordingly, it is possible to avoid a decrease in productivity or stoppage of the system due to the influence of vibration or the like with an inexpensive configuration.

なお、判断手段は、前記ディスクドライブ装置へ実データを転送する前、及び前記ディスクドライブ装置に対する実データ転送開始後に該データ転送のリトライが発生したときの少なくとも一方において、前記ディスクドライブ装置に前記ダミーデータを転送することができる。   Note that the determination unit is configured to store the dummy data in the disk drive device before transferring actual data to the disk drive device and at least one of when a retry of the data transfer occurs after the start of actual data transfer to the disk drive device. Data can be transferred.

また、ダミーデータのデータ長は、前記ディスクドライブ装置の性能及び前記ディスクドライブ装置の使用条件の少なくとも一方に応じて変更可能としてもよいし、閾値も、前記ダミーデータのデータ長、前記ディスクドライブ装置の性能、及び前記ディスクドライブ装置の使用条件の少なくとも1つに応じて変更可能としてもよい。   Further, the data length of the dummy data may be changeable according to at least one of the performance of the disk drive device and the usage condition of the disk drive device, and the threshold value is also the data length of the dummy data, the disk drive device. It may be changeable according to at least one of the performance and the use condition of the disk drive device.

また、本発明の制御方法は、ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断ステップと、前記判断ステップによって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替ステップと、を含んで構成されている。   In addition, the control method of the present invention transfers dummy data to a disk drive device, and determines whether or not the transfer time of the dummy data exceeds a predetermined threshold, and the dummy data is determined by the determination step. Switching step of switching the actual data transfer destination from the disk drive device to the internal memory when it is determined that the transfer time exceeds the threshold.

本発明の制御方法も、本発明の制御装置と同様に作用するため、安価な構成で振動等の影響によるシステムの生産性低下や停止を回避することができる。   Since the control method of the present invention also operates in the same manner as the control device of the present invention, it is possible to avoid a decrease in system productivity and a stop due to the influence of vibration or the like with an inexpensive configuration.

また、本発明のプログラムは、コンピュータに、ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断ステップと、前記判断ステップによって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替ステップと、を実行させるものである。   Further, the program of the present invention transfers a dummy data to a disk drive device to a computer, and determines whether or not the transfer time of the dummy data exceeds a predetermined threshold, When it is determined that the dummy data transfer time exceeds the threshold, a switching step of switching the actual data transfer destination from the disk drive device to the internal memory is executed.

本発明のプログラムも、本発明の制御装置と同様に作用するため、安価な構成で振動等の影響によるシステムの生産性低下や停止を回避することができる。   Since the program of the present invention also operates in the same manner as the control device of the present invention, it is possible to avoid a decrease in system productivity and a stop due to the influence of vibration or the like with an inexpensive configuration.

以上説明したように、本発明によれば、ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断して、実データの転送先を切替えるようにしたため、安価な構成で振動等の影響によるシステムの生産性低下や停止を回避することができる、という優れた効果を奏する。   As described above, according to the present invention, dummy data is transferred to the disk drive device, and it is determined whether or not the transfer time of the dummy data exceeds a predetermined threshold, and the transfer destination of the actual data is determined. Since the switching is performed, an excellent effect is obtained that it is possible to avoid a reduction in system productivity and a stop due to the influence of vibration or the like with an inexpensive configuration.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態における複合機の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of a multifunction machine according to an embodiment of the present invention.

図1に示すように複合機10は、制御部12、メモリ22、入出力インタフェース(I/O)24、ハードディスクドライブ(HDD)26、イメージインプットターミナル(IIT)28、メモリコントローラ30、ページメモリ32、圧縮伸張回路34、及びイメージアウトプットターミナル(IOT)36を備えている。   As shown in FIG. 1, the multifunction machine 10 includes a control unit 12, a memory 22, an input / output interface (I / O) 24, a hard disk drive (HDD) 26, an image input terminal (IIT) 28, a memory controller 30, and a page memory 32. A compression / decompression circuit 34 and an image output terminal (IOT) 36.

I/O24は、HDD26へのデータ書き込みおよびHDD26からのデータ読み出しをコントロールする。   The I / O 24 controls data writing to the HDD 26 and data reading from the HDD 26.

HDD26は、画像データ等の情報記憶を行うものであり、本発明におけるディスクドライブ装置として機能するものである。ただし、情報記憶を行うものであれば、必ずしも磁気ディスクを用いたHDDに限定されることはなく、光ディスクや光磁気ディスク等を用いたものであってもよい。   The HDD 26 stores information such as image data and functions as a disk drive device in the present invention. However, as long as information storage is performed, the present invention is not necessarily limited to an HDD using a magnetic disk, and an optical disk, a magneto-optical disk, or the like may be used.

IIT28は、原稿の画像を読み取り、該読み取って得られた画像データをメモリコントローラ30を介してページメモリ32に出力する。ページメモリ32は、IIT28からの非圧縮画像データを1ページ毎に一時記憶するメモリである。   The IIT 28 reads an image of a document and outputs image data obtained by the reading to the page memory 32 via the memory controller 30. The page memory 32 is a memory that temporarily stores uncompressed image data from the IIT 28 for each page.

圧縮伸張回路34は、ページメモリ32に一時記憶された非圧縮画像データを圧縮したり、HDD26あるいはメモリ22からの圧縮画像データを伸張したりする。   The compression / decompression circuit 34 compresses the uncompressed image data temporarily stored in the page memory 32 or decompresses the compressed image data from the HDD 26 or the memory 22.

IOT36は、圧縮伸張回路34で伸張された画像データに基づいて、記録媒体への印刷出力を行う。   The IOT 36 performs print output to a recording medium based on the image data expanded by the compression / expansion circuit 34.

制御部12は、CPU14、アクセスカウンタ16、及び閾値レジスタ18を含んで構成されている。CPU14は、ROM(不図示)等に記憶された各種プログラムを実行することによって、複合機10全体の動作を制御する。また、CPU14は、アクセス時間比較・転送切替部として機能する。具体的には、実際にIIT28で読み取られIOT24で印刷される画像データ(実データ)とは別に、ダミーデータをHDD26に転送し、そのデータ転送開始から転送終了までの時間(以下、アクセス時間と呼称)と予め定められた閾値とを比較し、DMA(ダイナミックメモリアクセス)転送する実データの転送先を切替える処理を行う。このダミーデータ転送に係るアクセス時間は、アクセスカウンタ16によって測定(カウント)される。また、測定されたアクセス時間と比較される閾値は閾値レジスタ18に予め格納されている。なお、アクセス時間は、本発明のデータ転送時間に相当する。   The control unit 12 includes a CPU 14, an access counter 16, and a threshold register 18. The CPU 14 controls the overall operation of the multifunction machine 10 by executing various programs stored in a ROM (not shown) or the like. The CPU 14 functions as an access time comparison / transfer switching unit. Specifically, apart from the image data (actual data) actually read by the IIT 28 and printed by the IOT 24, dummy data is transferred to the HDD 26, and the time from the start of the data transfer to the end of the transfer (hereinafter referred to as access time). (Name) and a predetermined threshold value are compared, and processing for switching the transfer destination of the actual data to be transferred by DMA (dynamic memory access) is performed. The access time related to the dummy data transfer is measured (counted) by the access counter 16. A threshold value to be compared with the measured access time is stored in advance in the threshold value register 18. The access time corresponds to the data transfer time of the present invention.

更に、制御部12はDMAコントローラ20を備えている。DMAコントローラ20は、CPU14を介さずHDD26またはメモリ22に直接アクセス(DMA転送)するためのコントローラである。DMAコントローラ20は、CPU14によって設定されたデータパスに応じて、DMA転送を行う。   Further, the control unit 12 includes a DMA controller 20. The DMA controller 20 is a controller for directly accessing (DMA transfer) the HDD 26 or the memory 22 without going through the CPU 14. The DMA controller 20 performs DMA transfer according to the data path set by the CPU 14.

メモリ22は、例えばSDRAM等により構成され、通常はワークメモリとして機能する。メモリ22は、本発明の内部メモリに相当する。   The memory 22 is composed of, for example, an SDRAM or the like, and normally functions as a work memory. The memory 22 corresponds to the internal memory of the present invention.

この複合機10では、通常、以下のようにDMA転送が行われる。   In the multi function device 10, DMA transfer is normally performed as follows.

まず、複合機10のスタートボタン(不図示)が押下されると、IIT28で、複写対象の原稿を読み取る。IIT28で原稿読み取ることによって得られた画像データはメモリコントローラ30を介してページメモリ32に一時的に格納される。その後、圧縮伸張回路34で、ページメモリ32の画像データを圧縮する。圧縮された画像データは、I/O24を介してHDD26に転送(書き込み)される。HDD26に転送された圧縮画像データは、再びI/O24を介して圧縮伸張回路34に転送されて伸張された後、IOT36に出力される。IOT36は、該伸張された画像データに基づいて、印刷媒体に印刷する。   First, when a start button (not shown) of the multifunction machine 10 is pressed, the document to be copied is read by the IIT 28. Image data obtained by reading the document with the IIT 28 is temporarily stored in the page memory 32 via the memory controller 30. Thereafter, the compression / decompression circuit 34 compresses the image data in the page memory 32. The compressed image data is transferred (written) to the HDD 26 via the I / O 24. The compressed image data transferred to the HDD 26 is transferred again to the compression / decompression circuit 34 via the I / O 24 and expanded, and then output to the IOT 36. The IOT 36 prints on the print medium based on the decompressed image data.

一方、HDD26の読み書き動作に影響がおよぶ程度の振動が生じると、HDD26に対するデータ転送のリトライが複数回行われ、データ転送時間が著しく増大してしまう。また振動の大きさによっては、データ転送が不能となりシステム停止状態に陥る場合がある。これを回避するため、本実施の形態の複合機10では、データ転送に時間がかかる場合には振動が発生したと判断して、以下のようなDMA転送が行われる。   On the other hand, if vibration that affects the read / write operation of the HDD 26 occurs, data transfer to the HDD 26 is retried a plurality of times, and the data transfer time significantly increases. Depending on the magnitude of vibration, data transfer may become impossible and the system may be stopped. In order to avoid this, in the MFP 10 according to the present embodiment, when data transfer takes time, it is determined that vibration has occurred, and the following DMA transfer is performed.

まず、IIT28で原稿を読み取ってから圧縮伸張回路34で圧縮するまでのデータの流れは通常のDMA転送の場合と同様であるため、ここでは説明を省略する。   First, since the data flow from reading an original by the IIT 28 to compression by the compression / decompression circuit 34 is the same as that in the case of normal DMA transfer, a description thereof is omitted here.

振動発生時には、圧縮伸張回路34で圧縮された圧縮画像データが、HDD26ではなくメモリ22に転送される。メモリ22に転送され記憶された圧縮画像データは、再び圧縮伸張回路34に転送されて伸張された後、IOT36に出力される。IOT36は、該伸張された画像データに基づいて、印刷媒体に印刷する。   When vibration occurs, the compressed image data compressed by the compression / decompression circuit 34 is transferred to the memory 22 instead of the HDD 26. The compressed image data transferred and stored in the memory 22 is transferred again to the compression / decompression circuit 34 and expanded, and then output to the IOT 36. The IOT 36 prints on the print medium based on the decompressed image data.

以下、複数部複写する場合の複写動作時におけるDMA転送を例に挙げて詳細に説明する。   Hereinafter, a DMA transfer during a copying operation when copying a plurality of copies will be described in detail as an example.

図2は、CPU14で実行される、実データのDMA転送時の転送先を切替える処理ルーチンの流れを示すフローチャートである。本処理ルーチンは、ページメモリ32からHDD26へ画像データのDMA転送が行われる際に開始される。   FIG. 2 is a flowchart showing the flow of a processing routine executed by the CPU 14 for switching the transfer destination during DMA transfer of actual data. This processing routine is started when DMA transfer of image data from the page memory 32 to the HDD 26 is performed.

ステップ100では、HDD26に対する書き込みが、複写対象である複数部の画像データのうちの1枚目の画像データの書き込みであるか否かを判断する。ここで、1枚目の画像データであると判断した場合には、ステップ102に移行し、アクセス時間を計測するためのアクセスカウンタ16をセットする。   In step 100, it is determined whether or not the writing to the HDD 26 is the writing of the first image data among a plurality of sets of image data to be copied. Here, if it is determined that the image data is the first image data, the process proceeds to step 102 where the access counter 16 for measuring the access time is set.

ステップ104では、予め定められたダミーデータ(例えば、カラーA4サイズの1プレーン分300x300x8bitの8MBのデータ)をHDD26の最外周セクタにDMA転送で書き込む。このとき、アクセスカウンタ16は、転送開始と同時にアクセス時間の計測を開始し、転送終了と同時にアクセス時間の計測を終了する。   In step 104, predetermined dummy data (for example, 8 MB data of 300 × 300 × 8 bits for one plane of color A4 size) is written in the outermost peripheral sector of the HDD 26 by DMA transfer. At this time, the access counter 16 starts measuring access time simultaneously with the start of transfer, and ends measuring access time simultaneously with the end of transfer.

ステップ106では、アクセスカウンタ16に基づいて、アクセス時間を検出する。次のステップ108では、アクセス時間と閾値とを比較する。ここで、アクセス時間が閾値以下であると判断した場合には、振動等の発生も無く問題ないと判断して、ステップ110で、実データがHDD26にDMA転送されるようにDMAコントローラ20のデータパスの設定を切替える。ステップ112では、該設定に基づいて1枚目の画像データからHDD26に対してDMA転送が開始される。   In step 106, the access time is detected based on the access counter 16. In the next step 108, the access time is compared with the threshold value. Here, if it is determined that the access time is equal to or less than the threshold value, it is determined that there is no problem such as vibration, and the data of the DMA controller 20 is transferred so that the actual data is DMA-transferred to the HDD 26 in step 110. Switch the path setting. In step 112, DMA transfer is started from the first image data to the HDD 26 based on the setting.

一方、ステップ108で、アクセス時間が閾値を超えたと判断した場合には、振動等が発生して、HDD26の書き込みに支障が出ていると判断することができる。従って、ステップ116で、実データがメモリ22にDMA転送されるようにDMAコントローラ20のデータパスの設定を切替える。ステップ118では、該設定に基づいて1枚目の画像データからメモリ22に対してDMA転送が開始される。   On the other hand, if it is determined in step 108 that the access time has exceeded the threshold value, it can be determined that vibration or the like has occurred and that writing to the HDD 26 has been hindered. Accordingly, in step 116, the data path setting of the DMA controller 20 is switched so that the actual data is DMA-transferred to the memory 22. In step 118, DMA transfer is started from the first image data to the memory 22 based on the setting.

ステップ112のHDD26に対する実データのDMA転送開始後、あるいはステップ100で2枚目以降の画像データの書き込みであると判断した場合には、ステップ114では、DMA転送中にデータ転送のリトライが発生したか否かを判断する。リトライが発生しない場合には、全てのデータ転送が終了するまでDMA転送をそのまま続行する。また、リトライが発生した場合には、実データのDMA転送を一旦中断し、ステップ102からステップ118までの処理を繰り返す。リトライが発生するということは、転送中に振動等が生じてHDD26の書き込みに支障が出た可能性がある。従って、再度、前述したようにダミーデータを転送してアクセス時間を計測し、データの転送先を切替えるようにする。   After the start of DMA transfer of actual data to the HDD 26 in step 112, or when it is determined in step 100 that writing of the second and subsequent image data has been performed, in step 114, a data transfer retry occurred during the DMA transfer. Determine whether or not. If no retry occurs, the DMA transfer is continued as it is until all data transfer is completed. If a retry occurs, the DMA transfer of actual data is temporarily interrupted, and the processing from step 102 to step 118 is repeated. If the retry occurs, vibration or the like may occur during the transfer, which may hinder the writing of the HDD 26. Therefore, as described above, the dummy data is transferred again, the access time is measured, and the data transfer destination is switched.

なお、2枚目以降の画像データのDMA転送は、上記の設定のまま継続して行うようにしてもよいし、1枚毎にDMA転送前にダミーデータ転送によるアクセス時間の検出を行うようにしてもよい。   The DMA transfer of the second and subsequent image data may be continued with the above settings, or the access time may be detected by dummy data transfer before DMA transfer for each image. May be.

以上説明したように、ダミーデータを転送してアクセス時間を検出し、該アクセス時間と閾値とを比較して、閾値を超えれば実データのデータ転送先をHDD26からメモリ22に切替えるようにしたため、安価な構成で、システムの生産性低下やシステム停止を回避することができる。   As described above, the dummy data is transferred to detect the access time, the access time is compared with the threshold, and if the threshold is exceeded, the data transfer destination of the actual data is switched from the HDD 26 to the memory 22. With an inexpensive configuration, it is possible to avoid a decrease in system productivity and a system stop.

なお、上記実施の形態では、HDD26へ実データを転送する前、及びHDD26に対する実データ転送開始後に該データ転送のリトライが発生したときの双方でダミーデータを転送してアクセス時間を検出、比較するようにしたが、これに限定されず、いずれか一方のみダミーデータが転送してアクセス時間を検出、比較するようにしてもよい。   In the above embodiment, access time is detected and compared by transferring dummy data both before transferring actual data to the HDD 26 and when a retry of the data transfer occurs after starting actual data transfer to the HDD 26. However, the present invention is not limited to this, and only one of the dummy data may be transferred to detect and compare the access time.

また、ダミーデータのデータ長は、HDD26の性能及びHDD26の使用条件の少なくとも一方に応じて変更可能としてもよい。また、データ長の変更をユーザにより適宜設定するようにしてもよい。   The data length of the dummy data may be changeable according to at least one of the performance of the HDD 26 and the usage conditions of the HDD 26. Further, the change of the data length may be appropriately set by the user.

さらにまた、測定されたダミーデータのアクセス時間と比較される閾値も、ダミーデータのデータ長やHDD26の性能、HDD26の使用条件の少なくとも1つに応じて変更可能としてもよい。また、閾値の変更をユーザにより適宜設定するようにしてもよい。   Furthermore, the threshold value compared with the measured access time of the dummy data may be changeable according to at least one of the data length of the dummy data, the performance of the HDD 26, and the usage conditions of the HDD 26. Further, the change of the threshold value may be appropriately set by the user.

また、上記実施の形態では、アクセス時間を検出してデータ転送先を切替える手段(アクセス時間比較・転送切替部)を複合機10内部に設けた例について説明したが、複合機10とは別の装置にこうした機能を設け、該装置によって複合機10の動作を制御するようにしてもよい。   In the above embodiment, the example in which the access time is detected and the means (access time comparison / transfer switching unit) for switching the data transfer destination is provided in the multifunction device 10 is different from the multifunction device 10. Such a function may be provided in the apparatus, and the operation of the multifunction machine 10 may be controlled by the apparatus.

また、上記実施の形態では、ダミーデータの転送やデータ転送先の切替えをCPU14によってソフトウェア的に処理する例について説明したが、これに限定されず、専用ASIC(Application Specified Integrated Circuit)等のハードウエア回路によって構成してもよい。   In the above-described embodiment, an example in which dummy data transfer and data transfer destination switching are processed by software by the CPU 14 has been described. However, the present invention is not limited to this, and hardware such as a dedicated ASIC (Application Specified Integrated Circuit) is used. You may comprise by a circuit.

また、本発明は上記実施の形態の複合機10に限定されるものではなく、その要旨を逸脱しない範囲で適宜変更することが可能である。例えば、本発明は、HDDに代表されるディスクドライブ装置を有した情報機器であれば、カーナビゲーションシステムのように外部の震動源からの振動を受け得る環境で用いられるものであっても、同様に適用することができる。   The present invention is not limited to the multifunction machine 10 of the above embodiment, and can be appropriately changed without departing from the gist thereof. For example, the present invention can be applied to an information device having a disk drive device represented by an HDD, even if it is used in an environment that can receive vibration from an external vibration source such as a car navigation system. Can be applied to.

本発明の実施の形態における複合機の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a multifunction machine according to an embodiment of the present invention. 実データのDMA転送時の転送先を切替える処理ルーチンの流れを示すフローチャートである。It is a flowchart which shows the flow of the processing routine which switches the transfer destination at the time of DMA transfer of real data.

符号の説明Explanation of symbols

10 複合機
12 制御部
14 CPU
16 アクセスカウンタ
18 閾値レジスタ
20 DMACコントローラ
22 メモリ
26 ハードディスク装置
10 MFP 12 Controller 14 CPU
16 Access counter 18 Threshold register 20 DMAC controller 22 Memory 26 Hard disk device

Claims (5)

ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断手段と、
前記判断手段によって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替手段と、
を含む制御装置。
Determining means for transferring dummy data to the disk drive device, and determining whether the transfer time of the dummy data exceeds a predetermined threshold;
Switching means for switching the transfer destination of the actual data from the disk drive device to the internal memory when the determination means determines that the transfer time of the dummy data exceeds the threshold;
Control device including.
前記判断手段は、前記ディスクドライブ装置に対する実データ転送開始前、及び前記ディスクドライブ装置に対する実データ転送開始後に該データ転送のリトライが発生したときの少なくとも一方において、前記ディスクドライブ装置に前記ダミーデータを転送する請求項1記載の制御装置。   The determination means stores the dummy data in the disk drive device at least one of before the start of actual data transfer to the disk drive device and when a retry of the data transfer occurs after the start of actual data transfer to the disk drive device. The control device according to claim 1, wherein the control device is transferred. 前記ダミーデータのデータ長は、前記ディスクドライブ装置の性能及び前記ディスクドライブ装置の使用条件の少なくとも一方に応じて変更可能であり、
前記閾値は、前記ダミーデータのデータ長、前記ディスクドライブ装置の性能、及び前記ディスクドライブ装置の使用条件の少なくとも1つに応じて変更可能である請求項1または請求項2記載の制御装置。
The data length of the dummy data can be changed according to at least one of the performance of the disk drive device and the usage conditions of the disk drive device,
The control device according to claim 1, wherein the threshold value can be changed according to at least one of a data length of the dummy data, a performance of the disk drive device, and a use condition of the disk drive device.
ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断ステップと、
前記判断ステップによって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替ステップと、
を含む制御方法。
A determination step of transferring dummy data to the disk drive device and determining whether the transfer time of the dummy data exceeds a predetermined threshold;
A switching step of switching the transfer destination of the actual data from the disk drive device to the internal memory when it is determined by the determination step that the transfer time of the dummy data exceeds the threshold;
Control method.
コンピュータに、
ディスクドライブ装置にダミーデータを転送し、該ダミーデータの転送時間が予め定められた閾値を超えたか否かを判断する判断ステップと、
前記判断ステップによって前記ダミーデータの転送時間が前記閾値を超えたと判断された場合に、実データの転送先を前記ディスクドライブ装置から内部メモリに切替える切替ステップと、
を実行させるプログラム。
On the computer,
A determination step of transferring dummy data to the disk drive device and determining whether the transfer time of the dummy data exceeds a predetermined threshold;
A switching step of switching the transfer destination of the actual data from the disk drive device to the internal memory when it is determined by the determination step that the transfer time of the dummy data exceeds the threshold;
A program that executes
JP2005172784A 2005-06-13 2005-06-13 Controller, control method and program Pending JP2006351059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005172784A JP2006351059A (en) 2005-06-13 2005-06-13 Controller, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005172784A JP2006351059A (en) 2005-06-13 2005-06-13 Controller, control method and program

Publications (1)

Publication Number Publication Date
JP2006351059A true JP2006351059A (en) 2006-12-28

Family

ID=37646750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005172784A Pending JP2006351059A (en) 2005-06-13 2005-06-13 Controller, control method and program

Country Status (1)

Country Link
JP (1) JP2006351059A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267660A (en) * 2008-04-23 2009-11-12 Konica Minolta Business Technologies Inc Image processing apparatus, and image processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267660A (en) * 2008-04-23 2009-11-12 Konica Minolta Business Technologies Inc Image processing apparatus, and image processing system
US8427692B2 (en) 2008-04-23 2013-04-23 Konica Minolta Business Technologies, Inc. Image processing apparatuses and systems for responding to writing errors associated with hard disk devices

Similar Documents

Publication Publication Date Title
US8427692B2 (en) Image processing apparatuses and systems for responding to writing errors associated with hard disk devices
JP5750899B2 (en) Image forming apparatus and control method thereof
JP2006351059A (en) Controller, control method and program
JP4099725B2 (en) Image forming apparatus
JP3703439B2 (en) Data transfer control device and method
JP2019220787A (en) Control device, image forming apparatus, control method, and control program
JP2006172636A (en) Fault diagnostic apparatus, fault diagnostic program, and fault diagnostic method
JP2007334555A (en) Data transfer device and electronic apparatus
JP2007188434A (en) Image processor
JP4658796B2 (en) Image forming apparatus
JP5051881B2 (en) COMMUNICATION CONTROL DEVICE, IMAGE FORMING DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2007164552A (en) Memory controller and data transfer method
JP2006330855A (en) Information processor, information processing method and program
JP2007280373A (en) Data processing device, image processing device, image forming apparatus, and computer program
JP6207177B2 (en) Electronic apparatus and imaging apparatus
JP2011192137A (en) Memory card control system, memory card control device and memory card control method
JP2012068808A (en) Portable storage device
JP2004342037A (en) Data transfer device, image forming device, data transfer control method, computer program and recording medium
JP2007068015A (en) Image forming system, image forming apparatus, image reader, and control method for image forming apparatus
JP2006344022A (en) Equipment and program starting method
JP2008310547A (en) Image forming device
JP2006253946A (en) Image processing apparatus, auxiliary storage apparatus control program, and recording medium
JP2021074974A (en) Image formation device and control method for image formation device
JP2005005903A (en) Data processing system
JP2010061716A (en) Information recording device