[go: up one dir, main page]

JP7081245B2 - Message providing device, program, and display control method - Google Patents

Message providing device, program, and display control method Download PDF

Info

Publication number
JP7081245B2
JP7081245B2 JP2018051875A JP2018051875A JP7081245B2 JP 7081245 B2 JP7081245 B2 JP 7081245B2 JP 2018051875 A JP2018051875 A JP 2018051875A JP 2018051875 A JP2018051875 A JP 2018051875A JP 7081245 B2 JP7081245 B2 JP 7081245B2
Authority
JP
Japan
Prior art keywords
message
user
specific
software robot
robot application
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
JP2018051875A
Other languages
Japanese (ja)
Other versions
JP2019164575A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2018051875A priority Critical patent/JP7081245B2/en
Priority to US16/294,328 priority patent/US11240180B2/en
Publication of JP2019164575A publication Critical patent/JP2019164575A/en
Priority to US17/552,820 priority patent/US11805082B2/en
Application granted granted Critical
Publication of JP7081245B2 publication Critical patent/JP7081245B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本発明は、メッセージ提供装置、プログラム、及び表示制御方法に関する。 The present invention relates to a message providing device, a program, and a display control method.

特許文献1には、ユーザからの動作指示の結果を報告するメッセージを、そのメッセージの宛て先を明示して通知するメッセージ通知装置が記載されている。動作指示検出部は、メッセージから動作指示を検出するとともに、該メッセージを書き込んだメンバを指示者として特定し、報告メッセージ表示部は、該動作指示に従って動作した結果についてのメッセージを、該指示者を宛て先として明記した状態で家族伝言板に表視させる。 Patent Document 1 describes a message notification device that clearly notifies the destination of a message reporting the result of an operation instruction from a user. The operation instruction detection unit detects the operation instruction from the message, identifies the member who wrote the message as the instructor, and the report message display unit sends a message about the result of the operation according to the operation instruction to the instructor. Display it on the family message board with the address clearly stated.

チャットやSNS(ソーシャルネットワーキングサービス)等の、ユーザ間でメッセージをやり取りするメッセージサービスでは、このメッセージサービス上で動作する、音声や文字を介した、人間との対話をシミュレーションする目的で設計された(擬人化)ソフトウェアロボットプログラム(以下、これを「チャットボット」という)が提案されている。チャットボットは、ユーザから入力されたメッセージから特定の単語や語句を検出し、それに合う予め用意された応答を出力するように動作する。チャットボットとしては、企業や店鋪などの、広告用または商業用に割り当てられたメッセンジャーサービスアカウントが運用するものもあり、ユーザは自然なメッセージのやり取りを通じてチャットボットと会話を楽しむことができる。また、2人のユーザ間でのメッセージのやり取りだけでなく、3人以上のユーザでグループを形成し、グループ内でのメッセージのやり取りもでき(グループチャット)、複数人で会話を楽しみながら、チャットボットに対して種々のサービスを実行させることができる。 Message services that exchange messages between users, such as chat and SNS (social networking services), were designed for the purpose of simulating dialogue with humans via voice and text that operates on this message service (). Anthropomorphic) software robot programs (hereinafter referred to as "chatbots") have been proposed. The chatbot operates to detect a specific word or phrase from a message input by the user and output a prepared response corresponding to the specific word or phrase. Some chatbots are operated by messenger service accounts assigned for advertising or commercial use, such as companies and stores, and users can enjoy conversations with chatbots through natural message exchanges. In addition to exchanging messages between two users, you can also exchange messages within a group by forming a group with three or more users (group chat), and chat while enjoying conversation with multiple people. Various services can be performed on the bot.

特開2014-164522号公報Japanese Unexamined Patent Publication No. 2014-164522

ある1人のユーザがソフトウェアロボットプログラムとメッセージをやり取りする場合はともかく、複数のユーザとソフトウェアロボットプログラムがグループを形成してメッセージのやり取りを行う場合には、複数のユーザ間のメッセージのやり取りにチャットボットが自動応答し、ユーザの意に沿わずにサービスを提供してしまうのは好ましくない。 Aside from the case where one user exchanges messages with the software robot program, when multiple users and the software robot program form a group to exchange messages, chat for exchanging messages between multiple users. It is not desirable for the bot to respond automatically and provide services without the user's will.

本発明は、複数のユーザとソフトウェアロボットを含むグループにおいて、ユーザにより特定のサービスの実行指示がなされた後も、複数のユーザ間のメッセージのやり取りにソフトウェアロボットプログラムが自動応答し続けることによる利便性低下を抑制する
ことを目的とする。
The present invention is convenient because the software robot program automatically responds to the exchange of messages between a plurality of users even after the user gives an instruction to execute a specific service in a group including a plurality of users and the software robot. The purpose is to suppress the decline.

請求項1に記載の発明は、ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させる入室手段と、ユーザからのメッセージに応じて前記ソフトウェアロボットアプリケーションにより特定処理を実行する実行手段と、前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させる退出手段と、退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させる手段と、を備えるメッセージサービス提供装置である。 The invention according to claim 1 is an entry means for entering a software robot application for exchanging a message with a user into a message service for exchanging messages between users, and a specific process by the software robot application according to a message from the user. The execution means for executing the above and the effect of leaving the software robot application from the message service after executing the specific processing are displayed on the screen, and the first specific message or the specific stamp from the user is received within a certain period of time. If not, an exit means for displaying the fact that the user has left the screen, and a second specific message or a specific stamp different from the first specific message or the specific stamp from the user after the exit is received. In this case, it is a message service providing device provided with a means for displaying on the screen that the room has been entered .

請求項2に記載の発明は、前記退出手段は、退出させる場合に、前記ソフトウェアロボットアプリケーションを再度、入室させるための情報を前記ユーザに通知する請求項1に記載のメッセージ提供装置である。 The invention according to claim 2 is the message providing device according to claim 1, wherein the exit means notifies the user of information for re-entering the software robot application when exiting.

請求項3に記載の発明は、前記退出手段は、退出させた後も、前記ユーザの前記ソフトウェアロボットアプリケーションに対する利用権限又は動作に関する設定情報を維持する請求項1に記載のメッセージ提供装置である。 The invention according to claim 3 is the message providing device according to claim 1, wherein the exiting means maintains the setting information regarding the usage authority or operation of the user for the software robot application even after exiting.

請求項4に記載の発明は、前記退出手段が前記ソフトウェアロボットアプリケーションを退出させた後に、前記ユーザからのメッセージまたはスタンプを記憶する記憶手段を備える請求項1に記載のメッセージ提供装置である。 The invention according to claim 4 is the message providing device according to claim 1, further comprising a storage means for storing a message or a stamp from the user after the exit means exits the software robot application .

請求項5に記載の発明は、前記入室手段が前記ソフトウェアロボットアプリケーションを入室させてから退出させるまでの間における前記ユーザからのメッセージまたはスタンプを記憶し、前記退出手段が前記ソフトウェアロボットアプリケーションを退出させた後は、前記ユーザからの、退出タイミングに対して一定時間以内の相対的に新しいメッセージまたはスタンプを記憶し、一定時間以外の相対的に古いメッセージまたはスタンプを記憶しない記憶手段を備える請求項1に記載のメッセージ提供装置である。 The invention according to claim 5 stores a message or stamp from the user between the time when the entrance means enters the room and the time when the software robot application is exited, and the exit means exits the software robot application . A claim comprising a storage means for storing a relatively new message or stamp within a certain time with respect to the exit timing from the user and not storing a relatively old message or stamp other than a certain time. The message providing device according to 1.

請求項6に記載の発明は、前記ソフトウェアロボットアプリケーションは、メッセージまたはスタンプを受け付けて特定処理を実行する第1ソフトウェアロボットアプリケーションと、前記メッセージまたは前記スタンプを受け付けても前記特定処理を実行しない第2ソフトウェアロボットアプリケーションを備え、入室状態では前記第1ソフトウェアロボットアプリケーションが動作し、退出状態では前記第2ソフトウェアロボットアプリケーションが動作する請求項1に記載のメッセージ提供装置である。 The invention according to claim 6 is a first software robot application in which the software robot application receives a message or a stamp and executes a specific process, and a second software robot application in which the specific process is not executed even if the message or the stamp is received. The message providing device according to claim 1, wherein the software robot application is provided, the first software robot application operates in the room entry state, and the second software robot application operates in the exit state.

請求項に記載の発明は、前記特定処理は、印刷処理である請求項1~のいずれかに記載のメッセージ提供装置である。 The invention according to claim 7 is the message providing device according to any one of claims 1 to 6 , wherein the specific process is a print process.

請求項に記載の発明は、コンピュータに、ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させるステップと、ユーザからのメッセージに応じて前記ソフトウェアロボットアプリケーションにより特定処理を実行するステップと、前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させるステップと、退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させるステップと、を実行させるプログラムである。 The invention according to claim 8 comprises a step of causing a computer to enter a software robot application for exchanging messages with a user into a message service for exchanging messages between users, and the software robot application in response to a message from the user. A step to execute the specific process and a screen indicating that the software robot application is to be exited from the message service after the specific process is executed are displayed on the screen, and the first specific message or the specific stamp from the user is displayed within a certain period of time. When not accepted, a step of displaying the fact that the user has left the screen, and a second specific message or a specific stamp different from the first specific message or the specific stamp from the user after the exit is received. In this case, it is a program to execute a step of displaying on the screen that the room has been entered .

請求項に記載の発明は、ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させるステップと、前記ユーザからのメッセージまたはスタンプを受け付けるステップと、受け付けた前記メッセージまたは前記スタンプに応じて特定処理を実行するステップと、前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させるステップと、退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させるステップとを備える表示制御方法である。 The invention according to claim 9 includes a step of entering a software robot application for exchanging a message with a user into a message service for exchanging messages between users, a step of accepting a message or a stamp from the user, and the above-mentioned acceptance. A step of executing the specific process according to the message or the stamp and a screen indicating that the software robot application is to be exited from the message service after the specific process is executed are displayed on the screen, and the first user from the user within a certain period of time. A step of displaying on the screen that the user has exited when the specific message or specific stamp of the specific message is not accepted, and a second identification from the user after the exit, which is different from the first specific message or the specific stamp. It is a display control method including a step of displaying on the screen that the room has been entered when a message or a specific stamp is received.

請求項1~に記載の発明によれば、複数のユーザとソフトウェアロボットを含むグループにおいて、ユーザにより特定処理の実行指示がなされた後も、複数のユーザ間のメッセージのやり取りにソフトウェアロボットプログラムが自動応答し続けることによる利便性の低下が抑制される。 According to the inventions of claims 1 to 9 , in a group including a plurality of users and a software robot, a software robot program can exchange messages between the plurality of users even after the user gives an instruction to execute a specific process. The decrease in convenience due to continuous automatic response is suppressed.

請求項2に記載の発明によれば、さらに、退出させる場合に、ソフトウェアロボットアプリケーションを再度、入室させるための情報がユーザに通知される。 According to the second aspect of the present invention, the user is further notified of the information for re-entering the software robot application when leaving the room.

請求項3に記載の発明によれば、さらに、ユーザのソフトウェアロボットアプリケーションに対する利用権限または動作に関する設定情報が維持される。 According to the third aspect of the present invention, the setting information regarding the usage authority or operation of the user for the software robot application is further maintained.

請求項に記載の発明によれば、さらに、退出後における、ユーザからのメッセージまたはスタンプが記憶される。 According to the invention of claim 4 , a message or a stamp from the user after leaving is further stored.

請求項5に記載の発明によれば、さらに、ソフトウェアロボットアプリケーションを入室させてから退出させるまでの間におけるユーザからのメッセージまたはスタンプが記憶され、前記ソフトウェアロボットアプリケーションを退出させた後は、ユーザからの、退出タイミングに対して一定時間以内の相対的に新しいメッセージまたはスタンプが記憶され、一定時間以外の相対的に古いメッセージまたはスタンプが記憶されない。 According to the invention of claim 5, further, a message or a stamp from the user between entering the room and leaving the software robot application is stored, and after the software robot application is exited, the user However, a relatively new message or stamp within a certain period of time is stored with respect to the exit timing, and a relatively old message or stamp other than a certain time is not stored.

実施形態1のシステム構成図である。It is a system block diagram of Embodiment 1. FIG. 実施形態1の機能ブロック図である。It is a functional block diagram of Embodiment 1. FIG. 実施形態1の構成ブロック図である。It is a block diagram of the block of Embodiment 1. FIG. 実施形態1の設定情報登録説明図である。It is a setting information registration explanatory diagram of Embodiment 1. FIG. 設定情報テーブル説明図である。It is a setting information table explanatory diagram. 実施形態1のユーザ端末画面説明図(その1)である。It is a user terminal screen explanatory drawing (the 1) of Embodiment 1. FIG. 実施形態1のユーザ端末画面説明図(その2)である。FIG. 2 is an explanatory diagram of a user terminal screen according to the first embodiment. 実施形態1のユーザ端末画面説明図(その3)である。FIG. 3 is an explanatory diagram of a user terminal screen according to the first embodiment. 実施形態2のユーザ端末画面説明図(その1)である。It is a user terminal screen explanatory drawing (the 1) of Embodiment 2. FIG. 実施形態2のユーザ端末画面説明図(その2)である。FIG. 2 is an explanatory diagram of a user terminal screen according to the second embodiment. 実施形態2の処理フローチャートである。It is a processing flowchart of Embodiment 2. 実施形態3のユーザ端末画面説明図である。FIG. 3 is an explanatory diagram of a user terminal screen according to the third embodiment. 実施形態4のユーザ端末画面説明図である。It is explanatory drawing of the user terminal screen of Embodiment 4. 実施形態4の処理フローチャートである。It is a processing flowchart of Embodiment 4. 変形例のシステム構成図である。It is a system configuration diagram of a modification.

以下、図面に基づき本発明の実施形態について、チャットボットとして、ユーザからのメッセージに応じて特定処理としてプリントサービスを提供するチャットボットを例にとり説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings, taking as an example a chatbot that provides a print service as a specific process in response to a message from a user.

<実施形態1>
図1は、実施形態におけるメッセージサービスシステムの全体構成図を示す。メッセージサービスシステムは、ユーザ端末A(10A)~ユーザ端末C(10C)、チャットサービスサーバ14、ボットサーバA(16A)~ボットサーバB(16B)、及びプリンタA(18A)~プリンタB(18B)を備える。
<Embodiment 1>
FIG. 1 shows an overall configuration diagram of a message service system according to an embodiment. The message service system includes user terminal A (10A) to user terminal C (10C), chat service server 14, bot server A (16A) to bot server B (16B), and printer A (18A) to printer B (18B). To prepare for.

ユーザ端末A(10A)~ユーザ端末C(10C)は、メッセージサービスのユーザが利用する端末であり、スマートフォンやタブレット端末、PC(パーソナルコンピュータ)等の情報端末である。図では、ユーザ端末A(10A)、ユーザ端末B(10B)、ユーザ端末C(10C)の3台を示しているが、その数は任意である。ユーザは、ユーザ端末A(10A)~ユーザ端末C(10C)を操作してクラウド12上のチャットサービスサーバ14にアクセスし、他のユーザやチャットボットとメッセージをやり取りする。以下では、ユーザAがユーザ端末Aを操作し、ユーザBがユーザ端末Bを操作し、ユーザCがユーザ端末Cを操作するものとする。ユーザ端末A(10A)~ユーザ端末C(10C)とチャットサービスサーバ14は、有線あるいは無線の通信ネットワークでデータ送受信可能に接続される。通信ネットワークの一例はインターネット等の公衆回線であるが、専用回線でもよい。 The user terminal A (10A) to the user terminal C (10C) are terminals used by users of the message service, and are information terminals such as smartphones, tablet terminals, and PCs (personal computers). In the figure, three user terminals A (10A), user terminal B (10B), and user terminal C (10C) are shown, but the number thereof is arbitrary. The user operates the user terminal A (10A) to the user terminal C (10C) to access the chat service server 14 on the cloud 12 and exchange messages with other users and chatbots. In the following, it is assumed that the user A operates the user terminal A, the user B operates the user terminal B, and the user C operates the user terminal C. The user terminal A (10A) to the user terminal C (10C) and the chat service server 14 are connected to each other via a wired or wireless communication network so that data can be transmitted and received. An example of a communication network is a public line such as the Internet, but a dedicated line may also be used.

チャットサービスサーバ14は、クラウド12上に配置されたクラウドサーバであり、チャットサービスを提供するサーバである。チャットサービスサーバ14は、1又は複数のサーバコンピュータで構成される。チャットサービスサーバ14は、ユーザ端末A~ユーザ端末Cに対するメッセージの送受信処理、及びメッセージ送受信の表示画面表示等、メッセージのやり取りに関する処理全般を実行する。チャットサービスサーバ14は、2人のユーザ間のメッセージのやり取りを処理する他に、3人以上のユーザでグループを形成し、グループ内でのメッセージのやり取りを処理することができる(グループチャット)。さらに、チャットサービスサーバ14は、ボットサーバA(16A)、ボットサーバB(16B)と協働し、ボットサーバ16A,16Bにより提供されるチャットボットに対するメッセージのやり取りを処理する。ユーザとチャットボットとのメッセージのやり取りには、1人のユーザとチャットボットとのメッセージのやり取り、及び複数のユーザとチャットボットとのメッセージのやり取りが含まれる。 The chat service server 14 is a cloud server arranged on the cloud 12 and is a server that provides a chat service. The chat service server 14 is composed of one or a plurality of server computers. The chat service server 14 executes all processes related to message exchange, such as message transmission / reception processing to user terminals A to C, and message transmission / reception display screen display. In addition to processing the exchange of messages between two users, the chat service server 14 can form a group of three or more users and process the exchange of messages within the group (group chat). Further, the chat service server 14 cooperates with the bot server A (16A) and the bot server B (16B) to process the exchange of messages for the chat bot provided by the bot servers 16A and 16B. The exchange of messages between a user and a chatbot includes the exchange of messages between one user and a chatbot, and the exchange of messages between a plurality of users and a chatbot.

ボットサーバA(16A)、ボットサーバB(16B)は、本実施形態におけるメッセージ提供装置として機能する。ボットサーバA(16A)、ボットサーバB(16B)は、ユーザとの間でメッセージをやり取りするチャットボットのソフトウェアロボットプログラムがインストールされ、当該プログラムを実行する。これらのボットサーバA(16A)、ボットサーバB(16B)は、企業や店鋪などの、広告用または商業用に割り当てられたメッセンジャーサービスアカウントがそれぞれ運用するものであってもよい。ボットサーバA(16A)及びボットサーバB(16B)は、チャットサービスサーバ14と特定API(Application Programming Interface:アプリケーションプログラミングインタフェース)を介して協働し、ユーザとのメッセージをやり取りし、ユーザからのメッセージに自動応答してメッセージを返信する。特定APIは、チャットサービスサーバ14を利用するためのAPIである。APIの形式は任意であるが、例えばJSON(Javascript Object Notation:ジャバスクリプト オブジェクト ノーテイション)形式のAPIとし、規定のフォーマットのJSONデータをチャットサービスサーバ14の特定URLに対してPOSTやGETで送信し、結果がJSON形式のデータとして返ってくる。 The bot server A (16A) and the bot server B (16B) function as the message providing device in the present embodiment. The bot server A (16A) and the bot server B (16B) are installed with a chatbot software robot program for exchanging messages with the user, and execute the program. These bot server A (16A) and bot server B (16B) may be operated by messenger service accounts assigned for advertising or commercial use, such as companies and stores. The bot server A (16A) and the bot server B (16B) cooperate with the chat service server 14 via a specific API (Application Programming Interface), exchange messages with the user, and send messages from the user. Automatically respond to and reply to the message. The specific API is an API for using the chat service server 14. The API format is arbitrary, but for example, it is an API in JSON (Javascript Object Notation) format, and JSON data in the specified format is transmitted by POST or GET to a specific URL of the chat service server 14. , The result is returned as JSON format data.

ボットサーバA(16A)、ボットサーバB(16B)は、ユーザからのメッセージに動作指示が含まれている場合に、当該動作指示に応じて特定処理としての特定サービス内容を実行する。本実施形態において、ボットサーバA(16A)は、ユーザからのメッセージにプリント指示が含まれている場合に、このプリント指示に応じてプリンタA(18A)あるいはプリンタB(18B)を動作させてプリント処理する「プリントボット」として機能する。他方、ボットサーバ16Bは、ユーザからの動作指示に応じて任意のサービスを提供し得る。図では、ボットサーバA(16A)、ボットサーバB(18B)の2台を示しているが、その数は任意である。また、1台のボットサーバで複数のチャットボットを構成してもよく、複数台のボットサーバで1つのチャットボットを構成してもよい。 When the message from the user includes an operation instruction, the bot server A (16A) and the bot server B (16B) execute the specific service content as the specific process in response to the operation instruction. In the present embodiment, when the message from the user includes a print instruction, the bot server A (16A) operates the printer A (18A) or the printer B (18B) in response to the print instruction to print. Functions as a "print bot" to process. On the other hand, the bot server 16B may provide an arbitrary service in response to an operation instruction from the user. In the figure, two bot servers A (16A) and bot server B (18B) are shown, but the number thereof is arbitrary. Further, one bot server may configure a plurality of chatbots, and a plurality of bot servers may configure one chatbot.

チャットボット(あるいはプリンタボット)としてのボットサーバAは、予めユーザ毎に登録された、ソフトウェアロボットプログラムの動作に関する設定情報に従ってプリンタAあるいはプリンタBを駆動してプリント処理を実行する。これらの設定情報は、プリンタAあるいはプリンタBを動作させるための動作条件ということもできる。ユーザAはユーザ端末Aを操作してプリンタAを動作させるための設定情報を入力して登録し、ユーザBはユーザ端末Bを操作してプリンタBを動作させるための設定情報を入力して登録する。 The bot server A as a chatbot (or printer bot) drives the printer A or the printer B according to the setting information regarding the operation of the software robot program registered in advance for each user to execute the print process. These setting information can also be said to be operating conditions for operating the printer A or the printer B. User A inputs and registers the setting information for operating the user terminal A to operate the printer A, and user B inputs and registers the setting information for operating the user terminal B to operate the printer B. do.

プリンタA(18A)、プリンタB(18B)は、ボットサーバAからの指令により画像のプリント処理を実行する。 The printer A (18A) and the printer B (18B) execute the image printing process according to the command from the bot server A.

図2は、ボットサーバA(16A)の機能ブロック図である。ボットサーバAは、機能ブロックとして、通信部160、メッセージ受付部161、内容解析部162、動作制御部163、応答メッセージ作成部164、ユーザ情報記憶部165、設定情報記憶部166、メッセージ記憶部167、及びAPIゲートウェイ168を備える。 FIG. 2 is a functional block diagram of the bot server A (16A). The bot server A has a communication unit 160, a message reception unit 161, a content analysis unit 162, an operation control unit 163, a response message creation unit 164, a user information storage unit 165, a setting information storage unit 166, and a message storage unit 167 as functional blocks. , And an API gateway 168.

通信部160は、チャットサービスサーバ14及びプリンタA、Bと通信する。通信部160は、APIゲートウェイ168を介してチャットサービスサーバ14と通信し、メッセージを交換する。通信部160は、APIゲートウェイ168を介してチャットサービスサーバ14から受信したメッセージ、すなわちユーザ端末A~ユーザ端末Cからのメッセージをメッセージ受付部161に出力する。また、通信部160は、応答メッセージ作成部164で作成された応答メッセージをAPIゲートウェイ168を介してチャットサービスサーバ14に送信(つまりユーザ端末A~ユーザ端末Cに送信)する。さらに、通信部160は、動作制御部163からの指令に従い、プリンタA,プリンタBにプリント指令を出力してプリンタA,Bを駆動する。 The communication unit 160 communicates with the chat service server 14 and the printers A and B. The communication unit 160 communicates with the chat service server 14 via the API gateway 168 and exchanges messages. The communication unit 160 outputs a message received from the chat service server 14 via the API gateway 168, that is, a message from the user terminal A to the user terminal C to the message reception unit 161. Further, the communication unit 160 transmits the response message created by the response message creation unit 164 to the chat service server 14 via the API gateway 168 (that is, transmitted to the user terminal A to the user terminal C). Further, the communication unit 160 outputs a print command to the printer A and the printer B in accordance with the command from the operation control unit 163 to drive the printers A and B.

メッセージ受付部161は、受付手段として機能し、通信部160からのメッセージを受け付け、内容解析部162に出力する。メッセージには、設定情報の登録に関するメッセージが含まれる。メッセージ受付部161は、受け付けたメッセージをメッセージ記憶部167に順次記憶する。 The message receiving unit 161 functions as a receiving means, receives a message from the communication unit 160, and outputs the message to the content analysis unit 162. The message includes a message regarding registration of setting information. The message receiving unit 161 sequentially stores the received messages in the message storage unit 167.

内容解析部162は、受け付けたメッセージの内容を解析して動作制御部163に出力する。具体的には、受け付けたメッセージに含まれるユーザ識別子(ユーザID)を認識するとともに、メッセージに含まれるテキスト部分を抽出してその構文解析を実行する。構文解析の方法は任意であり、例えば、入力メッセージを形態素単位に分解した後、名詞や形容詞、動詞、疑問代名詞をキーワードとして抽出する。内容解析部162は、メッセージのテキスト部分に動作指示が含まれている場合に、その動作指示の内容を解析して動作制御部163に出力する。本実施形態における動作指示には、プリンタA、Bに対するプリント指示や、プリンタA,Bの設定情報についての指示が含まれる。 The content analysis unit 162 analyzes the content of the received message and outputs it to the operation control unit 163. Specifically, the user identifier (user ID) included in the received message is recognized, and the text portion included in the message is extracted and its syntax analysis is executed. The method of parsing is arbitrary. For example, after decomposing an input message into morpheme units, nouns, adjectives, verbs, and interrogative pronouns are extracted as keywords. When the text portion of the message includes an operation instruction, the content analysis unit 162 analyzes the content of the operation instruction and outputs it to the operation control unit 163. The operation instruction in the present embodiment includes a print instruction to the printers A and B and an instruction about the setting information of the printers A and B.

動作制御部163は、制御手段として機能し、内容解析部162で得られた解析結果に基づき、プリンタA,Bの動作に関する設定情報を設定情報記憶部166に登録する。また、動作制御部163は、ユーザからのメッセージに応答してプリンタA,Bにプリント指令を出力する。また、動作制御部163は、チャットボットの動作モードを制御する。具体的には、デフォルト状態ではプリントサービスを実行する動作モードとし、プリントサービスを実行後は、プリントサービスを実行しない動作モードに移行させる。 The operation control unit 163 functions as a control means, and based on the analysis result obtained by the content analysis unit 162, the setting information regarding the operation of the printers A and B is registered in the setting information storage unit 166. Further, the operation control unit 163 outputs a print command to the printers A and B in response to a message from the user. Further, the motion control unit 163 controls the motion mode of the chatbot. Specifically, in the default state, the operation mode is set to execute the print service, and after the print service is executed, the operation mode is changed to the operation mode in which the print service is not executed.

応答メッセージ作成部164は、内容解析部162における解析結果に応じて応答メッセージを作成し、通信部160を介してチャットサービスサーバ14に送信する。 The response message creation unit 164 creates a response message according to the analysis result in the content analysis unit 162, and transmits the response message to the chat service server 14 via the communication unit 160.

ユーザ情報記憶部165は、チャットサービスサーバ14を利用するユーザの情報、特に、ボットサーバAで実現されるチャットボットを利用するユーザの情報をユーザ情報テーブルとして記憶する。チャットボットは、チャットサービスサーバ14で実現されるチャットサービス上で特定のアカウントが割り当てられており、このアカウントを指定してユーザが特定操作を行って利用可能あるいは利用権限を有する状態とする(以下、これを「友達登録」という)ことでチャットボットの利用が確定される。ユーザ情報は、例えばユーザIDである。各ユーザの権限についての情報を記憶してもよい。 The user information storage unit 165 stores information on the user who uses the chat service server 14, particularly information on the user who uses the chatbot realized by the bot server A as a user information table. In the chatbot, a specific account is assigned on the chat service realized by the chat service server 14, and the user can perform a specific operation by designating this account and make it available or have usage authority (hereinafter,). , This is called "friend registration") to confirm the use of the chatbot. The user information is, for example, a user ID. Information about the privileges of each user may be stored.

設定情報記憶部166は、ボットサーバAで実現されるチャットボットを利用するユーザ毎の設定情報をテーブルとして記憶する。設定情報の項目は、例えば使用するプリンタの識別情報、カラーモード、用紙サイズ、部数等であるがこれに限定されない。後に説明するように、設定情報は、ボットサーバAが提供するサービスの内容に応じて決定され得る。プリントサービスの場合には、プリントに関する情報であり、検索サービスの場合には、検索条件に関する情報である。設定情報は、サービスの内容を規定する情報であり、複数の項目を含み得る。 The setting information storage unit 166 stores the setting information for each user who uses the chatbot realized by the bot server A as a table. The items of setting information are, for example, identification information of the printer to be used, color mode, paper size, number of copies, and the like, but are not limited thereto. As will be described later, the setting information may be determined according to the content of the service provided by the bot server A. In the case of a print service, it is information about printing, and in the case of a search service, it is information about search conditions. The setting information is information that defines the content of the service, and may include a plurality of items.

メッセージ記憶部167は、メッセージ受付部161で受け付けたユーザからのメッセージを履歴として記憶する。 The message storage unit 167 stores the message from the user received by the message reception unit 161 as a history.

図3は、ボットサーバAの構成ブロック図を示す。ボットサーバAは、1又は複数のサーバコンピュータから構成され、1又は複数のCPU16b、ROM16c、RAM16d、通信インタフェース(I/F)16e、入出力I/F16f、及び記憶装置16gを備える。 FIG. 3 shows a block diagram of the bot server A. The bot server A is composed of one or a plurality of server computers, and includes one or a plurality of CPUs 16b, ROM 16c, RAM 16d, a communication interface (I / F) 16e, input / output I / F 16f, and a storage device 16g.

1又は複数のCPU16bは、ROM16cあるいは記憶装置16gに記憶されたボットアプリを読み出し、RAM16dをワーキングメモリとして用いることでチャットボットの機能を実現する。すなわち、ユーザからのメッセージに自動応答し、ユーザからのメッセージに動作指示が含まれている場合に当該動作指示に応じてプリンタA,Bを駆動する。CPU16bは、ボットアプリを実行することで、図2におけるメッセージ受付部161、内容解析部162、動作制御部163、応答メッセージ作成部164、及びAPIゲートウェイ168を実現する。 The one or a plurality of CPUs 16b reads out the bot application stored in the ROM 16c or the storage device 16g, and realizes the function of the chatbot by using the RAM 16d as the working memory. That is, the printers A and B are automatically responded to the message from the user, and when the message from the user includes an operation instruction, the printers A and B are driven in response to the operation instruction. By executing the bot application, the CPU 16b realizes the message receiving unit 161 in FIG. 2, the content analysis unit 162, the operation control unit 163, the response message creating unit 164, and the API gateway 168.

通信I/F16eは、チャットサービスサーバ14とのメッセージのやり取りを行うとともに、プリンタA,Bに対してプリント指令を出力する。 The communication I / F 16e exchanges messages with the chat service server 14, and outputs print commands to the printers A and B.

入出力I/F16fは、キーボードマウス等の入力装置、表示装置等の出力装置とデータを送受信する。 The input / output I / F 16f transmits / receives data to / from an input device such as a keyboard / mouse and an output device such as a display device.

記憶装置16gは、HDD(Hard Disk Drive:ハードディスクドライブ)やSSD(Solid State Drive:ソリッドステートドライブ)等の不揮発性メモリで構成され、ボットアプリを記憶する他に、ユーザ情報テーブル、設定情報テーブル、及びメッセージ管理テーブルを記憶する。記憶装置16gは、図2におけるユーザ情報記憶部165、設定情報記憶部166、及びメッセージ記憶部167を実現する。 The storage device 16g is composed of a non-volatile memory such as an HDD (Hard Disk Drive) or SSD (Solid State Drive), and in addition to storing a bot application, a user information table, a setting information table, and the like. And store the message management table. The storage device 16g realizes the user information storage unit 165, the setting information storage unit 166, and the message storage unit 167 in FIG. 2.

なお、本実施形態では、チャットボットを実現するためのソフトウェアロボットプログラムをCPUにより実行しているが、チャットボットの一部をプログラムの実行による処理ではなく、ハードウェア処理により実現してもよい。ハードウェア処理は、例えばASICやFPGA(フィールドプログラマブルゲートアレイ)などの回路を用いて行ってもよい。 In the present embodiment, the software robot program for realizing the chat bot is executed by the CPU, but a part of the chat bot may be realized by hardware processing instead of processing by executing the program. The hardware processing may be performed by using a circuit such as ASIC or FPGA (Field Programmable Gate Array).

次に、ユーザA及びユーザBを例にとり、設定情報の登録について説明する。 Next, the registration of the setting information will be described by taking the user A and the user B as an example.

図4は、ユーザA及びユーザBによる設定登録処理を模式的に示す。 FIG. 4 schematically shows the setting registration process by the user A and the user B.

ユーザA及びユーザBは、チャットサービス上で特定のアカウントが割り当てられたチャットボットに対して友達登録を行うと、ボットサーバA(16A)は、ユーザA及びユーザBにそれぞれユーザ識別子(ユーザID)を割り当てるとともに、プリンタA及びプリンタBについても一意に特定するためのプリンタ識別子(プリンタID)を割り当てる。ユーザIDは、ユーザA及びユーザBのチャットサービス上のアカウントをそのまま援用してもよい。 When the user A and the user B register as a friend for the chat bot to which a specific account is assigned on the chat service, the bot server A (16A) assigns the user identifier (user ID) to the user A and the user B, respectively. Is assigned, and a printer identifier (printer ID) for uniquely identifying the printer A and the printer B is also assigned. As the user ID, the accounts on the chat service of user A and user B may be used as they are.

次に、ユーザAは、チャットサービスサーバ14を経由してボットサーバA(16A)に対してメッセージを送信し、プリンタAまたはプリンタBを特定した上で、設定情報を登録させる。例えば、ユーザAは、プリンタAを特定した上で、設定情報として
カラーモード:カラー
用紙サイズ:A4
部数:1部
を指定するメッセージを送信する。ボットサーバAは、これらのメッセージを受信すると、そのメッセージ内容を解析し、設定情報として解釈するとユーザAとプリンタAとを対応付けた上で上記の設定情報を設定情報テーブルに記録する。
Next, the user A sends a message to the bot server A (16A) via the chat service server 14, identifies the printer A or the printer B, and then registers the setting information. For example, the user A identifies the printer A, and then uses the color mode: color paper size: A4 as setting information.
Number of copies: Send a message specifying 1 copy. When the bot server A receives these messages, it analyzes the message contents, and when it interprets it as setting information, it associates the user A with the printer A and records the above setting information in the setting information table.

ユーザBについても同様であり、チャットサービスサーバ14を経由してボットサーバA(16A)に対してメッセージを送信し、プリンタAまたはプリンタBを特定した上で、設定情報を登録させる。例えば、ユーザBは、プリンタBを特定した上で、設定情報として
カラーモード:白黒
用紙サイズ:レター(letter)
部数:2部
を指定するメッセージを送信する。ボットサーバAは、これらのメッセージを受信すると、そのメッセージ内容を解析し、設定情報として解釈するとユーザBとプリンタBとを対応付けた上で上記の設定情報を設定情報テーブルに記録する。
The same applies to the user B, and a message is transmitted to the bot server A (16A) via the chat service server 14, the printer A or the printer B is specified, and then the setting information is registered. For example, the user B identifies the printer B, and then uses the color mode: black-and-white paper size: letter as setting information.
Number of copies: Send a message specifying 2 copies. When the bot server A receives these messages, it analyzes the contents of the messages, associates the user B with the printer B when interpreting them as setting information, and records the above setting information in the setting information table.

図5は、設定情報記憶部166に記憶される設定情報テーブルの一例を示す。ユーザ毎に、プリンタ、色(カラーモード)、サイズ(用紙サイズ)、コピー数(部数)が対応付けて記録される。より詳しくは、ユーザの識別情報毎に、プリンタの識別情報、色(カラーモード)、サイズ(用紙サイズ)、コピー数(部数)が対応付けて記録される。 FIG. 5 shows an example of a setting information table stored in the setting information storage unit 166. The printer, color (color mode), size (paper size), and number of copies (number of copies) are recorded in association with each user. More specifically, the printer identification information, the color (color mode), the size (paper size), and the number of copies (number of copies) are recorded in association with each user's identification information.

このように、ユーザAあるいはユーザBは、チャットボットを友達登録することでプリンタ及び設定情報を登録させ、チャットボットに「プリント」等のメッセージを送信することで所望のプリンタ及び所望の印刷条件でプリントサービスを実行させることができる。 In this way, the user A or the user B registers the printer and the setting information by registering the chatbot as a friend, and sends a message such as "print" to the chatbot with the desired printer and desired printing conditions. You can run the print service.

他方で、ユーザAとユーザBが同一グループを形成してグループチャットを行っている場合において、ユーザAが友達登録しているチャットボットをそのグループチャットに入室(参加)させるときがある。ユーザA及びユーザBは、チャットを楽しみながら適宜、チャットボットにプリント指示を行い、プリントサービスを実行させることができるが、プリントサービスを実行した後もチャットボットがグループチャットに参加していると、ユーザAとユーザBとの間のチャットにチャットボットが自動応答し、ユーザAまたはユーザBの意に沿わずにプリントサービスを実行してしまう場合がある。 On the other hand, when user A and user B form the same group and perform group chat, a chatbot registered as a friend by user A may be allowed to enter (participate in) the group chat. User A and User B can give a print instruction to the chat bot and execute the print service as appropriate while enjoying the chat, but if the chat bot is still participating in the group chat even after executing the print service, In some cases, the chat bot automatically responds to the chat between the user A and the user B, and the print service is executed without the intention of the user A or the user B.

そこで、本実施形態では、チャットボットがグループチャットに入室している状態でプリントサービスを実行した後は、グループチャットから自動的に退出することで、ユーザAまたはユーザBの意に沿わない不要なプリントサービスの実行を抑制する。チャットボットが退出した場合、メッセージ受付部161はユーザからのメッセージを受け付けることはなく、従ってメッセージ内容を解析してプリントサービスを提供することもない。さらに、メッセージ記憶部167にメッセージを記憶することもない。 Therefore, in the present embodiment, after the print service is executed while the chatbot is in the group chat, the chatbot automatically exits from the group chat, which is unnecessary according to the intention of the user A or the user B. Suppress the execution of print services. When the chatbot leaves, the message receiving unit 161 does not receive the message from the user, and therefore does not analyze the message content and provide the print service. Further, the message is not stored in the message storage unit 167.

図6は、ユーザAのみがチャットボットとメッセージをやり取りする場合のユーザ端末Aの表示部に表示される画面例を示す。ユーザ端末Aの画面には、チャットサービスサーバ14によりユーザAを示す表象図形(アイコン)100、及びチャットボットを示すアイコン104が表示される。そして、ユーザA、及びチャットボットのメッセージ200が上から下に時系列で表示される。 FIG. 6 shows an example of a screen displayed on the display unit of the user terminal A when only the user A exchanges a message with the chatbot. On the screen of the user terminal A, the chat service server 14 displays a representation figure (icon) 100 indicating the user A and an icon 104 indicating the chatbot. Then, the message 200 of the user A and the chatbot is displayed in chronological order from top to bottom.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is complete,
"Printing is complete"
And automatically respond.

チャットボットは、プリントサービスを実行後も、そのままグループチャットに参加しているものとする。 It is assumed that the chatbot still participates in the group chat even after executing the print service.

その後、ユーザAは、ユーザ端末Aを操作して、
「あの写真いいね」
とのメッセージを送信する。このメッセージは、グループチャットに参加している全てのユーザ(チャットボットを含む)に送信される。そして、このメッセージを視認したユーザBが、ユーザ端末Bを操作して、
「見たよ、確かにいいね」
とのメッセージを送信する。このメッセージも、グループチャットに参加している全てのユーザ(チャットボットを含む)に送信される。そして、このメッセージを視認したユーザAが、
「そういえば、あのときの写真もプリントしようか」
等とメッセージを送信する。このメッセージも、グループチャットに参加している全てのユーザ(チャットボットを含む)に送信されるため、チャットボットがこのメッセージに含まれる「プリント」とのキーワードを抽出し、
「プリントしますか?」
とのメッセージを作成して自動応答し得る。ユーザAとしては、ユーザBに対するメッセージであり、かつ、プリントする意思がないにもかかわらず、チャットボットが自動応答してプリントサービスを実行しようとするのは好ましくない。
After that, the user A operates the user terminal A, and the user A operates the user terminal A.
"Like that photo"
And send a message. This message is sent to all users (including chatbots) participating in group chat. Then, the user B who visually recognizes this message operates the user terminal B to operate the user terminal B.
"I saw it, I like it."
And send a message. This message is also sent to all users (including chatbots) participating in group chat. Then, the user A who visually recognizes this message
"By the way, let's print the photo at that time."
Etc. and send a message. This message is also sent to all users (including chatbots) participating in the group chat, so the chatbot will extract the keyword "print" contained in this message.
"Do you want to print?"
Can be created and automatically responded to. It is not preferable for the user A to automatically respond to the chatbot and try to execute the print service even though the message is to the user B and the user has no intention of printing.

そこで、本実施形態では、チャットボットは、プリントサービスを実行した場合には、自動的に退出することで、ユーザからのメッセージに対する不要な応答を抑制する。 Therefore, in the present embodiment, the chatbot automatically exits when the print service is executed, thereby suppressing an unnecessary response to a message from the user.

図7は、本実施形態におけるユーザ端末Aの表示部に表示される画面例を示す。 FIG. 7 shows an example of a screen displayed on the display unit of the user terminal A in the present embodiment.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、プリンタA又はプリンタBからの完了通知を確認した上で、
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is completed, after confirming the completion notification from printer A or printer B,
"Printing is complete"
And automatically respond.

そして、チャットボットは、プリントサービス実行直後にグループチャットから退出する。退出した状態では、メッセージ受付部161、内容解析部162、動作制御部163、及び応答メッセージ作成部164は動作を停止する。なお、退出状態において、メッセージ受付部161、内容解析部162、動作制御部163は動作状態を維持し、動作制御部163がプリンタA,Bの駆動を停止するとともに、応答メッセージ作成部164を非動作状態に制御してもよい。従って、本実施形態におけるチャットボットの「入室」状態とは、ユーザからのメッセージに応答し得る状態、より具体的にはメッセージ受付部161、内容解析部162、動作制御部163、及び応答メッセージ作成部164が動作状態にあることを意味し、「退出」状態とは、ユーザからのメッセージに応答しない状態、より具体的には少なくとも動作制御部163及び応答メッセージ作成部164が動作状態にないことを意味する。 Then, the chatbot leaves the group chat immediately after executing the print service. In the exited state, the message receiving unit 161, the content analysis unit 162, the operation control unit 163, and the response message creating unit 164 stop the operation. In the exit state, the message receiving unit 161, the content analysis unit 162, and the operation control unit 163 maintain the operation state, the operation control unit 163 stops driving the printers A and B, and the response message creation unit 164 is not used. It may be controlled to the operating state. Therefore, the "entry" state of the chatbot in the present embodiment is a state in which a message from the user can be responded to, more specifically, a message receiving unit 161, a content analysis unit 162, an operation control unit 163, and a response message creation. The unit 164 means that the unit 164 is in the operating state, and the "exit" state means that the user does not respond to the message, more specifically, at least the operation control unit 163 and the response message creating unit 164 are not in the operating state. Means.

その後、ユーザAは、ユーザ端末Aを操作して、
「あの写真いいね」
とのメッセージを送信する。このメッセージは、グループチャットに参加している全てのユーザに送信される。そして、このメッセージを視認したユーザBが、ユーザ端末Bを操作して、
「見たよ、確かにいいね」
とのメッセージを送信する。このメッセージも、グループチャットに参加している全てのユーザに送信される。そして、このメッセージを視認したユーザAが、
「そういえば、あのときの写真もプリントしようか」
等とメッセージを送信する。このメッセージも、グループチャットに参加している全てのユーザに送信されるが、チャットボットは既に退出して非動作状態となっているので、このメッセージに含まれる「プリント」とのキーワードを抽出し、
「プリントしますか?」
とのメッセージを作成して自動応答することはない。図において、×印は、このような自動応答メッセージが送信されないことを示す。
After that, the user A operates the user terminal A, and the user A operates the user terminal A.
"Like that photo"
And send a message. This message is sent to all users participating in the group chat. Then, the user B who visually recognizes this message operates the user terminal B to operate the user terminal B.
"I saw it, I like it."
And send a message. This message is also sent to all users participating in the group chat. Then, the user A who visually recognizes this message
"By the way, let's print the photo at that time."
Etc. and send a message. This message is also sent to all users participating in the group chat, but since the chatbot has already left and is inactive, we extracted the keyword "print" included in this message. ,
"Do you want to print?"
Will not be automatically answered by composing a message with. In the figure, a cross indicates that such an autoresponder message is not transmitted.

ユーザAからのメッセージを視認したユーザBは、
「そうだね、プリントしよう」
等のメッセージを送信し、ユーザA及びユーザB間での円滑なチャットが維持され得る。
User B who visually recognizes the message from User A
"That's right, let's print."
Etc. can be transmitted, and a smooth chat between the user A and the user B can be maintained.

図7では、チャットボットは、プリントサービス実行直後に退出しているが、退出に際して退出した旨のメッセージを送信してもよい。 In FIG. 7, the chatbot has left immediately after executing the print service, but may send a message to the effect that the chatbot has left when leaving.

図8は、この場合の画面例を示す。 FIG. 8 shows an example of a screen in this case.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、プリンタAまたはプリンタBからの完了通知を確認した上で
「プリント完了しました」
とのメッセージを作成して自動応答する。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is completed, "Printing is completed" after confirming the completion notification from Printer A or Printer B.
And automatically respond.

そして、チャットボットは、プリントサービス実行直後にグループチャットから退出し、第1動作モードから第2動作モードに移行するが、この際に、
「チャットボット退出しました」
とのメッセージ202を作成して送信する。
Then, the chatbot exits the group chat immediately after executing the print service and shifts from the first operation mode to the second operation mode. At this time,
"I left the chatbot"
Message 202 is created and sent.

このメッセージを視認したユーザA及びユーザBは、チャットボットが退出したことを認識し得る。 The user A and the user B who have visually recognized this message can recognize that the chatbot has left.

また、図7及び図8では、チャットボットは、プリントサービス実行直後に退出しているが、プリントサービス実行後の一定時間を退出待機期間として設け、この一定時間内にユーザからの特定のメッセージがない場合に退出してもよい。 Further, in FIGS. 7 and 8, the chatbot exits immediately after the print service is executed, but a certain time after the print service is executed is set as an exit waiting period, and a specific message from the user is sent within this fixed time. You may leave if you do not have one.

図9は、この場合の画面例を示す。 FIG. 9 shows an example of a screen in this case.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、プリンタAまたはプリンタBからの完了通知を確認した上で
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is completed, "Printing is completed" after confirming the completion notification from Printer A or Printer B.
And automatically respond.

そして、チャットボットは、プリントサービス実行後に
「他になければ退出します」
とのメッセージを作成して応答することで退出予定を通知し、一定時間の待機状態に移行する。一定時間は例えば3分間等と設定し得るが、これに限定されない。
And the chatbot will "leave if there is nothing else" after running the print service.
By creating and responding to the message, the exit schedule is notified, and the system shifts to the standby state for a certain period of time. The fixed time can be set to, for example, 3 minutes, but is not limited to this.

一定時間内にユーザからの特定メッセージがない場合、一定時間経過後にチャットボットは退出し、
「チャットボット退出しました」
とのメッセージ202を送信する。
If there is no specific message from the user within a certain period of time, the chatbot will leave after a certain period of time, and
"I left the chatbot"
Message 202 is sent.

他方、図10は、一定時間内にユーザから特定メッセージが送信される場合の画面例を示す。 On the other hand, FIG. 10 shows an example of a screen in which a specific message is transmitted from the user within a certain period of time.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了してプリンタAまたはプリンタBからの完了通知を確認すると、
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is completed and the completion notification from printer A or printer B is confirmed,
"Printing is complete"
And automatically respond.

そして、チャットボットは、プリントサービス実行後に
「他になければ退出します」
とのメッセージ204を作成して応答することで退出予定を通知し、一定時間の待機状態に移行する。
And the chatbot will "leave if there is nothing else" after running the print service.
By creating and responding to the message 204, the exit schedule is notified, and the system shifts to the standby state for a certain period of time.

このメッセージを視認したユーザAは、一定時間内に
「@チャットボット 待って!」
とのメッセージ206を送信する。ここで、「@チャットボット」は、グループチャットにおいて特定のメンバ(ここではチャットボット)に向けたメッセージであることを示す。
User A who sees this message will say "@ Chatbot wait!" Within a certain period of time.
Message 206 is sent. Here, "@chatbot" indicates that the message is directed to a specific member (here, a chatbot) in a group chat.

このメッセージ206を受信したチャットボットは、メッセージ内容を解析し、特定メッセージに一致するとして退出待機状態を解除し、
「はい」
とのメッセージを作成して応答する。
Upon receiving this message 206, the chatbot analyzes the message content, cancels the exit waiting state as matching a specific message, and cancels the exit waiting state.
"yes"
And respond by composing a message with.

なお、ユーザからの特定メッセージではなく、特定スタンプが一定時間内に送信された場合にも、チャットボットは退出待機状態を解除して入室状態を維持し得る。 Even if a specific stamp is sent within a certain period of time instead of a specific message from the user, the chatbot can cancel the exit waiting state and maintain the entry state.

図11は、チャットボットの処理フローチャートを示す。 FIG. 11 shows a processing flowchart of the chatbot.

グループチャットの参加メンバ、例えばユーザAからの招待操作に応じ、チャットボットは当該グループチャットに入室(参加)する(S101)。入室状態では、メッセージ受付部161でメッセージを受け付けてメッセージ記憶部167に順次記憶するとともに、内容解析部162でメッセージ内容を解析し、動作制御部163に出力する。動作制御部163は、メッセージ内容がプリント指示であればプリンタA,Bを駆動してプリントサービスを実行する。また、応答メッセージ作成部164は、ユーザからのメッセージに応じた内容のメッセージを作成して送信する。なお、グループチャットに入室(参加)するにあたり、ユーザA及びユーザBはチャットボットを友達登録してその利用権限を有するものとする。 In response to an invitation operation from a member participating in the group chat, for example, user A, the chatbot enters (participates in) the group chat (S101). In the room entry state, the message receiving unit 161 receives the message and sequentially stores it in the message storage unit 167, and the content analysis unit 162 analyzes the message content and outputs it to the operation control unit 163. If the message content is a print instruction, the operation control unit 163 drives the printers A and B to execute the print service. Further, the response message creation unit 164 creates and sends a message having the content corresponding to the message from the user. In addition, when entering (participating in) a group chat, user A and user B shall register the chatbot as a friend and have the right to use it.

グループチャットに参加すると、チャットボットは、ユーザからのメッセージを受信し、プリント指示であるか否か、つまりプリントすべき画像データとしての原稿が含まれているか否かを判定する(S102)。 Upon participating in the group chat, the chatbot receives a message from the user and determines whether or not it is a print instruction, that is, whether or not a manuscript as image data to be printed is included (S102).

原稿を受信した場合(S102でYES)、チャットボットは、プリント指示に応答してプリントサービスを実行する(S103)。そして、
「他になければ退出します」
とのメッセージを送信することで退出予定を通知し(S104)、一定時間の待機状態に移行する。一定時間は、例えば3分間である。
When the manuscript is received (YES in S102), the chatbot executes the print service in response to the print instruction (S103). and,
"If there is nothing else, I will leave."
By sending the message "S104", the exit schedule is notified (S104), and the state shifts to the standby state for a certain period of time. The fixed time is, for example, 3 minutes.

そして、一定時間内に原稿または特定メッセージを受信したか否かを判定する(S105)。原稿または特定メッセージを受信することなく一定時間が経過すると(S105でNO)、チャットボットは自動的にグループチャットから退出する。 Then, it is determined whether or not the manuscript or the specific message has been received within a certain period of time (S105). After a certain period of time has passed without receiving the manuscript or the specific message (NO in S105), the chatbot automatically exits the group chat.

他方、一定時間内に原稿を受信した場合には、待機状態を解除して入室状態をそのまま維持し、S103の処理に移行して当該原稿のプリントサービスを実行する。また、一定時間内の特定メッセージ、例えば
「@チャットボット 待って!」
とのメッセージを受信した場合にも、待機状態を解除して入室状態をそのまま維持し、S102の処理に移行して原稿を受信したか否かを判定する。
On the other hand, when the manuscript is received within a certain period of time, the standby state is released, the room entry state is maintained as it is, the process proceeds to S103, and the print service of the manuscript is executed. Also, a specific message within a certain period of time, for example, "@ Chatbot Wait!"
Even when the message "" is received, the standby state is canceled and the room entry state is maintained as it is, and the process proceeds to S102 to determine whether or not the document has been received.

<実施形態3>
実施形態1あるいは実施形態2において、チャットボットがグループチャットから退出する際に、退出する旨のメッセージを送信するだけでなく、退出後に再度チャットボットを入室(参加)させるための情報をユーザに通知してもよい。
<Embodiment 3>
In the first or second embodiment, when the chatbot leaves the group chat, not only the message to the effect of leaving is sent, but also the user is notified of the information for re-entering (participating) the chatbot after leaving. You may.

図12は、この場合の画面例を示す。 FIG. 12 shows an example of a screen in this case.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is complete,
"Printing is complete"
And automatically respond.

そして、チャットボットは、プリントサービス実行後に
「他になければ退出します」
とのメッセージ204を作成して応答し、一定時間の待機状態に移行する。一定時間は例えば3分間等と設定し得るが、これに限定されない。
And the chatbot will "leave if there is nothing else" after running the print service.
Message 204 is created and responded to, and the state shifts to the standby state for a certain period of time. The fixed time can be set to, for example, 3 minutes, but is not limited to this.

一定時間内にユーザからの特定メッセージがない場合、一定時間経過後にチャットボットは退出し、
「退出します」
「連絡先を残しておきます」
とのメッセージ208を送信する。連絡先は、URLでもよく、チャットボットのアカウント名や連絡先をまとめて記載したデータでもよい。チャットサービスにおいて、文書や写真等を参加メンバで共有するためのツール(ノート)は公知であり、チャットボットは、例えば当該共有ツールに自己のアカウント名や連絡先を残してもよい。
If there is no specific message from the user within a certain period of time, the chatbot will leave after a certain period of time, and
"Leave"
"Leave your contact information"
Message 208 is sent. The contact information may be a URL, or may be data in which the chatbot account name and contact information are collectively described. In the chat service, a tool (note) for sharing documents, photos, etc. among participating members is known, and a chatbot may leave his / her account name and contact information in the sharing tool, for example.

自己の連絡先を通知した後、チャットボットは、
「チャットボット退出しました」
とのメッセージ202を送信する。
After notifying their contact information, the chatbot will
"I left the chatbot"
Message 202 is sent.

<実施形態4>
実施形態1~3では、チャットボットは、プリントサービスを実行した直後、あるいは一定時間経過後にグループチャットから退出しているが、ユーザが再びチャットボットを利用したいと欲する場合には、当該チャットボットをもう一度グループチャットに招待して参加させる必要があるので手間となる。
<Embodiment 4>
In the first to third embodiments, the chatbot exits the group chat immediately after executing the print service or after a certain period of time, but when the user wants to use the chatbot again, the chatbot is used. It's a hassle because you need to invite them to the group chat again to participate.

そこで、本実施形態では、チャットボットとして、プリントサービスを実行する第1チャットボットと、プリントサービスを実行しない第2チャットボットを用意し、第1チャットボットがプリントサービスを実行した直後、あるいは一定時間経過後に自動的に退出した後も第2チャットボットはそのまま参加し続ける。プリントサービスを実行しない第2チャットボットは、ユーザからのメッセージを受信してメッセージ記憶部167に順次記憶するとともにメッセージ内容を解析するチャットボットとして機能し、必要な場合に第1チャットボットをグループチャットに招待して参加させる機能を有する。第1チャットボット及び第2チャットボットとも、ボットサーバAで実現される。第1チャットボット及び第2チャットボットは、互いに異なるプログラムモジュールである。グループチャットの参加メンバ、例えばユーザAからの招待操作に応じ、第1チャットボットが当該グループチャットに入室(参加)すると、第2チャットボットも第1チャットボットとともに参加する。但し、第2チャットボットは、第1チャットボットが参加して動作状態にあるときには、メッセージの受け付けや解析、プリンタA,Bの駆動、及び応答メッセージの作成及び送信は行わない。 Therefore, in the present embodiment, as chatbots, a first chatbot that executes the print service and a second chatbot that does not execute the print service are prepared, and immediately after the first chatbot executes the print service, or for a certain period of time. The second chatbot will continue to participate even after automatically leaving after the lapse of time. The second chatbot that does not execute the print service functions as a chatbot that receives messages from the user, sequentially stores them in the message storage unit 167, and analyzes the message contents, and group chats the first chatbot when necessary. It has a function to invite and participate in. Both the first chatbot and the second chatbot are realized by the bot server A. The first chatbot and the second chatbot are different program modules from each other. When the first chatbot enters (participates in) the group chat in response to an invitation operation from a participating member of the group chat, for example, user A, the second chatbot also participates with the first chatbot. However, the second chatbot does not accept or analyze messages, drive printers A and B, and create and send response messages when the first chatbot participates and is in an operating state.

図13は、本実施形態におけるユーザ端末Aの表示部に表示される画面例である。 FIG. 13 is an example of a screen displayed on the display unit of the user terminal A in the present embodiment.

ユーザAは、ユーザ端末Aを操作して、
「プリント」
とのメッセージをチャットボットに送信する。また、このメッセージとともにプリントすべき画像データを添付する。メッセージに代えて、単に画像データのみを送信してもよい。
The user A operates the user terminal A to operate the user terminal A.
"Print"
Send a message to the chatbot. In addition, the image data to be printed is attached together with this message. Instead of the message, only the image data may be transmitted.

このメッセージを受信したチャットボットは、メッセージの内容を解析してプリント指示と解釈し、
「プリントします」
とのメッセージを作成して自動応答し、ユーザAの設定情報に従ってプリンタAまたはプリンタBを駆動してプリントサービスを実行する。プリントが完了すると、プリンタAまたはプリンタBからの完了通知を確認した上で
「プリント完了しました」
とのメッセージを作成して自動応答する。
Upon receiving this message, the chatbot analyzes the content of the message and interprets it as a print instruction.
"Print"
Is created and automatically responded to, and the printer A or the printer B is driven according to the setting information of the user A to execute the print service. When printing is completed, "Printing is completed" after confirming the completion notification from Printer A or Printer B.
And automatically respond.

そして、チャットボットは、プリントサービス実行後に
「他になければ退出します」
とのメッセージ204を作成して応答することで退出予定を通知し、一定時間の待機状態に移行する。一定時間は例えば3分間等と設定し得るが、これに限定されない。
And the chatbot will "leave if there is nothing else" after running the print service.
By creating and responding to the message 204, the exit schedule is notified, and the system shifts to the standby state for a certain period of time. The fixed time can be set to, for example, 3 minutes, but is not limited to this.

一定時間内にユーザからの特定メッセージがない場合、一定時間経過後に第1チャットボットは退出し、
「第1チャットボット退出しました」
とのメッセージ202を送信する。
If there is no specific message from the user within a certain period of time, the first chatbot will leave after a certain period of time.
"I left the first chatbot"
Message 202 is sent.

第1チャットボットが退出すると、これに応じて第2チャットボットが動作状態となり、ユーザからのメッセージを受け付け、その内容を解析する。そして、ユーザAから
「プリントおねがい!」
とのスタンプを受信すると、第2チャットボットは、このスタンプの内容を解析し、特定スタンプに一致するとして、予め記憶されている第1チャットボットのアカウントを用いて第1チャットボットを自動的に招待し、
「第2チャットボットが第1チャットボットを招待しました」
とのメッセージ210を送信する。また、第1チャットボットが入室(参加)状態に移行すると、
「第1チャットボット参加しました」
とのメッセージ212を送信する。
When the first chatbot leaves, the second chatbot goes into operation accordingly, receives a message from the user, and analyzes its contents. Then, from User A, "Please print!"
Upon receiving the stamp, the second chatbot analyzes the contents of this stamp and automatically selects the first chatbot using the pre-stored account of the first chatbot as matching the specific stamp. Invite and
"The second chatbot has invited the first chatbot."
Message 210 is sent. Also, when the first chatbot shifts to the entry (participation) state,
"I participated in the first chatbot"
Message 212 is sent.

図14は、本実施形態におけるチャットボットの処理フローチャートを示す。 FIG. 14 shows a processing flowchart of the chatbot in the present embodiment.

グループチャットの参加メンバ、例えばユーザAからの招待操作に応じ、第1チャットボット及び第2チャットボットは当該グループチャットに参加し、第1チャットボットは動作状態に移行する(S201)。第2チャットボットは参加しているものの、非動作状態に移行する。動作状態では、メッセージ受付部161でメッセージを受け付けてメッセージ記憶部167に順次記憶するとともに、内容解析部162でメッセージ内容を解析し、動作制御部163に出力する。動作制御部163は、メッセージ内容がプリント指示であればプリンタA,Bを駆動してプリントサービスを実行する。また、応答メッセージ作成部164は、ユーザからのメッセージに応じた内容のメッセージを作成して送信する。なお、グループチャットに参加するにあたり、ユーザA及びユーザBは第1チャットボットを友達登録してその利用権限を有するものとする。第1チャットボットを友達登録すると、自動的に第2チャットボットも友達登録され、その利用権限を有する。 In response to an invitation operation from a member participating in the group chat, for example, user A, the first chatbot and the second chatbot participate in the group chat, and the first chatbot shifts to the operating state (S201). Although the second chatbot is participating, it shifts to the non-operating state. In the operating state, the message receiving unit 161 receives the message and sequentially stores it in the message storage unit 167, and the content analysis unit 162 analyzes the message content and outputs it to the operation control unit 163. If the message content is a print instruction, the operation control unit 163 drives the printers A and B to execute the print service. Further, the response message creation unit 164 creates and sends a message having the content corresponding to the message from the user. In participating in the group chat, user A and user B shall register the first chatbot as a friend and have the right to use it. When the first chatbot is registered as a friend, the second chatbot is also automatically registered as a friend and has the right to use it.

グループチャットに参加すると、第1チャットボットは、ユーザからのメッセージを受信し、プリント指示であるか否か、つまりプリントすべき画像データとしての原稿が含まれているか否かを判定する(S202)。 Upon participating in the group chat, the first chatbot receives a message from the user and determines whether or not it is a print instruction, that is, whether or not a manuscript as image data to be printed is included (S202). ..

原稿を受信した場合(S202でYES)、第1チャットボットは、プリント指示に応答してプリントサービスを実行する(S203)。そして、
「他になければ退出します」
とのメッセージを送信することで退出予定を通知し(S204)、一定時間の待機状態に移行する。一定時間は、例えば3分間である。
When the manuscript is received (YES in S202), the first chatbot executes the print service in response to the print instruction (S203). and,
"If there is nothing else, I will leave."
By sending the message "S204", the exit schedule is notified (S204), and the state shifts to the standby state for a certain period of time. The fixed time is, for example, 3 minutes.

そして、一定時間内に原稿または特定メッセージを受信したか否かを判定する(S205)。原稿または特定メッセージを受信することなく一定時間が経過すると(S205でNO)、第1チャットボットは自動的にグループチャットから退出して非動作状態に移行する。このとき、第2チャットボットは参加状態を維持し、かつ、第1チャットボットが非動作状態に移行したことを起因として非動作状態から動作状態に移行し、メッセージ受付部161でメッセージを受け付けてメッセージ記憶部167に順次記憶するとともに、内容解析部162でメッセージ内容を解析し、応答メッセージ作成部164は、ユーザからのメッセージに応じた内容のメッセージを作成して送信する。但し、第2チャットボットの動作制御部163は、プリントサービスを実行しない。 Then, it is determined whether or not the manuscript or the specific message has been received within a certain period of time (S205). When a certain period of time elapses without receiving the manuscript or the specific message (NO in S205), the first chatbot automatically exits the group chat and shifts to the non-operating state. At this time, the second chatbot maintains the participating state, and the first chatbot shifts from the non-operating state to the operating state due to the transition to the non-operating state, and the message receiving unit 161 receives a message. The message storage unit 167 sequentially stores the message content, the content analysis unit 162 analyzes the message content, and the response message creation unit 164 creates and transmits a message with the content corresponding to the message from the user. However, the operation control unit 163 of the second chatbot does not execute the print service.

他方、一定時間内に原稿を受信した場合には、第1チャットボットは待機状態を解除して動作状態をそのまま維持し、S203の処理に移行して当該原稿のプリントサービスを実行する。また、一定時間内の特定メッセージを受信した場合にも、待機状態を解除して動作状態をそのまま維持し、S202の処理に移行して原稿を受信したか否かを判定する。 On the other hand, when the manuscript is received within a certain period of time, the first chatbot releases the standby state, maintains the operating state as it is, shifts to the processing of S203, and executes the print service of the manuscript. Further, even when a specific message is received within a certain period of time, the standby state is released and the operating state is maintained as it is, and the process proceeds to S202 to determine whether or not the document has been received.

第1チャットボットが退出した後に、ユーザから特定メッセージまたは特定スタンプ、例えば
「プリントおねがい!」
とのスタンプを受信すると、動作状態にある第2チャットボットはこのスタンプの内容を解析し、特定スタンプに一致するとして予め記憶された第1チャットボットのアカウントを用いてグループチャットに自動的に招待、つまりユーザからの明示的な指示なしに招待し、第1チャットボットを非動作状態から再び動作状態に移行させる。
After the first chatbot leaves, a specific message or stamp from the user, such as "Please print!"
Upon receiving the stamp, the operating second chatbot analyzes the contents of this stamp and automatically invites you to group chat using the first chatbot's account stored in advance as matching a specific stamp. That is, the first chatbot is invited from the non-operating state to the operating state again without an explicit instruction from the user.

このように、第1チャットボットとともに第2チャットボットを参加させ、第1チャットボットが退出した後に第2チャットボットにより第1チャットボットを自動的に招待させる構成とすることで、手動で第1チャットボットを再参加させる手間が省かれる。第2チャットボットは、プリントサービスを実行する機能を有さず、第1チャットボットのバックグラウンドで動作するソフトウェアロボットプログラムといえる。 In this way, the first chat bot is manually invited by the second chat bot after the second chat bot participates together with the first chat bot and the first chat bot leaves. Eliminates the hassle of rejoining chatbots. The second chatbot does not have a function of executing a print service, and can be said to be a software robot program that operates in the background of the first chatbot.

なお、第2チャットボットは、第1チャットボットが退出した後に動作状態に移行してユーザからのメッセージを受け付けてメッセージ記憶部167に履歴として順次記憶するから、第1チャットボットが再入室(再参加)して第1動作モードに移行した後に、第2チャットボットが受け付けた期間におけるメッセージや画像データを遡ってプリントすることが可能である。 Since the second chatbot shifts to the operating state after the first chatbot leaves, receives messages from the user, and sequentially stores them in the message storage unit 167 as a history, the first chatbot re-enters the room (re-entry). After (participating) and shifting to the first operation mode, it is possible to retroactively print messages and image data during the period accepted by the second chatbot.

また、第2チャットボットは、第1チャットボットが退出した後に動作状態に移行してユーザからのメッセージを受け付けてメッセージ記憶部167に履歴として順次記憶するが、セキュリティ確保あるいはプライバシー保護の観点から、全てのメッセージを記憶するのではなく、特定のメッセージのみ、例えば退出タイミングから一定時間以内の相対的に新しいメッセージや画像データのみを記憶してもよく、第1チャットボットが再参加して動作状態に移行した後も、相対的に新しいメッセージや画像データのみをプリントし得るように構成してもよい。退出タイミングから一定時間以上の相対的に古いメッセージや画像データを記憶しないことで、セキュリティ確保あるいはプライバシー保護が図られる。退出タイミングから一定時間以内の相対的に新しいメッセージとして、最も新しいメッセージ1通のみとしてもよい。 Further, the second chat bot shifts to the operating state after the first chat bot exits, receives a message from the user, and sequentially stores it as a history in the message storage unit 167. Instead of memorizing all messages, only specific messages, for example, relatively new messages or image data within a certain period of time from the exit timing may be memorized, and the first chat bot rejoins and operates. Even after the transition to, it may be configured so that only relatively new messages and image data can be printed. By not storing relatively old messages and image data for a certain period of time or more from the exit timing, security can be ensured or privacy can be protected. Only one newest message may be used as a relatively new message within a certain period of time from the exit timing.

以上、本発明の実施形態について説明したが、本発明はこれらの実施形態に限定されるものではなく、種々の変形が可能である。以下、変形例について説明する。 Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications are possible. Hereinafter, a modified example will be described.

<変形例1>
実施形態1において、チャットボットは、プリントサービスを実行後にグループチャットから退出しているが、退出後もユーザ情報記憶部165に記憶された友達登録の情報をそのまま維持してもよい。これにより、チャットボットがグループチャットに再参加した後に、再度、友達登録の操作を行う手間が省かれる。同様に、チャットボットは、退出後も設定情報記憶部166に記憶されたユーザ毎の設定情報をそのまま維持してもよい。これにより、チャットボットがグループチャットに再参加した後に、再度、設定情報を登録する手間が省かれる。
<Modification 1>
In the first embodiment, the chatbot exits from the group chat after executing the print service, but the friend registration information stored in the user information storage unit 165 may be maintained as it is even after exiting. This saves the trouble of performing the friend registration operation again after the chatbot rejoins the group chat. Similarly, the chatbot may maintain the setting information for each user stored in the setting information storage unit 166 as it is even after leaving. This saves the trouble of registering the setting information again after the chatbot rejoins the group chat.

<変形例2>
実施形態では、チャットボットとして、ユーザからのメッセージに応じてプリントサービスを提供するチャットボットを例にとり説明しているが、これ以外にもチャットボットは任意のサービスを提供し得る。これらのサービスを例示すると以下の通りである。
・音楽、ニュース記事、宿泊施設、書籍、料理レシピ等の検索サービス
・チケット予約サービス
・フリーマーケットへの出品/検索/取引連絡サービス
・他言語への翻訳サービス
<Modification 2>
In the embodiment, as a chatbot, a chatbot that provides a print service in response to a message from a user is described as an example, but the chatbot may provide any service other than this. Examples of these services are as follows.
・ Search service for music, news articles, accommodations, books, cooking recipes, etc. ・ Ticket reservation service ・ Listing / search / transaction contact service in free market ・ Translation service in other languages

図15は、翻訳サービスを実行する場合のシステム構成図を示す。図1と異なり、プリンタA(18A)、プリンタB(18B)に代えて、翻訳エンジンA(19A)、翻訳エンジン(19B)が備えられる。翻訳エンジンAは、日本語を英語に翻訳するソフトウェアロボットプログラムであり、翻訳エンジンBは、日本語を中国語に翻訳するソフトウェアロボットプログラムである。 FIG. 15 shows a system configuration diagram when the translation service is executed. Unlike FIG. 1, a translation engine A (19A) and a translation engine (19B) are provided in place of the printer A (18A) and the printer B (18B). The translation engine A is a software robot program that translates Japanese into English, and the translation engine B is a software robot program that translates Japanese into Chinese.

ユーザAが、翻訳エンジンAを選択し、英訳に続いて元の日本語を表示するようなフォーマットを設定情報として設定して登録する。これにより、ユーザAがチャットボットに対して
「今日は空いていますか?」
とのメッセージを送信すると、チャットボットは、翻訳エンジンAを駆動して
「Are you free today?」
「今日は空いていますか?」
とのメッセージを自動応答する。
User A selects the translation engine A, sets and registers a format that displays the original Japanese after the English translation as setting information. As a result, User A asks the chatbot, "Are you free today?"
And the chatbot drives the translation engine A to say "Are you free today?"
"Are you free today?"
Automatically responds to the message.

チャットボットは、翻訳サービスを実行後、グループチャットから退出する。 The chatbot exits the group chat after running the translation service.

10A ユーザ端末A、10B ユーザ端末B、10C ユーザ端末C、12 クラウド、14 チャットサービスサーバ、16A ボットサーバA、16B ボットサーバB、18A プリンタA、18B プリンタB。
10A user terminal A, 10B user terminal B, 10C user terminal C, 12 cloud, 14 chat service server, 16A bot server A, 16B bot server B, 18A printer A, 18B printer B.

Claims (9)

ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させる入室手段と、
ユーザからのメッセージに応じて前記ソフトウェアロボットアプリケーションにより特定処理を実行する実行手段と、
前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させる退出手段と、
退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させる手段と、
を備えるメッセージサービス提供装置。
A means of entering a room that allows a software robot application that exchanges messages with users to enter a message service that exchanges messages between users.
An execution means that executes a specific process by the software robot application in response to a message from the user, and
After executing the specific process, the screen indicates that the software robot application will be withdrawn from the message service, and if the first specific message or the specific stamp from the user is not received within a certain period of time, the software robot application is withdrawn. The exit means to display the effect on the screen and
When a second specific message or a specific stamp different from the first specific message or the specific stamp is received from the user after leaving the room, a means for displaying on the screen that the room has been entered.
Message service providing device.
前記退出手段は、退出させる場合に、前記ソフトウェアロボットアプリケーションを再度、入室させるための情報を前記ユーザに通知する
請求項1に記載のメッセージ提供装置。
The message providing device according to claim 1, wherein the exit means notifies the user of information for re-entering the room of the software robot application when the software robot application is exited.
前記退出手段は、退出させた後も、前記ユーザの前記ソフトウェアロボットアプリケーションに対する利用権限又は動作に関する設定情報を維持する
請求項1に記載のメッセージ提供装置。
The message providing device according to claim 1, wherein the exiting means maintains setting information regarding the usage authority or operation of the user for the software robot application even after the exit.
前記退出手段が前記ソフトウェアロボットアプリケーションを退出させた後に、前記ユーザからのメッセージまたはスタンプを記憶する記憶手段
を備える請求項1に記載のメッセージ提供装置。
The message providing device according to claim 1, further comprising a storage means for storing a message or a stamp from the user after the exit means exits the software robot application .
前記入室手段が前記ソフトウェアロボットアプリケーションを入室させてから退出させるまでの間における前記ユーザからのメッセージまたはスタンプを記憶し、前記退出手段が前記ソフトウェアロボットアプリケーションを退出させた後は、前記ユーザからの、退出タイミングに対して一定時間以内の相対的に新しいメッセージまたはスタンプを記憶し、一定時間以外の相対的に古いメッセージまたはスタンプを記憶しない記憶手段
を備える請求項1に記載のメッセージ提供装置。
The entry means stores a message or stamp from the user between the time when the software robot application is entered and the time when the software robot application is exited, and after the exit means exits the software robot application , the user from the user. The message providing device according to claim 1, further comprising a storage means for storing a relatively new message or stamp within a certain period of time with respect to the exit timing and not storing a relatively old message or stamp other than a certain time.
前記ソフトウェアロボットアプリケーションは、メッセージまたはスタンプを受け付けて特定処理を実行する第1ソフトウェアロボットアプリケーションと、前記メッセージまたは前記スタンプを受け付けても前記特定処理を実行しない第2ソフトウェアロボットアプリケーションを備え、入室状態では前記第1ソフトウェアロボットアプリケーションが動作し、退出状態では前記第2ソフトウェアロボットアプリケーションが動作する
請求項1に記載のメッセージ提供装置。
The software robot application includes a first software robot application that receives a message or a stamp and executes a specific process, and a second software robot application that receives the message or the stamp but does not execute the specific process. The message providing device according to claim 1, wherein the first software robot application operates and the second software robot application operates in the exit state.
前記特定処理は、印刷処理である
請求項1~6のいずれかに記載のメッセージ提供装置。
The message providing device according to any one of claims 1 to 6, wherein the specific process is a print process.
コンピュータに、
ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させるステップと、
ユーザからのメッセージに応じて前記ソフトウェアロボットアプリケーションにより特定処理を実行するステップと、
前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させるステップと、
退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させるステップと、
を実行させるプログラム。
On the computer
A step to enter a software robot application that exchanges messages with users into a message service that exchanges messages between users,
A step of executing a specific process by the software robot application in response to a message from the user,
After executing the specific process, the screen indicates that the software robot application will be withdrawn from the message service, and if the first specific message or the specific stamp from the user is not received within a certain period of time, the software robot application is withdrawn. The step to display the effect on the screen and
A step of displaying on the screen that the room has been entered when a second specific message or a specific stamp different from the first specific message or the specific stamp is received from the user after leaving the room.
A program to execute.
ユーザ間でメッセージをやり取りするメッセージサービスに、ユーザとメッセージをやり取りするソフトウェアロボットアプリケーションを入室させるステップと、
前記ユーザからのメッセージまたはスタンプを受け付けるステップと、
受け付けた前記メッセージまたは前記スタンプに応じて特定処理を実行するステップと、
前記特定処理を実行した後に前記ソフトウェアロボットアプリケーションを前記メッセージサービスから退出させる旨を画面に表示させ、一定時間内に前記ユーザからの第1の特定メッセージまたは特定スタンプを受け付けない場合に、退出させた旨を画面に表示させるステップと、
退出させた後に、前記ユーザからの、前記第1の特定メッセージまたは前記特定スタンプと異なる第2の特定メッセージまたは特定スタンプを受け付けた場合に、入室させた旨を画面に表示させるステップと、
を備える表示制御方法。
A step to enter a software robot application that exchanges messages with users into a message service that exchanges messages between users,
The step of accepting a message or stamp from the user,
A step of executing a specific process according to the received message or stamp, and
After executing the specific process, the screen indicates that the software robot application will be withdrawn from the message service, and if the first specific message or the specific stamp from the user is not received within a certain period of time, the software robot application is withdrawn. The step to display the effect on the screen and
A step of displaying on the screen that the room has been entered when a second specific message or a specific stamp different from the first specific message or the specific stamp is received from the user after leaving the room.
Display control method.
JP2018051875A 2018-03-20 2018-03-20 Message providing device, program, and display control method Active JP7081245B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018051875A JP7081245B2 (en) 2018-03-20 2018-03-20 Message providing device, program, and display control method
US16/294,328 US11240180B2 (en) 2018-03-20 2019-03-06 Message providing device and non-transitory computer readable medium
US17/552,820 US11805082B2 (en) 2018-03-20 2021-12-16 Message providing device and non-transitory computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018051875A JP7081245B2 (en) 2018-03-20 2018-03-20 Message providing device, program, and display control method

Publications (2)

Publication Number Publication Date
JP2019164575A JP2019164575A (en) 2019-09-26
JP7081245B2 true JP7081245B2 (en) 2022-06-07

Family

ID=68065653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018051875A Active JP7081245B2 (en) 2018-03-20 2018-03-20 Message providing device, program, and display control method

Country Status (1)

Country Link
JP (1) JP7081245B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7423277B2 (en) * 2019-11-28 2024-01-29 キヤノン株式会社 Server system and program that suppresses printing proposal inquiries
CN112152913B (en) * 2020-09-29 2022-07-08 支付宝(杭州)信息技术有限公司 Service control method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131196A (en) 2011-12-21 2013-07-04 Nhn Corp Message service provision system and method
US20150172505A1 (en) 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Image forming system, method of controlling image forming apparatus by using messenger application of mobile device, and the mobile device for performing the method
JP2016091456A (en) 2014-11-10 2016-05-23 シャープ株式会社 Voice recognition robot and program for controlling voice recognition robot
WO2016175483A1 (en) 2015-04-30 2016-11-03 주식회사 카카오 Method for providing chat service using client bot and apparatus for performing same
US20170195486A1 (en) 2015-12-30 2017-07-06 Shanghai Xiaoi Robot Technology Co., Ltd. Intelligent customer service systems, customer service robots, and methods for providing customer service
WO2017222616A1 (en) 2016-06-21 2017-12-28 Oracle International Corporation Internet cloud-hosted natural language interactive messaging system user resolver
CN107756395A (en) 2016-08-19 2018-03-06 腾讯科技(深圳)有限公司 Control system, the method and apparatus of intelligent robot
JP2019518292A (en) 2016-04-11 2019-06-27 フェイスブック,インク. A technique for responding to user requests using natural language machine learning based on speech samples

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131196A (en) 2011-12-21 2013-07-04 Nhn Corp Message service provision system and method
US20150172505A1 (en) 2013-12-16 2015-06-18 Samsung Electronics Co., Ltd. Image forming system, method of controlling image forming apparatus by using messenger application of mobile device, and the mobile device for performing the method
JP2016091456A (en) 2014-11-10 2016-05-23 シャープ株式会社 Voice recognition robot and program for controlling voice recognition robot
WO2016175483A1 (en) 2015-04-30 2016-11-03 주식회사 카카오 Method for providing chat service using client bot and apparatus for performing same
US20170195486A1 (en) 2015-12-30 2017-07-06 Shanghai Xiaoi Robot Technology Co., Ltd. Intelligent customer service systems, customer service robots, and methods for providing customer service
JP2019518292A (en) 2016-04-11 2019-06-27 フェイスブック,インク. A technique for responding to user requests using natural language machine learning based on speech samples
WO2017222616A1 (en) 2016-06-21 2017-12-28 Oracle International Corporation Internet cloud-hosted natural language interactive messaging system user resolver
CN107756395A (en) 2016-08-19 2018-03-06 腾讯科技(深圳)有限公司 Control system, the method and apparatus of intelligent robot

Also Published As

Publication number Publication date
JP2019164575A (en) 2019-09-26

Similar Documents

Publication Publication Date Title
JP7230397B2 (en) Control device, control system and control program
US11805082B2 (en) Message providing device and non-transitory computer readable medium
JP7176321B2 (en) Control device and control program
CN110941403B (en) Information processing apparatus and computer readable medium
JP7287040B2 (en) Message providing device, program, and display control method
JP7302154B2 (en) Control device, control system and control program
JP7067165B2 (en) Message providing device, program, and display control method
JP7013970B2 (en) Message providing device, program, and display control method
CN110308877B (en) Message providing device and non-transitory computer readable medium
JP7102888B2 (en) Message providing device and program
JP7073888B2 (en) Message providing device and program
JP7275717B2 (en) Message providing device, program, and display control method
CN110278142B (en) Message providing device, storage medium, and display control method
US11838456B2 (en) Information processing apparatus for causing an image forming apparatus to print in accordance with a post written in a chat
JP7081245B2 (en) Message providing device, program, and display control method
JP7215037B2 (en) Control device and control program
JP7063031B2 (en) Message providing device, program, and display control method
JP7192352B2 (en) Control device and control program
JP2019200666A (en) Message providing device and program
JP7210963B2 (en) Control device and control program
JP2025087075A (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220413

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220509

R150 Certificate of patent or registration of utility model

Ref document number: 7081245

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150