JPH04186435A - Interaction control method and interaction control device - Google Patents

Interaction control method and interaction control device

Info

Publication number
JPH04186435A
JPH04186435A JP2314312A JP31431290A JPH04186435A JP H04186435 A JPH04186435 A JP H04186435A JP 2314312 A JP2314312 A JP 2314312A JP 31431290 A JP31431290 A JP 31431290A JP H04186435 A JPH04186435 A JP H04186435A
Authority
JP
Japan
Prior art keywords
user
input
response
common memory
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2314312A
Other languages
Japanese (ja)
Inventor
Eiji Ohira
栄二 大平
Masahiro Abe
正博 阿部
Masaru Oki
優 大木
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP2314312A priority Critical patent/JPH04186435A/en
Publication of JPH04186435A publication Critical patent/JPH04186435A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To execute interaction management capable of corresponding to interactions mixedly including a system initiative type interaction and a user initiative type interaction by means of simple processing by adopting constitution for controlling an input means and a response means by communication through a common memory and constitution for storing a solution or the like detected in the response means by a user in the common memory. CONSTITUTION:When the user inputs a question from a terminal 1, the question is sent to an input part 41, its natural language analyzing processing is executed and the analyzed result is stored in a working memory 5 as a user's input. An interaction control part 43 executes context processing such as the grasp of abbreviation and stores the processed result in the memory 5 as a user's inquiry and a retrieving part 44 retrieves the solution of the inquiry and stores the retrieved result in the memory 5. A response part 42 responds to the user by the display or the like of the retrieved result through the terminal 1, and when the user applies any operation to the retrieved result, stores the operated contents in the memory 5. Consequently interaction management capable of corresponding to an interaction mixedly including a system initiative type interaction and a user initiative type interaction can be executed by simple processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は機械と人間とのユーザインターフェースに係り
、特に、人間の間合せに対して柔軟に対応できる対話制
御方法及び装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a user interface between a machine and a human, and particularly relates to an interaction control method and apparatus that can flexibly respond to human interaction.

〔従来の技術〕 従来のエキスパートシステムなどのユーザインタフェー
スにおける対話は、基本的には、システム主導型で制御
されている。システム主導型とは、システムが一方的に
問い合わせや応答を行い、利用者はそれに答えていくと
いうガイド型のインタフェースである。例えば、利用者
の質問に対して応答を行うとき、従来の対話方式では、
特開昭63−106042号公報記載のように、検索さ
れた解の数によって、利用者に対する応答方法を変えて
いた。例えば、解が非常に多いときは、検索された解の
数のみを応答し、少ない場合は、検索結果を全て応答す
るといった具合である。
[Prior Art] Dialogue in a user interface such as a conventional expert system is basically controlled in a system-driven manner. A system-driven interface is a guided interface in which the system unilaterally makes inquiries and responses, and the user answers them. For example, when responding to a user's question, in the conventional dialog method,
As described in Japanese Unexamined Patent Publication No. 106042/1983, the method of responding to the user was changed depending on the number of solutions found. For example, if there are a large number of solutions, only the number of searched solutions will be responded to, and if there are few, all search results will be responded to.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のユーザインタフェースにおける対話は、前述した
ように、全てがシステム主導で行われていた。システム
の利用経験が少ない利用者の場合は問題が少ないが、あ
る程度利用経験を積んだ利用者にとっては、このような
対話は煩わしく感じる。応答方法として、検索結果が多
いときにもマルチウィンドウを用いて、全ての解をカー
ド形式で表示する方法がある。これにより、利用者が検
索結果を自由に検討することができる。ここで、利用者
が検索結果を検討する行為も対話を行うための重要な情
報となる。しかし、従来はこの応答機能は単に表示する
だけのものであったため、その行為を反映した対話の制
御ができなかった。すなわち、利用者が検索結果を自由
に検討し、その検討結果に基づいてシステムに間合せを
行なえるような、柔軟な利用者主導のユーザインタフェ
ースが実現されていなかった。
As mentioned above, all interactions in conventional user interfaces are system-driven. This is not a problem for users who have little experience using the system, but users who have a certain amount of experience find this type of dialogue annoying. One response method is to use a multi-window to display all solutions in card format even when there are many search results. This allows the user to freely examine the search results. Here, the act of the user considering the search results also becomes important information for dialogue. However, in the past, this response function was only for displaying information, so it was not possible to control the dialogue that reflected the user's actions. That is, a flexible user-driven user interface that allows the user to freely examine search results and make adjustments to the system based on the results of the examination has not been realized.

本発明の目的は、システム主導型と利用者主導型の混在
した対話に対処可能な対話管理を、単純な処理で実現す
ることにある。
An object of the present invention is to realize dialogue management capable of handling a mixture of system-driven and user-driven dialogues through simple processing.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、利用からの質問を入力し入
力手段にて解析してその結果を利用者入力として共通メ
モリに格納し、上記利用者入力より利用者質問を対話制
御手段にて生成して上記共通メモリに格納し、上記利用
者質問の解を検索手段にて検索してその結果を上記共通
メモリに格納し、上記検索結果を応答手段にて利用者に
出力し。
In order to achieve the above purpose, questions from users are input, analyzed by an input means, the results are stored in a common memory as user input, and user questions are generated from the above user input by an interaction control means. and stored in the common memory, a search means searches for an answer to the user question, the result is stored in the common memory, and the response means outputs the search result to the user.

かつ上記検索結果に対する利用者からの応答を上記応答
手段にて上記共通メモリに格納することとしたものであ
る。
Further, a response from the user to the search result is stored in the common memory by the response means.

応答手段は、利用者の質問に対する検索結果を出力し、
その検索結果のうち、利用者が見た解などを共通メモリ
上に格納するステップを有する。
The response means outputs search results for the user's questions,
Among the search results, the method includes a step of storing solutions viewed by the user on a common memory.

例えば、利用者の質問の検索結果を、カード形式で表示
し、利用者がカードをめくる毎に、カードの先頭に表示
される解を共通メモリ上に格納するステップを設ける。
For example, a step is provided to display the search results of a user's question in the form of a card, and store the solution displayed at the top of the card in a common memory each time the user turns over the card.

また、解を共通メモリ上に格納する際に、その解が一定
時間以上表示された場合のみ格納するステップを設ける
Further, when storing the solution on the common memory, a step is provided in which the solution is stored only when the solution is displayed for a certain period of time or more.

〔作用〕[Effect]

入力手段と応答手段を共通メモリを介した通信により制
御する構成とし、応答手段に利用者が見た解などを共通
メモリ上に格納する構成を採ることにより、利用者がカ
ード形式などで表示された検索結果を調べる行為の理解
を、通常の質問/応答形式の対話処理と独立して実現で
き、対話制御の簡素化が図れる。これにより、検索結果
が示された後、利用者が新たな質問を入力することも、
カード形式などで表示された検索結果を調べることも順
序に関係なく自由にできる。
By adopting a configuration in which the input means and the response means are controlled by communication via a common memory, and a configuration in which the response means stores the solutions seen by the user on the common memory, the user can display them in the form of a card, etc. The understanding of the act of checking search results can be realized independently of normal question/answer type dialog processing, and dialog control can be simplified. This allows users to enter new questions after the search results are displayed.
You can also freely examine search results displayed in card format, regardless of order.

また、利用者が見た解を共通メモリ上に格納することに
より、共通メモリ上に利用者のユーザモデルが表現され
、この情報を入力解析手段と応答手段が共に利用できる
。また、解を共通メモリ上に格納する際に、その解が一
定時間以上表示された場合のみ格納することにより、利
用者が高速にバラバラと検索結果を眺める場合は、利用
者が見てないと判断できる。
Furthermore, by storing the solution seen by the user on the common memory, the user model of the user is expressed on the common memory, and this information can be used by both the input analysis means and the response means. In addition, when storing solutions in the common memory, the solution is stored only when the solution has been displayed for a certain period of time, so if the user is looking at the search results in pieces at high speed, it is possible that the user is not looking at the solution. I can judge.

〔実施例〕〔Example〕

本発明の一実施例を第1図を用いて説明する。 An embodiment of the present invention will be described with reference to FIG.

第1図は、本発明を黒板モデルによる推論システムを用
いて、行楽地の案内を行うエキスパートシステムのユー
ザインタフェースに実施した例の概念構成を示した図で
ある。
FIG. 1 is a diagram showing a conceptual configuration of an example in which the present invention is implemented in a user interface of an expert system that provides guidance on recreational areas using an inference system based on a blackboard model.

第1図において、端末1から利用者が質問(以降これを
間合せと呼ぶ)を入力すると、入力部41に送られ、形
態素解析、構文解析、意味解析などの自然言語解析処理
を行った後、共通メモリ5(以降これをワーキングメモ
リと呼ぶ)に結果を利用者入力として格納する。ワーキ
ングメモリ5に、入力の解析結果である利用者入力が格
納されると、対話制御部43は省略の補足などの文脈処
理を施し、これを利用者の間合せとして、ワーキングメ
モリ5に格納する。ワーキングメモリ5に利用者の間合
せが格納されると、検索部44は間合せの解を検索し、
検索結果をワーキングメモリ5に格納する。これにより
、応答部42は、この検索結果を端末1を通して、利用
者に表示などして応答する。また、応答部42は、端末
1に表示した検索結果に対して、利用者が何らかの操作
をしたなら、その内容をワーキングメモリ5しこ格納す
る。このように、入力部41や応答部42などの各処理
部は、ワーキングメモリ5を介して通信しながら処理を
行う。このような推論(制御)法を黒板モデルによる推
論と呼ぶ。
In FIG. 1, when a user inputs a question (hereinafter referred to as a question) from the terminal 1, the question is sent to the input unit 41, where it is subjected to natural language analysis processing such as morphological analysis, syntactic analysis, and semantic analysis. , the results are stored in the common memory 5 (hereinafter referred to as working memory) as user input. When the user input, which is the input analysis result, is stored in the working memory 5, the dialogue control unit 43 performs context processing such as supplementing omissions, and stores this in the working memory 5 as the user's adjustment. . When the user's arrangement is stored in the working memory 5, the search unit 44 searches for a solution for the arrangement,
The search results are stored in the working memory 5. Thereby, the response unit 42 responds by displaying the search results to the user through the terminal 1. Furthermore, if the user performs any operation on the search results displayed on the terminal 1, the response unit 42 stores the contents in the working memory 5. In this way, each processing section such as the input section 41 and the response section 42 performs processing while communicating via the working memory 5. This type of inference (control) method is called inference using a blackboard model.

ここでは、まず、黒板モデルによる推論システムについ
て、以下具体的に説明する。
Here, first, the inference system using the blackboard model will be specifically explained below.

第2図において、1は、利用者からの入力を受は付けた
り、システムからの質問や応答を利用者−ステムの各種
の推論を実行するための推論プログラム31や後述する
ワーキングメモリ5を管理するためのプログラム32、
端末1から入力される文字列を取り込んだり、検索結果
を端末1に表示するためのプログラム33、および、形
態素解析、構文解析、意味解析などの自然言語解析用プ
ログラム34、地図情報や行楽地のデータベース7の各
種検索処理を実行するためのプログラム35などを格納
するためのプログラムメモリである。5は、共通メモリ
として使用されるワーキングメモリ、6は、利用者質問
生成などに用いられる会話用スタック、7は、各種デー
タを格納するデータベース、8は、各手段間を接続し1
通話を行なうバスである。
In FIG. 2, 1 manages an inference program 31 and a working memory 5, which will be described later, for accepting input from the user and executing various inferences between the user and the system based on questions and responses from the system. Program 32 for
A program 33 for importing character strings input from the terminal 1 and displaying search results on the terminal 1, a program 34 for natural language analysis such as morphological analysis, syntactic analysis, and semantic analysis, and a program 34 for analyzing map information and recreational areas. This is a program memory for storing programs 35 and the like for executing various search processes for the database 7. 5 is a working memory used as a common memory; 6 is a conversation stack used for generating user questions; 7 is a database for storing various data; 8 is a system for connecting each means;
This is a bus for making phone calls.

推論を行うための知識は、第4図に示すような、IF−
THEN型のプロダクションルールで表現され、知識ベ
ース用メモリ4に格納される。格納された各ルールはプ
ログラムメモリ3のプログラムを用いた実行結果やワー
キングメモリ5内のデータの内容に応じて選択/実行さ
れる。ここで。
The knowledge for making inferences is IF- as shown in Figure 4.
It is expressed as a THEN type production rule and stored in the knowledge base memory 4. Each stored rule is selected/executed according to the execution result using the program in the program memory 3 and the content of the data in the working memory 5. here.

ワーキングメモリ5へのデータは、例えば第5図に示す
ような形式で格納される。データのクラス名、データの
id名及び、そのデータの持つ属性とその属性値の組で
ある。例えば、年齢が30才で、男性の人は、[クラス
名=人間、id名名人人間1属性−年齢=30、属性−
性=男コと表す。
Data to the working memory 5 is stored, for example, in the format shown in FIG. These are a class name of data, an ID name of data, and a set of attributes and attribute values of the data. For example, if the person is 30 years old and male, [class name = human, id master human 1 attribute - age = 30, attribute -
Gender = male.

さて、第4図のプロダクションルールは、ワーキングメ
モリ5に[クラス名=入力]のデータが格納されてなく
、プログラムメモリ3の端末1から入力される文字列を
取り込むプログラム33の実行が可能であるとき(すな
わち、利用者が文字列を入力したとき)、実行部(TH
EN部)を実行可能なルールである。図の実行部は、[
クラス名=入力、属性−文=入力文字列コのデータをワ
ーキングメモリ5に格納する命令である。実行部では、
他に、ワーキングメモリ5に既に格納されているデータ
を削除する命令、格納されているデータの属性値を変更
する命令も記述可能である。命令の実行は、実際にはプ
ログラムメモリ3のプログラム32により行われる。
Now, in the production rule of FIG. 4, the data of [class name = input] is not stored in the working memory 5, and the program 33 that imports the character string input from the terminal 1 in the program memory 3 can be executed. (i.e., when the user inputs a string), the execution part (TH
EN part) can be executed. The execution part of the figure is [
This is an instruction to store the data of class name=input, attribute-text=input character string in the working memory 5. In the execution part,
In addition, instructions for deleting data already stored in the working memory 5 and instructions for changing attribute values of stored data can also be written. The execution of the instructions is actually performed by the program 32 in the program memory 3.

さて、実際の推論は、プログラムメモリ3に格納された
推論プログラム31により実現される。
Now, actual inference is realized by the inference program 31 stored in the program memory 3.

その処理の流れを第6図に示す。本プログラムは、まず
第2図の知識ベース用メモリ4に格納されている全ての
ルールを対象として、その条件部が実行可能な全てのル
ールを検索する。第4図の文人力という名前のルールは
、ワーキングメモυ5に[クラス名=入カコのデータが
格納されてなく。
The flow of the process is shown in FIG. This program first searches all rules stored in the knowledge base memory 4 shown in FIG. 2 for all rules whose condition parts are executable. The rule named Writer's Power in Figure 4 is in the working memo υ5 [class name = data in the box is not stored.

プログラムメモリ3の端末1から入力される文字列を取
り込むプログラム33の実行が可能であるとき選択され
る。ここで、検索されるルールが無ければ推論を終了す
るが、1つ以上あれば、検索されたルールのうちいずれ
か1つのルールを選択する。例えば、先頭から格納され
ている順に選ぶ。
This is selected when the program 33 that captures a character string input from the terminal 1 in the program memory 3 can be executed. Here, if there is no searched rule, the inference ends, but if there is one or more, one of the searched rules is selected. For example, select in the order in which they are stored starting from the beginning.

そして、1つのルールを選択したら、その選択されたル
ールの実行部を実行する。第4図の文人力ルールであれ
ば、ワーキングメモリ5にロクラス名=入力]のデータ
を格納する。以上の処理を繰り返すことにより推論を行
っていく。ここで、第4図のルールは、このワーキング
メモリ5の変更により条件部が実行できなくなるため、
次には選択されなくなる。このように、各ルールがワー
キングメモリ5の内容に応じてデータ駆動で動作するた
め、知識の柔軟な制御が実現される。
When one rule is selected, the execution part of the selected rule is executed. In the case of the literati rule shown in FIG. 4, the data of Loclas name=input is stored in the working memory 5. Inference is made by repeating the above process. Here, the rule in FIG. 4 is such that the condition part cannot be executed due to the change in the working memory 5.
Then it will no longer be selected. In this way, since each rule operates data-driven according to the contents of the working memory 5, flexible control of knowledge is realized.

第6図において、常に知識ベース用メモリ4に格納され
ている全てのルールの条件部を評価するのは効率が悪い
。これを解決する手段の1つとして知II源という考え
方がある。知識源は複数のルールからなり、ルールと同
様に起動するための条件部を持つ。そして、その条件が
実行可能であるときのみ、その知識源に含まれるルール
を第6図のように実行する。そして、その知識源に含ま
れるルールのうち、評価可能なルールが無くなるとlx
J識源の実行を終了する。すなわち、推論プログラム3
1は、まず、動作可能な知識源を検索し、次に検索され
た知識源のルールを実行する。この過程を繰り返すこと
により推論を効率良く行う。
In FIG. 6, it is inefficient to always evaluate the condition parts of all rules stored in the knowledge base memory 4. One way to solve this problem is the concept of knowledge sources. A knowledge source consists of multiple rules, and like rules, it has a condition part for activation. Then, only when the condition is executable, the rule included in the knowledge source is executed as shown in FIG. Then, when there are no rules that can be evaluated among the rules included in that knowledge source, lx
Execution of J knowledge is terminated. In other words, inference program 3
1 first searches for an operational knowledge source and then executes the rules of the searched knowledge source. By repeating this process, inference can be made efficiently.

次に、以上の黒板モデルによる推論システムを用いて1
本発明を行楽地の案内を行うエキスパートシステムのユ
ーザインタフェースに実施した例について説明する。
Next, using the above blackboard model inference system,
An example in which the present invention is implemented in a user interface of an expert system that provides guidance on recreational areas will be described.

本実施例では、第1図で説明したように、第7図のよう
な4つの知識源を設けている。入力用知識源(第1図の
入力部に相当)41は、第8図のように、第4図のよう
な端末lからの入力を取り込むルールや、取り込んだ入
力文を自然言語処理するルールからなる。利用者から入
力があると起動し、その入力の解析結果(第10図の利
用者入力)をワーキングメモリ5に書き込むものである
In this embodiment, as explained in FIG. 1, four knowledge sources as shown in FIG. 7 are provided. As shown in FIG. 8, the input knowledge source 41 (corresponding to the input section in FIG. 1) includes rules for importing input from the terminal l as shown in FIG. Consisting of It is activated when there is an input from the user, and writes the analysis result of that input (user input in FIG. 10) into the working memory 5.

検索用知識源(第1図の検索部に相当)44は。The search knowledge source (corresponding to the search section in FIG. 1) 44 is.

行楽地の案内を行うエキスパートシステムであり、検索
要求(第10図の利用者間合せ)がワーキングメモリ5
に書き込まれたとき起動し、その検索を行い、結果(第
10図のシステム応答)をワーキングメモリ5に書き込
む。また、例えば、検索された解が多すぎるときは、利
用者へ解を減らすための問い合わせ(第10図のシステ
ム間合せ)を生成して、ワーキングメモリ5に書き込む
ルールなどもある。そして、応答用知識源(第1図の応
答部に相当)42は、検索用知識源(検索部44からの
検索結果や問い合わせを端末1を通して利用者に伝える
ものである。対話制御用知識源(第1図の対話制御部に
相当)43は、入力用知識源(入力部)41により生成
される入力の解析結果と文脈情報から入力内容を理解し
、それに応じて他の各知識源を制御するものであり、例
えば、特開昭63−106042号公報記載の方法で実
現可能である。
It is an expert system that provides guidance on recreational areas, and search requests (user timing in Figure 10) are stored in working memory 5.
It is activated when the data is written to , performs the search, and writes the result (system response in FIG. 10) to the working memory 5. There is also a rule that, for example, when there are too many solutions searched, an inquiry to the user to reduce the number of solutions (system adjustment in FIG. 10) is generated and written into the working memory 5. A knowledge source for response (corresponding to the response section in FIG. 1) 42 is a knowledge source for search (corresponding to the response section in FIG. 1) that conveys search results and inquiries from the search section 44 to the user through the terminal 1.A knowledge source for dialog control. The input knowledge source (corresponding to the dialogue control unit in FIG. 1) 43 understands the input content from the input analysis result and context information generated by the input knowledge source (input unit) 41, and controls each other knowledge source accordingly. This can be realized, for example, by the method described in Japanese Unexamined Patent Publication No. 106042/1983.

本発明の一実施例にかかる対話制御方法を、第11図の
会話例を用いて説明する。まず、端末1から利用者が第
11図のulrプールのある、東京都の行楽地は?」を
入力すると、入力用知識源(入力部)41が起動し、そ
の入力の解析結果をワーキングメモリ5に書き込む。こ
れが、第10図の利用者入力に対応する。ワーキングメ
モリ5に利用者入力が書き込まれると、対話制御用知識
源(対話制御部)43が起動し、文脈処理を行ったのち
、その結果をスタック6にブツシュする。
A dialog control method according to an embodiment of the present invention will be explained using the conversation example shown in FIG. First, the user from terminal 1 can ask which resort in Tokyo has the ULR pool shown in Figure 11? ”, the input knowledge source (input unit) 41 is started and the analysis result of the input is written into the working memory 5. This corresponds to the user input in FIG. When the user input is written into the working memory 5, the dialog control knowledge source (dialogue control unit) 43 is activated, performs context processing, and then writes the result to the stack 6.

第12図のように、入力し1は、最初の入力であるため
スタック6には何も格納されていない。このため、文脈
処理はせず、入力をスタック6にブツシュするとともに
、ワーキングメモリ5の利用者入力を利用者質問にする
。これにより、検索用知識源(検索部)44が起動する
As shown in FIG. 12, input 1 is the first input, so nothing is stored in the stack 6. Therefore, the input is pushed onto the stack 6 without performing any context processing, and the user input in the working memory 5 is turned into a user question. As a result, the search knowledge source (search unit) 44 is activated.

検索用知識源(検索部)44は、利用者質問(ul=r
プールのある、東京都の行楽地は?」)に対する検索を
行い、その解をワーキングメモリ5に書き込む。この解
は、応答用知識源(応答部)42により利用者に伝えら
れる。例えば、第13図のように、カード形式で表示す
るなどして出力する。すなわち、利用者は、デイスプレ
ィ上で、カードをめくるようなイメージで、検索結果を
知ることができる。応答用知識源(応答部)42は、カ
ード形式で表示された検索結果を利用者がめくるたびに
、カードの先頭に表示される行楽地の情報を第14図の
ように黒板上に登録する。そして、さらに、登録した行
楽地の名称を利用者質問(第10図)の既知属性に記録
追加する。
The search knowledge source (search unit) 44 is a user question (ul=r
Which resort in Tokyo has a pool? ”) and write the solution into the working memory 5. This solution is conveyed to the user by the response knowledge source (response unit) 42. For example, as shown in FIG. 13, the information is output in a card format. In other words, the user can see the search results on the display as if flipping over a card. The response knowledge source (response unit) 42 registers the information on the resort displayed at the top of the card on the blackboard as shown in FIG. 14 every time the user turns over the search results displayed in card format. . Furthermore, the name of the registered recreational area is recorded and added to the known attributes of the user question (FIG. 10).

次に、利用者から「手用街道はどこか?」という間合せ
があると、対話制御用知識源(対話制御部)43は、既
にスタック6に格納されている入力との関係を調べる。
Next, when the user asks, "Where is the manual road?", the dialog control knowledge source (dialogue control unit) 43 examines the relationship with the input already stored in the stack 6.

スタック6には、u 1 =「プールのある、東京都の
行楽地は?」が格納されているが、この文と現在の入力
「手用街道はどこか?」との間には関連がないため、入
力をスタ・ツク6にブツシュするとともに、ワーキング
メモリ5の利用者入力を利用者質問にする。これにより
、検索用知識源(検索部)44が起動し、手用街道が検
索され、応答用知識源(応答部)42によって、第15
図のように表示される。
Stack 6 stores u 1 = "Where is the resort in Tokyo with a swimming pool?", but there is no relationship between this sentence and the current input "Where is the hand road?" Therefore, the input is sent to the stack 6 and the user input in the working memory 5 is made into a user question. As a result, the search knowledge source (search unit) 44 is started, the hand road is searched, and the response knowledge source (response unit) 42 starts the 15th
It will be displayed as shown.

引き続いて利用者から「その沿道にあって、もっと安い
所は?」という間合せがあったとする。
Suppose that the user then asks, ``Where is the cheapest place along the road?''

対話制御用知識源(対話制御部)43は、既にスタック
6に格納されている入力との関係を調べる。
The dialogue control knowledge source (dialogue control unit) 43 examines the relationship with inputs already stored in the stack 6.

ここでは、入力は、スタック6に格納されている質問(
ul=rプールのある、東京都の行楽地は?」)に対し
て条件を追加していると判断できる。
Here, the input is the question (
Which recreational area in Tokyo has a ul=r pool? ”).

すなわち、r手用街道の沿道にあって、利用者が知って
いる行楽地よりももっと安い所は?」という意味に解釈
できる。ここで、「利用者が知っている行楽地」とは、
利用者が前の間合せの応答として見た行楽地、すなわち
応答用知識源(応答部)42によって黒板上に登録され
た行楽地である。
In other words, which places are cheaper than the tourist resorts that users know about along R-teyo Kaido? ” can be interpreted as meaning. Here, what is meant by "a recreational area known to users"?
This is the recreational area that the user saw as the previous response, that is, the recreational area that was registered on the blackboard by the response knowledge source (response unit) 42.

このように、黒板上に対話の来歴を記録することにより
、対話制御用知識源(応答部)43は、スタック6に格
納されている入力と関連する利用者質問を黒板から検索
し、その既知属性の値を読むことのみで、「利用者が知
っている行楽地」を得ることができる。すなわち、対話
状況を反映したユーザ主導型の対話の文脈処理を容易に
実現することができる。
In this way, by recording the dialogue history on the blackboard, the dialogue control knowledge source (response unit) 43 searches the blackboard for user questions related to the inputs stored in the stack 6, and By simply reading the attribute values, it is possible to obtain the ``relaxation destinations that the user knows''. That is, it is possible to easily implement user-initiated dialog context processing that reflects the dialog situation.

また、利用者質問u1に対する検索結果が多かった場合
、システムは例えば、検索結果をカード形式で表示する
とともに、[予算はいくらぐらいですか?」という間合
せを行う。これにより、利用者はこの間合せに答えても
よいし、前述したようなカード形式で表示された検索結
果を検討したのち、ユーザ主導の間合せを行うことも可
能である。
Additionally, if there are many search results for user question u1, the system displays the search results in card format, and also displays the message ``How much is your budget?'' ”. Thereby, the user may respond to this arrangement, or it is also possible to make a user-initiated arrangement after considering the search results displayed in the card format as described above.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、システムが効率良く検索のガイドをす
るシステム主導型の対話と、利用者が検索結果を自由に
検討し、その検討結果に基づいてシステムに間合せを行
うような、利用者主導型の混在した対話に対処可能な対
話管理を、単純な処理で実現できる。
According to the present invention, system-driven interaction in which the system efficiently guides the search, and user interaction in which the user freely examines the search results and makes adjustments to the system based on the results of the examination are possible. Dialogue management that can handle a mixture of initiative-driven dialogues can be achieved with simple processing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の概念構成図、第2図は本発
明の一実施例のブロック図、第3図はプログラムメモリ
の内容を詳細化した図、第4図は知識ベース用メモリに
格納されるプロダクションルールの例、第5図はワーキ
ングメモリに書かれるデータ構造の例、第6図は推論プ
ログラムの流れ図、第7図は本発明の一実施例の知識ベ
ース用メモリの知識源の構成を示した図、第8図は実施
例の各知識源の構成を示した図、第9.10図は実施例
においてワーキングメモリに書かれるデータ構造の例、
第11図は会話例、第12図は会話のスタックの管理過
程を示した図、第13図は応答部の表示例、第14図は
、ワーキングメモリに格納される利用者の見た検索結果
のデータ構造の例を説明する図、第15図は応答部−の
表示例を示す図である。 符号の説明 1・・端末、5・・ワーキングメモリ(共通メモ1月、
41・・入力用知識源(入力部)、42・・応答用知識
源(応答部)、43・・対話制御用知識源(対話制御部
)、44・・検索用知識源(検索部)。
Figure 1 is a conceptual configuration diagram of an embodiment of the present invention, Figure 2 is a block diagram of an embodiment of the present invention, Figure 3 is a detailed diagram of the contents of the program memory, and Figure 4 is for knowledge base. An example of a production rule stored in memory, FIG. 5 is an example of a data structure written to a working memory, FIG. 6 is a flowchart of an inference program, and FIG. 7 is an example of knowledge in the knowledge base memory of an embodiment of the present invention. Figure 8 is a diagram showing the configuration of each knowledge source in the embodiment, Figures 9 and 10 are examples of data structures written to the working memory in the embodiment,
Figure 11 is an example of a conversation, Figure 12 is a diagram showing the conversation stack management process, Figure 13 is a display example of the response section, and Figure 14 is the search results stored in the working memory and viewed by the user. FIG. 15 is a diagram illustrating an example of the display of the response section. Explanation of symbols 1...terminal, 5...working memory (common memo January,
41... Knowledge source for input (input unit), 42... Knowledge source for response (response unit), 43... Knowledge source for dialog control (dialogue control unit), 44... Knowledge source for search (search unit).

Claims (1)

【特許請求の範囲】 1、利用者からの質問を入力し、入力手段にて解析して
その結果を利用者入力として共通メモリに格納し、 上記利用者入力より利用者質問を対話制御手段にて生成
して上記共通メモリに格納し、 上記利用者質問の解を検索手段にて検索してその結果を
上記共通メモリに格納し、 上記検索結果を応答手段にて利用者に出力し、上記検索
結果に対する利用者からの応答を上記応答手段にて上記
共通メモリに格納する ことを特徴とする対話制御方法。 2、上記対話制御手段にて、上記利用者入力に対して文
脈処理を施し利用者質問を生成する請求項1記載の対話
制御方法。 3、上記検索手段にて、システム間合せを生成して上記
共通メモリへ格納する請求項1記載の対話制御方法。 4、上記応答手段にて上記検索結果をカード形式で表示
する請求項1記載の対話制御方法。 5、上記検索結果に対する利用者からの応答として、利
用者が見た解を上記応答手段にて上記共通メモリに格納
する請求項1記載の対話制御方法。 6、利用者が見た解を上記応答手段にて上記共通メモリ
に格納する際に、その解が一定時間以上表示された場合
のみ格納する請求項5記載対話制御方法。 7、上記応答手段にて、上記検索結果をカード形式で表
示し、利用者がカードをめくる毎にカードの先頭に表示
される解を上記共通メモリに格納する請求項1記載の対
話制御方法。 8、共通メモリを備え、その共通メモリを用いて対話制
御を行なう対話制御装置において、 利用者からの質問を入力とし、その入力を解析して結果
を利用者入力として上記共通メモリに格納する入力手段
と、 上記利用者入力より利用者質問を生成して上記共通メモ
リに格納する対話制御手段と、 上記利用者質問の解を検索して上記共通メモリに格納す
る検索手段と、 上記検索結果を利用者に出力し、その検索結果に対する
利用者からの応答を上記共通メモリに格納する応答手段
と、 上記共通バスと、上記入力手段、上記対話制御手段、上
記検索手段、及び上記応答手段の名々を接続して通信す
る手段と、 を備えたことを特徴とする対話制御装置。
[Scope of Claims] 1. Inputting a question from a user, analyzing it with an input means, and storing the result in a common memory as a user input, and transmitting the user question from the user input to the dialogue control means. search for the solution to the user question using the search means and store the result in the common memory; output the search result to the user using the response means; An interaction control method characterized in that a response from a user to a search result is stored in the common memory by the response means. 2. The dialog control method according to claim 1, wherein the dialog control means performs context processing on the user input to generate a user question. 3. The dialog control method according to claim 1, wherein the search means generates a system alignment and stores it in the common memory. 4. The dialog control method according to claim 1, wherein the response means displays the search results in a card format. 5. The dialog control method according to claim 1, wherein, as a response from the user to the search result, the solution seen by the user is stored in the common memory by the response means. 6. The interaction control method according to claim 5, wherein when the solution viewed by the user is stored in the common memory by the response means, the solution is stored only when the solution is displayed for a certain period of time or more. 7. The interaction control method according to claim 1, wherein the response means displays the search results in the form of a card, and each time the user turns over the card, the solution displayed at the top of the card is stored in the common memory. 8. In a dialogue control device that is equipped with a common memory and performs dialogue control using the common memory, an input that takes a question from a user as input, analyzes the input, and stores the result as user input in the common memory. means for generating a user question from the user input and storing it in the common memory; searching means for searching for a solution to the user question and storing it in the common memory; a response means for outputting to a user and storing a response from the user to the search result in the common memory; names of the common bus; the input means; the dialogue control means; the search means; and the response means. A dialogue control device comprising: means for connecting and communicating with each other;
JP2314312A 1990-11-21 1990-11-21 Interaction control method and interaction control device Pending JPH04186435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2314312A JPH04186435A (en) 1990-11-21 1990-11-21 Interaction control method and interaction control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2314312A JPH04186435A (en) 1990-11-21 1990-11-21 Interaction control method and interaction control device

Publications (1)

Publication Number Publication Date
JPH04186435A true JPH04186435A (en) 1992-07-03

Family

ID=18051836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2314312A Pending JPH04186435A (en) 1990-11-21 1990-11-21 Interaction control method and interaction control device

Country Status (1)

Country Link
JP (1) JPH04186435A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003006A1 (en) * 1999-07-06 2001-01-11 Cai Co., Ltd. System and method for natural language dialog by computer and recorded medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003006A1 (en) * 1999-07-06 2001-01-11 Cai Co., Ltd. System and method for natural language dialog by computer and recorded medium

Similar Documents

Publication Publication Date Title
EP0863466A1 (en) Interactive processor
US20130239006A1 (en) Aggregator, filter and delivery system for online context dependent interaction, systems and methods
JP2016536630A (en) Method for dialogue between machine such as humanoid robot and human speaker, computer program product, and humanoid robot for executing the method
Lopatovska et al. User recommendations for intelligent personal assistants
CN116521841B (en) Method, device, equipment and medium for generating reply information
CN112307166B (en) Intelligent question-answering method and device, storage medium and computer equipment
JP6895037B2 (en) Speech recognition methods, computer programs and equipment
JPH04186435A (en) Interaction control method and interaction control device
JP2003030187A (en) Automatic interpreting system, conversation learning device, automatic interpreting device, its method and its program
Turunen et al. Agent-based adaptive interaction and dialogue management architecture for speech applications
KR20190012492A (en) Apparatus and method for generating automatic sentence
CN111523343B (en) Reading interaction method, device, equipment, server and storage medium
CN111522914A (en) Method and device for acquiring marking data, electronic equipment and storage medium
CN111625637B (en) Intention training and analyzing method and device
KR20020024828A (en) Language study method by interactive conversation on Internet
JP2015045904A (en) Information processing device and method
Jones et al. " Customization is Key": Four Characteristics of Textual Affordances for Accessible Data Visualization
JPH0564810B2 (en)
Rozga et al. Applying our learnings: Alexa skills kit
JPH03129465A (en) Assistance information display device
Lennartsson et al. Chat Bots & Voice Control: Applications and limitations of combining Microsoft’s Azure Bot Service and Cognitive Services’ Speech API
Kovacevic et al. Hotel Chatbot Receptionist for Smart Hospitality
KR20000056204A (en) Language study system by interactive conversation
JPH0760438B2 (en) Conversation controller
JPH03141463A (en) Back-up system for input of comment