JP3508842B2 - Database search system and recording medium storing database search program - Google Patents

Database search system and recording medium storing database search program

Info

Publication number
JP3508842B2
JP3508842B2 JP2000081279A JP2000081279A JP3508842B2 JP 3508842 B2 JP3508842 B2 JP 3508842B2 JP 2000081279 A JP2000081279 A JP 2000081279A JP 2000081279 A JP2000081279 A JP 2000081279A JP 3508842 B2 JP3508842 B2 JP 3508842B2
Authority
JP
Japan
Prior art keywords
search
condition
procedure
result
search result
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 - Lifetime
Application number
JP2000081279A
Other languages
Japanese (ja)
Other versions
JP2001265814A (en
Inventor
秀一 西岡
真 鬼塚
淳一 黒岩
崇 芳西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2000081279A priority Critical patent/JP3508842B2/en
Publication of JP2001265814A publication Critical patent/JP2001265814A/en
Application granted granted Critical
Publication of JP3508842B2 publication Critical patent/JP3508842B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、テキスト、画像、
音楽などの複数メディアにおけるデータを管理すること
が可能なデータベース管理システムに関し、特に、複数
メディアにまたがるデータや単一メディアに閉じたデー
タへの検索に際して、絞り込みの条件に係る情報を明示
することの可能なデータベース検索システム及びデータ
ベース検索プログラムを記録した記録媒体に係る。
TECHNICAL FIELD The present invention relates to text, images,
Regarding a database management system that can manage data in multiple media such as music, especially when searching for data that spans multiple media or data that is closed in a single media, it is possible to clearly indicate the information related to the narrowing condition. The present invention relates to a possible database search system and a recording medium recording a database search program.

【0002】[0002]

【従来の技術】図4(a)は従来のデータベースの検索
について説明する図であって、数字符号51はアプリケ
ーションプログラム(AP)、52はデータベース管理
システム(DBMS)、53はデータベース(DB)を
表している。
2. Description of the Related Art FIG. 4 (a) is a diagram for explaining a conventional database search, in which numeral 51 indicates an application program (AP), 52 a database management system (DBMS), and 53 a database (DB). It represents.

【0003】ここでは、或る画像集から(りんごを含
む)という条件aと(オレンジを含む)という条件bと
を提示して画像名を検索する場合を示している。アプリ
ケーションプログラム51は、このような検索に際し
て、データベース管理システム52に対して、条件aと
条件bとを提示して検索を依頼する。
Here, a case is shown in which a condition a (including apples) and a condition b (including oranges) are presented from a certain image collection to retrieve an image name. In such a search, the application program 51 presents the condition a and the condition b to the database management system 52 and requests the search.

【0004】データベース管理システム52はデータベ
ース53をサーチして指定された条件に合うデータを選
び出して、その結果をアプリケーションプログラム51
に知らせる。従来、このようなマルチメディアデータベ
ースに対して複数の条件を指定して検索を行う場合、検
索結果がいずれの条件により絞り込まれたか、という情
報は反映されることがなかった。
The database management system 52 searches the database 53 to select data that meets the specified conditions, and outputs the result to the application program 51.
Let us know. Conventionally, when performing a search by designating a plurality of conditions for such a multimedia database, information about which condition the search result was narrowed down was not reflected.

【0005】[0005]

【発明が解決しようとする課題】上述のように、従来
は、マルチメディアデータベースに対して複数の条件を
指定して検索を行う場合、検索結果がいずれの条件によ
り絞り込まれたか、という情報は反映されなかったた
め、検索結果がどのような条件により絞り込まれたか、
という情報を必要とする場合には、アプリケーションプ
ログラム51が、これに対応しなければ成らなかった。
As described above, conventionally, when a multimedia database is searched by specifying a plurality of conditions, the information indicating which condition the search result is narrowed down is reflected. Since it was not done, what kind of condition was narrowed down the search results,
If the information is required, the application program 51 must cope with this.

【0006】図4(b)は、その様子を説明する図であ
って、数字符号は図4(a)の場合と同様である。同図
において、或る画像集から(りんごを含む)という条件
aと(オレンジを含む)という条件bとを提示して画像
名を検索する場合、アプリケーションプログラム51
は、検索に際して、データベース管理システム52に対
して、条件aと条件bとを提示して検索を依頼する。
FIG. 4 (b) is a diagram for explaining the situation, and the numerical symbols are the same as those in FIG. 4 (a). In the figure, when a condition a (including an apple) and a condition b (including an orange) are presented from a certain image collection to search for an image name, the application program 51
At the time of search, presents condition a and condition b to the database management system 52 and requests the search.

【0007】データベース管理システム52はデータベ
ース53をサーチして指定された条件に合うデータを選
び出して、その結果をアプリケーションプログラム51
に知らせる。このとき、どのような条件でヒットしたか
については、データベース管理システム52からアプリ
ケーションプログラム51には知らされない。
The database management system 52 searches the database 53 to select data that meets the specified conditions, and outputs the result to the application program 51.
Let us know. At this time, the database management system 52 does not inform the application program 51 of the conditions under which the hit occurs.

【0008】そのため、アプリケーションプログラム5
1が、(りんごを含む)という条件aと(オレンジを含
む)という条件bとを個々に検索するなど複数回検索を
行い、その結果から絞り込み結果を作成するという必要
があった。
Therefore, the application program 5
It is necessary for 1 to perform a plurality of searches, such as individually searching for condition a (including apples) and condition b (including oranges), and to create a narrowed-down result from the results.

【0009】本発明は、このような従来の課題を解決す
るため、マルチメディアアプリケーションで要求され
る、ユーザに絞り込み結果の情報を示すことを実現する
ために、検索結果に「どの条件により紋り込まれた」と
いう情報を反映させる機能をデータベース管理システム
で実現することを目的としている。
In order to solve the above-described conventional problems, the present invention provides a search result with "printing conditions depending on which condition" in order to realize to show the information of the narrowing down result to the user, which is required in the multimedia application. The purpose is to realize the function to reflect the information of "embedded" in the database management system.

【0010】[0010]

【課題を解決するための手段】本発明によれば、上述の
課題は、前記特許請求の範囲に記載した手段によって解
決される
According to the invention, the aforesaid problems are solved by the means defined in the claims .

【0011】[0011]

【請求項1】請求項1に係る発明は、アプリケーション
から問合せ文を含む検索要求を受けた場合に、前記問合
せ文が絞り込み結果を反映させるべき問合せ文であるか
否かを判断する反映可否判断手段と、前記反映可否判断
手段において絞り込み結果を反映させる問合せ文である
と判断された場合に、前記問合せ文から条件を抽出する
抽出手段と、前記抽出手段で抽出された条件にIDを付
与する条件ID付与手段と、前記抽出手段で抽出された
条件と前記ID付与手段で付与したIDとの組を記憶す
る条件ID記憶手段と、前記抽出手段で抽出した条件ご
とに検索を実行する検索手段と、前記検索手段の検索結
果を条件ごとに記憶する検索結果記憶手段と、前記条件
ID記憶手段に記憶されている組を用いて、前記検索結
果記憶手段において条件ごとに記憶されている検索結果
にIDを付与する検索結果ID付与手段と、前記検索結
果ID付与手段によってIDが付与された検索結果を用
いて、前記アプリケーションへの返却用検索結果を作成
する返却用検索結果作成手段と、を備えることを特徴と
するデータベース検索システムである。
1. The invention according to claim 1 is an application.
When a search request containing a query is received from
Whether the statement is a query statement that should reflect the narrowed result
Reflection possibility determination means for determining whether or not the reflection possibility determination
It is a query statement that reflects the narrowing down result by means
If it is determined that the condition is extracted from the query statement
IDs are attached to the extraction means and the conditions extracted by the extraction means.
Condition ID giving means to give, and extracted by the extracting means
Store a set of conditions and the ID assigned by the ID assigning means.
The condition ID storage means and the conditions extracted by the extraction means.
And a search means for executing a search and a search result of the search means.
Search result storage means for storing the result for each condition, and the condition
Using the set stored in the ID storage means, the search result is obtained.
Search results stored for each condition in the result storage means
Search result ID assigning means for assigning an ID to
Use the search results that have been given an ID by the fruit ID giving means.
And create search results for return to the application
And a return search result creating means for
It is a database search system.

【0012】[0012]

【請求項2】請求項2に係る発明は、請求項1に記載の
データベース検索システムにおいて、さらに、前記返却
用検索結果作成手段で作成された返却用検索結果に含ま
れるIDを前記条件ID記憶手段に記憶されている組を
用いて条件に置換する置換手段を備えることを特徴とす
るデータベース検索システムである。
2. The invention according to claim 2 is the method according to claim 1.
In the database search system, the return
Included in the return search results created by the search result creation means
The ID stored in the condition ID storage means
It is characterized by comprising a replacement means for replacing the condition by using
Database search system.

【0013】請求項3に係る発明は、アプリケーション
から問合せ文を含む検索要求を受けた場合に、前記問合
せ文が絞り込み結果を反映させるべき問合せ文であるか
否かを判断する反映可否判断手順と、前記反映可否判断
手順において絞り込み結果を反映させる問合せ文である
と判断された場合に、前記問合せ文から条件を抽出する
抽出手順と、前記抽出手順で抽出された条件にIDを付
与する条件ID付与手順と、前記抽出手順で抽出された
条件と前記ID付与手順で付与したIDとの組を記憶す
る条件ID記憶手順と、前記抽出手順で抽出した条件ご
とに検索を実行する検索手順と、前記検索手順の検索結
果を条件ごとに記憶する検索結果記憶手順と、前記条件
ID記憶手順で記憶した組を用いて、前記検索結果記憶
手順において条件ごとに記憶した検索結果にIDを付与
する検索結果ID付与手順と、前記検索結果ID付与手
順によってIDが付与された検索結果を用いて、前記ア
プリケーションへの返却用検索結果を作成する返却用検
索結果作成手順と、を有するデータベース検索プログラ
ムを記録した記録媒体である。
The invention according to claim 3 is an application.
When a search request containing a query is received from
Whether the statement is a query statement that should reflect the narrowed result
Reflection propriety judgment procedure for judging whether or not, and the above-mentioned reflection propriety judgment
It is a query statement that reflects the narrowing down result in the procedure
If it is determined that the condition is extracted from the query statement
ID is added to the extraction procedure and the conditions extracted in the extraction procedure.
The condition ID giving procedure to be given and the condition ID extracted by the extracting procedure
Store a set of conditions and the ID assigned in the ID assignment procedure.
Condition ID storage procedure and the conditions extracted in the extraction procedure.
And the search result of the above search procedure.
A search result storing procedure for storing the result for each condition, and the condition
The search result storage is performed by using the set stored in the ID storage procedure.
Assign ID to search results stored for each condition in the procedure
Search result ID assigning procedure, and the search result ID assigning procedure
Using search results with IDs assigned in order,
Search for return to create search results for return to application
A database search program having a search result creation procedure,
It is a recording medium on which a program is recorded.

【0014】請求項4に係る発明は、請求項3に記載の
記録媒体において、前記データベース検索プログラム
は、さらに、前記返却用検索結果作成手順で作成された
返却用検索結果に含まれるIDを前記条件ID記憶手順
で記憶した組を用いて条件に置換する置換手順を有す
る、ことを特徴とする記録媒体である。
The invention according to claim 4 is the same as that of claim 3.
In the recording medium, the database search program
Was created by the above-mentioned procedure for creating search results for return.
The ID included in the return search result is stored as the condition ID storage procedure.
Has a replacement procedure that replaces the condition with the set stored in
It is a recording medium characterized by the following.

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【作用】本発明は、データベース管理システム(DBM
S)に、絞り込み結果を反映させる機能を含んだ問合せ
を解釈可能とする言語処理機能と、該問合せを実行する
検索機能を実現する。該言語処理機能では、絞り込み結
果を反映させる間合せか判断する。結果を反映させる問
合せの場合は、その旨を検索機能に伝達する。
The present invention is a database management system (DBM
In S), a language processing function for interpreting a query including a function for reflecting the narrowing-down result and a search function for executing the query are realized. In the language processing function, it is determined whether or not the time is set to reflect the narrowing-down result. In the case of an inquiry that reflects the result, that effect is transmitted to the search function.

【0023】該検索機能では、絞り込み結果を反映させ
る問合せと伝達を受けた場合、第1に、検索結果を保持
する。第2に、各条件の結果から、検索句を処理する。
その際、検索結果毎に絞り込み結果も付与させる。
In the search function, when an inquiry and a reflection of the narrowed result are received, firstly, the search result is held. Second, the search phrase is processed from the result of each condition.
At that time, the result of narrowing down is also added to each search result.

【0024】以上により、本発明の目的であるデータベ
ース管理システム(DBMS)側で「ユーザにより条件
が複数指定された検索」に対し、絞り込み結果の反映が
可能となる。本機能により、マルチメディアデータに対
して複雑な操作が可能となり、アプリケーションプログ
ラム(AP)の簡略化を図ることができるため、アプリ
ケーションプログラムの作成が容易になる。
As described above, the result of narrowing down can be reflected in the "search in which a plurality of conditions are specified by the user" on the side of the database management system (DBMS) which is the object of the present invention. With this function, a complicated operation can be performed on multimedia data and the application program (AP) can be simplified, so that the application program can be easily created.

【0025】[0025]

【発明の実施の形態】図1は本発明の原理を説明する図
である。同図において、数字符号10はデータベース管
理システム(DBMS)、11は言語処理機構、12は
検索機構、13は格納機構を表している。また、1〜7
はそれぞれ処理を表しており、その内容は下記のとおり
である。 1.問合せ文の条件を抽出する。 2.各条件にIDを付与する。 3.IDと条件の組を記憶する。 4.条件毎に検索を実行する。 5.条件毎に検索結果を記憶する。 6.IDを条件毎の検索結果に付与する。 7.IDを含んだ検索結果を用いて、アプリケーション
への返却用検索結果を作成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram for explaining the principle of the present invention. In the figure, numeral 10 is a database management system (DBMS), 11 is a language processing mechanism, 12 is a search mechanism, and 13 is a storage mechanism. Also, 1 to 7
Represents the processing, and the contents are as follows. 1. Extract the query condition. 2. An ID is given to each condition. 3. A pair of ID and condition is stored. 4. Perform a search for each condition. 5. The search result is stored for each condition. 6. An ID is given to the search result for each condition. 7. A search result for return to the application is created using the search result including the ID.

【0026】以下、本発明の実施の形態の第1の例につ
いて、図2(a)、図2(b)に基づいて説明する。こ
の例は、単一メディアに閉じた問い合わせの場合につい
て示している。同図は音楽に関する類似検索を示してお
り、アプリケーションプログラム(AP)から、同一メ
ディアに閉じた条件を複数指定された問合せが発行され
る。
A first example of the embodiment of the present invention will be described below with reference to FIGS. 2 (a) and 2 (b). This example shows the case of a closed inquiry on a single medium. This figure shows a similarity search regarding music, and an application program (AP) issues an inquiry in which a plurality of closed conditions are specified in the same medium.

【0027】図2(a)において、数字符号21はアプ
リケーションプログラム(AP)、22はデータベース
管理システム(DBMS)、23はデータベース(D
B)、24は問い合わせ文、25は検索句を表してい
る。この例は、検索キーとして入力された曲の一部を特
徴化(数字化)した条件1と、条件2をもとに、歌集か
ら類似した曲名を検索することを示している(同図では
理解を容易にするため、条件1と、条件2を、それぞれ
音符符号で表している)。
In FIG. 2A, numeral 21 is an application program (AP), 22 is a database management system (DBMS), and 23 is a database (D).
B), 24 are inquiry sentences, and 25 is a search phrase. This example shows that a similar song title is searched from the songbook based on condition 1 and condition 2 that characterize (numerize) a part of the song input as the search key (see the figure. To facilitate the above, Condition 1 and Condition 2 are represented by musical notation marks).

【0028】検索句25に[MATCHCONDITION]と付記す
ることにより、該検索が「結果に絞り込み結果を反映さ
せる」ということを意味する。問い合わせの条件は、ア
プリケーションプログラム(AP)に入力された音楽を
分割した各キーである。
By adding [MATCH CONDITION] to the search phrase 25, it means that the search "reflects the narrowed result in the result". The inquiry condition is each key obtained by dividing the music input to the application program (AP).

【0029】データベース管理システム(DBMS)で
は、図2(b)に示すような以下の処理を行う。 (1)問合せ文から条件1と条件2を抽出。 (2)「部分曲similar() 音符1」に条件ID 1、
「部分曲similar() 音符2」に条件ID 2を付与。 (3)「「部分曲similar() 音符1」、1」、「「部分
曲similar() 音符2」、2」を記憶。 (4)条件毎に類似検索。 (5)条件毎の検索結果(類似度)(図におけるカード
のスタック)を保持。 (6)検索結果に条件IDを付与。 (7)条件IDを含んだ各結果をマージ、ソートする。 (8)該結果をアプリケーションプログラム(AP)に
返却する。
The database management system (DBMS) performs the following processing as shown in FIG. (1) Extract condition 1 and condition 2 from the inquiry sentence. (2) Condition ID 1 for "partial song similar () note 1",
Condition ID 2 is assigned to "partial song similar () note 2". (3) ““ Partial song similar () note 1 ”, 1”, ““ partial song similar () note 2 ”, 2” are stored. (4) Similarity search for each condition. (5) Hold the search result (similarity) for each condition (card stack in the figure). (6) A condition ID is added to the search result. (7) The results including the condition ID are merged and sorted. (8) The result is returned to the application program (AP).

【0030】データベース管理システム(DBMS)か
ら返却された結果には、述部IDが付与されているた
め、検索文を参照することにより、絞り込み結果を容易
に把握することが可能となる。この例では、図2の検索
結果の「さくらさくら」は条件2に該当し、「春」は条
件1に該当したことを示している。
Since the result returned from the database management system (DBMS) is given a predicate ID, it is possible to easily grasp the narrowing-down result by referring to the search statement. In this example, “Sakura Sakura” in the search results of FIG. 2 corresponds to Condition 2, and “Spring” corresponds to Condition 1.

【0031】次に、本発明の実施の形態の第2の例につ
いて、図3(a)、図3(b)に基づいて説明する。こ
の例は複数のメディアにまたがる条件を複数指定された
問い合わせが発行される例である。同図において、数字
符号21はアプリケーションプログラム(AP)、22
はデータベース管理システム(DBMS)、23はデー
タベース(DB)、24は問い合わせ文、25は検索
句、26はリンゴの部分画を表している。
Next, a second example of the embodiment of the present invention will be described with reference to FIGS. 3 (a) and 3 (b). In this example, an inquiry is issued in which a plurality of conditions are specified across a plurality of media. In the figure, numeral 21 is an application program (AP), 22
Is a database management system (DBMS), 23 is a database (DB), 24 is an inquiry sentence, 25 is a search phrase, and 26 is a partial image of an apple.

【0032】この例は、画像と解説文が記された画像集
から指定された画像の特徴量と比較している条件1と、
キーワードとして青森県を指定している条件2をもとに
類似検索を行うことを示している。(同図では条件1の
リンゴの部分画26は略図で表示している。
In this example, the condition 1 is compared with the feature amount of the image specified from the image collection in which the image and the commentary are written,
It indicates that the similarity search is performed based on the condition 2 in which Aomori prefecture is specified as the keyword. (In the figure, the partial image 26 of the apple under condition 1 is displayed in a schematic view.

【0033】検索句25に[MATCHCONDITION]と付記す
ることにより、該検索が「結果に絞り込み結果を反映さ
せる」ということを意味する。問い合わせの条件は、各
メディアに関するものである。前述のように、この例
は、複数メディアにまたがった問い合わせの例である。
By adding [MATCH CONDITION] to the search phrase 25, it means that the search "reflects the narrowed down result in the result". The inquiry conditions are related to each media. As mentioned above, this example is an example of a query that spans multiple media.

【0034】アプリケーションプログラム(AP)か
ら、複数メディアにまたがる条件を複数指定された問い
合わせが発行される。問い合わせの条件において、画像
を指定する場合は、全体画、部分画、スケッチ画でもよ
い。テキストを指定する場合は、単語でも長文でもよ
い。
The application program (AP) issues an inquiry in which a plurality of conditions across a plurality of media are designated. When an image is specified in the inquiry condition, it may be a whole image, a partial image, or a sketch image. When specifying the text, it may be a word or a long sentence.

【0035】図3(b)は、データベース管理システム
(DBMS)での動作を示している。データベース管理
システム(DBMS)では以下の処理を行う。 (1)問合せ文から条件1と条件2を抽出。 (2)「部分画similar() key-image」に条件ID
1、「解説similar() '青森県'」に条件ID 2を付
与。 (3)「「部分画similar() key-image」、1」、
「「解説similar() '青森県'」、2」を記憶。 (4)条件毎に類似検索。 (5)条件毎の検索結果(類似度)(図におけるカード
のスタック)を保持。 (6)検索結果に条件IDを付与。 (7)条件IDを含んだ各結果をマージ、ソートする。 (8)条件IDを条件文に置き換える。 (9)該結果をアプリケーションプログラム(AP)に
返却する。 データベース管理システム(DBMS)から返却された
結果には、条件文が付与されているため、絞り込み詰果
が容易に把握できる。「この例では、図3の検索結果の
「風景画3.jpg」は「部分画similar() key-image」と
いう条件に該当し、「食卓1.jpg」は「解説similar()
'青森県'」という条件に該当したことを示してい
る。」
FIG. 3B shows the operation in the database management system (DBMS). The database management system (DBMS) performs the following processing. (1) Extract condition 1 and condition 2 from the inquiry sentence. (2) Condition ID in "partial image similar () key-image"
1. Assign condition ID 2 to "commentary similar () 'Aomori prefecture'". (3) "" Partial image similar () key-image ", 1",
Memorize "" Commentary similar () 'Aomori Prefecture'",2". (4) Similarity search for each condition. (5) Hold the search result (similarity) for each condition (card stack in the figure). (6) A condition ID is added to the search result. (7) The results including the condition ID are merged and sorted. (8) Replace the condition ID with a condition statement. (9) The result is returned to the application program (AP). Since the condition statement is added to the result returned from the database management system (DBMS), the narrowed-down result can be easily grasped. "In this example," landscape picture 3.jpg "in the search result of Fig. 3 corresponds to the condition of" partial picture similar () key-image ", and" dining table 1.jpg "is" commentary similar ()
It indicates that the condition "Aomori Prefecture" has been met. "

【0036】以上述べた本発明の主要な機能は、ソフト
ウエアによって実現される。従って、このソフトウエア
の論理構造を所望の言語によるプログラムとして作成す
ることが可能である。このようなプログラムを記録した
記録媒体も本願発明の範疇に含まれるものであることは
いうまでもない。
The main functions of the present invention described above are realized by software. Therefore, it is possible to create the logical structure of this software as a program in a desired language. It goes without saying that a recording medium recording such a program is also included in the scope of the present invention.

【0037】[0037]

【発明の効果】以上説明したように、本発明によれば、
テキスト、画像、音楽などの複数メディアにおけるデー
タを管理することが可能なデータベース管理システムに
おける、複数メディアにまたがるデータや単一メディア
に閉じたデータへの検索に際して、データベース管理シ
ステム(DBMS)が、「絞込み結果の反映可能な検
索」を実行することが可能となる利点がある。
As described above, according to the present invention,
In a database management system capable of managing data in a plurality of media such as texts, images and music, a database management system (DBMS) searches for data spanning a plurality of media or data closed in a single medium. There is an advantage that it is possible to execute a “search that can reflect the narrowing-down result”.

【0038】すなわち、従来は、「絞込み結果の反映可
能な検索」を実行するには、それを全て、アプリケーシ
ョンプログラムに依存せざるを得なかったが、本発明に
よれば、検索結果に「どの条件により紋り込まれたか」
という情報を反映させる機能をデータベース管理システ
ムで行うことが可能と成り、マルチメディアアプリケー
ションで要求される、ユーザに絞り込み結果の情報を示
すことを実現することが可能と成る。
That is, in the past, in order to execute the "search capable of reflecting the narrowed-down result", all of it had to depend on the application program. However, according to the present invention, "what Was it imprinted according to the conditions? "
It becomes possible to perform the function of reflecting the information in the database management system, and it is possible to realize the requirement of the multimedia application to show the information of the narrowing-down result to the user.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の実施の形態の第1の例を説明する図で
ある。
FIG. 2 is a diagram illustrating a first example of an embodiment of the present invention.

【図3】本発明の実施の形態の第2の例を説明する図で
ある。
FIG. 3 is a diagram illustrating a second example of the embodiment of the present invention.

【図4】従来のDBMSについて説明する図である。FIG. 4 is a diagram illustrating a conventional DBMS.

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

21 アプリケーションプログラム 22 データベース管理システム 23 データベース 24 問い合わせ文 25 検索句 26 リンゴの部分画 21 Application Program 22 Database management system 23 Database 24 inquiry text 25 Search phrase 26 Apple partials

───────────────────────────────────────────────────── フロントページの続き (72)発明者 芳西 崇 東京都千代田区大手町二丁目3番1号 日本電信電話株式会社内 (56)参考文献 特開 平7−21193(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 17/30 G06F 12/00 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takashi Nishinishi 2-3-1, Otemachi, Chiyoda-ku, Tokyo Inside Nippon Telegraph and Telephone Corporation (56) Reference JP-A-7-21193 (JP, A) ( 58) Fields surveyed (Int.Cl. 7 , DB name) G06F 17/30 G06F 12/00 JISST file (JOIS)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】アプリケーションから問合せ文を含む検索
要求を受けた場合に、前記問合せ文が絞り込み結果を反
映させるべき問合せ文であるか否かを判断する反映可否
判断手段と、 前記反映可否判断手段において絞り込み結果を反映させ
る問合せ文であると判断された場合に、前記問合せ文か
ら条件を抽出する抽出手段と、 前記抽出手段で抽出された条件にIDを付与する条件I
D付与手段と、 前記抽出手段で抽出された条件と前記ID付与手段で付
与したIDとの組を記憶する条件ID記憶手段と、 前記抽出手段で抽出した条件ごとに検索を実行する検索
手段と、 前記検索手段の検索結果を条件ごとに記憶する検索結果
記憶手段と、 前記条件ID記憶手段に記憶されている組を用いて、前
記検索結果記憶手段において条件ごとに記憶されている
検索結果にIDを付与する検索結果ID付与手段と、 前記検索結果ID付与手段によってIDが付与された検
索結果を用いて、前記アプリケーションへの返却用検索
結果を作成する返却用検索結果作成手段と、 を備えることを特徴とするデータベース検索システム。
1. A search including an inquiry sentence from an application
When a request is received, the above-mentioned inquiry sentence will
Whether to reflect whether it is a query text to be displayed
The result of the narrowing down is reflected by the judgment means and the reflection possibility judgment means.
If it is determined that the query text is
And a condition I for assigning an ID to the condition extracted by the extracting unit.
D adding means, the conditions extracted by the extracting means, and the ID adding means
A condition ID storage unit that stores a set with a given ID, and a search that executes a search for each condition extracted by the extraction unit
Means and search results for storing the search results of the search means for each condition
Using the storage means and the set stored in the condition ID storage means,
It is stored for each condition in the search result storage means.
A search result ID assigning unit that assigns an ID to the search result, and a search result ID assigned by the search result ID assigning unit.
Search for return to the application using the search results
A database search system comprising: a return search result creating means for creating a result .
【請求項2】請求項1に記載のデータベース検索システ
ムにおいて、さらに、前記返却用検索結果作成手段で作
成された返却用検索結果に含まれるIDを前記条件ID
記憶手段に記憶されている組を用いて条件に置換する置
換手段を備えることを特徴とするデータベース検索シス
テム。
2. The database search system according to claim 1.
In addition, the search result creation means for return
The ID included in the returned search result is the condition ID
A device that replaces a condition using a set stored in the storage means.
Database search system characterized by including a conversion means
Tem.
【請求項3】アプリケーションから問合せ文を含む検索
要求を受けた場合に、前記問合せ文が絞り込み結果を反
映させるべき問合せ文であるか否かを判断する反映可否
判断手順と、 前記反映可否判断手順において絞り込み結果を反映させ
る問合せ文であると判断された場合に、前記問合せ文か
ら条件を抽出する抽出手順と、 前記抽出手順で抽出された条件にIDを付与する条件I
D付与手順と、 前記抽出手順で抽出された条件と前記ID付与手順で付
与したIDとの組を記憶する条件ID記憶手順と、 前記抽出手順で抽出した条件ごとに検索を実行する検索
手順と、 前記検索手順の検索結果を条件ごとに記憶する検索結果
記憶手順と、 前記条件ID記憶手順で記憶した組を用いて、前記検索
結果記憶手順において条件ごとに記憶した検索結果にI
Dを付与する検索結果ID付与手順と、前記検索結果I
D付与手順によってIDが付与された検索結果を用い
て、前記アプリケ ーションへの返却用検索結果を作成する返却用検索結果
作成手順と、 を有するデータベース検索プログラムを記録した記録媒
体。
3. Retrieval including an inquiry sentence from an application
When a request is received, the above-mentioned inquiry sentence will
Whether to reflect whether it is a query text to be displayed
Reflect the narrowing down result in the judgment procedure and the above-mentioned reflection possibility judgment procedure.
If it is determined that the query text is
Condition for assigning an ID to the condition extracted in the extraction process
D assignment procedure, the conditions extracted in the extraction procedure, and the ID assignment procedure
A condition ID storage procedure for storing a set with a given ID, and a search for executing a search for each condition extracted in the extraction procedure
And instructions, search results to search results stored for each condition of the search procedure
The search is performed by using the storage procedure and the set stored in the condition ID storage procedure.
I is added to the search result stored for each condition in the result storage procedure.
Search result ID giving procedure of giving D, and the search result I
Use the search result that ID is assigned by the D assignment procedure
Te, the search result for the return to create a return for the search results to the application
A recording medium recording a database search program having a creation procedure.
body.
【請求項4】請求項3に記載の記録媒体において、前記
データベース検索プログラムは、さらに、前記返却用検
索結果作成手順で作成された返却用検索結果に含まれる
IDを前記条件ID記憶手順で記憶した組を用いて条件
に置換する置換手順を有する、ことを特徴とする記録媒
体。
4. The recording medium according to claim 3, wherein
The database search program further includes the return inspection.
Included in the return search results created in the search result creation procedure
A condition is stored by using a set stored in the condition ID storage procedure.
A recording medium having a replacement procedure for replacing
body.
JP2000081279A 2000-03-23 2000-03-23 Database search system and recording medium storing database search program Expired - Lifetime JP3508842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000081279A JP3508842B2 (en) 2000-03-23 2000-03-23 Database search system and recording medium storing database search program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000081279A JP3508842B2 (en) 2000-03-23 2000-03-23 Database search system and recording medium storing database search program

Publications (2)

Publication Number Publication Date
JP2001265814A JP2001265814A (en) 2001-09-28
JP3508842B2 true JP3508842B2 (en) 2004-03-22

Family

ID=18598239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000081279A Expired - Lifetime JP3508842B2 (en) 2000-03-23 2000-03-23 Database search system and recording medium storing database search program

Country Status (1)

Country Link
JP (1) JP3508842B2 (en)

Also Published As

Publication number Publication date
JP2001265814A (en) 2001-09-28

Similar Documents

Publication Publication Date Title
Kowalski et al. Information storage and retrieval systems: theory and implementation
JP3936243B2 (en) Method and system for segmenting and identifying events in an image using voice annotation
US5940624A (en) Text management system
US20030004941A1 (en) Method, terminal and computer program for keyword searching
JPH11120203A (en) Method for combining data base and device for retrieving document from data base
KR970705795A (en) PARALLEL PROCESSING SYSTEM FOR TRAVERSING A DATA BASE FOR DATABASE SEARCH
JP2001075969A (en) Method and device for image management retrieval and storage medium
JP2004178123A (en) Information processor and program for executing information processor
US20070112839A1 (en) Method and system for expansion of structured keyword vocabulary
JPH0628403A (en) Document retrieving device
US6807545B1 (en) Method and system for retrieving documents via an electronic data file
JP2001084256A (en) Device and method for processing database and computer readable storage medium with database processing program recorded therein
JPH09223150A (en) Information classification processing method
JPH06301732A (en) Document retrieval processing method
JP3508842B2 (en) Database search system and recording medium storing database search program
EP1116137B1 (en) Database, and methods of data storage and retrieval
JP2002288189A (en) Method and apparatus for classifying documents, and recording medium with document classification processing program recorded thereon
JP2000163445A (en) Data base managing system
JPH10307837A (en) Retrieval device and recording medium recording retrieval program
JPS59105141A (en) Managing method of electronic document
JP2009282903A (en) Knowledge extraction/search apparatus and method thereof
KR20000041817A (en) Method for partly retrieving characters column using pattern tables composing syllable patterns
JPH11195041A (en) Document retrieval device/method and recording medium
JP2715443B2 (en) Database device
JP2000076254A (en) Keyword extraction device, similar document retrieval device using the same, keyword extraction method and record medium

Legal Events

Date Code Title Description
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: 20031209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20031212

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20031212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031216

R151 Written notification of patent or utility model registration

Ref document number: 3508842

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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