JP6263135B2 - Server device operating method, server device, and computer program - Google Patents

Server device operating method, server device, and computer program Download PDF

Info

Publication number
JP6263135B2
JP6263135B2 JP2015009942A JP2015009942A JP6263135B2 JP 6263135 B2 JP6263135 B2 JP 6263135B2 JP 2015009942 A JP2015009942 A JP 2015009942A JP 2015009942 A JP2015009942 A JP 2015009942A JP 6263135 B2 JP6263135 B2 JP 6263135B2
Authority
JP
Japan
Prior art keywords
event
question
server device
question target
importance
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
Application number
JP2015009942A
Other languages
Japanese (ja)
Other versions
JP2016134109A (en
Inventor
玲子 有賀
玲子 有賀
真一郎 永徳
真一郎 永徳
妙 佐藤
妙 佐藤
智博 田中
智博 田中
山田 智広
智広 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2015009942A priority Critical patent/JP6263135B2/en
Publication of JP2016134109A publication Critical patent/JP2016134109A/en
Application granted granted Critical
Publication of JP6263135B2 publication Critical patent/JP6263135B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、サーバ装置の動作方法、サーバ装置およびコンピュータプログラムに関する。   The present invention relates to a method for operating a server device, a server device, and a computer program.

近年においては、センサデータから人間の行動を推定する技術が多く提案されている。人間の行動を記録するために、人間にセンサデバイスを装着させて記録する方法と、環境にセンサデバイスを設置して記録する方法がある。例えば、人間の腕にセンサを装着して手元での作業を推定する方法(例えば特許文献1)や、カメラの画像から人物の姿勢を推定する方法(例えば特許文献2)などがある。これらの方法においては、事前に学習を行い、正解ラベルとデータと紐付けるものが主流であった。   In recent years, many techniques for estimating human behavior from sensor data have been proposed. In order to record human behavior, there are a method of recording a sensor device by attaching the sensor device to a human and a method of recording a sensor device installed in the environment. For example, there are a method for estimating a work at hand by attaching a sensor to a human arm (for example, Patent Document 1), a method for estimating a posture of a person from a camera image (for example, Patent Document 2), and the like. In these methods, learning is performed in advance and the correct label and data are associated with the mainstream.

特開2010−271978号公報JP 2010-271978 A 特開2013−020578号公報JP2013-020578A

バイタルデータなど個人差の大きいデータや、宅内のデータなど環境差の大きいデータは、汎用的なラベルを予め作成することが難しく、データの意味を理解するためには、個人ごと、環境ごとに、正解のラベルを作成する必要がある。バイタルデータや宅内のデータに関して、ユーザにラベル付けを要求する手法が考えられるが、ユーザは常時ラベリング可能な状況にあるわけではなく、ラベル付けの要求が生じた直後にユーザが要求に回答することは実生活では考え難い。過去に起きたセンサデータの変化に対してユーザにラベル付けを要求する場合、センサデータをそのまま提示してもユーザがそのデータが生じた状況を想起することは難しく、ユーザがその状況を正しく想起できる表現でユーザに問い合わせる必要がある。
本発明は、正解のラベルを得やすい質問文を生成するための技術を提供することを目的とする。
Data with large individual differences such as vital data and data with large environmental differences such as in-home data are difficult to create in advance, and in order to understand the meaning of the data, for each individual, for each environment, You need to create a correct label. Although it is conceivable to request labeling from the user regarding vital data or in-home data, the user is not always ready for labeling, and the user responds to the request immediately after the labeling request occurs. Is hard to think in real life. When requesting the user to label sensor data changes that occurred in the past, it is difficult for the user to recall the situation where the data occurred even if the sensor data is presented as it is, and the user recalls the situation correctly. The user needs to be queried with a possible expression.
An object of this invention is to provide the technique for producing | generating the question sentence which is easy to obtain the label of a correct answer.

上記課題を解決するために、第1の本発明は、サーバ装置の動作方法であって、前記サーバ装置が、ユーザの周囲におけるセンサの設置場所、当該センサの種別および当該センサから出力されるセンサデータにより検出されるトリガの種別で表現されるイベントを入力するステップと、前記サーバ装置が、前記ユーザに質問を発信するタイミングの契機として予め定められた条件を検出するステップと、前記サーバ装置が、前記契機としての条件が検出されるまでの質問対象区間に入力されたイベントまたはイベントパターンであり且つ予めシステム重要度に対応づけられたイベントまたはイベントパターンと同じものを質問対象候補として検出し、複数の当該各質問対象候補について、該当のシステム重要度を用いて選択のための値を計算し、最大の当該値に対応する質問対象候補を質問対象として選択するステップとを含むことを特徴とする。   In order to solve the above-mentioned problem, a first aspect of the present invention is an operation method of a server device, wherein the server device has a sensor installation location around the user, a type of the sensor, and a sensor output from the sensor. A step of inputting an event expressed by a type of trigger detected by data; a step of detecting a predetermined condition as a trigger of timing when the server device sends a question to the user; and the server device The event or event pattern input to the question target section until the condition as the trigger is detected, and the same event or event pattern previously associated with the system importance is detected as a question target candidate, For each candidate question, calculate the value for selection using the corresponding system importance , Characterized in that it comprises the steps of selecting a question target candidate corresponding to the maximum of the value as a question object.

例えば、前記サーバ装置は、前記質問対象に予め対応づけられた質問対象文を含む質問文を生成する。   For example, the server device generates a question sentence including a question target sentence associated with the question target in advance.

例えば、前記サーバ装置が、前記質問対象と同時もしくは連続して入力されたイベントまたはイベントパターンを検出し、複数の当該各イベントまたはイベントパターンの出現頻度の低さを示す値を計算し、最も低い出現頻度を示す当該値に対応するイベントまたはイベントパターンを選択する。   For example, the server device detects an event or event pattern input simultaneously or continuously with the question target, calculates a value indicating the low frequency of appearance of each of the plurality of events or event patterns, and is the lowest An event or event pattern corresponding to the value indicating the appearance frequency is selected.

例えば、前記サーバ装置が、少なくとも1つのイベントまたはイベントパターンにつき、当該1つのイベントまたはイベントパターンに対応する補助情報文を記憶している場合において、前記出現頻度を用いて計算した値により選択したイベントまたはイベントパターンが前記1つのイベントまたはイベントパターンに対応する場合は、当該補助情報文を用いて前記質問文を生成する。   For example, when the server device stores an auxiliary information sentence corresponding to the one event or event pattern for at least one event or event pattern, the event selected by the value calculated using the appearance frequency Alternatively, when the event pattern corresponds to the one event or event pattern, the question sentence is generated using the auxiliary information sentence.

第2の本発明は、サーバ装置であって、ユーザの周囲におけるセンサの設置場所、当該センサの種別および当該センサから出力されるセンサデータにより検出されるトリガの種別で表現されるイベントを入力する手段と、前記ユーザに質問を発信するタイミングの契機として予め定められた条件を検出する手段と、前記契機としての前記条件が検出されるまでの質問対象区間に入力されたイベントまたはイベントパターンであり且つ予めシステム重要度に対応づけられたイベントまたはイベントパターンと同じものを質問対象候補として検出し、複数の当該各質問対象候補について、該当のシステム重要度を用いて選択のための値を計算し、最大の当該値に対応する質問対象候補を質問対象として選択する手段とを備えることを特徴とする   The second aspect of the present invention is a server device for inputting an event expressed by a location of a sensor around a user, a type of the sensor, and a trigger type detected by sensor data output from the sensor. Means, a means for detecting a predetermined condition as a trigger for sending a question to the user, and an event or an event pattern input to the question target section until the condition as the trigger is detected In addition, the same event or event pattern that is associated with the system importance in advance is detected as a question target candidate, and for each of the plurality of question target candidates, a value for selection is calculated using the corresponding system importance. And means for selecting a question target candidate corresponding to the maximum value as a question target.

第3の本発明は、第2の本発明に係るサーバ装置としてコンピュータを機能させるためのコンピュータプログラムである。   The third aspect of the present invention is a computer program for causing a computer to function as the server device according to the second aspect of the present invention.

本発明によれば、正解のラベルを得やすい質問文を生成するための技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique for producing | generating the question sentence which is easy to obtain the correct answer label can be provided.

本発明の実施の形態におけるシステム構成図である。It is a system configuration figure in an embodiment of the invention. 実施例1のブロック図である。1 is a block diagram of Example 1. FIG. 実施例1のフローチャートである。3 is a flowchart of the first embodiment. トリガー関数の例である。It is an example of a trigger function. イベントログの例である。It is an example of an event log. イベントと自然文の対応テーブルの例である。It is an example of the correspondence table of an event and a natural sentence. 3日間の夜間の照度を例示する図である。It is a figure which illustrates the illumination intensity at night for 3 days. 質問対象リストを例である。This is an example of a question target list. イベントセグメントの例である。It is an example of an event segment. 質問対象文テーブルの例である。It is an example of a question object sentence table. 補助情報文テーブルの例である。It is an example of an auxiliary information sentence table. 質問文の提示例である。It is a presentation example of a question sentence. 実施例2の質問対象文テーブルの例である。It is an example of the question object sentence table of Example 2. 実施例3の質問対象文テーブルの例である。It is an example of the question object sentence table of Example 3. 実施例4の質問対象文テーブルの例である。It is an example of the question object sentence table of Example 4. 実施例4のブロック図である。FIG. 10 is a block diagram of Example 4.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[実施例1]
図1は、本発明の実施の形態におけるシステム構成図である。図2は、実施例1のブロック図である。
[Example 1]
FIG. 1 is a system configuration diagram according to an embodiment of the present invention. FIG. 2 is a block diagram of the first embodiment.

本システムは、ユーザ(図示せず)の周囲に配置される複数のセンサ1と、センサ1と通信可能なサーバ装置2と、サーバ装置2と通信可能なユーザ端末3とを備える。
各センサ1は、各種センサデータを取得するセンシング手段101と、センサデータをサーバ装置2に送信するセンシング通信手段102を備える。
This system includes a plurality of sensors 1 arranged around a user (not shown), a server device 2 that can communicate with the sensors 1, and a user terminal 3 that can communicate with the server device 2.
Each sensor 1 includes a sensing unit 101 that acquires various sensor data, and a sensing communication unit 102 that transmits the sensor data to the server device 2.

サーバ装置2は、サーバ通信手段201と、サーバ通信手段201がセンサ1から受信したセンサデータを格納するセンサデータログ格納手段202と、受信したセンサデータからトリガー関数により特定のパターン(トリガーという)を検出し、対象のセンサ1の設置箇所、当該センサの種別および当該トリガーの種別で表現されるイベントと呼ばれる一次解析結果を出力するイベント検出手段203と、イベントおよび当該イベントに対応するトリガー(変化)の開始時刻と終了時刻を含むイベントログを格納するイベントログ格納手段204と、質問対象候補となるイベントを検出する質問対象検出手段205と、質問対象候補を一時的に格納する質問対象候補一時格納手段206と、質問を発信するタイミングを検出する質問発信タイミング検出手段207と、質問を生成する質問生成手段208と、生成された質問を一時的に格納する質問/回答格納手段209とを備える。   The server apparatus 2 includes a server communication unit 201, a sensor data log storage unit 202 that stores sensor data received from the sensor 1 by the server communication unit 201, and a specific pattern (called a trigger) from the received sensor data by a trigger function. Event detection means 203 that detects and outputs a primary analysis result called an event represented by the installation location of the target sensor 1, the type of the sensor and the type of the trigger, and the trigger (change) corresponding to the event and the event Event log storage means 204 for storing an event log including a start time and an end time, a question target detection means 205 for detecting an event as a question target candidate, and a question target candidate temporary store for temporarily storing question target candidates Means 206 and a question transmission unit for detecting timing for transmitting a question Includes a timing detection unit 207, a question generating means 208 for generating a question, a question / answer storage means 209 for storing the generated question temporarily.

ユーザ端末3は、ユーザ端末通信手段301と、サーバ装置2で生成された質問を音声またはテキスト等で提示する提示手段302と、ユーザが音声、テキスト、または選択ボタン等で回答を入力する入力手段303とを備える。   The user terminal 3 includes a user terminal communication unit 301, a presentation unit 302 that presents a question generated by the server device 2 by voice or text, and an input unit by which a user inputs an answer by voice, text, or a selection button. 303.

図3は、実施例1のフローチャートである。
(S1)
各センサ1は、センサデータを取得してサーバ装置2に送信する。
サーバ装置2は、センサデータを受信し、受信時のタイムスタンプとセンサデータをセンサデータログ格納手段202に格納する。
FIG. 3 is a flowchart of the first embodiment.
(S1)
Each sensor 1 acquires sensor data and transmits it to the server device 2.
The server device 2 receives the sensor data, and stores the time stamp and sensor data at the time of reception in the sensor data log storage unit 202.

(S3)
サーバ装置2のイベント検出手段203は、受信したセンサデータを所定のトリガー関数に逐次入力して処理を行うことによりイベントを検出し、イベントおよび当該イベントに対応するトリガー(変化)の開始時刻と終了時刻を含むイベントログをイベントログ格納手段204に格納する。
(S3)
The event detection means 203 of the server device 2 detects the event by sequentially inputting the received sensor data into a predetermined trigger function and performing processing, and the start time and end of the event and the trigger (change) corresponding to the event The event log including the time is stored in the event log storage unit 204.

図4は、トリガー関数の例である。
実施例1では、変化を検出するトリガー関数として、単調増加を検出するup関数、単調減少を検出するdown関数、ステップ応答的に値が上昇するstepup関数、ステップ応答的に値が下降するstepdown関数、上昇と下降が繰り返されるchange関数、値に変化が生じないkeep関数が定義されており、この関数がセンサデータを常時監視しているとする。
FIG. 4 is an example of a trigger function.
In the first embodiment, as a trigger function for detecting a change, an up function for detecting a monotonic increase, a down function for detecting a monotonic decrease, a stepup function in which a value rises in a step response, and a stepdown function in which a value falls in a step response It is assumed that a change function that repeats ascent and descent and a keep function that does not change the value are defined, and this function constantly monitors sensor data.

なお、トリガー関数としては、上述の変化以外の変化を検出するトリガー関数を設定してもよい。例えば、異常値検出アルゴリズムをトリガー関数として設定してもよい。そして、コップに設置された加速度センサを監視する場面を考えるとき、コップの加速度で異常値が現れた場合に出力されるイベントを、cup.acc.anomalyとしてもよい。   In addition, as a trigger function, you may set the trigger function which detects a change other than the above-mentioned change. For example, an abnormal value detection algorithm may be set as a trigger function. Then, when considering the scene of monitoring the acceleration sensor installed in the cup, the event output when an abnormal value appears due to the acceleration of the cup may be cup.acc.anomaly.

例えば、コップに加速度センサと温度センサが内蔵されている場合に、コップを持ち上げたりコップで飲み物を飲んだりすると、加速度センサに変化が生じ、change関数がchangeというトリガーを検出する。   For example, when an acceleration sensor and a temperature sensor are built in a cup, if the cup is lifted or a drink is drunk with the cup, the acceleration sensor changes, and the change function detects a trigger “change”.

この場合、「コップに設置した加速度センサでchangeという変化を検出した」という意味であるcup.acc.changeというイベントを含むイベントログがイベントログ格納手段204に格納される。   In this case, an event log including an event “cup.acc.change” which means “change detected by an acceleration sensor installed in a cup” is stored in the event log storage unit 204.

また、コップに冷たい飲み物や温かい飲み物を注ぐと、down関数やup関数が、downやupというトリガーを検出する。コップに冷たいものが注がれた場合、コップ全体の温度が下がり、「コップに設置した温度センサでdownという変化を検出した」という意味であるcup.temp.downというイベントが検出され、コップに温かいものが注がれた場合、コップ全体の温度が上がり、「コップに設置した温度センサでupという変化を検出した」という意味であるcup.temp.upというイベントが検出される。   Moreover, when a cold drink or a hot drink is poured into a glass, the down function or the up function detects a trigger of down or up. When something cold is poured into the cup, the temperature of the entire cup drops, and an event called cup.temp.down is detected, meaning that a temperature sensor installed in the cup has detected a change called down. When a hot item is poured, the temperature of the entire cup rises, and an event called cup.temp.up is detected, which means that a change called up is detected by a temperature sensor installed in the cup.

なお、センサ設置箇所を示す識別情報(上記例の場合のcup)は、予め決められていてもよいし、ユーザが入力してもよい。また、識別情報の表現の粒度は、上記の例のように具体的な「cup」等でもよいし、抽象度の高い「device1」等としてもよい。   The identification information indicating the sensor installation location (cup in the above example) may be determined in advance or may be input by the user. Further, the granularity of the expression of the identification information may be a specific “cup” or the like as in the above example, or may be “device1” or the like having a high abstraction level.

図5は、イベントログの例である。
トリガー関数にてイベントが検出されると、当該イベントおよび当該イベントに対応するトリガー(変化)の開始時刻(start:に続く時刻)と終了時刻(end:に続く時刻)を含むイベントログがイベントログ格納手段204に格納される。
FIG. 5 is an example of an event log.
When an event is detected by the trigger function, an event log containing the start time (time following start :) and end time (time following end :) of the event and the trigger (change) corresponding to the event Stored in the storage means 204.

図6は、イベントと自然文の対応テーブルの例である。
イベントは、図6のように、意味との対応テーブルを持つ事により、さらに意味的に変換を加えて保存してもよい。例えば、cup.acc.changeと保存するのではなく、「コップを使った」と保存してもよい。
FIG. 6 is an example of a correspondence table between events and natural sentences.
As shown in FIG. 6, the event may be stored with a semantic conversion by having a correspondence table with the meaning. For example, instead of saving it as cup.acc.change, you may save it as “Using a cup”.

また、上記説明では、センサ1がセンサデータをサーバ装置2に送信し、サーバ装置2がトリガー関数を駆動したが、センサ1がトリガー関数を駆動し、イベントに対応するフラグをサーバ装置2に送信してもよい。   In the above description, the sensor 1 transmits sensor data to the server apparatus 2 and the server apparatus 2 drives the trigger function. However, the sensor 1 drives the trigger function and transmits a flag corresponding to the event to the server apparatus 2. May be.

こうすることで、センサデータではなくイベントに対応するフラグのみが送信され、データ送信量が軽減されるので、センサ1のバッテリー消費量が軽減されるという効果がある。   By doing so, only the flag corresponding to the event is transmitted instead of the sensor data, and the data transmission amount is reduced, so that the battery consumption of the sensor 1 is reduced.

図3に戻る。
(S5)
質問対象検出手段205は、イベントログ格納手段204に格納されたイベントログから、質問対象リストに登録されたイベントやイベントのパターン(イベントパターンという。詳しくは後述する。)と同じものが検出された場合、このイベントやイベントパターンを質問対象候補として一時的に質問対象候補一時格納手段206に格納し、ステップS7に進み、質問対象リストに登録されたイベントやイベントパターンと同じものが検出されないなら、ステップS1に戻る。
Returning to FIG.
(S5)
The question target detection unit 205 detects the same event or event pattern (referred to as an event pattern, which will be described later in detail) registered in the question target list from the event log stored in the event log storage unit 204. If this event or event pattern is temporarily stored in the question target candidate temporary storage means 206 as a question target candidate, the process proceeds to step S7, and if the same event or event pattern registered in the question target list is not detected, Return to step S1.

イベントパターンとは複数のイベントeから構成されるパターン{e1, e2, .. , eN}である。例えば、「照度の値がdata1からdata3に変化して、data3が3回検出されてからdata4に遷移した」というイベントパターンは、{device1.lumi.keep@data1, device1.lumi.keep@data3, device1.lumi.keep@data3, device1.lumi.keep@data3, device1.lumi.keep@data4}というイベント表現で表現される。   The event pattern is a pattern {e1, e2,..., EN} composed of a plurality of events e. For example, the event pattern that “the illuminance value has changed from data1 to data3 and data3 has been detected three times and then transitioned to data4” is {device1.lumi.keep@data1, device1.lumi.keep@data3, It is expressed by event expression of device1.lumi.keep@data3, device1.lumi.keep@data3, device1.lumi.keep@data4}.

なお、サーバ装置2が、その動作中において、イベントやイベントパターンを質問対象リストに登録していってもよい。この場合、当初の質問対象リストにはイベントやイベントパターンがなくてもよい。   The server device 2 may register an event or event pattern in the question target list during the operation. In this case, the initial question target list may not have an event or an event pattern.

実施例1では、予め質問対象リストにイベントやイベントパターンが登録される場合について説明する。ユーザに依存せず、環境に依存するイベントやイベントパターンについては、このように予め質問対象リストに登録するのが好ましい。   In the first embodiment, a case where an event or an event pattern is registered in the question target list in advance will be described. Events and event patterns that do not depend on the user but depend on the environment are preferably registered in advance in the question target list in this way.

例えば、照度計(センサ1)をユーザが宅内のどこかに導入したものとする。また、照度計の他に玄関ドア、冷蔵庫ドア、ソファに加速度センサが設置されており、玄関ドア及び冷蔵庫ドアの開閉及びソファへの着座が検出できるものとする。さらに、テレビに照度センサが設置されており、テレビの電源のONとOFFが検出できるものとする。1LDKの宅内の場合、リビング、ダイニング、キッチンがドアで仕切られることなく空間として続いているため、例えばリビングに照度計を設置した場合であっても、ダイニングやキッチンからの照明の光も照度計に届く。照度計の設置箇所が固定である場合、夜間の日照時間外は宅内の照明のみが光源となる。日照時間外を考えた場合、照明点灯の組み合わせは有限であり、ある組み合わせで照明が点灯している場合、照度計の設置箇所が固定であり照度計を遮る遮蔽物がない限り照度は一定になると考えられるため、照度計で計測される照度は有限のクラスタに分類されると考えられる。照度のクラスタに照明条件のラベルが付与されれば、照度の観測によりどの場所の照明が点灯しているかが推測可能となる。リビング、ダイニング、キッチンといった空間で行われる行動は、例えばそれぞれ「団らん」「食事」「調理」といった行動が代表的である。このため、照明条件のイベントログには生活パターンが反映されるものと考えられる。実施例1では、照度のクラスタに紐づけられる照明条件のラベルをユーザに問う場面を考える。   For example, it is assumed that the user has introduced an illuminance meter (sensor 1) somewhere in the house. In addition to the illuminance meter, an acceleration sensor is installed at the entrance door, the refrigerator door, and the sofa, and the opening / closing of the entrance door and the refrigerator door and the seating on the sofa can be detected. Furthermore, it is assumed that an illuminance sensor is installed in the television and that it can detect whether the television is turned on or off. In the case of a 1LDK house, the living room, dining room, and kitchen continue as a space without being separated by doors. For example, even if an illuminance meter is installed in the living room, the illumination light from the dining room and kitchen is also To reach. When the location of the illuminometer is fixed, only the lighting in the house is the light source outside the daylight hours at night. Considering the outside hours of sunshine, there are only a limited number of combinations of lighting.When lighting is turned on in a certain combination, the illuminance is fixed unless the illuminometer is installed in a fixed location and there is an obstruction that blocks the Therefore, the illuminance measured by the illuminometer is considered to be classified into a finite cluster. If the illumination condition label is assigned to the illuminance cluster, it is possible to guess which illumination is lit by observing the illuminance. Typical actions performed in a space such as a living room, a dining room, and a kitchen are, for example, “dandan”, “meal”, and “cooking”. For this reason, it is thought that a life pattern is reflected in the event log of lighting conditions. In the first embodiment, a scene in which a user is asked for a label of an illumination condition associated with an illuminance cluster is considered.

このような場面の例について、質問対象リストの生成方法を説明する。本処理は前処理として与えるものとし、詳細なフローチャートは省略する。   A method for generating a question target list will be described for an example of such a scene. This processing is given as preprocessing, and a detailed flowchart is omitted.

図7は、3日間の夜間の照度を例示する図である。
ユーザが宅内に照度計を導入してから3日間照度の計測を行い、図7のようになったとする。3日間のデータ計測後、日照時間外の照度を自動的にクラスタリングする。自動クラスタリングの手法は、x-means法など一般的な手法を用いる。
FIG. 7 is a diagram illustrating the illuminance at night for three days.
Assume that the user has measured the illuminance for 3 days after installing the illuminance meter in the house, as shown in FIG. After 3 days of data measurement, the illuminance outside the sunshine hours is automatically clustered. As a method of automatic clustering, a general method such as an x-means method is used.

図8は、質問対象リストの例である。
抽出されたクラスタの照度は、図8のような質問対象リストに格納される。ここでは、設置した照度計の名称をdevice1とし、クラスタリングした結果得られた照度をdevice1.lumi.keep@data1のようなイベント表現で表現する。ここで、keep関数はある一定時間一定の照度が計測された場合にkeepというイベントを検出する関数であり、device1.lumi.keep@data1は、「デバイス1の照度がdata1の照度で一定である」ことを検出した場合に生成されるイベントと同じこととする。照度のクラスタリングの結果、4つの照度のイベント表現device1.lumi.keep@data1からdevice1.lumi.keep@data4が得られ、これらと該当の照度が質問対象リストに格納される。
FIG. 8 is an example of a question target list.
The illuminance of the extracted cluster is stored in the question target list as shown in FIG. Here, the name of the installed illuminometer is device1, and the illuminance obtained as a result of clustering is represented by an event expression such as device1.lumi.keep@data1. Here, the keep function is a function that detects an event called keep when constant illuminance is measured for a certain period of time, and device1.lumi.keep@data1 is `` the illuminance of device 1 is constant at the illuminance of data1 ”Is the same as the event generated when it is detected. As a result of the clustering of the illuminance, device1.lumi.keep@data4 is obtained from the four illuminance event expressions device1.lumi.keep@data1, and these and the corresponding illuminance are stored in the question target list.

当初、サーバ装置2は、キッチンの照明点灯やリビングの照明点灯等のラベルは得ておらず、質問対象リストは照度を含むがラベルを含まない。
質問対象リストには、そのラベルを問う重要度(システム重要度という)が設定される。
Initially, the server apparatus 2 has not obtained labels such as kitchen lighting or living room lighting, and the question target list includes illuminance but does not include a label.
In the question target list, importance (referred to as system importance) for asking the label is set.

システム重要度は、例えば、0,1,2の3段階とする。システム重要度の算出方法は様々に考えられるが、ここでは以下のようにする。例えば、device1.lumi.data1とdevice1.lumi.data4は、出現頻度が高いため、システム重要度に2が与えられ、device1.lumi.data3は、出現頻度が中程度であるため、システム重要度に1が与えられ、device1.lumi.data2は、出現頻度が低いため、システム重要度に0が与えられるとする。   The system importance is, for example, three levels of 0, 1, and 2. There are various methods for calculating the system importance, but here, it is as follows. For example, device1.lumi.data1 and device1.lumi.data4 have a high appearance frequency, so the system importance level is given 2. device1.lumi.data3 has a medium appearance frequency, so the system importance level Assume that 1 is given and device1.lumi.data2 has a low appearance frequency, and therefore 0 is given to the system importance.

ユーザにラベルを要求する最も単純な例としては、あるクラスタ(クラスタAという)の照度が現れた場合に、「いまどこの電気がついているの?」とユーザに問い合わせるというものが考えられる。ユーザからの回答が「リビング」であった場合、クラスタAには「リビング」のラベルを付与する。
しかし、照度に変化が生じないうちに回答を得られればよいが、問い合わせたい照度条件の際に、ユーザが常に回答可能な状況であるとは限らない。また、ユーザは無意識のうちに様々な箇所の照明を点灯したり消灯したりして過ごす。このため、「さっきどこの電気がついてたの?」という問いに対して答えるのはユーザにとって想起するのが容易ではなく、ユーザが過去の照明点灯について想起できるように質問を生成する必要がある。
As the simplest example of requesting a label from the user, when the illuminance of a certain cluster (referred to as cluster A) appears, the user can be inquired as to "Where is electricity on?" If the answer from the user is “living”, a label “living” is given to cluster A.
However, it is only necessary to obtain an answer before the illuminance changes, but it is not always possible for the user to answer when the illuminance condition is desired. In addition, the user unconsciously spends lighting or turning off various places. For this reason, it is not easy for the user to recall the question “Where did electricity come on?”, It is necessary to generate a question so that the user can recall the past lighting. .

図3に戻る。
(S7)
質問発信タイミング検出手段207は、質問を発信するタイミングを検出したなら、ステップS9に進み、検出されないなら、ステップS1に戻る。
具体的には、質問発信タイミング検出手段207は、イベントログ格納手段204に格納されたイベントログから、質問発信タイミングとして定義されたイベントやイベントパターンが検出されたならステップS9に進む。
実施例1では、ソファに掛けたことが質問発信タイミングとして定義されているものとする。
Returning to FIG.
(S7)
The question transmission timing detection means 207 proceeds to step S9 if the timing for transmitting a question is detected, and returns to step S1 if not detected.
Specifically, the question transmission timing detection unit 207 proceeds to step S9 if an event or event pattern defined as the question transmission timing is detected from the event log stored in the event log storage unit 204.
In the first embodiment, it is assumed that it is defined as the question transmission timing that the user has hung on the sofa.

(S9)
質問生成手段208は、まず、質問対象候補一時格納手段206に格納された質問対象候補群の中から、各種重要度に基づいて、ユーザ及び環境理解に関して重要かつユーザが想起しやすい質問対象となるイベントまたはイベントパターンを選択する。これを質問対象選択という。
(S9)
First, the question generation unit 208 becomes a question target that is important and easy to recall for the user and understanding of the environment based on various importance levels from the question target candidate group stored in the question target candidate temporary storage unit 206. Select an event or event pattern. This is called question target selection.

質問生成手段208は、次に、各種重要度に基づいて、質問対象となる場面を最も想起しやすく説明するように用いられる補足情報を選択する。これを補足情報選択という。
質問生成手段208は、最後に、質問対象選択で選択されたイベント等と、補足情報選択で選択された補足情報を組み合わせて、質問文を生成する。
Next, the question generation means 208 selects supplementary information used to explain the scene to be questioned most easily based on various importance levels. This is called supplemental information selection.
The question generating means 208 finally generates a question sentence by combining the event selected by the question target selection and the supplementary information selected by the supplemental information selection.

(S11)
サーバ通信手段201は、次に、質問文をユーザ端末3に送信し、これにて、質問生成の処理が終わる。
ここで、上述の重要度のカテゴリは二種類あり、それは、システムがユーザを理解していくという観点での重要度と、人が想起しやすいという観点での重要度である。ここでは、前者の重要度として、システム重要度、後者の重要度として、ユーザ重要度、セグメント長に基づく重要度、イベント出現頻度に基づく重要度、イベント発生からの経過時間に基づく重要度、質問対象の複雑さに基づく重要度、通常値からの乖離度に基づく重要度、及びデータ強度に基づく重要度を定義している。各種重要度に関して、詳しくは後述する。
(S11)
Next, the server communication unit 201 transmits a question sentence to the user terminal 3, and the question generation process ends here.
Here, there are two types of the above-mentioned importance categories, that is, the importance from the viewpoint that the system understands the user and the importance from the viewpoint that the person can easily recall. Here, the importance of the former is the system importance, the importance of the latter is the user importance, the importance based on the segment length, the importance based on the event appearance frequency, the importance based on the elapsed time from the event occurrence, the question It defines the importance based on the complexity of the target, the importance based on the deviation from the normal value, and the importance based on the data strength. Details of various importance levels will be described later.

実施例1では、システム重要度とセグメント長に基づく重要度の和から、質問対象となる1つまたは連続する複数の同種イベント(イベントセグメントと総称する)を選択し、イベント出現頻度に基づく重要度を用いて、質問対象となるイベントセグメントを想起しやすくなるように補足情報となるイベントセグメントを選択し、質問文を生成する。   In the first embodiment, one or a plurality of continuous similar events (collectively referred to as event segments) to be questioned are selected from the sum of the importance based on the system importance and the segment length, and the importance based on the event appearance frequency. Is used to select an event segment as supplementary information so as to make it easier to recall the event segment to be questioned, and generate a question sentence.

図9は、イベントセグメントの例である。
ここで、イベントは連続して検出される場合があり、同種イベントの検出開始から検出終了までを1つのイベントセグメントとする。イベントが連続する場合とは、例えば、図9に示すように連続的に同じ照度data1が観測され、連続的にdevice.lumi.keep@data1が検出されるといった場合を指す。イベントセグメントの最小単位はイベントが1度だけ検出された場合である。イベントの時系列データ(イベントログ)をセグメンテーションすることをイベントのセグメント化と呼ぶものとする。セグメント化では、イベントセグメントが生成される。
FIG. 9 is an example of an event segment.
Here, there are cases where events are detected continuously, and one event segment is from the start of detection of the same type of event to the end of detection. The case where events are continuous refers to a case where, for example, the same illuminance data1 is continuously observed and device.lumi.keep@data1 is continuously detected as shown in FIG. The smallest unit of event segment is when an event is detected only once. Segmenting event time-series data (event log) is referred to as event segmentation. In segmentation, event segments are generated.

実施例1では、点灯している照明のラベルをユーザに問い合わせることを考える。例えば、仕事帰りに食材の買い物をして帰宅し、以下のような一連の流れが生じた場合を考える。帰宅して部屋に入り、キッチンの照明をつける。荷物をキッチンに置き、キッチンにある冷蔵庫に買って来た食材をしまう。キッチンにて調理を行う。調理を済ませたら、ダイニングの照明をつけ、食事の用意を整え、キッチンの照明を消灯して食事をする。食事を済ませてキッチンに一時的に照明をつけて食器を片付け、キッチンとダイニングの照明を消灯して、リビングの照明を点灯し、ソファに掛ける。このとき、質問発信タイミングが検出され、質問生成の処理に移る。この時点で生成されているイベントセグメントは図9の通りである。イベントセグメントのうち、質問対象リストに含まれているものは斜線で表示している。   In the first embodiment, it is considered that the user is inquired about the label of the lighting that is lit. For example, let us consider a case where the following series of flows occur after shopping for food on the way home from work and returning home. Go home, enter the room, turn on the kitchen lights. I put my luggage in the kitchen, and I got the food I bought in the refrigerator in the kitchen. Cook in the kitchen. After cooking, turn on the dining lights, prepare meals, turn off the kitchen lights and eat. After eating, turn on the kitchen temporarily, clean the tableware, turn off the kitchen and dining lights, turn on the living room lighting, and hang it on the sofa. At this time, the question transmission timing is detected, and the process proceeds to question generation processing. The event segments generated at this time are as shown in FIG. Among the event segments, those included in the question target list are displayed with diagonal lines.

まず、質問対象選択について述べる。
実施例1の質問対象選択ではシステム重要度とセグメント長に基づく重要度を各イベントセグメントについて算出し、各種重要度の和が最大となるイベントセグメントを質問対象として選択する。
システム重要度は、前述の通り予め設定されているものとする。
First, question target selection will be described.
In the question target selection of the first embodiment, the importance based on the system importance and the segment length is calculated for each event segment, and the event segment having the maximum sum of various importances is selected as the question target.
It is assumed that the system importance is set in advance as described above.

セグメント長に基づく重要度は、当該イベントの継続時間が長い方が印象に残りやすく想起しやすいことを反映するパラメータであり、セグメント長が長い程、重要度が高く、セグメント長が短い程、重要度が低くなるように定義する。質問対象候補が検出されてから質問発信タイミングが検出されるまでの間に発生したイベントのセグメント長を算出し、イベントセグメント長を重要度とする。   The importance based on the segment length is a parameter that reflects the fact that the longer the duration of the event is, the easier it is to remember and recall. The higher the segment length, the higher the importance, and the shorter the segment length, the more important Define the degree to be low. The segment length of an event that occurs between the time when the question target candidate is detected and the time when the question transmission timing is detected is calculated, and the event segment length is set as the importance.

例えば、図9の例の場合、イベントセグメント1のセグメント長に基づく重要度は9、イベントセグメント5のセグメント長に基づく重要度は5、イベントセグメント3のセグメント長に基づく重要度は2となる。   For example, in the example of FIG. 9, the importance level based on the segment length of the event segment 1 is 9, the importance level based on the segment length of the event segment 5 is 5, and the importance level based on the segment length of the event segment 3 is 2.

システム重要度とセグメント長に基づく重要度の和を各イベントセグメントに対して算出し、和が最大となるイベントセグメントを、質問対象として選択する。   The sum of the importance based on the system importance and the segment length is calculated for each event segment, and the event segment having the maximum sum is selected as the question target.

実施例1の場合、イベントセグメント1において、device1.lumi.data1のシステム重要度が2、セグメント長に基づく重要度が9、和が11と最も大きくなるため、イベントセグメント1が質問対象として選択される。   In the case of Example 1, in the event segment 1, since the system importance of device1.lumi.data1 is 2, the importance based on the segment length is 9, and the sum is 11, the event segment 1 is selected as the question target. The

続いて、補足情報選択について述べる。
実施例1では、イベント出現頻度に基づく重要度を用いて、質問対象のイベントセグメントとして選択されたイベントグメント1を最もよく説明する想起しやすい質問文を生成する。イベント出現頻度に基づく重要度は、イベントパターンのうち、質問対象区間Tqにて1度しか生じていないイベントパターンは複数回生じたイベントパターンに比べて想起しやすいことを反映する値である。
Next, supplementary information selection will be described.
In the first embodiment, a question sentence that best describes the event segment 1 selected as the event segment to be questioned is generated using the importance based on the event appearance frequency. The importance based on the event appearance frequency is a value that reflects that an event pattern that occurs only once in the question target section Tq is easier to recall than an event pattern that occurs multiple times.

例えば、もしも質問対象として選択されたイベントセグメントが質問対象区間Tqにおいて1度しか生じていないイベントである場合には、そのイベントのみを用いて質問すれば良い。例えば、質問対象区間Tqに、点灯を照明するというイベントが1度しか生じていない場合には、「さっきどこの電気つけたの?」と問い合わせればよい。   For example, if the event segment selected as the question target is an event that occurs only once in the question target section Tq, the question may be made using only that event. For example, if there is only one event of lighting the lighting in the question target section Tq, it may be queried as "Where did you turn on the electricity?"

しかし、実施例1のような場合には、電気の点灯と消灯が複数回生じており、「さっきどこの電気つけたの?」という聞き方はできない。このような場合には、他のイベントセグメントと組み合わせて、質問対象のイベントセグメントを想起しやすい形で表現する必要がある。   However, in the case of Example 1, electricity is turned on and off a plurality of times, and it is not possible to ask "Where did you turn on electricity?" In such a case, it is necessary to express the event segment to be questioned in a form that is easy to recall in combination with other event segments.

実施例1では、想起しやすい形で表現するための補足情報として、玄関のドア、冷蔵庫のドア、ソファ、テレビに取り付けられたセンサを用いるとする。補足情報として用いるイベントセグメントは、質問対象のイベントセグメントと同時に生じている、または前後Ta以内に生じているイベントセグメントを候補とする。Taは予め設定されている閾値とし、実施例1の場合には、Taを5分とする。ここで、図9における1マスはTa(5分)とする。実施例1の場合、質問対象として選択されたイベントセグメントと同時または連続関係にあるのは、イベントセグメント6、7、8であり、これを補足情報イベントセグメントの候補とする。ここで、前述の通り複数のイベントから構成されるイベントパターンにおいて、イベントパターンを構成する2つのイベントセグメントの時系列関係を、イベントAのあとにイベントBが生じた場合を「A→B」、イベントBのあとにイベントAが生じた場合を「B→A」、イベントAと同時にイベントBが生じた場合を「A=B」と記載するものとする。   In the first embodiment, it is assumed that sensors attached to an entrance door, a refrigerator door, a sofa, and a television are used as supplementary information for expressing in an easily recallable form. Event segments used as supplementary information are candidates for event segments that occur at the same time as the event segment to be questioned or occur within the front and rear Ta. Ta is a preset threshold value. In the first embodiment, Ta is 5 minutes. Here, one cell in FIG. 9 is Ta (5 minutes). In the case of the first embodiment, the event segments 6, 7, and 8 that have the same or continuous relationship with the event segment selected as the question target are candidates for the supplemental information event segment. Here, in the event pattern composed of a plurality of events as described above, the time series relationship between the two event segments constituting the event pattern is expressed as “A → B” when event B occurs after event A, A case where event A occurs after event B is described as “B → A”, and a case where event B occurs simultaneously with event A is described as “A = B”.

補足情報としてイベントセグメント6を用いるdoor.acc.change→device1.lumi.keep@data1というイベントパターンが生じる回数は質問対象区間において1回であるのに対して、補足情報としてイベントセグメント7または8を用いるdevice1.lumi.keep@data1=fridege.acc.changeというイベントパターンは質問対象区間において2回生じている。イベントパターンの出現回数が1に近いほど、補足情報として選択される。   Event segment 6 using event segment 6 as supplemental information The event pattern “door.acc.change→device1.lumi.keep@data1” occurs once in the question target section, whereas event segment 7 or 8 is used as supplemental information. The device1.lumi.keep@data1=fridege.acc.change event pattern to be used occurs twice in the question target section. The closer the event pattern appears to 1, the more supplemental information is selected.

質問対象選択と補足情報選択を、関数として表現すると、以下のようになる。
まず、質問対象選択であるが、セグメント番号をi、システム重要度をIsystem (i)、セグメント長に基づく重要度をIlength(i)とするとき、以下を満たすiを求め、i番目のセグメントを質問対象として選択する(質問対象選択関数)。なお、argmax()は、()内の値が最大となった場合の変数(この場合はi)を示すものである。
argmax(Isystem (i)+Ilength(i)) (1)
The question target selection and the supplementary information selection are expressed as functions as follows.
First, the question target is selected. When the segment number is i, the system importance is I system (i), and the importance based on the segment length is I length (i), i is determined to satisfy the following: Select a segment as a question target (question target selection function). Note that argmax () indicates a variable (i in this case) when the value in () is maximum.
argmax (I system (i) + I length (i)) (1)

また、補足情報選択であるが、セグメント番号をi、イベント出現頻度に基づく重要度をIfrequency(i)とし、イベント出現回数cntの負の値を代入するものとする。例えば、イベントパターンの出現回数が2回であるセグメントのIfrequency(i)は−2であり、イベントパターンの出現回数が1回であるセグメントのIfrequency(i)は−1となる。このときの以下を満たすiを求め、i番目のセグメントを補足情報として選択する(補足情報選択関数)。
argmax(Ifrequency(i)) (2)
For supplementary information selection, the segment number is i, the importance based on the event appearance frequency is I frequency (i), and the negative value of the event appearance count cnt is substituted. For example, the segment is two times the number of occurrences of an event pattern I frequency (i) is -2, I frequency (i) of the segment is once the number of occurrences of the event pattern is -1. At this time, i satisfying the following is obtained, and the i-th segment is selected as supplementary information (supplemental information selection function).
argmax (I frequency (i)) (2)

このとき、質問対象選択関数と補足情報選択関数は、単純な線形和ではなく、例えば、システム重要度の影響を大きくする等、重み付けを設定して和を取ってもよいし、非線形和としてもよい。また、用いる重要度は、システム重要度、セグメント長に基づく重要度、及びイベント出現頻度に基づく重要度だけでなく、ユーザ重要度、イベント発生からの経過時間に基づく重要度、質問対象の複雑さに基づく重要度、通常値からの乖離度に基づく重要度、及びデータ強度に基づく重要度のうちいずれかを用いてもよい。また、各種重要度は、各関数の双方に入ってもよい。   At this time, the question target selection function and the supplemental information selection function are not simple linear sums, and may be summed by setting weights, for example, by increasing the influence of system importance, or as non-linear sums. Good. The importance used is not only the system importance, the importance based on the segment length, and the importance based on the event appearance frequency, but also the user importance, the importance based on the elapsed time from the event occurrence, and the complexity of the question target Any one of the importance based on the importance, the importance based on the deviation from the normal value, and the importance based on the data intensity may be used. Various importance levels may be included in both functions.

このように質問対象選択と補足情報選択が行われたあと、質問文が生成される。質問文の生成は、質問対象文と補助文を合成することにより行う。   After the question target selection and the supplementary information selection are thus performed, a question sentence is generated. The question sentence is generated by synthesizing the question target sentence and the auxiliary sentence.

なお、図9の説明では、質問対象選択で2以上の連続する同種のイベントからなるイベントセグメント1(イベントパターンの1種)を選択したが、1つのイベントを選択してもよいし、イベントセグメント以外のイベントパターンを選択してもよい。
また、補足情報選択では、1つのイベントからなるイベントセグメント6、7、8を選択したが、イベントセグメント以外のイベントパターンを選択してもよい。
In the description of FIG. 9, the event segment 1 (one kind of event pattern) consisting of two or more consecutive events of the same type is selected in the question target selection, but one event may be selected, or the event segment Other event patterns may be selected.
Further, in the supplemental information selection, event segments 6, 7, and 8 consisting of one event are selected, but an event pattern other than the event segment may be selected.

図10は、質問対象文テーブルの例である。
質問対象文テーブルは、例えば、予め質問生成手段208に保持される。
質問対象文テーブルには、前処理で抽出された質問対象候補のイベントやイベントパターンのイベント表現が登録される。各イベント表現には、質問対象文が関連づけられている。質問対象選択にて、例えば、ある1つのイベントが選択された場合、そのイベント表現に関連づけられている質問対象文が質問文の合成に用られる。
FIG. 10 is an example of the question target sentence table.
The question target sentence table is held in advance in the question generation unit 208, for example.
In the question target sentence table, events of question target candidates and event expressions of event patterns extracted in the preprocessing are registered. A question target sentence is associated with each event expression. For example, when a certain event is selected in the question target selection, the question target sentence associated with the event expression is used for synthesizing the question sentence.

図11は、補助情報文テーブルの例である。
補助情報文テーブルは、例えば、予め質問生成手段208に保持される。
補助情報文テーブルには、検出しうるイベントが予め登録されており、各イベントに、これが補足情報選択で選択された場合に用いられる補助情報文が関連づけられている。なお、補助情報文テーブルにおいては、イベントパターンについて補助情報文を登録してもよい。
FIG. 11 is an example of the auxiliary information sentence table.
For example, the auxiliary information sentence table is held in the question generation unit 208 in advance.
Events that can be detected are registered in advance in the auxiliary information sentence table, and an auxiliary information sentence that is used when this event is selected in supplementary information selection is associated with each event. In the auxiliary information sentence table, an auxiliary information sentence may be registered for the event pattern.

図11においてAは質問対象となるイベントまたはイベントパターンを指し、Bは補助情報となるイベントを指す。AとBの時系列関係に基づく接続詞が選択され、補助情報となるイベントを表す主語と合成した補助情報文を質問文の合成に用いる。   In FIG. 11, A indicates an event or event pattern to be questioned, and B indicates an event that is auxiliary information. A conjunction based on the time series relationship between A and B is selected, and an auxiliary information sentence synthesized with a subject representing an event serving as auxiliary information is used for synthesizing a question sentence.

例えば、質問対象であるイベントパターンAとして、{device1.lumi.stepup,device1.lumi.keep@data1}が選択されたとする。この場合、質問対象文として「どこの電気つけたの」が選択される。イベントパターンAを想起しやすく補足する補助情報であるイベントBとして、door.acc.changeが選択されたとする。このとき、AとBの時系列関係はB→Aであるので、補助情報文として「玄関のドア開けたあと」が選択される。こうして選択された補助情報文と質問対象文を合成して、「さっき玄関のドア開けたあと、どこの電気つけたの」という質問文が生成される。   For example, it is assumed that {device1.lumi.stepup, device1.lumi.keep @ data1} is selected as the event pattern A to be questioned. In this case, “where electricity was turned on” is selected as the question target sentence. Assume that door.acc.change is selected as event B, which is auxiliary information that supplements event pattern A easily. At this time, since the time-series relationship between A and B is B → A, “after opening the front door” is selected as the auxiliary information sentence. The auxiliary information sentence thus selected and the question target sentence are synthesized, and a question sentence “Where did you turn on the electricity after opening the entrance door?” Is generated.

なお、想起しやすい形で表現するための補足情報は、センサ1のログやユーザ端末3の操作ログでもよく、ウェブ上での操作ログを用いてもよい。また、イベントセグメントの組み合わせで構成されるイベントパターンは、3つ以上のイベントセグメントから構成されるものとしてもよい。   The supplemental information for expressing in a form that is easy to recall may be a log of the sensor 1, an operation log of the user terminal 3, or an operation log on the web. In addition, an event pattern constituted by a combination of event segments may be constituted by three or more event segments.

図3に戻る。
(S21)
ユーザ端末3のユーザ端末通信手段301は、質問文を受信し、提示手段302は、受信された質問文をユーザに提示する。
Returning to FIG.
(S21)
The user terminal communication means 301 of the user terminal 3 receives the question text, and the presentation means 302 presents the received question text to the user.

図12は、質問文の提示例である。
提示手段302は、受信された質問文を図12に示すように提示する。
提示方法はテキストを表示するのでもよいし、グラフィック表現を用いてもよいし、音声出力を用いてもよい。ユーザ端末3がロボットのようにモータ制御も可能である場合、動きと合わせて表示してもよい。他の提示手段を用いてもよい。
(S23)
ユーザ端末3の入力手段303にユーザからの回答を入力する。
FIG. 12 is an example of presenting a question sentence.
The presenting means 302 presents the received question sentence as shown in FIG.
As a presentation method, text may be displayed, graphic expression may be used, and audio output may be used. When the user terminal 3 can also control the motor like a robot, it may be displayed together with the movement. Other presentation means may be used.
(S23)
An answer from the user is input to the input means 303 of the user terminal 3.

(S25)
ユーザ端末通信手段301は、入力された回答をサーバ装置2に送信し、回答送信が終了する。サーバ装置2は、回答を受信し、質問/回答格納手段209に格納する。すなわち、回答をラベルとして、質問対象として選択したイベントやイベントパターンに対応づけることができる。
(S25)
The user terminal communication unit 301 transmits the input answer to the server device 2, and the answer transmission ends. The server device 2 receives the answer and stores it in the question / answer storage means 209. That is, an answer can be used as a label and can be associated with an event or event pattern selected as a question target.

なお、回答格納状況に応じて,システム重要度を変更してもよい。すなわち、device1.lumi.keep@data1というイベントに関するユーザからのラベルが十分に収集され、ラベルの確度が高まった場合には、当該イベントに関するシステム重要度を2から0に変更してもよい。   The system importance may be changed according to the answer storage status. That is, when the label from the user related to the event device1.lumi.keep@data1 is sufficiently collected and the accuracy of the label is increased, the system importance related to the event may be changed from 2 to 0.

以上のように質問文を生成することにより、システムはユーザにとっての想起の手がかりと合わせて質問を投げかけることになるため、ユーザは回答を想起しやすくなるという効果が生じるものと考えられる。また、実世界でのコンテキストをシステムが検知するとユーザが認知するので、システムに対する親近感が増す効果も期待される。   By generating a question sentence as described above, the system will ask a question together with a clue for the user to recall, so that it is considered that the user can easily recall an answer. In addition, since the user recognizes when the system detects a context in the real world, an effect of increasing familiarity with the system is also expected.

なお、実施例1では、ユーザに質問を発信するタイミングの条件として、予め定められたイベントやイベントパターンを検出したが、条件は、イベントやイベントパターンに限らない。すなわち、ユーザに質問を発信するタイミングとして予め定められた条件が充足されればよい。以下の実施例でも同様である。   In the first embodiment, a predetermined event or event pattern is detected as a condition for sending a question to the user. However, the condition is not limited to the event or event pattern. That is, it is only necessary to satisfy a predetermined condition as a timing for sending a question to the user. The same applies to the following embodiments.

[実施例2]
実施例2では、実施例1と同様に、質問対象リストが予め作成される。実施例1ではユーザ環境に導入されてから質問対象リストが作成されたのに対し、実施例2では、ユーザ環境に導入された時点で質問対象リストが既に用意されている。
システム構成図、ブロック図、フローチャートは実施例1と同様である。
実施例2では、ユーザの嗜好やパーソナリティを対話の中で集めていくような状況を考える。
[Example 2]
In the second embodiment, similarly to the first embodiment, a question target list is created in advance. In the first embodiment, the question target list is created after being introduced into the user environment. In the second embodiment, the question target list is already prepared when the question target list is introduced into the user environment.
The system configuration diagram, block diagram, and flowchart are the same as those in the first embodiment.
In the second embodiment, a situation is considered in which user preferences and personalities are collected in a dialogue.

図13は、実施例2の質問対象文テーブルの例である。
質問対象文テーブルには、例えば、ユーザの嗜好やパーソナリティのラベルを問い合わせるのに適した質問対象文が登録される。
FIG. 13 is an example of the question target sentence table of the second embodiment.
In the question target sentence table, for example, a question target sentence suitable for inquiring about a user's preference or personality label is registered.

ユーザとシステムの音声対話を通じてユーザの嗜好やパーソナリティを収集及び蓄積していくことにより、ユーザついてより詳細にシステムが把握していくような効果があると考えられる。また、単に嗜好やパーソナリティを対話システムにて唐突に尋ねるのではなく、実世界での出来事を起点として尋ねることにより、システムに対する親近感が増加する効果もあると考えられる。嗜好についてシステムから尋ねる具体的な内容としては、例えば、飲み物や食事に関する嗜好や、休憩時間の過ごし方の嗜好等が挙げられる。こうした嗜好に関する質問とセンサデータが予め対応付けられているものとする。   By collecting and accumulating user preferences and personalities through voice dialogue between the user and the system, it is considered that there is an effect that the system grasps the user in more detail. In addition, it is thought that there is an effect of increasing the familiarity with the system by not asking the taste and personality suddenly with the dialogue system but asking the event in the real world as the starting point. Specific contents for inquiring about the preference from the system include, for example, a preference for drinks and meals, a preference for how to spend breaks, and the like. It is assumed that such preference questions and sensor data are associated in advance.

この場合、生成される質問の種別として、センサ設置箇所.物理量.トリガー関数で表現されるイベントから類推される動詞の目的語を尋ねる質問、センサが設置されておらず動詞そのものが不明である場合に動詞を尋ねる質問、または漠然とした内容を尋ねる質問が考えられる。具体的には、目的語を尋ねる質問としては、「コップに設置した温度センサでupという変化を検出した」という意味であるcup.temp.upというイベントが検出された場合に、温かいものがコップに注がれた事は推定できるが、コップの温度以外のデータがない場合、何が注がれたかまでは推定することができない。このような場合に、「さっき温かい飲み物飲んでいたね。何飲んでたの?」と尋ねる等、cup.temp.upから類推される「飲む」という行動の目的語を尋ねる質問が考えられる。また、「ソファに設置した加速度センサでchangeという変化を検出した」という意味であるsofa.acc.changeというイベントが検出された際、ソファに座ったことは検出できたがそれ以外のデータが検出されない場合、ソファで何をして過ごしていたのか不明となる。このような際に動詞を尋ねる質問として、「さっきソファで何してたの?」と尋ねる質問が考えられる。また、漠然とした内容を尋ねる質問としては、「ドアに設置された加速度センサでchangeという変化を検出した」という意味であるdoor.acc.changeというイベントが検出された際、どこかへ出掛けたことは検出できるが、その出掛けた内容がどうであったかという感想は抽出できない。このような際に例えば感想や印象を尋ねる質問として、「さっき出掛けたみたいだけど、どうだった?」と尋ねる質問が考えられる。こうした質問に対する回答を収集していくことにより、ユーザプロファイル情報を蓄積していくことが可能となる。   In this case, as the type of question to be generated, the sensor installation location, physical quantity, question that asks the verb object inferred from the event expressed by the trigger function, and the verb itself is unknown because the sensor is not installed Can be a question asking for a verb or a question asking for vague content. Specifically, the question to ask for the object is that if an event called cup.temp.up is detected, which means "the temperature sensor installed in the cup has detected a change of up", Can be estimated, but if there is no data other than the temperature of the cup, it is not possible to estimate what was poured. In such a case, a question may be asked about the purpose of the action of “drinking” as inferred from cup.temp.up, such as asking “What were you drinking? In addition, when an event called sofa.acc.change, which means "change detected by an accelerometer installed on the sofa," was detected, sitting on the sofa was detected, but other data was detected. If not, it is unclear what you were doing on the couch. In such a case, as a question for asking a verb, a question asking "What were you doing on the sofa?" Also, as a question that asks vague content, when an event called door.acc.change was detected, which means "change detected by an acceleration sensor installed on a door", Can be detected, but it is not possible to extract the impression of how the contents went out. In such a case, for example, as a question to ask about impressions and impressions, a question that asks, “It seems like you went out earlier, how was it?” Can be considered. By collecting answers to these questions, it is possible to accumulate user profile information.

詳細なフローとしては、常時センサデータを取得し、イベントに変換する部分(S1、S3)は、実施例1と同様である。また、質問対象候補検出/格納処理において、質問対象となるイベント、またはイベントパターンが生じていないか常時監視する部分(S5)も実施例1と同様である。   As a detailed flow, the parts (S1, S3) that constantly acquire sensor data and convert it into events are the same as in the first embodiment. Further, in the question target candidate detection / storage process, the part (S5) for constantly monitoring whether or not an event or event pattern to be questioned has occurred is the same as in the first embodiment.

実施例2では、質問対象選択のパラメータとして、システム重要度、セグメント長に基づく重要度、イベント発生からの経過時間に基づく重要度、質問対象の複雑さに基づく重要度を用いて、質問対象候補の中から質問対象を選択する。   In the second embodiment, the question target candidate is used by using the system importance, the importance based on the segment length, the importance based on the elapsed time from the occurrence of the event, and the importance based on the complexity of the question object as parameters for question object selection. Select the question target.

システム重要度の定義は、第1の実施例と同じく、システムにとってそのラベルを問う重要度が質問対象リストと対応して設定されるものとし、0,1,2の3段階とする。システム重要度の設定方法は様々に考えられるが、実施例2の場合、未だ1度も問い合わせていない質問を2とし、1度は問い合わせた質問は1とし、閾値回数だけ該当するイベントに関する回答が得られた質問は0と定義する。システム重要度の値の設定方法はこれ以外の形式でもよく、該当する質問対象が検出されたら2回に1回、システム重要度を上げるように設計してもよいし、質問対象が検出されるたびにランダムにシステム重要度を変更してもよい。
セグメント長に基づく重要度は、実施例1と同様とする。
As in the first embodiment, the system importance level is defined by three levels of 0, 1, and 2 in which the importance level for the system asking the label is set in correspondence with the question target list. There are various ways to set the system importance, but in the case of Example 2, the question that has not been queried yet is set to 2, the question that has been queried once is set to 1, and the answer for the relevant event is the threshold number of times. The obtained question is defined as 0. The system importance value setting method may be in other formats, and it may be designed to increase the system importance once every time a relevant question target is detected, or the question target is detected The system importance may be changed randomly each time.
The importance based on the segment length is the same as in the first embodiment.

イベント発生からの経過時間に基づく重要度は、人の記憶の強度がイベント発生からの経過時間に応じて減衰することを反映したパラメータで、イベントが発生してから経過した時間が該当するイベントの想起しやすさに対して負の影響を与えるように定義する。ここでは、n分経過したイベントは、−0.1×nとして質問対象選択関数に寄与するものとする。   The importance based on the time elapsed since the event occurred is a parameter that reflects the decline of the person's memory intensity according to the time elapsed since the event occurred. Define to have a negative impact on recall. Here, an event that has passed n minutes is assumed to contribute to the question target selection function as −0.1 × n.

質問対象の複雑さに基づく重要度は、質問対象となる目的語や動詞の複雑さに応じて、想起しやすさが異なることを反映したパラメータである。例えば、「飲む」「掃除する」といった無意識でも取れるような行動を表す動詞の目的語を質問対象とする質問と比較し、「書く」「調べる」といったより高度な知的作業を含む動詞の目的語を質問対象とする質問の方が、回答内容が複雑であり、回答を想起しにくいことを反映させる。複雑さの度合いが高く想起しにくい質問対象は0, 中程度のものは1、複雑さの度合いが低く想起しやすい質問対象は2と、予め定義しておくものとする。   The importance based on the complexity of the question target is a parameter that reflects the difference in ease of recall depending on the complexity of the object or verb that is the question target. For example, the purpose of verbs that include more intelligent tasks such as “write” and “examine”, comparing the object of verbs that represent actions that can be taken unconsciously, such as “drink” and “clean”, with questions that are questions This reflects the fact that the answer is more complicated and the answer is less likely to be recalled for a question whose word is a question target. It is assumed that the question target with a high degree of complexity and difficult to recall is defined as 0, the middle one is defined as 1, and the question target with a low degree of complexity and easy to recall is defined as 2 in advance.

以上を質問対象選択関数としてまとめると以下のようになる。
argmax(Isystem(i)+Ilength(i)+Ilapse(i)+Icomplexity(i)) (3)
ここでは、システム重要度をIsystem(i)、セグメント長に基づく重要度をIlength(i)、イベント発生からの経過時間に基づく重要度をIlapse(i)、質問対象の複雑さに基づく重要度をIcomplexity(i)とする。
The above is summarized as a question target selection function as follows.
argmax (I system (i) + I length (i) + I lapse (i) + I complexity (i)) (3)
Here, the system importance is I system (i), the importance based on the segment length is I length (i), the importance based on the elapsed time from the event occurrence is I lapse (i), and based on the complexity of the question target Let importance be I complexity (i).

上記質問対象選択関数にて質問対象候補から、質問対象を選択した後、実施例1と同様にイベント出現頻度に基づく重要度を算出して補足情報を選択し、質問文を合成し、ユーザ端末3に質問文を表示して回答を得る。
補足情報選択後の処理は実施例1と同様である。
After selecting the question target from the question target candidates by the above question target selection function, the importance based on the event appearance frequency is calculated as in the first embodiment, the supplementary information is selected, the question sentence is synthesized, and the user terminal The question text is displayed in 3 and an answer is obtained.
The processing after selecting supplemental information is the same as in the first embodiment.

ここで、質問対象選択と補足情報選択で用いるパラメータは、実施例2で用いているパラメータの一部を用いるものとしてもよいし、入れ替えてもよい。実施例2で用いていないパラメータを追加してもよい。   Here, the parameters used in the question target selection and the supplemental information selection may be a part of the parameters used in the second embodiment, or may be interchanged. Parameters that are not used in the second embodiment may be added.

[実施例3]
実施例3は、バイタルデータに対するラベルに関する実施例である。
バイタルデータは個人差が大きく、ラベリングの対象とするデータを個人ごとに決める必要がある。
実施例3では、実施例1と同様に、質問対象リストが予め作成される。また、実施例1と同様に、ユーザ環境に導入されてから質問対象リストが作成される。
[Example 3]
Example 3 is an example relating to a label for vital data.
Vital data varies greatly from individual to individual, and it is necessary to determine the data to be labeled for each individual.
In the third embodiment, similarly to the first embodiment, a question target list is created in advance. As in the first embodiment, the question target list is created after being introduced into the user environment.

図14は、実施例3の質問対象文テーブルの例である。
質問対象文テーブルには、例えば、バイタルデータに対するラベルを問い合わせるのに適した質問対象文テーブルが登録される。
システム構成図、ブロック図、フローチャートは実施例1と同様である。
システムを導入してから定められた期間をキャリブレーション期間とし、キャリブレーション期間で得られたデータに対して分類器を作成する。入力されるバイタルデータは、心電、脈派、脈拍、呼吸量、筋電、皮膚電位、眼電位、脳波等が考えられる。分類器とは、入力されたバイタルデータから疲労、ストレス、感情等の度合いを分類するものであるとする。分類器で分類されたデータの挙動が質問対象リストとして作成される。以上は前処理としてフローチャートには記載しない。
FIG. 14 is an example of the question target sentence table of the third embodiment.
In the question target sentence table, for example, a question target sentence table suitable for inquiring a label for vital data is registered.
The system configuration diagram, block diagram, and flowchart are the same as those in the first embodiment.
A period determined after the introduction of the system is set as a calibration period, and a classifier is created for data obtained in the calibration period. The vital data to be input may be electrocardiogram, pulse group, pulse, respiratory rate, myoelectricity, skin potential, ocular potential, brain wave, and the like. The classifier classifies the degree of fatigue, stress, emotion, etc. from the input vital data. The behavior of the data classified by the classifier is created as a question target list. The above is not described in the flowchart as preprocessing.

前処理で作成された分類器で分類した結果に正解ラベルを付与するために、質問生成を行う。
詳細なフローとしては、常時センサデータを取得し、イベントに変換する部分(S1、S3)は、実施例1と同様である。また、質問対象候補検出/格納処理において、質問対象となるイベント、またはイベントパターンが生じていないか常時監視する部分(S5)も実施例1と同様である。
In order to give a correct answer label to the result classified by the classifier created in the preprocessing, a question is generated.
As a detailed flow, the parts (S1, S3) that constantly acquire sensor data and convert it into events are the same as in the first embodiment. Further, in the question target candidate detection / storage process, the part (S5) for constantly monitoring whether or not an event or event pattern to be questioned has occurred is the same as in the first embodiment.

実施例3では、質問対象選択のパラメータとして、システム重要度、セグメント長に基づく重要度、イベント発生からの経過時間に基づく重要度、通常値からの乖離度に基づく重要度、及びデータ強度に基づく重要度を用いて、質問対象候補の中から質問対象を選択する。   In the third embodiment, the question target selection parameters are based on the system importance, the importance based on the segment length, the importance based on the elapsed time from the event occurrence, the importance based on the deviation from the normal value, and the data intensity. A question target is selected from question target candidates using importance.

ここで、データ強度に基づく重要度とは、強度が強いセンサデータほど重要度を高く設定するパラメータとする。例えば、指定区間のデータ平均を決められた窓幅で算出する場合に、キャリブレーション期間で得られたデータの平均から大きく逸脱する場合を1とし、平均的な挙動である場合には0とする。この2つを分類する閾値はキャリブレーション期間に得られたデータから決定するものとする。   Here, the importance based on data intensity is a parameter that sets higher importance for sensor data with higher intensity. For example, when calculating the data average of a specified section with a predetermined window width, 1 is set when the data greatly deviates from the average of the data obtained during the calibration period, and 0 is set when the average behavior is obtained. . The threshold value for classifying the two is determined from data obtained during the calibration period.

また、通常値からの乖離度に基づく重要度とは、出現頻度が少ないセンサデータの波形ほど重要度を高く設定するパラメータとする。一般的な異常値検出アルゴリズムを用いてバイタルデータに対して異常値検出を行い、検出された場合に1とし、検出されない場合には0を出力するものとする。   The importance based on the degree of deviation from the normal value is a parameter that sets the importance higher for the waveform of the sensor data with a lower appearance frequency. An abnormal value detection is performed on vital data using a general abnormal value detection algorithm, and 1 is output when detected, and 0 is output when it is not detected.

なお、異常値検出アルゴリズムとしては、特定パターンを異常値として検出するものや、珍しいパターンを異常値として検出するもの等が挙げられるが、データ強度を用いる異常値検出アルゴリズムを通常値からの乖離度に基づく重要度に用いた場合は、前記データ強度に基づく重要度は等価となる。   Examples of abnormal value detection algorithms include those that detect specific patterns as abnormal values, and those that detect unusual patterns as abnormal values.However, the abnormal value detection algorithm that uses data intensity differs from the normal value. When used for the importance based on, the importance based on the data intensity is equivalent.

以上を質問対象選択関数としてまとめると以下のようになる。
argmax(Isystem(i)+Ilength(i)+Ilapse(i)+Ianomaly(i)+ Iintensity(i)) (4)
ここでは、システム重要度をIsystem(i)、セグメント長に基づく重要度をIlength(i)、イベント発生からの経過時間に基づく重要度をIlapse(i)、通常値からの乖離度に基づく重要度をIanomaly(i)、データ強度に基づく重要度をIintensity(i)とする。
The above is summarized as a question target selection function as follows.
argmax (I system (i) + I length (i) + I lapse (i) + I anomaly (i) + I intensity (i)) (4)
Here, the system importance is I system (i), the importance based on the segment length is I length (i), the importance based on the elapsed time from the event occurrence is I lapse (i), and the deviation from the normal value The importance based on I anomaly (i) and the importance based on data intensity is I intensity (i).

上記質問対象選択関数にて質問対象候補から、質問対象を選択した後、実施例1と同様にイベント出現頻度に基づく重要度を算出して補足情報を選択し、質問文を合成し、ユーザ端末に質問文を表示して回答を得る。   After selecting the question target from the question target candidates by the above question target selection function, the importance based on the event appearance frequency is calculated as in the first embodiment, the supplementary information is selected, the question sentence is synthesized, and the user terminal Display the question text and get an answer.

補足情報選択後の処理は実施例1と同様で、例えば、疲労度が非常に強く検出された場合に、強い疲労を検出した後コップにおいてcup.acc.changeとcup.temp.upが1度だけ検出されていたためにこれを補足情報として選択したとし、「さっき何か温かいものを飲む前にすごく疲れてた?」という質問文を生成する。   The processing after selecting supplementary information is the same as in the first embodiment. For example, when the fatigue level is detected to be very strong, cup.acc.change and cup.temp.up are once in the cup after detecting strong fatigue. Since it was detected only as a supplementary information, a question sentence “Are you tired before drinking something warm?” Is generated.

なお、質問対象選択と補足情報選択で用いるパラメータは、実施例3で用いているパラメータの一部を用いるものとしてもよいし、入れ替えてもよい。実施例3で用いていないパラメータを追加してもよい。   In addition, the parameter used by question object selection and supplement information selection may use a part of parameter used in Example 3, and may be replaced. Parameters that are not used in the third embodiment may be added.

[実施例4]
実施例4は、車椅子の走行に対するラベルに関する実施例である。
実施例4では、実施例1と同様に、質問対象リストが予め作成される。また、実施例2と同様に、ユーザ環境に導入された時点で質問対象リストが既に用意されているものとする。
[Example 4]
Example 4 is an example relating to a label for traveling of a wheelchair.
In the fourth embodiment, similarly to the first embodiment, a question target list is created in advance. Similarly to the second embodiment, it is assumed that a question target list is already prepared when it is introduced into the user environment.

図15は、実施例4の質問対象文テーブルの例である。
質問対象文テーブルには、例えば、車椅子の走行に対するラベルを問い合わせるのに適した質問対象文が登録される。
FIG. 15 is an example of the question target sentence table of the fourth embodiment.
In the question target sentence table, for example, a question target sentence suitable for inquiring a label for wheelchair travel is registered.

図16は、実施例4のブロック図である。
サーバ装置2は、特にユーザに問い合わせたい質問対象となる特定のイベントをユーザに印象づけるべく、当該イベントが生じた際に、メッセージをユーザ端末3に出力するイベントインデックス手段210を更に備える。イベントインデックス手段210を起動させるイベントは予め質問対象リストの中で定義されているものとする。
FIG. 16 is a block diagram of the fourth embodiment.
The server device 2 further includes an event index unit 210 that outputs a message to the user terminal 3 when the event occurs in order to impress the user on a specific event that is a question target to be particularly inquired to the user. It is assumed that the event that activates the event index unit 210 is defined in the question target list in advance.

メッセージを出力するイベントの検出はイベントインデックス手段210で行い、メッセージの出力はユーザ端末3で行うものとする。メッセージの形態は音声出力でもテキスト出力でもよいし、その他の出力の形態でもよい。例えば、質問対象リストに急停止のイベントが定義してある場合、急停止が生じた際、当該イベントを検出した直後にユーザ端末3からから「うわ!」というメッセージを出力する。このように特定のイベントに対してメッセージを出力することにより、メッセージが出力されたイベントに関してはユーザにとって印象づけられ、記憶が強化されて想起しやすくする効果があると考えられる。ここで、出力するメッセージは、予めイベントに対応づけておくのでもよいし、イベントに関わる信号の強度に応じてメッセージ内容を動的に変更するようにしてもよい。   It is assumed that an event that outputs a message is detected by the event index unit 210, and the message is output by the user terminal 3. The form of the message may be voice output or text output, or other output form. For example, when a sudden stop event is defined in the question target list, when a sudden stop occurs, a message “Wow!” Is output from the user terminal 3 immediately after the event is detected. By outputting a message for a specific event in this way, it is considered that the event for which the message is output is impressed by the user, and the memory is strengthened so that it can be easily recalled. Here, the message to be output may be associated with an event in advance, or the message content may be dynamically changed according to the strength of a signal related to the event.

例えば、前進、後進、右折、左折、右旋回(右Uターン)、左旋回(左Uターン)、停止、急停止、迂回といった操作を判定するトリガー関数が予め設定されており、これらに対するイベントである、wheelchair.innertial.forward、wheelchair.innertial.backward、wheelchair.innertial.turn-right、wheelchair.innertial.turn-left、wheelchair.innertial.u-turn-right、wheelchair.innertial.u-turn-left、wheelchair.innertial.normal-stop、wheelchair.innertial.sudden-stop、wheelchair.innertial.detourが出力されるものとする。   For example, trigger functions that determine operations such as forward, backward, right turn, left turn, right turn (right U-turn), left turn (left U-turn), stop, sudden stop, detour are set in advance, and events for these Wheelchair.innertial.forward, wheelchair.innertial.backward, wheelchair.innertial.turn-right, wheelchair.innertial.turn-left, wheelchair.innertial.u-turn-right, wheelchair.innertial.u-turn-left , Wheelchair.innertial.normal-stop, wheelchair.innertial.sudden-stop, wheelchair.innertial.detour are output.

ここで、innertialとは慣性センサを指しており、これらの操作を慣性センサである加速度センサとジャイロセンサで判定するものとする。各操作判定のうち、特に街中のバリアに関するものであると考えられる、左右のUターン及び迂回、危険に関するものであると考えられる急停止のイベントについて、Uターン、迂回、及び急停止をした理由を問うような場面を考える。ユーザとシステムの音声対話を通じてバリアや危険に関するラベルを収集及び蓄積していくことにより、車いすユーザ目線の意見を反映したバリアフリーに関する地図を作成可能になると考えられる。バリアや危険に関する質問とイベントが予め対応付けられているものとする。   Here, “innertial” refers to an inertial sensor, and these operations are determined by an acceleration sensor and a gyro sensor which are inertial sensors. Reasons for making U-turns, detours, and sudden stops for left-right U-turns and detours, which are considered to be related to barriers in the city, and sudden stop events that are considered to be dangerous. Think about a scene that asks. By collecting and accumulating labels on barriers and dangers through voice dialogue between the user and the system, it is considered that a barrier-free map reflecting the opinions of the wheelchair users can be created. Assume that questions and events related to barriers and dangers are associated in advance.

この場合、生成される質問の種別として、センサ設置箇所、物理量、トリガー関数で表現されるイベントが生じた理由を尋ねる質問が考えられる。具体的には、理由を尋ねる質問としては、「車いすに設置した慣性センサで急停止を検出した」という意味であるwheelchair.innertial.sudden-stopというイベントが検出された場合に、急停止したことは推定できるが、急停止した理由までは推定することができない。このような場合に、「さっき急停止したね。どうしたの?」と尋ねる等、wheelchair.innertial.sudden-stopから判定される「急停止」という行動の理由を尋ねる質問が考えられる。こうした質問に対する回答を収集していくことにより、車いすユーザ目線のバリアや危険に関する情報を蓄積していくことが可能となる。   In this case, as a type of question to be generated, a question asking why the event represented by the sensor installation location, physical quantity, and trigger function has occurred can be considered. Specifically, the reason for asking the reason is that if an event of wheelchair.innertial.sudden-stop was detected, which means that a sudden stop was detected by an inertial sensor installed on the wheelchair, Can be estimated, but the reason for the sudden stop cannot be estimated. In such a case, a question may be asked about the reason for the action of “sudden stop” determined from wheelchair.innertial.sudden-stop, such as asking “What did you do?” By collecting answers to these questions, it becomes possible to accumulate information on barriers and dangers of wheelchair users.

詳細なフローとしては、常時センサデータを取得し、イベントに変換する部分(S1、S3)は、実施例1と同様である。また、質問対象候補検出/格納処理において、質問対象となるイベント、またはイベントパターンが生じていないか常時監視する部分(S5)も実施例1と同様である。   As a detailed flow, the parts (S1, S3) that constantly acquire sensor data and convert it into events are the same as in the first embodiment. Further, in the question target candidate detection / storage process, the part (S5) for constantly monitoring whether or not an event or event pattern to be questioned has occurred is the same as in the first embodiment.

予めイベントインデックス手段210が発動するように設定されたイベントが生じた際には、予め設定されたメッセージが出力される。   When an event set in advance so that the event index means 210 is triggered occurs, a preset message is output.

実施例4では、質問対象選択のパラメータとして、システム重要度、ユーザ重要度、セグメント長に基づく重要度、イベント発生からの経過時間に基づく重要度、通常値からの乖離度に基づく重要度、データ強度に基づく重要度、及びイベントインデックスに基づく重要度を用い、質問対象候補の中から質問対象を選択する。   In the fourth embodiment, as the target selection parameters, the system importance, the user importance, the importance based on the segment length, the importance based on the elapsed time from the event occurrence, the importance based on the deviation from the normal value, data The question target is selected from the question target candidates using the importance based on the strength and the importance based on the event index.

ここで、ユーザ重要度とは、ユーザの観点から見た重要度であり、予めイベントと併せて定義されているものとする。例えば慣性センサだけでなく本実施例のシステムがGPSを有する場合、位置情報に関して、場所Aはユーザにとって意味の強い場所で、場所Bはユーザにとって意味の弱い場所であるというユーザ重要度が定義されているものとする。この場合、場所Aに滞在するとユーザ重要度として1を返し、場所Bに滞在するとユーザ重要度として0を返す。場所Aに関する出来事について尋ねた方が、場所Bに関する出来事について尋ねるよりも、ユーザにとって意味があるので、ユーザが想起しやすいという効果があると考えられる。   Here, the user importance is an importance viewed from the viewpoint of the user, and is defined in advance together with the event. For example, when not only an inertial sensor but also the system of the present embodiment has GPS, a user importance level is defined that location A is a place that is meaningful to the user and place B is a place that is not meaningful to the user. It shall be. In this case, if the user stays at the location A, 1 is returned as the user importance level, and if the user stays at the location B, 0 is returned as the user importance level. Since it is more meaningful for the user to ask about the event related to the place A than to ask about the event related to the place B, it is considered that there is an effect that the user can easily recall.

また、イベントインデックスに基づく重要度とは、システムからのメッセージ出力の効果を反映したパラメータであり、本実施例の場合、システムから音声メッセージが出力されたイベントに関しては1、そうでないイベントに関しては0が与えられるものとする。   The importance based on the event index is a parameter reflecting the effect of the message output from the system. In the case of this embodiment, 1 is assigned to an event in which a voice message is output from the system, and 0 is assigned to an event that is not. Shall be given.

以上を質問対象選択関数としてまとめると以下のようになる。
argmax(Isystem(i)+Iuser(i)+Ilength(i)+Ilapse(i)+Ianomaly(i)+ Iintensity(i)+ Iindex(i)) (5)
ここでは、システム重要度をIsystem(i)、ユーザ重要度をIuser(i)、セグメント長に基づく重要度をIlength(i)、イベント発生からの経過時間に基づく重要度をIlapse(i)、通常値からの乖離度に基づく重要度をIanomaly(i)、データ強度に基づく重要度をIintensity(i)、イベントインデックスに基づく重要度をIindex(i)とする。
The above is summarized as a question target selection function as follows.
argmax (I system (i) + I user (i) + I length (i) + I lapse (i) + I anomaly (i) + I intensity (i) + I index (i)) (5)
Here, the system importance is I system (i), the user importance is I user (i), the importance based on the segment length is I length (i), and the importance based on the elapsed time from the event occurrence is I lapse ( i), the importance based on the deviation from the normal value is I anomaly (i), the importance based on the data intensity is I intensity (i), and the importance based on the event index is I index (i).

上記質問対象選択関数にて質問対象候補から、質問対象を選択した後、実施例1と同様にイベント出現頻度に基づく重要度を算出して補足情報を選択し、質問文を合成し、ユーザ端末に質問文を表示して回答を得る。
補足情報選択後の処理は実施例1と同様である。
After selecting the question target from the question target candidates by the above question target selection function, the importance based on the event appearance frequency is calculated as in the first embodiment, the supplementary information is selected, the question sentence is synthesized, and the user terminal Display the question text and get an answer.
The processing after selecting supplemental information is the same as in the first embodiment.

なお、質問対象選択と補足情報選択で用いるパラメータは、実施例4で用いているパラメータの一部を用いるものとしてもよいし、入れ替えてもよい。実施例4で用いていないパラメータを追加してもよい。   In addition, the parameter used by question object selection and supplement information selection may use a part of parameter used in Example 4, and may be replaced. Parameters that are not used in the fourth embodiment may be added.

その他、重要度の段階数や関数の構成等について、この発明の要旨を逸脱しない範囲で種々変形して実施可能である。例えば、重要度の段階数は3段階でなくともよいし、離散的ではなく連続的値を取ってもよい。また、各実施例において、質問対象選択関数と補足情報選択関数は各パラメータが線形に影響するように設計しているが、非線形の要素を加えてもよいし、重みを与えてもよい。   In addition, the number of importance levels, the function configuration, and the like can be variously modified without departing from the spirit of the present invention. For example, the number of importance levels may not be three, or may be a continuous value rather than discrete. In each embodiment, the question target selection function and the supplementary information selection function are designed so that each parameter affects linearly, but a non-linear element may be added or a weight may be given.

また、サーバ装置2としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。   A computer program for causing a computer to function as the server apparatus 2 can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape, and a communication network such as the Internet can be used. And can be widely distributed.

1 センサ
2 サーバ装置
3 ユーザ端末
101 センシング手段
102 センシング通信手段
201 サーバ通信手段
202 センサデータログ格納手段
203 イベント検出手段
204 イベントログ格納手段
205 質問対象検出手段
206 質問対象候補一時格納手段
207 質問発信タイミング検出手段
208 質問生成手段
209 質問/回答格納手段
210 イベントインデックス手段
301 ユーザ端末通信手段
302 提示手段
303 入力手段
DESCRIPTION OF SYMBOLS 1 Sensor 2 Server apparatus 3 User terminal 101 Sensing means 102 Sensing communication means 201 Server communication means 202 Sensor data log storage means 203 Event detection means 204 Event log storage means 205 Question target detection means 206 Question target candidate temporary storage means 207 Question transmission timing Detection means 208 Question generation means 209 Question / answer storage means 210 Event index means 301 User terminal communication means 302 Presentation means 303 Input means

Claims (6)

サーバ装置の動作方法であって、
前記サーバ装置が、ユーザの周囲におけるセンサの設置場所、当該センサの種別および当該センサから出力されるセンサデータにより検出されるトリガの種別で表現されるイベントを入力するステップと、
前記サーバ装置が、前記ユーザに質問を発信するタイミングの契機として予め定められた条件を検出するステップと、
前記サーバ装置が、前記契機としての条件が検出されるまでの質問対象区間に入力されたイベントまたはイベントパターンであり且つ予めシステム重要度に対応づけられたイベントまたはイベントパターンと同じものを質問対象候補として検出し、複数の当該各質問対象候補について、該当のシステム重要度を用いて選択のための値を計算し、最大の当該値に対応する質問対象候補を質問対象として選択するステップと
を含むことを特徴とするサーバ装置の動作方法。
A method of operating a server device,
The server device inputs an event expressed by the location of the sensor around the user, the type of the sensor, and the type of trigger detected by the sensor data output from the sensor;
The server device detecting a predetermined condition as an opportunity for sending a question to the user;
The server device is an event or event pattern that is input in the question target section until the condition as the trigger is detected, and the same event or event pattern that is previously associated with the system importance is the question target candidate And calculating a value for selection using the corresponding system importance for each of the plurality of question target candidates, and selecting a question target candidate corresponding to the maximum corresponding value as a question target. A method of operating a server device, comprising:
前記サーバ装置が、前記質問対象に予め対応づけられた質問対象文を含む質問文を生成する
ことを特徴とする請求項1記載のサーバ装置の動作方法。
The operation method of the server device according to claim 1, wherein the server device generates a question sentence including a question target sentence associated with the question target in advance.
前記サーバ装置が、前記質問対象と同時もしくは連続して入力されたイベントまたはイベントパターンを検出し、複数の当該各イベントまたはイベントパターンの出現頻度の低さを示す値を計算し、最も低い出現頻度を示す当該値に対応するイベントまたはイベントパターンを選択する
ことを特徴とする請求項1または2記載のサーバ装置の動作方法。
The server device detects an event or event pattern input simultaneously or continuously with the question target, calculates a value indicating a low frequency of appearance of each of the plurality of events or event patterns, and has the lowest frequency of appearance The server device operating method according to claim 1, wherein an event or an event pattern corresponding to the value indicating is selected.
前記サーバ装置が、少なくとも1つのイベントまたはイベントパターンにつき、当該1つのイベントまたはイベントパターンに対応する補助情報文を記憶している場合において、前記出現頻度を用いて計算した値により選択したイベントまたはイベントパターンが前記1つのイベントまたはイベントパターンに対応する場合は、当該補助情報文を用いて前記質問文を生成する
ことを特徴とする請求項3記載のサーバ装置の動作方法。
When the server device stores an auxiliary information sentence corresponding to the one event or event pattern for at least one event or event pattern, the event or event selected by the value calculated using the appearance frequency The server device operating method according to claim 3, wherein, when a pattern corresponds to the one event or event pattern, the question sentence is generated using the auxiliary information sentence.
サーバ装置であって、
ユーザの周囲におけるセンサの設置場所、当該センサの種別および当該センサから出力されるセンサデータにより検出されるトリガの種別で表現されるイベントを入力する手段と、
前記ユーザに質問を発信するタイミングの契機として予め定められた条件を検出する手段と、
前記契機としての前記条件が検出されるまでの質問対象区間に入力されたイベントまたはイベントパターンであり且つ予めシステム重要度に対応づけられたイベントまたはイベントパターンと同じものを質問対象候補として検出し、複数の当該各質問対象候補について、該当のシステム重要度を用いて選択のための値を計算し、最大の当該値に対応する質問対象候補を質問対象として選択する手段と
を備えることを特徴とするサーバ装置。
A server device,
Means for inputting an event expressed by the location of the sensor around the user, the type of the sensor, and the type of trigger detected by the sensor data output from the sensor;
Means for detecting a predetermined condition as a trigger for sending a question to the user;
The event or event pattern input to the question target section until the condition as the trigger is detected, and the same event or event pattern previously associated with the system importance is detected as a question target candidate, A means for calculating a value for selection using a corresponding system importance for each of the plurality of question target candidates, and selecting a question target candidate corresponding to the maximum value as a question target. Server device.
請求項5記載のサーバ装置としてコンピュータを機能させるためのコンピュータプログラム。
A computer program for causing a computer to function as the server device according to claim 5.
JP2015009942A 2015-01-22 2015-01-22 Server device operating method, server device, and computer program Active JP6263135B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015009942A JP6263135B2 (en) 2015-01-22 2015-01-22 Server device operating method, server device, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015009942A JP6263135B2 (en) 2015-01-22 2015-01-22 Server device operating method, server device, and computer program

Publications (2)

Publication Number Publication Date
JP2016134109A JP2016134109A (en) 2016-07-25
JP6263135B2 true JP6263135B2 (en) 2018-01-17

Family

ID=56464409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015009942A Active JP6263135B2 (en) 2015-01-22 2015-01-22 Server device operating method, server device, and computer program

Country Status (1)

Country Link
JP (1) JP6263135B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200293563A1 (en) * 2017-08-28 2020-09-17 Sony Corporation Information processor and information processing method
JP7071717B2 (en) * 2017-09-05 2022-05-19 株式会社国際電気通信基礎技術研究所 Event sequence extraction device, event sequence extraction method and event extraction program
CN109492074A (en) * 2018-11-22 2019-03-19 广州小鹏汽车科技有限公司 Intelligent greeting method, system, storage medium and automobile based on Weather information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06162090A (en) * 1992-11-20 1994-06-10 Nippon Telegr & Teleph Corp <Ntt> Question sentence generating device
JP2005031916A (en) * 2003-07-10 2005-02-03 Nippon Telegr & Teleph Corp <Ntt> Situation adaptive service utilizing device, method, program, and storage medium recording the program
JP5618193B2 (en) * 2010-08-25 2014-11-05 株式会社ニコン Information recording / playback system
JP5953673B2 (en) * 2011-08-11 2016-07-20 日本電気株式会社 Action identification device, action identification method, and program
US20130066815A1 (en) * 2011-09-13 2013-03-14 Research In Motion Limited System and method for mobile context determination

Also Published As

Publication number Publication date
JP2016134109A (en) 2016-07-25

Similar Documents

Publication Publication Date Title
US20170010663A1 (en) Smart wearable devices and methods for optimizing output
JP5060978B2 (en) Information presentation system, program, information storage medium, and information presentation system control method
KR102663888B1 (en) Refrigerator and method of controlling thereof
US10347152B2 (en) Indirect bio-feedback health and fitness management system
US20080077277A1 (en) Apparatus and method for expressing emotions in intelligent robot by using state information
WO2017033697A1 (en) Lifestyle management assistance device and lifestyle management assistance method
JP2017168097A (en) System and method for providing context-specific vehicular driver interactions
JP2016146173A (en) Stimulation presentation system, stimulation presentation method, computer, and control method
CN107405120A (en) Information processor, control method and program
KR20150000921A (en) System and method for service design lifestyle
JP6263135B2 (en) Server device operating method, server device, and computer program
CN109074481A (en) Entity is identified based on sensing data
Ogden The effect of facial attractiveness on temporal perception
US10885807B1 (en) Indirect bio-feedback health and fitness management system
JP2019102076A (en) Inferring user lifestyle and preference information from images
CN107515900A (en) Intelligent robot and its event memorandum system and method
CN106231996A (en) For providing the system and method for the instruction to individual health
CN110020165A (en) A kind of dietary recommendations continued method and domestic robot
KR101562247B1 (en) System and method for lifestyle analysis
KR102177740B1 (en) Method for estimating congnitive ability, system thereof and wearable device therefor
KR101575886B1 (en) Apparatus and method for modeling a personalized lifestyle
JP7139688B2 (en) SLEEP EVALUATION REPORT GENERATOR AND SLEEP EVALUATION REPORT GENERATION METHOD
US20180110454A1 (en) Mental Suffering Monitoring System
JP2018171124A (en) Sleep state estimation device, sleep state estimation method, and sleep state estimation program
KR20160037861A (en) Lifestyle data management system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171207

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: 20171212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171215

R150 Certificate of patent or registration of utility model

Ref document number: 6263135

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150