JP4274783B2 - Recording device - Google Patents

Recording device Download PDF

Info

Publication number
JP4274783B2
JP4274783B2 JP2002360459A JP2002360459A JP4274783B2 JP 4274783 B2 JP4274783 B2 JP 4274783B2 JP 2002360459 A JP2002360459 A JP 2002360459A JP 2002360459 A JP2002360459 A JP 2002360459A JP 4274783 B2 JP4274783 B2 JP 4274783B2
Authority
JP
Japan
Prior art keywords
page
file
video
recording medium
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002360459A
Other languages
Japanese (ja)
Other versions
JP2004192402A (en
Inventor
正則 原田
利宏 清水
慶一 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2002360459A priority Critical patent/JP4274783B2/en
Publication of JP2004192402A publication Critical patent/JP2004192402A/en
Application granted granted Critical
Publication of JP4274783B2 publication Critical patent/JP4274783B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、圧縮を行って記録した画像を、伸張して再生する記録装置及び記録方法に関し、特に停電等による記録装置の異常終了時におけるファイル破壊及び情報喪失を防止する記録装置に関する。
【0002】
【従来の技術】
従来、監視システムは、ある場所に監視カメラを設置し、その場所の映像をリアルタイムでモニタに再生しながら監視するとともに、監視映像を記録再生装置に蓄積し、必要に応じて記録した映像を再生するようにしている。記録しながら同時に再生や検索を行う記録再生装置では、記録媒体に作成されたすべての管理情報を高速アクセス可能な物理メモリ上に格納し、任意のタイミングで、記録媒体にバックアップしながら記録を行うことが望ましいが、限定されたアドレス空間しか持たない物理メモリ上にすべての管理情報を保持して画像記録を行う記録再生装置においては、搭載される物理メモリ容量に応じて管理可能な磁気ディスクや光ディスクの記録容量が制限されるという問題があった。そこで、記録再生装置に仮想記憶の一手法であるページング機能を搭載することにより、小容量のメモリによる大容量記録媒体の管理を実現している。
【0003】
ところで、記録再生装置の記憶媒体としては、ランダムアクセス可能な磁気ディスク及び光磁気ディスク等のディスク記録媒体が用いられるようになってきている。従来のテープ媒体では、記録時に停電が発生した場合、停電までの映像は保存されるが、コンピュータ用に構成されたディスク記録媒体の場合には、記録終了処理が正しくされないと、記録開始時から停電までの監視映像を全て喪失してしまうという問題があった。
以下、図15を参照して、コンピュータ用に構成されたディスク記録媒体へのデータ記録について説明する(例えば、非特許文献1参照)。
【0004】
【非特許文献1】
JIS X 0605規格で規定されているFileAllocationTable型ファイル構造。
【0005】
図15は、JIS X 0605規格で規定されているファイル構造を示す図である。図15において、ディスク記録媒体の記録エリアは、ルートディレクトリ1001と、ファイルアロケーションテーブル1002と、クラスタ1003とから構成される。
ルートディレクトリ1001は、ディスク記録媒体に格納されたファイルの名称とファイルの先頭クラスタ番号とを保持する。ファイルアロケーションテーブル1002は、ファイルが構成されるクラスタ1003の接続情報を保持する。クラスタ1003は、ディスク記録媒体の記録再生の最小単位であり、実データを保持する。
【0006】
図15に示した例では、ルートディレクトリ1001は、このディスク記録媒体にData1というファイルが、クラスタ番号0002から格納されていることを示し、ファイルアロケーションテーブル1002はData1がクラスタ番号0002、クラスタ番号0003、及びクラスタ番号0004の順でデータが構成されていることを示している。したがって、Data1の実データは、クラスタ1003のクラスタ番号0002、クラスタ番号0003、及びクラスタ番号0004のエリアに格納されていることを示している。なお、ファイルアロケーションテーブル1002のFFFFは、ファイルの最終クラスタを示すクラスタ番号である。
データ記録時には、まず、ファイル名と先頭クラスタ番号とをルートディレクトリ1001に登録し、ファイルアロケーションテーブル1002でクラスタ1003の接続情報を更新しながら、クラスタ1003の各エリアに実データを記録する。
【0007】
ところで、ルートディレクトリ1001とファイルアロケーションテーブル1002とは、ディスク記録媒体に固定されて存在し、クラスタ1003の各エリアは、ルートディレクトリ1001とファイルアロケーションテーブル1002以外のディスク記録媒体の領域が使用される。
データ記録時に、ファイルアロケーションテーブル1002とクラスタ1003の各エリアとに書き込みを行おうとすると、クラスタ1003を書く度に、ファイルアロケーションテーブル1002のクラスタ接続情報を更新する必要があるため、ディスク記録媒体への書き込みヘッドをシークする必要が発生し、書き込み速度が極度に遅くなってしまう。
【0008】
そこで、ファイルアロケーションテーブル1002の情報を、メモリ内で更新しながらクラスタ1003内にデータを書き込み、データの記録終了処理時に、あるいは定期的に、ファイルアロケーションテーブル1002の情報を、ディスク記録媒体に反映させるという方法が採用されている。
また、従来、ファイル復旧方法としては、図16に示すようなものが知られている(例えば、特許文献1参照)。
【0009】
【特許文献1】
特開2000−40023号公報(第5頁、段落番号19〜20、図1)。
【0010】
図16に示す従来のファイル復旧システムは、ファイルにアクセスするプロセス1101と、外部記憶装置1102と、ファイル管理手段1211とを備えて構成される。外部記憶装置1102内には、ファイル1107の記録動作の記録である更新ログ1103と、更新ログ1103のバックアップ用の格納領域であるバックアップ更新ログ1104と、ハッシュ関数に従って修復用のディレクトリを格納するハッシュテーブル1105と、ファイル毎にファイルを管理するファイル管理ブロック1106と、ファイルの名前とそれに関する情報をまとめたディレクトリ1108とを含む。ファイル管理手段1111は、プロセス1101のアプリケーションプログラムに従ってファイル1107にアクセスするファイルアクセス手段1112と、ファイル1107を修復する際に外部記憶装置1102に働きかけるプログラムを備えたファイル修復手段1113と、所定時にハッシュ関数に従ってテーブルを形成するハッシュテーブル作成手段1114とを含む。
【0011】
外部記憶装置1102が使用開始されると、更新ログ1103をバックアップ更新ログ1104へコピーし、バックアップ更新ログ1104から更新されている内容をハッシュテーブル1105に登録する。その後、ファイル1107へのアクセスがあると、まずハッシュテーブル1105を検索し、修復対象である場合は修復してからファイル1107へのアクセスを行う。
このように、従来のファイルシステム及びファイル復旧方法によれば、外部記憶装置1102に記録された更新ログ1103を基に、ファイル復旧処理が行われるため、停電発生時のアクティブファイルの破壊、あるいはデータの喪失が起こることはない。
【0012】
【発明が解決しようとする課題】
しなしながら、従来のディスク記録媒体への記録において、記録終了処理が行われる前に、停電が発生した場合には、ディスク記録媒体のファイルアロケーションテーブル1002が更新されていないため、記録開始から停電までに、データがクラスタ1003に記録されたにも関わらず、クラスタ1003の接続情報を示すファイルアロケーションテーブル1002の接続情報が喪失してしまい、ファイルの破壊及びデータの喪失が発生するという問題があった。
【0013】
また、定期的にディスク記録媒体のファイルアロケーションテーブルを更新することで、記録開始から停電直前までに記録されたデータの喪失を防止することはできるが、異常終了復旧後に、ディスク記録媒体上のファイルクラスタの接続情報を修復する必要があるため、異常終了復旧後から記録開始状態への遷移が遅くなるという問題があった。
【0014】
本発明は、上記従来の問題を解決するためになされたもので、ディスク記録媒体に対して情報記録中に、停電等により情報記録の異常終了が発生したときに、ファイルの破壊及び情報の喪失が発生しないで、異常状態の復旧後に短時間で記録開始可能状態に遷移することができる、記録装置を提供するものである。
【0015】
【課題を解決するための手段】
本発明における記録方法は、入力した映像音声データを記録媒体に記録し、前記映像音声データを記録媒体に記録する度に前記映像音声データを管理する階層型ファイル管理情報を作成してメモリに格納し、前記メモリに格納して更新された階層型ファイル管理情報の階層レベルに応じてページ書込優先レベルを割り当て、割り当てられた前記ページ書込優先レベルの順に前記階層型ファイル管理情報を前記記録媒体に記録する各工程を有するという構成を有している。この構成により、映像音声データの記録時に停電等により記録装置の異常終了が発生したとしても、異常状態の復旧後に、ファイル修復処理を行うことなく、記録開始から停電直前までに記録されたファイル管理情報を記録媒体から再生して、電源異常によりメモリから喪失されたファイル管理情報を記録媒体により保証することができる。
【0016】
本発明における記録方法は、前記記録媒体に対して記録中の前記階層型ファイル管理情報の合計フレームレートを基に、前記階層型ファイル管理情報の書き込みタイミングを決定する工程を有するという構成を有している。この構成により、効率よく階層型ファイル管理情報を記録することができ、電源異常時等において喪失するデータ数を最少にすることができる。
【0017】
本発明における記録方法は、前記階層型ファイル管理情報を前記記録媒体に記録する工程は、前記記録媒体に対する前記階層型ファイル管理情報の記録が完了して映像音声ファイルを閉じるときに、前記階層型ファイル管理情報のうち、映像音声データ管理情報及び間接ブロック情報を含むページを前記記録媒体へ書き込む工程を含むという構成を有している。この構成により、任意の時間に映像音声データ数が少ない映像音声ファイルが多数作成される運用状態においても、映像音声ファイルをクローズする時に映像音声データ管理情報及び間接ブロック情報を記録媒体に書き込むことにより、メモリ中のファイル管理情報を消去して、メモリに保持するべきファイル管理情報の数を抑制できるため、メモリ使用容量を削減することができる。
【0018】
本発明における記録装置は、入力した映像音声データを記録する記録媒体と、前記映像音声データを前記記録媒体に記録する度に前記映像音声データを管理する階層型ファイル管理情報を作成してメモリに格納するファイル管理手段と、前記メモリに格納して更新された階層型ファイル管理情報の階層レベルに応じてページ書込優先レベルを割り当て、割り当てられた前記ページ書込優先レベルの順に前記階層型ファイル管理情報を前記記録媒体に記録するメモリ管理手段とを有するという構成を有している。この構成により、映像音声データの記録時に停電等により記録装置の異常終了が発生したとしても、異常状態の復旧後に、ファイル修復処理を行うことなく、記録開始から停電直前までに記録されたファイル管理情報を記録媒体から再生して、電源異常によりメモリから喪失されたファイル管理情報を記録媒体により保証することができる。
【0019】
本発明における記録装置は、前記記録媒体に対して記録中の前記階層型ファイル管理情報の合計フレームレートを基に、前記階層型ファイル管理情報の書き込みタイミングを決定するページ制御手段を有するという構成を有している。この構成により、効率よく階層型ファイル管理情報を記録することができ、電源異常時等において喪失するデータ数を最少にすることができる。
【0020】
本発明における記録装置は、前記メモリ管理手段は、前記記録媒体に対する前記階層型ファイル管理情報の記録が完了して映像音声ファイルを閉じるときに、前記階層型ファイル管理情報のうち、映像音声データ管理情報及び間接ブロック情報を含むページを前記記録媒体へ書き込むという構成を有している。この構成により、任意の時間に映像音声データ数が少ない映像音声ファイルが多数作成される運用状態においても、映像音声ファイルをクローズする時に映像音声データ管理情報及び間接ブロック情報を記録媒体に書き込むことにより、メモリ中のファイル管理情報を消去して、メモリに保持するべきファイル管理情報の数を抑制できるため、メモリ使用容量を削減することができる。
【0021】
本発明におけるプログラムは、コンピュータに、入力した映像音声データを記録媒体に記録し、前記映像音声データを記録媒体に記録する度に前記映像音声データを管理する階層型ファイル管理情報を作成してメモリに格納し、前記メモリに格納して更新された階層型ファイル管理情報の階層レベルに応じてページ書込優先レベルを割り当て、割り当てられた前記ページ書込優先レベルの順に前記階層型ファイル管理情報を前記記録媒体に記録する各機能を実現させるという構成を有している。この構成により、映像音声データの記録時に停電等により記録装置の異常終了が発生したとしても、異常状態の復旧後に、ファイル修復処理を行うことなく、記録開始から停電直前までに記録されたファイル管理情報を記録媒体から再生して、電源異常によりメモリから喪失されたファイル管理情報を記録媒体により保証することができる。
【0022】
本発明におけるプログラムは、コンピュータに、前記記録媒体に対して記録中の前記階層型ファイル管理情報の合計フレームレートを基に、前記階層型ファイル管理情報の書き込みタイミングを決定する機能を実現させるという構成を有している。この構成により、効率よく階層型ファイル管理情報を記録することができ、電源異常時等において喪失するデータ数を最少にすることができる。
【0023】
本発明におけるプログラムは、前記階層型ファイル管理情報を前記記録媒体に記録する機能は、コンピュータに、前記記録媒体に対する前記階層型ファイル管理情報の記録が完了して映像音声ファイルを閉じるときに、前記階層型ファイル管理情報のうち、映像音声データ管理情報及び間接ブロック情報を含むページを前記記録媒体へ書き込む機能を実現させる機能を含むという構成を有している。この構成により、任意の時間に映像音声データ数が少ない映像音声ファイルが多数作成される運用状態においても、映像音声ファイルをクローズする時に映像音声データ管理情報及び間接ブロック情報を記録媒体に書き込むことにより、メモリ中のファイル管理情報を消去して、メモリに保持するべきファイル管理情報の数を抑制できるため、メモリ使用容量を削減することができる。
【0024】
本発明における記録媒体は、請求項7ないし9のいずれかに記載のプログラムを記録したという構成を有している。この構成により、請求項7ないし9のいずれかに記載のプログラムを記録媒体により他のコンピュータに移送することにより、移送先のコンピュータでも本願発明の記録方法を実現し、記録装置を具現することができることとなる。
【0025】
【発明の実施の形態】
以下、添付図面に基づき、本発明の第1および第2の実施の形態を詳細に説明する。
(第1の実施の形態)
まず、図1ないし図13を参照して、本発明の第1の実施の形態における記録装置の構成を詳細に説明する。図1において、記録装置10は、入力された映像信号をディジタルに変換するビデオ入力手段11と、入力された音声信号をディジタルに変換するオーディオ入力手段12と、ビデオ入力手段11とオーディオ入力手段12からのディジタルデータを符号化し映像音声データを生成する符号化手段13と、複数の映像音声データを一時的に格納する画像メモリ14と、符号化手段13で生成された映像音声データを画像メモリ14に転送しあるいは記録媒体16に書き込む制御を行う画像メモリ制御手段15と、映像音声データを記録する記録媒体16と、映像音声データが記録媒体に記録される度に階層型ファイル構造を作成しあるいは更新し、作成しあるいは更新した階層型ファイル構造をメモリ22中の該当するページに格納するファイル管理手段21と、アドレス空間をページフレーム単位に分割し、記録媒体16に記録された階層型ファイル構造の一部(ディレクトリファイル102、間接ブロックファイル103、映像音声ブロックファイル104等)をページ単位で格納するメモリ22と、メモリ22と記録媒体16との間のファイル管理情報の情報転送に関する情報を含むページテーブルを有し、メモリ22に保存されたページに対するアクセス制御を行うメモリ管理手段23と、メモリ22中の更新ページの記録媒体16への書込みをメモリ管理手段23に指示するページ制御手段24と、ファイル管理手段21と連動し、記録媒体16、符号化手段13及び復号化手段19の制御を行うファイル構造管理部20と、記録媒体16に記録された映像音声データを映像及び音声のディジタルデータに分離する復号化手段30と、映像のディジタルデータを映像信号に変換するビデオ出力手段31と、音声のディジタルデータを音声信号に変換するオーディオ出力手段32とから構成されている。
【0026】
ページ制御手段24は、ファイル管理手段21に対して記録動作中の映像音声ファイルの合計フレームレートの取得を要求し、ファイル管理手段21から取得した合計フレームレートを基に、メモリ22中の更新ページのファイル管理情報を記録媒体16に対して書込むことを指示する間隔またはタイミングを決定する(第2の実施の形態で説明する)。なお、メモリ22中のファイル管理情報の記録媒体16への記録は、例えば、ページの更新時等いつに指定してもよく、細かく設定することにより、停電後の復旧時等におけるファイル管理情報の存在を保証することができる。
記録媒体16は、ハードディスク(HDD)のようにランダムアクセスが可能な記録装置であり、1台または複数台の装置から構成される。また、記録媒体16に記録される映像音声データは、JPEGなどのフレーム内圧縮もしくはMPEGなどのフレーム間圧縮が行われたものである。
【0027】
次に、図2を参照して、本実施の形態における記録装置の記録媒体16のファイル構造(実態情報を含まない)の構成について説明する。
図2において、記録媒体16のファイル構造は、ボリューム管理ファイル101と、ディテクトリファイル102と、間接ブロックファイル103と、映像音声ブロックファイル104とにより構成される。
【0028】
図2に示すボリューム管理ファイル101は、空きディレクトリエントリ番号と、空き間接ブロックエントリ番号と、空き映像音声ブロックエントリ番号とから構成され、空きディレクトリエントリ番号には、ディレクトリファイル102の先頭空きエントリ番号が記録されており、図2の例では、1が記録されて、ディレクトリエントリ1がディレクトリファイル102の先頭空きエントリであることを示している。空き間接ブロックエントリ番号には、間接ブロックファイル103の先頭空きエントリ番号が記録され、図2の例では、3が記録されており、間接ブロックエントリ3が間接ブロックファイル103の先頭空きエントリであることを示している。空き映像音声ブロックエントリ番号には、映像音声ブロックファイル104内の先頭空きエントリ番号が記録され、図2の例では、4が記録されており、映像音声ブロックエントリ4が映像音声ブロックファイル104の先頭空きエントリであることを示している。本実施の形態においては、ディレクトリエントリ102、間接ブロックファイル103、映像音声ブロックファイル104は、先頭エントリから順に使用されるものとする。すなわち、データ記録時には、ボリューム管理ファイル101に記録された空きディレクトリエントリ番号、空き間接ブロックエントリ番号、空き映像音声ブロックエントリ番号に基づいて、使用するエントリが決定される。
【0029】
ディレクトリファイル102は、複数のディレクトリエントリから構成されており、各ディレクトリエントリは、映像音声ファイルの名称、タイムスタンプ、二重間接ブロックポインタ、映像音声データ数から構成されている。
二重間接ブロックポインタには、二重間接ブロック番号が記録され、二重間接ブロックには、1または複数の間接ブロックエントリ番号が記録される。
図2において、二重間接ブロック(間接ブロックエントリ0)には3個の間接ポインタが記録されており、第1のポインタには、1が記録されており、間接ブロックエントリ1が間接ブロックであることを示し、第2のポインタには、2が記録されており、間接ブロックエントリ2が間接ブロックであることを示す。第3のポインタのFFFFは、間接ブロックエントリ2に続く間接ブロックがファイル「AV1」に存在いないことを示す。
【0030】
映像音声データ数には、該当する映像音声ファイル中に記録されている映像音声データ数が記録される。図2の例では、4が記録されており、映像音声ファイル「AV1」に4個の映像音声データが記録されていることを示している。間接ブロックファイル103は、複数の間接ブロックエントリから構成されており、各間接ブロックエントリは、複数個の間接ポインタあるいは直接ポインタから構成される。間接ポインタには、間接ブロックエントリ番号が記録され、間接ブロックには、記録媒体16上に記録された映像音声データの記録位置及びデータサイズが記録される映像音声エントリ番号を指す直接ポインタ(管理値を直接アクセスする)が記録される。図2に示す例においては、各間接ブロックには、3個の直接ポインタが記録されている。
【0031】
直接ポインタには、記録媒体16上に記録された映像音声データの記録位置及びデータサイズを管理する映像音声ブロックファイル104のエントリ番号が記録される。図2に示す例において、間接ブロックエントリ1の第1のポインタは0が記録されており、映像音声ブロックエントリ0に映像音声ファイルを構成する第1の映像音声データの記録位置及びデータサイズが記録されていることを示し、第2のポインタは、1が記録されており、映像音声ブロックエントリ1に映像音声ファイルを構成する第2の映像音声データの記録位置及びデータサイズが記録されていることを示し、第3のポインタは、2が記録されており、映像音声ブロックエントリ2に映像音声ファイルを構成する第3の映像音声データの記録位置及びデータサイズが記録されていることを示し、間接ブロックエントリ2の第1のポインタは、3が記録されており、映像音声ブロックエントリ3に映像音声ファイルを構成する第4の映像音声データの記録位置及びデータサイズが記録されていることを示す。間接ブロックエントリ2の第2のポインタ及び第3のポインタのFFFFは、映像音声ブロックエントリ4が指す映像音声データが映像音声ファイル「AV1」の最終データであることを示す。
【0032】
映像音声ブロックファイル104は、複数の映像音声ブロックエントリから構成され、各映像音声ブロックエントリは、記録位置、データサイズにより構成されている。図2の例では、映像音声ブロックエントリ0の記録位置及びデータサイズには、0及び10が記録されており、映像音声データがその位置の記録されていることを示している。
【0033】
次に、図3を参照して、本実施の形態における記録装置の記録媒体16のファイル構造のデータ配置について説明する。
図3に示した例において、ボリューム管理ファイル101、ディレクトリファイル102、間接ブロックファイル103及び映像音声ブロックファイル104は、記録媒体16上の物理的に連続した位置に配置される。また、データ領域105には映像音声データが記録される。
本実施の形態では、記録媒体16上の、ディレクトリファイル102、間接ブロックファイル103及び映像音声ブロックファイル104を仮想記憶(ページング)で管理する例を示している。なお、ディレクトリファイル102、間接ブロックファイル103及び映像音声ブロックファイル104で構成される記録媒体16上の領域をページ管理領域200と呼ぶ。ページ管理領域200は、ページ単位に分割され、先頭ページから連続する数字がページ番号として割り当てられ、仮想記憶番号として使用される。
【0034】
図3の例に示す階層型ファイル構造において、記録媒体16のデータ領域105に記録された映像音声データを再生する際、ディレクトリエントリ(例えば、0000)に記録された二重間接ブロックポインタを基に、3個の管理データ(二重間接ブロックエントリ0、間接ブロックエントリ1、2、映像音声ブロックエントリ0〜3)をたどることで、再生対象となる映像音声データの記録位置、及び、サイズを取得することができる。
図3の例では、ボリューム管理ファイル101、ディレクトリファイル102、間接ブロックファイル103、映像音声ブロックファイル104を物理的に連続して配置しているが、分散して配置することも可能である。
【0035】
図3の例では、ディレクトリファイル102を構成する各ページには、ページ番号0からページ番号5が割り当てられており、間接ブロックファイル103を構成する各ページには、ページ番号6からページ番号1FFFが割り当てられている。また、映像音声ブロックファイル104を構成する各ページには、ページ番号2000からページ番号2FFFが割り当てられている。
【0036】
図4は、メモリ22のアドレス空間をページフレーム単位に分割した状態を示した図である。ページフレームとは、メモリ22でページに対応する単位を指しており、ページもページフレームも常に大きさは同じである。
図4において、メモリ22上には10個のページフレームが存在し、データ記録再生時に、必要に応じて記録媒体16上のページがメモリ22上のページフレームにロードされる。
【0037】
次に、図5を参照して、本実施の形態における記録装置のメモリ管理手段23におけるページテーブル40のデータ構造について説明する。
ページテーブル40は、メモリ22中のページフレーム(図4)ごとに、1つのページエントリが割り当てられる。図5の例では、ページテーブル40は、10個のページエントリ(ページエントリ0〜9)により構成され、ページフレーム0にロードされたページに関する情報はページテーブル40内のページエントリ0に記録される構成となっている。
【0038】
ページエントリ(0〜9)は、ページ番号部41、更新フラグ部42、ページ書込優先レベル部43から構成される。
ページ番号部41には、メモリ22上の該当するページフレームにロードされているページのページ番号が記録される。図5の例では、ページエントリ0のページ番号部41には0が記録されており、記録媒体16のページ管理領域200(図3)上のページ0がメモリ22上のページフレーム0にロードされていることを示している。ページエントリ1のページ番号部41には、7が記録されており、ページ管理領域200上のページ7がメモリ22上のページフレーム1にロードされていることを示している。ページエントリ2のページ番号部41には、8が記録されており、ページ管理領域200上のページ8がメモリ22上のページフレーム2にロードされていることを示している。ページエントリ3のページ番号部41には、2000が記録されており、ページ管理領域200上のページ2000がメモリ22上のページフレーム3にロードされていることを示している。ページエントリ4のページ番号部41には、1が記録されており、ページ管理領域200上のページ1がメモリ22上のページフレーム4にロードされていることを示している。なお、ページ番号部41中のFFFFは、該当するページフレームにページが存在せず、空き状態であることを示す。
【0039】
更新フラグ部42には、メモリ22上にロードされたページに対して、データの更新が行われたことが記録される。すなわち、メモリ22上のページフレームにページがロードされたときには、更新フラグ部42は初期状態としてクリアされ、そのページが更新されたときには印が付けられ、更新されたページが記録媒体16に書き込まれたときにはクリアされる。ページエントリ0、1、2、3の更新フラグ部42には、データ更新を表す印(M)が記録されており、ページフレーム0、1、2、3に格納されているページ0、7、8、2000の内容が更新されていることを示している。
【0040】
ページ書込優先レベル部43には、ディレクトリファイル102、間接ブロックファイル103、映像音声ブロックファイル104に割り当てられているページ書込優先レベルが記録される。すなわち、メモリ22上のページフレームにページがロードされたときには、そのページが属するファイル種別に応じてページ書込優先レベルが記録され、ページフレームが空き状態のときにはクリアされる。なお、本実施例において、ディレクトリファイル102、間接ブロックファイル及び映像音声ブロックファイルに対してページ書込優先度レベル1、2、3を割り当てるものとする。図5の例では、ページエントリ0、4のページ書込優先レベルには、1が記録されており、このことはページ管理領域200上のページ0、1はディレクトリファイル102に属するページであることを示している。ページエントリ1、2のページ書込優先レベル43には、2が記録されており、ページ管理領域200上のページ7、8は間接ブロックファイル103に属するページであることを示している。ページエントリ3のページ書込優先レベルには、3が記録されており、ページ管理領域200上のページ2000は映像音声ブロックファイル104に属するページであることを示している。
【0041】
次に、図2、図6〜図11を参照して、本発明の第1の実施の形態における記録装置に対し入力した映像音声データを記録する動作について説明する。
図6に示すフローチャートにおいて、映像信号または音声信号が入力されると、ビデオ入力手段11及びオーディオ入力手段12は入力情報をディジタルデータに変換し、符号化手段13で符号化して、映像音声データを生成する。画像メモリ制御手段15は符号化手段13で生成された映像音声データを画像メモリ14に格納するとともに、ファイル管理手段21に対し記録媒体16への書き込みを指示する。画像メモリ制御手段15からの書き込みの指示を受けて、ファイル管理手段21は映像音声データを記録媒体16に記録する(ステップS101)。
【0042】
ファイル管理手段21は、ボリューム管理ファイル101に記録された空き映像音声ブロック番号を基に、記録媒体16上に記録された映像音声データに関する情報(記録位置、データサイズ)の格納先となる映像音声ブロックエントリを決定する。図2の例では、ボリューム管理ファイル101の空き映像音声ブロックエントリには、4が記録されており、ファイル管理手段21は、映像音声ブロックファイル104の映像音声ブロックエントリ4に映像音声データに関する情報(記録位置、データサイズ)を格納する。
【0043】
映像音声ブロックエントリの更新が完了すると、ファイル管理手段21は、間接ブロック103内の直接ポインタに映像音声ブロックエントリ番号を記録する。図2の例では、間接ブロックエンエントリ2の第2の直接ポインタに0004が記録される。なお、間接ブロック内の全ての直接ポインタが使用中の場合(FFFFが記録されている直接ポインタが存在しない場合)は、ボリューム管理ファイル101の空き間接ブロックエントリ番号を基に、空き間接ブロックを取得し、その空き間接ブロックの直接ポインタに映像音声ブロックエントリ番号を記録するとともに、二重間接ブロックの間接ポインタに取得した間接ブロックの間接ブロックエントリ番号を記録する。
間接ブロックの更新が完了すると、ディレクトリエントリ(図2の0000)の映像音声データ数を更新する。図2の例では、ディレクトリエントリ0の映像音声データ数が5に更新される。
なお、ディレクトリファイル102、間接ブロックファイル103、映像音声ブロックファイル104の空きエントリを使用した場合は、ボリューム管理ファイル101の各空きエントリ番号を更新する(ステップS102)。
【0044】
ファイル管理手段21は作成あるいは更新したファイル管理情報(ディレクトリエントリ、間接ブロックエントリ及び映像音声ブロックエントリ)をメモリ22に格納するため、メモリ管理手段23に対し仮想アドレスを物理アドレスに変換する指示を行う。ここで、仮想アドレスとは、ディレクトリエントリ、間接ブロックエントリ及び映像音声ブロックエントリの管理情報領域200上での記録位置を示すものである。図9に示すように、仮想アドレス50はページ番号部とページ内アドレスで構成される(ステップS103)。
【0045】
メモリ管理手段23は、ファイル管理手段21からの仮想アドレスの物理アドレスへのアドレス変換が指示されると、ページテーブル40(図5)内のページ番号部41を参照し、仮想アドレス50(図9)のページ番号と一致するページ番号(ページエントリ)が存在するか否かを検索する(ステップS104)。該当するページが存在しない場合はページイン処理(後述する)を行い(ステップS105)該当するページが存在する場合はメモリ管理手段23は仮想アドレスからメモリ22に対する物理アドレスへのアドレス変換を行う(ステップS106)。メモリ管理手段23は、アドレス変換が完了すると、変換した物理アドレスをファイル管理手段21に返送する。
【0046】
ここで、図10を参照して、仮想アドレスから物理アドレスへのアドレス変換の一例を説明する。
図10において、まず、仮想アドレス50はページ番号000とページ内アドレスαに分割される。メモリ管理手段23はページ番号0007を含むページテーブルのページエントリを検索し、該当するページエントリ1が検索された場合、仮想アドレス50のページ番号0007をページフレーム番号1に置換え、物理アドレスを生成する。
【0047】
図6のステップ107に戻り、ファイル管理手段21はメモリ管理手段23から返送された物理アドレスに基づいて、ディレクトリエントリ、間接ブロックエントリ、映像音声ブロックエントリをメモリ22の所定の位置に格納するとともに、ページ更新が行われたことをメモリ管理手段23に通知する(ステップS107)。すなわち、ファイル管理手段21で作成した管理情報のみをメモリ22に格納する。
メモリ管理手段23は、ファイル管理手段21からのページ更新通知を受けて、ページテーブル40内の該当するページエントリの更新フラグ部42に印(M)を付ける(ステップS108)。
【0048】
次に、図7のフローチャートを参照して、本発明の第1の実施の形態における記録装置の記録媒体16からメモリ22に対する情報のページイン動作について説明する。
記録媒体16からのページの読み込みが指示されると、メモリ管理手段23は、メモリ22上に空きページフレームが存在するかどうかを、ページテーブル40内の各ページエントリのページ番号部41が空きページフレームを示すFFFFであるか否かをチェックすることにより、判断する(ステップS201)。空きページフレームがない場合はページアウト処理に進み(ステップS202)、空きページフレームがある場合はページの転送先となる空きページフレームを取得する(ステップS203)。
【0049】
メモリ管理手段23は、記録媒体16から該当するページを読み込み、取得したページフレームに保存する。このとき、該当するページを含むページ一群をまとめて先読みするようにしても良い。ここでの先読みとは、将来参照されるページをあらかじめメモリ22上にロードしておくことである(ステップS204)。
メモリ管理手段23は、ページテーブル40の該当するページエントリのページ番号部41に該当するページのページ番号を記録し(ステップS205)、該当するページのページ番号を基に、そのページが属するファイル種別を決定し、各ファイル種別に対して割り当てられているページ書込優先レベルをページエントリのページ書込優先レベル部43に記録する(ステップS206)。
【0050】
次に、図8のフローチャートを参照して、本発明の第1の実施の形態における記録装置のメモリ22から記録媒体16に対する情報のページアウト動作について説明する。
メモリ管理手段23は、メモリ22中のページフレームに保存されているページの中から削除するページを選択する(ステップS301)。メモリ管理手段23は、選択されたページが更新されているか否かを、ページテーブル40の該当するエントリの更新フラグ部42を参照することにより判断する(ステップS302)。未更新ページの場合はステップ306に進む。更新ページである場合はステップS303に進み、該当するページを記録媒体16上の所定の位置にベリファイ記録動作による記録し、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS304)。ページが記録媒体16に正常に記録された場合は、ステップS305に進む。ページが記録媒体16に正常に記録されなかった場合、メモリ管理手段23は、ファイル管理手段21に対してデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する(ステップS308)。
【0051】
メモリ管理手段23は、ページテーブル40の該当するエントリの更新フラグ部42をクリアし(ステップS305)、ページテーブル40の該当するページエントリのページ番号部41にFFFFを記録し、該当するページフレームを空きページフレームとする(ステップS306)。
メモリ管理手段23は、ページテーブル40の該当するエントリのページ書込優先レベル部43をクリアする(ステップS307)。
【0052】
次に、図11のフローチャートを参照して、本発明の第1の実施の形態の記録装置における更新ページの書込み動作について説明する。
メモリ管理手段23は、ページ制御手段24からの更新ページの書き込み要求を受けると、ページテーブル40の各ページエントリの更新フラグ部42及びページ書込優先レベル43を参照し、該当するページフレームに保存されているページがページ書込優先レベル3の更新ページであるか否かを判定する(ステップS401)。
【0053】
ページ書込優先レベル3の更新ページでない場合はステップS405に進み、ページ書込優先レベル3の更新ページである場合は、ステップS402に進み、該当するページを記録媒体16上の所定の位置にベリファイ動作で記録して、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS403)。そこで、ページが記録媒体16に正常に記録された場合はステップS404に進む。ページが記録媒体16に正常に記録されなかった場合は、ステップS411に進み、メモリ管理手段23は、ファイル管理手段21に対しデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する。
【0054】
ステップS404では、ページテーブル40の該当するページエントリの更新フラグ部42をクリアする(ステップS404)。
メモリ管理手段23は、ページ書込優先レベル3の更新ページがすべて記録媒体16上に記録されたか否かを判定する(ステップS405)。記録が完了していない場合は、ステップS401に進む。記録が完了した場合には、ステップS406に進み、ページテーブル40の各ページエントリの更新フラグ部42及びページ書込優先レベル43を参照し、該当するページフレームに保存されているページがページ書込優先レベル2の更新ページであるか否かを判定する(ステップS406)。
【0055】
ページ書込優先レベル2の更新ページでない場合はステップS407に進む。ページ書込優先レベル2の更新ページである場合は、ステップ402に進み、該当するページを記録媒体16上の所定の位置にベリファイ動作で記録し、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS403)。ページが記録媒体16に正常に記録された場合はステップS404に進む。ページが記録媒体16に正常に記録されなかった場合はメモリ管理手段23は、ファイル管理手段21に対しデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する(ステップS411)。
【0056】
また、ステップS404では、ページテーブル40の該当するページエントリの更新フラグ部42をクリアしてステップS407に進む(ステップS404)。
そこで、メモリ管理手段23は、ページ書込優先レベル2の更新ページがすべて記録媒体16上に記録されたか否かを判定する(ステップS407)。記録が完了していない場合は、ステップS406に進む。記録が完了した場合にはステップS408に進み、ページテーブル40の各ページエントリの更新フラグ部42及びページ書込優先レベル43を参照し、該当するページフレームに保存されているページがページ書込優先レベル1の更新ページであるか否かを判定する(ステップS408)。
【0057】
ページ書込優先レベル1の更新ページでない場合は、ステップS409に進む。ページ書込優先レベル1の更新ページである場合は、ステップ402に進み、該当するページを記録媒体16上の所定の位置にベリファイ記録動作で記録し、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS403)。ページが記録媒体16に正常に記録された場合はステップS404に進む。ページが記録媒体16に正常に記録されなかった場合、メモリ管理手段23は、ファイル管理手段21に対しデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する(ステップS411)。
【0058】
また、ステップS404では、ページテーブル40の該当するページエントリの更新フラグ部42をクリアしてステップS409に進む(ステップS404)。
メモリ管理手段23は、ページ書込優先レベル1の更新ページがすべて記録媒体16上に記録されたか否かを判定する(ステップS409)。記録が完了していない場合は、ステップS408に進む。記録が完了した場合には、ステップS410に進み、ボリューム管理ファイル101が記録媒体16上の所定の位置に記録される(ステップS410)。
【0059】
これにより、更新ページ書込み時に前記階層型ファイル構造の最下位レベルに該当する更新ページから順に記録し、更新ページ書込み中に記録媒体16に障害が発生した場合、直ちにページ書込処理を停止することにより、記録媒体16上のファイル構造の破壊を防止できるため、ファイル修復を行わずに記録ファイルを再生することができる。
【0060】
次に、図13を参照して、本発明の第1の実施の形態における記録装置の図1に示すものとは異なるファイル構造を詳細に説明する。
図13は、図2に示した映像音声ファイル「AV1」に対して新たに 1個の映像音声データを記録したときのファイル構造を示す図である。ここで、記録媒体16上には図2に示す階層型ファイル構造が記録されているものとする。
図13において、ディレクトリエントリ0の映像音声データ数には、5が記録されており、映像音声ファイル「AV1」に5個の映像音声データが記録されていることを示す。間接ブロック(間接ブロックエントリ2)の第2の直接ポインタには、4が記録されており、映像音声ブロックエントリ4に映像音声ファイルをなす第5の映像音声データの記録位置及びデータサイズが記録されていることを示す。ボリューム管理ファイル101の空き映像音声ブロックエントリ番号には、5が記録されている。
【0061】
ここで、図13の例において、記録媒体16に対する更新ページ書込処理が完了する前に異常終了が発生した場合には、メモリ22に格納されていた、記録媒体16に新たに記録された映像音声データに関するエントリ情報(間接ブロックエントリ2の第2ポインタ、映像音声ブロックエントリ4)は喪失してしまうが、記録媒体16上には図13に示す階層型ファイル構造が記録されて存在するため、通電開始時において、ファイル修復処理を行わずに、前回ページ書込処理直前までに記録されたエントリ情報を再生することができる。
【0062】
以上のように本発明の第1の実施の形態によれば、映像音声データが記録媒体16に記録される度に階層型ファイル構造を作成しあるいは更新し、作成しあるいは更新した階層型ファイル構造をメモリ22上の該当するページに保存するファイル管理手段21と、メモリ22と記録媒体16との間の階層型ファイル構造のデータ転送に関する情報を保存するページテーブルを有し、メモリ22に保存されるページに対するアクセス制御を行うメモリ管理手段23とを有する記録装置であり、階層型ファイル構造の階層ごとに予めページ書込優先レベルを割り当てておき、更新ページを記録媒体16に記録する場合には、ページ書込優先レベルが高いページから順に記録することにより、データ記録時に停電等の異常終了が発生したとしても、通電再開時に、記録媒体16上にはすでにファイル情報が記録されているため、電源異常によりメモリ22から喪失したファイル情報を、電源異常終了後にファイル情報修復処理を行わずに、記録開始から停電直前までに記録されたデータを再生することができることにより、電源異常に伴いメモリ22から喪失したファイル情報を保証することができるとともに、異常解消後における記録再開を迅速に行うことができる。
【0063】
(第2の実施の形態)
次に、図12を参照して、本発明の第2の実施の形態における記録装置について詳細に説明する。本実施の形態では、ページ制御手段24により、記録媒体16に対するページ書込間隔の設定を制御することが第1の実施の形態と異なる点である。
すなわち、ページ制御手段24は、記録媒体16に対し記録動作中のファイル管理情報の合計フレームレートの取得をファイル管理手段21に対して要求し、ファイル管理手段21から取得した合計フレームレートを基に、メモリ22中の更新ページの記録媒体16への書込みを指示する間隔またはタイミングを決定する。
図12は更新ページの記録媒体16への書込みを指示する間隔またはタイミングを示す例であり、11:00〜11:59は合計30フレーム/秒で記録動作が行われて、この間40秒間隔でページ書込処理が行われることを示し、12:00〜12:59は合計60フレーム/秒で記録動作が行われ、この間20秒間隔でページ書込処理が行われることを示し、13:00〜13:59は合計120フレーム/秒で記録動作が行われ、この間10秒間隔でページ書込処理が行われることを示している。
このように、本実施の形態では、予めページ書込間隔を設定しておき、時刻に応じてページ書込間隔を変更することにより、記録装置の異常終了に伴い喪失するデータ数の最大数が多くとも、例えば、1,200フレームとなることを保証して、喪失するデータ数を最小にすることができる。
【0064】
(第3の実施の形態)
次に、図14を参照して、本発明の第3の実施の形態における記録装置について詳細に説明する。
本実施の形態における記録装置は、先に述べた第1の実施の形態とは、映像音声ファイルをクローズ(閉鎖)する場合において、メモリ管理手段23は、階層型ファイル管理情報のうち、映像音声ブロックエントリ及び間接ブロックエントリを含む階層型ファイル管理情報のページを記録媒体16へ書き込む点が相違している。
【0065】
図14に示すフローチャートを参照して、本発明の第3の実施の形態における記録装置の動作を説明する。
まず、ファイル管理手段21はメモリ管理手段23に対し、映像音声ファイルに割り当てられている映像音声ブロックエントリの記録媒体16に対する書き込みを要求する。メモリ管理手段23は、ファイル管理手段21からの映像音声ブロックエントリ書き込み要求を受けて、メモリ2中に保存されているページの中からファイル管理手段を含むページを取得する。(ステップS501)。
【0066】
メモリ管理手段21は、該当するページを記録媒体16上の所定の位置にベリファイ記録動作により記録し(ステップS502)、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS503)。ページが記録媒体16に正常に記録された場合はステップS504に進む。ページが記録媒体16に正常に記録されなかった場合、メモリ管理手段23は、ファイル管理手段21に対しデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する(ステップS506)。
【0067】
また、ステップS504では、メモリ管理手段23は、ページテーブル40の該当するエントリの更新フラグ部42をクリアする(ステップS504)。
映像音声ファイルに割り当てられている映像音声ブロックのすべてについて、記録媒体16への書き込みが完了したか否かを判定する。判定の結果、書き込みが完了した場合には、メモリ管理手段23は、ファイル管理手段21に対し映像音声ブロックの記録媒体への書き込みが完了したことを通知し、ステップS508へ進む。書き込みが完了していない場合は、ステップS501へ進む(ステップS507)。
【0068】
ファイル管理手段21はメモリ管理手段23に対し、映像音声ファイルに割り当てられている間接ブロックエントリの記録媒体16への書き込みを要求する。メモリ管理手段23は、ファイル管理手段21からの間接ブロックエントリ書き込み要求を受けて、メモリ22中に保持されているページの中から間接ブロックエントリが含まれているページを取得する(ステップS508)。
メモリ管理手段21は、該当するページを記録媒体16上の所定の位置にベリファイ記録動作による記録し(ステップS502)、ベリファイ記録動作による応答結果を基に、記録媒体16へのページの記録が正常終了したか否かを判定する(ステップS503)。ページが記録媒体16に正常に記録された場合、ステップS504に進む。ページが記録媒体16に正常に記録されなかった場合は、ステップS506に進み、メモリ管理手段23は、ファイル管理手段21に対しデータ記録中の記録媒体16に障害が発生したことを通知し、ファイル管理手段21はメモリ管理手段23からの通知を受けて、障害が発生した記録媒体16へのデータ記録を停止する(ステップS506)。
【0069】
また、メモリ管理手段23は、ページテーブル40の該当するエントリの更新フラグ部42をクリアする(ステップS504)。
映像音声ファイルに割り当てられている間接ブロックエントリのすべてについて、記録媒体16への書き込みが完了したか否かを判定する(ステップS509)。書き込みが完了した場合には、メモリ管理手段23は、ファイル管理手段21に対し映像音声ブロックの記録媒体への書き込みが完了したことを通知する。書き込みが完了していない場合は、ステップS508へ進む。
【0070】
以上のように、本発明の第3の実施の形態によれば、映像音声ファイルをクローズする場合において、メモリ管理手段23は、階層型ファイル管理情報のうち、映像音声ブロックエントリ及び間接ブロックエントリを含む該当するページを記録媒体16へ書き込むことにより、任意の時間に映像音声データの数が少ない映像音声ファイルが多数作成される運用状態においても、映像音声ファイルをクローズする時に映像音声データ管理情報及び間接ブロック情報を記録媒体に書き込むことにより、メモリ中に保持するべき管理データの数を少なくできるため、メモリ22の使用容量を削減することができる。
【0071】
【発明の効果】
本発明における記録装置は、上記のように構成され、特に、映像音声データを記録媒体に記録する度に映像音声データを管理する階層型ファイル管理情報を作成してメモリに格納し、メモリに格納して更新された階層型ファイル管理情報の階層レベルに応じてページ書込優先レベルを割り当て、割り当てられたページ書込優先レベルの順に階層型ファイル管理情報をメモリから記録媒体に常に記録することにより、映像音声データの記録時に停電等による記録装置の異常終了が発生したとしても、異常終了の復旧後に、ファイル修復処理を行うことなく、記録開始から停電直前までに記録されたファイル管理情報を記録媒体から再生して、電源異常によりメモリから喪失されたファイル管理情報を記録媒体により保証することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態における記録装置の構成を示すブロック図、
【図2】本発明の第1の実施の形態における記録媒体のファイル構造を示す図、
【図3】本発明の第1の実施の形態における記録媒体のファイル構造のデータ配置を示す図、
【図4】本発明の第1の実施の形態におけるメモリ上のページフレームを示す図、
【図5】本発明の第1の実施の形態におけるページテーブルの構成を示す図、
【図6】本発明の第1の実施の形態における記録方法のフローチャートを示す図、
【図7】本発明の第1の実施の形態におけるページイン動作のフローチャートを示す図、
【図8】本発明の第1の実施の形態におけるページアウト動作のフローチャートを示す図、
【図9】本発明の第1の実施の形態における仮想アドレスの構成を示す図、
【図10】本発明の第1の実施の形態におけるアドレス変換を説明するための図、
【図11】本発明の第1の実施の形態における更新ページ記録処理動作のフローチャートを示す図、
【図12】本発明の第2の実施の形態における更新ページ書込間隔の例を示す図、
【図13】本発明の第1の実施の形態における記録媒体の他のファイル構造を示す図、
【図14】本発明の第3の実施の形態における記録開始処理のフローチャートを示す図、
【図15】従来のファイル構造を示す図、
【図16】従来のファイルシステム及びファイル復旧方法の構造を示す図。
【符号の説明】
10 記録装置
11 ビデオ入力手段
12 オーディオ入力手段
13 符号化手段
14 画像メモリ
15 画像メモリ制御手段
16 記録媒体
20 ファイル構造管理部
21 ファイル管理手段
22 メモリ
23 メモリ管理手段
24 ページ制御手段
30 符号化手段
31 ビデオ出力手段
32 オーディオ出力手段
40 ページテーブル
41 ページ番号部
42 更新フラグ部
43 ページ書込優先レベル部
50 仮想アドレス
101 ボリューム管理ファイル
102 ディレクトリファイル
103 間接ブロックファイル
104 映像音声ブロックファイル
200 ページ管理領域
1001 ルートディレクトリ
1002 ファイルアロケーションテーブル
1003 クラスタ
1101 プロセス
1102 外部記録装置
1103 更新ログ
1104 バックアップ更新ログ
1105 ハッシュテーブル
1106 ファイル管理ブロック
1107 ファイル
1108 ディレクトリ
1111 ファイル管理手段
1112 ファイルアクセス手段
1113 ファイル修復手段
1114 ハッシュテーブル作成手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording apparatus and a recording method for decompressing and reproducing an image recorded by compression, and more particularly to a recording apparatus for preventing file destruction and information loss when the recording apparatus abnormally ends due to a power failure or the like. In place Related.
[0002]
[Prior art]
Conventionally, a surveillance system has a surveillance camera installed at a certain location, and monitors and reproduces the video of the location on the monitor in real time, accumulates the surveillance video in a recording / playback device, and plays back the recorded video as necessary. Like to do. A recording / playback apparatus that simultaneously plays back and searches while recording, stores all management information created on the recording medium in a physical memory that can be accessed at high speed, and performs recording while backing up to the recording medium at an arbitrary timing. However, in a recording / reproducing apparatus that records all management information on a physical memory that has only a limited address space, a magnetic disk that can be managed according to the capacity of the installed physical memory, There is a problem that the recording capacity of the optical disk is limited. Therefore, by installing a paging function, which is one method of virtual storage, in the recording / reproducing apparatus, management of a large-capacity recording medium using a small-capacity memory is realized.
[0003]
By the way, disk recording media such as a randomly accessible magnetic disk and magneto-optical disk have come to be used as storage media for recording and reproducing devices. With conventional tape media, if a power failure occurs during recording, the video up to the power failure is saved, but in the case of a disk recording medium configured for a computer, if the recording end process is not correct, There was a problem of losing all of the surveillance video up to the power failure.
Hereinafter, data recording on a disk recording medium configured for a computer will be described with reference to FIG. 15 (see, for example, Non-Patent Document 1).
[0004]
[Non-Patent Document 1]
File Allocation Table type file structure defined in JIS X 0605 standard.
[0005]
FIG. 15 is a diagram showing a file structure defined in the JIS X 0605 standard. In FIG. 15, the recording area of the disk recording medium includes a root directory 1001, a file allocation table 1002, and a cluster 1003.
The root directory 1001 holds the name of the file stored on the disk recording medium and the first cluster number of the file. The file allocation table 1002 holds connection information of the cluster 1003 in which the file is configured. The cluster 1003 is a minimum unit of recording / reproducing of a disk recording medium, and holds actual data.
[0006]
In the example shown in FIG. 15, the root directory 1001 indicates that a file named Data1 is stored on the disk recording medium from the cluster number 0002, and the file allocation table 1002 indicates that the Data1 is the cluster number 0002, the cluster number 0003, And that the data is configured in the order of the cluster number 0004. Therefore, the actual data of Data1 is stored in the areas of cluster number 0002, cluster number 0003, and cluster number 0004 of cluster 1003. Note that FFFF in the file allocation table 1002 is a cluster number indicating the final cluster of the file.
At the time of data recording, first, the file name and the leading cluster number are registered in the root directory 1001, and the actual data is recorded in each area of the cluster 1003 while updating the connection information of the cluster 1003 by the file allocation table 1002.
[0007]
By the way, the root directory 1001 and the file allocation table 1002 are fixed to the disk recording medium, and each area of the cluster 1003 uses an area of the disk recording medium other than the root directory 1001 and the file allocation table 1002.
If data is to be written to the file allocation table 1002 and each area of the cluster 1003 during data recording, the cluster connection information in the file allocation table 1002 needs to be updated each time the cluster 1003 is written. It becomes necessary to seek the writing head, and the writing speed becomes extremely slow.
[0008]
Therefore, data is written into the cluster 1003 while updating the information in the file allocation table 1002 in the memory, and the information in the file allocation table 1002 is reflected on the disk recording medium at the time of data recording end processing or periodically. The method is adopted.
Conventionally, a file recovery method as shown in FIG. 16 is known (see, for example, Patent Document 1).
[0009]
[Patent Document 1]
JP-A-2000-40023 (5th page, paragraphs 19 to 20, FIG. 1).
[0010]
The conventional file recovery system shown in FIG. 16 includes a process 1101 for accessing a file, an external storage device 1102, and a file management unit 1211. In the external storage device 1102, an update log 1103 that is a record of the recording operation of the file 1107, a backup update log 1104 that is a backup storage area of the update log 1103, and a hash that stores a repair directory according to a hash function It includes a table 1105, a file management block 1106 for managing files for each file, and a directory 1108 that summarizes file names and related information. The file management unit 1111 includes a file access unit 1112 that accesses the file 1107 according to the application program of the process 1101, a file restoration unit 1113 that includes a program that works on the external storage device 1102 when the file 1107 is restored, and a hash function at a predetermined time. And a hash table creating means 1114 for forming a table according to FIG.
[0011]
When the external storage device 1102 starts to be used, the update log 1103 is copied to the backup update log 1104, and the contents updated from the backup update log 1104 are registered in the hash table 1105. Thereafter, when there is an access to the file 1107, the hash table 1105 is first searched. If the file is to be repaired, the file 1107 is accessed after being repaired.
As described above, according to the conventional file system and file recovery method, file recovery processing is performed based on the update log 1103 recorded in the external storage device 1102, so that the active file is destroyed or data is lost when a power failure occurs. The loss of will never happen.
[0012]
[Problems to be solved by the invention]
However, if a power failure occurs before the recording end process is performed in the conventional recording on the disk recording medium, the file allocation table 1002 of the disk recording medium is not updated, so the power failure occurs from the start of recording. Up to now, although the data is recorded in the cluster 1003, the connection information of the file allocation table 1002 indicating the connection information of the cluster 1003 is lost, and there is a problem that the file is destroyed and the data is lost. It was.
[0013]
In addition, by periodically updating the file allocation table of the disk recording medium, it is possible to prevent the loss of data recorded from the start of recording to immediately before the power failure. Since it was necessary to repair the connection information of the cluster, there was a problem that the transition to the recording start state was delayed after recovery from abnormal termination.
[0014]
The present invention has been made in order to solve the above-described conventional problems. When information recording is abnormally terminated due to a power failure or the like during information recording on a disk recording medium, the file is destroyed and the information is lost. Recording device that can transition to a recording startable state in a short time after recovery from an abnormal state. Place It is to provide.
[0015]
[Means for Solving the Problems]
The recording method according to the present invention records input video / audio data on a recording medium, creates hierarchical file management information for managing the video / audio data every time the video / audio data is recorded on the recording medium, and stores it in a memory And assigning a page writing priority level according to the hierarchical level of the hierarchical file management information stored and updated in the memory, and recording the hierarchical file management information in the order of the assigned page writing priority level. It has the structure of having each process recorded on a medium. With this configuration, even if an abnormal termination of the recording device occurs due to a power failure or the like during video / audio data recording, file management is performed from the start of recording to immediately before the power failure without performing file repair processing after recovery from the abnormal state. Information can be reproduced from the recording medium, and the file management information lost from the memory due to power failure can be guaranteed by the recording medium.
[0016]
The recording method according to the present invention includes a step of determining a write timing of the hierarchical file management information based on a total frame rate of the hierarchical file management information being recorded on the recording medium. ing. With this configuration, hierarchical file management information can be recorded efficiently, and the number of data lost when the power supply is abnormal can be minimized.
[0017]
In the recording method of the present invention, the step of recording the hierarchical file management information on the recording medium is performed when the recording of the hierarchical file management information on the recording medium is completed and the video / audio file is closed. The file management information includes a step of writing a page including video / audio data management information and indirect block information to the recording medium. With this configuration, even in an operation state where a large number of video / audio files with a small number of video / audio data are created at an arbitrary time, the video / audio data management information and the indirect block information are written to the recording medium when the video / audio file is closed. Since the file management information in the memory can be erased and the number of file management information to be held in the memory can be suppressed, the memory usage capacity can be reduced.
[0018]
The recording apparatus according to the present invention creates a recording medium for recording input video / audio data and hierarchical file management information for managing the video / audio data every time the video / audio data is recorded on the recording medium. A file management means for storing, and a page write priority level is assigned according to the hierarchy level of the hierarchical file management information stored and updated in the memory, and the hierarchical file is in order of the assigned page write priority level. And a memory management unit that records management information on the recording medium. With this configuration, even if an abnormal termination of the recording device occurs due to a power failure or the like during video / audio data recording, file management is performed from the start of recording to immediately before the power failure without performing file repair processing after recovery from the abnormal state. Information can be reproduced from the recording medium, and the file management information lost from the memory due to power failure can be guaranteed by the recording medium.
[0019]
The recording apparatus according to the present invention includes a page control unit that determines a write timing of the hierarchical file management information based on a total frame rate of the hierarchical file management information being recorded on the recording medium. Have. With this configuration, hierarchical file management information can be recorded efficiently, and the number of data lost when the power supply is abnormal can be minimized.
[0020]
In the recording apparatus according to the present invention, the memory management unit includes video / audio data management of the hierarchical file management information when the recording of the hierarchical file management information to the recording medium is completed and the video / audio file is closed. A page including information and indirect block information is written to the recording medium. With this configuration, even in an operation state where a large number of video / audio files with a small number of video / audio data are created at an arbitrary time, the video / audio data management information and the indirect block information are written to the recording medium when the video / audio file is closed. Since the file management information in the memory can be erased and the number of file management information to be held in the memory can be suppressed, the memory usage capacity can be reduced.
[0021]
The program according to the present invention records input video / audio data on a recording medium in a computer and creates hierarchical file management information for managing the video / audio data each time the video / audio data is recorded on the recording medium. And assigning a page writing priority level according to the hierarchical level of the hierarchical file management information stored and updated in the memory, and the hierarchical file management information in order of the assigned page writing priority level. Each of the functions for recording on the recording medium is realized. With this configuration, even if an abnormal termination of the recording device occurs due to a power failure or the like during video / audio data recording, file management is performed from the start of recording to immediately before the power failure without performing file repair processing after recovery from the abnormal state. Information can be reproduced from the recording medium, and the file management information lost from the memory due to power failure can be guaranteed by the recording medium.
[0022]
The program according to the present invention is configured to cause a computer to realize a function of determining a write timing of the hierarchical file management information based on a total frame rate of the hierarchical file management information being recorded on the recording medium. have. With this configuration, hierarchical file management information can be recorded efficiently, and the number of data lost when the power supply is abnormal can be minimized.
[0023]
In the program according to the present invention, the function of recording the hierarchical file management information on the recording medium is performed when the recording of the hierarchical file management information on the recording medium is completed and the video / audio file is closed on the computer. The hierarchical file management information includes a function of realizing a function of writing a page including video / audio data management information and indirect block information to the recording medium. With this configuration, even in an operation state where a large number of video and audio files with a small number of video and audio data are created at an arbitrary time, the video and audio data management information and indirect block information are written to the recording medium when the video and audio files are closed Since the file management information in the memory can be erased and the number of file management information to be held in the memory can be suppressed, the memory usage capacity can be reduced.
[0024]
A recording medium according to the present invention has a configuration in which the program according to any one of claims 7 to 9 is recorded. With this configuration, by transferring the program according to any one of claims 7 to 9 to another computer using a recording medium, the recording method of the present invention can be realized and the recording apparatus can be realized even at the destination computer. It will be possible.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the first and second embodiments of the present invention will be described in detail with reference to the accompanying drawings.
(First embodiment)
First, the configuration of the recording apparatus according to the first embodiment of the present invention will be described in detail with reference to FIGS. In FIG. 1, a recording apparatus 10 includes a video input unit 11 that converts an input video signal into digital, an audio input unit 12 that converts an input audio signal into digital, a video input unit 11 and an audio input unit 12. Encoding means 13 for encoding digital data from the image data to generate video / audio data, image memory 14 for temporarily storing a plurality of video / audio data, and video / audio data generated by the encoding means 13 for image memory 14 The image memory control means 15 for controlling the transfer to the recording medium 16 or writing to the recording medium 16, the recording medium 16 for recording the video / audio data, and creating a hierarchical file structure each time the video / audio data is recorded on the recording medium, or A file that stores an updated, created, or updated hierarchical file structure in a corresponding page in the memory 22. And a part of the hierarchical file structure (directory file 102, indirect block file 103, video / audio block file 104, etc.) recorded on the recording medium 16 in units of pages. And a memory management means 23 having a page table including information relating to information transfer of file management information between the memory 22 and the recording medium 16 and controlling access to the pages stored in the memory 22; The page control means 24 for instructing the memory management means 23 to write the updated page in the memory 22 to the recording medium 16 and the file management means 21 in conjunction with the recording medium 16, the encoding means 13 and the decoding means 19 The file structure management unit 20 that controls the video and audio data recorded on the recording medium 16 It comprises decoding means 30 for separating image and audio digital data, video output means 31 for converting video digital data into video signals, and audio output means 32 for converting audio digital data into audio signals. Yes.
[0026]
The page control unit 24 requests the file management unit 21 to acquire the total frame rate of the video / audio file being recorded, and based on the total frame rate acquired from the file management unit 21, the updated page in the memory 22. The interval or timing for instructing to write the file management information to the recording medium 16 is determined (described in the second embodiment). The recording of the file management information in the memory 22 to the recording medium 16 may be designated at any time, for example, when a page is updated. By finely setting the file management information, the file management information at the time of recovery after a power failure, etc. It can guarantee its existence.
The recording medium 16 is a recording device capable of random access, such as a hard disk (HDD), and is composed of one or a plurality of devices. In addition, the video / audio data recorded on the recording medium 16 has been subjected to intra-frame compression such as JPEG or inter-frame compression such as MPEG.
[0027]
Next, the configuration of the file structure (not including actual information) of the recording medium 16 of the recording apparatus according to the present embodiment will be described with reference to FIG.
In FIG. 2, the file structure of the recording medium 16 includes a volume management file 101, a directory file 102, and ,while It is composed of a contact block file 103 and a video / audio block file 104.
[0028]
The volume management file 101 shown in FIG. 2 is composed of a free directory entry number, a free indirect block entry number, and a free video / audio block entry number. The free directory entry number contains the first free entry number of the directory file 102. In the example of FIG. 2, 1 is recorded, indicating that the directory entry 1 is the first free entry in the directory file 102. In the free indirect block entry number, the top free entry number of the indirect block file 103 is recorded. In the example of FIG. 2, 3 is recorded, and the indirect block entry 3 is the top free entry of the indirect block file 103. Is shown. In the empty video / audio block entry number, the leading empty entry number in the video / audio block file 104 is recorded. In the example of FIG. 2, 4 is recorded, and the video / audio block entry 4 is the top of the video / audio block file 104. Indicates that the entry is empty. In this embodiment, the directory entry 102, the indirect block file 103, and the video / audio block file 104 are used in order from the top entry. That is, at the time of data recording, an entry to be used is determined based on the empty directory entry number, empty indirect block entry number, and empty video / audio block entry number recorded in the volume management file 101.
[0029]
The directory file 102 includes a plurality of directory entries, and each directory entry includes a name of a video / audio file, a time stamp, a double indirect block pointer, and the number of video / audio data.
A double indirect block pointer records a double indirect block number, and a double indirect block records one or more indirect block entry numbers.
In FIG. 2, three indirect pointers are recorded in the double indirect block (indirect block entry 0), 1 is recorded in the first pointer, and indirect block entry 1 is an indirect block. 2 is recorded in the second pointer, indicating that indirect block entry 2 is an indirect block. The FFFF of the third pointer indicates that the indirect block following the indirect block entry 2 does not exist in the file “AV1”.
[0030]
In the number of video / audio data, the number of video / audio data recorded in the corresponding video / audio file is recorded. In the example of FIG. 2, 4 is recorded, indicating that 4 video / audio data are recorded in the video / audio file “AV1”. The indirect block file 103 is composed of a plurality of indirect block entries, and each indirect block entry is composed of a plurality of indirect pointers or direct pointers. An indirect block entry number is recorded in the indirect pointer, and a direct pointer (management value) indicating the recording position and data size of the video / audio data recorded on the recording medium 16 is recorded in the indirect block. Are accessed directly). In the example shown in FIG. 2, three direct pointers are recorded in each indirect block.
[0031]
In the direct pointer, an entry number of the video / audio block file 104 for managing the recording position and data size of the video / audio data recorded on the recording medium 16 is recorded. In the example shown in FIG. 2, 0 is recorded in the first pointer of the indirect block entry 1, and the recording position and data size of the first video / audio data constituting the video / audio file are recorded in the video / audio block entry 0. 1 is recorded in the second pointer, and the recording position and data size of the second video / audio data constituting the video / audio file are recorded in the video / audio block entry 1 The third pointer indicates that 2 is recorded, and that the recording position and data size of the third video / audio data constituting the video / audio file are recorded in the video / audio block entry 2; In the first pointer of the block entry 2, 3 is recorded, and the fourth video constituting the video / audio file is stored in the video / audio block entry 3. Indicating that the recording position and the data size of the voice data is recorded. The second pointer and the third pointer FFFF of the indirect block entry 2 indicate that the video / audio data indicated by the video / audio block entry 4 is the final data of the video / audio file “AV1”.
[0032]
The video / audio block file 104 includes a plurality of video / audio block entries, and each video / audio block entry includes a recording position and a data size. In the example of FIG. 2, 0 and 10 are recorded in the recording position and data size of the video / audio block entry 0, indicating that the video / audio data is recorded at that position.
[0033]
Next, the data arrangement of the file structure of the recording medium 16 of the recording apparatus according to the present embodiment will be described with reference to FIG.
In the example shown in FIG. 3, the volume management file 101, the directory file 102, the indirect block file 103, and the video / audio block file 104 are arranged at physically continuous positions on the recording medium 16. In the data area 105, video / audio data is recorded.
In the present embodiment, an example is shown in which the directory file 102, the indirect block file 103, and the video / audio block file 104 on the recording medium 16 are managed in virtual storage (paging). An area on the recording medium 16 constituted by the directory file 102, the indirect block file 103, and the video / audio block file 104 is referred to as a page management area 200. The page management area 200 is divided into page units, and numbers consecutive from the first page are assigned as page numbers and used as virtual storage numbers.
[0034]
In the hierarchical file structure shown in the example of FIG. 3, when reproducing the audio / video data recorded in the data area 105 of the recording medium 16, the double indirect block pointer recorded in the directory entry (for example, 0000) is used. Acquire the recording position and size of the video / audio data to be played back by following three pieces of management data (double indirect block entry 0, indirect block entries 1 and 2, and video / audio block entries 0 to 3). can do.
In the example of FIG. 3, the volume management file 101, the directory file 102, the indirect block file 103, and the video / audio block file 104 are physically arranged continuously, but can also be distributed.
[0035]
In the example of FIG. 3, page numbers 0 to 5 are assigned to each page constituting the directory file 102, and page numbers 6 to 1FFF are assigned to each page constituting the indirect block file 103. Assigned. Also, audio / video block Each page constituting the file 104 has a page number 2000 to a page number 2FF. F is Assigned.
[0036]
FIG. 4 is a diagram showing a state where the address space of the memory 22 is divided into page frames. A page frame refers to a unit corresponding to a page in the memory 22, and the size of the page and the page frame is always the same.
In FIG. 4, there are ten page frames on the memory 22, and pages on the recording medium 16 are loaded into the page frames on the memory 22 as necessary during data recording / reproduction.
[0037]
Next, the data structure of the page table 40 in the memory management unit 23 of the recording apparatus according to the present embodiment will be described with reference to FIG.
In the page table 40, one page entry is assigned to each page frame (FIG. 4) in the memory 22. In the example of FIG. 5, the page table 40 includes 10 page entries (page entries 0 to 9), and information regarding the page loaded in the page frame 0 is recorded in the page entry 0 in the page table 40. It has a configuration.
[0038]
The page entry (0 to 9) includes a page number part 41, an update flag part 42, and a page writing priority level part 43.
In the page number section 41, the page number of the page loaded in the corresponding page frame on the memory 22 is recorded. In the example of FIG. 5, 0 is recorded in the page number part 41 of the page entry 0, and page 0 on the page management area 200 (FIG. 3) of the recording medium 16 is loaded into the page frame 0 on the memory 22. It shows that. 7 is recorded in the page number portion 41 of the page entry 1, indicating that the page 7 on the page management area 200 is loaded into the page frame 1 on the memory 22. 8 is recorded in the page number portion 41 of the page entry 2, indicating that the page 8 on the page management area 200 is loaded into the page frame 2 on the memory 22. 2000 is recorded in the page number portion 41 of the page entry 3, indicating that the page 2000 on the page management area 200 is loaded into the page frame 3 on the memory 22. 1 is recorded in the page number portion 41 of the page entry 4, indicating that page 1 on the page management area 200 is loaded into the page frame 4 on the memory 22. Note that FFFF in the page number portion 41 indicates that the page does not exist in the corresponding page frame and is in an empty state.
[0039]
The update flag section 42 records that data has been updated for the page loaded on the memory 22. That is, when a page is loaded into a page frame on the memory 22, the update flag unit 42 is cleared as an initial state, marked when the page is updated, and the updated page is written to the recording medium 16. When cleared, it is cleared. A mark (M) indicating data update is recorded in the update flag section 42 of the page entries 0, 1, 2, and 3, and the pages 0, 7, and 3 stored in the page frames 0, 1, 2, and 3 are recorded. 8 and 2000 indicate that the contents have been updated.
[0040]
The page writing priority level section 43 records the page writing priority level assigned to the directory file 102, the indirect block file 103, and the video / audio block file 104. That is, when a page is loaded into a page frame on the memory 22, the page write priority level is recorded according to the file type to which the page belongs, and is cleared when the page frame is empty. In this embodiment, page write priority levels 1, 2, and 3 are assigned to the directory file 102, the indirect block file, and the video / audio block file. In the example of FIG. 5, 1 is recorded in the page writing priority level of page entries 0 and 4, which means that pages 0 and 1 on the page management area 200 are pages belonging to the directory file 102. Is shown. 2 is recorded in the page writing priority level 43 of the page entries 1 and 2, indicating that the pages 7 and 8 on the page management area 200 are pages belonging to the indirect block file 103. 3 is recorded in the page writing priority level of the page entry 3, indicating that the page 2000 on the page management area 200 is a page belonging to the video / audio block file 104.
[0041]
Next, with reference to FIG. 2 and FIG. 6 to FIG. 11, the operation of recording the video / audio data input to the recording apparatus in the first embodiment of the present invention will be described.
In the flowchart shown in FIG. 6, when a video signal or an audio signal is input, the video input means 11 and the audio input means 12 convert the input information into digital data, and the encoding means 13 encodes the video and audio data. Generate. The image memory control means 15 stores the video / audio data generated by the encoding means 13 in the image memory 14 and instructs the file management means 21 to write to the recording medium 16. In response to the write instruction from the image memory control means 15, the file management means 21 records the video / audio data on the recording medium 16 (step S101).
[0042]
The file management means 21 is a video / audio serving as a storage destination of information (recording position, data size) related to the video / audio data recorded on the recording medium 16 based on the empty video / audio block number recorded in the volume management file 101. Determine the block entry. In the example of FIG. 2, 4 is recorded in the empty video / audio block entry of the volume management file 101, and the file management means 21 stores information on video / audio data in the video / audio block entry 4 of the video / audio block file 104 ( (Recording position, data size) are stored.
[0043]
When the update of the video / audio block entry is completed, the file management unit 21 records the video / audio block entry number in the direct pointer in the indirect block 103. In the example of FIG. 2, 0004 is recorded in the second direct pointer of the indirect block entry 2. When all the direct pointers in the indirect block are in use (when there is no direct pointer in which FFFF is recorded), the free indirect block is acquired based on the free indirect block entry number of the volume management file 101. The video / audio block entry number is recorded in the direct pointer of the free indirect block, and the indirect block entry number of the acquired indirect block is recorded in the indirect pointer of the double indirect block.
When the update of the indirect block is completed, the number of video / audio data in the directory entry (0000 in FIG. 2) is updated. In the example of FIG. 2, the number of video / audio data of the directory entry 0 is updated to 5.
When empty entries of the directory file 102, the indirect block file 103, and the audio / video block file 104 are used, the empty entry numbers of the volume management file 101 are updated (step S102).
[0044]
The file management means 21 instructs the memory management means 23 to convert a virtual address into a physical address in order to store the created or updated file management information (directory entry, indirect block entry and video / audio block entry) in the memory 22. . Here, the virtual address indicates a recording position on the management information area 200 of the directory entry, the indirect block entry, and the video / audio block entry. As shown in FIG. 9, the virtual address 50 includes a page number part and an in-page address (step S103).
[0045]
When the memory management unit 23 is instructed by the file management unit 21 to convert the virtual address to a physical address, the memory management unit 23 refers to the page number section 41 in the page table 40 (FIG. 5), and the virtual address 50 (FIG. It is searched whether there is a page number (page entry) that matches the page number of () (step S104). If the corresponding page does not exist, page-in processing (described later) is performed (step S105). , If the corresponding page exists, the memory management unit 23 performs address conversion from the virtual address to the physical address for the memory 22 (step S106). When the address conversion is completed, the memory management unit 23 returns the converted physical address to the file management unit 21.
[0046]
Here, an example of address conversion from a virtual address to a physical address will be described with reference to FIG.
In FIG. 10, first, the virtual address 50 is a page number 000. 7 And in-page address α. The memory management unit 23 searches the page entry of the page table including the page number 0007, and when the corresponding page entry 1 is searched, replaces the page number 0007 of the virtual address 50 with the page frame number 1 to generate a physical address. .
[0047]
Returning to step 107 in FIG. 6, the file management means 21 stores the directory entry, the indirect block entry, and the video / audio block entry at predetermined positions in the memory 22 based on the physical address returned from the memory management means 23. The memory management means 23 is notified that the page has been updated (step S107). That is, only the management information created by the file management means 21 is stored in the memory 22.
In response to the page update notification from the file management unit 21, the memory management unit 23 marks the update flag part 42 of the corresponding page entry in the page table 40 (step S108).
[0048]
Next, a page-in operation of information from the recording medium 16 of the recording apparatus to the memory 22 according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.
When reading of a page from the recording medium 16 is instructed, the memory management unit 23 determines whether there is an empty page frame on the memory 22 and whether the page number part 41 of each page entry in the page table 40 is an empty page. Judgment is made by checking whether the frame is an FFFF indicating a frame (step S201). If there is no empty page frame, the process proceeds to page-out processing (step S202). If there is an empty page frame, an empty page frame as a page transfer destination is acquired (step S203).
[0049]
The memory management unit 23 reads the corresponding page from the recording medium 16 and stores it in the acquired page frame. At this time, a group of pages including the corresponding page may be prefetched collectively. Here, prefetching means loading a page to be referred to in the future onto the memory 22 in advance (step S204).
The memory management unit 23 records the page number of the corresponding page in the page number portion 41 of the corresponding page entry of the page table 40 (step S205), and the file type to which the page belongs based on the page number of the corresponding page. And the page write priority level assigned to each file type is recorded in the page write priority level section 43 of the page entry (step S206).
[0050]
Next, the information page-out operation from the memory 22 of the recording apparatus to the recording medium 16 according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.
The memory management unit 23 selects a page to be deleted from the pages stored in the page frame in the memory 22 (step S301). The memory management unit 23 determines whether or not the selected page has been updated by referring to the update flag part 42 of the corresponding entry in the page table 40 (step S302). If it is an unupdated page, the process proceeds to step 306. If it is an updated page, the process proceeds to step S303, where the corresponding page is recorded at a predetermined position on the recording medium 16 by the verify recording operation, and the page is recorded on the recording medium 16 based on the response result by the verify recording operation. It is determined whether or not normal termination has been completed (step S304). When the page is normally recorded on the recording medium 16, the process proceeds to step S305. When the page is not normally recorded on the recording medium 16, the memory management unit 23 notifies the file management unit 21 that a failure has occurred in the recording medium 16 that is recording data. In response to the notification from the management means 23, data recording to the recording medium 16 where the failure has occurred is stopped (step S308).
[0051]
The memory management unit 23 clears the update flag part 42 of the corresponding entry of the page table 40 (step S305), records FFFF in the page number part 41 of the corresponding page entry of the page table 40, and stores the corresponding page frame. An empty page frame is set (step S306).
The memory management unit 23 clears the page writing priority level part 43 of the corresponding entry in the page table 40 (step S307).
[0052]
Next, an update page write operation in the recording apparatus according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.
When the memory management unit 23 receives an update page write request from the page control unit 24, the memory management unit 23 refers to the update flag section 42 and the page write priority level 43 of each page entry of the page table 40, and stores it in the corresponding page frame. It is determined whether or not the page being updated is an update page of page writing priority level 3 (step S401).
[0053]
If it is not an update page at page write priority level 3, the process proceeds to step S405. If it is an update page at page write priority level 3, the process proceeds to step S402, and the corresponding page is verified at a predetermined position on the recording medium 16. It is recorded by the operation, and based on the response result by the verify recording operation, it is determined whether or not the page recording on the recording medium 16 has been normally completed (step S403). Therefore, when the page is normally recorded on the recording medium 16, the process proceeds to step S404. If the page is not normally recorded on the recording medium 16, the process proceeds to step S411, and the memory management means 23 notifies the file management means 21 that a failure has occurred in the recording medium 16 that is recording data, and the file The management unit 21 receives the notification from the memory management unit 23 and stops data recording on the recording medium 16 where the failure has occurred.
[0054]
In step S404, the update flag part 42 of the corresponding page entry in the page table 40 is cleared (step S404).
The memory management unit 23 determines whether or not all the updated pages with the page writing priority level 3 have been recorded on the recording medium 16 (step S405). If the recording has not been completed, the process proceeds to step S401. When the recording is completed, the process proceeds to step S406, the update flag section 42 and the page writing priority level 43 of each page entry in the page table 40 are referred to, and the page stored in the corresponding page frame is written to the page. It is determined whether or not the page is a priority level 2 update page (step S406).
[0055]
If it is not an updated page of page writing priority level 2, the process proceeds to step S407. If it is an updated page of page write priority level 2, the process proceeds to step 402, where the corresponding page is recorded at a predetermined position on the recording medium 16 by a verify operation, and based on the response result by the verify recording operation, the recording medium It is determined whether or not the page recording to 16 has been completed normally (step S403). If the page is normally recorded on the recording medium 16, the process proceeds to step S404. When the page is not normally recorded on the recording medium 16, the memory management unit 23 notifies the file management unit 21 that a failure has occurred in the recording medium 16 that is recording data, and the file management unit 21 performs memory management. In response to the notification from the means 23, data recording to the recording medium 16 where the failure has occurred is stopped (step S411).
[0056]
In step S404, the update flag part 42 of the corresponding page entry in the page table 40 is cleared, and the process proceeds to step S407 (step S404).
Therefore, the memory management unit 23 determines whether or not all the updated pages with the page writing priority level 2 have been recorded on the recording medium 16 (step S407). If the recording has not been completed, the process proceeds to step S406. When the recording is completed, the process proceeds to step S408, and the update flag part 42 and the page writing priority level 43 of each page entry of the page table 40 are referred to, and the page stored in the corresponding page frame is set to the page writing priority. It is determined whether or not the page is a level 1 update page (step S408).
[0057]
If it is not an update page of page writing priority level 1, the process proceeds to step S409. If it is an update page of page writing priority level 1, the process proceeds to step 402, where the corresponding page is recorded at a predetermined position on the recording medium 16 by a verify recording operation, and recording is performed based on the response result by the verify recording operation. It is determined whether or not the page recording on the medium 16 has been normally completed (step S403). If the page is normally recorded on the recording medium 16, the process proceeds to step S404. When the page is not normally recorded on the recording medium 16, the memory management unit 23 notifies the file management unit 21 that a failure has occurred in the recording medium 16 that is recording data, and the file management unit 21 performs memory management. In response to the notification from the means 23, data recording to the recording medium 16 where the failure has occurred is stopped (step S411).
[0058]
In step S404, the update flag part 42 of the corresponding page entry in the page table 40 is cleared, and the process proceeds to step S409 (step S404).
The memory management unit 23 determines whether or not all the updated pages with the page writing priority level 1 have been recorded on the recording medium 16 (step S409). If the recording has not been completed, the process proceeds to step S408. When the recording is completed, the process proceeds to step S410, and the volume management file 101 is recorded at a predetermined position on the recording medium 16 (step S410).
[0059]
As a result, the update page is recorded in order from the update page corresponding to the lowest level of the hierarchical file structure when the update page is written, and the page writing process is immediately stopped when a failure occurs in the recording medium 16 during the update page write. Thus, the file structure on the recording medium 16 can be prevented from being destroyed, so that the recorded file can be reproduced without performing file repair.
[0060]
Next, a file structure different from that shown in FIG. 1 of the recording apparatus according to the first embodiment of the present invention will be described in detail with reference to FIG.
FIG. 13 is a diagram showing a file structure when one new video / audio data is recorded in the video / audio file “AV1” shown in FIG. Here, it is assumed that the hierarchical file structure shown in FIG. 2 is recorded on the recording medium 16.
In FIG. 13, 5 is recorded as the number of video / audio data in the directory entry 0, indicating that five video / audio data are recorded in the video / audio file “AV1”. 4 is recorded in the second direct pointer of the indirect block (indirect block entry 2), and the recording position and data size of the fifth video / audio data forming the video / audio file are recorded in the video / audio block entry 4. Indicates that 5 is recorded in the empty video / audio block entry number of the volume management file 101.
[0061]
Here, in the example of FIG. 13, when an abnormal end occurs before the update page writing process on the recording medium 16 is completed, the video newly recorded on the recording medium 16 stored in the memory 22. Although the entry information regarding the audio data (the second pointer of the indirect block entry 2 and the video / audio block entry 4) is lost, the hierarchical file structure shown in FIG. At the start of energization, the entry information recorded until immediately before the page writing process can be reproduced without performing the file restoration process.
[0062]
As described above, according to the first embodiment of the present invention, a hierarchical file structure is created or updated each time video / audio data is recorded on the recording medium 16, and the hierarchical file structure created or updated is created. Is stored in the corresponding page on the memory 22 and has a page table for storing information relating to the data transfer of the hierarchical file structure between the memory 22 and the recording medium 16. And a memory management unit 23 that controls access to a page, and when a page write priority level is assigned in advance for each layer of the hierarchical file structure and an updated page is recorded on the recording medium 16. Even if an abnormal termination such as a power failure occurs during data recording by recording in order from the page with the highest page writing priority level, Since the file information has already been recorded on the recording medium 16 when the power is resumed, the file information lost from the memory 22 due to the power supply abnormality is not subjected to the file information repair process after the power supply abnormality is terminated, and immediately before the power failure. Since the data recorded so far can be reproduced, the file information lost from the memory 22 due to the power supply abnormality can be guaranteed, and the recording can be resumed quickly after the abnormality is resolved.
[0063]
(Second Embodiment)
Next, a recording apparatus according to the second embodiment of the present invention will be described in detail with reference to FIG. In the present embodiment, the page control unit 24 performs recording. Medium The difference from the first embodiment is that the setting of the page writing interval for 16 is controlled.
That is, the page control unit 24 records Medium 16 requests the file management means 21 to obtain the total frame rate of the file management information during the recording operation, and based on the total frame rate obtained from the file management means 21, the recording medium of the update page in the memory 22 The interval or timing for instructing writing to 16 is determined.
FIG. 12 shows an example of an interval or timing for instructing writing of an updated page to the recording medium 16, and recording is performed at 11:00 to 11:59 at a total of 30 frames / second, during this interval of 40 seconds. 10:00 to 12:59 indicates that the recording operation is performed at a total of 60 frames / second, and during this time, the page writing process is performed at intervals of 20 seconds. -13: 59 indicates that the recording operation is performed at a total of 120 frames / second, and the page writing process is performed at intervals of 10 seconds.
As described above, in the present embodiment, by setting the page writing interval in advance and changing the page writing interval according to the time, the maximum number of data lost due to abnormal termination of the recording apparatus can be obtained. At most, for example, it can be guaranteed that there are 1,200 frames, and the number of lost data can be minimized.
[0064]
(Third embodiment)
Next, a recording apparatus according to the third embodiment of the present invention will be described in detail with reference to FIG.
The recording device in the present embodiment is different from the first embodiment described above in that when the video / audio file is closed (closed), the memory management means 23 includes the video / audio of the hierarchical file management information. The difference is that a page of hierarchical file management information including a block entry and an indirect block entry is written to the recording medium 16.
[0065]
The operation of the recording apparatus according to the third embodiment of the present invention will be described with reference to the flowchart shown in FIG.
First, the file management means 21 requests the memory management means 23 to write the video / audio block entry assigned to the video / audio file to the recording medium 16. In response to the video / audio block entry write request from the file management unit 21, the memory management unit 23 receives the memory 2 2 The page including the file management means is acquired from the pages stored therein. (Step S501).
[0066]
The memory management unit 21 records the corresponding page at a predetermined position on the recording medium 16 by the verify recording operation (step S502), and based on the response result by the verify recording operation, the page recording on the recording medium 16 is normal. It is determined whether or not the processing has been completed (step S503). If the page is normally recorded on the recording medium 16, the process proceeds to step S504. When the page is not normally recorded on the recording medium 16, the memory management unit 23 notifies the file management unit 21 that a failure has occurred in the recording medium 16 that is recording data, and the file management unit 21 performs memory management. In response to the notification from the means 23, data recording to the recording medium 16 where the failure has occurred is stopped (step S506).
[0067]
In step S504, the memory management unit 23 clears the update flag part 42 of the corresponding entry in the page table 40 (step S504).
It is determined whether or not writing to the recording medium 16 has been completed for all of the video / audio blocks assigned to the video / audio file. If the writing is completed as a result of the determination, the memory management unit 23 notifies the file management unit 21 that the writing of the video / audio block to the recording medium is completed, and the process proceeds to step S508. If the writing has not been completed, the process proceeds to step S501 (step S507).
[0068]
The file management means 21 requests the memory management means 23 to write the indirect block entry assigned to the video / audio file to the recording medium 16. The memory management unit 23 receives the indirect block entry write request from the file management unit 21, and acquires a page including the indirect block entry from the pages held in the memory 22 (step S508).
The memory management unit 21 records the corresponding page at a predetermined position on the recording medium 16 by the verify recording operation (step S502), and based on the response result by the verify recording operation, the page recording on the recording medium 16 is normal. It is determined whether or not the processing has been completed (step S503). When the page is normally recorded on the recording medium 16, the process proceeds to step S504. If the page is not normally recorded on the recording medium 16, the process proceeds to step S506, where the memory management means 23 notifies the file management means 21 that a failure has occurred in the recording medium 16 that is recording data, and the file Upon receiving the notification from the memory management unit 23, the management unit 21 stops data recording on the recording medium 16 where the failure has occurred (step S506).
[0069]
In addition, the memory management unit 23 clears the update flag part 42 of the corresponding entry in the page table 40 (step S504).
It is determined whether writing to the recording medium 16 has been completed for all of the indirect block entries assigned to the video / audio file (step S509). When the writing is completed, the memory management unit 23 notifies the file management unit 21 that the writing of the video / audio block to the recording medium is completed. If the writing has not been completed, the process proceeds to step S508.
[0070]
As described above, according to the third embodiment of the present invention, in the case of closing a video / audio file, the memory management unit 23 stores the video / audio block entry and the indirect block entry in the hierarchical file management information. Even when the video / audio file is closed, even when the video / audio file is closed, the video / audio data management information and By writing the indirect block information to the recording medium, the number of management data to be held in the memory can be reduced, so that the used capacity of the memory 22 can be reduced.
[0071]
【The invention's effect】
Recording device in the present invention Is In particular, the hierarchical file management information for managing the video / audio data every time the video / audio data is recorded on the recording medium is created and stored in the memory, and the updated hierarchy is stored in the memory. Record audio / video data by assigning page write priority levels according to the hierarchical level of the type file management information, and always recording the hierarchical file management information from the memory to the recording medium in the order of the assigned page write priority levels. Even if an abnormal termination of the recording device due to a power failure occurs at times, without recovering the file after recovery from the abnormal termination, the file management information recorded from the start of recording to immediately before the power failure is reproduced from the recording medium, The file management information lost from the memory due to power failure can be guaranteed by the recording medium.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a recording apparatus according to a first embodiment of the invention.
FIG. 2 is a diagram showing a file structure of a recording medium in the first embodiment of the invention,
FIG. 3 is a diagram showing the data arrangement of the file structure of the recording medium in the first embodiment of the invention;
FIG. 4 is a diagram showing a page frame on a memory according to the first embodiment of the present invention;
FIG. 5 is a diagram showing a configuration of a page table in the first embodiment of the present invention;
FIG. 6 is a flowchart showing a recording method according to the first embodiment of the invention.
FIG. 7 is a diagram showing a flowchart of a page-in operation in the first embodiment of the present invention;
FIG. 8 is a flowchart showing a page-out operation according to the first embodiment of the present invention;
FIG. 9 is a diagram showing a configuration of a virtual address in the first embodiment of the invention;
FIG. 10 is a diagram for explaining address translation in the first embodiment of the present invention;
FIG. 11 is a flowchart showing an update page recording processing operation in the first embodiment of the invention;
FIG. 12 is a diagram showing an example of an update page writing interval in the second embodiment of the present invention;
FIG. 13 is a diagram showing another file structure of the recording medium in the first embodiment of the invention,
FIG. 14 is a diagram showing a flowchart of a recording start process in the third embodiment of the invention;
FIG. 15 is a diagram showing a conventional file structure;
FIG. 16 is a diagram showing the structure of a conventional file system and file recovery method.
[Explanation of symbols]
10 Recording device
11 Video input means
12 Audio input means
13 Encoding means
14 Image memory
15 Image memory control means
16 Recording media
20 File Structure Management Department
21 File management means
22 memory
23 Memory management means
24 page control means
30 Encoding means
31 Video output means
32 Audio output means
40 page table
41 Page number part
42 Update flag part
43 Page write priority level
50 virtual addresses
101 Volume management file
102 Directory file
103 Indirect block file
104 Video / audio block file
200 page management area
1001 Root directory
1002 File allocation table
1003 cluster
1101 Process
1102 External recording device
1103 Update log
1104 Backup update log
1105 Hash table
1106 File management block
1107 files
1108 directory
1111 File management means
1112 File access means
1113 File repair means
1114 Hash table creation means

Claims (3)

入力された映像信号または音声信号が符合化された映像音声データが記録されるデータ領域および前記データ領域に記録された前記映像音声データを管理する複数のファイルで階層型に構成されたページ管理領域を有する記録媒体と、
前記映像音声データを前記記録媒体のデータ領域に記録するとともに、前記映像音声データを前記記録媒体のデータ領域に記録する度に前記映像音声データを管理する複数のファイルの管理情報を更新し、更新した前記管理情報をメモリに格納するファイル管理手段と、
前記メモリに格納された前記管理情報のファイルの階層レベルに応じて最下位レベルから順にページ書込優先レベルの高いレベルを割り当て、割り当てられた前記ページ書込優先レベルの高い順に前記メモリに格納された管理情報を前記記録媒体のページ管理領域に記録するメモリ管理手段とを有することを特徴とする記録装置。
A data management area in which video / audio data in which an input video signal or audio signal is encoded is recorded, and a page management area configured in a hierarchical manner with a plurality of files for managing the video / audio data recorded in the data area A recording medium having
The video / audio data is recorded in the data area of the recording medium, and each time the video / audio data is recorded in the data area of the recording medium , management information of a plurality of files for managing the video / audio data is updated and updated. File management means for storing the management information in a memory;
Assign a higher level from the lowest level of a page write priority levels in the order in accordance with the hierarchical level of the file of the management information store in the memory, the memory high order of the page write priority levels assigned And a memory management unit for recording the stored management information in a page management area of the recording medium.
前記記録媒体に対して記録している映像音声データのフレームレートを前記ファイル管理手段から取得し、前記ファイル管理手段から取得したフレームレートを基に、前記メモリに格納された管理情報を前記記録媒体のページ管理領域に書き込タイミングを決定するページ制御手段を有することを特徴とする請求項記載の記録装置。The frame rate of the video and audio data recorded on a recording medium acquired from said file management unit, wherein based on the frame rate obtained from the file management means, the management information stored in said memory said recording medium recording apparatus according to claim 1, further comprising a page control means for determining the write-free timing written in the page management area. 前記メモリ管理手段は、前記記録媒体に映像音声データの記録が完了して、映像音声データが記録された映像音声ファイルを閉じるときに、前記複数のファイルの管理情報のうち映像音声データ管理情報及び間接ブロック情報を含むページを前記記録媒体へ書き込むことを特徴とする請求項または記載の記録装置。When the recording of the video / audio data on the recording medium is completed and the video / audio file in which the video / audio data is recorded is closed, the memory management unit includes the video / audio data management information and the management information of the plurality of files. recording apparatus according to claim 1 or 2, wherein the writing the page containing the indirect block information to the recording medium.
JP2002360459A 2002-12-12 2002-12-12 Recording device Expired - Fee Related JP4274783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002360459A JP4274783B2 (en) 2002-12-12 2002-12-12 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002360459A JP4274783B2 (en) 2002-12-12 2002-12-12 Recording device

Publications (2)

Publication Number Publication Date
JP2004192402A JP2004192402A (en) 2004-07-08
JP4274783B2 true JP4274783B2 (en) 2009-06-10

Family

ID=32759525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002360459A Expired - Fee Related JP4274783B2 (en) 2002-12-12 2002-12-12 Recording device

Country Status (1)

Country Link
JP (1) JP4274783B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4761881B2 (en) * 2005-08-09 2011-08-31 株式会社オーディオテクニカ File generation method, file repair method, and computer program therefor
JP4593415B2 (en) * 2005-09-22 2010-12-08 シャープ株式会社 Recording control apparatus, recording apparatus, recording control method, recording control program, and recording medium
JP2007122221A (en) * 2005-10-26 2007-05-17 Sony Corp Information processor, information processing method and computer program
JP4790643B2 (en) * 2007-02-07 2011-10-12 三菱電機株式会社 Video recording / playback device
TWI486913B (en) * 2013-06-14 2015-06-01 Vivotek Inc Security monitoring device with network and record function and failure detecting and repairing mehtod for storage device thereof

Also Published As

Publication number Publication date
JP2004192402A (en) 2004-07-08

Similar Documents

Publication Publication Date Title
KR100899171B1 (en) Power failure recovery mechanism for a recording and reproducing device
TWI381272B (en) Flash memory apparatus and access method to flash memory
JP2002123421A (en) Remapping control method for flash memory and structure for flash memory therefor
JP3135531B2 (en) Recording medium for storing additional information for defect management and defect management method
WO2005066787A1 (en) Information recording medium
US8270813B2 (en) Apparatus, method and computer program for processing information
KR950033872A (en) Semiconductor disk device
KR100982118B1 (en) Recording device, recording method, and recording medium
JP4241839B2 (en) Data and file system information recording apparatus and recording method
JP4130808B2 (en) Formatting method
JP4274783B2 (en) Recording device
US7509342B2 (en) File data storage management method, file data storage device, program executing processing for storing file data, and storage medium
US7099562B1 (en) Image data recording apparatus
JP4585052B2 (en) Data recording system
US20030007783A1 (en) Recording/reproducingdisk control device and disc apparatus comprising the same
CA2377269C (en) Disk medium managing method
JP2008269520A (en) Recorder and recording method
KR19990087011A (en) Recording medium for storing real time recording / reproducing information, real time recording and reproducing method and apparatus, and file manipulation method using this information
KR101879616B1 (en) Dual Indexed File System
JP2004171670A (en) Recording and reproducing device and recording and reproducing method
JP2004030305A (en) File system
US20070019511A1 (en) Recording apparatus, recording methods, reading apparatus reading methods and programs
JP4664869B2 (en) Data recording system
KR100467615B1 (en) Recording medium for storing real time recording/reproduction information, method and apparatus for recording and reproducing in real time, and file operating method using the same
JP3183253B2 (en) Dynamic capacity increase method and dynamic capacity increase method for disk device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050607

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060328

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071114

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071121

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081226

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: 20090203

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090303

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140313

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees