Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3799205B2 - Data recording / reproducing apparatus and data recording / reproducing method - Google Patents
[go: Go Back, main page]

JP3799205B2 - Data recording / reproducing apparatus and data recording / reproducing method - Google Patents

Data recording / reproducing apparatus and data recording / reproducing method Download PDF

Info

Publication number
JP3799205B2
JP3799205B2 JP36182499A JP36182499A JP3799205B2 JP 3799205 B2 JP3799205 B2 JP 3799205B2 JP 36182499 A JP36182499 A JP 36182499A JP 36182499 A JP36182499 A JP 36182499A JP 3799205 B2 JP3799205 B2 JP 3799205B2
Authority
JP
Japan
Prior art keywords
data
hard disk
period
video
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP36182499A
Other languages
Japanese (ja)
Other versions
JP2000173191A (en
Inventor
洋介 関
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP36182499A priority Critical patent/JP3799205B2/en
Publication of JP2000173191A publication Critical patent/JP2000173191A/en
Application granted granted Critical
Publication of JP3799205B2 publication Critical patent/JP3799205B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、データ記録再生装置及びデータ記録再生方法に関し、例えば記録媒体としてディスク状記録媒体を有するオーディオ及び/又はビデオサーバシステムにおいて、メディアユニットの記録媒体から情報信号を再生して端末装置に配信するシステムに適用して好適なものである。
【0002】
【従来の技術】
放送局等に配設された1つの映像音声供給源から、複数の端末装置にそれぞれ映像信号及び音声信号を供給する装置としてオーディオ・ビデオサーバシステム(以下AVサーバシステムと呼ぶ)が提案されている。このAVサーバシステムの構成として、複数のディスク装置が内蔵されたメディアユニットに映像及び音声信号をストアしておき、選択された映像信号及び音声信号をこのメディアユニットから端末装置に配信する構成が提案されている。
【0003】
【発明が解決しようとする課題】
ところで、このようなAVサーバシステムにおいて、各端末装置に対して途切れることなく映像信号を送信する必要がある。このため、AVサーバシステムのメディアユニットは、各端末装置に対して常に一定のデータ量の映像信号を供給できるように、ディスク装置内のディスク状記録媒体から映像及び音声信号を再生する。
【0004】
ここで、ディスク状記録媒体から映像及び音声信号を再生するディスク装置について説明する。ここでは、ディスク装置としてハードディスク装置を用いた場合について説明する。
【0005】
ハードディスク装置は、円盤状磁気記録媒体であるハードディスクを回転させ、記録再生ヘッドによって映像及び音声信号をハードディスク上に記録すると共に、このハードディスク上から再生する構成となっている。このとき、記録再生ヘッドは一般に1つなので、この記録再生ヘッドによるハードディスク上の映像及び音声信号へのアクセスはシーケンシャルに行われる。
【0006】
また、記録再生ヘッドは機械的に動作するので、記録再生ヘッドのアクセス位置を大幅に変えるとき、即ち、所謂シーク時には、連続する位置を記録再生ヘッドによってアクセスする場合と比較して、アクセス時間が長くかかる。また、記録再生ヘッドの移動後も、選択された映像及び音声信号の記録された位置が記録再生ヘッドの位置に到達するまでにある時間を要する。これを回転待ち時間という。
【0007】
ここで、上述したAVサーバシステムに用いられるディスク装置のように、各端末装置に常に一定のデータ量の映像及び音声信号を供給する必要のある場合には、シーク、回転待ち、データ出力までを含めた合計アクセス時間を考慮した上で、映像及び音声信号を連続的に出力するための能力が要求される。
【0008】
また、AVサーバシステムにおいては、ハードディスクから読み出されるデータは映像及び音声信号であるため、リアルタイム性が要求される。例えば、1つの端末装置に対して、1秒間に128〔kByte 〕の再生映像及び音声信号を供給し続けなければ、映像が途切れてしまう。したがって、12の端末装置に途切れることなく映像及び音声信号を供給するためには、送出チャンネル数を12とすると、1秒間に128〔kByte 〕*12〔チャンネル〕=1536〔kByte 〕の映像及び音声信号をハードディスクから再生する必要がある。
【0009】
また、ハードディスク装置は機械的に動作するので、発生頻度は低いが、場合によっては予期しない動作をすることがある。例えば、ハードディスクの所定円周上にヘッドを動かして映像及び音声信号をアクセスするときに、各部材の温度による伸縮や、機械的な誤差から記録再生ヘッドの位置がずれてしまい、映像及び音声信号を正しく読み取れない場合がある。この場合、ハードディスク装置は、記録再生ヘッドの位置を補正し、再びアクセスを行う。通常は、このアクセス動作を繰り返すうちに正しい映像及び音声信号が読み取れるようになる。
【0010】
ところが、このような動作を行うと、特に回転待ち時間が長くなり、アクセス速度が低下する。このため、各チャンネルに再生データを供給しているときに、1秒間以内、より具体的には、制御系におけるオーバヘッド時間を考慮して例えば950[ミリ秒]以内で読み出さなければならない所定データ量の映像及び音声信号のブロックを、例えば1.3[秒]かかって再生したとすると、次の映像及び音声信号のブロックの再生が間に合わず、端末装置に供給する映像及び音声信号が途切れるといった問題点がある。
【0011】
本発明は以上の点を考慮してなされたもので、複数のチャンネルに映像信号を途切れることなく供給することができるデータ記録再生装置及びデータ記録再生方法を提供しようとするものである。
【0012】
【課題を解決するための手段】
かかる課題を解決するため本発明においては、映像及び音声データを含むデータを記録再生する複数のディスク装置と、複数のディスク装置に接続された複数の入出力手段と、データをブロック単位で順番に複数の入出力手段から複数のディスク装置に入力させると共に、あるディスク装置が、第1の期間に対応したデータを読み出す際に当該第1の期間を越えてデータを出力したとき、第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すように、入出力手段を制御する制御手段とを設けるようにした。
【0013】
また本発明においては、映像及び音声データを含むデータをブロック単位で順番に複数のディスク装置に記録する第1のステップと、第1のステップで記録されたデータを複数のディスク装置から読み出す第2のステップとを設け、第2のステップでは、第1の期間に対応したデータを読み出す際に当該第1の期間を越えてあるディスク装置からデータが読み出されたとき、第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すようにした。
【0014】
第1の期間に対応したデータを読み出す際に当該第1の期間を越えてディスク装置からデータが読み出されたとき、第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すようにして、この読み飛ばしたデータを前後のブロックのデータ等から誤り訂正して出力させることにより、データの供給が遅れないようにしてリアルタイム性を確保することができる。
【0015】
【発明の実施の形態】
本発明のデータ記録再生装置の一実施例について、図1から図9を参照しながら説明する。
【0016】
まず、本発明のデータ記録再生装置を適用したオーディオ・ビデオサーバシステム(以下AVサーバシステムと呼ぶ)20の一実施例について図1を参照しながら説明する。再生機能付のビデオテープレコーダ21でなるデータ供給源22から出力される映像及び音声データD20がエンコード部23のエンコーダ24に供給される。
【0017】
エンコーダ24は、供給された映像及び音声データD20を、例えばMPEG2の規格に従った圧縮アルゴリズムで圧縮符号化することにより、符号化された映像及び音声データD21を形成する。このエンコーダ24において符号化された符号化映像及び音声データD21はサーバ部25に供給される。
【0018】
サーバ部25は、メディア制御部26及び複数のメディアユニット27A1〜27A7により構成されている。そして、エンコーダ24において符号化された符号化映像及び音声データD21がメディア制御部26に供給される。各メディアユニット27A1〜27A7は夫々複数のハードディスク装置を内蔵している。
【0019】
サーバ部25のメディア制御部26は、入力された符号化映像及び音声データD21を、コントロール部28から制御線S1を介して供給される書込制御信号に応答して、メディアユニット27A1〜27A7のいずれかのメディアユニットに供給する。また、メディア制御部26は、制御装置29から制御線S2を介して供給される再生制御信号に応じて、メディアユニット27A1〜27A7内のハードディスク装置を駆動してハードディスクから所望の符号化映像及び音声データを再生する。
【0020】
また、メディア制御部26にはデコーダ部35が内蔵されており(図2)、ハードディスク装置によって再生された符号化映像及び音声データを復号する。さらにメディア制御部26はデータ配信機能を有し、エラーコードデコーダ34及びデコーダ部35によって復号された映像及び音声データD22を、制御装置29から制御線S2を介して供給された配信制御信号に従って、例えばテレビジョン受像機を有する端末装置28A1〜28A12に選択的に供給する。
【0021】
尚、このAVサーバシステム20においては、エンコーダ24の符号化動作及びデータ供給源22の再生動作は、夫々制御線S3及びS4を介してコントロール部28から供給される制御信号によって制御される。また、コントロール部28は、エンコーダ24の動作状態及びデータ供給源22の動作状態を、夫々制御線S3及びS4を介して供給される動作状態通知信号に基づいて監視する。さらに、コントロール部28は、メディア制御部26の動作状態を、制御線S1を介して供給される動作状態通知信号に基づいて監視する。さらに、コントロール部28に対する動作開始や動作終了等の制御は、制御線S5を介して、制御装置29によって行われる。
【0022】
次にサーバ部25の構成について図2を参照しながら説明する。尚、説明を簡略化するため、ここでは、図1に示される各メディアユニット27A1〜27A7のうちのメディアユニット27A1内のハードディスク装置群に符号化映像及び音声データを記録すると共に、これらのハードディスク装置から符号化映像及び音声データを再生する場合を例にとって説明する。
【0023】
まず、図1に示されるエンコーダ24から供給される符号化映像及び音声データD21をサーバ部25内のメディアユニット27A1内のハードディスク装置271〜276にてハードディスクに記録するときの動作について説明する。
【0024】
エンコーダ24から出力される符号化映像及び音声データD21はエンコーダインターフェース30を介してエラーコードエンコーダ31に供給される。エラーコードエンコーダ31は、符号化映像及び音声データD21を所定データ量、例えば5バイト毎に5分割し、5分割されて形成された各1バイトのデータブロックを信号線S22を介して順次入出力部32A、32B及び32Cに供給する。
【0025】
例えば、5分割された各1バイトのデータブロックの先頭のデータブロック及び2番目のデータブロックが入出力部32Aに供給され、第3番目のデータブロック及び第4番目のデータブロックが入出力部32Bに供給され、第5番目のデータブロックが入出力部32Cに供給される。また、エラーコードエンコーダ31は、この5分割されたデータから誤り訂正符号を生成し、入出力部32Cに供給する。この誤り訂正符号としては、例えば、XORコードが用いられる。
【0026】
メディア制御部26のメインCPU33は、コントロール部28から制御線S1を介して書き込み制御信号が供給され、この制御信号に応答して、符号化映像及び音声信号と誤り訂正符号をハードディスク装置271〜276に記録するための制御信号を制御線S6を介して入出力部32A〜32Cに供給する。
【0027】
ここで、入出力部32A〜32Cの構成について図3を参照しながら説明する。入出力部32A〜32Cは互いに同じ構成となっているので、図3には、入出力部32Aの構成についてのみ示されている。
【0028】
メインCPU33から制御線S6を介して供給される制御信号はCPU44に供給される。また、エラーコードエンコーダ31からの上述した先頭のデータブロック及び第2番目のデータブロックが、信号線S22を介して、夫々ダブルバッファ構成となっているバッファメモリ40及び41に夫々供給される。
【0029】
CPU44は、制御線S6を介して制御信号が供給されると、制御線S11を介して読出信号を与えることによりバッファメモリ40に記憶された先頭のデータブロックをハードディスク装置271に供給させると共に、制御線S12を介して読出信号を与えることによりバッファメモリ41に記憶された第2番目のデータブロックをハードディスク装置272に供給させるように、インターフェース42及び43に対して制御線S8を介して制御信号を供給する。
【0030】
これにより、インターフェース42は上述した先頭のデータブロックをバッファメモリ40から読み出してハードディスク装置271に供給し、ハードディスク装置271によってハードディスク上に記録させる。また、インターフェース43は上述した第2番目のデータブロックをバッファメモリ41から読み出してハードディスク装置272に供給し、ハードディスク装置272によってハードディスク上に記録させる。
【0031】
尚、記録時の入出力部32Bの構成及び動作は、上述した先頭のデータブロック及び第2番目のデータブロックが夫々第3番目、第4番目のデータブロックに置き替わる点を除いて、入出力部32Aの構成及び動作と同様である。また、記録時の入出力部32Cの構成及び動作は、上述した先頭のデータブロック及び第2番目のデータブロックが夫々第5番目のデータブロック及び誤り訂正符号データに置き換わる点を除いて、入出力部32Aの構成及び動作と同様である。
【0032】
このようにして、入出力部32A〜32Cは、エラーコードエンコーダ31から供給された符号化映像及び音声データをハードディスク装置271〜275に記録させることができ、また、誤り訂正符号データをハードディスク装置276に記録させることができる。この結果、ハードディスク装置271〜275は符号化映像及び音声データ記録再生用のハードディスク装置として機能すると共に、ハードディスク装置276は誤り訂正符号データ記録再生用のハードディスク装置として機能する。
【0033】
上述のようにして各ハードディスク装置271〜276において各ハードディスク上に各データブロック及び誤り訂正符号データを記録したときの各データブロック及び誤り訂正符号データの各ハードディスク上での位置関係について図4(A)から図4(F)を参照しながら説明する。
【0034】
まず、ハードディスク装置271においてハードディスク上に符号化映像及び音声データが記録されたときの各データブロックの配置を図4(A)を参照して説明する。符号化映像及び音声データは所定データ量、例えば5バイト毎に5分割され、5分割された各1バイトのデータブロックの先頭のデータブロックがハードディスク装置271に供給され、ハードディスクの空きトラック上に連続して記録される。
【0035】
したがって、分割された各データブロックに通し番号を付して各ブロックを識別すると、ハードディスク装置271内のハードディスクには、図4(A)に示されるように、データブロック1、6、11、16、21、26、31……が連続して記録される。これらのデータブロック1、6、11、16、21、26、31……は何れも5分割された各1バイトのデータブロックの先頭のデータブロックである。
【0036】
また、ハードディスク装置272内のハードディスクには、図4(B)に示されるように、データブロック2、7、12、17、22、27、32……が連続して記録される。これらのデータブロック2、7、12、17、22、27、32……は何れも5分割された各1バイトのデータブロックの第2番目のデータブロックである。
【0037】
また、ハードディスク装置273内のハードディスクには、図4(C)に示されるように、データブロック3、8、13、18、23、28、33……が連続して記録される。これらのデータブロック3、8、13、18、23、28、33……は何れも5分割された各1バイトのデータブロックの第3番目のデータブロックである。
【0038】
また、ハードディスク装置274内のハードディスクには、図4(D)に示されるように、データブロック4、9、14、19、24、29、34……が連続して記録される。これらのデータブロック4、9、14、19、24、29、34……は何れも5分割された各1バイトのデータブロックの第4番目のデータブロックである。
【0039】
また、ハードディスク装置275内のハードディスクには、図4(E)に示されるように、データブロック5、10、15、20、25、30、35……が連続して記録される。これらのデータブロック5、10、15、20、25、30、35……は何れも5分割された各1バイトのデータブロックの第5番目のデータブロックである。
【0040】
また、ハードディスク装置276内のハードディスクには、図4(F)に示されるように、データブロック1、2、3、4、5、対して生成された誤り訂正符号データP1、データブロック6、7、8、9、10に対して生成された誤り訂正符号データP2 、データブロック11、12、13、14、15に対して生成された誤り訂正符号データP3 、データブロック16、17、18、19、20に対して生成された誤り訂正符号データP4 、データブロック21、22、23、24、25に対して生成された誤り訂正符号データP5 、データブロック26、27、28、29、30に対して生成された誤り訂正符号データP6、データブロック31、32、33、34、35に対して生成された誤り訂正符号データP7……が連続して記録される。
【0041】
次に、図2に示される各ハードディスク装置271〜276内のハードディスクへの記録フォーマットについて、図5を参照しながら説明する。このハードディスクには、その外周側から内周側に向かって次の領域が割り当てられる。フォーマット方式についての識別データが記録されるID領域、ハードディスク上に記録された各情報データの記録開始セクタのアドレスと各情報データの大きさについてのデータが記録されるフォーマット領域、符号化された映像及び音声データが記録される情報データ領域、及びディスクの管理情報や符号化された映像及び音声データの管理情報であるクリップ情報データが記録されるコントロールデータ領域が割り当てられる。
【0042】
さらに、このコントロールデータ領域は次の領域に分割される。クリップ情報の登録情報データが記録されるシステム情報領域、各クリップ情報データが記録されるファイル情報領域、符号化された映像及び音声データ、並びに誤り訂正符号データのハードディスク上の記録位置をクラスタ単位で管理するためのデータが記録されるファイル・アロケーション・テーブル(File Allocation Table )領域に分割される。尚、予約領域とは、拡張用として確保されている領域である。
【0043】
また、容量が例えば2.15〔Gbyte 〕のハードディスクの記録フォーマットを図5に示されるように選定したときに、各領域に割り当てられるセクタ数の一例を図6に示す。
【0044】
次に、図2に示されるハードディスク装置271〜276から符号化映像及び音声データを再生して、復号後の映像及び音声データを各端末装置に供給するときの動作について説明する。
【0045】
図1に示される各端末装置28A1〜28A12は、夫々受信したい映像及び音声データについての要求データを通信回線S20を介して制御装置29に送信する。制御装置29は、各端末装置から要求された映像及び音声データを夫々各端末装置に配信するための再生制御信号を制御線S2を介してサーバ部25内のメディア制御部26に供給する。このメディア制御部26に供給された再生制御信号はメディア制御部26内のメインCPU33(図2)に供給される。メインCPU33は、この再生制御信号に基づいて、要求された映像及び音声データ並びに誤り訂正符号データを各ハードディスクから再生するための制御信号を制御線S6を介して入出力部32A〜32C内のCPU44(図3)に夫々供給する。
【0046】
そして、入出力部32A〜32Cは、メインCPU33から供給された再生のための制御信号に基づいて各ハードディスクから、要求された映像及び音声データ、並びに誤り訂正符号データを再生する。ここでは、説明を簡略化するために、入出力部32Aについて、その再生動作を図3を参照しながら説明する。
【0047】
まず、CPU44は、符号化された映像及び音声データ並びに誤り訂正符号データのハードディスク上における記録位置をクラスタ単位で管理するためのデータ及びハードディスク上に記録された各情報データの記録開始セクタのアドレスと各情報データの大きさについてのデータとを、インターフェース42又は43を介して各ハードディスクから読み出し、FATメモリ47に記憶させる。
【0048】
次に、CPU44は、要求された符号化映像及び音声データ並びに誤り訂正符号データのハードディスク上における記録位置を、FATメモリ47に記憶されているデータを参照して求め、この記録位置から符号化映像及び音声データ並びに誤り訂正符号データが再生されるように、インターフェース42及び43に制御線S8を介して夫々制御信号を供給する。
【0049】
インターフェース42及び43は、要求された符号化映像及び音声データが夫々ハードディスクから読み出されるように、CPU44からの制御信号に基づいてハードディスク装置271、272の動作を制御する。これにより、例えば、今回要求された符号化映像及び音声データ並びに誤り訂正符号データが図4(A)から図4(F)であるとしたときに、ハードディスク装置271は図4(A)に示されるデータブロック1、6、11、16、21、26、31……を連続して再生し、ハードディスク装置272は図4(B)に示されるデータブロック2、7、12、17、22、27、32……を連続して再生する。
【0050】
各ハードディスク装置271、272によって再生されたデータブロック1、6、11、16、21、26、31……及びデータブロック2、7、12、17、22、27、32……は夫々バッファメモリ40及びバッファメモリ41に供給され、一旦記憶された後に、信号線S30を介して、図2に示されるメディア制御部内のエラーコードデコーダ34に供給される。
【0051】
バッファメモリ40及びバッファメモリ41からのデータの読出しは、CPU44から制御線S11又は制御線S12を介して供給される制御信号に基づいて行われる。または、バッファメモリ40及びバッファメモリ41からのデータの読出しは、図示されてないが、エラーコードデコーダ34からバッファメモリ40及び41に供給される読出制御信号に基づいて行われる。
同様にして、ハードディスク装置273は、入出力部32Bの制御の下で、図4(C)に示されるデータブロック3、8、13、18、23、28、33……を連続して再生する。また、ハードディスク装置274は、入出力部32Bの制御の下で、図4(D)に示されるデータブロック4、9、14、19、24、29、34……を連続して再生する。
【0052】
また、ハードディスク装置275は、入出力部32Cの制御の下で、図4(E)に示されるデータブロック5、10、15、20、25、30、35……を連続して再生する。また、ハードディスク装置276は、入出力部32Cの制御の下で、図4(F)に示される誤り訂正符号データP1、P2、P3、P4、P5、P6、P7、……を連続して再生する。
【0053】
これら各ハードディスク装置273〜276において再生されたデータブロック3、8、13、18、23、28、33……、4、9、14、19、24、29、34……、5、10、15、20、25、30、35……、及び誤り訂正符号データP1、P2、P3、P4、P5、P6、P7、……は、夫々バッファメモリのうちの一方(又は他方)に一旦記憶された後に、図2に示されるメディア制御部内のエラーコードデコーダ34に供給される。
【0054】
エラーコードデコーダ34は、入出力部32Aから32Cから供給されたデータブロック1、2、3、4、5に対して誤り訂正符号データP1を用いて誤り訂正処理を施す。また、エラーコードデコーダ34は、入出力部32Aから32Cから供給されたデータブロック6、7、8、9、10に対して誤り訂正符号データP2 を用いて誤り訂正処理を施す。また、エラーコードデコーダ34は、データブロック11、12、13、14、15に対して誤り訂正符号データP3 を用いて誤り訂正処理を施す。また、エラーコードデコーダ34は、データブロック16、17、18、19、20に対して誤り訂正符号データP4 を用いて誤り訂正処理を施す。
【0055】
また、エラーコードデコーダ34は、データブロック21、22、23、24、25に対して誤り訂正符号データP5 を用いて誤り訂正処理を施す。また、エラーコードデコーダ34は、データブロック26、27、28、29、30に対して誤り訂正符号データP6 を用いて誤り訂正処理を施す。また、エラーコードデコーダ34は、データブロック31、32、33、34、35に対して生成された誤り訂正符号データP7 を用いて誤り訂正処理を施す。
【0056】
エラーコードデコーダ34は、このようにして誤り訂正処理が施された各データブロックをブロック番号順に出力すると共に、メインCPU33から制御線S9を介して供給される送信先を示す指示信号に基づいて各デコーダ35A〜35Lのうちの指定されたデコーダに供給する。
【0057】
ここで、上述の誤り訂正符号は、5つのデータブロックのうちの4つのデータブロックのデータから残りの1つのデータブロックの各データを復元する能力がある。したがって、ハードディスク装置271〜276のうちの何れか1つのハードディスク装置が何らかの理由によって正常な再生動作を行わなくなっても、他の4つのハードディスク装置から供給されるデータブロックの各データとハードディスク装置276から再生される誤り訂正符号データとによって、再生動作しなくなったハードディスク装置から再生されるべきデータをエラーコードデコーダ34内で復元することができる。
ところで、例えば、端末装置28A1が映像及び音声データAの受信要求を制御装置29に送信し、端末装置28A2が映像及び音声データAとは別の映像及び音声データBの受信要求を制御装置29に送信し、さらに、端末装置28A3が映像及び音声データA及びBとは別の映像及び音声データCの受信要求を制御装置29に送信した場合について、サーバ部25の再生動作について説明する。
【0058】
端末装置28A1、端末装置28A2及び、端末装置28A3は、夫々受信したい映像及び音声データA、映像及び音声データB及び、映像及び音声データCについての要求データを通信回線S20を介して制御装置29に送信する。制御装置29は、端末装置28A1、端末装置28A2及び、端末装置28A3から夫々要求された映像及び音声データA、映像及び音声データB及び、映像及び音声データCを夫々端末装置28A1、端末装置28A2及び、端末装置28A3に配信するための再生制御信号を制御線S2を介してサーバ部25内のメディア制御部26に供給する。
【0059】
このメディア制御部26に供給された再生制御信号はメディア制御部26内のメインCPU33に供給される。メインCPU33は、この再生制御信号に基づいて、要求された映像及び音声データA、B及びC並びにこれらのデータの誤り訂正符号データを各ハードディスクから再生するための制御信号を、制御線S6を介して入出力部32A〜32C内のCPU44に夫々供給する。
【0060】
CPU44は、図3に示されるように、符号化された複数種類の映像及び音声データ並びに誤り訂正符号データのハードディスク上における各記録位置をクラスタ単位で管理するためのデータ及びハードディスク上に記録された各情報データの記録開始セクタのアドレスと各情報データの大きさについてのデータを、各ハードディスクから読み出し、FATメモリ47に記憶させる。
【0061】
次に、CPU44は、要求された各符号化映像及び音声データ並びに誤り訂正符号データのハードディスク上における記録位置を、FATメモリ47に記憶されているデータを参照して求め、この記録位置から各符号化映像及び音声データ並びに誤り訂正符号データが再生されるように、インターフェース42及び43に、制御線S8を介して、夫々制御信号を供給する。
【0062】
インターフェース42及び43は、要求された各符号化映像及び音声データ並びに誤り訂正符号データが夫々ハードディスクから読み出されるように、CPU44から制御線S8を介して供給される制御信号に基づいてハードディスク装置271〜276の動作を制御する。これにより、ハードディスク装置271〜276から読み出された各符号化映像及び音声データ並びに誤り訂正符号データが、時分割でバッファメモリ40及びバッファメモリ41のうちの一方(又は他方)に供給されて一旦記憶された後に、図2に示されるメディア制御部内のエラーコードデコーダ34に時分割で供給される。
【0063】
エラーコードデコーダ34は、入出力部32Aから32Cから供給された各符号化映像及び音声データに対して夫々誤り訂正符号データを用いて誤り訂正処理を施す。エラーコードデコーダ34は、このようにして誤り訂正処理が施された各データブロックを各符号化映像及び音声データの種類毎にブロック番号順に出力すると共に、メインCPU33から供給される送信先を示す指示信号に基づいて、符号化映像及び音声データAをデコーダ35Aに供給し、符号化映像及び音声データBをデコーダ35Bに供給し、符号化映像及び音声データCをデコーダ35Cに供給する。
【0064】
各デコーダ35A、35B及び35Cは、夫々、供給された符号化映像及び音声データに対して復号及び伸長処理を施し、夫々連続したリアルタイムの映像及び音声データを夫々端末装置28A1、端末装置28A2及び端末装置28A3に配信する。
【0065】
ハードディスク装置271〜276から読み出された各符号化映像及び音声データ並びに誤り訂正符号データは、時分割でバッファメモリ40及びバッファメモリ41のうちの一方(又は他方)に供給されて一旦記憶された後に、図2に示されるメディア制御部26内のエラーコードデコーダ34に時分割で供給され、エラーコードデコーダ34において誤り訂正処理が施さた後に各デコーダ35A、35B及び35Cに分配されるが、各デコーダ35A、35B及び35Cにおいて各符号化映像及び音声データは復号及び伸長処理が施されるので、ここで、夫々連続したリアルタイムの映像及び音声データとなる。
【0066】
また、符号化映像及び音声データA、符号化映像及び音声データB及び、符号化映像及び音声データCは、互いにハードディスク上に混在して記録されている。したがって、ハードディスクからこれらの符号化映像及び音声データA、B及びCを再生するときに、ハードディスク装置の記録再生ヘッドの動きを最小限にして、アクセス時間を短くするためには、例えば、この記録再生ヘッドが、ハードディスクの外周側から内周側に規則正しく移動するように、符号化映像及び音声データA、B及びCの再生順序を選定することが望ましい。
【0067】
この再生順序を選定するために、図3に示されるソーティング回路45が用いられる。CPU44は、要求された各符号化映像及び音声データ並びに誤り訂正符号データのハードディスク上における記録位置を、FATメモリ47に記憶されているデータを参照して求め、この記録位置を示すデータをソーティング回路45に供給する。ソーティング回路45は、この記録位置を示すデータを、例えば、ハードディスクの外周側の位置を示すデータから内周側の位置を示すデータに並び換えて、CPU44に供給する。
【0068】
CPU44は、この並び換えられたデータに従って、各符号化映像及び音声データ並びに誤り訂正符号データが再生されるように、インターフェース42及び43に制御線S8を介して夫々制御信号を供給する。これにより、記録再生ヘッドが、ハードディスクの外周側から内周側に規則正しく移動しながら、符号化映像及び音声データ並びに誤り訂正符号データA、B及び、Cを再生することができる。
【0069】
また、本実施例のサーバ部25においては、以下に述べるようして、ハードディスク装置からデコーダ部35への符号化映像及び音声データの供給を所定期間以上遅延させることなく行うことができるようになされている。
【0070】
サーバ部25は、各端末装置28A1〜28A12から映像及び音声データの読出し要求があると、所定数のデータブロック例えば、128000*12/5=307200ブロックを1つの読出ブロックとしてまとめて各ハードディスクから読み出す。この307200のデータブロックが各ハードディスク装置により1秒間以内に各ハードディスクから読み出されることにより、12の端末装置に互いに異なる映像及び音声信号を連続的に供給することができる。そして、通常この307200のデータブロックをハードディスクから読出すのにかかる時間が950[ミリ秒]以内となるように、各ハードディスク装置の再生能力が設定されている。
【0071】
このとき入出力部32A、32B及び32CのCPU44は、夫々、ハードディスク装置によって、ハードディスクから現在再生されている再生ブロック(n)(nは正の整数)のデータの読出しが、所定時間内、例えば950[ミリ秒]以内で終了したかどうかを、次の再生ブロック(n+1)の再生が指定されたタイミング、例えば再生開始から2〔秒〕後に開始したかどうかを判別することにより、間接的に監視する。
【0072】
尚、図7(A)から図7(C)において、斜線で示される各領域Rは夫々余裕時間であり、この時間は、再生ブロックの切換制御を行うときに必要なオーバヘッド時間に相当し、この実施例では、50[ミリ秒]間である。したがって、再生ブロック(n)の再生に950[ミリ秒]以上かかると、再生ブロック(n+1)は、所定のタイミングからの再生開始ができなくなる。
【0073】
このデータの読出しが、所定時間内、例えば950[ミリ秒]以内で終了している場合のハードディスクからの各再生ブロックの読出動作について、図7(A)を参照しながら説明する。この場合、全ての再生ブロックn、n+1、n+2、n+3……の読出しは、950[ミリ秒]以内で終了しており、したがって、全ての再生ブロックn、n+1、n+2、n+3……が順次ハードディスク装置によって、ハードディスクから再生される。図7(A)に示される各再生ブロックは、図4(A)に示されるデータブロックを307200だけまとめたもので構成される。
【0074】
次に、例えば、ハードディスクの再生ブロックnが記録されている円周上にヘッドを動かして符号化映像及び音声データをアクセスするときに、各部材の温度による伸縮や、機械的な誤差から記録再生ヘッドの位置がずれてしまい、再生ブロックnの符号化映像及び音声データを正しく読み取れず、記録再生ヘッドの位置を補正して再びアクセスするといった動作を行い、例えば1.3[秒]かかって再生ブロックnの再生が終了した場合について、そのハードディスクからの各再生ブロックの読出動作を、図7(B)を参照しながら説明する。
【0075】
この場合、再生ブロックnの読出しが、1.3[秒]かかっているので、再生ブロックnの次の再生ブロックn+1は、指定されている読出しタイミングよりも0.3[秒]遅れたタイミングで読出しが開始される。そのため、この再生ブロックn+1の読出終了タイミングも指定されたタイミング、例えば、再生動作の開始から2[秒]の時点を過ぎてしまい、その結果再生ブロックn+2の再生タイミングも指定されたタイミング、例えば、再生動作の開始から2[秒]の時点を過ぎてしまう。同様に、このタイミングの遅れは、これ以降の幾つかの再生ブロックの再生タイミングにまで悪影響をおよぼす。
【0076】
このタイミングの遅れは、端末装置への連続的な映像及び音声データを供給するといったことを不可能にするおそれがある。即ち、このタイミングの遅れにより、このハードディスクから再生される符号化映像及び音声データは復号の対象とはならず、そのため、他の4つのハードディスクから夫々再生される再生ブロックの符号化映像及び音声データより、誤り訂正符号データを用いて復元され、端末装置に供給されるために、直接的には、映像及び音声データの中断を引き起こさないが、他の4つのハードディスクから再生される再生ブロックのうちのどれか1つの再生ブロックの中の符号化映像及び音声データ中に誤りが生じた場合には、符号化映像及び音声データの復元が不可能となり、映像及び音声データの中断が生じる。
【0077】
このように、再生タイミングの遅れさえなければ、有効な符号化映像及び音声データとして再生されているのに、再生タイミングが遅れているというだけでこの符号化映像及び音声データは無効になる。したがって、この遅れにより、端末装置に供給する映像及び音声データに中断を引き起こす可能性が高くなる。即ち、この実施例で使用している誤り訂正符号の訂正能力は、5つのデータブロックのうちの1つのデータブロックが欠けても、残りの4つのデータブロックから、欠けたデータブロックのデータを復元できるものであり、遅延により1つのデータブロックが複数の再生ブロックに相当する期間に渡って常時無効となる場合には、他の4つのデータブロックのうちの1つにでも符号化映像及び音声データにエラーが生じると、そのエラーが直接的に映像及び音声データの中断につながる。
【0078】
次に、本実施例における再生動作について、図7(C)を参照しながら説明する。この図7(C)には、例えば図7(B)で説明したのと同じ理由により、再生ブロックnの読出しに1.3[秒]かかった例が示されている。再生ブロックnの読出時間が950[ミリ秒]以上かかっているので、そのハードディスク装置によって、同じハードディスク上から次に読み出す予定となっている再生ブロック(n+1)のデータを読み出さずに、さらにその次に読み出す予定となっている再生ブロック(n+2)のデータが指定されたタイミング、例えば再生動作開始から2[秒]の時点から読み出されるように、CPU44がこのハードディスクの読出動作を制御する。
【0079】
そして、この読み出されなかった再生ブロック(n+1)のデータは、他の4つのハードディスク装置によって読み出された4つのデータブロック及び誤り訂正符号データから、エラーコードデコーダ34によって上述した誤り訂正処理を用いて復元されて、デコーダ部35の所定のデコーダに供給される。
【0080】
この結果、ハードディスク装置による再生ブロック(n+2)以降の読出開始のタイミングが指定されたタイミングから遅れることがなく、端末装置に供給する映像及び音声データに中断を引き起こす可能性が図7(B)を参照して説明した再生動作を行う場合に比較して低くなる。
【0081】
次に、メディア制御部26のメインCPU33の動作の一例を図8に示されるフローチャートを参照しながら説明する。
【0082】
メインCPU33はステップSP0でその動作を開始する。メインCPU33は、ステップSP1において、各端末装置から要求された映像及び音声データを夫々各端末装置に配信するための再生制御信号が制御線S2を介して制御装置29から供給されるまで待機し、再生制御信号が制御装置29から供給されるとステップSP2に進む。
【0083】
メインCPU33は、ステップSP2において、この再生制御信号に基づいて、要求された符号化映像及び音声データ並びに誤り訂正符号データを各ハードディスクから再生するための制御信号を各再生ブロック毎に、データアクセスコマンドとして、制御線S6を介して、入出力部32A〜32C内のCPU44に夫々供給する。
【0084】
メインCPU33は、ステップSP3において、入出力部32A〜32C内のCPU44へのデータアクセスコマンドの供給が終了したかどうかを判別し、否定結果「NO」が得られたときにはステップSP1に戻り、肯定結果「YES」が得られたときにはステップSP4に進み、再生終了指示を入出力部32A〜32C内のCPU44に供給し、ステップSP5に進み、一連の処理を終了する。次に、入出力部32A〜32C内のCPU44の動作の一例を図9に示されるフローチャートを参照しながら説明する。
【0085】
CPU44はステップSP10でその動作を開始する。CPU44は、ステップSP11において、メインCPU33から上述したデータアクセスコマンドを受信し、このデータアクセスコマンドの内容を図示しない内部メモリに記憶させると共に、このデータアクセスコマンドの受信時間をタイマ46(図3)に記憶させる。このデータアクセスコマンドの各々は、要求された符号化映像及び音声データ並びに誤り訂正符号データの各再生ブロックの各々に対応している。この各データアクセスコマンドは、対応する各再生ブロックの種類及び再生開始タイミング等を示す。
【0086】
CPU44は、ステップSP12において、データアクセスコマンドの各コマンド内容を待機状態とし、ステップSP13に進む。CPU44は、ステップSP13において、タイマ46から供給される経過時間データを参照し、受付終了時間かどうか、例えば、タイマ46から供給される経過時間データが200[ミリ秒]を超えたかどうかを判別し、受付終了時間になってないときには、ステップSP11に戻り、メインCPU33からさらに次のデータアクセスコマンドを受け入れる。
【0087】
一方、最初のデータアクセスコマンドを受信してから例えば200[ミリ秒]を超え受付終了時間になったと判別されたときには、次のステップSP14に進む。このようにCPU44は、受付終了時間まで、ステップSP11からステップSP13を繰り返すことにより、複数のデータアクセスコマンドを記憶するようになされている。
【0088】
CPU44は、ステップSP14において、待機中のデータアクセスコマンドの中で、このデータアクセスコマンドによって示される再生開始タイミングが既に過ぎているコマンドがあるかどうかを判別する。このステップSP14で肯定結果「YES」が得られると、CPU44は、ステップSP21に進み、再生開始タイミングが既に過ぎているデータアクセスコマンドを削除することをメインCPU33に伝えると共に、このデータアクセスコマンドを内部メモリから削除する。そして、再び、ステップSP14に戻る。
【0089】
ステップSP14で否定結果「NO」が得られると、CPU44はステップSP15に進み、各データアクセスコマンドによって示される再生ブロックの記録位置を示すデータをFATメモリ47から取り出してこれら記録位置を示すデータをソーティング回路45に供給する。ソーティング回路45は、供給された複数の記録位置を示すデータを、シーク時間が最小となるように、例えば、ハードディスクの外周側から内周側に向けて、並べ換える。
【0090】
次にCPU44は、ステップSP16において、ソーティング回路45において並べ換えられた記録位置を示すデータ及び再生開始タイミングを示すデータに基づいて、最外周に位置する符号化映像及び音声データ並びに誤り訂正符号データがハードディスクから読み出されるようにハードディスク装置を制御する。
【0091】
CPU44は、ステップSP17において、ステップSP16において実行されたデータアクセスコマンドを内部メモリから削除する。
【0092】
次に、CPU44は、ステップSP18において、内部メモリ内に待機中のデータアクセスコマンドがあるかどうかを判別する。このステップSP18において否定結果「NO」が得られたときCPU44はステップSP14に戻るのに対して、肯定結果「YES」が得られたときにはステップSP19に進む。
【0093】
ステップSP19において、メインCPU33は、当該CPU33から再生終了指示が供給されたかどうかを判別し、否定結果「NO」が得られたときには、ステップSP11に戻る。また、ステップSP19にて肯定結果「YES」が得られたときにはステップSP20に進んで一連の処理を終了する。
【0094】
このようにして、サーバ部25は、各端末装置28A1〜28A12からの要求に応じて、要求された映像及び音声データを夫々要求のあった端末装置に途切れることなく供給することができる。
【0095】
尚、上述の実施例においては、ハードディスクを使用した場合について述べたが、ディスク装置としては光磁気ディスク装置や光ディスク装置を用いても良い。
【0096】
また、本発明のデータ記録再生装置及びデータ記録再生方法は、主要な構成としてサーバ部25のみを有するAVサーバにも適用できる。
【0097】
さらに、本発明のデータ記録再生装置及びデータ記録再生方法はAVサーバシステム以外のシステムにも適用されることができる。
【0098】
さらに、図1のデータ供給源22は、ビデオテープレコーダで構成されたが、データ供給源22としてはこれに限らず、ビデオディスク等の種々の記録手段を適用できる。
【0099】
【発明の効果】
上述のように本発明によれば、第1の期間に対応したデータを読み出す際に当該第1の期間を越えてディスク装置からデータが読み出されたとき、第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すようにして、この読み飛ばしたデータを前後のブロックのデータ等から誤り訂正して出力させることにより、データの供給が遅れないようにしてリアルタイム性を確保することができ、かくして複数のチャンネルに映像信号を途切れることなく供給することができるデータ記録再生装置及びデータ記録再生方法を実現し得る。
【図面の簡単な説明】
【図1】図1は、本発明のデータ記録再生装置を適用したAVサーバシステムの一実施例を示すブロック図である。
【図2】図2は、図1に示されるAVサーバシステムのサーバ部の一実施例を示すブロック図である。
【図3】図3は、図2に示されるサーバ部の入出力部の一実施例を示すブロック図である。
【図4】図4(A)乃至図4(F)は、図1に示されるAVサーバシステムにおける映像及び音声データの記録位置の一実施例を説明するための略線図である。
【図5】図5は、図1に示されるAVサーバシステムにおける記録媒体上の記録フォーマットの一例を示す略線図である。
【図6】図6は、図5に示される記録フォーマットの各領域へのセクタの割り当ての一例を示す略線図である。
【図7】図7(A)乃至図7(C)は、本発明のデータ記録再生装置の動作を説明するための略線図である。
【図8】図8は、図2に示されるサーバ部のメインCPUの動作の一実施例を示すフローチャートである。
【図9】図9は、図3に示される入出力部のCPUの動作の一実施例を示すフローチャートである。
【符号の説明】
20……オーディオ・ビデオサーバシステム、21……ビデオテープレコーダ、22……データ供給源、23……エンコード部、24……エンコーダ部、25……サーバ部、26……メディア制御部、27A1〜27A7……メディアユニット、28……コントロール部、29……制御装置、35……デコーダ部、34……エラーコードデコーダ、35……デコーダ、28A1〜28A12……端末装置、271〜276……ハードディスク装置、30……エンコーダインターフェース、31……エラーコードエンコーダ、32A〜32C……入出力部、33……メインCPU、44……CPU、40、41……バッファメモリ、42、43インターフェース、47……FATメモリ、35A〜35L……デコーダ、46……タイマ、45……ソーティング回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data recording / reproducing apparatus and a data recording / reproducing method. For example, in an audio and / or video server system having a disk-shaped recording medium as a recording medium, an information signal is reproduced from a recording medium of a media unit and distributed to a terminal device. Therefore, the present invention is suitable for application to a system.
[0002]
[Prior art]
An audio / video server system (hereinafter referred to as an AV server system) has been proposed as a device for supplying video signals and audio signals to a plurality of terminal devices from a single video / audio supply source provided in a broadcasting station or the like. . As a configuration of this AV server system, a configuration is proposed in which video and audio signals are stored in a media unit incorporating a plurality of disk devices, and the selected video and audio signals are distributed from the media unit to a terminal device. Has been.
[0003]
[Problems to be solved by the invention]
By the way, in such an AV server system, it is necessary to transmit a video signal to each terminal device without interruption. For this reason, the media unit of the AV server system reproduces video and audio signals from the disc-shaped recording medium in the disc device so that a video signal having a fixed amount of data can be always supplied to each terminal device.
[0004]
Here, a disk device for reproducing video and audio signals from a disk-shaped recording medium will be described. Here, a case where a hard disk device is used as the disk device will be described.
[0005]
The hard disk device is configured to rotate a hard disk, which is a disk-shaped magnetic recording medium, and to record video and audio signals on the hard disk by a recording / reproducing head and to reproduce from the hard disk. At this time, since there is generally one recording / reproducing head, access to video and audio signals on the hard disk by this recording / reproducing head is performed sequentially.
[0006]
Further, since the recording / reproducing head operates mechanically, the access time is changed when the access position of the recording / reproducing head is significantly changed, that is, when the so-called seek is performed, as compared with the case where the continuous position is accessed by the recording / reproducing head. It takes a long time. Further, even after the recording / reproducing head is moved, a certain time is required until the recording position of the selected video and audio signal reaches the position of the recording / reproducing head. This is called rotation waiting time.
[0007]
Here, like the disk device used in the AV server system described above, when it is necessary to always supply a video and audio signal of a certain amount of data to each terminal device, seek, wait for rotation, and data output. In consideration of the total access time included, the ability to output video and audio signals continuously is required.
[0008]
In the AV server system, the data read from the hard disk is video and audio signals, so real-time performance is required. For example, unless a playback video and audio signal of 128 [kByte] per second is continuously supplied to one terminal device, the video is interrupted. Therefore, to supply video and audio signals to 12 terminal devices without interruption, assuming that the number of transmission channels is 12, video and audio of 128 [kByte] * 12 [channels] = 1536 [kByte] per second. The signal needs to be played back from the hard disk.
[0009]
Further, since the hard disk device operates mechanically, the frequency of occurrence is low, but in some cases, an unexpected operation may occur. For example, when accessing a video and audio signal by moving the head on a predetermined circumference of the hard disk, the position of the recording / reproducing head is shifted due to expansion and contraction due to the temperature of each member or mechanical error, and the video and audio signal May not be read correctly. In this case, the hard disk device corrects the position of the recording / reproducing head and accesses again. Normally, correct video and audio signals can be read while repeating this access operation.
[0010]
However, when such an operation is performed, the rotation waiting time becomes particularly long, and the access speed decreases. For this reason, when reproducing data is supplied to each channel, a predetermined amount of data that must be read within one second, more specifically within 950 [milliseconds] in consideration of the overhead time in the control system. If a video and audio signal block is played back in 1.3 [seconds], for example, the next video and audio signal block cannot be played back in time, and the video and audio signal supplied to the terminal device is interrupted. There is a point.
[0011]
The present invention has been made in consideration of the above points, and an object of the present invention is to provide a data recording / reproducing apparatus and a data recording / reproducing method capable of supplying video signals to a plurality of channels without interruption.
[0012]
[Means for Solving the Problems]
In order to solve such a problem, in the present invention, a plurality of disk devices for recording and reproducing data including video and audio data, a plurality of input / output means connected to the plurality of disk devices, and the data in block units in order. When a plurality of input / output means inputs data to a plurality of disk devices, and a certain disk device outputs data exceeding the first period when reading data corresponding to the first period, the first period The input / output means is controlled so that the data corresponding to the third period following the second period is read from the beginning of the third period without reading the data corresponding to the second period following the second period. And control means to provide.
[0013]
Further, in the present invention, a first step of recording data including video and audio data in order on a block basis on a plurality of disk devices, and a second step of reading data recorded at the first step from the plurality of disk devices. In the second step, when data corresponding to the first period is read, when data is read from a disk device that exceeds the first period, The data corresponding to the second period is not read, and the data corresponding to the third period subsequent to the second period is read from the beginning of the third period.
[0014]
When data corresponding to the first period is read out, the data corresponding to the second period following the first period is not read when the data is read from the disk device beyond the first period. The data corresponding to the third period subsequent to the second period is read from the beginning of the third period, and the skipped data is error-corrected from the data of the preceding and succeeding blocks and output. As a result, real-time performance can be ensured without delaying the supply of data.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the data recording / reproducing apparatus of the present invention will be described with reference to FIGS.
[0016]
First, an embodiment of an audio / video server system (hereinafter referred to as an AV server system) 20 to which the data recording / reproducing apparatus of the present invention is applied will be described with reference to FIG. Video and audio data D20 output from a data supply source 22 composed of a video tape recorder 21 with a playback function is supplied to the encoder 24 of the encoding unit 23.
[0017]
The encoder 24 compresses and encodes the supplied video and audio data D20 using, for example, a compression algorithm according to the MPEG2 standard, thereby forming encoded video and audio data D21. The encoded video and audio data D21 encoded by the encoder 24 is supplied to the server unit 25.
[0018]
The server unit 25 includes a media control unit 26 and a plurality of media units 27A1 to 27A7. Then, the encoded video and audio data D21 encoded by the encoder 24 are supplied to the media control unit 26. Each of the media units 27A1 to 27A7 includes a plurality of hard disk devices.
[0019]
The media control unit 26 of the server unit 25 responds to the write control signal supplied from the control unit 28 via the control line S1 to the input encoded video and audio data D21 in the media units 27A1 to 27A7. Supply to any media unit. In addition, the media control unit 26 drives the hard disk devices in the media units 27A1 to 27A7 in accordance with the reproduction control signal supplied from the control device 29 via the control line S2, and performs desired encoded video and audio from the hard disk. Play the data.
[0020]
The media control unit 26 has a built-in decoder unit 35 (FIG. 2), and decodes encoded video and audio data reproduced by the hard disk device. Further, the media control unit 26 has a data distribution function, and the video and audio data D22 decoded by the error code decoder 34 and the decoder unit 35 is transmitted according to the distribution control signal supplied from the control device 29 via the control line S2. For example, it supplies selectively to terminal device 28A1-28A12 which has a television receiver.
[0021]
In the AV server system 20, the encoding operation of the encoder 24 and the reproduction operation of the data supply source 22 are controlled by control signals supplied from the control unit 28 via control lines S3 and S4, respectively. Further, the control unit 28 monitors the operation state of the encoder 24 and the operation state of the data supply source 22 based on operation state notification signals supplied via the control lines S3 and S4, respectively. Further, the control unit 28 monitors the operation state of the media control unit 26 based on an operation state notification signal supplied via the control line S1. Furthermore, control such as operation start and operation end for the control unit 28 is performed by the control device 29 via the control line S5.
[0022]
Next, the configuration of the server unit 25 will be described with reference to FIG. In order to simplify the description, the encoded video and audio data are recorded on the hard disk device group in the media unit 27A1 among the media units 27A1 to 27A7 shown in FIG. An example in which encoded video and audio data are reproduced from will be described.
[0023]
First, the operation when the encoded video and audio data D21 supplied from the encoder 24 shown in FIG. 1 is recorded on the hard disk by the hard disk devices 271 to 276 in the media unit 27A1 in the server unit 25 will be described.
[0024]
The encoded video and audio data D21 output from the encoder 24 is supplied to the error code encoder 31 via the encoder interface 30. The error code encoder 31 divides the encoded video and audio data D21 into a predetermined amount of data, for example, every 5 bytes, and sequentially inputs / outputs each 1-byte data block formed by dividing into 5 via the signal line S22. Supply to parts 32A, 32B and 32C.
[0025]
For example, the first data block and the second data block of each 1-byte data block divided into five are supplied to the input / output unit 32A, and the third data block and the fourth data block are input to the input / output unit 32B. And the fifth data block is supplied to the input / output unit 32C. Further, the error code encoder 31 generates an error correction code from the five divided data and supplies it to the input / output unit 32C. As this error correction code, for example, an XOR code is used.
[0026]
The main CPU 33 of the media control unit 26 is supplied with a write control signal from the control unit 28 via the control line S1, and in response to the control signal, the hard disk devices 271 to 276 send encoded video and audio signals and error correction codes. Is supplied to the input / output units 32A to 32C via the control line S6.
[0027]
Here, the configuration of the input / output units 32A to 32C will be described with reference to FIG. Since the input / output units 32A to 32C have the same configuration, only the configuration of the input / output unit 32A is shown in FIG.
[0028]
A control signal supplied from the main CPU 33 via the control line S6 is supplied to the CPU 44. Further, the first data block and the second data block described above from the error code encoder 31 are respectively supplied to the buffer memories 40 and 41 having a double buffer configuration via the signal line S22.
[0029]
When the control signal is supplied via the control line S6, the CPU 44 supplies the read data signal via the control line S11 to supply the head data block stored in the buffer memory 40 to the hard disk device 271 and performs control. A control signal is sent to the interfaces 42 and 43 via the control line S8 so that the second data block stored in the buffer memory 41 is supplied to the hard disk device 272 by giving a read signal via the line S12. Supply.
[0030]
As a result, the interface 42 reads the head data block described above from the buffer memory 40, supplies it to the hard disk device 271, and causes the hard disk device 271 to record it on the hard disk. Further, the interface 43 reads the second data block described above from the buffer memory 41, supplies it to the hard disk device 272, and causes the hard disk device 272 to record it on the hard disk.
[0031]
Note that the configuration and operation of the input / output unit 32B at the time of recording are the same except that the first data block and the second data block described above are replaced by the third and fourth data blocks, respectively. The configuration and operation of the unit 32A are the same. The configuration and operation of the input / output unit 32C at the time of recording is the same as that of the input / output unit except that the first data block and the second data block described above are replaced with the fifth data block and the error correction code data, respectively. The configuration and operation of the unit 32A are the same.
[0032]
In this way, the input / output units 32A to 32C can record the encoded video and audio data supplied from the error code encoder 31 in the hard disk devices 271 to 275, and the error correction code data to the hard disk device 276. Can be recorded. As a result, the hard disk devices 271 to 275 function as a hard disk device for recording and reproducing encoded video and audio data, and the hard disk device 276 functions as a hard disk device for recording and reproducing error correction code data.
[0033]
FIG. 4A shows the positional relationship of each data block and error correction code data on each hard disk when each data block and error correction code data is recorded on each hard disk in each of the hard disk devices 271 to 276 as described above. ) To FIG. 4 (F).
[0034]
First, the arrangement of each data block when encoded video and audio data are recorded on the hard disk in the hard disk device 271 will be described with reference to FIG. The encoded video and audio data are divided into a predetermined amount of data, for example, every 5 bytes, and the first data block of each 1-byte data block divided into 5 is supplied to the hard disk device 271 and continuously on an empty track of the hard disk. And recorded.
[0035]
Therefore, if each divided data block is assigned a serial number to identify each block, the hard disk in the hard disk device 271 has data blocks 1, 6, 11, 16, as shown in FIG. 21, 26, 31... Are recorded continuously. These data blocks 1, 6, 11, 16, 21, 26, 31... Are all data blocks at the head of each 1-byte data block divided into five.
[0036]
Further, as shown in FIG. 4B, data blocks 2, 7, 12, 17, 22, 27, 32,... Are continuously recorded on the hard disk in the hard disk device 272. These data blocks 2, 7, 12, 17, 22, 27, 32... Are the second data block of each 1-byte data block divided into five.
[0037]
Further, as shown in FIG. 4C, data blocks 3, 8, 13, 18, 23, 28, 33,... Are continuously recorded on the hard disk in the hard disk device 273. These data blocks 3, 8, 13, 18, 23, 28, 33... Are all third data blocks of 1-byte data blocks divided into five.
[0038]
Further, as shown in FIG. 4D, data blocks 4, 9, 14, 19, 24, 29, 34,... Are continuously recorded on the hard disk in the hard disk device 274. These data blocks 4, 9, 14, 19, 24, 29, 34... Are all the fourth data blocks of 1-byte data blocks divided into five.
[0039]
Further, as shown in FIG. 4E, data blocks 5, 10, 15, 20, 25, 30, 35... Are continuously recorded on the hard disk in the hard disk device 275. These data blocks 5, 10, 15, 20, 25, 30, 35... Are the fifth data block of each 1-byte data block divided into five.
[0040]
In addition, as shown in FIG. 4F, the hard disk in the hard disk device 276 has error correction code data P1 and data blocks 6, 7 generated for the data blocks 1, 2, 3, 4, 5, as shown in FIG. , 8, 9, 10 error correction code data P2 generated, data blocks 11, 12, 13, 14, 15 error correction code data P3 generated, data blocks 16, 17, 18, 19 , 20 for the error correction code data P4 generated for the data blocks 21, 22, 23, 24, 25, and the data blocks 26, 27, 28, 29, 30 generated for the data blocks 21, 22, 23, 24, 25 The error correction code data P6 generated and the error correction code data P7... Generated for the data blocks 31, 32, 33, 34, and 35 are continuously recorded. It is.
[0041]
Next, a recording format to the hard disk in each of the hard disk devices 271 to 276 shown in FIG. 2 will be described with reference to FIG. The hard disk is assigned the next area from the outer periphery to the inner periphery. ID area in which identification data for the format method is recorded, format area in which data on the recording start sector address and size of each information data recorded on the hard disk is recorded, and encoded video And an information data area in which audio data is recorded, and a control data area in which clip management data, which is management information on discs and encoded video and audio data, is recorded.
[0042]
Further, this control data area is divided into the following areas. System information area where clip information registration information data is recorded, file information area where each clip information data is recorded, encoded video and audio data, and recording position of error correction code data on the hard disk in cluster units Divided into a file allocation table area in which data for management is recorded. The reserved area is an area reserved for expansion.
[0043]
FIG. 6 shows an example of the number of sectors allocated to each area when the recording format of a hard disk with a capacity of 2.15 [Gbyte], for example, is selected as shown in FIG.
[0044]
Next, operations when the encoded video and audio data are reproduced from the hard disk devices 271 to 276 shown in FIG. 2 and the decoded video and audio data are supplied to each terminal device will be described.
[0045]
Each terminal device 28A1 to 28A12 shown in FIG. 1 transmits request data for video and audio data to be received to the control device 29 via the communication line S20. The control device 29 supplies a reproduction control signal for distributing the video and audio data requested from each terminal device to each terminal device to the media control unit 26 in the server unit 25 via the control line S2. The reproduction control signal supplied to the media control unit 26 is supplied to the main CPU 33 (FIG. 2) in the media control unit 26. Based on this reproduction control signal, the main CPU 33 sends a control signal for reproducing the requested video and audio data and error correction code data from each hard disk via the control line S6 to the CPU 44 in the input / output units 32A to 32C. (FIG. 3).
[0046]
The input / output units 32A to 32C reproduce the requested video and audio data and error correction code data from each hard disk based on the reproduction control signal supplied from the main CPU 33. Here, in order to simplify the description, the reproduction operation of the input / output unit 32A will be described with reference to FIG.
[0047]
First, the CPU 44 manages the recording position of the encoded video and audio data and error correction code data on the hard disk in cluster units, and the address of the recording start sector of each information data recorded on the hard disk. Data about the size of each information data is read from each hard disk via the interface 42 or 43 and stored in the FAT memory 47.
[0048]
Next, the CPU 44 obtains the recording position of the requested encoded video and audio data and error correction code data on the hard disk with reference to the data stored in the FAT memory 47, and the encoded video is determined from the recording position. In addition, control signals are supplied to the interfaces 42 and 43 via the control line S8 so that the audio data and the error correction code data are reproduced.
[0049]
The interfaces 42 and 43 control the operations of the hard disk devices 271 and 272 based on a control signal from the CPU 44 so that the requested encoded video and audio data are read from the hard disk, respectively. Thus, for example, when the encoded video and audio data and the error correction code data requested this time are those shown in FIGS. 4A to 4F, the hard disk device 271 is shown in FIG. The data blocks 1, 6, 11, 16, 21, 26, 31... Are continuously reproduced, and the hard disk device 272 performs data blocks 2, 7, 12, 17, 22, 27 shown in FIG. , 32...
[0050]
The data blocks 1, 6, 11, 16, 21, 26, 31... And the data blocks 2, 7, 12, 17, 22, 27, 32. The data is supplied to the buffer memory 41, temporarily stored, and then supplied to the error code decoder 34 in the media control unit shown in FIG. 2 via the signal line S30.
[0051]
Reading of data from the buffer memory 40 and the buffer memory 41 is performed based on a control signal supplied from the CPU 44 via the control line S11 or the control line S12. Alternatively, data reading from the buffer memory 40 and the buffer memory 41 is performed based on a read control signal supplied from the error code decoder 34 to the buffer memories 40 and 41, although not shown.
Similarly, the hard disk device 273 continuously reproduces the data blocks 3, 8, 13, 18, 23, 28, 33... Shown in FIG. 4C under the control of the input / output unit 32B. . The hard disk device 274 continuously reproduces the data blocks 4, 9, 14, 19, 24, 29, 34,... Shown in FIG. 4D under the control of the input / output unit 32B.
[0052]
Further, the hard disk device 275 continuously reproduces the data blocks 5, 10, 15, 20, 25, 30, 35... Shown in FIG. 4E under the control of the input / output unit 32C. Further, the hard disk device 276 continuously reproduces the error correction code data P1, P2, P3, P4, P5, P6, P7,... Shown in FIG. To do.
[0053]
Data blocks 3, 8, 13, 18, 23, 28, 33..., 4, 9, 14, 19, 24, 29, 34. , 20, 25, 30, 35... And error correction code data P1, P2, P3, P4, P5, P6, P7,... Are once stored in one (or the other) of the buffer memories. Later, it is supplied to the error code decoder 34 in the media control unit shown in FIG.
[0054]
The error code decoder 34 performs error correction processing on the data blocks 1, 2, 3, 4, 5 supplied from the input / output units 32A to 32C using the error correction code data P1. The error code decoder 34 performs error correction processing on the data blocks 6, 7, 8, 9, 10 supplied from the input / output units 32A to 32C using the error correction code data P2. The error code decoder 34 performs error correction processing on the data blocks 11, 12, 13, 14, 15 using the error correction code data P3. The error code decoder 34 performs error correction processing on the data blocks 16, 17, 18, 19, and 20 using the error correction code data P4.
[0055]
The error code decoder 34 performs error correction processing on the data blocks 21, 22, 23, 24, 25 using the error correction code data P5. The error code decoder 34 performs error correction processing on the data blocks 26, 27, 28, 29, and 30 using the error correction code data P6. The error code decoder 34 performs error correction processing using the error correction code data P7 generated for the data blocks 31, 32, 33, 34, and 35.
[0056]
The error code decoder 34 outputs the data blocks that have been subjected to the error correction process in the order of the block numbers, and based on the instruction signal indicating the transmission destination supplied from the main CPU 33 via the control line S9. The data is supplied to a designated decoder among the decoders 35A to 35L.
[0057]
Here, the error correction code described above has the ability to restore each data of the remaining one data block from the data of four data blocks of the five data blocks. Therefore, even if any one of the hard disk devices 271 to 276 does not perform a normal reproduction operation for some reason, the data of the data blocks supplied from the other four hard disk devices and the hard disk device 276 With the error correction code data to be reproduced, the data to be reproduced from the hard disk device that has stopped reproducing can be restored in the error code decoder 34.
By the way, for example, the terminal device 28A1 transmits a reception request for video and audio data A to the control device 29, and the terminal device 28A2 transmits a reception request for video and audio data B different from the video and audio data A to the control device 29. Then, the playback operation of the server unit 25 will be described in the case where the terminal device 28A3 transmits a reception request for video and audio data C different from the video and audio data A and B to the control device 29.
[0058]
The terminal device 28A1, the terminal device 28A2, and the terminal device 28A3 respectively send request data for video and audio data A, video and audio data B, and video and audio data C to be received to the control device 29 via the communication line S20. Send. The control device 29 receives the video and audio data A, the video and audio data B, and the video and audio data C requested from the terminal device 28A1, the terminal device 28A2, and the terminal device 28A3, respectively. Then, a reproduction control signal for distribution to the terminal device 28A3 is supplied to the media control unit 26 in the server unit 25 via the control line S2.
[0059]
The reproduction control signal supplied to the media control unit 26 is supplied to the main CPU 33 in the media control unit 26. Based on this reproduction control signal, the main CPU 33 sends a control signal for reproducing the requested video and audio data A, B and C and error correction code data of these data from each hard disk via the control line S6. To the CPU 44 in the input / output units 32A to 32C.
[0060]
As shown in FIG. 3, the CPU 44 records on the hard disk data and data for managing each recording position of the encoded video and audio data and error correction code data on the hard disk in units of clusters. Data about the address of the recording start sector of each information data and the size of each information data are read from each hard disk and stored in the FAT memory 47.
[0061]
Next, the CPU 44 obtains the recording position of each requested encoded video and audio data and error correction code data on the hard disk by referring to the data stored in the FAT memory 47, and from this recording position, each code Control signals are supplied to the interfaces 42 and 43 via the control line S8 so that the converted video and audio data and the error correction code data are reproduced.
[0062]
The interfaces 42 and 43 are based on a control signal supplied from the CPU 44 via the control line S8 so that each requested encoded video and audio data and error correction code data are read from the hard disk. The operation of 276 is controlled. As a result, each encoded video and audio data and error correction code data read from the hard disk devices 271 to 276 are supplied to one (or the other) of the buffer memory 40 and the buffer memory 41 in a time-sharing manner. After being stored, it is supplied in a time division manner to the error code decoder 34 in the media control unit shown in FIG.
[0063]
The error code decoder 34 performs error correction processing on each encoded video and audio data supplied from the input / output units 32A to 32C using error correction code data. The error code decoder 34 outputs each data block subjected to the error correction processing in this way in the order of the block number for each type of encoded video and audio data, and also indicates the transmission destination supplied from the main CPU 33 Based on the signal, the encoded video and audio data A are supplied to the decoder 35A, the encoded video and audio data B are supplied to the decoder 35B, and the encoded video and audio data C are supplied to the decoder 35C.
[0064]
Each of the decoders 35A, 35B, and 35C performs decoding and decompression processing on the supplied encoded video and audio data, respectively, and the continuous real-time video and audio data are respectively the terminal device 28A1, the terminal device 28A2, and the terminal. Delivered to the device 28A3.
[0065]
Each encoded video and audio data and error correction code data read from the hard disk devices 271 to 276 are supplied to one (or the other) of the buffer memory 40 and the buffer memory 41 in a time division manner and temporarily stored. Later, the error code decoder 34 in the media control unit 26 shown in FIG. 2 is supplied in a time-sharing manner, and after error correction processing is performed in the error code decoder 34, it is distributed to the decoders 35A, 35B and 35C. Since each encoded video and audio data is subjected to decoding and decompression processing in the decoders 35A, 35B and 35C, here, continuous real-time video and audio data are obtained.
[0066]
The encoded video and audio data A, the encoded video and audio data B, and the encoded video and audio data C are recorded in a mixed manner on the hard disk. Therefore, when reproducing these encoded video and audio data A, B and C from the hard disk, in order to minimize the movement of the recording / reproducing head of the hard disk device and shorten the access time, for example, this recording It is desirable to select the playback order of the encoded video and audio data A, B, and C so that the playback head moves regularly from the outer peripheral side to the inner peripheral side of the hard disk.
[0067]
In order to select this reproduction order, a sorting circuit 45 shown in FIG. 3 is used. The CPU 44 obtains the recording position of each requested encoded video and audio data and error correction code data on the hard disk with reference to the data stored in the FAT memory 47, and sorts the data indicating the recording position. 45. The sorting circuit 45 rearranges the data indicating the recording position, for example, from data indicating the position on the outer peripheral side of the hard disk to data indicating the position on the inner peripheral side, and supplies the data to the CPU 44.
[0068]
The CPU 44 supplies a control signal to the interfaces 42 and 43 via the control line S8 so that each encoded video and audio data and error correction code data are reproduced according to the rearranged data. Thereby, the recording / reproducing head can reproduce the encoded video and audio data and the error correction code data A, B, and C while moving regularly from the outer peripheral side to the inner peripheral side of the hard disk.
[0069]
Further, in the server unit 25 of the present embodiment, as described below, the supply of encoded video and audio data from the hard disk device to the decoder unit 35 can be performed without delaying more than a predetermined period. ing.
[0070]
When there is a read request for video and audio data from each of the terminal devices 28A1 to 28A12, the server unit 25 collects a predetermined number of data blocks, for example, 128000 * 12/5 = 307200 blocks as one read block and reads them from each hard disk. . The 307200 data blocks are read from each hard disk by each hard disk device within one second, whereby different video and audio signals can be continuously supplied to 12 terminal devices. The reproduction capability of each hard disk device is set so that the time required to read the 307200 data block from the hard disk is usually within 950 [milliseconds].
[0071]
At this time, the CPU 44 of each of the input / output units 32A, 32B, and 32C reads the data of the reproduction block (n) (n is a positive integer) currently reproduced from the hard disk by the hard disk device within a predetermined time, for example, It is indirectly determined by determining whether or not the playback of the next playback block (n + 1) is started at a designated timing, for example, 2 [seconds] after the start of playback. Monitor.
[0072]
In FIG. 7A to FIG. 7C, each region R indicated by hatching is an allowance time, and this time corresponds to the overhead time required for playback block switching control. In this embodiment, it is 50 [milliseconds]. Therefore, if playback of the playback block (n) takes 950 [milliseconds] or longer, the playback block (n + 1) cannot start playback from a predetermined timing.
[0073]
The reading operation of each reproduction block from the hard disk when the reading of this data is completed within a predetermined time, for example, within 950 [milliseconds] will be described with reference to FIG. In this case, reading of all the reproduction blocks n, n + 1, n + 2, n + 3... Is completed within 950 [milliseconds], and therefore all the reproduction blocks n, n + 1, n + 2, n + 3. It is played from the hard disk by the device. Each reproduction block shown in FIG. 7A is composed of 307200 data blocks shown in FIG.
[0074]
Next, for example, when accessing the encoded video and audio data by moving the head on the circumference where the reproduction block n of the hard disk is recorded, the recording / reproduction is performed due to expansion / contraction due to the temperature of each member or mechanical error. The head position is shifted, the encoded video and audio data of the playback block n cannot be read correctly, the recording / playback head position is corrected, and the operation is performed again. For example, playback takes 1.3 [seconds]. When the reproduction of block n is completed, the reading operation of each reproduction block from the hard disk will be described with reference to FIG.
[0075]
In this case, since reading of the reproduction block n takes 1.3 [seconds], the next reproduction block n + 1 of the reproduction block n is at a timing delayed by 0.3 [seconds] from the designated read timing. Reading starts. Therefore, the reading end timing of the reproduction block n + 1 is also designated, for example, 2 [seconds] from the start of the reproduction operation, and as a result, the reproduction timing of the reproduction block n + 2 is also designated, for example, The time of 2 [seconds] has passed since the start of the reproduction operation. Similarly, this delay in timing adversely affects the playback timing of several subsequent playback blocks.
[0076]
This delay in timing may make it impossible to supply continuous video and audio data to the terminal device. In other words, due to this timing delay, the encoded video and audio data reproduced from this hard disk are not subject to decoding. Therefore, the encoded video and audio data of the reproduction blocks reproduced from the other four hard disks, respectively. Thus, since the error correction code data is restored and supplied to the terminal device, the video and audio data are not directly interrupted. If an error occurs in the encoded video and audio data in any one of the reproduction blocks, the encoded video and audio data cannot be restored, and the video and audio data are interrupted.
[0077]
As described above, if there is no delay in the reproduction timing, the encoded video and audio data are invalidated only by the fact that the reproduction timing is delayed although the reproduction is performed as valid encoded video and audio data. Therefore, this delay increases the possibility of interrupting the video and audio data supplied to the terminal device. That is, the correction capability of the error correction code used in this embodiment is such that even if one of the five data blocks is missing, the data of the missing data block is restored from the remaining four data blocks. If one data block is always invalid over a period corresponding to a plurality of playback blocks due to delay, encoded video and audio data can be stored in one of the other four data blocks. If an error occurs, the error directly leads to interruption of video and audio data.
[0078]
Next, the reproduction operation in the present embodiment will be described with reference to FIG. FIG. 7C shows an example in which it takes 1.3 [seconds] to read the reproduction block n for the same reason as explained in FIG. 7B, for example. Since the read time of the reproduction block n takes 950 [milliseconds] or more, the next hard disk device does not read the data of the reproduction block (n + 1) scheduled to be read next from the same hard disk, and the next The CPU 44 controls the reading operation of the hard disk so that the data of the reproduction block (n + 2) scheduled to be read out is read at a designated timing, for example, 2 [seconds] from the start of the reproduction operation.
[0079]
The data of the reproduction block (n + 1) that has not been read out is subjected to the error correction process described above by the error code decoder 34 from the four data blocks and error correction code data read by the other four hard disk devices. The data is restored by use and supplied to a predetermined decoder of the decoder unit 35.
[0080]
As a result, the read start timing after the reproduction block (n + 2) by the hard disk device is not delayed from the designated timing, and there is a possibility that the video and audio data supplied to the terminal device may be interrupted as shown in FIG. Compared to the case where the reproduction operation described with reference to the above is performed, it is lower.
[0081]
Next, an example of the operation of the main CPU 33 of the media control unit 26 will be described with reference to the flowchart shown in FIG.
[0082]
The main CPU 33 starts its operation at step SP0. In step SP1, the main CPU 33 waits until a reproduction control signal for distributing video and audio data requested from each terminal device to each terminal device is supplied from the control device 29 via the control line S2. When the reproduction control signal is supplied from the control device 29, the process proceeds to step SP2.
[0083]
In step SP2, the main CPU 33 generates a control signal for reproducing the requested encoded video and audio data and error correction code data from each hard disk based on the reproduction control signal for each reproduction block. Are supplied to the CPU 44 in each of the input / output units 32A to 32C via the control line S6.
[0084]
In step SP3, the main CPU 33 determines whether or not the supply of the data access command to the CPU 44 in the input / output units 32A to 32C has been completed. If a negative result “NO” is obtained, the main CPU 33 returns to step SP1 and confirms the positive result. When “YES” is obtained, the process proceeds to step SP4, a reproduction end instruction is supplied to the CPU 44 in the input / output units 32A to 32C, the process proceeds to step SP5, and the series of processes is terminated. Next, an example of the operation of the CPU 44 in the input / output units 32A to 32C will be described with reference to the flowchart shown in FIG.
[0085]
The CPU 44 starts its operation at step SP10. In step SP11, the CPU 44 receives the data access command described above from the main CPU 33, stores the contents of the data access command in an internal memory (not shown), and sets the reception time of the data access command in the timer 46 (FIG. 3). Remember. Each of the data access commands corresponds to each reproduction block of requested encoded video and audio data and error correction code data. Each data access command indicates the type of each corresponding reproduction block, the reproduction start timing, and the like.
[0086]
In step SP12, the CPU 44 sets each command content of the data access command in a standby state, and proceeds to step SP13. In step SP13, the CPU 44 refers to the elapsed time data supplied from the timer 46, and determines whether it is the reception end time, for example, whether the elapsed time data supplied from the timer 46 has exceeded 200 [milliseconds]. If the reception end time is not reached, the process returns to step SP11 to accept a further data access command from the main CPU 33.
[0087]
On the other hand, if it is determined that the reception end time has passed, for example, exceeding 200 [milliseconds] since the reception of the first data access command, the process proceeds to the next step SP14. In this way, the CPU 44 stores a plurality of data access commands by repeating step SP11 to step SP13 until the reception end time.
[0088]
In step SP14, the CPU 44 determines whether there is a command whose reproduction start timing indicated by the data access command has already passed among the waiting data access commands. If an affirmative result “YES” is obtained in step SP14, the CPU 44 proceeds to step SP21 to inform the main CPU 33 that the data access command whose reproduction start timing has already passed is deleted, and to transmit this data access command to the inside. Delete from memory. And it returns to step SP14 again.
[0089]
If a negative result “NO” is obtained in step SP14, the CPU 44 proceeds to step SP15, retrieves data indicating the recording position of the reproduction block indicated by each data access command from the FAT memory 47, and sorts the data indicating these recording positions. Supply to circuit 45. The sorting circuit 45 rearranges the data indicating the plurality of supplied recording positions, for example, from the outer peripheral side to the inner peripheral side of the hard disk so that the seek time is minimized.
[0090]
Next, in step SP16, the CPU 44 stores the encoded video and audio data and the error correction code data located on the outermost periphery on the hard disk based on the data indicating the recording positions rearranged in the sorting circuit 45 and the data indicating the reproduction start timing. The hard disk device is controlled so as to be read from the disk.
[0091]
In step SP17, the CPU 44 deletes the data access command executed in step SP16 from the internal memory.
[0092]
Next, in step SP18, the CPU 44 determines whether there is a waiting data access command in the internal memory. When a negative result “NO” is obtained in step SP18, the CPU 44 returns to step SP14, whereas when an affirmative result “YES” is obtained, the process proceeds to step SP19.
[0093]
In step SP19, the main CPU 33 determines whether or not a reproduction end instruction is supplied from the CPU 33, and when a negative result “NO” is obtained, the main CPU 33 returns to step SP11. Further, when an affirmative result “YES” is obtained in step SP19, the process proceeds to step SP20, and the series of processes is terminated.
[0094]
In this way, the server unit 25 can supply the requested video and audio data to the requested terminal device without interruption in response to requests from the terminal devices 28A1 to 28A12.
[0095]
In the above embodiment, the case where a hard disk is used has been described. However, a magneto-optical disk apparatus or an optical disk apparatus may be used as the disk apparatus.
[0096]
The data recording / reproducing apparatus and data recording / reproducing method of the present invention can also be applied to an AV server having only the server unit 25 as a main configuration.
[0097]
Furthermore, the data recording / reproducing apparatus and data recording / reproducing method of the present invention can be applied to systems other than the AV server system.
[0098]
Further, although the data supply source 22 of FIG. 1 is constituted by a video tape recorder, the data supply source 22 is not limited to this, and various recording means such as a video disk can be applied.
[0099]
【The invention's effect】
As described above, according to the present invention, when data corresponding to the first period is read, when the data is read from the disk device beyond the first period, the second after the first period. The data corresponding to the second period is not read, the data corresponding to the third period following the second period is read from the beginning of the third period, and the skipped data is read from the preceding and following blocks. Data recording / reproduction that can ensure real-time performance without delaying the supply of data and thus supply video signals to multiple channels without interruption. An apparatus and a data recording / reproducing method can be realized.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of an AV server system to which a data recording / reproducing apparatus of the present invention is applied.
FIG. 2 is a block diagram showing an embodiment of a server unit of the AV server system shown in FIG.
FIG. 3 is a block diagram illustrating an example of an input / output unit of the server unit illustrated in FIG. 2;
4 (A) to 4 (F) are schematic diagrams for explaining an embodiment of recording positions of video and audio data in the AV server system shown in FIG.
FIG. 5 is a schematic diagram showing an example of a recording format on a recording medium in the AV server system shown in FIG. 1;
6 is a schematic diagram showing an example of sector allocation to each area of the recording format shown in FIG. 5. FIG.
7 (A) to 7 (C) are schematic diagrams for explaining the operation of the data recording / reproducing apparatus of the present invention.
FIG. 8 is a flowchart illustrating an example of the operation of the main CPU of the server unit illustrated in FIG. 2;
FIG. 9 is a flowchart illustrating an example of the operation of the CPU of the input / output unit illustrated in FIG. 3;
[Explanation of symbols]
20... Audio / Video Server System, 21... Video Tape Recorder, 22... Data Supply Source, 23... Encoding Unit, 24. 27A7... Media unit, 28... Control unit, 29... Control device, 35. Device, 30 ... encoder interface, 31 ... error code encoder, 32A to 32C ... input / output unit, 33 ... main CPU, 44 ... CPU, 40, 41 ... buffer memory, 42, 43 interface, 47 ... ... FAT memory, 35A to 35L ... Decoder, 46 ... Timer, 45 ... Sorting circuit.

Claims (4)

映像及び音声データを含むデータを記録再生する複数のディスク装置と、
上記複数のディスク装置に接続された複数の入出力手段と、
上記データをブロック単位で順番に上記複数の入出力手段から上記複数のディスク装置に入力させると共に、あるディスク装置が、第1の期間に対応したデータを読み出す際に当該第1の期間を越えて上記データを出力したとき、上記第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すように、上記入出力手段を制御する制御手段と
を具えることを特徴とするデータ記録再生装置。
A plurality of disk devices for recording and reproducing data including video and audio data;
A plurality of input / output means connected to the plurality of disk devices;
The data is sequentially input to the plurality of disk devices from the plurality of input / output means in block units, and a certain disk device exceeds the first period when reading data corresponding to the first period. When the data is output, the data corresponding to the second period following the first period is not read, and the data corresponding to the third period following the second period is read out from the third period. And a control means for controlling the input / output means so as to read from the beginning of the data recording / reproducing apparatus.
さらに、
上記読み出されなかった第2の期間に対応するデータを、他のディスク装置の上記第2の期間に対応した映像及び音声データ及び誤り訂正データによって復元する復元処理手段
を具えることを特徴とする請求項1に記載のデータ記録再生装置。
further,
And a restoration processing means for restoring the data corresponding to the second period that has not been read out by using video, audio data, and error correction data corresponding to the second period of another disk device. The data recording / reproducing apparatus according to claim 1.
映像及び音声データを含むデータをブロック単位で順番に複数のディスク装置に記録する第1のステップと、
上記第1のステップで記録された上記データを上記複数のディスク装置から読み出す第2のステップと
具え、
上記第2のステップでは、
第1の期間に対応したデータを読み出す際に当該第1の期間を越えてあるディスク装置から上記データが読み出されたとき、上記第1の期間の次の第2の期間に対応したデータは読み出さずに、当該第2の期間の次の第3の期間に対応したデータを当該第3の期間の始まりから読み出すよう制御する
ことを特徴とするデータ記録再生方法。
A first step of recording data including video and audio data on a plurality of disk devices in order in block units;
A second step of reading the data recorded in the first step from the plurality of disk devices;
In the second step,
When the data corresponding to the first period is read from the disk device that exceeds the first period, the data corresponding to the second period subsequent to the first period is A data recording / reproducing method, characterized in that, without reading, data corresponding to a third period subsequent to the second period is controlled to be read from the beginning of the third period.
さらに、
上記読み出されなかった第2の期間に対応するデータを、他のディスク装置の上記第2の期間に対応した映像及び音声データ及び誤り訂正データによって復元処理させる第3のステップ
を具えることを特徴とする請求項3に記載のデータ記録再生方法。
further,
A third step of restoring the data corresponding to the second period that has not been read out with the video, audio data, and error correction data corresponding to the second period of another disk device; The data recording / reproducing method according to claim 3, wherein:
JP36182499A 1995-04-09 1999-12-20 Data recording / reproducing apparatus and data recording / reproducing method Expired - Fee Related JP3799205B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36182499A JP3799205B2 (en) 1995-04-09 1999-12-20 Data recording / reproducing apparatus and data recording / reproducing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP10909795 1995-04-09
JP36182499A JP3799205B2 (en) 1995-04-09 1999-12-20 Data recording / reproducing apparatus and data recording / reproducing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP53087296A Division JP3200852B2 (en) 1995-04-09 1996-04-09 Information signal reproducing apparatus and information signal reproducing method

Publications (2)

Publication Number Publication Date
JP2000173191A JP2000173191A (en) 2000-06-23
JP3799205B2 true JP3799205B2 (en) 2006-07-19

Family

ID=18474985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36182499A Expired - Fee Related JP3799205B2 (en) 1995-04-09 1999-12-20 Data recording / reproducing apparatus and data recording / reproducing method

Country Status (1)

Country Link
JP (1) JP3799205B2 (en)

Also Published As

Publication number Publication date
JP2000173191A (en) 2000-06-23

Similar Documents

Publication Publication Date Title
US6212681B1 (en) Information processing apparatus and method therefor in a data transfer network
JPH0879685A (en) Program playback device in near video on demand system
JP3612455B2 (en) Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit
JP4265019B2 (en) Data storage apparatus and method, and data transmission apparatus and method
US5809206A (en) Information signal reproducing apparatus and information signal reproducing method
US20060288027A1 (en) Recording apparatus, recording method, program, recording medium, and data recording medium
JP3799205B2 (en) Data recording / reproducing apparatus and data recording / reproducing method
JP3200852B2 (en) Information signal reproducing apparatus and information signal reproducing method
US6160547A (en) Shared video data storage system with separate video data and information buses
US7352953B1 (en) Method and apparatus for recording and storing video information
JPWO1996032673A1 (en) Information signal reproducing device and information signal reproducing method
JP3867864B2 (en) Reproduction method of disk device
JP3880491B2 (en) Data editing method
JPH10302390A (en) Data recording device, data reproducing device, data recording / reproducing device, data recording method, data reproducing method, and data recording / reproducing method
JP3651788B2 (en) Method and apparatus for implementing stream links in audio / image disc media
JP3112625B2 (en) Disc recording method and reproducing apparatus
JPH1051740A (en) Data transmission system
JP4099548B2 (en) Video signal recording and playback device
JP3156556B2 (en) Digital recording and playback device
JP4356225B2 (en) Information providing method, information providing apparatus, and information recording medium
JP2001126405A (en) Bit stream recording/reproducing device
JP4742443B2 (en) Recording / reproducing apparatus, recording / reproducing control method, and recording / reproducing control apparatus
JP2004206255A (en) Disk control device and disk control method
JPH10233059A (en) Device and method for recording/reproducing image data
JPH07212737A (en) Data transmission equipment

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060424

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees