JP2007036581A - Information management apparatus and method - Google Patents

Information management apparatus and method Download PDF

Info

Publication number
JP2007036581A
JP2007036581A JP2005215969A JP2005215969A JP2007036581A JP 2007036581 A JP2007036581 A JP 2007036581A JP 2005215969 A JP2005215969 A JP 2005215969A JP 2005215969 A JP2005215969 A JP 2005215969A JP 2007036581 A JP2007036581 A JP 2007036581A
Authority
JP
Japan
Prior art keywords
directory
limit value
stored
image
information management
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.)
Pending
Application number
JP2005215969A
Other languages
Japanese (ja)
Inventor
Shinsuke Kurimoto
真介 栗本
Masanao Tsutsui
正直 筒井
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005215969A priority Critical patent/JP2007036581A/en
Publication of JP2007036581A publication Critical patent/JP2007036581A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To manage the configuration of directories and files by an optional setup of a user. <P>SOLUTION: The information management apparatus includes: an operation section 7 for setting a prescribed limit to image files stored in one directory in a recording medium; a flash memory 5 for storing a limit value placed on a total data capacity of the image files storable in the one directory set by a setting section; and a CPU 6 that compares the total data capacity of the image files stored in the particular directory with the limit value stored in the flash memory 5 in a prescribed operating timing of the information management apparatus and properly adds a new directory next to a final directory managed in directories of a tree structure depending on a result of the comparison. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、例えば撮像した画像ファイルを外部記録媒体に記録するデジタルカメラに適用して好適な情報管理装置及び方法に関する。   The present invention relates to an information management apparatus and method suitable for application to, for example, a digital camera that records captured image files on an external recording medium.

従来、デジタルカメラを用いて静止画像等を記録する場合、取り外し可能な外部記録媒体に情報を書き込むようにしている。デジタルカメラに装填された外部記録メディアへ撮影画像データを記録する場合、記録メディア上に特定の規格に基づくディレクトリ構造で記録を行う。異なる製造会社のデジタルカメラを用いても外部記録メディアに対する記録、再生を行えるようにするため、例えば、ディレクトリ構造、ファイル等の取り扱いを定めたDCF(Design rule for Camera File system)規格に基づいてファイル及び画像に関連するファイルの管理が行われるようになった。   Conventionally, when a still image or the like is recorded using a digital camera, information is written on a removable external recording medium. When recording captured image data on an external recording medium loaded in a digital camera, recording is performed on the recording medium with a directory structure based on a specific standard. To enable recording and playback to external recording media using digital cameras from different manufacturers, for example, files based on the DCF (Design Rule for Camera File system) standard that defines the directory structure, file handling, etc. And management of files related to images.

DCF規格においては、記録媒体の「ROOTディレクトリ」の直下に、「DCFイメージルートディレクトリ」と称される「DCIMディレクトリ」が作成される。そして、「DCIMディレクトリ」の下位ディレクトリに「DCFディレクトリ」と称される「3桁のディレクトリ番号+5文字の自由文字(例えば、「101MSDCF」)」の命名規則によるディレクトリが形成され、記録した画像ファイルが保存される。DCFディレクトリは、ディレクトリ番号が100〜999までの重複しない番号であれば、複数のDCFディレクトリを用いて、撮影画像保存時の分類が可能である。また、一つのDCFディレクトリには、画像や音声ファイルとして「DCFファイル」と称される「4文字の自由文字+4桁のファイル番号+拡張子(例えば、「ABCD0001.jpg」)」の命名規則によるファイルが形成される。DCFファイル名と同一のファイル番号を持つファイル群を「DCFオブジェクト」と称し、一つのDCFディレクトリには最大9999個までのDCFオブジェクトが記録可能である。また、新規にDCFディレクトリを追加作成する場合、ディレクトリ番号は既存のディレクトリ番号の最大番号+1の連番でインクリメントすることが推奨されている。   In the DCF standard, a “DCIM directory” called a “DCF image root directory” is created immediately below a “ROOT directory” of a recording medium. Then, a directory based on a naming rule of “three-digit directory number + five free characters (for example,“ 101MSDCF ”) called“ DCF directory ”is formed in a lower directory of“ DCIM directory ”, and the recorded image file Is saved. As long as the DCF directory has a non-overlapping directory number from 100 to 999, classification at the time of saving a captured image is possible using a plurality of DCF directories. Also, one DCF directory has a naming rule of “4-character free character + 4-digit file number + extension (for example,“ ABCD0001.jpg ”), which is called“ DCF file ”as an image or sound file. A file is formed. A group of files having the same file number as the DCF file name is referred to as a “DCF object”, and up to 9999 DCF objects can be recorded in one DCF directory. In addition, when a new DCF directory is newly created, it is recommended that the directory number be incremented by a sequential number of the maximum number + 1 of the existing directory number.

これまで、デジタルカメラを用いて撮影を行う場合、撮影者は予めDCFディレクトリの作成作業、及び該当するDCFディレクトリへの画像ファイルの保存指定の設定等を行う必要があり、利便性が損なわれていた。このため、デジタルカメラを使用する際に、撮影者の利便性を高めることを目的として、ディレクトリ作成を自動化する各種の技術が提案されている。   In the past, when taking a picture using a digital camera, the photographer needs to make a DCF directory creation operation in advance and set the designation of saving an image file in the corresponding DCF directory. It was. For this reason, various techniques for automating directory creation have been proposed for the purpose of enhancing the convenience of the photographer when using a digital camera.

特許文献1には、電源のオン/オフ、レンズ交換、撮影モードの変更、撮影ISO値の変更、及び解像度変更など、ユーザ操作によるデジタルカメラの状態変更を検知して、検知結果に基づいて、画像データの格納先フォルダの変更を自動的に行えるようにする技術が記載されている。   Patent Document 1 detects changes in the state of a digital camera by a user operation, such as power on / off, lens exchange, change of shooting mode, change of shooting ISO value, and change of resolution, and based on the detection results, A technique for automatically changing the image data storage folder is described.

特許文献2には、撮影者による任意のタイミングでの指示により、撮影時に自動でファイル番号をリセットし、別ディレクトリに保存する技術が記載されている。   Patent Document 2 describes a technique of automatically resetting a file number at the time of shooting and saving it in another directory according to an instruction at an arbitrary timing by a photographer.

特許文献3には、ファイルの撮影日時に応じて、ディレクトリ名称に撮影日時を含むようなディレクトリを新規に作成する電子カメラの技術が記載されている。   Patent Document 3 describes a technique of an electronic camera that newly creates a directory whose directory name includes the shooting date and time according to the shooting date and time of the file.

特許文献4には、一つの分類項目に振り分けられる画像ファイルの数が上限値を超える場合には、互いに異なるディレクトリ名を有する複数のディレクトリに、所定の分類項目に振り分けられる画像ファイルを分散して格納する技術が記載されている。
特開2003−162709号公報(図2参照) 特開2003−150929号公報(図2参照) 特開平11−164234号公報(図2参照) 特開2003−271617号公報(図11参照)
In Patent Document 4, when the number of image files allocated to one classification item exceeds the upper limit value, the image files allocated to a predetermined classification item are distributed to a plurality of directories having different directory names. The storing technique is described.
JP 2003-162709 A (see FIG. 2) Japanese Patent Laying-Open No. 2003-150929 (see FIG. 2) Japanese Patent Laid-Open No. 11-164234 (see FIG. 2) Japanese Patent Laying-Open No. 2003-271617 (see FIG. 11)

ここで、複数の画像をサムネイル等の小画像で展開するために用いるような、処理能力が低く、メモリ領域が少ないPDA(Personal Digital(Data) Assistants)等の携帯情報端末を用いて画像を閲覧する場合を想定する。このような携帯情報端末は、デジタルカメラに備えたディスプレイパネルと比べて大型のディスプレイパネルを備えており、任意に持ち出して簡便に利用できる。このため、外出先で撮影者が任意の時点において、画像分類の煩雑さの緩和を目的とした画像整理を行う用途が考えられる。   Here, using a portable information terminal such as a PDA (Personal Digital (Data) Assistants) having a low processing capacity and a small memory area, which is used for developing a plurality of images as small images such as thumbnails, the images are browsed. Assume that Such a portable information terminal has a large display panel as compared with a display panel provided in a digital camera, and can be taken out and used easily. For this reason, it is conceivable that the photographer can organize images for the purpose of alleviating the complexity of image classification at any time when the photographer is away from home.

しかしながら、画像データをディレクトリごとにサムネイルで展開表示する場合、それぞれのディレクトリ内に格納している複数の画像ファイルを表示するための処理量を、ディレクトリごとに均等にすることが困難となることがある。つまり、情報量の大きい高画質画像が単一のディレクトリに多数入っている状態では、携帯情報端末の処理能力の低さにより、画像を展開表示する処理に時間がかかりすぎてしまう。あるいは、画像データの展開用メモリ領域が不足することにより、展開用メモリの領域確保に失敗し、表示不能となってしまう等、閲覧性能が著しく低下する原因となってしまう。   However, when developing and displaying image data as thumbnails for each directory, it may be difficult to equalize the processing amount for displaying a plurality of image files stored in each directory for each directory. is there. That is, in a state where a large number of high-quality images with a large amount of information are contained in a single directory, the processing for expanding and displaying the images takes too much time due to the low processing capability of the portable information terminal. Or, the lack of a development memory area for image data causes a failure in securing the development memory area and makes it impossible to display the display data.

また、従来、一つのディレクトリに格納する撮影画像の枚数が所定枚数を超過した場合に、追加ディレクトリを自動で作成する機能が実現されている。しかしながら、このようなディレクトリの自動生成機能は、撮影枚数が数千枚以上となって初めて機能する。つまり、自動でディレクトリが作成されることが稀なほどの大きな値でしか機能することはない。さらに、撮影者が任意に所定枚数を設定できないため、一つのディレクトリに多くの画像データが格納されることとなり、処理能力が低く、画像データの展開用メモリ領域の少ない携帯情報端末では小画像での展開表示を行うにあたって実用性に乏しい。   Conventionally, a function for automatically creating an additional directory when the number of photographed images stored in one directory exceeds a predetermined number has been realized. However, such an automatic directory generation function functions only when the number of shots is several thousand or more. In other words, it works only with such a large value that a directory is not automatically created. Furthermore, since the photographer cannot arbitrarily set a predetermined number of images, a large amount of image data is stored in one directory, and the processing capability is low, and a portable information terminal with a small memory area for developing image data has a small image size. It is poor in practicality when displaying the expanded display of.

近年、外部記録媒体の大容量化に伴い、多数の画像データを保存することが可能となっている。しかしながら、撮影者が長期間、画像データを整理しないまま撮影を続けてしまった場合、又は、撮影を続けるうちに様々な画像再生装置で画像データを閲覧したり、画像の編集を行ったりする場合のように撮影者の使用形態が変化することがある。このような場合においては、特許文献1に記載された技術を用いても、それぞれのディレクトリごとに格納される画像ファイルの数は異なるため、画像閲覧時の煩雑さは避けられない。また、自動化により作成された各ディレクトリ内の画像数・容量等は一定にはならない。   In recent years, with the increase in capacity of external recording media, it has become possible to store a large number of image data. However, if the photographer continues shooting for a long time without organizing the image data, or if the image data is viewed or edited on various image playback devices while shooting is continued As described above, the photographer's usage may change. In such a case, even when the technique described in Patent Document 1 is used, since the number of image files stored for each directory differs, the complexity of browsing images is inevitable. In addition, the number of images and the capacity in each directory created by automation are not constant.

また、特許文献2に記載された技術では、撮影後にディレクトリ構成に変更が加わると、撮影者の意図が反映されないディレクトリ構成となってしまう可能性がある。また、近年のデジタルカメラの高性能化により、ほとんどのカメラが、カメラ単体での閲覧時にファイル削除やサイズ変更等の簡単な編集をすることができる。このような場合も、ディレクトリごとに格納した画像ファイルの情報量が変化しうるため、携帯情報端末での画像閲覧時において、不便が生じてしまう。   In the technique described in Patent Document 2, if the directory structure is changed after shooting, the directory structure may not reflect the photographer's intention. In addition, due to the recent high performance of digital cameras, most cameras can perform simple editing such as file deletion and size change when browsing with a single camera. Even in such a case, since the amount of information of the image file stored for each directory can change, inconvenience occurs when browsing the image on the portable information terminal.

また、特許文献3に記載された技術では、複数の日数にまたがる旅行等の外出時には、その期間中、撮影者は記録した画像ファイルの整理を行わない状況となりうる。このため、大量の画像ファイルが一つのディレクトリに存在する可能性があり、やはり携帯情報端末での画像閲覧時において、速やかに画像が表示されなくなるという問題が生じてしまう。   Also, with the technique described in Patent Document 3, when going out for a trip or the like that spans a plurality of days, the photographer may not be able to organize the recorded image files during that period. For this reason, there is a possibility that a large number of image files exist in one directory, which also causes a problem that images are not displayed promptly when browsing an image on a portable information terminal.

また、特許文献4に記載された技術では、画像作成時、閲覧編集時等の区別なくユーザの意図したファイル数による制限を可能としている。ところで、近年のデジタルカメラの高解像度化により、1画像ファイル当たりのファイルサイズが大きくなった場合には、展開用メモリ領域の不足により画像を表示できなくなったり、表示処理速度が低下したりするため、依然として不便さは解消されない。   In the technique described in Patent Document 4, it is possible to limit the number of files intended by the user without distinction between image creation and browsing / editing. By the way, when the file size per image file increases due to the recent increase in resolution of digital cameras, images cannot be displayed or the display processing speed decreases due to a lack of a development memory area. The inconvenience still remains.

本発明はこのような状況に鑑みて成されたものであり、ユーザの任意の設定でディレクトリ及びファイルを管理することを目的とする。   The present invention has been made in view of such a situation, and an object of the present invention is to manage directories and files with arbitrary settings of a user.

本発明は、撮像部で撮像された画像ファイルを、ツリー型構造のディレクトリで管理し、着脱可能な記録媒体に保存する情報管理方法において、記録媒体内の一つのディレクトリに格納される画像ファイルの所定の制限値を設定し、設定された一つのディレクトリに格納可能な画像ファイルの総データ容量の制限値を記憶し、特定ディレクトリに格納された画像ファイルの総データ容量と、記憶されている制限値とを、所定の動作タイミングで比較し、その比較結果に応じてツリー型ディレクトリ構造の最終ディレクトリの次に新規ディレクトリを適宜追加するようにしたものである。   The present invention relates to an information management method for managing an image file captured by an image capturing unit in a directory having a tree structure and storing the image file in a removable recording medium, and storing the image file stored in one directory in the recording medium. Set a predetermined limit value, store the limit value of the total data capacity of image files that can be stored in one set directory, store the total data capacity of image files stored in a specific directory, and the stored limit The values are compared at a predetermined operation timing, and a new directory is appropriately added after the last directory of the tree-type directory structure according to the comparison result.

このようにしたことで、所定の基準で定めた制限値を設定したディレクトリに撮像した画像ファイルを格納し、所定の動作タイミングでディレクトリの再構成を行うことができる。   By doing in this way, the image file imaged can be stored in the directory which set the limit value defined by the predetermined standard, and the directory can be reconfigured at a predetermined operation timing.

本発明によれば、撮像した画像ファイルを格納するディレクトリを所定の動作タイミングで所定の基準により再構成し、取り外し可能な記録媒体に保存し、表示時のメモリ能力が異なる電子機器に記録媒体を装着した場合に、最適化されたディレクトリごとにファイル画像を表示できるという効果がある。   According to the present invention, a directory for storing captured image files is reconfigured according to a predetermined reference at a predetermined operation timing, stored in a removable recording medium, and the recording medium is stored in an electronic device having a different memory capacity at the time of display. When mounted, the file image can be displayed for each optimized directory.

以下、本発明の一実施の形態を、添付図面を参照して説明する。本実施の形態では、静止画像データを取り外し可能な外部記録媒体に記録する、デジタルカメラに適用した例としてある。   Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. The present embodiment is an example applied to a digital camera that records still image data on a removable external recording medium.

まず、本例のデジタルカメラの内部構成例について説明する。図1は、本例のデジタルカメラ100の内部構成例を示したブロック図である。レンズ、絞り、フィルタ等を備えた光学部1から入力された撮像光は、CCD(Charge Coupled Devices)イメージャ2等の撮像素子により光電変換されて、アナログデータをデジタルデータに変換するA/D変換部3に供給される。デジタルデータに変換された画像データは、所定の処理を行う信号処理回路4に供給される。信号処理回路4では、得られた静止画像データをJPEG(Joint Photographic Coding Experts Group)方式で圧縮し、取り外し可能な記録メディア9に記録する。ユーザは、メニューキー、操作カーソル、シャッタ等を供えた操作部7よりデジタルカメラ100の設定、撮像操作、再生操作を行うことが可能である。画像再生時には、LCD(Liquid Crystal Display)パネルを備えた表示部8により、記録メディア9に保存してある画像データを随時読み出して表示可能である。デジタルカメラ100内の処理を制御するCPU6は、所定の設定値、パラメータ、プログラム等を記録してある書き換え可能なフラッシュメモリ5より、随時必要なデータを読み出し、演算、記録メディア9への書き込み処理等を行う。記録メディア9へ記録する際には、DCF規格に基づくツリー型のディレクトリ構造で任意数の撮影画像ファイルの集合を記録、保存する。   First, an internal configuration example of the digital camera of this example will be described. FIG. 1 is a block diagram showing an example of the internal configuration of the digital camera 100 of this example. Imaging light input from the optical unit 1 including a lens, a diaphragm, a filter, and the like is photoelectrically converted by an imaging element such as a CCD (Charge Coupled Devices) imager 2 to convert analog data into digital data. Supplied to section 3. The image data converted into digital data is supplied to a signal processing circuit 4 that performs predetermined processing. In the signal processing circuit 4, the obtained still image data is compressed by a JPEG (Joint Photographic Coding Experts Group) method and recorded on a removable recording medium 9. The user can perform setting, imaging operation, and reproduction operation of the digital camera 100 from the operation unit 7 provided with a menu key, an operation cursor, a shutter, and the like. At the time of image reproduction, image data stored in the recording medium 9 can be read and displayed at any time by the display unit 8 having an LCD (Liquid Crystal Display) panel. The CPU 6 that controls the processing in the digital camera 100 reads out necessary data from the rewritable flash memory 5 in which predetermined set values, parameters, programs, and the like are recorded, and calculates and writes to the recording medium 9. Etc. When recording on the recording medium 9, an arbitrary number of sets of photographed image files are recorded and stored in a tree-type directory structure based on the DCF standard.

次に、DCF規格に基づくディレクトリの構成例について図2を参照して説明する。本例のデジタルカメラ100は、撮影画像を外部記録メディア9へ記録する際、DCF規格に基づくディレクトリ構成でディレクトリ及びファイルを管理する。ツリー型ディレクトリ構造の最上層にROOTディレクトリ10がある。ROOTディレクトリ10以外のディレクトリ及びファイルは必ずいずれかのディレクトリ内に格納される。ROOTディレクトリ10の直下には、DCFイメージルートディレクトリとしてDCIMディレクトリ11を格納する。さらに、DCIMディレクトリ11下に、101MSDCFディレクトリ12及び102MSDCFディレクトリ13を格納する。101MSDCFディレクトリ12内には、JPEG方式で圧縮した静止画ファイル14a,14b,…があり、これらのファイル群をファイルグループ14と称する。同様に、102MSDCFディレクトリ13内には、JPEG方式で圧縮した静止画ファイル15a,15b,…があり、これらのファイル群をファイルグループ15と称する。ユーザが撮影した静止画ファイルは、時系列でDCFディレクトリ12a又は12bに格納される。ここで、以降の説明では、DCFディレクトリを「ディレクトリ」と称する。また、ユーザがファイル操作を行う場合に、操作を行うファイルが格納されているディレクトリを「カレントディレクトリ」と称する。   Next, a configuration example of a directory based on the DCF standard will be described with reference to FIG. The digital camera 100 of this example manages directories and files with a directory structure based on the DCF standard when recording captured images on the external recording medium 9. The ROOT directory 10 is at the top layer of the tree-type directory structure. Directories and files other than the ROOT directory 10 are always stored in one of the directories. A DCIM directory 11 is stored directly under the ROOT directory 10 as a DCF image root directory. Further, 101MSDCF directory 12 and 102MSDCF directory 13 are stored under DCIM directory 11. In the 101MSDCF directory 12, there are still image files 14a, 14b,... Compressed by the JPEG method, and these file groups are referred to as file groups 14. Similarly, in the 102MSDCF directory 13, there are still image files 15a, 15b,... Compressed by the JPEG method, and these file groups are referred to as file groups 15. The still image file photographed by the user is stored in the DCF directory 12a or 12b in time series. Here, in the following description, the DCF directory is referred to as “directory”. In addition, when a user performs a file operation, a directory in which a file to be operated is stored is referred to as a “current directory”.

本例の情報を管理する技術は、あらかじめMSDCFディレクトリ12a及び12bに記録する際に撮影の枚数、容量、日数による制限値を設定しておく。そして、ファイルグループ13a又は13bが所定の制限値を超過した場合に、新たにMSDCFディレクトリを作成し、この作成したディレクトリに超過分のファイルを格納する。本例では、撮影画像を記録、保存する際に、撮影画像データ(画像ファイル)の格納先ディレクトリを随時移行できるように構成している。静止画ファイルは、ディレクトリに設定してある所定の制限値内でできるだけ詰めて格納する。本例のデジタルカメラ100は、自身で制限値の設定及びディレクトリ構成の変更処理を行う。   In the technology for managing information in this example, limit values based on the number of shots, capacity, and number of days are set in advance when recording in the MSDCF directories 12a and 12b. When the file group 13a or 13b exceeds a predetermined limit value, a new MSDCF directory is created, and excess files are stored in the created directory. In this example, when a captured image is recorded and saved, the storage destination directory of the captured image data (image file) can be transferred at any time. The still image file is stored as close as possible within a predetermined limit set in the directory. The digital camera 100 of this example performs limit value setting and directory configuration change processing by itself.

次に、撮影者による自動ディレクトリ生成処理用の制限枚数、制限容量、制限日数の設定処理の選択例について図3のフローチャートを参照して説明する。   Next, a selection example of the setting process of the limit number of sheets, the limit capacity, and the limit days for automatic directory generation processing by the photographer will be described with reference to the flowchart of FIG.

撮影の枚数、容量、日数による自動ディレクトリ生成処理を選択する操作が利用可能なデジタルカメラ100に対して撮影者は、外部記録メディア9を挿入した際、あるいはユーザによる設定画面操作時、電源投入時のいずれか任意のタイミングにおいて、記録メディア9で構成してある記録ディレクトリに対して、容量、枚数、日数のいずれかの制限によるディレクトリ自動作成処理を設定することになる。   For the digital camera 100 that can use an operation for selecting automatic directory generation processing based on the number of shots, capacity, and number of days, the photographer inserts the external recording medium 9, operates the setting screen by the user, or turns on the power. At any arbitrary timing, the directory automatic creation processing is set for the recording directory configured on the recording medium 9 according to any of the restrictions on the capacity, the number of sheets, and the number of days.

まず、制限選択画面を表示させる(ステップST1)。このとき、ユーザに対してはディレクトリ自動生成処理の有効無効の切り替え設定を行うため、問い合わせ表示が表示部8で行われる。表示部8への問い合わせ表示(ディレクトリの構成変更例)の詳細については後述する図8で説明する。   First, a restriction selection screen is displayed (step ST1). At this time, inquiries are displayed on the display unit 8 in order to perform switching setting for enabling / disabling the directory automatic generation processing for the user. Details of the inquiry display (directory configuration change example) on the display unit 8 will be described later with reference to FIG.

そして、ユーザのボタン操作による操作部7からの入力を処理して、ディレクトリに対して容量による制限値を設定するかどうかを判断する(ステップST2)。容量による制限値を設定する場合、フラッシュメモリ5の設定記録領域に値を保持する処理を行う(ステップST3)。この際に保持される値としては、制限値(容量)がある。容量による制限値を設定しない場合、ディレクトリに対して枚数による制限値を設定するかどうかを判断する(ステップST4)   Then, the input from the operation unit 7 by the user's button operation is processed, and it is determined whether or not the limit value based on the capacity is set for the directory (step ST2). When setting a limit value by capacity, a process of holding the value in the setting recording area of the flash memory 5 is performed (step ST3). As a value held at this time, there is a limit value (capacity). When the limit value based on the capacity is not set, it is determined whether or not the limit value based on the number of pages is set for the directory (step ST4).

枚数による制限値を設定する場合、フラッシュメモリ5の設定記録領域に値を保持する処理を行う(ステップST5)。この際に保持される値としては、制限値(枚数)がある。枚数による制限値を設定しない場合、ディレクトリに対して日数による制限値を設定するかどうかを判断する(ステップST6)   When setting the limit value based on the number of sheets, a process of holding the value in the set recording area of the flash memory 5 is performed (step ST5). As a value held at this time, there is a limit value (number of sheets). When the limit value based on the number of pages is not set, it is determined whether or not the limit value based on the number of days is set for the directory (step ST6).

日数による制限値を設定する場合、フラッシュメモリ5の設定記録領域に値を保持する処理を行う(ステップST7)。この際に保持される値としては、制限値(日数)がある。日数による制限値を設定しない場合、制限値の設定を解除して(ステップST8)処理を終了する。   When setting the limit value based on the number of days, a process of holding the value in the setting recording area of the flash memory 5 is performed (step ST7). The value held at this time includes a limit value (number of days). When the limit value based on the number of days is not set, the limit value setting is canceled (step ST8), and the process is terminated.

一方、枚数、容量、日数による制限値を設定した場合、以前の制限値の設定状態で既に撮影済みの画像データが存在するかどうかを確認する(ステップST9)。撮影済みの画像データが存在する場合、それらの格納先ディレクトリの容量を制限値内に収まるようにして(ステップST10)、処理を終了する。この処理は後述するディレクトリ内の画像が変更された場合の図7に示すディレクトリ再構成処理例と同一の処理となる。撮影済みの画像データが存在しない場合、処理を終了する。   On the other hand, when the limit value based on the number of sheets, the capacity, and the number of days is set, it is confirmed whether there is already image data that has been captured in the previous limit value setting state (step ST9). If captured image data exists, the capacity of the storage destination directory is set within the limit value (step ST10), and the process ends. This processing is the same as the directory reconfiguration processing example shown in FIG. 7 when an image in a directory to be described later is changed. If there is no captured image data, the process ends.

このように、デジタルカメラ100内部のフラッシュメモリ5に確保してある設定記録領域に保持される値としては、制限の種類(容量での制限・枚数での制限・日数での制限・無制限)および制限値(容量・枚数・日数)がある。   As described above, the value held in the setting recording area secured in the flash memory 5 in the digital camera 100 includes the type of restriction (capacity restriction, restriction on the number of sheets, restriction on the number of days, unlimited), and There are limit values (capacity, number of sheets, days).

次に、ディレクトリにファイル枚数制限が設定されたデジタルカメラ100を用いて撮影する際における、記録ディレクトリを決定する処理例について図4のフローチャートを参照して説明する。   Next, an example of processing for determining a recording directory when shooting using the digital camera 100 in which the file number limit is set in the directory will be described with reference to the flowchart of FIG.

本例の記録ディレクトリ決定処理では、枚数制限による自動ディレクトリ生成処理を行い、カレントディレクトリを決定し、ファイルを格納する。ここで、枚数制限による自動ディレクトリ生成処理とは、例えば一つのディレクトリに格納可能なファイル枚数を20ファイル以内と設定しておくことで、このディレクトリのデータ量が20ファイルを超過した場合に新たなディレクトリを作成する処理である。1つのディレクトリに対するファイル枚数はユーザ操作により任意に設定可能である。   In the recording directory determination process of this example, an automatic directory generation process based on the number limit is performed, the current directory is determined, and the file is stored. Here, the automatic directory generation processing based on the number limit is set, for example, by setting the number of files that can be stored in one directory to be within 20 files, and when the data amount of this directory exceeds 20 files, a new one is created. This is a process of creating a directory. The number of files for one directory can be arbitrarily set by a user operation.

まず、ユーザの撮影時において、フラッシュメモリ5の設定記録領域の値を参照し、ディレクトリの枚数制限による自動ディレクトリ生成設定が行われているかどうかを判断する(ステップST11)。制限がない場合、カレントディレクトリに撮影画像を保存する(ステップST16)。自動生成の設定が有効になっている場合、その制限値を参照し、カレントディレクトリのファイル枚数との比較を行う(ステップST12)。   First, at the time of shooting by the user, the value of the setting recording area of the flash memory 5 is referred to and it is determined whether or not automatic directory generation setting is performed due to the restriction on the number of directories (step ST11). If there is no restriction, the photographed image is saved in the current directory (step ST16). If the automatic generation setting is valid, the limit value is referred to and compared with the number of files in the current directory (step ST12).

比較後、カレントディレクトリのファイル枚数が設定したファイル枚数に到達しているかを確認する(ステップST13)。設定したファイル枚数に到達している場合には、現在のカレントディレクトリのディレクトリ名より、ディレクトリ番号をインクリメントしたディレクトリ名を持つ新規のディレクトリを作成し(ステップST14)、この新規ディレクトリをカレントディレクトリとする(ステップST15)。このように記録ディレクトリ作成処理が行われることで、これ以降の撮影画像は新規に作成されたディレクトリに保存される(ステップST16)。   After the comparison, it is confirmed whether the number of files in the current directory has reached the set number of files (step ST13). If the set number of files has been reached, a new directory having a directory name obtained by incrementing the directory number is created from the directory name of the current current directory (step ST14), and this new directory is set as the current directory. (Step ST15). By performing the recording directory creation process in this way, the subsequent captured images are stored in the newly created directory (step ST16).

次に、ディレクトリに容量制限が設定されたデジタルカメラ100を用いて撮影する際における、記録ディレクトリを決定する処理例について図5のフローチャートを参照して説明する。   Next, a processing example for determining a recording directory when shooting using the digital camera 100 in which the capacity limit is set for the directory will be described with reference to the flowchart of FIG.

本例の記録ディレクトリ決定処理では、容量制限による自動ディレクトリ生成処理を行い、カレントディレクトリを決定し、ファイルを格納する。容量制限による記録ディレクトリ生成処理とは、例えば一つのディレクトリに格納可能なデータ容量を5Mバイト以内と設定しておくことで、このディレクトリのデータ量が5Mバイトを超過した場合に新たなディレクトリを作成する処理である。1つのディレクトリに対するデータ容量はユーザ操作により任意に設定可能である。   In the recording directory determination processing of this example, automatic directory generation processing due to capacity limitation is performed, the current directory is determined, and the file is stored. Recording directory generation processing due to capacity restrictions means, for example, that the data capacity that can be stored in one directory is set to within 5 MB, and a new directory is created when the data volume of this directory exceeds 5 MB. It is processing to do. The data capacity for one directory can be arbitrarily set by a user operation.

まず、ユーザの撮影時において、フラッシュメモリ5の設定記録領域の値を参照し、ディレクトリの容量制限による自動ディレクトリ生成設定が行われているかどうかを判断する(ステップST21)。制限がない場合、カレントディレクトリに撮影画像を保存する(ステップST26)。自動生成の設定が有効になっている場合、その制限値を参照し、カレントディレクトリのファイルサイズの総容量との比較を行う(ステップST22)。   First, at the time of shooting by the user, the value of the setting recording area of the flash memory 5 is referred to, and it is determined whether or not automatic directory generation setting due to directory capacity limitation is performed (step ST21). If there is no restriction, the photographed image is saved in the current directory (step ST26). When the automatic generation setting is valid, the limit value is referred to and compared with the total file size of the current directory (step ST22).

比較後、カレントディレクトリのファイルサイズの総容量が設定したディレクトリ容量に到達しているかを確認する(ステップST23)。設定したディレクトリ容量に到達している場合には、現在のカレントディレクトリのディレクトリ名より、ディレクトリ番号をインクリメントしたディレクトリ名を持つ新規のディレクトリを作成し(ステップST24)、この新規ディレクトリをカレントディレクトリとする(ステップST25)。このように記録ディレクトリ作成処理が行われることで、これ以降の撮影画像は新規に作成されたディレクトリに保存される(ステップST26)。   After the comparison, it is confirmed whether the total capacity of the file size of the current directory has reached the set directory capacity (step ST23). If the set directory capacity has been reached, a new directory having a directory name obtained by incrementing the directory number is created from the directory name of the current current directory (step ST24), and this new directory is set as the current directory. (Step ST25). By performing the recording directory creation process in this way, the subsequent captured images are stored in the newly created directory (step ST26).

次に、ディレクトリに日数制限が設定されたデジタルカメラ100を用いて撮影する際における、記録ディレクトリを決定する処理例について図6のフローチャートを参照して説明する。画像ファイルには、撮影した際に日付情報が付加されるため、日付指定によるディレクトリの分類が可能である。   Next, an example of processing for determining a recording directory when shooting using the digital camera 100 in which the number of days is set in the directory will be described with reference to the flowchart of FIG. Since date information is added to the image file when the image is taken, the directory can be classified by specifying the date.

本例の記録ディレクトリ決定処理では、日数制限による自動ディレクトリ生成処理を行い、カレントディレクトリを決定し、ファイルを格納する。日数制限による記録ディレクトリ生成処理とは、日付情報を付与した画像データを用いる場合に、例えば一つのディレクトリに格納可能な日数期間を3月3日〜3月4日と設定しておく。そして、撮影した日時が3月5日であるならば、新たにディレクトリを作成する処理である。1つのディレクトリに対する日数期間はユーザ操作により任意に設定可能である。   In the recording directory determination process of this example, an automatic directory generation process with the number of days is performed, the current directory is determined, and the file is stored. In the recording directory generation process based on the number of days limitation, when using image data with date information, for example, the number of days that can be stored in one directory is set as March 3 to March 4. If the date and time when the image was taken is March 5, it is a process of creating a new directory. The number of days for one directory can be arbitrarily set by a user operation.

まず、ユーザの撮影時において、フラッシュメモリ5の設定記録領域の値を参照し、ディレクトリの日数制限による自動ディレクトリ生成設定が行われているかどうかを判断する(ステップST31)。制限がない場合、カレントディレクトリに撮影画像を保存する(ステップST36)。自動生成の設定が有効になっている場合、その制限値を参照し、カレントディレクトリの日時情報との比較を行う(ステップST32)。   First, at the time of shooting by the user, the value of the setting recording area of the flash memory 5 is referred to and it is determined whether or not automatic directory generation setting based on the directory number limit is performed (step ST31). If there is no restriction, the photographed image is saved in the current directory (step ST36). If the automatic generation setting is valid, the limit value is referred to and compared with the date / time information of the current directory (step ST32).

比較後、カレントディレクトリのファイルの日付情報が設定した日数期間内であるかを確認する(ステップST33)。設定した日数期間に到達している場合には、現在のカレントディレクトリのディレクトリ名より、ディレクトリ番号をインクリメントしたディレクトリ名を持つ新規のディレクトリを作成し(ステップST34)、この新規ディレクトリをカレントディレクトリとする(ステップST35)。このように記録ディレクトリ作成処理が行われることで、これ以降の撮影画像は新規に作成されたディレクトリに保存される(ステップST36)。   After the comparison, it is confirmed whether the date information of the files in the current directory is within the set number of days (step ST33). If the set number of days has been reached, a new directory having a directory name obtained by incrementing the directory number is created from the directory name of the current current directory (step ST34), and this new directory is set as the current directory. (Step ST35). By performing the recording directory creation process in this way, the subsequent captured images are stored in the newly created directory (step ST36).

次に、ディレクトリの制限値設定が変更された場合、または画像を閲覧する場合にディレクトリを再構成する処理例について図7のフローチャートを参照して説明する。   Next, an example of processing for reconfiguring a directory when the limit value setting of the directory is changed or when viewing an image will be described with reference to the flowchart of FIG.

デジタルカメラ100での画像閲覧時に、ディレクトリ内の画像ファイルに対して追加(分割等)、削除、リサイズ等の処理が施された場合、デジタルカメラ100は、ディレクトリの再構成を行う。また、記録メディア9をデジタルカメラ100から取り外し、コンピュータ装置等で画像の削除、編集をした後、デジタルカメラ100に取り付けると、ディレクトリに設定した制限値と、実際のディレクトリ構成の内容が異なってしまう可能性が生じる。このため、画像閲覧時には、ディレクトリ構成を把握し、必要に応じてディレクトリ構成を変更する必要がある。   When an image file in the directory is browsed (added or divided), deleted, resized, or the like when the digital camera 100 browses the image, the digital camera 100 reconfigures the directory. Also, if the recording medium 9 is removed from the digital camera 100, and the image is deleted or edited with a computer device or the like and then attached to the digital camera 100, the limit value set in the directory and the contents of the actual directory structure will be different. A possibility arises. For this reason, when browsing images, it is necessary to grasp the directory structure and change the directory structure as necessary.

ディレクトリ内の画像ファイルに対して何らかの処理が行われた場合には、フラッシュメモリ5の設定記録領域の値を参照し、ファイル枚数・容量の制限による自動ディレクトリ生成設定が行われているかどうかを判断する(ステップST41)。制限設定がされていない場合は、処理を終了する。なお、日数による制限が行われている場合は、撮影日数情報は、画像ファイルへの編集処理では変化が加わらないため、ディレクトリの再構成を行わなくてもよい。   When any processing is performed on the image file in the directory, the value of the setting recording area of the flash memory 5 is referred to and it is determined whether automatic directory generation setting is performed due to the limitation on the number of files and the capacity. (Step ST41). If no restriction is set, the process ends. Note that, when the restriction is based on the number of days, the shooting day information is not changed in the editing process on the image file, and therefore the directory need not be reconfigured.

ファイル枚数・容量の制限設定がされている場合は、画像ファイルの変更処理が行われたディレクトリ内のファイル枚数・容量の制限値との比較を行う(ステップST42)。比較結果より、制限値と一致する場合(ステップST43)には、その時点で処理を終了する。現在のディレクトリ内のファイル枚数・容量が制限値より少ない場合(ステップST43)には、自動ディレクトリ生成機能により最後に作成されたディレクトリかどうかを判断し(ステップST44)、最終ディレクトリである場合には、その時点で処理を終了する。   If the restriction on the number of files / capacity is set, the comparison is made with the limit value of the number of files / capacity in the directory where the image file change processing has been performed (step ST42). If the result of the comparison matches the limit value (step ST43), the process ends at that point. If the number of files / capacity in the current directory is smaller than the limit value (step ST43), it is determined whether the directory is the last directory created by the automatic directory generation function (step ST44). At this point, the process is terminated.

画像ファイルの変更処理が行われたディレクトリが最終ディレクトリでない場合は、ディレクトリ番号で一つ上のディレクトリ内に存在する、先頭の画像ファイルを現在のカレントディレクトリに移動する処理を行う(ステップST45)。そして、再度ディレクトリ内のファイル枚数・容量と、設定した制限値との比較(ステップST42)による処理を繰り返す。   If the directory in which the image file change process has been performed is not the final directory, a process of moving the first image file existing in the directory one directory number higher to the current current directory is performed (step ST45). Then, the process by comparing the number of files / capacity in the directory with the set limit value (step ST42) is repeated again.

比較結果より、制限値を超えている場合(ステップST43)には、現在のディレクトリが自動ディレクトリ生成機能により最後に作成されたディレクトリかどうかを判断する(ステップST46)。最後のディレクトリである場合は、ディレクトリ番号を1つインクリメントした新しいディレクトリの作成処理を行い(ステップST47)、現在のディレクトリ内の最後の画像ファイルを新規ディレクトリに移動させる処理を行う(ステップST48)。   If the comparison result indicates that the limit value is exceeded (step ST43), it is determined whether or not the current directory is the last directory created by the automatic directory generation function (step ST46). If it is the last directory, a new directory is created by incrementing the directory number by one (step ST47), and the last image file in the current directory is moved to the new directory (step ST48).

その後、カレントディレクトリをディレクトリ番号をインクリメントしたディレクトリに変更し(ステップST49)、再度ディレクトリ内のファイル枚数・容量と、設定した制限値との比較(ステップST42)より処理を繰り返す。   Thereafter, the current directory is changed to a directory in which the directory number is incremented (step ST49), and the process is repeated again by comparing the number of files / capacity in the directory with the set limit value (step ST42).

最終ディレクトリ番号をインクリメントして新規ディレクトリを作成する場合、DCF規格においてはディレクトリ番号の欠番を許可しているため、ディレクトリは連番で構成されない可能性がある。つまり、最終ディレクトリと判断したディレクトリ番号の飛び番で既存ディレクトリが存在する可能性がある。このため、最終ディレクトリまでディレクトリ全体をスキャンした上で最終ディレクトリのディレクトリ番号を判断するようにする。   When a new directory is created by incrementing the final directory number, directory numbers may not be configured because the DCF standard allows missing directory numbers. In other words, there is a possibility that an existing directory exists with the skip number of the directory number determined as the final directory. Therefore, the directory number of the final directory is determined after scanning the entire directory up to the final directory.

ここで、ディレクトリの構成変更例について図2を参照し、具体的な数値を挙げて説明する。例えば、1つのディレクトリに対して5Mバイトまでの容量制限が設定されているとする。このとき、画像ファイルのデータ量が500Kバイトであるならば、5Mバイト/500Kバイト=10個より、1つのディレクトリには、最大10個の画像ファイルを格納することが出来る。画像ファイルは時系列でファイル名称がつけられるため他ディレクトリに格納してある画像ファイルのファイル名称が重複することはない。今、ファイルグループ13a,13bにはそれぞれ10個ずつ、計20個の画像ファイルが格納してある場合、MSDCFディレクトリ12a,12bにはこれ以上の画像ファイルを格納することができない。なお、最終ディレクトリはMSDCFディレクトリ12bであるとする。   Here, an example of directory configuration change will be described with reference to FIG. For example, assume that a capacity limit of up to 5 Mbytes is set for one directory. At this time, if the data amount of the image file is 500 Kbytes, a maximum of 10 image files can be stored in one directory from 5 Mbytes / 500 Kbytes = 10. Since image files are given time-sequential file names, the file names of image files stored in other directories do not overlap. If a total of 20 image files are stored in the file groups 13a and 13b, respectively, no more image files can be stored in the MSDCF directories 12a and 12b. Note that the final directory is the MSDCF directory 12b.

今、ユーザが1つのディレクトリに対して4Mバイトまでの容量制限に設定変更したとする。この場合、ファイルグループ13a,13bには、4Mバイト/500Kバイト=8個より、それぞれ最大8個までの画像ファイルしか格納できなくなる。このため、最終ディレクトリのディレクトリ番号をインクリメントした図示しない新しいディレクトリ(例えば、「103MSDCFディレクトリ」)を自動的に作成し、このディレクトリに容量超過分の画像ファイル(本例では、設定変更前のMSDCFディレクトリ12bに格納していた4個分の画像ファイル)を格納することとなる。   Assume that the user changes the setting to a capacity limit of 4 Mbytes for one directory. In this case, the file groups 13a and 13b can store only up to 8 image files, each of 4M bytes / 500K bytes = 8. For this reason, a new directory (not shown) (for example, “103MSDCF directory”) in which the directory number of the final directory is incremented is automatically created, and an image file with an excess capacity is created in this directory (in this example, the MSDCF directory before the setting change). 4 image files stored in 12b).

また、ユーザが1つのディレクトリに対して10Mバイトまでの容量制限に設定変更したとする。この場合、ファイルグループ13a,13bには、10Mバイト/500Kバイト=20個より、それぞれ最大20個までの画像ファイルを格納することができる。このため、MSDCFディレクトリ12bに格納していた画像ファイルは全てMSDCFディレクトリ12aに格納可能であり、MSDCFディレクトリ12bは格納してある画像ファイルが0個となる。このように画像ファイルが0個となったMSDCFディレクトリ12bは、削除することで不要なディレクトリをなくすようにする。   Also, assume that the user changes the setting to a capacity limit of 10 Mbytes for one directory. In this case, up to 20 image files can be stored in each of the file groups 13a and 13b from 10 Mbytes / 500 Kbytes = 20. Therefore, all the image files stored in the MSDCF directory 12b can be stored in the MSDCF directory 12a, and the MSDCF directory 12b has zero stored image files. Thus, the MSDCF directory 12b having zero image files is deleted to eliminate unnecessary directories.

また、日数、枚数の制限値についても具体的に数値を入力して設定することができる。容量、枚数制限については、具体的な数値を入れる代わりに「ゲーム機」、「携帯電話機」,…などの表示部を搭載して画像の再生を行う電子機器の種類を指定することで、制限値の設定変更を行うことも可能である。   Also, the limit values for the number of days and the number of sheets can be set by inputting specific numerical values. The capacity and number of copies can be restricted by specifying the type of electronic device that is equipped with a display unit such as “game machine”, “mobile phone”,. It is also possible to change the value setting.

ここで、画面操作による制限値の設定例について図8を参照して説明する。図8は、本例のデジタルカメラ100の表示部8に表示する各種のメニュー項目を示す。ユーザは、操作部7をキー操作して必要なメニューを選択する。まずメニューM1より、デジタルカメラ100の各種設定操作を選択する。今、「メモリ」を選択した場合、メニュー名称M2に「セットアップ(メモリ)」と表示される。本例では、この「メモリ」を選択することでディレクトリに対する制限値の設定を行うことができる。   Here, an example of setting a limit value by screen operation will be described with reference to FIG. FIG. 8 shows various menu items displayed on the display unit 8 of the digital camera 100 of this example. The user selects a necessary menu by operating the operation unit 7 with keys. First, various setting operations of the digital camera 100 are selected from the menu M1. If “memory” is selected now, “setup (memory)” is displayed in the menu name M2. In this example, the limit value for the directory can be set by selecting this “memory”.

メニューM3には、「メモリ」メニューにおける各種の設定メニューを選択可能であり、今、「制限値設定」メニューを選択する。そして、ユーザは、メニューM4で[制限値設定」のオン、オフを切り換えることが可能であり、今は、オン設定している。オフ設定時は無制限となり、1つのディレクトリに無制限にファイルが格納される。メニューM5には、各種の制限値設定メニューが表示される。今、制限値設定メニューとして、「日数」、「枚数」、「容量」、「モニタ付ゲーム機」、「携帯電話機」、「デジタルカメラ」、「PDA」、「DVDレコーダ」、「モニタ付プリンタ」といった項目が表示してあり、外部記録メディア9をデジタルカメラ100から取り外し、他機種に応じた閲覧性能もしくは展開メモリの違いに応じて設定可能である。ユーザは上下キーM6で隠れた項目を表示できる。そして、ユーザは上下移動させる選択バーM7より、「PDA」を選択している。こうして「PDA」で画像を閲覧表示させる際に最適な表示ができるように、制限値が設定される。このとき、PDAのようなRAMの容量が小さく、サムネイル画像の展開に時間を要するような電子機器の場合であっても速やかに画像を展開することができる。   As the menu M3, various setting menus in the “memory” menu can be selected, and the “limit value setting” menu is now selected. The user can switch ON / OFF of “limit value setting” in the menu M4, and is now set to ON. When set to OFF, there is no limit, and unlimited files are stored in one directory. Various limit value setting menus are displayed on the menu M5. Now, as limit value setting menu, “days”, “number of sheets”, “capacity”, “game machine with monitor”, “mobile phone”, “digital camera”, “PDA”, “DVD recorder”, “printer with monitor” And the external recording medium 9 can be removed from the digital camera 100, and can be set according to the browsing performance or the development memory according to other models. The user can display hidden items with the up and down keys M6. The user selects “PDA” from the selection bar M7 to be moved up and down. In this way, the limit value is set so that the optimum display can be performed when the image is browsed and displayed by “PDA”. At this time, even in the case of an electronic device in which the capacity of a RAM such as a PDA is small and it takes time to develop thumbnail images, the images can be quickly developed.

ディレクトリ構成の設定変更を行っても、画像ファイル自体の編集をするわけではなく、パス情報を変更するだけであるため、少ない処理量で設定変更が可能である。このため、それぞれの設定に応じて適切な制限値を用いてディレクトリ管理することができる。   Even if the directory configuration is changed, the image file itself is not edited, but only the path information is changed. Therefore, the setting can be changed with a small amount of processing. Therefore, directory management can be performed using an appropriate limit value according to each setting.

このようにすることで、ディレクトリに対して設定した制限値に応じて適切にファイルを格納することが可能となった。   This makes it possible to store files appropriately according to the limit values set for the directory.

以上説明した本実施の形態によると、外部記録メディアの使用前に使用者が手持ちのPDAにあわせてディレクトリ毎の総容量の値に予め制限を設定しておくことで、撮影中あるいはデジタルカメラ上での閲覧・編集作業時に画像データの格納場所を意識することなく撮影・閲覧編集しても、PDA等の携帯情報端末による該当メディア内の画像データ閲覧については常に表示不能状態を回避でき、最適な状態で閲覧できるという効果がある。   According to the present embodiment described above, the user can set a limit in advance on the total capacity value for each directory in accordance with the PDA held by the user before using the external recording medium. Even when shooting / viewing / editing without being aware of the storage location of image data when browsing / editing on the Internet, it is possible to always avoid undisplayable states when browsing image data in the corresponding media using a PDA or other portable information terminal. There is an effect that it can be viewed in a simple state.

また、画像データのバックアップを取る際、容量制限のあるネットワーク上の共有ディレクトリなどへのデータアップロードを伴うバックアップ作業を行う場合や、光ディスク記録メディアへのバックアップを行う場合には、容量指定を各記録ディスクの容量に合わせることで、容量調整を必要とせずに処理することができるという効果がある。   When backing up image data, when performing backup work that involves uploading data to a shared directory on a network with limited capacity, or when backing up to optical disk recording media, specify the capacity specification for each recording. By matching to the capacity of the disk, there is an effect that processing can be performed without requiring capacity adjustment.

また、機種ごとにサムネイル表示した場合に閲覧できる枚数が異なるため、事前に画像閲覧を行う他の電子機器の枚数制限値を設定することで、他の電子機器においても速やかに画像閲覧を可能とするという効果がある。   In addition, since the number of images that can be viewed differs depending on the model, the number of images that can be viewed is different, so by setting a limit value for the number of other electronic devices that perform image viewing in advance, it is possible to quickly view images on other electronic devices as well. There is an effect of doing.

また、日数ごとにディレクトリに格納するファイルを制限するようにしたため、例えば、記録メディア9を取り外し、大画面で演算能力の高いコンピュータ装置に記録メディア9を装着すると、ユーザはイベント単位で内容の確認が出来るという効果がある。   In addition, since the number of files stored in the directory is limited every day, for example, when the recording medium 9 is removed and the recording medium 9 is mounted on a computer device having a large screen and high computing capacity, the user can check the contents in units of events. There is an effect that can be.

また、ディレクトリに対する制限値について、任意に制限枚数、制限容量、制限日数を切り換え設定することが可能である。このため、ユーザの使用状況に応じて適切に制限値を切り換えることでユーザの利便性を向上させる効果がある。   In addition, regarding the limit value for the directory, it is possible to arbitrarily switch and set the limit number, limit capacity, and limit days. For this reason, there exists an effect which improves a user's convenience by switching a limit value appropriately according to a user's use condition.

なお、上述した実施の形態では、静止画を撮影可能なデジタルカメラに適用した例としたが、動画像の撮影機能が付加されたデジタルカメラや、DVDレコーダ等の電子機器に適用しても同様の効果を得ることができる。   In the above-described embodiment, the present invention is applied to a digital camera capable of capturing a still image. However, the present invention is similarly applied to a digital camera to which a moving image capturing function is added and an electronic device such as a DVD recorder. The effect of can be obtained.

また、上述した実施の形態では、DCF規格のデジタルカメラに適用した例としたが、その他の規格のデジタルカメラに適用しても同様の効果を得ることができる。   In the above-described embodiment, the present invention is applied to a DCF standard digital camera. However, the same effect can be obtained even if the present invention is applied to other standard digital cameras.

また、上述した実施の形態では、ディレクトリに対する日数制限を行うようにしたが、時間情報を元に時間ごとのディレクトリ設定を行うようにしてもよい。このとき、例えば3時間ごとのように数値設定したり、朝、昼、夜や午前、午後のように大まかに分類したりすることも可能である。   In the above-described embodiment, the number of days for the directory is limited. However, the directory setting for each hour may be performed based on the time information. At this time, it is also possible to set numerical values, for example, every 3 hours, or to roughly classify such as morning, noon, night, morning, or afternoon.

また、上述した実施の形態では、図8において、複数種類の電子機器ごとに制限値の設定を行うようにしたが、電子機器の製造メーカ、型番ごとに適切な制限値を設定するようにしてもよい。さらに、デジタルカメラ100にネットワーク接続可能な外部インタフェースを備えて、随時バージョンアップ可能とすることで、電子機器の制限値の更新、電子機器の種類の追加等を行うようにしてもよい。あるいは、記録メディア9に同様のバージョンアッププログラムを格納し、記録メディア9の装着時にバージョンアップを行うようにしてもよい。   In the above-described embodiment, the limit value is set for each of a plurality of types of electronic devices in FIG. 8, but an appropriate limit value is set for each electronic device manufacturer and model number. Also good. Furthermore, the digital camera 100 may be provided with an external interface that can be connected to the network so that the version can be upgraded at any time, thereby updating the limit value of the electronic device, adding the type of electronic device, and the like. Alternatively, a similar upgrade program may be stored in the recording medium 9 so that the upgrade is performed when the recording medium 9 is mounted.

本発明の一実施の形態におけるデジタルカメラの内部構成例を示したブロック図である。It is the block diagram which showed the example of an internal structure of the digital camera in one embodiment of this invention. 本発明の一実施の形態におけるディレクトリの構成例を示した説明図である。It is explanatory drawing which showed the structural example of the directory in one embodiment of this invention. 本発明の一実施の形態における制限枚数、制限容量、制限日数の設定処理の選択例を示したフローチャートである。It is the flowchart which showed the selection example of the setting process of the limit number of sheets, limit capacity, and limit days in one embodiment of this invention. 本発明の一実施の形態における制限値(枚数)での記録ディレクトリ設定処理例を示したフローチャートである。It is the flowchart which showed the example of a recording directory setting process by the limit value (number of sheets) in one embodiment of this invention. 本発明の一実施の形態における制限値(容量)での記録ディレクトリ設定処理例を示したフローチャートである。It is the flowchart which showed the example of a recording directory setting process in the limit value (capacity) in one embodiment of this invention. 本発明の一実施の形態における制限値(日数)での記録ディレクトリ設定処理例を示したフローチャートである。It is the flowchart which showed the example of a recording directory setting process in the limit value (days) in one embodiment of this invention. 本発明の一実施の形態におけるディレクトリの再構成処理例を示したフローチャートである。It is the flowchart which showed the example of the reconstruction process of the directory in one embodiment of this invention. 本発明の一実施の形態における画面操作による制限値設定例を示した説明図である。It is explanatory drawing which showed the example of a limit value setting by screen operation in one embodiment of this invention.

符号の説明Explanation of symbols

1…光学部、2…CCD、3…A/D変換部、4…信号処理回路、5…フラッシュメモリ、6…CPU、7…操作部、8…表示部、9…記録メディア、10…ROOTディレクトリ、11…DCIMディレクトリ、12,13…MSDCFディレクトリ、14,15…ファイルグループ、14a,14b,15a,15b…ファイル、100…デジタルカメラ   DESCRIPTION OF SYMBOLS 1 ... Optical part, 2 ... CCD, 3 ... A / D conversion part, 4 ... Signal processing circuit, 5 ... Flash memory, 6 ... CPU, 7 ... Operation part, 8 ... Display part, 9 ... Recording medium, 10 ... ROOT Directory, 11 ... DCIM directory, 12, 13 ... MSDCF directory, 14,15 ... File group, 14a, 14b, 15a, 15b ... File, 100 ... Digital camera

Claims (8)

撮像部で撮像された画像ファイルを、ツリー型構造のディレクトリで管理し、着脱可能な記録媒体に保存する情報管理装置において、
前記記録媒体内の一つのディレクトリに格納される画像ファイルの所定の制限値を設定する設定部と、
前記設定部により設定された一つのディレクトリに格納可能な画像ファイルの総データ容量の制限値を記憶する記憶部と、
特定ディレクトリに格納された画像ファイルの総データ容量と、前記記憶部に記憶されている制限値とを、当該情報管理装置の所定の動作タイミングで比較し、その比較結果に応じて前記ツリー型構造のディレクトリで管理される最終ディレクトリの次に新規ディレクトリを適宜追加する制御部とを備えることを特徴とする
情報管理装置。
In an information management apparatus that manages an image file captured by an imaging unit in a tree-type directory and stores it in a removable recording medium,
A setting unit for setting a predetermined limit value of the image file stored in one directory in the recording medium;
A storage unit that stores a limit value of the total data capacity of image files that can be stored in one directory set by the setting unit;
The total data capacity of the image file stored in the specific directory and the limit value stored in the storage unit are compared at a predetermined operation timing of the information management apparatus, and the tree-type structure according to the comparison result And a control unit for adding a new directory as appropriate after the last directory managed by the directory.
請求項1記載の情報管理装置において、
前記所定の動作タイミングは、前記撮像部による画像撮像時であって、
前記制御部は、前記ツリー型ディレクトリ構造の最終ディレクトリに格納されている画像ファイルの総データ容量が前記制限値を超えている場合、前記最終ディレクトリの次に新規ディレクトリを作成し、該新規ディレクトリに前記撮像処理により生成された画像ファイルを格納し、
前記最終ディレクトリに格納されている画像ファイルの総データ容量が前記制限値を超えていない場合、前記撮像部の画像撮像により生成された画像ファイルを前記最終ディレクトリに格納することを特徴とする
情報管理装置。
The information management device according to claim 1,
The predetermined operation timing is when an image is captured by the imaging unit,
When the total data capacity of the image file stored in the final directory of the tree-type directory structure exceeds the limit value, the control unit creates a new directory after the final directory, and stores the new directory in the new directory. Store the image file generated by the imaging process,
When the total data capacity of the image file stored in the final directory does not exceed the limit value, the image file generated by the image capturing of the image capturing unit is stored in the final directory. apparatus.
請求項1記載の情報管理装置において、
前記所定の動作タイミングは、前記ツリー型構造のディレクトリで管理された画像ファイルが編集された時、又は前記ツリー型構造のディレクトリによるファイル管理が行われている前記記録媒体が当該情報管理装置に装着された時であって、
前記制御部は、前記比較の対象とされたディレクトリに格納してある前記画像ファイルの総データ容量が前記制限値を超え、かつ前記対象ディレクトリが最終ディレクトリである場合、該最終ディレクトリの次に新規ディレクトリを作成し、前記新規ディレクトリに前記制限値を超過した分の画像ファイルを移動させ、
前記対象ディレクトリが最終ディレクトリではない場合、前記対象ディレクトリの次のディレクトリに前記制限値を超過した分の画像ファイルを移動させることを特徴とする
情報管理装置。
The information management device according to claim 1,
The predetermined operation timing is determined when an image file managed in the tree-type structure directory is edited, or when the recording medium in which file management is performed by the tree-type structure directory is attached to the information management apparatus When
When the total data capacity of the image file stored in the directory to be compared exceeds the limit value and the target directory is the final directory, the control unit is newly added next to the final directory. Create a directory, move the image files that exceed the limit value to the new directory,
When the target directory is not the final directory, the image file corresponding to the limit value is moved to a directory next to the target directory.
請求項1記載の情報管理装置において、
前記制御部は、前記比較の対象とされたディレクトリに格納してある前記画像ファイルの総データ容量が前記制限値未満であり、かつ前記対象ディレクトリが最終ディレクトリの場合、ファイル管理処理を終了し、
前記対象ディレクトリが最終ディレクトリではない場合、前記対象ディレクトリの次のディレクトリに格納してある先頭画像ファイルを前記対象ディレクトリに移動させることを特徴とする
情報管理装置。
The information management device according to claim 1,
The control unit ends the file management process when the total data capacity of the image file stored in the directory to be compared is less than the limit value and the target directory is the final directory,
When the target directory is not the final directory, an information management apparatus is configured to move a first image file stored in a directory next to the target directory to the target directory.
請求項1記載の情報管理装置において、
前記制御部は、前記比較の対象とされたディレクトリに格納してある前記画像ファイルの総データ容量が前記設定された制限値と一致する場合、ファイル管理処理を終了することを特徴とする
情報管理装置。
The information management device according to claim 1,
The control unit ends the file management process when the total data capacity of the image file stored in the directory subjected to the comparison matches the set limit value. apparatus.
請求項1記載の情報管理装置において、
前記記憶部はさらに、前記記録媒体内の一つのディレクトリに格納可能な画像ファイルの総枚数の制限値と、一つのディレクトリに格納可能な画像ファイルの日数の制限値を記憶しており、
前記制御部は、前記記憶部に記憶された前記記録媒体内の一つのディレクトリに格納可能な画像ファイルの総データ容量の制限値、又はその総枚数の制限値、又はその日数の制限値の中から選択された制限値に基づいて、
特定ディレクトリに格納された画像ファイルの値と、前記選択された制限値とを、当該情報管理装置の所定の動作タイミングで比較し、その比較結果に応じて前記ツリー型構造のディレクトリで管理される最終ディレクトリの次に新規ディレクトリを適宜追加することを特徴とする
情報管理装置。
The information management device according to claim 1,
The storage unit further stores a limit value of the total number of image files that can be stored in one directory in the recording medium and a limit value of the number of days of image files that can be stored in one directory.
The control unit includes a limit value for the total data capacity of image files that can be stored in one directory in the recording medium stored in the storage unit, a limit value for the total number of images, or a limit value for the number of days. Based on the limits selected from
The value of the image file stored in the specific directory is compared with the selected limit value at a predetermined operation timing of the information management apparatus, and is managed in the tree-type structure directory according to the comparison result. A new directory is appropriately added after the last directory.
請求項1記載の情報管理装置において、
前記新規ディレクトリの追加は、前記最終ディレクトリに付与してあるディレクトリ番号に一定値を加算したディレクトリ番号を付与したディレクトリを新たに作成して行われることを特徴とする
情報管理装置。
The information management device according to claim 1,
The information management apparatus is characterized in that the addition of the new directory is performed by newly creating a directory assigned with a directory number obtained by adding a certain value to the directory number assigned to the final directory.
撮像部で撮像された画像ファイルを、ツリー型構造のディレクトリで管理し、着脱可能な記録媒体に保存する情報管理方法において、
前記記録媒体内の一つのディレクトリに格納される画像ファイルの所定の制限値を設定し、
設定された一つのディレクトリに格納可能な画像ファイルの総データ容量の制限値を記憶し、
特定ディレクトリに格納された画像ファイルの総データ容量と、記憶されている制限値とを、所定の動作タイミングで比較し、その比較結果に応じて前記ツリー型ディレクトリ構造の最終ディレクトリの次に新規ディレクトリを適宜追加することを特徴とする
情報管理方法。
In an information management method for managing an image file captured by an imaging unit in a tree-type directory and storing it in a removable recording medium,
Set a predetermined limit value of image files stored in one directory in the recording medium,
Store the limit value of the total data capacity of image files that can be stored in one set directory,
The total data capacity of the image file stored in the specific directory is compared with the stored limit value at a predetermined operation timing, and a new directory is added next to the last directory of the tree-type directory structure according to the comparison result. An information management method characterized by adding as appropriate.
JP2005215969A 2005-07-26 2005-07-26 Information management apparatus and method Pending JP2007036581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005215969A JP2007036581A (en) 2005-07-26 2005-07-26 Information management apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005215969A JP2007036581A (en) 2005-07-26 2005-07-26 Information management apparatus and method

Publications (1)

Publication Number Publication Date
JP2007036581A true JP2007036581A (en) 2007-02-08

Family

ID=37795301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005215969A Pending JP2007036581A (en) 2005-07-26 2005-07-26 Information management apparatus and method

Country Status (1)

Country Link
JP (1) JP2007036581A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238099A (en) * 2008-03-28 2009-10-15 Konica Minolta Business Technologies Inc File storing method, file storage system, and computer program executable on master file combination device
JP2010092118A (en) * 2008-10-03 2010-04-22 Canon Inc Content management method, content management device, and program
JP2010250602A (en) * 2009-04-16 2010-11-04 Canon Inc Recording device, file management method and program
JP2011234167A (en) * 2010-04-28 2011-11-17 Canon Inc Information recording apparatus, file management method, and file management program
KR101365438B1 (en) * 2007-11-27 2014-02-20 삼성전자주식회사 Method and apparatus for allowing media transfer protocol device to manage media file

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101365438B1 (en) * 2007-11-27 2014-02-20 삼성전자주식회사 Method and apparatus for allowing media transfer protocol device to manage media file
JP2009238099A (en) * 2008-03-28 2009-10-15 Konica Minolta Business Technologies Inc File storing method, file storage system, and computer program executable on master file combination device
JP2010092118A (en) * 2008-10-03 2010-04-22 Canon Inc Content management method, content management device, and program
JP2010250602A (en) * 2009-04-16 2010-11-04 Canon Inc Recording device, file management method and program
JP2011234167A (en) * 2010-04-28 2011-11-17 Canon Inc Information recording apparatus, file management method, and file management program

Similar Documents

Publication Publication Date Title
JP4393588B2 (en) System, method, and computer-readable medium for correlating processing data and image data in a digital camera device
US6914625B1 (en) Method and apparatus for managing image categories in a digital camera to enhance performance of a high-capacity image storage media
JP4914378B2 (en) Information processing apparatus and method, program, and storage medium
KR101234988B1 (en) Information processing apparatus and method, and recording medium
US20120102076A1 (en) Information processing apparatus, information processing method, and program
JP4196303B2 (en) Display control apparatus and method, and program
KR20080060155A (en) Information processing apparatus, information processing method, and program
US20060227223A1 (en) Image reproducing apparatus
JP4696967B2 (en) Display device, display method, and program
JPH0998367A (en) Signal processing unit
JP2007036581A (en) Information management apparatus and method
JP2002209163A (en) Electronic album display method, electronic camera provided with electronic album function, and electronic album system
KR20070026205A (en) Information processing apparatus and method, and program
JP4595936B2 (en) Information processing apparatus, information processing method, and program
JP4674728B2 (en) Image selecting apparatus, image selecting apparatus control method, program, and recording medium
JP2004312367A (en) Digital camera, data synchronizing system, data synchronizing method
JP4481226B2 (en) Image management device
JP2001236252A (en) Method for converting format of image and recording medium with its program recorded
JP2007189340A (en) Image display apparatus, image display method, and program
JP2002135711A (en) Electronic camera device and recording medium
JP5395550B2 (en) Imaging apparatus, information processing apparatus, data communication method, and program
JP4455177B2 (en) Information recording apparatus and control method thereof
JP2005175957A (en) Image management device, digital camera, and image management method
JP2002354309A (en) Digital camera link system and record medium recording image data processing program
JP2000339344A (en) Image reading and storing device