JP7014646B2 - Response device, response method, response program and response system - Google Patents
Response device, response method, response program and response system Download PDFInfo
- Publication number
- JP7014646B2 JP7014646B2 JP2018046405A JP2018046405A JP7014646B2 JP 7014646 B2 JP7014646 B2 JP 7014646B2 JP 2018046405 A JP2018046405 A JP 2018046405A JP 2018046405 A JP2018046405 A JP 2018046405A JP 7014646 B2 JP7014646 B2 JP 7014646B2
- Authority
- JP
- Japan
- Prior art keywords
- response
- user
- processing
- unit
- answer
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、ユーザに対して応答するための応答装置、応答方法、応答プログラム及び応答システムに関する。 The present invention relates to a response device, a response method, a response program, and a response system for responding to a user.
通信端末上でユーザからの発話を受け付け、発話に対する応答をネットワークを介して出力するシステムが知られている。特許文献1には、ユーザの情報に基づいて、コンピュータによる自律的な応答方法とオペレータによる応答方法との間で切り替えて応答するシステムが記載されている。 There is known a system that accepts an utterance from a user on a communication terminal and outputs a response to the utterance via a network. Patent Document 1 describes a system that switches and responds between an autonomous response method by a computer and a response method by an operator based on user information.
ところでコンピュータによる自律的な応答方法には、シナリオに沿って対話する応答処理や、キーワードを用いて検索した結果を提示する応答処理があり、ユーザごとに適した応答処理は異なる。しかしながら、特許文献1に記載のシステムは、自律的な応答方法とオペレータによる応答方法とを切り替えるのみであり、ユーザに適した回答をすることはできなかった。 By the way, the autonomous response method by a computer includes a response process that interacts according to a scenario and a response process that presents a search result using a keyword, and the response process suitable for each user is different. However, the system described in Patent Document 1 only switches between an autonomous response method and a response method by an operator, and cannot give an answer suitable for the user.
本発明はこれらの点に鑑みてなされたものであり、ユーザに適した回答をできる応答装置、応答方法、応答プログラム及び応答システムを提供することを目的とする。 The present invention has been made in view of these points, and an object of the present invention is to provide a response device, a response method, a response program, and a response system capable of giving an answer suitable for the user.
本発明の第1の態様の応答装置は、ユーザによって入力された文字列を受け付ける受付部と、前記ユーザの属性を特定する特定部と、前記特定部が特定した前記属性に基づいて、複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、前記処理部が決定した前記回答を出力する出力部と、を有する。 The response device according to the first aspect of the present invention includes a reception unit that receives a character string input by the user, a specific unit that specifies the attribute of the user, and a plurality of units based on the attribute specified by the specific unit. A selection unit that selects at least one response processing from the response processing, a processing unit that determines a response to the character string received by the reception unit by executing the response processing selected by the selection unit, and a processing unit. It has an output unit that outputs the answer determined by the processing unit.
前記特定部は、前記ユーザの感情と、前記ユーザの動作と、前記ユーザに対応する登録情報とのうち少なくとも1つを前記属性として特定してもよい。 The specific unit may specify at least one of the user's emotions, the user's actions, and the registration information corresponding to the user as the attributes.
前記特定部は、前記文字列の内容に基づいて、前記感情を特定してもよい。 The specific unit may specify the emotion based on the content of the character string.
前記受付部は、前記ユーザの顔を撮像した画像を受け付け、前記特定部は、前記受付部が受け付けた前記画像に基づいて、前記感情を特定してもよい。 The reception unit may receive an image of the user's face, and the specific unit may specify the emotion based on the image received by the reception unit.
前記受付部は、前記ユーザによって選択された感情を示す情報を受け付け、前記特定部は、前記受付部が受け付けた前記選択された感情に基づいて、前記ユーザの感情を特定してもよい。 The reception unit may receive information indicating the emotion selected by the user, and the specific unit may specify the emotion of the user based on the selected emotion received by the reception unit.
前記特定部は、前記ユーザが前記文字列を入力した速度を示す前記動作を特定してもよい。 The specifying unit may specify the operation indicating the speed at which the user inputs the character string.
前記特定部は、前記ユーザの年齢を示す前記登録情報を特定してもよい。 The specific unit may specify the registration information indicating the age of the user.
前記選択部は、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって前記回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって前記回答を決定する検索型処理との中から前記応答処理を選択してもよい。 The selection unit uses an interactive process for determining the answer by alternately outputting a question to the user and accepting an input from the user, and a keyword included in the character string. The response process may be selected from the search type process for determining the answer by searching for the answer.
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記検索型処理によって決定された前記回答が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力してもよい。 When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing, and the output unit executes the interactive processing by the processing unit. On the way, if the answer determined by the search-type process satisfies a predetermined condition, the answer determined by the search-type process may be output.
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記対話型処理の経過時間又は応答回数が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力してもよい。 When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing, and the output unit executes the interactive processing by the processing unit. In the middle, if the elapsed time of the interactive processing or the number of responses satisfies a predetermined condition, the answer determined by the search-type processing may be output.
本発明の第2の態様の応答方法は、プロセッサが、ユーザによって入力された文字列を受け付けるステップと、前記ユーザの属性を特定するステップと、前記特定するステップで特定された前記属性に基づいて、複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、前記決定するステップで決定された前記回答を出力するステップと、を実行する。 The response method of the second aspect of the present invention is based on a step in which the processor accepts a character string input by the user, a step of specifying the attribute of the user, and the attribute specified in the specifying step. , By executing the step of selecting at least one response process from the plurality of response processes and the response process selected in the selected step, the answer to the character string accepted in the accepted step is determined. And the step of outputting the answer determined in the determination step are executed.
本発明の第3の態様の応答プログラムは、コンピュータに、ユーザによって入力された文字列を受け付けるステップと、前記ユーザの属性を特定するステップと、前記特定するステップで特定された前記属性に基づいて、複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、前記決定するステップで決定された前記回答を出力するステップと、を実行させる。 The response program according to the third aspect of the present invention is based on a step of accepting a character string input by a user in a computer, a step of specifying an attribute of the user, and a step of specifying the attribute specified in the specifying step. By executing the step of selecting at least one response process from the plurality of response processes and the response process selected in the selected step, the answer to the character string accepted in the accepted step is determined. And the step of outputting the answer determined in the determination step are executed.
本発明の第4の態様の応答システムは、応答装置と、前記応答装置と通信可能な通信端末と、を有し、前記応答装置は、ユーザによって入力された文字列を前記通信端末から受け付ける受付部と、前記ユーザの属性を特定する特定部と、前記特定部が特定した前記属性に基づいて、複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、前記処理部が決定した前記回答を前記通信端末へ出力する出力部と、を備える。 The response system according to the fourth aspect of the present invention includes a response device and a communication terminal capable of communicating with the response device, and the response device receives a character string input by a user from the communication terminal. A unit, a specific unit that specifies the attribute of the user, a selection unit that selects at least one response process from a plurality of response processes based on the attribute specified by the specific unit, and a selection unit that selects the unit. A processing unit that determines a response to the character string received by the reception unit and an output unit that outputs the response determined by the processing unit to the communication terminal are provided by executing the response processing.
本発明によれば、ユーザごとに適した回答をできるという効果を奏する。 According to the present invention, there is an effect that an answer suitable for each user can be given.
[応答システムSの概要]
図1は、本実施形態に係る応答システムSの模式図である。応答システムSは、応答装置1と、通信端末2とを含む。応答装置1及び通信端末2は、インターネット、ローカルエリアネットワーク等のネットワークNを介して接続される。応答システムSが含む応答装置1の数は限定されない。応答システムSは、その他のサーバ、端末等の機器を含んでもよい。
[Overview of Response System S]
FIG. 1 is a schematic diagram of a response system S according to the present embodiment. The response system S includes a response device 1 and a
通信端末2は、ユーザUからの入力を受け付けて通信を行う通信装置である。通信端末2は、例えばスマートフォン、タブレット端末、パーソナルコンピュータ等である。通信端末2は、有線又は無線でネットワークNに接続される。
The
応答装置1は、後述の応答方法によって、ユーザUによって入力された言葉に対する応答を出力するコンピュータである。応答装置1は、有線又は無線でネットワークNに接続される。 The response device 1 is a computer that outputs a response to a word input by the user U by a response method described later. The response device 1 is connected to the network N by wire or wirelessly.
[応答システムSの構成]
図2は、本実施形態に係る応答システムSのブロック図である。図2において、矢印は主なデータの流れを示しており、図2に示していないデータの流れがあってよい。図2において、各ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。そのため、図2に示すブロックは単一の装置内に実装されてよく、あるいは複数の装置内に別れて実装されてよい。ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてよい。
[Configuration of response system S]
FIG. 2 is a block diagram of the response system S according to the present embodiment. In FIG. 2, the arrows indicate the main data flows, and there may be data flows not shown in FIG. In FIG. 2, each block shows not a hardware (device) unit configuration but a functional unit configuration. Therefore, the block shown in FIG. 2 may be mounted in a single device, or may be mounted separately in a plurality of devices. Data can be exchanged between blocks via any means such as a data bus, a network, and a portable storage medium.
通信端末2は、表示部21と、操作部22と、撮像部23と、通信部24とを有する。表示部21は、各種情報を表示するための、液晶ディスプレイ、有機エレクトロルミネッセンス(OLED: Organic Light Emitting Diode)ディスプレイ等の表示装置を含む。表示部21は、応答装置1から通信部24を介して受信した信号に従って情報を表示する。
The
操作部22は、ユーザの操作を受け付けるための、ボタン、スイッチ、ダイヤル等の操作部材を含む。操作部22は、ユーザの操作を示す信号を応答装置1に通信部24を介して送信する。表示部21としてユーザによる接触の位置を検出可能なタッチスクリーンを用いることによって、表示部21と操作部22とを一体に構成してもよい。
The
撮像部23は、通信端末2上に設けられ、通信端末2を有するユーザの顔を含む所定の撮像範囲を撮像する撮像装置である。撮像部23は、CCD(Charge Coupled Device)センサ、CMOS(Complementary Metal Oxide Semiconductor)センサ等の撮像素子を含む。撮像部23は、通信端末2に予め設定されたタイミングで撮像を行ってもよく、あるいは応答装置1から通信部24を介して受信した撮像の指示に従って撮像を行ってもよい。撮像部23は、撮像した内容を画像として応答装置1に通信部24を介して送信する。
The
通信部24は、応答装置1との間で通信をするための通信インターフェースである。通信部24は、通信を実行するためのプロセッサ、コネクタ、電気回路等を含む。通信部24は、外部から受信した通信信号に所定の処理を行ってデータを取得する。また、通信部24は、送信すべきデータに所定の処理を行って通信信号を生成し、生成した通信信号を外部に送信する。
The
応答装置1は、制御部11と、通信部12と、記憶部13とを有する。制御部11は、入力受付部111と、ユーザ属性特定部112と、応答処理選択部113と、対話型処理部114と、検索型処理部115と、出力部116とを有する。記憶部13は、登録情報記憶部131と、統計情報記憶部132と、対話型モデル記憶部133と、検索型モデル記憶部134とを有する。登録情報記憶部131、統計情報記憶部132、対話型モデル記憶部133及び検索型モデル記憶部134は、それぞれ記憶部13上の記憶領域であってもよく、あるいは記憶部13上で構成されたデータベースであってもよい。
The response device 1 has a
通信部12は、通信端末2との間で通信をするための通信インターフェースである。通信部12は、通信を実行するためのプロセッサ、コネクタ、電気回路等を含む。通信部12は、外部から受信した通信信号に所定の処理を行ってデータを取得し、取得したデータを制御部11に入力する。また、通信部12は、制御部11から入力されたデータに所定の処理を行って通信信号を生成し、生成した通信信号を外部に送信する。
The
記憶部13は、ROM(Read Only Memory)、RAM(Random Access Memory)、ハードディスクドライブ等を含む記憶媒体である。記憶部13は、制御部11が実行するプログラムを予め記憶する。登録情報記憶部131は、ユーザの識別情報(ユーザID)、氏名、年齢、電話番号、メールアドレス等、ユーザに対応する登録情報を予め記憶する。統計情報記憶部132は、過去に応答装置1が行った応答の統計情報を予め記憶する。対話型モデル記憶部133は、後述する対話型の応答処理で用いられる情報を予め記憶する。検索型モデル記憶部134は、後述する検索型の応答処理で用いられる情報を予め記憶する。
The
制御部11は、例えばCPU(Central Processing Unit)等のプロセッサであり、記憶部13に記憶されたプログラムを実行することにより、入力受付部111、ユーザ属性特定部112、応答処理選択部113、対話型処理部114、検索型処理部115及び出力部116として機能する。入力受付部111、ユーザ属性特定部112、応答処理選択部113、対話型処理部114、検索型処理部115及び出力部116の機能については、図3~図8を用いて後述する。制御部11の機能の少なくとも一部は、電気回路によって実行されてもよい。また、制御部11の機能の少なくとも一部は、ネットワーク経由で実行されるプログラムによって実行されてもよい。
The
本実施形態に係る応答システムSは、図2に示す具体的な構成に限定されない。応答装置1及び通信端末2は、それぞれ1つの装置に限られず、2つ以上の物理的に分離した装置が有線又は無線で接続されることにより構成されてもよい。
The response system S according to the present embodiment is not limited to the specific configuration shown in FIG. The response device 1 and the
[応答処理の種類]
ユーザが入力した言葉に対して応答する処理には、図3(a)のような対話型処理と、図3(b)のような検索型処理とがある。図3(a)は、本実施形態に係る応答装置1が実行する対話型の応答処理(対話型処理ともいう)の模式図である。対話型処理のために、対話型モデル記憶部133は、様々な発話(すなわちユーザが入力した言葉)に対応するシナリオを、対話型モデルとして予め記憶している。対話型モデル記憶部133は、対話型モデルをデータベースとして記憶してもよく、あるいはデータを羅列したリストとして記憶してもよい。
[Type of response processing]
The processing that responds to the words input by the user includes an interactive processing as shown in FIG. 3A and a search-type processing as shown in FIG. 3B. FIG. 3A is a schematic diagram of an interactive response process (also referred to as an interactive process) executed by the response device 1 according to the present embodiment. For interactive processing, the interactive
シナリオは、ユーザが入力する言葉と、その言葉に応答して出力する言葉(質問又は回答)とを系列的に関連付ける情報である。すなわちシナリオは、ユーザに対して順次質問を投げかけて、その質問に対するユーザの入力を取得することによって、最終的に回答を決定するように定められた規則である。 A scenario is information that sequentially associates a word input by a user with a word (question or answer) output in response to the word. That is, a scenario is a rule defined to ask a question sequentially to a user and obtain a user's input to the question to finally determine an answer.
応答装置1は、ユーザからの発話を受け付けると、対話型モデル記憶部133に記憶されたシナリオの中から受け付けた発話に対応するシナリオを選択する。シナリオが選択できた場合に、応答装置1は、選択したシナリオに沿って、ユーザに対して質問を出力することと、再びユーザが入力した言葉を受け付けることとを交互に(すなわち対話的に)行い、最終的に回答を決定する。すなわち応答装置1は、対話型処理において、ユーザが入力した言葉を用いて対話型モデル記憶部133に記憶されたデータから一旦シナリオを取得し、その後にシナリオに従ってユーザと対話的にやり取りすることによって回答を決定する。対話型処理によれば、応答装置1は、ユーザの言葉に対してユーザが入力した言葉から回答を直接導けない場合であっても、予め定義されたシナリオに沿って状況を深堀りして適切な回答を出力することができる。
When the response device 1 receives an utterance from the user, the response device 1 selects a scenario corresponding to the received utterance from the scenarios stored in the interactive
図3(b)は、本実施形態に係る応答装置1が実行する検索型の応答処理(検索型処理ともいう)の模式図である。検索型処理のために、応答装置1の検索型モデル記憶部134は、ユーザが入力した言葉に含まれる様々なキーワードに関連付けられた回答を、検索型モデルとして予め記憶している。検索型モデル記憶部134は、検索型モデルをデータベースとして記憶してもよく、あるいはデータを羅列したリストとして記憶してもよい。
FIG. 3B is a schematic diagram of a search-type response process (also referred to as a search-type process) executed by the response device 1 according to the present embodiment. For the search-type processing, the search-type
応答装置1は、ユーザからの発話を受け付けると、発話に含まれるキーワードを用いて検索型モデル記憶部134を検索し、発話に含まれるキーワードに関連付けられた1つ以上の回答を含む検索結果を取得する。すなわち応答装置1は、検索型処理において、ユーザが入力した言葉を用いて検索型モデル記憶部134に記憶されたデータを直接検索することによって、ユーザが入力した言葉に対応する回答を決定する。そして応答装置1は、検索結果が含む回答を出力する。検索型処理によれば、応答装置1は、ユーザが入力した言葉に含まれるキーワードを用いてデータを直接検索することによって、一問一答で素早く回答を出力することができる。
When the response device 1 receives an utterance from the user, the response device 1 searches the search-type
対話型処理は、想定される言葉ごとにシナリオを構築する必要があるため、多数の言葉に対応するシナリオを用意するためには大きなコストが掛かる。しかしながら対話型処理は、ユーザとの間でシナリオに沿って対話的にやり取りを行うことができるため、高齢者や初心者のように通信端末2で疑問点を示す正確な言葉を入力することが難しいユーザに対しても、適切な回答を出力できるという利点がある。また、対話型処理は、シナリオに沿って対話を重ねることで段階的にユーザの求める回答を絞り込んで誘導できるという利点がある。
In interactive processing, it is necessary to construct a scenario for each assumed word, so it costs a lot to prepare a scenario corresponding to a large number of words. However, in the interactive processing, since it is possible to interactively communicate with the user according to the scenario, it is difficult to input accurate words indicating a question on the
一方、検索型処理は、入力された言葉を用いてデータを直接検索するため、正確な言葉を入力することが難しいユーザに対しては適切な回答を出力できない場合がある。しかしながら検索型処理は、ユーザが疑問点を示す正確な言葉を入力できれば、素早く回答を提示でき、さらに検索により1以上の結果を取得することによってユーザに対して複数の回答案を同時に提示できるという利点がある。また、検索型処理は、検索型モデルに回答データを追加することによって容易に様々な言葉に対応できるため、低コストで多数の言葉に対応できるという利点がある。 On the other hand, since the search type processing directly searches the data using the input words, it may not be possible to output an appropriate answer to the user who has difficulty in inputting the correct words. However, the search-type processing can promptly present an answer if the user can input an accurate word indicating a question, and can simultaneously present multiple answer proposals to the user by acquiring one or more results by searching. There are advantages. Further, the search type processing has an advantage that it can correspond to a large number of words at low cost because it can easily correspond to various words by adding the answer data to the search type model.
後述のように、応答装置1は、ユーザの属性を特定し、特定した属性に基づいてユーザが対話型処理及び検索型処理のどちらに適しているかを推定し、ユーザごとに対話型処理と検索型処理とを切り替えて実行する。これにより、ユーザに適した回答を提示できる可能性を高めることができる。 As will be described later, the response device 1 identifies the attributes of the user, estimates whether the user is suitable for interactive processing or search-type processing based on the identified attributes, and performs interactive processing and search for each user. Switch between type processing and execute. This makes it possible to increase the possibility of presenting an answer suitable for the user.
[応答方法の説明]
本実施形態に係る応答システムSによる応答方法を、以下に説明する。まず入力受付部111は、ユーザUが入力した入力情報を、通信端末2から受け付ける。ここで入力受付部111は、ユーザUが操作部22を用いて入力した文字列(言葉)を示す情報を、入力情報として受け付ける。また、入力受付部111は、ユーザUが発した音声を音声認識処理によって変換した文字列を、入力情報として受け付けてもよい。また、入力受付部111は、撮像部23が撮像したユーザUの顔を含む画像を、入力情報として受け付けてもよい。
[Explanation of response method]
The response method by the response system S according to the present embodiment will be described below. First, the input receiving unit 111 receives the input information input by the user U from the
次にユーザ属性特定部112は、ユーザ属性特定処理を実行することによって、入力受付部111が受け付けた入力情報に基づいてユーザUの属性を特定する。ユーザUの属性は、ユーザUの感情情報、ユーザUの登録情報及びユーザUの動作情報のうち少なくとも1つを含む。ユーザUの感情情報は、例えばユーザUが怒っているか否かの状態を示す。ユーザUの登録情報は、例えばユーザUの年齢を示す。ユーザの動作情報は、例えばユーザUが操作部22を用いて文字列を入力する入力速度を示す。
Next, the user
図4(a)~図4(c)は、本実施形態に係る応答装置1が実行するユーザ属性特定処理の模式図である。図4(a)は、通信端末2の表示部21が表示する入力画面の一例を表している。表示部21は、ユーザUが文字列を入力するための入力欄Cと、ユーザUが入力済の文字列を応答装置1へ送信するために押下する仮想的な送信ボタンB1と、を表示する。表示部21は、応答装置1がユーザUに向けて出力した文字列を表す応答メッセージM1と、ユーザUが送信した文字列を表す入力メッセージM2とを表示する。
4 (a) to 4 (c) are schematic views of the user attribute specifying process executed by the response device 1 according to the present embodiment. FIG. 4A shows an example of an input screen displayed by the
ユーザ属性特定部112は、入力画面上でユーザUが入力した文字列の内容に基づいて、ユーザUの感情情報を特定する。この場合に、ユーザ属性特定部112は、入力受付部111が受け付けた文字列に基づいて感情を推定する。例えばユーザ属性特定部112は、文字列が予め定義された否定的な言葉(「悪い」、「遅い」、「だめ」等)を含む場合に、ユーザUは怒りの感情を有していると推定する。ユーザ属性特定部112は、文字列に基づいて感情を推定できる公知の技術を用いることができる。そしてユーザ属性特定部112は、推定した感情を、ユーザUの感情情報として特定する。
The user
また、ユーザ属性特定部112は、入力画面上で文字列を入力したユーザUの識別情報に基づいて、ユーザUの登録情報を特定する。この場合に、ユーザUの識別情報(ユーザID)は、予め通信端末2に設定される。入力受付部111は、通信端末2において入力された文字列とともに、その通信端末2に設定された識別情報を受け付ける。そしてユーザ属性特定部112は、入力受付部111が受け付けた識別情報に関連付けられた登録情報を登録情報記憶部131から読み出し、ユーザUの登録情報として特定する。
Further, the user
また、ユーザ属性特定部112は、入力画面上でユーザUが文字列を入力する速度に基づいて、ユーザUの動作情報を特定する。この場合に、通信端末2は、ユーザUが文字列を入力するために掛かる入力時間(例えば文字列のうち最初の文字の入力から最後の文字の入力までの経過時間)を測定する。入力受付部111は、通信端末2において入力された文字列とともに、その文字列の入力に掛かった入力時間を受け付ける。そしてユーザ属性特定部112は、入力受付部111が受け付けた文字列及び入力時間から入力速度(すなわち単位時間あたりに入力された文字数)を算出し、ユーザUの動作情報として特定する。
Further, the user
さらにユーザ属性特定部112は、ユーザUが選択した感情に基づいて、ユーザUの感情情報を特定してもよい。図4(b)は、通信端末2の表示部21が表示する入力画面の変形例を表している。表示部21は、図4(a)の入力画面に加えて、さらにユーザUが自身の感情を選択して応答装置1へ送信するために押下する仮想的な感情ボタンB2を表示する。感情ボタンB2は、例えば喜び、怒り、悲しみ、楽しみのそれぞれに対応するボタンを含む。表示部21は、感情の選択を受け付けるために、ボタンに限らず、リストやチェックボックス等を表示してもよい。
Further, the user
入力受付部111は、通信端末2において入力された文字列とともに、ユーザUが選択した感情を示す情報を受け付ける。そしてユーザ属性特定部112は、入力受付部111が受け付けた感情を、ユーザUの感情情報として特定する。このようにユーザUが自身の感情を明示することによって、ユーザ属性特定部112は、文字列に表れないようなユーザUの感情情報を特定できるため、ユーザUの属性をより正確に特定することができる。
The input receiving unit 111 receives the information indicating the emotion selected by the user U together with the character string input in the
さらにユーザ属性特定部112は、ユーザUの顔を含む画像に基づいて、ユーザUの感情情報を特定してもよい。図4(c)は、通信端末2の撮像部23がユーザUの顔を撮像する様子を表している。通信端末2の撮像部23は、ユーザUが文字列を入力する際(すなわち文字列の入力の開始から終了までのいずれかの時点)にユーザUの顔を含む所定範囲を撮像し、画像として応答装置1へ送信する。入力受付部111は、通信端末2において入力された文字列とともに、その文字列が入力された際のユーザUの顔の画像を受け付ける。
Further, the user
ユーザ属性特定部112は、入力受付部111が受け付けた画像に対して顔認識を行うことによって、画像中の顔を認識し、認識した顔に基づいて感情を推定する。例えばユーザ属性特定部112は、画像中の顔が予め定義された怒りの表情に合致する場合に、ユーザUは怒りの感情を有していると推定する。ユーザ属性特定部112は、画像に対して顔認識を行って感情を推定できる公知の技術を用いることができる。また、入力受付部111がユーザUの音声を変換した文字列を入力情報として受け付けた場合に、ユーザ属性特定部112は、該音声の強弱に基づいて感情情報を推定してもよい。
The user
そしてユーザ属性特定部112は、推定した感情を、ユーザUの感情情報として特定する。このようにユーザUの顔を含む画像から感情を推定することによって、ユーザ属性特定部112は、文字列に表れないようなユーザUの感情情報を特定できるため、ユーザUの属性をより正確に特定することができる。
Then, the user
次に、応答処理選択部113は、応答処理選択処理を実行することによって、ユーザ属性特定部112が特定したユーザUの属性(すなわち感情情報、登録情報及び動作情報のうち少なくとも1つ)に基づいて、対話型処理と検索型処理とのどちらの応答処理を行うか選択する。これにより応答装置1は、ユーザごとに適切な自律的な応答処理を選択して回答できる。
Next, the response processing selection unit 113 is based on the attribute of the user U (that is, at least one of the emotion information, the registration information, and the operation information) specified by the user
図5(a)~図5(d)は、本実施形態に係る応答装置1が実行する応答処理選択処理の模式図である。応答処理選択部113は、ユーザ属性特定部112が特定した感情情報が所定の感情(ここでは怒り)を示す場合に、図5(a)のように応答処理として対話型処理を選択する。これにより応答装置1は、ユーザUが所定の感情を持つに至った状況を深堀りして適切な回答を出力することができる。
5 (a) to 5 (d) are schematic views of the response process selection process executed by the response device 1 according to the present embodiment. When the emotion information specified by the user
応答処理選択部113は、ユーザ属性特定部112が特定した感情情報が所定の感情を示さない場合に、図5(b)のように応答処理として検索型処理を選択する。これにより応答装置1は、冷静なユーザUの入力に対して、素早く回答を出力することができる。
When the emotion information specified by the user
応答処理選択部113は、ユーザ属性特定部112が特定した登録情報に基づいて、ユーザUの年齢層を判定する。例えば応答処理選択部113は、登録情報が示す年齢が所定の閾値以上である場合にユーザUを高齢者と判定し、そうでない場合に若年者と判定する。また、応答処理選択部113は、登録情報においてユーザUごとに設定されたフラグ(例えば重要人物を示すフラグ)を応答処理の選択に用いてもよい。
The response processing selection unit 113 determines the age group of the user U based on the registration information specified by the user
また、応答処理選択部113は、ユーザ属性特定部112が特定した動作情報に基づいて、ユーザUの技術レベルを判定する。例えば応答処理選択部113は、動作情報が示す入力速度が所定の閾値以下である場合にユーザUを初心者と判定し、そうでない場合にユーザUを上級者と判定する。
Further, the response processing selection unit 113 determines the technical level of the user U based on the operation information specified by the user
そして応答処理選択部113は、ユーザUを高齢者又は初心者と判定した場合に、図5(c)のように応答処理として対話型処理を選択する。これにより、通信端末2の操作に不慣れな高齢者や初心者に対して、対話的にやり取りをしながら適切な回答を出力することができる。一方、応答処理選択部113は、ユーザUを若年者又は上級者と判定した場合に、図5(d)のように応答処理として検索型処理を選択する。これにより、通信端末2の操作に慣れている若年者や上級者に対して、素早く回答を提示することができる。
Then, when the response processing selection unit 113 determines that the user U is an elderly person or a beginner, the response processing selection unit 113 selects the interactive processing as the response processing as shown in FIG. 5 (c). As a result, it is possible to output an appropriate answer while interacting with the elderly and beginners who are unfamiliar with the operation of the
ここで説明した応答処理選択部113による応答処理の選択基準は一例であり、応答処理選択部113はユーザ属性特定部112が特定したユーザUの属性に基づく所定の規則に従って、対話型処理及び検索型処理のうち適切な方を選択することができる。
The response processing selection criteria by the response processing selection unit 113 described here are an example, and the response processing selection unit 113 interactively processes and searches according to a predetermined rule based on the attribute of the user U specified by the user
応答処理選択部113は、ユーザ属性特定部112が特定したユーザUの属性に加えて、ユーザUが入力した文字数を用いて、応答処理を選択してもよい。例えば応答処理選択部113は、ユーザUが入力した文字数が所定の閾値以下である場合に対話型処理を選択する。すなわち応答処理選択部113は、入力された文字列の文字数が少ない場合に検索が上手くいかない場合があるため、ユーザUを対話型処理に誘導する。このように応答装置1は、文字数に基づいて適切な応答処理を選択することができる。
The response processing selection unit 113 may select response processing by using the number of characters input by the user U in addition to the attributes of the user U specified by the user
応答処理選択部113は、ユーザ属性特定部112が特定したユーザUの属性に加えて、統計情報記憶部132に記憶された統計情報を用いて、応答処理を選択してもよい。ここで統計情報は、例えば今回と同様の文字列を入力したユーザUが過去に応答装置1から受けた回答が適切だったか否かを示す。ユーザUが受けた回答が適切だったか否かは、ユーザUに対してアンケートを取ることによって集計される。
The response processing selection unit 113 may select response processing by using the statistical information stored in the statistical
そして応答処理選択部113は、例えば過去に対話型処理で回答した場合に回答が適切でなかったと統計情報が示す場合に、ユーザUの属性に関わらず検索型処理を優先的に選択する。また、応答処理選択部113は、例えば過去に検索型処理で回答した場合に回答が適切でなかったと統計情報が示す場合に、ユーザUの属性に関わらず対話型処理を優先的に選択する。このように応答装置1は、ユーザUの属性だけでなく統計情報を用いることによって、より適切に応答処理を選択できる。 Then, the response processing selection unit 113 preferentially selects the search type processing regardless of the attribute of the user U, for example, when the statistical information indicates that the answer was not appropriate when the answer was made by the interactive processing in the past. Further, the response processing selection unit 113 preferentially selects the interactive processing regardless of the attribute of the user U, for example, when the statistical information indicates that the answer was not appropriate when the answer was made by the search type processing in the past. In this way, the response device 1 can more appropriately select the response process by using not only the attributes of the user U but also the statistical information.
応答処理選択部113は、ユーザ属性特定部112が特定したユーザUの属性に基づいて、対話型処理及び検索型処理に加えてオペレータ(すなわち人間)による応答から、応答処理を選択してもよい。応答処理選択部113がオペレータによる応答を選択した場合には、応答装置1は、通信端末2とオペレータが使用する端末と接続させ、ユーザの入力に対してオペレータが応答するようにする。これにより、対話型処理及び検索型処理のいずれでも適切な応答ができない場合等に、オペレータによって適切な対応をすることができる。
The response processing selection unit 113 may select response processing from the response by the operator (that is, a human) in addition to the interactive processing and the search type processing based on the attribute of the user U specified by the user
次に、応答処理選択部113の選択に従って、対話型処理部114及び検索型処理部115の一方が応答処理を実行する。図6(a)、図6(b)は、本実施形態に係る応答装置1が実行する応答処理の模式図である。
Next, one of the
応答処理選択部113が対話型処理を選択した場合に、対話型処理部114は、入力受付部111が受け付けた文字列に対応するシナリオを、対話型モデル記憶部133に記憶されたシナリオの中から選択する。対話型処理部114は、選択したシナリオに沿って、ユーザUに対して出力する質問又は回答を決定する。
When the response processing selection unit 113 selects the interactive processing, the
出力部116は、対話型処理部114が決定した質問又は回答を示す情報を通信端末2へ出力する。そして通信端末2は、図6(a)のように応答装置1から受信した質問又は回答を表示部21に表示させる。また、出力部116は対話型処理部114が決定した質問又は回答を示す情報を音声に変換して通信端末2へ出力し、通信端末2は応答装置1から受け取った音声を再生してもよい。さらに応答装置1及び通信端末2は、対話型処理部114が選択したシナリオに沿って、ユーザが入力した文字列を受け付けることと、質問を出力することとを交互に(すなわち対話的に)継続し、最終的な回答を出力する。
The
応答処理選択部113が検索型処理を選択した場合に、検索型処理部115は、入力受付部111が受け付けた文字列に含まれるキーワードを用いて検索型モデル記憶部134を検索し、該キーワードに関連付けられた1つ以上の回答を含む検索結果を取得する。検索結果が複数の回答を含む場合に、検索型処理部115は、過去の学習データに基づいて複数の回答を並び替えてもよい。
When the response processing selection unit 113 selects the search type processing, the search
検索型処理部115は、ユーザUが今回入力した文字列に含まれるキーワードに加えて、同じユーザUが過去に入力した文字列に含まれるキーワードを用いて検索を行ってもよい。例えば検索型処理部115は、ユーザUが今回入力した文字列に含まれるキーワードと、ユーザUが前回入力した文字列に含まれるキーワードとを組み合わせて検索型モデル記憶部134を検索し、検索結果を取得する。これにより応答装置1は、文脈を考慮した検索結果を取得することができる。
The search
検索型処理部115は、ユーザUが今回入力した文字列に含まれるキーワードに加えて、文字列が入力された時間(日付又は時刻)に対応するキーワードを用いて検索を行ってもよい。検索型処理部115は、ユーザUが入力した文字列に含まれるキーワードに、ユーザUが入力した時間に対して予め定義されたキーワードを追加して検索する。例えば検索型処理部115は、特定のキャンペーンの実施期間内に文字列が入力された場合に、ユーザUが入力した文字列に含まれるキーワードと、当該キャンペーンの名称を示すキーワードとを組み合わせて用いて検索型モデル記憶部134を検索し、検索結果を取得する。これにより応答装置1は、検索が行われる時間を考慮した検索結果を取得することができる。
The search
出力部116は、検索型処理部115による検索結果が含む回答のうち一部又は全部を示す情報を通信端末2へ出力する。出力部116は、所定の数(例えば通信端末2の表示部21に一度に表示可能な数)以内の回答を出力してもよく、あるいは検索結果のスコアが所定値以上の回答を出力してもよい。スコアは、検索の一致度や重要度等に基づく所定の規則に従って算出される。そして通信端末2は、図6(b)のように応答装置1から受信した回答を表示部21に表示させる。また、出力部116は検索型処理部115による検索結果が含む回答を音声に変換して通信端末2へ出力し、通信端末2は応答装置1から受け取った音声を再生してもよい。
The
また、出力部116は、ユーザ属性特定部112が特定したユーザUの属性に基づいて回答を出力する数を設定してもよい。例えば出力部116は、応答処理選択部113がユーザUを高齢者又は初心者と判定した場合に、応答処理選択部113がユーザUを若年者又は上級者と判定する場合よりも回答を出力する数を少なくする。これにより、回答の表示態様をユーザUに合わせて調整することができる。
Further, the
検索型処理部115は、検索結果に加えて、統計情報を通信端末2へ出力してもよい。図7は、本実施形態に係る応答装置1が実行する応答処理の模式図である。応答処理選択部113が検索型処理を選択した場合に、検索型処理部115は、検索型モデル記憶部134から検索結果を取得するとともに、取得した検索結果が含む回答に対応する統計情報を統計情報記憶部132から取得する。ここで回答に対応する統計情報は、例えば今回ユーザUが入力した文字列に対して過去に応答装置1が行った応答を統計的に処理することによって算出した、各回答が選択された割合(選択率)である。検索型処理部115は、検索結果において、選択率が高い順又は低い順に回答を並べ替えてもよい。また、検索型処理部115は、検索結果において、選択率が高い順にランク付けしてもよい。
The search
出力部116は、検索型処理部115による検索結果と統計情報とを関連付けて通信端末2へ出力する。そして通信端末2は、図7のように応答装置1から受信した検索結果が含む各回答と各回答の選択率とを関連付けたメッセージM3を、表示部21に表示させる。これにより応答装置1は、入力された文字列に対する統計的な関連性の高さ及び低さをユーザUへ提示することができる。
The
対話型処理部114及び検索型処理部115は、対話型処理の途中で検索型処理に切り替えてもよい。図8は、本実施形態に係る応答装置1が実行する応答処理の切り替えの模式図である。対話型処理部114が対話型処理を実行している途中の状態において、出力部116は、図8の上図のように対話型処理による質問を通信端末2へ出力する。このとき、検索型処理部115は、対話型処理と並行して検索型処理を実行し、ユーザUが入力した文字列に対する検索結果を取得する。ただし出力部116は、対話型処理による質問の出力中には検索型処理による検索結果を通信端末2へ出力しない。
The
そして対話型処理の途中で所定の条件が満たされた場合に、出力部116は、対話型処理による質問の出力を停止し、図8の下図のように検索型処理による検索結果が含む回答を通信端末2へ出力する。切り替えの条件は、例えば対話型処理の経過時間又は応答回数が所定の閾値以上になったことである。これにより応答装置1は、対話型処理では適切な回答にたどり着けない場合であっても、検索型処理に移行して回答を出力することができる。
Then, when a predetermined condition is satisfied in the middle of the interactive processing, the
また、切り替えの条件は、例えば検索結果が含む回答の数が所定の数以下になったこと、あるいは検索結果のスコアが所定値以上になったことであってもよい。これにより応答装置1は、検索型処理による検索結果の確度が高くなった段階で検索型処理に移行できるため、より適切な回答を出力できる。 Further, the switching condition may be, for example, that the number of answers included in the search result is a predetermined number or less, or the score of the search result is a predetermined value or more. As a result, the response device 1 can shift to the search type processing when the accuracy of the search result by the search type processing becomes high, so that a more appropriate answer can be output.
[応答方法のフローチャート]
図9は、本実施形態に係る応答装置1が実行する応答方法のフローチャートを示す図である。まず入力受付部111は、ユーザUが入力した入力情報を、通信端末2から受け付ける(S11)。ユーザ属性特定部112は、上述のユーザ属性特定処理を実行することによって、ステップS11で入力受付部111が受け付けた入力情報に基づいてユーザUの属性を特定する(S12)。ユーザUの属性は、感情情報、登録情報及び動作情報のうち少なくとも1つである。
[Flowchart of response method]
FIG. 9 is a diagram showing a flowchart of a response method executed by the response device 1 according to the present embodiment. First, the input receiving unit 111 receives the input information input by the user U from the communication terminal 2 (S11). The user
応答処理選択部113は、上述の応答処理選択処理を実行することによって、ステップS12でユーザ属性特定部112が特定したユーザUの属性に基づいて、対話型処理と検索型処理とのどちらの応答処理を行うか選択する(S13)。
By executing the above-mentioned response processing selection processing, the response processing selection unit 113 responds to either the interactive processing or the search type processing based on the attribute of the user U specified by the user
応答処理選択部113が対話型処理を選択した場合に(S14のYES)、対話型処理部114は、ステップS11で入力受付部111が受け付けた文字列に対応するシナリオを、対話型モデル記憶部133に記憶されたシナリオの中から選択し、選択したシナリオに従って対話型処理を実行する(S15)。対話型処理部114は、ステップS15の対話型処理において、出力部116によるユーザへの質問の出力と、入力受付部111による入力の受け付けとを交互に行い、最終的な回答を決定する。
When the response processing selection unit 113 selects interactive processing (YES in S14), the
応答処理選択部113が検索型処理を選択した場合に(S14のNO)、検索型処理部115は、入力受付部111が受け付けた文字列に含まれるキーワードを用いて検索型モデル記憶部134を検索する検索型処理を実行する(S16)。検索型処理部115は、検索型モデル記憶部134において、検索に用いたキーワードに関連付けられた1つ以上の回答を含む検索結果を取得する。
When the response processing selection unit 113 selects the search type processing (NO in S14), the search
出力部116は、ステップS15で対話型処理部114が決定した回答を示す情報、又はステップS16で検索型処理部115が取得した検索結果が含む回答を示す情報を通信端末2へ出力する(S17)。そして通信端末2は、応答装置1から受信した回答を表示部21に表示させる。
The
[本実施形態の効果]
本実施形態に係る応答装置1は、ユーザの感情情報、登録情報及び動作情報のうち少なくとも1つを示す属性に基づいて、対話型処理と検索型処理とのどちらの応答処理を行うか選択する。これにより応答装置1は、ユーザごとに適切な自律的な応答処理を選択して回答できる。
[Effect of this embodiment]
The response device 1 according to the present embodiment selects whether to perform interactive processing or search-type processing based on an attribute indicating at least one of the user's emotion information, registration information, and operation information. .. As a result, the response device 1 can select and respond to an appropriate autonomous response process for each user.
具体的には、応答装置1は、例えばユーザが怒っている場合や、高齢者又は初心者である場合等に、対話型処理を選択して実行することによって、所定のシナリオに沿って丁寧にユーザとやり取りしながら、段階的にユーザの求める回答を絞り込んで誘導できる。また、応答装置1は、例えばユーザが冷静な場合や、若年者又は上級者である場合等に、検索型処理を選択して実行することによって、ユーザに素早く回答を提示でき、また検索結果に基づいて複数の回答案を同時に提示できる。 Specifically, the response device 1 politely follows a predetermined scenario by selecting and executing interactive processing, for example, when the user is angry, or when the user is an elderly person or a beginner. It is possible to narrow down and guide the answers that the user wants in stages while interacting with. Further, the response device 1 can quickly present an answer to the user by selecting and executing the search type processing, for example, when the user is calm, a young person or an advanced person, and the search result. Based on this, multiple answer proposals can be presented at the same time.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の分散・統合の具体的な実施の形態は、以上の実施の形態に限られず、その全部又は一部について、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を合わせ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes can be made within the scope of the gist. be. For example, the specific embodiment of the distribution / integration of the device is not limited to the above embodiment, and all or a part thereof may be functionally or physically distributed / integrated in any unit. Can be done. Also included in the embodiments of the present invention are new embodiments resulting from any combination of the plurality of embodiments. The effect of the new embodiment produced by the combination has the effect of the original embodiment together.
応答装置1のプロセッサは、図9に示す応答方法に含まれる各ステップ(工程)の主体となる。すなわち、応答装置1のプロセッサは、図9に示す応答方法を実行するためのプログラムを記憶部から読み出し、該プログラムを実行して応答装置1の各部を制御することによって、図9に示す応答方法を実行する。図9に示す応答方法に含まれるステップは一部省略されてもよく、ステップ間の順番が変更されてもよく、複数のステップが並行して行われてもよい。 The processor of the response device 1 is the main body of each step (step) included in the response method shown in FIG. That is, the processor of the response device 1 reads a program for executing the response method shown in FIG. 9 from the storage unit, executes the program, and controls each unit of the response device 1, thereby performing the response method shown in FIG. To execute. Some of the steps included in the response method shown in FIG. 9 may be omitted, the order between the steps may be changed, and a plurality of steps may be performed in parallel.
S 応答システム
1 応答装置
2 通信端末
11 制御部
111 入力受付部
112 ユーザ属性特定部
113 応答処理選択部
114 対話型処理部
115 検索型処理部
116 出力部
S Response system 1
Claims (15)
前記ユーザの属性を特定する特定部と、
前記特定部が特定した前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、
前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、
前記処理部が決定した前記回答を出力する出力部と、
を有し、
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、
前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記検索型処理によって決定された前記回答の数又は前記検索型処理による検索結果のスコアが所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、
応答装置。 A reception unit that accepts character strings entered by the user,
The specific part that specifies the attribute of the user and
An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified by the specific unit, and the character string. A search-type process that determines an answer by searching using the keywords included in, and a selection unit that selects at least one response process from a plurality of response processes including .
A processing unit that determines a response to the character string received by the reception unit by executing the response processing selected by the selection unit, and a processing unit.
An output unit that outputs the answer determined by the processing unit, and
Have,
When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing.
The output unit satisfies a predetermined condition when the number of answers determined by the search-type processing or the score of the search result by the search-type processing satisfies a predetermined condition while the processing unit is executing the interactive processing. Output the answer determined by the search-type processing,
Response device.
前記ユーザの属性を特定する特定部と、 The specific part that specifies the attribute of the user and
前記特定部が特定した前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、 An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified by the specific unit, and the character string. A search-type process that determines an answer by searching using the keywords included in, and a selection unit that selects at least one response process from a plurality of response processes including.
前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、 A processing unit that determines a response to the character string received by the reception unit by executing the response processing selected by the selection unit, and a processing unit.
前記処理部が決定した前記回答を出力する出力部と、 An output unit that outputs the answer determined by the processing unit, and
を有し、 Have,
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、 When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing.
前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記対話型処理の経過時間又は応答回数が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、 The output unit outputs the answer determined by the search-type processing when the elapsed time or the number of responses of the interactive processing satisfies a predetermined condition while the processing unit is executing the interactive processing. do,
応答装置。 Response device.
前記選択部は、前記属性に基づいて前記ユーザの技術レベルを判定し、前記技術レベルに応じて前記応答処理を選択する、
請求項1又は2に記載の応答装置。 The specific unit specifies the operation of the user as the attribute, and
The selection unit determines the technical level of the user based on the attribute, and selects the response process according to the technical level.
The response device according to claim 1 or 2 .
前記特定部は、前記受付部が受け付けた前記画像に基づいて、前記感情を特定する、請求項4又は5に記載の応答装置。 The reception unit receives an image of the user's face and receives the image.
The response device according to claim 4 or 5 , wherein the specific unit identifies the emotion based on the image received by the reception unit.
前記特定部は、前記受付部が受け付けた前記選択された感情に基づいて、前記ユーザの感情を特定する、請求項4から6のいずれか一項に記載の応答装置。 The reception unit receives information indicating an emotion selected by the user, and receives information.
The response device according to any one of claims 4 to 6 , wherein the specific unit identifies the user's emotion based on the selected emotion received by the reception unit.
ユーザによって入力された文字列を受け付けるステップと、
前記ユーザの属性を特定するステップと、
前記特定するステップで特定された前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、
前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、
前記決定するステップで決定された前記回答を出力するステップと、
を実行し、
前記選択するステップで前記対話型処理が選択された場合に、前記決定するステップは前記対話型処理と並行して前記検索型処理を実行し、
前記出力するステップは、前記決定するステップが前記対話型処理を実行する途中において、前記検索型処理によって決定された前記回答の数又は前記検索型処理による検索結果のスコアが所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、
応答方法。 The processor,
A step that accepts a character string entered by the user,
The step of identifying the user's attributes and
An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified in the specifying step, and the above-mentioned. A search-type process that determines an answer by searching using keywords contained in a character string, a step of selecting at least one response process from a plurality of response processes including, and a step of selecting at least one response process.
A step of determining a response to the character string accepted in the accepting step by executing the response processing selected in the selecting step, and a step of determining the answer to the character string accepted in the accepting step.
The step of outputting the answer determined in the determination step and the step of outputting the answer
And run
When the interactive process is selected in the selected step, the determined step executes the search type process in parallel with the interactive process.
The output step is when the number of answers determined by the search-type processing or the score of the search result by the search-type processing satisfies a predetermined condition while the determination step is executing the interactive processing. Outputs the answer determined by the search-type processing.
Response method.
ユーザによって入力された文字列を受け付けるステップと、 A step that accepts a character string entered by the user,
前記ユーザの属性を特定するステップと、 The step of identifying the user's attributes and
前記特定するステップで特定された前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、 An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified in the specifying step, and the above-mentioned. A search-type process that determines an answer by searching using keywords contained in a character string, a step of selecting at least one response process from a plurality of response processes including, and a step of selecting at least one response process.
前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、 A step of determining a response to the character string accepted in the accepting step by executing the response processing selected in the selecting step, and a step of determining the answer to the character string accepted in the accepting step.
前記決定するステップで決定された前記回答を出力するステップと、 The step of outputting the answer determined in the determination step and the step of outputting the answer
を実行し、 And run
前記選択するステップで前記対話型処理が選択された場合に、前記決定するステップは前記対話型処理と並行して前記検索型処理を実行し、 When the interactive process is selected in the selected step, the determined step executes the search type process in parallel with the interactive process.
前記出力するステップは、前記決定するステップが前記対話型処理を実行する途中において、前記対話型処理の経過時間又は応答回数が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、 The output step is the answer determined by the search-type process when the elapsed time or the number of responses of the interactive process satisfies a predetermined condition while the determined step is executing the interactive process. To output,
応答方法。 Response method.
ユーザによって入力された文字列を受け付けるステップと、
前記ユーザの属性を特定するステップと、
前記特定するステップで特定された前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、
前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、
前記決定するステップで決定された前記回答を出力するステップと、
を実行させ、
前記選択するステップで前記対話型処理が選択された場合に、前記決定するステップは前記対話型処理と並行して前記検索型処理を実行し、
前記出力するステップは、前記決定するステップが前記対話型処理を実行する途中において、前記検索型処理によって決定された前記回答の数又は前記検索型処理による検索結果のスコアが所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、
応答プログラム。 On the computer
A step that accepts a character string entered by the user,
The step of identifying the user's attributes and
An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified in the specifying step, and the above-mentioned. A search-type process that determines an answer by searching using keywords contained in a character string, a step of selecting at least one response process from a plurality of response processes including, and a step of selecting at least one response process.
A step of determining a response to the character string accepted in the accepting step by executing the response processing selected in the selecting step, and a step of determining the answer to the character string accepted in the accepting step.
The step of outputting the answer determined in the determination step and the step of outputting the answer
To execute,
When the interactive process is selected in the selected step, the determined step executes the search type process in parallel with the interactive process.
The output step is when the number of answers determined by the search-type processing or the score of the search result by the search-type processing satisfies a predetermined condition while the determination step is executing the interactive processing. Outputs the answer determined by the search-type processing.
Response program.
ユーザによって入力された文字列を受け付けるステップと、 A step that accepts a character string entered by the user,
前記ユーザの属性を特定するステップと、 The step of identifying the user's attributes and
前記特定するステップで特定された前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択するステップと、 An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified in the specifying step, and the above-mentioned. A search-type process that determines an answer by searching using keywords contained in a character string, a step of selecting at least one response process from a plurality of response processes including, and a step of selecting at least one response process.
前記選択するステップで選択された前記応答処理を実行することによって、前記受け付けるステップで受け付けられた前記文字列に対する回答を決定するステップと、 A step of determining a response to the character string accepted in the accepting step by executing the response processing selected in the selecting step, and a step of determining the answer to the character string accepted in the accepting step.
前記決定するステップで決定された前記回答を出力するステップと、 The step of outputting the answer determined in the determination step and the step of outputting the answer
を実行させ、 To execute,
前記選択するステップで前記対話型処理が選択された場合に、前記決定するステップは前記対話型処理と並行して前記検索型処理を実行し、 When the interactive process is selected in the selected step, the determined step executes the search type process in parallel with the interactive process.
前記出力するステップは、前記決定するステップが前記対話型処理を実行する途中において、前記対話型処理の経過時間又は応答回数が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、 The output step is the answer determined by the search-type process when the elapsed time or the number of responses of the interactive process satisfies a predetermined condition while the determined step is executing the interactive process. To output,
応答プログラム。 Response program.
前記応答装置は、
ユーザによって入力された文字列を前記通信端末から受け付ける受付部と、
前記ユーザの属性を特定する特定部と、
前記特定部が特定した前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、
前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、
前記処理部が決定した前記回答を前記通信端末へ出力する出力部と、
を備え、
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、
前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記検索型処理によって決定された前記回答の数又は前記検索型処理による検索結果のスコアが所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、
応答システム。 It has a response device and a communication terminal capable of communicating with the response device.
The response device is
A reception unit that accepts character strings entered by the user from the communication terminal,
The specific part that specifies the attribute of the user and
An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified by the specific unit, and the character string. A search-type process that determines an answer by searching using the keywords included in, and a selection unit that selects at least one response process from a plurality of response processes including .
A processing unit that determines a response to the character string received by the reception unit by executing the response processing selected by the selection unit, and a processing unit.
An output unit that outputs the answer determined by the processing unit to the communication terminal, and an output unit.
Equipped with
When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing.
The output unit satisfies a predetermined condition when the number of answers determined by the search-type processing or the score of the search result by the search-type processing satisfies a predetermined condition while the processing unit is executing the interactive processing. Output the answer determined by the search-type processing,
Response system.
前記応答装置は、 The response device is
ユーザによって入力された文字列を前記通信端末から受け付ける受付部と、 A reception unit that accepts character strings entered by the user from the communication terminal,
前記ユーザの属性を特定する特定部と、 The specific part that specifies the attribute of the user and
前記特定部が特定した前記属性に基づいて、前記ユーザに対して質問を出力することと前記ユーザからの入力を受け付けることとを交互に行うことによって回答を決定する対話型処理と、前記文字列に含まれるキーワードを用いて検索することによって回答を決定する検索型処理と、を含む複数の応答処理の中から少なくとも1つの応答処理を選択する選択部と、 An interactive process for determining an answer by alternately outputting a question to the user and accepting an input from the user based on the attribute specified by the specific unit, and the character string. A search-type process that determines an answer by searching using the keywords included in, and a selection unit that selects at least one response process from a plurality of response processes including.
前記選択部が選択した前記応答処理を実行することによって、前記受付部が受け付けた前記文字列に対する回答を決定する処理部と、 A processing unit that determines a response to the character string received by the reception unit by executing the response processing selected by the selection unit, and a processing unit.
前記処理部が決定した前記回答を前記通信端末へ出力する出力部と、 An output unit that outputs the answer determined by the processing unit to the communication terminal, and an output unit.
を備え、 Equipped with
前記選択部が前記対話型処理を選択した場合に、前記処理部は前記対話型処理と並行して前記検索型処理を実行し、 When the selection unit selects the interactive processing, the processing unit executes the search-type processing in parallel with the interactive processing.
前記出力部は、前記処理部が前記対話型処理を実行する途中において、前記対話型処理の経過時間又は応答回数が所定の条件を満たす場合に、前記検索型処理によって決定された前記回答を出力する、 The output unit outputs the answer determined by the search-type processing when the elapsed time or the number of responses of the interactive processing satisfies a predetermined condition while the processing unit is executing the interactive processing. do,
応答システム。 Response system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018046405A JP7014646B2 (en) | 2018-03-14 | 2018-03-14 | Response device, response method, response program and response system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018046405A JP7014646B2 (en) | 2018-03-14 | 2018-03-14 | Response device, response method, response program and response system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019159878A JP2019159878A (en) | 2019-09-19 |
| JP7014646B2 true JP7014646B2 (en) | 2022-02-01 |
Family
ID=67996278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018046405A Active JP7014646B2 (en) | 2018-03-14 | 2018-03-14 | Response device, response method, response program and response system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7014646B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7088270B2 (en) * | 2020-11-30 | 2022-06-21 | 凸版印刷株式会社 | Question answering system and question answering method |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000207214A (en) | 1999-01-20 | 2000-07-28 | Victor Co Of Japan Ltd | Interaction device |
| JP2001022763A (en) | 1999-07-06 | 2001-01-26 | Tadamitsu Ryu | Natural word conversation by computer |
| JP2004333543A (en) | 2003-04-30 | 2004-11-25 | Matsushita Electric Ind Co Ltd | Voice interaction system and voice interaction method |
| JP2005024869A (en) | 2003-07-02 | 2005-01-27 | Toshiba Tec Corp | Voice response device |
| JP2006039881A (en) | 2004-07-26 | 2006-02-09 | Nippon Telegr & Teleph Corp <Ntt> | Question answering system, method and program |
| JP2009163620A (en) | 2008-01-09 | 2009-07-23 | Toyota Central R&D Labs Inc | Response generation apparatus and response generation program |
| JP2015225402A (en) | 2014-05-26 | 2015-12-14 | ソフトバンク株式会社 | Information search device, information search program, and information search system |
| JP2016207217A (en) | 2016-04-20 | 2016-12-08 | 株式会社アクアティカ | Management apparatus and method of identifying preference |
| WO2017145466A1 (en) | 2016-02-26 | 2017-08-31 | ソニー株式会社 | Information processing system, client terminal, information processing method, and recording medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09101935A (en) * | 1995-10-06 | 1997-04-15 | Fujitsu Ltd | Response control method and system adapted to user's operation behavior |
-
2018
- 2018-03-14 JP JP2018046405A patent/JP7014646B2/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000207214A (en) | 1999-01-20 | 2000-07-28 | Victor Co Of Japan Ltd | Interaction device |
| JP2001022763A (en) | 1999-07-06 | 2001-01-26 | Tadamitsu Ryu | Natural word conversation by computer |
| JP2004333543A (en) | 2003-04-30 | 2004-11-25 | Matsushita Electric Ind Co Ltd | Voice interaction system and voice interaction method |
| JP2005024869A (en) | 2003-07-02 | 2005-01-27 | Toshiba Tec Corp | Voice response device |
| JP2006039881A (en) | 2004-07-26 | 2006-02-09 | Nippon Telegr & Teleph Corp <Ntt> | Question answering system, method and program |
| JP2009163620A (en) | 2008-01-09 | 2009-07-23 | Toyota Central R&D Labs Inc | Response generation apparatus and response generation program |
| JP2015225402A (en) | 2014-05-26 | 2015-12-14 | ソフトバンク株式会社 | Information search device, information search program, and information search system |
| WO2017145466A1 (en) | 2016-02-26 | 2017-08-31 | ソニー株式会社 | Information processing system, client terminal, information processing method, and recording medium |
| JP2016207217A (en) | 2016-04-20 | 2016-12-08 | 株式会社アクアティカ | Management apparatus and method of identifying preference |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2019159878A (en) | 2019-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7045886B2 (en) | Response device, response method, response program and response system | |
| JP7014646B2 (en) | Response device, response method, response program and response system | |
| JP7827796B2 (en) | system | |
| JP2026014255A (en) | system | |
| JP2026021156A (en) | system | |
| JP2026030529A (en) | system | |
| JP2026030585A (en) | system | |
| JP2026025748A (en) | system | |
| JP2026033099A (en) | system | |
| JP2026036059A (en) | system | |
| JP2026039859A (en) | system | |
| JP2026063786A (en) | system | |
| JP2026063777A (en) | system | |
| JP2026022306A (en) | system | |
| JP2025049047A (en) | system | |
| JP2026021180A (en) | system | |
| JP2026025763A (en) | system | |
| JP2026018046A (en) | system | |
| JP2025044256A (en) | system | |
| JP2026023383A (en) | system | |
| JP2026034033A (en) | system | |
| JP2026024903A (en) | system | |
| JP2026029539A (en) | system | |
| JP2026018402A (en) | system | |
| JP2026022382A (en) | system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200306 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210112 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210113 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210308 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210622 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210810 |
|
| 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: 20220111 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220120 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7014646 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |