JP2018116455A - Message management device, message management method and message management program - Google Patents
Message management device, message management method and message management program Download PDFInfo
- Publication number
- JP2018116455A JP2018116455A JP2017006509A JP2017006509A JP2018116455A JP 2018116455 A JP2018116455 A JP 2018116455A JP 2017006509 A JP2017006509 A JP 2017006509A JP 2017006509 A JP2017006509 A JP 2017006509A JP 2018116455 A JP2018116455 A JP 2018116455A
- Authority
- JP
- Japan
- Prior art keywords
- short message
- chat
- unit
- sms
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、チャット及びSMSを用いた通信を行うメッセージ管理装置、メッセージ管理方法及びメッセージ管理プログラムに関する。 The present invention relates to a message management apparatus, a message management method, and a message management program that perform communication using chat and SMS.
従来、チャットやSMSといった通信手段を用いて、連絡を取り交わすことが行われる。特に、チャットは複数のユーザが互いに異なる遠隔地にいたとしても、お互いに連絡し合えるという点において、有効に活用される。特許文献1には、チャットのやり取りをする際に、ショートメッセージを利用して、チャットの文字メッセージを送信する技術が開示されている。
Conventionally, communication is performed using communication means such as chat and SMS. In particular, chatting is effectively used in that a plurality of users can communicate with each other even if they are in different remote locations.
しかしながら、上記特許文献1においては、ショートメッセージをチャットへの入力に利用するだけで、ショートメッセージとして利用しているわけではなく、ショートメッセージそのものを利用してチャットの内容を確認できるわけではない。また、チャットの入力からショートメッセージを送ることもできないという問題があった。
However, in the above-mentioned
そこで、本発明は上記問題に鑑みて成されたものであり、チャットの入力内容から自動的にショートメッセージを送信するメッセージ管理装置、メッセージ管理方法及びメッセージ管理プログラムを提供することを目的とする。 Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to provide a message management device, a message management method, and a message management program that automatically transmit a short message from the input content of a chat.
上記課題を解決するために、本発明の一態様に係るメッセージ管理装置は、チャットのトークルームに対する特定の入力を検出する検出部と、前記検出部が前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定部と、前記決定部が決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成部と、前記作成部が作成したショートメッセージを送信する送信部とを備える。 In order to solve the above-described problem, a message management device according to an aspect of the present invention includes a detection unit that detects a specific input to a chat talk room, and a short message when the detection unit detects the specific input. A determination unit that determines a transmission destination, a generation unit that generates a short message including information specified from the specific input, with the transmission destination determined by the determination unit as a transmission destination, and the generation unit A transmission unit that transmits a short message.
上記課題を解決するために、本発明の一態様に係るメッセージ管理方法は、チャットのトークルームに対する特定の入力を検出する検出ステップと、前記検出ステップにおいて前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定ステップと、前記決定ステップにおいて決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成ステップと、前記作成ステップにおいて作成したショートメッセージを送信する送信ステップとを含む。 In order to solve the above-described problem, a message management method according to an aspect of the present invention includes a detection step of detecting a specific input to a chat talk room, and a short message when detecting the specific input in the detection step. A determination step for determining a transmission destination, a creation step for creating a short message including information identified from the specific input, with the transmission destination determined in the determination step as a transmission destination; Transmitting a short message.
上記課題を解決するために、本発明の一態様に係るメッセージ管理プログラムは、コンピュータに、チャットのトークルームに対する特定の入力を検出する検出機能と、前記検出機能が前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定機能と、前記決定機能が決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成機能と、前記作成機能が作成したショートメッセージを送信する送信機能とを実現させる。 In order to solve the above problem, a message management program according to an aspect of the present invention provides a computer with a detection function for detecting a specific input to a chat talk room, and when the detection function detects the specific input, A determination function for determining a transmission destination to which a short message is transmitted, a generation function for generating a short message including information specified from the specific input, with the transmission destination determined by the determination function as a transmission destination, and the generation function Realizes the transmission function to transmit the short message created by.
上記メッセージ管理装置において、前記検出部は、前記トークルームにボットユーザとして参加し、前記トークルームに参加する他のユーザの発言のうち、特定の文字列を含む入力を前記特定の入力として検出することとしてもよい。 The said message management apparatus WHEREIN: The said detection part participates in the said talk room as a bot user, and detects the input containing a specific character string as said specific input among the remarks of the other user who participates in the said talk room. It is good as well.
上記メッセージ管理装置において、前記特定の文字列は、宛先に関する情報と本文に関する情報とを特定可能な文字列であり、前記決定部は、前記特定の文字列に含まれる宛先に関する情報に基づいて前記送信先を決定し、前記作成部は、前記特定の文字列に含まれる本文に関する情報を本文とするショートメッセージを作成することとしてもよい。 In the message management device, the specific character string is a character string that can specify information about a destination and information about a text, and the determination unit is configured to determine the destination based on the information about the destination included in the specific character string. The transmission destination may be determined, and the creation unit may create a short message having information on the text included in the specific character string as the text.
上記メッセージ管理装置において、前記検出部は、前記トークルームにボットユーザとして参加し、前記トークルームに参加する他のユーザがショートメッセージを送信する発言を行ったことを前記特定の入力として検出し、当該他のユーザに対して、前記トークルーム上で宛先に関する情報及び本文に関する情報の問い合わせを行い、前記決定部は、前記問い合わせに応じて前記他のユーザから入力された宛先に関する情報に基づいて前記送信先を決定し、前記作成部は、前記問い合わせに応じて前記他のユーザから入力された本文に関する情報を本文とし、前記決定部が決定した送信先を送信先とするショートメッセージを作成することとしてもよい。 In the message management device, the detection unit detects as a specific input that the user participates in the talk room as a bot user, and another user who participates in the talk room has made a statement to transmit a short message, The other user is inquired about information on the destination and information on the text on the talk room, and the determination unit is configured to perform the inquiry based on the information about the destination input from the other user in response to the inquiry. A transmission destination is determined, and the creation unit creates a short message in which the information on the text input from the other user in response to the inquiry is the text, and the transmission destination determined by the determination unit is the transmission destination. It is good.
上記メッセージ管理装置において、前記検出部は、前記特定の入力として、前記トークルームに参加するユーザのいずれかからショートメッセージを送信する旨の指示入力であって、宛先に関する情報及び本文に関する情報を含む指示入力を検出し、前記決定部は、前記宛先に関する情報に基づいて前記送信先を決定し、前記作成部は、前記本文に関する情報を本文とし、前記決定部が決定した送信先を送信先とするショートメッセージを作成することとしてもよい。 In the message management device, the detection unit includes, as the specific input, an instruction input for transmitting a short message from any of users participating in the talk room, and includes information on a destination and information on a text. An instruction input is detected, the determination unit determines the transmission destination based on the information on the destination, the creation unit sets the information on the text as a text, and sets the transmission destination determined by the determination unit as a transmission destination. A short message may be created.
上記メッセージ管理装置において、前記メッセージ管理装置は、更に、宛先に関する情報と、1以上の電話番号とを対応付けて記憶する記憶部を備え、前記決定部は、前記特定の入力から特定される宛先に関する情報に基づいて、前記記憶部に当該宛先に関する情報に対応付けられている1以上の電話番号を、ショートメッセージの送信先として決定することとしてもよい。 In the message management device, the message management device further includes a storage unit that stores information related to the destination and one or more telephone numbers in association with each other, and the determination unit is configured to specify the destination specified from the specific input. On the basis of the information on the information, one or more telephone numbers associated with the information on the destination in the storage unit may be determined as the transmission destination of the short message.
上記メッセージ管理装置において、前記メッセージ管理装置は、更に、前記送信部が送信したショートメッセージに応じて他の装置から送信されたショートメッセージを受信する受信部と、予め定められた所定のキーワードを記憶する記憶部と、前記受信部が受信したショートメッセージを解析して、前記ショートメッセージが前記所定のキーワードを含むか否かを判定する解析部と、前記解析部が前記所定のキーワードを含むと判定したショートメッセージの本文を、前記トークルームに参加するボットユーザとして発言する発言部とを備えることとしてもよい。 In the message management device, the message management device further stores a reception unit that receives a short message transmitted from another device in response to the short message transmitted by the transmission unit, and a predetermined keyword that is determined in advance. A storage unit that analyzes the short message received by the reception unit, determines whether the short message includes the predetermined keyword, and determines that the analysis unit includes the predetermined keyword. The body of the short message may be provided with a speech unit that speaks as a bot user participating in the talk room.
上記メッセージ管理装置において、メッセージ管理装置は、更に、トークルームにおける会話において、所定の条件に基づいて、特定のショートメッセージユーザとのトークを行うための新たなトークルームを生成し、作成部は、特定の入力なしで、新たなトークルームに対するチャットユーザからの発言に基づいてショートメッセージを作成し、発言部は、所定のキーワードなしで、受信部が受信したショートメッセージが特定のショートメッセージユーザからのショートメッセージである場合に、当該ショートメッセージの本文を、トークルームに発言することとしてもよい。 In the message management device, the message management device further generates a new talk room for performing a talk with a specific short message user based on a predetermined condition in the conversation in the talk room, A short message is created based on a message from a chat user for a new talk room without specific input, and the message unit receives a short message from a specific short message user without a predetermined keyword. In the case of a short message, the body of the short message may be spoken to the talk room.
本発明の一態様に係るメッセージ管理装置は、チャットに対して入力された内容から特定の入力を検出し、その特定の入力に基づいてショートメッセージを送信することができる。 The message management device according to an aspect of the present invention can detect a specific input from the content input to the chat and transmit a short message based on the specific input.
以下、本発明の一実施態様に係るメッセージ管理装置について、図面を参照しながら詳細に説明する。 Hereinafter, a message management device according to an embodiment of the present invention will be described in detail with reference to the drawings.
<実施の形態>
<構成>
図1は、メッセージ管理装置100が含まれるメッセージ管理システムの全体構成を示すシステム図である。
<Embodiment>
<Configuration>
FIG. 1 is a system diagram showing an overall configuration of a message management system including a
図1に示すように、メッセージ管理システムは、メッセージ管理装置100と、チャットサーバ200と、端末310aと、端末310bと、SMSサーバ400と、端末510aと、端末510bとを含む。
As shown in FIG. 1, the message management system includes a
同図に示すように、メッセージ管理装置100は、チャットサーバ200との間でチャットに関するチャットデータを送受信する。メッセージ管理装置100は、チャットボットを制御して、一ユーザとして、チャットに参加する。チャットサーバ200は、ユーザ300aの端末310aやユーザ300bの端末310bとの間でもチャットデータの送受信を行う。これにより、チャットサーバ200が提供するチャット機能を、メッセージ管理装置100と、端末310aと、端末310bと、の間で実現することができる。なお、端末310の数は、図1に示す台数(2台)に限られないことは言うまでもない。
As shown in the figure, the
また、メッセージ管理装置100は、SMSサーバ400との間でSMSに関するSMSデータを送受信する。SMSサーバ400は、ユーザ500aの端末510aやユーザ500bの端末510bとの間でもSMSデータの送受信を行う。即ち、SMSサーバ400は、メッセージ管理装置100と、端末510a、510bとの間で送受信するメッセージを中継する。なお、端末310の数は、図1に示す台数(2台)に限られないことは言うまでもない。
In addition, the
本実施の形態に係るメッセージ管理装置100は、ユーザ300aやユーザ300bからチャットに対してなされた入力に基づいて、メッセージ管理装置100がSMSをユーザ500aやユーザ500bの端末510aや端末510bに自動で送信する。また、メッセージ管理装置100が送信したショートメッセージに対して、端末510aや端末510bから返信があった場合に、メッセージ管理装置100は、そのショートメッセージを必要に応じて、チャットにSMSに関する情報を登録する。
In the
本実施の形態においては、一具体例として、チャットが例えば、警備会社あるいは警察組織等により利用されるチャットであることを想定するとともに、何らかの事故あるいは犯罪が発生した場合に、目撃者情報の収集にSMSを利用する例を説明する。なお、これは一例であり、チャットを利用する運営主体はこれに限るものではなく、また、情報収集する内容は目撃者情報に限るものではないことは言うまでもない。 In this embodiment, as one specific example, it is assumed that chat is a chat used by, for example, a security company or a police organization, and witness information is collected when an accident or crime occurs. An example of using SMS will be described. Note that this is an example, and the operating entity that uses chat is not limited to this, and it goes without saying that the content to be collected is not limited to witness information.
以下、上述の内容を実現するメッセージ管理装置100について説明する。図2は、メッセージ管理装置100の構成例を示すブロック図である。図2に示すようにメッセージ管理装置100は、送信部121と、検出部131と、決定部141と、作成部142とを備える。
Hereinafter, the
検出部131は、チャットのトークルームに対する特定の入力を検出する。チャットとは、複数のコンピュータ間で、コンピュータネットワークを介して、メッセージのやり取りを行うことをいう。トークルームとは、メッセージのやり取りを行う場のことである。特定の入力とは、トークルーム上で、トークルームに参加している任意のユーザから成される入力のことであり、例えば、特定の文字入力であったり、特定の処理を行うことを示す指示入力であったり、特定の情報を入力するためのフォームへの入力であったりするが、これらに限定されるものではない。特定の入力が特定の文字入力の場合、検出部131は、トークルームに対して入力されたメッセージを解析することにより、特定の文字入力があったか否かを検出できる。特定の入力が指示入力である場合、即ち、トークルーム上で使用可能なコマンド入力である場合には、そのコマンド信号を受け付けることで、特定の入力を検出できる、特定の入力が特定のフォームの入力である場合には、そのフォームは予めメッセージ管理装置100において使用可能なものであることから、メッセージ管理装置100は特定の入力を検出できる。
The
決定部141は、検出部131が、トークルームに対して特定の入力があったことを検出すると、ショートメッセ―ジを送信する送信先を決定する。決定部141は、例えば、特定の入力に含まれる情報から、送信先を決定することができる。例えば、特定の入力があるグループを指定する情報を含む場合には、そのグループに含まれる送信先をショートメッセージの送信先として決定することができる。
When the
作成部142は、決定部141が決定した送信先に対するショートメッセージを作成する。即ち、決定部141が決定した送信先を送信先とし、検出部131が検出した特定の入力から特定される情報を本文に含むショートメッセージを作成する。
The
送信部121は、作成部142が作成したショートメッセージを送信する。送信部121は、例えば、ショートメッセージの送受信を行う通信インターフェースである。
The
即ち、メッセージ管理装置100は、チャットにおけるトークルームに対して特定の入力がされた場合にショートメッセージを送信する装置である。チャットにおける通信プロトコルと、ショートメッセージの送受信における通信プロトコルとは互いに異なるものであるが、メッセージ管理装置100は、自動的に各通信に適したプロトコルでメッセージの送受信を行うことができる。
That is, the
図3は、メッセージ管理装置100の詳細な構成例を示すブロック図である。図3に示すように、メッセージ管理装置100は、チャット通信部110と、SMS通信部120と、チャットボット制御部130と、SMSボット制御部140と、解析部150と、記憶部155と、を備える。
FIG. 3 is a block diagram illustrating a detailed configuration example of the
チャット通信部110は、チャットサーバ200との間で、チャットサーバ200が提供するチャットによるメッセージの送受信を行う機能を有する通信インターフェースである。チャット通信部110は、有線または無線を介してチャットサーバ200と通信を実行する機能を有し、チャットサーバ200と通信を実行できるのであれば、通信プロトコルはどのような通信プロトコルを用いてもよい。
The
チャット通信部110は、送信部111と、受信部112とを含む。
送信部111は、チャットボット制御部130から伝達されたメッセージを、チャットボットが参加しているトークルームであって、チャットボット制御部130から指定されたトークルームに対する入力メッセージとして、チャットサーバ200に送信する。これにより、チャットサーバ200を介して、トークルームに参加しているユーザの端末(例えば、端末310a、310b)に、メッセージ管理装置100が送信したメッセージが表示されることになる。
The
受信部112は、チャットサーバ200が提供するトークルームに関する情報を受信する。受信部112は、メッセージ管理装置100が制御するチャットボットが参加しているトークルームに対して入力される各メッセージを受信する。受信部112は、メッセージを受信するごとに、当該メッセージを、バスを介して、チャットボット制御部130に伝達する。
The receiving
SMS通信部120は、SMSサーバ400との間で、SMSのやり取りを行う通信インターフェースである。SMS通信部120は、有線または無線を介してSMSサーバ400と通信を実行する機能を有し、SMSサーバ400と通信を実行できるのであれば、通信プロトコルはどのような通信プロトコルを用いてもよい。
The
SMS通信部120は、送信部121と、受信部122とを含む。
The
送信部121は、SMSボット制御部140から伝達されたSMSをSMSサーバ400に送信する。
The
受信部122は、SMSサーバ400から送信されたSMSを受信し、SMSボット制御部140に受信したSMSを伝達する。
The receiving
チャットボット制御部130は、チャットサーバ200が提供するチャットに係る制御を行う機能を有するプロセッサである。
The
チャットボット制御部130は、チャットボットがユーザとして参加しているトークルームにおいて、トークルームに参加しているユーザから、トークルームに対してなされた特定の入力を検出する。ここでは、特定の入力は、予め定められたフォーマットで入力された文字列のことをいい、例えば、「@bot SMS list: “AB地区リスト” msg: “21時ごろAB地区CCビルディング一階で放火と思われる火事がありました。不審者の情報がありましたら、お知らせください” mologic: “AB地区不審火”」というような入力を検出する。即ち、「@bot SMS list: “送信先” msg: “本文内容” mologic: “トークルーム情報”」というフォーマットで入力されている文字列があるか否かを検出する。
The
また、あるいは、チャットボット制御部130は、キーワードDB160に登録されているいずれかのキーワードの入力があったことを特定の入力として検出する。そして、そのキーワードの入力があった場合に、質疑応答形式で、ショートメッセージの送信の可否及びショートメッセージの宛先や本文内容を問い合わせる。このようにして、チャットボット制御部130は、特定の入力を検出する。
Alternatively,
また、あるいは、チャットボット制御部130は、トークルーム上で、ショートメッセージを送信するための入力フォーマットがあったことを特定の入力として検出する。
Alternatively, the
チャットボット制御部130は、トークルームに入力された入力内容の中に、上述のいずれかのパターンで記載されたメッセージを特定できた場合に、その文字列をSMS送信依頼としてSMSボット制御部140に伝達する。
When the chat
また、チャットボット制御部130は、SMSボット制御部140から、トークルームにメッセージとして入力すべき、情報を受け付けた場合に、その内容をトークルームに対するボットユーザとしての発言として、SMSで受信したメールの情報をチャットに登録する。
In addition, when the chat
また、チャットボット制御部130は、チャットに対して、ユーザから、SMSを直接やり取りするための入力があった場合に、その内容をSMSボット制御部140に中継する。チャットボット制御部130は、チャットサーバ200から、チャットに対して登録したSMSに関する情報に対して、そのショートメッセージを送信したSMSユーザとの間の個別トークを希望する入力があった場合に、チャットボット制御部130は、チャットサーバ200に対して上記入力を行ったチャットユーザとSMSユーザとの間の個別のトークルームの生成を要求する。チャットボット制御部130は、個別のトークルームの生成の要求と併せて、個別のトークルームに関連付けられるチャットユーザとSMSユーザとの間の通信の中継を行うために、記憶部155に記憶されている個別SMS転送情報に、新たに、情報を追記登録する。そして、チャットボット制御部130は、SMSボット制御部140と連携して、個別SMS転送情報を参照しながら、チャットユーザがした個別のトークルームへの入力をSMSとして、そのSMSユーザに送信し、そのSMSユーザからのショートメッセージを個別のトークルームに登録する。
When the chat
SMSボット制御部140は、ショートメッセージの送信に係る処理と、受信したショートメッセージに係る処理を行う機能を有するプロセッサである。
The SMS
SMSボット制御部140は、チャットボット制御部130から伝達されたSMS送信依頼に基づいてショートメッセージを送信する機能と、受信部122から伝達されたSMSサーバ400からのショートメッセージを解析して、必要に応じてそのショートメッセージの本文や送信者等の情報を、チャットボット制御部130に伝達する機能とを有する。また、SMSボット制御部140は、チャットボット制御部130からの個別トークの要請にしたがって、チャットボット制御部130と連携して、チャットユーザと、SMSユーザとの間のやり取りを中継する。
The SMS
解析部150は、SMS通信部120の受信部122がSMSサーバ400から受信したショートメッセージの本文を解析する機能を有する。解析部150は、ショートメッセージの本文に対して構文解析を行う。そして、構文解析の結果に、キーワードDB160に登録されているキーワードのいずれかが含まれているか否かを解析する。含まれていた場合に、解析部150は、そのキーワードとともに、SMSボット制御部140にその旨を伝達する。
The analysis unit 150 has a function of analyzing the text of the short message received from the
記憶部155は、メッセージ管理装置100が動作上必要とする各種プログラムやデータを記憶する機能を有する記憶媒体である。記憶部155は、例えば、HDD(Hard Disc Drive)、SSD(Solid State Drive)、フラッシュメモリ等により実現することができる。記憶部155はキーワードDB(Data Base。以下同様)160と、SMS送信先リストDB170と、キーワードトーク番号対応DB180と、個別SMS転送情報DB190とを記憶している。キーワードDB160は、解析部150が、SMSの本文を解析する際に参照する情報であって、チャットに情報として登録すべき、SMSを特定するために利用する情報である。SMS送信先リストDB170は、SMSをメッセージ管理装置100が送信する場合の送信先に関する情報である。キーワードトーク番号対応DB180は、受信したSMSの情報を登録する際に、複数のトークルームの中から、どのトークルームにSMSの情報を登録するのかを判断するのに用いる情報である。個別SMS転送情報DB190は、個別にSMSのやり取りを行う場合に利用する情報であり、チャットユーザとSMSユーザとの間で、互いに連絡を取り合うために、SMSユーザとトークルームの情報とを対応付けた情報である。各データベースについての更なる詳細は、後述する。
The
以上が、メッセージ管理装置100の構成である。
The above is the configuration of the
なお、チャットサーバ200の構成や機能は、一般に知られるチャット機能を提供するチャットサーバと同様であるので、説明を省略する。また、SMSサーバ400についても一般に知られるショートメッセージのやり取りを中継する装置としてのSMSサーバと同様であるので、説明を省略する。各端末についても、PCやタブレット端末、携帯端末、スマートホンなどの端末と同様の機能を有するものであるので、説明を省略する。
Note that the configuration and functions of the
<データ>
図5は、メッセージ管理装置100が保持する各データベースのデータ構成例を示すデータ概念図である。
<Data>
FIG. 5 is a data conceptual diagram showing a data configuration example of each database held by the
図5(a)は、キーワードDB160のデータ構成例を示すデータ概念図である。図5(a)に示すように、キーワードDB160は、メッセージ管理装置100が受信するSMSの本文を解析する際に参照する情報であって、各種のキーワードを記憶している情報である。図5(a)に示す例では、キーワードDB160には、キーワードとして、「SMS」、「ショートメッセージ」、「送る」、「募集する」、「目撃情報」等の用語が登録されていることが理解できる。
FIG. 5A is a data conceptual diagram illustrating a data configuration example of the
図5(b)は、SMS送信先リストDB170のデータ構成例を示すデータ概念図である。図5(b)にしめすように、SMS送信先リストDB170は、地区ID171と、地区名称172と、電話番号173とが対応付けられた情報である。
FIG. 5B is a data conceptual diagram showing a data configuration example of the SMS transmission
地区ID171は、ショートメッセージを送信する送信先の地区を識別するための識別情報である。ここでは、地区ID171は、数字で示しているが、各地区を一意に特定できるのであれば、数字に限るものではなく、アルファベットや記号も用いてよく、これらの組み合わせであってもよい。地区は、メッセージ管理装置100に対してオペレータが任意に範囲を設定できる。
The
地区名称172は、地区ID171に対応する地区の名称を示す情報である。
The
電話番号173は、対応する地区ID171に所在する電話連絡可能な装置の電話番号を示す情報であり、ショートメッセージの際に宛先として使用する番号を示す情報である。
The
図5(b)の例では、地区ID「002」が示す地区は「AB地区」であり、電話番号「+818012341234」が対応付けられている。なお、同じ地区には、当然ながら複数のユーザがいてよく、同じ地区に複数の異なる電話番号が対応付けられていてもよい。したがって、一つの地区IDが指定されたときに複数の電話番号が対応付けられている場合には、その各電話番号に対してショートメッセージが送信されることになる。 In the example of FIG. 5B, the district indicated by the district ID “002” is “AB district” and is associated with the telephone number “+811801234234”. Of course, there may be a plurality of users in the same district, and a plurality of different telephone numbers may be associated with the same district. Therefore, when a plurality of telephone numbers are associated when one district ID is designated, a short message is transmitted to each telephone number.
図5(c)は、キーワードトーク番号対応DB180のデータ構成例を示すデータ概念図である。
FIG. 5C is a data conceptual diagram showing a data configuration example of the keyword talk
図5(c)に示すように、キーワードトーク番号対応DB180は、キーワード181と、転送先トーク番号182とが対応付けられた情報である。
As shown in FIG. 5C, the keyword talk
キーワード181は、メッセージ管理装置100がSMSサーバ400から受信したショートメッセージから抽出するキーワードを示す情報である。
The
転送先トーク番号182は、対応するキーワードが受信したショートメッセージに含まれていた場合に、そのショートメッセージに関する情報をチャットボット制御部130が書き込むトークルームを特定するための情報である。
The transfer
図5(c)の例では、キーワード181が、「犯人」を含むショートメッセージを受信した場合には、トークルームの番号が「12341234−abd1−2084」であるトークルームに、そのショートメッセージに関する情報が書き込まれることになる。
In the example of FIG. 5C, when the
図5(d)は、個別SMS転送情報DB190のデータ構成例を示すデータ概念図である。
FIG. 5D is a data conceptual diagram showing a data configuration example of the individual SMS
図5(d)に示すように、個別SMS転送情報DB190は、電話番号191と、APIトークン192と、転送先トーク番号193とが対応付けられた情報である。
As shown in FIG. 5D, the individual SMS
電話番号191は、チャットユーザとSMSユーザとの間で個別にやりとりを行う場合のメッセージ管理装置100からのショートメッセージの送信先の電話番号であって、SMSユーザが使用している端末の電話番号を示す情報である。
A
APIトークン192は、チャットユーザとSMSユーザとの間で、チャットとSMSを用いた個別の連絡を相互に行う際に、独立したアプリケーションとして扱う場合の当該やり取りを一意に特定できる情報である。
The
転送先トーク番号193は、対応するAPIトークンでやり取りをするチャットのトークルームを特定する情報であり、トークルームを一意に識別するための識別情報である。ここでは、番号で記載しているが、トークルームに設定されたトークルームの名称などであってもよい。
The transfer
<動作>
図5は、メッセージ管理装置100のチャットからショートメッセージを自動送信する際の動作を示すフローチャートである。メッセージ管理装置100は、常時、チャットのトークルームにおけるユーザの発言を監視しており、以下に示す処理を発言があるごとに実行する。なお、メッセージ管理装置100のチャットボット制御部130が制御するチャットボットは、予め、トークルームに参加するユーザのいずれかからトークルームに招待されているものとする。
<Operation>
FIG. 5 is a flowchart showing an operation when the short message is automatically transmitted from the chat of the
図5に示すように、メッセージ管理装置100のチャットボット制御部130は、チャット通信部110が受信したトークルームの情報を解析して、チャットに対して新たな入力(書き込み)があるか否かを検出する(ステップS501)。トークルームに入力がない場合には(ステップS501のNO)、待機する。
As shown in FIG. 5, the chat
トークルームに入力があった場合には(ステップS501のYES)、チャットボット制御部130の検出部131は、新たな書き込みが特定の入力であるか否かを判定する(ステップS502)。特定の入力についての判定の詳細は後述する。
When there is an input in the talk room (YES in step S501), the
検出部131が、特定の入力であると判定した場合には(ステップS502のYES)、チャットボット制御部130は、特定の入力に基づくSMS送信依頼を、SMSボット制御部140に伝達する。トークルームへの入力が特定の入力でないと判定した場合には(ステップS502のNO)、ステップS501に戻る。
If the
SMSボット制御部140の決定部141は、伝達されたSMS送信依頼に基づいて、特定の入力内容を解析して、ショートメッセージの宛先と、本文内容を決定するする(ステップS503)。宛先と、本文内容の特定手法の詳細については後述する。
The
そして、SMSボット制御部140の作成部142は、特定した宛先と、本文内容のショートメッセージを生成し、SMS通信部120に伝達する(ステップS504)。
Then, the
SMS通信部120の送信部121は、受け付けたショートメッセージをSMSサーバ400に向けて送信する(ステップS505)。これにより、対応する各端末にメッセージ管理装置100が発進したショートメッセージが届けられる。
The
このようにして、メッセージ管理装置100は、チャットのトークルームにおいて特定の入力があった場合に、その特定の入力内容から宛先と本文内容を特定し、ショートメッセージとして送信することができる。即ち、チャット中のユーザが主体的にショートメッセージを作成するのではなく、チャットに対する書き込みだけで、ショートメッセージを送信することができる。
In this way, when there is a specific input in the chat talk room, the
ここで、特定の入力の詳細について、いくつかの例を説明する。 Here, some examples of the details of a specific input will be described.
<例1>
まず、特定の入力としては、予め定められた入力形式でユーザがメッセージをチャットに記入する方式である。図6のチャット画面例600を用いて説明する。図6に示すチャット画面例600は、チャットにおけるやり取りの一例を示す表示例である。図6に示すように「@bot SMS list:”送信先” msg:”本文内容” mologic:”受信トーク情報”」というフォーマットで、ユーザ300aやユーザ300bがそれぞれの端末310aや端末310bを用いて入力する。すると、チャットボット制御部130は、「@bot」を検出することで、それがショートメッセージの送信指示であることを認識する。この場合に、チャットボット制御部130は、SMSボット制御部140に対して、入力された内容を含むSMS送信依頼を伝達する。これを受けると、SMSボット制御部140は、入力された内容について、「SMS list:」の文字列以下であって、””に囲まれている範囲を送信先の情報、「msg:」の文字列以下であって、””に囲まれている範囲をショートメッセージの本文内容として特定する。また、SMSボット制御部140は、「mologic:」の文字列以下であって、””に囲まれている範囲を、送信したSMSに対する返信がきた場合であって、所定の条件を満たすSMSに関する情報を登録するトークルームの情報として特定する。
<Example 1>
First, the specific input is a method in which a user writes a message in a chat in a predetermined input format. This will be described with reference to a chat screen example 600 in FIG. A chat screen example 600 shown in FIG. 6 is a display example showing an example of exchange in chat. As shown in FIG. 6, in the format of “@bot SMS list:“ destination ”msg:“ text content ”mologic:“ received talk information ””, the user 300a and the
そして、SMSボット制御部140の作成部は、SMS list:以下に記載されている内容から特定される宛先を送信先とし、msg:以下に記載されている内容を本文とするショートメッセージを作成する。図6の例で言えば、SMSボット制御部140は、送信先を、AB地区リストという文字列と、SMS送信先リスト170とから、宛先の電話番号「+818012341234」を特定して、この電話番号を送信先とする。そして、ショートメッセージの本文を、「21時ごろAB地区CCビルディング一階で放火と思われる火事がありました。不審者の情報がありましたら、お知らせください。」とするショートメッセージを作成する。また、そのショートメッセージに対する返信があった場合には、そのSMSに関する情報は、「AB地区不審火」というトークルームに登録されることになる。
Then, the creation unit of the SMS
このように、特定の入力として、予め定められた入力形式で入力することで、チャットボットが、その入力を検出することでショートメッセージを作成、送信することができる。なお、この場合、特定の入力は、一意に特定できる内容である必要があり、通常の文章中で使用されにくい表現であることが望ましい。 As described above, by inputting the specific input in a predetermined input format, the chatbot can create and transmit a short message by detecting the input. In this case, the specific input needs to be content that can be uniquely specified, and is preferably an expression that is difficult to use in normal text.
<例2>
例2としては、質疑応答方式で入力を行う場合である。
<Example 2>
Example 2 is a case where input is performed by a question and answer method.
例えば、トークルームに対して、予め定められたキーワードの入力があったとする。例えば、キーワードとして、「SMS」、「ショートメッセージ」、「送信」等のキーワードがあったか否かを検出する。これらのキーワードはキーワードDB160に登録されている。これらのキーワードの入力を検出した場合に、チャットボット制御部130は、質疑応答方式でSMSの送信の可否を判断し、送信する場合の必要事項を取得して、SMSボット制御部140に対して、SMSの送信を依頼する。
For example, it is assumed that a predetermined keyword is input to the talk room. For example, it is detected whether or not there is a keyword such as “SMS”, “Short Message”, or “Send” as a keyword. These keywords are registered in the
図7のチャット画面例700を用いて説明する。図7に示すチャット画面例700は、チャットにおけるやり取りの一例を示す表示例である。図7に示すように、チャットボットが、トークルーム上で上述のいずれかのキーワードを検出した場合に、まず、「ショートメッセージを送りますか?」と、トークルームのユーザに問いかける。これに対する返事が、「はい」、「する」、「ええ」、「YES」などの肯定的な返答であるか、「いいえ」、「しない」、「NO」などの否定的な返答であるか否かに応じて、ボット制御部130は、ショートメッセージの送信の実行を判断する。ボット制御部130は、ユーザから肯定的な返答を得た場合に、更に、ショートメッセージを送信する際に必要とする各種の情報について問い合わせる。即ち、「送信先はどこですか?」、「内容はどういたしますか?」というように、宛先及び本文の情報について問い合わせる。宛先は、上記実施の形態に示したように宛先を指定するリストであってもよいし、個人のメールアドレス(電話番号)であってもよい。このような質疑応答方式で、ショートメッセージの送信に必要な情報をトークルームから収集すると、チャットボット制御部130は、収集した情報を含むショートメッセージ送信依頼をSMSボット制御部140に伝達する。SMSボット制御部140は、これを受けてショートメッセージを送信する。このような手法によっても、チャットからのSMSの自動送信を実現してもよい。なお、チャット画面例700には、示していないが、返信されたSMSに関する情報を登録する受信トークルームを問い合わせる構成もとってもよい。また、あるいは、受信トークルームは、ショートメッセージを送信することを決定したトークルームとしてもよい。
This will be described with reference to a chat screen example 700 in FIG. A chat screen example 700 shown in FIG. 7 is a display example showing an example of exchange in chat. As shown in FIG. 7, when the chatbot detects any of the above keywords on the talk room, it first asks the user of the talk room, “Do you want to send a short message?” Whether the response to this is a positive response such as “Yes”, “Yes”, “Yes”, “YES”, or a negative response such as “No”, “No”, “NO” Depending on whether or not, the
<例3>
例3としては、予め定められたメニューを、トークルームで表示しての入力である。
<Example 3>
Example 3 is an input in which a predetermined menu is displayed in a talk room.
図8のチャット画面例800を用いて説明する。図8に示すチャット画面例800は、チャットにおけるやり取りの一例を示す表示例である。図8に示すように、チャットの流れからショートメッセージを送信することとなった場合に、トークルーム上で、予め定められた入力フォーマットを呼び出して、SMSの送信を指示することができてもよい。 This will be described with reference to a chat screen example 800 in FIG. A chat screen example 800 shown in FIG. 8 is a display example showing an example of exchange in chat. As shown in FIG. 8, when a short message is to be transmitted from a chat flow, a predetermined input format may be called on the talk room to instruct SMS transmission. .
即ち、トークルーム上で使用可能なSMSの送信のためのメニューを用意しておく。そして、そのメニューが選択された場合に、トークルーム上で入力フォーマットが表示され、ユーザは、その内容を記入してショートメッセージを送信するトリガとしてもよい。図8のチャット画面例800に示すように、入力フォーマットとしては、宛先と、本文内容と、受信トークルーム情報とを入力するようになっており、ここに入力して完了ボタンを押下することで、チャットボット制御部130は、ショートメッセージの送信に必要な各種の情報を取得して、SMSボット制御部140に対して、ショートメッセージの送信を依頼することができる。このような手法によっても、チャットからのSMSの送信を実現することとしてもよい。
That is, a menu for sending SMS that can be used in the talk room is prepared. When the menu is selected, the input format is displayed on the talk room, and the user may fill in the content and send a short message as a trigger. As shown in the chat screen example 800 of FIG. 8, as an input format, the destination, the body content, and the received talk room information are input. By inputting here and pressing the completion button The chat
ここから、端末からショートメッセージを受信した場合の動作について説明する。図9は、端末から返信されたショートメッセージから、必要なショートメッセージを選択してチャットのトークルームに登録する際の動作を示すフローチャートである。図9に示すフローチャートは、メッセージ管理装置100が送信したショートメッセージに対して、返信されたショートメッセージのうち、有用と推定されたショートメッセージのみをチャットに登録する処理を示すフローチャートである。メッセージ管理装置100のSMSボットは、そのショートメッセージの取捨選択を行う。
From here, the operation when a short message is received from the terminal will be described. FIG. 9 is a flowchart showing an operation when a necessary short message is selected from the short messages returned from the terminal and registered in the chat talk room. The flowchart shown in FIG. 9 is a flowchart showing a process of registering only a short message estimated to be useful among the returned short messages in response to the short message transmitted by the
図9に示すように、メッセージ管理装置100のSMS通信部120は、SMSサーバ400から、ショートメッセージを受信する(ステップS901)。SMS通信部120は、受信したショートメッセージをSMSボット制御部140に伝達する。
As shown in FIG. 9, the
SMSボット制御部140は、受信したショートメッセージが、メッセージ管理装置100が送信したショートメッセージに対する返信である場合に、そのショートメッセージの解析を解析部150に依頼する(ステップS902)。
When the received short message is a reply to the short message transmitted by the
解析部150は、受信したショートメッセージの本文に対して構文解析を行い、キーワードDB190に登録されているキーワードのいずれかと合致するか否かを判定する(ステップS903)。 The analysis unit 150 performs syntax analysis on the text of the received short message, and determines whether or not it matches any of the keywords registered in the keyword DB 190 (step S903).
解析部150は、受信したショートメッセージの本文に、キーワードDB190に登録されているキーワードのいずれかが含まれている場合に(ステップS903のYES)、解析部150は、ショートメッセージに関する情報にキーワードが含まれていたことをSMSボット制御部140に伝達する。そして、SMSボット制御部140は、解析部150からショートメッセージにキーワードが含まれていた旨を通知された場合に、チャットボット制御部130に対して、ショートメッセージの登録依頼をする(ステップS904)。受信したショートメッセージの本文に、キーワードが含まれていなかった場合には(ステップS903のNO)、処理を終了する。
When the body of the received short message includes any of the keywords registered in the keyword DB 190 (YES in step S903), the analysis unit 150 determines that the keyword is included in the information related to the short message. The fact that it was included is transmitted to the SMS
ショートメッセージの登録依頼を受けたチャットボット制御部130は、ショートメッセージをどのトークルームに登録するのかを決定する(ステップS905)。具体的には、チャットボット制御部130は、登録依頼を受けたショートメッセージから解析部150が抽出したキーワードに基づいて、キーワードトーク番号対応DB180を参照して、対応する転送先トーク番号182を特定する。
The chat
チャットボット制御部130は、特定したトークルームに対して、受信したショートメッセージに関する情報を、特定したトーク番号に対応するトークルームにチャットボットとして登録して(ステップS906)、終了する。
The chat
このようにして、メッセージ管理装置100は、自身で送信したショートメッセージの中から必要な情報を含むと推定されるショートメッセージを推定して、対応するチャットのトークルームに登録することができる。したがって、チャットを利用している組織(ここでは、警備会社や警察組織)が必要とする情報を的確に収集することができる。
In this way, the
次に、チャットに対してメッセージ管理装置100が返信されてきたショートメッセージの情報を見たチャットユーザが、そのショートメッセージを返信してきたユーザと直接連絡をとる場合の処理について説明する。
Next, processing when the chat user who has seen the information of the short message returned by the
メッセージ管理装置100が送信したショートメッセージに対して、あるユーザからの返信のショートメッセージがチャットに登録されたときに、チャットに参加しているユーザは、その内容を確認する。その内容を見て、ショートメッセージを返信してきたユーザと直接連絡を取りたい場合に、チャットユーザは、チャットに登録された返信のショートメッセージに対して、個別トークSMSの開始を入力する。チャットボット制御部130は、チャットサーバ200から伝達される情報に基づいて、当該入力を検出する(ステップS1001)。個別トークSMSとは、ここでは、チャットユーザがSMSユーザとやり取りをする際に、チャットに対して入力するのに対し、ショートメッセージユーザは、ショートメッセージを利用する通信方法のことをいう。
When a short message returned from a certain user is registered in the chat for the short message transmitted by the
個別トークSMSの開始の入力の一具体例としては、返信されたチャットに登録されたSMSに関する情報のうち、電話番号部分を長押しすることを個別トークSMSの開始の入力としてよい。 As a specific example of the input of the start of the individual talk SMS, the long press of the telephone number portion of the information related to the SMS registered in the returned chat may be used as the input of the start of the individual talk SMS.
個別トークSMSの開始の入力があったことを検出したメッセージ管理装置100は、チャット上に新たなトークルームの作成をチャットサーバ200に依頼する(ステップS1002)。
The
チャットボット制御部130は、作成された新たなトークルームにおけるチャットユーザと、SMSユーザとの間のやり取りを中継するためのトークルームとして、APIトークンを割り振る(ステップS1003)。
The
チャットボット制御部130は、新たな入力がチャットユーザからあるか否かを検出する(ステップS1004)。新たな入力がトークルームに対して成されていた場合には(ステップS1004のYES)、SMSボット制御部140に、入力された内容と、入力がされたトークルームの情報を伝達する。
SMSボット制御部140は、伝達された内容を本文とし、トークルームの情報に対応する電話番号を宛先とするショートメッセージを作成する。SMSボット制御部140は、SMS通信部120に作成したショートメッセージを送信させる(ステップS1005)。
The SMS
SMSボット制御部140は、新たなショートメッセージをSMSサーバ400から受信したか否かを判定する(ステップS1006)。新たなショートメッセージを受信していない場合には(ステップS1006のNO)、ステップS1004に戻る。新たなショートメッセージを受信すると(ステップS1006のYES)、SMSボット制御部140は、送信元の電話番号が、個別SMS転送情報に登録されているか否かを判定する(ステップS1007)。
The SMS
送信元の電話番号が、個別SMS転送情報に登録されていない場合には(ステップS1007のNO)、図9に示したステップS901に移行する。 If the telephone number of the transmission source is not registered in the individual SMS transfer information (NO in step S1007), the process proceeds to step S901 shown in FIG.
送信元の電話番号が、個別SMS転送情報に登録されている場合には(ステップS1007のYES)、SMSボット制御部140は、受信したショートメッセージをチャットボット制御部130に伝達する。
When the transmission source telephone number is registered in the individual SMS transfer information (YES in step S1007), the SMS
そして、チャットボット制御部130は、伝達されたショートメッセージの本文を対応するトークルームに登録する(ステップS1008)。当該登録は、例えば、ショートメッセージの本文をボットユーザとして発言する形で実現できる。
Then, the
このようにして、メッセージ管理装置100は、チャットに対する所定の入力に基づいて、チャットユーザとSMSユーザとの間でやり取りするためのチャットルームを作成するとともに、チャットとSMSとの間のやり取りを中継して、チャットユーザとSMSユーザとの間のやり取りを、SMSユーザにチャットでのやり取りを意識させずに行うことができる。
In this way, the
<まとめ>
上記実施の形態に示したメッセージ管理装置100は、チャット上の会話に基づいて、自動的にショートメッセージを送信することができる。したがって、チャットユーザのショートメッセージの送信の手間を軽減することができる。また、送信したSMSに対して数多の返信が返ってきた場合にも、自動的にユーザが欲しい情報を含むと推定される返信をチャットのトークルームに登録することができるので、情報収集が容易になる。
<Summary>
The
<実施の形態2>
上記実施の形態1においては、SMSとチャットとで、APIを別のAPIとして扱ったが、本実施の形態2においては、同じAPIとして動作させる例を説明する。本実施の形態2におけるシステムでは、使用しているシステムを使用者に意識させないで使用させることができる。例えば、表示画面領域の小さい携帯電話機などにおいては、チャット画面は見にくく、逐次見たい箇所を拡大表示したりなどの操作が必要になったりして不便であり、結果的にSMSでのやり取りの方がやりやすいと感じるユーザもいる。一方で、PCや大き目のタブレット端末を利用するユーザにとっては、チャット画面の方がSMSよりも過去の経緯を理解し易かったりするため、チャットでのやり取りの方が好ましいと感じるユーザもいる。そのようなユーザが利用する機器の違いに応じた弁不便に応じて、違うシステムを使用しているユーザ間でもそれぞれの利用システムを意識させることなく、通信を実行できるシステムを、本実施の形態2で説明する。
<Embodiment 2>
In the first embodiment, the API is handled as different APIs for SMS and chat. In the second embodiment, an example in which the API is operated as the same API will be described. In the system according to the second embodiment, the system being used can be used without making the user aware of it. For example, in a mobile phone with a small display screen area, it is difficult to see the chat screen, and it is inconvenient because it requires an operation such as enlarging and displaying the part that you want to see sequentially. Some users find it easy to do. On the other hand, for users who use PCs or large tablet terminals, there are also users who feel that chatting is preferable because the chat screen is easier to understand the past than SMS. In this embodiment, a system capable of performing communication without being aware of each use system even between users using different systems in accordance with valve inconvenience according to the difference in equipment used by such users. 2 will be described.
<構成>
本実施の形態2において、チャットでメッセージを送信するために必要となるAPIのパラメータは、APIトークン、送信先のユーザID、トーク番号とが必要になる。
<Configuration>
In the second embodiment, API parameters necessary for transmitting a message by chat require an API token, a destination user ID, and a talk number.
一方、SMSでメッセージを送信するために必要となるAPIのパラメータは、電話番号の情報、APIトークン、送信元SMSコード、本文があればよい。 On the other hand, API parameters necessary for transmitting a message by SMS may include telephone number information, API token, transmission source SMS code, and text.
そのため、本実施の形態2に係るメッセージ管理装置100は、以下の構成を備える。
Therefore, the
即ち、チャットボット制御部130は、チャットサーバ200が管理する各トークルームのうち、自身で管理するチャットSMS管理DB220に登録されているかトークルームを監視する。チャットSMS管理DB220は、チャットとSMSを連動させるためにチャットのトークルームと、SMSでやり取りをするユーザの電話番号とを、対応付けた情報である。
That is, the chat
チャットボット制御部130は、監視しているトークルームのいずれかに入力があったことを検出すると、チャットSMS管理DB220において対応付けられている電話番号へのショートメッセージの送信をSMSボット制御部140に依頼する。当該送信依頼には、ショートメッセージの本文情報が含まれる。当該本文情報は、トークルームに入力された最新のチャットの本文である。
When
SMSボット制御部140は、ショートメッセージの送信依頼を受けると、チャットSMS管理DB220において対応付けられている電話番号を宛先として、伝達された本文情報を本文とするショートメッセージをSMS通信部120に送信させる。
When the SMS
一方、本実施の形態2に係るショートメッセージを利用するショートメッセージユーザは、端末からショートメッセージを送信する際に、メッセージを投稿するトークルームを特定するために、送信するショートメッセージに、チャットSMS管理DB220において管理されている仮想IDを付与して送信する。仮想IDの付与とは、ショートメッセージの文頭に仮想IDを記載して送信する。より具体的には、”@仮想ID 本文”という形式で送信する。SMSサーバ400は、そのようなショートメッセージを受信した場合には、メッセージ管理装置100にそのショートメッセージを転送する。
On the other hand, when a short message user using the short message according to the second embodiment transmits a short message from the terminal, the chat SMS management is added to the short message to be transmitted in order to specify a talk room to post the message. A virtual ID managed in the
SMSボット制御部140は、ショートメッセージを受信し、その本文の先頭に@仮想IDを検出すると、そのショートメッセージのチャットのトークルームへの登録をチャットボット制御部130に依頼する。
When the SMS
チャットボット制御部130は、受け付けた依頼に基づいて、受信したショートメッセージの仮想IDに対応するトークルームのIDを特定する。そして、特定したAPIに対応するトークルームに対して、受信したショートメッセージの本文の登録依頼をチャットボット通信部110に送信させる。
Based on the received request,
上述の構成により、チャットとSMSとの間でのやり取りを中継することができる。 With the above-described configuration, the exchange between chat and SMS can be relayed.
<データ>
ここで、チャットSMS管理DB220のデータ構成例を説明する。
<Data>
Here, a data configuration example of the chat
チャットSMS管理DB220は、図11に示すように、仮想ID1101と、トークルームID1102と、電話番号情報1103とが対応付けられた情報である。
As shown in FIG. 11, the chat
仮想ID1101は、チャットとSMSとでやり取りを実行する間柄を示す情報であり、やり取りをしているグループを一意に特定可能な識別情報である。
The
トークルームIDI1102は、対応している仮想IDで、やり取りをしているチャットのトークルームを一意に特定可能な識別情報である。
The
電話番号情報1103は、対応している仮想IDで、やり取りをしているSMSのユーザを一意に特定可能な識別情報である。
The
当該情報が記憶部155に記憶されていることにより、チャットとSMSの間のやり取りを実現することができる。
Since the information is stored in the
チャットSMS管理DB220に登録されている仮想ID毎の各情報は、以下のようにして生成される。チャットユーザが設定する場合には、トークルームを立ち上げるとともに、送信相手となるユーザの電話番号を設定することにより実現できる。また、SMSユーザ側から開始する場合には、チャットを運営している団体に対する電話番号を宛先とし、本文の文頭に@CREATEを入力して、メッセージを送信することをトリガとして、開始する。また、このとき、チャットに参加しているチャットユーザのうちのいずれかを指定する場合には、そのチャットユーザを特定可能な情報を@CREATTEに続けて入力しておくことで、その特定のチャットユーザとのトークルームを立ち上げるように構成してもよい。
Each information for each virtual ID registered in the chat
<動作>
以下に、本実施の形態2に係るメッセージ管理システムの動作を、図12に示すフローチャートを用いて説明する。図12に示すフローチャートは、メッセージ管理装置100において、チャットとSMSでのやり取りをするための仮想IDが割り当てられている状態を前提としての動作である。仮想IDの割り当てについての一手法は、上述した通りである。
<Operation>
The operation of the message management system according to the second embodiment will be described below using the flowchart shown in FIG. The flowchart shown in FIG. 12 is an operation based on the premise that a virtual ID for exchanging chat and SMS is assigned in the
図12に示すように、メッセージ管理装置100のチャットボット制御部130は、チャットに対して新たな書き込みがあるか否かを監視する(ステップS1201)。
As shown in FIG. 12, the chat
書き込みがある場合には(ステップS1201のYES)、チャットボット制御部130は、その書き込みに「@仮想ID」で始まる記載であるか否かを判定する(ステップS1202)。書き込みがない場合には(ステップS1201のNO)、ステップS1205に移行する。
If there is writing (YES in step S1201), the
「@仮想ID」で始まる記載であった場合には(ステップS1202のYES)、その仮想IDに対応する電話番号をチャットSMS管理DB220から特定する(ステップS1203)。「@仮想ID」で始まる記載でなかった場合には(ステップS1202のNO)、ステップS1205に移行する。そして、チャットボット制御部130は、特定した電話番号に対して、チャットに書き込まれた内容を、ショートメッセージとして送信するよう、SMSボット制御部140に依頼する。
If the description starts with “@virtual ID” (YES in step S1202), the telephone number corresponding to the virtual ID is specified from the chat SMS management DB 220 (step S1203). If the description does not begin with “@virtual ID” (NO in step S1202), the process proceeds to step S1205. Then, the chat
SMSボット制御部140は、当該依頼を受けると、SMS通信部110に、受け付けた依頼で示される電話番号を宛先とし、依頼で示される本文内容を本文とするショートメッセージを送信させる(ステップS1204)。
When the SMS
ステップS1205において、SMS通信部120は、ショートメッセージをSMSサーバ400から受け取っているか否かを確認する(ステップS1205)。
In step S1205, the
ショートメッセージを受信していない場合には(ステップS1205のNO)、ステップS1201に戻る。ショートメッセージを受信している場合には(ステップS1205のYES)、SMSボット制御部140は、ショートメッセージの本文が「@仮想ID」で開始しているか否かを判定する(ステップS1206)。
If no short message has been received (NO in step S1205), the process returns to step S1201. If a short message has been received (YES in step S1205), the SMS
ショートメッセージの本文が「@仮想ID」で開始している場合には(ステップS1206のYES)、対応するSMSボット制御部140は、チャットSMS管理DB220を参照して、対応するトークルームを特定する(ステップS1207)。
If the body of the short message starts with “@virtual ID” (YES in step S1206), the corresponding SMS
そして、SMSボット制御部140は、特定したトークルームに対して、ショートメッセージの本文を登録するよう、チャットボット制御部130に依頼する。当該依頼を受けてチャットボット制御部130は、対応するトークルームに、依頼された本文内容を投稿して、即ち、ショートメッセージの本文をボットユーザとして、トークルームに発言し(ステップS1208)、ステップS1201に戻る。
Then, the SMS
以上の処理により、メッセージ管理装置100は、チャットユーザと、SMSユーザとの間でのやり取りを中継することができる。
Through the above processing, the
<補足>
上記実施の形態に係る装置は、上記実施の形態に限定されるものではなく、他の手法により実現されてもよいことは言うまでもない。以下、各種変形例について説明する。
<Supplement>
It goes without saying that the apparatus according to the above embodiment is not limited to the above embodiment, and may be realized by other methods. Hereinafter, various modifications will be described.
(1) 上記実施の形態においては、チャットに対する特定の入力として、3つの例を示したが、これはその限りではない。メッセージ管理装置100は、これらすべての例に対応する必要はなく、そのうちの少なくとも1つに対応できる構成になっていればよい。また、メッセージ管理装置100は、上述の例以外の手法を用いて、チャットに対する入力から特定の入力を検出して、ショートメッセージを送信するようにしてもよい。
(1) In the above-described embodiment, three examples have been shown as specific inputs for chat. However, this is not limited thereto. The
(2) 上記実施の形態において、メッセージ管理装置100が有する機能の一部は、チャットサーバ200やSMSサーバ400が有する構成として、メッセージ管理システムを、チャットサーバ200とSMSサーバ400との連動により実現することとしてもよい。即ち、チャットボット制御部130や解析部150の機能をチャットサーバ200が有し、SMSボット制御部130の機能をSMSサーバ400が有する構成とし、互いに通信を実行して連携する構成により、上記実施の形態に示したものと同様の効果を得ることとしてもよい。また、逆に、メッセージ管理装置100が、チャットサーバ200やSMSサーバ400の機能を有することとしてもよい。
(2) In the above embodiment, part of the functions of the
(3) また、上記実施の形態においては、メッセージ管理装置においてチャットに投稿された内容をショートメッセージで送信したり、ショートメッセージをチャットに投稿したりする手法として、メッセージ管理装置のプロセッサがメッセージ管理プログラム等を実行することにより、実現することとしているが、これは装置に集積回路(IC(Integrated Circuit)チップ、LSI(Large Scale Integration))等に形成された論理回路(ハードウェア)や専用回路によって実現してもよい。これらの回路は、1または複数の集積回路により実現されてよく、上記実施の形態に示した複数の機能部の機能を1つの集積回路により実現されることとしてもよい。LSIは、集積度の違いにより、VLSI、スーパーLSI、ウルトラLSIなどと呼称されるなどもある。具体的な一構成例としては、例えば、図13に示すように、メッセージ管理装置100は、送信回路122aと、検出回路131aと、決定回路141aと、作成回路142aとから構成されてよく、それぞれの機能は、上記実施の形態に示した同様の名称を有する各部と同様である。
(3) Further, in the above embodiment, the message management device processor manages the message as a method of transmitting the content posted to the chat in the message management device as a short message or posting the short message to the chat. This is to be realized by executing a program or the like. This is a logic circuit (hardware) or a dedicated circuit formed in an integrated circuit (IC (Integrated Circuit) chip, LSI (Large Scale Integration)) or the like in the device. It may be realized by. These circuits may be realized by one or a plurality of integrated circuits, and the functions of the plurality of functional units described in the above embodiments may be realized by a single integrated circuit. LSIs are sometimes called VLSIs, super LSIs, ultra LSIs, etc., depending on the degree of integration. As a specific configuration example, for example, as shown in FIG. 13, the
また、上記メッセージ管理プログラムは、プロセッサが読み取り可能な記録媒体に記録されていてもよい。記録媒体としては、「一時的でない有形の媒体」であればよく、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記メッセージ管理プログラムは、当該メッセージ管理プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等など各種の通信媒体)を介して上記プロセッサに供給されてもよい。本発明は、上記メッセージ管理プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 The message management program may be recorded on a recording medium readable by the processor. The recording medium may be a “non-temporary tangible medium”. For example, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The message management program may be supplied to the processor via an arbitrary transmission medium (various communication media such as a communication network and a broadcast wave) that can transmit the message management program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the message management program is embodied by electronic transmission.
なお、上記メッセージ管理プログラムは、一例として、ActionScript、JavaScript(登録商標)などのスクリプト言語、Objective-C、Java(登録商標)などのオブジェクト指向プログラミング言語、HTML5などのマークアップ言語などを用いて実装できる。 The message management program is implemented using, for example, a script language such as ActionScript or JavaScript (registered trademark), an object-oriented programming language such as Objective-C or Java (registered trademark), or a markup language such as HTML5. it can.
(4)上記実施の形態や各補足に記載した構成は、適宜組み合わせることとしてもよい。また、上記実施の形態に示した各処理手順は、同じ結果を生じることができれば、その処理手順を入れ替えたり、2つの処理を並行に実行したりしてもよい。 (4) The configurations described in the above embodiments and supplements may be combined as appropriate. In addition, each processing procedure shown in the above embodiment may be exchanged or two processes may be executed in parallel if the same result can be produced.
100 メッセージ管理装置
110 チャット通信部
111 送信部
112 受信部
120 SMS通信部
121 送信部
122 受信部
130 チャットボット制御部
131 検出部
140 SMSボット制御部
141 決定部
142 作成部
150 解析部
155 記憶部
160 キーワードDB
170 SMS送信先リスト
180 キーワードトーク番号対応DB
190 個別SMS転送情報DB
200 チャットサーバ
310a、310b 端末
400 SMSサーバ
510a、510b 端末
DESCRIPTION OF
170
190 Individual SMS transfer information DB
200
Claims (10)
前記検出部が前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定部と、
前記決定部が決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成部と、
前記作成部が作成したショートメッセージを送信する送信部とを備えるメッセージ管理装置。 A detection unit that detects a specific input to the chat talk room;
When the detection unit detects the specific input, a determination unit that determines a transmission destination for transmitting a short message;
A creation unit that creates a short message including information identified from the specific input, with the transmission destination determined by the determination unit as a transmission destination;
A message management apparatus comprising: a transmission unit that transmits the short message created by the creation unit.
前記決定部は、前記特定の文字列に含まれる宛先に関する情報に基づいて前記送信先を決定し、
前記作成部は、前記特定の文字列に含まれる本文に関する情報を本文とするショートメッセージを作成する
ことを特徴とする請求項2に記載のメッセージ管理装置。 The specific character string is a character string that can specify information on the destination and information on the text,
The determination unit determines the transmission destination based on information regarding a destination included in the specific character string,
The message management device according to claim 2, wherein the creating unit creates a short message having information on a body included in the specific character string as a body.
前記決定部は、前記問い合わせに応じて前記他のユーザから入力された宛先に関する情報に基づいて前記送信先を決定し、
前記作成部は、前記問い合わせに応じて前記他のユーザから入力された本文に関する情報を本文とし、前記決定部が決定した送信先を送信先とするショートメッセージを作成する
ことを特徴とする請求項1に記載のメッセージ管理装置。 The detection unit detects that the other user who participates in the talk room as a bot user and makes a statement that another user who participates in the talk room transmits a short message is used as the specific input. Inquiries about the information on the destination and the text on the talk room,
The determining unit determines the transmission destination based on information about a destination input from the other user in response to the inquiry,
The creation unit creates a short message having information on a text input from the other user in response to the inquiry as a text and a transmission destination determined by the determination unit as a transmission destination. The message management device according to 1.
前記決定部は、前記宛先に関する情報に基づいて前記送信先を決定し、
前記作成部は、前記本文に関する情報を本文とし、前記決定部が決定した送信先を送信先とするショートメッセージを作成する
ことを特徴とする請求項1に記載のメッセージ管理装置。 The detection unit is an instruction input for transmitting a short message from any of the users participating in the talk room as the specific input, and detects an instruction input including information on a destination and information on a text,
The determination unit determines the transmission destination based on information on the destination,
The message management device according to claim 1, wherein the creation unit creates a short message in which the information related to the text is a text and the transmission destination determined by the determination unit is a transmission destination.
宛先に関する情報と、1以上の電話番号とを対応付けて記憶する記憶部を備え、
前記決定部は、前記特定の入力から特定される宛先に関する情報に基づいて、前記記憶部に当該宛先に関する情報に対応付けられている1以上の電話番号を、ショートメッセージの送信先として決定する
ことを特徴とする請求項3〜5のいずれか1項に記載のメッセージ管理装置。 The message management device further includes:
A storage unit that stores information related to the destination and one or more telephone numbers in association with each other;
The determining unit determines one or more telephone numbers associated with the information regarding the destination in the storage unit as the short message transmission destination based on the information regarding the destination specified from the specific input. The message management device according to claim 3, wherein:
前記送信部が送信したショートメッセージに応じて他の装置から送信されたショートメッセージを受信する受信部と、
予め定められた所定のキーワードを記憶する記憶部と、
前記受信部が受信したショートメッセージを解析して、前記ショートメッセージが前記所定のキーワードを含むか否かを判定する解析部と、
前記解析部が前記所定のキーワードを含むと判定したショートメッセージの本文を、前記トークルームに参加するボットユーザとして発言する発言部とを備える
ことを特徴とする請求項1〜6のいずれか1項に記載のメッセージ管理装置。 The message management device further includes:
A receiving unit for receiving a short message transmitted from another device in response to the short message transmitted by the transmitting unit;
A storage unit for storing predetermined predetermined keywords;
Analyzing the short message received by the receiving unit, and determining whether or not the short message includes the predetermined keyword;
The speech unit that speaks as a bot user who participates in the talk room includes a speech unit that utters the text of the short message that the analysis unit has determined to include the predetermined keyword. The message management device described in 1.
前記トークルームにおける会話において、所定の条件に基づいて、特定のショートメッセージユーザとのトークを行うための新たなトークルームを生成し、
前記作成部は、前記特定の入力なしで、前記新たなトークルームに対するチャットユーザからの発言に基づいて前記ショートメッセージを作成し、
前記発言部は、前記所定のキーワードなしで、前記受信部が受信したショートメッセージが前記特定のショートメッセージユーザからのショートメッセージである場合に、当該ショートメッセージの本文を、前記トークルームに発言する
ことを特徴とする請求項7に記載のメッセージ管理装置。 The message management device further includes:
In the conversation in the talk room, based on a predetermined condition, generate a new talk room for talking with a specific short message user,
The creation unit creates the short message based on a comment from a chat user for the new talk room without the specific input,
When the short message received by the receiving unit is a short message from the specific short message user without the predetermined keyword, the speaking unit speaks the body of the short message to the talk room. The message management device according to claim 7.
前記検出ステップにおいて前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定ステップと、
前記決定ステップにおいて決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成ステップと、
前記作成ステップにおいて作成したショートメッセージを送信する送信ステップとを含むメッセージ管理方法。 A detection step for detecting specific input to the chat talk room;
A determination step of determining a transmission destination to which a short message is transmitted when the specific input is detected in the detection step;
A creation step for creating a short message including information identified from the specific input, with the transmission destination determined in the determination step as a transmission destination;
A message management method including a transmission step of transmitting the short message created in the creation step.
チャットのトークルームに対する特定の入力を検出する検出機能と、
前記検出機能が前記特定の入力を検出すると、ショートメッセージを送信する送信先を決定する決定機能と、
前記決定機能が決定した送信先を送信先とし、前記特定の入力から特定される情報を含むショートメッセージを作成する作成機能と、
前記作成機能が作成したショートメッセージを送信する送信機能とを実現させるメッセージ管理プログラム。 On the computer,
A detection function that detects specific input to the chat room,
When the detection function detects the specific input, a determination function for determining a transmission destination to send a short message;
A creation function for creating a short message including information identified from the specific input, with the transmission destination determined by the determination function as a transmission destination;
A message management program for realizing a transmission function for transmitting a short message created by the creation function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017006509A JP2018116455A (en) | 2017-01-18 | 2017-01-18 | Message management device, message management method and message management program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017006509A JP2018116455A (en) | 2017-01-18 | 2017-01-18 | Message management device, message management method and message management program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018116455A true JP2018116455A (en) | 2018-07-26 |
Family
ID=62983932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017006509A Pending JP2018116455A (en) | 2017-01-18 | 2017-01-18 | Message management device, message management method and message management program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018116455A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019244574A1 (en) | 2018-06-19 | 2019-12-26 | 住友建機株式会社 | Excavator and information processing device |
JP2020052492A (en) * | 2018-09-25 | 2020-04-02 | 富士ゼロックス株式会社 | Control apparatus and control program |
WO2020141572A1 (en) * | 2019-01-04 | 2020-07-09 | 三菱電機株式会社 | Information linking device, information linking system, information linking method and program |
JP2020154692A (en) * | 2019-03-20 | 2020-09-24 | 富士ゼロックス株式会社 | Control device, control system, and control program |
JP2020177471A (en) * | 2019-04-18 | 2020-10-29 | 菱洋エレクトロ株式会社 | System, bot, and method for sharing information |
JP2021105937A (en) * | 2019-12-27 | 2021-07-26 | エムオーテックス株式会社 | Cooperation chat system |
-
2017
- 2017-01-18 JP JP2017006509A patent/JP2018116455A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019244574A1 (en) | 2018-06-19 | 2019-12-26 | 住友建機株式会社 | Excavator and information processing device |
JP2020052492A (en) * | 2018-09-25 | 2020-04-02 | 富士ゼロックス株式会社 | Control apparatus and control program |
JP7210961B2 (en) | 2018-09-25 | 2023-01-24 | 富士フイルムビジネスイノベーション株式会社 | Control device and control program |
WO2020141572A1 (en) * | 2019-01-04 | 2020-07-09 | 三菱電機株式会社 | Information linking device, information linking system, information linking method and program |
WO2020141577A1 (en) * | 2019-01-04 | 2020-07-09 | 三菱電機株式会社 | Information linkage device, information linkage system, information linkage method, and program |
JPWO2020141577A1 (en) * | 2019-01-04 | 2021-09-09 | 三菱電機株式会社 | Information linkage device, information linkage system, information linkage method and program |
JP7162682B2 (en) | 2019-01-04 | 2022-10-28 | 三菱電機株式会社 | Information collaboration device, information collaboration system, information collaboration method and program |
JP2020154692A (en) * | 2019-03-20 | 2020-09-24 | 富士ゼロックス株式会社 | Control device, control system, and control program |
JP7183892B2 (en) | 2019-03-20 | 2022-12-06 | 富士フイルムビジネスイノベーション株式会社 | Control device, control system and control program |
JP2020177471A (en) * | 2019-04-18 | 2020-10-29 | 菱洋エレクトロ株式会社 | System, bot, and method for sharing information |
JP2021105937A (en) * | 2019-12-27 | 2021-07-26 | エムオーテックス株式会社 | Cooperation chat system |
JP7254692B2 (en) | 2019-12-27 | 2023-04-10 | エムオーテックス株式会社 | Collaborative chat system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2018116455A (en) | Message management device, message management method and message management program | |
JP6828204B2 (en) | Servers, programs and information processing methods | |
US9602459B2 (en) | Selectable mode based social networking interaction systems and methods | |
KR101577920B1 (en) | Location-based group generation method, apparatus and system | |
US8422642B2 (en) | Message system for conducting message | |
EP3641287B1 (en) | Signal processing device, communication system, method implemented in signal processing device, program executed in signal processing device, method implemented in communication terminal, and program executed in communication terminal | |
CN109947408B (en) | Message pushing method and device, storage medium and electronic equipment | |
US20200225832A1 (en) | Information processing method, information processing apparatus, and information processing program | |
KR102217301B1 (en) | Contact control of artificial intelligence reflecting personal schedule and lifestyle | |
US11882505B2 (en) | Method and apparatus for automatically identifying and annotating auditory signals from one or more parties | |
JP2013065241A (en) | Space sharing system, server, user terminal, space sharing method and program | |
JP4616114B2 (en) | Mobile communication terminal device, mobile communication terminal program, server device, server program, and main mobile communication terminal device | |
JP2020177655A (en) | Method, system, and non-transitory computer-readable recording medium for managing event messages | |
JP6688768B2 (en) | Information processing device, control method of information processing device, and program | |
JP2020201733A (en) | Safety confirmation system and safety confirmation method | |
WO2022059383A1 (en) | Information processing system, information processing method, and computer program | |
KR20200052145A (en) | Method to provide messenger service | |
KR102439777B1 (en) | Apparatus and method for messaging service | |
KR101804632B1 (en) | Apparatus for providing conversational agent service and operating method thereof | |
WO2022172726A1 (en) | Communication method | |
KR100800448B1 (en) | The mobile commnication terminal and method of blocking a harmful media thereof | |
KR102132161B1 (en) | Communication system and method for preventing leakage of user information | |
KR20190006663A (en) | voice services providing method with visually impaired | |
JP7246870B2 (en) | Destination Determination Method, Destination Determination Device, Destination Determination Program | |
JP2003316692A (en) | Method for realizing bulletin board, bulletin board device and program thereof |