JPH11232301A - Method and device for retrieval canceling difference of image data base and recording medium recording image data base difference canceling retrieval program - Google Patents

Method and device for retrieval canceling difference of image data base and recording medium recording image data base difference canceling retrieval program

Info

Publication number
JPH11232301A
JPH11232301A JP10036351A JP3635198A JPH11232301A JP H11232301 A JPH11232301 A JP H11232301A JP 10036351 A JP10036351 A JP 10036351A JP 3635198 A JP3635198 A JP 3635198A JP H11232301 A JPH11232301 A JP H11232301A
Authority
JP
Japan
Prior art keywords
domain
user
search
image
image database
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.)
Granted
Application number
JP10036351A
Other languages
Japanese (ja)
Other versions
JP3437434B2 (en
Inventor
Mitsuaki Tsunakawa
光明 綱川
Junichi Matsui
淳一 松井
Hiroki Machihara
宏毅 町原
Takashi Hoshino
隆 星野
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP03635198A priority Critical patent/JP3437434B2/en
Publication of JPH11232301A publication Critical patent/JPH11232301A/en
Application granted granted Critical
Publication of JP3437434B2 publication Critical patent/JP3437434B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain retrieval canceling a difference between the expression formats of image features or a difference between the transmitting/receiving methods of image data by converting an inquiry sentence from a user into an expression format suited to each image data base, translating the sentence of the converted expression format and retrieving the image data base based on the translated sentence. SOLUTION: A conversion function for converting between domains is prepared (S15) and a user domain is determined (S17). Then processing goes to a retrieving phase, an inquiry sentence from a user is analyzed and a column table is retrieved to determine an inquiry data base (S21). The domain of a column or a virtual column included in the inquiry sentence is retrieved from the column table (S23), the user domain is retrieved from the inquiring user and its domain (S25), a conversion function from the user domain to a local domain is searched (S27), the inquiry sentence is translated to an inquiry sentence to an image data base by using the conversion function (S29), and the data base is retrieved by the translated inquiry sentence.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の画像データ
ベースが存在する環境において各画像データベースが検
索条件として同じ画像特徴(色相、外形、彩度、明度、
テクスチャ、レイアウト等)を指定可能であるが画像デ
ータベース毎に検索条件として指定可能な画像特徴の表
現形式が異なったり、画像データベース毎に検索結果と
なる画像データのアプリケーションプログラムへの受渡
し方法(ファイル渡し、パラメータ渡し等)が異なる場
合、その表現形式の違いや画像データの受渡し方法の違
いを解消した検索を実現する画像データベース異種性解
消検索方法および装置と画像データベース異種性解消検
索プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION The present invention relates to an image processing system in which a plurality of image databases have the same image characteristics (hue, outer shape, saturation, brightness,
It is possible to specify textures, layouts, etc., but the expression format of image features that can be specified as a search condition differs for each image database, or a method of transferring image data as a search result to an application program for each image database (file transfer) , Parameter passing, etc.), an image database heterogeneity resolving search method and apparatus for realizing a search that eliminates a difference in expression form and a difference in image data delivery method, and a recording in which an image database heterogeneity resolving search program is recorded Regarding the medium.

【0002】[0002]

【従来の技術】近年、パソコンの高機能化や低価格化、
オープンなネットワークであるインターネット、イント
ラネット、エクストラネットの普及により、エンドユー
ザまで画像データを容易に閲覧や加工できる環境が急速
に整いつつある。これと並行して、大量に蓄積された画
像データを効率的に管理するため、画像データを一元的
に管理し、色相、外形、彩度、明度、テクスチャ、レイ
アウト等の画像特徴を指定することにより類似した画像
データの検索を実現するための研究開発が活発となって
きている。実際、関係データベースのシェアで上位のベ
ンダは、ターゲットをオブジェクト関係データベースへ
と移行し、画像データを容易に扱えるライブラリをカー
トリッジとして提供し始めている。
2. Description of the Related Art In recent years, the performance and price of personal computers have been reduced,
With the widespread use of open networks such as the Internet, intranets, and extranets, an environment in which image data can be easily viewed and processed by end users has been rapidly established. At the same time, in order to efficiently manage a large amount of stored image data, centrally manage the image data and specify image features such as hue, outer shape, saturation, brightness, texture, layout, etc. Research and development for realizing a search for more similar image data have become active. In fact, the top vendors in relational database shares have shifted their targets to object relational databases and have begun to provide libraries as cartridges that can easily handle image data.

【0003】しかし、画像データベースに対し、画像特
徴を指定することにより類似した画像データの検索を提
供するためのインタフェースは、標準化されたものはな
く、各ベンダが独自のインタフェースを提供しているの
が実状である。このような状況では、複数の画像データ
ベースが存在する環境において、画像特徴の指定によ
り、複数の画像データベースから画一的に類似した画像
データを検索するには、システム毎にアプリケーション
プログラムで対応する必要があった。しかし、この方式
では、ユーザはシステム固有のプログラムを記述する必
要があり、検索条件に指定可能な画像特徴の表現形式
や、検索結果の画像データの受渡し方法がシステム毎に
固定されることになる。
[0003] However, there is no standardized interface for providing a search for similar image data by designating image characteristics in an image database, and each vendor provides its own interface. Is the actual situation. In such a situation, in an environment where a plurality of image databases exist, in order to search for image data that is uniformly similar from the plurality of image databases by specifying image characteristics, it is necessary to use an application program for each system. was there. However, in this method, the user needs to write a program unique to the system, and the expression form of the image feature that can be specified in the search condition and the method of delivering the image data of the search result are fixed for each system. .

【0004】また、別の手段として、関係データベース
の統合化技術であるマルチデータベース技術を利用する
方法があった。マルチデータベース技術とは、グローバ
ルスキーマと呼ばれるユーザが利用するデータベースの
仮想的な構造を予め定義することによって、ユーザは個
別の情報の表現形式や構造を意識しないで、分散するデ
ータベースを検索できるという技術である。しかし、こ
の方式では、ユーザはこのグローバルスキーマの形式で
しか、データを見ることができず、1つの見方を強制さ
れることになる。
As another means, there has been a method using a multi-database technology which is a technology for integrating relational databases. Multi-database technology is a technology that allows users to search distributed databases without having to be aware of the expression format or structure of individual information by predefining the virtual structure of the database used by the user, called the global schema. It is. However, in this method, the user can view data only in the form of the global schema, and is forced to take one view.

【0005】[0005]

【発明が解決しようとする課題】従来の方式では、アプ
リケーションプログラムの作成やグローバルスキーマの
定義のために、全画像データベースの検索条件として指
定可能な画像特徴の表現形式や検索結果の画像データの
受渡し方法を知っている必要があった。しかし、それに
は、すべての画像データベースの内容に通じる必要があ
り、実際は非常に難しい。よって、自分の持つ画像デー
タベース以外の検索条件として指定可能な画像特徴の表
現形式や画像データの受渡し方法をできるだけ知らなく
ても、各画像データベースの検索条件に指定可能な画像
特徴の表現形式や検索結果の画像データの受渡し方法の
違いを解消できる仕組みが要求されている。
In the conventional method, in order to create an application program or define a global schema, an image feature expression format that can be specified as a search condition of an entire image database and delivery of image data of a search result. Needed to know how. However, it requires access to the contents of all image databases, which is actually very difficult. Therefore, even if you do not know as much as possible the expression format of image features that can be specified as search conditions other than your own image database and the delivery method of image data, you can specify the expression format and search format of image features that can be specified as search conditions for each image database. There is a need for a mechanism that can eliminate the difference in the delivery method of the resulting image data.

【0006】また、ユーザは、個人固有の検索条件にお
ける画像特徴の表現形式(例えば、用語、画像特徴値、
ファイル等)の指定で全画像データベースの情報を検索
したいという要求や、個人固有の受渡し方法(ファイル
渡し、パラメータ渡し等)で全画像データベースの検索
結果の画像データを取得したいという要求がある。
[0006] Further, the user can express an image feature in an expression form (for example, term, image feature value,
There is a request to search the information of the entire image database by specifying a file or the like, or a request to obtain image data of a search result of the entire image database by an individual delivery method (file transfer, parameter transfer, etc.).

【0007】これは、自分の使っているアプリケーショ
ンプログラムを用いて他の画像データベースのデータを
使いたいが、そのアプリケーションプログラムが自分の
画像データベースの検索条件に指定可能な画像特徴の表
現形式や検索結果の画像データの受渡し方法に合わせて
作られるからである。この要求を既存のマルチデータベ
ース技術で実現しようとすると、ユーザの画像データベ
ースと検索条件に指定可能な画像特徴の表現形式や検索
結果の画像データの受渡し方法が同じであるグローバル
スキーマをユーザ毎に定義する必要があり、非効率であ
るという問題がある。
In this method, the user wants to use the data of another image database by using the application program used by the user. However, the application program can use the expression form or the search result of the image feature which can be specified in the search condition of the image database. This is because it is made in accordance with the image data delivery method. If this request is to be implemented using existing multi-database technology, a global schema is defined for each user that uses the same image feature expression format and search result image data delivery method that can be specified in the user's image database and search conditions. And there is a problem of inefficiency.

【0008】従って、グローバルスキーマを定義するこ
となく、断片的に検索条件に指定可能な画像特徴の表現
形式や検索結果の画像データの受渡し方法の違いを定義
することによって、その違いを解消することが必要であ
る。そして、ユーザが利用したい検索条件に指定可能な
画像特徴の表現形式や検索結果の画像データの受渡し方
法を容易に変更できる仕組みを提供することにより、そ
の表現形式の違いや画像データの受渡し方法の違いを解
消した検索を実現することが要望されている。
Therefore, without defining a global schema, it is possible to eliminate the difference by defining the expression form of image features that can be specified fragmentarily in search conditions and the method of delivering image data of search results. is necessary. By providing a mechanism that allows the user to easily change the expression format of image features that can be specified in the search conditions that the user wants to use and the delivery method of the image data of the search result, the difference in the expression format and the delivery method of the image data are provided. There is a demand for a search that eliminates the differences.

【0009】本発明は、上記に鑑みてなされたもので、
その目的とするところは、画像特徴の表現形式の違いや
画像データの受渡し方法の違いを解消した検索を実現す
る画像データベース異種性解消検索方法および装置と画
像データベース異種性解消検索プログラムを記録した記
録媒体を提供することにある。
[0009] The present invention has been made in view of the above,
Its purpose is to record an image database dissimilarity search method and apparatus and an image database dissimilarity search program that realizes a search that eliminates differences in the expression form of image features and differences in the method of transferring image data. To provide a medium.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の本発明は、複数の画像データベース
が存在する環境において各画像データベースが検索条件
として同じ画像特徴を指定可能であるが画像データベー
ス毎に検索条件として指定可能な画像特徴の表現形式が
異なったり、画像データベース毎に検索結果となる画像
データのアプリケーションプログラムへの受渡し方法が
異なる場合、その表現形式の違いや画像データの受渡し
方法の違いを解消した検索を実現する画像データベース
異種性解消検索方法であって、各画像データベースの実
存する列と検索条件として指定可能な項目であるが対応
する列が画像データベース上に存在しない列である仮想
列を管理するとともに、各画像データベースの検索要求
で指定可能なデータ項目の表現形式と各画像データベー
スの検索条件として指定可能な画像特徴の表現形式と各
画像データベースの検索結果となる画像データの受渡し
方法であるドメインをローカルドメインとして各画像デ
ータベース毎にローカルドメイン管理テーブルで管理
し、表現形式および受渡し方法の対象が同一である各ド
メインをドメイングループとしてドメイングループ管理
テーブルで管理し、ドメイン間の変換を行う変換関数を
変換関数管理テーブルで管理し、ユーザが指定する検索
条件で用いるデータの表現形式、ユーザが要求する検索
結果のデータの表現形式、およびユーザが要求する検索
結果のデータの受渡し方法であるドメインをユーザドメ
インとして各ユーザ毎にユーザドメイン管理テーブルで
管理し、ユーザから入力された問い合わせ文の検索デー
タが記憶されている画像データベースおよび該検索デー
タに対応するローカルドメインを前記ローカルドメイン
管理テーブルから探索し、ユーザ名とユーザが指定した
検索データのドメイングループからユーザドメインを前
記ユーザドメイン管理テーブルから探索し、この探索し
たローカルドメインとユーザドメインとが異なる場合、
該ユーザドメインをローカルドメインに変換する変換関
数と該ローカルドメインをユーザドメインに変換する変
換関数を前記変換関数管理テーブルから探索し、この探
索された変換関数を用いて、前記問い合わせ文を各画像
データベースに適合した表現形式に変換し、その画像デ
ータベースに対する問い合わせ文に翻訳し、この翻訳さ
れた問い合わせ文により各画像データベースを検索する
ことを要旨とする。
To achieve the above object, according to the present invention, in an environment where a plurality of image databases exist, each image database can specify the same image feature as a search condition. When the expression format of image features that can be specified as search conditions differs for each image database, or when the method of delivering image data that is a search result to an application program differs for each image database, the difference in expression format and delivery of image data This is an image database dissimilarity resolving search method that realizes a search that eliminates the difference between the methods, wherein a column that exists in each image database and a column that can be specified as a search condition but the corresponding column does not exist in the image database Data that can be specified in each image database search request Local domain management table for each image database, with the expression format of the eyes, the expression format of image features that can be specified as search conditions for each image database, and the domain that is the method of delivering image data that is the search result of each image database as the local domain Each domain with the same expression format and delivery method is managed as a domain group in the domain group management table, and the conversion function for converting between domains is managed in the conversion function management table and specified by the user. The expression format of the data used in the search conditions, the expression format of the search result data requested by the user, and the domain that is the method of delivering the search result data requested by the user are managed as user domains in the user domain management table for each user. Inquiry entered by the user An image database in which sentence search data is stored and a local domain corresponding to the search data are searched from the local domain management table, and a user domain is managed from the user name and a domain group of the search data designated by the user. Search from the table and if the searched local domain and user domain are different,
A conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are searched from the conversion function management table, and the query sentence is converted into each image database using the searched conversion functions. The purpose of the present invention is to convert the data into an expression format that conforms to the above, translate it into a query sentence for the image database, and search each image database using the translated query sentence.

【0011】請求項1記載の本発明にあっては、ユーザ
から入力された問い合わせ文の検索データが記憶されて
いる画像データベースおよび該検索データに対応するロ
ーカルドメインをローカルドメイン管理テーブルから探
索し、ユーザ名とユーザが指定した検索データのドメイ
ングループからユーザドメインをユーザドメイン管理テ
ーブルから探索し、この探索したローカルドメインとユ
ーザドメインとが異なる場合、該ユーザドメインをロー
カルドメインに変換する変換関数と該ローカルドメイン
をユーザドメインに変換する変換関数を変換関数管理テ
ーブルから探索し、前者の変換関数を用いて、ユーザか
らの問い合わせ文を各画像データベースに適合した表現
形式に変換し、その画像データベースに対する問い合わ
せ文に翻訳し、この翻訳された問い合わせ文により各画
像データベースを検索し、後者の変換関数を用いて、検
索結果の表現形式や受渡し方法をユーザドメインに変換
するため、各画像データベースの検索条件に指定する画
像特徴の表現形式や画像データベース毎に検索結果とな
る画像データのアプリケーションプログラムへの受渡し
方法がユーザ指定の表現形式や受渡し方法と異なっても
自由に検索することができる。
According to the first aspect of the present invention, an image database storing search data of an inquiry sentence input by a user and a local domain corresponding to the search data are searched from a local domain management table, A conversion function for searching a user domain from a user domain management table for a user domain from a user name and a domain group of search data designated by the user, and if the searched local domain is different from the user domain, a conversion function for converting the user domain to the local domain; A conversion function for converting a local domain into a user domain is searched from a conversion function management table, and a query sent from a user is converted into an expression format suitable for each image database using the former conversion function, and an inquiry to the image database is made. Translate it into a sentence Searching each image database using the translated query, and using the latter conversion function to convert the expression form and delivery method of the search results to the user domain, the expression of image features specified in the search conditions of each image database Even if the delivery method of the image data serving as the search result to the application program for each format or image database is different from the expression format or delivery method specified by the user, the search can be freely performed.

【0012】また、請求項2記載の本発明は、複数の画
像データベースが存在する環境において各画像データベ
ースが検索条件として同じ画像特徴を指定可能であるが
画像データベース毎に検索条件として指定可能な画像特
徴の表現形式が異なったり、画像データベース毎に検索
結果となる画像データのアプリケーションプログラムへ
の受渡し方法が異なる場合、その表現形式の違いや画像
データの受渡し方法の違いを解消した検索を実現する画
像データベース異種性解消検索装置であって、各画像デ
ータベースの実存する列と検索条件として指定可能な項
目であるが対応する列が画像データベース上に存在しな
い列である仮想列を管理するとともに、各画像データベ
ースの検索要求で指定可能なデータ項目の表現形式と各
画像データベースの検索条件として指定可能な画像特徴
の表現形式と各画像データベースの検索結果となる画像
データの受渡し方法であるドメインをローカルドメイン
として各画像データベース毎に管理するローカルドメイ
ン管理テーブルと、表現形式および受渡し方法の対象が
同一である各ドメインをドメイングループとして管理す
るドメイングループ管理テーブルと、ドメイン間の変換
を行う変換関数を管理する変換関数管理テーブルと、ユ
ーザが指定する検索条件で用いるデータの表現形式、ユ
ーザが要求する検索結果のデータの表現形式、およびユ
ーザが要求する検索結果のデータの受渡し方法であるド
メインをユーザドメインとして各ユーザ毎に管理するユ
ーザドメイン管理テーブルと、ユーザから入力された問
い合わせ文の検索データが記憶されている画像データベ
ースおよび該検索データに対応するローカルドメインを
前記ローカルドメイン管理テーブルから探索し、ユーザ
名とユーザが指定した検索データのドメイングループか
らユーザドメインを前記ユーザドメイン管理テーブルか
ら探索するドメイン探索手段と、該ドメイン探索手段で
探索したローカルドメインとユーザドメインとが異なる
場合、該ユーザドメインをローカルドメインに変換する
変換関数と該ローカルドメインをユーザドメインに変換
する変換関数を前記変換関数管理テーブルから探索する
変換関数探索手段と、該変換関数探索手段で探索された
変換関数を用いて、前記問い合わせ文を各画像データベ
ースに適合した表現形式に変換し、その画像データベー
スに対する問い合わせ文に翻訳し、この翻訳された問い
合わせ文により各画像データベースを検索する検索手段
とを有することを要旨とする。
According to a second aspect of the present invention, in an environment where a plurality of image databases exist, each image database can specify the same image feature as a search condition, but each image database can specify the same image feature as a search condition. If the expression format of the features is different or the delivery method of the image data that is the search result for each image database to the application program is different, the image that realizes the search that eliminates the difference in the expression format and the difference in the delivery method of the image data A database dissimilarity resolving search apparatus, which manages a virtual column in which an existing column of each image database and a column that can be specified as a search condition but a corresponding column does not exist in the image database, Representation format of data items that can be specified in database search request and each image database A local domain management table that manages, for each image database, a domain as a local domain, which is an expression format of image features that can be specified as search conditions and a method of delivering image data that is a search result of each image database, and an expression format and delivery method A domain group management table that manages each domain having the same target as a domain group, a conversion function management table that manages a conversion function that performs conversion between domains, an expression format of data used in a search condition specified by a user, A user domain management table that manages, for each user, a domain as a user domain, which is a representation format of search result data requested by the user and a method of delivering search result data requested by the user, and a query sent from the user. Search data is stored Domain search means for searching the image database and the local domain corresponding to the search data from the local domain management table, and searching the user domain management table for a user domain from a user name and a domain group of the search data specified by the user; and When the local domain and the user domain searched by the domain searching means are different, a conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are searched from the conversion function management table. Using the conversion function search means and the conversion function searched by the conversion function search means, the query sentence is converted into an expression format suitable for each image database, and translated into a query sentence for the image database. Question The gist of the present invention is to have a search means for searching each image database by the combined sentence.

【0013】請求項2記載の本発明にあっては、ユーザ
から入力された問い合わせ文の検索データが記憶されて
いる画像データベースおよび該検索データに対応するロ
ーカルドメインをローカルドメイン管理テーブルから探
索し、ユーザ名とユーザが指定した検索データのドメイ
ングループからユーザドメインをユーザドメイン管理テ
ーブルから探索し、この探索したローカルドメインとユ
ーザドメインとが異なる場合、該ユーザドメインをロー
カルドメインに変換する変換関数と該ローカルドメイン
をユーザドメインに変換する変換関数を変換関数管理テ
ーブルから探索し、前者の変換関数を用いて、ユーザか
らの問い合わせ文を各画像データベースに適合した表現
形式に変換し、その画像データベースに対する問い合わ
せ文に翻訳し、この翻訳された問い合わせ文により各画
像データベースを検索し、後者の変換関数を用いて、検
索結果の表現形式や受渡し方法をユーザドメインに変換
するため、各画像データベースの検索条件に指定する画
像特徴の表現形式や画像データベース毎に検索結果とな
る画像データのアプリケーションプログラムへの受渡し
方法がユーザ指定の表現形式や受渡し方法と異なっても
自由に検索することができる。
According to the present invention, an image database storing search data of a query sentence input by a user and a local domain corresponding to the search data are searched from a local domain management table, A conversion function for searching a user domain from a user domain management table for a user domain from a user name and a domain group of search data designated by the user, and if the searched local domain is different from the user domain, a conversion function for converting the user domain to the local domain; A conversion function for converting a local domain into a user domain is searched from a conversion function management table, and a query sent from a user is converted into an expression format suitable for each image database using the former conversion function, and an inquiry to the image database is made. Translate it into a sentence Searching each image database using the translated query, and using the latter conversion function to convert the expression form and delivery method of the search results to the user domain, the expression of image features specified in the search conditions of each image database Even if the delivery method of the image data serving as the search result to the application program for each format or image database is different from the expression format or delivery method specified by the user, the search can be freely performed.

【0014】更に、請求項3記載の本発明は、複数の画
像データベースが存在する環境において各画像データベ
ースが検索条件として同じ画像特徴を指定可能であるが
画像データベース毎に検索条件として指定可能な画像特
徴の表現形式が異なったり、画像データベース毎に検索
結果となる画像データのアプリケーションプログラムへ
の受渡し方法が異なる場合、その表現形式の違いや画像
データの受渡し方法の違いを解消した検索を実現する画
像データベース異種性解消検索プログラムを記録した記
録媒体であって、各画像データベースの実存する列と検
索条件として指定可能な項目であるが対応する列が画像
データベース上に存在しない列である仮想列を管理する
とともに、各画像データベースの検索要求で指定可能な
データ項目の表現形状と各画像データベースの検索条件
として指定可能な画像特徴の表現形式と各画像データベ
ースの検索結果となる画像データの受渡し方法であるド
メインをローカルドメインとして各画像データベース毎
にローカルドメイン管理テーブルで管理し、表現形式お
よび受渡し方法の対象が同一である各ドメインをドメイ
ングループとしてドメイングループ管理テーブルで管理
し、ドメイン間の変換を行う変換関数を変換関数管理テ
ーブルで管理し、ユーザが指定する検索条件で用いるデ
ータの表現形式、ユーザが要求する検索結果のデータの
表現形式、およびユーザが要求する検索結果のデータの
受渡し方法であるドメインをユーザドメインとして各ユ
ーザ毎にユーザドメイン管理テーブルで管理し、ユーザ
から入力された問い合わせ文の検索データが記憶されて
いる画像データベースおよび該検索データに対応するロ
ーカルドメインを前記ローカルドメイン管理テーブルか
ら探索し、ユーザ名とユーザが指定した検索データのド
メイングループからユーザドメインを前記ユーザドメイ
ン管理テーブルから探索し、この探索したローカルドメ
インとユーザドメインとが異なる場合、該ユーザドメイ
ンをローカルドメインに変換する変換関数と該ローカル
ドメインをユーザドメインに変換する変換関数を前記変
換関数管理テーブルから探索し、この探索された変換関
数を用いて、前記問い合わせ文を各画像データベースに
適合した表現形式に変換し、その画像データベースに対
する問い合わせ文に翻訳し、この翻訳された問い合わせ
文により各画像データベースを検索する画像データベー
ス異種性解消検索プログラムを記録媒体に記録すること
を要旨とする。
Further, according to the present invention, in an environment where a plurality of image databases exist, each image database can specify the same image feature as a search condition, but each image database can specify the same image feature as a search condition. If the expression format of the features is different or the delivery method of the image data that is the search result for each image database to the application program is different, the image that realizes the search that eliminates the difference in the expression format and the difference in the delivery method of the image data Manages a virtual column that is a recording medium that stores a database dissimilarity resolving search program, and that is a column that can be specified as a search condition and an existing column of each image database, but the corresponding column does not exist in the image database. And data items that can be specified in search requests for each image database The domain, which is the expression form of image features that can be specified as search conditions for each image database and the method of delivering image data as search results for each image database, is managed as a local domain in the local domain management table for each image database. , Each domain having the same expression format and delivery method is managed as a domain group in the domain group management table, conversion functions for converting between domains are managed in the conversion function management table, and the search conditions specified by the user are used. The user uses a user domain management table for each user as a user domain, which is a representation format of data to be used, a representation format of search result data requested by the user, and a method of delivery of search result data requested by the user. Search for the query sent from And a local domain corresponding to the search data is searched from the local domain management table, and a user domain from the user name and a domain group of the search data designated by the user is searched from the user domain management table. When the searched local domain is different from the user domain, a conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are searched from the conversion function management table. Using the searched conversion function, the query sentence is converted into an expression format suitable for each image database, translated into a query sentence for the image database, and image data for searching each image database with the translated query sentence Be The gist of the present invention is to record a search program for eliminating heterogeneity on a recording medium.

【0015】請求項3記載の本発明にあっては、ユーザ
から入力された問い合わせ文の検索データが記録されて
いる画像データベースおよび該検索データに対応するロ
ーカルドメインをローカルドメイン管理テーブルから探
索し、ユーザ名とユーザが指定した検索データのドメイ
ングループからユーザドメインをユーザドメイン管理テ
ーブルから探索し、この探索したローカルドメインとユ
ーザドメインとが異なる場合、該ユーザドメインをロー
カルドメインに変換する変換関数と該ローカルドメイン
をユーザドメインに変換する変換関数を変換関数管理テ
ーブルから探索し、前者の変換関数を用いて、ユーザか
らの問い合わせ文を各画像データベースに適合した表現
形式に変換し、その画像データベースに対する問い合わ
せ文に翻訳し、この翻訳された問い合わせ文により各画
像データベースを検索し、後者の変換関数を用いて、検
索結果の表現形式や受渡し方法をユーザドメインに変換
する画像データベース異種性解消検索プログラムを記録
媒体に記録しているため、該記録媒体を使用して、その
流通性を高めることができる。
According to the third aspect of the present invention, an image database in which search data of an inquiry sentence input by a user is recorded and a local domain corresponding to the search data are searched from a local domain management table. A conversion function for searching a user domain from a user domain management table for a user domain from a user name and a domain group of search data designated by the user, and if the searched local domain is different from the user domain, a conversion function for converting the user domain to the local domain; A conversion function for converting a local domain into a user domain is searched from a conversion function management table, and a query sent from a user is converted into an expression format suitable for each image database using the former conversion function, and an inquiry to the image database is made. Translate it into a sentence Each image database is searched by the translated query sentence, and an image database dissimilarity search program for converting the expression form and delivery method of the search result into a user domain using the latter conversion function is recorded on a recording medium. Therefore, the distribution property can be improved by using the recording medium.

【0016】[0016]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は、本発明の一実施形態に係る画像デ
ータベース異種性解消検索装置の構成を示すブロック図
である。本実施形態の画像データベース異種性解消検索
装置は、複数の画像データベースが存在する環境におい
て、各画像データベースが検索条件として同じ画像特徴
(色相、外形、彩度、明度、テクスチャ、レイアウト
等)の指定が可能であるが画像データベース毎に検索条
件として指定可能な画像特徴の表現形式が異なったり、
画像データベース毎に検索結果となる画像データのアプ
リケーションプログラムへの受渡し方法(ファイル渡
し、パラメータ渡し等)が異なる場合、その表現形式の
違いや画像データの受渡し方法の違いを解消して検索す
るものであり、各画像データベースの実存する列と、検
索条件として指定可能な項目であるが対応する列が画像
データベース上に存在しない列である仮想列を管理する
とともに、各画像データベースの検索要求で指定可能な
データ項目の表現形式と各画像データベースの検索条件
として指定可能な画像特徴の表現形式と各画像データベ
ースの検索結果となる画像データの受渡し方法(これを
ドメインと称する)を管理し、表現形式や受渡し方法の
対象が同一である各ドメインをドメイングループとし、
このドメイングループの中から代表して標準的に使用さ
れるグローバルドメインを選択し、ユーザが指定する検
索条件で用いるデータの表現形式やユーザが要求する検
索結果のデータの表現形式やユーザが要求する検索結果
のデータの受渡し方法である各ドメイングループ内の1
つずつのドメインをユーザドメインとし、検索時に画像
データベースのローカルドメインとユーザドメインとが
異なる場合、ドメイン間の変換関数を呼び出し、この変
換関数を用いてユーザの問い合わせ文を各画像データベ
ースに適合した表現形式に変換し、その画像データベー
スに対する問い合わせ文に翻訳し、この翻訳した問い合
わせ文により画像データベースを検索し、検索結果をユ
ーザドメインに変換するものであり、該画像データベー
ス異種性解消検索装置は、図1に示すように、ユーザの
アプリケーションプログラム12から入力される問い合
わせ文13の構文を解析する構文解析部1と、この問い
合わせ文に対する処理の全体の流れを制御する問い合わ
せ処理制御部2、問い合わせの変換を行う問い合わせ変
換部3、ドメイン間のデータ変換を行う関数の集まりで
ある変換関数ライブラリ4、および検索されたデータの
ドメインを変換するデータ処理部6からなる問い合わせ
処理部11と、分散した画像データベースにアクセスす
るためのデータベースアクセス部5と、ドメイン、ドメ
イングループなどの情報、データベースに含まれるテー
ブルの情報などを記憶し管理するメタデータ蓄積部7
と、該メタデータ蓄積部7に対するメタデータの入力、
削除、変更などを行うメタデータ管理部8とから構成さ
れ、前記データベースアクセス部5にはそれぞれ画像デ
ータベース9および該画像データベース9を管理するデ
ータベース管理システム10からなる複数のデータベー
スシステム15が接続されている。なお、画像データベ
ース9はローカルデータベースとも称する。
FIG. 1 is a block diagram showing the configuration of an image database dissimilarity search apparatus according to an embodiment of the present invention. The image database dissimilarity search apparatus of the present embodiment specifies the same image feature (hue, outline, saturation, brightness, texture, layout, etc.) as a search condition in an environment in which a plurality of image databases exist. Is possible, but the expression form of the image feature that can be specified as a search condition differs for each image database,
When the delivery method (file delivery, parameter delivery, etc.) of the image data that is the search result to the application program differs for each image database, the search is performed by eliminating the difference in the expression format and the difference in the image data delivery method. Yes, manages existing columns of each image database and virtual columns that are items that can be specified as search conditions but corresponding columns do not exist in the image database, and can be specified in each image database search request It manages the expression format of various data items, the expression format of image features that can be specified as a search condition of each image database, and the delivery method of image data that is a search result of each image database (this is called a domain). Each domain for which the delivery method is the same is a domain group,
From this domain group, a global domain that is typically used as a representative is selected, and a data expression format used in a search condition specified by the user, a data expression format of a search result requested by the user, or a user request. 1 in each domain group that is the method of delivery of search result data
If each domain is a user domain, and the local domain and the user domain of the image database are different at the time of search, a conversion function between the domains is called, and a query sentence of the user is adapted to each image database using this conversion function. The image database is translated into a query sentence for the image database, the image database is searched by the translated query, and the search result is converted into a user domain. As shown in FIG. 1, a syntax analyzer 1 for analyzing the syntax of a query sentence 13 input from a user's application program 12, a query processing controller 2 for controlling the overall flow of processing for this query, and a conversion of a query. Conversion unit 3 that performs A conversion function library 4 which is a group of functions for performing data conversion of the above, an inquiry processing unit 11 comprising a data processing unit 6 for converting a domain of searched data, and a database access unit 5 for accessing a distributed image database. And a metadata storage unit 7 for storing and managing information such as domains and domain groups, and information of tables included in a database.
Input of metadata to the metadata storage unit 7,
The database access unit 5 is connected to a plurality of database systems 15 each including an image database 9 and a database management system 10 for managing the image database 9. I have. Note that the image database 9 is also called a local database.

【0018】以上のように構成される本実施形態の画像
データベース異種性解消検索装置は、その概略的作用を
図9のフローチャートに示すように、検索を実行する前
にドメインの定義等の準備を行う準備フェーズと実際の
検索を行う検索フェーズの2段階の処理を大別して有す
る。本実施形態の詳細な説明を行う前に、まず図9に示
すフローチャートを参照して、本実施形態の概略的処理
の流れについて説明する。
The image database heterogeneity resolving and retrieving apparatus of the present embodiment configured as described above has a schematic operation as shown in a flowchart of FIG. There are roughly two stages of processing, a preparation phase to be performed and a search phase to perform an actual search. Before giving a detailed description of the present embodiment, first, a schematic processing flow of the present embodiment will be described with reference to a flowchart shown in FIG.

【0019】図9では、まず準備フェーズにおいてロー
カルドメインの定義(ステップS11)およびドメイン
グループの定義(ステップS13)を行い、ドメイン間
の変換を行う変換関数を作成し(ステップS15)、そ
してユーザドメインを決定する(ステップS17)。そ
れから、検索フェーズに進み、ユーザからの問い合わせ
文を解析し、列テーブルを検索して問い合わせデータベ
ースを決定する(ステップS21)。また、問い合わせ
文に含まれる列や仮想列のドメインを列テーブルから検
索し(ステップS23)、問い合わせのユーザとドメイ
ンからユーザドメインを検索し(ステップS25)、そ
れからユーザドメインからローカルドメインへの変換関
数を探索し(ステップS27)、この変換関数を用いて
画像データベースに対する問い合わせ文に翻訳し(ステ
ップS29)、この翻訳した問い合わせ文によりデータ
ベースを検索する(ステップS31)。
In FIG. 9, first, in a preparation phase, a local domain is defined (step S11) and a domain group is defined (step S13), and a conversion function for converting between domains is created (step S15). Is determined (step S17). Then, the process proceeds to a search phase, in which a query sentence from the user is analyzed, and a column table is searched to determine a query database (step S21). Further, a domain of a column or a virtual column included in the query is searched from the column table (step S23), a user domain is searched from the user and the domain of the query (step S25), and a conversion function from the user domain to the local domain is performed. Is searched (step S27), translated into a query sentence for the image database using this conversion function (step S29), and the database is searched using the translated query sentence (step S31).

【0020】次に、各処理および全体の処理について詳
細に説明する。まず、準備フェーズについて説明する。
この準備フェーズでは、ドメインの定義を行うが、本実
施形態におけるドメインの管理の考え方について図2を
参照して説明する。各画像データベースの検索要求で指
定可能なデータ項目の表現形式と各画像データベースの
検索条件として指定可能な画像特徴の表現形式と各画像
データベースの検索結果となる画像データの受渡し方法
であるドメインとして、例えば図2に示すように、色相
に対するドメインとしては、言葉で表す(赤、青、黄
等)場合、16次元HUE値で表す場合、象徴する画像
ファイルで表す場合などのように種々の表現方法があ
る。
Next, each processing and the whole processing will be described in detail. First, the preparation phase will be described.
In this preparation phase, domains are defined. The concept of domain management in the present embodiment will be described with reference to FIG. As a domain, which is an expression format of data items that can be specified in a search request of each image database, an expression format of image features that can be specified as a search condition of each image database, and a delivery method of image data that is a search result of each image database, For example, as shown in FIG. 2, the domain for the hue can be expressed in various ways, such as when expressed by words (red, blue, yellow, etc.), when expressed by a 16-dimensional HUE value, or when expressed by a symbolic image file. There is.

【0021】このように種々の表現法の中で同じ画像特
徴を対象とするものをドメイングループとして定義し、
この中からただ1つのドメインをユーザが使用するドメ
インとして設定することで、ユーザに対して単一な見方
を提供することができる。また、検索結果となる画像デ
ータの受渡し方法であるドメインとしては、ファイルで
受渡す場合、パラメータで受渡す場合などのような種々
の受渡し方法がある。このように種々の受渡し法の中で
同じものを対象とするものをドメイングループとして定
義し、この中からただ1つのドメインをユーザが使用す
るドメインして設定することで、ユーザに対して単一な
受渡し方法を提供することができる。
As described above, one of various expression methods which targets the same image feature is defined as a domain group.
By setting only one of the domains as the domain used by the user, a single perspective can be provided to the user. Further, as a domain as a method of delivering image data as a search result, there are various delivery methods such as a case of delivering by a file and a case of delivering by a parameter. In this way, the various delivery methods that target the same one are defined as a domain group, and only one domain is set as a domain used by the user, so that a single A simple delivery method can be provided.

【0022】なお、図2では、ドメイングループとし
て、外形も挙げ、この中には言葉による表現、24次元
ベクトル値による表現、象徴するファイルによる表現な
ど種々のドメインを示している。また、図2では、ユー
ザuser1は色相と外形は言葉による表現を、画像データ
はファイルで受渡す方法を使用し、これらがuser1のユ
ーザドメインとなる。
In FIG. 2, a domain group also includes an outer shape, in which various domains such as a language expression, a 24-dimensional vector value expression, and a symbolic file expression are shown. In FIG. 2, the user user1 uses a method in which the hue and the outer shape are expressed in words, and the image data uses a method of transferring the image data in a file. These are user domains of the user1.

【0023】ドメインについては、次に示す4つの設
定、すなわちローカルドメインの設定、ドメイングルー
プの設定、変換関数の作成、ユーザドメインの設定が必
要であり、システム管理者はメタデータ管理部8を用い
てドメインなどの情報の設定を行う。また、これらの情
報はメタデータ蓄積部7に保存される。更に、メタデー
タ蓄積部7に保存される各情報のテーブルの構成を図3
および図4に示す。各ドメインの設定について説明す
る。
With respect to the domain, the following four settings are required: setting of a local domain, setting of a domain group, creation of a conversion function, and setting of a user domain. To set information such as domain. These pieces of information are stored in the metadata storage unit 7. Further, the configuration of a table of each information stored in the metadata storage unit 7 is shown in FIG.
And FIG. The setting of each domain will be described.

【0024】(1)ローカルドメインの設定:ローカル
データベース9の実存する列と、検索条件として指定可
能な項目であるが対応する列が画像データベース上に存
在しない列である仮想列に対し、各画像データベースの
検索要求で指定可能なデータ項目の表現形式と各画像デ
ータベースの検索条件として指定可能な画像特徴の表現
形式と各画像データベースの検索結果となる画像データ
の受渡し方法である「ドメイン」を設定する。これをロ
ーカルドメインと呼ぶ。例えば、ある画像データベース
の検索要求で指定可能な画像特徴「色相」に対し、これ
のドメインをColorFileName であると設定する。このCo
lorFileName というドメインの表す意味は、単に色相を
象徴するファイルの所在だけでなく、「色相」のより細
かい表現の形式を表す。例えば、このColorFileName
は、 ・ホスト名を含む。 ・絶対パスである。 といった表現形式である。列や仮想列に対するドメイン
の定義は、図3(a)に示すように「列」テーブルに保
持される。基本的には、この作業は、ローカルデータベ
ースの管理者が行う。その時、メタデータ管理部8を用
いて、既に定義されているドメインを参照する。もし、
自分のデータベースのドメインとして使えるドメインが
既に定義されているようなら、それを用い、新たにドメ
インを作成しない。
(1) Setting of local domain: For each column existing in the local database 9 and a virtual column which is an item which can be specified as a search condition but whose corresponding column does not exist in the image database, Set the expression form of data items that can be specified in the database search request, the expression form of image features that can be specified as search conditions for each image database, and the "domain" that is the method of transferring image data that is the search result of each image database I do. This is called a local domain. For example, the domain of an image feature “hue” that can be specified by a search request of a certain image database is set as ColorFileName. This Co
The meaning of the domain lorFileName represents not only the location of the file representing hue, but also the finer form of expression of "hue". For example, this ColorFileName
Contains the host name.・ It is an absolute path. It is an expression form. The definition of a domain for a column or virtual column is held in a “column” table as shown in FIG. Basically, this is done by the local database administrator. At this time, the already defined domain is referenced using the metadata management unit 8. if,
If a domain that can be used as a domain for your database is already defined, use it and do not create a new domain.

【0025】(2)ドメイングループの設定:表現形式
や受渡し方法は異なっているが、その対象が同一である
各ドメインのグループをドメイングループと呼ぶ。本装
置では、ユーザからは、このドメイングループに含まれ
るドメインはすべて1つのドメインに統一されて見え
る。ローカルデータベースの管理者は、自分が定義した
ドメインがどのドメイングループに入るのかを判断し、
そのドメイングループに入れる処理をする。適当なドメ
イングループが見付からない場合は、新しいドメイング
ループを作成する。もし、既に定義されているドメイン
であれば、どれかのドメイングループに含まれているの
で設定をする必要はない。図3(b)にドメイングルー
プを示す。ドメイングループの中には、1つの代表とし
て標準的に使われるドメインを設定しておく(この設定
は、基本的に本装置の管理者が行う)。そのドメインを
グローバルドメインと呼ぶ。図3(c)にグローバルド
メインを示す。
(2) Setting of domain group: A group of each domain which is different in expression form and delivery method but has the same object is called a domain group. In this apparatus, all the domains included in this domain group appear to be unified into one domain from the user. Local database administrators determine which domain groups their defined domains fall into,
Perform the process of joining the domain group. If a suitable domain group cannot be found, create a new one. If the domain is already defined, you do not need to set it because it is included in any domain group. FIG. 3B shows a domain group. In the domain group, a domain that is normally used as one representative is set (this setting is basically performed by the administrator of the apparatus). The domain is called a global domain. FIG. 3C shows the global domain.

【0026】(3)ユーザドメインの設定:ドメイング
ループの中から、ユーザが検索時に指定するドメインを
ユーザ毎に選んでおく。これをユーザドメインと呼ぶ。
ユーザが本装置に問い合わせを行う場合、多数のドメイ
ンがあっても、すべてのユーザドメインによる表現形式
や受渡し方法に統一される。また、このユーザドメイン
を変更することによって、ユーザからのデータの見え方
や扱い方を変更することができる。図3(d)にユーザ
ドメインを示す。
(3) Setting of user domain: A domain specified by a user at the time of search is selected for each user from a domain group. This is called a user domain.
When a user makes an inquiry to the present apparatus, even if there are a large number of domains, the expression format and delivery method for all user domains are unified. Further, by changing the user domain, it is possible to change how the data is viewed and handled by the user. FIG. 3D shows a user domain.

【0027】(4)変換関数作成:これは、既に変換関
数が定義されている場合は、必要はない。ユーザドメイ
ンとローカルドメインの間の変換関数を一般のプログラ
ミング言語を用いて作成する。作成した関数は、コンパ
イルし、ダイナミックにリンクできる形式にする。メタ
データ管理部8を用いて、この変換関数とドメインの関
係を登録する。変換関数とドメインの対応、変換関数の
所在は、図4に示すように、「変換関数」テーブルに保
持される。
(4) Creation of a conversion function: This is not necessary if a conversion function has already been defined. A conversion function between a user domain and a local domain is created using a general programming language. Compile your function into a form that can be dynamically linked. The relationship between the conversion function and the domain is registered using the metadata management unit 8. The correspondence between the conversion function and the domain and the location of the conversion function are held in a “conversion function” table as shown in FIG.

【0028】変換関数は、ユーザドメイン→ローカルド
メイン、ローカルドメイン→ユーザドメインというよう
に双方向の関数を作る。ただし、変換によっては、双方
向に関数を作ることが不可能な場合と不必要な場合があ
る。例えば、名前の変換で、「山田 太郎」→「山田太
郎」という変換=空白の削除は可能だが、その逆は一般
的には不可能である。また、データベース上に実存しな
い項目のドメインに対しては、検索条件には指定可能で
あるが、検索項目としては指定不可能である(つまり、
「SELECT 画像 WHERE 色相=赤」は可能であるが、
「SELECT 色相WHERE 外形=丸」は一般的には不可能で
ある)ため、問い合わせ文作成までの変換のみが行えれ
ばよいので、逆方向の変換関数は不要である。これらの
場合は、片方向のみの関数を作成する。双方向の関数を
作る理由は、直接変換する関数がない場合に、関数を組
み合わせて変換を行うためである。
The conversion function creates a bidirectional function such as user domain → local domain, local domain → user domain. However, depending on the conversion, it may be impossible or unnecessary to create functions in both directions. For example, in the name conversion, the conversion “Taro Yamada” → “Taro Yamada” = blank deletion is possible, but the reverse is generally impossible. Also, for a domain of an item that does not exist on the database, it can be specified as a search condition, but cannot be specified as a search item (that is,
"SELECT image WHERE hue = red" is possible,
Since “SELECT hue WHERE outline = circle” is generally not possible), only the conversion up to the query sentence need be performed, so the reverse conversion function is unnecessary. In these cases, a function in only one direction is created. The reason for creating a bidirectional function is to perform conversion by combining functions when there is no function to directly convert.

【0029】次に、検索フェーズについて説明する。ド
メインの情報を用いて以下のように検索を行う。ユーザ
は、一般にアプリケーションプログラムから、本装置の
機能をライブラリなどの形で呼び出し使用する。ユーザ
からの問い合わせは、関係データベースの検索言語であ
るSQLライクな言語で作成する。
Next, the search phase will be described. A search is performed using the domain information as follows. The user generally calls and uses the functions of the apparatus from an application program in the form of a library or the like. The inquiry from the user is created in an SQL-like language which is a search language of the relational database.

【0030】(1)問い合わせデータベースの決定:構
文解析部1により問い合わせを解析し、問い合わせに含
まれるテーブル・列・仮想列を含むデータベースをメタ
データ蓄積部7の「列」テーブルを検索することによっ
て知る。
(1) Determination of query database: The query is analyzed by the syntax analysis unit 1, and a database including tables, columns, and virtual columns included in the query is searched for in the “column” table of the metadata storage unit 7. know.

【0031】(2)問い合わせに含まれる列や仮想列の
ドメインの検索:問い合わせに含まれる列や仮想列のド
メインを図3(a)に示す「列」テーブルを検索するこ
とによって知る。
(2) Retrieval of a domain of a column or a virtual column included in an inquiry: A domain of a column or a virtual column included in an inquiry is found by searching a “column” table shown in FIG.

【0032】(3)ユーザドメインの検索:(2)のド
メインから図3(b)に示す「ドメイン」テーブルを検
索することにより、ドメイングルーブを検索し、問い合
わせているユーザ名と該ドメイングループから、図3
(d)に示す「ドメイングループユーザ」テーブルを検
索することにより、ユーザドメインを検索する。
(3) Retrieval of user domain: By retrieving the "domain" table shown in FIG. 3B from the domain of (2), a domain group is retrieved, and the domain name is retrieved from the inquired user name and the domain group. , FIG.
The user domain is searched by searching the "domain group user" table shown in (d).

【0033】(4)変換関数の探索:ユーザドメインと
(2)のドメインの間の変換関数を図4に示す「変換関
数」テーブルを用いて調べる。A→Bと直接適用できる
変換関数が見付からない場合、A→C,C→Bと組み合
わせて変換できないかを探索する。これは、ドメインを
ノード、ドメイン間の変換関数の存在をエッジにしたグ
ラフ上の探索問題であり、グラフ理論で検討されている
アルゴリズムを用いて容易に実現することができる。
(4) Search for conversion function: The conversion function between the user domain and the domain of (2) is checked using the "conversion function" table shown in FIG. If a conversion function that can be directly applied to A → B is not found, a search is made to see if conversion is possible in combination with A → C, C → B. This is a search problem on a graph in which a domain is a node and the existence of a transformation function between domains is an edge, and can be easily realized using an algorithm studied in graph theory.

【0034】(5)問い合わせの翻訳と実行:以下のよ
うにしてデータを変換し、検索項目、検索条件などをパ
ラメータにデータベース管理システム毎のデータベース
アクセス部を実現する必要がある。 ・問い合わせの中に含まれる値の変換:問い合わせに含
まれる値をユーザドメインからローカルドメインに変換
する。 ・データベース管理システム毎のアプリケーションイン
タフェースを用いてアクセス:データベース管理システ
ムによっては、SQLライクな構文をサポートするも
の、関数提供のみのものなどが存在するので、検索項
目、検索条件などをパラメータにデータベース管理シス
テム毎のデータベースアクセスを行う。
(5) Inquiry translation and execution: It is necessary to convert data as described below and implement a database access unit for each database management system using search items, search conditions, and the like as parameters. -Conversion of the value included in the query: The value included in the query is converted from the user domain to the local domain. -Access using an application interface for each database management system: Some database management systems support SQL-like syntax, some only provide functions, and so on. Database management using search items, search conditions, etc. as parameters Perform database access for each system.

【0035】複数の画像データベースにアクセスを行う
が、結果はそれぞれの画像データベースへの検索結果の
和を取ることとする。次に具体的な例について図5〜図
8を参照して説明する。図5は使用するサンプルとなる
画像データベース(DB)を示している。ドメインなど
のメタデータについては図3および図4の値がこの例に
沿っている。2つのデータベース(DB)は以下の形式
である。
Access is made to a plurality of image databases, and the result is the sum of the search results for each image database. Next, a specific example will be described with reference to FIGS. FIG. 5 shows a sample image database (DB) to be used. For metadata such as domains, the values in FIGS. 3 and 4 follow this example. The two databases (DB) are in the following format.

【0036】[0036]

【数1】 DB1: テーブル「絵画」 「絵画」の列={実存列(カテゴリ、タイトル、画像)、 仮想列(色相、外形)} 「画像」の表現法=(//hostname/DB1/picture/pict01.gif) 「色相」の表現法=(//hostname/DB1/picture/color/red.gif) 「外形」の表現法=(//hostname/DB1/picture/shape/circle.gif) DB2: テーブル「写真」 「写真」の列={実存列(カテゴリ、タイトル、画像)、 仮想列(色相、外形)} 「画像データ」の表現法=(バイナリデータ) 「色相」の表現法=(0.001667 0.000000 0.001667 0.010000 0.949167 0.037500 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000) 「外形」の表現法=(0.674243 0.621274 0.556349 0.469136 0.184281 0.429924 0.402778 0.504743 0.283333 0.351587 0.359079 0.755682 0.755682 0.737805 0.726985 0.624603 0.446476 0.429924 0.049873 0.096883 0.369598 0.556349 0.679539 0.674243) DB1: table “painting” column of “painting” = {existent column (category, title, image), virtual column (hue, outline)} expression method of “image” = (// hostname / DB1 / picture /pict01.gif) Expression of "hue" = (//hostname/DB1/picture/color/red.gif) Expression of "outline" = (//hostname/DB1/picture/shape/circle.gif) DB2 : Table "Photo" Column of "Photo" = {Existing column (category, title, image), virtual column (hue, outline)} Expression of "image data" = (binary data) Expression of "hue" = ( 0.001667 0.000000 0.001667 0.010000 0.949167 0.037500 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000) Expression of “Outer shape” = (0.674243 0.621274 0.556349 0.469136 0.184281 0.429924 0.402778 0.504743 0.283333 0.351587 0.359079 0.755682 0.755682 0.737805 0.726985 0.624603 0.446476 0.49684 0.368 483

【0037】DB1は、指定ファイルに似た画像検索を
可能とするデータベース管理システムであり、DB2
は、指定値に近い画像検索を可能とするデータベース管
理システムである。まず、準備フェーズとして、上述し
たようにローカルドメイン、ドメイングループ、変換関
数の定義およびユーザドメインの決定がそれぞれ以下の
ように行われる。
DB1 is a database management system that enables an image search similar to a specified file.
Is a database management system that enables an image search close to a specified value. First, as described above, the definition of the local domain, the domain group, the conversion function, and the determination of the user domain are performed as described below, respectively.

【0038】(1)ローカルドメインの定義:DB1,
DB2の管理者は、それぞれ自分のDBの列に対してそ
のローカルドメインを設定する。DB1の画像のドメイ
ンは、画像のホスト名およびファイル名であり、Pictur
eFileName とする。DB1の色相のドメインは、色相を
象徴するファイルの所在であり、ColorFileName とす
る。DB1の外形のドメインは、外形を象徴するファイ
ルの所在であり、ShapeFileName とする。DB2の画像
のドメインは、画像の実データであり、PictureData と
する。DB2の色相のドメインは、色相を表す16次元
のHUE値であり、ColorHUEValue とする。DB2の外
形のドメインは、外形を表す24次元のベクトル値であ
り、ShapeVectorValueとする。
(1) Definition of local domain: DB1,
The administrator of DB2 sets the local domain for each DB column. The domain of the image in DB1 is the host name and the file name of the image.
eFileName. The hue domain of DB1 is the location of a file symbolizing the hue, and is referred to as ColorFileName. The domain of the outer shape of DB1 is the location of a file symbolizing the outer shape, and is defined as ShapeFileName. The domain of the image in DB2 is the actual data of the image, and is assumed to be PictureData. The hue domain of DB2 is a 16-dimensional HUE value representing the hue, and is referred to as ColorHUEValue. The domain of the outer shape of DB2 is a 24-dimensional vector value representing the outer shape, and is defined as ShapeVectorValue.

【0039】(2)ドメイングループの定義:ここで
は、ドメイングループとして ・Picture (含まれるドメインはPictureFileName ,Pi
ctureData 、グローバルドメインはPictureFileName
)、 ・Color (含まれるドメインは、ColorName ,ColorFil
eName ,ColorHUEValue 、グローバルドメインはColorN
ame)、 ・Shape (含まれるドメインは、ShapeName ,ShapeFil
eName ,ShapeVectorValue、グローバルドメインはShap
eName ) の3つを設定する。ここで、ColorName とは、(赤、
青、黄等)という色相を言葉で表現したドメインであ
り、ShapeName とは、(丸、三角、四角等)という外形
を言葉で表現したドメインである。
(2) Definition of domain group: Here, as a domain group: Picture (the domain included is PictureFileName, Pi)
ctureData, the global domain is PictureFileName
), Color (The domains included are ColorName and ColorFil.)
eName, ColorHUEValue, global domain is ColorN
ame), Shape (The domains included are ShapeName, ShapeFil
eName, ShapeVectorValue, global domain is Shap
eName) is set. Where ColorName is (red,
The hue of blue, yellow, etc.) is a domain that expresses the hue in words, and the ShapeName is the domain in which the outer shape of (circle, triangle, square, etc.) is expressed in words.

【0040】(3)変換関数の定義:それぞれのドメイ
ングループについて、以下の変換関数を定義する。 ドメイングループ:Picture 変換関数:PictureFileName2PictureData( ) 画像ファイル名から画像データ実体を取得する。 変換関数:PictureData2PictureFileName( ) 画像データ実体をファイルに格納し、画像ファイル名を
取得する。 ドメイングループ:Color 変換関数:ColorName2ColorFileName( ) 言葉で表現した色相を、当該色相を象徴するファイル名
に変換化する。 変換関数:ColorName2ColorHUEValue( ) 言葉で表現した色相を、当該色相を示す16次元HUE
値に変換する。 ドメイングループ:Shape 変換関数:ShapeName2ShapeFileName( ) 言葉で表現した外形を、当該外形を象徴するファイル名
に変換する。 変換関数:ShapeName2ShapeVectorValue( ) 言葉で表現した外形を、当該外形を示す24次元ベクト
ル値に変換する。
(3) Definition of conversion function: The following conversion function is defined for each domain group. Domain group: Picture Conversion function: PictureFileName2PictureData () Acquires the image data entity from the image file name. Conversion function: PictureData2PictureFileName () Stores the image data entity in a file and obtains the image file name. Domain group: Color Conversion function: ColorName2ColorFileName () Converts a hue expressed in words into a file name that symbolizes the hue. Conversion function: ColorName2ColorHUEValue () A 16-dimensional HUE indicating the hue expressed in words
Convert to a value. Domain group: Shape Conversion function: ShapeName2ShapeFileName () Converts a shape expressed in words to a file name that symbolizes the shape. Conversion function: ShapeName2ShapeVectorValue () Converts a contour expressed in words into a 24-dimensional vector value indicating the contour.

【0041】(4)ユーザドメインの決定:この例で
は、ユーザドメインはグローバルドメインと等しいとす
る(図3(d)にあるユーザuser1 が使う場合であ
る。)つまり、 (Picture のユーザドメイン)=PictureFileName (Color のユーザドメイン)=Color Name (Shape のユーザドメイン)=Shape Name とする。
(4) Determination of user domain: In this example, it is assumed that the user domain is equal to the global domain (this is a case where the user user1 in FIG. 3D uses it). That is, (Picture user domain) = PictureFileName (User domain of Color) = Color Name (User domain of Shape) = Shape Name.

【0042】検索フェーズについて説明する。ユーザの
問い合わせを次のようにSQLライクな文に変換する。 問い合わせ:SELECT 画像、タイトル WHERE 色相=’
赤’AND 外形=’丸’ 意味:色相が赤かつ外形が丸に類似した画像とそのタイ
トルを検索する。
The search phase will be described. The user's inquiry is converted into an SQL-like sentence as follows. Query: SELECT image, title WHERE Hue = '
Red 'AND outline =' circle 'Meaning: Searches for an image whose hue is red and whose outline is similar to a circle and its title.

【0043】(1)画像、タイトル、色相、外形という
列を含むテーブルの検索:「列」テーブルを検索して、
DB1とDB2を発見する。
(1) Search for a table including columns of image, title, hue, and outline:
Discover DB1 and DB2.

【0044】(2)画像、タイトル、色相、外形のドメ
インのチェック: DB1:画像→PictureFileName 、タイトル→なし、色
相→ColorFileName 、外形→ShapeFileName DB2:画像→PictureData 、タイトル→なし、色相→
ColorHUEValue 、外形→ShapeVectorValue
(2) Image, title, hue, outline domain check: DB1: image → PictureFileName, title → none, hue → ColorFileName, outline → ShapeFileName DB2: image → PictureData, title → none, hue →
ColorHUEValue, outline → ShapeVectorValue

【0045】(3)それぞれのドメインが含まれるドメ
イングループのユーザドメインの検索: DB1,DB2:画像→PictureFileName 、色相→Colo
rName 、外形→ShapeName
(3) Search for user domains in a domain group including each domain: DB1, DB2: image → PictureFileName, hue → Colo
rName, outline → ShapeName

【0046】(4)変換関数探索:(条件式に含まれる
値)について、(ユーザドメイン→ローカルドメインへ
の変換関数)を探索する。
(4) Search for conversion function: For (value included in conditional expression), search for (user domain → local domain conversion function).

【0047】(5)値の変換:(条件式に含まれる値)
について、探索された変換関数を実行する。ColorName2
ColorFileName (’赤’)の結果は、’//hostname/DB1
/picture/color/red.gif’となる。ShapeName2ShapeFil
eName (’丸’)の結果は、’//hostname/DB1/picture
/shape/circle.gif ’となる。ColorName2ColorHUEValu
e (’赤’)の結果は、’1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.00
0000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 ’となる。ShapeName2ShapeVectorV
alue(’丸’)の結果は、’0.055137 0.013605 0.0333
33 0.064517 0.041006 0.055137 0.055137 0.013605 0.
033333 0.064517 0.041006 0.055137 0.055137 0.04100
6 0.064517 0.033333 0.013605 0.055137 0.055137 0.0
41006 0.064517 0.033333 0.013605 0.055137 ’とな
る。
(5) Value conversion: (value included in conditional expression)
, Execute the searched conversion function. ColorName2
ColorFileName ('red') results in '// hostname / DB1
/picture/color/red.gif '. ShapeName2ShapeFil
The result of eName ('circle') is' // hostname / DB1 / picture
/shape/circle.gif '. ColorName2ColorHUEValu
e ('red') results in '1.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.00
0000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 '. ShapeName2ShapeVectorV
The result of alue ('circle') is' 0.055137 0.013605 0.0333
33 0.064517 0.041006 0.055137 0.055137 0.013605 0.
033333 0.064517 0.041006 0.055137 0.055137 0.04100
6 0.064517 0.033333 0.013605 0.055137 0.055137 0.0
41006 0.064517 0.033333 0.013605 0.055137 '.

【0048】(6)問い合わせの翻訳:ユーザの指定し
た問い合わせ文を変換する。
(6) Translation of inquiry: The inquiry sentence specified by the user is translated.

【数2】 DB1:SELECT 画像、タイトル WHERE FROM 絵画 WHERE 色相=’//hostname/DB1/picture/color/red.gif’ AND 外形=’//hostname/DB1/picture/shape/circle.gif ’ DB2:SELECT 画像、タイトル FROM 写真 WHERE 色相=’1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000’ AND 外形=’0.055137 0.013605 0.033333 0.064517 0.041006 0.055137 0.055137 0.013605 0.033333 0.064517 0.041006 0.055137 0.055137 0.041006 0.064517 0.033333 0.013605 0.055137 0.055137 0.041006 0.064517 0.033333 0.013605 0.055137 ’[Expression 2] DB1: SELECT image, title WHERE FROM painting WHERE hue = '// hostname / DB1 / picture / color / red.gif' AND outline = '// hostname / DB1 / picture / shape / circle.gif' DB2 : SELECT image, title FROM photograph WHERE hue = '1.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000' AND outer shape = '0.055137 0.013605 0.033333 0.064517 0.041006 0.055137 0.055137 0.013605 0.033333 0.064517 0.041006 0.055137 0.055137 0.041033 0.05 0.055137 0.041006 0.064517 0.033333 0.013605 0.055137 '

【0049】(7)各DBへの問い合わせ: DB1: //hostname/DB1/picture/pict01.gif , 「真っ赤な楕円」 DB2: (バイナリデータ), 「ダーツ」(7) Inquiry to each DB: DB1: //hostname/DB1/picture/pict01.gif, “red ellipse” DB2: (binary data), “dart”

【0050】(8)検索結果を変換: DB2:画像は、ユーザドメインとローカルドメインが
異なっているので、値を変換する。PictureData2Pictur
eFileName((バイナリデータ))の結果は、 ’//hostname/DB2/picture/pict01.gif ’
(8) Convert search result: DB2: The value of the image is converted because the user domain and the local domain are different. PictureData2Pictur
The result of eFileName ((binary data)) is '//hostname/DB2/picture/pict01.gif'

【0051】(9)検索結果の和をとる。最終的な検索
結果は、 //hostname/DB1/picture/pict01.gif , 「真っ赤な楕円」 //hostname/DB2/picture/pict01.gif , 「ダーツ」 となる。
(9) Sum the search results. The final search result is //hostname/DB1/picture/pict01.gif, "red ellipse" //hostname/DB2/picture/pict01.gif, "dart"

【0052】[0052]

【発明の効果】以上説明したように、本発明によれば、
ユーザから入力された問い合わせ文の検索データが記録
されている画像データベースおよび該検索データに対応
するローカルドメインをローカルドメイン管理テーブル
から探索し、ユーザ名とユーザが指定した検索データの
ドメイングループからユーザドメインをユーザドメイン
管理テーブルから探索し、この探索したローカルドメイ
ンとユーザドメインとが異なる場合、該ユーザドメイン
をローカルドメインに変換する変換関数と該ローカルド
メインをユーザドメインに変換する変換関数を変換関数
管理テーブルから探索し、前者の変換関数を用いて、ユ
ーザからの問い合わせ文を各画像データベースに適合し
た表現形式に変換し、その画像データベースに対する問
い合わせ文に翻訳し、この翻訳された問い合わせ文によ
り各画像データベースを検索し、後者の変換関数を用い
て、検索結果の表現形式や受渡し方法をユーザドメイン
に変換するので、各画像データベースの検索条件に指定
する画像特徴の表現形式や画像データベース毎に検索結
果となる画像データのアプリケーションプログラムへの
受渡し方法がユーザ指定の表現形式や受渡し方法と異な
っても自由に検索して容易に画像データを得ることがで
き、画像データベースのデータをより自由に利用するこ
とができる。また、グローバルスキーマの定義を必要と
せず、表現形式や画像データの受渡し方法の違いを解消
することができる。
As described above, according to the present invention,
An image database in which search data of an inquiry sentence input by a user is recorded and a local domain corresponding to the search data are searched from a local domain management table, and a user domain is determined from a user name and a domain group of the search data designated by the user. Is searched from the user domain management table, and when the searched local domain is different from the user domain, a conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are stored in the conversion function management table. From the query database, using the former conversion function, convert the query sentence from the user into an expression format suitable for each image database, translate it into a query sentence for that image database, and use this translated query sentence to translate each image database. The search function is used to convert the expression form and delivery method of the search result into the user domain using the latter conversion function. Therefore, the image feature expression form specified in the search condition of each image database and the search result for each image database Even if the delivery method of the image data to the application program differs from the expression format or delivery method specified by the user, the image data can be easily obtained by searching freely, and the data in the image database can be used more freely. Can be. In addition, it is not necessary to define a global schema, and it is possible to eliminate differences in expression format and image data delivery method.

【0053】また、既存のマルチデータベースにおいて
は、すべてのデータベースにおけるデータ項目の表現形
式や検索条件に指定する画像特徴の表現形式やアプリケ
ーションプログラムとの画像データの受渡し方法を知ら
なければ、その違いを解消できないのに対して、本発明
では、ローカルデータベースの管理者が自分の持ってい
る画像データベースにおけるデータ項目の表現形式や検
索条件に指定する画像特徴の表現形式やアプリケーショ
ンプログラムとの画像データの受渡し方法であるローカ
ルドメインのみを意識すればよく、他の画像データベー
スの表現形式や画像データの受渡し方法を意識する必要
がない。
Further, in the existing multi-database, if the expression form of the data items in all the databases, the expression form of the image feature specified in the search condition, and the method of transferring the image data to and from the application program are not known, the difference is determined. In contrast to the above, according to the present invention, the administrator of the local database has a representation of data items in his / her own image database, a representation of an image feature specified in a search condition, and transfer of image data to and from an application program. It is only necessary to be aware of the local domain, which is the method, and it is not necessary to be aware of the expression format of other image databases or the delivery method of image data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係る画像データベース異
種性解消検索装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an image database heterogeneity resolving search device according to an embodiment of the present invention.

【図2】ドメイン管理の考え方を示す説明図である。FIG. 2 is an explanatory diagram showing the concept of domain management.

【図3】図1の画像データベース異種性解消検索装置に
使用されているメタデータ蓄積部に蓄積される列テーブ
ル、ドメインテーブル、ドメイングループテーブル、ド
メイングループユーザテーブルの構成を示す図である。
FIG. 3 is a diagram showing a configuration of a column table, a domain table, a domain group table, and a domain group user table stored in a metadata storage unit used in the image database dissimilarity search device of FIG.

【図4】図1の画像データベース異種性解消検索装置に
使用されているメタデータ蓄積部に蓄積される変換関数
テーブルの構成を示す図である。
FIG. 4 is a diagram showing a configuration of a conversion function table stored in a metadata storage unit used in the image database dissimilarity search apparatus of FIG. 1;

【図5】サンプルのデータベースを示す図である。FIG. 5 is a diagram showing a sample database.

【図6】変換関数が使用する画像の対応表の例を示す図
である。
FIG. 6 is a diagram showing an example of an image correspondence table used by a conversion function.

【図7】変換関数が使用する色相の対応表の例を示す図
である。
FIG. 7 is a diagram illustrating an example of a hue correspondence table used by a conversion function.

【図8】変換関数が使用する外形の対応表の例を示す図
である。
FIG. 8 is a diagram illustrating an example of a correspondence table of external shapes used by a conversion function;

【図9】本実施形態の画像データベース異種性解消検索
装置の概略的作用を示すフローチャートである。
FIG. 9 is a flowchart showing a schematic operation of the image database heterogeneity resolving and searching device of the present embodiment.

【符号の説明】[Explanation of symbols]

1 構文解析部 2 問い合わせ処理制御部 3 問い合わせ変換部 4 変換関数ライブラリ 5 データベースアクセス部 6 データ処理部 7 メタデータ蓄積部 8 メタデータ管理部 9 画像データベース 10 データベース管理システム 11 問い合わせ処理部 12 アプリケーションプログラム 13 問い合わせ文 15 データベースシステム DESCRIPTION OF SYMBOLS 1 Syntax analysis part 2 Query processing control part 3 Query conversion part 4 Conversion function library 5 Database access part 6 Data processing part 7 Metadata storage part 8 Metadata management part 9 Image database 10 Database management system 11 Query processing part 12 Application program 13 Inquiry Statement 15 Database System

───────────────────────────────────────────────────── フロントページの続き (72)発明者 星野 隆 東京都新宿区西新宿三丁目19番2号 日本 電信電話株式会社内 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Takashi Hoshino Nippon Telegraph and Telephone Corporation, 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の画像データベースが存在する環境
において各画像データベースが検索条件として同じ画像
特徴を指定可能であるが画像データベース毎に検索条件
として指定可能な画像特徴の表現形式が異なったり、画
像データベース毎に検索結果となる画像データのアプリ
ケーションプログラムへの受渡し方法が異なる場合、そ
の表現形式の違いや画像データの受渡し方法の違いを解
消した検索を実現する画像データベース異種性解消検索
方法であって、 各画像データベースの実存する列と検索条件として指定
可能な項目であるが対応する列が画像データベース上に
存在しない列である仮想列を管理するとともに、各画像
データベースの検索要求で指定可能なデータ項目の表現
形式と各画像データベースの検索条件として指定可能な
画像特徴の表現形式と各画像データベースの検索結果と
なる画像データの受渡し方法であるドメインをローカル
ドメインとして各画像データベース毎にローカルドメイ
ン管理テーブルで管理し、 表現形式および受渡し方法の対象が同一である各ドメイ
ンをドメイングループとしてドメイングループ管理テー
ブルで管理し、 ドメイン間の変換を行う変換関数を変換関数管理テーブ
ルで管理し、 ユーザが指定する検索条件で用いるデータの表現形式、
ユーザが要求する検索結果のデータの表現形式、および
ユーザが要求する検索結果のデータの受渡し方法である
ドメインをユーザドメインとして各ユーザ毎にユーザド
メイン管理テーブルで管理し、 ユーザから入力された問い合わせ文の検索データが記憶
されている画像データベースおよび該検索データに対応
するローカルドメインを前記ローカルドメイン管理テー
ブルから探索し、ユーザ名とユーザが指定した検索デー
タのドメイングループからユーザドメインを前記ユーザ
ドメイン管理テーブルから探索し、 この探索したローカルドメインとユーザドメインとが異
なる場合、該ユーザドメインをローカルドメインに変換
する変換関数と該ローカルドメインをユーザドメインに
変換する変換関数を前記変換関数管理テーブルから探索
し、 この探索された変換関数を用いて、前記問い合わせ文を
各画像データベースに適合した表現形式に変換し、その
画像データベースに対する問い合わせ文に翻訳し、この
翻訳された問い合わせ文により各画像データベースを検
索することを特徴とする画像データベース異種性解消検
索方法。
In an environment in which a plurality of image databases exist, each image database can specify the same image feature as a search condition, but the expression form of the image feature that can be specified as a search condition differs for each image database, An image database heterogeneity elimination search method that realizes a search that eliminates a difference in expression form and a difference in an image data transfer method when a method of delivering image data serving as a search result to an application program differs for each database. , Manages a virtual column in which an existing column of each image database and an item that can be specified as a search condition but the corresponding column does not exist in the image database, and data that can be specified in a search request of each image database. Item expression format and images that can be specified as search conditions for each image database The domain that is the expression format of the features and the method of delivering image data that is the search result of each image database is managed as a local domain in the local domain management table for each image database, and the expression format and the delivery method are the same. Domains are managed as domain groups in the domain group management table, conversion functions for converting between domains are managed in the conversion function management table, and data representation formats used in search conditions specified by the user.
An expression form of the data of the search result requested by the user and a domain which is a method of transferring the data of the search result requested by the user are managed as user domains in the user domain management table for each user, and an inquiry sentence input by the user Searches the image database in which the search data is stored and the local domain corresponding to the search data from the local domain management table, and finds the user domain from the user name and the domain group of the search data specified by the user in the user domain management table. When the searched local domain and the user domain are different, a conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are searched from the conversion function management table. Using the conversion function searched for, the query sentence is converted into an expression format suitable for each image database, translated into a query sentence for the image database, and each image database is searched using the translated query sentence. A method for resolving dissimilarity in an image database characterized by the following.
【請求項2】 複数の画像データベースが存在する環境
において各画像データベースが検索条件として同じ画像
特徴を指定可能であるが画像データベース毎に検索条件
として指定可能な画像特徴の表現形式が異なったり、画
像データベース毎に検索結果となる画像データのアプリ
ケーションプログラムへの受渡し方法が異なる場合、そ
の表現形式の違いや画像データの受渡し方法の違いを解
消した検索を実現する画像データベース異種性解消検索
装置であって、 各画像データベースの実存する列と検索条件として指定
可能な項目であるが対応する列が画像データベース上に
存在しない列である仮想列を管理するとともに、各画像
データベースの検索要求で指定可能なデータ項目の表現
形式と各画像データベースの検索条件として指定可能な
画像特徴の表現形式と各画像データベースの検索結果と
なる画像データの受渡し方法であるドメインをローカル
ドメインとして各画像データベース毎に管理するローカ
ルドメイン管理テーブルと、 表現形式および受渡し方法の対象が同一である各ドメイ
ンをドメイングループとして管理するドメイングループ
管理テーブルと、 ドメイン間の変換を行う変換関数を管理する変換関数管
理テーブルと、 ユーザが指定する検索条件で用いるデータの表現形式、
ユーザが要求する検索結果のデータの表現形式、および
ユーザが要求する検索結果のデータの受渡し方法である
ドメインをユーザドメインとして各ユーザ毎に管理する
ユーザドメイン管理テーブルと、 ユーザから入力された問い合わせ文の検索データが記憶
されている画像データベースおよび該検索データに対応
するローカルドメインを前記ローカルドメイン管理テー
ブルから探索し、ユーザ名とユーザが指定した検索デー
タのドメイングループからユーザドメインを前記ユーザ
ドメイン管理テーブルから探索するドメイン探索手段
と、 該ドメイン探索手段で探索したローカルドメインとユー
ザドメインとが異なる場合、該ユーザドメインをローカ
ルドメインに変換する変換関数と該ローカルドメインを
ユーザドメインに変換する変換関数を前記変換関数管理
テーブルから探索する変換関数探索手段と、 該変換関数探索手段で探索された変換関数を用いて、前
記問い合わせ文を各画像データベースに適合した表現形
式に変換し、その画像データベースに対する問い合わせ
文に翻訳し、この翻訳された問い合わせ文により各画像
データベースを検索する検索手段とを有することを特徴
とする画像データベース異種性解消検索装置。
2. In an environment in which a plurality of image databases exist, each image database can specify the same image feature as a search condition, but the expression format of the image feature that can be specified as a search condition differs for each image database. An image database dissimilarity search device that realizes a search that eliminates a difference in expression form and a difference in a method of delivering image data when a method of delivering image data serving as a search result to an application program differs for each database. , Manages a virtual column in which an existing column of each image database and an item that can be specified as a search condition but the corresponding column does not exist in the image database, and data that can be specified in a search request of each image database. Item expression format and images that can be specified as search conditions for each image database A local domain management table that manages, for each image database, a domain, which is a method of delivering image data as a search result of each image database as a feature expression form, and a target of the same expression form and delivery method for each image database. A domain group management table that manages domains as domain groups, a conversion function management table that manages conversion functions that convert between domains, a data representation format used in search conditions specified by a user,
A user domain management table that manages, for each user, a domain as a user domain, which is a representation format of search result data requested by the user and a method of delivering search result data requested by the user, and a query sent from the user. Searches the image database in which the search data is stored and the local domain corresponding to the search data from the local domain management table, and finds the user domain from the user name and the domain group of the search data specified by the user in the user domain management table. A search function for converting the user domain into a local domain and a conversion function for converting the local domain into a user domain when the local domain and the user domain searched by the domain search means are different. A conversion function search unit for searching from the conversion function management table; and a conversion function searched by the conversion function search unit, converting the query sentence into an expression format suitable for each image database, and inquiring the image database. A search means for translating into a sentence and searching each of the image databases with the translated query sentence.
【請求項3】 複数の画像データベースが存在する環境
において各画像データベースが検索条件として同じ画像
特徴を指定可能であるが画像データベース毎に検索条件
として指定可能な画像特徴の表現形式が異なったり、画
像データベース毎に検索結果となる画像データのアプリ
ケーションプログラムへの受渡し方法が異なる場合、そ
の表現形式の違いや画像データの受渡し方法の違いを解
消した検索を実現する画像データベース異種性解消検索
プログラムを記録した記録媒体であって、 各画像データベースの実存する列と検索条件として指定
可能な項目であるが対応する列が画像データベース上に
存在しない列である仮想列を管理するとともに、各画像
データベースの検索要求で指定可能なデータ項目の表現
形状と各画像データベースの検索条件として指定可能な
画像特徴の表現形式と各画像データベースの検索結果と
なる画像データの受渡し方法であるドメインをローカル
ドメインとして各画像データベース毎にローカルドメイ
ン管理テーブルで管理し、 表現形式および受渡し方法の対象が同一である各ドメイ
ンをドメイングループとしてドメイングループ管理テー
ブルで管理し、 ドメイン間の変換を行う変換関数を変換関数管理テーブ
ルで管理し、 ユーザが指定する検索条件で用いるデータの表現形式、
ユーザが要求する検索結果のデータの表現形式、および
ユーザが要求する検索結果のデータの受渡し方法である
ドメインをユーザドメインとして各ユーザ毎にユーザド
メイン管理テーブルで管理し、 ユーザから入力された問い合わせ文の検索データが記憶
されている画像データベースおよび該検索データに対応
するローカルドメインを前記ローカルドメイン管理テー
ブルから探索し、ユーザ名とユーザが指定した検索デー
タのドメイングループからユーザドメインを前記ユーザ
ドメイン管理テーブルから探索し、 この探索したローカルドメインとユーザドメインとが異
なる場合、該ユーザドメインをローカルドメインに変換
する変換関数と該ローカルドメインをユーザドメインに
変換する変換関数を前記変換関数管理テーブルから探索
し、 この探索された変換関数を用いて、前記問い合わせ文を
各画像データベースに適合した表現形式に変換し、その
画像データベースに対する問い合わせ文に翻訳し、この
翻訳された問い合わせ文により各画像データベースを検
索することを特徴とする画像データベース異種性解消検
索プログラムを記録した記録媒体。
3. In an environment in which a plurality of image databases exist, each image database can specify the same image feature as a search condition, but the expression format of the image feature that can be specified as a search condition differs for each image database. When the delivery method of image data as search results to application programs differs for each database, an image database heterogeneity resolution search program that realizes a search that eliminates differences in expression form and differences in image data delivery methods was recorded. A storage medium that manages a virtual column in which an existing column of each image database and a column that can be specified as a search condition but whose corresponding column does not exist in the image database, The expression form of data items that can be specified in The expression format of image features that can be specified as a condition and the domain that is the method of delivering image data that is the search result of each image database are managed as local domains in the local domain management table for each image database, and the expression format and delivery method Each domain having the same target is managed as a domain group in a domain group management table, a conversion function for converting between domains is managed in a conversion function management table, and a data expression format used in a search condition specified by a user,
An expression form of the data of the search result requested by the user and a domain which is a method of transferring the data of the search result requested by the user are managed as user domains in the user domain management table for each user, and an inquiry sentence input by the user Searches the image database in which the search data is stored and the local domain corresponding to the search data from the local domain management table, and finds the user domain from the user name and the domain group of the search data specified by the user in the user domain management table. When the searched local domain and the user domain are different, a conversion function for converting the user domain to the local domain and a conversion function for converting the local domain to the user domain are searched from the conversion function management table. Using the conversion function searched for, the query sentence is converted into an expression format suitable for each image database, translated into a query sentence for the image database, and each image database is searched using the translated query sentence. A recording medium on which an image database dissimilarity search program is recorded.
JP03635198A 1998-02-18 1998-02-18 Image database dissimilarity search method and apparatus and recording medium storing image database dissimilarity search program Expired - Lifetime JP3437434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03635198A JP3437434B2 (en) 1998-02-18 1998-02-18 Image database dissimilarity search method and apparatus and recording medium storing image database dissimilarity search program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03635198A JP3437434B2 (en) 1998-02-18 1998-02-18 Image database dissimilarity search method and apparatus and recording medium storing image database dissimilarity search program

Publications (2)

Publication Number Publication Date
JPH11232301A true JPH11232301A (en) 1999-08-27
JP3437434B2 JP3437434B2 (en) 2003-08-18

Family

ID=12467428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03635198A Expired - Lifetime JP3437434B2 (en) 1998-02-18 1998-02-18 Image database dissimilarity search method and apparatus and recording medium storing image database dissimilarity search program

Country Status (1)

Country Link
JP (1) JP3437434B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092844A (en) * 1999-09-24 2001-04-06 Nippon Telegr & Teleph Corp <Ntt> Method and device for transforming inquiry to different kinds of information sources and storing medium storing program for transforming inquiry to different kinds of information sources

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092844A (en) * 1999-09-24 2001-04-06 Nippon Telegr & Teleph Corp <Ntt> Method and device for transforming inquiry to different kinds of information sources and storing medium storing program for transforming inquiry to different kinds of information sources

Also Published As

Publication number Publication date
JP3437434B2 (en) 2003-08-18

Similar Documents

Publication Publication Date Title
CN110032604B (en) Data storage device, translation device and database access method
US5553281A (en) Method for computer-assisted media processing
US6401097B1 (en) System and method for integrated document management and related transmission and access
RU2376630C2 (en) File system for displaying different types of elements and from different physical locations
US5581756A (en) Network database access system to which builds a table tree in response to a relational query
US20080021881A1 (en) Method, apparatus, and system for remote client search indexing
EP1054330A2 (en) Information management apparatus providing efficient management of multimedia titles in a client-server network
Hirata et al. Content-oriented integration in hypermedia systems
US20040078359A1 (en) System and method for presenting a query expressed in terms of an object model
JPH08235195A (en) Method for storage and retrieval of digital data transmission
JP2006505063A (en) How to access data using correlation criteria
JPH07175704A (en) File device and method for access to data object
US7913164B1 (en) Serving an image in multiple formats from a photohosting website
US7562286B2 (en) Apparatus, system, method and computer program product for document management
US7543004B2 (en) Efficient support for workspace-local queries in a repository that supports file versioning
KR20120106544A (en) Method for accessing files of a file system according to metadata and device implementing the method
JP2001188702A (en) Distributed file system and file operating method
US20050091199A1 (en) Method and system for generating SQL joins to optimize performance
JP2000089991A (en) Document management system
KR20090037704A (en) Meta data generation method for intutive image search
EP3518120B1 (en) Indexing media asset aggregates in a multi-database environment
JP3671765B2 (en) Heterogeneous information source query conversion method and apparatus, and storage medium storing heterogeneous information source query conversion program
JP3786233B2 (en) Information search method and information search system
US20050262054A1 (en) Item type specific structured search
JPH11250073A (en) Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090606

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090606

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100606

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100606

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110606

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120606

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130606

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140606

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term