JP2019016050A - Message generation device, message generation method, and message generation program - Google Patents
Message generation device, message generation method, and message generation program Download PDFInfo
- Publication number
- JP2019016050A JP2019016050A JP2017131182A JP2017131182A JP2019016050A JP 2019016050 A JP2019016050 A JP 2019016050A JP 2017131182 A JP2017131182 A JP 2017131182A JP 2017131182 A JP2017131182 A JP 2017131182A JP 2019016050 A JP2019016050 A JP 2019016050A
- Authority
- JP
- Japan
- Prior art keywords
- message
- community
- information
- user
- public
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 95
- 230000004044 response Effects 0.000 claims abstract description 74
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 238000000605 extraction Methods 0.000 claims description 26
- 238000012545 processing Methods 0.000 claims description 25
- 239000000284 extract Substances 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 26
- 230000006870 function Effects 0.000 description 6
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
Abstract
Description
本発明は、情報を生成するメッセージ生成装置、メッセージ生成方法、およびメッセージ生成プログラムに関する。 The present invention relates to a message generation device, a message generation method, and a message generation program that generate information.
近年、Botシステムが普及している。Botシステムは、ユーザ端末からメッセージを受け付けたことに応じて、このメッセージに対応する応答メッセージをユーザ端末に出力するシステムである。特許文献1は、Botシステムとユーザとの会話の特徴を特定し、特定された特徴に応じて応答メッセージの内容を変形し、応答することで、対話エージェントシステムがユーザと適切な会話を行う方法を開示する。特許文献2は、ユーザ端末から新規対話ルールとユーザIDとを受け付け、対話ルールDBに登録し、登録された新規対話ルールに含まれる入力ワード及び応答メッセージのそれぞれに対して、受け付けられたユーザIDをアクセス許可するようにアクセス権を設定するBotシステムを開示する。
In recent years, the Bot system has become widespread. The Bot system is a system that outputs a response message corresponding to the message to the user terminal in response to receiving the message from the user terminal.
しかしながら、特許文献1は、コミュニティが複数存在する場合、ユーザがアクセスできる情報の制限はできず、セキュリティ上問題がある。また、特許文献2は、アクセス制限についての記載はあるものの、このアクセス制限は、対話ルールの登録に応じて、その対話ルールに基づき、あるユーザがアクセス可能なメッセージを特定する。しかしながら、特許文献2のBotシステムは、質問メッセージと応答メッセージを対応付けて管理しなければならず、ユーザからの質問に対し予め定めた応答メッセージしか返すことしかできない。したがって、予め対応づけられていない蓄積された情報を有効に活用した柔軟な応答をすることができない。
However, in
本発明は、セキュリティの高い応答内容を柔軟に選択することを目的とする。 An object of the present invention is to flexibly select response contents with high security.
本願において開示される発明の一側面となるメッセージ生成装置は、記憶デバイスに、アクセス制御情報とメッセージ情報とを記憶しており、前記アクセス制御情報は、ユーザと前記ユーザが所属するコミュニティとを関連付けた情報であり、前記メッセージ情報は、メッセージごとに生成元のコミュニティとメッセージ内容とを関連付けた情報であり、プロセッサは、前記ユーザの前記端末から質問メッセージを受信する受信処理と、前記受信処理によって受信された質問メッセージを解析して、当該質問メッセージに類似する類似質問メッセージを前記メッセージ情報から取得する解析処理と、前記質問メッセージの生成元のコミュニティとは異なり、かつ、前記ユーザが所属する他のコミュニティを、前記アクセス制御情報から検索する検索処理と、前記検索処理による検索結果に基づいて、前記類似質問メッセージに対応する応答メッセ―ジを生成する生成処理と、前記生成処理によって生成された応答メッセージを送信する送信処理と、を実行することを特徴とする。 A message generation device according to one aspect of the invention disclosed in the present application stores access control information and message information in a storage device, and the access control information associates a user with a community to which the user belongs. The message information is information that associates a message generation community with message content for each message, and the processor performs a reception process for receiving a question message from the terminal of the user, and the reception process. An analysis process for analyzing a received question message and obtaining a similar question message similar to the question message from the message information is different from a community from which the question message is generated, and the user belongs to Search the access control information for other communities A search process, a generation process for generating a response message corresponding to the similar question message based on a search result by the search process, and a transmission process for transmitting the response message generated by the generation process are executed. It is characterized by doing.
本発明の代表的な実施の形態によれば、セキュリティの高い応答内容を柔軟に選択することができる。前述した以外の課題、構成及び効果は、以下の実施例の説明により明らかにされる。 According to the representative embodiment of the present invention, it is possible to flexibly select a response content with high security. Problems, configurations, and effects other than those described above will become apparent from the description of the following embodiments.
<アクセス管理例>
図1は、本実施例にかかるメッセージ生成装置によるアクセス管理例を示す説明図である。(A)〜(D)において、メッセージ生成装置100は、上述したBotを有し、各コミュニティに所属するユーザと対話可能である。また、コミュニティとは、ユーザが所属するグループである。ユーザは、1以上のコミュニティに所属することが可能である。たとえば、あるコミュニティに属するユーザは、当該ユーザが属する他のコミュニティへのアクセス権を有するが、当該ユーザが属さないコミュニティへのアクセス権を有しない。ユーザは、その所属するコミュニティに対しアクセス権を有する。したがって、所属するコミュニティ内の情報(たとえば、Botとの対話メッセージ)は、当該コミュニティに所属するユーザ間で共有される。
<Example of access management>
FIG. 1 is an explanatory diagram of an example of access management by the message generation device according to the present embodiment. In (A) to (D), the
(A)は、メッセージ生成装置100が、端末101からのアクセス権のないコミュニティへのアクセスの不可を自動返答する例である。たとえば、ユーザ甲は、コミュニティAに所属するが、コミュニティBに所属していない。この場合、たとえば、ユーザ甲は、自身の端末101を用いて、メッセージ生成装置100に質問メッセージ「X社の契約状況を教えて」をメッセージ生成装置100に送信する。メッセージ生成装置100は、コミュニティBに属する情報「X社の契約状況」を保持するが、ユーザ甲は、コミュニティBへのアクセス権を有しない。したがって、メッセージ生成装置100は、ユーザ甲の端末101に、回答メッセージとして「該当する情報はありませんでした。」を送信する。これにより、アクセス権限のないユーザへの情報提供を防止することができる。
(A) is an example in which the
(B)は、メッセージ生成装置100が解決策(ノウハウ、knowhow)を自動返答する例である。たとえば、ユーザ甲は、コミュニティA,Cに所属する。このため、ユーザ甲は、コミュニティA,Cへのアクセス権を有する。ユーザ甲は、自身の端末101を用いて、メッセージ生成装置100に質問メッセージ「WEBページの表示が崩れます」をメッセージ生成装置100に送信する。メッセージ生成装置100は、コミュニティDに属する情報「WEBページの表示方法」を保持する。ここで、メッセージ生成装置100は、コミュニティCを解決策の公開先コミュニティとし、コミュニティDを解決策の公開元コミュニティとして、管理している。このため、メッセージ生成装置100は、公開先コミュニティであるコミュニティCにも所属するユーザ甲の端末101に、解決策である回答メッセージ「ブラウザのキャッシュを消してください」を送信する。
(B) is an example in which the
これにより、複数コミュニティと対話をするBotであっても、ユーザ属性に応じてメッセージ生成装置100に蓄積された情報へのアクセスを制限することができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集することが可能となる。したがって、セキュリティ性を担保しつつ蓄積された情報を有効に活用して、適切な回答をすることができる。
As a result, even a Bot that interacts with a plurality of communities can restrict access to information stored in the
(C)は、メッセージ生成装置100が有識者(ノウフー、knowho)を自動返答する例である。有識者とは、解決策を有するユーザである。本例では、ユーザ乙を有識者とする。たとえば、ユーザ甲は、コミュニティA,Cに所属する。このため、ユーザ甲は、コミュニティA,Cへのアクセス権を有する。ユーザ甲は、自身の端末101を用いて、メッセージ生成装置100に質問メッセージ「製品Pの仕様がわかりません」をメッセージ生成装置100に送信する。メッセージ生成装置100は、コミュニティDに属する情報「製品Pの仕様」を保持する。ここで、メッセージ生成装置100は、コミュニティCを有識者の公開先コミュニティとし、コミュニティDを有識者の公開元コミュニティとして、管理している。このため、メッセージ生成装置100は、公開先コミュニティであるコミュニティCにも所属するユーザ甲の端末101に、解決策(製品Pの仕様)を有する有識者を紹介する紹介メッセージ「乙さんに聞いてみてください。乙さんのe‐mail:otsu@yyy.zzz」を送信する。
(C) is an example in which the
これにより、複数コミュニティと対話をするBotであっても、ユーザ属性に応じてメッセージ生成装置100に蓄積された情報へのアクセス制限をすることができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集し、有識者の紹介をすることができる。これにより、セキュリティ性を担保しつつ蓄積された情報を有効に活用することができる。
As a result, even a Bot interacting with a plurality of communities can restrict access to information stored in the
(D)は、メッセージ生成装置100が、解決策(ノウハウ、knowhow)が属するコミュニティに対し、質問者への解決策をフォロー依頼する例である。たとえば、ユーザ甲は、コミュニティA,Cに所属する。このため、ユーザ甲は、コミュニティA,Cへのアクセス権を有する。ユーザ甲は、自身の端末101を用いて、メッセージ生成装置100に質問メッセージ「X社との契約内容を知りたい」をメッセージ生成装置100に送信する。メッセージ生成装置100は、コミュニティEに属する情報「X社との契約内容」を保持する。ここで、メッセージ生成装置100は、コミュニティCを解決策のフォロー(依頼)元コミュニティとし、コミュニティD,Eを解決策のフォロー(依頼)先コミュニティとして、管理している。質問メッセージに対する解決策を有するフォロー先コミュニティは、コミュニティEである。このため、メッセージ生成装置100は、フォロー先コミュニティであるコミュニティEに、解決策を依頼する依頼メッセージ「X社との契約内容について、甲さんが情報を求めています。甲さんのe−mail:kou@xxx.yyy」を送信する。
(D) is an example in which the
これにより、複数コミュニティと対話をするBotであっても、ユーザ属性に応じてメッセージ生成装置100に蓄積された情報へのアクセス制限をすることができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集することが可能となり、セキュリティ性を担保しつつ蓄積された情報を有効に活用して、他コミュニティへの情報提供依頼をすることができる。
As a result, even a Bot interacting with a plurality of communities can restrict access to information stored in the
<システム構成例>
図2は、ネットワークシステムのシステム構成例を示す説明図である。ネットワークシステム2は、管理システム200と、端末101(たとえば、調達先や海外拠点の一般クライアント)と、を有し、これらは、インターネットなどの第1ネットワーク210により通信可能に接続される。
<System configuration example>
FIG. 2 is an explanatory diagram showing a system configuration example of the network system. The
管理システム200は、プロキシサーバ201と、第1APサーバ202と、第2APサーバ203と、データベースサーバ204と、端末101と、を有し、これらがLANなどの第2ネットワーク206により通信可能に接続される。プロキシサーバ201は、管理システム200と第1ネットワーク210との境界に配置され、第1ネットワーク210と管理システム200内部とを通信可能に接続する。プロキシサーバ201は、ファイアウォール機能も有する。
The
第1APサーバ202は、コミュニティを管理するサーバである。第2APサーバ203は、Botを管理するサーバである。データベースサーバ204は、データベース(DB)205を有し、DB205内の各種データを管理するサーバである。第1APサーバ202、第2APサーバ203、およびデータベースサーバ204は、それぞれ独立したサーバとしたが、これらのうち少なくとも2以上のサーバは、1台のコンピュータにより実現されてもよい。なお、図1に示したメッセージ生成装置100は、第1APサーバ202、第2APサーバ203、およびデータベースサーバ204のうち少なくとも第2APサーバ203の機能を有するコンピュータである。
The
管理システム200外、すなわち、第1ネットワーク210内の端末101は、プロキシサーバ201を介して、第1APサーバ202、第2APサーバ203、およびデータベースサーバ204にアクセス可能であり、管理システム200内の端末101は、第2ネットワーク206を介して第1APサーバ202、第2APサーバ203、およびデータベースサーバ204にアクセス可能である。
The terminal 101 outside the
<コンピュータのハードウェア構成例>
図3は、コンピュータのハードウェア構成例を示すブロック図である。ここで、コンピュータ300とは、図2に示した端末101および各種サーバ201〜204の総称である。コンピュータ300は、プロセッサ301と、記憶デバイス302と、入力デバイス303と、出力デバイス304と、通信インターフェース(通信IF305)と、を有する。プロセッサ301、記憶デバイス302、入力デバイス303、出力デバイス304、および通信IF305は、バス306により接続される。プロセッサ301は、コンピュータ300を制御する。記憶デバイス302は、プロセッサ301の作業エリアとなる。また、記憶デバイス302は、各種プログラムやデータを記憶する非一時的なまたは一時的な記録媒体である。記憶デバイス302としては、たとえば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、フラッシュメモリがある。入力デバイス303は、データを入力する。入力デバイス303としては、たとえば、キーボード、マウス、タッチパネル、テンキー、スキャナがある。出力デバイス304は、データを出力する。出力デバイス304としては、たとえば、ディスプレイ、プリンタがある。通信IF305は、ネットワーク(第1ネットワーク210、第2ネットワーク206)と接続し、データを送受信する。
<Computer hardware configuration example>
FIG. 3 is a block diagram illustrating a hardware configuration example of a computer. Here, the
<各種テーブルの記憶内容例>
つぎに、データベースサーバ204が管理するDB205内に記憶される各種テーブルについて説明する。なお、以下に示すテーブルは、第1APサーバ202や第2APサーバ203に保持されてもよい。また、以下に示すテーブルの説明において、AAフィールドbbb(AAはフィールド名、bbbは符号)の値を、AAbbbと表記する場合がある。たとえば、コミュニティIDフィールド401の値を、コミュニティID401と表記する。以下に示すテーブルは、具体的には、たとえば、図2に示した記憶デバイスに記憶される。
<Examples of stored contents of various tables>
Next, various tables stored in the
図4は、コミュニティ情報テーブルの記憶内容例を示す説明図である。コミュニティ情報テーブル400は、コミュニティに関する情報(以下、コミュニティ情報)を格納するテーブルである。コミュニティ情報テーブル400は、コミュニティIDフィールド401と、コミュニティ名フィールド402と、メールアドレスフィールド403と、を有する。同一行の各フィールドの値の組み合わせが、コミュニティ情報を構成するエントリである。
FIG. 4 is an explanatory diagram showing an example of the stored contents of the community information table. The community information table 400 is a table for storing information about the community (hereinafter referred to as community information). The community information table 400 has a
コミュニティIDフィールド401は、コミュニティIDを格納する記憶領域である。コミュニティID401は、コミュニティを一意に特定する識別情報である。コミュニティ名フィールド402は、コミュニティ名を格納する記憶領域である。コミュニティ名402は、コミュニティに付与された名称である。本例では、コミュニティ名402により、コミュニティを区別する。メールアドレスフィールド403は、コミュニティのメールアドレスを格納する記憶領域である。コミュニティのメールアドレス403宛に送信されたメールのメッセージ内容は、当該コミュニティに所属するユーザにより閲覧可能である。
The
図5は、アクセス権制御情報テーブルの記憶内容例を示す説明図である。アクセス権制御情報テーブル500は、アクセス権を制御する情報(以下、アクセス権制御情報)を格納するテーブルである。アクセス権制御情報テーブル500は、ユーザIDフィールド501と、コミュニティIDフィールド401と、を有する。同一行の各フィールドの組み合わせが、アクセス権制御情報を構成するエントリである。
FIG. 5 is an explanatory diagram of an example of stored contents of the access right control information table. The access right control information table 500 is a table that stores information for controlling access rights (hereinafter, access right control information). The access right control information table 500 has a
ユーザIDフィールド501は、ユーザIDを格納する記憶領域である。ユーザID501は、ユーザを一意に特定する識別情報である。コミュニティIDフィールド401は、ユーザID501のユーザが所属するコミュニティID401を格納する記憶領域である。
A
たとえば、1行目のエントリでは、ユーザID501が「U01」で、コミュニティID401が「CM01,CM03」である。したがって、ユーザIDが「U01」のユーザは、それぞれ「CM01」,「CM03」で特定されるコミュニティに対しアクセス権を有することを示す。
For example, in the entry on the first line, the
図6は、ユーザ情報テーブルの記憶内容例を示す説明図である。ユーザ情報テーブル600は、ユーザに関する情報(以下、ユーザ情報)を格納するテーブルである。ユーザ情報テーブル600は、ユーザIDフィールド501と、ユーザ名フィールド601と、メールアドレスフィールド602と、を有する。同一行の各フィールドの値の組み合わせが、ユーザ情報を構成するエントリである。
FIG. 6 is an explanatory diagram of an example of stored contents of the user information table. The user information table 600 is a table that stores information related to users (hereinafter referred to as user information). The user information table 600 has a
ユーザ名フィールド601は、ユーザ名を格納する記憶領域である。ユーザ名601は、ユーザに付与された名称(氏名でもよい)である。本例では、ユーザ名601により、ユーザを区別する。メールアドレスフィールド602は、ユーザのメールアドレスを格納する記憶領域である。
A
図7は、メッセージ情報テーブル700の記憶内容例を示す説明図である。メッセージ情報テーブル700は、メッセージに関する情報を格納するテーブルである。メッセージ情報テーブル700は、メッセージIDフィールド701と、コミュニティIDフィールド401と、メッセージ内容フィールド702と、応答メッセージIDフィールド703と、を有する。同一行の各フィールドの値の組み合わせが、メッセージ情報を構成するエントリとなる。
FIG. 7 is an explanatory diagram showing an example of the stored contents of the message information table 700. The message information table 700 is a table that stores information about messages. The message information table 700 includes a
メッセージIDフィールド701は、メッセージIDを格納する記憶領域である。メッセージID701は、メッセージを一意に特定する識別情報である。コミュニティIDフィールド401は、メッセージが作成されたコミュニティのコミュニティIDを格納する記憶領域である。なお、メッセージの作成元が第2APサーバ203、すなわち、Botである場合、コミュニティIDは、「Bot」となる。メッセージ内容フィールド702は、メッセージ内容を格納する記憶領域である。メッセージ内容702は、メッセージの本文の文字列である。メッセージ内容702は、たとえば、図1に示したメッセージms1〜ms8の本文の文字列である。
A
応答メッセージIDフィールド703は、応答メッセージIDを格納する記憶領域である。応答メッセージID703は、応答メッセージを一意に特定する識別情報である。応答メッセージは、メッセージID701で特定されるメッセージに応答したメッセージである。たとえば、回答メッセージms2,ms4(図1(A),(B))、有識者の紹介メッセージms6(図1(C))、解決策のフォロー依頼メッセージms8(図1(D))は、応答メッセージである。
The response
図8は、ノウハウ公開情報テーブルの記憶内容例を示す説明図である。ノウハウ公開情報テーブル800は、ノウハウの公開に関する情報(以下、ノウハウ公開情報)を格納するテーブルである。ノウハウ公開情報テーブル800は、ノウハウ公開先コミュニティIDフィールド801と、ノウハウ公開元コミュニティIDフィールド802と、を有する。同一行の各フィールドの値の組み合わせが、ノウハウ公開情報を構成するエントリとなる。
FIG. 8 is an explanatory diagram of an example of the contents stored in the know-how public information table. The know-how disclosure information table 800 is a table that stores information related to know-how disclosure (hereinafter, know-how disclosure information). The know-how disclosure information table 800 has a know-how disclosure destination
ノウハウ公開先コミュニティIDフィールド801は、ノウハウ公開先コミュニティIDを格納する記憶領域である。ノウハウ公開先コミュニティID801は、ノウハウ公開先コミュニティを一意に特定する識別情報である。ノウハウ公開先コミュニティは、ノウハウ(解決策)に対する質問メッセージが属するコミュニティである。ノウハウ公開元コミュニティIDフィールド802は、ノウハウ公開元コミュニティIDを格納する記憶領域である。ノウハウ公開元コミュニティID802は、ノウハウ公開元コミュニティを一意に特定する識別情報である。ノウハウ公開元コミュニティは、ノウハウ(解決策)の公開元、すなわち、解決策を保有するコミュニティである。
The know-how disclosure destination
図9は、ノウフー公開情報テーブルの記憶内容例を示す説明図である。ノウフー公開情報テーブル900は、ノウフーの公開に関する情報(以下、ノウフー公開情報)を格納するテーブルである。ノウフー公開情報テーブル900は、ノウフー公開先コミュニティIDフィールド901と、ノウフー公開元コミュニティIDフィールド902と、を有する。同一行の各フィールドの値の組み合わせが、ノウフー公開情報を構成するエントリとなる。
FIG. 9 is an explanatory diagram of an example of the contents stored in the Knowhow public information table. The know-how public information table 900 is a table for storing information related to the public knowledge of the know-how (hereinafter, know-how public information). The Know-Foo public information table 900 has a Know-Foo public destination
ノウフー公開先コミュニティIDフィールド901は、ノウフー公開先コミュニティIDを格納する記憶領域である。ノウフー公開先コミュニティID901は、ノウフー公開先コミュニティを一意に特定する識別情報である。ノウフー公開先コミュニティは、ノウハウ(解決策)に対する質問メッセージが属するコミュニティである。ノウフー公開元コミュニティIDフィールド902は、ノウフー公開元コミュニティIDを格納する記憶領域である。ノウフー公開元コミュニティID902は、ノウフー公開元コミュニティを一意に特定する識別情報である。ノウフー公開元コミュニティは、ノウハウ(解決策)の公開元、すなわち、解決策を保有するコミュニティである。
The Knowhow disclosure destination
図10は、ノウフー公開ユーザ情報テーブルの記憶内容例を示す説明図である。ノウフー公開ユーザ情報テーブル1000は、ノウフーとして公開されるユーザに関する情報(以下、ノウフー公開ユーザ情報)を格納するテーブルである。ノウフー公開ユーザ情報テーブル1000は、ノウフー公開ユーザIDフィールド1001と、コミュニティIDフィールド401と、を有する。同一行の各フィールドの値の組み合わせが、ノウフー公開ユーザ情報を構成するエントリとなる。
FIG. 10 is an explanatory diagram of an example of the contents stored in the Knowhow public user information table. The know-how public user information table 1000 is a table that stores information related to users who are disclosed as know-how (hereinafter, know-how public user information). The know-how public user information table 1000 has a know-how public
ノウフー公開ユーザIDフィールド1001は、ノウフー公開ユーザIDを格納する記憶領域である。ノウフー公開ユーザID1001は、ノウフー公開ユーザを一意に特定する識別情報である。ノウフー公開ユーザは、ノウフーとして公開されるユーザ、すなわち、有識者である。コミュニティIDフィールド401は、ノウフー公開ユーザが所属するコミュニティIDを格納する記憶領域である。
The know-how public
図11は、フォロー許可情報テーブルの記憶内容例を示す説明図である。フォロー許可情報テーブル1100は、フォロー許可に関する情報(以下、フォロー許可情報)を格納するテーブルである。フォロー許可情報テーブル1100は、フォロー先コミュニティIDフィールド1101と、フォロー元コミュニティIDフィールド1102と、を有する。同一行の各フィールドの値の組み合わせが、フォロー許可情報を構成するエントリとなる。
FIG. 11 is an explanatory diagram of an example of stored contents of the follow permission information table. The follow permission information table 1100 is a table that stores information related to follow permission (hereinafter, follow permission information). The follow permission information table 1100 has a follow destination
フォロー先コミュニティIDフィールド1101は、フォロー先コミュニティIDを格納する記憶領域である。フォロー先コミュニティID1101は、フォロー先コミュニティを一意に特定する識別情報である。フォロー先コミュニティは、フォロー依頼される側のコミュニティ、すなわち、質問の回答として提供可能なメッセージが属するコミュニティである。フォロー元コミュニティIDフィールド1102は、フォロー元コミュニティIDを格納する記憶領域である。フォロー元コミュニティID1102は、フォロー元コミュニティを一意に特定する識別情報である。フォロー元コミュニティは、フォロー依頼する側のコミュニティ、すなわち、質問メッセージの属するコミュニティである。
The follow destination
<メッセージ生成装置100の機能的構成例>
図12は、メッセージ生成装置100の機能的構成例を示すブロック図である。メッセージ生成装置100は、受信部1201と、解析部1202と、検索部1203と、生成部1204と、送信部1205と、特定部1206と、抽出部1207と、決定部1208と、を有する。これらは、具体的には、たとえば、図3に示した記憶デバイス302に記憶されたプログラムをプロセッサ301に実行させることにより実現される機能である。
<Example of Functional Configuration of
FIG. 12 is a block diagram illustrating a functional configuration example of the
受信部1201は、ユーザの端末101から質問に関するメッセージ(以下、質問メッセージ)を受信する受信処理を実行する。具体的には、たとえば、端末101は、ユーザID501と、ユーザの所属するコミュニティID401と、メッセージ内容702と、を含む質問メッセージを、第1APサーバ202に送信する。第1APサーバ202は、質問メッセージにメッセージID701を付与し、メッセージID701付与後の質問メッセージを第2APサーバ203に転送する。受信部1201は、第1APサーバ202から転送されてきた質問メッセージを受信する。
The receiving
解析部1202は、受信部1201の受信処理によって受信された質問メッセージを解析して、当該質問メッセージに類似する類似質問メッセージをメッセージ情報から取得する解析処理を実行する。具体的には、たとえば、解析部1202は、メッセージ情報テーブル700を参照し、受信した質問メッセージのメッセージ内容702に類似するメッセージ内容702を検索する。
The
たとえば、質問メッセージのメッセージ内容702が『現在、製品Pについて製品仕様をWEBで確認していますが、WEBページの表示が崩れます。』である場合、解析部1202は、類似検索を行った結果、過去に投稿された『WEBページの表示が崩れます』という類似質問メッセージのメッセージ内容702をメッセージ情報テーブル700から抽出する。なお、解析部1202は、類似検索において、両メッセージ内容702のレーベンシュタイン距離を用いてもよい。解析部1202による解析は一例であり、類似質問メッセージを、メッセージ情報テーブル700のメッセージ内容702から検索できる方法であれば、他の解析方法でもよい。
For example, the
検索部1203は、アクセス権制御情報テーブル500を用いて、質問メッセージの生成元のコミュニティとは異なり、かつ、ユーザが所属する他のコミュニティを、アクセス権制御情報テーブル500から検索する検索処理を実行する。具体的には、たとえば、検索部1203は、質問メッセージからそのユーザが所属するコミュニティID401を取得することで、質問メッセージの生成元のコミュニティを特定する。検索部1203は、質問メッセージからユーザID501を取得する。
The
また、検索部1203は、類似質問メッセージのコミュニティID401をメッセージ情報テーブル700から取得する。検索部1203は、アクセス権制御情報テーブル500を参照して、取得したユーザID501に対応し、かつ、質問メッセージから取得したコミュニティID401ではない他のコミュニティIDを取得する。これにより、類似質問メッセージが属し、かつ、質問メッセージを生成したユーザがアクセス権を有するコミュニティが特定される。具体的には、たとえば、質問メッセージが図1の(B)〜(D)のms1、ms3,ms5である場合、検索部1203は、図1の(B)〜(D)に示したコミュニティCを検索する。
In addition, the
生成部1204は、検索部1203の検索処理による検索結果に基づいて、解析部1202で得られた類似質問メッセージに対応する応答メッセ―ジを生成する生成処理を実行する。具体的には、たとえば、図1の(A)は、検索処理によって他のコミュニティが検索されなかった場合に該当するため、生成部1204は、回答を提示できないことを示す回答不可メッセージms2を生成する。
The
送信部1205は、生成部1204の生成処理によって生成された応答メッセージを送信する送信処理を実行する。送信部1205は、図1の(A)に示したように、応答メッセージとして、生成処理によって生成された回答不可メッセージをユーザ宛に送信する。なお、送信部1205は、回答不可メッセージの宛先(メールアドレス602)をユーザ情報テーブル600から特定する。
The
特定部1206は、検索部1203の検索処理によって他のコミュニティが検索された場合、ノウハウ公開情報テーブル800を参照して、他のコミュニティをノウハウ公開先コミュニティとして、ノウハウ公開先コミュニティに回答メッセージを提供可能なノウハウ公開元コミュニティを特定する特定処理を実行する。具体的には、たとえば、特定部1206は、図1の(B)に示したように、ノウハウ公開情報テーブル800を参照して、他のコミュニティCをノウハウ公開先コミュニティとし、コミュニティDをノウハウ公開元コミュニティとして特定する。
When another community is searched by the search processing of the
また、特定部1206は、検索部1203の検索処理によって他のコミュニティが検索された場合、ノウフー公開情報テーブル900を参照して、他のコミュニティをノウフー公開先コミュニティとして、ノウフー公開先コミュニティに応答メッセージを提供可能なノウフー公開元コミュニティを特定する特定処理を実行する。具体的には、たとえば、特定部1206は、図1の(C)に示したように、ノウフー公開情報テーブル900を参照して、他のコミュニティCをノウフー公開先コミュニティとし、コミュニティDをノウフー公開元コミュニティとして特定する。
Further, when another community is searched by the search processing of the
また、特定部1206は、検索部1203の検索処理によって他のコミュニティが検索された場合、フォロー許可情報テーブル1100を参照して、他のコミュニティをフォロー元コミュニティとし、フォロー元コミュニティから回答の依頼を受けるフォロー先コミュニティを特定する特定処理を実行する。具体的には、たとえば、特定部1206は、図1の(D)に示したように、フォロー許可情報テーブル1100を参照して、他のコミュニティCをフォロー元コミュニティとし、コミュニティDを、フォロー元コミュニティCから回答の依頼を受けるフォロー先コミュニティとして特定する。
Further, when another community is searched by the search processing of the
抽出部1207は、特定部1206の特定処理によって特定されたノウハウ公開元コミュニティを生成元のコミュニティとする返信メッセージを、メッセージ情報テーブル700から抽出する抽出処理を実行する。具体的には、たとえば、抽出部1207は、図1の(B)に示したように、特定処理によって特定されたノウハウ公開元コミュニティDのコミュニティIDを有するエントリを、ノウハウ公開元コミュニティを生成元のコミュニティとする返信メッセージとして、メッセージ情報テーブル700から抽出する。
The
この場合、生成部1204は、抽出部1207の抽出処理によって抽出された返信メッセージから、類似質問メッセージに対応する返信メッセージである類似回答メッセージを抽出して、類似回答メッセージに基づいてユーザへの回答メッセージを生成する。具体的には、たとえば、生成部1204は、類似質問メッセージのエントリの応答メッセージID703が、返信メッセージのメッセージIDと一致した場合、当該返信メッセージを、回答メッセージ候補とする。そして、生成部1204は、回答メッセージ候補を用いて、質問メッセージの投稿者であるユーザ甲への回答に適した回答メッセージms4を作成する。具体的には、たとえば、生成部1204は、回答メッセージ候補において、顧客の情報などがあれば削除することにより、回答メッセージms4を生成する。
In this case, the
また、この場合、送信部1205は、応答メッセージとして、生成部1204の生成処理によって生成された回答メッセージms4をユーザ甲宛に送信する。これにより、アクセス権限の範囲内で解決策がユーザ甲に自動返答される。
In this case, the
また、抽出部1207は、特定部1206の特定処理によって特定されたノウフー公開元コミュニティを生成元のコミュニティとする返信メッセージをメッセージ情報テーブル700から抽出する抽出処理を実行する。具体的には、たとえば、抽出部1207は、図1の(C)に示したように、特定処理によって特定されたノウフー公開元コミュニティDのコミュニティIDを有するエントリを、ノウハウ公開元コミュニティを生成元のコミュニティとする返信メッセージとして、メッセージ情報テーブル700から抽出する。
Further, the
決定部1208は、特定部1206の特定処理によって特定されたノウフー公開元コミュニティに所属する有識者をノウフー公開ユーザ情報テーブル1000から決定する決定処理を実行する。具体的には、たとえば、決定部1208は、図1の(C)に示したように、特定処理によって特定されたノウフー公開元コミュニティDに所属する有識者であるユーザ乙をノウフー公開ユーザ情報テーブル1000から決定する。
The
この場合、生成部1204は、抽出部1207の抽出処理によって抽出された返信メッセージから、類似質問メッセージに対応する返信メッセージである類似回答メッセージを抽出して、類似回答メッセージに基づいてユーザへの回答メッセージを生成する。具体的には、たとえば、生成部1204は、類似質問メッセージのエントリの応答メッセージID703が、返信メッセージのメッセージID701と一致した場合、当該返信メッセージを、回答メッセージ候補とする。そして、生成部1204は、回答メッセージ候補を用いて、質問メッセージの投稿者であるユーザ甲への回答に適した回答メッセージを作成する。具体的には、たとえば、生成部1204は、回答メッセージ候補において、顧客の情報などがあれば削除することにより、回答メッセージを生成する。
In this case, the
回答メッセージが生成された場合、決定部1208の決定処理によって決定された有識者であるユーザ乙は、回答メッセージで回答可能であることを示す。したがって、生成部1204は、決定部1208の決定処理によって決定された有識者であるユーザ乙をユーザ甲に紹介する紹介メッセージms6を生成する。紹介メッセージms6は、ユーザ乙のメールアドレスを含む。また、この場合、送信部1205は、応答メッセージとして、生成処理によって生成された紹介メッセージms6をユーザ甲宛に送信する。これにより、アクセス権限の範囲内で有識者の情報がユーザ甲に自動返答される。
When the reply message is generated, it shows that the user B who is an expert determined by the determination process of the
このように、ユーザに返信されない回答メッセージを生成することにより、紹介される有識者が回答メッセージを有することを保証することができる。したがって、ユーザ甲は、有識者乙から確実に回答を得ることができる。 Thus, by generating a reply message that is not returned to the user, it is possible to ensure that the introduced expert has a reply message. Therefore, the user A can surely obtain an answer from the expert.
また、解決策のフォロー依頼において、抽出部1207は、特定部1206の特定処理によって特定されたフォロー先コミュニティを生成元のコミュニティとし、かつ、類似質問メッセージに対する回答となる回答メッセージを、メッセージ情報テーブル700から抽出する抽出処理を実行する。具体的には、たとえば、抽出部1207は、図1の(D)に示したように、特定処理によって特定されたフォロー先コミュニティD,Eを生成元のコミュニティとし、かつ、類似質問メッセージに対する回答となる回答メッセージを、メッセージ情報テーブル700から抽出する。
In the follow-up request for the solution, the
この場合、決定部1208は、フォロー先コミュニティD,Eの中から、抽出部1207の抽出処理によって抽出された回答メッセージの生成元のコミュニティEを、回答の依頼を受ける依頼先コミュニティに決定する決定処理を実行する。
In this case, the
この場合、生成部1204は、質問メッセージのユーザ甲の宛先情報(メールアドレス)を含み、かつ、決定部1208の決定処理によって決定された依頼先コミュニティEを宛先とする依頼メッセージms8を生成する。そして、送信部1205は、応答メッセージとして、生成部1204の生成処理によって生成された依頼メッセージms6を依頼先コミュニティE宛に送信する。これにより、アクセス権限の範囲内で解決策のフォロー依頼がフォロー先コミュニティEに自動返答される。
In this case, the
<自動返答シーケンス>
図13は、自動返答シーケンスを示すシーケンス図である。端末101は、ユーザ操作により質問の入力を受け付け(ステップS1301)、当該質問に関するメッセージ(質問メッセージ)を第1APサーバ202に送信する(ステップS1302)。メッセージには、当該ユーザが当該質問メッセージを送信したコミュニティのコミュニティID401と、当該ユーザのユーザID501と、メッセージ内容702である文字列と、を含む。たとえば、質問の投稿者がユーザ甲である場合、ユーザ甲は、コミュニティA(コミュニティID:CM01),C(コミュニティID:CM03)に所属するが(図5を参照)、コミュニティAにログイン中である場合、当該質問メッセージには、コミュニティID:Aが含まれる。
<Automatic response sequence>
FIG. 13 is a sequence diagram showing an automatic reply sequence. The terminal 101 receives an input of a question by a user operation (step S1301), and transmits a message (question message) regarding the question to the first AP server 202 (step S1302). The message includes a
第1APサーバ202は、質問メッセージを受信すると、当該質問メッセージにメッセージID701を付与し(ステップS1303)、第2APサーバ203に転送する(ステップS1304)。第2APサーバ203は、第1APサーバ202から受信した質問メッセージのメッセージID701、コミュニティID401、およびメッセージ内容702を新規エントリとして、メッセージ情報テーブル700に登録する(ステップS1305)。
When receiving the question message, the
このあと、第2APサーバ203は、応答作成処理を実行する(ステップS1308)。応答作成処理(ステップS1308)の詳細については、図14〜図16を用いて後述する。応答作成処理(ステップS1308)のあと、第2APサーバ203は、第1APサーバ202を介して、宛先に指定された端末101に応答メッセージを送信する(ステップS1307)。このあと、第2APサーバ203は、応答メッセージID703を、メッセージ登録(ステップS1305)で登録したエントリに登録する(ステップS1308)。
Thereafter, the
<応答作成処理(ステップS1306)>
図14は、図13に示した応答作成処理(ステップS1306)の詳細な処理手順例1を示すフローチャートである。図14の応答作成処理(ステップS1306)は、図1の(A),(B)に示す例である。第2APサーバ203は、解析部1202により、メッセージ情報テーブル700のメッセージ内容702を参照して、受信した質問メッセージに類似するメッセージ(以下、類似質問メッセージ)をメッセージ情報テーブル700から取得する(ステップS1401)。
<Response creation processing (step S1306)>
FIG. 14 is a flowchart showing a detailed processing procedure example 1 of the response creation processing (step S1306) shown in FIG. The response creation process (step S1306) in FIG. 14 is an example shown in FIGS. The
第2APサーバ203は、検索部1203により、アクセス権を問い合わせする(ステップS1402)具体的には、たとえば、第2APサーバ203は、質問メッセージに含まれるユーザID501から、質問したユーザを特定し、アクセス権制御情報テーブル500を参照して、当該ユーザが所属する他のコミュニティIDを特定する。たとえば、ユーザ甲(ユーザID501:U01)に対応するコミュニティID401は、CM01(コミュニティA)、CM02(コミュニティC)である。質問メッセージのコミュニティID401は、CM01(コミュニティA)であるため、第2APサーバ203は、ユーザ甲が所属する他のコミュニティIDとして、CM02(コミュニティC)を特定する。
The
ユーザはコミュニティに属すること、および、コミュニティに投稿されたメッセージの管理はコミュニティごとに行われることから、ユーザはそのユーザの属するコミュニティに属するメッセージに対してのみアクセス可能である。すなわち、ユーザは、ユーザ属性(ユーザID501に対応するコミュニティID401)に応じたメッセージ(コミュニティID401に対応するメッセージID701)にのみアクセスが限定されるため、情報の漏洩を防止することができる。
Since a user belongs to a community and management of messages posted to the community is performed for each community, the user can access only messages belonging to the community to which the user belongs. That is, since the user is limited in access only to a message (
つぎに、第2APサーバ203は、ステップS1402において、他のコミュニティIDが見つかったか否かを判断する(ステップS1403)。見つからなかった場合(ステップS1403:No)、第2APサーバ203は、図1の(A)に示したように、生成部1204により、応答メッセージとして、回答を提示できないことを示す回答不可メッセージを生成する(ステップS1404)。このあと、第2APサーバ203は、回答不可メッセージを返信する(ステップS1409)。回答不可メッセージは、指定された宛先に送信される(ステップS1307)。これにより、アクセス権限のないユーザへの情報提供を防止することができる。
Next, the
一方、ステップS1403において、他のコミュニティIDが見つかった場合(ステップS1403:Yes)、第2APサーバ203は、特定部1206により、当該他のコミュニティIDをノウハウ公開先コミュニティID801として、当該ノウハウ公開先コミュニティID801に対応するノウハウ公開元コミュニティID802をノウハウ公開情報テーブル800から取得して、公開元コミュニティを特定する(ステップS1405)。
On the other hand, when another community ID is found in step S1403 (step S1403: Yes), the
ユーザの属するコミュニティとは異なるノウハウ公開元コミュニティに、当該ユーザからの問い合わせの回答に適したメッセージが存在する場合がある。当該ノウハウ公開元コミュニティにセキュリティ上そのユーザがアクセスしても問題ないため、そのようなメッセージを有効に活用するため、第2APサーバ203は、ノウハウ公開元コミュニティを特定する。
There may be a message suitable for answering an inquiry from the user in a know-how publishing community different from the community to which the user belongs. Since the user can access the know-how publisher community for security reasons, the
そして、第2APサーバ203は、抽出部1207により、メッセージ情報テーブル700から、取得したノウハウ公開元コミュニティID802に対応するメッセージIDおよびメッセージ内容702の組み合わせをすべて取得して、各々返信メッセージとして抽出する(ステップS1406)。
Then, the
第2APサーバ203は、生成部1204により、ステップS1406で取得された組み合わせごとに、類似質問メッセージのエントリの応答メッセージID703が、返信メッセージのメッセージIDと一致した場合、当該返信メッセージを、回答メッセージ候補とする。(ステップS1407)。そして、第2APサーバ203は、生成部1204により、回答メッセージ候補を用いて、質問メッセージの投稿者であるユーザ甲への回答に適した回答メッセージを生成する(ステップS1408)。
If the
このあと、第2APサーバ203は、図1の(B)に示したように、回答メッセージを返信する(ステップS1409)。回答メッセージは、指定された宛先に送信される(ステップS1307)。これにより、複数コミュニティと対話をするBotであっても、ユーザ属性(ユーザID501に対応するコミュニティID401)に応じてメッセージ生成装置100に蓄積された情報(コミュニティID401に対応するメッセージID701)へのアクセスを制限することができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集することが可能となる。したがって、セキュリティ性を担保しつつ蓄積された情報を有効に活用して、適切な回答をすることができる。
Thereafter, the
図15は、図13に示した応答作成処理(ステップS1306)の詳細な処理手順例2を示すフローチャートである。図15の応答作成処理(ステップS1306)は、図1の(A),(C)に示す例である。なお、図14と同一処理には同一ステップ番号を付し、その説明を省略する。 FIG. 15 is a flowchart showing a detailed processing procedure example 2 of the response creation process (step S1306) shown in FIG. The response creation process (step S1306) in FIG. 15 is an example shown in FIGS. The same steps as those in FIG. 14 are denoted by the same step numbers, and the description thereof is omitted.
ステップS1403において、他のコミュニティIDが見つかった場合(ステップS1403:Yes)、第2APサーバ203は、特定部1206により、当該他のコミュニティIDをノウフー公開先コミュニティID901として、当該ノウフー公開先コミュニティID901に対応するノウフー公開元コミュニティID902をノウフー公開情報テーブル900から取得して、ノウフー公開元コミュニティを特定する(ステップS1505)。
In step S1403, when another community ID is found (step S1403: Yes), the
ユーザの属するコミュニティとは異なるノウフー公開元コミュニティに、当該ユーザからの問い合わせの回答に適したメッセージが存在する場合がある。当該ノウフー公開元コミュニティにセキュリティ上そのユーザがアクセスしても問題ないため、そのようなメッセージを有効に活用するため、第2APサーバ203は、ノウフー公開元コミュニティを特定する。
There is a case where a message suitable for answering an inquiry from the user exists in a know-how publisher community different from the community to which the user belongs. Since there is no problem even if the user accesses the Know-Foo public community, the
そして、第2APサーバ203は、抽出部1207により、メッセージ情報テーブル700から、取得したノウフー公開元コミュニティID902に対応するメッセージIDおよびメッセージ内容702の組み合わせをすべて取得して、各々返信メッセージとして抽出する(ステップS1506)。
Then, the
第2APサーバ203は、生成部1204により、ステップS1406で取得された組み合わせごとに、類似質問メッセージのエントリの応答メッセージID703が、返信メッセージのメッセージIDと一致した場合、当該返信メッセージを、回答メッセージ候補とする(ステップS1507)。
If the
第2APサーバ203は、決定部1208により、ノウフー公開ユーザ情報テーブル1000から、取得したノウフー公開元コミュニティID902に対応するノウフー公開ユーザID501を取得して、ノウフー公開元コミュニティに所属する有識者を決定する(ステップS1508)。
The
そして、第2APサーバ203は、図1の(C)に示したように、生成部1204により、回答メッセージ候補が特定された場合に、ノウフー公開ユーザID1001で特定される有識者を紹介する紹介メッセージを生成する(ステップS1509)。このあと、第2APサーバ203は、回答メッセージ(またはS1404の回答不可メッセージ)を返信する(ステップS1510)。回答メッセージは、指定された宛先に送信される(ステップS1307)。
Then, as shown in FIG. 1C, the
これにより、複数コミュニティと対話をするBotであっても、ユーザ属性(ユーザID501に対応するコミュニティID401)に応じてメッセージ生成装置100に蓄積された情報(コミュニティID401に対応するメッセージID701)へのアクセス制限をすることができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集し、有識者の紹介をすることができる。これにより、セキュリティ性を担保しつつ蓄積された情報を有効に活用することができる。
Thereby, even for a bot that interacts with a plurality of communities, access to information (
図16は、図13に示した応答作成処理(ステップS1306)の詳細な処理手順例3を示すフローチャートである。図16の応答作成処理(ステップS1306)は、図1の(A),(D)に示す例である。なお、図14と同一処理には同一ステップ番号を付し、その説明を省略する。 FIG. 16 is a flowchart of a detailed process procedure example 3 of the response creation process (step S1306) depicted in FIG. The response creation process (step S1306) in FIG. 16 is an example shown in (A) and (D) of FIG. The same steps as those in FIG. 14 are denoted by the same step numbers, and the description thereof is omitted.
ステップS1403において、他のコミュニティIDが見つかった場合(ステップS1403:Yes)、第2APサーバ203は、特定部1206により、当該他のコミュニティIDをフォロー元コミュニティID1102として、当該フォロー元コミュニティID1102に対応するフォロー先コミュニティID1101をフォロー許可情報テーブル1100から取得して、フォロー先コミュニティを特定する(ステップS1605)。
In step S1403, when another community ID is found (step S1403: Yes), the
ユーザの属するコミュニティとは異なるフォロー先コミュニティに、当該ユーザからの問い合わせの回答に適したメッセージが存在する場合がある。当該フォロー先コミュニティにセキュリティ上そのユーザがアクセスしても問題ないため、そのようなメッセージを有効に活用するため、第2APサーバ203は、フォロー先コミュニティを特定する。
There may be a message suitable for answering an inquiry from the user in a follow-up community different from the community to which the user belongs. Since there is no problem even if the user accesses the follow destination community for security reasons, the
そして、第2APサーバ203は、抽出部1207により、メッセージ情報テーブル700から、取得したフォロー先コミュニティID1101に対応するメッセージID701およびメッセージ内容702の組み合わせをすべて取得して、各々返信メッセージとして抽出する(ステップS1606)。
Then, the
第2APサーバ203は、生成部1204により、ステップS1606で取得された組み合わせごとに、類似質問メッセージのエントリの応答メッセージID703が、返信メッセージのメッセージID701と一致した場合、当該返信メッセージを、回答メッセージ候補とする。(ステップS1607)。
If the
第2APサーバ203は、決定部1208により、回答メッセージ候補のメッセージID701に基づいて、フォロー先コミュニティから依頼先コミュニティを決定する(ステップS1608)。具体的には、たとえば、第2APサーバ203は、フォロー先コミュニティの中から、回答メッセージ候補の生成元のコミュニティを、回答の依頼を受ける依頼先コミュニティに決定する。
Based on the
第2APサーバ203は、図1の(D)に示したように、生成部1204により、質問メッセージのユーザID501に対応するメールアドレスをユーザ情報テーブル600から取得し、かつ、ステップS1608で決定された依頼先コミュニティを宛先とする依頼メッセージを生成する(ステップS1609)。
As shown in FIG. 1D, the
このあと、第2APサーバ203は、回答メッセージ(またはS1404の回答不可メッセージ)を返信する(ステップS1610)。回答メッセージは、指定された宛先に送信される(ステップS1307)。
Thereafter, the
これにより、複数コミュニティと対話をするBotであっても、ユーザ属性(ユーザID501に対応するコミュニティID401)に応じてメッセージ生成装置100に蓄積された情報(コミュニティID401に対応するメッセージID701)へのアクセス制限をすることができる。また、ユーザ自身が属するコミュニティと異なるコミュニティの情報であっても、アクセス制限された範囲内で情報を収集することが可能となり、セキュリティ性を担保しつつ蓄積された情報を有効に活用して、他コミュニティへの情報提供依頼をすることができる。
Thereby, even for a bot that interacts with a plurality of communities, access to information (
以上説明したように、本実施例によれば、セキュリティの高い応答内容を柔軟に選択することができる。 As described above, according to the present embodiment, it is possible to flexibly select response contents with high security.
なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。例えば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加、削除、または置換をしてもよい。 The present invention is not limited to the above-described embodiments, and includes various modifications and equivalent configurations within the scope of the appended claims. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and the present invention is not necessarily limited to those having all the configurations described. A part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Moreover, you may add the structure of another Example to the structure of a certain Example. Moreover, you may add, delete, or replace another structure about a part of structure of each Example.
また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。 In addition, each of the above-described configurations, functions, processing units, processing means, etc. may be realized in hardware by designing a part or all of them, for example, with an integrated circuit, and the processor realizes each function. It may be realized by software by interpreting and executing the program to be executed.
各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、IC(Integrated Circuit)カード、SDカード、DVD(Digital Versatile Disc)の記録媒体に格納することができる。 Information such as programs, tables, and files for realizing each function is recorded on a memory, a hard disk, a storage device such as an SSD (Solid State Drive), or an IC (Integrated Circuit) card, an SD card, a DVD (Digital Versatile Disc). It can be stored on a medium.
また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。 Further, the control lines and the information lines are those that are considered necessary for the explanation, and not all the control lines and the information lines that are necessary for the mounting are shown. In practice, it can be considered that almost all the components are connected to each other.
100 メッセージ生成装置
101 端末
200 管理システム
400 コミュニティ情報テーブル
500 アクセス権制御情報テーブル
600 ユーザ情報テーブル
700 メッセージ情報テーブル
800 ノウハウ公開情報テーブル
900 ノウフー公開情報テーブル
1000 ノウフー公開ユーザ情報テーブル
1100 フォロー許可情報テーブル
1201 受信部
1202 解析部
1203 検索部
1204 生成部
1205 送信部
1206 特定部
1207 抽出部
1208 決定部
100
Claims (7)
前記記憶デバイスは、アクセス制御情報とメッセージ情報とを記憶しており、
前記アクセス制御情報は、ユーザと前記ユーザが所属するコミュニティとを関連付けた情報であり、
前記メッセージ情報は、メッセージごとに生成元のコミュニティとメッセージ内容とを関連付けた情報であり、
前記プロセッサは、
前記ユーザの前記端末から質問メッセージを受信する受信処理と、
前記受信処理によって受信された質問メッセージを解析して、当該質問メッセージに類似する類似質問メッセージを前記メッセージ情報から取得する解析処理と、
前記質問メッセージの生成元のコミュニティとは異なり、かつ、前記ユーザが所属する他のコミュニティを、前記アクセス制御情報から検索する検索処理と、
前記検索処理による検索結果に基づいて、前記類似質問メッセージに対応する応答メッセ―ジを生成する生成処理と、
前記生成処理によって生成された応答メッセージを送信する送信処理と、
を実行することを特徴とするメッセージ生成装置。 A message generating apparatus comprising: a processor that executes a program; a storage device that stores the program; and a communication interface that transmits and receives messages to and from a terminal.
The storage device stores access control information and message information,
The access control information is information that associates a user with a community to which the user belongs,
The message information is information that associates a message source community with message content for each message,
The processor is
A receiving process for receiving a question message from the terminal of the user;
Analyzing the question message received by the receiving process, and obtaining a similar question message similar to the question message from the message information;
A search process that is different from the community from which the question message is generated and that searches for other communities to which the user belongs from the access control information,
A generation process for generating a response message corresponding to the similar question message based on a search result by the search process;
A transmission process for transmitting the response message generated by the generation process;
A message generation device characterized by executing
前記生成処理では、前記プロセッサは、前記検索処理によって前記他のコミュニティが検索されなかった場合、回答を提示できないことを示す回答不可メッセージを生成し、
前記送信処理では、前記プロセッサは、前記応答メッセージとして、前記生成処理によって生成された回答不可メッセージを前記ユーザ宛に送信することを特徴とするメッセージ生成装置。 The message generation device according to claim 1,
In the generation process, the processor generates an answer impossible message indicating that an answer cannot be presented when the other community is not searched by the search process,
In the transmission process, the processor transmits the reply impossible message generated by the generation process to the user as the response message.
前記記憶デバイスは、前記応答メッセージの公開先コミュニティと当該公開先コミュニティに前記応答メッセージを提供可能な公開元コミュニティとを対応付けた公開情報を記憶しており、
前記メッセージ情報は、さらに、前記メッセージごとに前記メッセージに対する返信メッセージを関連付けた情報であり、
前記プロセッサは、
前記検索処理によって前記他のコミュニティが検索された場合、前記公開情報を参照して、前記他のコミュニティを前記公開先コミュニティとして、当該公開先コミュニティに前記応答メッセージを提供可能な公開元コミュニティを特定する特定処理と、
前記特定処理によって特定された公開元コミュニティを前記生成元のコミュニティとする返信メッセージを、前記メッセージ情報から抽出する抽出処理と、を実行し、
前記生成処理では、前記プロセッサは、前記抽出処理によって抽出された返信メッセージから、前記類似質問メッセージに対応する返信メッセージである回答メッセージ候補を抽出して、前記回答メッセージ候補に基づいて前記ユーザへの回答メッセージを生成し、
前記送信処理では、前記プロセッサは、前記応答メッセージとして、前記生成処理によって生成された回答メッセージを前記ユーザ宛に送信することを特徴とするメッセージ生成装置。 The message generation device according to claim 1,
The storage device stores public information that associates the public community of the response message with the public community that can provide the response message to the public community,
The message information is information that further associates a reply message to the message for each message,
The processor is
When the other community is searched by the search process, the public information is referred to and the public community that can provide the response message to the public community is specified with the other community as the public community Specific processing to
An extraction process for extracting from the message information a reply message with the publisher community specified by the specifying process as the generation community;
In the generation process, the processor extracts an answer message candidate that is a reply message corresponding to the similar question message from the reply message extracted by the extraction process, and sends the answer message candidate to the user based on the answer message candidate. Generate an answer message,
In the transmission process, the processor transmits the reply message generated by the generation process to the user as the response message.
前記記憶デバイスは、公開情報と公開ユーザ情報とを記憶しており、
前記公開情報は、前記応答メッセージの公開先コミュニティと前記公開先コミュニティに前記応答メッセージを提供可能な公開元コミュニティとを対応付けた情報であり、
前記公開ユーザ情報は、前記公開元コミュニティと前記公開元コミュニティに所属する有識者とを対応付けた情報であり、
前記プロセッサは、
前記検索処理によって前記他のコミュニティが検索された場合、前記公開情報を参照して、前記他のコミュニティを前記公開先コミュニティとして、前記公開先コミュニティに前記応答メッセージを提供可能な公開元コミュニティを特定する特定処理と、
前記特定処理によって特定された公開元コミュニティを前記生成元のコミュニティとする返信メッセージを前記メッセージ情報から抽出する抽出処理と、
前記特定処理によって特定された公開元コミュニティに所属する有識者を前記公開ユーザ情報から決定する決定処理と、を実行し、
前記生成処理では、前記プロセッサは、前記抽出処理によって抽出された返信メッセージから、前記類似質問メッセージに対応する返信メッセージである回答メッセージ候補を抽出し、かつ、前記回答メッセージ候補が抽出された場合に、前記決定処理によって決定された有識者を紹介する紹介メッセージを生成し、
前記送信処理では、前記プロセッサは、前記応答メッセージとして、前記生成処理によって生成された紹介メッセージを前記ユーザ宛に送信することを特徴とするメッセージ生成装置。 The message generation device according to claim 1,
The storage device stores public information and public user information,
The public information is information that associates a public community of the response message with a public community that can provide the response message to the public community,
The public user information is information in which the public community is associated with an expert who belongs to the public community,
The processor is
When the other community is searched by the search process, the public information is referred to, and the public community that can provide the response message to the public community is specified with the other community as the public community Specific processing to
An extraction process for extracting from the message information a reply message having the publisher community specified by the specifying process as the generation community;
A determination process for determining from the public user information an expert who belongs to the public source community identified by the identification process,
In the generation process, the processor extracts an answer message candidate that is a reply message corresponding to the similar question message from the reply message extracted by the extraction process, and the answer message candidate is extracted. , Generate an introduction message that introduces the expert determined by the determination process,
In the transmission process, the processor transmits the introduction message generated by the generation process to the user as the response message.
前記記憶デバイスは、質問に対する回答を依頼するフォロー元コミュニティと、前記フォロー元コミュニティから前記回答の依頼を受けるフォロー先コミュニティと、を対応付けたフォロー許可情報を記憶しており、
前記プロセッサは、
前記検索処理によって前記他のコミュニティが検索された場合、前記フォロー許可情報を参照して、前記他のコミュニティを前記フォロー元コミュニティとして、当該フォロー元コミュニティから前記回答の依頼を受けるフォロー先コミュニティを特定する特定処理と、
前記特定処理によって特定されたフォロー先コミュニティを前記生成元のコミュニティとし、かつ、前記類似質問メッセージに対する回答となる返信メッセージを、前記メッセージ情報から抽出する抽出処理と、
前記フォロー先コミュニティの中から、前記抽出処理によって抽出された返信メッセージの生成元のコミュニティを、前記回答の依頼を受ける依頼先コミュニティに決定する決定処理と、を実行し、
前記生成処理では、前記プロセッサは、前記質問メッセージの前記ユーザの宛先情報を含み、かつ、前記決定処理によって決定された依頼先コミュニティを宛先とする依頼メッセージを生成し、
前記送信処理では、前記プロセッサは、前記応答メッセージとして、前記生成処理によって生成された依頼メッセージを前記依頼先コミュニティ宛に送信することを特徴とするメッセージ生成装置。 The message generation device according to claim 1,
The storage device stores follow permission information in which a follow source community that requests an answer to a question and a follow destination community that receives a request for the answer from the follow source community,
The processor is
When the other community is searched by the search process, the follow permission information is referred to, and the other community is set as the follower community, and the follower community receiving the request for the answer from the follower community is specified. Specific processing to
An extraction process for extracting a reply message as an answer to the similar question message from the message information, with the follow-up community identified by the identification process as the generation source community.
A decision process of determining a community from which the reply message extracted by the extraction process is selected as a request destination community to receive the request for the answer from the follow destination communities;
In the generation process, the processor generates a request message including the destination information of the user of the question message and destined for the request destination community determined by the determination process,
In the transmission process, the processor transmits the request message generated by the generation process to the request destination community as the response message.
前記記憶デバイスは、アクセス制御情報とメッセージ情報とを記憶しており、
前記アクセス制御情報は、ユーザと前記ユーザが所属するコミュニティとを関連付けた情報であり、
前記メッセージ情報は、メッセージごとに生成元のコミュニティとメッセージ内容とを関連付けた情報であり、
前記メッセージ生成方法は、
前記プロセッサが、
前記ユーザの前記端末から質問メッセージを受信する受信処理と、
前記受信処理によって受信された質問メッセージを解析して、当該質問メッセージに類似する類似質問メッセージを前記メッセージ情報から取得する解析処理と、
前記質問メッセージの生成元のコミュニティとは異なり、かつ、前記ユーザが所属する他のコミュニティを、前記アクセス制御情報から検索する検索処理と、
前記検索処理による検索結果に基づいて、前記類似質問メッセージに対応する応答メッセ―ジを生成する生成処理と、
前記生成処理によって生成された応答メッセージを送信する送信処理と、
を実行することを特徴とするメッセージ生成方法。 A message generation method by a message generation apparatus comprising: a processor that executes a program; a storage device that stores the program; and a communication interface that transmits and receives messages to and from a terminal.
The storage device stores access control information and message information,
The access control information is information that associates a user with a community to which the user belongs,
The message information is information that associates a message source community with message content for each message,
The message generation method includes:
The processor is
A receiving process for receiving a question message from the terminal of the user;
Analyzing the question message received by the receiving process, and obtaining a similar question message similar to the question message from the message information;
A search process that is different from the community from which the question message is generated and that searches for other communities to which the user belongs from the access control information,
A generation process for generating a response message corresponding to the similar question message based on a search result by the search process;
A transmission process for transmitting the response message generated by the generation process;
The message generation method characterized by performing.
前記プロセッサは、記憶デバイスにアクセス可能であり、
前記記憶デバイスは、アクセス制御情報とメッセージ情報とを記憶しており、
前記アクセス制御情報は、ユーザと前記ユーザが所属するコミュニティとを関連付けた情報であり、
前記メッセージ情報は、メッセージごとに生成元のコミュニティとメッセージ内容とを関連付けた情報であり、
前記プロセッサに、
前記ユーザの端末から質問メッセージを受信する受信処理と、
前記受信処理によって受信された質問メッセージを解析して、当該質問メッセージに類似する類似質問メッセージを前記メッセージ情報から取得する解析処理と、
前記質問メッセージの生成元のコミュニティとは異なり、かつ、前記ユーザが所属する他のコミュニティを、前記アクセス制御情報から検索する検索処理と、
前記検索処理による検索結果に基づいて、前記類似質問メッセージに対応する応答メッセ―ジを生成する生成処理と、
前記生成処理によって生成された応答メッセージを送信する送信処理と、
を実行させることを特徴とするメッセージ生成プログラム。 A message generation program for causing a processor to execute message generation,
The processor is accessible to a storage device;
The storage device stores access control information and message information,
The access control information is information that associates a user with a community to which the user belongs,
The message information is information that associates a message source community with message content for each message,
In the processor,
A receiving process for receiving a question message from the user terminal;
Analyzing the question message received by the receiving process, and obtaining a similar question message similar to the question message from the message information;
A search process that is different from the community from which the question message is generated and that searches for other communities to which the user belongs from the access control information,
A generation process for generating a response message corresponding to the similar question message based on a search result by the search process;
A transmission process for transmitting the response message generated by the generation process;
A message generation program characterized in that
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017131182A JP6669696B2 (en) | 2017-07-04 | 2017-07-04 | Message generation device, message generation method, and message generation program |
PCT/JP2018/002685 WO2019008804A1 (en) | 2017-07-04 | 2018-01-29 | Message generation device, message generation method, and message generation program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017131182A JP6669696B2 (en) | 2017-07-04 | 2017-07-04 | Message generation device, message generation method, and message generation program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019016050A true JP2019016050A (en) | 2019-01-31 |
JP6669696B2 JP6669696B2 (en) | 2020-03-18 |
Family
ID=64949843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017131182A Active JP6669696B2 (en) | 2017-07-04 | 2017-07-04 | Message generation device, message generation method, and message generation program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6669696B2 (en) |
WO (1) | WO2019008804A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002342227A (en) * | 2001-05-15 | 2002-11-29 | Toshiba Corp | Knowledge storage support system and user operation limiting method for the system |
JP2004185389A (en) * | 2002-12-04 | 2004-07-02 | Ok Web Inc | Terminal, program and q and a system |
-
2017
- 2017-07-04 JP JP2017131182A patent/JP6669696B2/en active Active
-
2018
- 2018-01-29 WO PCT/JP2018/002685 patent/WO2019008804A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002342227A (en) * | 2001-05-15 | 2002-11-29 | Toshiba Corp | Knowledge storage support system and user operation limiting method for the system |
JP2004185389A (en) * | 2002-12-04 | 2004-07-02 | Ok Web Inc | Terminal, program and q and a system |
Also Published As
Publication number | Publication date |
---|---|
WO2019008804A1 (en) | 2019-01-10 |
JP6669696B2 (en) | 2020-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9207897B2 (en) | Information processing system, information processing apparatus, and data conversion method | |
US11487482B2 (en) | Information processing apparatus and non-transitory computer readable medium | |
CN111277637B (en) | Method, device, terminal and storage medium for merging session groups | |
KR101588932B1 (en) | Security through metadata orchestrators | |
US20070294237A1 (en) | Enterprise-Wide Configuration Management Database Searches | |
JP6323994B2 (en) | Content management apparatus, content management method and program | |
US8615560B2 (en) | Document data sharing system and user apparatus | |
KR20130075546A (en) | File cloud service apparatus and method | |
JP2011203964A (en) | Document management system and method | |
JP4240929B2 (en) | Access control method in file management system | |
US9781232B2 (en) | Server apparatus and information processing apparatus | |
CN104660724A (en) | Multiple provisioning object operation | |
JP6669696B2 (en) | Message generation device, message generation method, and message generation program | |
JP6331686B2 (en) | Information processing system, information processing method, and program | |
JP2014040050A (en) | Image forming apparatus, method for controlling image forming apparatus, and program | |
JP2017102711A (en) | Information processing apparatus, information processing system, control method therefor, and program | |
US9667815B2 (en) | Information processing system, information processing device, and information processing method | |
JP2011221876A (en) | Information processor, information processing method and program | |
JP2011187010A (en) | Information input assistance device and program | |
US20140279990A1 (en) | Managing identifiers | |
US11606361B2 (en) | Cloud system, information processing system, and user registration method | |
US20090276496A1 (en) | Systems, methods and computer program products for building a user's buddy list through public group membership | |
JP6083207B2 (en) | Content management apparatus, content management method, and content management program | |
JP6997398B2 (en) | Information processing equipment, information processing methods, and computer programs | |
JP7249453B1 (en) | Contract management program, information processing device, information processing system, information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200121 |
|
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: 20200212 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6669696 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |