JP3612455B2 - Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit - Google Patents
Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit Download PDFInfo
- Publication number
- JP3612455B2 JP3612455B2 JP28685099A JP28685099A JP3612455B2 JP 3612455 B2 JP3612455 B2 JP 3612455B2 JP 28685099 A JP28685099 A JP 28685099A JP 28685099 A JP28685099 A JP 28685099A JP 3612455 B2 JP3612455 B2 JP 3612455B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- output
- input
- video 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 - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 66
- 238000012546 transfer Methods 0.000 claims description 16
- 238000009825 accumulation Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 21
- 238000012545 processing Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 5
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000013523 data management Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000035515 penetration Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/782—Television signal recording using magnetic recording on tape
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/80—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N9/804—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
- H04N9/8042—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Television Signal Processing For Recording (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は例えばディスクドライブ装置に適用することのできるデータ記録・再生装置および方法に関し、特に、映像データを録画しながら、当該または他の映像データを再生することができる技術に関するものである。
【0002】
【従来の技術】
TV番組等の映像データを記録する代表的な記録媒体は磁気テープであり、この磁気テープに映像データを記録するビデオ・カセット・レコーダ(以下、VTR)は高い普及率を誇っている。VTRはTV番組を記録するだけでなく、映画その他のプログラム(以下、TV番組を含め単にプログラムということがある)を記録したビデオテープを再生することにも使用されている。
以上のVTRにおいて、以下のような問題、要求がある。まず、1つのビデオテープに複数のプログラムが記録されている場合、再生したいプログラムの頭出しのためのテープの早送りまたは巻戻しに相当の時間が費やされる。磁気テープは所謂ランダムアクセスに不向きな記録媒体だからである。また、例えば、TVプログラムを録画しながら録画された当該プログラムを任意の時点から視聴したい、あるいは、あるTVプログラムを録画しながら先に録画された別のプログラムを視聴したいという視聴者の要望がある。この要望は、同時記録・再生機能を有するビデオ・レコーダの出現を望むものであるが、従来のVTRはこのような機能を備えていない。
【0003】
以上のような問題に対して有効であろうデジタル・ビデオ・ユニットの1例が特表平11−504175号公報に記載されている。このデジタル・ビデオ・ユニットは、デジタル・ビデオ・テープとハードディスクドライブとを併せ持ち、データ記録時にはハードディスク(または磁気ディスク)にデータを一旦記録した後にそのデータをデジタル・ビデオ・テープに転送・コピーし、再生時にはデジタル・ビデオ・テープに記録されたデータをハードディスクに一旦記録した後にディスプレイに転送することを要旨とするものである。特表平11−504175号公報の記載によれば、ランダムアクセス性に優れたハードディスクを用いることにより任意の時点からの迅速な再生を可能とし、また、デジタル・ビデオ・テープに記憶されたプログラムを再生しながら別のプログラムを録画する同時記録・再生が可能であるとされている。 したがって、特表平11−504175号公報に記載のデジタル・ビデオ・ユニットは前記視聴者の要望を満足する有効なものということができる。
【0004】
【発明が解決しようとする課題】
しかし、前述の通りこのデジタル・ビデオ・ユニットはデジタル・ビデオ・テープの記録・再生装置とハードディスクドライブの2つの機能を必要としており、その分コストが高くなる。現在主流のアナログVTRと比較して機能的に優れているものであっても、アナログVTRの価格が低いことを考慮すると、高いコストがその普及の障害となる。したがって、単一種の記録媒体でランダムアクセスを可能とし、また、同時記録・再生が可能な装置の出現が望まれる。
そこで本発明は、単一種の記録媒体でランダムアクセスが可能であるとともに、同時記録・再生することができるデータ記録・再生装置および方法の提供を課題とする。
また本発明は、そのようなデータ記録・再生に適したディスクドライブユニットの提供を課題とする。
【0005】
【課題を解決するための手段】
ランダムアクセスの観点からすると、本発明の課題を解決するための記録装置としてはハードディスクドライブが望ましい。ところが、現行のハードディスクドライブはデータの入力経路と出力経路とを共有していること、さらにはデータの読み出し、書き込みのための磁気ヘッドアセンブリが1つしかないことに起因して、同一時間帯にはデータの読み出し、書き込みのいずれか一方しか実行することができない。このことは、現行のハードディスクドライブでは同時記録・再生を達成することができないことを示唆している。デジタルビデオディスク(DVD)のような、ランダムアクセス可能な他の記録装置についても同じことが言える。そこで本発明では、従来のランダムアクセス可能な記録装置では共用されていたデータの入力経路と出力経路をそれぞれ独立に設けることとし、独立に設けたデータの入力経路および出力経路に各々入力バッファおよび出力バッファを設け、詳しくは後述するような処理を行うことにより、同時記録・再生を可能とした。
【0006】
すなわち、本発明のデータ記録・再生装置は、データを格納するランダムアクセス可能な記録装置と、前記記録装置へ入力データを転送するための入力経路と、前記入力経路上にあって前記入力データを一時的に蓄積する入力バッファと、前記記録装置に格納された出力データを転送するための出力経路と、前記出力経路を経て転送される出力データを一時的に蓄積する出力バッファと、前記入力バッファから前記記録装置への書き込みまたは前記記録装置から前記出力バッファへの読み出しと並行して、前記入力データの前記入力バッファへの蓄積および前記出力データの前記出力バッファからの転送を同時に実行するコントローラと、を備えたことを特徴とする。
本発明のデータ記録・再生装置は同時記録・再生を可能とするものであるが、これは記録装置に対して同時に読み出しおよび書き込みができることを意味するものではない。もちろん同時読み出し、書き込みができれば同時記録・再生が可能となるが、磁気ヘッドアセンブリが1つしかないハードディスクでは同時読み出し、書き込みを実現することはできない。なお、例えば、あるプログラムを断片的に録画しながら、他のプログラムを断片的に再生することは現行のハードディスクでも可能であるが、これでは録画・再生の意味をなさない。したがって、本発明の同時記録・再生とはこのような断片的なものではなく、プログラムを連続的にかつ同時記録・再生ができることを意味している。磁気ヘッドアセンブリを複数設ければ同時読み出し、書き込みも可能であろうが、構造が複雑化するとともにコストが上昇する。そこで本発明は、記録装置自体の同時読み出し、書き込みが実現できなくても、データを一時的に蓄積するバッファを活用することにより同時記録・再生を実現した。なお、本発明のデータ記録・再生装置における記録装置(例えばハードディスク)はデータを格納するものであり、前記特表平11−504175号公報に記載のハードディスクのようにバッファとして位置付けられるものと相違している。
本発明のデータ記録・再生装置において、前記入力バッファおよび前記出力バッファは、基本的にはFirst in First out(以下、FiFoと記す)機能を有するバッファであればよいが、各々、ダブルバッファとして機能するように、第1のメモリ領域および第2のメモリ領域の2つのメモリ領域を備えたものとすることが望ましい。そして、前記入力バッファの第1または第2のメモリ領域を満たす量のデータを前記記録装置に書き込むために要する時間をt1、前記入力バッファの第1または第2のメモリ領域をデータが満たすのに要する時間をT1、前記出力バッァの第1または第2のメモリ領域を満たす量のデータを前記記録装置から読み出すために要する時間をt2、前記出力バッファの第1または第2のメモリ領域に満たされたデータの全てを出力するのに要する時間をT2すると、
t1+t2<T1 および t1+t2<T2
を満足していれば、同時記録・再生が可能である。
また、本発明のデータ記録・再生装置において、コマンド入力およびステータス出力に用いられる経路(以下、コマンド入力/ステータス出力経路と記す)を接続することができる。このコマンド入力/ステータス出力経路は、前記入力経路および前記出力経路と独立に存在することになる。したがって、コマンド入力またはステータス出力によってデータ入力またはデータ出力を中断することがない。つまり、連続的な映像の同時記録・再生を保証することができる。
【0007】
本発明の前記データ記録・再生装置は、ハードディスクのようなランダムアクセス可能な記録装置を使用するとともに、独立に設けたデータの入力経路および出力経路に各々入力バッファおよび出力バッファを設けたので、映像データを連続的に視聴しながら映像データを連続的に記録媒体に録画する同時記録・再生を可能とした。この同時記録・再生の方法を以下説明する。
まず、この同時記録・再生の方法において、映像データ記録のための経路と映像データ再生のための経路は独立に存在することが前提となる。これは、映像データ記録のための経路と映像データ再生のための経路が共用であると、その経路が映像データ記録に使われている間は再生のために映像データを転送することができないか、またはその経路が映像データの再生に使われている間は記録のために映像データを転送することができないことになり、同時記録・再生が実現できないからである。本発明では、これらの経路に入力バッファおよび出力バッファをそれぞれ独立して設けている。
次に、本発明では、外部からの映像データを前記入力バッファに蓄積するステップと、前記入力バッファに蓄積された映像データを前記記録装置に書き込むステップと、前記記録装置に記録されている映像データを前記出力バッファに読み出すステップと、前記蓄積するステップと同時に実行され、前記出力バッファに読み出された映像データを外部へ転送するステップとが実行される。
入力バッファおよび出力バッファは、前述のように、それぞれ第1および第2のメモリ領域を有しているのが好ましい。このように、バッファを利用し、さらに映像データの読み出しおよび書き込みを操作することにより、映像データを連続的に再生しながら映像データを連続的に記録することを可能とした。本発明の映像データの記録・再生方法において、連続的に再生される前記映像データと、連続的に記録される前記映像データとは同一のプログラムであることもできるし、異なるプログラムであることもできる。
【0008】
本発明にかかるデータ記録・再生装置は、ディスクドライブユニットとして提供することができる。つまり、本発明によれば、データを格納するハードディスクと、前記ハードディスクへ入力データを転送するための入力経路と、前記ハードディスクに格納されたデータを転送しかつ前記入力経路とは異なる出力経路と、前記入力経路および前記出力経路と前記ハードディスクとの間に位置し、前記ハードディスク内に格納されるデータを管理するファイルシステムと、を備えたことを特徴とするディスクドライブユニットが提供される。このディスクドライブユニットは、ハードディスク内に格納されるデータを管理するファイルシステムを備えているため、同時記録・再生に要求されるハードディスクへのデータの読み出し、書き込みを迅速に処理することができる。
以上のディスクドライブユニットにおいて、前記入力経路上に入力バッファを、また前記出力経路上に出力バッファを配置し、前記入力バッファおよび出力バッファと前記ハードディスクとの間に介在するとともに前記入力バッファおよび出力バッファを制御するコントローラを設け、さらにこのコントローラに前記ファイルシステムを内蔵することにより、その機能を充実させることができる。
【0009】
また、本発明のデータ記録・再生装置は、ランダムアクセス可能な記録装置(例えばハードディスク)、入・出力バッファおよびコントローラが一体化された形態として提供することができるが、記録装置を除いた形態としてユニット化することもできる。つまり本発明では、ランダムアクセス可能な記録装置に格納されるデータを一時的に蓄積する入力バッファと、前記記録装置に格納されたデータを転送するにあたり当該データを一時的に蓄積する出力バッファと、前記入力バッファおよび前記出力バッファにおけるデータの蓄積および出力を制御するとともに、前記記録装置に格納されるデータを管理するファイルシステム機能を有するコントローラと、を備えたことを特徴とするデータ記録・再生装置の制御ユニットが提供される。
【0010】
本発明のデータ記録・再生装置はテレビ放送用のデジタルビデオレコーダシステムに適用できる。テレビ放送がアナログ放送の場合は、放送電波を受信するチューナと、前記チューナで受信したアナログ映像データをデジタル化するとともに当該映像データ圧縮するための手段と、本発明のデータ記録・再生装置から転送されてきたデータを伸張するとともにアナログ化する手段とを設ければよい。テレビ放送がデジタル放送の場合は、圧縮されたデジタル映像信号が送られてくるので、圧縮手段は不要である。
【0011】
【発明の実施の形態】
以下本発明の実施形態を図面を参照しつつ説明する。
図1は本発明の実施形態にかかるデータ記録・再生装置10を示すブロック図、図2はそのコントローラ14の詳細を示す図である。
本実施の形態にかかるデータ記録・再生装置10は、ハードディスクドライブに適用した例であり、このハードディスクドライブ10は、磁気ディスク15と、入力経路11上に位置する入力バッファ12と、出力経路17上に位置する出力バッファ16と、入力バッファ12および出力バッファ16と磁気ディスク15との間に位置するコントローラ14とからなり、ユニットを構成している。ただし、先に説明したように、磁気ディスク15の部分を従来の、例えばIDEタイプのハードディスクドライブ10とすることも可能である。その場合は、残りの入力バッファ12、出力バッファ16およびコントローラ14がそのようなハードディスクドライブ10の制御ユニットを構成することになる。
入力経路11を転送してきた入力データは入力バッファ12に一時的に蓄積され、その後コントローラ14の指示により磁気ディスク15に転送、格納される。
【0012】
入力バッファ12の実装例を説明すると以下の通りである。入力バッファ12のデータ蓄積領域、つまりメモリ領域は2ページに分割されている。初期状態において第1ページ(以下、Page0と記す)の先頭アドレスから映像データである入力データの蓄積を始める。Page0が当該データで満たされたならば、そのことをコントローラ14に通知する。コントローラ14が満たされたデータの引取りを要求したならば、速やかにPage0の当該データを引き渡す。同時に、継続して転送される映像データを第2ページ(以下、Page1)の先頭アドレスから蓄積する。Page1が当該データで満たされたならば、そのことをコントローラ14に通知する。コントローラ14がPage1を満たされたデータの引取りを要求したならば、速やかに当該データを引き渡す。同時に、転送される映像データをPage0の先頭アドレスから格納する。以後、この操作を繰り返す。
【0013】
以上の入力バッファ12の動作手順の実現は、ハードウェアで実現することもできるし、コントローラ14に内蔵するソフトウェアによって実現することもできる。また、入力バッファ12の実装については、環状バッファを用いる方法など等価の機能を実装する手段が存在し、それらの実装手段を用いたものも本発明の対象となる。以上のことは、次に説明する出力バッファ16についても同様に適用することができる。
【0014】
次に出力バッファ16について説明する。出力バッファ16は、コントローラ14からの指示により、磁気ディスク15からの映像データである出力データを一時的に蓄積し、出力経路17を経て転送する。出力バッファ16は基本的にはFiFoのバッファ機能を有していればよいことは前記入力バッファ12と同様である。また、入力バッファ12に一時的に蓄積されたデータがコントローラ14の指示により出力要求の対象となった場合には、入力バッファ12からの映像データである出力データを一時的に蓄積する。
出力バッファ16の実装例を説明すると以下の通りである。出力バッファ16のデータ蓄積領域、つまりメモリ領域は2ページに分割されている。初期状態においてPage0の先頭アドレスからコントローラ14からの指示により磁気ディスク15から転送されてくる映像データとしての出力データの蓄積を始める。Page0が当該データで満たされたならば、Page0の先頭アドレスから出力経路17への転送を開始するとともに、コントローラ14へ出力データの受け取りが完了したことを通知する。同時に、継続して転送される映像データをPage1の先頭アドレスより順次蓄積する。Page1が映像データで満たされたならば、Page0のデータが全て出力経路17に転送されるのを待って、この満たされた映像データを出力経路17へ転送する。これと同時にコントローラ14に出力データの受け取りが可能であることを通知し、次に送られてくる映像データをPage0の先頭アドレスから順次蓄積していく。以後、各ページ毎の映像データの出力経路17への転送完了毎に、Page0とPage1とを切替えながら映像データの受け取りと転送を繰り返す。
【0015】
以上の入力バッファ12および出力バッファ16の実装例の前提として以下の条件を満足する必要がある。すなわち、入力バッファ12のPage0(またはPage1)を満たす量の映像データを磁気ディスク15に書き込むために要する時間をt1、入力バッファ12のPage0(またはPage1)を映像データが満たすのに要する時間をT1、出力バッファ16のPage0(またはPage1)を満たす量の映像データを磁気ディスク15から読み込むために要する時間をt2、出力バッファ16のPage0(またはPage1)に満たされた映像データを出力経路17に全て転送が完了するのに要する時間をT2すると、t1+t2<T1およびt1+t2<T2を満足する必要がある。つまり、t1+t2<T1は、入力バッファ12のPage0(またはPage1)を映像データが満たす間に、入力バッファ12の1ページ分のデータの磁気ディスク15への書き込みと出力バッファ16の1ページ分のデータの磁気ディスク15からの読み込みが完了することを意味している。また、t1+t2<T2は、出力バッファ16のPage0(またはPage1)に満たされた映像データが転送を完了する間に、入力バッファ12の1ページ分のデータの磁気ディスク15への書き込みと出力バッファ16の1ページ分のデータを磁気ディスク15からの読み込みが完了することを意味している。
【0016】
コマンド入力/ステータス出力経路13は、外部からコントローラ14へのコマンドの転送、当該コマンドに対するコントローラ14から外部へのステータスおよびデータ管理データを提供することを目的とした外部との通信経路である。
【0017】
次にコントローラ14の機能について説明する。
コントローラ14は、図2に示すように、コマンド受領およびステータス発信機能、ファイルシステム機能および入力管理・出力管理・ディスク管理機能を備えている。以上の機能を備えたコントローラ14は、コマンド入力/ステータス出力経路13を通じて外部から与えられるコマンドに基づき、磁気ディスク15、入力バッファ12、出力バッファ16を制御する。また、コントローラ14はそのファイルシステム機能により、磁気ディスク15に格納するデータの管理を実行する。具体的には、磁気ディスク15に格納される個々のデータの塊に対して名前付け、格納領域の割り当て、格納されているデータの削除と格納領域の開放、ファイル削除禁止などのデータ管理を実行する。
コマンド入力/ステータス出力経路13からコントローラ14に与えられるコマンドの例を図11の図表に示す。これらコマンドによる具体的な動作例を以下説明する。
外部からのコマンド”Read”に対して、指定されたファイルが物理的に磁気ディスク15のどの部分に格納されているかをファィルシステム機能により特定し、特定されたファイルを磁気ディスク15から読み出し、出力バッファ16および出力経路17で構成される出力系を制御して連続的に転送する。
また、外部からの”Write”のコマンドに対しては、ファイルシステム機能により磁気ディスク15に書き込み領域を確保し、入力バッファ12および入力経路11で構成される入力系を制御して、連続的に転送される入力データを磁気ディスク15の当該書き込み領域に順次格納する。
さらに、外部からの”Directory”のコマンドに対しては、現在磁気ディスク15に格納されているファイル名、大きさ、格納した日時、等のデータをリストにしてステータスデータとして外部に転送する。
【0018】
次に、図3〜図7に示すタイミングチャートに基づき、同時記録・再生のための読み出し、書き込み処理の具体例を説明する。なお、説明するのは、読み出し、書き込み処理の定常状態(図3)、書き込み処理が先行しその後に読み出し処理を開始する場合(図4)、読み出し処理が先行しその後に書き込み処理を開始する場合(図5)、定常状態から書き込み処理を終了する場合(図6)、定常状態から読み出し処理を終了する場合(図7)の5つのケースについてである。
【0019】
図3は読み出し、書き込み処理が定常状態にあるときのタイミングチャートである。なお、図3において、読み出される映像データRはR1、R2、R3、R4…から構成され、書き込まれる映像データWはW1、W2、W3、W4…から構成されるものとする。
まず読み出し処理について説明すると、図3において、映像データRが格納されている磁気ディスク15に対してコントローラ14から読み出し要求が発せられ、映像データR1が出力バッファ16のPage0に一時的に蓄積される。先行する出力バッファ16のPage1からの出力経路17への出力が完了すると出力バッファ16のPage0から映像データR1を出力経路17に対して出力開始し映像データR2が磁気ディスク15から読み出され出力バッファ16のPage1に一時的に蓄積する。映像データR1が全て出力されると、映像データR2は出力経路17に対して出力が開始され磁気ディスク15から映像データR3を読み出し出力バッファ16のPage0に一時的に蓄積し、映像データR2が全て出力された後に、映像データR3を出力経路17に対して出力する。以後、この処理を映像データR4以降についても繰り返し、磁気ディスク15に記録されている映像データRをR1、R2、R3、R4…というように所定単位に分割して順次読み出すことにより、映像データRを連続的に漏れなく再生することができる。
【0020】
次に書き込み処理について説明すると、入力バッファ12のPage1に映像データW1が蓄積されてPage1が当該データで満たされると磁気ディスク15への書き込みが行われる。同時に、継続して送られてくる映像データW2を入力バッファ12のPage0に蓄積する。そして入力バッファ12のPage0が映像データW2で満たされたならば、映像データW2を磁気ディスク15に対して格納する。以後、この処理を映像データW3以降についても繰り返し、1つのプログラムを構成する映像データWをW1、W2、W3、W4…というように所定単位に分割して順次磁気ディスク15に記録することにより、映像データWを連続的に漏れなく録画することができる。
次に、読み出し処理と書き込み処理とを対比して説明すると、磁気ディスク15から読み出して出力バッファ16のPage0に一時的に蓄積された映像データR1を出力している間および入力データを入力バッファ12のPage0に蓄積している間に、入力バッファ12のPage1に蓄積された映像データW1を磁気ディスク15に書き込み、映像データR2を磁気ディスク15から読み出して出力バッファ16のPage1に一時的に蓄積する。引き続いて、出力バッファ16のPage1に一時的に蓄積された映像データR2を出力している間および入力データを入力バッファ12のPage1に蓄積している間に、入力バッファ12のPage0に蓄積された映像データW2を磁気ディスク15に書き込み、映像データR3を磁気ディスク15から読み出し出力バッファ16のPage1に一時的に蓄積する。以上のように、出力バッファ16の一方のPageからの出力中および、入力バッファ12の一方のPageへのデータの蓄積中にそれぞれの他方のPageを使用して磁気ディスク15に対する読み出しと書き込みを実施し、その読み出しと書き込みとが重複しないように制御することにより、映像データRを連続的に再生しながら映像データWを録画することができる。なお、読み出しと書き込みとは必ずしも交互に行われる必要はない。これは図3のR3、R4で示した磁気ディスク15からの読み出しとW3で示した磁気ディスク15への書き込みの順序から理解できる。つまり、出力バッファ16のPage0領域の映像データR3が出力されている間に映像データR4の読み出しを完了すればよい。一方、書き込みについては、入力バッファ12のPage0領域へ映像データW4が一時的に蓄積されている間に映像データW3の書き込みを完了すればよい。そして、読み出しと書き込みとが重複しなければ、同時記録・再生が可能となる。また、入力バッファ12のPage切替と出力バッファ16のPage切替が同時におこる必要はない。入力バッファ12のPage0(またはPage1)を満たす量の映像データを磁気ディスク15に書き込むために要する時間をt1、入力バッファ12のPage0(またはPage1)を映像データが満たすのに要する時間をT1、出力バッファ16のPage0(またはPage1)を満たす量の映像データを磁気ディスク15から読み込むために要する時間をt2、出力バッファ16のPage0(またはPage1)に満たされた映像データを出力経路17に全て転送が完了するのに要する時間をT2とすると、t1+t2<T1およびt1+t2<T2を常に満足していればよい。つまり、t1+t2<T1は、入力バッファ12のPage0(またはPage1)を映像データが満たす間に、入力バッファ12の1ページ分のデータの磁気ディスク15への書き込みと出力バッファ16の1ページ分のデータの磁気ディスク15からの読み込みが完了することを意味している。また、t1+t2<T2は、出力バッファ16のPage0(またはPage1)に満たされた映像データが転送を完了する間に、入力バッファ12の1ページ分のデータの磁気ディスク15への書き込みと出力バッファ16の1ページ分のデータを磁気ディスク15からの読み込みが完了することを意味している。
【0021】
次に、図4に基づき書き込み処理が先行しその後に読み出し処理を開始する場合について説明する。
書き込み処理が先行している場合、磁気ディスク15への読み出しと書き込みとが重複しないように読み出し処理は磁気ディスク15への1の書き込みが終了後、次の書き込み要求までの間に起動する。つまり、入力バッファ12のPage0に格納された映像データWnが全て磁気ディスク15へ書き込まれた後、入力バッファ12のPage1に格納された映像データWn+1が磁気ディスク15への書き込み開始がなされるまでの間に、磁気ディスク15に格納されていた映像データRのうちのR1を読み出して出力バッファ16のPage0へ一時的に蓄積する。
読み出し処理開始前は、無出力でもよいが、コントローラ14から出力バッファ16に定型データを供給することによりテスト・パターン、ロゴなどのダミーデータを出力してもよい。
【0022】
次に、図5に基づき読み出し処理が先行しその後に書き込み処理を開始する場合について説明する。
読み出し処理が先行している場合、磁気ディスク15への読み出しと書き込みとが重複しないように磁気ディスク15への書き込み処理は磁気ディスク15への1の読み出しが終了後、次の読み出し要求までの間に起動する。つまり、磁気ディスク15に書き込まれている映像データRのうちRnを全て読み出した後であって次の映像データRn+1の読み出しが開始される前に、入力バッファ12のPage0に格納された映像データWnの磁気ディスク15への書き込みを開始する。
次に、図6に基づき書き込み処理を終了する場合について説明する。
書き込みの終了は任意の時点で発生する。したがって、書き込みデータの最後尾が入力バッファ12のPage0(またはPage1)の最後尾に一致することはほとんどない。よって、最後に書き込まれる映像データに加えて、磁気ディスク15の書き込み単位(セクタ・サイズ、例えば512バイト、4096バイトなど)または入力バッファ12のPage0(またはPage1)を満たすためのダミーのデータを付加する所謂パディング(Padding)を行う必要がある。図6の映像データWendで示す矢印は、パディングを行った後に磁気ディスク15への書き込みが行われたことを意味している。付加するダミーのデータ量を磁気ディスク15の書き込み単位とするか、または入力バッファ12のPage0(またはPage1)のサイズとするかは、コントローラ14のファイルシステムの実装に依存する。
【0023】
最後に、図7に基づき読み出し処理を終了する場合について説明する。
読み出しデータの最後尾が出力バッファ16のPage0(またはPage1)の最後尾と一致することはほとんどないと考えてよい。したがって、図7に示すように、入力バッファ12のPage0から磁気ディスク15へ映像データWnを書き込んだ後に、磁気ディスク15に格納されていたデータRのうち最後の映像データRendを出力バッファ16のPage0に転送した後は、無出力とするか、またはコントローラ14から出力バッファ16に定型データを供給することによりテスト・パターン、ロゴなどのダミーデータを出力してもよい。
【0024】
図8〜図10は、各々、コントローラ14の制御フローチャート、書き込み処理を説明するフローチャート、読み出し処理を説明するフローチャートであり、以下このフローチャートの内容を説明する。
まず、図8に示すように、コントローラ14では、STEP101(図中ではS101と記す、以下同様)において制御コマンドが初期化コマンドか否かを判断し、初期化コマンドであれば磁気ディスク15を初期化する。初期化コマンドでなければ、STEP102においてファイル作成コマンドか否かを判断し、ファイル作成コマンドであれば磁気ディスク15に新たなファイルを作成する。ファイル作成コマンドでなければ、STEP103に進み、ファイルの削除コマンドか否かを判断する。ファイルの削除コマンドであれば、該当するファイルを削除する処理を行う。ファイルの削除コマンドでなければ、次のSTEP104においてファイルの読み出しコマンドか否かを判断し、読み出しコマンドであれば読み出しプロセスを起動する。読み出しコマンドでなければ、次のSTEP105においてファイルの書き込みコマンドか否かを判断し、書き込みコマンドであれば書き込み処理を起動する。次に、ファイルの書き込みコマンドでなければ、次のSTEP106において終了コマンドか否かを判断する。終了コマンドであれば、指定されたファイルの読み出しまたは書き込みを終了し、書き込みの場合は入力バッファ12に残っているデータを磁気ディスク15に格納する等、当該プロセスに終了コマンドを送出する。終了コマンドでないときは、次のSTEP107において、ディレクトリコマンドか否かを判断する。ディレクトリコマンドのときは、ファイル名、ファイルサイズ、記録日時、付加情報などディレクトリ情報をステータスとして返す。
【0025】
図9において、書き込みプロセスは、開始後にSTEP201においてコントローラ14に内蔵されるファイルシステムにより磁気ディスク15における書き込み領域の取得をした後に、STEP202において入力バッファ12への映像データ入力が開始される。入力が開始された後には、STEP203において磁気ディスク15に対する書き込み要求または書き込み終了コマンドを待ち、STEP204においてコマンドが書き込み終了か否かを判断し、書き込み終了コマンドでなければ、STEP205において磁気ディスク15が要求処理中、つまり読み出し要求から読み出しの終了までの間にあるか否かを確認し、要求処理中でなければ、STEP206において磁気ディスク15への書き込み処理を実行する。要求処理中であれば、再度要求処理中か否かを確認する。一方、STEP204においてコマンドが書き込み終了と判断されたときには、STEP207において入力バッファ12への映像データ入力を停止するとともにダミーデータを付加、充填する処理を行う。次いで、STEP208にて磁気ディスク15が前記要求処理中か否かを確認し、要求処理中でなければ、STEP209にて磁気ディスク15への書き込み処理を実行する。その後、STEP210にてファイルシステムにより書き込み完了処理がなされ、一連の書き込み処理は終了する。
【0026】
図10において、読み出し処理は、開始後にSTEP301においてコントローラ14に内蔵されるファイルシステムにより磁気ディスク15における読み出すファイルに関する情報を取得する。次に、STEP302において磁気ディスク15が要求処理中、つまり書き込み処理の要求から書き込み終了までの間にあるか否かを確認し、要求処理中でなければ、STEP303において磁気ディスク15から前記ファィル情報に基づき読み出し処理を実行し、STEP304において読み出されたデータを出力バッファ16から出力する。次いで、STEP305において磁気ディスク15が前記要求処理中か否かを確認し、要求処理中であれば待機し、一方要求処理中でなければ、STEP306において磁気ディスク15からの読み出し処理を実行し、その後STEP307において読み出し要求、読み出し終了コマンドまたは読み出し完了通知を待つ。次に、STEP308において読み出し終了コマンドか否かを判断し、読み出し終了コマンドでなければSTEP305へ戻り、読み出し終了コマンドであれば、STEP309において出力バッファ16からの映像データの出力を停止する。その後、STEP310にてファイルシステムにより読み出し完了処理を行い、一連の読み出し処理は終了する。
【0027】
次に、ハードディスクドライブ10をデジタルビデオレコーダシステムに適用した例を図12に基づき説明する。なお、ハードディスクドライブ10についてはすでに詳細に説明してあるので、ここではハードディスクドライブ10以外の部分について説明する。
図12に示すように、デジタルビデオレコーダシステム1は、入力経路11上のチューナ2およびMPEG(Moving Picture Experts Group)エンコーダ3と、出力経路17上のビデオコントローラ4およびMPEG(Moving Picture Experts Group)デコーダ5と、ハードディスクドライブ10と、モデム6と、メインコントローラ7と、テレビジョン8と、リモコン9とからから構成される。
チューナ2は例えばTV放送(プログラム)を受信する。TVプログラムとしてはアナログ放送およびデジタル放送があり、本実施の形態ではアナログ放送の例を説明するが、本発明はデジタル放送についても適用できる。デジタル放送の場合は、圧縮された信号が送られてくるので、MPEGエンコーダ3は不要である。
MPEGエンコーダ3は、アナログ信号をデジタル化するとともに圧縮する機能を有している。また、MPEGデコーダ5は、圧縮された映像データを伸張処理する機能を有し、ビデオコントローラ4は通常のビデオコントローラとしての機能の他にデジタルデータをアナログ化する機能を有している。
メインコントローラ7は、チューナ2、MPEGエンコーダ3、ビデオコントローラ4、MPEGデコーダ5およびハードディスクドライブ10のコントローラ14を制御する。このメインコントローラ7にはモデム6が接続されている。このモデム6を介して、例えばインターネット上に電子番組ガイドを設けておけばその番組ガイドに基づき視聴者の好みの番組を自動録画することを可能とする。メインコントローラ7は、リモコン9の操作により所定の制御を実行する。
【0028】
チューナ2は例えばTV放送を受信する。本実施の形態においてこのTVプログラム、つまり音声を含む映像データは、前述の通り、アナログ信号からなるものとする。視聴者が当該TVプログラムを録画するためにリモコン9を操作すると以下の録画処理が実行される。つまり、MPEGエンコーダ3がこのアナログ信号をデジタル化するとともに圧縮する。デジタル化された映像データは入力経路11を転送し、入力バッファ12に一時的に蓄積され、一時的に蓄積された入力データはコントローラ14の指示により磁気ディスク15に転送、格納される。つまり、TVプログラムが録画される。入力バッファ12における入力データの一時的な蓄積、磁気ディスク15への転送、格納の具体的処理内容はすでに説明した通りである。
また、視聴者が磁気ディスク15に録画されたTVまたは他のプログラムを再生するためにリモコン9を操作すると、メインコントローラ7およびハードディスクドライブ10のコントローラ14の制御により磁気ディスク15へ録画された映像データは出力バッファ16に対して出力される。出力バッファ16に一時的に蓄積された映像データは、MPEGデコーダ5により伸張処理が施された後にビデオコントローラ4に転送される。ビデオコントローラ4にて当該映像データはアナログ化された後、ビデオコントローラ4の制御にしたがって、テレビジョン8に再生される。磁気ディスク15から出力バッファ16への映像データの転送、および出力バッファ16における映像データの一時的な蓄積および出力の具体的な処理内容はすでに説明した通りである。
以上のデジタルビデオレコーダシステム1は、同時記録・再生が可能なハードディスクドライブ10を備えているため、TVプログラムを録画しながら録画された当該プログラムを任意の時点から視聴することができる。また、TVプログラムを録画しながら磁気ディスク15に記録された別のプログラムを視聴することができる。
【0029】
【発明の効果】
以上説明のように、本発明によれば、ランダムアクセスが可能な磁気ディスク等の記録装置を用いて同時記録・再生することができるデータ記録・再生装置を提供することができる。また本発明は、そのようなデータ記録・再生装置に適した映像データの記録・再生方法を提供することができるので、再生したいプログラムを短時間で確実に見つけ出すことができ、さらにTVプログラムを録画しながら録画された当該プログラムを任意の時点から視聴したい、あるいは、TVプログラムを録画しながら先に録画された別のプログラムを視聴したいという視聴者の要望に答えることができる。
【図面の簡単な説明】
【図1】本実施の形態にかかるデータ記録・再生装置を示すブロック図である。
【図2】本実施の形態にかかるハードディスクドライブ10中のコントローラ14の内容を示す図である。
【図3】読み出し、書き込み処理の定常状態を説明するタイミングチャートである。
【図4】書き込み処理が先行しその後に読み出し処理を開始する場合の同時読み出し、書き込み処理のタイミングチャートである。
【図5】読み出し処理が先行しその後に書き込み処理を開始する場合の同時読み出し、書き込み処理のタイミングチャートである。
【図6】読み出し、書き込み処理の定常状態から書き込み処理を処理を終了する場合のタイミングチャートである。
【図7】読み出し、書き込み処理の定常状態から読み出し処理を終了する場合のタイミングチャートである。
【図8】コントローラ14における制御フローチャートである。
【図9】書き込み処理を説明するフローチャートである。
【図10】読み出し処理を説明するフローチャートである。
【図11】コマンド入力/ステータス出力経路13からコントローラ14に与えられるコマンドの例を示す図表である。
【図12】本発明を適用し得るデジタルビデオレコーダシステムを示すブロック図である。
【符号の説明】
10…ハードディスクドライブ(データ記録・再生装置)、11…入力経路、12…入力バッファ、13…コマンド入力/ステータス出力経路、14…コントローラ、15…磁気ディスク、16…出力バッファ、17…出力経路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data recording / reproducing apparatus and method that can be applied to, for example, a disk drive device, and more particularly to a technique that can reproduce the video data or other video data while recording the video data.
[0002]
[Prior art]
A typical recording medium for recording video data such as a TV program is a magnetic tape, and a video cassette recorder (hereinafter referred to as VTR) for recording video data on the magnetic tape has a high penetration rate. VTRs are used not only to record TV programs, but also to play back videotapes on which movies and other programs (hereinafter, simply referred to as programs including TV programs) are recorded.
The above VTR has the following problems and requirements. First, when a plurality of programs are recorded on one video tape, a considerable amount of time is spent in fast-forwarding or rewinding the tape for cueing a program to be reproduced. This is because the magnetic tape is a recording medium unsuitable for so-called random access. In addition, for example, there is a viewer's desire to view the recorded program while recording a TV program from an arbitrary point of time or to view another program recorded earlier while recording a TV program. . Although this demand desires the appearance of a video recorder having a simultaneous recording / reproducing function, the conventional VTR does not have such a function.
[0003]
An example of a digital video unit that may be effective for the above problems is described in Japanese Patent Publication No. 11-504175. This digital video unit has both a digital video tape and a hard disk drive. When data is recorded, the data is once recorded on the hard disk (or magnetic disk), and then the data is transferred and copied to the digital video tape. At the time of reproduction, the gist is to temporarily record data recorded on a digital video tape on a hard disk and then transfer the data to a display. According to the description in Japanese Patent Publication No. 11-504175, a hard disk having excellent random accessibility can be used for quick reproduction from any point in time, and a program stored on a digital video tape can be stored. It is said that simultaneous recording / playback of recording another program while playing back is possible. Therefore, it can be said that the digital video unit described in Japanese Patent Publication No. 11-504175 is effective to satisfy the demands of the viewer.
[0004]
[Problems to be solved by the invention]
However, as described above, this digital video unit requires two functions of a digital video tape recording / reproducing apparatus and a hard disk drive, and the cost is increased accordingly. Even if it is functionally superior to the current mainstream analog VTR, considering the low price of the analog VTR, high cost is an obstacle to its spread. Accordingly, it is desired to develop an apparatus that can perform random access with a single type of recording medium and can simultaneously record and reproduce.
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a data recording / reproducing apparatus and method capable of random access with a single type of recording medium and capable of simultaneous recording / reproducing.
Another object of the present invention is to provide a disk drive unit suitable for such data recording / reproduction.
[0005]
[Means for Solving the Problems]
From the viewpoint of random access, a hard disk drive is desirable as a recording device for solving the problems of the present invention. However, current hard disk drives share a data input path and output path, and because there is only one magnetic head assembly for reading and writing data, the same time zone. Can only read or write data. This suggests that simultaneous recording and playback cannot be achieved with current hard disk drives. The same is true for other randomly accessible recording devices such as digital video discs (DVD). Therefore, in the present invention, the data input path and the output path which are shared in the conventional random-accessible recording apparatus are respectively provided independently, and the input buffer and the output are respectively provided in the independently provided data input path and output path. By providing a buffer and carrying out processing as will be described in detail later, simultaneous recording / reproduction is possible.
[0006]
That is, the data recording / reproducing apparatus of the present invention includes a randomly accessible recording apparatus for storing data, an input path for transferring input data to the recording apparatus, and the input data on the input path. An input buffer for temporarily storing; an output path for transferring output data stored in the recording device; an output buffer for temporarily storing output data transferred through the output path; and the input buffer A controller for simultaneously storing the input data in the input buffer and transferring the output data from the output buffer in parallel with writing to the recording device or reading from the recording device to the output buffer; , Provided.
The data recording / reproducing apparatus of the present invention enables simultaneous recording / reproducing, but this does not mean that it can be simultaneously read and written to the recording apparatus. Of course, simultaneous reading and writing are possible if simultaneous reading and writing are possible, but simultaneous reading and writing cannot be realized with a hard disk having only one magnetic head assembly. Note that, for example, it is possible to reproduce a program in a fragmentary manner while recording a program in a fragmentary manner, but this does not make sense for recording / reproduction. Therefore, the simultaneous recording / reproducing of the present invention is not such a fragmentary thing, and means that the program can be recorded / reproduced continuously and simultaneously. If a plurality of magnetic head assemblies are provided, simultaneous reading and writing will be possible, but the structure becomes complicated and the cost increases. Therefore, the present invention realizes simultaneous recording and reproduction by utilizing a buffer for temporarily storing data even if simultaneous reading and writing of the recording apparatus itself cannot be realized. Note that the recording device (for example, hard disk) in the data recording / reproducing apparatus of the present invention stores data, and is different from that which is positioned as a buffer like the hard disk described in the above-mentioned Japanese National Publication No. 11-504175. ing.
In the data recording / reproducing apparatus of the present invention, the input buffer and the output buffer may basically be any buffer having a first in first out (hereinafter referred to as “FiFo”) function, but each function as a double buffer. Thus, it is desirable to have two memory areas, the first memory area and the second memory area. The time required to write the amount of data that fills the first or second memory area of the input buffer to the recording device is t.1, The time required for data to fill the first or second memory area of the input buffer is T1, T is the time required to read from the recording device an amount of data that fills the first or second memory area of the output buffer.2, The time required to output all the data filled in the first or second memory area of the output buffer is T2Then
t1+ T2<T1 And t1+ T2<T2
If the above is satisfied, simultaneous recording / playback is possible.
In the data recording / reproducing apparatus of the present invention, a path used for command input and status output (hereinafter referred to as command input / status output path) can be connected. This command input / status output path exists independently of the input path and the output path. Therefore, data input or data output is not interrupted by command input or status output. That is, it is possible to guarantee the simultaneous recording / reproduction of continuous images.
[0007]
The data recording / reproducing apparatus of the present invention uses a randomly accessible recording device such as a hard disk, and has an input buffer and an output buffer in the data input path and output path provided independently, respectively. It enables simultaneous recording / playback by continuously recording video data on a recording medium while viewing the data continuously. The simultaneous recording / reproducing method will be described below.
First, in this simultaneous recording / reproduction method, it is assumed that a path for recording video data and a path for reproducing video data exist independently. If the video data recording path and the video data playback path are shared, is it possible to transfer the video data for playback while the path is used for video data recording? This is because video data cannot be transferred for recording while the path is used for video data playback, and simultaneous recording / playback cannot be realized. In the present invention, an input buffer and an output buffer are independently provided in these paths.
Next, in the present invention, the step of storing video data from the outside in the input buffer, the step of writing the video data stored in the input buffer to the recording device, and the video data recorded in the recording device Is read out to the output buffer, and the step of transferring the video data read out to the output buffer to the outside is executed simultaneously with the storing step.
The input buffer and the output buffer preferably have first and second memory areas, respectively, as described above. As described above, by using the buffer and further operating the reading and writing of the video data, the video data can be continuously recorded while the video data is continuously reproduced. In the video data recording / playback method of the present invention, the video data that is continuously played back and the video data that is continuously recorded can be the same program or different programs. it can.
[0008]
The data recording / reproducing apparatus according to the present invention can be provided as a disk drive unit. That is, according to the present invention, a hard disk for storing data, an input path for transferring input data to the hard disk, an output path for transferring data stored in the hard disk and different from the input path, There is provided a disk drive unit comprising a file system that is located between the input path and the output path and the hard disk and manages data stored in the hard disk. Since this disk drive unit has a file system for managing data stored in the hard disk, it is possible to quickly process reading and writing of data to and from the hard disk required for simultaneous recording and reproduction.
In the above disk drive unit, an input buffer is disposed on the input path, and an output buffer is disposed on the output path. The input buffer and the output buffer are interposed between the input buffer and the output buffer and the hard disk. By providing a controller for control and further incorporating the file system in this controller, the functions can be enhanced.
[0009]
Further, the data recording / reproducing apparatus of the present invention can be provided as a form in which a randomly accessible recording apparatus (for example, a hard disk), an input / output buffer and a controller are integrated, but as a form excluding the recording apparatus. It can also be unitized. That is, in the present invention, an input buffer that temporarily accumulates data stored in a randomly accessible recording device, an output buffer that temporarily accumulates the data when transferring the data stored in the recording device, A data recording / reproducing apparatus comprising: a controller that controls accumulation and output of data in the input buffer and the output buffer, and has a file system function for managing data stored in the recording apparatus A control unit is provided.
[0010]
The data recording / reproducing apparatus of the present invention can be applied to a digital video recorder system for television broadcasting. When the television broadcast is an analog broadcast, a tuner that receives broadcast radio waves, a means for digitizing the analog video data received by the tuner and compressing the video data, and a transfer from the data recording / reproducing apparatus of the present invention It is only necessary to provide a means for decompressing and analogizing the data that has been generated. When the television broadcast is a digital broadcast, a compressed digital video signal is sent, so no compression means is necessary.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a data recording / reproducing
The data recording / reproducing
The input data transferred through the input path 11 is temporarily stored in the
[0012]
An implementation example of the
[0013]
The above-described operation procedure of the
[0014]
Next, the
An implementation example of the
[0015]
It is necessary to satisfy the following conditions as a premise of the implementation example of the
[0016]
The command input /
[0017]
Next, the function of the
As shown in FIG. 2, the
An example of a command given from the command input /
In response to the command “Read” from the outside, it is specified by the file system function which part of the
For external “Write” commands, a write area is secured on the
Further, in response to an “Directory” command from the outside, data such as the file name, size, and stored date / time currently stored in the
[0018]
Next, specific examples of reading and writing processes for simultaneous recording / reproduction will be described based on the timing charts shown in FIGS. It is to be noted that the reading and writing processes are in a steady state (FIG. 3), the writing process precedes and the reading process starts (FIG. 4), and the reading process precedes and the writing process starts. FIG. 5 shows five cases of the case where the writing process is finished from the steady state (FIG. 6) and the case where the reading process is finished from the steady state (FIG. 7).
[0019]
FIG. 3 is a timing chart when the reading and writing processes are in a steady state. In FIG. 3, the read video data R is R1, R2, R3, R4... and the video data W to be written is W1, W2, W3, W4It shall consist of ...
First, the reading process will be described. In FIG. 3, a read request is issued from the
[0020]
Next, the writing process will be described. Video data W is stored in
Next, the reading process and the writing process will be described. The video data R read from the
[0021]
Next, a case where the writing process precedes and the reading process starts after that will be described with reference to FIG.
When the writing process is preceded, the reading process is started after the writing of 1 to the
Although no output may be performed before the reading process is started, dummy data such as a test pattern and a logo may be output by supplying standard data from the
[0022]
Next, a case where the read process precedes and the write process starts after that will be described with reference to FIG.
When the reading process is preceded, the writing process to the
Next, the case where the writing process is terminated will be described with reference to FIG.
The end of writing occurs at an arbitrary time. Therefore, the end of the write data hardly matches the end of Page 0 (or Page 1) of the
[0023]
Finally, a case where the reading process is terminated will be described with reference to FIG.
It can be considered that the end of the read data hardly coincides with the end of Page 0 (or Page 1) of the
[0024]
8 to 10 are a control flowchart of the
First, as shown in FIG. 8, the
[0025]
In FIG. 9, after the writing process is started, the writing area in the
[0026]
In FIG. 10, after starting the reading process, in STEP 301, information on the file to be read from the
[0027]
Next, an example in which the
As shown in FIG. 12, the digital
The tuner 2 receives a TV broadcast (program), for example. TV programs include analog broadcasts and digital broadcasts. In this embodiment, an example of analog broadcasts will be described, but the present invention can also be applied to digital broadcasts. In the case of digital broadcasting, since a compressed signal is sent, the MPEG encoder 3 is unnecessary.
The MPEG encoder 3 has a function of digitizing and compressing an analog signal. The MPEG decoder 5 has a function of expanding compressed video data, and the video controller 4 has a function of analogizing digital data in addition to a function as a normal video controller.
The main controller 7 controls the tuner 2, MPEG encoder 3, video controller 4, MPEG decoder 5, and
[0028]
The tuner 2 receives a TV broadcast, for example. In the present embodiment, this TV program, that is, video data including audio, is assumed to be an analog signal as described above. When the viewer operates the remote controller 9 to record the TV program, the following recording process is executed. That is, the MPEG encoder 3 digitizes and compresses this analog signal. The digitized video data is transferred through the input path 11 and temporarily stored in the
When the viewer operates the remote controller 9 to reproduce a TV or other program recorded on the
Since the digital
[0029]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a data recording / reproducing apparatus capable of simultaneous recording / reproducing using a recording apparatus such as a magnetic disk capable of random access. In addition, the present invention can provide a video data recording / reproducing method suitable for such a data recording / reproducing apparatus, so that a program to be reproduced can be reliably found in a short time, and a TV program can be recorded. Thus, it is possible to respond to a viewer's desire to view the recorded program from an arbitrary point of time or to view another program recorded earlier while recording the TV program.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a data recording / reproducing apparatus according to an embodiment.
FIG. 2 is a diagram showing the contents of a
FIG. 3 is a timing chart for explaining a steady state of read / write processing.
FIG. 4 is a timing chart of simultaneous reading and writing processing when writing processing precedes and reading processing is started thereafter.
FIG. 5 is a timing chart of simultaneous reading and writing processing when reading processing precedes and writing processing is started thereafter.
FIG. 6 is a timing chart in the case where the writing process is terminated from the steady state of the reading and writing processes.
FIG. 7 is a timing chart when the reading process is terminated from a steady state of the reading and writing processes.
FIG. 8 is a control flowchart in the
FIG. 9 is a flowchart illustrating a writing process.
FIG. 10 is a flowchart illustrating a read process.
FIG. 11 is a chart showing an example of a command given from the command input /
FIG. 12 is a block diagram showing a digital video recorder system to which the present invention can be applied.
[Explanation of symbols]
DESCRIPTION OF
Claims (3)
前記記録装置へ入力データを転送するための入力経路と、
前記入力経路上にあって前記入力データを一時的に蓄積する入力バッファと、
前記記録装置に格納された出力データを転送するための、前記入力経路とは異なる出力経路と、
前記出力経路を経て転送される出力データを一時的に蓄積する出力バッファと、
前記入力バッファから前記記録装置への書き込みまたは前記記録装置から前記出力バッファへの読み出しと並行して、前記入力データの前記入力バッファへの蓄積および前記出力データの前記出力バッファからの転送を同時に実行するコントローラとを備え、
前記入力バッファおよび前記出力バッファはそれぞれ第1および第2のメモリ領域を有し、前記入力バッファの第1または第2のメモリ領域を満たす量のデータを前記記録装置に書き込むために要する時間をt1、前記入力バッファの第1または第2のメモリ領域をデータが満たすのに要する時間をT1、前記出力バッァの第1または第2のメモリ領域を満たす量のデータを前記記録装置から読み出すために要する時間をt2、前記出力バッファの第1または第2のメモリ領域に満たされたデータの全てを出力するのに要する時間をT2とすると、
t1+t2<T1 および t1+t2<T2
を満足することを特徴とするデータ記録・再生装置。A randomly accessible recording device for storing data; and
An input path for transferring input data to the recording device;
An input buffer on the input path for temporarily storing the input data;
An output path different from the input path for transferring the output data stored in the recording device;
An output buffer for temporarily storing output data transferred through the output path;
In parallel with writing from the input buffer to the recording device or reading from the recording device to the output buffer, the storage of the input data into the input buffer and the transfer of the output data from the output buffer are performed simultaneously. And a controller to
The input buffer and the output buffer have first and second memory areas, respectively, and the time required to write the amount of data that fills the first or second memory area of the input buffer to the recording device is t. 1. To read from the recording device an amount of data that fills the first or second memory area of the input buffer, T 1 , and the amount of data that fills the first or second memory area of the output buffer Is t 2 , and T 2 is the time required to output all the data filled in the first or second memory area of the output buffer.
t 1 + t 2 <T 1 and t 1 + t 2 <T 2
A data recording / reproducing apparatus characterized by satisfying
外部からの映像データを前記入力バッファに蓄積するステップと、
前記入力バッファに蓄積された映像データを前記記録装置に書き込むステップと、
前記記録装置に記録されている映像データを前記出力バ ッファに読み出すステップと、
前記蓄積するステップと同時に実行され、前記出力バッファに読み出された映像データを外部へ転送するステップとを備え、
前記入力バッファから前記記録装置への書き込みまたは前記記録装置から前記出力バッファへの読み出しと並行して、前記入力データの前記入力バッファへの蓄積および前記出力データの前記出力バッファからの転送を同時に実行するコントローラとを備え、
前記入力バッファおよび前記出力バッファはそれぞれ第1および第2のメモリ領域を有し、前記入力バッファの第1または第2のメモリ領域を満たす量の映像データを前記記録装置に書き込むために要する時間をt1、前記入力バッファの第1または第2のメモリ領域を映像データが満たすのに要する時間をT1、前記出力バッァの第1または第2のメモリ領域を満たす量の映像データを前記記録装置から読み出すために要する時間をt2、前記出力バッファの第1または第2のメモリ領域に満たされた映像データの全てを出力するのに要する時間をT2とすると、
t1+t2<T1 および t1+t2<T2
を満足することを特徴とする映像データの記録・再生方法。A video data recording / reproducing method for recording video data to a randomly accessible recording device having an independent input buffer and an output buffer, or reproducing the video data recorded in the recording device,
Storing external video data in the input buffer;
Writing the video data stored in the input buffer to the recording device;
Reading video data recorded in the recording device to the output buffer;
The step of transferring the video data read out to the output buffer to the outside, which is executed simultaneously with the storing step;
In parallel with writing from the input buffer to the recording device or reading from the recording device to the output buffer, accumulation of the input data into the input buffer and transfer of the output data from the output buffer are simultaneously performed. And a controller to
The input buffer and the output buffer have first and second memory areas, respectively, and the time required for writing video data in an amount that fills the first or second memory area of the input buffer to the recording device is set. t 1 , T 1 is the time required for video data to fill the first or second memory area of the input buffer, and the recording device stores video data in an amount that satisfies the first or second memory area of the output buffer. T 2 is the time required to read from the video buffer, and T 2 is the time required to output all the video data filled in the first or second memory area of the output buffer.
t 1 + t 2 <T 1 and t 1 + t 2 <T 2
Video data recording / reproducing method characterized by satisfying the above.
前記ハードディスクへ入力データを転送するための入力経路と、
前記ハードディスクに格納されたデータを出力しかつ前記入力経路と異なる出力経路と、
前記入力経路および前記出力経路と前記記録装置との間に位置し、前記ハードディスク内に格納されるデータを管理するファイルシステムとを備え、
前記入力経路上に入力バッファを、また前記出力経路上に出力バッファを配置し、前記入力バッファおよび出力バッファと前記ハードディスクとの間に介在するとともに、前記入力バッファおよび出力バッファを制御するコントローラを設け、
前記コントローラは、前記入力バッファから前記ハードディスクへの書き込みまたは前記ハードディスクから前記出力バッファへの読み出しと並行して、前記入力バッファへのデータの蓄積および前記出力バッファからのデータの転送を同時に実行し、
前記入力バッファから前記記録装置への書き込みまたは前記記録装置から前記出力バッファへの読み出しと並行して、前記入力データの前記入力バッファへの蓄積および前記出力データの前記出力バッファからの転送を同時に実行するコントローラとを備え、
前記入力バッファおよび前記出力バッファはそれぞれ第1および第2のメモリ領域を有し、前記入力バッファの第1または第2のメモリ領域を満たす量のデータを前記記録装置に書き込むために要する時間をt1、前記入力バッファの第1または第2のメモリ領域をデータが満たすのに要する時間をT1、前記出力バッァの第1または第2のメモリ領域を満たす量のデータを前記記録装置から読み出すために要する時間をt2、前記出力バッファの第1または第2のメモリ領域に満たされたデータの全てを出力するのに要する時間をT2とすると、
t1+t2<T1 および t1+t2<T2
を満足することを特徴とするディスクドライブユニット。A hard disk for storing data,
An input path for transferring input data to the hard disk;
An output path for outputting data stored in the hard disk and different from the input path;
A file system that is located between the input path and the output path and the recording device and manages data stored in the hard disk;
An input buffer is arranged on the input path and an output buffer is arranged on the output path, and a controller for controlling the input buffer and the output buffer is provided between the input buffer and the output buffer and the hard disk. ,
The controller simultaneously executes data accumulation in the input buffer and data transfer from the output buffer in parallel with writing from the input buffer to the hard disk or reading from the hard disk to the output buffer,
In parallel with writing from the input buffer to the recording device or reading from the recording device to the output buffer, accumulation of the input data into the input buffer and transfer of the output data from the output buffer are simultaneously performed. And a controller to
The input buffer and the output buffer have first and second memory areas, respectively, and the time required to write the amount of data that fills the first or second memory area of the input buffer to the recording device is t. 1. To read from the recording device the amount of time required for data to fill the first or second memory area of the input buffer T 1 and to fill the first or second memory area of the output buffer from the recording device Is t 2 , and T 2 is the time required to output all data filled in the first or second memory area of the output buffer.
t 1 + t 2 <T 1 and t 1 + t 2 <T 2
A disk drive unit characterized by satisfying
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28685099A JP3612455B2 (en) | 1999-10-07 | 1999-10-07 | Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit |
TW089117505A TW594683B (en) | 1999-10-07 | 2000-08-29 | Data recording and reproducing apparatus, method for recording and reproducing video data, disk drive unit, and control unit of data recording and reproducing apparatus |
US09/675,543 US7050705B1 (en) | 1999-10-07 | 2000-09-28 | Data recording and reproducing apparatus, method for recording and reproducing video data, disk drive unit, and control unit of data recording and reproducing apparatus |
AU75453/00A AU7545300A (en) | 1999-10-07 | 2000-10-05 | Apparatus and method for recording and reproducing data |
PCT/GB2000/003833 WO2001026368A1 (en) | 1999-10-07 | 2000-10-05 | Apparatus and method for recording and reproducing data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28685099A JP3612455B2 (en) | 1999-10-07 | 1999-10-07 | Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001111937A JP2001111937A (en) | 2001-04-20 |
JP3612455B2 true JP3612455B2 (en) | 2005-01-19 |
Family
ID=17709849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28685099A Expired - Fee Related JP3612455B2 (en) | 1999-10-07 | 1999-10-07 | Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit |
Country Status (5)
Country | Link |
---|---|
US (1) | US7050705B1 (en) |
JP (1) | JP3612455B2 (en) |
AU (1) | AU7545300A (en) |
TW (1) | TW594683B (en) |
WO (1) | WO2001026368A1 (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020048448A1 (en) * | 1993-03-29 | 2002-04-25 | Microsoft Corporation | Pausing the display of a television program as a signal including the television program is received |
US7558472B2 (en) | 2000-08-22 | 2009-07-07 | Tivo Inc. | Multimedia signal processing system |
US6233389B1 (en) | 1998-07-30 | 2001-05-15 | Tivo, Inc. | Multimedia time warping system |
US8380041B2 (en) * | 1998-07-30 | 2013-02-19 | Tivo Inc. | Transportable digital video recorder system |
US8577205B2 (en) | 1998-07-30 | 2013-11-05 | Tivo Inc. | Digital video recording system |
JP3900853B2 (en) * | 2001-05-15 | 2007-04-04 | 富士通テン株式会社 | Playback device |
EP1351500B1 (en) * | 2002-03-07 | 2009-10-21 | Nokia Corporation | Method of digital recording |
GB2386244A (en) * | 2002-03-07 | 2003-09-10 | Nokia Corp | Method of digital recording |
US7895633B2 (en) | 2004-11-19 | 2011-02-22 | Tivo Inc. | Method and apparatus for secure transfer and playback of multimedia content |
US7769274B2 (en) * | 2005-05-06 | 2010-08-03 | Mediatek, Inc. | Video processing and optical recording using a shared memory |
JP4358249B2 (en) * | 2007-03-19 | 2009-11-04 | 株式会社東芝 | Video storage device and control method thereof |
WO2010045445A2 (en) * | 2008-10-15 | 2010-04-22 | Marvell World Trade Ltd. | Architecture for data storage systems |
JP2010165395A (en) * | 2009-01-13 | 2010-07-29 | Hitachi Ltd | Storage equipment |
US9229847B1 (en) * | 2012-04-18 | 2016-01-05 | Open Invention Network, Llc | Memory sharing for buffered macro-pipelined data plane processing in multicore embedded systems |
KR102184906B1 (en) * | 2014-10-22 | 2020-12-02 | 엘지디스플레이 주식회사 | Display device and controller |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5134499A (en) * | 1988-08-04 | 1992-07-28 | Yamaha Corporation | Video recording apparatus having control means provided therein for independently controlling the writing head and the reading head |
WO1994024818A1 (en) * | 1993-04-15 | 1994-10-27 | Gesig Gesellschaft Für Signalanlagen Gesellschaft M.B.H. | Video reproduction signal storage arrangement |
EP1646049A3 (en) * | 1995-04-21 | 2010-01-06 | Imedia Corporation | An in-home digital video unit with combined archival storage and high-access storage |
EP1161089B1 (en) * | 1995-09-11 | 2003-12-17 | Matsushita Electric Industrial Co., Ltd. | Video signal recording and reproducing apparatus |
JPH11110915A (en) | 1997-09-30 | 1999-04-23 | Sony Corp | Signal recording and reproducing device and method |
US6693857B1 (en) * | 1999-11-04 | 2004-02-17 | Thomson Licensing S.A. | Data buffer management to enable apparent simultaneous record and playback from a rewritable digital disk |
-
1999
- 1999-10-07 JP JP28685099A patent/JP3612455B2/en not_active Expired - Fee Related
-
2000
- 2000-08-29 TW TW089117505A patent/TW594683B/en not_active IP Right Cessation
- 2000-09-28 US US09/675,543 patent/US7050705B1/en not_active Expired - Fee Related
- 2000-10-05 WO PCT/GB2000/003833 patent/WO2001026368A1/en active Application Filing
- 2000-10-05 AU AU75453/00A patent/AU7545300A/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
AU7545300A (en) | 2001-05-10 |
WO2001026368A1 (en) | 2001-04-12 |
JP2001111937A (en) | 2001-04-20 |
TW594683B (en) | 2004-06-21 |
US7050705B1 (en) | 2006-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4108121B2 (en) | Method and apparatus for recording program data | |
US7522817B2 (en) | Method and apparatus for storing content | |
EP1887575B1 (en) | Digital video recorder having hierarchical memories and method for implementing hierarchical memories | |
JP3612455B2 (en) | Data recording / reproducing apparatus, video data recording / reproducing method, and disk drive unit | |
JP4019604B2 (en) | Digital broadcast recording and playback method and apparatus | |
JP2001527346A (en) | Time shift method for simultaneous recording and playback of data streams | |
JP2006503496A (en) | Data management method | |
WO1995032584A1 (en) | Video time-shifting apparatus | |
KR20040013854A (en) | Video recording/reproducing apparatus and control method of memory device of thereof | |
JP3180542B2 (en) | Video playback device | |
JP2005302276A (en) | Data recording/reproducing system, storage device, and file access method | |
US20050232610A1 (en) | User automated content deletion | |
US7783171B2 (en) | Data recording/reproducing system, storage device, and file access method | |
WO2002065299A1 (en) | Device and method for managing the access to a storage medium | |
JP2001332021A (en) | Data reproducing device, data recording and reproducing device, medium and information aggregate | |
JP2002260336A (en) | Method and system for recording and reproducing information | |
KR100762580B1 (en) | Method for controlling storage space personal video recorder | |
JP2003264766A (en) | Recording and reproducing method for video signal, and video signal recording and reproducing device | |
JP4656679B2 (en) | Disk unit | |
JP2000308001A (en) | Editing device, data recording and reproducing device, and method for recording subject matter to be edited | |
JP2001157147A (en) | Digital recording and reproducing device having animation thumbnail display function and method for displaying the animation thumbnail | |
EP1835502B1 (en) | Dual storage method and apparatus for streamed AV signal for Time Shift recording function. | |
JP3158834B2 (en) | Video signal reproducing method and video signal reproducing apparatus | |
JP4099548B2 (en) | Video signal recording and playback device | |
JP3867864B2 (en) | Reproduction method of disk device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040330 |
|
RD14 | Notification of resignation of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7434 Effective date: 20040405 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20040623 |
|
A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20040628 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040928 |
|
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: 20041019 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041025 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |