JP3869873B2 - Data management method and apparatus - Google Patents

Data management method and apparatus Download PDF

Info

Publication number
JP3869873B2
JP3869873B2 JP25648995A JP25648995A JP3869873B2 JP 3869873 B2 JP3869873 B2 JP 3869873B2 JP 25648995 A JP25648995 A JP 25648995A JP 25648995 A JP25648995 A JP 25648995A JP 3869873 B2 JP3869873 B2 JP 3869873B2
Authority
JP
Japan
Prior art keywords
data
link
image
deleted
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25648995A
Other languages
Japanese (ja)
Other versions
JPH0998374A (en
Inventor
和彦 中下
琢 山上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP25648995A priority Critical patent/JP3869873B2/en
Priority to US08/720,911 priority patent/US6192191B1/en
Publication of JPH0998374A publication Critical patent/JPH0998374A/en
Priority to US09/715,110 priority patent/US6771889B1/en
Priority to US10/829,366 priority patent/US7403696B2/en
Application granted granted Critical
Publication of JP3869873B2 publication Critical patent/JP3869873B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Cameras In General (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、各種データを互いに関連付けて管理するためのデータの管理装置に関し、デジタルカメラから取得した画像や音声データ、それらの関連データ等を管理する場合等に用いて好適なものである。
【0002】
【従来の技術】
近年、画像や音声をデジタル信号に変換して記録媒体に記録するデジタルカメラが開発されている。このようなデジタルカメラでは得られる画像や音声のキャプチャーデータを画像ファイルや音声ファイルとして記録媒体に記録する。デジタルカメラは、撮影モード、撮影条件等の設定が可能であり、個々のキャプチャーデータのファイルにはそのキャプチャーデータに関する属性情報、例えば撮影年月日、撮影モード、撮影条件も記録される。また、システムの各種設定値をまとめてシステム管理用ファイルに記録しておく方法もある。
【0003】
図3はデジタルカメラの構成例を示すブロック図である。
図3において、レンズ201 により捉えられた被写体の光学像は、後方に位置するCCD等を用いた撮像デバイス202 によって映像電気信号に変換される。撮像デバイス202 はCPU207によって与えられる制御信号に応答して、被写体の光学像に対応する電荷の蓄積、映像信号の読み出しを行う。
読み出されたアナログの映像信号は、A /D 変換器203 によってデジタル信号に変換される。なお、撮像デバイス202 とA /D 変換器203 との間には、図示はしていないが、ガンマ補正、色信号の形成分離、ホワイトバランス処理等の映像信号を調整する手段などが設けられている。
【0004】
A /D 変換器203 によってデジタル信号に変換された映像信号は、画像メモリ204 に一旦蓄えられる。次に、圧縮符号化部205 は、画像メモリ204 から読み出された画像データを圧縮符号化する。この圧縮符号化された画像データは、記録再生システムを構成する記録再生装置206 を介して内蔵記録媒体208 あるいはリムーバブルメモリ220 に書き込まれる。
なお、画像データの圧縮方法としては、例えば、国際標準方式として規定されているJPEG方式を用いることができる。
【0005】
また、CPU207はユーザーの操作部209 による音声記録命令を検知すると、音声入力部210 から入力された音声信号をA /D 変換器211 によりデジタルデータに変換したデータを音声符号化部212 に与え、ここで圧縮符号化してから記録再生装置206 に供給する。
【0006】
このようなシステムにおいて、記録された画像データと音声データとを所定のリンク方式で関連付けて記録する装置については本出願人より既に考案されている。このリンク方式を用いた装置は、画像データと音声データとを関連付けて記録する手段と、記録媒体に格納された音声データを指定する指定手段と、指定された音声データに関連する画像データをファイル情報として検索する手段とを備えたものである。
【0007】
【発明が解決しようとする課題】
しかしながら、従来の関連データのリンク方式では、互いのデータの関連付け方法としてのリンク方法が1種類であったため、データ間の多様な関連状態に柔軟に対応することができなかった。特に、画像データ削除の際に、それに関連するデータを削除するかどうかは、データの種別に関わらず一様に決定することになるので、独立的に存在することが無意味なデータが削除されずに残されたままになったり、独立的に存在しても有用なデータが削除されてしまったりするという問題があった。
【0008】
本発明は上記のような問題を解決するためになされたもので、種々のデータ間の多様な関連状態に柔軟に対応することができ、データの管理を効率的に行うことのできるデータの管理方式及び装置を得ることを目的としている。
【0009】
【課題を解決するための手段】
本発明のデータの管理方法は、画像データ、音声データまたは属性データを互いに関連付けて管理する際に、これら複数のデータを互いに参照可能とするリンク情報を記録することによって上記関連付けを行うデータの管理方法において、上記画像データまたは音声データの削除が指示された場合、該データと関連付けられた属性データが上記削除が指示されたデータとは異なる他のデータと上記リンク情報により関連付けられているか否かを判断する判断ステップと、上記判断ステップにて上記他のデータと関連付けられていると判断された場合、上記属性データを削除しないよう制御する制御ステップとを有することを特徴とする。
本発明のデータの管理装置は、画像データ、音声データまたは属性データを互いに関連付けて管理を行うためにこれら複数のデータを互いに参照可能とするリンク情報を記録するようにしたデータの管理装置において、上記画像データまたは音声データの削除が指示された場合、該データと関連付けられた属性データが上記削除が指示されたデータとは異なる他のデータと上記リンク情報により関連付けられているか否かを判断する判断手段と、上記判断手段により上記他のデータと関連付けられていると判断された場合、上記属性データを削除しないよう制御する制御手段とを有することを特徴とする。
【0010】
【作用】
本発明によれば、削除が指示された画像データまたは音声データと関連付けられた属性データが他のデータと関連付けられているか否かに応じて上記属性データの削除を制御することにより、削除すべきでないデータを保護し、独立して存在することが無意味なデータが記録媒体上に存在することを防ぐことができ、これにより記録容量を節約するこいとができる。
【0011】
【発明の実施の形態】
以下に、記録管理システムの一例として画像/音声記録システム( デジタルカメラ) における記録データの管理に本発明を適用した場合の本発明の実施の形態を図面に基づき説明する。尚、デジタルカメラを構成するブロック図は図3と同じである。
本実施の形態においては、各データ間のリンクに関する情報等をデータ管理用マップファイル(以下、単にマップファイルと言う)に記録するものとする。
図1に本実施の形態によるマップファイル350 の構成を示す。
記録データ等はこのマップファイル350 により管理する。マップファイル350 には、記録するデータの種類に応じたオブジェクトが用意される。各オブジェクト内には、データ自体やデータファイルへのファイルディスクリプタ、そのオブジェクトに対応するデータの関連データに関する情報等を格納している。
【0012】
図1において、記録した画像データは画像ファイル301 に格納すると共に、マップファイル350 内の画像データ用オブジェクト302 の中にこのファイル301 へのファイルディスクリプタ303 を記録する。同様に、音声データは音声ファイル311 に格納すると共に、マップファイル350 内の音声データ用オブジェクト312 の中にこのファイル311 へのファイルディスクリプタ313 を記録する。
【0013】
本実施の形態では、リンク方式を2種類備えている。第1のリンク方式は、記録されたデータを他の関連データで説明する場合に用いるリンク方式で、アノテーションリンク方式と呼ぶ。ここでは、画像ファイル301を音声ファイル311がこのアノテーションリンク方式によって説明している。この関係を実現するために、画像データ用オブジェクト302、音声データ用オブジェクト312それぞれにアノテーションソースインデックス304,314、アノテーションターゲットインデックス305,315を格納している。
【0014】
アノテーションソースインデックス304,314 には、そのインデックスを格納しているオブジェクトに対応するデータを説明するデータのオブジェクトへのポインタを格納する。図1では、画像ファイル301 を音声ファイル311 が説明する関係となっている場合を示している。画像データ用オブジェクト302 内のアノテーションソースインデックス304 に音声データ用オブジェクト312 へのポインタを格納し、音声データ用オブジェクト312 内のアノテーションターゲットインデックス315 に画像データ用オブジェクト302 へのポインタを格納する。このように、説明されるデータの側と説明するデータの側との両方にインデックスを持つことによって、どちらからでも検索することが可能になる。
【0015】
また、それぞれのインデックスには、複数のポインタを格納することができる。これにより、一つの記録データを複数の記録データをもって説明することができ、また、一つの記録データで複数の記録データを説明することができる。
【0016】
次に第2のリンク方式は、記録されたデータとそのデータの属性情報等を表すデータとをリンクする方式で、マスタースレーブリンク方式と呼ぶ。
図1では、画像ファイル301 の属性として、この画像ファイル301 を記録した際のカメラの設定に関するカメラデータ332 を格納するカメラデータオブジェクト331 と、レンズの設定に関するレンズデータ342 を格納するレンズデータオブジェクト341 とを持つ。そしてこれらのオブジェクト331,341 へのポインタを画像データ用オブジェクト302 内のスレーブオブジェクトインデックス306 に格納する。また、音声ファイル311 の属性情報として、この音声ファイル311 を記録した際のカメラの設定に関する上記カメラデータ332 を格納する上記カメラオブジェクト331 を持つ。そしてこのカメラオブジェクト331 へのポインタを音声データ用オブジェクト312 内のスレーブオブジェクトインデックス316 に格納する。このように、マスタースレーブリンク方式もまた、どちらからでも検索可能で、一つの記録データに複数のスレーブオブジェクトをリンクさせることが可能であり、且つ、一つのオブジェクトをスレーブオブジェクトとして複数の記録データにリンクさせることが可能である。
【0017】
上記のように第1、第2のリンク方式は、互いに参照方法(データの関連付け方法、リンク方法)が異り、各方式に応じたリンク情報が用いられる。
【0018】
次に、記録データを削除する場合のそれぞれのリンクの処理について図2のフローチャートに従って説明する。
まず、ユーザは、削除する記録データのオブジェクトを指定する( ステップ s101)。システムは、指定したオブジェクト内のファイルディスクリプタよりデータファイルを検索、削除する( ステップ s102)。次に、アノテーションソースインデックスからアノテーションソースオブジェクトを検索し、検索したオブジェクト内のアノテーションターゲットインデックスから削除するオブジェクトへのポインタを消去する( ステップ s103)。
次に、アノテーションターゲットインデックスからアノテーションターゲットオブジェクトを検索し、検索したオブジェクト内のアノテーションソースインデックスから削除するオブジェクトへのポインタを消去する( ステップ s104)。
【0019】
次に、スレーブオブジェクトインデックスからスレーブオブジェクトを検索し、スレーブオブジェクト内のマスターオブジェクトインデックスから削除するオブジェクトへのポインタを消去する( ステップ s105)。次に、マスターオブジェクトインデックス内に他のオブジェクトを指すポインタが残っているかどうかを調べ( ステップ s106)、残っていなければそのスレーブオブジェクトは削除し( ステップ s108)、残っていれば削除しない( ステップ s107)。
【0020】
以上の処理を図1に基づいてさらに具体的に説明する。
まず、アノテーションリンク方式に関する処理について述べる。いま、画像ファイル301 を削除する指示がシステムになされたとする。システムは、マップファイル350 中の画像データ用オブジェクト302 に格納されているファイルディスクリプタ303 により画像ファイル301 を検索し、これを削除する。そして、画像データ用オブジェクト302 内のアノテーションソースインデックス305 に格納されたポインタにより音声データ用オブジェクト312 を検索し、その中のアノテーションターゲットインデックス315 の中の画像データ用オブジェクト302 を指すポインタを削除する。ここで、音声ファイル311 の音声データは1つのキャプチャーデータであり、画像ファイル301 とのリンク関係を失っても単独で存在意義があると考えられるので、音声データ用オブジェクト312 は削除しない。
【0021】
次に、マスタースレーブリンク方式に関する処理について述べる。画像データ用オブジェクト302 内のスレーブオブジェクトインデックス306 よりカメラデータオブジェクト331 を検索し、その中のマスターオブジェクトインデックス333 の中の画像データ用オブジェクト302 を指すポインタを削除する。これにより、マスターオブジェクトインデックス333 が空になるため、カメラデータオブジェクト332 自体も削除する。さらに、スレーブオブジェクトインデックス306 よりレンズデータオブジェクト341 を検索し、その中のマスターオブジェクトインデックス343 の中の画像データ用オブジェクト302 を指すポインタを削除する。このとき、マスターオブジェクトインデックス343 は空とならないため、レンズデータオブジェクト343 自体は削除しない。
【0022】
このマスタースレーブリンク方式を用いて、カメラのスペックに関する情報を画像または音声データにリンクする場合、カメラデータとして記録されるデータには、カメラ所有者名、カメラ名、本体ID、バージョン、感度、ロムオペレーションモード、撮像素子名、赤外線フィルタの仕様等が挙げられる。
【0023】
また、レンズのスペックに関する情報をマスタースレーブリンク方式を用いて、画像または音声データにリンクする場合、レンズデータとして記録されるデータには、レンズ所有者名、レンズのモデル名、レンズの仕様等が挙げられる。
例えば、交換レンズタイプのカメラを用いて、最初の画像だけをレンズA で撮影し、以降の画像は全てレンズB を用いて撮影したとする。このような場合、一枚目の画像を削除した場合、レンズA のデータは意味のないものとなり、このデータを記録媒体上に残しておいてもメモリ容量の無駄となる。このように単独では存在意義のないデータを共有する場合は、マスタースレーブリンク方式を用いる。
【0024】
また、フラッシュのスペックに関する情報をマスタースレーブリンク方式を用いて、画像または音声データにリンクする場合、フラッシュデータとして記録されるデータには、フラッシュ所有者名、フラッシュのモデル名、フラッシュの仕様等が挙げられる。
【0025】
また、画像又は音声に対する注釈情報を、アノテーションリンク方式を用いて、画像または音声データにリンクする場合としては、画像データに対して画像データ、音声データ、文字データ、図形データ等をリンクする場合、音声データに対して画像データ、音声データ、文字データ、図形データ等をリンクする場合が挙げられる。
【0026】
【発明の効果】
以上説明したように本発明によれば、削除が指示された画像データまたは音声データと関連付けられた属性データが他のデータとリンク情報により関連付けられているか否かを判断し、他のデータと関連付けられていると判断された場合、属性データを削除しないよう制御することにより、データを記録する記録媒体上の重要なデータを保護すると共に、不要なデータの存在をなくすことができ、記録媒体の容量を節約することができると共に、多くのデータを効率良く管理することが可能となる。
また、データ間のリンク情報として双方向に検索出来るインデックスを記録することにより、画像データ或いは音声データ等を指定してその関連データを表示することと、関連データを指定してそのデータが関連している画像データ或いは音声データ等を高速に検索することが可能になる。
【0027】
また、複数の記録データを一つの関連データが説明するリンク方式を備えていることにより、記録媒体の節約が可能となる。
また、一つの記録データを複数の関連データが説明するリンク方式を備えていることにより、記録データを多種のデータにより詳しく説明することが可能となる。
【0028】
また、リンク関係にあるデータのうち、説明されるデータを削除した場合に、説明するデータを削除しないリンク方式を持つことにより、単独で存在意義があり削除すべきでないデータを保護することが可能となる。
また、リンク関係にあるデータのうち、説明されるデータを削除した場合に、説明するデータが、上記削除したデータ以外に説明しているデータがない場合は説明するデータも削除し、そうでない場合は説明しているデータは削除しないリンク方式を持つことにより、単独では存在の意味が無いデータを削除できるので記録媒体の節約ができる。
【0029】
また、第1のリンク方式と第2のリンク方式とを具備することにより、関連データの種類に応じたリンク方式を選択することが可能となる。
また、説明するデータが独立して存在することが意味のある場合にそのデータに対して第1のリンク方式を用い、説明するデータが独立して存在することが無意味な場合にそのデータに対して第2のリンク方式記載したリンク方式を用いることにより、独立して存在することが無意味なデータが単独で存在して記憶媒体を無駄に占有することを防止すると共に、独立して存在することが意味のあるデータを、明示的に指定すること無く削除してしまうことを防止できる。
【0030】
また、関連データとしてカメラのスペックに関する情報を、第2のリンク方式で画像または音声データにリンクすることにより、記録データに関連付けられること無く存在しても意味をなさないカメラのスペックに関する情報を削除して、記憶媒体を無駄に占有することを防止することができる。
また、関連データとして撮影レンズのスペックに関する情報を、第2のリンク方式で画像または音声データにリンクすることにより、記録データに関連付けられること無く存在しても意味をなさない撮影レンズのスペックに関する情報を削除して、記憶媒体を無駄に占有することを防止することができる。
【0031】
また、関連データとして撮影フラッシュのスペックに関する情報を、第2のリンク方式で画像または音声データにリンクすることにより、記録データに関連付けられること無く存在しても意味をなさない撮影フラッシュのスペックに関する情報を削除して、記憶媒体を無駄に占有することを防止することができる。
また、記録データの関連データとして画像又は音声に対する注釈情報を、第1のリンク方式で画像または音声データにリンクすることにより、画像又は音声に対する注釈情報を明示的に指定すること無く削除してしまうことを防止できる。
【図面の簡単な説明】
【図1】本発明による記録データ・関連データ間のリンク関係に関する情報を記録するマップファイルのファイルフォーマットの実施の形態を示す構成図である。
【図2】記録データを削除する場合のその記録データにリンクしている関連データの処理手順を示すフローチャートである。
【図3】デジタルカメラの従来例を示すハードウェアの構成図である。
【符号の説明】
201 レンズ
202 撮像デバイス
206 記録装置
207 CPU
208 記録媒体( 内蔵記録媒体)
220 リムーバブルメモリ
301 画像ファイル
302 画像データ用オブジェクト
303 ファイルディスクリプタ
304 アノテーションソースインデックス
305 アノテーションターゲットインデックス
306 スレーブオブジェクトインデックス
311 音声ファイル
312 音声データ用オブジェクト
313 ファイルディスクリプタ
314 アノテーションソースインデックス
315 アノテーションターゲットインデックス
316 スレーブオブジェクトインデックス
331 カメラデータオブジェクト
332 カメラデータ
333 マスターオブジェクトインデックス
341 レンズデータオブジェクト
342 レンズデータ
343 マスターオブジェクトインデックス
350 データ管理用マップファイル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data management apparatus for managing various data in association with each other, and is suitable for use in managing image and audio data acquired from a digital camera, related data, and the like.
[0002]
[Prior art]
In recent years, digital cameras that convert images and sound into digital signals and record them on a recording medium have been developed. In such a digital camera, captured image or sound capture data is recorded on a recording medium as an image file or sound file. The digital camera can set a shooting mode, shooting conditions, and the like, and attribute information relating to the capture data, for example, shooting date, shooting mode, and shooting conditions are recorded in each capture data file. There is also a method of recording various setting values of the system together in a system management file.
[0003]
FIG. 3 is a block diagram illustrating a configuration example of a digital camera.
In FIG. 3, an optical image of a subject captured by a lens 201 is converted into a video electric signal by an imaging device 202 using a CCD or the like located behind. In response to a control signal given by the CPU 207, the imaging device 202 accumulates charges corresponding to the optical image of the subject and reads out the video signal.
The read analog video signal is converted into a digital signal by the A / D converter 203. Although not shown, the image pickup device 202 and the A / D converter 203 are provided with means for adjusting video signals such as gamma correction, color signal formation / separation, and white balance processing. Yes.
[0004]
The video signal converted into a digital signal by the A / D converter 203 is temporarily stored in the image memory 204. Next, the compression encoding unit 205 compresses and encodes the image data read from the image memory 204. The compressed and encoded image data is written to the built-in recording medium 208 or the removable memory 220 via the recording / reproducing device 206 constituting the recording / reproducing system.
As a method for compressing image data, for example, a JPEG system defined as an international standard system can be used.
[0005]
In addition, when the CPU 207 detects a voice recording command by the user operation unit 209, the CPU 207 supplies the voice encoding unit 212 with data obtained by converting the voice signal input from the voice input unit 210 into digital data by the A / D converter 211, Here, the data is compressed and encoded and then supplied to the recording / reproducing apparatus 206.
[0006]
In such a system, an apparatus for recording recorded image data and audio data in association with each other by a predetermined link method has already been devised by the present applicant. An apparatus using this link method includes a means for recording image data and audio data in association with each other, a specifying means for specifying audio data stored in a recording medium, and image data related to the specified audio data as a file. And a means for searching as information.
[0007]
[Problems to be solved by the invention]
However, in the conventional related data linking method, there is only one type of linking method as a method of associating data with each other, and thus it has not been possible to flexibly cope with various related states between data. In particular, when deleting image data, whether or not to delete the related data is determined uniformly regardless of the type of data, so that data that does not exist independently is deleted. However, there is a problem that useful data is deleted even if it is left alone.
[0008]
The present invention has been made to solve the above-described problems, and can flexibly cope with various related states between various data, and can manage data efficiently. The purpose is to obtain a method and apparatus.
[0009]
[Means for Solving the Problems]
According to the data management method of the present invention, when image data, audio data, or attribute data are managed in association with each other, the link management that records the plurality of data to be referred to each other is recorded, thereby managing the data to be associated with each other. In the method, when deletion of the image data or audio data is instructed, whether the attribute data associated with the data is associated with other data different from the data instructed to delete by the link information And a control step for controlling not to delete the attribute data when it is determined in the determination step that it is associated with the other data.
The data management device of the present invention is a data management device for recording link information that enables reference to a plurality of data in order to associate and manage image data, audio data, or attribute data. When deletion of the image data or audio data is instructed, it is determined whether or not the attribute data associated with the data is associated with other data different from the data instructed to be deleted by the link information. And determining means, and control means for controlling not to delete the attribute data when it is determined by the determining means that it is associated with the other data.
[0010]
[Action]
According to the present invention, the deletion should be performed by controlling the deletion of the attribute data according to whether or not the attribute data associated with the image data or audio data instructed to be deleted is associated with other data. Non-existent data can be protected and it can be prevented that meaningless data exists on the recording medium, thereby saving recording capacity.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
In the following, an embodiment of the present invention when the present invention is applied to recording data management in an image / audio recording system (digital camera) as an example of a recording management system will be described with reference to the drawings. The block diagram constituting the digital camera is the same as FIG.
In the present embodiment, it is assumed that information relating to links between data is recorded in a data management map file (hereinafter simply referred to as a map file).
FIG. 1 shows the structure of the map file 350 according to this embodiment.
The recorded data and the like are managed by this map file 350. An object corresponding to the type of data to be recorded is prepared in the map file 350. Each object stores data itself, a file descriptor for the data file, information related to data related to the object, and the like.
[0012]
In FIG. 1, the recorded image data is stored in an image file 301 and a file descriptor 303 to this file 301 is recorded in an image data object 302 in a map file 350. Similarly, the audio data is stored in the audio file 311, and the file descriptor 313 for this file 311 is recorded in the audio data object 312 in the map file 350.
[0013]
In this embodiment, there are two types of link systems. The first link method is a link method used when the recorded data is described with other related data, and is called an annotation link method. Here, the image file 301 and the audio file 311 are described using this annotation link method. In order to realize this relationship, annotation source indexes 304 and 314 and annotation target indexes 305 and 315 are stored in the image data object 302 and the audio data object 312 respectively.
[0014]
In the annotation source indexes 304 and 314, pointers to data objects that describe data corresponding to the objects storing the indexes are stored. FIG. 1 shows a case where the image file 301 has a relationship described by the audio file 311. A pointer to the audio data object 312 is stored in the annotation source index 304 in the image data object 302, and a pointer to the image data object 302 is stored in the annotation target index 315 in the audio data object 312. Thus, by having an index on both the data side to be explained and the data side to be explained, it becomes possible to search from either side.
[0015]
A plurality of pointers can be stored in each index. Thereby, one recording data can be explained by a plurality of recording data, and a plurality of recording data can be explained by one recording data.
[0016]
Next, the second link method is a method of linking recorded data and data representing attribute information of the data and is called a master-slave link method.
In FIG. 1, as an attribute of the image file 301, a camera data object 331 that stores camera data 332 relating to camera settings when the image file 301 is recorded, and a lens data object 341 that stores lens data 342 relating to lens settings. And have. The pointers to these objects 331 and 341 are stored in the slave object index 306 in the image data object 302. Further, as the attribute information of the audio file 311, the camera object 331 for storing the camera data 332 relating to the camera settings when the audio file 311 is recorded is provided. The pointer to the camera object 331 is stored in the slave object index 316 in the audio data object 312. As described above, the master-slave link method can also be searched from either one, and a plurality of slave objects can be linked to one recording data, and one object can be linked to a plurality of recording data as a slave object. It is possible to link.
[0017]
As described above, the first and second link methods have different reference methods (data association method and link method), and link information corresponding to each method is used.
[0018]
Next, the processing of each link when deleting recorded data will be described with reference to the flowchart of FIG.
First, the user designates an object of recording data to be deleted (step s101). The system searches for and deletes the data file from the file descriptor in the specified object (step s102). Next, the annotation source object is searched from the annotation source index, and the pointer to the object to be deleted from the annotation target index in the searched object is deleted (step s103).
Next, the annotation target object is searched from the annotation target index, and the pointer to the object to be deleted from the annotation source index in the searched object is deleted (step s104).
[0019]
Next, the slave object is searched from the slave object index, and the pointer to the object to be deleted from the master object index in the slave object is deleted (step s105). Next, the master object index is checked to see if any pointers to other objects remain (step s106) .If not, the slave object is deleted (step s108), and if not, it is not deleted (step s107). ).
[0020]
The above process will be described more specifically with reference to FIG.
First, processing related to the annotation link method will be described. Assume that the system is instructed to delete the image file 301. The system searches the image file 301 by the file descriptor 303 stored in the image data object 302 in the map file 350 and deletes it. Then, the audio data object 312 is searched using the pointer stored in the annotation source index 305 in the image data object 302, and the pointer pointing to the image data object 302 in the annotation target index 315 is deleted. Here, the audio data of the audio file 311 is one piece of capture data, and even if the link relationship with the image file 301 is lost, it is considered that the audio data 311 alone is meaningful, so the audio data object 312 is not deleted.
[0021]
Next, processing related to the master-slave link method will be described. The camera data object 331 is searched from the slave object index 306 in the image data object 302, and the pointer pointing to the image data object 302 in the master object index 333 is deleted. As a result, since the master object index 333 becomes empty, the camera data object 332 itself is also deleted. Further, the lens data object 341 is searched from the slave object index 306, and the pointer pointing to the image data object 302 in the master object index 343 is deleted. At this time, since the master object index 343 is not empty, the lens data object 343 itself is not deleted.
[0022]
When linking information related to camera specifications to image or audio data using this master-slave link method, the data recorded as camera data includes the camera owner name, camera name, body ID, version, sensitivity, ROM Operation mode, image sensor name, infrared filter specifications, etc.
[0023]
In addition, when linking information about lens specifications to image or audio data using the master-slave link method, the data recorded as lens data includes the lens owner name, lens model name, lens specifications, etc. Can be mentioned.
For example, suppose that an interchangeable lens type camera is used and only the first image is taken with lens A, and all subsequent images are taken with lens B. In such a case, when the first image is deleted, the data of the lens A becomes meaningless, and even if this data is left on the recording medium, the memory capacity is wasted. As described above, when sharing data that does not exist by itself alone, the master-slave link method is used.
[0024]
In addition, when linking information about flash specifications to image or audio data using the master-slave link method, the data recorded as flash data includes the flash owner name, flash model name, flash specifications, etc. Can be mentioned.
[0025]
In addition, when linking annotation information for an image or sound to the image or sound data using the annotation link method, when linking image data, sound data, character data, graphic data, etc. to the image data, There are cases where image data, audio data, character data, graphic data, and the like are linked to audio data.
[0026]
【The invention's effect】
As described above, according to the present invention, it is determined whether or not the attribute data associated with the image data or audio data instructed to be deleted is associated with other data by link information, and is associated with the other data. If it is determined that the data has been deleted, it is possible to protect important data on the recording medium on which data is recorded and to eliminate the presence of unnecessary data by controlling not to delete the attribute data. The capacity can be saved and a large amount of data can be managed efficiently.
In addition, by recording an index that can be searched bidirectionally as link information between data, it is possible to specify image data or audio data and display related data, and to specify related data to associate the data. It is possible to search the image data or audio data that is being recorded at high speed.
[0027]
In addition, since a link method in which one piece of related data describes a plurality of recording data is provided, recording media can be saved.
Further, by providing a link method in which one piece of recording data is explained by a plurality of related data, the recording data can be explained in more detail by various data.
[0028]
In addition, it is possible to protect data that exists and should not be deleted by having a link method that does not delete the data to be explained when the data to be explained is deleted from the data in the link relationship. It becomes.
In addition, when the data to be explained is deleted from the data related to the link, if the data to be explained does not have any data explained other than the deleted data, the data to be explained is also deleted. By providing a link method that does not delete the data being described, it is possible to delete data that is not meaningful by itself, thereby saving the recording medium.
[0029]
In addition, by providing the first link method and the second link method, it is possible to select a link method according to the type of related data.
In addition, when it is meaningful that the data to be explained exists independently, the first link method is used for the data, and when it is meaningless that the data to be explained exists independently, On the other hand, by using the link method described in the second link method, it is possible to prevent data that is meaningless to exist independently from occupying a storage medium wastefully and exist independently. It is possible to prevent data that is meaningful to be deleted without being explicitly specified.
[0030]
Also, by linking information about camera specifications as related data to image or audio data using the second link method, information about camera specifications that do not make sense even if they exist without being associated with recorded data is deleted Thus, it is possible to prevent the storage medium from being occupied unnecessarily.
In addition, by linking information relating to photographing lens specifications as related data to image or audio data by the second link method, information relating to photographing lens specifications that do not make sense even if they exist without being associated with recording data Can be deleted to prevent the storage medium from being occupied unnecessarily.
[0031]
In addition, by linking information related to shooting flash specifications as related data to image or audio data by the second link method, information related to shooting flash specifications that does not make sense even if they exist without being associated with recorded data Can be deleted to prevent the storage medium from being occupied unnecessarily.
In addition, the annotation information for the image or sound as the related data of the recording data is deleted without explicitly specifying the annotation information for the image or sound by linking to the image or sound data by the first link method. Can be prevented.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing an embodiment of a file format of a map file for recording information relating to a link relationship between recorded data and related data according to the present invention.
FIG. 2 is a flowchart showing a processing procedure of related data linked to the recording data when the recording data is deleted.
FIG. 3 is a hardware configuration diagram illustrating a conventional example of a digital camera.
[Explanation of symbols]
201 lens
202 Imaging device
206 Recording device
207 CPU
208 Recording medium (Built-in recording medium)
220 Removable memory
301 image files
302 Object for image data
303 File descriptor
304 Annotation source index
305 Annotation Target Index
306 Slave object index
311 audio files
312 Audio data objects
313 File descriptor
314 Annotation Source Index
315 Annotation Target Index
316 Slave object index
331 Camera Data Object
332 Camera data
333 Master Object Index
341 Lens Data Object
342 Lens data
343 Master Object Index
350 Map file for data management

Claims (14)

画像データ、音声データまたは属性データを互いに関連付けて管理する際に、これら複数のデータを互いに参照可能とするリンク情報を記録することによって上記関連付けを行うデータの管理方法において、
上記画像データまたは音声データの削除が指示された場合、該データと関連付けられた属性データが上記削除が指示されたデータとは異なる他のデータと上記リンク情報により関連付けられているか否かを判断する判断ステップと、
上記判断ステップにて上記他のデータと関連付けられていると判断された場合、上記属性データを削除しないよう制御する制御ステップとを有することを特徴とするデータの管理方法。
When managing image data, audio data, or attribute data in association with each other, in the data management method for performing the above-mentioned association by recording link information that allows the plurality of data to be referred to each other,
When deletion of the image data or audio data is instructed, it is determined whether or not the attribute data associated with the data is associated with other data different from the data instructed to be deleted by the link information. A decision step;
And a control step of controlling not to delete the attribute data when it is determined in the determination step that the data is associated with the other data.
上記リンク情報として上記複数のデータ間で双方向に検索できるインデックスを記録することを特徴とする請求項1記載のデータの管理方法。  The data management method according to claim 1, wherein an index that can be searched bidirectionally between the plurality of data is recorded as the link information. 上記関連付けられた複数のデータのうちの複数のデータを一つの関連データが説明するリンク方式を備えていることを特徴とする請求項1記載のデータの管理方法。  2. The data management method according to claim 1, further comprising a link method in which a plurality of data among the plurality of associated data are described by one related data. 一つのデータを複数の関連データが説明するリンク方式を備えていることを特徴とする請求項1記載のデータの管理方法。  The data management method according to claim 1, further comprising a link method in which one piece of data is described by a plurality of related data. 上記関連付けられた複数のデータのうち、説明されるデータを削除した場合に、説明するデータを削除しないようにするリンク情報を用いる第1のリンク方式を備えていることを特徴とする請求項1記載のデータの管理方法。  2. A first link method using link information for preventing data to be explained from being deleted when data to be explained is deleted from the plurality of associated data. How to manage the listed data. 上記関連付けられた複数のデータのうち、説明されるデータを削除した場合に、説明するデータが上記削除したデータ以外に説明しているデータがない場合は上記説明するデータも削除し、そうでない場合は上記説明しているデータは削除しないようにするリンク情報を用いる第2のリンク方式を備えていることを特徴とする請求項1記載のデータの管理方法。  When the explained data is deleted from the plurality of associated data, if there is no explained data other than the deleted data, the explained data is also deleted, otherwise 2. The data management method according to claim 1, further comprising a second link method using link information for preventing the data described above from being deleted. 上記説明するデータが独立して存在することが意味のある場合にこの説明するデータに対して上記第1のリンク方式を用いることを特徴とする請求項5記載のデータの管理方法。  6. The data management method according to claim 5, wherein the first link method is used for the data to be explained when it is meaningful that the data to be explained exists independently. 上記説明するデータが独立して存在することが無意味な場合にこの説明するデータに対して上記第2のリンク方式を用いることを特徴とする請求項6記載のデータの管理方法。  7. The data management method according to claim 6, wherein the second link method is used for the explained data when it is meaningless that the explained data exists independently. カメラのスペックに関する情報を関連データとして上記第2のリンク方式を用いて画像データまたは音声データにリンクすることを特徴とする請求項6記載のデータの管理方法。  7. The data management method according to claim 6, wherein information relating to camera specifications is linked as related data to image data or audio data using the second link method. 撮影レンズのスペックに関する情報を関連データとして上記第2のリンク方式を用いて画像データまたは音声データにリンクすることを特徴とする請求項6記載のデータの管理方法。  7. The data management method according to claim 6, wherein information relating to the specifications of the photographing lens is linked as related data to image data or audio data using the second link method. 撮影フラッシュのスペックに関する情報を関連データとして上記第2のリンク方式を用いて画像または音声データにリンクすることを特徴とする請求項6記載のデータの管理方法。  7. The data management method according to claim 6, wherein information relating to the specification of the photographing flash is linked to image or audio data using the second link method as related data. 画像データまたは音声データに対する注釈情報を関連データとして上記第1のリンク方式を用いて上記画像データまたは音声データにリンクすることを特徴とする請求項5記載のデータの管理方法。  6. The data management method according to claim 5, wherein annotation information for image data or audio data is linked as related data to the image data or audio data using the first link method. 上記画像データまたは音声データの削除が指示され、該データと関連付けられた属性データを削除するよう制御する場合に、上記削除が指示されたデータと属性データとを関連付けるリンク方式に応じて、該属性データ自体は削除せずにそのポインタを削除する処理、又は該属性データ自体を削除する処理の一方の処理を選択的に実行することを特徴とする請求項1記載のデータの管理方法。  When deletion of the image data or audio data is instructed and control is performed to delete the attribute data associated with the data, the attribute data is determined according to a link method for associating the data instructed with deletion with the attribute data. 2. The data management method according to claim 1, wherein one of a process of deleting the pointer without deleting the data itself or a process of deleting the attribute data itself is selectively executed. 画像データ、音声データまたは属性データを互いに関連付けて管理を行うためにこれら複数のデータを互いに参照可能とするリンク情報を記録するようにしたデータの管理装置において、
上記画像データまたは音声データの削除が指示された場合、該データと関連付けられた属性データが上記削除が指示されたデータとは異なる他のデータと上記リンク情報により関連付けられているか否かを判断する判断手段と、
上記判断手段により上記他のデータと関連付けられていると判断された場合、上記属性データを削除しないよう制御する制御手段とを有することを特徴とするデータの管理装置。
In a data management apparatus for recording link information that enables reference to a plurality of data in order to associate and manage image data, audio data, or attribute data,
When deletion of the image data or audio data is instructed, it is determined whether or not the attribute data associated with the data is associated with other data different from the data instructed to be deleted by the link information. Judgment means,
A data management apparatus comprising: a control unit that controls not to delete the attribute data when the determination unit determines that the attribute data is associated with the other data.
JP25648995A 1995-10-03 1995-10-03 Data management method and apparatus Expired - Fee Related JP3869873B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP25648995A JP3869873B2 (en) 1995-10-03 1995-10-03 Data management method and apparatus
US08/720,911 US6192191B1 (en) 1995-10-03 1996-10-03 Data storage based on serial numbers
US09/715,110 US6771889B1 (en) 1995-10-03 2000-11-20 Data storage based on serial numbers
US10/829,366 US7403696B2 (en) 1995-10-03 2004-04-22 Recording apparatus, reproducing apparatus, recording method, and reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25648995A JP3869873B2 (en) 1995-10-03 1995-10-03 Data management method and apparatus

Publications (2)

Publication Number Publication Date
JPH0998374A JPH0998374A (en) 1997-04-08
JP3869873B2 true JP3869873B2 (en) 2007-01-17

Family

ID=17293355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25648995A Expired - Fee Related JP3869873B2 (en) 1995-10-03 1995-10-03 Data management method and apparatus

Country Status (1)

Country Link
JP (1) JP3869873B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928405B2 (en) * 2001-09-05 2005-08-09 Inventec Corporation Method of adding audio data to an information title of a document
NZ534100A (en) 2004-07-14 2008-11-28 Tandberg Nz Ltd Method and system for correlating content with linear media

Also Published As

Publication number Publication date
JPH0998374A (en) 1997-04-08

Similar Documents

Publication Publication Date Title
US8953066B2 (en) Image file generation device, camera and image file generation method
US6192191B1 (en) Data storage based on serial numbers
US7457827B2 (en) Information file recording apparatus
US7809728B2 (en) Recording/playback apparatus and method
EP1923791A1 (en) Data recording system, data recording method and data recording program
KR100971741B1 (en) Image pickup apparatus
US6771889B1 (en) Data storage based on serial numbers
US7567275B2 (en) Image recorder
JP3229856B2 (en) Digital camera
JP3869873B2 (en) Data management method and apparatus
JP4346695B2 (en) Recording apparatus and recording method
JP3907227B2 (en) Digital camera, recording method thereof and recording / reproducing method thereof
WO2005006335A1 (en) Recording/playback apparatus and method
JPH08147952A (en) Recording and reproducing device
JP3957775B2 (en) Digital camera and recording method thereof
JP4815693B2 (en) Electronic camera
JPH09307851A (en) Recording management equipment for image and audio and its method
KR940009558B1 (en) Image data processing apparatus
US20090295946A1 (en) Image Capture Device, Method Of Controlling The Same, And Image Capture System
JP4666064B2 (en) Image data recording apparatus and image data recording method
JP2002125188A (en) Digital camera
JP2014204235A (en) Content recording and reproducing device, content management method and program
JP4782212B2 (en) Shooting device, copy method of shooting data
JP2004104725A (en) Digital camera
JPH11177923A (en) Electronic camera

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050530

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061016

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131020

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees