JP4574382B2 - Information retrieval apparatus, control method therefor, program, and storage medium - Google Patents
Information retrieval apparatus, control method therefor, program, and storage medium Download PDFInfo
- Publication number
- JP4574382B2 JP4574382B2 JP2005039521A JP2005039521A JP4574382B2 JP 4574382 B2 JP4574382 B2 JP 4574382B2 JP 2005039521 A JP2005039521 A JP 2005039521A JP 2005039521 A JP2005039521 A JP 2005039521A JP 4574382 B2 JP4574382 B2 JP 4574382B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- information
- search
- date
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Abstract
Description
本発明は、静止画像や動画像等のデータを検索する情報検索装置やその制御方法に関する。 The present invention relates to an information retrieval apparatus that retrieves data such as still images and moving images, and a control method thereof .
従来、固体メモリ素子を有するメモリカードを記録媒体として、静止画像や動画像を記録再生する電子カメラ等の記録再生装置は既に市販されており、カラー液晶パネル等の電子ファインダーを備える装置も販売されている。 Conventionally, recording / reproducing devices such as electronic cameras for recording and reproducing still images and moving images using a memory card having a solid-state memory element as a recording medium are already on the market, and devices equipped with an electronic viewfinder such as a color liquid crystal panel are also sold. ing.
また、近年では、メモリーカード等の記録媒体の記録容量も増大し、多数の画像データが記録可能となったことから、多数の画像ファイル中から所望の画像ファイルをユーザに検索させる機能を有するものがある。
このような従来の電子カメラ等においては、所定の検索条件に対応する検索対象の検索時間は画像数の増加に伴い長くなる傾向にあり、ユーザの操作等によって検索処理を行うとレスポンスが悪くなる等の問題があった。 In such a conventional electronic camera or the like, the search time for a search target corresponding to a predetermined search condition tends to become longer as the number of images increases, and the response becomes worse when search processing is performed by a user operation or the like. There was a problem such as.
また、検索処理を高速に行うために各ディレクトリ及び/又はファイルの検索条件を保持しようとした場合、システムのリソースを無駄に消費してしまうという問題があった。 In addition, when trying to hold the search conditions for each directory and / or file in order to perform the search process at high speed, there is a problem that system resources are wasted.
本発明は、上記課題に鑑みてなされ、その目的は、検索処理の高速化及びリソースの節約を実現する情報検索装置やその制御方法を提供することである。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an information search apparatus and a control method therefor that realize high speed search processing and resource saving.
上記課題を解決し、目的を達成するために、本発明に係る情報検索装置は、特定の順序を持った複数のグループ毎に、所定の順序を持って格納されている複数のデータの中から、データに付加されたデータ作成日時を示す日付情報が変化する変化点となるデータを検索する情報検索装置であって、前記グループ毎に、グループ内に日付情報の変化点となるデータがあるか否かを示す日付変化点有無情報を記憶する記憶手段と、検索を開始する際の先頭のデータである検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータのうち、該検索開始点のデータから前記所定の順序において最も近いデータを検索する処理の開始指示を受け付ける受付手段と、前記検索開始点のデータが含まれるグループよりも前記特定の順序において後のグループについて、前記記憶手段に記憶された前記日付変化点有無情報を参照して、日付情報の変化点となるデータがあるグループか否かを判定する判定手段と、前記判定手段によって日付情報の変化点となるデータがあるグループであると判定された場合、該グループに格納されたデータ毎に設定された日付情報の変化点となるデータであるか否かを判別するための日付変化判別用情報を取得し、該取得した日付変化判別用情報によって前記検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータとして最初に見つかったデータを検索結果として出力するよう制御する制御手段とを有する。 In order to solve the above-described problems and achieve the object, an information search device according to the present invention includes a plurality of pieces of data stored in a predetermined order for each of a plurality of groups having a specific order. An information search device for searching for data as a change point at which date information indicating the date and time of creation of data added to data changes, and for each group, whether there is data as a change point of date information within the group Storage means for storing date change point presence / absence information indicating whether or not , and data in which date information different from the date information added to the data of the search start point that is the top data at the start of the search is added , receiving means and the specific order than groups included data of the search start point is to accept an instruction to start a process of searching the nearest data in the predetermined order from the data of the search start point For group after Oite, with reference to the date change point determination information stored in the storage means, determining means for determining whether the group has data to be change point of date information, the determination means determines If it is determined that the group with the data to be change point of date information, the date for determining whether the data to be change point of date information set for each data stored in the group The change determination information is acquired , and data that is first found as data with date information different from the date information added to the data at the search start point by the acquired date change determination information is output as a search result. and a control means for controlling so.
本発明に係る情報検索装置の制御方法は、特定の順序を持った複数のグループ毎に、所定の順序を持って格納されている複数のデータの中から、データに付加されたデータ作成日時を示す日付情報が変化する変化点となるデータを検索する情報検索装置の制御方法であって、前記グループ毎に、グループ内に日付情報の変化点となるデータがあるか否かを示す日付変化点有無情報を記憶手段に記憶する記憶ステップと、検索を開始する際の先頭のデータである検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータのうち、該検索開始点のデータから前記所定の順序において最も近いデータを検索する処理の開始指示を受け付ける受付ステップと、前記検索開始点のデータが含まれるグループよりも前記特定の順序において後のグループについて、前記記憶手段に記憶された前記日付変化点有無情報を参照して、日付情報の変化点となるデータがあるグループか否かを判定する判定ステップと、前記判定ステップによって日付情報の変化点となるデータがあるグループであると判定された場合、該グループに格納されたデータ毎に設定された日付情報の変化点となるデータであるか否かを判別するための日付変化判別用情報を取得し、該取得した日付変化判別用情報によって前記検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータとして最初に見つかったデータを検索結果として出力するよう制御する制御ステップとを有する。 According to the control method of the information search device of the present invention, for each of a plurality of groups having a specific order, a data creation date and time added to the data is selected from a plurality of data stored in a predetermined order. A method of controlling an information search apparatus for searching for data that becomes a change point at which date information to be changed, the date change point indicating whether or not there is data to be a change point of date information in the group for each group a storage step of storing the presence information in the storage means, of the head of the data date information with different date information added to the data of the search start point is added is data at the time of starting the search, the search start point of a reception step of receiving an instruction to start a process of searching the nearest data in said predetermined sequence from the data, the specific order than groups included data of the search start point Date for the group after you are, with reference to the date change point determination information stored in the storage means, a determination step of determining whether the group or not there is data to be change point of date information, by the decision step If it is determined that the group with the data to be change point information, change the date for determining whether the data to be change point of date information set for each data stored in the group The determination information is acquired , and the first data that is found as data with date information different from the date information added to the data of the search start point by the acquired date change determination information is output as a search result. A control step for controlling.
本発明によれば、検索対象が存在しないグループを検索しないため検索処理の高速化を実現し、更に、検索処理に際してグループ内に属性情報の特定項目が互いに異なるデータがあるか否かを示す変化点情報に基づいて検索対象とするか否かを判定するのでリソースの節約を実現することができる。 According to the present invention, the search process is speeded up because a group in which no search target exists is not searched, and the change indicating whether or not there is data having different specific items of attribute information in the group during the search process. Since it is determined based on the point information whether or not to be a search target, resource saving can be realized.
以下に、添付図面を参照して本発明の好適な実施形態について詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
尚、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。 The embodiment described below is an example as means for realizing the present invention, and should be appropriately modified or changed according to the configuration and various conditions of the apparatus to which the present invention is applied. It is not limited to the embodiment.
図1は、本発明に係る実施形態の電子カメラの構成を示すブロック図である。 FIG. 1 is a block diagram showing a configuration of an electronic camera according to an embodiment of the present invention.
図1において、100は、本発明の情報検索装置を適用した画像の撮影、記録及び再生が可能な電子カメラ等の記録再生装置であり、10は撮影レンズ、12は絞り機能を備えるシャッター、14は被写体の光学像を光電変換により電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換部である。
In FIG. 1,
18は撮像素子14、A/D変換部16、D/A変換部26にクロック信号や制御信号を供給するタイミング発生部であり、メモリ制御部22及びシステム制御部50により制御される。
A
20は画像処理部であり、A/D変換部16からのデータ或いはメモリ制御部22からのデータに対して所定の画素補間処理や色変換処理を行う。
An
また、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部50が露光制御部40、測距制御部42に対して制御を行うTTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。
The
さらに、画像処理部20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。
Further, the
22はメモリ制御部であり、A/D変換部16、タイミング発生部18、画像処理部20、画像表示メモリ24、D/A変換部26、メモリ30、圧縮・伸長部32を制御する。
A
A/D変換部16からのデータが画像処理部20、メモリ制御部22を介して、或いはA/D変換部16からのデータが直接メモリ制御部路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。
Data from the A /
また、再生時においては、記録媒体200或いは210からメモリ30に読み出されたJPEG形式等で圧縮された静止画像データやMPEG形式等で圧縮された動画像データは、画像処理部20によって伸長処理され、画像表示メモリ24に展開される。
Further, at the time of reproduction, still image data compressed in JPEG format or the like read out from the
24は画像表示メモリ、26はD/A変換部、28はTFT LCD等からなる画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換部26を介して画像表示部28により表示される。
画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダー機能を実現することが可能である。
If the image data captured using the
また、画像表示部28はオンスクリーンディスプレイ(OSD)により、各種設定メニューやタイトル、時間などの情報を重畳表示が可能であり、表示内容としては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、表示画像通し番号表示、残撮影可能枚数表示、検索キーアイコン表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信I/F動作表示、日付け・時刻表示、等がある。
The
これら各種情報表示のうち、撮影時の条件及び設定は、撮影時に各情報を画像ヘッダに格納し、再生時に動画像ヘッダを解析抽出することにより取得でき、再生時においても画像の撮影時の条件を参照することが可能となる。 Among these various information displays, conditions and settings at the time of shooting can be obtained by storing each information in the image header at the time of shooting and analyzing and extracting the moving image header at the time of playback. Can be referred to.
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を備えている。
これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像の書き込みをメモリ30に対して行うことが可能となる。
This makes it possible to write a large amount of images to the
また、メモリ30はシステム制御部50の作業領域としても使用することが可能である。
The
32は適応離散コサイン変換(ADCT)等により画像データを圧縮又は伸長する圧縮・伸長部であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、当該処理を終えたデータをメモリ30に書き込む。
40は絞り機能を備えるシャッター12を制御する露光制御部であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。
42は撮影レンズ10のフォーカシングを制御する測距制御部、44は撮影レンズ10のズーミングを制御するズーム制御部、46はバリアである保護部102の動作を制御するバリア制御部である。
48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。
A
露光制御部40及び測距制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理部20によって演算した演算結果に基づき、システム制御部50が露光制御部40と測距制御部42に対して制御を行う。
The
50は電子カメラ100全体を制御するシステム制御部、52はシステム制御部50の動作用の定数、変数、プログラム等を記憶するメモリである。
54はシステム制御部50でのプログラムの実行に応じて音声等を用いて動作状態やメッセージ等を表示するスピーカー等を含む表示部であり、例えばLEDや発音素子等の組み合わせにより構成されている。
また、表示部54は、その一部の機能が光学ファインダ104内に設置されている。
The
また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。
Among the display contents of the
56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。
60、62、64及び70は、システム制御部50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
ここで、これらの操作手段の具体的な説明を行う。 Here, a specific description of these operating means will be given.
60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、外部機器(例えば、PC)接続モード等の各機能モードを切り替え設定することができる。
62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。 Reference numeral 62 denotes a shutter switch SW1, which is turned ON during operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct to start operation.
64はシャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、撮像素子14から取り込んだ電気信号をA/D変換部16、メモリ制御部22を介してメモリ30に画像データとして書き込む露光処理、画像処理部20やメモリ制御部22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長部32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像送り+(プラス)ボタン、再生画像送り−(マイナス)ボタン等がある。
80は電源制御部で、電池検出回路やDC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。
A
82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源手段である。
90及び94はメモリカードやハードディスク等の記録媒体とのインターフェース、92及び96はメモリカードやハードディスク等の記録媒体との接続を行うコネクタ、98はコネクタ92及び/又は96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知部である。
90 and 94 are interfaces with a recording medium such as a memory card or a hard disk, 92 and 96 are connectors for connecting to a recording medium such as a memory card or a hard disk, and 98 is a
なお、本実施形態では記録媒体を取り付けるインターフェース及びコネクタを2系統持つものとして説明している。もちろん、記録媒体を取り付けるインターフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインターフェース及びコネクタを組み合わせて備える構成としても構わない。インターフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。 In the present embodiment, it is assumed that there are two systems of interfaces and connectors for attaching a recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems and any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard. The interface and connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like that conforms to a standard.
さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCFカード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード,PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。
Further, when the
102は電子カメラ100のレンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止するバリアである保護部で、バリア制御部46によって動作が制御される。
104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。
110は通信部で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。
A
112は通信部110により電子カメラ100を他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。
200はメモリカードやハードディスク等の記録媒体である。
記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部122、電子カメラ100とのインタフェース124、電子カメラ100と接続を行うコネクタ126を備えている。
The
210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、電子カメラ100とのインタフェース214、電子カメラ100と接続を行うコネクタ216を備えている。
次に、図2乃至図4を参照して、本実施形態の検索処理について説明する。 Next, the search processing of this embodiment will be described with reference to FIGS.
[ファイル構成]
図2は記録媒体内に格納されたファイルの構成例及び管理情報例である。
[file organization]
FIG. 2 shows a configuration example and management information example of a file stored in the recording medium.
201はディレクトリ及びディレクトリ内に格納されたファイルの構成例であり、ここでは一般的にデジタルカメラにおいて使用されているDCF(Design Rule for Camera File System)規格に則っているものである。
202は検索対象有無情報の一例であり、各ディレクトリ内のファイルに関する検索対象有無情報を検索条件として保持している。ここでは、各ディレクトリ内の検索対象有無情報として、先頭日時(最も古い撮影日時、検索開始点)、最終日時(最も新しい撮影日時、検索終了点)、日付変化点(撮影日時の異なるファイル)の有無、各ディレクトリ内の特定フォーマット(JPEG,AVI等の拡張子)の形式又は属性を有するファイルの総数等の管理情報ファイルを保持している。すなわち、検索対象有無情報は、各ディレクトリ内のファイル(又はディレクトリ)の先頭(検索開始点)及び最後(検索終了点)を検索対象として保持し、検索開始点から検索終了点における検索対象点(日付変化点の有無、特定フォーマットのファイル総数等)を管理するための管理情報となる。
なお、検索対象有無情報として、撮影条件(単写、連写、パノラマの別)、画像ファイルの色情報(白黒、カラーの別)等を含めることもでき、これらの情報の少なくとも1つを対象としてもよい。 Note that the search target presence / absence information may include shooting conditions (single shooting, continuous shooting, panoramic), image file color information (black and white, different colors), etc., and target at least one of these information It is good.
203から207は、各ディレクトリにおける検索対象点情報の一例であり、ここでは、ディレクトリ内の各ファイルごとに日付変化点を示すフラグ(図示の例では異なる日付のファイルにフラグをセットしている。)、特定フォーマット(拡張子)であるかどうかのフラグ(図示の例ではAVIフォーマットのファイルにフラグをセットしている。)をファイル番号(ファイル名)と関連付けて保持している。
なお、上記検索対象有無情報及び検索対象点情報の各ファイルは、撮影時に各画像ヘッダに格納された撮影時の条件及び設定情報等を用いて、記録媒体内のディレクトリ及び/又はファイル構成を解析する際に同時に作成される。そして、上記検索対象有無情報及び検索対象点情報の各ファイルは、不揮発性メモリ等の記録媒体に対して書き込み及び/又は読み出し可能に記録される。 The search target presence / absence information and search target point information files are analyzed for the directory and / or file structure in the recording medium using the shooting condition and setting information stored in each image header at the time of shooting. It is created at the same time. Each file of the search target presence / absence information and search target point information is recorded so as to be writable and / or readable on a recording medium such as a nonvolatile memory.
[第1の実施形態]
図3は第1の実施形態の検索対象点を検索する処理のフローチャートである。なお、以下の処理はシステム制御部50において実行される。
[First Embodiment]
FIG. 3 is a flowchart of processing for searching for a search target point according to the first embodiment. The following processing is executed by the
本実施形態における検索対象は、検索対象有無情報に含まれる検索条件に該当するディレクトリ又はファイルである。 The search target in the present embodiment is a directory or file corresponding to the search condition included in the search target presence / absence information.
図3において、先ず、操作部70を介して検索処理の指示があったならば、検索開始点を含むディレクトリ(検索対象となるディレクトリ)の検索対象点情報を取得する(S301)。
In FIG. 3, first, if there is an instruction for search processing via the
次に、S301で取得した検索対象点情報から、次の検索対象点が存在するか確認する(S302)。ここで次の検索対象点があったならば、この検索対象点に対応するファイルを検索結果として表示部54に出力し(S307)、処理を抜ける。
Next, it is confirmed from the search target point information acquired in S301 whether the next search target point exists (S302). If there is a next search target point, a file corresponding to this search target point is output to the
S302で次の検索対象点がなかったならば、次のディレクトリの検索を行う。 If there is no next search target point in S302, the next directory is searched.
S303で現在のディレクトリが末端のディレクトリであると判定されたならば検索結果がないことを表示部54に出力して(S308)、処理を抜ける。 If it is determined in S303 that the current directory is a terminal directory, the fact that there is no search result is output to the display unit 54 (S308), and the process is exited.
一方、S303で末端のディレクトリでないと判断されたならば、次のディレクトリを現在の検索対象ディレクトリとする(S304)。 On the other hand, if it is determined in S303 that the directory is not a terminal directory, the next directory is set as the current search target directory (S304).
S304で変更された現在のディレクトリに検索対象があるかどうかを、検索対象有無情報を参照して判断し(S305)、検索対象があるディレクトリと判定されたならば、その時点で初めて現在のディレクトリの検索対象点情報を取得し(S306)、検索対象点情報のなかで最初となる検索対象点情報を元に最初の検索対象点に対応するファイルを検索結果として表示部54に出力し(S309)、処理を抜ける。
It is determined whether there is a search target in the current directory changed in S304 by referring to the search target presence / absence information (S305). If it is determined that there is a search target directory, the current directory is the first time at that time. Search target point information is acquired (S306), and a file corresponding to the first search target point is output to the
また、S305で検索対象点がないと判断されたならば、S303に戻り、以後のディレクトリについて同様の検索処理を実行する。 If it is determined in S305 that there is no search target point, the process returns to S303 and the same search process is executed for the subsequent directories.
[第2の実施形態]
図4は第2の実施形態の検索対象点の変化点を検索する処理のフローチャートである。なお、以下の処理はシステム制御部50において実行される。
[Second Embodiment]
FIG. 4 is a flowchart of processing for searching for a change point of a search target point according to the second embodiment. The following processing is executed by the
本実施形態における検索対象は、検索対象有無情報に含まれる検索条件が変化する(例えば、日付変化点有)ディレクトリ又はファイルである。 The search target in the present embodiment is a directory or a file in which the search condition included in the search target presence / absence information changes (for example, with a date change point).
先ず、操作部70を介して検索処理の指示があったならば、検索開始点を含むディレクトリの検索対象点情報を取得する(S401)。
First, if there is a search processing instruction via the
次に、S401で取得した検索対象点情報から、次の検索対象点が存在するか確認する(S402)。ここで次の検索対象点があったならば、この検索対象点に対応するファイルを検索結果として表示部54に出力し(S408)、処理を抜ける。
Next, it is confirmed from the search target point information acquired in S401 whether the next search target point exists (S402). If there is a next search target point, the file corresponding to this search target point is output to the
S402で次の検索点がなかったならば、次のディレクトリの検索を行う。 If there is no next search point in S402, the next directory is searched.
S403で現在のディレクトリが末端のディレクトリであると判定されたならば検索結果がないことを表示部54に出力して(S409)、処理を抜ける。 If it is determined in S403 that the current directory is a terminal directory, the fact that there is no search result is output to the display unit 54 (S409), and the process is exited.
一方、S403で末端のディレクトリでないと判断されたならば、検索対象有無情報に同時に保持されている現在のディレクトリの最終検索条件(検索終了点)と次のディレクトリの先頭検索条件(検索開始点)とを比較し、次のディレクトリの先頭ファイル(又はディレクトリ)が検索対象点であるか判定する(S404)。ここでは、現在のディレクトリの最終検索条件と次のディレクトリの先頭検索条件とが相違するならば検索対象点であると判定し、同じならばこれらディレクトリの境界は検索対象点ではないと判定する。 On the other hand, if it is determined in S403 that the directory is not a terminal directory, the current directory final search condition (search end point) and the next directory start search condition (search start point) simultaneously held in the search target presence / absence information. And the first file (or directory) of the next directory is determined as a search target point (S404). Here, if the final search condition for the current directory is different from the first search condition for the next directory, it is determined that the point is a search target point, and if they are the same, it is determined that the boundary between these directories is not the search target point.
S404で検索対象点であると判定されたならば次のディレクトリの最初のファイルを検索結果として表示部54に出力し(S410)、処理を抜ける。また、これらディレクトリの境界が検索対象点でないと判定されたならば、次のディレクトリを現在のディレクトリとする(S405)。 If it is determined in S404 that the point is a search target point, the first file in the next directory is output as a search result to the display unit 54 (S410), and the process is exited. If it is determined that the boundary between these directories is not a search target point, the next directory is set as the current directory (S405).
S405で変更された現在のディレクトリに検索対象があるかどうかを、検索対象有無情報を参照して判断し(S406)、検索対象があるディレクトリと判定されたならば、その時点で初めて現在のディレクトリの検索対象点情報を取得し(407)、検索対象点情報のなかで最初となる検索対象点情報を元に最初の検索対象点に対応するファイルを検索結果として表示部54に出力し(S411)、処理を抜ける。
It is determined whether there is a search target in the current directory changed in S405 by referring to the search target presence / absence information (S406). If it is determined that there is a search target, the current directory is the first time at that time. Search target point information is acquired (407), and a file corresponding to the first search target point is output to the
また、S405で検索対象点がないと判断されたならば、S403に戻り、以後のディレクトリについて同様の検索処理を実行する。 If it is determined in S405 that there is no search target point, the process returns to S403, and the same search process is executed for the subsequent directories.
[他の実施形態]
本実施形態は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録したコンピュータ読み取り可能な記録媒体(または記憶媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによって、達成することができる。この場合、記録媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
[Other Embodiments]
In the present embodiment, a computer-readable recording medium (or storage medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU) of the system or apparatus is supplied. Or MPU) can read out and execute the program code stored in the recording medium. In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the recording medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the card or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
本実施形態を上記記録媒体に適用する場合、その記録媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。 When the present embodiment is applied to the recording medium, program code corresponding to the flowchart described above is stored in the recording medium.
尚、本実施形態は、複数の機器(例えば、ホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置等)に適用してもよい。 Note that the present embodiment can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but a device (for example, a copier, a facsimile machine, etc.) composed of a single device. ).
[効果]
本実施形態によれば、検索対象有無情報に基づき検索対象が存在しないディレクトリ内の検索は行わないため高速に検索を行うことが可能となる。また、検索対象が存在するディレクトリに関してのみ検索対象点情報を保持しているのでシステムのRAM等のリソース消費を抑えることが可能となる。
[effect]
According to the present embodiment, since a search in a directory where no search target exists is not performed based on the search target presence / absence information, a search can be performed at high speed. Further, since the search target point information is held only for the directory where the search target exists, it is possible to suppress the resource consumption of the system RAM and the like.
また、検索対象有無情報及び/又は検索対象点情報は、記録媒体内のディレクトリ及び/又はファイルの構成を解析、抽出する際に同時に作成されるので、記録媒体内のディレクトリ及び/又はファイル構成を解析する時に取得されるファイルシステム情報を有効に流用することが可能となり、ファイルシステムへアクセスする回数を少なくすることで検索対象有無情報及び/又は検索対象点情報を構築するための処理時間を短縮することが可能となる。 Further, the search target presence / absence information and / or the search target point information are created at the same time when analyzing and extracting the configuration of the directory and / or file in the recording medium, so that the directory and / or file configuration in the recording medium is changed. The file system information acquired at the time of analysis can be used effectively, and the processing time for building search target presence / absence information and / or search target point information can be reduced by reducing the number of times the file system is accessed. It becomes possible to do.
また、検索対象有無情報及び検索対象点情報を、不揮発性メモリ等の記録媒体にファイルとして書き込み及び/又は読み出し可能としたことにより、検索対象有無情報及び/又は検索対象点情報を再構築する時間を短縮することが可能となる
また、検索対象有無情報に含まれる検索条件は、撮影条件、日付、時刻、ファイル形式、ファイル属性、色情報のうちの1つまたは複数であることにより、日付変化点の検索、特定ファーマットのファイルのみの検索等、使用者に利便性のある高速な検索を実現することができる。
Further, the time for reconstructing the search target presence / absence information and / or the search target point information by enabling the search target presence / absence information and the search target point information to be written and / or read as a file in a recording medium such as a nonvolatile memory. In addition, the search condition included in the search target presence / absence information is one or more of shooting conditions, date, time, file format, file attribute, and color information. It is possible to realize a high-speed search that is convenient for the user, such as a point search or a search only for files in a specific format.
また、検索対象有無情報は、ディレクトリ内において最初に検索される検索対象と最後に検索される検索対象とを有し、次に検索する検索領域の最初に検索される検索対象と、前の検索領域の最後に検索される検索対象とを適時取得して比較することで検索対象があるか判定することにより、検索対象点が変化しない場合に異なるディレクトリ間との関連を排除して検索することが可能となる。 The search target presence / absence information includes a search target searched first in the directory and a search target searched last, and a search target searched first in a search area to be searched next and a previous search Search by eliminating the relationship between different directories when the search target point does not change by determining whether there is a search target by acquiring and comparing the search target searched at the end of the area in a timely manner. Is possible.
また、検索対象は、所定検索条件に該当するディレクトリ又はファイルであることにより、所定検索条件の検索対象を容易に検索できる。 In addition, since the search target is a directory or file corresponding to the predetermined search condition, the search target of the predetermined search condition can be easily searched.
また、検索対象は、所定検索条件が変化するディレクトリ又はファイルであることにより、所定検索条件の変化する検索対象を容易に検索できる。 In addition, since the search target is a directory or file whose predetermined search condition changes, the search target whose predetermined search condition changes can be easily searched.
10:撮影レンズ
12:シャッター
14:撮像素子
16:A/D変換部
18:タイミング発生部
20:画像処理部
22:メモリ制御部
24:画像表示メモリ
26:D/A変換部
28:画像表示部
30:メモリ
32:画像圧縮・伸長部
40:露光制御部
42:測距制御部
44:ズーム制御部
46:バリア制御部
48:フラッシュ
50:システム制御部
52:メモリ
54:表示部
56:不揮発性メモリ
60:モードダイアルスイッチ
62:シャッタースイッチSW1
64:シャッタースイッチSW2
70:操作部
80:電源制御部
82:コネクタ
84:コネクタ
86:電源部
90:インタフェース
92:コネクタ
94:インタフェース
96:コネクタ
98:記録媒体着脱検知部
100:電子カメラ
102:保護部
104:光学ファインダ
110:通信部
112:コネクタ(またはアンテナ)
200:記録媒体
122:記録部
124:インタフェース
126:コネクタ
210:記録媒体
212:記録部
214:インタフェース
216:コネクタ
10: Shooting lens 12: Shutter 14: Image sensor 16: A / D converter 18: Timing generator 20: Image processor 22: Memory controller 24: Image display memory 26: D / A converter 28: Image display 30: Memory 32: Image compression / decompression unit 40: Exposure control unit 42: Distance measurement control unit 44: Zoom control unit 46: Barrier control unit 48: Flash 50: System control unit 52: Memory 54: Display unit 56: Non-volatile Memory 60: Mode dial switch 62: Shutter switch SW1
64: Shutter switch SW2
70: operation unit 80: power supply control unit 82: connector 84: connector 86: power supply unit 90: interface 92: connector 94: interface 96: connector 98: recording medium attachment / detachment detection unit 100: electronic camera 102: protection unit 104: optical viewfinder 110: Communication unit 112: Connector (or antenna)
200: Recording medium
122 : Recording unit
124 : Interface
126 : Connector 210: Recording medium 212: Recording unit 214: Interface 216: Connector
Claims (10)
前記グループ毎に、グループ内に日付情報の変化点となるデータがあるか否かを示す日付変化点有無情報を記憶する記憶手段と、
検索を開始する際の先頭のデータである検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータのうち、該検索開始点のデータから前記所定の順序において最も近いデータを検索する処理の開始指示を受け付ける受付手段と、
前記検索開始点のデータが含まれるグループよりも前記特定の順序において後のグループについて、前記記憶手段に記憶された前記日付変化点有無情報を参照して、日付情報の変化点となるデータがあるグループか否かを判定する判定手段と、
前記判定手段によって日付情報の変化点となるデータがあるグループであると判定された場合、該グループに格納されたデータ毎に設定された日付情報の変化点となるデータであるか否かを判別するための日付変化判別用情報を取得し、該取得した日付変化判別用情報によって前記検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータとして最初に見つかったデータを検索結果として出力するよう制御する制御手段とを有することを特徴とする情報検索装置。 For each of a plurality of groups having a specific order, from among a plurality of data stored in a predetermined order, data serving as a change point at which the date information indicating the data creation date / time added to the data changes An information search device for searching,
Storage means for storing date change point presence / absence information indicating whether or not there is data serving as a change point of date information in the group for each group;
Among the data added with date information different from the date information added to the data of the search start point, which is the first data at the start of the search , the closest data in the predetermined order from the data of the search start point Accepting means for accepting an instruction to start the search process ;
There is data serving as a change point of date information with reference to the date change point presence / absence information stored in the storage unit for a group in the specific order after the group including the data of the search start point. A determination means for determining whether or not a group ;
If it is determined that the group with the data to be change point of date information by said determining means, determines whether the data to be change point of date information set for each data stored in the group To obtain the date change determination information to search for the data first found as the date information different from the date information added to the search start point data by the acquired date change determination information And a control means for controlling to output as a result .
日付情報が前記特定の順序における直前のグループに含まれる最後のデータと同じであるデータが、前記所定の順序における先頭に含まれているグループか否かを、前記記憶手段に記憶している前記先頭のデータと最後のデータの日付情報に基づいて判定する第2の判定手段を更に有することを特徴とする請求項2に記載の情報検索装置。 It said storage means further for each of the groups, store the date information of the start data and end data of the predetermined order in the group,
The date information data is the same as the last data included in the immediately preceding group in said particular order, whether groups contained in the head in the predetermined order, stored in the storage means 3. The information search apparatus according to claim 2, further comprising second determination means for determining based on date information of the first data and the last data .
前記グループ毎に、グループ内に日付情報の変化点となるデータがあるか否かを示す日付変化点有無情報を記憶手段に記憶する記憶ステップと、
検索を開始する際の先頭のデータである検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータのうち、該検索開始点のデータから前記所定の順序において最も近いデータを検索する処理の開始指示を受け付ける受付ステップと、
前記検索開始点のデータが含まれるグループよりも前記特定の順序において後のグループについて、前記記憶手段に記憶された前記日付変化点有無情報を参照して、日付情報の変化点となるデータがあるグループか否かを判定する判定ステップと、
前記判定ステップによって日付情報の変化点となるデータがあるグループであると判定された場合、該グループに格納されたデータ毎に設定された日付情報の変化点となるデータであるか否かを判別するための日付変化判別用情報を取得し、該取得した日付変化判別用情報によって前記検索開始点のデータに付加された日付情報と異なる日付情報が付加されたデータとして最初に見つかったデータを検索結果として出力するよう制御する制御ステップとを有することを特徴とする情報検索装置の制御方法。 For each of a plurality of groups having a specific order, from among a plurality of data stored in a predetermined order, data serving as a change point at which the date information indicating the data creation date / time added to the data changes A method for controlling an information retrieval device to retrieve,
For each group, a storage step of storing date change point presence / absence information indicating whether or not there is data serving as a change point of date information in the group in a storage unit ;
Among the data added with date information different from the date information added to the data of the search start point, which is the first data at the start of the search , the closest data in the predetermined order from the data of the search start point A reception step for receiving an instruction to start a search process ;
There is data serving as a change point of date information with reference to the date change point presence / absence information stored in the storage unit for a group in the specific order after the group including the data of the search start point. A determination step of determining whether or not a group ;
If it is determined that the group with the data to be change point of date information by said determination step, it determines whether or not data to be a change point of date information set for each data stored in the group To obtain date change determination information to search for data first found as data with date information different from the date information added to the search start point data by the acquired date change determination information And a control step of controlling to output as a result .
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005039521A JP4574382B2 (en) | 2005-02-16 | 2005-02-16 | Information retrieval apparatus, control method therefor, program, and storage medium |
US11/332,316 US7756362B2 (en) | 2005-01-28 | 2006-01-17 | Image processing apparatus, control method therefor, computer program, and computer-readable storage medium |
CN 200610001773 CN1812531B (en) | 2005-01-28 | 2006-01-25 | Image processing apparatus and control method therefor |
CN 200810167071 CN101393557B (en) | 2005-01-28 | 2006-01-25 | Information retrieval device and method |
US12/433,894 US7634158B2 (en) | 2005-01-28 | 2009-04-30 | Image processing apparatus, control method therefor, computer program, and computer-readable storage medium |
US12/638,906 US7949209B2 (en) | 2005-01-28 | 2009-12-15 | Image processing apparatus, control method therefor, computer program, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005039521A JP4574382B2 (en) | 2005-02-16 | 2005-02-16 | Information retrieval apparatus, control method therefor, program, and storage medium |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2006227822A JP2006227822A (en) | 2006-08-31 |
JP2006227822A5 JP2006227822A5 (en) | 2008-02-28 |
JP4574382B2 true JP4574382B2 (en) | 2010-11-04 |
Family
ID=36989171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005039521A Expired - Fee Related JP4574382B2 (en) | 2005-01-28 | 2005-02-16 | Information retrieval apparatus, control method therefor, program, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4574382B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4451480B2 (en) | 2007-11-01 | 2010-04-14 | オリンパスイメージング株式会社 | Electronic camera and storage medium |
JP2010267028A (en) * | 2009-05-13 | 2010-11-25 | Brother Ind Ltd | Management device, management processing program, node device, node processing program, and expired record determination method |
JP2011244367A (en) * | 2010-05-21 | 2011-12-01 | Hitachi Consumer Electronics Co Ltd | Recording method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091634A (en) * | 1996-08-15 | 1998-04-10 | Hewlett Packard Co <Hp> | Photographic image retrieval system |
JP2001054041A (en) * | 1999-08-06 | 2001-02-23 | Casio Comput Co Ltd | Image pickup device, method for automatic generation of group area and method for automatic generation of folder |
JP2003244509A (en) * | 2001-12-10 | 2003-08-29 | Olympus Optical Co Ltd | Electronic imaging camera |
JP2004152239A (en) * | 2002-11-01 | 2004-05-27 | Matsushita Electric Ind Co Ltd | File management apparatus, file management method and program |
-
2005
- 2005-02-16 JP JP2005039521A patent/JP4574382B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091634A (en) * | 1996-08-15 | 1998-04-10 | Hewlett Packard Co <Hp> | Photographic image retrieval system |
JP2001054041A (en) * | 1999-08-06 | 2001-02-23 | Casio Comput Co Ltd | Image pickup device, method for automatic generation of group area and method for automatic generation of folder |
JP2003244509A (en) * | 2001-12-10 | 2003-08-29 | Olympus Optical Co Ltd | Electronic imaging camera |
JP2004152239A (en) * | 2002-11-01 | 2004-05-27 | Matsushita Electric Ind Co Ltd | File management apparatus, file management method and program |
Also Published As
Publication number | Publication date |
---|---|
JP2006227822A (en) | 2006-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5025104B2 (en) | Imaging apparatus, control method therefor, and computer program | |
JP2008079137A (en) | Image processing apparatus and control method thereof, computer program, and storage medium | |
JP2009177359A (en) | Image editing device, image editing method and program | |
JP4958680B2 (en) | IMAGING DEVICE, WHITE BALANCE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
KR100756155B1 (en) | Image processing apparatus, control method thereof and storage medium | |
US8077221B2 (en) | Image capturing apparatus and control method therefor with determination whether storage medium is limited-rewriteable storage medium | |
JP4574382B2 (en) | Information retrieval apparatus, control method therefor, program, and storage medium | |
JP4498169B2 (en) | Image processing apparatus and control method thereof | |
JP4681937B2 (en) | Imaging apparatus and imaging method | |
JP2007158604A (en) | Imaging apparatus and its control method | |
JP2005221771A (en) | Imaging device and function display method | |
JP4574426B2 (en) | Data processing apparatus and data processing method | |
JP2010049658A (en) | Image search device, image search method, program and recording medium | |
JP2009177358A (en) | Image processor, image processing method, and program | |
JP5142496B2 (en) | Information processing apparatus, information processing apparatus control method, program, and storage medium | |
JP4298534B2 (en) | Image display apparatus and method | |
JP2007221722A (en) | Image processing apparatus and control method thereof | |
JP2004328037A (en) | Imaging and image recording apparatus | |
JP4766706B2 (en) | Image processing apparatus, control method therefor, program, and storage medium | |
JP4646723B2 (en) | Image reproduction apparatus, imaging apparatus, and control method | |
JP2005110128A (en) | Imaging apparatus and imaging control method | |
JP2008077402A (en) | Image processor, its control method, computer program and storage medium | |
JP3805179B2 (en) | Image processing apparatus, control method for image processing apparatus, and storage medium | |
JP4701297B2 (en) | Image processing apparatus, method, and recording medium | |
JP4717762B2 (en) | Image reproducing apparatus, control method for image reproducing apparatus, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080110 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090824 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091022 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100212 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100412 |
|
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: 20100806 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100818 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4574382 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130827 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |