JP4909383B2 - Hard disk management device - Google Patents
Hard disk management device Download PDFInfo
- Publication number
- JP4909383B2 JP4909383B2 JP2009163717A JP2009163717A JP4909383B2 JP 4909383 B2 JP4909383 B2 JP 4909383B2 JP 2009163717 A JP2009163717 A JP 2009163717A JP 2009163717 A JP2009163717 A JP 2009163717A JP 4909383 B2 JP4909383 B2 JP 4909383B2
- Authority
- JP
- Japan
- Prior art keywords
- hard disk
- write
- removable
- write protect
- personal computer
- 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 - Lifetime
Links
- 238000001514 detection method Methods 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 12
- 230000002401 inhibitory effect Effects 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Images
Description
この発明は、パソコン等のホスト装置に接続される単一または複数のハードディスクを管理するハードディスク管理装置に関する。 The present invention relates to a hard disk management device that manages a single hard disk or a plurality of hard disks connected to a host device such as a personal computer.
パーソナルコンピュータ等のホスト装置を使用する場合、通常、ハードディスク等の固定ドライブが補助記憶装置として用いられるが、このハードディスク等の内容をバックアップするために、MOドライブ、CD−Rドライブ等のリムーバブルデバイスが使用されることが多い。このようなリムーバブルデバイスによれば、リムーバブルメディアだけの移動が可能であり保管等が容易になる等の利点がある。 When a host device such as a personal computer is used, a fixed drive such as a hard disk is usually used as an auxiliary storage device. In order to back up the contents of the hard disk or the like, a removable device such as an MO drive or a CD-R drive is used. Often used. According to such a removable device, there is an advantage that it is possible to move only the removable medium and it is easy to store it.
ところが、一般的なリムーバブルメディアであるCD−R、CD−RW、DVD−RAM、MOディスク等は、容量当りの単価が高価であり、これらのリムーバブルメディアを使用する枚数が増加するに伴ってコストがかかるという不都合が生じる。 However, CD-R, CD-RW, DVD-RAM, MO disk, etc., which are general removable media, are expensive in unit price per capacity, and the cost increases as the number of these removable media used increases. Inconvenience occurs.
また、上述のリムーバブルメディアは、ハードディスクに比較するとデータの伝送速度が低速であり記憶容量が小さいため、ホスト装置のハードディスクの内容をフルバックアップする場合には、作業時間が長くなり1回のバックアップ作業においてリムーバブルメディアの交換作業を複数回行う必要がある等の不都合が生じる。 In addition, since the above-mentioned removable media has a lower data transmission speed and a smaller storage capacity than a hard disk, when full backup of the contents of the hard disk of the host device is performed, the work time becomes longer and one backup operation is performed. Inconveniences such as the need to replace the removable medium a plurality of times.
そこで、このような不都合を解消するために、内蔵用に使用されているATA接続のハードディスク等を適宜入れ換え可能な状態で装着するリムーバブルケース(ハードディスク管理装置)が開発されており、このリムーバブルケースを使用することにより、ATA接続のハードディスク等をあたかもリムーバブルメディアとして使用可能にし、リムーバブルメディアの低コスト化、大容量化等を図るものがあった(例えば、非特許文献1参照。)。 Therefore, in order to eliminate such inconvenience, a removable case (hard disk management device) has been developed in which an ATA-connected hard disk or the like used for built-in can be replaced as appropriate. In some cases, the ATA-connected hard disk or the like can be used as a removable medium by using it, thereby reducing the cost and capacity of the removable medium (for example, see Non-Patent Document 1).
しかしながら、ハードディスクをリムーバブルメディアとして使用可能にする従来の装置は、誤操作によりハードディスクに記録しているデータが消去されたり、書き換えられるのを防止するライトプロテクト機能を設けることについては何ら考慮しておらず、データを安全に管理することができないという問題があった。 However, conventional devices that allow the hard disk to be used as a removable medium do not take into account the provision of a write protection function that prevents data recorded on the hard disk from being erased or rewritten due to an erroneous operation. There was a problem that data could not be managed safely.
この発明の目的は、リムーバブルメディアとして使用するハードディスクに対するデータの書き込みを禁止するライトプロテクトの設定/解除が簡単に行え、このハードディスクに記録しているデータを安全に管理することができるハードディスク管理装置を提供することにある。 An object of the present invention is to provide a hard disk management device capable of easily setting / releasing write protection for prohibiting data writing to a hard disk used as a removable medium and safely managing data recorded on the hard disk. It is to provide.
この発明は、ホスト装置に接続されるハードディスク管理装置において、
リムーバブルデバイスであることを示す属性データを前記ホスト装置に対して出力する出力手段と、
装着しているハードディスクに対するデータの書き込みを禁止するライトプロテクトの設定/解除を切り換えるライトプロテクトスイッチの状態を検出し、前記ホスト装置にライトプロテクトが設定されているかどうかを通知するライトプロテクト通知手段と、
前記ホスト装置との接続に用い、前記ホスト装置との間でやりとりするメディアパラメータヘッダの中に、前記ハードディスク管理装置本体に装着しているハードディスクについてライトプロテクトが設定されているかどうかを示すライトプロテクトビットを含む汎用インタフェースと、を備え、
前記ライトプロテクト通知手段は、前記ライトプロテクトビットで前記ホスト装置にライトプロテクトが設定されているかどうかを通知し、且つ、前記ライトプロテクトスイッチが切り換えられたとき、前記ホスト装置がメディアの取り出しを制限していれば、当該ホスト装置がメディアの取り出し制限を解除するのを待って、今回のライトプロテクトスイッチの切り換えに応じた、ライトプロテクトの設定/解除を前記ホスト装置に通知する手段である。
The present invention relates to a hard disk management device connected to a host device.
Output means for outputting attribute data indicating a removable device to the host device;
A write protect notifying means for detecting the state of the write-protect switch for switching the setting / release of the write protection for inhibiting the writing of data to the hard disk has been installed, it notifies whether write protect to the host device is set,
A write protect bit indicating whether or not write protection is set for a hard disk attached to the hard disk management apparatus main body in a media parameter header used for connection with the host apparatus and exchanged with the host apparatus. A general-purpose interface including
The write protect notification means notifies the host device whether the write protect is set by the write protect bit, and when the write protect switch is switched, the host device restricts the removal of media. If this is the case, the host device waits for the host device to release the media removal restriction, and notifies the host device of the setting / canceling of write protection according to the current switching of the write protection switch.
この構成においては、出力手段が出力した属性データによって、ホスト装置にリムーバブルデバイスとして認識させることができる。 In this configuration, the host device can be recognized as a removable device by the attribute data output by the output means.
また、ライトプロテクトスイッチを切り換えることにより、リムーバブルメディアとして使用するハードディスクに対するデータの書き込みを禁止するライトプロテクトの設定/解除が簡単に行え、このハードディスクに記録しているデータを安全に管理することができる。また、一般に普及しているホスト装置(パーソナルコンピュータ等)は、リムーバブルデバイスとの間でやりとりする信号に、装着されているメディアについてライトプロテクトが設定されているかどうかを示す信号、所謂ライトプロテクトビット、が含まれているので、ホスト装置と管理装置との間にライトプロテクトが設定されているかどうかを通知するための信号線を別途設ける必要もない。 In addition, by switching the write protect switch, it is possible to easily set / cancel write protect that prohibits writing data to the hard disk used as a removable medium, and to safely manage the data recorded on the hard disk. . Further, a host device (such as a personal computer) that has been widely used is a signal that indicates whether or not write protection is set for a mounted medium in a signal exchanged with a removable device, a so-called write protect bit, Therefore, it is not necessary to separately provide a signal line for notifying whether or not write protection is set between the host device and the management device.
さらに、ホスト装置がメディアの取り出しを制限しているときには、例えばデータの書き込みを行っている最中には、ライトプロテクトスイッチが切り換えられても、メディアの取り出しを制限が解除されるまで、ライトプロテクトの設定/解除の切り換えが行われない。したがって、データの書き込み途中に、ライトプロテクトを設定するライトプロテクトスイッチの切り換え操作が行われても、実行中のデータの書き込みが途中で中止されるという事態がおきることもない。 Further, when the host device restricts the removal of the media, for example, while data is being written, even if the write protection switch is switched, the write protection is continued until the restriction on the removal of the media is released. Setting / cancellation is not switched. Therefore, even if a write protect switch switching operation for setting the write protect is performed during the data writing, there is no situation where the data writing being executed is interrupted.
また、ライトプロテクト通知手段は、ライトプロテクトの設定/解除を切り換えたときに、前記ホスト装置がメディアの取り出しを制限していなければ、その時点で、ライトプロテクトを設定したか、解除したかを前記ホスト装置に通知する構成とするのが好ましい。 Further, the write protect notification means determines whether the write protect is set or released at that time if the host device does not restrict the removal of the medium when the write protect is set / released. It is preferable to notify the host device.
また、検出手段が管理装置本体におけるハードディスクの装着状態を検出し、管理装置本体をリムーバブルデバイスとして認識したホスト装置から、メディアの装着状態を確認する入力コマンドが入力されると、応答手段が、この入力コマンドに対し、その時点における検出手段の検出結果に基づく応答を行う構成としてもよい。 In addition, when the detection unit detects the hard disk mounting state in the management apparatus main body and an input command for confirming the medium mounting state is input from the host device that has recognized the management apparatus main body as a removable device, the response unit It may be configured to respond to an input command based on the detection result of the detection means at that time.
さらに、装着されているハードディスクに対するデータの書き込みを禁止するライトプロテクトが設定されているかどうかを表示する状態表示手段を設け、利用者がライトプロテクトが設定されているかどうかの確認が簡単に行えるようにしてもよい。 In addition, status display means is provided to display whether or not write protection that prohibits data writing to the installed hard disk is set so that the user can easily check whether or not write protection is set. May be.
この発明によれば、ライトプロテクトスイッチを切り換えることにより、リムーバブルデバイスとして使用するハードディスクに記録しているデータを安全に管理することができる。 According to the present invention, the data recorded on the hard disk used as the removable device can be safely managed by switching the write protect switch.
以下、図を用いて本発明のハードディスク管理装置の第1の実施形態であるリムーバブルケースを説明する。以下の説明において、ハードディスクには、3.5インチのハードディスクのみならず2.5インチのハードディスク、および2.5インチのハードディスクをベースとしたiVDR等が含まれるものとする。また、本発明では、ATA接続のハードディスクという文言をATA規格に対応したハードディスクという意味に使用している。 Hereinafter, a removable case which is a first embodiment of the hard disk management device of the present invention will be described with reference to the drawings. In the following description, hard disks include not only 3.5-inch hard disks but also 2.5-inch hard disks, iVDRs based on 2.5-inch hard disks, and the like. In the present invention, the term ATA-connected hard disk is used to mean a hard disk compatible with the ATA standard.
図1は、本発明のリムーバブルケースが適用されるパソコンの正面図であり、リムーバブルケースの使用状態を示している。同図に示すように、リムーバブルケース1は、パソコン20の筐体に形成された所定のベイ、本実施形態では5インチベイに収容されて固定される。また、リムーバブルケース1は、パソコン20とATAインタフェースによって接続されている。この状態において、リムーバブルケース1に装着されるATA接続のハードディスク(以下、単にハードディスクという。)は、パソコン20の前面側(正面側)から装着または取り外しが可能になっているが、その構成については後述する。
FIG. 1 is a front view of a personal computer to which the removable case of the present invention is applied, and shows a use state of the removable case. As shown in the figure, the
一方、パソコン20は、入力装置、出力装置、記憶装置、演算装置、および制御装置やATAインタフェース等の一般的な機能を有するものであり、本発明のリムーバブルケース1が適用されるために特段の機能等が要求されることはない。
On the other hand, the
図2は、リムーバブルケース1の構成を示す図である。同図に示すように、リムーバブルケース1には、リムーバブルケース1に装着されるハードディスクを収容するためのキャニスタ2aおよびキャニスタ2bが設けられている。このとき、それぞれのキャニスタ2(2a、2b)毎に、単一のハードディスク3が収容される。
FIG. 2 is a diagram illustrating a configuration of the
キャニスタ2は、リムーバブルケース1の前後方向において移動自在に設けられている。このため、ハードディスク3をリムーバブルケース1に装着する際には、キャニスタ2をスライドさせて装置前面側に引き出し、キャニスタ2にハードディスク3を収容した後に、このキャニスタ2をリムーバブルケース1の背面側へと押し入れる。
The canister 2 is provided so as to be movable in the front-rear direction of the
ここで、リムーバブルケース1側において、ハードディスク3との接続に用いられるATAインタフェースのコネクタおよび電源コネクタは、キャニスタ2に収容されたハードディスク3のコネクタに対向するように配置されており、ユーザがキャニスタ2をリムーバブルケース1の背面側に目一杯押しこんだときにハードディスク3のコネクタとリムーバブルケース1のコネクタとの接続が行われ、ハードディスク3とリムーバブルケース1との接続が完了する。なお、ATAインタフェースのコネクタおよび電源コネクタの位置が上述の構成に限定されないのはいうまでもなく、ハードディスク3とリムーバブルケース1との接続方法についても本発明の実施に特段の影響を与えるものではない。
Here, on the
さらに、それぞれのキャニスタ2(2a、2b)には、錠部4(4a、4b)および取出ボタン5(5a、5b)、ライトプロテクトスイッチ6(6a、6b)、ライトプロテクト表示灯7(7a、7b)が設けられている。錠部4には、キャニスタ2を引き出す際に用いられる鍵が挿入され、適正な鍵が錠部4に挿入されることによりキャニスタ2がアンロックされる。取出ボタン5は、現在使用中のハードディスク3を取り外す必要が生じた場合に、ユーザがその旨をリムーバブルケース1に伝えるためのものである。ライトプロテクトスイッチ6は、収容されているハードディスク3に対するデータの書き込みを禁止するライトプロテクトの設定/解除を切り換えるときに操作するスイッチである。ライトプロテクト表示灯7は、ライトプロテクトが設定されているときに点灯するLEDである。
Further, each canister 2 (2a, 2b) has a lock portion 4 (4a, 4b) and an eject button 5 (5a, 5b), a write protect switch 6 (6a, 6b), and a write protect indicator lamp 7 (7a, 7b) is provided. A key used when pulling out the canister 2 is inserted into the
なお、本実施形態では、リムーバブルケース1は、キャニスタ2を2つ備えた構成になっているが、キャニスタ2の数は特に2つに限定されることはなく、1つであっても、また3つ以上であってもよい。さらに、キャニスタ構造をもたず、リムーバブルケース1にハードディスクが固定されていてもよい。また、モータ等の駆動機構を搭載してキャニスタ2が必要に応じて自動的に動くように構成することもできる。さらに、キャニスタ2のロック/アンロックの構成についても上述の構成に限定されることはない。
In this embodiment, the
図3は、リムーバブルケース1の接続状態を示すブロック図である。同図に示すように、リムーバブルケース1は、CPU11、キャニスタ検出部12、RAM13、ROM14、I/F部15(15a、15b)、取出検出部16、切断回路17、電源供給部18、およびライトプロテクト検出部19を備えている。
FIG. 3 is a block diagram showing a connection state of the
キャニスタ検出部12は、キャニスタ2に収容されるハードディスク3の状態を検出している。本実施形態では、キャニスタ2内のハードディスク3が、リムーバブルケース1のATAコネクタに適正に接続されているか否かを電気的に検出している。このため、リムーバブルケース1は、ハードディスク3が装着されたことをキャニスタ検出部12によって自動認識することができる。
The
RAM13は、ハードディスク3からI/F部15bを介して、リムーバブルケース1に入力されるハードディスク3のメーカー名、形式、ファームレビジョン、シリアル番号、および最大転送レート情報、およびセクタ数等を含むATAデバイスの属性情報を示すidentifyデータ等を記憶するためのメモリである。ROM14は、リムーバブルケース1のCPU11を動作させるために必要なプログラム等が格納されている。また、ROM14は、リムーバブルケース1がATAリムーバブルデバイスであることを示すIdentifyデータを格納している。
The
I/F部15aは、パソコン20とリムーバブルケース1との間の通信を司るものである。この実施形態では、パソコン20とリムーバブルケース1との間は、ATAインタフェースで接続される。I/F部15bは、リムーバブルケース1とハードディスク3との通信を司るものである。
The I /
取出検出部16は、取出ボタン5が押されたことを検出する。また、ハードディスクの取り外しは、パソコン20のOSにその旨の入力をすることによってもできるため、取出検出部16は、パソコン20から入力されるハードディスクの取出要求の検出も行う。
The take-out
電源供給部18は、ハードディスク3に対する電力の供給を行う。切断回路17は、CPU11からの指令に基づいてリムーバブルケース1からハードディスク3に対するデータの伝送路を、例えば、ハイインピーダンスの状態にして電気的に切断する。また、切断回路17は、データの伝送を停止させるのに伴って、電源供給部18からハードディスク3に対する電力の供給を停止させる。ライトプロテクト検出部19は、ライトプロテクトスイッチ6の状態を検出し、ライトプロテクトが設定されているときにライトプロテクト表示灯7を点灯させる。
The
上述の構成において、ユーザがパソコン20を起動させると、パソコン20は、OS起動時にATAインタフェースに接続されているATAデバイスの属性情報を取得するためのIdentifyコマンドを各ATAデバイスに出力する。一方、リムーバブルケース1では、自らがATAリムーバブルデバイスであることを示すIdentifyデータをパソコン20に対して出力する。
In the above configuration, when the user activates the
このため、パソコン20は、起動時においてリムーバブルケース1をATAリムーバブルデバイスとして認識する。また、リムーバブルケース1は、その後、ROM14に記憶されているプログラムに基づいて、ATAリムーバブルデバイスとして動作する。例えば、ATAリムーバブルデバイスは、パソコン20から定期的に入力されるリムーバブルデバイスに装着されているリムーバブルメディアの装着状態を確認するための「GET MEDIA STATUSコマンド」の戻り値にリムーバブルメディアの状態を示す情報を返すように定められているが、リムーバブルケース1は、パソコン20からの「GETMEDIA STATUSコマンド」が入力される度に、このコマンドに対して適正に応答している。
Therefore, the
図4は、本実施形態においてパソコン20とリムーバブルケース1との間のコマンドの入出力の状況を示している。上述のように、パソコン20は、リムーバブルケース1をATAリムーバブルデバイスとして認識すると、「GET MEDIA STATUSコマンド」をリムーバブルケース1に対して出力する。
FIG. 4 shows the input / output status of commands between the
一方で、リムーバブルケース1では、キャニスタ検出部12がキャニスタ2にハードディスク3が収容されているか否か、すなわち各キャニスタ2内のハードディスク3が適正にリムーバブルケース1に装着されているか否かを常に監視しているため、「GET MEDIA STATUSコマンド」が入力された時点におけるハードディスク3の装着状態をパソコン20に伝達することができる。
On the other hand, in the
このとき、リムーバブルケース1からパソコン20に対して出力される「GET MEDIA STATUSコマンド」に対する応答としては、ハードディスク3がキャニスタ2に収容されていない状態である「メディアなし」、新たなハードディスク3がリムーバブルケース1に装着された状態を示す「メディア交換」、ハードディスク3に対する書込処理が禁止されている「ライトプロテクト」、またはハードディスク3を取り外す旨の入力がされたことを示す「イジェクト要求あり」がある。リムーバブルケース1は、この応答をキャニスタ2毎に行っている。
At this time, the response to the “GET MEDIA STATUS command” output from the
このように、リムーバブルケース1とパソコン20との間で、リムーバブルケース1に装着されているリムーバブルメディアの情報として、リムーバブルケース1に装着されるハードディスク3の装着状態がパソコン20側に伝えられる。そして、パソコン20の起動後にハードディスク3を装着した場合でも、リムーバブルケース1は、装着されたハードディスク3の属性を確認し、当該属性をRAM13の適当な領域に記憶した後に、パソコン20から入力される最初の「GET MEDIA STATUS」コマンドに対して「メディア交換」の応答を行い、装着されたハードディスク3の属性をパソコン20に伝える。このため、ハードディスク3が装着されたことや当該ハードディスク3の属性等を正確にパソコン20に認識させることができる。
As described above, between the
次に、パソコン20が起動後において、ハードディスク3をリムーバブルケース1から取り外す動作を説明する。
Next, an operation of removing the
図5は、ハードディスク3を取り外す際の動作を示している。同図に関する説明では、図中で各コマンドに付されている番号と、以下の説明における見出し番号とを対応させている。
FIG. 5 shows an operation when removing the
(1).同図に示すように、リムーバブルケース1に装着されているハードディスク3を取り外す場合、ユーザは、パソコン20のOS上の操作でその旨の入力を行うか、またはキャニスタ2に設けられている取出ボタン5を押す。そして、これらのいずれかの操作がされると、リムーバブルケース1に取り出し要求を通知がされる。
(1). As shown in the figure, when the
(2).リムーバブルケース1では、取り出し要求の通知(イジェクトコマンド)を受けて、パソコン20とリムーバブルケース1との間の通信を停止させるために、パソコン20のOSに対してハードディスク3を取り出す旨を通知する。
(2). In the
(3).パソコン20側では、ハードディスク3の取り出す旨の通知を受けて、パソコン20とリムーバブルケース1との間の通信を停止させて、ハードディスク3がリムーバブルケース1から取り外されることによって、パソコン20が動作中に動作不良が生じないようにする。そして、パソコン20は、ハードディスク3の取り外しに対する準備が完了すると、その旨をリムーバブルケース1に対して出力する。なお、パソコン20がハードディスク3に対してデータを書込中である場合等は、その処理が完了した後に取り出し準備完了の通知がリムーバブルケース1に対して出力される。
(3). Upon receiving notification that the
(4).リムーバブルケース1は、パソコン20から取り外し準備が完了した旨の通知を受けると、まず切断回路17にリムーバブルケース1とハードディスク3との間のデータ線を電気的に切断させる。
(4). When the
(5).続いて、リムーバブルケース1は、切断回路17に、リムーバブルケース1からハードディスク3への電力の供給を停止させる。
(5). Subsequently, the
(6).そして、リムーバブルケース1は、通信および電力の供給が停止したことを確認すると、その後、最初に入力されるパソコン20からの「GET MEDIA STATUSコマンド」に対して「メディアなし」のコマンドを返す。
(6). Then, when the
(7).これにより、その後、キャニスタ2を引き出してハードディスク3を、取り出しても、ハードディスク3が損傷することがない。さらに、「GET MEDIA STATUSコマンド」に対する応答によってパソコン20は、リムーバブルデバイスにはリムーバブルメディアが装着されていないこと、すなわちリムーバブルケース1からハードディスク3が取り外されたことを適正に認識することができるため、パソコン20が起動後にハードディスク3が取り外されたとしても、パソコン20側でその旨を正確に認識することが可能となる。なお、パソコン20からの「GET MEDIA STATUSコマンド」に対して「メディアなし」のコマンドが返されて、ハードディスクを安全に取り外すことが可能になると、その旨が図示しないLCD等によってユーザに伝達される。
(7). Thereby, even if the canister 2 is subsequently pulled out and the
以上のように、リムーバブルケース1を用いることによって、パソコン20が起動した後において接続されたハードディスク3をパソコン20に認識させることが可能になるとともに、パソコン20が動作中であっても安全にハードディスク3を取り外すこと、およびハードディスク3を取り外したことをパソコンに認識させることが可能になる。よって、リムーバブルケース1を用いることによって、パソコンの動作中にハードディスク3を適正に交換すること、すなわちホットスワップが可能になる。
As described above, by using the
このようにリムーバブルケース1は、主に、本来固定ディスクであるATA接続のハードディスクをリムーバブル化する変換技術を利用している。正確には、リムーバブルケース1をパソコン側にATAリムーバブルデバイスとして認識させるとともに、リムーバブルケース1に装着される個々のハードディスク3をそれぞれパソコン20にリムーバブルメディアとして認識させるというハードウェア処理によって、プラグアンドプレイ機能やホットプラグ機能を具備しないATAインタフェースまたはATAPIインタフェースにおいてホットスワップを実現している。
In this way, the
また、上述のリムーバブルケース1におけるホットスワップは、主にハードウェア処理によって実現されるものであるため、リムーバブルケース1に特定の動作をさせるための専用のドライバ等が不要になる。この結果、リムーバブルケース1の動作がパソコン20上で使用されるOSに依存することがなくなるため、リムーバブルケース1に高い汎用性を持たせることが可能になる。
Moreover, since the hot swap in the
以上のように、通常はホスト装置内蔵の補助記憶装置として使用されるという性質上、増設等の度に現役で使用されていないハードディスクの台数が増加する傾向があるATA接続のハードディスクを、リムーバブル化してリムーバブルメディアとして再活用することができ、リソースを有効活用することができる。 As described above, ATA-connected hard disks, which tend to increase the number of hard disks that are not currently in use every time they are added due to the nature of being used as an auxiliary storage device built in the host device, are made removable. Can be reused as removable media and resources can be used effectively.
次に、ライトプロテクトにかかる機能について説明する。ハードディスク3に対するライトプロテクトの設定(データの書き込み禁止)、解除(データの書き込み許可)は、キャニスタ2毎に設けられたライトプロテクトスイッチ6の操作により行える。言い換えれば、キャニスタ2毎に収容されているハードディスク3に対するライトプロテクトの設定/解除は個別に行える。各キャニスタ2は、ライトプロテクト検出部19でライトプロテクトスイッチ6の状態(ライトプロテクトを設定する側、またはライトプロテクトを解除する側のどちらに切り換えられているか)を監視している。ライトプロテクト検出部19は、ライトプロテクトスイッチ6がライトプロテクトを設定する側に切り換えられているときにライトプロテクト表示灯7を点灯させ、ライトプロテクトを解除する側に切り換えられているときにライトプロテクト表示灯7を消灯させる。
Next, functions related to write protection will be described. Write protect setting (data writing prohibition) and release (data writing permission) for the
したがって、利用者はライトプロテクト表示灯7が点灯しているか、消灯しているかにより、現在ライトプロテクトが設定されているのか、解除されているのかを簡単に確認することができる。 Therefore, the user can easily confirm whether the write protect is currently set or released depending on whether the write protect indicator lamp 7 is turned on or off.
また、IDE、USB、IEEE1394等の一般的なインタフェースでは、パソコン20とリムーバブルケース1との間でやりとりされるメディアパラメータヘッダの中に、装着されているメディアについてライトプロテクトが設定されているかどうかを示すライトプロテクトビット、が含まれているので、このライトプロテクトビットを利用することにより、パソコン20とリムーバブルケース1との間に新たに信号線を設けなくても、リムーバブルケース1からパソコン20に対して、装着されているハードディスク3についてライトプロテクトが設定されているかどうかを通知できる。言い換えれば、パソコン20とリムーバブルケース1との間にライトプロテクトが設定されているかどうかを通知するための信号線を設けたり、パソコン20に特殊なプログラムを組み込む必要はなく、一般に普及しているパソコン20がそのまま利用できる。
In general interfaces such as IDE, USB, and IEEE 1394, it is determined whether or not the write protection is set for the mounted media in the media parameter header exchanged between the
次に、リムーバブルケース1におけるパソコン20からデータの書き込み要求が送られてきたときの動作について説明する。図6はパソコンからデータの書き込み要求が送られてきたときの動作を示すフローチャートである。リムーバブルケース1は、パソコン20からデータの書き込み要求があると(s1)、データを書き込むハードディスク3がキャニスタ2に収容されているか(s2)、および収容されている場合にハードディスク3にライトプロテクトが設定されているかを判定する(s3)。リムーバブルケース1は、キャニスタ2にハードディスク3が収容されていなければ、パソコン20にメディア無しにかかるエラー通知を行い(s4)、またライトプロテクトが設定されていれば書き込み禁止にかかるエラー通知を行う(s5)。リムーバブルケース1は、キャニスタ2にハードディスク3が収容されており、且つライトプロテクトが解除されていれば、その後パソコン20から送られてきたデータをハードディスク3に書き込む(s6)。
Next, an operation when a data write request is sent from the
なお、リムーバブルケース1にハードディスク3が内蔵(固定)されている場合には、上記s2にかかる処理については不要にできる。
When the
また、一般的なパソコン20は、リムーバブルのメディアにデータを書き込むときや、読み出すときに、OSがメディアをロックし、メディアの取り出しを制限する機能を備えている。この機能は、メディアに対してデータの書き込みや、読み出しを行っている最中に、メディアが取り出されることにより、このメディアに記録されているデータが破壊されるのを防止する機能である。この実施形態のリムーバブルケース1は、このOSによるメディアのロック機能を利用して、ハードディスク3に対するデータの書き込み途中にライトプロテクトが設定され(ライトプロテクトスイッチ6が操作されて)、実行中のデータの書き込みが途中で中止されるという事態がおきないようにしている。図7は、この実施形態のリムーバブルケースにおけるライトプロテクトスイッチが操作されたときの動作を示すフローチャートである。リムーバブルケース1は、ライトプロテクトスイッチ6が操作されると(s11)、現在OSによってメディアがロックされているかどうかを判定する(s12)。リムーバブルケース1は、s12でメディアがロックされていると判定すると、このロックが解除されるのを待つ(s13)。OSがメディアをロックするのは、上述したようにメディアに対してデータの書き込みや、読み出しにかかるアクセスを行っている間である。リムーバブルケース1は、s12でメディアがロックされていないと判定した場合、またはs13でロックが解除されるのを待って、今回のライトプロテクトスイッチ6の操作に応じて、ライトプロテクトの設定/解除を切り換える(s14)。また、このときライトプロテクト表示灯7の点灯/消灯も切り換えられる。
Further, the general
このように、この実施形態のリムーバブルケース1は、OSがメディアをロックしているときに、ライトプロテクトスイッチ6が操作されても、すぐにライトプロテクトの設定/解除を切り換えないので、メディアであるハードディスク3に対するデータの書き込み途中にライトプロテクトが設定され(ライトプロテクトスイッチ6が操作されて)、実行中のデータの書き込みが途中で中止されるという事態がおきることはなく、ハードディスク3に対するデータの書き込みを適正に行うことができる。
As described above, the
また、ハードディスク3に対するライトプロテクトの設定/解除が、ライトプロテクトスイッチ6の操作で簡単に行え、且つハードディスク3に記録されているデータを誤操作によって消去してしまうという事態がおきるのを抑えることができ、ハードディスク3に記録されているデータを安全に管理することができる。
In addition, setting / canceling the write protection for the
次に、この発明の第2の実施形態について説明する。通常、ハードディスク3はATAデバイスとして認識されるものであり、パソコンに使用されるハードディスク3は、ATAPIコマンドによってパソコンとの通信を行うことができない。
Next explained is the second embodiment of the invention. Normally, the
そこで、この第2の実施形態では、パソコン20とハードディスク3との間に配置されるリムーバブルケース1によって、パソコン20とハードディスク3との間においてATAPIコマンドによる通信を実現させている。
Therefore, in the second embodiment, communication by the ATAPI command is realized between the
第2の実施形態におけるリムーバブルケース1の基本構成は、原則として第1の実施形態におけるリムーバブルケース1と同様である。ただし、第2の実施形態におけるリムーバブルケース1は、ATAPIインタフェースを介してパソコン20に接続されている点、およびこれに伴いATAコマンドとATAPIコマンドとを適正に変換する機能を有している点で第1の実施形態におけるリムーバブルケース1と相違する。
The basic configuration of the
図8は、第2の実施形態におけるコマンドの入出力の状況を示している。同図が示すように、本実施形態においてリムーバブルケース1は、ATA−ATAPIコマンド変換を行うコマンド変換部10を備えている。
FIG. 8 shows the command input / output status in the second embodiment. As shown in the figure, in this embodiment, the
通常、ATAコマンドとATAPIコマンドとは、コマンドコード・プロトコルが大きく異なっているが、コマンド変換部10によってATA−ATAPIコマンド変換を行うことにより、パソコン20とハードディスク3との間で適正なデータの伝送を実現させている。
Normally, the ATA command and the ATAPI command are greatly different in command code and protocol. However, by performing the ATA-ATAPI command conversion by the
例えば、コマンド変換部10は、ハードディスク3のATA_Identifyデータを取得し、このATA_IdentifyをATAPI_Identifyデータに変換して、RAM13に記憶させる。そして、パソコン20からATAPI_Identifyコマンドが発行された場合に、RAM13に記憶させているATAPI_Identifyデータをパソコン20に返している。
For example, the
また、ATAPIデバイスはIdentifyデータと別にInquiryデータによりデバイスの属性をパソコン20に通知しているが、ATAデバイスは
Inquiryコマンドをサポートしていないため、コマンド変換部10が擬似的にハードディスク3に係るInquiryデータを作成してRAM13に格納し、パソコン20からの要求に応じて、当該Inquiryデータをパソコンに供給している。
Further, the ATAPI device notifies the
コマンド変換部10は、上述の他にも、ATAPI_Read_Capacity、Read/Writeコマンド、Request_Sense等のATAデバイスではサポートされていないコマンドを適宜、コマンド変換等によって作成しているため、パソコン20とハードディスク3との間の通信を適正に行うことが可能となる。
In addition to the above, the
図9は、ATA−ATAPIコマンド変換の効果の一例を示している。図9(a)は、ATAデバイスとしてのハードディスクの接続状態を示している。同図に示すように、従来ハードディスクは、マスタおよびスレーブにそれぞれ1台ずつしか接続することができなかった。 FIG. 9 shows an example of the effect of ATA-ATAPI command conversion. FIG. 9A shows a connection state of a hard disk as an ATA device. As shown in the figure, only one conventional hard disk can be connected to each master and slave.
ところが、図9(b)に示すように、ATA−ATAPIコマンド変換により、リムーバブルケース1とパソコン20との間でATAPIコマンドの通信が可能になることにより、ロジカルユニットナンバ(LUN)を利用することが可能になり、マスタおよびスレーブのそれぞれに複数台のハードディスクを接続することが可能になる。このように、リムーバブルケース1を、あたかもATAPIデバイスにみせかけて、装着される各ハードディスクをロジカルユニットナンバ(LUN)でホスト側、すなわちパソコン20にみせかけることにより、複数台のハードディスクの接続を適正に行うことが可能になる。
However, as shown in FIG. 9B, the ATA-ATAPI command conversion enables communication of the ATAPI command between the
また、この第2の実施形態にかかるリムーバブルケース1においても、ハードディスク3に対するデータの書き込みを禁止するライトプロテクト機能が上記第1の実施形態と同様に機能する。
Also in the
さらに、上記実施形態では、リムーバブルケース1とパソコン20との間におけるデータ転送速度の低下を生じさせないために、ATAインタフェースや、ATAPIインタフェースでリムーバブルケース1とパソコン20とを接続するとしたが、USBやIEEE1394等のインタフェースでパソコン20と接続されるリムーバブルケース1であっても、本願発明にかかるライトプロテクト機能を設けることにより、ハードディスク3に記録されているデータを誤操作によって消去してしまうという事態がおきるのを抑えることができ、ハードディスク3に記録されているデータを安全に管理することができる。図10に、USBインタフェースでパソコン20と接続されるリムーバブルケース1の構成を示す。図10では、リムーバブルケース1にハードディスク3が内蔵されている。この図に示すエミュレーション部21がATA−USBのインタフェース変換を行う。パソコン20とハードディスク3とは、エミュレーション部21を介してデータをやりとりする。また、インタフェース22はUSBであり、パソコン20はハードディスク3を内蔵したリムーバブルケース1を、リムーバブルデバイスとして認識する。また、エミュレーション部21は、ライトプロテクトスイッチ6の状態を検出し、ライトプロテクト表示灯7の点灯/消灯を制御する。
Further, in the above embodiment, in order not to cause a decrease in data transfer speed between the
なお、上記インタフェース22はUSBに限らず、IEEE1394等他のインタフェースであってもよい。
The
1−ハードディスク管理装置
2(2a、2b)−キャニスタ
3−ハードディスク
4(4a、4b)−錠部
5(5a、5b)−取出ボタン
6(6a、6b)−ライトプロテクトスイッチ
7(7a、7b)−ライトプロテクト表示灯
12−キャニスタ検出部
17−切断回路
20−パソコン
1-Hard Disk Management Device 2 (2a, 2b) -Canister 3-Hard Disk 4 (4a, 4b) -Lock 5 (5a, 5b) -Eject Button 6 (6a, 6b) -Write Protect Switch 7 (7a, 7b) -Write protect indicator 12-Canister detector 17-Disconnect circuit 20-Personal computer
Claims (4)
リムーバブルデバイスであることを示す属性データを前記ホスト装置に対して出力する出力手段と、
装着しているハードディスクに対するデータの書き込みを禁止するライトプロテクトの設定/解除を切り換えるライトプロテクトスイッチの状態を検出し、前記ホスト装置にライトプロテクトが設定されているかどうかを通知するライトプロテクト通知手段と、
前記ホスト装置との接続に用い、前記ホスト装置との間でやりとりするメディアパラメータヘッダの中に、前記ハードディスク管理装置本体に装着しているハードディスクについてライトプロテクトが設定されているかどうかを示すライトプロテクトビットを含む汎用インタフェースと、を備え、
前記ライトプロテクト通知手段は、前記ライトプロテクトビットで前記ホスト装置にライトプロテクトが設定されているかどうかを通知し、且つ、前記ライトプロテクトスイッチが切り換えられたとき、前記ホスト装置がメディアの取り出しを制限していれば、当該ホスト装置がメディアの取り出し制限を解除するのを待って、今回のライトプロテクトスイッチの切り換えに応じた、ライトプロテクトの設定/解除を前記ホスト装置に通知する手段である、ハードディスク管理装置。 In the hard disk management device connected to the host device,
Output means for outputting attribute data indicating a removable device to the host device;
A write protect notifying means for detecting the state of the write-protect switch for switching the setting / release of the write protection for inhibiting the writing of data to the hard disk has been installed, it notifies whether write protect to the host device is set,
A write protect bit indicating whether or not write protection is set for a hard disk attached to the hard disk management apparatus main body in a media parameter header used for connection with the host apparatus and exchanged with the host apparatus. A general-purpose interface including
The write protect notification means notifies the host device whether the write protect is set by the write protect bit, and when the write protect switch is switched, the host device restricts the removal of media. If this is the case, the hard disk management is a means for notifying the host device of the setting / canceling of write protection in response to the current switching of the write protection switch after waiting for the host device to release the media removal restriction. apparatus.
前記ホスト装置が、前記出力手段が出力した前記属性データによってリムーバブルデバイスと認識した管理装置本体におけるメディアの装着状態を確認するために出力するコマンドに対し、前記検出手段の検出結果に基づく応答を行う応答手段と、を備えた請求項1に記載のハードディスク管理装置。 Detecting means for detecting a hard disk mounting state in the management apparatus body;
The host device makes a response based on the detection result of the detection unit with respect to a command that is output to confirm the mounting state of the medium in the management apparatus main body recognized as a removable device by the attribute data output by the output unit. The hard disk management device according to claim 1, further comprising response means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009163717A JP4909383B2 (en) | 2002-10-03 | 2009-07-10 | Hard disk management device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002291113 | 2002-10-03 | ||
JP2002291113 | 2002-10-03 | ||
JP2009163717A JP4909383B2 (en) | 2002-10-03 | 2009-07-10 | Hard disk management device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003298755A Division JP4847674B2 (en) | 2002-10-03 | 2003-08-22 | Hard disk management device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009282993A JP2009282993A (en) | 2009-12-03 |
JP4909383B2 true JP4909383B2 (en) | 2012-04-04 |
Family
ID=41453310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009163717A Expired - Lifetime JP4909383B2 (en) | 2002-10-03 | 2009-07-10 | Hard disk management device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4909383B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5002719B1 (en) | 2011-03-10 | 2012-08-15 | 株式会社東芝 | Information processing device, external storage device, host device, relay device, control program, and information processing device control method |
EP2745203B1 (en) | 2011-08-19 | 2016-09-21 | Kabushiki Kaisha Toshiba | Information processing apparatus |
WO2013065098A1 (en) * | 2011-10-31 | 2013-05-10 | 三菱電機株式会社 | Programmable logic controller |
JP2015207166A (en) * | 2014-04-21 | 2015-11-19 | 株式会社バッファロー | Disk drive device and program |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62229425A (en) * | 1986-03-31 | 1987-10-08 | Toshiba Corp | Write protect controller |
JPS62251857A (en) * | 1986-04-24 | 1987-11-02 | Canon Inc | Memory control system |
JPH03110620A (en) * | 1989-09-25 | 1991-05-10 | Toshiba Corp | Write controller for hard disk device |
JPH09146715A (en) * | 1995-11-21 | 1997-06-06 | Nec Eng Ltd | External storage device and write protection controller |
JPH10133951A (en) * | 1996-11-05 | 1998-05-22 | Toshiba Corp | Input/output controller for disk storing device and write protecting method applied to disk storage device |
US6516356B1 (en) * | 1997-09-30 | 2003-02-04 | International Business Machines Corporation | Application interface to a media server and a method of implementing the same |
JP2000173158A (en) * | 1998-11-30 | 2000-06-23 | Nec Corp | Hard disk device |
JP2001101785A (en) * | 1999-09-30 | 2001-04-13 | Fujitsu Ltd | Disk device |
JP2002099417A (en) * | 2000-09-25 | 2002-04-05 | Hitachi Ltd | Reconstruction method for information processor, its performing apparatus and record medium recorded its performing program |
-
2009
- 2009-07-10 JP JP2009163717A patent/JP4909383B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2009282993A (en) | 2009-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4888935B2 (en) | Storage system | |
EP3422661B1 (en) | System and method for providing a secure airborne network-attached storage node | |
JP2008506215A (en) | Electronic data storage cartridge | |
JP4909383B2 (en) | Hard disk management device | |
CN104346885A (en) | Commodity sales data processing apparatus and controlling method | |
US5923897A (en) | System for adapter with status and command registers to provide status information to operating system and processor operative to write eject command to command register | |
EP2026208A2 (en) | Storage control system and storage control method | |
JP4847674B2 (en) | Hard disk management device | |
JP2002529853A (en) | Write protected disk cache apparatus and method for subsystem hard disk with large capacity memory | |
US20060206759A1 (en) | Universal serial bus backup device | |
JP6036222B2 (en) | Device control apparatus, host apparatus and host apparatus control method | |
US8631177B1 (en) | Multi-port device with controller for storage media device port | |
US20130054892A1 (en) | Image processing apparatus | |
JP3389878B2 (en) | IDE device insertion / extraction device | |
JP2007193636A (en) | Remote maintenance system and program | |
CN107066072A (en) | Electronic installation and its control method | |
JP4773679B2 (en) | Information processing device | |
US8627157B2 (en) | Storing apparatus | |
JP4532877B2 (en) | Removable media device, host device, program and recording medium thereof | |
US9798637B2 (en) | Information processing apparatus and control method of information processing apparatus with access to storage device based on communication with storage device | |
EP3451220B1 (en) | Erasing device | |
JP2008117415A (en) | Information receiving apparatus | |
JP4322017B2 (en) | Backup device | |
JP4857772B2 (en) | Disk publisher | |
US8675223B2 (en) | Image forming device, image forming system and computer readable medium for installing related software to another device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110920 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111121 |
|
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: 20111220 |
|
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: 20120113 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4909383 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
EXPY | Cancellation because of completion of term |