JP2010183268A - Message communication system, message communication method, terminal, and program - Google Patents

Message communication system, message communication method, terminal, and program Download PDF

Info

Publication number
JP2010183268A
JP2010183268A JP2009023886A JP2009023886A JP2010183268A JP 2010183268 A JP2010183268 A JP 2010183268A JP 2009023886 A JP2009023886 A JP 2009023886A JP 2009023886 A JP2009023886 A JP 2009023886A JP 2010183268 A JP2010183268 A JP 2010183268A
Authority
JP
Japan
Prior art keywords
terminal
neighboring
communication method
message
common key
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
Application number
JP2009023886A
Other languages
Japanese (ja)
Inventor
Hiroki Wakamatsu
宏樹 若松
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2009023886A priority Critical patent/JP2010183268A/en
Publication of JP2010183268A publication Critical patent/JP2010183268A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To transmit and receive messages by a near field communication system even if a common password is not set to terminals in advance. <P>SOLUTION: A message communication system has a server, and terminals which perform communications using the near field communication system not through networks of electric communication service providers. The terminal transmits location information that indicates the location of terminal to the server. Then, when receiving neighboring terminal information which indicates neighboring terminals in an area where communication is available with the terminal by the near field communication system and a common key necessary for communication by the near field communication system from the server, the terminal performs authentication using the received common key between neighboring terminals and itself, and transmits and receives messages by the near field communication system. When receiving the location information transmitted from the terminal, the server transmits neighboring terminal information based on the received location information to the terminal and generates a common key to transmit it to the terminal and the neighboring terminals. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、端末間でメッセージの送受信を行うメッセージ通信システム、メッセージ通信方法、端末及びプログラムに関する。   The present invention relates to a message communication system, a message communication method, a terminal, and a program for transmitting and receiving messages between terminals.

電子メールや掲示板等に代表されるメッセージ通信において送受信されるメッセージは、インターネット上にある掲示板用サーバやメールサーバなどを経由する。この場合、メッセージ通信を行うユーザは、電気通信事業者が提供するネットワークを介してメッセージを送受信することとなる。以下、電気通信事業者が提供するネットワークのことを単にネットワークという。   Messages transmitted and received in message communications represented by e-mail and bulletin boards pass through bulletin board servers and mail servers on the Internet. In this case, a user who performs message communication transmits and receives messages via a network provided by a telecommunications carrier. Hereinafter, a network provided by a telecommunications carrier is simply referred to as a network.

ネットワークを介してメッセージ通信を行う場合、ユーザには、通信量に応じたネットワーク利用料等が課金される。また、ネットワークを介することにより、メッセージを送信してからメッセージを受信するまでの時間にずれが生じてリアルタイム性に欠ける場合がある。さらに、ネットワーク上の資源、例えばネットワーク自体やメッセージを転送するためのサーバ等に負荷がかかる。上述したようなネットワークを介することによる弊害は、メッセージ通信を行う相手が近くに存在する場合でも発生する。   When message communication is performed via a network, a user is charged a network usage fee or the like corresponding to the amount of communication. In addition, through the network, there is a case where a time lag from when a message is transmitted to when the message is received may cause a gap in real time. Furthermore, a load is applied to resources on the network, for example, the network itself and a server for transferring messages. The adverse effects of passing through the network as described above occur even when there is a nearby party to perform message communication.

ここで、メッセージ通信においてネットワークを介することを極力抑えながらネットワーク上にある情報を取得するための技術が例えば、特許文献1に開示されている。   Here, for example, Patent Literature 1 discloses a technique for acquiring information on a network while suppressing the message communication via the network as much as possible.

特許文献1に開示されている技術を利用したシステムにおいて携帯端末は、自端末の近くに存在する他の携帯端末とBluetooth(登録商標)等の近距離通信方式によって通信を行い、代表の携帯端末を決定する。そして、代表の携帯端末は、ネットワーク上にあるサーバから情報を取得し、取得した情報を自端末の近くに存在する他の携帯端末へ近距離通信方式によって配信する。   In a system using the technology disclosed in Patent Document 1, a mobile terminal communicates with another mobile terminal existing near the terminal by a short-range communication method such as Bluetooth (registered trademark), and a representative mobile terminal To decide. Then, the representative mobile terminal acquires information from a server on the network, and distributes the acquired information to other mobile terminals existing near the terminal by a short-range communication method.

特許文献1に開示されているシステムを利用すれば、ネットワークを介して通信を行う携帯端末は、代表の携帯端末だけとなる。そのため、ネットワークを介することによる上述したような弊害については、その程度が緩和される。   If the system disclosed in Patent Literature 1 is used, the representative portable terminal is the only portable terminal that performs communication via the network. Therefore, the degree of the above-described adverse effects caused by passing through the network is reduced.

特開2008−11038号公報JP 2008-11038 A

Bluetooth等の近距離通信方式によって複数の端末間で通信を行う際、それら複数の端末間でペアリングを行う必要がある。ペアリングとは、近距離通信方式による通信を行う際に必要な共通鍵をその複数の端末のそれぞれが生成することである。この共通鍵は、それら複数の端末間で相互を認証する相互認証に利用される。   When communication is performed between a plurality of terminals by a short-range communication method such as Bluetooth, it is necessary to perform pairing between the plurality of terminals. Pairing means that each of the plurality of terminals generates a common key necessary for performing communication by the short-range communication method. This common key is used for mutual authentication to mutually authenticate the plurality of terminals.

この共通鍵を生成する際には、パスワードが必要であり、近距離通信方式による通信を行う複数の端末のそれぞれにおいて予め共通のパスワードが設定されていなくてはならない。   When this common key is generated, a password is required, and a common password must be set in advance in each of a plurality of terminals that perform communication using the short-range communication method.

従って、Bluetooth等の近距離通信方式においては、予め共通のパスワードが設定されていない端末間では通信ができないという問題点がある。   Therefore, near field communication methods such as Bluetooth have a problem that communication is not possible between terminals for which a common password is not set in advance.

本発明は、予め共通のパスワードを端末に設定しておかなくても近距離通信方式によるメッセージの送受信を行うことができるメッセージ通信システム、メッセージ通信方法、端末及びプログラムを提供することを目的とする。   An object of the present invention is to provide a message communication system, a message communication method, a terminal, and a program capable of transmitting and receiving messages by a short-range communication method without setting a common password in the terminal in advance. .

上記目的を達成するために本発明は、
サーバと、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末とを有するメッセージ通信システムであって、
前記端末は、当該端末が存在する位置を示す位置情報を前記サーバへ送信し、その後、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記近距離通信方式による通信を行う際に必要な共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行い、
前記サーバは、前記端末から送信された前記位置情報を受信すると、該受信した前記位置情報に基づいた前記近隣端末情報を当該端末へ送信し、また、前記共通鍵を生成し、該生成された前記共通鍵を当該端末及び前記近隣端末へ送信する。
In order to achieve the above object, the present invention provides:
A message communication system having a server and a terminal that performs communication by a short-range communication method not via a network of a telecommunications carrier,
The terminal transmits position information indicating a position where the terminal exists to the server, and thereafter, neighboring terminal information indicating a neighboring terminal existing in a range in which communication with the terminal by the short-range communication method is possible, When receiving from the server a common key necessary for performing communication by the near field communication method, after performing mutual authentication with the neighboring terminal using the received common key, by the near field communication method Send and receive messages,
Upon receiving the location information transmitted from the terminal, the server transmits the neighboring terminal information based on the received location information to the terminal, generates the common key, and generates the generated common key. The common key is transmitted to the terminal and the neighboring terminal.

また、サーバと、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末とを有するメッセージ通信システムにおけるメッセージ通信方法であって、
前記端末が、当該端末が存在する位置を示す位置情報を前記サーバへ送信する処理と、
前記サーバが、前記端末から送信された前記位置情報を受信すると、該受信した前記位置情報に基づき、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報を当該端末へ送信する処理と、
前記サーバが、前記近距離通信方式による通信を行う際に必要な共通鍵を生成し、該生成された前記共通鍵を当該端末及び前記近隣端末へ送信する処理と、
前記端末が、前記サーバから送信された前記近隣端末情報及び前記共通鍵を受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、を有する。
Further, a message communication method in a message communication system having a server and a terminal that performs communication by a short-range communication method not via a network of a telecommunications carrier,
A process in which the terminal transmits position information indicating a position where the terminal exists to the server;
When the server receives the location information transmitted from the terminal, based on the received location information, a neighboring terminal indicating a neighboring terminal existing in a range in which communication with the terminal can be performed by the near field communication method A process of transmitting information to the terminal;
The server generates a common key necessary for performing communication by the short-range communication method, and transmits the generated common key to the terminal and the neighboring terminal;
When the terminal receives the neighboring terminal information and the common key transmitted from the server, the terminal performs mutual authentication with the neighboring terminal using the received common key, and then sends a message by the near field communication method. The process which transmits / receives.

また、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末におけるメッセージ通信方法であって、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信する処理と、
当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、を有する。
In addition, a message communication method in a terminal that performs communication by a short-range communication method not via a telecommunications carrier network,
A process of transmitting position information indicating a position where the terminal exists to a server that generates a common key necessary for performing communication by the short-range communication method;
When neighboring terminal information indicating neighboring terminals existing in a range where communication with the terminal by the near field communication method is possible and the common key are received from the server, the neighboring key is used by using the received common key. Processing to transmit and receive messages by the short-range communication method after mutual authentication with the terminal.

また、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末であって、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信し、その後、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う。
In addition, a terminal that performs communication by a short-range communication method not via a network of a telecommunications carrier,
Sends location information indicating the location of the terminal to a server that generates a common key necessary for communication using the short-range communication method, and then enables communication with the terminal using the short-range communication method. When the neighboring terminal information indicating neighboring terminals existing in a certain range and the common key are received from the server, mutual authentication is performed with the neighboring terminals using the received common key, and the near field communication is performed. Sends and receives messages using the method.

また、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末に、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信する機能と、
当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う機能と、を実現させる。
In addition, in the terminal that performs communication by the short-range communication method without going through the network of the telecommunications carrier,
A function of transmitting position information indicating a position where the terminal exists to a server that generates a common key necessary for performing communication by the short-range communication method;
When neighboring terminal information indicating neighboring terminals existing in a range where communication with the terminal by the near field communication method is possible and the common key are received from the server, the neighboring key is used by using the received common key. And a function of transmitting and receiving messages by the short-range communication method after performing mutual authentication with the terminal.

本発明によれば、端末は、当該端末が存在する位置を示す位置情報をサーバへ送信する。サーバは、端末から送信された位置情報を受信すると、当該端末との近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報を当該端末へ送信する。さらに、サーバは、近距離通信方式による通信を行う際に必要な共通鍵を生成して当該端末及び当該端末の近隣端末へ送信する。そして、当該端末は、サーバから受信した共通鍵を利用して近隣端末と相互認証を行った上でメッセージの送受信を行う。   According to the present invention, the terminal transmits position information indicating the position where the terminal exists to the server. When the server receives the position information transmitted from the terminal, the server transmits neighboring terminal information indicating the neighboring terminal existing in a range in which communication with the terminal by the near field communication method is possible. Further, the server generates a common key necessary for performing communication using the short-range communication method, and transmits the common key to the terminal and a neighboring terminal of the terminal. And the said terminal transmits / receives a message, after performing mutual authentication with a neighboring terminal using the common key received from the server.

そのため、端末と近隣端末とは、予め共通のパスワードを設定しておかなくても近距離通信方式によるメッセージの送受信を行うことができる。   For this reason, the terminal and the neighboring terminal can perform message transmission / reception by the short-range communication method without setting a common password in advance.

本発明のメッセージ通信システムの実施の一形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of the message communication system of this invention. 図1に示したメッセージ通信システムにおいてメッセージ通信を行う場合の動作の一例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating an example of operation | movement in the case of performing message communication in the message communication system shown in FIG. 図1及び図2に示した携帯端末の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the portable terminal shown in FIG.1 and FIG.2. 図1及び図2に示したASPが備えるメッセージ通信可否判定サーバの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the message communication availability determination server with which ASP shown in FIG.1 and FIG.2 is provided. 図1〜図3に示した携帯端末内における情報の入出力を示すシーケンス図である。It is a sequence diagram which shows the input / output of the information in the portable terminal shown in FIGS. 図1、図2及び図4に示したメッセージ通信可否判定サーバ内における情報の入出力を示すシーケンス図である。FIG. 5 is a sequence diagram showing input / output of information in the message communication availability determination server shown in FIGS. 1, 2, and 4. 図1〜図4に示したメッセージ通信システムの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the message communication system shown in FIGS. 図1〜図4に示したメッセージ通信システムの動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the message communication system shown in FIGS. 図1に示したメッセージ通信システムにおいてメッセージ通信を行う場合の動作の他の例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the other example of operation | movement in the case of performing message communication in the message communication system shown in FIG. 本発明のメッセージ通信システムの他の実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of other embodiment of the message communication system of this invention. 図10に示したメッセージ通信システムにおいてメッセージ通信を行う動作の一例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating an example of the operation | movement which performs message communication in the message communication system shown in FIG.

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

図1は、本発明のメッセージ通信システムの実施の一形態の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an embodiment of a message communication system of the present invention.

本実施形態のメッセージ通信システムは図1に示すように、端末である携帯端末10−1〜10−nと、基地局20と、ASP(Application Service Provider)40とを備えている。また、ASP40と基地局20とは電話網30で接続されており、基地局20と携帯端末10−1〜10−nとは無線通信によって接続されている。   As shown in FIG. 1, the message communication system according to the present embodiment includes mobile terminals 10-1 to 10-n that are terminals, a base station 20, and an ASP (Application Service Provider) 40. The ASP 40 and the base station 20 are connected by a telephone network 30, and the base station 20 and the mobile terminals 10-1 to 10-n are connected by wireless communication.

ASP40は、メッセージ通信可否判定サーバ41を備えている。   The ASP 40 includes a message communication availability determination server 41.

携帯端末10−1〜10−nは、近距離通信方式による通信を行える機能を有している。なお、本実施形態において近距離通信方式とは、電気通信事業者が提供するネットワークを介さずに携帯端末10−1〜10−n間で直接行われる通信方式のことである。この近距離通信方式には例えば、Bluetoothがある。   The portable terminals 10-1 to 10-n have a function of performing communication using a short-range communication method. In addition, in this embodiment, a near field communication system is a communication system performed directly between the portable terminals 10-1 to 10-n without using a network provided by a telecommunications carrier. An example of this short-range communication method is Bluetooth.

図2は、図1に示したメッセージ通信システムにおいてメッセージ通信を行う場合の動作の一例を説明するためのシーケンス図である。   FIG. 2 is a sequence diagram for explaining an example of an operation when message communication is performed in the message communication system shown in FIG.

まず、図1及び図2を参照しながら本実施形態のメッセージ通信システムの概要を説明する。ここでは、メッセージの送信側が携帯端末10−1であり、メッセージの受信側が携帯端末10−2である場合について説明する。   First, the outline of the message communication system of this embodiment will be described with reference to FIGS. 1 and 2. Here, a case where the message transmission side is the mobile terminal 10-1 and the message reception side is the mobile terminal 10-2 will be described.

本実施形態においてメッセージ通信を行う前提として、携帯端末10−1〜10−nの端末情報がASP40に登録されているものとする。端末情報とは、携帯端末10−1〜10−nを一意に識別できる情報であり、例えば、携帯端末名や端末ID(IDentification)、アドレスである。アドレスとは、例えばBlueToothの場合、Bluetoothによる通信を行える端末に付与され、それぞれの端末を一意に識別できるBDA(Bluetooth Device Address)である。   As a premise for performing message communication in the present embodiment, it is assumed that the terminal information of the mobile terminals 10-1 to 10-n is registered in the ASP 40. The terminal information is information that can uniquely identify the mobile terminals 10-1 to 10-n, and is, for example, a mobile terminal name, a terminal ID (IDentification), and an address. For example, in the case of BlueTooth, the address is a BDA (Bluetooth Device Address) that is assigned to a terminal that can perform communication by Bluetooth and that can uniquely identify each terminal.

なお、ASP40への端末情報の登録は、例えば、端末情報を記載した書面をASP40へ送付し、ASP40において行われてもよいし、携帯端末10−1〜10−nからASP40へ端末情報を送信することによって行われてもよい。   In addition, registration of the terminal information to the ASP 40 may be performed, for example, by sending a document describing the terminal information to the ASP 40, and transmitting the terminal information from the portable terminals 10-1 to 10-n to the ASP 40. It may be done by doing.

まず、メッセージの送信側である携帯端末10−1は、メッセージ通信を開始するにあたり、携帯端末10−1が存在する位置を示す位置情報をASP40に登録させるための位置情報登録要求101をASP40へ送信する。なお、位置情報登録要求101には、携帯端末10−1の位置情報が含まれており、位置情報は例えば、携帯端末10−1のユーザによって携帯端末10−1内に予め登録された情報である。なお、携帯端末10−1のユーザは、携帯端末10−1内に登録された位置情報を任意に登録し直すことができる。   First, when starting the message communication, the mobile terminal 10-1 that is the message transmission side sends to the ASP 40 a location information registration request 101 that causes the ASP 40 to register location information indicating the location where the mobile terminal 10-1 is located. Send. The location information registration request 101 includes location information of the mobile terminal 10-1, and the location information is, for example, information registered in advance in the mobile terminal 10-1 by the user of the mobile terminal 10-1. is there. Note that the user of the mobile terminal 10-1 can arbitrarily re-register the location information registered in the mobile terminal 10-1.

携帯端末10−1から送信された位置情報登録要求101を受信したASP40では、受信した位置情報登録要求101に含まれる携帯端末10−1の位置情報が、既に登録されている携帯端末10−1の端末情報と対応付けられて記憶される。そして、受信した位置情報登録要求101に含まれる携帯端末10−1の位置情報に基づき、携帯端末10−1と近距離通信方式による通信を行うことができる範囲に存在する携帯端末である近隣端末が検索される。ここでは、携帯端末10−2,10−3が携帯端末10−1の近隣端末であるとする。   In the ASP 40 that has received the location information registration request 101 transmitted from the mobile terminal 10-1, the location information of the mobile terminal 10-1 included in the received location information registration request 101 is already registered. Are stored in association with the terminal information. Then, based on the location information of the mobile terminal 10-1 included in the received location information registration request 101, a neighboring terminal that is a mobile terminal that exists in a range in which communication with the mobile terminal 10-1 can be performed by the short-range communication method Is searched. Here, it is assumed that the mobile terminals 10-2 and 10-3 are neighboring terminals of the mobile terminal 10-1.

そして、検索された近隣端末を示す近隣端末情報102がASP40から携帯端末10−1へ送信される。なお、この近隣端末情報102には、近隣端末の端末情報及び位置情報が含まれている。   Then, the neighboring terminal information 102 indicating the searched neighboring terminal is transmitted from the ASP 40 to the portable terminal 10-1. The neighboring terminal information 102 includes terminal information and position information of neighboring terminals.

携帯端末10−1は、ASP40から送信された近隣端末情報102を受信すると、受信した近隣端末情報102が示す近隣端末の中から、近距離通信方式による通信を行う近隣端末の選択を携帯端末10−1のユーザから受け付ける。以降、選択された近隣端末のことを選択近隣端末という。ここでは、近隣端末である携帯端末10−2,10−3のうち携帯端末10−2が選択近隣端末として受け付けられるものとする。   When the portable terminal 10-1 receives the neighboring terminal information 102 transmitted from the ASP 40, the portable terminal 10-1 selects the neighboring terminal that performs communication by the near field communication method from the neighboring terminals indicated by the received neighboring terminal information 102. -1 from the user. Hereinafter, the selected neighboring terminal is referred to as a selected neighboring terminal. Here, it is assumed that the mobile terminal 10-2 among the mobile terminals 10-2 and 10-3, which are neighboring terminals, is accepted as the selected neighboring terminal.

そして、選択近隣端末を示し、選択近隣端末と通信を行うことを通知するための接続要求103が携帯端末10−1からASP40へ送信される。   Then, the connection request 103 for indicating the selected neighboring terminal and notifying that the selected neighboring terminal is to be communicated is transmitted from the portable terminal 10-1 to the ASP 40.

携帯端末10−1から送信された接続要求103を受信したASP40では、携帯端末10−1と携帯端末10−2との間で近距離通信方式による通信を行う際に必要な共通鍵104が生成される。   The ASP 40 that has received the connection request 103 transmitted from the mobile terminal 10-1 generates a common key 104 that is necessary for communication between the mobile terminal 10-1 and the mobile terminal 10-2 using the short-range communication method. Is done.

そして、ASP40から携帯端末10−1,10−2のそれぞれへ生成された共通鍵104が送信される。   Then, the common key 104 generated from the ASP 40 is transmitted to each of the mobile terminals 10-1 and 10-2.

ASP40から送信された共通鍵104を受信した携帯端末10−1は、近距離通信方式による通信の開始を通知するための通信開始要求105を、受信した共通鍵104を利用して生成する。そして、生成された通信開始要求105を近距離通信方式によって携帯端末10−2へ送信する。なお、携帯端末10−1は、ASP40から受信した近隣端末情報102に含まれる端末情報によって携帯端末10−2を識別することにより、通信開始要求105を携帯端末10−2へ送信することができる。   The mobile terminal 10-1 that has received the common key 104 transmitted from the ASP 40 generates a communication start request 105 for notifying the start of communication by the near field communication method using the received common key 104. And the produced | generated communication start request | requirement 105 is transmitted to the portable terminal 10-2 by a near field communication system. The mobile terminal 10-1 can transmit the communication start request 105 to the mobile terminal 10-2 by identifying the mobile terminal 10-2 based on the terminal information included in the neighboring terminal information 102 received from the ASP 40. .

携帯端末10−1から送信された通信開始要求105を受信した携帯端末10−2は、近距離通信方式による通信の開始を許可することを通知するための通信開始許可106を、受信した共通鍵104を利用して生成する。そして、生成された通信開始許可106を近距離通信方式によって携帯端末10−1へ送信する。   The mobile terminal 10-2 that has received the communication start request 105 transmitted from the mobile terminal 10-1 has received the communication start permission 106 for notifying that the start of communication by the near field communication method is permitted, and has received the common key 104 is generated. And the communication start permission 106 produced | generated is transmitted to the portable terminal 10-1 by a near field communication system.

上記の通信開始要求105及び通信開始許可106の送受信により、携帯端末10−1と携帯端末10−2との間の相互認証が完了し、携帯端末10−1と携帯端末10−2との間の通信リンクが確立する。   Through the transmission / reception of the communication start request 105 and the communication start permission 106, mutual authentication between the mobile terminal 10-1 and the mobile terminal 10-2 is completed, and the mobile terminal 10-1 and the mobile terminal 10-2 are connected. The communication link is established.

通信リンクが確立すると、携帯端末10−1と携帯端末10−2とは、近距離通信方式によってメッセージ情報107の送受信を行う。なお、メッセージ情報107は、メッセージの送信先の携帯端末のアドレスがメッセージに付加された情報である。   When the communication link is established, the portable terminal 10-1 and the portable terminal 10-2 perform transmission / reception of the message information 107 by the short-range communication method. The message information 107 is information in which the address of the portable terminal to which the message is transmitted is added to the message.

メッセージ情報107の送受信が終了すると、ASP40に記憶された携帯端末10−1の位置情報を削除させるための位置情報削除要求108が携帯端末10−1からASP40へ送信される。   When the transmission / reception of the message information 107 is completed, a position information deletion request 108 for deleting the position information of the portable terminal 10-1 stored in the ASP 40 is transmitted from the portable terminal 10-1 to the ASP 40.

携帯端末10−1から送信された位置情報削除要求108を受信すると、ASP40では、記憶されている携帯端末10−1の位置情報が削除される。そして、携帯端末10−1の位置情報を削除したことを通知するための位置情報削除完了通知109がASP40から携帯端末10−1へ送信される。   When the position information deletion request 108 transmitted from the portable terminal 10-1 is received, the ASP 40 deletes the stored position information of the portable terminal 10-1. Then, a position information deletion completion notice 109 for notifying that the position information of the mobile terminal 10-1 has been deleted is transmitted from the ASP 40 to the mobile terminal 10-1.

以上が本実施形態のメッセージ通信システムの概要の説明である。   The above is the outline of the message communication system according to this embodiment.

次に、図1及び図2に示した携帯端末10−1の構成を説明する。   Next, the configuration of the mobile terminal 10-1 shown in FIGS. 1 and 2 will be described.

図3は、図1及び図2に示した携帯端末10−1の構成の一例を示すブロック図である。   FIG. 3 is a block diagram illustrating an example of the configuration of the mobile terminal 10-1 illustrated in FIGS.

図1及び図2に示した携帯端末10−1は図3に示すように、制御部11と、送受信部12と、近距離通信用送受信部13と、表示部14と、入力受付部15と、メッセージDB(Data Base)16とを備えている。なお、携帯端末10−2〜10−nも同様の構成である。   As shown in FIG. 3, the portable terminal 10-1 shown in FIGS. 1 and 2 includes a control unit 11, a transmission / reception unit 12, a short-range communication transmission / reception unit 13, a display unit 14, and an input reception unit 15. And a message DB (Data Base) 16. The mobile terminals 10-2 to 10-n have the same configuration.

入力受付部15は、入力装置50と接続されている。   The input receiving unit 15 is connected to the input device 50.

制御部11は、携帯端末10−1の動作を制御するものであり、代表的な動作としては以下が挙げられる。   The control part 11 controls operation | movement of the portable terminal 10-1, and the following is mentioned as typical operation | movement.

(1)位置情報登録要求101を生成し、生成された位置情報登録要求101を送受信部12を介してASP40へ送信する。   (1) The location information registration request 101 is generated, and the generated location information registration request 101 is transmitted to the ASP 40 via the transmission / reception unit 12.

(2)ASP40から送信された近隣端末情報102を送受信部12を介して受信し、受信した近隣端末情報102が示す近隣端末の端末情報を表示部14に表示させる。   (2) The neighboring terminal information 102 transmitted from the ASP 40 is received via the transmission / reception unit 12 and the terminal information of the neighboring terminal indicated by the received neighboring terminal information 102 is displayed on the display unit 14.

(3)入力受付部15から出力され、選択近隣端末を識別する選択近隣端末情報を受け付ける。そして、受け付けた選択近隣端末情報によって識別される選択近隣端末を示す接続要求103を送受信部12を介してASP40へ送信する。   (3) Receives selected neighboring terminal information that is output from the input accepting unit 15 and identifies the selected neighboring terminal. Then, the connection request 103 indicating the selected neighboring terminal identified by the received selected neighboring terminal information is transmitted to the ASP 40 via the transmission / reception unit 12.

(4)ASP40から送信された共通鍵104を送受信部12を介して受信すると、受信した共通鍵104を利用して通信開始要求105を生成し、生成された通信開始要求105を近距離通信用送受信部13を介して選択近隣端末へ送信する。   (4) When the common key 104 transmitted from the ASP 40 is received via the transmission / reception unit 12, a communication start request 105 is generated using the received common key 104, and the generated communication start request 105 is used for near field communication. The data is transmitted to the selected neighboring terminal via the transmission / reception unit 13.

(5)選択近隣端末から送信された通信開始許可106を近距離通信用送受信部13を介して受信すると、ユーザにメッセージを入力させるための画面を表示部14に表示させる。   (5) When the communication start permission 106 transmitted from the selected neighboring terminal is received via the short-range communication transmitting / receiving unit 13, a screen for allowing the user to input a message is displayed on the display unit 14.

(6)入力受付部15から出力されたメッセージを受け付けると、受け付けたメッセージをメッセージDB16に記憶させる。それとともに、受け付けたメッセージに選択近隣端末のアドレスを付加して送信メッセージ情報として近距離通信用送受信部13を介して選択近隣端末へ送信する。なお、送信メッセージ情報は、図2に示したメッセージ情報107の1つである。   (6) When a message output from the input receiving unit 15 is received, the received message is stored in the message DB 16. At the same time, the address of the selected neighboring terminal is added to the received message and transmitted as transmission message information to the selected neighboring terminal via the near field communication transmitting / receiving unit 13. The transmission message information is one of the message information 107 shown in FIG.

(7)選択近隣端末から送信されたメッセージ情報107である返信メッセージ情報を近距離通信用送受信部13を介して受信すると、受信した返信メッセージ情報に含まれるメッセージをメッセージDB16に記憶させる。   (7) When the reply message information, which is the message information 107 transmitted from the selected neighboring terminal, is received via the short-distance communication transmitting / receiving unit 13, the message included in the received reply message information is stored in the message DB 16.

(8)送信メッセージ情報を選択近隣端末へ送信した後、所定の時間を経過しても選択近隣端末からの返信メッセージ情報を受信しない場合、メッセージDB16に記憶されているメッセージを削除する。また、それと同時に、通信を終了することを通知するためのメッセージ送受信終了通知を近距離通信用送受信部13を介して選択近隣端末へ送信する。   (8) After transmitting the transmission message information to the selected neighboring terminal, if the reply message information from the selected neighboring terminal is not received even after a predetermined time has elapsed, the message stored in the message DB 16 is deleted. At the same time, a message transmission / reception end notification for notifying the end of communication is transmitted to the selected neighboring terminal via the short-range communication transmitting / receiving unit 13.

(9)入力受付部15から出力された情報であり、メッセージ通信を行っていた選択近隣端末との通信を終了する旨を示す情報を受け付けると、メッセージDB16に記憶されているメッセージを削除する。また、それと同時に、メッセージ送受信終了通知を近距離通信用送受信部13を介して選択近隣端末へ送信する。   (9) When information that is output from the input receiving unit 15 and indicates that communication with the selected neighboring terminal that has been performing message communication is terminated, the message stored in the message DB 16 is deleted. At the same time, a message transmission / reception end notification is transmitted to the selected neighboring terminal via the near field communication transceiver 13.

(10)入力受付部15から出力された情報であり、近距離通信方式による通信を終了する旨を示す情報を受け付けると、位置情報削除要求108をASP40へ送信する。   (10) When information indicating that the communication using the short-range communication method is terminated, which is information output from the input receiving unit 15, is received, a position information deletion request 108 is transmitted to the ASP 40.

送受信部12は、ASP40との間の通信を仲介する。   The transmission / reception unit 12 mediates communication with the ASP 40.

近距離通信用送受信部13は、選択近隣端末との間の近距離通信方式による通信を仲介する。   The short-range communication transceiver 13 mediates communication with the selected neighboring terminal using the short-range communication method.

表示部14は、近隣端末情報102が示す近隣端末の端末情報を表示する。具体的には例えば、近隣端末が存在する位置がその携帯端末名とともに地図等にプロットされたものが表示される。   The display unit 14 displays terminal information of neighboring terminals indicated by the neighboring terminal information 102. Specifically, for example, the location where the neighboring terminal exists is plotted on a map or the like together with the mobile terminal name.

入力受付部15は、表示部14に表示された近隣端末の中から、携帯端末10−1のユーザが入力装置50を操作することによって選択した選択近隣端末の入力を受け付ける。そして、選択近隣端末情報を制御部11へ出力する。なお、入力受付部15は、1つの選択近隣端末の入力を受け付けることも可能であり、複数の選択近隣端末の入力を受け付けることも可能である。また、入力受付部15は、携帯端末10−1のユーザが入力装置50を操作することによって入力したメッセージを受け付け、受け付けたメッセージを制御部11へ出力する。また、入力受付部15は、携帯端末10−1のユーザが入力装置50を操作することによって入力した近距離通信方式による通信を終了する旨を受け付けると、その旨を示す情報を制御部11へ出力する。   The input receiving unit 15 receives an input of a selected neighboring terminal selected by the user of the mobile terminal 10-1 by operating the input device 50 from among the neighboring terminals displayed on the display unit 14. Then, the selected neighboring terminal information is output to the control unit 11. The input receiving unit 15 can also receive an input from one selected neighboring terminal, and can also receive an input from a plurality of selected neighboring terminals. The input reception unit 15 receives a message input by the user of the mobile terminal 10-1 operating the input device 50, and outputs the received message to the control unit 11. In addition, when the input receiving unit 15 receives a message indicating that the user of the mobile terminal 10-1 has finished the communication using the short-range communication method input by operating the input device 50, information indicating that is sent to the control unit 11. Output.

メッセージDB16は、選択近隣端末との間で送受信されたメッセージ情報107に含まれるメッセージを記憶する。   The message DB 16 stores messages included in the message information 107 transmitted / received to / from the selected neighboring terminal.

次に、図1及び図2に示したASP40が備えるメッセージ通信可否判定サーバ41の構成を説明する。   Next, the configuration of the message communication availability determination server 41 provided in the ASP 40 shown in FIGS. 1 and 2 will be described.

図4は、図1及び図2に示したASP40が備えるメッセージ通信可否判定サーバ41の構成の一例を示すブロック図である。   FIG. 4 is a block diagram illustrating an example of the configuration of the message communication availability determination server 41 included in the ASP 40 illustrated in FIGS. 1 and 2.

図4に示すように図1及び図2に示したメッセージ通信可否判定サーバ41は、制御部42と、送受信部43と、位置情報DB44とを備えている。   As illustrated in FIG. 4, the message communication availability determination server 41 illustrated in FIGS. 1 and 2 includes a control unit 42, a transmission / reception unit 43, and a position information DB 44.

制御部42は、メッセージ通信可否判定サーバ41の動作を制御するものであり、代表的な動作としては以下が挙げられる。   The control unit 42 controls the operation of the message communication availability determination server 41, and typical operations include the following.

(1)携帯端末10−1〜10−nから送信された位置情報登録要求101を送受信部43を介して受信する。そして、受信した位置情報登録要求101に含まれる位置情報を既に登録されている端末情報と対応付けて位置情報DB44に記憶させる。   (1) The location information registration request 101 transmitted from the mobile terminals 10-1 to 10-n is received via the transmission / reception unit 43. Then, the position information included in the received position information registration request 101 is stored in the position information DB 44 in association with the already registered terminal information.

(2)携帯端末10−1〜10−nから送信された位置情報登録要求101に含まれる位置情報に基づき、位置情報登録要求101の送信元である携帯端末10−1〜10−nの近隣端末が存在するかどうかを位置情報DB44から検索する。検索した結果、近隣端末が存在しない場合、その旨を示すメッセージを位置情報登録要求101の送信元である携帯端末10−1〜10−nへ送信する。なお、この場合に送信されるメッセージは例えば、「該当端末は存在しません」のようなメッセージである。一方、近隣端末が存在する場合には、その近隣端末の端末情報及び位置情報を位置情報DB44から取得する。そして、取得した端末情報及び位置情報を含む近隣端末情報102を位置情報登録要求101の送信元である携帯端末10−1〜10−nへ送信する。   (2) Based on the location information included in the location information registration request 101 transmitted from the mobile terminals 10-1 to 10-n, the vicinity of the mobile terminals 10-1 to 10-n that is the transmission source of the location information registration request 101 Whether the terminal exists is searched from the position information DB 44. If there is no neighboring terminal as a result of the search, a message indicating that is transmitted to the mobile terminals 10-1 to 10-n that are the transmission source of the location information registration request 101. The message transmitted in this case is, for example, a message such as “No corresponding terminal”. On the other hand, if there is a neighboring terminal, the terminal information and position information of the neighboring terminal are acquired from the position information DB 44. Then, the neighboring terminal information 102 including the acquired terminal information and position information is transmitted to the mobile terminals 10-1 to 10-n that are the transmission source of the position information registration request 101.

(3)携帯端末10−1〜10−nから送信された接続要求103を送受信部43を介して受信する。そして、受信した接続要求103の送信元である携帯端末10−1〜10−nと、受信した接続要求103が示す選択近隣端末との間で近距離通信方式による通信を行う際に必要な共通鍵104を生成する。そして、接続要求103の送信元である携帯端末10−1〜10−nと、受信した接続要求103が示す選択近隣端末とへ生成された共通鍵104を送信する。   (3) The connection request 103 transmitted from the mobile terminals 10-1 to 10-n is received via the transmission / reception unit 43. And common required when performing communication by the short-range communication method between the mobile terminals 10-1 to 10-n that are the transmission source of the received connection request 103 and the selected neighboring terminal indicated by the received connection request 103 A key 104 is generated. Then, the generated common key 104 is transmitted to the mobile terminals 10-1 to 10-n that are the transmission source of the connection request 103 and the selected neighboring terminal indicated by the received connection request 103.

(4)携帯端末10−1〜10−nから送信された位置情報削除要求108を受信する。そして、受信した位置情報削除要求108の送信元である携帯端末10−1〜10−nの位置情報を削除コマンドを発行することによって位置情報DB44から削除する。そして、位置情報削除要求108の送信元である携帯端末10−1〜10−nへ位置情報削除完了通知109を送信する。   (4) The position information deletion request 108 transmitted from the mobile terminals 10-1 to 10-n is received. Then, the position information of the mobile terminals 10-1 to 10-n that are the transmission source of the received position information deletion request 108 is deleted from the position information DB 44 by issuing a delete command. Then, a position information deletion completion notification 109 is transmitted to the mobile terminals 10-1 to 10-n that are the transmission source of the position information deletion request 108.

送受信部43は、携帯端末10−1〜10−nとの間の通信を仲介する。   The transmission / reception unit 43 mediates communication with the mobile terminals 10-1 to 10-n.

位置情報DB44は、携帯端末10−1〜10−nの端末情報を記憶する。また、位置情報登録要求101に含まれる携帯端末10−1〜10−nの位置情報を端末情報と対応付けて記憶する。   The position information DB 44 stores terminal information of the mobile terminals 10-1 to 10-n. Further, the location information of the mobile terminals 10-1 to 10-n included in the location information registration request 101 is stored in association with the terminal information.

図1に示した基地局20は、携帯端末10−1〜10−nとASP40との間の通信を中継する。   The base station 20 illustrated in FIG. 1 relays communication between the mobile terminals 10-1 to 10-n and the ASP 40.

以下に、上記のように構成されたメッセージ通信システムにおいてメッセージ通信を行う場合の動作について説明する。ここでは、メッセージの送信側が携帯端末10−1であり、メッセージの受信側が携帯端末10−2である場合について説明する。   The operation when performing message communication in the message communication system configured as described above will be described below. Here, a case where the message transmission side is the mobile terminal 10-1 and the message reception side is the mobile terminal 10-2 will be described.

まず、図1〜図3に示した携帯端末10−1が、位置情報登録要求101を送信してから近隣端末の端末情報を表示するまでの動作について説明する。   First, the operation from when the portable terminal 10-1 shown in FIGS. 1 to 3 transmits the location information registration request 101 until the terminal information of the neighboring terminals is displayed will be described.

図5は、図1〜図3に示した携帯端末10−1内における情報の入出力を示すシーケンス図である。また、図6は、図1、図2及び図4に示したメッセージ通信可否判定サーバ41内における情報の入出力を示すシーケンス図である。また、図7は、図1〜図4に示したメッセージ通信システムの動作を説明するためのフローチャートであり、携帯端末10−1が、位置情報登録要求101を送信してから近隣端末の端末情報を表示するまでの動作を示す。   FIG. 5 is a sequence diagram showing input / output of information in the portable terminal 10-1 shown in FIGS. FIG. 6 is a sequence diagram showing input / output of information in the message communication availability determination server 41 shown in FIGS. 1, 2, and 4. FIG. 7 is a flowchart for explaining the operation of the message communication system shown in FIGS. 1 to 4. After the mobile terminal 10-1 transmits the location information registration request 101, the terminal information of neighboring terminals is shown. The operation until is displayed.

本動作の前提として、携帯端末10−1〜10−nの端末情報がメッセージ通信可否判定サーバ41の位置情報DB44に登録されているものとする。   As a premise of this operation, it is assumed that the terminal information of the mobile terminals 10-1 to 10-n is registered in the position information DB 44 of the message communication availability determination server 41.

まず、携帯端末10−1の制御部11は、位置情報登録要求101を送受信部12を介してメッセージ通信可否判定サーバ41へ送信する(ステップS1)。   First, the control unit 11 of the mobile terminal 10-1 transmits the position information registration request 101 to the message communication availability determination server 41 via the transmission / reception unit 12 (step S1).

携帯端末10−1から送信された位置情報登録要求101を送受信部43を介して受信したメッセージ通信可否判定サーバ41の制御部42は、受信した位置情報登録要求101に含まれる携帯端末10−1の位置情報110を位置情報DB44に記憶させる(ステップS2)。   The control unit 42 of the message communication availability determination server 41 that has received the location information registration request 101 transmitted from the mobile terminal 10-1 via the transmission / reception unit 43 receives the mobile terminal 10-1 included in the received location information registration request 101. Is stored in the position information DB 44 (step S2).

次に、制御部42は、携帯端末10−1の近隣端末が存在するかどうかを位置情報DB44から検索する(ステップS3)。   Next, the control unit 42 searches the position information DB 44 to determine whether there is a neighboring terminal of the mobile terminal 10-1 (step S3).

ステップS3における検索の結果、携帯端末10−1の近隣端末が存在する場合、制御部42は、検索された近隣端末の端末情報及び位置情報111を位置情報DB44から取得する。   As a result of the search in step S3, when there is a neighboring terminal of the mobile terminal 10-1, the control unit 42 acquires the terminal information and the position information 111 of the searched neighboring terminal from the position information DB 44.

そして、制御部42は、位置情報DB44から取得した端末情報及び位置情報111を含む近隣端末情報102を送受信部43を介して携帯端末10−1へ送信する(ステップS4)。   And the control part 42 transmits the neighboring terminal information 102 containing the terminal information acquired from position information DB44 and the positional information 111 to the portable terminal 10-1 via the transmission / reception part 43 (step S4).

メッセージ通信可否判定サーバ41から送信された近隣端末情報102を送受信部12を介して受信した制御部11は、受信した近隣端末情報102が示す近隣端末の端末情報を表示部14に表示させる(ステップS5)。   The control unit 11 that has received the neighboring terminal information 102 transmitted from the message communication availability determination server 41 via the transmission / reception unit 12 causes the display unit 14 to display the terminal information of the neighboring terminal indicated by the received neighboring terminal information 102 (Step S1). S5).

一方、ステップS3における検索の結果、携帯端末10−1の近隣端末が存在しない場合には、制御部42は、その旨を示すメッセージを送受信部43を介して携帯端末10−1へ送信する(ステップS6)。   On the other hand, as a result of the search in step S3, if there is no neighboring terminal of the mobile terminal 10-1, the control unit 42 transmits a message indicating that to the mobile terminal 10-1 via the transmission / reception unit 43 ( Step S6).

メッセージ通信可否判定サーバ41から送信されたメッセージを送受信部12を介して受信した制御部11は、受信したメッセージを表示部14に表示させ(ステップS7)、処理を終了する。   The control unit 11 that has received the message transmitted from the message communication availability determination server 41 via the transmission / reception unit 12 displays the received message on the display unit 14 (step S7), and ends the process.

次に、図1〜図3に示した携帯端末10−1が近隣端末の端末情報を表示した後、メッセージの送受信を行う場合の動作について説明する。   Next, the operation when the mobile terminal 10-1 shown in FIGS. 1 to 3 transmits / receives a message after displaying the terminal information of the neighboring terminal will be described.

図8は、図1〜図4に示したメッセージ通信システムの動作を説明するためのフローチャートであり、携帯端末10−1が近隣端末の端末情報を表示した後、メッセージの送受信を行う動作を示している。   FIG. 8 is a flowchart for explaining the operation of the message communication system shown in FIGS. 1 to 4, and shows the operation of transmitting and receiving messages after the mobile terminal 10-1 displays the terminal information of the neighboring terminals. ing.

まず、入力受付部15は、表示部14に表示された近隣端末の中から、携帯端末10−1のユーザが入力装置50を操作することによって選択した選択近隣端末の入力を受け付ける(ステップS21)。なお、ここでは携帯端末10−2が選択近隣端末として選択されるものとする。   First, the input receiving unit 15 receives an input of a selected neighboring terminal selected by the user of the mobile terminal 10-1 operating the input device 50 from among the neighboring terminals displayed on the display unit 14 (step S21). . Here, it is assumed that the portable terminal 10-2 is selected as the selected neighboring terminal.

選択近隣端末の入力を受け付けた入力受付部15は、携帯端末10−2を識別する選択近隣端末情報112を制御部11へ出力する。   The input receiving unit 15 that has received the input of the selected neighboring terminal outputs the selected neighboring terminal information 112 that identifies the mobile terminal 10-2 to the control unit 11.

入力受付部15から出力された選択近隣端末情報112を受け付けた制御部11は、選択近隣端末として携帯端末10−2を示す接続要求103を送受信部12を介してメッセージ通信可否判定サーバ41へ送信する(ステップS22)。   The control unit 11 that has received the selected neighboring terminal information 112 output from the input receiving unit 15 transmits a connection request 103 indicating the portable terminal 10-2 as the selected neighboring terminal to the message communication availability determination server 41 via the transmission / reception unit 12. (Step S22).

携帯端末10−1から送信された接続要求103を送受信部43を介して受信したメッセージ通信可否判定サーバ41の制御部42は、携帯端末10−1と携帯端末10−2との間で近距離通信方式による通信を行う際に必要な共通鍵104を生成する(ステップS23)。   The control unit 42 of the message communication availability determination server 41 that has received the connection request 103 transmitted from the mobile terminal 10-1 via the transmission / reception unit 43 is a short distance between the mobile terminal 10-1 and the mobile terminal 10-2. A common key 104 necessary for communication by the communication method is generated (step S23).

そして、制御部42は、生成された共通鍵104を送受信部43を介して携帯端末10−1,10−2へ送信する(ステップS24)。   And the control part 42 transmits the produced | generated common key 104 to the portable terminals 10-1 and 10-2 via the transmission / reception part 43 (step S24).

メッセージ通信可否判定サーバ41から送信された共通鍵104を送受信部12を介して受信した携帯端末10−1の制御部11は、受信した共通鍵を利用して通信開始要求105を生成する。   The control unit 11 of the portable terminal 10-1 that has received the common key 104 transmitted from the message communication availability determination server 41 via the transmission / reception unit 12 generates a communication start request 105 using the received common key.

そして、制御部11は、生成された通信開始要求105を近距離通信用送受信部13を介して携帯端末10−2へ送信する。   And the control part 11 transmits the produced | generated communication start request | requirement 105 to the portable terminal 10-2 via the transmission / reception part 13 for near field communication.

ここで、携帯端末10−1から送信された通信開始要求105を受信した携帯端末10−2の制御部11は、メッセージ通信可否判定サーバから送信された共通鍵104を利用して通信開始許可106を生成する。   Here, the control unit 11 of the mobile terminal 10-2 that has received the communication start request 105 transmitted from the mobile terminal 10-1 uses the common key 104 transmitted from the message communication enable / disable determination server to allow communication start permission 106. Is generated.

そして、携帯端末10−2の制御部11は、生成された通信開始許可106を近距離通信用送受信部13を介して携帯端末10−1へ送信する。   And the control part 11 of the portable terminal 10-2 transmits the produced | generated communication start permission 106 to the portable terminal 10-1 via the transmission / reception part 13 for near field communication.

これにより、携帯端末10−1と携帯端末10−2との間の相互認証が完了し、携帯端末10−1と携帯端末10−2との間の通信リンクが確立する(ステップS25)。   Thereby, the mutual authentication between the portable terminal 10-1 and the portable terminal 10-2 is completed, and the communication link between the portable terminal 10-1 and the portable terminal 10-2 is established (step S25).

次に、携帯端末10−1の制御部11は、ユーザにメッセージを入力させるための画面を表示部14に表示させる。   Next, the control unit 11 of the mobile terminal 10-1 causes the display unit 14 to display a screen for allowing the user to input a message.

そして、入力受付部15は、携帯端末10−1のユーザが入力装置50を操作することによって入力したメッセージ115を受け付ける(ステップS26)。   And the input reception part 15 receives the message 115 input by the user of the portable terminal 10-1 operating the input device 50 (step S26).

メッセージ115の入力を受け付けた入力受付部15は、受け付けたメッセージ115を制御部11へ出力する。   The input receiving unit 15 that has received the input of the message 115 outputs the received message 115 to the control unit 11.

入力受付部15から出力されたメッセージ115を受け付けた制御部11は、受け付けたメッセージ115をメッセージDB16に記憶させる。   The control unit 11 that has received the message 115 output from the input reception unit 15 stores the received message 115 in the message DB 16.

また、制御部11は、受け付けたメッセージ115に携帯端末10−2のアドレスを付加し、送信メッセージ情報107−1として近距離通信用送受信部13を介して携帯端末10−2へ送信する(ステップS27)。   Further, the control unit 11 adds the address of the portable terminal 10-2 to the received message 115, and transmits it as the transmission message information 107-1 to the portable terminal 10-2 via the short-range communication transmitting / receiving unit 13 (step). S27).

送信メッセージ情報107−1を送信すると、制御部11は、タイマーを起動させる(ステップS28)。   If the transmission message information 107-1 is transmitted, the control part 11 will start a timer (step S28).

そして、制御部11は、送信メッセージ情報107−1を送信してからの経過時間を確認する(ステップS29)。   And the control part 11 confirms the elapsed time after transmitting the transmission message information 107-1 (step S29).

ステップS29における確認の結果、携帯端末10−1へのメッセージを含む返信メッセージ情報107−2を所定の時間を経過しても携帯端末10−2から受信しない場合、制御部11は、メッセージDB16に記憶されている携帯端末10−2へ送信したメッセージを削除する(ステップS30)。   As a result of the confirmation in step S29, when the reply message information 107-2 including the message to the portable terminal 10-1 is not received from the portable terminal 10-2 even after a predetermined time has elapsed, the control unit 11 stores the message DB 16 in the message DB 16. The stored message transmitted to the portable terminal 10-2 is deleted (step S30).

また、制御部11は、メッセージ送受信終了通知113を近距離通信用送受信部13を介して携帯端末10−2へ送信する(ステップS31)。   Further, the control unit 11 transmits a message transmission / reception end notification 113 to the portable terminal 10-2 via the short-range communication transmission / reception unit 13 (step S31).

一方、ステップS29における確認の結果、携帯端末10−2から送信された返信メッセージ情報107−2を所定の時間内に受信した場合には、制御部11は、受信した返信メッセージ情報107−2に含まれるメッセージを表示部14に表示させるとともにメッセージDB16に記憶させる(ステップS32)。   On the other hand, as a result of the confirmation in step S29, when the reply message information 107-2 transmitted from the portable terminal 10-2 is received within a predetermined time, the control unit 11 adds the received reply message information 107-2 to the received reply message information 107-2. The included message is displayed on the display unit 14 and stored in the message DB 16 (step S32).

次に、制御部11は、携帯端末10−2との通信を継続するかどうかを選択させるための画面を表示部14に表示させる。   Next, the control unit 11 causes the display unit 14 to display a screen for selecting whether to continue communication with the mobile terminal 10-2.

携帯端末10−1のユーザが入力装置50を操作することによって入力した選択を受け付けた入力受付部15は、その選択内容を示す情報を制御部11へ出力する。   The input receiving unit 15 that has received a selection input by operating the input device 50 by the user of the portable terminal 10-1 outputs information indicating the selection content to the control unit 11.

入力受付部15から出力された選択内容を示す情報を受け付けた制御部11は、その情報が示す選択内容から、携帯端末10−2との通信を継続するかどうかを判定する(ステップS33)。   The control part 11 which received the information which shows the selection content output from the input reception part 15 determines whether communication with the portable terminal 10-2 is continued from the selection content which the information shows (step S33).

ステップS33における判定の結果、携帯端末10−2との通信を継続しない場合、ステップS30の動作に遷移し、制御部11は、メッセージDB16に記憶されている携帯端末10−2との間で送受信したメッセージを削除する。また、制御部11は、メッセージ送受信終了通知113を近距離通信用送受信部13を介して携帯端末10−2へ送信する。   If the communication with the mobile terminal 10-2 is not continued as a result of the determination in step S33, the operation proceeds to the operation of step S30, and the control unit 11 transmits / receives to / from the mobile terminal 10-2 stored in the message DB 16 Delete the message. In addition, the control unit 11 transmits a message transmission / reception end notification 113 to the mobile terminal 10-2 via the short-range communication transmission / reception unit 13.

一方、ステップS33における判定の結果、携帯端末10−2との通信を継続する場合、ステップS26の動作に遷移する。   On the other hand, as a result of the determination in step S33, when the communication with the portable terminal 10-2 is continued, the operation transitions to step S26.

ここで、ステップS31の動作によって携帯端末10−1から送信されたメッセージ送受信終了通知113を受信した携帯端末10−2の制御部11は、メッセージDB16に記憶され、携帯端末10−1との間で送受信されたメッセージを削除する。そして、携帯端末10−2の制御部11は、携帯端末10−1との通信を終了する旨を示すメッセージを表示部14に表示させる。   Here, the control unit 11 of the mobile terminal 10-2 that has received the message transmission / reception end notification 113 transmitted from the mobile terminal 10-1 by the operation of Step S31 is stored in the message DB 16 and is connected to the mobile terminal 10-1. Delete messages sent and received by. And the control part 11 of the portable terminal 10-2 displays on the display part 14 the message which shows that the communication with the portable terminal 10-1 is complete | finished.

次に、携帯端末10−1の制御部11は、他の近隣端末と通信を行うかどうかを選択させるための画面を表示部14に表示させる。   Next, the control unit 11 of the mobile terminal 10-1 causes the display unit 14 to display a screen for selecting whether to communicate with other neighboring terminals.

携帯端末10−1のユーザが入力装置50を操作することによって入力した選択を受け付けた入力受付部15は、その選択内容を示す情報を制御部11へ出力する。   The input receiving unit 15 that has received a selection input by operating the input device 50 by the user of the portable terminal 10-1 outputs information indicating the selection content to the control unit 11.

入力受付部15から出力された情報を受け付けた制御部11は、その情報が示す選択内容から、他の近隣端末と通信を行うかどうかを判定する(ステップS34)。   The control part 11 which received the information output from the input reception part 15 determines whether it communicates with another neighboring terminal from the selection content which the information shows (step S34).

ステップS34における判定の結果、他の近隣端末と通信を行わない場合、制御部11は、位置情報削除要求108を送受信部12を介してメッセージ通信可否判定サーバ41へ送信する(ステップS35)。   As a result of the determination in step S34, when communication with other neighboring terminals is not performed, the control unit 11 transmits a position information deletion request 108 to the message communication availability determination server 41 via the transmission / reception unit 12 (step S35).

携帯端末10−1から送信された位置情報削除要求108を受信したメッセージ通信可否判定サーバ41の制御部42は、削除コマンド114を発行することにより、位置情報DB44に記憶されている携帯端末10−1の位置情報を削除する(ステップS35)。   The control unit 42 of the message communication availability determination server 41 that has received the location information deletion request 108 transmitted from the mobile terminal 10-1 issues the delete command 114, thereby storing the mobile terminal 10-stored in the location information DB 44. 1 position information is deleted (step S35).

携帯端末10−1の位置情報を削除した制御部42は、位置情報削除完了通知109を送受信部43を介して携帯端末10−1へ送信する。   The control unit 42 that has deleted the location information of the mobile terminal 10-1 transmits a location information deletion completion notification 109 to the mobile terminal 10-1 via the transmission / reception unit 43.

一方、ステップS34における判定の結果、他の近隣端末と通信を行う場合、ステップS21の動作へ遷移し、入力受付部15は、携帯端末10−1のユーザからの選択近隣端末の選択の入力を受け付ける。   On the other hand, if the result of determination in step S34 is to communicate with other neighboring terminals, the operation proceeds to step S21, and the input receiving unit 15 inputs the selection of the selected neighboring terminal from the user of the portable terminal 10-1. Accept.

なお、上述した動作フローにおいて、メッセージ送受信終了通知113を携帯端末10−2から携帯端末10−1へ送信することも可能である。   In the operation flow described above, the message transmission / reception end notification 113 can be transmitted from the portable terminal 10-2 to the portable terminal 10-1.

また、本実施形態においてメッセージの送受信を行っている間に、携帯端末10−1〜10−nが移動する等によって通信リンクが切断された場合、携帯端末10−1〜10−nの表示部14には、メッセージの送受信ができなくなったことを知らせるためのメッセージが表示される。この場合、携帯端末10−1〜10−nの制御部11は、メッセージDB16に記憶されている送受信されたメッセージを削除する。   Further, when the communication link is disconnected due to movement of the mobile terminals 10-1 to 10-n or the like while the message is being transmitted / received in the present embodiment, the display unit of the mobile terminals 10-1 to 10-n 14 displays a message for notifying that the message cannot be transmitted or received. In this case, the control unit 11 of the mobile terminals 10-1 to 10-n deletes the transmitted / received message stored in the message DB 16.

このように本実施形態においては、携帯端末10−1〜10−nは、携帯端末10−1〜10−nが存在する位置を示す位置情報を含む位置情報登録要求101をメッセージ通信可否判定サーバ41へ送信する。そして、メッセージ通信可否判定サーバ41は、位置情報登録要求の送信元の携帯端末10−1〜10−nの近隣端末を示す近隣端末情報102を携帯端末10−1〜10−nへ送信する。さらに、メッセージ通信可否判定サーバ41は、近距離通信方式による通信を行う際に必要な共通鍵104を生成して位置情報登録要求101の送信元の携帯端末10−1〜10−n及びその選択近隣端末へ送信する。そして、位置情報登録要求101の送信元の携帯端末10−1〜10−nは、受信した共通鍵を利用して選択近隣端末と相互認証を行った上でメッセージの送受信を行う。   As described above, in the present embodiment, the mobile terminals 10-1 to 10-n send the position information registration request 101 including the position information indicating the position where the mobile terminals 10-1 to 10-n exist to the message communication availability determination server. 41. Then, the message communication availability determination server 41 transmits the neighboring terminal information 102 indicating the neighboring terminal of the portable terminal 10-1 to 10-n that is the transmission source of the location information registration request, to the portable terminals 10-1 to 10-n. Further, the message communication availability determination server 41 generates a common key 104 necessary when performing communication by the short-range communication method, and selects the mobile terminals 10-1 to 10-n as the transmission source of the location information registration request 101 and the selection thereof. Send to neighboring terminals. Then, the mobile terminals 10-1 to 10-n that are the transmission sources of the location information registration request 101 transmit and receive messages after performing mutual authentication with the selected neighboring terminal using the received common key.

そのため、携帯端末10−1〜10−nは、携帯端末10−1〜10−nに予め共通のパスワードを設定しておかなくても近距離通信方式によるメッセージの送受信を行うことができる。   Therefore, the mobile terminals 10-1 to 10-n can transmit and receive messages using the short-range communication method without setting a common password in advance in the mobile terminals 10-1 to 10-n.

また、共通鍵がASP40内で一元的に管理されるため、共通鍵の漏洩を回避することができ、セキュリティ性が向上する。   In addition, since the common key is centrally managed in the ASP 40, leakage of the common key can be avoided and security is improved.

なお、本実施形態において携帯端末10−1〜10−nの位置情報は、一例としてユーザによって予め登録された情報としている。位置情報の他の例としては、携帯端末10−1〜10−nとASP40との間の通信を中継する基地局の位置を携帯端末10−1〜10−nの位置情報として利用する方法もある。この場合、携帯端末10−1〜10−nが位置情報登録要求をASP40へ向けて送信すると、基地局20が基地局20の存在する位置を位置情報登録要求に付加してASP40へ送信する。これにより、携帯端末10−1〜10−nのユーザは、位置情報を予め登録しておかなくても済むようになる。   In the present embodiment, the location information of the mobile terminals 10-1 to 10-n is information registered in advance by the user as an example. As another example of the position information, there is a method in which the position of the base station that relays communication between the portable terminals 10-1 to 10-n and the ASP 40 is used as the position information of the portable terminals 10-1 to 10-n. is there. In this case, when the mobile terminals 10-1 to 10-n transmit the position information registration request to the ASP 40, the base station 20 adds the position where the base station 20 exists to the position information registration request and transmits the request to the ASP 40. Thereby, the user of the portable terminals 10-1 to 10-n does not need to register the position information in advance.

図9は、図1に示したメッセージ通信システムにおいてメッセージ通信を行う場合の動作の他の例を説明するためのシーケンス図である。   FIG. 9 is a sequence diagram for explaining another example of the operation when performing message communication in the message communication system shown in FIG.

図9に示すように、携帯端末10−1は、ユーザによって予め設定された位置情報が含まれていない位置情報登録要求201を送信する。   As illustrated in FIG. 9, the mobile terminal 10-1 transmits a location information registration request 201 that does not include location information preset by the user.

携帯端末10−1から送信された位置情報登録要求201を受信した基地局20は、基地局20が存在している位置の情報を、受信した位置情報登録要求201に位置情報として付加する。そして、位置情報が付加された位置情報登録要求201を基地局位置情報付登録要求202としてASP40へ送信する。以降の動作は、図2において説明したものと同様であるので説明を省略する。   The base station 20 that has received the location information registration request 201 transmitted from the mobile terminal 10-1 adds information on the location where the base station 20 exists as location information to the received location information registration request 201. Then, the location information registration request 201 to which the location information is added is transmitted to the ASP 40 as a registration request 202 with base station location information. The subsequent operation is the same as that described with reference to FIG.

さらに、位置情報の他の例としては、携帯端末10−1〜10−nがGPS(Global Potisioning System)機能に対応している場合、そのGPS機能を利用して取得した緯度及び経度を利用する方法がある。これにより、携帯端末10−1〜10−nの近隣端末の位置がより正確に把握できる。   Furthermore, as another example of the position information, when the mobile terminals 10-1 to 10-n are compatible with the GPS (Global Positioning System) function, the latitude and longitude acquired using the GPS function are used. There is a way. Thereby, the position of the neighboring terminal of the portable terminals 10-1 to 10-n can be grasped more accurately.

図10は、本発明のメッセージ通信システムの他の実施形態の構成を示すブロック図である。   FIG. 10 is a block diagram showing a configuration of another embodiment of the message communication system of the present invention.

図10に示すメッセージ通信システムは、図1に示したメッセージ通信システムと比べ、GPS衛星150が追加されている点が異なる。   The message communication system shown in FIG. 10 is different from the message communication system shown in FIG. 1 in that a GPS satellite 150 is added.

図11は、図10に示したメッセージ通信システムにおいてメッセージ通信を行う動作の一例を説明するためのシーケンス図である。   FIG. 11 is a sequence diagram for explaining an example of an operation for performing message communication in the message communication system shown in FIG.

図11に示すように携帯端末10−1は、位置情報登録要求301を送信する前に、GPS衛星150から携帯端末10−1の存在する緯度及び経度情報203を取得している。   As illustrated in FIG. 11, the mobile terminal 10-1 acquires the latitude and longitude information 203 on which the mobile terminal 10-1 exists from the GPS satellite 150 before transmitting the position information registration request 301.

そして、取得した緯度及び経度情報203を位置情報として位置情報登録要求301に含めてASP40へ送信する。以降の動作は、図2において説明したものと同様であるので説明を省略する。なお、位置情報として上述した3つの情報、ユーザによって予め設定された情報、基地局20の存在する位置の情報、GPS機能を利用して取得した緯度及び経度情報、のいずれかを選択できるようにしてもよい。   Then, the acquired latitude and longitude information 203 is included in the position information registration request 301 as position information and transmitted to the ASP 40. The subsequent operation is the same as that described with reference to FIG. As the position information, any of the above-described three information, information preset by the user, information on the position where the base station 20 exists, latitude and longitude information acquired using the GPS function can be selected. May be.

また、上述した実施形態においては、携帯端末10−1〜10−n間で近距離通信方式によって送受信されるメッセージは、その内容が確認されることがないが、メッセージの内容を確認できるようにすることも可能である。この場合、携帯端末10−1〜10−nに例えば、メッセージに含まれる単語を監視する監視部を設け、メッセージ中で使用を禁止する禁止単語を予めその監視部に登録しておく。そして、送受信するメッセージに禁止単語が含まれていないかどうかを監視部によって検出し、禁止単語が含まれているメッセージを必要に応じて破棄するようにすればよい。また、この場合、メッセージ自体の内容だけではなく、メッセージに添付される画像ファイル等の内容を確認できるようにしてもよい。   Further, in the above-described embodiment, the content of the message transmitted and received between the mobile terminals 10-1 to 10-n by the near field communication method is not confirmed, but the content of the message can be confirmed. It is also possible to do. In this case, for example, a monitoring unit that monitors words included in the message is provided in the mobile terminals 10-1 to 10-n, and prohibited words that are prohibited from being used in the message are registered in the monitoring unit in advance. Then, the monitoring unit detects whether or not the prohibited word is included in the message to be transmitted and received, and the message including the prohibited word may be discarded as necessary. In this case, not only the content of the message itself but also the content of an image file attached to the message may be confirmed.

また、上述した実施形態では、近隣端末の存在する位置がその携帯端末名とともに地図等にプロットされたものを携帯端末10−1〜10−nに表示する場合を一例として説明した。このように、単に近隣端末が存在する位置及び端末情報を示すだけではなく、例えば、近隣端末のメッセージの送受信回数等の通信履歴を近隣端末情報102に付加し、その付加された通信履歴が近隣端末の存在位置とともに携帯端末10−1〜10−nに表示されるようにしてもよい。なお、この場合、メッセージ通信可否判定サーバ41は、端末情報の1つとして通信履歴を記憶しておく必要がある。このようにすることで、近隣端末情報102を受信した携帯端末10−1〜10−nのユーザは、メッセージを返信してくれる可能性の高いユーザを選択近隣端末として優先的に選択することができるようになる。   Moreover, in embodiment mentioned above, the case where the position where a neighboring terminal exists plotted on a map etc. with the name of the portable terminal was displayed on portable terminals 10-1 to 10-n as an example. In this way, not only the location and terminal information where the neighboring terminal exists, but also a communication history such as the number of times of transmission / reception of messages of the neighboring terminal is added to the neighboring terminal information 102, and the added communication history is You may make it display on portable terminal 10-1 to 10-n with the presence position of a terminal. In this case, the message communication availability determination server 41 needs to store a communication history as one piece of terminal information. By doing in this way, the user of the portable terminals 10-1 to 10-n having received the neighboring terminal information 102 can preferentially select a user who is likely to return a message as a selected neighboring terminal. become able to.

また、本発明においては、端末内の処理は上述の専用のハードウェアにより実現されるもの以外に、その機能を実現するためのプログラムを端末にて読取可能な記録媒体に記録し、この記録媒体に記録されたプログラムを端末に読み込ませ、実行するものであっても良い。端末にて読取可能な記録媒体とは、フロッピーディスク、光磁気ディスク、DVD、CDなどの移設可能な記録媒体の他、端末に内蔵されたHDDなどを指す。   Further, in the present invention, the processing in the terminal is recorded on a recording medium readable by the terminal, in addition to what is realized by the dedicated hardware described above, and this recording medium The program recorded in (1) may be read by a terminal and executed. The recording medium that can be read by the terminal refers to a removable recording medium such as a floppy disk, a magneto-optical disk, a DVD, and a CD, and an HDD built in the terminal.

10−1〜10−n 携帯端末
11,42 制御部
12,43 送受信部
13 近距離通信用送受信部
14 表示部
15 入力受付部
16 メッセージDB
20 基地局
30 電話網
40 ASP
41 メッセージ通信可否判定サーバ
44 位置情報DB
50 入力装置
101,201,301 位置情報登録要求
102 近隣端末情報
103 接続要求
104 共通鍵
105 通信開始要求
106 通信開始許可
107 メッセージ情報
107−1 送信メッセージ情報
107−2 返信メッセージ情報
108 位置情報削除要求
109 位置情報削除完了通知
110 位置情報
111 端末情報及び位置情報
112 選択近隣端末情報
113 メッセージ送受信終了通知
114 削除コマンド
115 メッセージ
150 GPS衛星
202 基地局位置情報付登録要求
203 緯度及び経度情報
10-1 to 10-n Mobile terminal 11, 42 Control unit 12, 43 Transmission / reception unit 13 Transmission / reception unit for near field communication 14 Display unit 15 Input reception unit 16 Message DB
20 base station 30 telephone network 40 ASP
41 Message communication availability determination server 44 Location information DB
50 Input devices 101, 201, 301 Location information registration request 102 Neighboring terminal information 103 Connection request 104 Common key 105 Communication start request 106 Communication start permission 107 Message information 107-1 Transmission message information 107-2 Reply message information 108 Position information deletion request 109 Position information deletion completion notification 110 Position information 111 Terminal information and position information 112 Selected neighboring terminal information 113 Message transmission / reception end notification 114 Delete command 115 Message 150 GPS satellite 202 Registration request with base station position information 203 Latitude and longitude information

Claims (15)

サーバと、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末とを有するメッセージ通信システムであって、
前記端末は、当該端末が存在する位置を示す位置情報を前記サーバへ送信し、その後、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記近距離通信方式による通信を行う際に必要な共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行い、
前記サーバは、前記端末から送信された前記位置情報を受信すると、該受信した前記位置情報に基づいた前記近隣端末情報を当該端末へ送信し、また、前記共通鍵を生成し、該生成された前記共通鍵を当該端末及び前記近隣端末へ送信するメッセージ通信システム。
A message communication system having a server and a terminal that performs communication by a short-range communication method not via a network of a telecommunications carrier,
The terminal transmits position information indicating a position where the terminal exists to the server, and thereafter, neighboring terminal information indicating a neighboring terminal existing in a range in which communication with the terminal by the short-range communication method is possible, When receiving from the server a common key necessary for performing communication by the near field communication method, after performing mutual authentication with the neighboring terminal using the received common key, by the near field communication method Send and receive messages,
Upon receiving the location information transmitted from the terminal, the server transmits the neighboring terminal information based on the received location information to the terminal, generates the common key, and generates the generated common key. A message communication system for transmitting the common key to the terminal and the neighboring terminal.
請求項1に記載のメッセージ通信システムにおいて、
前記端末は、前記近隣端末情報によって示される近隣端末が複数存在する場合、該複数の近隣端末の中から前記近距離通信方式による通信を行う近隣端末の選択を受け付け、該選択された近隣端末を示す接続要求を前記サーバへ送信し、その後、前記サーバから送信され、前記選択された近隣端末との間で前記近距離通信方式による通信を行う際に必要な共通鍵を受信すると、該受信した共通鍵を利用して前記選択された近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行い、
前記サーバは、前記端末から送信された前記接続要求を受信すると、前記共通鍵を生成し、該生成された前記共通鍵を当該端末及び前記選択された近隣端末へ送信するメッセージ通信システム。
The message communication system according to claim 1.
When there are a plurality of neighboring terminals indicated by the neighboring terminal information, the terminal accepts a selection of a neighboring terminal that performs communication by the near field communication method from the plurality of neighboring terminals, and selects the selected neighboring terminal. A connection request indicating to the server, and then receiving the common key that is transmitted from the server and necessary for communication with the selected neighboring terminal using the short-range communication method. Sending and receiving messages by the near field communication method after mutual authentication with the selected neighboring terminal using a common key,
When the server receives the connection request transmitted from the terminal, the server generates the common key and transmits the generated common key to the terminal and the selected neighboring terminal.
請求項1または請求項2に記載のメッセージ通信システムにおいて、
前記位置情報は、前記端末が存在する位置の緯度及び経度を示す情報であるメッセージ通信システム。
The message communication system according to claim 1 or 2,
The message communication system, wherein the position information is information indicating a latitude and longitude of a position where the terminal exists.
サーバと、電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末とを有するメッセージ通信システムにおけるメッセージ通信方法であって、
前記端末が、当該端末が存在する位置を示す位置情報を前記サーバへ送信する処理と、
前記サーバが、前記端末から送信された前記位置情報を受信すると、該受信した前記位置情報に基づき、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報を当該端末へ送信する処理と、
前記サーバが、前記近距離通信方式による通信を行う際に必要な共通鍵を生成し、該生成された前記共通鍵を当該端末及び前記近隣端末へ送信する処理と、
前記端末が、前記サーバから送信された前記近隣端末情報及び前記共通鍵を受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、を有するメッセージ通信方法。
A message communication method in a message communication system having a server and a terminal that performs communication by a short-range communication method not via a network of a telecommunication carrier,
A process in which the terminal transmits position information indicating a position where the terminal exists to the server;
When the server receives the location information transmitted from the terminal, based on the received location information, a neighboring terminal indicating a neighboring terminal existing in a range in which communication with the terminal can be performed by the near field communication method A process of transmitting information to the terminal;
The server generates a common key necessary for performing communication by the short-range communication method, and transmits the generated common key to the terminal and the neighboring terminal;
When the terminal receives the neighboring terminal information and the common key transmitted from the server, the terminal performs mutual authentication with the neighboring terminal using the received common key, and then sends a message by the near field communication method. A message communication method.
請求項4に記載のメッセージ通信方法において、
前記端末が、前記近隣端末情報によって示される近隣端末が複数存在する場合、該複数の近隣端末の中から前記近距離通信方式による通信を行う近隣端末の選択を受け付け、該選択された近隣端末を示す接続要求を前記サーバへ送信する処理と、
前記サーバが、前記端末から送信された前記接続要求を受信すると、該受信した接続要求が示す前記選択された近隣端末との間で前記近距離通信方式による通信を行う際に必要な共通鍵を生成し、該生成された共通鍵を当該端末及び前記選択された近隣端末へ送信する処理と、
前記端末が、前記サーバから送信された前記共通鍵を受信すると、該受信した前記共通鍵を利用して前記選択された近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、をさらに有するメッセージ通信方法。
The message communication method according to claim 4,
When there are a plurality of neighboring terminals indicated by the neighboring terminal information, the terminal accepts selection of neighboring terminals that perform communication by the near field communication method from the plurality of neighboring terminals, and selects the selected neighboring terminals. Processing to send a connection request indicating to the server;
When the server receives the connection request transmitted from the terminal, a common key necessary for communication by the near field communication method with the selected neighboring terminal indicated by the received connection request is obtained. Processing to generate and transmit the generated common key to the terminal and the selected neighboring terminal;
When the terminal receives the common key transmitted from the server, it performs mutual authentication with the selected neighboring terminal using the received common key, and then transmits / receives a message by the near field communication method. And a message communication method.
請求項4または請求項5に記載のメッセージ通信方法において、
前記位置情報は、前記端末が存在する位置の緯度及び経度を示す情報であるメッセージ通信方法。
In the message communication method according to claim 4 or 5,
The message communication method, wherein the position information is information indicating a latitude and longitude of a position where the terminal exists.
電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末におけるメッセージ通信方法であって、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信する処理と、
当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、を有するメッセージ通信方法。
A message communication method in a terminal that performs communication by a short-range communication method not via a network of a telecommunications carrier,
A process of transmitting position information indicating a position where the terminal exists to a server that generates a common key necessary for performing communication by the short-range communication method;
When neighboring terminal information indicating neighboring terminals existing in a range where communication with the terminal by the near field communication method is possible and the common key are received from the server, the neighboring key is used by using the received common key. A message communication method comprising: performing mutual authentication with a terminal and transmitting / receiving a message by the short-range communication method.
請求項7に記載のメッセージ通信方法において、
前記近隣端末情報によって示される近隣端末が複数存在する場合、該複数の近隣端末の中から前記近距離通信方式による通信を行う近隣端末の選択を受け付け、該選択された近隣端末を示す接続要求を前記サーバへ送信する処理と、
前記サーバから送信され、前記選択された近隣端末との間で前記近距離通信方式による通信を行う際に必要な共通鍵を受信すると、該受信した共通鍵を利用して前記選択された近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う処理と、をさらに有するメッセージ通信方法。
The message communication method according to claim 7, wherein
When there are a plurality of neighboring terminals indicated by the neighboring terminal information, a selection of a neighboring terminal that performs communication by the near field communication method is received from the plurality of neighboring terminals, and a connection request indicating the selected neighboring terminal is received. Processing to send to the server;
Upon receiving a common key that is transmitted from the server and necessary for communication with the selected neighboring terminal using the near field communication method, the selected neighboring terminal is used by using the received common key. A message communication method further comprising: performing mutual authentication with the message and transmitting and receiving a message by the short-range communication method.
請求項7または請求項8に記載のメッセージ通信方法において、
前記位置情報は、前記端末が存在する位置の緯度及び経度を示す情報であるメッセージ通信方法。
In the message communication method according to claim 7 or 8,
The message communication method, wherein the position information is information indicating a latitude and longitude of a position where the terminal exists.
電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末であって、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信し、その後、当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う端末。
A terminal that performs communication using a short-range communication method that does not go through a telecommunications carrier's network,
Sends location information indicating the location of the terminal to a server that generates a common key necessary for communication using the short-range communication method, and then enables communication with the terminal using the short-range communication method. When the neighboring terminal information indicating neighboring terminals existing in a certain range and the common key are received from the server, mutual authentication is performed with the neighboring terminals using the received common key, and the near field communication is performed. A terminal that sends and receives messages using a method.
請求項10に記載の端末において、
前記近隣端末情報によって示される近隣端末が複数存在する場合、該複数の近隣端末の中から前記近距離通信方式による通信を行う近隣端末の選択を受け付け、該選択された近隣端末を示す接続要求を前記サーバへ送信し、その後、前記サーバから送信され、前記選択された近隣端末との間で前記近距離通信方式による通信を行う際に必要な共通鍵を受信すると、該受信した共通鍵を利用して前記選択された近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う端末。
The terminal according to claim 10, wherein
When there are a plurality of neighboring terminals indicated by the neighboring terminal information, a selection of a neighboring terminal that performs communication by the near field communication method is received from the plurality of neighboring terminals, and a connection request indicating the selected neighboring terminal is received. When the common key that is transmitted to the server and then transmitted from the server and necessary for communication with the selected neighboring terminal by the near field communication method is received, the received common key is used. A terminal that performs mutual authentication with the selected neighboring terminal and transmits / receives a message by the short-range communication method.
請求項10または請求項11に記載の端末において、
前記位置情報は、前記端末が存在する位置の緯度及び経度を示す情報である端末。
The terminal according to claim 10 or 11,
The location information is information indicating the latitude and longitude of the location where the terminal is present.
電気通信事業者のネットワークを介さない近距離通信方式による通信を行う端末に、
前記端末が存在する位置を示す位置情報を、前記近距離通信方式による通信を行う際に必要な共通鍵を生成するサーバへ送信する機能と、
当該端末との前記近距離通信方式による通信が可能な範囲に存在する近隣端末を示す近隣端末情報と、前記共通鍵とを前記サーバから受信すると、該受信した前記共通鍵を利用して前記近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う機能と、を実現させるためのプログラム。
To a terminal that communicates using a short-range communication method without going through the network of a telecommunications carrier,
A function of transmitting position information indicating a position where the terminal exists to a server that generates a common key necessary for performing communication by the short-range communication method;
When neighboring terminal information indicating neighboring terminals existing in a range where communication with the terminal by the near field communication method is possible and the common key are received from the server, the neighboring key is used by using the received common key. A program for realizing a function of transmitting and receiving a message by the short-range communication method after performing mutual authentication with a terminal.
請求項13に記載のプログラムにおいて、
前記端末に、
前記近隣端末情報によって示される近隣端末が複数存在する場合、該複数の近隣端末の中から前記近距離通信方式による通信を行う近隣端末の選択を受け付け、該選択された近隣端末を示す接続要求を前記サーバへ送信する機能と、
前記サーバから送信され、前記選択された近隣端末との間で前記近距離通信方式による通信を行う際に必要な共通鍵を受信すると、該受信した共通鍵を利用して前記選択された近隣端末と相互認証を行った上で前記近距離通信方式によるメッセージの送受信を行う機能と、をさらに実現させるためのプログラム。
The program according to claim 13, wherein
In the terminal,
When there are a plurality of neighboring terminals indicated by the neighboring terminal information, a selection of a neighboring terminal that performs communication by the near field communication method is accepted from the plurality of neighboring terminals, and a connection request indicating the selected neighboring terminal is received. A function of transmitting to the server;
Upon receiving a common key that is transmitted from the server and necessary for communication with the selected neighboring terminal using the near field communication method, the selected neighboring terminal is used by using the received common key. And a function for further transmitting and receiving messages by the short-range communication method after mutual authentication.
請求項13または請求項14に記載のプログラムにおいて、
前記位置情報は、前記端末が存在する位置の緯度及び経度を示す情報であるプログラム。
In the program according to claim 13 or 14,
The position information is a program that is information indicating a latitude and longitude of a position where the terminal exists.
JP2009023886A 2009-02-04 2009-02-04 Message communication system, message communication method, terminal, and program Pending JP2010183268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009023886A JP2010183268A (en) 2009-02-04 2009-02-04 Message communication system, message communication method, terminal, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009023886A JP2010183268A (en) 2009-02-04 2009-02-04 Message communication system, message communication method, terminal, and program

Publications (1)

Publication Number Publication Date
JP2010183268A true JP2010183268A (en) 2010-08-19

Family

ID=42764472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009023886A Pending JP2010183268A (en) 2009-02-04 2009-02-04 Message communication system, message communication method, terminal, and program

Country Status (1)

Country Link
JP (1) JP2010183268A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013152524A (en) * 2012-01-24 2013-08-08 Denso Corp Inter-vehicle communication device
JP2015525012A (en) * 2012-04-30 2015-08-27 アルカテル−ルーセント Secure communication for computing devices using proximity services
JP2021015354A (en) * 2019-07-10 2021-02-12 ソフトバンク株式会社 Server, communication terminal device, mobile body, communication system, and method and program for providing information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005223636A (en) * 2004-02-05 2005-08-18 Ntt Docomo Inc Management server, mobile, communication system and communication control method
JP2006020008A (en) * 2004-07-01 2006-01-19 Daii Sai Content related information providing method by unidirectional infrared data distribution system and distribution system and portable receiving terminal
JP2006246421A (en) * 2005-02-07 2006-09-14 Ntt Docomo Inc Information providing control unit, mobile, and information providing system and method
JP2009017216A (en) * 2007-07-04 2009-01-22 Ntt Docomo Inc System and method for switching between wide-area communication and direct communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005223636A (en) * 2004-02-05 2005-08-18 Ntt Docomo Inc Management server, mobile, communication system and communication control method
JP2006020008A (en) * 2004-07-01 2006-01-19 Daii Sai Content related information providing method by unidirectional infrared data distribution system and distribution system and portable receiving terminal
JP2006246421A (en) * 2005-02-07 2006-09-14 Ntt Docomo Inc Information providing control unit, mobile, and information providing system and method
JP2009017216A (en) * 2007-07-04 2009-01-22 Ntt Docomo Inc System and method for switching between wide-area communication and direct communication

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013152524A (en) * 2012-01-24 2013-08-08 Denso Corp Inter-vehicle communication device
US9620143B2 (en) 2012-01-24 2017-04-11 Denso Corporation Vehicle-to-vehicle communication device
JP2015525012A (en) * 2012-04-30 2015-08-27 アルカテル−ルーセント Secure communication for computing devices using proximity services
JP2021015354A (en) * 2019-07-10 2021-02-12 ソフトバンク株式会社 Server, communication terminal device, mobile body, communication system, and method and program for providing information
JP7023894B2 (en) 2019-07-10 2022-02-22 ソフトバンク株式会社 Servers, communication terminals, mobiles, communication systems, methods and programs for providing information

Similar Documents

Publication Publication Date Title
US10334397B2 (en) Interaction tracking and organizing system
JP4805739B2 (en) Near field communication terminal and security level setting method
US20130058321A1 (en) Communication device, distribution system, distribution data processing method, and distribution data processing program
US20110055393A1 (en) Network system, communication terminal, communication method, and communication program
JP6607099B2 (en) Information sharing system and information sharing method
US10341805B2 (en) Method of displaying contents by using device identifier of wireless communication device
CN105409187A (en) Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol
JP4728028B2 (en) Information providing system, information providing server, and portable communication device
KR20080081686A (en) Mobile instant messenger system and method for providing location information
JP2010183268A (en) Message communication system, message communication method, terminal, and program
KR20140061943A (en) System and method for advertisement message integrated management
JP2012195843A (en) Terminal remote operation system and remote operation method
JP6418629B2 (en) Remote conference system, remote conference device, remote conference method and program
JP2007041897A (en) Positional information notifying system and positional information notifying method
JP5468081B2 (en) Information processing system, information processing method, information processing apparatus, information processing apparatus control method, information processing terminal, information processing terminal control method, information storage medium, and program
KR101296596B1 (en) N vs. N Tracking system and Method thereof
KR101532476B1 (en) Terminal, Method, and Recording Medium for Calling Information Presentation
JP6320718B2 (en) Mobile terminal device, numbering server, and mobile terminal program
US20130097266A1 (en) Information processing apparatus implementing editing message
JP2018180905A (en) Information processing device, information processing system, and information processing method
KR20140070870A (en) METHOD FOR NOTIFYING CALL REQUEST USING PUSH NOTIFICATION IN mVoIP SERVICE
CN104052783B (en) Application program for the device in network connects
JP2012065259A (en) Remote use control system
KR101006281B1 (en) Method and system for controlling identification module in mail client
KR100800973B1 (en) Method and medium for displaying data sent from friend&#39;s mobile phone in stand-by screen of user mobile phone

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130604