JP4072987B2 - Recording apparatus and recording method - Google Patents
Recording apparatus and recording method Download PDFInfo
- Publication number
- JP4072987B2 JP4072987B2 JP2000225894A JP2000225894A JP4072987B2 JP 4072987 B2 JP4072987 B2 JP 4072987B2 JP 2000225894 A JP2000225894 A JP 2000225894A JP 2000225894 A JP2000225894 A JP 2000225894A JP 4072987 B2 JP4072987 B2 JP 4072987B2
- Authority
- JP
- Japan
- Prior art keywords
- metadata
- binary data
- read
- storage medium
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、記録装置および記録方法ならびに記憶媒体に関し、例えば、デジタルスチルカメラやデジタルビデオカメラ等によって撮影された静止画像データや動画像データあるいは音声データなどのバイナリデータに、バイナリデータに関する情報であるメタデータを付加する記録装置および記録方法ならびに記憶媒体に関する。
【0002】
【従来の技術】
デジタルスチルカメラやデジタルビデオカメラの普及にともない、一般の家庭で扱う静止画像データや動画像データの量は、劇的に増加しつつある。これらの画像データを利用するためには、なんらかの検索方法や管理方法が必要である。
【0003】
画像データの検索や管理を行う場合には、例えば、画像データ中に写っている人物の名前、行事の名称、日付、キーワードなどその画像データを説明する付属情報、いわゆるメタデータがあると効率がよい。
【0004】
メタデータ(meta-data)とは、「データに関するデータ」であり、画像データや音声データ等のバイナリデータの内容を説明する付属データとして用いられている。このメタデータを各バイナリデータに付加することにより、画像データや音声データ等がキーワードで検索できる。また、各バイナリデータに多くのメタデータを付加するほど、多くのキーワードで各バイナリデータの検索ができる。
【0005】
【発明が解決しようとする課題】
したがって、メタデータをバイナリデータに付加することにより、各バイナリデータの検索や管理が楽に行えるはずである。しかしながら、実際には、各バイナリデータには、多くのメタデータどころか、一つのメタデータも付加されていないことも散見される。
【0006】
この理由の一つは、メタデータをバイナリデータに付加する入力に手間がかかる。例えば、各バイナリデータに適切なメタデータを入力するためには、各バイナリデータの内容を一つ一つ確認しながら入力しなければならない。
【0007】
また、同じメタデータをバイナリデータに付加して使用できる場合、例えば、ほとんど同じ条件で生成されたバイナリデータにメタデータを付加するためであっても、それぞれのバイナリデータごとに何度も同じメタデータを入力してから付加しなければならない。
【0008】
本発明は、上記問題点を解決するためになされたものであり、その目的は、画像データ、動画像データや音声データなどのバイナリデータのデータ情報を表すために予め使用する付属情報をメタデータとして生成して、着脱可能で携帯可能な記憶媒体などに記憶し保存しておき、記録装置が前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、上記記憶した同一メタデータを同じ記憶媒体などから読み込まれる前記複数のバイナリデータに繰り返し付加して利用することにより、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを容易に生成できる記録装置および記録方法を提供することである。
【0010】
【課題を解決するための手段】
上記入力に関する問題を解決する方法は、例えば、静止画像データ、動画像データまたは音声データなどのバイナリデータを撮影あるいは録音により生成する前に、繰り返し使用するようなメタデータを予め生成して着脱可能で携帯可能な記憶媒体などに記憶しておき、前記メタデータに対応して記憶された複数のバイナリデータ生成時に、この記憶したメタデータを繰り返し使用することにより複数のメタデータ付きバイナリデータ生成の手間を省けばよい。
【0011】
すなわち、上記目的を達成するために本発明の記録装置は、以下の構成を有する。即ち、バイナリデータに、前記バイナリデータに関する情報であるメタデータを付加する記録装置であって、着脱可能な第1の記憶媒体もしくは外部機器に予め記憶された、複数のバイナリデータを特定するメタデータを読み込むメタデータ読込手段と、前記読み込んだメタデータを付加する前記メタデータに対応して記憶された複数のバイナリデータを、着脱可能な前記第1の記憶媒体もしくは前記外部機器から読み込むバイナリデータ読込手段と、当該記録装置が前記バイナリデータ読込手段で前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、前記バイナリデータ読込手段によって読み込まれた前記複数のバイナリデータの各バイナリデータに対して、前記メタデータ読込手段により読み込まれた同一のメタデータを繰り返し付加して、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを生成するメタデータ付加手段と、を有することを特徴とする。
【0012】
また例えば、前記メタデータ付加手段の出力する前記複数のメタデータ付きバイナリデータを蓄積する記憶手段を更に有することを特徴とする。
【0013】
また例えば、前記メタデータ付加手段の出力する前記複数のメタデータ付きバイナリデータを前記複数のバイナリデータの読み込み元である前記第1の記憶媒体もしくは前記外部機器に書き込むメタデータ付きバイナリデータ書込手段を更に有することを特徴とする。
【0014】
また例えば、前記メタデータ付加手段の出力する前記複数のメタデータ付きバイナリデータを前記複数のバイナリデータの読み込み元と異なる着脱可能な第2の記憶媒体もしくは外部機器に書き込むメタデータ付きバイナリデータ書込手段を更に有することを特徴とする。
【0015】
また例えば、前記記憶手段に蓄積された前記複数のメタデータ付きバイナリデータを、前記複数のバイナリデータの読み込み元である前記第1の記憶媒体もしくは前記外部機器に書き込むメタデータ付きバイナリデータ書込手段を更に有することを特徴とする。
【0016】
また例えば、前記記憶手段に蓄積された前記複数のメタデータ付きバイナリデータを、前記複数のバイナリデータの読み込み元と異なる着脱可能な第2の記憶媒体もしくは外部機器に書き込むメタデータ付きバイナリデータ書込手段を更に有することを特徴とする。
【0018】
また例えば、前記メタデータ付加手段は、前記複数のバイナリデータの各バイナリデータの所定位置に前記メタデータを埋め込むことを特徴とする。
【0019】
また例えば、前記メタデータ付加手段は、前記複数のバイナリデータの各バイナリデータの所定位置に前記メタデータのファイル名あるいは前記メタデータの所在場所を示す情報を付加することを特徴とする。
【0020】
また、上記目的を達成するために本発明の記録方法は、以下の構成を有する。即ち、バイナリデータに、前記バイナリデータに関する情報であるメタデータを付加する記録装置の記録方法であって、着脱可能な第1の記憶媒体もしくは外部機器に予め記憶された、複数のバイナリデータを特定するメタデータを読み込むメタデータ読込工程と、前記読み込んだメタデータを付加する前記メタデータに対応して記憶された複数のバイナリデータを、着脱可能な前記第1の記憶媒体もしくは前記外部機器から読み込むバイナリデータ読込工程と、当該記録装置が前記バイナリデータ読込工程で前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、前記バイナリデータ読込工程で読み込まれた前記複数のバイナリデータの各バイナリデータに対して、前記メタデータ読込工程で読み込まれた同一のメタデータを繰り返し付加して、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを生成するメタデータ付加工程と、を有することを特徴とする。
【0021】
また例えば、前記メタデータ付加工程で出力する前記複数のメタデータ付きバイナリデータを記憶手段に蓄積する蓄積工程を更に有することを特徴とする。
【0022】
また例えば、前記メタデータ付加工程で出力する前記複数のメタデータ付きバイナリデータを前記複数のバイナリデータの読み込み元である前記第1の記憶媒体もしくは前記外部機器に書き込むメタデータ付きバイナリデータ書込工程を更に有することを特徴とする。
【0023】
また例えば、前記メタデータ付加工程で出力する前記複数のメタデータ付きバイナリデータを前記複数のバイナリデータの読み込み元と異なる着脱可能な第2の記憶媒体もしくは外部機器に書き込むメタデータ付きバイナリデータ書込工程を更に有することを特徴とする。
【0024】
また例えば、前記蓄積工程で蓄積された前記複数のメタデータ付きバイナリデータを前記記憶手段から読み出して、前記複数のバイナリデータの読み込み元である前記第1の記憶媒体もしくは前記外部機器に書き込むメタデータ付きバイナリデータ書込工程を更に有することを特徴とする。
【0025】
また例えば、前記蓄積工程で蓄積された前記複数のメタデータ付きバイナリデータを前記記憶手段から読み出して、前記複数のバイナリデータの読み込み元と異なる着脱可能な第2の記憶媒体もしくは外部機器に書き込むメタデータ付きバイナリデータ書込工程を更に有することを特徴とする。
【0027】
また例えば、前記メタデータ付加工程では、前記複数のバイナリデータの各バイナリデータの所定位置に前記メタデータを埋め込むことを特徴とする。
【0028】
また例えば、前記メタデータ付加工程では、前記複数のバイナリデータの各バイナリデータの所定位置に前記メタデータのファイル名あるいは前記メタデータの所在場所を示す情報を付加することを特徴とする。
【0029】
また、上記目的を達成するために、上記記録方法の工程をコンピュータに実行させるためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体を提供する。
【0030】
【発明の実施の形態】
以下、図面を参照して本発明に係る一実施の形態を詳細に説明する。
【0031】
以下に示す本実施の形態では、バイナリデータとして静止画像データを用いて説明する。また、本実施の形態では、メタデータ全部を静止画像データに埋め込む記録装置およびメタデータのファイル名のみを静止画像データに付加し、メタデータを静止画像データと関連付ける記録装置を用いて説明する。ただし、本発明の範囲を記載例に限定する趣旨のものではない。
【0032】
[記録装置のハード構成]
図1は、記録装置200のシステム構成を示すブロック図である。
【0033】
データ入出力部100は、バイナリデータやメタデータなどの入出力を行うところであり、図3に示すようにPCカード、PCMCIAカード109などのメモリーカードの場合は、直接挿入される。また、図3に示すようにコンパクトフラッシュ111やスマートメディア113などのメモリーカードの場合は、アダプタ110やカードアダプタ112を介して挿入される。また、メモリーカードの代わりにリムーバブルメディア(図示せず)を使用しても良い。
【0034】
デジタルカメラなどの外部機器107にデータ入出力部100が接続される場合には、USB端子、SCSI端子、パラレル端子などの入力端子を介して接続される。以下の説明では、入力端子としてUSB端子を用いて説明する。
【0035】
外部機器107で記録されたデータ(バイナリデータ、メタデータ)は、外部機器107から入力端子を介して直接、または、一度メモリーカード403に保存されてからメモリーカード403を介して記録装置200に読み込まれる。
【0036】
また、逆に、記録装置200で処理されたデータは、入力端子を介して直接または、一度メモリーカード403に保存されてからメモリーカード403を介して外部機器107に書き込まれる。またさらに、記録装置200で処理されたデータは、記憶部102に書き込まれる。なお、外部機器107とデータ入出力部100との接続は、上記のように直接接続せずに、無線回線を用いて接続することも可能である。この場合は、外部機器107と対応する無線回線インターフェースをデータ入出力部100に設ける。
【0037】
入力部101は、ユーザからの指示やデータを入力するところで、例えば、キーボード、マウス、リモコンなどである。記憶部102は、バイナリデータやメタデータを蓄積するもので、例えば、ハードディスクなどが用いられる。
【0038】
表示部103は、GUIや画像データなどを表示するもので、例えば、CRTや液晶ディスプレイなどが用いられる。
【0039】
104は、CPUで、記録装置200全体の制御を行う。ROM105と、RAM106は、CPU104の処理に必要なプログラム、データ、作業領域などをCPU104に提供している。
【0040】
また、図5、図6、図7、図9のフローチャートの処理に必要な制御プログラムは、記憶部102に格納されているか、ROM105に格納されている。ただし、記憶部102に制御プログラムが格納されている場合には、一旦RAM106に読み込まれてから実行される。
【0041】
なお、システム構成については、上記以外にも、様々な構成要素が存在するが、本発明の主眼ではないので、その説明は省略する。
【0042】
図2(A)および図2(B)は、記録装置200の外装を示す図である。図2(A)の前面には、データ入出力部100の1つであるスロットが配置され、スロットに挿入された記憶媒体であるメモリーカード403を経由して、記憶媒体中のデータを記録装置200内に読み込むことができる。
【0043】
電源スイッチ202は、記録装置200の電源操作をする。赤外線受光部203は、ワイヤレスキーボード204あるいはリモコン205からの信号を受信する。ワイヤレスキーボード204とリモコン205は、それぞれ入力部101の1つとして用いられる。
【0044】
図2(B)に示す背面には、ディスプレイ出力端子206が設けられ、ここに、CRTや液晶ディスプレイなどの表示部103を接続する。デジタルカメラなどの外部機器107と直接接続するためにはデータ入出力部100の1つである入力端子のUSB端子307を用いる。また、SCSI端子(図示せず)、パラレル端子(図示せず)などの入力端子を記録装置200の前面または背面などの任意の場所に設けても良い。
【0045】
[メタデータの入力]
次に、記録装置200を用いて、静止画像データの情報をメタデータとして生成し、メモリーカード403などに保存するまでの一連の作業について詳細に説明する。まず、メタデータを登録するための入力方法について図4を用いて説明する。
【0046】
図4は、メタデータを登録する時に使用するGUI画面の一例である。
【0047】
GUI画面には、事前に登録されているメタデータや新たに生成されたメタデータを表示する表示入力部301〜304、メタデータとして予め登録されているリストを表示させるボタン3011〜3041、表示されたリストの中に適切な情報がなく新たに情報を追加したい場合にワイヤレスキーボード204またはリモコンを用いて入力された情報を追加する追加ボタン305、307、308、ワイヤレスキーボード204を用いて入力された静止画像データの撮影日時を変更する変更ボタン306、および事前登録するメタデータの選択、追加、変更を終了した時点で事前登録するメタデータを確定する決定ボタン309がある。
【0048】
次に、図4に示すGUI画面を用いて、静止画像データのメタデータ情報として、「誰が?」「いつ?」「どこで?」「何をする?」の項目を具体的に登録方法を説明する。
【0049】
ここで、「誰が?」として、”Taro”、「いつ?」として、”1999−6−14”、「どこで?」として、”運動公園”、「何をする?」として、”運動会”とし、これらをリストの中から選択したり、新たに入力してメタデータとして登録するものとする。
【0050】
まず、「誰が?」について説明する。表示入力部301の右端の逆三角のボタン3011を押下すると、ボタン3011に登録されているリストのうちの1番目の内容が表示入力部301に表示される。逆三角のボタン3011を2回押下すると、ボタン3011に予め登録されているリストのうちの2番目の内容が表示入力部301に表示される。そこで、ボタン3011を繰り返し押下することにより予めリストに登録されている”Taro”を探しだす。また、登録されているリストの中に”Taro”が無い場合には、ワイヤレスキーボード204を用いて”Taro”を入力し、次に追加ボタン305を押下することで、「誰が?」の項目に”Taro”が追加される。
【0051】
次に、「いつ?」について説明する。GUI画面起動時には、表示入力部302には、現在の日時が表示されている。もし、それが撮影日と異なるのであれば、ワイヤレスキーボード204を用いて撮影日である”1999−06−14”を入力し、次に変更ボタン306を押下することで、「いつ?」の項目に”1999−06−14”が追加される。
【0052】
次に、「どこで?」について説明する。表示入力部303の右端の逆三角のボタン3031を押下すると、ボタン3031に予め登録されているリストのうちの1番目の内容が表示入力部301に表示される。逆三角のボタン3011を2回押下すると、ボタン3031に予め登録されているリストのうちの2番目の内容が表示入力部301に表示される。そこで、ボタン3031を繰り返し押下することにより予めリストに登録されている”運動公園”を探しだす。また、登録されているリストの中に”運動公園”が無い場合には、ワイヤレスキーボード204を用いて”運動公園”を入力し、次に追加ボタン307を押下することで、「誰が?」の項目に”運動公園”が追加される。
【0053】
次に、「何を?」について説明する。表示入力部304の右端の逆三角のボタン3041を押下すると、ボタン3041に予め登録されているリストのうちの1番目の内容が表示入力部304に表示される。逆三角のボタン3041を2回押下すると、ボタン3041に予め登録されているリストのうちの2番目の内容が表示入力部304に表示される。そこで、ボタン3041を繰り返し押下することにより予めリストに登録されている”運動会”を探しだす。また、登録されているリストの中に”運動会”が無い場合には、ワイヤレスキーボード204を用いて”運動会”を入力し、次に追加ボタン307を押下することで、「誰が?」の項目に”運動会”が追加される。
【0054】
以上の「いつ?」「どこで?」「誰が?」「何をする?」の全ての項目について入力が終了してから、次に、決定ボタン309を押下することで、上記設定項目を確定し、メタデータの登録が終了する。
【0055】
上記説明では、メタデータとして「いつ?」「どこで?」「誰が?」「何をする?」の項目の表示、選択、入力方法についてのみ説明したが、上記以外の項目を同様にして上記画面に表示したり、選択したり、入力する方法を追加することは可能である。
【0056】
[メタデータファイルの生成と保存]
次に、図5〜図8を用いて、記録装置200によるメタデータの生成からメモリーカード403や記憶部102などへ保存するまでの一連の作業について詳細に説明する。
【0057】
図5は、記録装置200によってメタデータを生成し、生成したメタデータをメモリーカード403へ保存するまでの処理を示すフローチャートである。
【0058】
まず、ステップS401で、「誰が?」「いつ?」「どこで?」「何をする?」など、ボタン3011〜3041に登録され、表示入力部301〜304に表示するリストファイルをRAM106に読み込む。
【0059】
次に、ステップS402において、読み込んだリストを図4のGUI画面に表示する。
【0060】
次に、ステップS403において、ユーザは、「誰が?」「いつ?」「どこで?」「何をする?」などのメタデータを図4の表示入力部301−304に入力する。なお、入力方法については、図4を用いて詳しく説明した通りであり、ここでの説明は省略する。
【0061】
次に、ステップS404において、図4の決定ボタン309が押下されると、入力されたメタデータから、例えば、図8に示すマークアップ言語であるXML等のデータ記述言語を用いて、メタデータファイルを生成する。
図8の例では、上記入力されたメタデータが、ファイル名:”CardInfo.xml”のメタデータファイルとして登録されていることを示している。このときのメタデータの記述には、マークアップ言語であるXMLが用いられる。なお、XMLの代わりに、SGML、HTML等を使用することも可能である。
【0062】
次に、生成されたメタデータファイルは、ステップS405において、データ入出力部100を介して、メモリーカード403に書き込まれ、ファイル名:”CardInfo.xml”で記憶される。なお、メモリーカード403や記憶部102への書き込み処理については、図7を用いて、後に詳しく説明するので、ここでの説明は省略する。また、生成されたメタデータファイルは、記録装置200の記憶部102にも必要に応じて記憶される。
【0063】
なお、上記説明では、1つのメタデータファイルの生成例について説明したが、生成するメタデータファイルは複数であってもよい。その場合には上記メタデータファイルの生成を繰り返し行うことにより、複数のメタデータファイルを生成できる。
【0064】
[メタデータファイルの生成]
図6は、ステップS404〜404において、ステップS403でのユーザにより入力されたメタデータの入力値に基づきステップS404で記録装置200が行うメタデータファイルの生成を示すフローチャートである。
【0065】
まず、ステップS501において、3011〜3041のボタン入力があるかどうか調べ、入力がない場合は、入力があるまで待機する。また、3011〜3041のいずれかのボタン入力があった場合には、ステップS502に進み、305〜308のいずれかのボタン入力があった場合にはステップS503に進み、309のボタン入力があった場合にはステップS504に進む。
【0066】
次に、ステップS502が選択された場合には、3011〜3041のリスト表示ボタンに対応するリストファイルの内容を表示し、ステップS505に進む。ステップS505では、3011〜3041のリスト表示ボタンに対応して表示されたリストファイルが選択された場合は、ステップS506に進み、選択された項目を入力領域にコピーしてからステップS501に戻る。また、ステップS505で、表示されたリストファイルが選択されなかった場合には、何もせずステップS501に戻る。
【0067】
一方、ステップS503が選択された場合には、305、307または308の追加ボタンが押下されたか、あるいは、306の変更ボタンが押下されたかを調べる。その結果、305、307または308の追加ボタンが押下された場合には、ステップS507に進み、ユーザによってキーボードを用いて追加された入力表示部の内容を対応するリストファイルに追加してから、ステップS508に進む。また、306の変更ボタンが押下された場合には、何もせずステップS508に進む。次に、ステップS508では、リストファイル中の日時を入力表示部の内容に変更してからステップS501に戻る。
【0068】
また一方、ステップS504が選択され、決定ボタンが押下された場合には、メタデータファイルを生成してから一連の作業を終了する。
【0069】
このようにして、図8に示したメタデータファイルが生成される。
【0070】
上記の説明では、ユーザがワイアレスキーボード204を用いて入力する例について説明したが、その他の入力方法として、Gコード等を用いたリモコンからの音声入力や音声認識を用いた入力、ネットワークを介して外部装置から入力する等任意の入力方法を用いることができる。
【0071】
なお、図8について説明すると、メタデータの記述にはXMLを用いる。XML(Extensible Markup Language)とは、現状のHypertext Markup Language(HTML)を越える機能を必要とするアプリケーションで利用されるためのマーク付け言語で、World Wide Webコンソーシアムにより開発されたものであり、主に以下のような特徴を持つものである。
1. 情報提供者は、新しいタグや属性名を意のままに定義することができる。
2. 文書構造を、どんなに複雑な入れ子にすることも可能である。
3. XML文書のなかに文法の記述をオプションとして埋め込むことができ、この文法を用いてアプリケーションに構造の正当性検証をさせることができる。
【0072】
また図8に示したXMLによる記述は、汎用のテキストエディタプログラムを使用して書くことも可能であるが、とあるいは、ととが正しく対応していることなど、いわゆるWellformd XMLを生成するために、XML用のエディタプログラムを使用するのが便利である。
【0073】
[メモリーカードへのメタデータの書き込み]
図7は、図5のステップS405において実行される記憶部102やメモリーカード403への図8に示したメタデータファイルの書き込み処理を説明したフローチャートである。
【0074】
まず、ステップS601において、メモリーカード403への書き込み処理を行う場合には、データ入出力部100へPCカードなどのメモリーカード403を装着する。あるいは、データ入出力部100の入力端子を介して外部機器107に装着されているメモリーカード403と接続してもよい。
【0075】
次に、接続が完了した後、ステップS602において、ステップS404で生成したメタデータをメモリーカー403に書き込む。
【0076】
次に、ステップS603において、メモリーカー403のイジェクト機能がある場合には、メモリーカー403をイジェクトして、終了する。
【0077】
なお、上記の説明では、メモリーカード403へメタデータの書き込みについては、データ入出力部100へ直接挿入して接続されているメモリーカード403への書き込み例と、外部機器107に装着されているメモリーカード403へ入力端子を介して書き込む例を説明したが、接続方法は、上述したように無線接続など、メモリーカード403にアクセスできるものならどのような接続であってもかまわない。また、記憶部102にメタデータを書き込むことも可能である。
【0078】
[複数のバイナリデータへのメタデータの関連付け処理]
次に、上述の生成したメタデータをバイナリデータへ関連付けする過程を図9〜図12を用いて説明する。なお、以下の説明では、バイナリデータが静止画像データである場合を例として説明する。
なお、メタデータをバイナリデータへ関連付けする方法としては、1)メタデータ全部を静止画像データに埋め込む例(図10(a))と、2)メタデータの情報のみを静止画像データに付加する例(図10(b))を一例として説明する。
【0079】
図10(a)は、記録装置200が生成したメタデータを画像データに埋め込んで関連付けた場合のデータ構造例を示す模式図である。図10(a)の例では、画像データの後ろに生成したメタデータが埋め込まれている。なお、メタデータの埋め込まれる位置は、図10(a)の例に限ることはなく、メタデータを画像データのヘッダー部に埋め込んでも良い。
【0080】
図10(a)において901は、画像データであり、例えば、JPEG圧縮形式のデータである。902、903、904は、メタデータブロックで、902はメタデータブロックヘッダ、903はメタデータボディ、904はメタデータフッターであり、メタデータヘッダ902とメタデータフッタ904は画像データにメタデータが連結されているかどうかを正しく認識するために、メタデータブロックの識別情報、サイズが記録されている。メタデータボディ903は図8に示したCardInfo.XMLが記録されている。
【0081】
このように、バイナリデータの最後に、XMLデータで記述されたメタデータを接続することにより、他のアプリケーションには影響を与えずに、メタデータを登録することができる。すなわち、バイナリデータのヘッダー部分の情報はメタデータの接続前から変化しないので、例えばバイナリデータが画像データであった場合には、一般的なブラウザによって画像の再生が可能である。ただし、その場合には、接続されたメタデータは無視される。
【0082】
さらに、メタデータは、XMLで記述されているため、XML形式を読み取り可能な多くの装置がこのメタデータの情報を読み取ることができ、このXMLデータを理解するツールがあれば、メタデータの追加・変更・参照が可能であり、非常に汎用性に優れている。以上のように、あらかじめ分かっている情報をメタデータのテンプレートとして用意しておき、撮影時に画像データと連結することで、メタデータ入力の手間を軽減できる。
【0083】
また、図10(b)は、記録装置200が生成したメタデータの情報を画像データに付加することによりメタデータを画像データと関連付けた前後のデータ構造例を示す模式図である。図10(b)の例では、画像データの後ろに生成したメタデータの情報としてメタデータのファイル名(CardInfo.XML)のみが付加され、メタデータファイルは、別に独立して存在している例を示している。なお、メタデータを付加する位置は、図10(b)の例に限ることはなく、メタデータを画像データのヘッダー部に付加しても良い。また、図10(b)の例では、画像データの後ろに生成したメタデータのファイル名を付加する例を示したが、付加するのは、メタデータファイルの存在場所を示す情報であっても良い。
【0084】
このような画像データの中へのメタデータの記録方法としては、Web上のデータの物理的な位置を特定するためのURL(Uniform Resource Location)や、固有の名称を用いてデータを指定するURN(Uniform Resource Name)と呼ばれる規格、またはこれらを包括する、現在検討中の規格URI(Uniform Resource Identifier)を用いることが出来る。今後URIが普及するのであれば、これを利用することにより、例えばWeb上のデータを特定するのに最適である。また、このメタデータを記録する方法として、画像圧縮方法にJPEGを用いているよう場合は、JPEG規格で定められているAPPマーカを利用してもよい。
【0085】
このように、メタデータとして、付属情報を特定するためのURIを記録するので、画像データと付属情報を別々に扱いやすい。特にネットワーク上に付属情報を記憶させておき、URIを用いて、これを読みに行くなど、本発明の利用の幅が広がる。また、メタデータのURIと画像データのURIとに一定の関連性を持たせることで、画像データとメタデータの対応が分かりやすく、例えばファイル名を見れば対応が分かるといった効果がある。
【0086】
次に、図11と図12を用いて、記録装置200が生成した同一のメタデータを入力される複数の画像データに繰り返し関連付けする方法について説明する。
【0087】
図11は、メタデータ(ファイル名:CardInfo.xml)全部を入力される複数の静止画像データ(ファイル名:Aut 001.JPG, Aut 002.JPG, Aut 003.JPG,・・・)に繰り返しコピーして埋め込む例を示す模式図である。
【0088】
すなわち、図11の(関連付け前)に示すように、それぞれ独立して存在する画像データ(ファイル名:AUT_001.JPG)とメタデータファイル(ファイル名:CardInfo.xml)とは、記録装置200によって関連付け処理がなされると、図11の(関連付け後)に示すように、画像データ(ファイル名:AUT_001.JPG)の後ろには、メタデータの全情報がコピーされて埋め込まれる。
【0089】
さらに、第2の画像データ(ファイル名:AUT_002.JPG)にメタデータファイル(ファイル名:CardInfo.xml)を、同様にして、記録装置200によって関連付け処理がなされると、図11の(関連付け後)に示すように、画像データ(ファイル名:AUT_002.JPG)の後ろには、メタデータの全情報がコピーされて埋め込まれる。このようにして、記録装置200が生成した同一のメタデータを複数の画像データに繰り返し関連付けられる。
【0090】
一方、図12は、メタデータ(ファイル名:CardInfo.xml)の情報のみを入力される複数の静止画像データ(ファイル名:Aut 001.JPG, Aut 002.JPG, Aut 003.JPG, ・・・)に繰り返し付加する例を示す模式図である。
【0091】
すなわち、図12の(関連付け前)に示すように、それぞれ独立して存在する画像データ(ファイル名:AUT_001.JPG)とメタデータファイル(ファイル名:CardInfo.xml)とは、記録装置200によって関連付け処理がなされると、図12の(関連付け後)に示すように、画像データの後ろには、メタデータのファイル名(CardInfo.xml)を示す情報が付加され、もともと存在するメタデータファイル(ファイル名:CardInfo.xml)と関連付けられる。
【0092】
さらに、第2の画像データ(ファイル名:AUT_002.JPG)にメタデータファイル(ファイル名:CardInfo.xml)を、同様にして、記録装置200によって関連付け処理がなされると、図12の(関連付け後)に示すように、画像データ(ファイル名:AUT_002.JPG)の後ろには、メタデータのファイル名を示す(CardInfo.xml)を示す情報が付加される。このようにして、記録装置200が生成した同一のメタデータを複数の画像データに繰り返し関連付けられる。
【0093】
図12では、メタデータ自体を画像データに埋め込むのではなく、メタデータのファイル名のみを付加する関連付け処理を行っているが、上記メタデータのファイル名の代わりに画像データにメタデータファイルを記憶している記憶位置を表す情報を付加することもできる。
【0094】
[メタデータ付き画像データの生成]
次に、記録装置200によって行われる、図11または図12で説明したメタデータを画像データに関連付けてメタデータ付き画像データを生成し、生成したメタデータ付き画像データを保存する処理について、図9のフローチャートを用いて説明する。ただし、以下の説明では、メモリーカード403中に記憶されている画像データ全てに対して、一括して同一のメタデータを付加する例を用いて説明する。
【0095】
なお、下記に説明する以外にも、例えば、選択された複数の画像データのみに同一のメタデータを付加することは可能である。また、異なるメタデータを選択された複数の画像データにそれぞれ付加することも可能である。また、画像データは、外部機器107のメモリに保存されているものを使用しても良い。
【0096】
まず、ステップS800において、記憶部102に保存されている前述のメタデータ(CardInfo.xml)をRAM106に読み込む。あるいは、メモリーカード403に保存されている前述のメタデータ(CardInfo.xml)を、データ入出力部100に直接接続されているメモリーカード403からあるいは入力端子を介して接続された外部機器107に装着されているメモリーカード403からRAM106に読み込む。なお、上記例では、メモリーカード403に記憶されているメタデータを1つ読み出して使用する例を説明したが、記憶されているメタデータが複数あり、複数のメタデータを読み出して使用してもよい。メタデータは、RAM106に読み込まれた後にメモリーカード403上に残っているメタデータは、消去される。
【0097】
次に、ステップS801において、読み込まれたメタデータは適正形式のXMLで記述しているかどうか調べ、適正に記述されていない場合にはステップS806に進み、XMLエラーを表示して作業を終了し、適正に記述されている場合にはステップS802に進む。
【0098】
次に、ステップS802において、データ入出力部100を介して、メモリーカード403から画像データをRAM106に読み込む。また、メモリーカードから読み込まれた画像データは、メモリーカード403から消去される。
【0099】
次に、ステップS803において、画像データにメタデータを関連付けメタデータ付き画像データを生成する。すなわち、画像データへのメタデータの関連付け命令(前述の2つのうちの選択されたもの)が下されると、画像データにメタデータを付加してメタデータ付き画像データを生成する。例えば、図10(a)または図10(b)のメタデータ付き画像データを生成する。
【0100】
次に、ステップS804において、生成したメタデータ付き画像データをメモリーカード403あるいは記憶部102に保存する。このメタデータ付き画像データをメモリーカード403および記憶部102の両方に保存してもよい。
【0101】
次に、ステップS805において、メモリーカード403上に、まだ読み込んでいない画像データがあるかどうかを判断し、まだ、読み込んでいない画像データがメモリーカード403に残っている場合には、ステップS802に戻り、上述の処理を継続して行い、図11または図12に示す新たなメタデータ付き画像データを生成する。例えば、図11の場合、複数の画像データに同一のメタデータを複数の画像データに繰り返し付加することにより、メタデータ付き画像データが得られる。
【0102】
一方、ステップS805において、メモリーカード403上の全ての画像データを読み込みと各画像データへのメタデータの付加が終了した場合には、一連の作業を終了する。
【0103】
このようにして、一度、事前にメタデータを生成するだけで、メモリーカード403から入力された複数の異なる画像データに対して、メタデータを繰り返し付加することができるため、画像データへのメタデータの付加の作業を簡単に行うことができる。また、メタデータを予め複数生成しておき、必要に応じて選択することによって複数の画像データに異なる種類のメタデータを付加しても良い。また、本実施形態では、バイナリデータとして、静止画像データを例に説明したが、バイナリデータとして音声データや動画像データなどを使用しても良い。
【0104】
なお、ステップS802の例では、画像データをメモリーカード403から1枚ずつRAM106への読み込み、読み込みを終了した画像データを消去したが、画像データをメモリーカード403からまとめて予めRAM106への読み込み、読み込みを終了した画像データを一括して消去してもよい。
【0105】
また、ステップS804において、メタデータが付加された画像データは、例えば、記憶部102またはデータ入出力部100に装着されたメモリーカード403に保存する例を説明したが、メモリーカード403は、例えば、メタデータを付加する前の画像データを記憶していた第1の記憶媒体であるメモリーカード403を使用しても良いし、あるいは別の第2の記憶媒体であるメモリーカードに保存してもよい。
【0106】
また、メタデータが付加された画像データは、記録装置200の入力端子を介して直接または一度メモリーカード403や記憶部102に保存されてから、メモリーカード403や記憶部102を介して外部機器107に書き込まれるてもよい。
【0107】
またさらに、外部機器107とデータ入出力部100との接続は、上記のように直接接続せずに、無線回線を用いて接続することも可能である。この場合は、外部機器107と対応する無線回線インターフェースをデータ入出力部100に設けて行う。
【0108】
また、メタデータは、前述のように事前に生成してもよいが、予めメモリーカード内に用意されているものを使用してもよい。図13にその一例を示す。この例は、例えば、旅行用のメモリーカードが販売されていて、そのメモリーカード内に予め保存されている旅行用のメタデータを使用する例である。また、バイナリデータにあわせて、動画用のメタデータ、音声データ用のメタデータ、静止画用のメタデータなどの予め用意されているメモリーカードを使用してもよい。
【0109】
【他の実施形態】
なお、本発明は、複数の機器(例えば、ホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0110】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0111】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0112】
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した(図5、図6、図7、図9に示す)フローチャートに対応するプログラムコードが格納されることになる。
【0113】
【発明の効果】
以上説明したように、本発明によれば、画像データや音声データなどのバイナリデータのデータ情報を表すために予め使用する付属情報をメタデータとして生成して、着脱自在で携帯可能な記憶媒体などに記憶し保存しておき、記録装置が前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、上記記憶した同一メタデータを同じ記憶媒体などから読み込まれる前記複数のバイナリデータに繰り返し付加して利用することにより、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを容易に生成できる記録装置および記録方法を提供することができる。
【図面の簡単な説明】
【図1】本発明に係る一実施形態における記録装置のシステム構成を示すブロック図である。
【図2(A)】本実施形態における記録装置の外装図である。
【図2(B)】本実施形態における記録装置の背面の外装図である。
【図3】本実施形態におけるメモリーカードの例を示す図である。
【図4】本実施形態におけるメタデータの登録用GUI画面である。
【図5】本実施形態におけるメタデータの生成および保存のフローチャートである。
【図6】本実施形態におけるメタデータファイル生成のフローチャートである。
【図7】本実施形態における生成したメタデータを保存するフローチャートである。
【図8】本実施形態におけるメタデータファイルの一例を示す図である。
【図9】本実施形態におけるメタデータ付き画像データの生成、保存を示すフローチャートである。
【図10】本実施形態における2種類のメタデータ付き画像データの構造を示す模式図である。
【図11】本実施形態におけるメタデータ付き画像データの生成過程を説明する図である。
【図12】本実施形態におけるメタデータ付き画像データの生成過程を説明する図である。
【図13】本実施形態におけるメタデータファイルの一例を示す図である。
【符号の説明】
100 データ入出力部
101 入力部
102 記憶部
103 表示部
104 CPU
105 ROM
106 RAM
107 外部機器
200 記録装置
403 メモリーカード
404 読み出し部
406 記録部
407 メタデータ生成部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording apparatus, a recording method, and a storage medium, and is information relating to binary data, for example, binary data such as still image data, moving image data, or audio data captured by a digital still camera, a digital video camera, or the like. The present invention relates to a recording apparatus, a recording method, and a storage medium for adding metadata.
[0002]
[Prior art]
With the widespread use of digital still cameras and digital video cameras, the amount of still image data and moving image data handled in general homes is increasing dramatically. In order to use these image data, some kind of search method and management method are required.
[0003]
When searching and managing image data, for example, there is auxiliary information that describes the image data such as the name of a person, event name, date, keyword, etc. in the image data, so-called metadata. Good.
[0004]
Metadata (meta-data) is “data related to data” and is used as attached data for explaining the contents of binary data such as image data and audio data. By adding this metadata to each binary data, it is possible to search for image data, audio data, etc. using keywords. In addition, as more metadata is added to each binary data, each binary data can be searched with more keywords.
[0005]
[Problems to be solved by the invention]
Therefore, by adding metadata to binary data, it should be easy to search and manage each binary data. However, in reality, it can be seen that one piece of metadata is not added to each binary data.
[0006]
One reason for this is that it takes time to input metadata to binary data. For example, in order to input appropriate metadata for each binary data, the contents of each binary data must be input while being confirmed one by one.
[0007]
In addition, when the same metadata can be used by adding it to binary data, for example, even when adding metadata to binary data generated under almost the same conditions, the same metadata is repeated many times for each binary data. It must be added after data is entered.
[0008]
The present invention has been made in order to solve the above-described problems, and an object of the present invention is to add metadata used in advance to represent data information of binary data such as image data, moving image data, and audio data as metadata. Generated and stored in a removable, portable storage medium, etc. Stored corresponding to the metadata When reading a plurality of binary data, by repeatedly adding the same stored metadata to the plurality of binary data read from the same storage medium or the like, The same number as the read binary data To provide a recording apparatus and a recording method capable of easily generating a plurality of binary data with metadata.
[0010]
[Means for Solving the Problems]
A method for solving the above-mentioned input problems is, for example, that metadata that can be used repeatedly can be generated and removed before binary data such as still image data, moving image data, or audio data is generated by shooting or recording. And store it in a portable storage medium, Stored corresponding to the metadata When the plurality of binary data is generated, the stored metadata is repeatedly used to save time and labor for generating the plurality of binary data with metadata.
[0011]
That is, in order to achieve the above object, the recording apparatus of the present invention has the following configuration. That is, a recording device for adding metadata, which is information relating to the binary data, to binary data, the metadata specifying a plurality of binary data stored in advance in a removable first storage medium or an external device Metadata reading means for reading, and the metadata for adding the read metadata Stored corresponding to metadata Binary data reading means for reading a plurality of binary data from the detachable first storage medium or the external device, and the recording apparatus using the binary data reading means Stored corresponding to metadata When reading a plurality of binary data, repeatedly adding the same metadata read by the metadata reading means to each binary data of the plurality of binary data read by the binary data reading means, The same number as the read binary data Metadata adding means for generating a plurality of binary data with metadata.
[0012]
For example, the metadata output means outputs the plural It further has storage means for storing binary data with metadata.
[0013]
For example, the metadata output means outputs the plural Binary data with metadata plural The first storage medium from which binary data is read or Said Binary data writing means with metadata to be written to an external device is further provided.
[0014]
For example, the metadata output means outputs the plural Binary data with metadata plural It further includes binary data writing means with metadata for writing to a removable second storage medium or external device different from the binary data reading source.
[0015]
Also, for example, the accumulated in the storage means plural Binary data with metadata plural The first storage medium from which binary data is read or Said Binary data writing means with metadata to be written to an external device is further provided.
[0016]
Also, for example, the accumulated in the storage means plural Binary data with metadata plural It further includes binary data writing means with metadata for writing to a removable second storage medium or external device different from the binary data reading source.
[0018]
For example, the metadata adding means plural Binary data Of each binary data The metadata is embedded at a predetermined position.
[0019]
For example, the metadata adding means plural Binary data Of each binary data Information indicating a file name of the metadata or a location of the metadata is added to a predetermined position.
[0020]
In order to achieve the above object, the recording method of the present invention has the following configuration. That is, a recording method of a recording apparatus for adding metadata, which is information relating to binary data, to binary data, and specifying a plurality of binary data stored in advance in a removable first storage medium or an external device A metadata reading step for reading the metadata to be added, and the metadata for adding the read metadata Stored corresponding to metadata A binary data reading step of reading a plurality of binary data from the detachable first storage medium or the external device, and the recording device in the binary data reading step; Stored corresponding to metadata When reading a plurality of binary data, repeatedly adding the same metadata read in the metadata reading step to each binary data of the plurality of binary data read in the binary data reading step, It is the same number as the read binary data A metadata adding step for generating a plurality of binary data with metadata.
[0021]
For example, the metadata adding step so To output plural Binary data with metadata In memory accumulate Accumulation process It further has these.
[0022]
For example, the metadata adding step so To output plural Binary data with metadata plural The first storage medium from which binary data is read or Said It further includes a binary data writing step with metadata to be written to the external device.
[0023]
For example, the metadata adding step so To output plural Binary data with metadata plural It further includes a binary data writing step with metadata for writing to a removable second storage medium or external device different from the binary data reading source.
[0024]
Also, for example, In the accumulation process Accumulated said plural Binary data with metadata Read from the storage means The above plural The first storage medium from which binary data is read or Said It further includes a binary data writing step with metadata to be written to the external device.
[0025]
Also, for example, In the accumulation process Accumulated said plural Binary data with metadata Read from the storage means The above plural It further includes a binary data writing step with metadata for writing to a removable second storage medium or external device different from the binary data reading source.
[0027]
For example, the metadata addition In the process Said plural Binary data Of each binary data The metadata is embedded at a predetermined position.
[0028]
For example, the metadata addition In the process Said plural Binary data Of each binary data Information indicating a file name of the metadata or a location of the metadata is added to a predetermined position.
[0029]
In order to achieve the above purpose, Provided is a computer-readable storage medium storing a program for causing a computer to execute the steps of the recording method. .
[0030]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment according to the present invention will be described in detail with reference to the drawings.
[0031]
In the present embodiment described below, description will be made using still image data as binary data. In the present embodiment, a description will be given using a recording device that embeds all metadata in still image data, and a recording device that adds only the metadata file name to still image data and associates the metadata with the still image data. However, the scope of the present invention is not intended to limit the description examples.
[0032]
[Hardware configuration of recording device]
FIG. 1 is a block diagram showing a system configuration of the
[0033]
The data input /
[0034]
When the data input /
[0035]
Data (binary data, metadata) recorded by the
[0036]
Conversely, the data processed by the
[0037]
The
[0038]
The
[0039]
A
[0040]
In addition, a control program necessary for the processing of the flowcharts of FIGS. 5, 6, 7, and 9 is stored in the
[0041]
In addition to the above, there are various components of the system configuration, but the description is omitted because it is not the main point of the present invention.
[0042]
2A and 2B are diagrams illustrating the exterior of the
[0043]
A power switch 202 performs a power operation of the
[0044]
A display output terminal 206 is provided on the rear surface shown in FIG. 2B, and a
[0045]
[Enter metadata]
Next, a series of operations from generation of still image data information as metadata using the
[0046]
FIG. 4 is an example of a GUI screen used when registering metadata.
[0047]
On the GUI screen, display input units 301 to 304 for displaying pre-registered metadata and newly generated metadata, and
[0048]
Next, using the GUI screen shown in FIG. 4, a method for specifically registering items of “who?”, “When?”, “Where?”, “What to do?” As metadata information of still image data will be described. To do.
[0049]
Here, “Who?”, “Taro”, “When?”, “1999-6-14”, “Where?”, “Exercise Park”, “What to do?”, “Sports Day” These are selected from the list or newly entered and registered as metadata.
[0050]
First, “Who is?” Will be explained. When an inverted
[0051]
Next, “when?” Will be described. When the GUI screen is activated, the display input unit 302 displays the current date and time. If it is different from the shooting date, the user inputs “1999-06-14”, which is the shooting date, using the
[0052]
Next, “where” is explained. When the inverted
[0053]
Next, “What?” Will be described. When an inverted
[0054]
After the input for all the items “when?”, “Where?”, “Who?”, “What to do” is completed, the set item is confirmed by pressing the
[0055]
In the above description, only the display, selection, and input methods of the items “when?”, “Where?”, “Who?”, “What to do” as metadata have been described. It is possible to add a method for displaying, selecting, and inputting data.
[0056]
[Generate and save metadata file]
Next, a series of operations from generation of metadata by the
[0057]
FIG. 5 is a flowchart showing processing until the
[0058]
First, in step S <b> 401, a list file registered in the
[0059]
Next, in step S402, the read list is displayed on the GUI screen of FIG.
[0060]
Next, in step S <b> 403, the user inputs metadata such as “who is?”, “When?”, “Where?”, “What to do” to the display input units 301-304 in FIG. 4. Note that the input method is as described in detail with reference to FIG. 4, and description thereof is omitted here.
[0061]
Next, when the
The example of FIG. 8 indicates that the input metadata is registered as a metadata file with the file name “CardInfo.xml”. In this case, XML, which is a markup language, is used for describing the metadata. Note that SGML, HTML, or the like can be used instead of XML.
[0062]
Next, in step S405, the generated metadata file is written to the
[0063]
In the above description, an example of generating one metadata file has been described. However, a plurality of metadata files may be generated. In this case, a plurality of metadata files can be generated by repeatedly generating the metadata file.
[0064]
[Generate metadata file]
FIG. 6 is a flowchart showing generation of a metadata file performed by the
[0065]
First, in step S501, it is checked whether there are
[0066]
Next, when step S502 is selected, the contents of the list file corresponding to the
[0067]
On the other hand, if step S503 is selected, it is checked whether the
[0068]
On the other hand, if step S504 is selected and the enter button is pressed, a series of operations is terminated after generating a metadata file.
[0069]
In this way, the metadata file shown in FIG. 8 is generated.
[0070]
In the above description, an example in which the user inputs using the
[0071]
As for FIG. 8, XML is used for describing metadata. XML (Extensible Markup Language) is a markup language for use in applications that require functions that exceed the current Hypertext Markup Language (HTML), and was developed by the World Wide Web Consortium. It has the following characteristics.
1. Information providers can define new tags and attribute names at will.
2. It is possible to nest the document structure as complex as possible.
3. An optional grammar description can be embedded in the XML document, and this grammar can be used to allow the application to validate the structure.
[0072]
The XML description shown in FIG. 8 can be written using a general-purpose text editor program, but in order to generate so-called Wellformd XML, such as the correct correspondence with and so on. It is convenient to use an editor program for XML.
[0073]
[Write metadata to memory card]
FIG. 7 is a flowchart for explaining the metadata file writing process shown in FIG. 8 to the
[0074]
First, in step S <b> 601, when a writing process to the
[0075]
Next, after the connection is completed, the metadata generated in step S404 is written in the
[0076]
Next, in step S603, if the
[0077]
In the above description, with respect to the writing of metadata to the
[0078]
[Associating metadata to multiple binary data]
Next, a process of associating the generated metadata with binary data will be described with reference to FIGS. In the following description, a case where binary data is still image data will be described as an example.
As methods for associating metadata with binary data, 1) an example in which all metadata is embedded in still image data (FIG. 10A), and 2) an example in which only metadata information is added to still image data. (FIG. 10B) will be described as an example.
[0079]
FIG. 10A is a schematic diagram illustrating an example of a data structure when metadata generated by the
[0080]
In FIG. 10A,
[0081]
In this way, by connecting metadata described in XML data to the end of binary data, metadata can be registered without affecting other applications. That is, since the information in the header portion of the binary data does not change before the metadata is connected, for example, when the binary data is image data, the image can be reproduced by a general browser. However, in that case, the connected metadata is ignored.
[0082]
Furthermore, since the metadata is described in XML, many devices that can read the XML format can read the information of the metadata, and if there is a tool that understands the XML data, the addition of the metadata is possible. -It can be changed and referenced and is extremely versatile. As described above, information already known in advance is prepared as a metadata template, and is linked to image data at the time of shooting, thereby reducing the effort of inputting metadata.
[0083]
FIG. 10B is a schematic diagram illustrating a data structure example before and after associating metadata with image data by adding metadata information generated by the
[0084]
As a method of recording metadata in such image data, URL (Uniform Resource Location) for specifying the physical location of data on the Web, or URN that specifies data using a unique name A standard called (Uniform Resource Name) or a standard URI (Uniform Resource Identifier) under consideration that encompasses these standards can be used. If URIs become popular in the future, it will be optimal for identifying data on the Web, for example. As a method for recording this metadata, if JPEG is used as an image compression method, an APP marker defined in the JPEG standard may be used.
[0085]
As described above, since the URI for identifying the attached information is recorded as the metadata, it is easy to handle the image data and the attached information separately. In particular, the scope of use of the present invention can be expanded, for example, by storing auxiliary information on the network and using URI to read it. Also, by providing a certain relationship between the URI of metadata and the URI of image data, the correspondence between image data and metadata is easy to understand. For example, the correspondence can be understood by looking at the file name.
[0086]
Next, a method for repeatedly associating the same metadata generated by the
[0087]
Fig. 11 shows the repeated copy of metadata (file name: CardInfo.xml) to a plurality of still image data (file names: Aut 001.JPG, Aut 002.JPG, Aut 003.JPG, ...) It is a schematic diagram which shows the example embedded by doing.
[0088]
That is, as shown in FIG. 11 (before association), the image data (file name: AUT_001.JPG) and the metadata file (file name: CardInfo.xml) that exist independently are associated by the
[0089]
Further, when the metadata device (file name: CardInfo.xml) is similarly associated with the second image data (file name: AUT_002.JPG) by the
[0090]
On the other hand, FIG. 12 shows a plurality of still image data (file names: Aut 001.JPG, Aut 002.JPG, Aut 003.JPG,...) To which only metadata (file name: CardInfo.xml) information is input. It is a schematic diagram which shows the example added repeatedly to ().
[0091]
That is, as shown in FIG. 12 (before association), the image data (file name: AUT_001.JPG) and the metadata file (file name: CardInfo.xml) that exist independently are associated by the
[0092]
Further, when the metadata file (file name: CardInfo.xml) is similarly associated with the second image data (file name: AUT_002.JPG) by the
[0093]
In FIG. 12, instead of embedding the metadata itself in the image data, an association process is performed in which only the metadata file name is added, but the metadata file is stored in the image data instead of the metadata file name. It is also possible to add information indicating the storage location.
[0094]
[Generate image data with metadata]
Next, processing performed by the
[0095]
In addition to the description below, for example, it is possible to add the same metadata only to a plurality of selected image data. It is also possible to add different metadata to each of a plurality of selected image data. The image data stored in the memory of the
[0096]
First, in step S800, the above-described metadata (CardInfo.xml) stored in the
[0097]
Next, in step S801, it is checked whether or not the read metadata is described in a properly formatted XML. If not properly described, the process proceeds to step S806, an XML error is displayed, and the operation is terminated. If it is properly described, the process proceeds to step S802.
[0098]
In step S <b> 802, image data is read from the
[0099]
In step S803, image data with metadata is generated by associating metadata with image data. That is, when a command for associating metadata with image data (selected one of the above two) is issued, metadata is added to the image data to generate image data with metadata. For example, the image data with metadata shown in FIG. 10A or FIG. 10B is generated.
[0100]
In step S804, the generated image data with metadata is stored in the
[0101]
In step S805, it is determined whether there is image data that has not yet been read on the
[0102]
On the other hand, if all the image data on the
[0103]
In this way, metadata can be repeatedly added to a plurality of different image data input from the
[0104]
In the example of step S802, image data is read from the
[0105]
In step S804, the image data to which the metadata is added is stored in, for example, the
[0106]
The image data to which the metadata is added is directly or once stored in the
[0107]
Furthermore, the
[0108]
Further, the metadata may be generated in advance as described above, but metadata prepared in advance in the memory card may be used. An example is shown in FIG. In this example, for example, a travel memory card is sold, and travel metadata stored in advance in the memory card is used. In addition, a memory card prepared in advance, such as moving image metadata, audio data metadata, still image metadata, may be used in accordance with the binary data.
[0109]
[Other Embodiments]
Note that the present invention can be applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but an apparatus (for example, a copying machine, a facsimile machine, etc.) comprising a single device. ).
[0110]
Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0111]
Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0112]
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above (shown in FIGS. 5, 6, 7 and 9).
[0113]
【The invention's effect】
As described above, according to the present invention, auxiliary information used in advance to represent data information of binary data such as image data and audio data is generated as metadata, and is a removable and portable storage medium. And store the recording device Stored corresponding to the metadata When reading a plurality of binary data, by repeatedly adding the same stored metadata to the plurality of binary data read from the same storage medium or the like, It is the same number as the read binary data A recording apparatus and a recording method capable of easily generating a plurality of binary data with metadata can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration of a recording apparatus according to an embodiment of the present invention.
FIG. 2A is an exterior view of a recording apparatus according to the present embodiment.
FIG. 2B is an exterior view of the back surface of the recording apparatus according to the present embodiment.
FIG. 3 is a diagram showing an example of a memory card in the present embodiment.
FIG. 4 is a metadata registration GUI screen in the present embodiment;
FIG. 5 is a flowchart of generation and storage of metadata in the present embodiment.
FIG. 6 is a flowchart of metadata file generation in the present embodiment.
FIG. 7 is a flowchart for storing generated metadata in the present embodiment.
FIG. 8 is a diagram showing an example of a metadata file in the present embodiment.
FIG. 9 is a flowchart showing generation and storage of image data with metadata in the present embodiment.
FIG. 10 is a schematic diagram showing the structure of two types of image data with metadata in the present embodiment.
FIG. 11 is a diagram illustrating a generation process of metadata-added image data according to the present embodiment.
FIG. 12 is a diagram illustrating a generation process of image data with metadata in the present embodiment.
FIG. 13 is a diagram showing an example of a metadata file in the present embodiment.
[Explanation of symbols]
100 Data input / output section
101 Input section
102 storage unit
103 display
104 CPU
105 ROM
106 RAM
107 External equipment
200 Recording device
403 memory card
404 Reading unit
406 Recording unit
407 Metadata generation unit
Claims (17)
着脱可能な第1の記憶媒体もしくは外部機器に予め記憶された、複数のバイナリデータを特定するメタデータを読み込むメタデータ読込手段と、
前記読み込んだメタデータを付加する前記メタデータに対応して記憶された複数のバイナリデータを、着脱可能な前記第1の記憶媒体もしくは前記外部機器から読み込むバイナリデータ読込手段と、
当該記録装置が前記バイナリデータ読込手段で前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、前記バイナリデータ読込手段によって読み込まれた前記複数のバイナリデータの各バイナリデータに対して、前記メタデータ読込手段により読み込まれた同一のメタデータを繰り返し付加して、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを生成するメタデータ付加手段と、
を有することを特徴とする記録装置。A recording device for adding metadata, which is information about the binary data, to binary data,
Metadata reading means for reading metadata specifying a plurality of binary data stored in advance in a removable first storage medium or an external device;
Binary data reading means for reading a plurality of binary data stored corresponding to the metadata to which the read metadata is added from the first storage medium or the external device that can be attached and detached;
When the recording device reads a plurality of binary data stored corresponding to the metadata by the binary data reading means, for each binary data of the plurality of binary data read by the binary data reading means, Metadata adding means for repeatedly adding the same metadata read by the metadata reading means to generate a plurality of binary data with metadata that is the same number as the plurality of binary data read ;
A recording apparatus comprising:
着脱可能な第1の記憶媒体もしくは外部機器に予め記憶された、複数のバイナリデータを特定するメタデータを読み込むメタデータ読込工程と、
前記読み込んだメタデータを付加する前記メタデータに対応して記憶された複数のバイナリデータを、着脱可能な前記第1の記憶媒体もしくは前記外部機器から読み込むバイナリデータ読込工程と、
当該記録装置が前記バイナリデータ読込工程で前記メタデータに対応して記憶された複数のバイナリデータを読み込む時に、前記バイナリデータ読込工程で読み込まれた前記複数のバイナリデータの各バイナリデータに対して、前記メタデータ読込工程で読み込まれた同一のメタデータを繰り返し付加して、前記読み込まれた複数のバイナリデータと同数である複数のメタデータ付きバイナリデータを生成するメタデータ付加工程と、
を有することを特徴とする記録方法。A recording method of a recording apparatus for adding metadata, which is information about the binary data, to binary data,
A metadata reading step for reading metadata for specifying a plurality of binary data stored in advance in a removable first storage medium or an external device;
A binary data reading step of reading a plurality of binary data stored corresponding to the metadata to which the read metadata is added from the first storage medium or the external device that can be attached and detached;
When the recording device reads a plurality of binary data stored corresponding to the metadata in the binary data reading step, for each binary data of the plurality of binary data read in the binary data reading step, A metadata addition step of repeatedly adding the same metadata read in the metadata reading step to generate a plurality of binary data with metadata that is the same number as the plurality of read binary data;
A recording method comprising:
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000225894A JP4072987B2 (en) | 2000-07-26 | 2000-07-26 | Recording apparatus and recording method |
EP00307449A EP1087307B1 (en) | 1999-08-31 | 2000-08-30 | Recording apparatus and method and storage medium |
AT00307449T ATE472773T1 (en) | 1999-08-31 | 2000-08-30 | RECORDING APPARATUS AND METHOD AND STORAGE MEDIUM |
US09/651,293 US7111022B1 (en) | 1999-08-31 | 2000-08-30 | Recording apparatus and method and storage medium |
DE60044599T DE60044599D1 (en) | 1999-08-31 | 2000-08-30 | Recording apparatus and method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000225894A JP4072987B2 (en) | 2000-07-26 | 2000-07-26 | Recording apparatus and recording method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002044592A JP2002044592A (en) | 2002-02-08 |
JP4072987B2 true JP4072987B2 (en) | 2008-04-09 |
Family
ID=18719604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000225894A Expired - Fee Related JP4072987B2 (en) | 1999-08-31 | 2000-07-26 | Recording apparatus and recording method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4072987B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4262646B2 (en) | 2004-07-28 | 2009-05-13 | オリンパス株式会社 | Digital camera and image data recording method |
-
2000
- 2000-07-26 JP JP2000225894A patent/JP4072987B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002044592A (en) | 2002-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7111022B1 (en) | Recording apparatus and method and storage medium | |
JP2004139466A (en) | Electronic document printing program, and electronic document printing system | |
JP3945985B2 (en) | Digital camera device | |
US7085767B2 (en) | Data storage method and device and storage medium therefor | |
JP4697913B2 (en) | Data retrieval apparatus and method | |
US20140233063A1 (en) | Printing method and apparatus, print control method, and multimedia apparatus | |
CN105760501A (en) | Document format conversion method and device | |
JP2006202081A (en) | Metadata creation apparatus | |
JP2002027386A (en) | Recording medium and apparatus for managing data file | |
JP4072987B2 (en) | Recording apparatus and recording method | |
JP2001075846A (en) | Device and method for recording, and storage medium | |
JP2002044598A (en) | Recording device and recording method | |
US6947926B2 (en) | Data processing method and apparatus and storage medium | |
CN101350919B (en) | Recording device, recording method | |
JPH10326282A (en) | Method and system for electronic file retrieval and edition, and storage medium stored with program therefor | |
JP2003204506A (en) | Image input apparatus | |
JPWO2005101210A1 (en) | Data analysis apparatus and data analysis program | |
JP5223328B2 (en) | Information management apparatus, information management method, and program thereof | |
JP2004134979A (en) | Apparatus and method for album creation and program for realizing the method for album creation | |
JP4072283B2 (en) | Data processing method and apparatus, and storage medium | |
JP2006192615A (en) | Printing apparatus, method and program, and storing medium | |
JP2000298606A (en) | Method and device for data processing and storage medium | |
JP2005010950A (en) | File management device, file management method, program, and recording medium | |
JP2000311103A (en) | Method and device for processing data and storage medium | |
JP2019103042A (en) | Information processing device, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040805 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20040805 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20040805 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070315 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070323 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070522 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070615 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070816 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20071009 |
|
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: 20080116 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080121 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110201 Year of fee payment: 3 |
|
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: 20120201 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130201 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140201 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |