JP4901404B2 - Disk device writing control method and disk writing device - Google Patents

Disk device writing control method and disk writing device Download PDF

Info

Publication number
JP4901404B2
JP4901404B2 JP2006268020A JP2006268020A JP4901404B2 JP 4901404 B2 JP4901404 B2 JP 4901404B2 JP 2006268020 A JP2006268020 A JP 2006268020A JP 2006268020 A JP2006268020 A JP 2006268020A JP 4901404 B2 JP4901404 B2 JP 4901404B2
Authority
JP
Japan
Prior art keywords
disk
writing
data
performance
capacity
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
Application number
JP2006268020A
Other languages
Japanese (ja)
Other versions
JP2008090414A (en
Inventor
尚弥 石井
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.)
NEC Personal Computers Ltd
Original Assignee
NEC Personal Computers 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 NEC Personal Computers Ltd filed Critical NEC Personal Computers Ltd
Priority to JP2006268020A priority Critical patent/JP4901404B2/en
Publication of JP2008090414A publication Critical patent/JP2008090414A/en
Application granted granted Critical
Publication of JP4901404B2 publication Critical patent/JP4901404B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ディスク装置の書き込み制御方法およびディスク書き込み装置に関し、特に、ディスク装置の特性に応じて書き込み制御を行う方法および装置に関する。   The present invention relates to a disk device writing control method and a disk writing device, and more particularly to a method and device for performing writing control according to the characteristics of a disk device.

音声を含む画像データを記録再生するシステムに用いられるディスク装置に要求される容量は、画像データの画質向上に伴って年々増加する一方である。このため、複数のディスク装置を使用することとし、一部あるいは全てを交換してディスク装置全体の容量、書き込み読み出しスピードを向上させたり、必要に応じて修理交換等に対応可能なシステムとすることが望ましい。   The capacity required for a disk device used in a system for recording and reproducing image data including sound is increasing year by year as the image quality of the image data is improved. For this reason, a plurality of disk devices should be used, and some or all of them should be replaced to improve the capacity and write / read speed of the entire disk device, or a system that can handle repair and replacement as required. Is desirable.

複数のディスク装置を使用する技術として、特許文献1(特開2000−293315号公報)およびに特許文献2(特開2005−250644号公報)に開示される技術がある。   As techniques for using a plurality of disk devices, there are techniques disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 2000-293315) and Patent Document 2 (Japanese Patent Laid-Open No. 2005-250644).

特許文献1にはHDDの寿命を平均化し信頼性を向上させて、HDDの交換回数を減らすディスクアレイ装置を提供することを目的とし、複数のHDDの通電時間の管理を行い、最も通電時間の長いHDDをホットスペアディスクにローテーションすることが開示されている。   Patent Document 1 aims to provide a disk array device that averages the life of HDDs, improves reliability, and reduces the number of HDD replacements, and manages the energization time of a plurality of HDDs. Rotating a long HDD to a hot spare disk is disclosed.

特許文献2には、簡易な方法でディスクの寿命を延ばすと共にデータの時間差バックアップを実現することを目的とし、シフト待ち時間が検出される毎に、スタンバイさせられるディスクとデータを書込まれるディスクを1つずつ循環的にシフトすることが開示されている。   Patent Document 2 aims at extending the life of a disk by a simple method and realizing a time-lag backup of data, and each time a shift waiting time is detected, a disk to be put on standby and a disk to which data is written are disclosed. It is disclosed to shift cyclically one by one.

特許文献1および特許文献2に開示される技術では、ディスク装置は複数用意されるものの、使用されるディスク装置は1つである。音声を含む画像データを記録再生するシステムでは扱うデータ量が大量かつ高速であることからデータを分割して複数のディスク装置に同時に書き込み、再生を行うことが提案されている。   In the techniques disclosed in Patent Document 1 and Patent Document 2, a plurality of disk devices are prepared, but only one disk device is used. In a system for recording and reproducing image data including sound, since the amount of data handled is large and high speed, it has been proposed to divide the data and simultaneously write and reproduce the data on a plurality of disk devices.

分割されたデータのディスク型記録再生装置への書き込み制御について、特許文献3(特開平9−128891号公報)に開示される技術がある。特許文献3には、ディスク装置では内周側が高密度となり外周側が低密度であり、記録密度に応じて記録周波数を変化させた場合には、記録再生位置により一定時間に記録再生されるデータ量が異なることを問題点とし、ディスクの表裏面で記録再生を行うこととし、表裏面のヘッド位置の半径位置の総和量を一定とするとともに、記録データを表裏面のヘッド位置の半径位置に応じて分割することが記載されている。
特開2000−293315号公報 特開2005−250644号公報 特開平9−128891号公報
There is a technique disclosed in Patent Document 3 (Japanese Patent Application Laid-Open No. 9-128891) for controlling writing of the divided data into the disk-type recording / reproducing apparatus. Patent Document 3 discloses that in a disk device, the inner peripheral side has a high density and the outer peripheral side has a low density, and when the recording frequency is changed according to the recording density, the amount of data recorded / reproduced at a certain time depending on the recording / reproduction position. The problem is that recording and playback are performed on the front and back surfaces of the disk, the total amount of the radial positions of the head positions on the front and back surfaces is kept constant, and the recording data is set according to the radial position of the head positions on the front and back surfaces. Is divided.
JP 2000-293315 A JP-A-2005-250644 JP-A-9-128891

特許文献1および特許文献2に開示される技術では、複数のディスク装置のうち、1つのディスク装置を使用するものであるため、大量のデータの高速書き込み再生には適さない。   The techniques disclosed in Patent Document 1 and Patent Document 2 use one disk device among a plurality of disk devices, and are not suitable for high-speed writing and reproduction of a large amount of data.

特許文献3に開示される技術では、記録位置によらず、概ね一定のデータ量にて記録再生が行われることとなる。しかしながら、ディスクの表裏面に対して、同時に書き込み、再生を行うことは非常に困難である。同様の動作を複数のディスク装置に対して行う場合には、同じ性能のディスク装置を用意する必要があり、記録再生システムを構成する上での制約が多くなってしまう。汎用的なディスク装置は調達が安易で、コストも有利ではあるが利用者において挿抜可能なフレキシビリティを有しているため、同じ性能のディスク装置が装着され続けられるかの保証ができない。   In the technique disclosed in Patent Document 3, recording and reproduction are performed with a substantially constant data amount regardless of the recording position. However, it is very difficult to write and play back simultaneously on the front and back surfaces of the disc. When the same operation is performed on a plurality of disk devices, it is necessary to prepare a disk device having the same performance, and there are many restrictions in configuring the recording / reproducing system. A general-purpose disk device is easy to procure and is advantageous in cost, but it has the flexibility to be inserted and removed by the user, so it cannot be guaranteed that a disk device with the same performance can be continuously mounted.

複数のディスク装置の一部を交換してディスク装置全体の容量を向上するシステムを構築する場合には、各ディスクの容量や性能にバラツキが発生し、特に容量については確実にバラツキが発生することとなるため、特許文献3に開示される技術を適用することはできない。   When constructing a system that improves the capacity of the entire disk device by exchanging a part of multiple disk devices, there will be variations in the capacity and performance of each disk, especially with regard to the capacity. Therefore, the technique disclosed in Patent Document 3 cannot be applied.

本発明は上述したような従来の技術が有する問題点に鑑みてなされたものであって、データを複数に分割して複数のディスク装置に書き込み再生することを効率よく行うことのできるディスク装置の書き込み制御方法およびディスク書き込み装置を実現することを目的とする。   The present invention has been made in view of the problems of the conventional techniques as described above, and is a disk device capable of efficiently performing data division into a plurality of data and writing / reproducing data on a plurality of disk devices. An object is to realize a writing control method and a disk writing apparatus.

本発明のディスク装置の書き込み制御方法は、挿抜可能な2台のディスク装置をデータを記録する媒体として用いる装置で行われるディスク装置の書き込み制御方法であって、
接続状態にある前記2台のディスク装置の容量および書き込み性能を検出するステップと、
前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内であるかを確認するステップと、
前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内である場合に、一方のディスク装置が外周から内周に向けて書き込みを行う時には、他方のディスク装置が内周から外周に向けて書き込みを行うように制御するとともに、前記2台のディスク装置相互の書き込み位置における前記書き込み性能の比に応じて前記データを分割して前記2台のディスク装置のそれぞれに書き込むステップと、を有することを特徴とする。
The disk device write control method of the present invention is a disk device write control method performed by a device using two detachable disk devices as media for recording data,
Detecting the capacity and write performance of the two disk devices in a connected state;
Checking whether both the capacity difference and write performance difference between the two disk devices are within a predetermined range;
When the capacity difference and the writing performance difference between the two disk devices are both within a predetermined range, when one disk device writes from the outer periphery toward the inner periphery, the other disk device step of writing to control so as to perform writing toward the outer periphery, the data by dividing the in accordance with the ratio between the writing performance of the two disk devices mutual writing position in each of the two disk devices from It is characterized by having.

この場合、前記2台のディスク装置の容量差および書き込み性能差の少なくとも一方が予め定められた範囲内でないことが確認された場合には、現在接続されている2台のデータ用ディスク装置を併用することができない旨の表示を行うこととしてもよい。   In this case, if it is confirmed that at least one of the capacity difference and the writing performance difference between the two disk devices is not within a predetermined range, the two currently connected data disk devices are used together. It is good also as displaying that it cannot do.

本発明のディスク書き込み装置は、挿抜可能な2台のディスク装置をデータを記録する媒体とするディスク書き込み装置であって、
接続状態にある前記2台のディスク装置の容量および書き込み性能を検出し、前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内であるかを確認し、前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内である場合に、一方のディスク装置が外周から内周に向けて書き込みを行う時には、他方のディスク装置が内周から外周に向けて書き込みを行うように制御するとともに、前記2台のディスク装置相互の書き込み位置における前記書き込み性能の比に応じて前記データを分割して前記2台のディスク装置のそれぞれに書き込む制御部を有することを特徴とする。
The disc writing device of the present invention is a disc writing device having two detachable disc devices as media for recording data,
The capacity and write performance of the two disk devices in the connected state are detected, and it is confirmed whether both the capacity difference and the write performance difference between the two disk devices are within a predetermined range. When the capacity difference and writing performance difference of both disk devices are within the predetermined range, when one disk device writes from the outer periphery to the inner periphery, the other disk device moves from the inner periphery to the outer periphery. And a controller that divides the data according to a ratio of the writing performance at the writing position between the two disk devices and writes the divided data to each of the two disk devices. It is characterized by that.

この場合、前記2台のディスク装置の挿抜状態を監視するディスク装置挿抜監視機構を備え、
前記制御部は、前記ディスク装置挿抜監視機構を介してディスク装置の交換状態を検出することとしてもよい。
In this case, a disk device insertion / removal monitoring mechanism for monitoring the insertion / removal state of the two disk devices is provided,
The control unit may detect a replacement state of the disk device via the disk device insertion / extraction monitoring mechanism.

また、接続されている前記2台のディスク装置の容量および書き込み性能を格納するためのシステム用記憶装置を備え、
前記制御部は、1台のディスク装置のみが交換されたことを検出した場合には交換されたディスク装置のみの容量および書き込み性能を検出し、交換されていないディスク装置の容量および書き込み性能については前記システム用記憶装置から読み出してその後の確認動作を行うとともに前記交換されたディスク装置の検出された容量および書き込み性能に基づいて前記システム用記憶装置の格納内容を更新することとしてもよい。
A storage device for a system for storing the capacity and write performance of the two connected disk devices;
When the control unit detects that only one disk device has been replaced, it detects the capacity and write performance of only the replaced disk device, and regarding the capacity and write performance of the disk device that has not been replaced, It is also possible to read from the system storage device and perform a subsequent confirmation operation, and update the stored contents of the system storage device based on the detected capacity and write performance of the replaced disk device.

また、前記制御部は、ディスク装置の最外周および最内周における書き込み性能を実測し、書き込み位置における書き込み性能を実測結果により得られた近似式により求めて前記データの分割を行うこととしてもよい。   In addition, the control unit may measure the writing performance at the outermost and innermost circumferences of the disk device, determine the writing performance at the writing position by an approximate expression obtained from the measurement result, and divide the data. .

また、表示部を備え、
前記制御部は、前記2台のディスク装置の容量差および書き込み性能差の少なくとも一方が予め定められた範囲内でないことが確認された場合には、現在接続されている2台のデータ用ディスク装置を併用することができない旨の表示を前記表示部に行わせることとしてもよい。
It also has a display,
When it is confirmed that at least one of the capacity difference and the write performance difference between the two disk devices is not within a predetermined range, the control unit determines that the two currently connected data disk devices It is good also as making the said display part display that it cannot use together.

本発明においては、書き込み性能の比に応じて前記データを分割して書き込むことが行われているため、書き込み速度を向上することができる。   In the present invention, since the data is divided and written according to the ratio of the writing performance, the writing speed can be improved.

種類の異なる2台のディスク装置を記録媒体として併用する場合、同時に同じデータ量を書き込む場合には2台のディスク装置の容量差が使用されない領域分となるが、上記のようなデータ分割を行う場合には、使用されない領域分は容量差および性能差に応じたものとなる。   When two different types of disk devices are used together as a recording medium, if the same amount of data is written at the same time, the capacity difference between the two disk devices becomes an area that is not used, but the above data division is performed. In some cases, the area not used corresponds to the capacity difference and the performance difference.

本発明においては、データを記録する2台のディスク装置の容量差および性能差が予め定められた範囲内で無い場合には記録が行われることはないので、無駄となる領域を所定以下とすることができる。   In the present invention, since the recording is not performed when the capacity difference and the performance difference between the two disk devices for recording data are not within a predetermined range, the wasted area is set to a predetermined value or less. be able to.

次に、本発明の実施例について図面を参照して説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

図1は本発明によるディスク書き込み装置200の一実施例構成を示すブロック図である。   FIG. 1 is a block diagram showing the configuration of an embodiment of a disk writing apparatus 200 according to the present invention.

本実施例は、データ保存用のHDDとして2台のHDDを用いるもので、図1には、インターネット100、本発明によるディスク書き込み装置200、データ用HDD(ハードディスク)300,400が示されている。   In this embodiment, two HDDs are used as data storage HDDs. FIG. 1 shows the Internet 100, a disk writing device 200 according to the present invention, and data HDDs (hard disks) 300 and 400. .

ディスク書き込み装置200は、記憶部、制御部、入力部、出力部から構成される一般的なコンピュータシステムの構成を備えるもので、利用者からのキー入力やマウス入力を受け付ける入力部201、表示ディスプレイやランプなどからなり、利用者に対する表示を行う表示部202、データ入力部として本実施例の場合にはインターネット100からの画像データを受け付けるネットワークボード203、ディスク書き込み装置200の各部の動作の制御を行う制御回路204、書き込み再生データの記憶やHDDを制御する制御プログラム206を格納する記憶部205、電源投入時にシステムを起動するためのプログラムを格納するシステム用HDD207、HDD(本実施例におけるデータ用HDD300,400)の挿抜状態および接続されたHDDの特性を測定し、制御回路204の制御により各HDDの書き込み再生動作を実行するHDD挿抜監視機構208から構成されている。   The disk writing device 200 includes a general computer system configuration including a storage unit, a control unit, an input unit, and an output unit. The input unit 201 receives a key input and a mouse input from a user, and a display display. In this embodiment, the data input unit controls the operation of each unit of the disk writing device 200. The display unit 202 includes a lamp and a lamp. A control circuit 204 for performing storage, a storage unit 205 for storing a write / playback data storage and a control program 206 for controlling the HDD, a system HDD 207 for storing a program for starting the system at power-on, and an HDD (for data in this embodiment) HDD300, 400) The properties of the fine-connected HDD measured, and a HDD insertion monitoring mechanism 208 to perform a write reproduction operation of each HDD under the control of the control circuit 204.

制御回路204はHDD制御プログラム206に基づいて制御動作を行う。図2は本実施例の電源投入時からシステム起動までの動作を示すフローチャート、図3はシステム用HDD207の格納内容を示す図である。   The control circuit 204 performs a control operation based on the HDD control program 206. FIG. 2 is a flowchart showing an operation from power-on to system activation according to this embodiment, and FIG. 3 is a diagram showing contents stored in the system HDD 207.

図3に示すように、システム用HDD207にはOS、アプリケーションプログラム、HDD制御プログラムとともに、2台のHDD(ここでは図1におけるデータ用HDD300,400をHDD1,HDD2とする)のそれぞれについて、容量、書き込みレートを示す性能値が格納され、さらに、データ用HDDに要求される容量、性能値の最低レべルが格納されている。   As shown in FIG. 3, the system HDD 207 includes an OS, an application program, and an HDD control program, together with a capacity, a capacity, and a capacity for each of two HDDs (here, the data HDDs 300 and 400 in FIG. 1 are HDD1 and HDD2). A performance value indicating a write rate is stored, and further, a capacity required for the data HDD and a minimum level of the performance value are stored.

次に、図2を参照して、本実施例の動作について詳細に説明する。   Next, the operation of the present embodiment will be described in detail with reference to FIG.

制御回路204は、電源が投入されると、HDD挿抜監視機構208を介して、データ用HDDが交換されたかを確認する(ステップS201)。HDDが交換されたかを検出する。HDDの交換の検出の方法としては、HDD取付け部に挿抜を検知する機構を設けておいてもよいし、個々のHDDが内部に持っている製品名およびシリアル番号をHDD制御プログラムを通じて読み出し、前回のものと比較することにより検出してもよい。   When the power is turned on, the control circuit 204 confirms whether the data HDD has been replaced via the HDD insertion / removal monitoring mechanism 208 (step S201). It detects whether the HDD has been replaced. As a method for detecting the replacement of the HDD, a mechanism for detecting insertion / removal may be provided in the HDD mounting section, or the product name and serial number possessed by each HDD are read through the HDD control program. You may detect by comparing with the thing.

ステップS201にてデータ用HDDが交換されていないことが確認された場合には、現在のシステム用HDD207の格納内容によるシステム起動が行われる。   If it is confirmed in step S201 that the data HDD has not been replaced, the system is activated based on the current stored contents of the system HDD 207.

ステップS201にてデータ用HDDが交換されていることが確認された場合には、交換されたHDDが1台であるか、もしくは2台であるかを確認し(ステップS202)、1台ならば交換されたHDDについて容量、性能値を測定し、2台ならば両方のHDDについて容量、性能値を測定する。   If it is confirmed in step S201 that the data HDD has been replaced, it is confirmed whether the replaced HDD is one or two (step S202). The capacity and performance values of the replaced HDD are measured. If two HDDs are used, the capacity and performance values of both HDDs are measured.

ステップS202において、交換されたHDDが1台であることが確認された場合には、交換されたHDDの容量を確認し(ステップS203)、交換されていないHDDの容量をシステム用HDD207の格納内容から確認する(ステップS204)。   If it is confirmed in step S202 that the replaced HDD is one, the capacity of the replaced HDD is confirmed (step S203), and the capacity of the HDD not replaced is stored in the system HDD 207. (Step S204).

次に、交換されたデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下であるかを確認する(ステップS205)。   Next, it is confirmed whether or not the capacity of the replaced data HDD is equal to or lower than the minimum level required for the data HDD stored in the system HDD 207 (step S205).

ステップS205において、交換されたデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。交換されたデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下ではないことが確認された場合には、接続されている2台のデータ用HDDの容量差が10%以上であるかを確認する(ステップS206)。   If it is confirmed in step S205 that the capacity of the replaced data HDD is less than or equal to the minimum level required for the data HDD stored in the system HDD 207, the currently connected data HDD is connected. The display unit 202 displays an alert indicating that the two data HDDs cannot be used together. If it is confirmed that the capacity of the replaced data HDD is not less than the minimum level required for the data HDD stored in the system HDD 207, the two connected data It is confirmed whether the capacity difference between the HDDs is 10% or more (step S206).

ステップS206において、接続されている2台のデータ用HDDの容量差が10%以上であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。接続されている2台のデータ用HDDの容量差が10%以上ではないことが確認された場合には、交換されたデータ用HDDの性能測定を行い(ステップS207)、交換されていないHDDの性能値をシステム用HDD207の格納内容から確認する(ステップS208)。   If it is confirmed in step S206 that the capacity difference between the two connected data HDDs is 10% or more, the two currently connected data HDDs cannot be used together. Is displayed on the display unit 202. When it is confirmed that the capacity difference between the two connected data HDDs is not 10% or more, the performance of the replaced data HDD is measured (step S207), and the HDDs that have not been replaced are measured. The performance value is confirmed from the stored contents of the system HDD 207 (step S208).

次に、交換されたデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能の最低レべル以下であるかを確認する(ステップS209)。   Next, it is confirmed whether or not the performance of the replaced data HDD is equal to or less than the minimum level required for the data HDD stored in the system HDD 207 (step S209).

ステップS209において、交換されたデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能値の最低レべル以下であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。交換されたデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能値の最低レべル以下ではないことが確認された場合には、接続されている2台のデータ用HDDの性能を比較する(ステップS210)。   If it is confirmed in step S209 that the performance of the replaced data HDD is equal to or lower than the minimum level of the performance value required for the data HDD stored in the system HDD 207, the currently connected data HDD is connected. The display unit 202 displays an alert indicating that the two data HDDs cannot be used together. If it is confirmed that the performance of the replaced data HDD is not less than the minimum level of the performance value required for the data HDD stored in the system HDD 207, the two connected HDDs The performance of the data HDD is compared (step S210).

次に、ステップS210における性能比較の結果、接続されている2台のデータ用HDDの性能差が10%以上であるかを確認する(ステップS211)。   Next, as a result of the performance comparison in step S210, it is confirmed whether the performance difference between the two connected data HDDs is 10% or more (step S211).

ステップS211において、接続されている2台のデータ用HDDの性能差が10%以上であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。接続されている2台のデータ用HDDの性能差が10%以上ではないことが確認された場合には、各データ用HDDの書き込み比率を性能に応じて決定し(ステップS212)、交換されたデータ用HDDの容量および性能をシステム用HDD207に書き込み(ステップS213)、システム用HDD207による起動を行う。   When it is confirmed in step S211 that the performance difference between the two connected data HDDs is 10% or more, the two currently connected data HDDs cannot be used together. Is displayed on the display unit 202. When it is confirmed that the performance difference between the two connected data HDDs is not 10% or more, the write ratio of each data HDD is determined according to the performance (step S212) and replaced. The capacity and performance of the data HDD are written into the system HDD 207 (step S213), and the system HDD 207 is activated.

ステップS202において、交換されたHDDが2台であることが確認された場合には、交換された2台のHDDの容量を確認し(ステップS214)、交換された2台のデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下であるかを確認する(ステップS215)。   If it is confirmed in step S202 that two HDDs have been replaced, the capacity of the two replaced HDDs is confirmed (step S214), and the capacity of the two replaced data HDDs is confirmed. Is less than or equal to the minimum level required for the data HDD stored in the system HDD 207 (step S215).

ステップS215において、交換された2台のデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。交換された2台のデータ用HDDの容量がシステム用HDD207に格納されているデータ用HDDに要求される容量の最低レべル以下ではないことが確認された場合には、交換された2台のデータ用HDDの容量差が10%以上であるかを確認する(ステップS216)。   If it is confirmed in step S215 that the capacity of the two replaced data HDDs is less than or equal to the minimum level required for the data HDD stored in the system HDD 207, The display unit 202 is caused to display an alert indicating that the two connected data HDDs cannot be used together. If it is confirmed that the capacity of the two replaced data HDDs is not less than or equal to the minimum capacity required for the data HDD stored in the system HDD 207, the two replaced data HDDs It is confirmed whether the capacity difference of the data HDD is 10% or more (step S216).

ステップS216において、交換された2台のデータ用HDDの容量差が10%以上であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。交換された2台のデータ用HDDの容量差が10%以上ではないことが確認された場合には、交換された2台のデータ用HDDの性能測定を行う(ステップS217)。   If it is confirmed in step S216 that the capacity difference between the two replaced data HDDs is 10% or more, the two currently connected data HDDs cannot be used together. The display unit 202 is caused to display an alert. When it is confirmed that the capacity difference between the two replaced data HDDs is not 10% or more, the performance measurement of the two replaced data HDDs is performed (step S217).

次に、交換された2台のデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能の最低レべル以下であるかを確認する(ステップS218)。   Next, it is confirmed whether the performance of the two replaced data HDDs is equal to or lower than the minimum level required for the data HDD stored in the system HDD 207 (step S218).

ステップS218において、交換された2台のデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能値の最低レべル以下であることが確認された場合には、現在接続されている2台のデータ用HDDを併用することができない旨のアラート表示を表示部202に行わせる。交換された2台のデータ用HDDの性能がシステム用HDD207に格納されているデータ用HDDに要求される性能値の最低レべル以下ではないことが確認された場合には、ステップS210へ移行し、ステップS210〜S213の動作を繰り返す。   If it is confirmed in step S218 that the performance of the two replaced data HDDs is equal to or lower than the minimum level required for the data HDD stored in the system HDD 207, The display unit 202 displays an alert indicating that the two data HDDs currently connected cannot be used together. If it is confirmed that the performance of the two replaced data HDDs is not less than the minimum level required for the data HDD stored in the system HDD 207, the process proceeds to step S210. Then, the operations in steps S210 to S213 are repeated.

次に、ステップS207、S217で行われるHDDの性能の測定およびステップS212で行われる各データ用HDDの書き込み比率の決定について説明する。   Next, the HDD performance measurement performed in steps S207 and S217 and the determination of the write ratio of each data HDD performed in step S212 will be described.

一般にHDDの書き込み性能は、外周部がもっとも性能が良く、内周に行くほど性能が低下していく傾向が見られる。これは、HDDが同心円のシリンダに分割され、そのシリンダにほぼ同一の線密度でデータを記録する為である。シリンダはセクタと呼ばれる単位に分割されている。一般にHDDのセクタ管理はLBA番号と呼ばれる通し番号で行われている。LBAは基本的に外周のセクタから順番に振られており、LBAが小さいエリアへの書き込みほど性能が良く、大きくなるほど性能は低下することとなる。実際に、HDD性能を実測すると図4に示すような特性が得られる。   In general, the writing performance of the HDD has the best performance at the outer periphery, and the performance tends to decrease as it goes to the inner periphery. This is because the HDD is divided into concentric cylinders and data is recorded in the cylinders with substantially the same linear density. The cylinder is divided into units called sectors. In general, HDD sector management is performed using serial numbers called LBA numbers. The LBA is basically assigned in order from the outer peripheral sector, and the performance is better as writing to an area with a smaller LBA, and the performance decreases as the LBA becomes larger. Actually, when the HDD performance is measured, the characteristics shown in FIG. 4 are obtained.

ステップS207、S217では、HDDの最外周(最高性能)と最内周(最低性能)の書き込み速度を実測する。   In steps S207 and S217, the writing speeds on the outermost circumference (highest performance) and innermost circumference (lowest performance) of the HDD are measured.

実測の結果、最外周での書き込み速度としてA Mbpsが得られ、最内周での書き込み速度として、B Mbpsが得られたとする。   As a result of the actual measurement, it is assumed that A Mbps is obtained as the writing speed at the outermost periphery, and B Mbps is obtained as the writing speed at the innermost periphery.

この時のディスクの特性を、半径をxとし、下記のように一次式による近似を行う。   At this time, the radius of the disk is x, and approximation by a linear expression is performed as follows.

y=αx+β
α=(B−A)/LBA (LBAはHDDのLBA数)
β=A
また、二次式による近似としては以下が挙げられる。
y = αx + β
α = (BA) / LBA (LBA is the number of HDD LBAs)
β = A
Moreover, the following is mentioned as approximation by a quadratic equation.

HDDは同心円状にほぼ均一な線密度で記録されている為、最外周から内周への連続的な性能を、下記の近似式で表すことが出来る。   Since HDDs are recorded concentrically with an almost uniform linear density, the continuous performance from the outermost circumference to the inner circumference can be expressed by the following approximate expression.

Y=αx2+β
α=(B−A)/LBA2
β=A
一次式による近似結果を図5に示し、二次式による近似結果を図6に示す。
Y = αx 2 + β
α = (B−A) / LBA 2
β = A
FIG. 5 shows an approximation result by the primary expression, and FIG. 6 shows an approximation result by the quadratic expression.

これら近似式により、各LBA値におけるHDDの転送性能を求めることが出来る。このことを利用し、それぞれのHDDへの書き込み比率を変更し、より効率的な書き込みを可能とする。   With these approximate equations, the HDD transfer performance at each LBA value can be obtained. Utilizing this fact, the writing ratio to each HDD is changed to enable more efficient writing.

ステップS212で行われる各データ用HDDの書き込み比率の決定アルゴリズムは以下の通りである。   The algorithm for determining the write ratio of each data HDD performed in step S212 is as follows.

(1)接続されている2台のデータ用HDDのうち、一方は書き込み領域の外周から、他方は書き込み領域の内周から書き込みを行うこととする。このとき、書き込みレートの高いデータ用HDDを書き込み領域の外周から書き込むように設定することにより最も高い書き込みレートで書き込みが行われることとなり、このような設定としてもよい。   (1) Of the two connected data HDDs, one performs writing from the outer periphery of the writing area and the other from the inner periphery of the writing area. At this time, writing is performed at the highest writing rate by setting the data HDD having a high writing rate to be written from the outer periphery of the writing area, and such setting may be used.

(2)上記の書き込み位置におけるHDDの性能を算出する。算出には上記の近似式1または近似式2を用いる。この結果得られた、HDD1の性能をa、HDD2の性能をbとする。   (2) The performance of the HDD at the above write position is calculated. For the calculation, the above approximate expression 1 or approximate expression 2 is used. As a result, the performance of the HDD 1 is a, and the performance of the HDD 2 is b.

(3)性能の比よりそれぞれのHDDに書き込みをする比率を以下により決定する。   (3) The ratio of writing to each HDD is determined by the following from the performance ratio.

HDD1書き込み量=a/(a+b)・全体書き込み量
HDD2書き込み量=b/(a+b)・全体書き込み量
ここでの全体書き込み量は図1に示したネットワークボード203が受け付けた単位時間毎の画像データであり、制御回路204は決定された書き込み比率に応じて画像データを分割し、各データ用HDDへの書き込みを行う。
HDD1 write amount = a / (a + b) · total write amount HDD2 write amount = b / (a + b) · total write amount The total write amount here is the image data per unit time accepted by the network board 203 shown in FIG. The control circuit 204 divides the image data in accordance with the determined write ratio, and writes it to each data HDD.

上記のように、外周から内周への書き込みを行うHDDと内周から外周への書き込みを行うHDDを組み合わせて使用すると、図7(a)に示す特性と図7(b)に示す特性が組み合わされることとなる。これらはHDDを書き込み方向を異ならせたときの特性であり、外周部では300Mbpsでの書き込みレートであり、内周部では180Mbpsの書き込みレートである。これらを組み合わせて使用することにより、図7(c)に示すように、380Mbps以上での書き込みレートを常に行うことが可能となっている。   As described above, when the HDD that performs writing from the outer periphery to the inner periphery and the HDD that performs writing from the inner periphery to the outer periphery are used in combination, the characteristics illustrated in FIG. 7A and the characteristics illustrated in FIG. Will be combined. These are characteristics when the writing direction of the HDD is changed, and the writing rate is 300 Mbps at the outer peripheral portion and the writing rate is 180 Mbps at the inner peripheral portion. By using these in combination, as shown in FIG. 7C, it is possible to always perform a writing rate at 380 Mbps or higher.

本発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 本発明の実施例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the Example of this invention. 図1中のシステム用HDD207の格納内容を示す図である。It is a figure which shows the storage content of system HDD207 in FIG. HDD性能の実測による特性を示す図である。It is a figure which shows the characteristic by measurement of HDD performance. 図4に示した特性の一次式による近似結果示す図である。It is a figure which shows the approximation result by the primary expression of the characteristic shown in FIG. 図4に示した特性の二次式による近似結果示す図である。It is a figure which shows the approximation result by the quadratic expression of the characteristic shown in FIG. (a)〜(c)のそれぞれは本発明による書き込みレートを説明するための図である。(A)-(c) is a figure for demonstrating the write rate by this invention.

符号の説明Explanation of symbols

100 インターネット
200 ディスク書き込み装置
201 入力部
202 表示部
203 ネットワークボード
204 制御回路
205 記憶部
206 HDD制御プログラム
207 システム用HDD
208 HDD挿抜監視機構
300,400 データ用HDD
DESCRIPTION OF SYMBOLS 100 Internet 200 Disk writing apparatus 201 Input part 202 Display part 203 Network board 204 Control circuit 205 Storage part 206 HDD control program 207 System HDD
208 HDD insertion / extraction monitoring mechanism 300,400 Data HDD

Claims (7)

挿抜可能な2台のディスク装置をデータを記録する媒体として用いる装置で行われるディスク装置の書き込み制御方法であって、
接続状態にある前記2台のディスク装置の容量および書き込み性能を検出するステップと、
前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内であるかを確認するステップと、
前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内である場合に、一方のディスク装置が外周から内周に向けて書き込みを行う時には、他方のディスク装置が内周から外周に向けて書き込みを行うように制御するとともに、前記2台のディスク装置相互の書き込み位置における前記書き込み性能の比に応じて前記データを分割して前記2台のディスク装置のそれぞれに書き込むステップと、を有することを特徴とするディスク装置の書き込み制御方法。
A disk device writing control method performed by a device that uses two detachable disk devices as media for recording data,
Detecting the capacity and write performance of the two disk devices in a connected state;
Checking whether both the capacity difference and write performance difference between the two disk devices are within a predetermined range;
When the capacity difference and the writing performance difference between the two disk devices are both within a predetermined range, when one disk device writes from the outer periphery toward the inner periphery, the other disk device step of writing to control so as to perform writing toward the outer periphery, the data by dividing the in accordance with the ratio between the writing performance of the two disk devices mutual writing position in each of the two disk devices from A write control method for a disk device, comprising:
請求項1記載のディスク装置の書き込み制御方法において、
前記2台のディスク装置の容量差および書き込み性能差の少なくとも一方が予め定められた範囲内でないことが確認された場合には、現在接続されている2台のデータ用ディスク装置を併用することができない旨の表示を行うことを特徴とするディスク装置の書き込み制御方法。
The write control method for a disk device according to claim 1,
If it is confirmed that at least one of the capacity difference and the write performance difference between the two disk devices is not within a predetermined range, the two currently connected data disk devices can be used together. A writing control method for a disk device, characterized in that a message indicating that the recording is impossible is displayed.
挿抜可能な2台のディスク装置をデータを記録する媒体とするディスク書き込み装置であって、
接続状態にある前記2台のディスク装置の容量および書き込み性能を検出し、前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内であるかを確認し、前記2台のディスク装置の容量差および書き込み性能差がともに予め定められた範囲内である場合に、一方のディスク装置が外周から内周に向けて書き込みを行う時には、他方のディスク装置が内周から外周に向けて書き込みを行うように制御するとともに、前記2台のディスク装置相互の書き込み位置における前記書き込み性能の比に応じて前記データを分割して前記2台のディスク装置のそれぞれに書き込む制御部を有することを特徴とするディスク書き込み装置。
A disk writing device using two detachable disk devices as a data recording medium,
The capacity and write performance of the two disk devices in the connected state are detected, and it is confirmed whether both the capacity difference and the write performance difference between the two disk devices are within a predetermined range. When the capacity difference and writing performance difference of both disk devices are within the predetermined range, when one disk device writes from the outer periphery to the inner periphery, the other disk device moves from the inner periphery to the outer periphery. And a controller that divides the data according to a ratio of the writing performance at the writing position between the two disk devices and writes the divided data to each of the two disk devices. A disc writing apparatus.
請求項3記載のディスク書き込み装置において、
前記2台のディスク装置の挿抜状態を監視するディスク装置挿抜監視機構を備え、
前記制御部は、前記ディスク装置挿抜監視機構を介してディスク装置の交換状態を検出することを特徴とするディスク書き込み装置。
The disc writing apparatus according to claim 3, wherein
A disk device insertion / removal monitoring mechanism for monitoring the insertion / removal state of the two disk devices;
The disk writing apparatus according to claim 1, wherein the control unit detects a replacement state of the disk device via the disk device insertion / extraction monitoring mechanism.
請求項3または請求項4記載のディスク書き込み装置において、
接続されている前記2台のディスク装置の容量および書き込み性能を格納するためのシステム用記憶装置を備え、
前記制御部は、1台のディスク装置のみが交換されたことを検出した場合には交換されたディスク装置のみの容量および書き込み性能を検出し、交換されていないディスク装置の容量および書き込み性能については前記システム用記憶装置から読み出してその後の確認動作を行うとともに前記交換されたディスク装置の検出された容量および書き込み性能に基づいて前記システム用記憶装置の格納内容を更新することを特徴とするディスク書き込み装置。
The disc writing apparatus according to claim 3 or 4,
A system storage device for storing the capacity and write performance of the two connected disk devices;
When the control unit detects that only one disk device has been replaced, it detects the capacity and write performance of only the replaced disk device, and regarding the capacity and write performance of the disk device that has not been replaced, A disk write comprising: reading from the system storage device, performing a subsequent confirmation operation, and updating a storage content of the system storage device based on a detected capacity and write performance of the replaced disk device apparatus.
請求項3ないし請求項5のいずれかに記載のディスク書き込み装置において、
前記制御部は、ディスク装置の最外周および最内周における書き込み性能を実測し、書き込み位置における書き込み性能を実測結果により得られた近似式により求めて前記データの分割を行うことを特徴とするディスク書き込み装置。
The disc writing apparatus according to any one of claims 3 to 5,
The control unit measures the writing performance at the outermost circumference and the innermost circumference of the disk device, and obtains the writing performance at the writing position by an approximate expression obtained from the measurement result, and divides the data. Writing device.
請求項3ないし請求項6のいずれかに記載のディスク書き込み装置において、
表示部を備え、
前記制御部は、前記2台のディスク装置の容量差および書き込み性能差の少なくとも一方が予め定められた範囲内でないことが確認された場合には、現在接続されている2台のデータ用ディスク装置を併用することができない旨の表示を前記表示部に行わせることを特徴とするディスク書き込み装置。
The disc writing apparatus according to any one of claims 3 to 6,
With a display,
When it is confirmed that at least one of the capacity difference and the write performance difference between the two disk devices is not within a predetermined range, the control unit determines that the two currently connected data disk devices A disk writing apparatus characterized by causing the display unit to display that it cannot be used together.
JP2006268020A 2006-09-29 2006-09-29 Disk device writing control method and disk writing device Expired - Fee Related JP4901404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006268020A JP4901404B2 (en) 2006-09-29 2006-09-29 Disk device writing control method and disk writing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006268020A JP4901404B2 (en) 2006-09-29 2006-09-29 Disk device writing control method and disk writing device

Publications (2)

Publication Number Publication Date
JP2008090414A JP2008090414A (en) 2008-04-17
JP4901404B2 true JP4901404B2 (en) 2012-03-21

Family

ID=39374528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006268020A Expired - Fee Related JP4901404B2 (en) 2006-09-29 2006-09-29 Disk device writing control method and disk writing device

Country Status (1)

Country Link
JP (1) JP4901404B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015038668A (en) * 2011-12-08 2015-02-26 シャープ株式会社 Electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3201219B2 (en) * 1995-05-29 2001-08-20 三菱電機株式会社 I / O processing system
JPH0926858A (en) * 1995-07-10 1997-01-28 Matsushita Electric Ind Co Ltd Data storage method and device therefor
JP2914367B2 (en) * 1997-12-05 1999-06-28 日本電気株式会社 Disk array device
JP3394717B2 (en) * 1999-02-10 2003-04-07 株式会社沖データ Data transfer system

Also Published As

Publication number Publication date
JP2008090414A (en) 2008-04-17

Similar Documents

Publication Publication Date Title
JP5999603B2 (en) Information processing apparatus, information processing method, and information storage medium
JP2006519459A5 (en)
AU2007231179A1 (en) Hard disk storage system
JP2007501488A5 (en)
JP4158717B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP2005310358A5 (en)
JP4901404B2 (en) Disk device writing control method and disk writing device
JP2006127635A (en) Information storage device
JP2008310741A (en) Cache optimizing method and device
JP2005346816A (en) Data storage device and its control method
US7661021B2 (en) Method for defect management in rewritable optical storage media
JP4273149B2 (en) Information recording and playback method
JP2005129168A (en) Device and method for recording information, and program
JP2007213272A (en) Data storage device and method
JP2006031825A (en) Recording and reproducing control method, and recording and reproducing control apparatus
JP3683436B2 (en) Disk unit
KR101146975B1 (en) Method for mirroring optical disk
JP3744535B2 (en) Optical disc, optical disc processing apparatus, and optical disc processing method
JP3707497B2 (en) Optical disc, optical disc processing apparatus, and optical disc processing method
JP4598417B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP4269844B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP2010135034A (en) Information recording/reproducing device
JP4775416B2 (en) Disc recording apparatus and alternative area setting method in rewritable optical disc recording medium
JP4075713B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, program, and recording medium
JP2010191762A (en) Disk array device and reassignment method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100921

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101122

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110809

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111108

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20111115

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: 20111227

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: 20111227

R150 Certificate of patent or registration of utility model

Ref document number: 4901404

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees