JP2005242720A - Database retrieval method apparatus, and program - Google Patents
Database retrieval method apparatus, and program Download PDFInfo
- Publication number
- JP2005242720A JP2005242720A JP2004052423A JP2004052423A JP2005242720A JP 2005242720 A JP2005242720 A JP 2005242720A JP 2004052423 A JP2004052423 A JP 2004052423A JP 2004052423 A JP2004052423 A JP 2004052423A JP 2005242720 A JP2005242720 A JP 2005242720A
- Authority
- JP
- Japan
- Prior art keywords
- search
- input
- search condition
- condition
- 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.)
- Withdrawn
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、データベース情報から所望のレコードを検索するデータベース検索方法、データベース検索装置およびデータベース検索プログラムに関するものであり、特に入力された検索条件が絞り込み検索であるか否かを判断して新規な検索条件を生成するデータベース検索方法、データベース検索装置およびデータベース検索プログラムに関する。 The present invention relates to a database search method, a database search apparatus, and a database search program for searching for a desired record from database information, and in particular, a new search is performed by determining whether or not an input search condition is a refined search. The present invention relates to a database search method, a database search device, and a database search program for generating conditions.
検索式を入力することによって様々な属性によって表現される事物のレコードを多数蓄積したデータベースを検索する場合、所望のレコードを得るためには,まず検索式を入力し、検索結果を閲覧し、所望の検索結果が得られなければ検索式を更新する。データベース検索を行うユーザはこのような作業を所望のレコードが検索結果として得られるまで繰り返し行うことが一般的である。 When searching a database that stores many records of things expressed by various attributes by entering a search expression, to obtain the desired record, first enter the search expression, browse the search results, and select the desired record. If the search result is not obtained, the search formula is updated. A user who performs a database search generally repeats such work until a desired record is obtained as a search result.
このような検索式を入力するユーザの負担を軽減するために、過去に入力した検索条件を現在のユーザ入力の意図に応じて統合するがある(例えば、特許文献1)。この従来技術では、音声/ビデオ装置用の制御システムおよび音声/ビデオ構成を制御するための統合アクセスシステムにおいて、検索条件「目的地 近く レストラン」が音声入力された後に、検索条件「やっぱり中華料理」という音声入力があった場合、1回目に入力された検索条件に2回目の検索条件を補完して、「目的地 近く 中華料理」という検索条件を生成し、新規に生成した検索条件によってデータベースに登録されているレコードの検索を行うものである。この従来技術では、新規の検索条件の生成によって、ユーザは過去に入力した条件を再入力する必要がなくなる点で優れている。 In order to reduce the burden on the user who inputs such a search expression, search conditions input in the past may be integrated according to the intention of the current user input (for example, Patent Document 1). In this prior art, in the control system for the audio / video device and the integrated access system for controlling the audio / video configuration, after the search condition “restaurant near destination” is inputted by voice, the search condition “Chinese food” The search condition entered in the first time is complemented with the search condition in the second time, and a search condition of “Chinese cuisine near the destination” is generated. Searches for registered records. This conventional technique is superior in that it does not require the user to re-enter previously input conditions by generating new search conditions.
しかしながら、現在検索対象となっているデータベースのレコードの数や過去の検索結果のレコード数と無関係に、前回入力された検索条件を補完して新規な検索条件を生成しているため、補完によって新規な検索条件に不必要な条件が含まれており、検索条件を再度入力しなければならない場合もある。例えば、検索を繰り返して検索結果のレコード集合を絞り込み、前回の検索結果のレコード数が1になった場合、その後の検索条件の入力は、レコード集合の更なる絞込み検索とは考えられず、今まで入力された検索条件を全て破棄して、新たに検索を行う場合であると考えられる。この場合、上記従来技術では、ユーザにレコード集合を元の状態に戻してから検索条件を再度入力せせる必要が生じてくるため、ユーザの検索条件の入力作業の負担がかかり、煩雑になるという問題がある。 However, new search conditions are generated by complementing the previously entered search conditions regardless of the number of records in the database currently being searched and the number of records in the past search results. In some cases, unnecessary search conditions include unnecessary conditions, and the search conditions must be input again. For example, if search is repeated to narrow down the record set of search results, and the number of records in the previous search result is 1, then the input of the search condition after that is not considered as a further refinement search of the record set. It can be considered that this is a case where all the search conditions input up to are discarded and a new search is performed. In this case, in the above prior art, it becomes necessary to allow the user to input the search condition again after returning the record set to the original state, and thus the burden of the user's input of the search condition is increased, which is complicated. There is.
特に、検索条件の入力を音声によって行い音声解析をする上記従来技術のような場合には、いったん音声入力された検索条件を破棄するために「キャンセル」や「リセット」命令を音声入力してその後、新たな検索条件の音声入力を行う必要があり、ユーザの検索条件の負担が過大となるとともに、検索条件の入力が煩雑になるため検索条件の入力ミスを生じる場合も多い。 In particular, in the case of the above-described prior art in which search conditions are input by voice and voice analysis is performed, a “cancel” or “reset” command is input after voice input to discard the search conditions once input by voice. In addition, it is necessary to input a voice for a new search condition, the burden on the search condition for the user becomes excessive, and the input of the search condition becomes complicated, so that an input error of the search condition often occurs.
本発明は、上記に鑑みてなされたものであって、検索条件の入力の負担を軽減するとともい入力誤りを防止することができるデータベース検索方法、データベース検索装置およびデータベース検索プログラムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a database search method, a database search apparatus, and a database search program that can reduce input burden of search conditions and prevent input errors. And
上述した課題を解決し、目的を達成するために、本発明は、検索対象のレコードが記録されたデータベース情報から所望のレコードの検索条件を入力する入力ステップと、入力ステップによって入力された検索条件と該検索条件による検索結果とを検索履歴情報として記憶手段に記録する記録ステップと、前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力ステップによって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、前記入力された検索条件を新規な検索条件とする検索条件生成ステップと、前記検索条件生成ステップによって生成された新規な検索条件に基づいて前記データベースから所望のレコードを検索する検索ステップとを含むことを特徴とするデータベース検索方法にかかるものである。 In order to solve the above-described problems and achieve the object, the present invention provides an input step for inputting a search condition for a desired record from database information in which a record to be searched is recorded, and a search condition input by the input step. And a search step for recording the search result based on the search condition in the storage means as search history information, and the search condition input by the input step based on the past search history information recorded in the storage means is the previous search. It is determined whether or not the search is a refined search from the result. If it is determined that the search is not a refined search, a search condition generation step using the input search condition as a new search condition and a search condition generation step And a search step of searching for a desired record from the database based on a new search condition, It relates to a database search method that.
また、本発明は、プロセッサと、プログラムを記憶し、前記プロセッサがアクセス可能なメモリと、検索対象のレコードが記録されたデータベース情報から所望のレコードの検索条件を入力する入力手段と、過去に入力された検索条件と該検索条件による過去の検索結果とを検索履歴情報として記憶する記憶手段と、を備え、前記プログラムは、前記プロセッサを、前記入力手段によって入力された検索条件と該検索条件による検索結果とを検索履歴情報として前記記憶手段に記録する記録手段と、前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力手段によって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、入力された検索条件を新規な検索条件とする検索条件生成手段と、前記検索条件生成手段によって生成された新規な検索条件に基づいて前記データベース情報から所望のレコードを検索する検索手段と、として機能させることを特徴とするデータベース検索装置にかかるものである。 The present invention also relates to a processor, a memory storing the program, accessible by the processor, input means for inputting a search condition for a desired record from database information in which a record to be searched is recorded, and input in the past Storage means for storing the retrieved search conditions and past search results based on the search conditions as search history information, and the program uses the search conditions input by the input means and the search conditions to store the processor. Recording means for recording search results as search history information in the storage means, and search conditions input by the input means based on past search history information recorded in the storage means are narrowed down from previous search results. If it is determined whether or not the search is a refined search, the input search condition is set as a new search condition. What is claimed is: 1. A database search apparatus, comprising: a search condition generation unit; and a search unit that searches a desired record from the database information based on a new search condition generated by the search condition generation unit It is.
また、本発明は、検索対象のレコードが記録されたデータベース情報から所望のレコードの検索条件の入力を受け付ける入力受付手順と、前記入力受付手順によって入力が受け付けられた検索条件と該検索条件による検索結果とを検索履歴情報として記憶手段に記録する記録手順と、前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力受付手順によって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、前記入力された検索条件を新規な検索条件とする検索条件生成手順と、前記検索条件生成手順によって生成された新規な検索条件に基づいて前記データベースから所望のレコードを検索する検索手順とをコンピュータに実行させるデータベース検索プログラムにかかるものである。 The present invention also provides an input reception procedure for receiving an input of a search condition for a desired record from database information in which a record to be searched is recorded, a search condition for which an input has been received by the input reception procedure, and a search based on the search condition A recording procedure for recording the results as search history information in the storage means, and a search condition input by the input reception procedure based on the past search history information recorded in the storage means as a refined search from the previous search results If it is determined that the search is not a refined search, a search condition generation procedure using the input search condition as a new search condition and a new search condition generated by the search condition generation procedure A database search program for causing a computer to execute a search procedure for searching for a desired record from the database based on It takes things.
本発明によれば、検索対象のレコードが記録されたデータベース情報から所望のレコードの検索条件を入力し、入力された検索条件と該検索条件による検索結果とを検索履歴情報として記憶手段に記録し、憶手段に記録された過去の検索履歴情報に基づいて入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、入力された検索条件を新規な検索条件し、この新規な検索条件に基づいてデータベースから所望のレコードを検索することで、入力した検索条件によって絞り込み検索のための検索条件でない場合に、検索条件の入力破棄や再入力を行う必要がなくなり、検索条件の入力の負担を軽減するとともに入力誤りを防止することができるという効果を奏する。 According to the present invention, a search condition for a desired record is input from database information in which a record to be searched is recorded, and the input search condition and a search result based on the search condition are recorded as search history information in a storage means. If the search condition entered based on the past search history information recorded in the storage means is a refinement search from the previous search result, and if it is judged that it is not a refinement search, the entered search If the search condition is a new search condition and a desired record is searched from the database based on the new search condition, and if the search condition is not a search condition for a narrow search by the input search condition, the input of the search condition is discarded or re-entered. There is no need to input, and it is possible to reduce the burden of inputting search conditions and to prevent input errors.
以下に添付図面を参照して、この発明にかかるデータベース検索方法、データベース検索装置およびデータベース検索プログラムの最良な実施の形態を詳細に説明する。本実施の形態は本発明のデータベース検索装置を放送番組の録画装置に適用したものである。本実施の形態の録画装置は、音声入力により所望の放送番組に関する検索条件を入力し、放送番組の番組データベースからを検索条件に合致する番組のレコードを検索して検索された番組を予約することができるようになっており、この番組データベースからの検索において本発明のデータベース検索方法およびデータベース検索プログラムが適用されている。 Exemplary embodiments of a database search method, a database search device, and a database search program according to the present invention will be explained below in detail with reference to the accompanying drawings. In the present embodiment, the database search apparatus of the present invention is applied to a broadcast program recording apparatus. The recording apparatus of the present embodiment inputs a search condition relating to a desired broadcast program by voice input, searches a program record that matches the search condition from a program database of the broadcast program, and reserves the searched program. In the search from the program database, the database search method and the database search program of the present invention are applied.
図1は、本実施の形態にかかる録画装置の構成を示すブロック図である。本実施の形態の録画装置は、図1に示すように、音声入力装置(マイク)101と、音声出力装置(スピーカ)102と、信号処理部103と、音声レコグナイザ104と、自然言語解析部105と、音声シンセサイザ106と、対話マネージャ107と、アクセスコントローラ108と、データベース検索部109と、表示装置(モニタ)110と、デジタルチューナ111と、レコーダ112と、ハードディスク装置(HDD)113と、ROM(Read Only Memory)116とを主に備えている。ここで、音声入力装置101は本発明における入力手段を構成する。
FIG. 1 is a block diagram showing the configuration of the recording apparatus according to the present embodiment. As shown in FIG. 1, the recording apparatus according to the present embodiment includes an audio input device (microphone) 101, an audio output device (speaker) 102, a
信号処理部103は、音声入力装置101から入力された音声をデジタル信号に変換する処理およびデジタル信号を出力音声に変換して音声出力装置102に出力する処理を行う。
The
音声レコグナイザ104は、信号処理部103から入力された音声信号のデコードを行うものである。
The
自然言語解析部105は、音声レコグナイザ104から入力された音声信号から音声による自然言語の持つ意味内容の解析を行うものである。音声シンセサイザ106は、アクセスコントローラ108から入力された信号から音声信号を合成するものである。
The natural
対話マネージャ107は、音声出力装置102に音声を出力するようにアクセスコントローラ108に要求したり、音声入力装置101から入力される音声信号をアクセスコントローラ108を介して受け付けるものである。アクセスコントローラ108は、自然言語解析部105から入力される音声信号の解析結果から対話マネージャ107を制御するものである。
The
データベース検索部109は、HDD113に格納されている番組データベース114からユーザが音声入力装置101によって指定したキーにより該当する番組レコードを検索するものである。
The
デジタルチューナ111は、ユーザが音声入力装置101によって入力したチャンネルを選択して、放送番組を受信して表示装置110上に表示するものである。
The
レコーダ112は、デジタルチューナ111によって選択されたチャンネルの放送番組をHDD113、DVD−R等の記憶媒体に動画データとして録画するものである。
The recorder 112 records the broadcast program of the channel selected by the
ROM(Read Only Memory)116には、データベース検索部109のデータベース検索プログラムが予め組み込まれて格納されている。すなわち、本実施の形態の録画装置の起動時にROM116からデータベース検索プログラム117がCPU(図示せず)によって読み出されてRAM(図示せず)上にデータベース検索部109として生成されるようになっている。なお、本実施の形態の録画装置では、データベース検索プログラム117が予めROM116に組み込まれた構成となっているが、このデータベース検索プログラム117を、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
A ROM (Read Only Memory) 116 stores a database search program of the
また、録画装置をインターネット等のネットワークに接続可能に構成し、データベース検索プログラム117をネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のデータベース検索プログラム117をインターネット等のネットワーク経由で提供または配布するように構成しても良い。
Further, the recording apparatus may be configured to be connectable to a network such as the Internet, and the
ハードディスク装置(HDD)113には、録画された放送番組の動画データの他、番組データベース114と検索履歴データファイルが格納される。番組データベース114および検索履歴データファイル115については後述する。
A hard disk device (HDD) 113 stores a
なお、本実施の形態では、録画装置内のHDD113に番組データベースを格納するように構成しているが、インターネット等のネットワーク上のサーバで提供される電子番組表を番組データベースとして利用するように構成することも可能である。
In the present embodiment, the program database is stored in the
次に、データベース検索部109について説明する。図2は、データベース検索部109の機能的構成を示すブロック図である。データベース検索部109は、図2に示すように、入力処理部201と、表示制御部202と、検索管理部203と、検索式生成部205と、検索部206と、検索履歴制御部204とを主に備えている。なお、このデータベース検索部109の各部は、データベース検索プログラム117のモジュール構成でもあり、本実施の形態にかかる録画装置が起動されてデータベース検索プログラム117がロードされたときにRAM上に上記各部がRAM上に生成されるようになっている。
Next, the
入力処理部201は、音声入力装置101からの音声入力である検索条件を信号処理部103、音声レコグナイザ104、自然言語解析部105、アクセスコントローラ108および対話マネージャを介して受け付けて検索管理部203へ受け渡すものである。表示制御部202は、表示装置110への検索式等の表示を制御するものである。
The
検索管理部203は、入力処理部201から受け渡された検索条件を検索式生成部205に出力するものである。また、検索管理部203は、検索条件がキャンセルであるか否かを判断する。さらに、検索管理部203は、検索履歴データファイルの前回の検索式から今回入力された検索条件がキー属性の変更がされているか否か、前回の検索結果から今回入力された検索条件が絞り込み検索のための検索条件か否かを判断する。
The
検索式生成部205は、検索管理部203から出力された検索条件を入力して、番組データベース114を検索するための検索式を生成するものである。
The search
検索部206は、検索式生成部205によって生成された検索式によって、番組データベース114から該当する番組レコードを検索してその検索結果を出力するものである。
The
検索履歴制御部204は、検索条件と検索部206による検索結果とを対応付けて検索履歴データとして検索履歴データファイル115に書き込んだり、検索履歴データファイルを参照するものである。その他、検索履歴制御部204は、検索履歴データファイル115の管理を行う。
The search
次に、以上のように構成された本実施の形態の録画装置による番組データベース検索処理について説明する。図3は、本実施の形態の録画装置による番組データベース検索処理の手順を示すフローチャートである。 Next, program database search processing by the recording apparatus of the present embodiment configured as described above will be described. FIG. 3 is a flowchart showing a procedure of program database search processing by the recording apparatus of the present embodiment.
ユーザが音声入力装置101から検索条件、例えば「番組名はジャパンプロジェクト」などを入力すると、検索条件の音声を信号処理部103でデジタル音声信号に変換して、音声レコグナイザ104から自然言語解析部105で意味内容を解析し、新規検索条件をアクセスコントローラ108および対話マネージャを介して入力処理部201で受け付ける(ステップ301)。次に検索管理部203は、新規検索条件を公知の手法で検索式に変換する(ステップ302)。例えば、検索条件が「番組名はジャパンプロジェクト」であれば、検索式「番組=ジャパンプロジェクト」に、検索条件が「番組名はジャパンプロジェクトでチャンネルは21」であれば、検索式「番組=ジャパンプロジェクト & チャンネル=21」に変換する。なお、検索式はこれらの例に限られるものではなく、任意の検索式を使用することができる。
When the user inputs a search condition such as “Program name is Japan Project” from the
ここで、本実施の形態の録画装置で使用する番組データベース114について説明する。図5は、番組データベースの一例を示す説明図である。図5では、説明を容易にするために、リレーショナルデータベースを表形式で示しているが、番組データベースをリレーショナルデータベース以外のデータベースで構築することは任意である。
Here, the
図5に示すように、本実施の形態の番組データベース114は、複数の番組レコードから構成され、各番組レコードは、番組の識別番号であるID、番組名、放送日を示す日付、番組放送の開始時刻、番組放送の終了時刻、番組を放送するチャンネル、番組の出演者、番組のジャンル、番組の概要を示す内容の属性を有しており、各属性を番組データベースの検索キーとして使用することができるようになっている。
As shown in FIG. 5, the
次に検索管理部203は、検索条件の入力により検索が最初の検索か否かを判断する(ステップ303)。具体的には、検索履歴制御部204によって検索履歴データファイル115を参照してデータが書き込まれているか否かを判断することによって最初の検索か否かを判断する。検索履歴データファイル115にデータが書き込まれていれば2回目以降の検索であり、データが書き込まれていなければ最初の検索である。
Next, the
そして、最初の検索であると判断された場合には(ステップS303:Yes)、検索部206によって検索対象の番組データベース114をステップS302で生成された新規検索式によって該当する番組レコードを検索する(ステップS310)。そして、検索履歴制御部204によって、この新規検索式と検索結果とを検索履歴データとして検索履歴データファイル115に保存する(ステップS311)。
If it is determined that the search is the first search (step S303: Yes), the
ここで、検索履歴データファイル115に書き込まれる検索履歴データについて説明する。図6は、検索履歴データの一例を示す説明図である。図6に示すように、検索履歴データは検索式と、検索結果、すなわち検索された番組レコードとから構成される。図6では、検索式「番組名=ジャパンプロジェクト」を用いて番組データベース114を検索した場合の検索履歴データの例1、検索式「チャンネル=21」を用いて番組データベース114を検索した場合の検索履歴データの例2、検索式「チャンネル名=21 & 日付=2003/8/2」を用いて番組データベース114を検索した場合の検索履歴データの例3を示している。例1の検索結果としての番組レコードの数は1、例2および例3の番組レコードの数は2となっている。
Here, the search history data written in the search history data file 115 will be described. FIG. 6 is an explanatory diagram showing an example of search history data. As shown in FIG. 6, the search history data includes a search expression and a search result, that is, a searched program record. In FIG. 6, Example 1 of search history data when searching the
検索履歴データファイル115には、このような検索履歴データが時系列に追記されるようになっている。従って、前回の検索式および検索結果を参照する場合には、検索履歴データファイル115の最終レコードの検索履歴データを参照すればよい。 Such search history data is added to the search history data file 115 in time series. Therefore, when referring to the previous search expression and search result, the search history data of the last record in the search history data file 115 may be referred to.
ステップS303において、最初の検索でないと判断された場合には(ステップS303:No)、少なくとも1回は検索を行っており、検索管理部203によって入力された検索条件がキャンセルであるか否かを判断する(ステップS304)。ここで、キャンセルの入力とは、直前に入力した検索条件を否定することを示す入力である。そして、キャンセルであると判断された場合には(ステップS304:Yes)、キャンセル処理を行う(ステップS315)。なお、キャンセル処理については後述する。
If it is determined in step S303 that the search is not the first search (step S303: No), the search is performed at least once, and it is determined whether or not the search condition input by the
一方、キャンセルでないと判断された場合には(ステップS304:No)、検索管理部は今回入力された検索条件が前回の検索の検索条件の変更であるか否かを判断する(ステップS305)。ここで、検索条件の変更とは、検索式において、検索キーの属性の値を変更することをいう。例えば、前回の検索の検索式が「番組名=ジャパンプロジェクト」である場合に、今回の検索式が「チャンネル=21」である場合には、検索キーの属性を番組名からチャンネルに変更しており属性「番組名」の属性値を変更したわけではないので、検索条件の変更に該当しない。しかしながら、前回の検索の検索式が「番組名=ジャパンプロジェクト」である場合に、今回の検索式が「番組名=おはようニュース」である場合には、検索キーである番組名の属性値を「ジャパンプロジェクト」から「おはようニュース」に変更したため検索条件の変更に該当する。 On the other hand, if it is determined that the search is not canceled (step S304: No), the search management unit determines whether or not the search condition input this time is a change in the search condition of the previous search (step S305). Here, changing the search condition means changing the value of the attribute of the search key in the search formula. For example, when the search formula of the previous search is “program name = Japan project” and the current search formula is “channel = 21”, the attribute of the search key is changed from the program name to the channel. Since the attribute value of the cage attribute “program name” is not changed, the search condition is not changed. However, if the search formula of the previous search is “program name = Japan project” and the current search formula is “program name = good morning news”, the attribute value of the program name as the search key is set to “ Since it changed from “Japan Project” to “Good Morning News”, it corresponds to the change of search conditions.
検索条件の変更であると判断された場合には(ステップS305:Yes)、検索履歴制御部204によって検索履歴データファイル115の前回の検索履歴データを読み出して前回の検索式を取得する(ステップS312)。そして、読み出した前回の検索式と今回入力された検索式を今回入力された検索式で変更して新規検索式とする(ステップS313)。
If it is determined that the search condition is changed (step S305: Yes), the search
そして、前回の検索履歴データから検索結果を取得して、この前回の検索結果を番組データベースとして復旧し、検索管理部203によって検索対象の番組データベースを、復旧した番組データベースをに設定する(ステップS314)。例えば、前回の検索式が「番組名=ジャパンプロジェクト」である場合には、図6の例1の検索結果としてのID=3のレコードが番組データベースとして復旧され、検索対象の番組データベースとして設定されることになる。
Then, a search result is obtained from the previous search history data, the previous search result is restored as a program database, and the
次に、検索部206によって検索対象の番組データベース114をステップS313で変更された新規検索式によって該当する番組レコードを検索する(ステップS310)。そして、検索履歴制御部204によって、この新規検索式と検索結果とを検索履歴データとして検索履歴データファイル115に保存する(ステップS311)。
Next, the
一方、ステップS305で、検索条件の変更でないと判断された場合には(ステップS305:No)、更に検索管理部203によって前回の検索結果のレコード数が2より小さいか否かを判断することによって今回入力された検索条件が前回の検索の絞り込み検索であるか否かを判断する(ステップS306)。
On the other hand, if it is determined in step S305 that the search condition is not changed (step S305: No), the
そして、前回の検索結果のレコード数が2以上である場合には(ステップS306:No)、絞り込み検索であると判断し、ステップS312からS314までの処理を行ってデータベースの検索を行い(ステップS310)、その検索結果と検索式を検索履歴データとして検索履歴データファイル115に保存する(ステップS311)。 If the number of records in the previous search result is 2 or more (step S306: No), it is determined that the search is a refinement search, and the database is searched by performing the processing from step S312 to S314 (step S310). The search result and the search expression are stored in the search history data file 115 as search history data (step S311).
このような絞り込み検索の例としては、前回の検索時における検索条件が「チャンネル=21」であり、今回の検索条件が「番組名=おはようニュース」であった場合、前回の検索結果において図6の例2のようにレコード数が2であるため、今回の検索条件は絞り込み検索と判断される。 As an example of such a narrow search, when the search condition at the previous search is “channel = 21” and the current search condition is “program name = good morning news”, the previous search result is shown in FIG. Since the number of records is 2 as in Example 2, the current search condition is determined to be a refined search.
一方、ステップS306で、前回の検索結果のレコード数が2より小さい場合には(ステップS306:Yes)、絞り込み検索でなく新たな検索であると判断し、検索式生成部205によって検索式をリセットする(ステップS307)。そして、検索式生成部205によって入力された検索条件から生成された検索式のみを新規検索式と設定し(ステップS308)、前回の検索式との合成は行わない。そして、検索対象の番組データベースを未検索の番組データベース114、すなわち前回の検索結果を取得せずに図5に示すような全てのレコードが登録された番組データベース114に設定する(ステップS309)。
On the other hand, if the number of records in the previous search result is smaller than 2 in step S306 (step S306: Yes), it is determined that the search is not a narrow search but a new search, and the search
例えば、前回の検索時における検索条件が「番組名=ジャパンプロジェクト」であり、今回の検索条件が「チャンネル=21」であった場合、前回の検索結果において図6の例1のようにレコード数が1であるため、今回の検索条件は絞り込み検索でなく新規検索であると判断される。 For example, when the search condition at the time of the previous search is “program name = Japan project” and the current search condition is “channel = 21”, the number of records in the previous search result as shown in Example 1 of FIG. Therefore, it is determined that the current search condition is not a narrow search but a new search.
そして、検索部206によって検索対象の番組データベース114を新規検索式によって該当する番組レコードを検索する(ステップS310)。そして、検索履歴制御部204によって、この新規検索式と検索結果とを検索履歴データとして検索履歴データファイル115に保存する(ステップS311)。このようにして前回の検索結果とは関係なしに新規検索が行われる。
Then, the
次に、ステップ315のキャンセル処理について説明する。図4は、入力された検索条件がキャンセルであった場合に行われるキャンセル処理の手順を示すフローチャートである。キャンセル入力がされた場合、直前の検索条件の入力が否定されるため、検索履歴制御部204によって、前回の検索における検索条件を、検索履歴データファイル115から読み出す(ステップS401)。そして、検索式生成部205によって読み出した前回の検索式を新規検索式に設定する(ステップS402)。次に検索管理部203によって、現在の番組データベース114、すなわち図5に示すような全レコードが登録されたデータベースを検索対象のデータベースとして設定する(ステップS403)。そして、ステップS310、S311の検索処理、検索履歴データファイル115への検索式および検索結果の保存処理を行う。
Next, the cancellation process in step 315 will be described. FIG. 4 is a flowchart showing a procedure of cancel processing performed when the input search condition is cancel. When the cancel input is made, the previous search condition input is denied, so the search
このように本実施の形態の録画装置では、検索対象のレコードが記録された番組データベース114から所望のレコードの検索条件を入力し、入力された検索条件と該検索条件による検索結果とを検索履歴データとして検索履歴データファイル115に記録し、前回の検索履歴データの検索条件のキー属性値が変更されているか、および検索結果であるレコード数によって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、入力された検索条件を新規な検索条件し、この新規な検索条件に基づいて番組データベース115から所望のレコードを検索しているので、入力した検索条件によって絞り込み検索のための検索条件でない場合に、検索条件の入力破棄や再入力を行う必要がなくなり、検索条件の入力の負担を軽減するとともに入力誤りを防止することができる。
As described above, in the recording apparatus of the present embodiment, a search condition for a desired record is input from the
なお、本実施の形態では、単一の制約条件の検索式を用いた例を示してあるが、複数の制約条件を組み合わせた検索式についても適用できることは言うまでもない。 In the present embodiment, an example using a single constraint condition search expression is shown, but it goes without saying that the present invention can also be applied to a search expression that combines a plurality of constraint conditions.
また、本実施の形態の録画装置では、前回の検索結果としてのレコード数に基づいて今回の検索条件による検索が絞り込み検索であるか否かを判断しているが、過去の検索結果としてのレコード数によって絞り込み検索であるか否かを判断するように構成することもできる。 In the recording apparatus of the present embodiment, it is determined whether or not the search based on the current search condition is a refined search based on the number of records as the previous search result. It can also be configured to determine whether or not the search is a refinement search based on the number.
また、本実施の形態の録画装置では、本発明における入力手段として音声入力装置(マイク)101を用いているが、この他、ジェスチャーなどの撮像する撮像装置を用いるように構成してもよい。 In the recording apparatus of the present embodiment, the voice input device (microphone) 101 is used as the input means in the present invention. However, an imaging device that captures a gesture or the like may be used.
さらに、本実施の形態では、本発明のデータベース検索方法、データベース検索装置およびデータベース検索プログラムを録画装置に適用し、番組データベースから所望のレコードを検索した例を示しているが、他の種類のデータベースを検索するように構成し、また録画装置以外の装置におけるデータベース検索に本発明を適用することも可能である。 Furthermore, in this embodiment, the database search method, the database search device, and the database search program of the present invention are applied to a recording device, and a desired record is searched from the program database. However, other types of databases are shown. The present invention can also be applied to database searches in devices other than the recording device.
以上のように、本発明にかかるデータベース検索方法、データベース検索装置およびデータベース検索プログラムは、キーボードやマウスのような入力手段ではなく、音声入力装置のような手操作以外の入力手段によって検索条件を入力する装置に有用である。 As described above, the database search method, database search apparatus, and database search program according to the present invention input search conditions by input means other than manual operation, such as a voice input device, instead of input means such as a keyboard or a mouse. It is useful for the device to do.
101 音声入力装置
102 音声出力装置
103 信号処理部
104 音声レコグナイザ
105 自然言語解析部
106 音声シンセサイザ
107 対話マネージャ
108 アクセスコントローラ
109 データベース検索部
110 表示装置
111 デジタルチューナ
112 レコーダ
114 番組データベース
115 検索履歴データファイル
115 番組データベース
116 ROM
117 データベース検索プログラム
201 入力処理部
202 表示制御部
203 検索管理部
204 検索履歴制御部
205 検索式生成部
206 検索部
DESCRIPTION OF
117
Claims (12)
入力ステップによって入力された検索条件と該検索条件による検索結果とを検索履歴情報として記憶手段に記録する記録ステップと、
前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力ステップによって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、前記入力された検索条件を新規な検索条件とする検索条件生成ステップと、
前記検索条件生成ステップによって生成された新規な検索条件に基づいて前記データベースから所望のレコードを検索する検索ステップと、
を含むことを特徴とするデータベース検索方法。 An input step for inputting a search condition for a desired record from the database information in which the record to be searched is recorded;
A recording step of recording the search condition input in the input step and the search result based on the search condition in the storage means as search history information;
When it is determined whether or not the search condition input by the input step based on past search history information recorded in the storage means is a narrow search from the previous search result, and when it is determined that the search is not a narrow search, A search condition generation step using the input search condition as a new search condition;
A search step of searching for a desired record from the database based on the new search condition generated by the search condition generation step;
A database search method comprising:
プログラムを記憶し、前記プロセッサがアクセス可能なメモリと、
検索対象のレコードが記録されたデータベース情報から所望のレコードの検索条件を入力する入力手段と、
過去に入力された検索条件と該検索条件による過去の検索結果とを検索履歴情報として記憶する記憶手段と、を備え、
前記プログラムは、前記プロセッサを、
前記入力手段によって入力された検索条件と該検索条件による検索結果とを検索履歴情報として前記記憶手段に記録する記録手段と、
前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力手段によって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、入力された検索条件を新規な検索条件とする検索条件生成手段と、
前記検索条件生成手段によって生成された新規な検索条件に基づいて前記データベース情報から所望のレコードを検索する検索手段と、
として機能させることを特徴とするデータベース検索装置。 A processor;
A memory for storing a program and accessible by the processor;
An input means for inputting a search condition of a desired record from database information in which a record to be searched is recorded;
Storage means for storing search conditions entered in the past and past search results based on the search conditions as search history information,
The program causes the processor to
A recording means for recording the search condition input by the input means and the search result based on the search condition in the storage means as search history information;
If it is determined whether or not the search condition input by the input unit based on past search history information recorded in the storage unit is a narrow search from the previous search result, and if it is determined that the search is not a narrow search, Search condition generation means that uses the input search condition as a new search condition;
Search means for searching for a desired record from the database information based on a new search condition generated by the search condition generation means;
A database search device characterized by functioning as
前記入力受付手順によって入力が受け付けられた検索条件と該検索条件による検索結果とを検索履歴情報として記憶手段に記録する記録手順と、
前記記憶手段に記録された過去の検索履歴情報に基づいて前記入力受付手順によって入力された検索条件が前回の検索結果からの絞り込み検索か否かを判断し、絞り込み検索でないと判断した場合には、前記入力された検索条件を新規な検索条件とする検索条件生成手順と、
前記検索条件生成手順によって生成された新規な検索条件に基づいて前記データベースから所望のレコードを検索する検索手順と、
をコンピュータに実行させるデータベース検索プログラム。 An input reception procedure for receiving an input of a search condition for a desired record from the database information in which the record to be searched is recorded;
A recording procedure for recording a search condition in which an input is received by the input reception procedure and a search result based on the search condition as search history information in a storage unit;
When it is determined whether or not the search condition input by the input reception procedure is a narrow search from the previous search result based on the past search history information recorded in the storage means, and when it is determined that the search is not a narrow search A search condition generation procedure using the input search condition as a new search condition;
A search procedure for searching for a desired record from the database based on a new search condition generated by the search condition generation procedure;
Database search program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004052423A JP2005242720A (en) | 2004-02-26 | 2004-02-26 | Database retrieval method apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004052423A JP2005242720A (en) | 2004-02-26 | 2004-02-26 | Database retrieval method apparatus, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005242720A true JP2005242720A (en) | 2005-09-08 |
Family
ID=35024385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004052423A Withdrawn JP2005242720A (en) | 2004-02-26 | 2004-02-26 | Database retrieval method apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005242720A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007310862A (en) * | 2006-05-16 | 2007-11-29 | Uniwill Computer Corp | Online consultation system, consultation device, and consultation method |
CN101808187A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Method for establishing local video library and set top box |
JPWO2015037098A1 (en) * | 2013-09-12 | 2017-03-02 | 株式会社東芝 | Electronic device, method and program |
US10037379B2 (en) | 2013-01-30 | 2018-07-31 | Fujitsu Limited | Voice input and output database search method and device |
-
2004
- 2004-02-26 JP JP2004052423A patent/JP2005242720A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007310862A (en) * | 2006-05-16 | 2007-11-29 | Uniwill Computer Corp | Online consultation system, consultation device, and consultation method |
JP4547363B2 (en) * | 2006-05-16 | 2010-09-22 | 精英電脳股▲ふん▼有限公司 | Online consultation system, consultation device and consultation method |
CN101808187A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Method for establishing local video library and set top box |
US10037379B2 (en) | 2013-01-30 | 2018-07-31 | Fujitsu Limited | Voice input and output database search method and device |
JPWO2015037098A1 (en) * | 2013-09-12 | 2017-03-02 | 株式会社東芝 | Electronic device, method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8751238B2 (en) | Systems and methods for determining the language to use for speech generated by a text to speech engine | |
JP6603754B2 (en) | Information processing device | |
US8583418B2 (en) | Systems and methods of detecting language and natural language strings for text to speech synthesis | |
US20040266337A1 (en) | Method and apparatus for synchronizing lyrics | |
WO2011155350A1 (en) | Content reproduction device, control method for content reproduction device, control program, and recording medium | |
JP4354441B2 (en) | Video data management apparatus, method and program | |
US8209348B2 (en) | Information processing apparatus, information processing method, and information processing program | |
US8340797B2 (en) | Method and system for generating and processing digital content based on text-to-speech conversion | |
JP2014085780A (en) | Broadcast program recommending device and broadcast program recommending program | |
JP2009042968A (en) | Information selection system, information selection method, and program for information selection | |
JP5568953B2 (en) | Information processing apparatus, scene search method, and program | |
CN109792502B (en) | Information processing apparatus, information processing method, storage medium, and information processing system | |
JP2007299159A (en) | Content retrieval device | |
JP2006186426A (en) | Information retrieval display apparatus, information retrieval display method, and information retrieval display program | |
JPH11282857A (en) | Voice retrieving device and recording medium | |
JP2007199315A (en) | Content providing apparatus | |
JP2005242720A (en) | Database retrieval method apparatus, and program | |
JP2005341182A (en) | Cooking recipe editing and presentating system | |
JP2009064391A (en) | Keyword extracting device, keyword extracting method, keyword extracting program, and recording medium with keyword extracting program recorded thereon | |
JP2009069875A (en) | Content retrieval device, content retrieval method, program and recording medium | |
JP5342509B2 (en) | CONTENT REPRODUCTION DEVICE, CONTENT REPRODUCTION DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM | |
JP2009295101A (en) | Speech data retrieval system | |
JP4509361B2 (en) | Speech recognition apparatus, recognition result correction method, and recording medium | |
JP5466593B2 (en) | Information processing apparatus and information processing method | |
JP2002268667A (en) | Presentation system and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20070621 |