JP2009020649A - Storage controller - Google Patents
Storage controller Download PDFInfo
- Publication number
- JP2009020649A JP2009020649A JP2007181855A JP2007181855A JP2009020649A JP 2009020649 A JP2009020649 A JP 2009020649A JP 2007181855 A JP2007181855 A JP 2007181855A JP 2007181855 A JP2007181855 A JP 2007181855A JP 2009020649 A JP2009020649 A JP 2009020649A
- Authority
- JP
- Japan
- Prior art keywords
- hdd
- sata
- cpu
- storage
- transfer
- 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.)
- Withdrawn
Links
Images
Abstract
Description
この発明は、記憶制御装置に関し、特にたとえば複数台の記憶装置へのデータ転送を制御する、記憶制御装置に関する。 The present invention relates to a storage control device, and more particularly to a storage control device that controls data transfer to a plurality of storage devices, for example.
近年、ハードディスク装置を搭載したデジタルカメラ、デジタルビデオなどが開発されており、この種の装置の一例が、特許文献1に開示されている。この背景技術によれば、デジタルカメラは制御部とATA(Advanced Technology Attachment)インターフェイスを備える。ATAインターフェイスは、1本のPATA(パラレルATA)PATAケーブルで内蔵HDD(Hard Disk Drive)と外付HDDとを接続する。ATAインターフェイスは、PATAケーブルの共有データラインを通して、内蔵HDDと外付HDDとに画像データを記録する。また、制御部は、内蔵HDDをマスタデバイスとして認識し、外付HDDをスレーブデバイスとして認識することで、内蔵HDDと外付HDDとに画像データを記録する。つまり、デジタルカメラは、ATAインターフェイスで2台のHDDを接続し、画像データを記録する。同様にして、デジタルビデオでは動画データを記録する。
しかし、背景技術では、マスタデバイスとして認識したHDDの異常によって共通のデータラインを占有した場合、HDDのマスタデバイス/スレーブデバイスの認識を切り替える手段を持っていないため、動画などの連続性のあるデータを記録し続けることができないという問題がある。 However, in the background art, when a common data line is occupied due to an abnormality of the HDD recognized as the master device, there is no means for switching the recognition of the master device / slave device of the HDD. There is a problem that it is not possible to continue recording.
それゆえに、この発明の主たる目的は、記憶装置であるHDDの異常を検出して記憶装置に記憶処理を実行させるための優先順位(マスタ/スレーブ)を切り替えることで、データを転送(記録)し続けることができる、記憶制御装置を提供することである。 Therefore, a main object of the present invention is to transfer (record) data by switching an order of priority (master / slave) for detecting an abnormality of the HDD as a storage device and causing the storage device to execute storage processing. It is to provide a storage controller that can continue.
この発明に従う記憶制御装置は、第1通信規格のデータを記憶する複数の記憶装置、第2通信規格のデータを複数の記憶装置に共通のデータラインで転送する転送手段、転送手段と複数の記憶装置との間に接続され、第2通信規格のデータを第1通信規格のデータにそれぞれ変換する複数の変換手段、および複数の変換手段をデータラインとは異なる信号ラインで制御する制御手段を備える。 A storage control device according to the present invention includes a plurality of storage devices that store data of a first communication standard, a transfer unit that transfers data of a second communication standard to a plurality of storage devices through a common data line, a transfer unit, and a plurality of storages A plurality of conversion means for connecting the data of the second communication standard to the data of the first communication standard, and a control means for controlling the plurality of conversion means by a signal line different from the data line. .
また、転送手段は、複数の記憶装置の異常を検出する検出手段を含み、制御手段は、複数の記憶装置のいずれか1つに記憶処理を実行させるための優先順位を複数の変換手段に設定する設定手段、および設定手段によって設定された優先順位を検出手段によって異常が検出されたとき変更する変更手段を含む。 The transfer means includes detection means for detecting an abnormality in the plurality of storage devices, and the control means sets priority for causing the storage processing to be executed by any one of the plurality of storage devices in the plurality of conversion means. And setting means for changing the priority set by the setting means when an abnormality is detected by the detecting means.
記憶制御装置(10:実施例で相当する参照符号。以下同じ)は、複数の記憶装置(16a,16b)と転送手段(121,124)と変換手段(14a,14b)と制御手段(121, 122)とを備える。複数の記憶装置は第1通信規格のデータを記憶する。転送手段は第2通信規格のデータを複数の記憶装置に共通のデータラインで転送する。複数の変換手段は、転送手段と複数の記憶装置との間に接続され、第2通信規格のデータを第1通信規格のデータにそれぞれ変換する。制御手段は複数の変換手段をデータラインとは異なる信号ラインで制御する。 The storage control device (10: reference numerals corresponding to the embodiments; the same applies hereinafter) includes a plurality of storage devices (16a, 16b), transfer means (121, 124), conversion means (14a, 14b), and control means (121, 122). With. The plurality of storage devices store data of the first communication standard. The transfer means transfers data of the second communication standard to a plurality of storage devices through a common data line. The plurality of conversion units are connected between the transfer unit and the plurality of storage devices, and respectively convert the data of the second communication standard into the data of the first communication standard. The control means controls the plurality of conversion means with a signal line different from the data line.
また、転送手段は検出手段(S11,S15,S29)を含む。検出手段は複数の記憶装置の異常を検出する。制御手段は設定手段と変更手段とを含む。設定手段(S3)は複数の記憶装置のいずれか1つに記憶処理を実行させるための優先順位を複数の変換手段に設定する。変更手段(S75)は設定手段によって設定された優先順位を検出手段によって異常が検出されたとき変更する。 The transfer means includes detection means (S11, S15, S29). The detecting means detects an abnormality in the plurality of storage devices. The control means includes setting means and changing means. The setting means (S3) sets the priority order for causing one of the plurality of storage devices to execute the storage process for the plurality of conversion means. The changing means (S75) changes the priority set by the setting means when an abnormality is detected by the detecting means.
したがって、転送手段は、優先順位に従う変換手段が接続する記憶装置にデータ転送をする。そして、変更手段は、転送手段が優先順位に従う記憶装置へデータ転送中に、検出手段によって異常を検出した記憶装置を接続する変換手段の優先順位を変更する。これによって、他の変換手段の優先順位が一番高くなるため、転送手段は、異常を検出した記憶装置以外の記憶装置に動画などの連続したデータを転送し続ける。 Therefore, the transfer means transfers data to the storage device to which the conversion means according to the priority order is connected. Then, the changing unit changes the priority of the conversion unit that connects the storage device in which the abnormality is detected by the detection unit while the transfer unit is transferring data to the storage device according to the priority. As a result, the priority of the other conversion means becomes the highest, so that the transfer means continues to transfer continuous data such as a moving image to a storage device other than the storage device that detected the abnormality.
好ましくは、複数の変換手段は、変換手段が接続する記憶装置と転送手段とのデータ転送を停止する停止手段(141)を含み、制御手段は、検出手段によって異常が検出された記憶装置と転送手段とのデータ転送を停止手段によって停止させるデータ転送停止手段(S49, S53,S65,S79)をさらに含み、変更手段は、検出手段によって異常が検出された記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる。 Preferably, the plurality of conversion means include stop means (141) for stopping data transfer between the storage device connected to the conversion means and the transfer means, and the control means transfers data to the storage device in which the abnormality is detected by the detection means. The data transfer stop means (S49, S53, S65, S79) for stopping the data transfer with the means by the stop means is further included, and the changing means is different from the conversion means for connecting the storage device in which the abnormality is detected by the detecting means. Increase the priority of the conversion means.
したがって、検出手段が記憶装置の異常を検出した場合は、制御手段は、異常を検出した記憶装置を接続する変換手段に含まれる停止手段によって異常を検出した記憶装置と転送手段とのデータ転送を停止する。そして、異常を検出した記憶装置を接続する変換手段の優先順位を変更する。これによって、他の変換手段の優先順位が一番高くなるため、転送手段は、異常を検出した記憶装置以外の記憶装置に動画などの連続したデータを転送し続ける。 Therefore, when the detection unit detects an abnormality in the storage device, the control unit performs data transfer between the storage device in which the abnormality is detected by the stop unit included in the conversion unit that connects the storage device in which the abnormality is detected and the transfer unit. Stop. Then, the priority order of the conversion means for connecting the storage device in which the abnormality is detected is changed. As a result, the priority of the other conversion means becomes the highest, so that the transfer means continues to transfer continuous data such as a moving image to a storage device other than the storage device that detected the abnormality.
さらに好ましくは、検出手段は、複数の記憶装置が検出する自己診断情報から異常を検出する第1異常検出手段(S15)を含み、データ転送停止手段は、第1異常検出手段によって異常が検出された記憶装置と転送手段とのデータ転送を停止手段によって停止させる第1転送停止手段(S65,S79)を含み、変更手段は、第1異常検出手段によって異常が検出された記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる。 More preferably, the detection means includes first abnormality detection means (S15) for detecting an abnormality from self-diagnosis information detected by a plurality of storage devices, and the data transfer stop means detects an abnormality by the first abnormality detection means. Including a first transfer stop means (S65, S79) for stopping data transfer between the storage device and the transfer means by the stop means, and the changing means converts the storage device in which the abnormality is detected by the first abnormality detection means. The priority of the conversion means different from the means is raised.
したがって、検出手段は、複数の記憶装置が検出する自己診断情報から複数の記憶装置の異常を検出する。そして、第1転送停止手段は、第1異常検出手段によって異常を検出された記憶装置と転送手段とのデータ転送を停止する。 Therefore, the detecting means detects abnormality of the plurality of storage devices from the self-diagnosis information detected by the plurality of storage devices. The first transfer stopping unit stops data transfer between the storage device and the transfer unit in which the abnormality is detected by the first abnormality detecting unit.
さらに好ましくは、検出手段は、転送手段によるデータ転送処理の異常を検出する第2異常検出手段(S11,S29)を含み、データ転送停止手段は、現在記憶処理を実行中の記憶装置と転送手段とのデータ転送を停止手段によって停止させる第2転送停止手段(S49,S53, S65,S79)を含み、変更手段は、現在記憶処理を実行中の記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる。 More preferably, the detection means includes second abnormality detection means (S11, S29) for detecting an abnormality in the data transfer process by the transfer means, and the data transfer stop means includes the storage device currently executing the storage process and the transfer means. The second transfer stop means (S49, S53, S65, S79) for stopping the data transfer with the stop means, and the changing means is different from the conversion means for connecting the storage device that is currently executing the storage process. Increase the priority.
したがって、検出手段は、転送手段によるデータ転送処理の異常を検出する。そして、第2転送停止手段は、第2異常検出手段によって異常を検出された記憶装置と転送手段とのデータ転送を停止する。 Therefore, the detection unit detects an abnormality in the data transfer process by the transfer unit. The second transfer stop unit stops data transfer between the storage device and the transfer unit in which the abnormality is detected by the second abnormality detection unit.
さらに好ましくは、第1転送停止手段および/または第2転送停止手段によって停止された変換手段が接続する記憶装置の状態を表示する表示手段(20)をさらに備える。 More preferably, it further comprises display means (20) for displaying the state of the storage device connected to the conversion means stopped by the first transfer stop means and / or the second transfer stop means.
したがって、表示手段は、停止された変換手段が接続する記憶装置の状態を表示することで、使用者に停止した記憶装置の交換を促す。 Therefore, the display means prompts the user to replace the stopped storage device by displaying the state of the storage device connected to the stopped conversion means.
さらに好ましくは、制御手段は、停止された変換手段が接続する記憶装置を異常でない記憶装置に交換されたかを判定する交換判定手段(S95)、異常でない記憶装置と転送手段とのデータ転送を再開させる再開手段(S109)をさらに含む。 More preferably, the control means determines whether the storage device connected to the stopped conversion means has been replaced with a storage device that is not abnormal, and restarts data transfer between the storage device that is not abnormal and the transfer unit. And restarting means (S109).
したがって、異常でない記憶装置と転送手段とのデータ転送を再開することで、転送手段は、全て正常な複数の記憶装置にデータを転送している状態に復帰する。 Therefore, by restarting the data transfer between the storage device that is not abnormal and the transfer unit, the transfer unit returns to a state in which data is transferred to a plurality of normal storage devices.
さらに好ましくは、転送手段は、現在記憶処理を実行中の記憶装置を記憶容量の限界まで記憶処理したことを判定する限界判定手段(S35,S39)、限界判定手段によって記憶容量が限界と判定されたデータ転送中の記憶装置からデータ転送中の記憶装置以外の記憶装置と交替させる交替手段(S37,S41)をさらに含む。 More preferably, the transfer means is a limit determination means (S35, S39) that determines that the storage device that is currently executing the storage process has been processed to the limit of the storage capacity, and the limit determination means determines that the storage capacity is the limit. Further included is a replacement means (S37, S41) for replacing the storage device that is transferring data with a storage device other than the storage device that is transferring data.
したがって、記憶装置の異常が検出されない場合は、優先順位に関係なくデータ転送する記憶装置を切り替えることで、動画などの連続したデータを転送し続ける。 Therefore, when no abnormality is detected in the storage device, continuous data such as a moving image is continuously transferred by switching the storage device to which the data is transferred regardless of the priority order.
さらに好ましくは、動画を撮影する撮影手段(22)、および前記撮影手段が撮影した動画を複数の記憶装置に転送可能なデータに変換する動画変換手段(121,123)を備える。転送手段は、動画変換手段が変換したデータを複数の記憶装置に転送する。 More preferably, it includes a photographing unit (22) for photographing a moving image, and a moving image conversion unit (121, 123) for converting the moving image photographed by the photographing unit into data that can be transferred to a plurality of storage devices. The transfer unit transfers the data converted by the moving image conversion unit to a plurality of storage devices.
したがって、記憶制御装置は、撮影手段が動画を撮影し続ける場合に、動画データを転送し続ける。 Therefore, the storage control device continues to transfer the moving image data when the imaging unit continues to capture the moving image.
この発明によれば、記憶装置の異常を検出して記憶装置に記憶処理を実行させるための優先順位を切り替えることで、データを転送し続けることができる。 According to the present invention, data transfer can be continued by switching the priority order for detecting an abnormality of the storage device and causing the storage device to execute the storage process.
この発明の上述の目的、その他の目的、特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、この実施例の動画記録制御装置10はDVR12を含む。DVR12はPATAケーブルを介してPATAケーブルとSATA(シリアルATA)規格のSATAケーブルとの間のデータ転送方式を変換する2つのSATA変換器14a,14bと接続される。
With reference to FIG. 1, the moving image
SATA変換器14aはSATAケーブルを介してSATAHDD16aと接続され、SATA変換器14bはSATAケーブルを介してSATAHDD16bと接続される。
The
DVR12は、PATAケーブルとは違う3本のケーブルから、ATA I/O ENABLE信号(以下、ENABLE信号という),MA/SL信号およびSP(SLAVE PRESENT)信号を制御信号として出力する。
The
SATA変換器14aはDVR12から出力されるMA/SL信号によってMASTER(マスタ)に設定され、SATA変換器14bはDVR12から出力されるMA/SL信号によってSLAVE(スレーブ)に設定される。また、MASTERに設定されたSATA変換器14aと接続されたSATAHDD16aは、MASTERHDDとして説明し、SLAVEに設定されたSATA変換器14bと接続されたSATAHDD16bは、SLAVEHDDとして説明する。
The
CAM22は、動画を撮影し、DVR12に動画を入力する。DVR12は、入力された動画をHDDに記録できる動画データに変換し、動画データを出力する。DVR12は、SATAHDD16aに動画データを記録する。
The
DVR12は、MASTERHDDであるSATAHDD16aの故障状態を検出した場合に、SATA変換器14a,SATA変換器14bのMASTER/SLAVEの設定を切り替えて、新たにMASTERHDDとなったSATAHDD16bに動画データを記録する。
When the
DISP20は、DVR12がSATAHDD16a,16bの各々を故障状態と判定した場合に、使用者へSATAHDD16a,16bの各々の情報およびSATAHDD16a,16bの各々の交換を促す文字列を表示する。
When the
図2を参照して、DVR12はCPU121を含む。CPU121は信号生成器122,動画処理回路123およびPATA制御回路124を制御する。信号生成器122は、CPU121に制御されて制御信号としてENABLE信号,MA/SL信号およびSP信号をSATA変換器14a,14bへ出力する。
Referring to FIG. 2,
ここで、図3を参照して、ENABLE信号,MA/SL信号およびSP信号について詳しく説明する。CPU121は、SATAHDD16aを故障状態と判定した時に、信号生成器122から、故障状態と判定したSATAHDD16aと接続されるSATA変換器14aへ出力されているENABLE信号をHIGH状態にさせ、PATA制御回路124とSATA変換器14aとのデータ通信を制限する。つまり、DVR12は、ENABLE信号をHIGH状態にさせ、SATAHDD16aとのデータ通信を制限することで、SATAHDD16aを停止状態と判定する。また、CPU121は、SATAHDD16aが正常に作動している時に、信号生成器122からSATA変換器14aへ出力されているENABLE信号をLOW状態にさせ、PATA制御回路124とSATA変換器14aとのデータ通信を制限しない。
Here, the ENABLE signal, the MA / SL signal, and the SP signal will be described in detail with reference to FIG. When the
CPU121は、信号生成器122にMA/SL信号をHIGH状態にさせ、SATA変換器14aをMASTERに設定する。また、CPU121は、信号生成器122にMA/SL信号をLOW状態とさせ、SATA変換器14bをSLAVEに設定する。さらに、CPU121は、SATA変換器14aおよびSATA変換器14bを同時に、MASTERまたはSLAVEに設定することはできない。
The
CPU121は、SLAVEに設定したSATA変換器14bとPATA制御回路124との間でデータ通信可能な場合に、信号生成器122からSATA変換器14a,14bの各々へ出力されているSP信号をHIGH状態にさせる。また、CPU121は、SLAVEに設定したSATAHDD16bを故障状態と判定した時に、信号生成器122からMASTERに設定したSATA変換器14aへ出力されているSP信号をLOW状態にさせる。
When the data communication is possible between the
動画処理回路123は、CPU121に制御されて、CAM22から入力された動画をHDDに記録できる動画データに変換し、PATA制御回路124に動画データを出力する。PATA制御回路124は、CPU121に制御されて動画データをPATA準拠のデータ転送モードで転送する。
The moving
また、PATA制御回路124は、CPU121に制御されて、MASTERHDDであるSATAHDD16aにアクセスする。さらに、PATA制御回路124は、アクセスしたMASTERHDDであるSATAHDD16aに動画データを転送することで、MASTERHDDであるSATAHDD16aに動画データを記録する。そして、PATA制御回路124は、SATAHDD16a,16bのいずれか、もしくは各々の故障状態を検出した場合に、CPU121へSATAHDD16a,16bの故障状態情報を出力する。よって、CPU121は、PATA制御回路124からの出力によってSATAHDD16a,16bの故障状態を判定し、信号生成器122を制御する。
Further, the
つまり、DVR12はMA/SL信号によって、SATA変換器14aをMASTERに設定し、SATA変換器14bをSLAVEに設定する。また、DVR12は、MASTERHDDであるSATAHDD16aにアクセスをして、MASTERHDDであるSATAHDD16aに動画データを記録する。さらに、DVR12は、MASTERに設定したSATA変換器14aと接続されるSATAHDD16aの故障状態と判定した時に、MA/SL信号でSATA変換器14aおよびSATA変換器14bのMASTER/SLAVEの設定を切り替えて、新たにMASTERに設定したSATA変換器14bと接続されるSATAHDD16bに動画データを記録する。
That is, the
ここで、HDDの記憶容量が限界の状態であることをFULL状態として、PATA制御回路124が、動画データを記録中のMASTERHDDであるSATAHDD16aがFULL状態であると判定したときを説明する。PATA制御回路124は、CPU121にSATAHDD16aのFULL状態情報を出力する。また、CPU121は、PATA制御回路124を制御して、SLAVEに設定したSATA変換器14bと接続されるSATAHDD16bに動画データを記録する。
Here, the case where the
さらに、CPU121は、SLAVEに設定したSATA変換器14bと接続されるSATAHDD16bのFULL状態情報を検出すると、PATA制御回路124にMASTERに設定したSATA変換器14aが接続するSATAHDD16aに再びアクセスさせて動画データを上書き記録させる。また、PATA制御回路124は、上書き記録によってSATAHDD16aの記憶容量の限界まで記録すると、FULL状態としてCPU121へSATAHDD16aのFULL状態情報を出力する。
Further, when the
つまり、DVR12は、MASTERHDDであるSATAHDD16aにアクセスした時にMASTERHDDであるSATAHDD16aのFULL状態情報を検出しても、SLAVEHDDであるSATAHDD16bにアクセスを切り替えず、MASTERHDDであるSATAHDD16aに動画データを上書き記録する。さらに、DVR12は、MASTERHDDであるSATAHDD16aの記憶容量の限界まで上書き記録すると、MASTERHDDであるSATAHDD16aのFULL状態情報を検出して、SLAVEHDDであるSATAHDD16bにアクセスして上書き記録する。よって、DVR12は、SATAHDD16aとSATAHDD16bと交互にアクセスすることで動画データを記録し続ける。
That is, even when the
図4を参照して、SATA変換器14aは通信制御回路141を含む。通信制御回路141は、ENABLE信号に基づいて、DVR12に接続されているPATAケーブル内のデータ通信を制御する。また、SATA変換器14bも同様の構成とする。
Referring to FIG. 4,
変換回路142はPATAケーブルのデータ転送方式をSATAケーブルのデータ転送方式に変換し、SATAケーブルのデータ転送方式をPATAケーブルのデータ転送方式に変換する。また、変換回路142は、MA/SL信号およびSP信号に基づいて、SATAケーブルのデータ転送方式をPATAケーブルのデータ転送方式に変換する。
The
ここで、2台のPATA規格のHDDをPATAケーブルによってHDD制御側とPATA接続する場合を考える。2台のPATA規格のHDDはそれぞれ、MASTERおよびSLAVEに設定される。これによって、HDD制御部は、MASTERに設定されたPATA規格のHDDとSLAVEに設定されたPATA規格のHDDを識別して、PATA規格のHDDに情報を記録させている。しかし、本実施例で使用しているSATAHDD16a,16bはSATA準拠のシリアルHDDのためMASTER/SLAVEの設定をすることができない。
Here, consider a case where two PATA-standard HDDs are connected to the HDD control side via a PATA cable. Two PATA-standard HDDs are set to MASTER and SLAVE, respectively. Accordingly, the HDD control unit identifies the PATA standard HDD set to MASTER and the PATA standard HDD set to SLAVE, and records information in the PATA standard HDD. However, since the
ところが、変換回路142は、MA/SL信号およびSP信号に基づいて、SATAケーブルの信号からPATAケーブルの信号への変換をするので、HDD制御部であるPATA制御回路124は、PATA接続したSATA変換器14a,14bのMASTER/SLAVEを識別できるようになる。
However, since the
つまり、SATA変換器14aとSATAHDD16a、およびSATA変換器14bとSATAHDD16bをそれぞれ1台のPATA規格のHDDとして考えると、使用者は、2台のPATA規格のHDDがDVR12にPATAケーブルで接続されているとみなすことができる。また、SATA変換器14aおよびSATA変換器14bは、どちらがMASTERに設定されてもよい。
That is, if the
SATAHDD16a,16bは、HDDの自己診断情報であるSMART(Self- Monitoring Analysis and Reporting Technology)情報と、SATAHDD16a,16bからDVR12への通信が異常となったことを通知するERRSTATUS信号を出力する。また、SMART情報はSATAHDD16a,16bのレジスタ18a,18bそれぞれに格納される。ここで、SATAHDD16a,16bの故障状態の一例を以下に示す。
The
1.SMTERR状態
2.ERRSTATUS状態
3.無応答状態
SMTERR状態とは、PATA制御回路124がSATAHDD16a,16bのレジスタ18a,18bそれぞれに格納されたSMART情報の異常情報を読み出した状態をいう。ERRSTATUS状態とは、PATA制御回路124からSATAHDD16aまたはSATAHDD16bへのデータ転送中に検出され、PATA制御回路124がデータ転送中のSATAHDD16aまたはSATAHDD16bからデータ記録失敗の通知をされた状態をいう。無応答状態とは、PATA制御回路124からSATAHDD16a,16bの各々へのアクセス中に検出され、PATA制御回路124がSATAHDD16a,16bの各々から応答がない状態を30秒間継続して検出した状態という。また、SATAHDD16a,16bが故障せず正常に動画データを記録し続ける状態を正常状態という。
1. SMTERR state 2. ERRORSTATUS state Non-response state The SMTERR state is a state in which the
先述した通り、SATAHDD16a,16bの故障状態はPATA制御回路124によって検出される。そのため、CPU121は、PATA制御回路124からの出力によってSATAHDD16a,16bの故障状態を判定する。
As described above, the failure state of the
SATAHDD16aはSATA変換器14aへ出力されているENABLE信号がHIGH状態にされると停止状態と判定される。同様にして、SATAHDD16bはSATA変換器14bへ出力されているENABLE信号がHIGH状態にされると停止状態と判定される。また、DVR12は、MASTERに設定したSATA変換器14aと接続されるSATAHDD16aを停止状態と判定すると、MASTERであるHDDが停止状態である判定する。同様にして、DVR12は、SLAVEに設定したSATA変換器14bと接続されるSATAHDD16bを停止状態と判定すると、SLAVEであるHDDが停止状態であると判定する。
The
図5〜図8を参照して、正常状態とSMTERR状態またはSMART情報取得時の無応答状態とERRSTATUS状態またはコマンド送信時の無応答状態との3つの状態に分けて動画データを記録する処理を説明する。 Referring to FIG. 5 to FIG. 8, the process of recording moving image data is divided into three states: a normal state, a SMTERR state or a no-response state when SMART information is acquired, and an ERRSTATUS state or a no-response state during command transmission. explain.
まず、正常状態の動画データを記録する処理について図5,図6を参照して具体的に説明すると、CPU121はステップS1でSATA変換器14aおよびSATA変換器14bがMASTER/SLAVEの設定がされているか否かを判定する。そして、NOと判定すると、CPU121は、ステップS3でSATA変換器14aをMASTERに設定し、SATA変換器14bをSLAVEに設定する。ここで、SATAHDD16aとSATAHDD16bとの状態、およびENABLE信号とMA/SL信号とSP信号の出力内容をまとめた結果を表1に示す。
First, the processing for recording the moving image data in the normal state will be specifically described with reference to FIGS. 5 and 6. In step S1, the
CPU121は続いて、PATA制御回路124にステップS5でMASTERHDDであるSATAHDD16aへアクセスを開始させる。CPU121は続いて、ステップS7で変数ERRの値を初期化する。変数ERRは、ERRSTATUS状態または無応答状態の時にインクリメントされる。
Subsequently, the
CPU121は続いて、ステップS9でPATA制御回路124に各HDDのSMART情報を取得させる。CPU121は続いて、ステップS11で各HDDが無応答状態か否かを判定する。ここでは、CPU121は、NOと判定するため、ステップS13で変数ERRの値を初期化する。CPU121は続いて、ステップS15でSMTERR状態か否かを判定する。ここでは、CPU121は、NOと判定するため、ステップS17でMASTERHDDであるSATAHDD16aにアクセス中か否かを判定する。ここでは、CPU121は、YESと判定するため、ステップS19でPATA制御回路124にMASTERHDDであるSATAHDD16aへコマンドを送信させる。CPU121は続いて、ステップS29でERRSTATUS状態または無応答状態か否かを判定する。ここでは、CPU121は、NOと判定するため、ステップS31で変数ERRの値を初期化する。
Subsequently, the
CPU121は続いて、ステップS33でMASTERHDDであるSATAHDD16aにアクセス中か否かを判定する。ここでは、CPU121は、YESと判定するため、ステップS35でMASTERHDDであるSATAHDD16aがFULL状態か否かを判定する。ここで、NOと判定すると、CPU121は、ステップS9に戻る。CPU121は、ステップS35でYESと判定すると、ステップS37でPATA制御回路124にSLAVEHDDであるSATAHDD16bへアクセスを開始させる。
Subsequently, in step S33, the
CPU121は続いて、ステップS9に戻り、上述したMASTERHDDであるSATAHDD16aにアクセスする処理と同様にしてステップS9−S15の処理を行う。CPU121は続いて、ステップS17でNOと判定して、ステップS21でSLAVEHDDであるSATAHDD16bにコマンドを送信する。CPU121は続いて、MASTERHDDであるSATAHDD16aにアクセスする処理と同様にSLAVEHDDであるSATAHDD16bに対してステップS29−S31の処理を行う。CPU121は続いて、ステップS33でNOと判定して、ステップS39へ進む。ここで、NOと判定すると、CPU121は、ステップS9に戻る。さらにCPU121は、ステップS39でYESと判定すると、ステップS41でPATA制御回路124にMASTERHDDであるSATATHDD16aへアクセスを開始させる。
Subsequently, the
ここで、動画データを記録するHDDがMASTERHDDであるSATAHDD16aからSLAVEHDDであるSATAHDD16bに変更され、再びMASTERHDDであるSATAHDD16a変更された状態となるが、CPU121は、MASTERHDDであるSATAHDD16aをFULL状態とは判定しない。よって、CPU121は、PATA制御回路124にMASTERHDDであるSATAHDD16aの記録済み記録領域へ動画データを再記録させる。さらに、CPU121は、再びMASTERHDDであるSATAHDD16aからSLAVEHDDであるSATAHDD16bに変更されても、MASTERHDDであるSATAHDD16aと同様にして、動画データを再記録させる。つまり、正常状態においてCPU121は、PATA制御回路124にMASTERHDDであるSATAHDD16aへのアクセスとSLAVEHDDであるSATAHDD16bへのアクセスを繰り返し行わせることで動画データを記録させ続ける。
Here, the HDD for recording the moving image data is changed from the
続いて、SMTERR状態またはSMART情報取得時の無応答状態の動画データを記録する処理について図5〜図8を参照して具体的に説明すると、CPU121はステップS1でSATA変換器14aおよびSATA変換器14bがMASTER/SLAVEの設定がされているか否かを判定する。そして、NOと判定すると、CPU121は、ステップS3でSATA変換器14aをMASTERに設定し、SATA変換器14bをSLAVEに設定する。CPU121は続いて、ステップS5でPATA制御回路124にMASTERHDDであるSATAHDD16aへアクセスを開始させる。CPU121は続いて、ステップS7で変数ERRの値を初期化する。CPU121は続いて、ステップS9でPATA制御回路124に各HDDとのSMART情報を取得させる。
Next, the process of recording the moving image data in the SMMTER state or the non-response state at the time of SMART information acquisition will be specifically described with reference to FIGS. 5 to 8. In step S <b> 1, the
CPU121は続いて、ステップS11で無応答状態か否かを判定する。ここでは、CPU121は、YESと判定するため、ステップS23で変数ERRの値をインクリメントする。CPU121はさらに続いて、ステップS25で変数ERRの値が3未満であるか否かを判定する。ここでは、CPU121は、YESと判定するので、ステップS27で各HDDを再起動させる。そして、CPU121はステップS9に戻りステップS11,ステップS23,ステップS25,ステップS27の処理を変数ERRの値が3以上と判定する、またはステップにてS11にて無応答状態と判定するまで繰り返し行う。
Subsequently, the
無応答状態のHDDは再起動されることで無応答状態でなくなる可能性がある。したがって、CPU121は、無応答状態を1度目の判定でHDDの無応答状態と判定せず、3度目の判定でHDDの無応答状態と判定する。
There is a possibility that the HDD in the non-response state is not in the non-response state by being restarted. Therefore, the
CPU121は、変数ERRの値が3以上と判定すると、ステップS25でNOと判定するため、ステップS61へ進む。ここで、ステップS11でNOと判定すると、CUP121は、MASTERHDDであるSATAHDD16aが無応答状態ではない、または無応答状態でなくなったとみなして、ステップS13で変数ERRの値を初期化し、ステップS15でSMTERR状態か否かを判定する。ここでは、CPU121は、YESと判定して、ステップS61へ進む。
When determining that the value of the variable ERR is 3 or more, the
CPU121は、ステップS61でMASTERHDDであるSATAHDD16aおよびSLAVEHDDであるSATAHDD16bがSMTERR状態またはSMART情報取得時の無応答状態か否かを判定する。ここで、CPU121は、YESと判定すると、ステップS85で信号生成器122からSATA変換器14aおよびSATA変換器14bへ出力されているENABLE信号をHIGH状態にさせ、MASTERHDDであるSATAHDD16aとSLAVEHDDであるSATAHDD16bを停止させる。そして、動画データを記録する処理はS85の処理が完了した後に終了する。
In step S61, the
さらに、CPU121は、DISP20にMASTERHDDであるSATAHDD16aとSLAVEHDDであるSATAHDD16bとの故障状態を表示させる。ここで、CPU121がSATAHDD16aとSATAHDD16bとをSMETERR状態と判定した時の、DISP20の表示例を図9(A)に示す。
Further, the
そして、ステップS61でCPU121は、NOと判定すると、ステップS63でSMTERR状態またはSMART情報取得時の無応答状態のHDDがMASTERHDDであるSATAHDD16aであるか否かを判定する。ここで、CPU121は、NOと判定すると、ステップS65で信号生成器122からSATA変換器14bへ出力されているENABLE信号をHIGH状態にさせ、SLAVEHDDであるSATAHDD16bを停止させる。さらに、CPU121は信号生成器122からMASTERに設定したSATA変換器14aへ出力されているSP信号をLOW状態にさせる。そして、CPU121は、DISP20にSLAVEHDDであるSATAHDD16bの故障状態を表示させる。ここで、CPU121がSATAHDD16bをSMTERR状態と判定した時の、DISP20の表示例を図9(B)に示す。さらに、SATAHDD16aとSATAHDD16bの状態、およびENABLE信号とMA/SL信号とSP信号の出力内容をまとめた結果を表2に示す。
If the
CPU121は続いて、ステップS67でMASTERHDDであるSATAHDD16aへアクセス中か否かを判定する。ここでは、CPU121はYESと判定して、ステップS73へ進む。CPU121は続いて、ステップS73でMASTERHDDであるSATAHDD16aが停止しているか否かを判定する。ここでは、CPU121はNOと判定して、ステップS87へ進む。CPU121は続いて、ステップS87でPATA制御回路124にMASTERHDDであるSATAHDD16aのSMART情報を取得させる。CPU121は続いて、ステップS89でMASTERHDDであるSATAHDD16aが無応答状態か否かを判定する。ここでCPU121は、YESと判定すると、ステップS105で変数ERRの値をインクリメントする。CPU121はさらに続いて、ステップS107で変数ERRの値が3未満であるか否かを判定する。
Subsequently, in step S67, the
ここでは、CPU121は、YESと判定し、ステップS117でアクセス中のHDDを再起動させる。すなわち、ここではMASTERHDDであるSATATHDD16aを再起動させる。そして、CPU121はステップS87に戻る。
Here, the
CPU121は、変数ERRの値が3以上と判定すると、ステップS107でNOと判定して、ステップS119へ進む。ここで、ステップS89でNOと判定すると、CPU121は、MASTERHDDであるSATAHDD16aが無応答状態ではない、または変数ERRが3未満のうちに無応答状態から無応答状態ではない状態へと変化したと判定して、ステップS91で変数ERRの値を初期化し、ステップS93でMASTERHDDであるSATAHDD16aがSMTERR状態か否かを判定する。ここでは、CPU121はYESと判定し、ステップS119へ進む。
When determining that the value of the variable ERR is 3 or more, the
CPU121は続いて、ステップS119で信号生成器122からSATA変換器14aへ出力されているENABLE信号をHIGH状態にさせ、MASTERHDDであるSATAHDD16aを停止させる。ステップS119の時点では、SATAHDD16aおよびSATAHDD16bは停止されている。そのため、動画データを記録する処理はS119の処理が完了した後に終了する。さらに、CPU121は、SATAHDD16bの故障状態とあわせて、DISP20にMASTERHDDであるSATAHDD16aの故障状態を表示させる。
Subsequently, in step S119, the
ここで、ステップS93でNOと判定すると、ステップS95で停止されたSATAHDD16bが交換されたか否かを判定する。ここで、CPU121はNOと判定すると、ステップS97でMASTERHDDであるSATAHDD16aにコマンドを送信する。CPU121は続いて、ステップS99でERRSTATUS状態または無応答状態か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS101で変数ERRの値を初期化する。CPU121は続いて、ステップS103でMASTERHDDであるSATAHDD16aがFULL状態か否かを判定する。ここで、CPU121は、NOと判定すると、ステップS87に戻る。CPU121は、ステップS103でYESと判定すると、ステップS119でMASTERHDDであるSATAHDD16aを停止させる。そして、動画データを記録する処理はS119の処理が完了した後に終了する。さらに、CPU121は、SATAHDD16bの故障状態とあわせて、DISP20にMASTERHDDであるSATAHDD16aの状態を表示させる。
If NO is determined in step S93, it is determined whether or not the
ここで、ステップS95でCPU121は、YESと判定すると、ステップS109で信号生成器122から交換されたSATA規格のHDDを接続されるSATA変換器14bへ出力されているENABLE信号をLOW状態にさせ、SLAVEHDDであるSATAHDD16bを作動させる。さらに、CPU121は信号生成器122からSATA変換器14aへ出力されているSP信号をHIGH状態にさせる。つまり、SATAHDD16a,16bが故障せず正常に動画データを記録する状態となるため、CPU121は、ステップS9に戻り先述した正常状態の処理を行う。
If the
ここで、ステップS67でCPU121は、NOと判定すると、ステップS69で変数ERRの値を初期化する。CPU121はさらに続いて、ステップS71でPATA制御回路124にMASTERHDDであるSATAHDD16aへアクセスを開始させ、ステップS73以降の処理を行う。つまり、正常状態でアクセスするHDDがMASTERHDDであるSATAHDD16aからSLAVEHDDであるSATAHDD16bへ代わり、SLAVERHDDであるSATAHDD16bがSMTERR状態またはSMART情報取得時の無応答状態となった場合に、CPU121はステップS69−S71の処理をする。
If the
ここで、ステップS63でCPU121は、YESと判定すると、ステップS79で信号生成器122からSATA変換器14aへ出力されているENABLE信号をHIGH状態にさせ、MASTERHDDであるSATAHDD16aを停止させる。そして、CPU121は、DISP20にMASTERHDDであるSATAHDD16aの故障状態を表示させる。CPU121は続いて、ステップS81でSLAVEHDDであるSATAHDD16bへアクセス中か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS83で変数ERRの値を初期化する。CPU121は続いて、ステップS73でMASTERHDDであるSATAHDD16aが停止されているか否かを判定する。
If the
ここでは、CPU121は、YESと判定するため、ステップS75で信号生成器122からSATA変換器14bへ出力されているMA/SL信号をLOW状態にさせ、SATA変換器14aへ出力されているMA/SL信号をHIGH状態にさせる。そして、CPU121は信号生成器122からMASTERに設定したSATA変換器14bへ出力されているSP信号をLOW状態にさせる。つまり、CPU121は、SATAHDD16bをMASTERHDDとする。ここで、SATAHDD16aとSATAHDD16bの状態、およびENABLE信号とMA/SL信号とSP信号の出力内容をまとめた結果を表3に示す。
Here, since the
CPU121は続いて、ステップS77でPATA制御回路124にMASTERHDDであるSATAHDD16bへアクセスを開始させ、ステップS87以降の処理を行う。
Subsequently, in step S77, the
ここで、ステップS81でCPU121は、YESと判定すると、ステップS73以降の処理を行う。つまり、正常状態でアクセスするHDDがMASTERHDDであるSATAHDD16aからSLAVEHDDであるSATAHDD16bへ代わり、MASTERHDDであるSATAHDD16aがSMTERR状態またはSMART情報取得時の無応答状態となった場合に、CPU121は変数ERRの初期化はせずにステップS73以降の処理を行う。
Here, if CPU121 determines with YES at step S81, it will perform the process after step S73. That is, the
CPU121は、ステップS69およびステップS83で変数ERRの値を初期化するので、SMTERR状態またはSMART情報取得時の無応答状態からERRSTATUS状態またはコマンド送信時の無応答状態が起きた場合もHDDの故障状態を判定することができる。
Since the
また、CPU121は、ステップS69およびステップS83で変数ERRの値を初期化するので、SMTERR状態またはSMART情報取得時の無応答状態から正常状態へ変化しても、SMTERR状態またはSMART情報取得時の無応答状態からを再び判定することができる。
In addition, since the
さらに続いて、ERRSTATUS状態またはコマンド送信時の無応答状態の動画データを記録する処理について図5〜図8を参照して具体的に説明すると、CPU121はステップS1でSATA変換器14aとSATA変換器14bとがMASTER/SLAVEの設定がされているか否かを判定する。そして、CPU121は、NOと判定すると、ステップS3でSATA変換器14aをMASTERに設定し、SATA変換器14bをSLAVEに設定する。CPU121は続いて、ステップS5でPATA制御回路124にMASTERHDDであるSATAHDD16aへアクセスを開始させる。CPU121は続いて、ステップS7で変数ERRの値を初期化する。CPU121は続いて、ステップS9でPATA制御回路124に各HDDとのSMART情報を取得させる。
Next, the process of recording moving image data in the ERRSTATUS state or in the non-response state at the time of command transmission will be described in detail with reference to FIGS. 5 to 8. The
CPU121は続いて、ステップS11で無応答状態か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS13で変数ERRの値を初期化する。CPU121は続いて、ステップS15でSMTERR状態か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS17でMASTERHDDであるSATAHDD16aにアクセス中か否かを判定する。ここでは、CPU121は、YESと判定して、ステップS19でPATA制御回路124にMASTERHDDであるSATAHDD16aへコマンドを送信させる。CPU121は続いて、ステップS29でERRSTATUS状態または無応答状態か否かを判定する。ここでは、CPU121は、YESと判定して、ステップS43で変数ERRの値をインクリメントする。CPU121はさらに続いて、ステップS45で変数ERRの値が3未満であるか否かを判定する。ここでは、CPU121は、YESと判定して、ステップS59でアクセス中のHDDを再起動させる。すなわち、ここではMASTERHDDであるSATATHDD16aを再起動させる。そして、CPU121はステップS9に戻る。
Subsequently, the
ERRSTATUS状態または無応答状態のHDDは再起動されることで正常状態へ変化する可能性がある。つまり、CPU121は、ERRSTATUS状態または無応答状態を1度目の判定でHDDのERRSTATUS状態または無応答状態と判定せず、3度目の判定でHDDのERRSTATUS状態または無応答状態と判定する。
There is a possibility that the HDD in the ERRSTATUS state or the no-response state is changed to a normal state by being restarted. That is, the
変数ERRの値が3以上と判定すると、CPU121は、ステップS45でNOと判定して、ステップS47でMASTERHDDであるSATAHDD16aへアクセス中か否かを判定する。ここでは、CPU121は、YESと判定するため、ステップS49で信号生成器122からSATA変換器14aへ出力されているENABLE信号をHIGH状態にさせ、MASTERHDDであるSATAHDD16aを停止させる。そして、CPU121は、DISP20にMASTERHDDであるSATAHDD16aの故障状態を表示させる。
When determining that the value of the variable ERR is 3 or more, the
CPU121はさらに続いて、ステップS51で変数ERRの値を初期化する。CPU121はさらに続いて、ステップS73でMASTERHDDであるSATAHDD16aが停止しているか否かを判定する。ここでは、CPU121は、YESと判定するため、ステップS75で信号生成器122からSATA変換器14bへ出力されているMA/SL信号をLOW状態にさせ、MASTERに設定したSATA変換器14bへ出力されているSP信号をLOW状態にさせる。つまり、CPU121は、SATAHDD16bをMASTERHDDとする。
Subsequently, the
CPU121は続いて、ステップS77でPATA制御回路124にMASTERHDDであるSATAHDD16bへアクセスを開始させ、ステップS87でPATA制御回路124にMASTERHDDであるSATAHDD16bのSMART情報を取得させる。CPU121は続いて、ステップS89でMASTERHDDであるSATAHDD16bが無応答状態か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS91で変数ERRの値を初期化する。CPU121は続いて、ステップS93でMASTERHDDであるSATAHDD16bがSMTERR状態か否かを判定する。ここでは、CPU121は、NOと判定して、ステップS95で停止されたSATAHDD16aが交換されたか否かを判定する。ここでは、CPU121は、NOと判定して、ステップS97でPATA制御回路124にMASTERHDDであるSATAHDD16bへコマンドを送信させる。
Subsequently, in step S77, the
CPU121は続いて、ステップS99でERRSTATUS状態または無応答状態か否かを判定する。ここで、CPU121は、YESと判定すると、ステップS111で変数ERRの値をインクリメントする。CPU121はさらに続いて、ステップS113で変数ERRの値が3未満であるか否かを判定する。ここでは、CPU121は、YESと判定して、ステップS115でアクセス中のHDDを再起動させる。すなわち、ここではMASTERHDDであるSATATHDD16bを再起動さえる。そして、CPU121は、ステップS87に戻る。
Subsequently, in step S99, the
変数ERRの値が3以上と判定すると、CPU121は、ステップS113でNOと判定して、ステップS119でMASTERHDDであるSATAHDD16bを停止させる。そして、動画データを記録する処理はS119の処理が完了した後に終了する。さらに、CPU121は、SATAHDD16aの故障状態とあわせて、DISP20にMASTERHDDであるSATAHDD16bの故障状態を表示させる。
If it is determined that the value of the variable ERR is 3 or more, the
ここで、ステップS95でCPU121は、YESと判定すると、ステップS109で信号生成器122からSATA変換器14aへ出力されているENABLE信号をLOW状態にさせ、SLAVEHDDであるSATAHDD16aを作動させる。さらに、CPU121は信号生成器122からSATA変換器14bへ出力されているSP信号をHIGH状態にさせる。つまり、SATAHDD16a,16bが故障せず正常に動画データを記録する状態となるため、CPU121は、先述した正常状態の処理を行う。ここで、SATAHDD16aとSATAHDD16bの状態、およびENABLE信号とMA/SL信号とSP信号の出力内容をまとめた結果を表4に示す。
If the
ここで、ステップS47でCPU121は、NOと判定すると、ステップS53で信号生成器122からSATA変換器14bへ出力されているENABLE信号をHIGH状態にさせ、SLAVEHDDであるSATAHDD16bを停止させる。さらに、CPU121は信号生成器122からMASTERに設定したSATA変換器14aへ出力されているSP信号をLOW状態にさせる。そして、CPU121は、DISP20にSLAVEHDDであるSATAHDD16bの故障状態を表示させる。CPU121はさらに続いてステップS55で変数ERRの値を初期化する。CPU121はさらに続いてステップS57でPATA制御回路124にMSTERHDDであるSATAHDD16aへアクセスを開始させる。CPU121はさらに続いて、ステップS73でMASTERHDDであるSATAHDD16aが停止されているか否かを判定する。ここでは、CPU121は、NOと判定して、ステップS87へ進む。CPU121は続いて、ステップS87でPATA制御回路124にMASTERHDDであるSATAHDD16aのSMART情報を取得させ、ステップS89以降の処理を行う。
If the
つまり、ステップS47でNOと判定する時は、正常状態でアクセスするHDDがMASTERHDDであるSATAHDD16aからSLAVEHDDであるSATAHDD16bへ代わり、SLAVEHDDであるSATAHDD16bがERRSTATUS状態またはコマンド送信時の無応答状態となる時である。
That is, when NO is determined in step S47, the HDD accessed in the normal state is changed from the
ここで、ステップS99でCPU121は、NOと判定すると、ステップS101で変数ERRの値を初期化する。また、ステップS99でCPU121は、YESと判定すると、MASTERHDDであるSATAHDD16aがERRSTATUS状態または無応答状態ではないとみなすか、MASTERHDDであるSATAHDD16aがERRSTATUS状態または無応答状態から変数ERRが3未満のうちに正常状態へと変化したとみなす。また、ステップS29の処理もステップS99と同様である。
If
ステップS101での変数ERRの値を初期化する処理は、MASTERHDDであるSATAHDD16aがERRSTATUS状態または無応答状態が正常状態へ変化した後に、再びSATAHDD16aがERRSTATUS状態または無応答状態へ変化した場合に正しく回数をカウントするために必要な処理となる。また、ステップS31の処理は、ステップS101と同様である。
The process of initializing the value of the variable ERR in step S101 is performed correctly when the
ステップS31で変数ERRの値を初期化するので、CPU121は、ERRSTATUS状態またはコマンド送信時の無応答状態からSMTERR状態またはSMART情報取得時の無応答状態を判定することができる。
Since the value of the variable ERR is initialized in step S31, the
また、ステップS31で変数ERRの値を初期化するので、CPU121は、ERRSTATUS状態または無応答状態から正常状態へ変化しても、ERRSTATUS状態または無応答状態を再び判定することができる。
In addition, since the value of the variable ERR is initialized in step S31, the
このように本実施例では、SATAHDD16a,16bのいずれかが故障状態の場合に、DVR12は、MA/SL信号によってSATA変換器14a,14bのMASTERおよびSLAVEの設定を切り替えることができるため、動画データを記録し続けることができる。また、DVR12は、SATAHDD16aまたはSATAHDD16bが故障状態の場合に、故障状態のSATAHDD16aまたはSATAHDD16bを停止し、動画データを記録し続けることができる。
As described above, in this embodiment, when any of the
さらに、DVR12は、SATAHDD16a,16bが故障状態の場合に、DISP20によって故障状態のSATAHDD16a,16bの情報および故障状態のSATAHDD16a,16bの交換を促す文字列を表示することができる。
Further, when the
さらに、DVR12は、SATAHDD16a,16bが正常状態の場合に、アクセスするSATAHDDを切り替えることで、動画データを記録し続けることができる。そして、故障状態のSATAHDD16aまたは16bを使用者が交換すれば、DVR12はSATAHDD16aまたは16bを正常状態と判定することができる。
Furthermore, the
なお、本実施例は、CPU121がSATAHDD16aまたはSTATAHDD16bの異常を誤判定し、動画データを記憶するHDDを切り替えても異常状態が継続する可能性がある。そのため、動画データを記憶するHDDを切り替えても異常状態が継続する場合に、DVR12は、再び動画データを記憶するHDDを切り替えて動画データの記録を試みることも考えられる。また、動画データを記録し続けるだけでなく、動画データを再生し続けることも可能である。さらに、動画記録装置だけでなく、サーバーなどの常に作動し続けることが求められる装置に用いてもよい。また、記録するのは動画データだけでなく、音声データなどでもよい。
In the present embodiment, there is a possibility that the abnormal state may continue even if the
10 … 動画記録装置
12 … DVR
14a〜14b … SATA変換器
16a〜16b … SATAHDD
18 … レジスタ
20 … DISP
22 … CAM
10 ...
14a to 14b ...
18 ... Register 20 ... DISP
22… CAM
Claims (8)
第2通信規格のデータを前記複数の記憶装置に共通のデータラインで転送する転送手段、
前記転送手段と前記複数の記憶装置との間に接続され、前記第2通信規格のデータを前記第1通信規格のデータにそれぞれ変換する複数の変換手段、および
前記複数の変換手段をデータラインとは異なる信号ラインで制御する制御手段を備え、
前記転送手段は、前記複数の記憶装置の異常を検出する検出手段を含み、
前記制御手段は、
前記複数の記憶装置のいずれか1つに記憶処理を実行させるための優先順位を前記複数の変換手段に設定する設定手段、および
前記設定手段によって設定された優先順位を前記検出手段によって異常が検出されたとき変更する変更手段を含む、記憶制御装置。 A plurality of storage devices for storing data of the first communication standard;
Transfer means for transferring data of the second communication standard to the plurality of storage devices via a common data line;
A plurality of conversion means connected between the transfer means and the plurality of storage devices and respectively converting the data of the second communication standard into the data of the first communication standard; and the plurality of conversion means as data lines Has control means to control with different signal lines,
The transfer means includes detection means for detecting an abnormality in the plurality of storage devices,
The control means includes
A setting unit for setting a priority for causing one of the plurality of storage devices to execute a storage process in the plurality of conversion units; and an abnormality detected by the detection unit for the priority set by the setting unit A storage control device comprising a changing means for changing when it is done.
前記制御手段は、前記検出手段によって異常が検出された記憶装置と転送手段とのデータ転送を前記停止手段によって停止させるデータ転送停止手段をさらに含み、
前記変更手段は、前記検出手段によって異常が検出された記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる、請求項1記載の記憶制御装置。 The plurality of conversion means includes stop means for stopping data transfer between the storage device and the transfer means connected to the conversion means,
The control means further includes a data transfer stop means for stopping the data transfer between the storage device in which an abnormality is detected by the detection means and the transfer means by the stop means,
The storage control device according to claim 1, wherein the changing unit raises the priority of a conversion unit different from the conversion unit that connects the storage unit in which an abnormality is detected by the detection unit.
前記データ転送停止手段は、前記第1異常検出手段によって前記異常が検出された記憶装置と転送手段とのデータ転送を前記停止手段によって停止させる第1転送停止手段を含み、
前記変更手段は、前記第1異常検出手段によって異常が検出された記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる、請求項2記載の記憶制御装置。 The detection means includes first abnormality detection means for detecting an abnormality from self-diagnosis information detected by the plurality of storage devices,
The data transfer stop means includes first transfer stop means for stopping data transfer between the storage device in which the abnormality is detected by the first abnormality detection means and the transfer means by the stop means,
The storage control device according to claim 2, wherein the changing unit raises the priority of a conversion unit different from the conversion unit that connects the storage device in which the abnormality is detected by the first abnormality detection unit.
前記データ転送停止手段は、現在記憶処理を実行中の記憶装置と転送手段とのデータ転送を前記停止手段によって停止させる第2転送停止手段を含み、
前記変更手段は、現在記憶処理を実行中の記憶装置を接続する変換手段とは異なる変換手段の優先順位を上げる、請求項2または3記載の記憶制御装置。 The detection means includes second abnormality detection means for detecting an abnormality in data transfer processing by the transfer means,
The data transfer stop means includes second transfer stop means for stopping data transfer between the storage device currently executing storage processing and the transfer means by the stop means,
The storage control device according to claim 2, wherein the changing unit increases the priority of a conversion unit different from the conversion unit that connects the storage device that is currently executing the storage process.
前記異常でない記憶装置と転送手段とのデータ転送を再開させる再開手段をさらに含む、請求項5記載の記憶制御装置。 The control means is a replacement determination means for determining whether the storage device connected by the stopped conversion means has been replaced with a storage device that is not abnormal.
The storage control device according to claim 5, further comprising restarting means for restarting data transfer between the storage device that is not abnormal and the transfer means.
前記限界判定手段によって記憶容量が限界と判定された前記データ転送中の記憶装置から前記データ転送中の記憶装置以外の記憶装置と交替させる交替手段をさらに含む、請求項1ないし6のいずれかに記載の記憶制御装置。 The transfer means is a limit determination means for determining that the storage device that is currently executing the storage process has been stored to the limit of the storage capacity,
7. The apparatus according to claim 1, further comprising: a replacement unit that replaces the storage device that has been determined to have a storage capacity limited by the limit determination unit with a storage device other than the storage device that is transferring the data. The storage control device described.
および前記撮影手段が撮影した動画を前記複数の記憶装置に転送可能なデータに変換する動画変換手段を備え、
前記転送手段は、
前記動画変換手段が変換したデータを前記複数の記憶装置に転送する、請求項7記載の記憶制御装置。 Shooting means for shooting videos,
And moving image conversion means for converting the moving image shot by the shooting means into data transferable to the plurality of storage devices,
The transfer means includes
The storage control device according to claim 7, wherein the data converted by the moving image conversion unit is transferred to the plurality of storage devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007181855A JP2009020649A (en) | 2007-07-11 | 2007-07-11 | Storage controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007181855A JP2009020649A (en) | 2007-07-11 | 2007-07-11 | Storage controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009020649A true JP2009020649A (en) | 2009-01-29 |
Family
ID=40360250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007181855A Withdrawn JP2009020649A (en) | 2007-07-11 | 2007-07-11 | Storage controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009020649A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011076662A (en) * | 2009-09-30 | 2011-04-14 | Mitsubishi Electric Corp | Information recording device |
-
2007
- 2007-07-11 JP JP2007181855A patent/JP2009020649A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011076662A (en) * | 2009-09-30 | 2011-04-14 | Mitsubishi Electric Corp | Information recording device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5256209B2 (en) | Improve user experience using aggregated device usage data | |
US20100118180A1 (en) | Imaging device | |
US20120140112A1 (en) | Imaging device and control method therefor, and program for the same | |
CN104853071B (en) | Display control unit and display methods | |
CN102157172A (en) | Data recording apparatus and control method thereof | |
JP5277562B2 (en) | Electronic device, electronic camera and data transfer program | |
US9159368B2 (en) | Recording and reproducing apparatus and method thereof | |
JP2000137796A (en) | Information input system and its control method, and storage medium | |
JP2007215054A (en) | Electronic apparatus capable of recording conference information | |
JP2000209536A (en) | Recorded image management method and electronic image pickup device | |
JP2009020649A (en) | Storage controller | |
JP5094655B2 (en) | Imaging device | |
KR102137891B1 (en) | Server managing Method, Server, and Recording medium using User Specialized Operating Mechanism on BMC environment | |
JP2007074213A (en) | Camera system, camera, and external storage apparatus | |
JP2021087204A (en) | Recording device and control method thereof | |
CN101365086B (en) | Record/reproduction apparatus and record mode setting method for the same | |
KR102427570B1 (en) | Monitoring server for monitoring video recording device | |
JP6168238B2 (en) | Video recording / reproducing apparatus, surveillance recorder apparatus, and video recording / reproducing method | |
JPH0496845A (en) | Data preserving method for shared memory system | |
KR101286328B1 (en) | Multimedia storage card system | |
US11334520B2 (en) | Communication apparatus capable of transferring selected data item, method for controlling the same and non-transitory computer-readable storage medium | |
US20230007174A1 (en) | Image pickup signal processing apparatus, image pickup signal processing method, and storage medium | |
JP2009187155A (en) | Monitoring device, monitoring method, and monitoring program | |
JP2021145309A (en) | Recording apparatus and recording apparatus control method | |
JP3907665B2 (en) | Electronic camera system, electronic camera, and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100701 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20101203 |