JP2004178712A - Recorder - Google Patents
Recorder Download PDFInfo
- Publication number
- JP2004178712A JP2004178712A JP2002344721A JP2002344721A JP2004178712A JP 2004178712 A JP2004178712 A JP 2004178712A JP 2002344721 A JP2002344721 A JP 2002344721A JP 2002344721 A JP2002344721 A JP 2002344721A JP 2004178712 A JP2004178712 A JP 2004178712A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- hdd
- recorder
- storage medium
- 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.)
- Granted
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、データを記憶媒体に記憶し再生するレコーダに関するものであり、特に、時間的に連続してデータを記憶または再生する必要があるリアルタイム性を有するデータを記憶する際、データの配置に好適な環境を提供すべく管理するものである。
【0002】
【従来の技術】
IT(Information Technology)の発達に伴い、音楽や映像などのコンテンツをデジタルデータ(以下、コンテンツデータと称す)としてデジタル記録メディアに記録し、これを再生して楽しむことが可能となってきた。
【0003】
CD(Compact Disc)、DVD(Digital Versatile Disc)などの再生専用デジタル記録メディアに、コンテンツ提供者側で記録されたコンテンツデータを再生することから始まり、近年ではDVD−RAM(DVD−Random Access Memory)やHDD(Hard Disk Drive)といったランダムアクセス可能な書き換え型記録メディアを利用して、利用者側でコンテンツデータを録画することができるようになった。
【0004】
HDDを記録メディアとして用いたものとして、HDDを内部に固定したビデオレコーダの商品化が始まっている。
【0005】
このようなビデオレコーダに内蔵されたHDDには、2種類のデータが記録されることになる。1つは映像データそのものであり、もう1つは、記録した映像データを管理する管理データや予約録画、EPG(Electric Program Guide)などの番組データや予約データである。
【0006】
映像データであるビデオデータは、リアルタイムで記録または再生するために所定のビットレートにて連続して記録または再生を行う必要がある。実際には、HDDに対する書き込み・読み出し時の応答時間に制限を加えると共に、バッファメモリからのデータ読み出し速度を調整することより、ビットレートを補償している。このようにリアルタイム性を重視したデータをリアルタイムデータと称す。これに対して、管理データや番組データや予約データはリアルタイム性を重視する必要がないデータであり、これをノンリアルタイムデータと呼ぶ。
【0007】
HDDにおけるアクセス(書き込み/読み出し)単位は512バイトのセクタであり、各セクタには、論理アドレスが付与されている。論理ドレスを指定することによって記録媒体上の位置が指定される。
【0008】
リアルタイムデータを、HDD内の連続する論理アドレスによって指定される一連のセクタに記録する場合、シークによるアクセス待ち時間が短くなるため、データへのアクセス時間も短くなり、書き込みまたは読み出しが余裕を持って処理される。
【0009】
しかしながら、ビデオデータに代表されるリアルタイムデータのデータ量は膨大であり、この膨大なデータを常に論理アドレスが連続するセクタに配するようにセクタをHDDに確保することは、現実性に乏しい。
【0010】
これに対して、HDDに内に点在するようにセクタを配した場合、データの書き込みまたは読み出し時に、頻繁にシーク(磁気ヘッドの移動)が発生する。このため、データの書き込みに要するアクセス時間は、シーク毎に費やされるシーク時間および回転待ち時間分遅くなり、アクセスが間に合わなく恐れがある。
【0011】
そこで、リアルタイムデータに対しては、ある程度のデータを連続してアクセスできるように、予め定めた一定数の連続ブロックを1つの記録単位、すなわち、ユニットとしてアクセスを行う。
【0012】
これに対し、ノンリアルタイムデータは時間的制限がないため、アクセス単位を規定する必要はなく、バッファメモリ109を介す必要もない。また、このノンリアルタイムデータは、リアルタイムデータに比してデータ量が少ない。
【0013】
したがって、記録単位については、ビデオレコーダにおいて管理可能な最小の単位で十分である。この最初の単位は、このビデオレコーダにおいて採用されたファイルシステムによって決定されるものであり、ユニットより小さな単位となる(以下、この最小の管理単位を“クラスタ”と称す)。
【0014】
また、ユニットもクラスタと共に、ファイルシステムによって管理される必要があるため、ユニットはクラスタの整数倍とすることが最適である。
【0015】
このような2種類のデータを混在したデータの管理は、リアルタイムデータを記録する領域と、ノンリアルタイムデータを記録する領域を、予め分割して管理することができるビデオレコーダ独自のファイルシステムを用いることで実現することができる。
【0016】
他方、ITの発達は、これまで独立して扱われてきたAV機器とPC(personal computer)との境界を取り除いてしまった。このためデジタル記録メディアを、ビデオレコーダから挿脱可能な可搬型デジタル記録メディアとした場合には、その可搬型デジタル記録メディアは、PCにおいても利用可能なデジタル記録メディアとして扱われることができる。
【0017】
したがって、HDDを固定型から可搬型へと進化させたビデオレコーダにおいては、ビデオレコーダ独自のファイルシステムを用いると、PCにおいてデータ記録できないばかりか、ビデオデータが記録されていることすら解釈できず、記録されているビデオデータが削除されてしまうといった危険性があり、独自のファイルシステムの採用は好ましくない。
【0018】
これに対して,可搬型デジタル記録メディアであるDVD−RAMを用いたビデオレコーダの商品化も行われている。たとえば、DVD−RAMを用いたビデオレコーダにおいては、UDF(Universal Disk Format)と呼ばれる、汎用のファイルシステムを用いてデータ管理がなされている。
【0019】
しかしながら、ユニットは、UDFの管理単位であるクラスタとは一致しない。そこで、ファイルシステムの管理のもとで、ユニットを配した専用ファイルを確保し、専用ファイル内に記録するユニットの配置を管理することで、混在した2種類のデータの管理を実現している。
【0020】
なお、専用ファイルは、予め連続したセクタを割り当てた大容量の専用ファイルであって、リアルタイムデデータを削除しても、決してセクタを開放することはないリアルタイムデータ専用の領域となる。この方法は、固定型、可搬型を問わずHDDを用いたレコーダにおいても採用することができる。
【0021】
このように、事前にユニットを配置する領域を事前に確保する方式、すなわち、リアルタイムデータを記録する領域とノンリアルタイムデータを記録する領域を予め分けておくことによって、混在した2種類のデータの管理を実現するユニット配置方式は、静的ユニット配置方式と呼ばれるものである。
【0022】
ビデオレコーダやPCにおいて、可搬型HDDを横断的に利用できることは、利用者にとってメリットが大きい。この場合、記憶されるデータの管理には、汎用のファイルシステムを用い、いずれの装置においてもデータ記録状態が確認できること、また、データの記録されていない空き領域が効率的に利用できること、が望まれる。
【0023】
このことからすれば、ビデオデータの記録の有無に関係なくユニットの配置領域を確保する静的ユニット配置方式よりも、必要に応じてユニットを動的に配置する動的ユニット配置方式が好ましい。
【0024】
【発明が解決しようとする課題】
リアルタイムデータとノンリアルタイムデータが混在する形式で記録されるHDDに対して、動的ユニット配置方式を採用した場合、記録、編集または削除を行うたびに、データを記録したセクタの離散化が進み、空きセクタが次第に点在するようになる。
【0025】
PCにおいて、可搬型のHDDに対しノンリアルタイムデータの記憶/消去を繰り返すと、空きセクタの点在はさらに顕著に現れてくる。この結果、HDDには十分な空きセクタがあるにもかかわらず、連続したセクタを確保できないために、リアルタイム性を保証したユニットを設けることができなくなり、空きセクタ数から算出される残記録容量と、確保可能なユニットから算出される残記録容量との間に、著しく差が生じるという問題が発生する。
【0026】
本発明は、かかる問題を解決するためになされたものであり、空きのセクタによる残記録容量と、確保可能なユニットから算出される残記録容量との差が著しく異なる状態を回避する機能を実現したビデオレコーダを提供することを目的とする。
【0027】
【課題を解決するための手段】
このような問題を解決するために、本発明は記録媒体の空きセクタの数によって求められる残記憶容量と、空きセクタを用いて新たに確保可能なユニット数によって求められる残記憶容量とを算出し、両者の間に顕著な差が生じたとき、利用者に対して、再配置処理を指示するように警告を発し、再配置処理の実施を促す。
【0028】
利用者がこの警告を受けて改善の指示した場合、記録済みセクタの再配置を繰り返し行うことで空きセクタの点在を回避し、空きセクタを用いて新たに確保可能なユニット数によって求められる残記憶容量を、空きセクタの数によって求められる残記憶容量に近づける。
【0029】
これにより、動的にユニットを確保した上で、記録媒体の持つ記憶容量を効率的に利用することが可能なレコーダを提供することが可能となる。
【0030】
各請求項に係る発明の特徴は以下の通りである。
【0031】
請求項1の発明は、記憶媒体にデータを記憶するレコーダにおいて、ブロックを単位としてデータを記憶する第1の記憶手段と、所定数の連続した前記ブロックにより構成されるユニットを単位としてデータを記憶する第2の記憶手段と、前記記憶媒体上のデータが記録されていない空きブロックの数によって求められる第1の残記憶容量と、当該空きブロックによって新たに確保可能なユニットの数によって求められる第2の残記憶容量とに基づいて、前記記憶媒体上における記憶済みデータを再配置する必要があるか判定する判定手段と、前記判定手段によって再配置する必要があると判定された場合に、利用者に対し通知を発する通知手段とを備えることを特徴とする。
【0032】
請求項2の発明は、記憶媒体にデータを記憶するレコーダにおいて、ブロックを単位としてデータを記憶する第1の記憶手段と、所定数の連続した前記ブロックにより構成されるユニットを単位としてデータを記憶する第2の記憶手段と、前記記憶媒体上のデータが記録されていない空きブロックの数によって求められる第1の残記憶容量と、当該空きブロックによって新たに確保可能なユニットの数によって求められる第2の残記憶容量とを比較し、両者の差が所定の基準を満たすか否か判定する判定手段と、前記判定手段によって、前記所定の基準を満たさないと判定された場合、利用者に対し通知を発する通知手段とを備えることを特徴とする。
【0033】
請求項3の発明は、請求項1または2に記載のレコーダにおいて、利用者の操作によって利用者の指示を受ける指示入力手段と、前記通知手段からの通知に対応して、前記指示入力手段から利用者の指示を受け取ると、前記記憶媒体上における記憶済みデータを再配置することにより前記第2の残記憶容量を増加させる再配置処理手段とをさらに備えることを特徴とする。
【0034】
請求項4の発明は、請求項1ないし3の何れかに記載のレコーダにおいて、前記ユニットは、遅延を生じることなく時間的に連続してデータを記憶または再生する必要があるリアルタイムデータを記録するために記憶媒体の性能に基づいて定められる連続して記憶または再生可能な単位であり、前記第1の記憶手段は、前記リアルタイムデータ以外のデータを、空きブロックに記憶し、前記第2の記憶手段は、連続した所定数の空きブロックをユニットとして確保し、前記リアルタイムデータを確保したユニットに記憶することを特徴とする。
【0035】
請求項5の発明は、請求項1ないし4の何れかに記載のレコーダにおいて、前記記憶媒体に対し活性化を行い、その後、前記判定手段に対し判定処理を指示する制御手段をさらに備えることを特徴とする。
【0036】
請求項6の発明は、請求項5に記載のレコーダにおいて、前記記憶媒体を着脱可能とする接続部と、前記記憶媒体が前記接続部に接続された装着状態か、着脱された未装着状態であるかを検出する装着検出手段をさらに備え、前記制御手段は、前記装着検出手段により装着状態であることを検出した場合、前記記憶媒体を活性化させ、前記判定手段に判定処理を行うよう指示することを特徴とする。
【0037】
請求項7の発明は、請求項1ないし6の何れかに記載のレコーダにおいて、前記通知手段は、発光素子であって、前記判定手段が前記所定の基準を満たさないと判断した場合、発光し、前記再配置処理手段が再配置処理を行うことによって、前記所定の基準を満たす場合、消光することを特徴とする。
【0038】
請求項8の発明は、請求項1ないし6の何れかに記載のレコーダにおいて、再生する映像信号に、メッセージを重畳するメッセージ重畳手段をさらに備え、前記通知手段は、前記メッセージ重畳手段に対し、再配置処理の実行を促すメッセージを映像信号に重畳する指示を行うことを特徴とする。
【0039】
上記請求項において、「活性化」とは、記憶媒体に電源を供給すると共に、記憶媒体を利用可能とするための各種設定(たとえばブロック長の設定等)を行う処理を意味する。また、「再配置」とは、記憶媒体上における記憶済みデータの記録位置を変更することを意味し、ブロック単位での記録位置変更やユニット単位での記録位置変更等を広く含み得るものである。
【0040】
本発明の特徴は、以下に示す実施の形態の説明により更に明らかとなろう。
【0041】
ただし、以下の実施の形態は、あくまでも、本発明の一つの実施の形態であって、本発明ないし各構成要件の用語の意義は、以下の実施の形態に記載されたものに制限されるものではない。
【0042】
なお、上記請求項における「ブロック」は、実施の形態において「クラスタ」として示されている。
【0043】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照して説明する。
【0044】
(第1実施例)
図1は、実施の形態に係るビデオレコーダ100の全体構成を示す図である。
【0045】
ビデオレコーダ100には、ランダムアクセス可能な記録媒体の一例としてHDD115が、内蔵されている。また、アナログTV波とアナログ外部入力を入力としている。
【0046】
ビデオレコーダ100は、受信波入力端子101、チューナ102、外部入力端子103、セレクタ104、CCI(Copy Control Information)検出器105、NTSCデコーダ106、符号化器107、スクランブラ108、バッファメモリ109、システムコントローラ110、リモコン受信器111、操作パネル112、時計113、HDDコントローラ114、HDD115、デスクランブラ116、復号器117、NTSCエンコーダ118、CCI埋込器119、外部出力端子120、記録時間判定部121、LED122、再配置処理部123、バスAから構成されている。
【0047】
また、バッファメモリ109は、記録時に用いる領域109aと再生時に用いる領域109bの2つの領域を備えている。
【0048】
受信TV波は、アンテナ(図示されず)によって受信され、受信波入力端子101を介して、チューナ102に入力される。そして、チューナ102において利用者指示により所望のチャンネルに対する入力信号として抽出され、セレクタ104に入力される。
【0049】
一方、他の映像機器(図示されず)を信号源とする入力信号は、外部入力端子103を介して、セレクタ104に入力される。セレクタ104では、利用者の指示にしたがって、チューナ102または外部入力端子103を経て入力された入力信号のいずれかを選択し、これをCCI検出回路104およびNTSCデコーダ105に入力する。
【0050】
CCI検出回路104は、入力信号内の映像信号に埋め込まれているCCIの検出およびコピー可否の判断を行う。CCIとしては、マクロビジョン(Macrovision)、CGMS−A(Copy Generation Management System for Analog Signal)などがあり、映像信号に埋め込まれたこれらの信号を抜き取り、入力された映像信号の記録の可否および記録する状態の決定を行う。すなわち、マクロビジョンの埋め込みを検出した場合には、記録不可、非検出時には記録可となる。
【0051】
CGMS−Aの信号を検出し、その内容が「コピー不可」の場合には記録不可、「1世代だけコピー可」の場合には、スクランブル状態で記録、「コピー可」の場合には、非スクランブル状態での記録となる。
【0052】
なお、アナログ地上波については、CCIが埋め込まれていないため非スクランブル状態での記録となる。判定結果は、バスAを介してシステムコンロトローラ110に伝えられる。
【0053】
一方、NTSCデコーダ106では、入力信号から、映像信号と音声信号の分離および両信号のデジタル化を行い、デジタル化した映像と音声を符号化器107へ出力する。そして、符号化器107において、データ量の削減を目的とした圧縮符号化方式、例えば、MPEG2(Motion Picture coding Experts Groups phase 2,ISO/IEC13818)方式にしたがった符号列すなわちビデオデータへと変換し、変換後のビデオデータをスクランブラ108に入力する。このビデオデータへの変換によって、データ量は著しく削減される。
【0054】
スクランブラ108は、変換されたビデオデータに対してスクランブルを施す。スクランブルとは他の機器へ複製されたとしても再生不能な状態とすることを目的として、ビデオデータを暗号化する処理である。
【0055】
スクランブルの指示は、CCI検出器104によって、「1世代だけコピー可」であることが検出され、スクランブル状態で記録すると判断された入力信号に対するビデオデータに対して指示される。指示のないビデオデータは、そのまま出力される。
【0056】
出力されたビデオデータは、バッファメモリ109の領域109aにて一時的に蓄えられ、所定の量のデータが蓄えられると、バッファメモリ109の領域109aに蓄えられたビデオデータは、システムコントローラ110の指示に従って、バスAおよびHDDコントローラ114を介して、デジタル記録媒体であるHDD115に記録される。
【0057】
再生時に、HDD115から読み出されたビデオデータは、システムコントローラ110の指示に従って、HDDコントローラ114、バスAを介して、バッファメモリ109の領域109bに一時的に蓄えられる。このとき復号器117での復号に必要なビデオデータが、適時供給されるように、常に一定量のビデオデータがバッファメモリ109の領域109bに蓄えられているように、システムコントローラ110が、データ量を制御している。
【0058】
バッファメモリ109の領域109bに蓄えられたビデオデータは、デスクランブラ116に入力され、これがスクランブルされたビデオデータである場合には、スクランブラ108において施されたスクランブルが解除され、スクランブルされていないビデオデータの場合には、そのまま復号器117に出力される。
【0059】
復号器117は、ビデオデータ(符号列)の解釈を行い、入力されたビデオデータを元の映像と音声のデジタルデータに復元し、これをNTSCエンコーダ110に出力する。そして、NTSCエンコーダ118においてアナログの映像信号と音声信号に変換して再生信号をCCI埋込器119に出力する。
【0060】
CCI埋込器119は、システムコントローラ110の指示にしたがって、「コピー不可」を示すCCI情報を入力された再生信号に埋め込みを行い、出力信号として外部出力端子120を介し外部に出力する。「コピー不可」を示すCCI情報の埋め込み指示は、記録時にCCI検出回路104にて「1世代だけコピー可」を検出したビデオデータを再生した再生信号に対して指示される。指示を受けない再生信号はそのまま出力信号として外部出力端子120を介し外部に出力する。
【0061】
なお、バッファメモリ109は、揮発性のメモリであり、それぞれ符号器107、復号器117とHDD115とのアクセスの違いを緩和するための緩衝機能を提供する。
【0062】
HDDコントローラ114は、HDD115との間のデータ授受を行う制御機能および電気的接続を提供するインタフェースを提供する。システムコントローラ110は、ビデオレコーダ全体の制御およびHDD115内のデータ管理等を行い、映像の記録および再生を実現し、主にマイクロコンピュータによって構成される。
【0063】
操作パネル111およびリモコン受信部112は、利用者の指示を受け取るための入力装置であり、操作パネル111は直接に、リモコン受信部112はリモコン(図示せず)を介して間接的に、利用者の指示を受け取る。時計113は、予約録画を行うためのものである。なお、予約録画を管理するための予約データはHDD115に格納される。
【0064】
記録時間判定部121は、HDD115の利用状況、すなわち、データの記録されていない空きクラスタの確認や確保可能なユニット数の算出、記録済みクラスタの再配置処理の要否判定等の処理を行う。かかる処理の詳細については、追って詳述する。
【0065】
LED122は、記録時間判定部121により記録済みデータの再配置処理が必要と判定されたときに、システムコントローラ110からの制御に応じて発光される。再配置処理制御部123は、ユーザからの再配置処理指令に応じて、記録済みクラスタの再配置を行う。
【0066】
以下、図7を用いて本実施例における再配置処理時の動作を説明する。
【0067】
前述のシステムコントローラ110は、HDD115の利用状況を確認する判定開始を指示するための条件を満たした場合、すなわち、開始予定時刻を経過し、かつ、ビデオレコーダ100が待機時に記録時間判定部121に対して、HDD115の利用状況を確認するように判定処理の開始の指示をする(S11)。なお、判定処理の開始を指示するタイミングとしては、他に、前回の判定処理からデータの削除回数が設定した閾値を越えた時、残記憶容量が設定した閾値を下回った時等、種々の方法を採用し得る。
【0068】
記録時間判定部121は、判定処理の開始の指示を受けてHDDコントローラ114を通してHDD115の利用状況、すなわち、データの記録されていない空きクラスタの確認を行う。そして、現在の空きクラスタの配置から設けることができるユニット数を求め、リアルタイムデータの残記録時間を算出する。
【0069】
さらに、現在の空きクラスタの数から再配置処理を行うことで確保できるであろうユニットを求め、リアルタイムデータの予想最長残記録時間を算出する。そして、これら二つの残記録時間を比較し、再配置処理(後述)を行う必要があるか否かを判断する。たとえば、再配置により所定数のユニット(所定時間以上の残時間に相当)を構成できる場合に記録時間の確保が可能と判定し、さらに、残記録時間と予想最長残記録時間の差が所定の基準値を上回っている場合には、再配置処理により残記録時間の改善が見込めるため、「再配置処理必要」と判断する。逆に、基準値以下の場合には、残記録時間の改善が見込まれないため、「再配置処理必要なし」と判断する。そして、判定結果をシステムコントローラ110に通知する(S12)。
【0070】
システムコントローラ110は、記録時間判定部121から受け取る。
通知が「再配置処理必要なし」の場合、LED122を消灯させ(S17)、前述の判定処理を次に実施する開始予定時刻を設定する(S18)。通知が「再配置処理必要」の場合、LED122を発光させる(S13)。すなわち、システムコントローラ110は、記録時間判定部121からの信号を受けたとき、HDD115の記録効率が低下していることを利用者に通知するために、LED122を点灯させる。
【0071】
LED122による通知を受けた利用者が、リモコン(図示せず)あるいは操作パネル111を操作して再配置処理の開始を指示すると(S14)、再配置処理部123は、HDD115に記録されたデータの再配置処理を行う(S15)。
【0072】
なお、再配置処理とは、HDDに記録のディスク上の記録位置を、同じHDD上の異なる位置に移すことで、新たに確保できるユニット数を増加させる処理である。
【0073】
再配置処理部123は、HDD115のディスク上の空きクラスタからユニットが多く確保できるように、すなわち、空きクラスタがユニット単位で連続するように、ディスクに点在するデータの記録された記録済みクラスタの配置を変更する処理を行うために、HDDコントローラ114を介してHDD115のデータの読み出しと書き込みを繰り返し指示する。
【0074】
この再配置処理においては、ユニットを破壊する再配置は行わないものとする。
【0075】
再配置処理が終了すると、再配置処理部123はシステムコントローラ110にその旨通知する。
【0076】
システムコントローラ110は、再配置処理により残記録時間が延び、予想最長残記録時間に近づいたと判断し、LED122を消灯し(S16)、前述の判定処理を次に実施する開始予定時刻を設定する(S18)。
【0077】
なお、再配置処理(S15)の実行中、利用者の指示、あるいは、予約録画等の優先すべき処理の実行により再配置処理が中断された場合には、優先すべき処理が終了後、前述の判定処理をすぐに行うよう時刻の設定を行う(S19)。
【0078】
図2に、ビデオレコーダ100のフロントパネルを示す。
【0079】
図2(a)は、LED122が消灯した状態であり、再配置を必要としないことを示す。図2(b)は、LED122が点灯した状態であり、利用者に対し再配置処理が必要であることを通知し、再配置処理を開始するよう促す。
【0080】
このように、上記ビデオレコーダ100は、HDD115内の利用状況をチェックし、HDDの利用効率が低下すると利用者に対して再配置処理の開始を促し、利用者の指示によって再配置処理を実施し、HDD115の利用効率の改善を図るものである。
【0081】
なお、本実施例では、利用者からの指示により再配置処理の開始を実行するようにしたが、これは、再配置処理を実施している間、ビデオレコーダ100が利用できなくなるため、これを利用者に承諾してもらう意味もある。
【0082】
なお、記録時間判定部121の判定処理において、残記録時間と予想残記録時間とを比較して判断するようにしたが、これらは空きクラスタによる残記憶容量と空きクラスタの配置に基づき求められるユニットとして確保可能な残記憶容量を所定の計算式によって変換して算出したものであるため、残記憶容量と、ユニットとして確保可能な残記憶容量に基づいて判断するものとしてもよい。
【0083】
さらには、残クラスタ数と確保可能なユニット数に基づいて判断するものとしてもよい。HDD115内の利用状況を確認することにより得られる情報により、HDD115内の記録済みクラスタが点在することによって空きクラスタが分割され、リアルタイムデータの記録時間すなわち記憶容量が低下していることが確認できればよい。
【0084】
(第2実施例)
図3は、本実施例の形態に係るビデオレコーダ200の全体構成を示す図である。
【0085】
本図において、ビデオレコーダ200は、図1のビデオレコーダ100のHDD115を着脱可能なHDDユニット201に変更した構成である。
【0086】
ビデオレコーダ200は、第1実施例の形態に加えて、HDDユニット201、ソケット202、挿脱検出部203、システムメモリ204を有する。
【0087】
システムメモリ204は、予約録画やEPG情報などのビデオレコーダ内部で参照する情報が記録されるメモリであって、HDDユニット201を着脱自在であることから、HDDユニット201に依存せず、かつ、ビデオレコーダ200の動作に関連がある情報が記録される。
【0088】
ビデオレコーダ100と同一の機能を有するブロックには、同一番号を付し、その説明は省略する。また、映像信号の録画および再生といった基本動作についても、上記ビデオレコーダ100と同一であるため、説明を省略し、本実施例により新たに提供される機能について説明する。
【0089】
HDDユニット201は、HDD115を内蔵する。HDDユニット201は、HDD115を可搬型とするために外殻に設けたものであり、ビデオレコーダ200のソケット202に対して着脱自在に装着することを除いて、HDD115の提供する機能しか持たない。
【0090】
なお、以下の説明においては、便宜上、このHDDユニット201そのものをHDD115と同等と見なす。このソケット202に装着されたHDDユニット201へのデータの書き込み、およびHDDユニット201からのデータの読み出しは、HDD115同様にHDDコントローラ114によって制御され実行される。
【0091】
以下、図8を用いて本実施例における再配置処理時の動作を説明する。
【0092】
前述のように、ビデオレコーダ200は、ソケット202にHDDユニット201を着脱自在に装着することができる。また、挿脱検出部203は、ソケット202にHDDユニット201が装着されているか否かの状態を検出し、その状態をシステムコントローラ110に伝える。
【0093】
システムコントローラ110は、挿脱検出部123の検出結果に基づいて、ソケット202にHDDユニット201が装着された状態で電源投入された時、または、電源オンの状態で、ソケット202に新たにHDDユニット201が装着された時、HDDコントローラ114に指示してHDDユニット201の活性化処理が行われる。再配置処理では、この活性化処理が行われたか否かの判断を行う(S21)。
【0094】
ここで活性化とは、HDDユニット201に電源を供給し、利用可能な状態とすると共に、HDDユニット201内の記録されているHDDの仕様に関するデータやHDDユニット201の利用状況をシステムコントローラ110へバスAを介して通知し、HDDユニット201に対してデータの記録または読出が可能な状態とすることを示す。
【0095】
そして、システムコントローラ114は、HDDユニット201が活性化すると、記録時間判定部121に対し、判定処理の開始の指示を出力する。
【0096】
判定処理の開始の指示を受けた記録時間判定部121は、判定処理を開始する。かかる判定処理における残記録時間および予想残記録時間の算出動作は、第1実施例の形態と同じであるため、説明を省略する。 記録時間判定部121は、再配置処理が必要か否かの判定結果として、予想残記録時間が予め定められた最低記録時間に達しない場合、「残容量不足」を通知し、予想残記録時間が最低記録時間に達し、かつ、所定の基準値を上回っている場合、「再配置必要あり」を通知し、予想残記録時間が最低記録時間に達し、かつ、所定の基準値を以下の場合に、「再配置必要なし」をシステムコントローラ110に通知する(S22)。
【0097】
システムコントローラ110は、これらの通知に従って、フロントパネル上のLED111を図4に示すように点灯を行う(S23,24,25)。
【0098】
図4は、本実施例におけるビデオレコーダ200のフロントパネルによる通知例である。フロントパネルには、操作パネル111、LED122、ソケット202が配置されている。なお、LED122は、赤(R)、橙(Y)、緑(G)の3色が発光可能な発光素子であり、消灯状態を含めた4状態を通知可能である。
【0099】
図4(a)は、HDDユニット201がソケット202内に装着されない状態を示し、図4(b)〜(d)は、HDDユニット201がソケット202内に装着された状態を示す。
【0100】
HDDユニット201が未装着である場合、図4(a)に示すように、LED122を消灯させる。これは、上記S21によってループしている状態である。
【0101】
HDDユニット201を装着し、かつHDDユニット201に対する通知が、「再配置必要なし」の場合、図4(b)に示すように、LED122を緑(G)に発光させる(S24)。
【0102】
HDDユニット201を装着し、かつHDDユニット201に対する通知が、「再配置必要有り」の場合、図4(c)に示すように、LED122を橙(Y)に発光させる(S25)。この状態において、記録効率が低下していることを利用者に通知し、利用者からの再配置開始指示を待つ。 HDDユニット201を装着し、かつ、HDDユニット201に対する通知が、「残容量不足」の場合、図4(d)に示すように、LED122を赤(R)に発光させる(S23)。このような状態は、HDDユニット201を、別のHDDユニットに交換することを促すための通知である。利用者は、HDDユニット201を別のHDDユニットに交換する必要がある。
【0103】
S23またはS24において、LED122を、赤(R)または緑(G)に発光させたコントローラ110は、HDDユニット201の取り外しを検出するためにHDDユニット201が装着されているか確認する(S33)。
【0104】
HDDユニット201が装着されていない場合、HDDユニット201が取り外されたと判断し、点灯していたLED122を消灯し(S34)、本処理を終了する。他方、HDDユニット201が装着されている場合、HDDユニット201が取り外されるまで、S33を繰り返す。
【0105】
S25においてLED122を橙(Y)に発光させたコントローラ110は、再度、HDDユニット201が装着されているか確認する(S26)。そして、HDDユニット201が装着されていない場合には、点灯していたLED122を消灯し(S34)、本処理を終了する。また、HDDユニット201が装着されている場合には、再配置処理の開始指示の有無を確認する(S27)。
【0106】
再配置処理の開始指示がない場合、HDDユニット201が取り外されるまでS26およびS27を繰り返す。再配置処理の開始指示があると、再配置処理を実施し(S28)、再配置が終了したら、LED122の点灯を橙(Y)から緑(G)に変化させ(S29)、S33へ処理を移行する。
【0107】
再配置処理中に、例えば、予約録画等、優先すべき処理が発生したとき、実行中の再配置処理は中止される(S30)。このとき、再度、HDDユニット201が装着されているか確認する(S31)。
【0108】
HDDユニット201が装着されていない場合、点灯していたLED122を消灯し(S34)、本処理を終了する。HDDユニット201が装着されている場合、再配置処理を中止することになった要因が解消したか否かを確認する(S32)。例えば、予約録画が終了したか否かを確認することである。
【0109】
再配置処理を中止することになった要因が解消した場合、再配置処理の必要性の判定処理(S22)から処理を継続する。他方、再配置処理を中止することになった要因が解消しない場合、HDDユニット201の有無確認(S31)およびS32を繰り返す。
【0110】
なお、本実施例では、記録時間判定部121における判定は、HDDユニット201が他の装置によって利用され、データが記録/削除されたことが予想されるため、HDDユニット201の活性化後に指示することとしたが、ビデオレコーダ100の場合と同様に、他の要因によって開始するように構成してもよい。
【0111】
また、記録時間判定部121における判定処理として、予想残記録時間と残記録時間の差によって判断する一例を示したが、予想残記録時間と残記録時間に基づいて再配置処理の必要の有無に関する判定を行うものであればよい。さらに、予想残記録時間は空きクラスタ数から求められる残記憶容量によって、また、残記録時間は現状のユニットとして確保可能な残記憶容量から所定の計算式によって求められるため、これらに基づいて判断するものとしてもよい。また、空きクラスタ数と確保可能なユニット数に基づいて判断するものでもよい。
【0112】
すなわち、HDDユニット201内の利用状況を確認することにより得られる情報からHDDユニット201内の記録済みクラスタの点在が空きクラスタの分割を生じ、リアルタイムデータの記録時間、すなわちユニットによる記憶容量を低下させ、さらに、記録済みクラスタの再配置(空きクラスタの再配置)を行うことによって、ユニットによる記憶容量を増加させることが判断できればよい。また、第1〜2実施例においては、ビデオレコーダ100あるいは200のフロントパネルに配置したLED122によって再配置の開始を通知するようにしたが、LEDに限定するものでなく、何れの表示素子によって通知してもよい。
【0113】
また、ビデオレコーダ100あるいはビデオレコーダ200では、記録時間判定部121、再配置処理部123を独立した構成としたが、これは、記録時間判定部121、再配置処理部123の実施形態について何ら制約を加えるものではない。これらの機能は、システムコントローラ110上で実行されるプログラムによって実装することも可能であり、この場合、記録時間判定部121、再配置処理部123は、システムコントローラ110内に組み込まれる。
【0114】
また、再配置処理のアルゴリズムについては、リアルタイムデータが記録されているユニットを破壊する再配置がなされず、かつ、確保可能なユニット数が増加するような再配置であれば、いかなるアルゴリズムであってもよい。例えば、空きクラスタを全て連続するように再配置するアルゴリズムであってもよく、また、少なくとも1ユニット確保可能な連続する空きクラスタ群を配する再配置するアルゴリズムであってもよい。
【0115】
(第3実施例)
第1、2実施例では、いずれもフロントパネルに配置された表示素子によって通知するものであったが、ここでは他の通知方法を備えたビデオレコーダ300について説明する。
【0116】
ビデオデコーダ300の全体構成を図5に示す。
【0117】
ビデオレコーダ300は、ビデオレコーダ200に対して、オンスクリーンディスプレイ(OSD)部301を加えた構造である。他の構成および機能は、全てビデオレコーダ200と同一であり、同一番号を付して示し、以下、本発明により新たに提供される機能についてのみ説明する。
【0118】
OSD部301は、再生信号に対し、所定の文字列などを重ね合わせて出力する。
【0119】
システムコントローラ110から、メッセージ「再配置を行ってください」の出力指示を受けると、出力信号に指示されたメッセージを重ねあわせ、出力端子120に出力する。
【0120】
出力信号をモニタに表示した画像例を図6に示す。本図では、再生中の再生画像に「再配置を行ってください」のメッセージが重ね合わせて表示されている。なお、ビデオレコーダ300が再生中でない場合には、OSD部301等から出力信号としてブルーバックを出力し、メッセージを重ね合わせる。
【0121】
システムコントローラ110は、OSD部301にメッセージ表示を指示するとともに、第2実施例で説明したビデオレコーダ200ようにLED122に発光指示を行う。
【0122】
このように、本実施例では、HDDユニット201の記録効率が低下している旨のメッセージを、利用者が見ている再生画像に重ねて表示するため、利用者はそれを容易に知ることができる。
【0123】
なお、本実施例では、記録効率が低下している旨のメッセージとして、「再配置を行ってください」としたが、メッセージの内容を限定するものではない。
【0124】
また、メッセージは、文章である必要はなく、予め規定したアイコン・マーク等の表示であってもかまわない。また、ビデオレコーダ300では、LED122とOSD部301に2つの手段によって通知するものとして示したが、OSD部301のみによる通知でもよい。
【0125】
以上、本発明の実施の形態を第1〜第3実施例をもとに説明したが、これらの実施の形態は何れも例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。
【0126】
本実施の形態では、記録時間判定部121、再配置処理部123と独立した処理系となっているが、これらをシステムコントローラ110に組み込んだプログラムとして実装することも可能である。
【0127】
また、本実施の形態では、アナログ映像信号を入力とするビデオレコーダを例に挙げて説明したが、ビデオデータの入力を限定するものではなく、デジタル放送やインターネット経由で入手したビデオデータを記録再生するビデオレコーダにも広く利用できる。
【0128】
その他、HDD115またはHDDユニット201の使用状況を調べるタイミング等も適宜変更可能である。
【0129】
本実施の形態では、ハードディスクを例にとって説明したが、このほかDVD−RAM、MO、半導体メモリ、その他ランダムアクセスが可能な任意のデジタル記録媒体の場合にも適用可能である。
【0130】
【発明の効果】
本発明により、連続したセクタからなるユニットにデータを記録する場合、空きのセクタにより残記録容量と、確保可能なユニットから算出される残記録容量との差が、著しく異なる状態を回避することができる。
【0131】
これにより、記録媒体の利用効率を向上させることができるようになる。
【図面の簡単な説明】
【図1】第1実施例におけるビデオレコーダ100の構成を示す図
【図2】当該ビデオオレコーダ100のフロントパネルの状態を示す図
【図3】第2実施例におけるビデオレコーダ200の構成を示す図
【図4】当該ビデオオレコーダ200のフロントパネルの状態を示す図
【図5】第3実施例におけるビデオレコーダ300の構成を示す図
【図6】当該ビデオオレコーダ300の表示画像例を示す図
【図7】第1実施例におけるビデオレコーダ100の処理フローを示す図
【図8】第2実施例におけるビデオレコーダ200の処理フローを示す図
【符号の説明】
10、100、200、300 ビデオレコーダ
110 システムコントローラ
111 操作パネル
112 リモコン受信部
114 ハードディスクドライブ(HDD)
115 HDDコントローラ
121 記録時間判定部
122 LED
123 再配置処理部
201 HDDユニット
202 ソケット
203 挿脱検出部
301 オンスクリーンディスプレイ(OSD)部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recorder that stores and reproduces data in a storage medium, and in particular, when storing data having a real-time property that requires data to be stored or reproduced continuously in time, the arrangement of data is It manages to provide a suitable environment.
[0002]
[Prior art]
With the development of IT (Information Technology), it has become possible to record content such as music and video as digital data (hereinafter, referred to as content data) on a digital recording medium, and play back and enjoy the content.
[0003]
Starting from reproducing content data recorded by a content provider on a reproduction-only digital recording medium such as a CD (Compact Disc) or a DVD (Digital Versatile Disc), in recent years, a DVD-RAM (DVD-Random Access Memory) has been developed. Content data can be recorded on the user side by using a randomly accessible rewritable recording medium such as a hard disk drive (HDD) or a hard disk drive (HDD).
[0004]
Commercialization of a video recorder in which an HDD is fixed inside using a HDD as a recording medium has begun.
[0005]
Two types of data are recorded on the HDD built in such a video recorder. One is video data itself, and the other is program data and reservation data such as management data for managing the recorded video data, reserved recording, EPG (Electric Program Guide), and the like.
[0006]
Video data, which is video data, needs to be continuously recorded or reproduced at a predetermined bit rate in order to record or reproduce in real time. Actually, the bit rate is compensated by limiting the response time at the time of writing / reading to / from the HDD and adjusting the data reading speed from the buffer memory. Such data that emphasizes real-time properties is referred to as real-time data. On the other hand, the management data, the program data, and the reservation data are data that does not require emphasis on real-time properties, and are called non-real-time data.
[0007]
The access (write / read) unit in the HDD is a 512-byte sector, and a logical address is assigned to each sector. The position on the recording medium is specified by specifying the logical dress.
[0008]
When real-time data is recorded in a series of sectors specified by consecutive logical addresses in the HDD, the access waiting time by seeking is reduced, so that the data access time is also reduced, and writing or reading has a margin. It is processed.
[0009]
However, the amount of real-time data represented by video data is enormous, and it is not realistic to secure a sector in the HDD such that this enormous data is always allocated to a sector having a continuous logical address.
[0010]
On the other hand, when sectors are arranged so as to be scattered in the HDD, a seek (movement of the magnetic head) frequently occurs when writing or reading data. For this reason, the access time required for writing data is delayed by the seek time and the rotation waiting time used for each seek, and there is a possibility that the access may not be in time.
[0011]
Therefore, a predetermined number of continuous blocks are accessed as one recording unit, that is, a unit so that real-time data can be accessed continuously to some extent.
[0012]
On the other hand, since the non-real-time data has no time limit, there is no need to define an access unit and there is no need to use the
[0013]
Therefore, as for the recording unit, the smallest unit manageable in the video recorder is sufficient. The first unit is determined by the file system adopted in the video recorder, and is smaller than the unit (hereinafter, the minimum management unit is referred to as a “cluster”).
[0014]
Also, since the unit needs to be managed by the file system together with the cluster, it is optimal that the unit is an integral multiple of the cluster.
[0015]
For the management of such mixed data of two types of data, a unique file system of a video recorder which can previously manage an area for recording real-time data and an area for recording non-real-time data is used. It can be realized by.
[0016]
On the other hand, the development of IT has removed the boundary between an AV device and a personal computer (PC), which have been handled independently so far. For this reason, when the digital recording medium is a portable digital recording medium that can be inserted into and removed from the video recorder, the portable digital recording medium can be treated as a digital recording medium that can be used in a PC.
[0017]
Therefore, in a video recorder in which the HDD has evolved from a fixed type to a portable type, if a file system unique to the video recorder is used, not only data cannot be recorded on a PC, but it cannot be interpreted even that video data is recorded. There is a risk that recorded video data is deleted, and it is not preferable to use a unique file system.
[0018]
On the other hand, a video recorder using a DVD-RAM as a portable digital recording medium has been commercialized. For example, in a video recorder using a DVD-RAM, data management is performed using a general-purpose file system called UDF (Universal Disk Format).
[0019]
However, the unit does not match the cluster that is the management unit of the UDF. Therefore, under the management of the file system, a dedicated file in which units are allocated is secured, and the arrangement of units to be recorded in the dedicated file is managed, thereby managing two types of mixed data.
[0020]
Note that the dedicated file is a large-capacity dedicated file to which continuous sectors are assigned in advance, and is an area dedicated to real-time data that never releases sectors even when real-time data is deleted. This method can be adopted in a recorder using an HDD regardless of whether it is a fixed type or a portable type.
[0021]
As described above, the method of securing the area in which the units are arranged in advance, that is, the area for recording the real-time data and the area for recording the non-real-time data are divided in advance, so that two types of mixed data can be managed. Is a so-called static unit arrangement method.
[0022]
The fact that a portable HDD can be used in a video recorder or a PC across the board has a great advantage for the user. In this case, it is desirable to use a general-purpose file system to manage the stored data, to be able to confirm the data recording state in any device, and to be able to efficiently use the free area where no data is recorded. It is.
[0023]
In view of this, a dynamic unit arrangement method in which units are dynamically arranged as necessary is preferable to a static unit arrangement method in which a unit arrangement area is secured regardless of whether video data is recorded.
[0024]
[Problems to be solved by the invention]
When a dynamic unit arrangement method is adopted for an HDD in which real-time data and non-real-time data are recorded in a mixed format, each time data is recorded, edited or deleted, discretization of a sector in which data is recorded progresses, Free sectors gradually become scattered.
[0025]
In a PC, when storage / deletion of non-real-time data is repeatedly performed on a portable HDD, the dottedness of empty sectors appears more conspicuously. As a result, even though the HDD has enough empty sectors, continuous sectors cannot be secured, so that a unit that guarantees real-time performance cannot be provided, and the remaining recording capacity calculated from the number of empty sectors and There is a problem that a remarkable difference is generated between the remaining recording capacity calculated from the securable units.
[0026]
The present invention has been made to solve such a problem, and realizes a function of avoiding a state in which the difference between the remaining recording capacity due to an empty sector and the remaining recording capacity calculated from a securable unit is significantly different. It is an object of the present invention to provide a video recorder.
[0027]
[Means for Solving the Problems]
In order to solve such a problem, the present invention calculates the remaining storage capacity determined by the number of free sectors on the recording medium and the remaining storage capacity determined by the number of units that can be newly secured using the free sectors. When a remarkable difference occurs between the two, a warning is issued to the user so as to instruct the reallocation processing, and the user is prompted to perform the reallocation processing.
[0028]
When the user receives this warning and gives an instruction for improvement, relocation of recorded sectors is repeated to avoid scattered empty sectors, and the remaining number obtained by the number of units that can be newly secured using empty sectors is used. The storage capacity is approached to the remaining storage capacity determined by the number of free sectors.
[0029]
This makes it possible to provide a recorder that can efficiently use the storage capacity of the recording medium while dynamically securing units.
[0030]
The features of the claimed invention are as follows.
[0031]
According to a first aspect of the present invention, there is provided a recorder for storing data in a storage medium, wherein the first storage means stores data in units of blocks, and the data is stored in units composed of a predetermined number of continuous blocks. A second storage means, a first remaining storage capacity determined by the number of empty blocks in which data on the storage medium is not recorded, and a second storage capacity determined by the number of units that can be newly secured by the empty blocks. Determining means for determining whether or not the stored data on the storage medium needs to be relocated based on the remaining storage capacity of No. 2; Notification means for issuing a notification to the user.
[0032]
According to a second aspect of the present invention, there is provided a recorder for storing data in a storage medium, wherein the first storage means stores data in units of blocks, and the data is stored in units composed of a predetermined number of continuous blocks. A second storage means, a first remaining storage capacity determined by the number of empty blocks in which data on the storage medium is not recorded, and a second storage capacity determined by the number of units that can be newly secured by the empty blocks. A determination unit that determines whether the difference between the two storage volumes satisfies a predetermined criterion. If the determination unit determines that the predetermined criterion is not satisfied, And notifying means for issuing a notification.
[0033]
According to a third aspect of the present invention, in the recorder according to the first or second aspect, the instruction input means for receiving a user instruction by a user operation, and the instruction input means corresponding to the notification from the notification means. Upon receipt of a user's instruction, the apparatus further comprises a relocation processing means for relocating the stored data on the storage medium to increase the second remaining storage capacity.
[0034]
According to a fourth aspect of the present invention, in the recorder according to any one of the first to third aspects, the unit records real-time data that needs to be stored or reproduced continuously in time without causing a delay. The first storage means stores data other than the real-time data in a free block, and the second storage means The means secures a predetermined number of continuous empty blocks as a unit, and stores the real-time data in the secured unit.
[0035]
According to a fifth aspect of the present invention, in the recorder according to any one of the first to fourth aspects, the recording apparatus further includes a control unit for activating the storage medium and thereafter instructing the determination unit to perform a determination process. Features.
[0036]
According to a sixth aspect of the present invention, in the recorder according to the fifth aspect, a connection portion that allows the storage medium to be detachably mounted, and the storage medium is mounted in an attached state where the storage medium is connected to the connection portion or in an unmounted state where the storage medium is detached. Further comprising mounting detection means for detecting whether or not the storage medium is present, wherein the control means, when detecting that the mounting state is detected by the mounting detection means, instructs the storage medium to be activated and the determination means to perform a determination process It is characterized by doing.
[0037]
According to a seventh aspect of the present invention, in the recorder according to any one of the first to sixth aspects, the notifying unit is a light emitting element, and emits light when the determining unit determines that the predetermined standard is not satisfied. When the predetermined condition is satisfied by the rearrangement processing means performing the rearrangement processing, the light is extinguished.
[0038]
The invention according to claim 8 is the recorder according to any one of claims 1 to 6, further comprising a message superimposing means for superimposing a message on a video signal to be reproduced, wherein the notifying means comprises: It is characterized by giving an instruction to superimpose a message prompting execution of the rearrangement processing on the video signal.
[0039]
In the above claims, “activation” means a process of supplying power to the storage medium and performing various settings (for example, setting of a block length) for making the storage medium usable. Further, “relocation” means changing the recording position of the stored data on the storage medium, and can widely include changing the recording position in block units, changing the recording position in unit units, and the like. .
[0040]
The features of the present invention will become more apparent from the following description of embodiments.
[0041]
However, the following embodiments are merely one embodiment of the present invention, and the meanings of the terms of the present invention and each component are limited to those described in the following embodiments. is not.
[0042]
It should be noted that “block” in the above claims is indicated as “cluster” in the embodiment.
[0043]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0044]
(First embodiment)
FIG. 1 is a diagram showing an overall configuration of a
[0045]
The
[0046]
The
[0047]
The
[0048]
The reception TV wave is received by an antenna (not shown), and is input to the
[0049]
On the other hand, an input signal from another video device (not shown) is input to the
[0050]
The
[0051]
The CGMS-A signal is detected, and if the content is "copy impossible", recording is not possible. If "one generation copy is possible", recording is performed in a scrambled state. This is a record in a scrambled state.
[0052]
Note that analog terrestrial waves are recorded in a non-scrambled state because no CCI is embedded. The determination result is transmitted to the
[0053]
On the other hand, the
[0054]
The
[0055]
The scramble instruction is given by the
[0056]
The output video data is temporarily stored in an
[0057]
During reproduction, video data read from the
[0058]
The video data stored in the
[0059]
The
[0060]
The
[0061]
Note that the
[0062]
The
[0063]
The
[0064]
The recording
[0065]
The
[0066]
Hereinafter, the operation at the time of the relocation processing in the present embodiment will be described with reference to FIG.
[0067]
When the condition for instructing the determination start to check the usage status of the
[0068]
Upon receiving the instruction to start the determination process, the recording
[0069]
Further, a unit that can be secured by performing the rearrangement processing is obtained from the current number of free clusters, and the expected maximum remaining recording time of the real-time data is calculated. Then, these two remaining recording times are compared to determine whether or not it is necessary to perform a rearrangement process (described later). For example, when a predetermined number of units (corresponding to a remaining time equal to or longer than a predetermined time) can be configured by rearrangement, it is determined that the recording time can be secured, and the difference between the remaining recording time and the expected maximum remaining recording time is determined by a predetermined value. If the value exceeds the reference value, the remaining recording time can be expected to be improved by the rearrangement process. Conversely, if the value is equal to or less than the reference value, no improvement in the remaining recording time is expected, so it is determined that "relocation processing is unnecessary". Then, the determination result is notified to the system controller 110 (S12).
[0070]
The
If the notification is “no need for relocation processing”, the
[0071]
When the user who has received the notification from the
[0072]
Note that the rearrangement process is a process of increasing the number of units that can be newly secured by moving the recording position of the disk recorded on the HDD to a different position on the same HDD.
[0073]
The
[0074]
In this rearrangement process, no rearrangement for destroying the unit is performed.
[0075]
When the rearrangement processing is completed, the
[0076]
The
[0077]
During the execution of the rearrangement process (S15), if the rearrangement process is interrupted by a user's instruction or the execution of a process to be prioritized such as scheduled recording, the process to be prioritized is terminated. The time is set so that the determination process is performed immediately (S19).
[0078]
FIG. 2 shows a front panel of the
[0079]
FIG. 2A shows a state in which the
[0080]
As described above, the
[0081]
In the present embodiment, the start of the rearrangement processing is executed according to an instruction from the user. However, this is because the
[0082]
In the determination process of the recording
[0083]
Furthermore, the determination may be made based on the number of remaining clusters and the number of units that can be secured. According to the information obtained by checking the usage status in the
[0084]
(Second embodiment)
FIG. 3 is a diagram illustrating an overall configuration of the
[0085]
In the figure, a
[0086]
The
[0087]
The system memory 204 is a memory in which information to be referred to inside the video recorder, such as scheduled recording and EPG information, is recorded. Since the
[0088]
Blocks having the same functions as those of the
[0089]
The
[0090]
In the following description, the
[0091]
Hereinafter, the operation at the time of the relocation processing in the present embodiment will be described with reference to FIG.
[0092]
As described above, the
[0093]
Based on the detection result of the insertion /
[0094]
Here, the activation means that power is supplied to the
[0095]
Then, when the
[0096]
The recording
[0097]
The
[0098]
FIG. 4 is an example of notification by the front panel of the
[0099]
4A shows a state in which the
[0100]
When the
[0101]
When the
[0102]
When the
[0103]
In S23 or S24, the
[0104]
If the
[0105]
The
[0106]
If there is no instruction to start the rearrangement process, S26 and S27 are repeated until the
[0107]
During the reallocation process, for example, when a process to be prioritized, such as scheduled recording, occurs, the current reallocation process is stopped (S30). At this time, it is checked again whether the
[0108]
If the
[0109]
When the cause of the termination of the relocation processing is eliminated, the processing is continued from the determination processing of the necessity of the relocation processing (S22). On the other hand, if the cause of the suspension of the relocation processing is not resolved, the presence or absence of the HDD unit 201 (S31) and S32 are repeated.
[0110]
In the present embodiment, the determination by the recording
[0111]
In addition, as an example of the determination process performed by the recording
[0112]
That is, from the information obtained by confirming the usage status in the
[0113]
Further, in the
[0114]
As for the algorithm of the rearrangement process, any algorithm can be used as long as the rearrangement that destroys the unit in which the real-time data is recorded is not performed and the rearrangement increases the number of securable units. Is also good. For example, an algorithm for rearranging all empty clusters so as to be continuous may be used, or an algorithm for rearranging continuous empty cluster groups that can secure at least one unit may be used.
[0115]
(Third embodiment)
In the first and second embodiments, the notification is made by the display element arranged on the front panel, but the
[0116]
FIG. 5 shows the overall configuration of the
[0117]
The
[0118]
The
[0119]
When an output instruction of the message “Please perform relocation” is received from the
[0120]
FIG. 6 shows an example of an image in which the output signal is displayed on a monitor. In this figure, a message “Please relocate” is displayed superimposed on the reproduced image being reproduced. When the
[0121]
The
[0122]
As described above, in the present embodiment, the message indicating that the recording efficiency of the
[0123]
In the present embodiment, the message indicating that the recording efficiency has been lowered is "Please relocate", but the content of the message is not limited.
[0124]
The message does not need to be a sentence but may be a display of an icon mark or the like defined in advance. In the
[0125]
As described above, the embodiments of the present invention have been described based on the first to third examples. However, these embodiments are all examples, and various combinations of the respective constituent elements and respective processing processes are provided. It will be appreciated by those skilled in the art that modifications are possible and that such modifications are also within the scope of the invention.
[0126]
In the present embodiment, the processing system is independent of the recording
[0127]
Further, in the present embodiment, a video recorder using an analog video signal as an input has been described as an example. However, the input of the video data is not limited. It can be widely used for video recorders.
[0128]
In addition, the timing for checking the usage status of the
[0129]
In the present embodiment, a hard disk has been described as an example, but the present invention is also applicable to a DVD-RAM, an MO, a semiconductor memory, and any other random accessible digital recording medium.
[0130]
【The invention's effect】
According to the present invention, when data is recorded in a unit composed of consecutive sectors, it is possible to avoid a state where the difference between the remaining recording capacity due to an empty sector and the remaining recording capacity calculated from a securable unit is significantly different. it can.
[0131]
Thereby, the use efficiency of the recording medium can be improved.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a
FIG. 2 is a diagram showing a state of a front panel of the
FIG. 3 is a diagram showing a configuration of a
FIG. 4 is a diagram showing a state of a front panel of the
FIG. 5 is a diagram showing a configuration of a
FIG. 6 is a diagram showing a display image example of the
FIG. 7 is a diagram showing a processing flow of the
FIG. 8 is a diagram showing a processing flow of the
[Explanation of symbols]
10, 100, 200, 300 video recorders
110 System controller
111 Operation panel
112 Remote control receiver
114 Hard Disk Drive (HDD)
115 HDD controller
121 Recording time judgment unit
122 LED
123 relocation processing unit
201 HDD unit
202 socket
203 insertion / removal detection unit
301 On Screen Display (OSD)
Claims (8)
ブロックを単位としてデータを記憶する第1の記憶手段と、
所定数の連続した前記ブロックにより構成されるユニットを単位としてデータを記憶する第2の記憶手段と、
前記記憶媒体上のデータが記録されていない空きブロックの数によって求められる第1の残記憶容量と、当該空きブロックによって新たに確保可能なユニットの数によって求められる第2の残記憶容量とに基づいて、前記記憶媒体上における記憶済みデータを再配置する必要があるか判定する判定手段と、
前記判定手段によって再配置する必要があると判定された場合に、利用者に対し通知を発する通知手段とを、
備えることを特徴とするレコーダ。In a recorder that stores data in a storage medium,
First storage means for storing data in units of blocks;
Second storage means for storing data in units of a unit constituted by a predetermined number of continuous blocks;
Based on a first remaining storage capacity determined by the number of empty blocks in which data on the storage medium is not recorded, and a second remaining storage capacity determined by the number of units that can be newly secured by the empty blocks. Determining means for determining whether it is necessary to relocate the stored data on the storage medium,
Notification means for issuing a notification to the user when it is determined that the rearrangement is necessary by the determination means,
A recorder comprising:
ブロックを単位としてデータを記憶する第1の記憶手段と、
所定数の連続した前記ブロックにより構成されるユニットを単位としてデータを記憶する第2の記憶手段と、
前記記憶媒体上のデータが記録されていない空きブロックの数によって求められる第1の残記憶容量と、当該空きブロックによって新たに確保可能なユニットの数によって求められる第2の残記憶容量とを比較し、両者の差が所定の基準を満たすか否か判定する判定手段と、
前記判定手段によって、前記所定の基準を満たさないと判定された場合、利用者に対し通知を発する通知手段とを、
備えることを特徴とするレコーダ。In a recorder that stores data in a storage medium,
First storage means for storing data in units of blocks;
Second storage means for storing data in units of a unit constituted by a predetermined number of continuous blocks;
Compare the first remaining storage capacity obtained from the number of free blocks in which data on the storage medium is not recorded with the second remaining storage capacity obtained from the number of units that can be newly secured by the free blocks. Determining means for determining whether a difference between the two satisfies a predetermined criterion,
When the determining unit determines that the predetermined standard is not satisfied, a notifying unit that issues a notification to a user,
A recorder comprising:
利用者の操作によって利用者の指示を受ける指示入力手段と、
前記通知手段からの通知に対応して、前記指示入力手段から利用者の指示を受け取ると、前記記憶媒体上における記憶済みデータを再配置することにより前記第2の残記憶容量を増加させる再配置処理手段とを、
さらに備えることを特徴とするレコーダ。In claim 1 or 2,
An instruction input means for receiving an instruction of the user by an operation of the user,
Upon receiving a user's instruction from the instruction input means in response to the notification from the notification means, relocating the stored data on the storage medium to increase the second remaining storage capacity. Processing means,
A recorder further provided.
前記ユニットは、遅延を生じることなく時間的に連続してデータを記憶または再生する必要があるリアルタイムデータを記録するために記憶媒体の性能に基づいて定められる連続して記憶または再生可能な単位であり、
前記第1の記憶手段は、前記リアルタイムデータ以外のデータを、空きブロックに記憶し、
前記第2の記憶手段は、連続した所定数の空きブロックをユニットとして確保し、前記リアルタイムデータを確保したユニットに記憶する、
ことを特徴とするレコーダ。In any one of claims 1 to 3,
The unit is a continuously storable or playable unit that is determined based on the performance of a storage medium to record real-time data that needs to be stored or played back continuously in time without causing a delay. Yes,
The first storage means stores data other than the real-time data in an empty block,
The second storage means secures a predetermined number of consecutive free blocks as a unit and stores the real-time data in the secured unit.
A recorder characterized in that:
前記記憶媒体に対し活性化を行い、その後、前記判定手段に対し判定処理を指示する制御手段をさらに備えることを特徴とするレコーダ。In any one of claims 1 to 4,
A recorder further comprising a control unit for activating the storage medium and thereafter instructing the determination unit to perform a determination process.
前記記憶媒体を着脱可能とする接続部と、
前記記憶媒体が前記接続部に接続された装着状態か、着脱された未装着状態であるかを検出する装着検出手段をさらに備え、
前記制御手段は、前記装着検出手段により装着状態であることを検出した場合、前記記憶媒体を活性化させ、前記判定手段に判定処理を行うよう指示することを特徴とするレコーダ。In claim 5,
A connection unit for detachably attaching the storage medium,
The storage medium further includes an attachment detection unit that detects whether the attachment state is connected to the connection unit, or whether the storage medium is in a detached unattached state,
The recorder, characterized in that, when the mounting means detects the mounted state by the mounting detecting means, the control means activates the storage medium and instructs the determining means to perform a determination process.
前記通知手段は、発光素子であって、前記判定手段が前記所定の基準を満たさないと判断した場合、発光し、前記再配置処理手段が再配置処理を行うことによって、前記所定の基準を満たす場合、消光することを特徴とするレコーダ。In any one of claims 1 to 6,
The notifying unit is a light emitting element, emits light when the determining unit determines that the predetermined criterion is not satisfied, and satisfies the predetermined criterion by performing the rearrangement process by the rearrangement processing unit. A recorder characterized by quenching in cases.
再生する映像信号に、メッセージを重畳するメッセージ重畳手段をさらに備え、
前記通知手段は、前記メッセージ重畳手段に対し、再配置処理の実行を促すメッセージを映像信号に重畳する指示を行うことを特徴とするレコーダ。In any one of claims 1 to 6,
Further comprising a message superimposing means for superimposing a message on a video signal to be reproduced,
The recorder according to claim 1, wherein the notifying unit instructs the message superimposing unit to superimpose a message prompting execution of a rearrangement process on the video signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002344721A JP4056370B2 (en) | 2002-11-27 | 2002-11-27 | Recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002344721A JP4056370B2 (en) | 2002-11-27 | 2002-11-27 | Recorder |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004178712A true JP2004178712A (en) | 2004-06-24 |
JP4056370B2 JP4056370B2 (en) | 2008-03-05 |
Family
ID=32706083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002344721A Expired - Fee Related JP4056370B2 (en) | 2002-11-27 | 2002-11-27 | Recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4056370B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007200443A (en) * | 2006-01-25 | 2007-08-09 | Sharp Corp | Recording and reproducing device |
WO2008149501A1 (en) * | 2007-06-06 | 2008-12-11 | Panasonic Corporation | Reproducing apparatus, reproducing method, and program |
US7568129B2 (en) | 2004-07-05 | 2009-07-28 | Funai Electric Co., Ltd. | Hard disk recording apparatus |
-
2002
- 2002-11-27 JP JP2002344721A patent/JP4056370B2/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7568129B2 (en) | 2004-07-05 | 2009-07-28 | Funai Electric Co., Ltd. | Hard disk recording apparatus |
JP2007200443A (en) * | 2006-01-25 | 2007-08-09 | Sharp Corp | Recording and reproducing device |
WO2008149501A1 (en) * | 2007-06-06 | 2008-12-11 | Panasonic Corporation | Reproducing apparatus, reproducing method, and program |
CN101542623A (en) * | 2007-06-06 | 2009-09-23 | 松下电器产业株式会社 | Reproducing apparatus, reproducing method, and program |
JP5032510B2 (en) * | 2007-06-06 | 2012-09-26 | パナソニック株式会社 | Playback device, recording method, program |
CN101542623B (en) * | 2007-06-06 | 2013-03-20 | 松下电器产业株式会社 | Reproducing apparatus, reproducing method, and program |
US8559789B2 (en) | 2007-06-06 | 2013-10-15 | Panasonic Corporation | Reproducing apparatus that uses continuous memory area |
Also Published As
Publication number | Publication date |
---|---|
JP4056370B2 (en) | 2008-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5088550B2 (en) | Electronic device, reproduction method and program | |
JP4328992B2 (en) | Information processing apparatus and method, and program storage medium | |
KR20060016772A (en) | Recording device, and related control method, computer program and system lsi | |
JP4281467B2 (en) | Content playback system, playback device, and content playback method | |
JP4269506B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JP4056370B2 (en) | Recorder | |
JP2005072911A5 (en) | ||
JP2002203365A (en) | Digital audio signal sound recording system | |
CN1574017A (en) | Player, and source switching method for recording and playback apparatus | |
JP2004296028A (en) | Recorder | |
JP2000200465A (en) | Audio signal processor | |
KR100671550B1 (en) | DVD and the file copy method thereof | |
JP2005108339A (en) | Information recording and reproducing device, information recording and reproducing method and program for information recording and reproducing and information recording medium | |
JP2002260328A (en) | Information recording and reproducing apparatus | |
JP2007020089A (en) | Video information processing apparatus, and video information processing method | |
JP2007180938A (en) | Hard disk mounted optical disk playback equipment | |
JP5123874B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JP4630775B2 (en) | Recording / reproducing apparatus and control method of recording / reproducing apparatus | |
JP4204433B2 (en) | Recorder and program | |
JP2005182906A (en) | Video or sound recording and reproducing apparatus | |
JP2008140482A (en) | Optical disk device | |
JP2008084463A (en) | Dvd player with built-in hd | |
JP5545324B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JP2003151245A (en) | Information reproducing apparatus with resume function | |
JP4819193B2 (en) | Recording / reproducing apparatus and recording / reproducing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051011 |
|
A977 | Report on retrieval |
Effective date: 20070725 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
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: 20071113 |
|
A61 | First payment of annual fees (during grant procedure) |
Effective date: 20071211 Free format text: JAPANESE INTERMEDIATE CODE: A61 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101221 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |