JP4421129B2 - Data acquisition device, data storage device and method thereof - Google Patents
Data acquisition device, data storage device and method thereof Download PDFInfo
- Publication number
- JP4421129B2 JP4421129B2 JP2001083881A JP2001083881A JP4421129B2 JP 4421129 B2 JP4421129 B2 JP 4421129B2 JP 2001083881 A JP2001083881 A JP 2001083881A JP 2001083881 A JP2001083881 A JP 2001083881A JP 4421129 B2 JP4421129 B2 JP 4421129B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- numerical value
- name
- path
- character string
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、記録媒体に格納されているデータに他のデータを関連付けて記録する技術に関し、特に、当該記録媒体内のデータ量を低減する技術に関する。
【0002】
【従来の技術】
従来、VTRカメラなどにより収録された映像及び音声を編集する場合、収録された映像データ及び音声データをビデオテープ等から一旦、コンピュータ内のランダムアクセス可能なハードディスクやDVD等の記録媒体に記憶させ、これらデータを様々なアプリケーションにより編集を行なう方法が一般的である。
【0003】
以下、映像データ及び音声データの従来の編集方法について、パソコンを用いる場合を例に挙げて説明する。
データの編集を行なうパソコンは、データ編集の観点からおおまかに捉えると、外部より映像データ及び音声データを受取るインターフェース部と、映像データ及び音声データを格納するためのハードディスク等からなる記録部と、前記インターフェースから取り込まれた映像データ及び音声データを記録部に格納するデータ格納部と、映像データ及び音声データ等の再生すべきデータを記録部から取得するためのデータ取得部と、データ取得部により取得された映像データにしたがって表示するCRTと、データ取得部により取得された音声データにしたがって出力するスピーカとを有する。
【0004】
まず、映像データ及び音声データを記録する場合における各部の動作を示す。
前記インターフェース部は、外部より映像データ及び音声データを受取り、データ格納部に出力する。
データ格納部は、映像データ及び音声データを受取ると、これらデータをA/D変換し、これらデータが同じグループであることを示す両データに共通の4桁の番号、例えば、「0002」と、データの属性が映像か音声かを示す文字、即ち、映像であれば「MOV」とし、また、音声であれば「AUD」とした文字からなるファイル名を含む固有のパス名、つまり、「MOV0002」及び「AUD0002」を含むパス名をそれぞれ映像データ及び音声データに付与し、記録部に格納すると共に、記録部内のディレクトリ「MGR_INFO」に置かれる管理用ファイル「LIST_MGR」にこれらパス名を対応付けて登録する。
【0005】
この管理ファイル「LIST_MGR」には、この記録部に格納されているデータのインデックスデータが格納され、このインデックスデータにはデータ編集により生成される各データへの対応付け情報が示される。
次に、通常の再生における各部の動作を示す。
データ取得部は、前記管理ファイル「LIST_MGR」の中から再生すべきデータのパス名、例えば、「MOV0002」及び「AUD0002」を含むパス名を取得し、これらパス名が対応づけられた映像データ及び音声データを取得して、D/A変換を行ない、映像データをCRTに、音声データをスピーカにそれぞれ並行して出力する。
【0006】
CRT及びスピーカは、それぞれデータ取得部より、映像データ及び音声データを受取って、これらデータにしたがって映像を表示し、音声を出力する。
続いて、データの編集における各部の動作ついて説明する。
ここで、データの編集の具体的例として、既に、映像と共に取り込まれ記録部に格納された音声を、後に録音されたナレーションやBGM等の音声に入替えて再生するいわゆるアフレコ編集について説明する。
【0007】
データ格納部は、インターフェース部よりアフレコ編集に用いられるナレーションやBGM等の音声データを受取り、この音声データをA/D変換し、4桁の番号、例えば、「0006」と、データの属性が音声であることを示す文字「AUD」からなるファイル名「AUD0006」を含む固有のパス名(以下、「アフレコパス名」という。)を対応付けて記録部に格納し、また、記録部内の上述の管理用ファイル「LIST_MGR」に登録されている、アフレコ編集がなされる側の映像データ及び音声データを示すパス名にこのアフレコパス名を対応づけて登録する。
【0008】
データ取得部は、前記管理用ファイル「LIST_MGR」内のインデックスデータを参照し、再生すべきデータのパス名にアフレコパス名が対応付けられている場合には、再生すべきデータに対し、アフレコ編集がなされたものと認識し、再生すべきデータのパス名のうち、「MOV」を含むパス名が付与されたデータ、即ち、映像データと対応付けがなされているアフレコパス名が付与されたデータ、つまり、音声データを取得し、D/A変換を行ない、映像データをCRTに、音声データをスピーカにそれぞれ並行して出力する。
【0009】
CRT及びスピーカは、それぞれデータ取得部より、映像データ及び音声データを受取って、これらデータにしたがって映像を表示し、音声を出力する。
図12は、従来のアフレコ編集が実施された場合における、前記記録部内のデータの構成を論理的に示す図である。
映像データ及び音声データが格納されるデータファイルは、「PRG」に4桁の番号を付与した名を有するディレクトリの下層に置かれている。
【0010】
ところで、近年、VTRカメラ、携帯電話及び携帯音楽プレーヤ等の携帯機器において使用する記録部として、SD(Secure Digital)カード等に代表される軽量コンパクトで抜き差し可能な次世代メモリカードが用いられるようになった。
この次世代メモリカードは、パソコンとの間でのデータのやり取りを容易に実施できるように、パソコンのOS等で使用されるデータの保存形態をそのまま踏襲したものとなっており、データ構造は、ディレクトリ及びファイルからなる階層構造をなし、記憶容量については、64MB程度とハードディスクに比べ低容量であるものの、上述の携帯機器どうし及び携帯機器とパソコン間でデータをやり取りするための記録媒体として脚光を浴びている。
【0011】
上述のパソコンのインターフェース部に、このような次世代メモリカードを接続すれば、データ編集は容易に実施できることは無論であるが、次世代メモリカードに対応する携帯機器の中には、それ自身にパソコンと同様の機能部、即ち、記録部と、データを記録部に格納するデータ格納部と、出力すべきデータを記録部から取得するためのデータ取得部とを備え、これら携帯機器においてデータ編集が可能なものがある。
【0012】
【発明が解決しようとする課題】
しかしながら、上記従来技術には次の問題点がある。
つまり、上述の携帯機器において、上述のアフレコ、つまり、データの編集が頻繁になされると、次世代メモリカード内の管理用ファイル内に対応付け情報が増え、限られた記憶容量を圧迫する恐れがある。
【0013】
そこで本発明は、上記問題点に鑑みてなされたものであって、記憶容量が乏しい記録媒体を有する機器において、データの編集が頻繁に実施される場合であっても、記録媒体中のデータ量を増加させにくいデータ取得装置及びデータ格納装置と、従来と同内容のデータを小さな容量で記憶できる記録媒体と、この記録媒体からデータを取得するデータ取得方法と、この記録媒体にデータを格納するデータ格納方法とを提供することを目的とする。
【0014】
【課題を解決するための手段】
上記の目的を達成するために、本発明に係る記録媒体は、1以上のデータファイルと当該データファイルのパスを示すアドレス情報とを格納する記録媒体であって、前記アドレス情報として、前記パスの名の表記中における所定の部分的表記にもとづいて得られる数値を、前記パスの名を文字列として格納する場合よりも小さなデータサイズのデータ形式で格納していることを特徴とする。
【0015】
また、本発明に係るデータ取得装置は、上述の記録媒体から目的のデータファイルを取得するデータ取得装置であって、前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定手段と、所定の文字列に、当該文字列に数値決定手段より決定された数値を文字列に変換したものを合成する所定の演算を実行することにより、パスの名を生成するパス名生成手段と、前記記録媒体に格納されているデータファイルにおいて、前記パス名生成手段により生成されたパスの名が対応付けられているものがあれば取得する取得手段とを備えることを特徴とし、また、本発明に係るデータ取得方法は、上述の記録媒体から目的のデータファイルを取得するデータ取得方法であって、前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定ステップと、所定の文字列を生成し、当該文字列に数値決定ステップより決定された数値を文字列に変換したものを合成することにより、パスの名を生成するパス名生成ステップと、前記記録媒体に格納されているデータファイルにおいて、前記パス名生成ステップにより生成されたパスの名が対応付けられているものがあれば取得する取得ステップとを含むことを特徴とする。
【0016】
また、本発明に係るデータ格納装置は、記録媒体にデータファイルを格納するデータ格納装置であって、データファイルを取得するデータ取得手段と、パスの名を生成して取得されたデータファイルに割り当てるパス割当手段と、所定の演算により、前記パスの名の表記中における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成手段と、前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納手段とを備えることを特徴とし、また、本発明に係るデータ格納方法は、記録媒体にデータファイルを格納するデータ格納方法であって、データファイルを取得するデータ取得ステップと、パスの名を生成して取得されたデータファイルに割り当てるパス割当ステップと、前記パスの名の表記における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成ステップと、前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納ステップとを含むことを特徴とする。
【0017】
【発明の実施の形態】
本発明の実施の形態について、図面を参照しながら詳細に説明する。
<第1の実施形態>
図1は、本発明の第1の実施の形態における、記録媒体、データ取得装置及びデータ格納装置を備えるVTRカメラの外観図である。
【0018】
このVTRカメラは、SDカード対応ディジタルVTRカメラであり、SDカード用インターフェースを有し、記録した音声データ及び映像データをビデオテープ及びSDカードに格納することができる。
なお、ビデオテープへの録画及び録音は本発明とは無関係であるため、以下、ビデオテープが未挿入でSDカードのみが挿入され、取り込まれた映像データ及び音声データは、全てSDカードに格納されるものとする。
【0019】
図2は、前記VTRカメラの内部の構成を示す機能ブロック図であり、本VTRカメラは、記録媒体への映像音声データの入出力を行なう映像音声処理装置100と、CCD(Charge Coupled Device)と、マイクロフォン(以下、「マイク」という。)と、操作者からの指示を受付ける操作スイッチと、液晶ディスプレイと、スピーカとを有する。
【0020】
この映像音声処理装置100は、本発明のデータ格納装置、記録媒体及びデータ取得装置のそれぞれに対応するデータ格納部110、記録部120及びデータ取得部130を有する。
データ格納部110及びデータ取得部130は、CPU及びRAM、ROM等の記録媒体からなり、このうちデータ格納部110は、映像音声録画部111と、文字列識別子生成部112と、文字列整数識別子変換部113とを有し、また、データ取得部130は、映像音声再生部131と、整数文字列識別変換部132とを有する。
【0021】
以下、映像音声処理装置100について説明する。
まず、データ格納部110における各機能部について説明する。
映像音声録画部111は、CCD及びマイクより、映像データ及び音声データを受取ると、これら映像データ及び音声データそれぞれに付与すべきパス名を文字列識別子生成部112に要求し、その結果、文字列識別子生成部112より映像データに付与すべきパス名と音声データに付与すべきパス名とを受取り、文字列整数識別子変換部113よりこれらの映像データ及び音声データそれぞれのパス名に対応する1つの数値を受取り、映像データに映像データのパス名を付与して記録部120に格納し、音声データに音声データのパス名を対応付けて記録部120に格納し、さらに、前記数値に1ビットのフラグを付与し、このフラグの値を「0」としたものを記録部120内に存在するデータ管理のために設けられた管理ファイル、例えば、パス名「D:¥MGR_INFO¥PROG_MGR」により示される管理ファイルに格納する。
【0022】
なお、前記パス名中の、「D:」は、SDカードを示すドライブ名であり、「MGR_INFO」は、管理のためのディレクトリ名であり、「PROG_MGR」は、データ管理のための管理ファイル名である。
また、映像音声録画部111は、アフレコ編集用として音声データのみをマイクより受取った場合、操作スイッチから出力される信号により、受取った音声データがアフレコ編集用であることを認識し、アフレコ編集の対象となる映像音声の指定を受け付け、この映像音声に対応するパス名を文字列識別子生成部112に出力して、アフレコ編集用として受取った音声データに付与すべきパス名を要求し、その結果、文字列識別子生成部112より、アフレコ編集用の音声データのパス名を受取り、アフレコ編集用の音声データに、このパス名を対応付けて記録部120に格納する。
【0023】
なお、アフレコ編集用の音声を録音する、即ち、アフターレコーディング(以下、「アフレコ」という。)する際、映像音声録画部111は、アフレコ編集用の音声データ(以下、「アフレコデータ」という。)とアフレコ編集がなされる映像データとを同期させるための同期信号を映像音声再生部131より受取る。文字列識別子生成部112は、映像音声録画部111より、アフレコ以外の通常の録画及び録音において上述のパス名の要求を受付けると記録部120内を参照し、映像データのパス名及び音声データのパス名として、未だ使用されていないパス名、例えば、「D:¥PRG0001¥MOV001F.MOD」及び「D:¥PRG0001¥AUD001F.MOD」を生成する。
【0024】
なお、このパス名において、ファイル名「AUD001F」の後に付された「.MOD」は、当該パス名により特定されるデータが映像音声処理装置100で使用されるものであることを示す拡張子である。
このパス名は、階層構造をなすデータ構成におけるデータの格納場所、即ち、パスを示すドライブ名とディレクトリ名とファイル名とを連結させたものであり、上述の例では、ドライブ名に当る部分が「D:」であり、ディレクトリ名に当る部分が「PRG0001」であり、ファイル名に当る部分が「MOV001F」及び「AUD001F」である。
【0025】
なお、パス名中の記号「¥」は、ドライブ名、ディレクトリ名及びファイル名の区切りを示すために挿入されるものである。
より具体的には、このディレクトリ名及びファイル名は、予め決定められている文字部分と、可変の16進数の数字部分とからなり、上述の例では、ディレクトリ名「PRG0001」における「PRG」は、上述の文字部分であり、連続して録画された1つの単位、即ち、番組を意味し、また、ディレクトリ名「PRG0001」における「0001」は、上述の数字部分であり、番組の単位で映像及び音声データを識別するために付与される番号である。
【0026】
そして、ファイル名「MOV001F」における「MOV」は、上述の文字部分であって、映像データを示すための文字列であり、また、ファイル名「AUD001F」における「AUD」は、音声データであることを示すための文字列であり、また、ファイル名「MOV001F」及び「AUD001F」における「001F」は、上述の数字部分であり、並行して録画及び録音された映像データ及び音声データ、つまり、同じグループのデータには同一の数値が与えられる。
【0027】
一方、映像音声録画部111より、アフレコ編集の対象となる映像データのパス名を指定して、アフレコデータに付与すべきパス名が要求された場合、文字列識別子生成部112は、指定されたパス名におけるファイル名に含まれる「MOV」の部分を「AU」に変更したものをパス名として生成する。
例えば、指定された前記パス名が、「D:¥PRG0001¥MOV001F.MOD」の場合、「D:¥PRG0001¥AU001F.MOD」としてパス名を生成する。
【0028】
文字列整数識別子変換部113は、文字列識別子生成部112より、パス名を受取って、受取ったパス名をもとに数値を生成する。
図3は、文字列識別子生成部112より受取るパス名と、このパス名を元に文字列整数識別子変換部113により生成される数値との関係を示す図である。
例えば、受取ったパス名が「D:¥PRG0001¥AUD001F.MOD」の場合、このパス名のディレクトリ名の数字部分1及びファイル名の数字部分2、即ち、「0001」及び「001F」を抽出し、これらを連結して、数値「0001001F」を生成する。
【0029】
より具体的には、パス名「D:¥PRG0001¥AUD001F.MOD」の数字部分1及び数字部分2、即ち、「0001」及び「001F」に示されている表記は、厳密にいえば、ファイル管理上、文字として認識されている部分であり、これらを連結して「0001001F」を生成する際、文字列整数識別子変換部113は、文字「0001001F」を、ファイル管理上における8桁の16進数の数値に変換し、4バイトの整数値として数値「0001001F」を生成する。
【0030】
このような演算を実行することにより、文字列整数識別子変換部113は、パス名より数値を生成し、生成した数値を映像音声録画部111に出力する。
また、図3に示すように、1つの数値は、複数のパス名を生成するもととなり、関連のある複数のパス名は、1つの数値を生成するもととなっている。
記録部120は、64MBの記憶容量を有するSDカードであり、映像データ、音声データ及びこれらデータを管理するための情報を格納し、これらデータの保存形態は、パソコンにおけるファイルの保存の形態をそのまま踏襲したものとなっており、データ構造は、ディレクトリ及びファイルからなる階層構造をなしている。
【0031】
続いてデータ取得部130について説明する。
映像音声再生部131は、操作スイッチより再生指示がなされると、再生指示がなされたデータのパス名、例えば、「D:¥PRG0001¥MOV001F.MOD」及び「D:¥PRG0001¥AUD001F.MOD」を整数文字列識別変換部132に出力し、その結果、指示がなされたデータのパス名に対応する数値、例えば、「0001001F」を整数文字列識別変換部132より受取る。
【0032】
そして、映像音声再生部131は、記録部内の管理ファイル内に存在する、前記数値「0001001F」と同じ数値を参照し、この数値に付与されているフラグの値を参照する。
このフラグの値が「0」であれば、映像音声再生部131は、アフレコ編集がなされていないことを認識し、再生指示がなされたデータのパス名、即ち、「D:¥PRG0001¥MOV001F.MOD」及び「D:¥PRG0001¥AUD001F.MOD」が対応づけられたデータを記録部120より取得し、映像データを液晶ディスプレイに、音声データをスピーカに並行して出力する。
【0033】
一方、このフラグの値が「1」であれば、映像音声再生部131は、アフレコ編集がなされていることを認識し、前記整数文字列識別変換部132に、上述で生成した数値「0001001F」をもとにアフレコデータのパス名を生成する指示を行ない、その結果、アフレコデータのパス名「D:¥PRG0001¥AU001F.MOD」を整数文字列識別変換部132より取得し、このパス名のデータ、即ち、アフレコデータ及び再生指示がなされた映像データのパス名「D:¥PRG0001¥MOV001F.MOD」の映像データを記録部120より取得し、映像データを液晶ディスプレイに、アフレコデータをスピーカに並行して出力する。
【0034】
また、操作スイッチから出力される信号がアフレコ編集用音声の録音の指示を示す場合、映像音声再生部131は、アフレコ編集の対象となる映像データのパス名、例えば、「D:¥PRG0001¥MOV001F.MOD」が対応づけられたデータを記録部120より取得し、映像データを液晶ディスプレイに出力すると共に、アフレコデータとアフレコ編集がなされる映像データとを同期させるための同期信号を映像音声録画部111に出力する。
【0035】
整数文字列識別変換部132は、映像音声再生部131よりパス名を受取り、図3に示すパス名と数値との関係が規定された演算を用いて、受取ったパス名から数値を生成する。
また、整数文字列識別変換部132は、映像音声再生部131より数値が与えられると、上述の演算を用いて、この数値からアフレコデータのパス名を生成する。
【0036】
より具体的には、整数文字列識別変換部132は、8バイトの数値「0001001F」を文字「0001001F」に変換して、上4桁、即ち、「0001」と、下4桁、即ち、「001F」とに分け、先頭に「D:PRG」を挿入し、上4桁と下4桁との間に文字「AU」を挿入し、さらに、ドライブ名、ディレクトリ名及びファイル名の区切りに記号「¥」を挿入してアフレコデータのパス名「D:¥PRG0001¥AU001F.MOD」を生成する
以上のように構成された映像音声処理装置100における各部の説明を終わり、次に記録部120におけるデータの構成について説明する。
【0037】
図4は、記録部120におけるデータ構成を論理的に表した図である。
パス名「D:¥MGR_INFO¥PROG_MGR」により示される管理ファイルは、SDカードに格納されているデータのパスを特定するためのID、即ち、上述の数値が、記録部120に格納されているデータのインデックス情報として格納されており、これら数値には、アフレコ編集がなされているかどうかを示すフラグが付与されている。
【0038】
映像データ及び音声データのコンテンツは、「PRG」から始まるディレクトリ下に置かれ、映像データは、ファイル名に「MOV」を含み、音声データは、ファイル名に「AUD」を含み、特に、アフレコデータは、「AU」のすぐ後に数値が続く。
このようなデータの構成及びファイル名の規則性は、データ格納部110における処理によってもたらされるものであり、以下に記録部120にデータを格納するための処理について説明する。
【0039】
図5は、映像音声処理装置100において、記録部120にデータを格納するための処理、即ち、録画及び録音のための処理を示すフローチャートである。
映像音声録画部111は、操作スイッチから出力される信号により、録画の指示がなされたかどうかを判定し(ステップS101)、録画の指示が受付けられた場合には、CCD及びマイクより入力される映像データ及び音声データを受取り(ステップS102)、これらデータに付与すべきパス名を文字列識別子生成部112に要求する。
【0040】
この要求にしたがって、文字列識別子生成部112は、記録部120内を参照し、未使用のディレクトリ番号、例えば、A1A2A3A4及び未使用のグループ番号、例えば、a1a2a3a4を生成し(ステップS103〜S104)、映像データ用のパス名1「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」、音声データ用のパス名2「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」を生成し、また、文字列整数識別子変換部113は、これらパス名をもとに数値「A1A2A3A4a1a2a3a4」を生成する(ステップS105)。
【0041】
そして、映像音声録画部111は、映像データにパス名1を、音声データにパス名2を対応付けて、記録部120に格納し、また、上述の数値に「0」の値が格納されたフラグを付与したものを記録部120内の管理ファイル、即ち、「D:¥MGR_INFO¥PROG_MGR」に格納し(ステップS106)、映像音声録画部111により、録画の指示がなされたかどうかを判定するステップS101に戻る。
【0042】
図6は、このように記録された映像及び音声に対してアフレコ編集を実施するための処理を示すフローチャートである。
映像音声再生部131は、操作スイッチから出力される信号により、アフレコ編集が受付けられたことを認識すると以下の処理を開始する(ステップS107)。
【0043】
即ち、アフレコ編集が受付けられた場合、映像音声再生部131は、アフレコ編集の対象とされた映像データのパス名3「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」及び音声データのパス名4「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」を取得する(ステップS108)。
そして、整数文字列識別変換部132は、アフレコ編集の対象となったデータの格納場所を示すパス名、つまり、パス名3及びパス名4に対応する数値「A1A2A3A4a1a2a3a4」を演算により生成して取得する。(ステップS109)。
【0044】
そして、映像音声再生部131は、アフレコ編集の対象となったパス名3の映像データを再生すると共に(ステップS110)、映像音声録画部111は、この映像データの再生中に吹き込まれたアフレコ音声を録音する(ステップS111)。
そして、整数文字列識別変換部132は、アフレコの音声データに付与すべきパス名、即ち、パス名5「D:¥PRGA1A2A3A4¥AUa1a2a3a4」を、前記数値をもとに生成し(ステップS112)、このパス名5を映像音声録画部111に通知する。
【0045】
通知を受けた映像音声録画部111は、録音したアフレコ音声をこのパス名5に対応付けて格納し、記録部120内の管理ファイルにおける前記数値「A1A2A3A4a1a2a3a4」に付与されているフラグの値を「1」とし(ステップS113)、映像音声録画部111により、アフレコ編集が受付けられたかどうかを判定する最初のステップS107に戻る。
【0046】
続いて、記録部120からデータを取得するための処理について説明する。
図7は、映像音声処理装置100において、データ取得部130における記録部120からデータを取得するための処理、即ち、再生のための動作を示すフローチャートである。
映像音声再生部131は、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定し(ステップS115)、再生の指示が受付けられた場合には、操作スイッチより再生対象のパス名、例えば、映像データのパス名1「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」及び音声データのパス名2「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」の指定を受付け(ステップS116)、これらパス名1及びパス名2を整数文字列識別変換部132に出力する。
【0047】
整数文字列識別変換部132は、受取ったパス名1及びパス名2に対応する数値、即ち、「A1A2A3A4a1a2a3a4」を生成して、映像音声再生部131に出力する(ステップS117)。
そして、映像音声再生部131は、記録部120内の管理ファイルを参照し(ステップS118)、この中にある前記数値に付与されているフラグの値を参照し、このフラグの値が「1」かどうかを判定する(ステップS119)。
【0048】
フラグの値が「1」ではない場合、即ち、アフレコ編集がなされていない場合、映像音声再生部131は、パス名1及びパス名2の映像データ及び音声データを記録部120より取得し(ステップS120)、取得した各データ、即ち、音声データ又はアフレコデータ及び映像データをそれぞれスピーカ及び液晶ディスプレイに並行して出力し(ステップS123)、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定する最初のステップS115に戻る。
【0049】
一方、フラグの値が「1」の場合、即ち、アフレコ編集がなされている場合、映像音声再生部131は、前記数値をもとに、整数文字列識別変換部132に、アフレコデータのパス名3、即ち、「D:¥PRGA1A2A3A4¥AUa1a2a3a4」を生成させ、このパス名3を取得し(ステップS121)、パス名1の映像データ及びパス名3のアフレコデータを取得する(ステップS122)。
【0050】
そして、映像音声再生部131は、取得した各データ、即ち、音声データ又はアフレコデータ及び映像データをそれぞれスピーカ及び液晶ディスプレイに並行して出力し(ステップS123)、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定する最初のステップS115に戻る。
以上のような構成及び機能とすることにより、映像データ及び音声データにアフレコ編集がなされているかどうかを示す情報を1ビットのフラグにより示し、さらに、アフレコデータの所在を示すパス名は、アフレコ編集がなされる側の映像データ及び音声データから生成される1つの4バイトの数値をもとに、数値を文字化し、これに決められた文字を挿入するという演算により生成されるため、アフレコに必要となる情報量を軽減することができる。
<第2の実施形態>
続いて、第2の実施の形態における、データ伝送装置について説明する。
【0051】
第2の実施の形態における、記録媒体、データ取得装置及びデータ格納装置、即ち、記録部120、データ取得部130及びデータ格納部110の構成は、第1の実施形態の構成と同じであり、記録部120の管理ファイル内に格納するデータの内容と、この管理ファイル内に格納するデータの生成と、この管理ファイル内に格納するデータを用いたアフレコ編集がなされているかどうかの判定と、アフレコデータの所在を示すパス名の生成とが異なるのみである。
【0052】
よって、上述の相違しない部分の説明を省略し、第2の実施の形態における、記録部120、データ取得部130及びデータ格納部110の動作について説明する。
まず、データ格納部110における処理について説明する。
映像音声録画部111は、CCD及びマイクより、映像データ及び音声データを受取ると、これら映像データ及び音声データそれぞれに付与すべきパス名を文字列識別子生成部112に要求し、その結果、文字列識別子生成部112より、映像データに付与すべきパス名と音声データに付与すべきパス名とを受取り、文字列整数識別子変換部113より、これらの映像データ及び音声データそれぞれのパス名に対応する1つの数値を受取り、映像データに映像データのパス名を付与し、音声データに音声データのパス名を対応付けて、記録部120に格納し、さらに、前記数値を記録部120内に存在するデータ管理のために設けられた管理ファイルに格納する。
【0053】
つまり、第2の実施の形態においては、前記数値にフラグを付与しない。
また、映像音声録画部111は、アフレコ編集用として音声データのみをマイクより受取った場合、操作スイッチからの入力により受取った音声データがアフレコ編集用であることを認識し、アフレコ編集の対象となる映像音声の指定を受け付け、この映像音声に対応するパス名を映像音声再生部131より受取り、このパス名を文字列識別子生成部112に出力して、アフレコ編集用として受取った音声データに付与すべきパス名と、この音声データに対応する数値を要求し、その結果、文字列識別子生成部112より、アフレコデータのパス名を受取り、文字列整数識別子変換部113より、このパス名に対応する数値を受取り、記録部120に、アフレコデータに、このパス名を対応付けて記録部120に格納し、さらに、このパス名に対応する数値を、記録部120の管理ファイル内に存在し、アフレコ編集の対象となっている映像データ及び音声データに対応する1つの数値に、アフレコデータのパス名に対応する数値を対応付けて格納する。
【0054】
映像音声録画部111より、音声アフレコデータに付与すべきパス名が要求された場合、文字列識別子生成部112は、記録部120内を参照し、アフレコデータのパス名として、未だ使用されていないパス名、例えば、「D:¥PRG0002¥AUD0006.MOD」を生成する。
つまり、アフレコデータのパス名は、アフレコ編集がなされる側の映像データ及び音声データのパス名に対応する数値とは無関係に生成される。
【0055】
このパス名は、階層構造をなすデータ構成におけるデータの格納場所を示す、ドライブ名と、ディレクトリ名と、ファイル名とを連結させたものであり、上述の例では、ドライブ名に当る部分が「D:」であり、ディレクトリ名に当る部分が「PRG0002」であり、ファイル名に当る部分が「AUD0006」である。
【0056】
そして、文字列識別子生成部112は、生成したパス名を映像音声録画部111及び文字列整数識別子変換部113に出力する。
上述の処理を実施することにより、第2実施の形態における記録部120の管理ファイル内のデータ構成は、第1実施の形態とは異なる。
図8は、第2実施の形態における記録部120のデータ構成を論理的に表した図である。
【0057】
記録部120の管理ファイル、即ち、「D:¥MGR_INFO¥PROG_MGR」において、アフレコ編集がなされている場合には、アフレコ編集がなされる側のデータのパス名に対応する数値、即ち、IDに、第1の実施の形態において付与されていたフラグに代えて、アフレコ編集用に記録された音声データのパス名に対応する数値、即ち、アフレコIDが付与されている点で、第1の実施の形態とは異なり、さらに、アフレコデータのパス名に、アフレコ編集用以外の音声データのパス名と同様に、文字「AUD」を含む点で、第1の実施の形態とは異なる。
【0058】
続いてデータ取得部130における、第1の実施の形態との相違点について説明する。
映像音声再生部131は、操作スイッチによる再生指示がなされると、再生指示がなされたデータのパス名、例えば、「D:¥PRG0001¥MOV0002.MOD」及び「D:¥PRG0001¥AUD0002.MOD」を整数文字列識別変換部132に出力し、その結果、指示がなされたデータのパス名に対応する数値、例えば、「00010002」を整数文字列識別変換部132より受取る。
【0059】
以上は、第1の実施の形態も同様である。
そして、映像音声再生部131は、記録部内の管理ファイル内に存在する、前記数値「00010002」と同じ数値を参照し、この数値に別の数値、即ち、アフレコIDが付与されていないかどうかを判定する。
アフレコIDが付与されていなければ、映像音声再生部131は、アフレコ編集がなされていないことを認識し、再生指示がなされたデータのパス名、即ち、「D:¥PRG0001¥MOV0002.MOD」及び「D:¥PRG0001¥AUD0002.MOD」が対応づけられたデータを記録部120より取得し、映像データを液晶ディスプレイに出力し、音声データをスピーカに出力する。
【0060】
一方、アフレコIDが付与されている場合は、映像音声再生部131は、アフレコ編集がなされていることを認識し、前記整数文字列識別変換部132に、付与されている数値、例えば、「00020006」をもとに、アフレコデータのパス名を生成する指示を行ない、その結果、アフレコデータのパス名「D:¥PRG0002¥AUD0006.MOD」を整数文字列識別変換部132より取得し、このパス名、即ち、アフレコデータ及び再生指示がなされた映像データのパス名「D:¥PRG0001¥MOV0002.MOD」のデータを記録部120より取得し、映像データを液晶ディスプレイに出力し、アフレコデータをスピーカに出力する。
【0061】
整数文字列識別変換部132は、映像音声再生部131よりパス名を受取り、図3に示すパス名と数値との関係にしたがい、この関係を用いた演算により受取ったパス名をもとに数値を生成し、さらに、アフレコデータのパス名の生成が映像音声再生部131よりなされると、与えられた数値よりアフレコデータのパス名を生成する。
【0062】
但し、アフレコデータのパス名は、アフレコ編集がなされる側の映像データ及び音声データのパス名に対応する数値と無関係であるため、整数文字列識別変換部132は、数値より通常の音声データのパス名を生成するのと同じ規則性を用いて、アフレコIDから音声データのパス名を生成する。
したがって、生成されたアフレコデータのパス名は、例えば、「D:¥PRGB1B2B3B4¥AUDb1b2b3b4」となる。
【0063】
次に記録部120にデータを格納するための処理について説明する。
図9は、第2の実施の形態における、映像音声処理装置100での記録部120にデータを格納するための処理、即ち、録画及び録音のための処理を示すフローチャートである。
映像音声録画部111は、操作スイッチから出力される信号により、録画の指示がなされたかどうかを判定し(ステップS201)、録画の指示が受付けられた場合には、CCD及びマイクより入力される映像データ及び音声データを受取り(ステップS202)、これらデータに付与すべきパス名を文字列識別子生成部112に要求する。
【0064】
この要求にしたがって、文字列識別子生成部112は、記録部120内を参照し、未使用のディレクトリ番号、例えば、A1A2A3A4及び未使用のグループ番号、例えば、a1a2a3a4を生成し(ステップS203〜S204)、映像データ用のパス名1「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」、音声データ用のパス名2「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」及びこれら2つのパス名を示す数値「A1A2A3A4a1a2a3a4」を生成する(ステップS205)。
【0065】
以上のステップは、第1の実施の形態と共通する処理である。
そして、映像音声録画部111は、映像データにパス名1を、音声データにパス名2を対応付けて、記録部120に格納し、また、前記数値を記録部120内の管理ファイル、即ち、「D:¥MGR_INFO¥PROG_MGR」に格納し(ステップS206)、映像音声録画部111により、録画の指示がなされたかどうかを判定する最初のステップS201に戻る。
【0066】
つまり、第2の実施の形態では、前記数値にフラグが付与されない。
図10は、このように記録された映像及び音声に対し、アフレコ編集を実施するための処理を示すフローチャートである。
映像音声再生部131は、操作スイッチから出力される信号により、アフレコ編集が受付けられたことを認識すると以下の処理を開始する(ステップS207)。
【0067】
即ち、アフレコ編集が受付けられた場合、映像音声再生部131は、アフレコ編集の対象とされた映像データのパス名3「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」及び音声データのパス名4「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」を取得する(ステップS208)。
そして、整数文字列識別変換部132は、アフレコ編集の対象となったデータの格納場所を示すパス名、即ち、パス名3及びパス名4に対応する数値「A1A2A3A4a1a2a3a4」を演算により生成して取得する。(ステップS209)。
【0068】
そして、映像音声再生部131は、アフレコ編集の対象となったパス名3の映像データを再生し(ステップS210)、この映像データの再生中に吹き込まれたアフレコ音声を録音する(ステップS211)。
以上は、第1の実施の形態も同様である。
そして、映像音声録画部111は、アフレコデータに付与すべきパス名を文字列識別子生成部112に要求する。
【0069】
この要求にしたがって、文字列識別子生成部112は、記録部120内を参照し、未使用のディレクトリ番号、例えば、B1B2B3B4及び未使用のグループ番号、例えば、b1b2b3b4を生成し(ステップS212〜S213)アフレコデータのパス名5「D:¥PRGB1B2B3B4¥AUDb1b2b3b4」及びこのパス名に対応する数値、即ち、「B1B2B3B4b1b2b3b4」を生成する(ステップS214)。
【0070】
そして、映像音声録画部111は、アフレコデータにパス名5を対応付けて、記録部120に格納し、さらに、記録部120内の管理ファイル、即ち、「D:¥MGR_INFO¥PROG_MGR」に存在するアフレコ編集がなされる側の映像データ及び音声データのパス名に対応する数値「A1A2A3A4a1a2a3a4」に、アフレコデータのパス名に対応する数値「B1B2B3B4b1b2b3b4」を対応付けて格納し(ステップS215)、映像音声録画部111により、アフレコ編集が受付けられたかどうかを判定する最初のステップS207に戻る。
【0071】
続いて、記録部120からデータを取得するための処理について説明する。
図11は、第2の実施の形態における、映像音声処理装置100において、データ取得部130における記録部120からデータを取得するための処理、即ち、再生のための動作を示すフローチャートである。
映像音声再生部131は、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定し(ステップS216)、再生の指示が受付けられた場合には、以下の処理を開始する。
【0072】
即ち、映像音声再生部131は、操作スイッチより再生対象のパス名、例えば、映像データのパス名1「D:¥PRGA1A2A3A4¥MOVa1a2a3a4」及び音声データのパス名2「D:¥PRGA1A2A3A4¥AUDa1a2a3a4」の指定を受付け(ステップS217)、これらパス名1及びパス名2を整数文字列識別変換部132に出力する。
【0073】
整数文字列識別変換部132は、受取ったパス名1及びパス名2に対応する数値、即ち、「A1A2A3A4a1a2a3a4」を生成して、映像音声再生部131に出力する(ステップS218)。
そして、映像音声再生部131は、記録部120内の管理ファイルを参照し(ステップS219)、整数文字列識別変換部132より受取った数値に該当する管理ファイル中のIDに、別の数値、即ち、アフレコIDが対応付けられているかどうかを判定する(ステップS220)。
【0074】
アフレコIDが対応付けられていない場合、映像音声再生部131は、パス名1の映像データ及びパス名2の音声データを記録部120より取得し(ステップS221)、取得した各データ、即ち、音声データ又はアフレコデータ及び映像データをそれぞれスピーカ及び液晶ディスプレイに並行して出力し(ステップS225)、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定する最初のステップS216に戻る。
【0075】
一方、アフレコIDに、例えば、別のアフレコID「B1B2B3B4b1b2b3b4」が対応付けられている場合、映像音声再生部131は、この別のIDを取得し(ステップS221)、この別のアフレコIDをもとに、整数文字列識別変換部132に、アフレコデータのパス名3、即ち、「D:¥PRGB1B2B3B4¥AUDb1b2b3b4」を生成させてパス名3を取得し(ステップS223)、パス名1の映像データ及びパス名3のアフレコデータを取得する(ステップS224)。
【0076】
そして、映像音声再生部131は、取得した各データ、即ち、音声データ又はアフレコデータ及び映像データをそれぞれスピーカ及び液晶ディスプレイに並行して出力し(ステップS225)、操作スイッチから出力される信号により、再生の指示がなされたかどうかを判定する最初のステップS216に戻る。
以上のような構成及び機能とすることにより、映像データ及び音声データにアフレコ編集がなされているかどうかを、管理ファイルに格納される数値に対する別の数値の付与により示し、さらに、この別の数値が演算によりアフレコデータの所在を示すパス名の生成する元となるため、アフレコ編集に必要となる情報量を軽減することができる。
【0077】
なお、第1の実施の形態及び第2の実施の形態において、文字列整数識別子変換部113及び整数文字列識別変換部132は、図3に示されるパス名と数値との関係にしてがって、パス名より数値を生成し、同様に、整数文字列識別変換部132は、図3に示されるパス名と数値との関係にしてがって、数値より音声用データのパス名を生成するとしたが、パス名と数値との間でトレーサビリティを有した図3に示す関係以外の規則性により、数値よりパス名を、パス名より数値を発生させてもよく、例えば、パス名から数値を生成する際に、図3の関係によりパス名から生成された数値にさらに1を加える方法により、図3とは異なる値の数値を生成してもよい。
【0078】
その場合、数値からパス名を生成する際には、数値から1を減じたのちに、図3に示す規則性にしたがい、数値よりパス名を生成することとなる。
また、第1の実施の形態及び第2の実施の形態において、文字列整数識別子変換部113は、与えられた数値をもとにして、アフレコデータのパス名を生成するとしたが、数値が与えられた場合、この数値に対応する映像データのパス名及び音声データのパス名もしくは記述していない他のパス名を発生させてもよい。
【0079】
その場合、映像音声再生部131は、これらの映像データのパス名及び音声データのパス名をキーとして、当該記録部120内に該当するデータがあれば取得することとなる。
また、本第2の実施の形態では、文字列識別子生成部112は、映像と並行して録音された通常の音声データとアフレコデータとの区別なく、音声データを格納するファイルのパス名として「AUD」の共通の固定文字部分を含むパス名を生成するとしたが、映像と並行して録音された通常の音声の音声データを格納するファイルのパス名として、例えば、「D:¥PRG0001¥SEP0001.MOD」を、また、アフレコデータを格納するファイルのパス名として、例えば、「D:¥PRG0001¥AUD0001.MOD」を生成するように、つまり、通常の音声データのパス名とアフレコデータのパス名とを区別するための異なった固定文字部分をそれぞれ生成するとしてもよい。
【0080】
また、本第1の実施の形態では、文字列識別子生成部112は、映像音声録画部111より、アフレコ以外、つまり、通常の録画及び録音において上述のパス名の要求を受付けると記録部120内を参照し、映像データのパス名及び音声データのパス名として、未だ使用されていないパス名、例えば、「D:¥PRG0001¥MOV001F.MOD」及び「D:¥PRG0001¥AUD001F.MOD」を生成し、映像音声録画部111は、これらに対応するファイルにそれぞれ、映像データ及び音声データを格納するとしたが、アフレコ編集がなされていない場合には、文字列識別子生成部112は、例えば、「D:¥PRG0001¥MOV0001.MOD」の1つのパス名を生成し、映像音声録画部111は、映像データと音声データとをインタリーブし、このパス名「D:¥PRG0001¥MOV0001.MOD」により特定されるファイルに映像データ及び音声データ格納してもよい。
【0081】
その場合、そのアフレコ編集がなされた場合には、文字列識別子生成部112は、例えば、「D:¥PRG0001¥AUD0001.MOD」というパス名を生成し、そして、映像音声録画部111が、このパス名に対応するファイルにアフレコデータを格納することとなる。
つまり、パス名「D:¥PRG0001¥MOV0001.MOD」だけが存在する場合には、アフレコ編集がなされておらず、パス名「D:¥PRG0001¥MOV0001.MOD」及びパス名「D:¥PRG0001¥AUD0001.MOD」の両方が存在する場合には、アフレコ編集がなされていることとなる。
【0082】
また、第1の実施の形態及び第2の実施の形態において、データのパス名に含まれる数字部分1及び数字部分2はそれぞれ4桁であり、これらから生成される数値は、8桁であったが、数字部分1及び数字部分2を合わせた桁数が、例えば、数字部分1及び数字部分2はそれぞれ3桁であってもよく、また、これ以外の桁数であっても、これらの合計桁数が文字列整数識別子変換部113より生成される数値の桁数を上回らない限り、何桁であってもよい。
【0083】
その場合、数字部分1及び数字部分2を合わせた桁数が、これらから生成される数値の桁数未満となることもあり得るが、生成された数値の一部の桁に固定値を格納し、この桁の値をパス名生成には使用しないことにより、支障なくパス名と数値との間で変換が可能となる。
また、このような場合、例えば、文字列整数識別子変換部113より、数字部分1及び数字部分2をそれぞれ32ビット16進数に変換されて得られる数値の桁数が8桁であって、数字部分1及び数字部分2にそれぞれ3桁しかない場合には、数字部分1及び数字部分2それぞれに8ビットの未使用部分が発生するため、ここに他の種類のファイルとの区別を行なうためのビット、例えば、暗号化のあるなしを示す情報を入れてもよい。
【0084】
また、第1の実施の形態では、映像音声録画部111より、アフレコ編集の対象となる映像データのパス名を指定して、アフレコデータに付与すべきパス名が要求された場合、文字列識別子生成部112は、指定されたパス名におけるファイル名に含まれる「MOV」の部分を「AU」に変更したものをパス名として生成するとしたが、アフレコ編集がなされる音声データのパス名を指定して、この音声データのパス名をもとにアフレコデータのパス名を生成するとしてもよい。
【0085】
その場合、指定されたパス名におけるファイル名に含まれる「AUD」の部分を「AU」に変更したものをパス名として生成することとなる。
【0086】
【発明の効果】
以上の説明から明らかなように、本発明に係る記録媒体は、1以上のデータファイルと当該データファイルのパスを示すアドレス情報とを格納する記録媒体であって、前記アドレス情報として、前記パスの名の表記中における所定の部分的表記にもとづいて得られる数値を、前記パスの名を文字列として格納する場合よりも小さなデータサイズのデータ形式で格納していることを特徴とする。
【0087】
これにより、パスの名は、データサイズの小さな数値として記録媒体に格納されるため、パスの名が当該記録媒体にをそのまま格納されるよりも、データサイズは小さくなり、記録媒体のデータサイズが低減される。
また、前記記録媒体は、複数のデータファイルを格納し、これらデータファイルは、複数のグループのいずれかに属し、前記パスの名は、前記グループを識別するための第1種表記と同一グループ内におけるデータファイルを識別するための第2種表記とを含み、前記部分的表記は、第1種表記を含み、前記パスの名は、可逆の所定の演算により、前記数値から求められる関係にあるとしてもよい。
【0088】
これにより、所定の演算が可逆であるため、数値からパスの名へ、パスの名から数値へと変換され得る。
また、前記グループには、種別の異なるデータを格納するデータファイルが複数存在し、前記第2種表記は、当該データの種別を示すとしてもよい。
これにより、データの種別が異なるものであっても、パスの名に同一の第1種表記が含まれている場合、つまり、同じグループに属するデータのパスの名である場合には、同じ数値に変換され得る。
【0089】
また、前記種別は、映像及び音声であるとしてもよい。
これにより、映像データ及び音声データのパスの名であっても、同じグループに属するデータのパスの名である場合には、同じ数値に変換され得る。
また、第1の音声データを格納する第1データファイルと映像データを格納する第2データファイルとを有するグループに、第2の音声データが格納された第3データファイルが関連付けられている場合、前記記録媒体は、第1データファイル及び第2データファイルのパスの名をもとにして、前記所定の演算により得られる第1の数値に、前記関連付けがなされていることを示すためのフラグが付加されたものを格納しており、前記第3データファイルのパスの名は、第1の数値に所定の表記を付加することにより得られるものであるとしてもよい。
【0090】
これにより、前記数値より、同じグループに属する音声データを格納した第1データファイル及び映像データを格納した第2データファイルそれぞれを示すアドレス情報と、これらデータファイルに関連付けられた音声データを格納した第3データファイルを示すアドレス情報とが生成される。
また、第1の音声データを格納する第1データファイルと映像データを格納する第2データファイルとを有するグループに、第2の音声データが格納された第3データファイルが関連付けられている場合、前記記録媒体は、第1データファイル及び第2データファイルのパスの名をもとにして、前記所定の演算により得られる第1の数値に、第3データファイルのパスの名をもとにして所定の演算により得られる第2の数値を関連付けて格納しているとしてもよい。
【0091】
これにより、同じグループに属する音声データを格納した第1データファイル及び映像データを格納した第2データファイルそれぞれを示すアドレス情報が前記第1の数値より生成され、また、これらデータファイルに関連付けられた音声データを格納した第3データファイルを示すアドレス情報が、第2の数値より生成されるため、パスの名をそのまま格納するよりも、データサイズを低減することができる。
【0092】
また、前記グループの第1の音声データ及び映像データは、それぞれ同一期間に並行して記録されたデータであり、前記第3データファイルに格納されている第2の音声データは、第1の音声データと入替えるべきアフターレコーディングデータであるとしてもよい。
これにより、映像データにアフターレコーディングデータを関連付けるための情報について、そのデータサイズが軽減される。
【0093】
また、前記パスの名は、文字列からなり、当該文字列中の前記所定の部分的表記には、n進数(nは自然数)の数を表わす文字が示され、前記所定の演算は、当該文字を前記n進数の数値に変換するとしてもよい。
これにより、前記所定の演算は、単純な数学的演算で行なうことが可能となり、処理装置を容易に構成することが可能となる。
【0094】
また、前記データファイルは、論理的に階層化された格納場所に格納され、前記パスの名は、複数の前記グループのデータファイルを包含し、前記階層を示すディレクトリを特定するためのディレクトリ名と、当該グループを示すグループ名を含み、前記所定の部分的表記は、当該ディレクトリ名及び当該グループ名のn進数(nは自然数)の数を表わす表記に相当する文字の箇所であり、前記所定の演算は、当該ディレクトリ名及び当該グループ名の当該箇所それぞれに対して、前記変換を行なって得られた2つの数値を連結するとしてもよい。
【0095】
これにより、前記数値をもとに、ディレクトリ名及びグループ名を示すアドレス情報が生成される。
また、前記n進数は、16進数であるとしてもよい。
これにより、前記数値を格納するために用意されるデータ内のスペースが小さく設定でき、記録媒体の記憶容量のさらなる軽減化が図られる。
【0096】
また、本発明に係るデータ取得装置は、上述の記録媒体から目的のデータファイルを取得するデータ取得装置であって、前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定手段と、所定の文字列に、当該文字列に数値決定手段より決定された数値を文字列に変換したものを合成する所定の演算を実行することにより、パスの名を生成するパス名生成手段と、前記記録媒体に格納されているデータファイルにおいて、前記パス名生成手段により生成されたパスの名が対応付けられているものがあれば取得する取得手段とを備えることを特徴とし、また、本発明に係るデータ取得方法は、上述の記録媒体から目的のデータファイルを取得するデータ取得方法であって、前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定ステップと、所定の文字列を生成し、当該文字列に数値決定ステップより決定された数値を文字列に変換したものを合成することにより、パスの名を生成するパス名生成ステップと、前記記録媒体に格納されているデータファイルにおいて、前記パス名生成ステップにより生成されたパスの名が対応付けられているものがあれば取得する取得ステップとを含むことを特徴とする。
【0097】
これにより、記録媒体に格納されているパスの名よりもデータサイズが小さい数値をもとに、取得すべきデータファイルのパスの名を生成し、当該データファイルがあれば取得することができる。
また、前記パス名生成手段は、複数の互いに異なる所定の文字列それぞれに対し、前記パスの名の生成を行なうとしてもよい。
【0098】
これにより、記録媒体に格納されている1つの数値から複数のパスの名を生成し、複数のデータファイルが取得可能となり、取得すべき複数のパスの名をそのまま格納するよりも、記録媒体に記憶されるデータサイズがより軽減される。
また、前記数値決定手段により決定される数値は、n進数(nは自然数)の数値であり、前記所定の演算は、当該数値に相当する文字を、生成された前記所定の文字列それぞれの所定の位置に挿入することにより、前記合成を行なうとしてもよい。
【0099】
これにより、生成される前記パスの名は、記録媒体に格納されている数値を文字としたものを含むため、パスの名と数値との関連性がそれぞれの表記から容易に推測できる。
また、前記数値決定手段は、前記記録媒体に格納されている数値が複数であって、これら数値のうちの1つである第1の数値及び第1の数値とは異なる第2の数値について、第1の数値に第2の数値が対応付けられている場合には、第1の数値及び第2の数値を取得すべきデータファイルに対応する数値として決定し、前記取得手段は、第2の数値をもとに生成されたパスの名に所定の第1の文字列を含むデータファイルを、第1の数値をもとに生成されたパスの名に所定の第1の文字列を含むデータファイルに代えて取得するとしてもよい。
【0100】
これにより、対応付け情報をパスの名どうしで対応付ける場合よりも、データサイズの小さな数値どうしで対応付けているため、記録媒体内のデータ容量が軽減される。
また、前記記録媒体に格納されている数値には、第1の値及び第1の値とは異なる第2の値のいずれかが示されているフラグが付与されており、前記パス名生成手段により生成された複数の文字列は、第1の文字列を含み、前記パス名生成手段は、前記数値決定手段により決定された数値のフラグに第2の値が示されている場合には、第1の文字列と異なる第2の文字列を生成し、前記取得手段は、前記所定の第2の文字列をパスの名に含むデータファイルを、第1の文字列をパスの名に含むデータファイルに代えて取得するとしてもよい。
【0101】
これにより、対応付け情報をパスの名どうしで対応付ける場合よりも、データサイズの小さな数値に付与されたフラグにより対応付けているため、記録媒体内のデータサイズが軽減される。
また、前記第2の文字列は、第1の文字列中の所定の文字を削除したものであるとしてもよく、また、前記第2の文字列は、第1の文字列中の所定の文字を変更したものであるとしてもよい。
【0102】
これにより、パスの名と数値との関連性がそれぞれの表記から容易に推測できる。
また、本発明に係るデータ格納装置は、記録媒体にデータファイルを格納するデータ格納装置であって、データファイルを取得するデータ取得手段と、パスの名を生成して取得されたデータファイルに割り当てるパス割当手段と、所定の演算により、前記パスの名の表記中における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成手段と、前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納手段とを備えることを特徴とし、また、本発明に係るデータ格納方法は、記録媒体にデータファイルを格納するデータ格納方法であって、データファイルを取得するデータ取得ステップと、パスの名を生成して取得されたデータファイルに割り当てるパス割当ステップと、前記パスの名の表記における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成ステップと、前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納ステップとを含むことを特徴とする。
【0103】
これにより、パスの名に相当するアドレス情報をデータサイズの小さな数値として記録媒体に格納されるため、当該記録媒体にパスの名をそのまま格納して情報を格納するよりも、データサイズを小さくでき、記録媒体のデータサイズが低減される。
また、前記パス割当手段は、取得されたデータファイルのパスの名を、データ管理上のディレクトリ名を示す文字列とファイル名を示す文字列を連結して前記パスの名を生成し、ディレクトリ名を示す文字列は、固有の文字列とn進数(nは自然数)の第1の数字列とからなり、ファイル名を示す文字列は、ファイルの種別を示す所定の文字列とN進数(Nは自然数)の第2の数字列とからなり、前記数値生成手段は、第1の数字列及び第2の数字列が示されている2つの箇所を前記所定の部分的表記とすることにより得られる数値を連結して前記数値を生成するとしてもよい。
【0104】
これにより、前記数値を、パスの名により近いかたちのアドレス情報として生成することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態における、記録媒体、データ取得装置及びデータ格納装置を備えるVTRカメラの外観図である。
【図2】VTRカメラの内部の構成を示す機能ブロック図である。
【図3】文字列識別子生成部より受取るパス名と、このパス名を元に文字列整数識別子変換部により生成される数値との関係を示す図である。
【図4】第1の実施の形態における、記録部内のデータ構成を論理的に表した図である。
【図5】第1の実施の形態における、映像音声処理装置であって、記録部にデータを格納するための処理、即ち、録画及び録音のための処理を示すフローチャートである。
【図6】第1の実施の形態における、記録された映像及び音声に対してアフレコ編集を実施するための処理を示すフローチャートである。
【図7】第1の実施の形態における、映像音声処理装置であって、データ取得部での記録部からデータを取得するための処理、即ち、再生のための動作を示すフローチャートである。
【図8】第2実施の形態における記録部内のデータ構成を論理的に表した図である。
【図9】第2の実施の形態における、映像音声処理装置での記録部にデータを格納するための処理、即ち、録画及び録音のための処理を示すフローチャートである。
【図10】第2の実施の形態における、記録された映像及び音声に対してアフレコ編集を実施するための処理を示すフローチャートである。
【図11】第2の実施の形態における、映像音声処理装置であって、データ取得部での記録部からデータを取得するための処理、即ち、再生のための動作を示すフローチャートである。
【図12】従来のアフレコ編集が実施された場合における、記録部内のデータの構成を論理的に示す図である。
【符号の説明】
100 映像音声処理装置
110 データ格納部
111 映像音声録画部
112 文字列識別子生成部
113 文字列整数識別子変換部
120 記録部
120 当該記録部
130 データ取得部
131 映像音声再生部
132 整数文字列識別変換部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for recording data associated with data stored in a recording medium, and more particularly to a technique for reducing the amount of data in the recording medium.
[0002]
[Prior art]
Conventionally, when editing video and audio recorded by a VTR camera or the like, the recorded video data and audio data is temporarily stored from a video tape or the like in a recording medium such as a hard disk or a DVD that is randomly accessible in a computer. A method of editing these data by various applications is common.
[0003]
Hereinafter, a conventional editing method for video data and audio data will be described using a personal computer as an example.
A personal computer that edits data roughly grasps from the viewpoint of data editing, an interface unit that receives video data and audio data from the outside, a recording unit that includes a hard disk or the like for storing video data and audio data, Acquired by a data storage unit for storing video data and audio data captured from the interface in a recording unit, a data acquisition unit for acquiring data to be reproduced such as video data and audio data from the recording unit, and a data acquisition unit A CRT that displays in accordance with the video data that has been output, and a speaker that outputs in accordance with the audio data acquired by the data acquisition unit.
[0004]
First, the operation of each unit when recording video data and audio data will be described.
The interface unit receives video data and audio data from the outside and outputs them to the data storage unit.
When the data storage unit receives the video data and the audio data, the data storage unit performs A / D conversion on the data, and a 4-digit number common to both data indicating that the data is the same group, for example, “0002”, Characters indicating whether the data attribute is video or audio, that is, “MOV” for video, and “PATH”, which is a unique path name including a file name consisting of characters “AUD” for audio. ”And“ AUD0002 ”are assigned to video data and audio data, stored in the recording unit, and associated with the management file“ LIST_MGR ”placed in the directory“ MGR_INFO ”in the recording unit. And register.
[0005]
In the management file “LIST_MGR”, index data of data stored in the recording unit is stored, and the index data indicates correspondence information to each data generated by data editing.
Next, the operation of each part in normal playback will be described.
The data acquisition unit acquires a path name of data to be reproduced from the management file “LIST_MGR”, for example, a path name including “MOV0002” and “AUD0002”, and video data associated with these path names and Audio data is acquired, D / A conversion is performed, video data is output to a CRT, and audio data is output to a speaker in parallel.
[0006]
The CRT and the speaker respectively receive video data and audio data from the data acquisition unit, display video according to these data, and output audio.
Next, the operation of each unit in data editing will be described.
Here, as a specific example of data editing, a description will be given of so-called post-recording editing in which audio that has been captured together with video and stored in a recording unit is replaced with audio recorded later, such as narration or BGM.
[0007]
The data storage unit receives voice data such as narration or BGM used for post-recording editing from the interface unit, A / D converts the voice data, and a 4-digit number, for example, “0006”, and the data attribute is voice. Is stored in the recording unit in association with a unique path name including the file name “AUD0006” consisting of the characters “AUD” indicating that the The post-record path name registered in the management file “LIST_MGR” is registered in association with the path name indicating the video data and audio data on the side on which post-record editing is performed.
[0008]
The data acquisition unit refers to the index data in the management file “LIST_MGR”, and when the post-record path name is associated with the path name of the data to be reproduced, the data to be reproduced is post-record editing Among the path names of data to be reproduced, data to which a path name including “MOV” is assigned, that is, data to which an after-record path name associated with video data is assigned. That is, audio data is acquired, D / A conversion is performed, and video data is output to a CRT and audio data is output to a speaker in parallel.
[0009]
The CRT and the speaker respectively receive video data and audio data from the data acquisition unit, display video according to these data, and output audio.
FIG. 12 is a diagram logically showing the data structure in the recording unit when conventional post-record editing is performed.
A data file in which video data and audio data are stored is placed under a directory having a name obtained by adding a 4-digit number to “PRG”.
[0010]
By the way, in recent years, as a recording unit used in a portable device such as a VTR camera, a mobile phone, and a portable music player, a next generation memory card that is lightweight and compact and typified by an SD (Secure Digital) card or the like is used. became.
This next-generation memory card follows the storage format of data used by the OS of the personal computer so that data can be easily exchanged with the personal computer. Although it has a hierarchical structure consisting of directories and files and has a storage capacity of about 64 MB, which is lower than that of hard disks, it has attracted attention as a recording medium for exchanging data between the above-mentioned portable devices and between portable devices and personal computers. I'm bathing.
[0011]
It goes without saying that data editing can be easily performed if such a next-generation memory card is connected to the interface section of the above-mentioned personal computer. A functional unit similar to a personal computer, that is, a recording unit, a data storage unit for storing data in the recording unit, and a data acquisition unit for acquiring data to be output from the recording unit. There is something that is possible.
[0012]
[Problems to be solved by the invention]
However, the above prior art has the following problems.
That is, in the above-described portable device, if the above-described dubbing, that is, data editing is frequently performed, the association information increases in the management file in the next-generation memory card, which may press the limited storage capacity. There is.
[0013]
Therefore, the present invention has been made in view of the above problems, and the amount of data in a recording medium can be obtained even when data editing is frequently performed in a device having a recording medium with a small storage capacity. Acquisition device and data storage device, data storage device capable of storing data of the same content as conventional, a data acquisition method for acquiring data from this recording medium, and storing data in this recording medium It is an object to provide a data storage method.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, a recording medium according to the present invention is a recording medium storing one or more data files and address information indicating a path of the data file, and the address information includes the path information. A numerical value obtained based on a predetermined partial notation in the name notation is stored in a data format having a data size smaller than that in the case where the path name is stored as a character string.
[0015]
The data acquisition device according to the present invention is a data acquisition device for acquiring a target data file from the recording medium, and corresponds to the data file to be acquired from the numerical values stored in the recording medium. The name of the path is obtained by executing a predetermined operation for synthesizing a numerical value determined by the numerical value determining means for determining the numerical value to be processed and a character string converted from the numerical value determined by the numerical value determining means into the predetermined character string. A path name generating means for generating a path name, and an acquiring means for acquiring, if there is a data file stored in the recording medium associated with a path name generated by the path name generating means. The data acquisition method according to the present invention is a data acquisition method for acquiring a target data file from the recording medium described above, and is stored in the recording medium. A numerical value determination step that determines the numerical value corresponding to the data file to be acquired from the numerical values that are to be acquired, and a predetermined character string are generated, and the numerical value determined by the numerical value determination step is converted into a character string In the data file stored in the recording medium, the path name generated by the path name generation step is associated with the path name generation step of generating a path name by combining And an acquisition step of acquiring if there is something.
[0016]
The data storage device according to the present invention is a data storage device for storing a data file on a recording medium, and a data acquisition means for acquiring the data file, and a path name is generated and assigned to the acquired data file A numerical value having a data size smaller than the name of the path as address information corresponding to the name of the path based on a predetermined partial notation in the notation of the name of the path by path allocation means and a predetermined calculation And a storage unit for storing the numerical value in the recording medium and the data file associated with the path name for specifying the location of the data file in the recording medium. The data storage method according to the present invention is a data storage method for storing a data file on a recording medium, An address corresponding to the path name based on a predetermined partial notation in the data acquisition step to be obtained, a path allocation step to generate a path name and assign to the acquired data file, and the path name notation As the information, the numerical value generation step for generating a numerical value of a data size smaller than the name of the path, the data file in which the path name for specifying the location of the data file on the recording medium and the numerical value are associated with each other. A storage step of storing in the recording medium.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described in detail with reference to the drawings.
<First Embodiment>
FIG. 1 is an external view of a VTR camera provided with a recording medium, a data acquisition device, and a data storage device according to the first embodiment of the present invention.
[0018]
This VTR camera is an SD card compatible digital VTR camera, has an SD card interface, and can store recorded audio data and video data on a video tape and an SD card.
Since recording and recording on a video tape are irrelevant to the present invention, the video tape is not inserted and only the SD card is inserted, and the captured video data and audio data are all stored in the SD card. Shall be.
[0019]
FIG. 2 is a functional block diagram showing an internal configuration of the VTR camera. The VTR camera includes a video /
[0020]
The video /
The
[0021]
Hereinafter, the video /
First, each functional unit in the
When receiving the video data and the audio data from the CCD and the microphone, the video /
[0022]
In the path name, “D:” is a drive name indicating an SD card, “MGR_INFO” is a directory name for management, and “PROG_MGR” is a management file name for data management. It is.
When the audio /
[0023]
Note that when recording audio for post-recording editing, that is, after-recording (hereinafter referred to as “after-recording”), the video /
[0024]
In this path name, “.MOD” added after the file name “AUD001F” is an extension indicating that the data specified by the path name is used by the video /
This path name is a data storage location in a data structure having a hierarchical structure, that is, a drive name indicating a path, a directory name, and a file name concatenated. In the above example, the portion corresponding to the drive name is “D:”, the part corresponding to the directory name is “PRG0001”, and the part corresponding to the file name is “MOV001F” and “AUD001F”.
[0025]
The symbol “¥” in the path name is inserted to indicate a delimiter between the drive name, directory name, and file name.
More specifically, the directory name and file name are composed of a predetermined character part and a variable hexadecimal number part. In the above example, “PRG” in the directory name “PRG0001” is , Means the above-described character part, which is one unit recorded continuously, that is, a program, and “0001” in the directory name “PRG0001” is the above-mentioned number part, and video in units of the program. And a number assigned to identify the audio data.
[0026]
“MOV” in the file name “MOV001F” is the above-described character portion and is a character string for indicating video data, and “AUD” in the file name “AUD001F” is audio data. In addition, “001F” in the file names “MOV001F” and “AUD001F” is the above-described numeric part, and the video data and audio data recorded and recorded in parallel, that is, the same The same numerical value is given to the group data.
[0027]
On the other hand, when the video /
For example, when the specified path name is “D: ¥ PRG0001 ¥ MOV001F.MOD”, the path name is generated as “D: ¥ PRG0001 ¥ AU001F.MOD”.
[0028]
The character string integer
FIG. 3 is a diagram showing a relationship between a path name received from the character string identifier generation unit 112 and a numerical value generated by the character string integer
For example, when the received path name is “D: ¥ PRG0001 ¥ AUD001F.MOD”, the
[0029]
More specifically, the notation shown in the
[0030]
By executing such an operation, the character string integer
Further, as shown in FIG. 3, one numerical value is a source for generating a plurality of path names, and a plurality of related path names are a source for generating a single numerical value.
The
[0031]
Next, the
When a playback instruction is given from the operation switch, the video /
[0032]
Then, the video /
If the value of this flag is “0”, the video /
[0033]
On the other hand, if the value of this flag is “1”, the video /
[0034]
When the signal output from the operation switch indicates an instruction for recording audio for post-record editing, the video /
[0035]
The integer character string
In addition, when a numerical value is given from the video /
[0036]
More specifically, the integer character string
The description of each unit in the video /
[0037]
FIG. 4 is a diagram logically showing the data structure in the
In the management file indicated by the path name “D: ¥ MGR_INFO ¥ PROG_MGR”, the ID for specifying the path of the data stored in the SD card, that is, the above numerical value is stored in the
[0038]
The contents of the video data and audio data are placed under a directory starting with “PRG”, the video data includes “MOV” in the file name, and the audio data includes “AUD” in the file name. Is followed immediately by “AU”.
Such data structure and regularity of file names are brought about by the processing in the
[0039]
FIG. 5 is a flowchart showing a process for storing data in the
The video /
[0040]
In accordance with this request, the character string identifier generation unit 112 refers to the inside of the
[0041]
The video /
[0042]
FIG. 6 is a flowchart showing a process for performing post-record editing on the video and audio recorded in this way.
When the video /
[0043]
That is, when the post-record editing is accepted, the video /
Then, the integer character string
[0044]
The video /
Then, the integer character string
[0045]
Upon receiving the notification, the video /
[0046]
Next, a process for acquiring data from the
FIG. 7 is a flowchart showing a process for acquiring data from the
The video /
[0047]
The integer character string
Then, the video /
[0048]
When the value of the flag is not “1”, that is, when post-record editing is not performed, the video /
[0049]
On the other hand, when the value of the flag is “1”, that is, when the post-record editing is performed, the video /
[0050]
The video /
With the configuration and function as described above, information indicating whether video data and audio data have been post-record edited is indicated by a 1-bit flag, and the path name indicating the location of the post-record data is post-record editing. Necessary for post-recording because it is generated by the operation of converting the numerical value into a character based on one 4-byte numerical value generated from the video data and audio data on the side where the data is made, and inserting the determined character into this. The amount of information that becomes can be reduced.
<Second Embodiment>
Next, the data transmission apparatus in the second embodiment will be described.
[0051]
In the second embodiment, the configuration of the recording medium, the data acquisition device, and the data storage device, that is, the
[0052]
Therefore, description of the above-described parts that are not different will be omitted, and operations of the
First, processing in the
When receiving the video data and the audio data from the CCD and the microphone, the video /
[0053]
That is, in the second embodiment, no flag is assigned to the numerical value.
When the audio /
[0054]
When the video /
That is, the post-record data path name is generated regardless of the numerical values corresponding to the video data and audio data path names on the post-record editing side.
[0055]
This path name is a concatenation of a drive name, a directory name, and a file name indicating the data storage location in the hierarchical data structure. In the above example, the portion corresponding to the drive name is “ D: ”, the portion corresponding to the directory name is“ PRG0002 ”, and the portion corresponding to the file name is“ AUD0006 ”.
[0056]
Then, the character string identifier generating unit 112 outputs the generated path name to the video /
By performing the above-described processing, the data configuration in the management file of the
FIG. 8 is a diagram logically showing the data configuration of the
[0057]
When post-record editing is performed in the management file of the
[0058]
Next, the difference between the
When a playback instruction is given by the operation switch, the video /
[0059]
The above is the same in the first embodiment.
Then, the video /
If the after-recording ID is not assigned, the video /
[0060]
On the other hand, when the after-recording ID is assigned, the video /
[0061]
The integer character string
[0062]
However, since the path name of the after-recording data is irrelevant to the numerical values corresponding to the path names of the video data and audio data on the side where the after-recording editing is performed, the integer character string
Therefore, the path name of the generated post-record data is, for example, “D: ¥ PRGB 1 B 2 B Three B Four ¥ AUDb 1 b 2 b Three b Four "
[0063]
Next, a process for storing data in the
FIG. 9 is a flowchart showing a process for storing data in the
The video /
[0064]
In accordance with this request, the character string identifier generation unit 112 refers to the
[0065]
The above steps are processes common to the first embodiment.
The video /
[0066]
That is, in the second embodiment, no flag is assigned to the numerical value.
FIG. 10 is a flowchart showing a process for performing post-record editing on the video and audio recorded in this way.
When the video /
[0067]
That is, when the post-record editing is accepted, the video /
Then, the integer character string
[0068]
Then, the video /
The above is the same in the first embodiment.
Then, the video /
[0069]
In accordance with this request, the character string identifier generation unit 112 refers to the
[0070]
The video /
[0071]
Next, a process for acquiring data from the
FIG. 11 is a flowchart illustrating processing for acquiring data from the
The video /
[0072]
That is, the video /
[0073]
The integer character string
Then, the video /
[0074]
When the after-recording ID is not associated, the video /
[0075]
On the other hand, for the after-recording ID, for example, another after-recording ID “B” 1 B 2 B Three B Four b 1 b 2 b Three b Four ”Is acquired, the video /
[0076]
The video /
With the above configuration and function, whether or not video data and audio data have been post-record edited is indicated by giving another numerical value to the numerical value stored in the management file. Since it becomes a source for generating a path name indicating the location of post-record data by calculation, the amount of information necessary for post-record editing can be reduced.
[0077]
In the first embodiment and the second embodiment, the character string integer
[0078]
In this case, when generating a path name from a numerical value, after subtracting 1 from the numerical value, the path name is generated from the numerical value according to the regularity shown in FIG.
In the first embodiment and the second embodiment, the character string integer
[0079]
In this case, the video /
Further, in the second embodiment, the character string identifier generation unit 112 uses “as a path name of a file for storing audio data without distinguishing between normal audio data and post-recording data recorded in parallel with video. A path name including a common fixed character portion of “AUD” is generated. As a path name of a file storing audio data of normal audio recorded in parallel with a video, for example, “D: ¥ PRG0001 ¥ SEP0001” .MOD "is also generated as a path name of a file storing post-record data, for example," D: \ PRG0001 \ AUD0001.MOD "is generated, that is, a path name of normal audio data and a path of post-record data Different fixed character parts for distinguishing names may be generated.
[0080]
In the first embodiment, when the character string identifier generation unit 112 receives a request for the above path name from the audio /
[0081]
In this case, when the post-record editing is performed, the character string identifier generation unit 112 generates a path name “D: ¥ PRG0001 ¥ AUD0001.MOD”, for example, and the video /
That is, when only the path name “D: ¥ PRG0001 ¥ MOV0001.MOD” exists, post-recording editing is not performed, and the path name “D: ¥ PRG0001 ¥ MOV0001.MOD” and the path name “D: ¥ PRG0001”. If both “AUD0001.MOD” exist, post-record editing has been performed.
[0082]
In the first embodiment and the second embodiment, the
[0083]
In that case, the total number of digits of
In such a case, for example, the number of digits obtained by converting the
[0084]
In the first embodiment, when the video /
[0085]
In this case, the path name is generated by changing the “AUD” part included in the file name in the specified path name to “AU”.
[0086]
【The invention's effect】
As is clear from the above description, the recording medium according to the present invention is a recording medium that stores one or more data files and address information indicating the path of the data file, and the address information includes the path information. A numerical value obtained based on a predetermined partial notation in the name notation is stored in a data format having a data size smaller than that in the case where the path name is stored as a character string.
[0087]
As a result, since the path name is stored in the recording medium as a numerical value having a small data size, the data size is smaller than when the path name is stored in the recording medium as it is, and the data size of the recording medium is reduced. Reduced.
The recording medium stores a plurality of data files, the data files belong to any of a plurality of groups, and the name of the path is in the same group as the first type notation for identifying the group. And the partial notation includes the first type notation, and the path name has a relationship obtained from the numerical value by a reversible predetermined operation. It is good.
[0088]
Thereby, since the predetermined operation is reversible, the numerical value can be converted into the path name, and the path name can be converted into the numerical value.
The group may include a plurality of data files storing data of different types, and the second type notation may indicate the type of the data.
As a result, even if the data types are different, the same numerical value is used when the same first type notation is included in the path name, that is, when the data path names belong to the same group. Can be converted to
[0089]
The type may be video and audio.
Thereby, even the names of video data and audio data paths can be converted to the same numerical value if they are names of data paths belonging to the same group.
When the third data file storing the second audio data is associated with the group having the first data file storing the first audio data and the second data file storing the video data, The recording medium has a flag for indicating that the association is made in the first numerical value obtained by the predetermined calculation based on the path names of the first data file and the second data file. The added name is stored, and the path name of the third data file may be obtained by adding a predetermined notation to the first numerical value.
[0090]
Thus, from the numerical values, the address information indicating the first data file storing the audio data belonging to the same group and the second data file storing the video data, and the first data file storing the audio data associated with these data files are stored. Address information indicating three data files is generated.
When the third data file storing the second audio data is associated with the group having the first data file storing the first audio data and the second data file storing the video data, Based on the path names of the first data file and the second data file, the recording medium is based on the path name of the third data file based on the first numerical value obtained by the predetermined calculation. The second numerical value obtained by a predetermined calculation may be stored in association with each other.
[0091]
As a result, address information indicating the first data file storing the audio data belonging to the same group and the second data file storing the video data are generated from the first numerical value, and are associated with these data files. Since the address information indicating the third data file storing the audio data is generated from the second numerical value, the data size can be reduced as compared with storing the path name as it is.
[0092]
The first audio data and the video data of the group are data recorded in parallel during the same period, and the second audio data stored in the third data file is the first audio data. It may be after-recording data to be replaced with data.
Thereby, the data size of information for associating after-recording data with video data is reduced.
[0093]
The name of the path is a character string, and the predetermined partial notation in the character string indicates a character representing an n-ary number (n is a natural number). The character may be converted into the n-digit number.
Thus, the predetermined calculation can be performed by a simple mathematical calculation, and the processing apparatus can be easily configured.
[0094]
The data file is stored in a logically hierarchical storage location, and the path name includes a plurality of data files of the group, and a directory name for specifying a directory indicating the hierarchy. , Including the group name indicating the group, and the predetermined partial notation is a character part corresponding to a notation representing the number of the directory name and the n-ary number (n is a natural number) of the group name, The calculation may be made by concatenating two numerical values obtained by performing the conversion for each of the locations of the directory name and the group name.
[0095]
Thereby, address information indicating a directory name and a group name is generated based on the numerical values.
The n-ary number may be a hexadecimal number.
Thereby, the space in the data prepared for storing the numerical value can be set small, and the storage capacity of the recording medium can be further reduced.
[0096]
The data acquisition device according to the present invention is a data acquisition device for acquiring a target data file from the recording medium, and corresponds to the data file to be acquired from the numerical values stored in the recording medium. The name of the path is obtained by executing a predetermined operation for synthesizing a numerical value determined by the numerical value determining means for determining the numerical value to be processed and a character string converted from the numerical value determined by the numerical value determining means into the predetermined character string. A path name generating means for generating a path name, and an acquiring means for acquiring, if there is a data file stored in the recording medium associated with a path name generated by the path name generating means. The data acquisition method according to the present invention is a data acquisition method for acquiring a target data file from the recording medium described above, and is stored in the recording medium. A numerical value determination step that determines the numerical value corresponding to the data file to be acquired from the numerical values that are to be acquired, and a predetermined character string are generated, and the numerical value determined by the numerical value determination step is converted into a character string In the data file stored in the recording medium, the path name generated by the path name generation step is associated with the path name generation step of generating a path name by combining And an acquisition step of acquiring if there is something.
[0097]
As a result, the path name of the data file to be acquired can be generated based on a numerical value having a data size smaller than the path name stored in the recording medium, and if the data file exists, it can be acquired.
Further, the path name generation means may generate the path name for each of a plurality of different predetermined character strings.
[0098]
As a result, a plurality of path names can be generated from a single numerical value stored in the recording medium, and a plurality of data files can be acquired. Rather than storing a plurality of path names to be acquired as they are, they are stored in the recording medium. The stored data size is further reduced.
The numerical value determined by the numerical value determining means is an n-ary number (n is a natural number), and the predetermined calculation is performed by generating a character corresponding to the numerical value and generating the predetermined character string. Respectively The above composition may be performed by inserting it at a predetermined position.
[0099]
As a result, since the generated path name includes a numerical value stored in the recording medium as characters, there is no relationship between the path name and the numerical value. Respectively It can be easily guessed from the notation.
Further, the numerical value determining means has a plurality of numerical values stored in the recording medium, and the first numerical value which is one of these numerical values and the second numerical value different from the first numerical value, When the second numerical value is associated with the first numerical value, the first numerical value and the second numerical value are determined as numerical values corresponding to the data file to be acquired, and the acquisition means includes the second numerical value A data file including a predetermined first character string in a path name generated based on a numerical value, and a data file including a predetermined first character string in a path name generated based on the first numerical value It may be obtained instead of the file.
[0100]
As a result, since the association information is associated with numerical values having a smaller data size than when the association information is associated with the path names, the data capacity in the recording medium is reduced.
The numerical value stored in the recording medium is given a flag indicating either the first value or a second value different from the first value, and the path name generating means The plurality of character strings generated by (1) includes a first character string, and the path name generation means, when the second value is indicated in the numerical flag determined by the numerical value determination means, A second character string different from the first character string is generated, and the acquisition unit includes a data file including the predetermined second character string in the path name and the first character string in the path name. It may be obtained instead of the data file.
[0101]
As a result, since the association information is associated with a flag assigned to a numerical value having a smaller data size than in the case of associating the association information with path names, the data size in the recording medium is reduced.
In addition, the second character string may be obtained by deleting a predetermined character in the first character string, and the second character string is a predetermined character in the first character string. May be changed.
[0102]
As a result, the relationship between the path name and the numerical value Respectively It can be easily guessed from the notation.
The data storage device according to the present invention is a data storage device for storing a data file on a recording medium, and a data acquisition means for acquiring the data file, and a path name is generated and assigned to the acquired data file A numerical value having a data size smaller than the name of the path as address information corresponding to the name of the path based on a predetermined partial notation in the notation of the name of the path by path allocation means and a predetermined calculation And a storage unit for storing the numerical value in the recording medium and the data file associated with the path name for specifying the location of the data file in the recording medium. The data storage method according to the present invention is a data storage method for storing a data file on a recording medium, An address corresponding to the path name based on a predetermined partial notation in the data acquisition step to be obtained, a path allocation step to generate a path name and assign to the acquired data file, and the path name notation As the information, the numerical value generation step for generating a numerical value of a data size smaller than the name of the path, the data file in which the path name for specifying the location of the data file on the recording medium and the numerical value are associated with each other. A storage step of storing in the recording medium.
[0103]
As a result, the address information corresponding to the path name is stored in the recording medium as a numerical value having a small data size, so that the data size can be reduced compared to storing the information by storing the path name as it is in the recording medium. The data size of the recording medium is reduced.
The path allocating unit generates a path name by concatenating a path name of the acquired data file with a character string indicating a directory name in data management and a character string indicating a file name. Is composed of a unique character string and a first numeric string of n-ary numbers (n is a natural number), and a character string indicating a file name is a predetermined character string indicating the file type and an N-ary number (N Is a natural number), and the numerical value generating means obtains the predetermined partial notation at two locations where the first numeric string and the second numeric string are indicated. The numerical values may be generated by concatenating the numerical values obtained.
[0104]
As a result, the numerical value can be generated as address information closer to the path name.
[Brief description of the drawings]
FIG. 1 is an external view of a VTR camera including a recording medium, a data acquisition device, and a data storage device according to a first embodiment of the present invention.
FIG. 2 is a functional block diagram showing an internal configuration of a VTR camera.
FIG. 3 is a diagram illustrating a relationship between a path name received from a character string identifier generation unit and a numerical value generated by a character string integer identifier conversion unit based on the path name.
FIG. 4 is a diagram logically representing a data configuration in a recording unit in the first embodiment.
FIG. 5 is a flowchart showing processing for storing data in a recording unit, that is, processing for recording and recording, in the video / audio processing apparatus according to the first embodiment.
FIG. 6 is a flowchart showing processing for performing post-record editing on recorded video and audio in the first embodiment.
FIG. 7 is a flowchart showing processing for acquiring data from a recording unit in a data acquisition unit, that is, an operation for reproduction, in the video / audio processing apparatus according to the first embodiment.
FIG. 8 is a diagram logically representing a data configuration in a recording unit in the second embodiment.
FIG. 9 is a flowchart showing a process for storing data in a recording unit in the video / audio processing apparatus, that is, a process for recording and recording in the second embodiment.
FIG. 10 is a flowchart showing a process for performing post-record editing on recorded video and audio in the second embodiment.
FIG. 11 is a flowchart showing a process for acquiring data from a recording unit in a data acquisition unit, that is, an operation for reproduction, in the video / audio processing apparatus according to the second embodiment.
FIG. 12 is a diagram logically showing the structure of data in a recording section when conventional post-record editing is performed.
[Explanation of symbols]
100 Video / audio processor
110 Data storage
111 Video / audio recording unit
112 Character string identifier generator
113 String integer identifier converter
120 Recording unit
120 The recording section
130 Data acquisition unit
131 Video / audio playback unit
132 Integer string identification conversion unit
Claims (11)
前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定手段と、
所定の文字列に、当該文字列に数値決定手段より決定された数値を文字列に変換したものを合成する所定の演算を実行することにより、パスの名を生成するパス名生成手段と、
前記記録媒体に格納されているデータファイルにおいて、前記パス名生成手段により生成されたパスの名が対応付けられているものがあれば取得する取得手段と
を備えることを特徴とするデータ取得装置。 A recording medium for storing one or more data files and address information indicating a path of the data file, wherein the address information is a numerical value obtained based on a predetermined partial notation in the notation of the name of the path. A data acquisition device for acquiring a target data file from a recording medium stored in a data format having a data size smaller than that when storing the path name as a character string ,
Numerical value determining means for determining a numerical value corresponding to a data file to be acquired from numerical values stored in the recording medium;
A path name generating means for generating a path name by executing a predetermined operation for synthesizing a predetermined character string into a character string obtained by converting a numerical value determined by the numerical value determining means into the character string;
A data acquisition apparatus comprising: an acquisition unit configured to acquire any data file stored in the recording medium that is associated with a path name generated by the path name generation unit.
前記所定の演算は、当該数値に相当する文字を、生成された前記所定の文字列それぞれの所定の位置に挿入することにより、前記合成を行なうことを特徴とする請求項2記載のデータ取得装置。The numerical value determined by the numerical value determining means is an n-ary number (n is a natural number),
3. The data acquisition apparatus according to claim 2 , wherein the predetermined calculation performs the synthesis by inserting a character corresponding to the numerical value into a predetermined position of each of the generated predetermined character strings. .
前記取得手段は、第2の数値をもとに生成されたパスの名に所定の第1の文字列を含むデータファイルを、第1の数値をもとに生成されたパスの名に所定の第1の文字列を含むデータファイルに代えて取得することを特徴とする請求項3記載のデータ取得装置。The numerical value determining means has a plurality of numerical values stored in the recording medium, and the first numerical value and the second numerical value different from the first numerical value, which are one of these numerical values. When the second numerical value is associated with the numerical value, the first numerical value and the second numerical value are determined as numerical values corresponding to the data file to be acquired,
The acquisition means stores a data file including a predetermined first character string in a path name generated based on a second numerical value, and a predetermined name in a path name generated based on the first numerical value. 4. The data acquisition device according to claim 3 , wherein the data acquisition device acquires the data file instead of the data file including the first character string.
前記パス名生成手段により生成された複数の文字列は、第1の文字列を含み、
前記パス名生成手段は、前記数値決定手段により決定された数値のフラグに第2の値が示されている場合には、第1の文字列と異なる第2の文字列を生成し、
前記取得手段は、前記所定の第2の文字列をパスの名に含むデータファイルを、第1の文字列をパスの名に含むデータファイルに代えて取得することを特徴とする請求項3記載のデータ取得装置。The numerical value stored in the recording medium is given a flag indicating either the first value or a second value different from the first value,
The plurality of character strings generated by the path name generation unit includes a first character string,
The path name generation means generates a second character string different from the first character string when the second value is indicated in the numerical flag determined by the numerical value determination means;
The acquisition unit is a data file that contains the predetermined second character string in the name of the path, according to claim 3, wherein the acquiring instead the first character string data file that contains the name of the path Data acquisition device.
データファイルを取得するデータ取得手段と、
パスの名を生成して取得されたデータファイルに割り当てるパス割当手段と、
所定の演算により、前記パスの名の表記中における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成手段と、
前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納手段と
を備えることを特徴とするデータ格納装置。A data storage device for storing a data file on a recording medium,
Data acquisition means for acquiring a data file;
A path assignment means for generating a path name and assigning it to the obtained data file;
Numeric value generation that generates a numerical value with a data size smaller than the name of the path as address information corresponding to the name of the path based on a predetermined partial notation in the notation of the path name by a predetermined operation Means,
A data storage device comprising: the data file associated with the path name for specifying the location of the data file on the recording medium; and storage means for storing the numerical value in the recording medium.
ディレクトリ名を示す文字列は、固有の文字列とn進数(nは自然数)の第1の数字列とからなり、
ファイル名を示す文字列は、ファイルの種別を示す所定の文字列とN進数(Nは自然数)の第2の数字列とからなり、
前記数値生成手段は、第1の数字列及び第2の数字列が示されている2つの箇所を前記所定の部分的表記とすることにより得られる数値を連結して前記数値を生成することを特徴とする請求項8記載のデータ格納装置。The path allocating unit generates a path name by concatenating a character string indicating a directory name on a data management and a character string indicating a file name with the path name of the acquired data file.
The character string indicating the directory name is composed of a unique character string and a first number string in n-ary (n is a natural number),
The character string indicating the file name includes a predetermined character string indicating the type of the file and a second number string in N-ary (N is a natural number),
The numerical value generation means generates the numerical value by concatenating numerical values obtained by using the predetermined partial notation at two places where the first numerical string and the second numerical string are indicated. 9. The data storage device according to claim 8, wherein
前記記録媒体に格納されている数値の中から、取得すべきデータファイルに対応する数値を決定する数値決定ステップと、
所定の文字列を生成し、当該文字列に数値決定ステップより決定された数値を文字列に変換したものを合成することにより、パスの名を生成するパス名生成ステップと、
前記記録媒体に格納されているデータファイルにおいて、前記パス名生成ステップにより生成されたパスの名が対応付けられているものがあれば取得する取得ステップと
を含むことを特徴とするデータ取得方法。 A recording medium for storing one or more data files and address information indicating a path of the data file, wherein the address information is a numerical value obtained based on a predetermined partial notation in the notation of the name of the path. A data acquisition method for acquiring a target data file from a recording medium stored in a data format having a data size smaller than that in the case of storing the path name as a character string ,
A numerical value determining step for determining a numerical value corresponding to the data file to be acquired from the numerical values stored in the recording medium;
A path name generation step for generating a path name by generating a predetermined character string and combining the character string converted from the numerical value determined by the numerical value determination step into a character string;
A data acquisition method comprising: an acquisition step of acquiring any data file stored in the recording medium that is associated with a path name generated by the path name generation step.
データファイルを取得するデータ取得ステップと、
パスの名を生成して取得されたデータファイルに割り当てるパス割当ステップと、
前記パスの名の表記における所定の部分的表記をもとに、そのパスの名に相当するアドレス情報として、当該パスの名よりも小さなデータサイズの数値を生成する数値生成ステップと、
前記記録媒体におけるデータファイルの所在を特定するための前記パスの名を対応付けた当該データファイル及び前記数値を前記記録媒体に格納する格納ステップと
を含むことを特徴とするデータ格納方法。A data storage method for storing a data file on a recording medium,
A data acquisition step for acquiring a data file;
A path assignment step for generating a path name and assigning it to a data file obtained;
Based on a predetermined partial notation in the notation of the name of the path, a numerical value generating step for generating a numerical value of a data size smaller than the name of the path as address information corresponding to the name of the path;
A data storage method comprising: storing the data file associated with the path name for specifying the location of the data file on the recording medium; and storing the numerical value in the recording medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001083881A JP4421129B2 (en) | 2000-04-18 | 2001-03-22 | Data acquisition device, data storage device and method thereof |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000-116058 | 2000-04-18 | ||
JP2000116058 | 2000-04-18 | ||
JP2000-318512 | 2000-10-18 | ||
JP2000318512 | 2000-10-18 | ||
JP2001083881A JP4421129B2 (en) | 2000-04-18 | 2001-03-22 | Data acquisition device, data storage device and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002199335A JP2002199335A (en) | 2002-07-12 |
JP4421129B2 true JP4421129B2 (en) | 2010-02-24 |
Family
ID=27343119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001083881A Expired - Lifetime JP4421129B2 (en) | 2000-04-18 | 2001-03-22 | Data acquisition device, data storage device and method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4421129B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2004095285A1 (en) * | 2003-03-28 | 2006-07-13 | 松下電器産業株式会社 | Recording medium, recording apparatus using the same, and reproducing apparatus |
JP5176539B2 (en) * | 2007-12-28 | 2013-04-03 | 大日本印刷株式会社 | Structured document file processing apparatus and method |
-
2001
- 2001-03-22 JP JP2001083881A patent/JP4421129B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002199335A (en) | 2002-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4144507B2 (en) | Information processing apparatus, information processing method, and computer program | |
EP1722363A1 (en) | Information recording medium and information processing device | |
JP2001155466A (en) | System for recording voice information having picture | |
JPWO2004081794A1 (en) | Data processing device, data processing program and recording medium | |
JP2001103417A (en) | Information storage medium recording audio information with image, method for setting number to image, and image retrieval method | |
US6754649B2 (en) | Apparatus and method for storing data in a storage medium, while saving storage areas which are used for holding a data path name and become necessary in response to the storing of data | |
JP2004185214A (en) | File management device | |
JP4421129B2 (en) | Data acquisition device, data storage device and method thereof | |
CN1241139C (en) | Data structure, dispensing device, dispensing method and dispensing program of multimedia files | |
JP4153629B2 (en) | Editing audio information with still images | |
CN1469370A (en) | Text data recording method and apparatus | |
JP4821534B2 (en) | File management apparatus, file management method and program | |
JP4168566B2 (en) | Information recording control device | |
WO2004111855A1 (en) | Recording medium, data reproducing device, data recording device, and data reproducing method | |
WO2014157849A1 (en) | Mgi music file generation system and method therefor | |
JP4983987B2 (en) | Content reproduction apparatus and file management method used therefor | |
JP5316569B2 (en) | File management apparatus and file management method | |
JP3524774B2 (en) | Information recording / reproducing device | |
JP3241036B2 (en) | Disk storage medium | |
JP4312170B2 (en) | File management method and content recording / playback apparatus | |
JP4776661B2 (en) | Information processing apparatus and information processing method | |
JP2004184675A (en) | Reproduction system and recording medium | |
JP2002032721A (en) | Sd memory card and reproducing device for sd memory card | |
JP2006067269A (en) | Recording and reproducing device and recording medium | |
JP2008269780A (en) | Information processor, information processing method, and information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080107 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090826 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090908 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091009 |
|
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: 20091104 |
|
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: 20091202 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4421129 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131211 Year of fee payment: 4 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |