JP4385280B2 - Data input / output control apparatus and method - Google Patents
Data input / output control apparatus and method Download PDFInfo
- Publication number
- JP4385280B2 JP4385280B2 JP2003291856A JP2003291856A JP4385280B2 JP 4385280 B2 JP4385280 B2 JP 4385280B2 JP 2003291856 A JP2003291856 A JP 2003291856A JP 2003291856 A JP2003291856 A JP 2003291856A JP 4385280 B2 JP4385280 B2 JP 4385280B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- file
- output
- management
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Description
本発明は、データ入出力制御装置及び方法に関し、例えばA/V(Audio / Visual)データの入出力を制御するビデオサーバシステムに適用して好適なものである。 The present invention relates to a data input / output control apparatus and method, and is suitably applied to, for example, a video server system that controls input / output of A / V (Audio / Visual) data.
従来、ビデオサーバシステムに用いられるビデオサーバとしては、編集装置等の外部機器から入力ポートを介して入力されたA/Vデータをハードディスク等の記録装置にファイルとして記録し、また記録したファイルを再度A/Vデータに変換し、これを再生して出力ポートを介して外部機器に出力し得るようになされたものがある。 Conventionally, as a video server used in a video server system, A / V data input from an external device such as an editing device via an input port is recorded as a file on a recording device such as a hard disk, and the recorded file is again recorded. Some data are converted into A / V data, reproduced, and output to an external device via an output port.
このようなビデオサーバにおいては、複数の外部機器からのアクセスに対応するため、複数の入出力ポートを有し、さらに、これら複数の入出力ポートを介してA/Vデータの記録及び再生を行うために、当該A/Vデータのファイル管理を行うファイルマネージャを有しており、当該ファイルマネージャが一元的にファイル管理し得るようになされている。(例えば特許文献1参照)
ところで、上述のようなビデオサーバにおいては、その筐体内に記録装置、入出力ポート及びファイルマネージャを有しており、筐体内のスペースが限られていることから、例えば、より多くの外部機器からのアクセスに対応するために、入出力ポートを増設しようとしても、その数に限度があり、入出力ポートの拡張が困難であるという問題があった。 By the way, the video server as described above has a recording device, an input / output port, and a file manager in the casing, and the space in the casing is limited. In order to cope with this type of access, there is a problem that even if an attempt is made to increase the number of input / output ports, the number of input / output ports is limited and it is difficult to expand the input / output ports.
本発明は以上の点を考慮してなされたもので、容易に拡張し得るデータ入出力制御装置を提案しようとするものである。 The present invention has been made in view of the above points, and intends to propose a data input / output control device that can be easily expanded.
かかる課題を解決するため本発明においては、所定のデータをファイルとして記憶保持する外部の記憶保持手段に対する当該データの入出力を制御するデータ入出力制御装置において、記憶保持手段に記憶保持するファイルをファイル管理情報により一元的に管理する管理手段と、管理手段と所定のネットワークを介して接続し、管理手段の管理のもとに外部から入力されたデータをファイルとして記憶保持手段に書き込むと共に、記憶保持手段に書き込まれたファイルをデータとして読み出して外部に出力する複数の入出力手段と管理手段及び入出力手段の接続に障害が発生したとき、障害復旧後、直ちに管理手段及び入出力手段を正常な動作に復帰させる正常動作復帰手段とを設け、入出力手段は、記憶保持手段にデータをファイルとして書き込むとき及び記憶保持手段からファイルをデータとして読み出すときに、現在までに書き込み又は読み出された部分を特定するための所定情報を、当該ファイルの経過情報として所定の記憶部に記憶し、正常動作復帰手段は、管理手段及び入出力手段を接続するネットワークの異常によって当該管理手段及び当該入出力手段の接続が切断された場合には、ネットワークの復旧後、直ちに管理手段及び入出力手段を再接続することで、管理手段及び入出力手段を正常な動作に復帰させ、入出力手段の異常終了によって管理手段及び当該入出力手段の接続が切断された場合には、入出力手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段の異常終了時までに記憶部に記憶されたファイルの経過情報と、入出力手段の異常終了時に当該入出力手段によりクローズされた当該ファイルのクローズ情報とを、当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させ、管理手段の異常終了によって当該管理手段及び入出力手段の接続が切断された場合には、管理手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段によるデータの書き込み及び読み出しを停止させると共に、当該データのファイルをクローズさせ、さらに当該停止時までに記憶部に記憶された当該ファイルの経過情報を当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させ、管理手段及び入出力手段の両方の異常終了によって接続が切断された場合には、管理手段及び入出力手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段の異常終了時までに記憶部に記憶されたファイルの経過情報を当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させるようにした。 In order to solve such a problem, in the present invention, in a data input / output control device that controls input / output of data to / from an external storage holding unit that stores and holds predetermined data as a file, a file stored in the storage holding unit is stored in a file. A management unit that performs centralized management based on file management information, and connects to the management unit via a predetermined network, writes data input from the outside under the management of the management unit as a file to the storage holding unit, and stores When a failure occurs in the connection between the input / output means, the management means, and the input / output means that reads out the file written in the holding means as data and outputs it to the outside, the management means and the input / output means are made normal immediately after the failure is recovered. provided between normal operation returning means for returning the Do operation, input and output means, the data as a file in the storage holding means When writing and when reading a file as data from the memory holding means, predetermined information for specifying a portion written or read up to now is stored in a predetermined storage unit as progress information of the file, and normal operation When the connection between the management unit and the input / output unit is disconnected due to an abnormality in the network connecting the management unit and the input / output unit, the recovery unit reconnects the management unit and the input / output unit immediately after the network is restored. Thus, when the management means and the input / output means are returned to normal operation, and the connection of the management means and the input / output means is disconnected due to abnormal termination of the input / output means, after the input / output means is restarted, The management means and the input / output means are immediately reconnected, and the file progress information stored in the storage unit and the input / output means The closing means of the file closed by the input / output means at the time of termination is transmitted to the management means as the current state of the file, and the management means and the input / output means are updated by the management means. When the connection between the management means and the input / output means is disconnected due to abnormal termination of the management means, immediately after the management means is restarted, the management means and the input / output means are reconnected. The writing and reading of data by the input / output means are stopped, the file of the data is closed, and the progress information of the file stored in the storage unit by the time of the stop is set as the current state of the file to the management means. Tell the management means to update the file management information, to return the management means and input / output means to normal operation, When the connection is cut off due to abnormal termination of both the management means and the input / output means, immediately after the management means and the input / output means are restarted, the management means and the input / output means are immediately reconnected, and the input / output means terminates abnormally. Normal operation of the management means and the input / output means by transmitting the progress information of the file stored in the storage unit by the time to the management means as the current state of the file and causing the management means to update the file management information was so that is returned to.
この結果このデータ入出力制御装置によれば、管理手段の管理のもとに複数の入出力手段の間でファイルを共有することができると共に、ネットワークに接続する入出力手段の数を増やすだけで同時に入出力し得るデータの数を増やすことができる。また障害が発生した場合にも、障害復旧後、直ちに正常に動作することができる。 As a result, according to this data input / output control device, files can be shared among a plurality of input / output means under the control of the management means, and the number of input / output means connected to the network can be increased. The number of data that can be input / output simultaneously can be increased. Even when a failure occurs, it can operate normally immediately after the failure is recovered.
また本発明においては、データ入出力制御装置が、所定のデータをファイルとして記憶保持する外部の記憶保持手段に対する当該データの入出力を制御するデータ入出力制御方法において、データを入出力する、データ入出力制御装置の複数の入出力手段が、記憶保持手段に記憶保持するファイルをファイル管理情報により一元的に管理する、データ入出力制御装置の管理手段とネットワークを介して接続する第1のステップと、入出力手段が、管理手段の管理のもとに、外部から入力されたデータを記憶保持手段に書き込むと共に、記憶保持手段に書き込まれたデータを読み出して外部に出力する第2のステップと、データ入出力制御装置の正常動作復帰手段が、管理手段及び入出力手段の接続に障害が発生したとき、障害復旧後、直ちに管理手段及び入出力手段を正常な動作に復帰させる第3のステップとを設け、第2のステップでは、記憶保持手段にデータをファイルとして書き込むとき及び記憶保持手段からファイルをデータとして読み出すときに、現在までに書き込み又は読み出された部分を特定するための所定情報を、当該ファイルの経過情報として所定の記憶部に記憶し、第3のステップでは、管理手段及び上記入出力手段を接続するネットワークの異常によって当該管理手段及び当該入出力手段の接続が切断された場合には、ネットワークの復旧後、直ちに管理手段及び入出力手段を再接続することで、管理手段及び入出力手段を正常な動作に復帰させ、入出力手段の異常終了によって管理手段及び当該入出力手段の接続が切断された場合には、入出力手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段の異常終了時までに記憶部に記憶されたファイルの経過情報と、入出力手段の異常終了時に当該入出力手段によりクローズされた当該ファイルのクローズ情報とを、当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させ、管理手段の異常終了によって当該管理手段及び入出力手段の接続が切断された場合には、管理手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段によるデータの書き込み及び読み出しを停止させると共に、当該データのファイルをクローズさせ、さらに当該停止時までに記憶部に記憶された当該ファイルの経過情報を当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させ、管理手段及び入出力手段の両方の異常終了によって接続が切断された場合には、管理手段及び入出力手段の再起動後、直ちに管理手段及び入出力手段を再接続し、入出力手段の異常終了時までに記憶部に記憶されたファイルの経過情報を当該ファイルの現在の状態として管理手段に伝えて、当該管理手段にファイル管理情報を更新させることで、管理手段及び入出力手段を正常な動作に復帰させるようにした。 In the present invention, the data output control device, the data input-output control method for controlling input and output of the data to an external storage holding means for storing and holding the predetermined data as a file, to input and output data, data a plurality of output means of the output control device, the file to be stored and held in the storage holding means centrally managed by the file management information, the first connecting via the management unit and the network data input-output control unit And a second step in which the input / output unit writes data input from the outside to the storage holding unit and reads the data written to the storage holding unit and outputs the data to the outside under the management of the management unit If, when the normal operation returning means of the data input-output control apparatus is a failure in the connection management means and the output means occurs after failure recovery, immediately And a third step of restoring the physical means and output means in normal operation is provided, when in the second step, reading out the file as data from and memory retention means when writing data as a file in the storage holding means, Predetermined information for specifying a portion written or read up to now is stored in a predetermined storage unit as progress information of the file, and in the third step, a network connecting the management means and the input / output means If the connection between the management unit and the input / output unit is disconnected due to an abnormality in the network, the management unit and the input / output unit operate normally by reconnecting the management unit and the input / output unit immediately after the network is restored. If the connection between the management unit and the input / output unit is disconnected due to abnormal termination of the input / output unit, restart the input / output unit. After that, the management means and the input / output means were immediately reconnected, and the file progress information stored in the storage unit until the abnormal end of the input / output means and the input / output means were closed when the input / output means ended abnormally. The close information of the file is transmitted to the management means as the current state of the file, and the management means and the input / output means are returned to normal operation by causing the management means to update the file management information. If the connection between the management unit and the input / output unit is disconnected due to abnormal termination of the management unit, the management unit and the input / output unit are immediately reconnected after the management unit is restarted, and data is written and read by the input / output unit. In addition to stopping, the file of the data is closed, and the progress information of the file stored in the storage unit until the stop is displayed. The management means and the input / output means are returned to normal operation by transmitting the file management information to the management means as the current status, and the management means and the input / output means are returned to normal operation, and connected by abnormal termination of both the management means and the input / output means. Is disconnected, the management unit and the input / output unit are immediately reconnected after the restarting of the management unit and the input / output unit, and the progress information of the file stored in the storage unit until the abnormal termination of the input / output unit Is transmitted to the management means as the current state of the file, and the management means and the input / output means are returned to normal operation by causing the management means to update the file management information .
この結果このデータ入出力制御方法によれば、管理手段の管理のもとに複数の入出力手段の間でファイルを共有することができると共に、ネットワークに接続する入出力手段の数を増やすだけで同時に入出力し得るデータの数を増やすことができる。また障害が発生した場合にも、障害復旧後、直ちに正常に動作することができる。 As a result, according to this data input / output control method, a file can be shared among a plurality of input / output means under the management of the management means, and the number of input / output means connected to the network can be increased. The number of data that can be input / output simultaneously can be increased. Even when a failure occurs, it can operate normally immediately after the failure is recovered.
以上のように本発明によれば、データ入出力制御装置において、管理手段の管理のもとに複数の入出力手段の間でファイルを共有することができると共に、ネットワークに接続する入出力手段の数を増やすだけで同時に入出力し得るデータの数を増やすことができる。また障害が発生した場合にも、障害復旧後、直ちに正常に動作することができる。かくして容易に拡張し得るデータ入出力制御装置を実現できる。 As described above, according to the present invention, in the data input / output control device, a file can be shared among a plurality of input / output means under the management of the management means, and the input / output means connected to the network can be shared. By increasing the number, the number of data that can be input / output simultaneously can be increased. Even when a failure occurs, it can operate normally immediately after the failure is recovered. Thus, a data input / output control device that can be easily expanded can be realized.
また本発明によれば、データ入出力制御方法において、管理手段の管理のもとに複数の入出力手段の間でファイルを共有することができると共に、ネットワークに接続する入出力手段の数を増やすだけで同時に入出力し得るデータの数を増やすことができる。また障害が発生した場合にも、障害復旧後、直ちに正常に動作することができる。かくして容易に拡張し得るデータ入出力制御方法を実現できる。
According to the present invention, in the data input / output control method, a file can be shared among a plurality of input / output means under the management of the management means, and the number of input / output means connected to the network is increased. It is possible to increase the number of data that can be input / output simultaneously. Even when a failure occurs, it can operate normally immediately after the failure is recovered. Thus, a data input / output control method that can be easily expanded can be realized.
以下、図面について、本発明の一実施の形態を詳述する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
(1)本実施の形態によるビデオサーバシステムの構成
図1において、1は全体として本実施の形態によるビデオサーバシステムを示し、A/Vデータを入出力するための複数の入出力ポートを有すると共に当該A/Vデータの記録再生処理を行う複数の入出力装置21〜2n、当該A/VデータをA/Vファイルとして記録しておくためのRAID(Redundant Arrays of Independent Disks)構成でなるストレージ3及び当該A/Vファイルを一元的に管理するファイルマネージャ4から構成されており、ファイルマネージャ4と各入出力装置21〜2nとがイーサネット(登録商標)5を介してそれぞれ接続され、また各入出力装置21〜2nとストレージ3とが専用ケーブル6を介してそれぞれ接続されている。
(1) Configuration of Video Server System According to this Embodiment In FIG. 1,
このビデオサーバシステム1においては、A/Vデータの記録時、入出力装置21〜2nがA/Vデータの記録要求を外部から受信すると、当該A/Vデータを記録するためのA/Vファイルのファイル名及びオープンクローズ情報や、入出力ポートの使用状況といったファイルマネージャ4によって管理されるファイル管理情報を、ファイルマネージャ4と入出力装置21〜2nとがイーサネット(登録商標)5を介してやり取りするようになされている。
In the
そして、ビデオサーバシステム1においては、このファイル管理情報をもとに、入力ポートを介して入力されたA/Vデータに対して入出力装置21〜2nで所定のエンコード処理を施した後、これをA/Vファイルとしてストレージ3に記録するようになされている。
In the
また、A/Vデータの再生時、このビデオサーバシステム1においては、ファイルマネージャ4によって管理されるA/Vファイルのファイル管理情報を、ファイルマネージャ4と入出力装置21〜2nとがイーサネット(登録商標)5を介してやり取りし、当該ファイル管理情報をもとに、入出力装置21〜2nがストレージ3から所定のA/Vファイルを読み出し、これをデコードすることによりA/Vデータに変換して出力ポートから出力するようになされている。
Further, when A / V data is reproduced, in the
このように、このビデオサーバシステム1においては、各入出力装置21〜2nが扱うA/Vファイルのファイル管理情報を、各入出力装置21〜2nとイーサネット(登録商標)5を介して接続されたファイルマネージャ4が一元的に管理するようになされており、これにより当該ファイルマネージャ4の管理のもと、各入出力装置21〜2n間でA/Vファイルの共有が可能となり、またイーサネット(登録商標)5に接続する入出力装置21〜2nの数を増やすだけで容易に入出力ポートを増設することができる。
As described above, in this
(2)ファイルマネージャ及び入出力装置の構成
次に、入出力装置21〜2n及びファイルマネージャ4の構成について図2を用いて説明する。
(2) Configuration of File Manager and Input / Output Device Next, the configuration of the input / output devices 2 1 to 2 n and the file manager 4 will be described with reference to FIG.
入出力装置21〜2nは、ファイルマネージャ部10及びデータ処理部11によって構成されている。ここでファイルマネージャ部10は、CPU(Central Processing Unit)12と、後述する正常動作復帰処理プログラム等の各種プログラムが格納されたROM(Read Only Memory)13と、CPU12のワークエリアとして用いられるRAM(Random Access Memory)14と、入出力装置21〜2nで扱うA/Vファイルのファイル管理情報を記憶保持するための不揮発性メモリであるSRAM(Static Random Access Memory)15と、インターフェース部16及び17とがCPUバス18を介して接続されることにより構成されており、インターフェース部16を介してイーサネット(登録商標)5に接続されると共に、インターフェース部17を介してデータ処理部11と接続されている。
The input / output devices 2 1 to 2 n include a file manager unit 10 and a
データ処理部11は、図示しない外部機器から送られてくる所定のA/Vデータを入力するための入力ポートPI1〜PI3、及び図示しない外部機器へ所定のA/Vデータを出力するための出力ポートPO1〜PO3を有しており、ファイルマネージャ部10に接続されていると共に、ストレージ3に専用ケーブル6を介して接続されている。
The
一方、ファイルマネージャ4は、CPU20と、各入出力装置21〜2nで扱うA/Vファイルを管理するためのファイル管理情報や後述する正常動作復帰処理プログラム等の各種プログラムが格納されたハードディスク21と、CPU20のワークエリアとして用いられるRAM22と、インターフェース部23とがCPUバス24を介して接続されることにより構成されており、インターフェース部23を介してイーサネット(登録商標)5に接続されている。
On the other hand, the file manager 4 is a hard disk in which various programs such as file management information for managing A / V files handled by the
実際上、A/Vデータの記録時、ファイルマネージャ4は、所定のA/Vデータの記録要求を入出力装置21〜2nが外部から受信すると、入出力装置21〜2nに対して当該A/Vデータを記録するためのA/Vファイルのオープン情報を含んだファイル管理情報を送信する。
In practice, when recording the A / V data, file manager 4, recording request input and
入出力装置21〜2nは、ファイルマネージャ4から送信されたファイル管理情報を受信すると、まずこれをファイルマネージャ部10のSRAM15に記憶し、さらにデータ処理部11へ送出する。
When the input / output devices 2 1 to 2 n receive the file management information transmitted from the file manager 4, first, the input / output devices 2 1 to 2 n store the file management information in the
データ処理部11は、このファイル管理情報をもとに、ストレージ3に所定のA/Vファイルをオープンさせ、このとき例えば入力ポートPI1に入力されるA/Vデータに対して所定のエンコード処理を施しながら、これを当該A/Vファイルに記録していく。
Based on this file management information, the
このときデータ処理部11は、A/Vデータをどこまで記録したかというデュレーション情報を、逐一ファイルマネージャ部10に送出するようになされている。そして、ファイルマネージャ部10は、データ処理部11から送信されたデュレーション情報を逐一SRAM15に記録する。
At this time, the
その後、データ処理部11は、A/Vデータの記録が全て終了すると、当該A/Vデータを記録したA/Vファイルをクローズさせると共に、当該A/Vファイルのクローズ情報をファイルマネージャ部10に送出する。
Thereafter, when all the recording of the A / V data is completed, the
ファイルマネージャ部10は、データ処理部11からA/Vファイルのクローズ情報を受けとると、当該クローズ情報を含んだファイル管理情報をファイルマネージャ4に送信すると共に、当該A/Vファイルのファイル管理情報をSRAM15から削除する。
When the file manager unit 10 receives the close information of the A / V file from the
このようにファイルマネージャ4は、入出力装置21〜2nとA/Vファイルのオープン時及びクローズ時にファイル管理情報をやり取りすることにより、入出力装置21〜2nによってストレージ3に書き込まれるA/Vファイルを一元的に管理して入出力装置21〜2nにおけるA/Vデータの記録を制御するようになされている。 In this way, the file manager 4 writes the file management information to the storage 3 by the input / output devices 2 1 to 2 n by exchanging file management information with the input / output devices 2 1 to 2 n when the A / V file is opened and closed. A / V files are centrally managed to control recording of A / V data in the input / output devices 2 1 to 2 n .
また、A/Vデータの再生時、ファイルマネージャ4は、入出力装置21〜2nに対して所定のA/Vファイルをオープンさせるように、当該A/Vファイルのオープン情報を含んだファイル管理情報を入出力装置21〜2nに送信する。 Further, when reproducing the A / V data, the file manager 4 includes a file including open information of the A / V file so that the input / output devices 2 1 to 2 n open the predetermined A / V file. The management information is transmitted to the input / output devices 2 1 to 2 n .
そして、入出力装置21〜2nは、ファイルマネージャ4から送信されたファイル管理情報に基づいて、ストレージ3に記録された所定のA/Vファイルをオープンし、当該A/Vファイルに対してデコード処理を施しながら、これをA/Vデータに変換し、当該A/Vデータを例えば出力ポートPO1から出力していく。 The input / output devices 2 1 to 2 n open a predetermined A / V file recorded in the storage 3 based on the file management information transmitted from the file manager 4 and While performing the decoding process, this is converted into A / V data, and the A / V data is output from the output port PO1, for example.
この場合においても、データ処理部11は、ファイル管理情報をファイルマネージャ部10に逐一送出する。そしてファイルマネージャ部10は、データ処理部11から受け取ったファイル管理情報をSRAM15に逐一記憶する。
Even in this case, the
その後、データ処理部11は、A/Vデータの再生が全て終了すると、オープンしていたA/Vファイルをクローズさせると共に、当該A/Vファイルのクローズ情報をファイルマネージャ部10に送出する。
Thereafter, when the reproduction of the A / V data is completed, the
ファイルマネージャ部10は、データ処理部11からA/Vファイルのクローズ情報を受け取ると、当該クローズ情報を含んだファイル管理情報をファイルマネージャ4に送信すると共に、当該A/Vファイルのファイル管理情報をSRAM15から削除する。
When the file manager unit 10 receives the close information of the A / V file from the
このようにファイルマネージャ4は、入出力装置21〜2nとA/Vファイルのオープン時及びクローズ時にファイル管理情報をやり取りすることにより、入出力装置21〜2nによってストレージ3から読み出されるA/Vファイルを一元的に管理して入出力装置21〜2nにおけるA/Vデータの再生を制御するようになされている。 As described above, the file manager 4 reads the file management information from the storage 3 by the input / output devices 2 1 to 2 n by exchanging the file management information with the input / output devices 2 1 to 2 n when the A / V file is opened and closed. The A / V file is centrally managed to control the reproduction of A / V data in the input / output devices 2 1 to 2 n .
ところで、上述のようなビデオサーバシステム1においては、ファイルマネージャ4と各入出力装置21〜2nとがイーサネット(登録商標)5を介して分離されているので、ファイルマネージャ4と各入出力装置21〜2nとの接続に異常が発生した場合を考慮しておく必要がある。
By the way, in the
例えば、ファイルマネージャ4が異常終了してしまった場合、当該ファイルマネージャ4が再起動されるまで、当該ファイルマネージャ4と各入出力装置21〜2nとが接続できなくなってしまう。 For example, when the file manager 4 is abnormally terminated, the file manager 4 and the input / output devices 2 1 to 2 n cannot be connected until the file manager 4 is restarted.
このような障害(以下、これを接続障害と呼ぶ)が発生すると、一定期間ファイルマネージャ4と各入出力装置21〜2nとが通信できなくなり、その間、ファイルマネージャ4と各入出力装置21〜2nとがファイル管理情報をやり取りすることができなくなってしまう。 When such a failure (hereinafter referred to as a connection failure) occurs, the file manager 4 and each of the input / output devices 2 1 to 2 n cannot communicate with each other for a certain period. The file management information cannot be exchanged with 1 to 2n .
その結果、ファイルマネージャ4が管理しているファイル管理情報と各入出力装置21〜2nのファイルマネージャ部10が管理しているファイル管理情報(例えば、オープンクローズ情報)とが一致しなくなる場合があり、接続障害の復旧後においても、ビデオサーバシステム1が正常に動作し得ない恐れがある。
As a result, the file management information managed by the file manager 4 and the file management information (for example, open / close information) managed by the file manager unit 10 of each of the input / output devices 2 1 to 2 n do not match. There is a possibility that the
そこで、本発明のビデオサーバシステム1においては、このような接続障害が起きた場合にも、障害復旧後、直ちに正常に動作し得るように、正常動作復帰機能を有しており、当該正常動作復帰機能について、以下に説明する。
Therefore, in the
(3)正常動作復帰機能
このビデオサーバシステム1で起こり得る接続障害としては、ファイルマネージャ4及び入出力装置21〜2n間の通信路の異常(例えばイーサネット(登録商標)ケーブルが抜けてしまった場合)による接続障害、入出力装置21〜2nの異常終了による接続障害、ファイルマネージャ4の異常終了による接続障害、入出力装置21〜2n及びファイルマネージャ4の両方の異常終了による接続障害が考えられる。そしてこれらの接続障害が発生した場合、ファイルマネージャ4と入出力装置21〜2nとが、障害復旧まで通信できなくなってしまい、この結果、何ら障害対策が施されていなければ、障害復旧後に上述のような問題が生じる恐れがある。従って、本発明のビデオサーバシステム1においては、これらの接続障害に応じた正常動作復帰機能を有している。
(3) Function for returning to normal operation As a connection failure that may occur in the
(3−1)ファイルマネージャ4及び入出力装置21〜2n間の通信路の異常による接続障害時における正常動作復帰処理
まず、ファイルマネージャ4及び入出力装置21〜2n間の通信路の異常による接続障害の場合について説明する。
(3-1) Normal operation return processing at the time of connection failure due to abnormality of communication path between file manager 4 and input / output devices 2 1 to 2 n First, a communication path between file manager 4 and input / output devices 2 1 to 2 n A case of a connection failure due to an abnormality will be described.
この場合、ファイルマネージャ4及び入出力装置21〜2n自体は正常に動作しているので、障害復旧後、直ちに再接続するだけでよい。 In this case, since the file manager 4 and the input / output devices 2 1 to 2 n themselves are operating normally, it is only necessary to reconnect immediately after the failure recovery.
そこで、このビデオサーバシステム1においては、各入出力装置21〜2nのCPU12が、ファイルマネージャ4に対して、互いの接続を確認するためのコマンド(以下、これをハートビートコマンドと呼ぶ)を常に一定間隔で送信するようになされており、ファイルマネージャ4のCPU20が当該ハートビートコマンドを受信すると、これに対する応答コマンドを入出力装置21〜2nに対して返信するようになされている。
Therefore, in this
これにより、各入出力装置21〜2nのCPU12は、ファイルマネージャ4から応答コマンドが返信されてこない場合に、自身とファイルマネージャ4との接続が切断されたと認識することができる。一方、ファイルマネージャ4のCPU20は、各入出力装置21〜2nから一定期間内にハートビートコマンドが送信されてこない場合に、自身と各入出力装置21〜2nとの接続が切断されたと認識することができる。
Thereby, the
このようにして切断されたことを認識すると、入出力装置21〜2nのCPU12は、ファイルマネージャ4に対する接続処理を開始し、これにファイルマネージャ4のCPU20が応じることにより、各入出力装置21〜2nとファイルマネージャ4とが再接続される。
Upon recognizing the disconnection in this way, the
かくして、このビデオサーバシステム1においては、ファイルマネージャ4及び入出力装置21〜2n間の通信路の異常によって、ファイルマネージャ4と入出力装置21〜2nとの接続が切断されたとしても、障害復旧後、ただちに正常な動作に復帰することができる。
Thus, as this in the
(3−2)入出力装置21〜2nの異常終了による接続障害時における正常動作復帰処理
続いて、入出力装置21〜2nの異常終了による接続障害の場合について説明する。
(3-2) in the normal operation restoration process followed when a connection failure due to abnormal termination of the input-
ここで、入出力装置21〜2nがA/Vデータの記録又は再生処理中だったとすると、当該A/Vデータに対するA/Vファイルが入出力装置21〜2nでオープンされた状態である。この状態で入出力装置21〜2nが異常終了してしまった場合、入出力装置21〜2nは、A/Vデータの途中までしか記録又は再生できずに当該A/Vファイルをクローズしてしまうことになる。 Here, if the input / output devices 2 1 to 2 n are in the process of recording or reproducing A / V data, the A / V file corresponding to the A / V data is opened in the input / output devices 2 1 to 2 n. It is. In this state, if the input / output devices 2 1 to 2 n end abnormally, the input / output devices 2 1 to 2 n can only record or play back the A / V file until the middle of the A / V data. It will be closed.
一方、ファイルマネージャ4は、入出力装置21〜2nがA/Vファイルをオープンした時のファイル管理情報しか保持していないので、障害復旧後においても、入出力装置21〜2nがA/Vデータの記録又は再生処理中であり、当該A/Vデータに対するA/Vファイルがオープンされたままの状態であると認識している。 On the other hand, since the file manager 4 holds only file management information when the input / output devices 2 1 to 2 n open the A / V file, the input / output devices 2 1 to 2 n can be It is recognized that the A / V data is being recorded or reproduced, and the A / V file corresponding to the A / V data remains open.
従って、この場合、入出力装置21〜2nは、再起動されてファイルマネージャ4との接続を確認した後、異常終了するまでSRAM15に逐一記録しておいたA/Vファイルのデュレーション情報と、異常終了時にクローズしたA/Vファイルのクローズ情報を、ファイル管理情報としてファイルマネージャ4に送信するようになされている。
Therefore, in this case, after the input / output devices 2 1 to 2 n are restarted to confirm the connection with the file manager 4, the duration information of the A / V file recorded in the
そしてファイルマネージャ4は、障害復旧後に入出力装置21〜2nから送信されたファイル管理情報を最新のファイル管理情報として更新する。 Then, the file manager 4 updates the file management information transmitted from the input / output devices 2 1 to 2 n after the failure recovery as the latest file management information.
かくして、このビデオサーバシステム1においては、入出力装置21〜2nの異常終了によって、ファイルマネージャ4と入出力装置21〜2nとの接続が切断されたとしても、障害復旧後、それぞれのファイル管理情報を同期させることにより、ただちに正常な動作に復帰することができる。
Thus, in this
(3−3)ファイルマネージャ4の異常終了による接続障害時における正常動作復帰処理
次に、ファイルマネージャ4の異常終了による接続障害の場合について説明する。
(3-3) Normal Operation Return Processing at the Time of Connection Failure Due to Abnormal Termination of File Manager 4 Next, a case of a connection failure due to abnormal termination of the file manager 4 will be described.
ここで、入出力装置21〜2nがA/Vデータの記録又は再生処理中だったとすると、当該A/Vデータに対するA/Vファイルがストレージ3でオープンされた状態である。このときにファイルマネージャ4が異常終了してしまった場合、当該ファイルマネージャ4においては、再起動時に全てのA/Vファイルがクローズした状態であると認識してしまう。 Here, assuming that the input / output devices 2 1 to 2 n are in the process of recording or reproducing A / V data, the A / V file corresponding to the A / V data is opened in the storage 3. If the file manager 4 terminates abnormally at this time, the file manager 4 recognizes that all A / V files are closed at the time of restart.
従って、この場合、ファイルマネージャ4は、入出力装置21〜2nに対して再起動するように要求することにより、当該入出力装置21〜2nを再起動させて入出力装置21〜2nによるA/Vデータの記録又は再生処理を停止させると共に、当該A/Vデータに対するA/Vファイルをクローズさせる。そして、ファイルマネージャ4は、それまで入出力装置21〜2nのSRAM15に逐一記録されていたA/Vファイルのデュレーション情報を含んだファイル管理情報を、入出力装置21〜2nから受信し、当該ファイル管理情報を最新のファイル情報として更新する。
Therefore, in this case, the file manager 4, input-output device by requesting to restart against 2 1 to 2 n, the input-
一方、入出力装置21〜2nは、SRAM15に逐一記録していたファイル管理情報をファイルマネージャ4に送信した後、当該ファイル管理情報を初期化する。
On the other hand, the input / output devices 2 1 to 2 n initialize the file management information after transmitting the file management information recorded in the
かくして、このビデオサーバシステム1においては、ファイルマネージャ4の異常終了によって、ファイルマネージャ4と入出力装置21〜2nとの接続が切断されたとしても、障害復旧後、それぞれのファイル管理情報を同期させることにより、ただちに正常な動作に復帰することができる。
Thus, in this
(3−4)入出力装置21〜2n及びファイルマネージャ4の両方の異常終了による接続障害時における正常動作復帰処理
次に、入出力装置21〜2n及びファイルマネージャ4の両方の異常終了による接続障害の場合について説明する。
(3-4) input-
ここで、入出力装置21〜2nがA/Vデータの記録又は再生処理中だったとすると、当該A/Vデータに対するA/Vファイルがストレージ3でオープンされた状態である。この状態で入出力装置21〜2nが異常終了してしまった場合、入出力装置21〜2nは、A/Vデータの途中までしか記録又は再生できずに当該A/Vファイルをクローズしてしまうことになる。 Here, assuming that the input / output devices 2 1 to 2 n are in the process of recording or reproducing A / V data, the A / V file corresponding to the A / V data is opened in the storage 3. In this state, if the input / output devices 2 1 to 2 n end abnormally, the input / output devices 2 1 to 2 n can only record or play back the A / V file until the middle of the A / V data. It will be closed.
一方、ファイルマネージャ4も、異常終了後、再起動時に全てのA/Vファイルがクローズした状態であると認識する。 On the other hand, the file manager 4 also recognizes that all A / V files are closed upon restart after abnormal termination.
従って、この場合、入出力装置21〜2nは、再起動されてファイルマネージャ4との接続を確認した後、異常終了するまでSRAM15に逐一記録しておいたA/Vファイルのデュレーション情報を含んだファイル管理情報をファイルマネージャ4に送信するようになされている。
Therefore, in this case, after the input / output devices 2 1 to 2 n are restarted to confirm the connection with the file manager 4, the duration information of the A / V file recorded in the
そしてファイルマネージャ4は、障害復旧後に入出力装置21〜2nから送信されたファイル管理情報を最新のファイル管理情報として更新する。 Then, the file manager 4 updates the file management information transmitted from the input / output devices 2 1 to 2 n after the failure recovery as the latest file management information.
かくして、このビデオサーバシステム1においては、入出力装置21〜2n及びファイルマネージャ4の両方の異常終了によって、ファイルマネージャ4と入出力装置21〜2nとの接続が切断されたとしても、障害復旧後、それぞれのファイル管理情報を同期させることにより、ただちに正常な動作に復帰することができる。
Thus, in this
(4)正常動作復帰処理手順
ここで、上述のようなファイルマネージャ4と入出力装置21〜2nとの接続障害時における正常動作復帰処理は、図3、図4に示す入出力装置側の正常動作復帰処理手順RT1、RT2に従った入出力装置21〜2nのCPU12(図2)の制御、及び図5、図6に示すファイルマネージャ側の正常動作復帰処理手順RT3、RT4に従ったファイルマネージャ4のCPU20(図2)の制御のもとに行われる。
(4) Normal Operation Return Processing Procedure Here, normal operation return processing at the time of a connection failure between the file manager 4 and the input / output devices 2 1 to 2 n as described above is performed on the input / output device side shown in FIGS. Control of the CPU 12 (FIG. 2) of the input / output devices 2 1 to 2 n according to the normal operation return processing procedures RT1 and RT2, and the normal operation return processing procedures RT3 and RT4 on the file manager side shown in FIGS. This is performed under the control of the CPU 20 (FIG. 2) of the file manager 4.
まず、入出力装置21〜2nの起動時における正常動作復帰処理手順RT1について説明する。入出力装置21〜2nのCPU12は、起動されると、ROM13から正常動作復帰処理プログラムを読み出して正常動作復帰処理手順RT1をステップSP0において開始し、続くステップSP1において、ファイルマネージャ4に対して接続処理を開始する。このときCPU12は、ファイルマネージャ4に対して自身の固有番号(例えば入出力装置21なら「1」、入出力装置22なら「2」)等を含んだ認証コマンドを発行する。
First, the normal operation return processing procedure RT1 when the input / output devices 2 1 to 2 n are activated will be described. When activated, the
続いて、CPU12は、ステップSP2に進んで、ファイルマネージャ4との接続が完了したか否かを判断する。そしてCPU12は、このステップSP2において否定結果を得るとステップSP1に戻って再度ファイルマネージャ4に対する接続処理を開始し、これに対して肯定結果を得ると、ステップSP3に進んで、SRAM15に記録されるファイル管理情報の有無を確認する。
Subsequently, the
続いて、CPU12は、ステップSP4に進んで、SRAM15にファイル管理情報が存在したか否かを判断する。このステップSP4において否定結果を得ると、このことは、入出力装置21〜2nが初めて起動されたこと、あるいは前回動作時にA/Vデータの記録又は再生処理を実行していなかったことを意味しており、この場合、CPU12は、ステップSP6に進み起動時における正常動作復帰処理手順RT1を終了する。
Subsequently, the
これに対して肯定結果が得られると、このことは、入出力装置21〜2nが、前回動作時に、A/Vデータを記録又は再生処理中に異常終了したことを表しており、この場合、CPU12は、ステップSP5に進んで、SRAM15に記録されたデュレーション情報及びクローズ情報を含んだファイル管理情報をファイルマネージャ4に送信する。
If an affirmative result is obtained, this indicates that the input / output devices 2 1 to 2 n ended abnormally during the previous operation during recording or reproduction of A / V data. In this case, the
これにより、入出力装置21〜2n及びファイルマネージャ4のファイル管理情報を同期させることができる。 Thereby, the file management information of the input / output devices 2 1 to 2 n and the file manager 4 can be synchronized.
そして、CPU12は、ステップSP6に進んでこの入出力装置21〜2nの起動時における正常動作復帰処理手順RT1を終了する。
Then, the
ここで、CPU12は、起動時における正常動作復帰処理手順RT1を終了すると、定常状態となり、図4に示す定常状態時における正常動作復帰処理手順RT2を開始する。実際上、CPU12は、定常状態に移ると、この正常動作復帰処理手順RT2をステップSP10において開始し、続くステップSP11において、入出力装置21〜2nとファイルマネージャ4との接続が切断されたことを検出したか否かを判断する。
Here, when the normal operation return processing procedure RT1 at the time of activation ends, the
ここで、CPU12は、ファイルマネージャ4に対して送信したハートビートコマンドに対する応答がなかったときに、入出力装置21〜2nとファイルマネージャ4との接続が切断されたと認識するようになされている。
Here, the
このステップSP11においてCPU12は、肯定結果が得られるまで待ち受け、肯定結果を得ると、入出力装置21〜2nとファイルマネージャ4との接続が切断されたと認識し、ステップSP12に進んで、ファイルマネージャ4に対して再び接続処理を開始する。なお、このときのCPU12は、ファイルマネージャ4に対して、起動後2回目以上の接続処理であることを伝える必要がある。つまり起動後2回目以上の接続処理であるということは、入出力装置21〜2n自体は定常状態で正常に動作しており、ファイルマネージャ4の異常終了による接続障害、又は単なる入出力装置21〜2nとファイルマネージャ4との通信路の異常による接続障害によって接続が切断され、再度、接続処理を行ったことを表している。
In step SP11, the
従って、起動後2回目以上の接続処理である場合は、このとき発行する認証コマンドにフラグを追加することにより、入出力装置21〜2nが定常状態であることをファイルマネージャ4に伝え、この結果、当該ファイルマネージャ4が、ビデオサーバシステム1にどのような接続障害が発生したのかを認識することができる。
Therefore, in the case of connection processing for the second time or more after activation, a flag is added to the authentication command issued at this time to notify the file manager 4 that the input / output devices 2 1 to 2 n are in a steady state, As a result, the file manager 4 can recognize what kind of connection failure has occurred in the
すなわちファイルマネージャ4は、入出力装置21〜2nにおける自身に対する接続回数が1回の場合、入出力装置21〜2nが異常終了による再起動時であると認識し、このとき自身が異常終了による再起動時であれば、入出力装置21〜2n及びファイルマネージャ4の両方の異常終了による接続障害が発生したと認識し、自身が定常状態であれば、入出力装置21〜2nの異常終了による接続障害が発生したと認識する。 That file manager 4, if the connection count for himself in the input-output device 2 1 to 2 n is one, recognizes input and output devices 2 1 to 2 n are to be upon restart due to abnormal termination, the time itself When restarting due to abnormal termination, it is recognized that a connection failure has occurred due to abnormal termination of both the input / output devices 2 1 to 2 n and the file manager 4, and if the device itself is in a steady state, the input / output device 2 1 It recognizes that the connection failure has occurred due to abnormal termination of ~2 n.
また、ファイルマネージャ4は、入出力装置21〜2nにおける自身に対する接続回数が2回以上の場合、入出力装置21〜2nが定常状態であると認識し、このとき自身が異常終了による再起動時であれば、自身の異常終了による接続障害が発生したと認識し、自身が定常状態であれば、自身及び入出力装置21〜2n間の通信路の異常による接続障害が発生したと認識する。 The file manager 4 recognizes that the input / output devices 2 1 to 2 n are in a steady state when the number of connections to the input / output devices 2 1 to 2 n is two times or more, and then terminates abnormally. If it is restarted by, it is recognized that a connection failure due to its own abnormal termination has occurred, and if it is in a steady state, a connection failure due to an abnormality in the communication path between itself and the input / output devices 2 1 to 2 n Recognize that it occurred.
続いて、CPU12は、ステップSP13に進んで、ファイルマネージャ4との接続が完了したか否かを判断する。そしてCPU12は、このステップSP13において否定結果を得るとステップSP12に戻って再度ファイルマネージャ4に対する接続処理を開始し、これに対して肯定結果を得ると、ステップSP14に進んで、ファイルマネージャ4からの再起動要求が有ったか否かを判断する。
Subsequently, the
そして、CPU12は、このステップSP14において否定結果が得られると、ステップSP11に戻って再び切断の検出を待ち受け、これに対して肯定結果を得ると、このことは、ファイルマネージャ4が異常終了したために再起動を要求してきたことを表しており、ステップSP15に進んで入出力装置21〜2nを再起動させ、再び入出力装置21〜2nの起動時における正常動作復帰処理手順RT1(図3)へ移ると共に、この定常状態時における正常動作復帰処理手順RT2を終了する。
If a negative result is obtained in step SP14, the
以上で、入出力装置側の正常動作復帰処理手順RT1、RT2についての説明を終了する。 This is the end of the description of the normal operation return processing procedures RT1 and RT2 on the input / output device side.
次に、ファイルマネージャ4の起動時における正常動作復帰処理手順RT3について図5を用いて説明する。ファイルマネージャ4のCPU20は、起動されると、ハードディスク21から正常動作復帰処理プログラムを読み出して正常動作復帰処理手順RT3をステップSP20において開始し、続くステップSP21において、入出力装置21〜2nからの接続待ち状態となる。
Next, the normal operation return processing procedure RT3 when the file manager 4 is activated will be described with reference to FIG. When activated, the
続いて、CPU20は、ステップSP22に進んで、ファイルマネージャ4との接続が完了したか否かを判断する。そしてCPU20は、このステップSP22において否定結果を得るとステップSP21に戻って再度ファイルマネージャ4に対する接続処理を開始し、これに対して肯定結果を得ると、ステップSP23に進んで、入出力装置21〜2nの認証を行う。すなわち入出力装置21〜2nから発行された認証コマンドを解析する。
Subsequently, the
続いて、CPU20は、ステップSP24に進んで、認証コマンドにフラグが追加されていないか否かを判断する。このステップSP23において否定結果を得ると、このことは、入出力装置21〜2nは正常に動作しており、ファイルマネージャ4が異常終了したことを表しており、このときCPU20は、ステップSP25へ進んで、入出力装置21〜2nに対して再起動要求を行い、さらにステップSP21へ戻って、再び入出力装置21〜2nからの接続待ち状態となる。
Subsequently, the
これに対してステップSP24で肯定結果を得ると、このことは、ファイルマネージャ4及び入出力装置21〜2nが共に起動時であることを表しており、このときCPU20は、ステップSP26に進んでこのファイルマネージャ4の起動時におけるファイルマネージャ側正常動作復帰処理手順RT3を終了する。
On the other hand, if an affirmative result is obtained in step SP24, this indicates that both the file manager 4 and the input / output devices 2 1 to 2 n are starting up, and the
ここで、CPU20は、起動時における正常動作復帰処理手順RT3を終了した後、定常状態となり、図6に示す定常状態時における正常動作復帰処理手順RT4に移る。実際上、CPU20は、定常状態に移ると、この正常動作復帰処理手順RT4をステップSP30において開始し、続くステップSP31において、入出力装置21〜2nとファイルマネージャ4との接続の切断を検出したか否かを判断する。
Here, after completing the normal operation return processing procedure RT3 at the time of startup, the
ここで、CPU20は、入出力装置21〜2nからハートビートコマンドが送信されてこないときに、入出力装置21〜2nとファイルマネージャ4との接続が切断されたと認識するようになされている。
Here,
このステップSP31においてCPU20は、肯定結果が得られるまで待ち受け、肯定結果を得ると、ファイルマネージャ4と入出力装置21〜2nとの接続が切断されたと認識し、ステップSP32に進んで、再び入出力装置21〜2nからの接続待ち状態となる。
In step SP31, the
続いて、CPU20は、ステップSP33に進んで、入出力装置21〜2nとの接続が完了したか否かを判断する。そしてCPU20は、このステップSP33において否定結果を得るとステップSP32に戻って再度入出力装置21〜2nからの接続待ち状態となり、これに対して肯定結果を得ると、ステップS34に進んで、入出力装置21〜2nの認証を行う。そして、CPU20は、ステップSP31に戻って再び切断の検出を待ち受ける。
Subsequently, the
以上で、ファイルマネージャ側の正常動作復帰処理手順RT3、RT4についての説明を終了する。なお、実際上、ファイルマネージャ4は、各入出力装置21〜2nそれぞれに対して個別に上述の正常動作復帰処理を実行するようになされている。 This is the end of the description of the normal operation return processing procedures RT3 and RT4 on the file manager side. In practice, the file manager 4 is configured to individually execute the normal operation return process for each of the input / output devices 2 1 to 2 n .
(5)本実施の形態の動作及び効果
以上の構成において、このビデオサーバシステム1では、A/Vデータの記録モード時、入出力装置21〜2nにA/Vデータが入力されると、ファイルマネージャ4によって管理される当該A/Vデータを記録するためのA/Vファイルのファイル管理情報を、ファイルマネージャ4と入出力装置21〜2nとがイーサネット(登録商標)5を介してやり取りする。
(5) Operation and effect of the present embodiment In the above configuration, in the
そして、ビデオサーバシステム1では、このファイル管理情報をもとに、入力されたA/Vデータに対して入出力装置21〜2nで所定のエンコード処理を施した後、これをA/Vファイルとしてストレージ3に記録する。
In the
また、A/Vデータの再生モード時、ビデオサーバシステム1では、ファイルマネージャ4によって管理されるA/Vファイルのファイル管理情報を、ファイルマネージャ4と入出力装置21〜2nとがイーサネット(登録商標)5を介してやり取りし、当該ファイル管理情報をもとに、入出力装置21〜2nがストレージ3から所定のA/Vファイルを読み出し、これをデコードすることによりA/Vデータに変換して出力する。
In the A / V data playback mode, the
以上の構成によれば、このビデオサーバシステム1では、入出力装置21〜2nとイーサネット(登録商標)5を介して接続されたファイルマネージャ4が、ストレージ3に記録するA/Vファイルを一元的に管理するようにしたことにより、入出力装置21〜2n間でA/Vファイルを共有することができると共に、イーサネット(登録商標)5に接続する入出力装置21〜2nの数を増やすだけで入出力ポートを増設することができるので、容易に拡張することができる。
According to the above configuration, in this
またこのビデオサーバシステム1においては、ファイルマネージャ4と各入出力装置21〜2nとの間に接続障害が発生した場合には、ファイルマネージャ4と各入出力装置21〜2nとの接続回数をもとに、ファイルマネージャ4及び入出力装置21〜2n間の通信路の異常による接続障害、入出力装置21〜2nの異常終了による接続障害、ファイルマネージャ4の異常終了による接続障害、入出力装置21〜2n及びファイルマネージャ4の両方の異常終了による接続障害のうちのどの接続障害が発生したのかを判断し、これらの接続障害に応じた正常動作復帰処理を行う。
In this
このようにビデオサーバシステム1では、ファイルマネージャ4と入出力装置21〜2nとの間で接続障害が発生しても、当該接続障害に応じた正常動作復帰処理を行うことにより、障害復旧後、直ちにファイルマネージャ4及び入出力装置21〜2nを正常な動作に復帰させることができるので、信頼性を確保することができる。
As described above, in the
さらにこのビデオサーバシステム1においては、ファイルマネージャ4及び入出力装置21〜2nが正常に動作しているときにはA/Vファイルのオープン時及びクローズ時にのみファイル管理情報をやり取りするようにしたことにより、イーサネット(登録商標)5にかかる負荷を低減させることができる。
Furthermore, in this
(6)他の実施の形態
なお上述の実施の形態においては、A/VデータをA/Vファイルとして記憶保持するストレージ3に対するA/Vデータの入出力を制御するデータ入出力制御装置として、イーサネット(登録商標)5を介して接続されたファイルマネージャ4及び入出力装置21〜2nに本発明を適用するようにした場合について述べたが、本発明はこれに限らず、この他種々のデータの入出力を制御するファイルマネージャ及び入出力装置に広く適用することができる。
(6) Other Embodiments In the above-described embodiment, as a data input / output control device that controls input / output of A / V data to / from the storage 3 that stores and holds A / V data as A / V files, Although the case where the present invention is applied to the file manager 4 and the input / output devices 2 1 to 2 n connected via the Ethernet (registered trademark) 5 has been described, the present invention is not limited thereto, and various other types are also available. The present invention can be widely applied to file managers and input / output devices that control the input / output of data.
また上述の実施の形態においては、ファイルマネージャ4と入出力装置21〜2nとがネットワークとしてのイーサネット(登録商標)5を介して接続されている場合について述べたが、本発明はこれに限らず、他のネットワークを介してファイルマネージャ4と入出力装置21〜2nとが接続されるようにしてもよい。 In the above-described embodiment, the case where the file manager 4 and the input / output devices 2 1 to 2 n are connected via the Ethernet (registered trademark) 5 as a network has been described. Not limited to this, the file manager 4 and the input / output devices 2 1 to 2 n may be connected via another network.
さらに上述の実施の形態においては、入出力装置21〜2nが経過情報としてのデュレーション情報を含んだファイル管理情報を記憶しておくために、記憶部としてSRAM15を用いる場合について述べたが、本発明はこれに限らず、フラッシュメモリ等、この他種々の不揮発性メモリを用いるようにしてもよい。
Further, in the above-described embodiment, the case where the
さらに上述の実施の形態においては、入力されたA/VデータをA/Vファイルとしてストレージ3に記録し、また当該A/Vファイルを読み出して出力する入出力装置21〜2nを図2のように構成するようにした場合について述べたが、本発明はこれに限らず、この他種々の構成を広く適用することができる。 Further, in the above-described embodiment, the input / output devices 2 1 to 2 n that record the input A / V data as the A / V file in the storage 3 and read and output the A / V file are shown in FIG. Although the case where it comprised as mentioned above was described, this invention is not restricted to this, Various other structures can be applied widely.
さらに上述の実施の形態においては、ストレージ3に記録するA/Vファイルを一元的に管理するファイルマネージャ4を図2のように構成するようにした場合について述べたが、本発明はこれに限らず、この他の種々の構成を広く適用できる。 Furthermore, in the above-described embodiment, the case where the file manager 4 that centrally manages the A / V files recorded in the storage 3 is configured as shown in FIG. 2 is described, but the present invention is not limited to this. However, various other configurations can be widely applied.
さらに上述の実施の形態においては、A/Vファイルを記憶保持するストレージ3をRAIDによって構成するようにした場合について述べたが、本発明はこれに限らず、ストレージ3の構成としてはこの他種々の構成を広く適用することができる。 Further, in the above-described embodiment, the case where the storage 3 for storing and holding the A / V file is configured by RAID is described. However, the present invention is not limited to this, and various configurations of the storage 3 are possible. The configuration of can be widely applied.
さらに上述の実施の形態においては、記憶保持手段としてのストレージ3、正常動作復帰手段及び管理手段としてのファイルマネージャ4、正常動作復帰手段及び入出力手段としての入出力装置21〜2nによってビデオサーバシステム1を構成するようにした場合について述べたが、本発明はこれに限らず、この他の種々の記憶保持手段、管理手段及び正常動作復帰手段によりビデオサーバシステムを構成するようにしてもよい。
Further, in the above-described embodiment, the video is recorded by the storage 3 as the memory holding means, the file manager 4 as the normal operation return means and the management means, and the input / output devices 2 1 to 2 n as the normal operation return means and the input / output means. Although the case where the
本発明は、テレビジョン放送局で使用されるビデオサーバシステムに適用できる。 The present invention can be applied to a video server system used in a television broadcasting station.
1……ビデオサーバシステム、21〜2n……入出力装置、3……ストレージ、4……ファイルマネージャ、5……イーサネット(登録商標)、10……ファイルマネージャ部、11……データ処理部、12、20……CPU、15……SRAM。 1 ...... video server system, 2 1 to 2 n ...... input and output device, 3 ...... storage, 4 ...... file manager, 5 ...... Ethernet, 10 ...... file manager unit, 11 ...... data processing Part, 12, 20... CPU, 15... SRAM.
Claims (4)
上記記憶保持手段に記憶保持する上記ファイルをファイル管理情報により一元的に管理する管理手段と、
上記管理手段と所定のネットワークを介して接続し、上記管理手段の管理のもとに外部から入力されたデータをファイルとして上記記憶保持手段に書き込むと共に、上記記憶保持手段に書き込まれたファイルをデータとして読み出して外部に出力する複数の入出力手段と
上記管理手段及び上記入出力手段の接続に障害が発生したとき、障害復旧後、直ちに上記管理手段及び上記入出力手段を正常な動作に復帰させる正常動作復帰手段と
を具え、
上記入出力手段は、
上記記憶保持手段にデータをファイルとして書き込むとき及び上記記憶保持手段からファイルをデータとして読み出すときに、現在までに書き込み又は読み出された部分を特定するための所定情報を、当該ファイルの経過情報として所定の記憶部に記憶し、
上記正常動作復帰手段は、
上記管理手段及び上記入出力手段を接続する上記ネットワークの異常によって当該管理手段及び当該入出力手段の接続が切断された場合には、上記ネットワークの復旧後、直ちに上記管理手段及び上記入出力手段を再接続することで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記入出力手段の異常終了によって上記管理手段及び当該入出力手段の接続が切断された場合には、上記入出力手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段の異常終了時までに上記記憶部に記憶されたファイルの経過情報と、上記入出力手段の異常終了時に当該入出力手段によりクローズされた当該ファイルのクローズ情報とを、当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記管理手段の異常終了によって当該管理手段及び上記入出力手段の接続が切断された場合には、上記管理手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段による上記データの書き込み及び読み出しを停止させると共に、当該データのファイルをクローズさせ、さらに当該停止時までに上記記憶部に記憶された当該ファイルの経過情報を当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記管理手段及び上記入出力手段の両方の異常終了によって接続が切断された場合には、上記管理手段及び上記入出力手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段の異常終了時までに上記記憶部に記憶されたファイルの経過情報を当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させる
データ入出力制御装置。 In a data input / output control device for controlling input / output of the data to / from an external storage holding means for storing and holding predetermined data as a file,
Management means for centrally managing the file stored and held in the storage holding means by file management information ;
Connected to the management means via a predetermined network, and writes data input from the outside as a file to the storage holding means under the management of the management means, and the file written to the storage holding means to the data As a plurality of input / output means for reading out and outputting to the outside
A normal operation return means for returning the management means and the input / output means to normal operation immediately after the failure recovery when a failure occurs in the connection between the management means and the input / output means ;
The input / output means is
Predetermined information for identifying the portion written or read up to now is used as progress information of the file when writing data to the storage holding unit as a file and when reading the file as data from the storage holding unit. Memorize in a predetermined storage unit,
The normal operation return means is
When the connection between the management means and the input / output means is disconnected due to an abnormality in the network connecting the management means and the input / output means, the management means and the input / output means are immediately connected after the network is restored. By reconnecting, the management means and the input / output means are restored to normal operation,
If the connection between the management means and the input / output means is disconnected due to abnormal termination of the input / output means, immediately after the input / output means is restarted, reconnect the management means and the input / output means, and The progress information of the file stored in the storage unit up to the abnormal end of the input / output means and the close information of the file closed by the input / output means at the abnormal end of the input / output means The management means and the input / output means are returned to normal operation by transmitting the file management information to the management means as a state of
If the management means and the input / output means are disconnected due to abnormal termination of the management means, immediately after the management means is restarted, the management means and the input / output means are reconnected, and the input / output The writing and reading of the data by the means are stopped, the file of the data is closed, and the progress information of the file stored in the storage unit until the stop is set as the current state of the file. The management means and the input / output means to return to normal operation by updating the file management information to the management means,
If the connection is disconnected due to abnormal termination of both the management means and the input / output means, immediately after the restart of the management means and the input / output means, reconnect the management means and the input / output means, By transmitting the progress information of the file stored in the storage unit until the abnormal end of the input / output means to the management means as the current state of the file, and causing the management means to update the file management information, A data input / output control device for returning the management means and the input / output means to normal operation .
上記入出力手段からの上記管理手段に対する接続回数が2回目以上であれば、上記管理手段及び上記入出力手段を接続するネットワークの異常によって接続が切断されたか、もしくは上記管理手段の異常によって接続が切断されたと判別し、上記接続回数が1回目であれば、上記入出力手段の異常によって接続が切断されたか、もしくは上記管理手段及び上記入出力手段の両方の異常終了によって接続が切断されたと判別する
請求項1に記載のデータ入出力制御装置。 The normal operation return means is
If the number of connections from the input / output means to the management means is greater than or equal to the second time , the connection has been disconnected due to an abnormality in the network connecting the management means and the input / output means , or a connection has occurred due to an abnormality in the management means There were determined to have been cut, if the connection number of the first, or connected by abnormality of the output means is disconnected, or is connected by abnormal termination of both the management means and said output means cutting To determine
Data output control apparatus according to 請 Motomeko 1.
上記データを入出力する、上記データ入出力制御装置の複数の入出力手段が、上記記憶保持手段に記憶保持する上記ファイルをファイル管理情報により一元的に管理する、上記データ入出力制御装置の管理手段とネットワークを介して接続する第1のステップと、
上記入出力手段が、上記管理手段の管理のもとに、外部から入力された上記データを上記記憶保持手段に書き込むと共に、上記記憶保持手段に書き込まれた上記データを読み出して外部に出力する第2のステップと、
上記データ入出力制御装置の正常動作復帰手段が、上記管理手段及び上記入出力手段の接続に障害が発生したとき、障害復旧後、直ちに上記管理手段及び上記入出力手段を正常な動作に復帰させる第3のステップと
を具え、
上記第2のステップでは、
上記記憶保持手段にデータをファイルとして書き込むとき及び上記記憶保持手段からファイルをデータとして読み出すときに、現在までに書き込み又は読み出された部分を特定するための所定情報を、当該ファイルの経過情報として所定の記憶部に記憶し、
上記第3のステップでは、
上記管理手段及び上記入出力手段を接続する上記ネットワークの異常によって当該管理手段及び当該入出力手段の接続が切断された場合には、上記ネットワークの復旧後、直ちに上記管理手段及び上記入出力手段を再接続することで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記入出力手段の異常終了によって上記管理手段及び当該入出力手段の接続が切断された場合には、上記入出力手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段の異常終了時までに上記記憶部に記憶されたファイルの経過情報と、上記入出力手段の異常終了時に当該入出力手段によりクローズされた当該ファイルのクローズ情報とを、当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記管理手段の異常終了によって当該管理手段及び上記入出力手段の接続が切断された場合には、上記管理手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段による上記データの書き込み及び読み出しを停止させると共に、当該データのファイルをクローズさせ、さらに当該停止時までに上記記憶部に記憶された当該ファイルの経過情報を当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させ、
上記管理手段及び上記入出力手段の両方の異常終了によって接続が切断された場合には、上記管理手段及び上記入出力手段の再起動後、直ちに上記管理手段及び上記入出力手段を再接続し、上記入出力手段の異常終了時までに上記記憶部に記憶されたファイルの経過情報を当該ファイルの現在の状態として上記管理手段に伝えて、当該管理手段に上記ファイル管理情報を更新させることで、上記管理手段及び上記入出力手段を正常な動作に復帰させる
データ入出力制御方法。 In the data input / output control method in which the data input / output control device controls input / output of the data to / from an external storage holding means for storing and holding predetermined data as a file,
Management of the data input / output control device, wherein a plurality of input / output means of the data input / output control device for inputting / outputting the data centrally manages the files stored in the storage holding means by file management information a first step of connecting via the means and network,
The input / output means writes the data input from the outside to the storage holding means under the management of the management means, and reads the data written to the storage holding means and outputs the data to the outside. Two steps,
The normal operation return means of the data input / output control device returns the management means and the input / output means to normal operation immediately after recovery from the failure when a failure occurs in the connection between the management means and the input / output means. With a third step ,
In the second step,
Predetermined information for identifying the portion written or read up to now is used as progress information of the file when writing data to the storage holding unit as a file and when reading the file as data from the storage holding unit. Memorize in a predetermined storage unit,
In the third step,
When the connection between the management means and the input / output means is disconnected due to an abnormality in the network connecting the management means and the input / output means, the management means and the input / output means are immediately connected after the network is restored. By reconnecting, the management means and the input / output means are restored to normal operation,
If the connection between the management means and the input / output means is disconnected due to abnormal termination of the input / output means, immediately after the input / output means is restarted, reconnect the management means and the input / output means, and The progress information of the file stored in the storage unit up to the abnormal end of the input / output means and the close information of the file closed by the input / output means at the abnormal end of the input / output means To the management means as a state of the above, by causing the management means to update the file management information, to return the management means and the input / output means to normal operation,
If the management means and the input / output means are disconnected due to abnormal termination of the management means, immediately after the management means is restarted, the management means and the input / output means are reconnected, and the input / output The writing and reading of the data by the means are stopped, the file of the data is closed, and the progress information of the file stored in the storage unit until the stop is set as the current state of the file. The management means and the input / output means to return to normal operation by updating the file management information to the management means,
If the connection is disconnected due to abnormal termination of both the management means and the input / output means, immediately after the restart of the management means and the input / output means, reconnect the management means and the input / output means, By transmitting the progress information of the file stored in the storage unit until the abnormal end of the input / output means to the management means as the current state of the file, and causing the management means to update the file management information, A data input / output control method for returning the management means and the input / output means to normal operation .
上記入出力手段からの上記管理手段に対する接続回数が2回目以上であれば、上記管理手段及び上記入出力手段を接続するネットワークの異常によって接続が切断されたか、もしくは上記管理手段の異常によって接続が切断されたと判別し、上記接続回数が1回目であれば、上記入出力手段の異常によって接続が切断されたか、もしくは上記管理手段及び上記入出力手段の両方の異常終了によって接続が切断されたと判別する
請求項3に記載のデータ入出力制御方法。 In the third step,
If the number of connections from the input / output means to the management means is greater than or equal to the second time , the connection has been disconnected due to an abnormality in the network connecting the management means and the input / output means , or a connection has occurred due to an abnormality in the management means There were determined to have been cut, if the connection number of the first, or connected by abnormality of the output means is disconnected, or is connected by abnormal termination of both the management means and said output means cutting It is determined that
Data input-output control method according to 請 Motomeko 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003291856A JP4385280B2 (en) | 2003-08-11 | 2003-08-11 | Data input / output control apparatus and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003291856A JP4385280B2 (en) | 2003-08-11 | 2003-08-11 | Data input / output control apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005063122A JP2005063122A (en) | 2005-03-10 |
| JP4385280B2 true JP4385280B2 (en) | 2009-12-16 |
Family
ID=34369386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003291856A Expired - Lifetime JP4385280B2 (en) | 2003-08-11 | 2003-08-11 | Data input / output control apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4385280B2 (en) |
-
2003
- 2003-08-11 JP JP2003291856A patent/JP4385280B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005063122A (en) | 2005-03-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6363462B1 (en) | Storage controller providing automatic retention and deletion of synchronous back-up data | |
| US7624134B2 (en) | Enabling access to remote storage for use with a backup program | |
| JP4319017B2 (en) | Storage system control method, storage system, and storage device | |
| JP3769190B2 (en) | Method and apparatus for cascading data through redundant data storage units | |
| CN109688434B (en) | Offline court hearing processing method, device, terminal, system and storage medium | |
| JP2005525668A (en) | Hard disk drive system, method and apparatus using such a system | |
| JP2009217484A (en) | Remote copy system and check method | |
| JP4385280B2 (en) | Data input / output control apparatus and method | |
| JP2008140142A (en) | Information processing system | |
| JP2005108176A (en) | Method for saving operation history in network communication device | |
| CN101454835B (en) | Image recording and reproducing device | |
| JP4433185B2 (en) | Data collection method and apparatus | |
| JP2626381B2 (en) | Air conditioner | |
| JP2008219445A (en) | Customized memory management system and method for maintenance | |
| CN102420844A (en) | Storage processing device and failover control method | |
| JP5007645B2 (en) | Recording system | |
| CN119046249B (en) | A mirror file processing method, system and product | |
| JP4721057B2 (en) | Data management system, data management method, and data management program | |
| JP3859894B2 (en) | Device control command processing system and method | |
| US8549221B2 (en) | RAID management apparatus, RAID management method, and computer product | |
| CN119766509A (en) | Client data transmission method for security authentication | |
| JP4374509B2 (en) | DATA RECORDING / REPRODUCING DEVICE AND SETTING DATA PROCESSING METHOD IN DATA RECORDING / REPRODUCING DEVICE | |
| JP4694409B2 (en) | Communication device | |
| JP4212502B2 (en) | Disk array system | |
| JP2009251889A (en) | Server apparatus and software introduction method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060623 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090409 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090416 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090615 |
|
| 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: 20090903 |
|
| 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: 20090916 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121009 Year of fee payment: 3 |