JP2016009889A - Communication control method, communication device and portable communication device - Google Patents
Communication control method, communication device and portable communication device Download PDFInfo
- Publication number
- JP2016009889A JP2016009889A JP2014127714A JP2014127714A JP2016009889A JP 2016009889 A JP2016009889 A JP 2016009889A JP 2014127714 A JP2014127714 A JP 2014127714A JP 2014127714 A JP2014127714 A JP 2014127714A JP 2016009889 A JP2016009889 A JP 2016009889A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication device
- access point
- information signal
- unit
- 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
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、アクセスポイント機能を提供または利用する通信装置の通信制御技術に関する。 The present invention relates to a communication control technique for a communication apparatus that provides or uses an access point function.
近年、携帯型通信装置として、例えばいわゆるスマートフォン、タブレット型端末、ノートPC(Personal Computer)などが普及するのに伴い、無線通信によるインターネットへの接続を提供する技術が提案されている。例えば下掲の特許文献1には、モバイルターミナル(以下、MTと略記)がアクセスポイント(基地局)(以下、APと略記)と接続する時には、その時点で実行しているアプリケーションと位置情報とを用いて、通信品質を記録したデータベースから通信品質が最適なAPを選択する技術が開示されている。また、通信装置がAPとしての機能をプログラムにより提供するソフトウェアAPと呼ばれる技術や、そのソフトウェアAP機能を持ち、かつインターネットへ接続可能な通信装置が、他の通信装置のためにインターネット(広域公衆網)への接続を無線通信によって中継するテザリングと呼ばれる技術が広く用いられている。
In recent years, as so-called smart phones, tablet terminals, notebook PCs (Personal Computers), and the like have become popular as portable communication devices, technologies for providing connection to the Internet through wireless communication have been proposed. For example, in
しかしながら、上述のような従来技術では、インターネットへの接続を中継する通信装置が、ソフトウェアAP機能によりAPになる場合、ソフトウェア処理によりAPになれることを示す信号を常時出力したり、他の通信端末からの接続要求を常時監視したりしなければならない。例えば、Wi−Fi(登録商標)ネットワークにおけるAPになる通信装置は、ビーコンと呼ばれるパケットを常時、そのAPが動作するチャネル上にソフトウェア処理により送信し、また通信端末からの接続要求パケットを常時監視する。このため、APになる通信装置は、通常のMT状態のときに比べて、CPUの処理が増えるため、その処理能力が低下する。また、上記ビーコンのための無線帯域を常時消費するため通信速度が低下し、さらにCPUおよび通信部等が電力を余分に消費するため電池の持ちが悪化し、通信装置の温度も余計に上昇するといった様々な問題が生じる。 However, in the conventional technology as described above, when a communication device that relays connection to the Internet becomes an AP by a software AP function, a signal indicating that it can become an AP by software processing is always output, or another communication terminal It is necessary to constantly monitor connection requests from the Internet. For example, a communication device that becomes an AP in a Wi-Fi (registered trademark) network constantly transmits a packet called a beacon by a software process on a channel on which the AP operates, and constantly monitors a connection request packet from a communication terminal. To do. For this reason, the processing capability of the communication device that becomes the AP is reduced because the processing of the CPU increases as compared to the normal MT state. In addition, since the radio band for the beacon is constantly consumed, the communication speed is lowered, and the CPU and the communication unit consume extra power, so the battery life is deteriorated and the temperature of the communication device also rises excessively. Various problems arise.
本発明の目的は、上記の問題に鑑みて、APになる通信装置が、APになる必要を検知したときのみ、ソフトウェアAPを起動する通信技術を提供することにある。 In view of the above problems, an object of the present invention is to provide a communication technique that activates a software AP only when a communication device that becomes an AP detects the necessity of becoming an AP.
上記の課題を解決するために、本発明の一態様に係る通信制御方法は、アクセスポイント機能を提供する通信装置の通信制御方法であって、上記通信装置は、アクセスポイント機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出した場合に、アクセスポイント機能を提供するプログラムを起動することを特徴とし、本発明の一態様に係る通信装置は、アクセスポイント機能を提供する通信装置であって、外部装置と通信を行う通信部と、上記通信部が受信した信号から、アクセスポイント機能を提供すべき状況を示す特定情報信号を検出する特定信号検出手段と、上記特定信号検出手段が、上記特定情報信号を検出したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段とを備えたことを特徴とする。 In order to solve the above problems, a communication control method according to an aspect of the present invention is a communication control method for a communication apparatus that provides an access point function, and the communication apparatus should provide an access point function. When a presence of another communication device that transmits a specific information signal indicating is detected, a program that provides an access point function is started, and the communication device according to one aspect of the present invention provides an access point A communication device that provides a function, a communication unit that communicates with an external device, and a specific signal detection unit that detects, from a signal received by the communication unit, a specific information signal indicating a situation in which an access point function should be provided; Communication control means for activating a program for providing an access point function in response to the specific signal detection means detecting the specific information signal. And said that there were pictures.
本発明の上記各態様によれば、通信装置は、アクセスポイントになるべき状況を検知して初めてアクセスポイントになるためのプログラムを起動するので、通信装置のCPUの負荷、通信速度の低下、通信装置の電力消費、および通信装置の温度上昇が軽減される。 According to each aspect of the present invention, since the communication device activates a program for becoming an access point only after detecting a situation to be an access point, the load on the CPU of the communication device, a decrease in communication speed, communication The power consumption of the device and the temperature rise of the communication device are reduced.
〔実施形態1〕
本発明の実施形態について、図1〜図3に基づいて説明すれば、以下のとおりである。
The embodiment of the present invention will be described below with reference to FIGS.
〔1−1.通信システムの概要〕
本実施形態に係る通信システム1は、図3の(a)に示すように、テザリング機能を提供するアクセスポイント(以下、APと略称する)になる通信装置2(外部装置)と、通信装置2のテザリング機能を利用する携帯端末装置3(携帯型通信装置、外部装置、他の通信装置;以下、携帯装置3と呼ぶ)とを備えている。通信装置2は、コンピュータネットワーク(以下、ネットワークと呼ぶ)4に有線通信または無線通信を介して接続可能である。AP機能とは、ある通信装置Xが他の通信装置Yからの接続要求を受け入れて当該通信装置Yとの無線通信接続を確立する機能である。本明細書においては、Wi−Fiの基地局機能の他、Bluetooth(登録商標)デバイスを「探索可能」状態にして周囲の機器からの接続を受け付ける状態にすることも「AP機能」という言葉で示すものとする。なお、本実施形態では、通信装置2がAP機能とWAN(Wide Area Network)接続機能とを備え、携帯装置3にWAN接続を提供するテザリングを例示するが、通信装置2がAP機能を少なくとも備えていさえすれば、WAN接続の代わりに通信装置2自身の計算能力を携帯装置3に提供したり、USB(Universal Serial Bus)またはLAN(Local Area Network)で接続された周辺機器の機能を携帯装置3に提供したりしてもよい。
また、通信装置2は、ソフトウェアAPプログラム(以下、APプログラムと呼ぶ)を起動することによってAPとなり、AP機能を提供することが可能である。携帯装置3は、通信装置2がAPになると、Wi-FiまたはBluetoothなどによる無線通信を介して通信装置2に接続し、通信装置2をモデムの代わりにして、ネットワーク4に接続し、ネットワーク4に接続されたコンピュータとデータの送受を行うなど、通信装置2が提供する機能を利用することができる。
[1-1. Overview of communication system]
As shown in FIG. 3A, the
In addition, the
通信装置2は、AP機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出した場合に、AP機能を提供するプログラム(上記APプログラム)を起動する。なお、以下では、APプログラムを起動することを単にAPを起動するともいう。図3の(a)に示す例においては、携帯装置3が上記他の通信装置Yに相当する。携帯装置3は1台に限定されない。
When the
〔1−2.通信装置の構成〕
図1に示すように、通信装置2は少なくとも、第1通信部211、第2通信部212、制御部220、記憶部230、入力部240および出力部250を備えている。第1通信部211は、ネットワーク4に接続するためのモデムおよび通信ポートを備えている。第2通信部212は、無線通信インターフェースを含む無線通信部である。制御部220は、通信制御部221(通信制御手段)、特定信号検出部222(特定信号検出手段)、接続処理部225および通信モード切換部226を備えている。上記特定信号検出部222は、ビーコン送受信部223および認証部224(認証手段)を備えている。これら各部の役割および動作については、後述する。記憶部230には、通信装置2の動作を制御する各種プログラムのほかに、通信設定情報231およびAPプログラム232が格納されている。通信設定情報231は、通信装置2がAPになった場合に発信するビーコン(報知信号;AP機能を提供可能であることを示す特定情報信号に相当)を生成するのに必要な情報として、通信装置2自身のSSID(Service Set Identification)、認証Key、ビーコン送信間隔およびチャネル情報などを含んでいる。上記SSIDは、通信装置2を他の通信装置から区別するためのネットワーク識別名であり、認証Keyとともに携帯装置3と予め取り決めておかれる。また、通信設定情報231は、後述する携帯装置3のSSIDも含んでいる。
[1-2. Configuration of communication device]
As illustrated in FIG. 1, the
通信装置2は、携帯装置3のSSIDを含むビーコンを検出したら、通信装置2自身のSSIDを用いてAPを起動する。さらに通信装置2は、携帯装置3から自身のAPへの接続要求を検出したら、認証Keyを用いてその接続要求を認証し、認証が成功したら携帯装置3との通信を開始する。なお、通信装置2のSSIDと携帯装置3のSSIDは、同一の文字列を使用するようにしても良い。
When the
〔1−3.携帯端末装置の構成〕
図1に示すように、携帯装置3は少なくとも、通信部310、制御部320、記憶部330、入力部340および出力部350を備えている。通信部310は、無線通信インターフェースを含む無線通信部であり、通信装置2の上記第2通信部212と無線通信を行うことができる。制御部320は、通信制御部321(通信制御手段)、特定信号検出部322(特定信号検出手段)、接続処理部325(接続処理手段)およびアプリケーション実行部326を備えている。上記特定信号検出部322は、ビーコン送受信部323(特定信号生成手段)および認証部324を備えている。これら各部の役割および動作については、後述する。記憶部330には、携帯装置3の動作を制御する各種プログラムのほかに、通信設定情報331、APプログラム332およびアプリケーションプログラム333が格納されている。通信設定情報331は、携帯装置3がAPになった場合に発信するビーコンを生成するのに必要な情報として、携帯装置3自身のSSID、ビーコン送信間隔、チャネル情報などを含む。上記SSIDは、携帯装置3を他の通信装置から区別するためのネットワーク識別名であり、上述したように通信装置2と予め取り決めておかれる。また、通信設定情報331は、通信装置2のSSIDおよび認証Keyも含む。
なお、通信装置2と携帯装置3とが互いにやり取りする上記識別情報信号の規格には、Wi−Fi通信の規格およびBluetooth通信の規格などのどの規格を採用してもよい。Bluetooth通信の規格を採用する場合には、ネットワーク識別名としての上記SSIDはBluetoothの「デバイス名」に置き換わり、上記認証KeyはBluetoothの「パスキー」に置き換わる。また、Bluetooth通信の規格を採用する形態には、携帯装置3から通信装置2へのビーコン送出にBluetoothを用いる形態A、通信装置2と携帯装置3との通信にBluetoothを用いる形態B、上記形態Aと形態Bとを組み合わせて実施する形態Cが含まれる。
[1-3. Configuration of portable terminal device]
As shown in FIG. 1, the mobile device 3 includes at least a
Note that any standard such as a Wi-Fi communication standard or a Bluetooth communication standard may be adopted as the standard of the identification information signal exchanged between the
なお、SSID、およびBluetoothの「デバイス名」は、個々の機器を識別する情報に限定されず、複数の機器を構成員とするグループを識別する情報であってもよい。例えば、複数の携帯装置に同じSSID(1)を付与し、その複数の携帯装置が同じSSID(1)を用いてAPを起動しビーコンを発信してもよい。また、複数の通信装置が同じSSID(2)を用いてAPを起動しビーコンを発信してもよい。広いエリアに対してAPが1つでは、そのエリア内の任意の位置に存在する携帯装置との通信を保証できないような場合に、そのエリア内にAPになり得る複数の通信装置を配置し、その複数の通信装置に同一のSSID(2)を付与する。これにより、携帯装置がその広いエリアのどこに位置していてもAP機能を利用することが可能になる。 The SSID and the “device name” of Bluetooth are not limited to information for identifying individual devices, but may be information for identifying a group including a plurality of devices. For example, the same SSID (1) may be assigned to a plurality of portable devices, and the plurality of portable devices may activate the AP using the same SSID (1) and transmit a beacon. Further, a plurality of communication devices may activate the AP using the same SSID (2) and transmit a beacon. When there is one AP for a wide area, when communication with a portable device existing at an arbitrary position in the area cannot be guaranteed, a plurality of communication devices that can be APs are arranged in the area. The same SSID (2) is assigned to the plurality of communication devices. As a result, the AP function can be used regardless of where the portable device is located in the wide area.
〔1−4.テザリングの開始処理〕
上記通信システム1においてテザリングを開始するために、通信装置2および携帯装置3が実行するそれぞれの処理について、図2を参照して説明する。図2の(b)および図3の(a)に示すように、通信装置2の初期状態は、通常のモバイルターミナルモード(以下、MTモードと呼ぶ)で動作している状態である。
[1-4. (Tethering start processing)
Each process executed by the
上記初期状態において、特定信号検出部222は、携帯装置3がAPプログラム332を起動したかどうかを判定する(ステップ11;以下S11のように略記する)。図2の(a)に示すように、携帯装置3において通信制御部321がAPプログラム332を起動する(S1)と、ビーコン送受信部323は記憶部330から通信設定情報331を読み出し、携帯装置3のSSIDを含む識別情報信号(m)(第1の特定情報信号)を生成して、通信制御部321の制御のもと、通信部310を介して識別情報信号(m)をビーコンとして発信する。これにより、通信装置2では、第2通信部212で受信された識別情報信号(m)が通信制御部221を介してビーコン送受信部223に送られる。認証部224は、ビーコン送受信部223から識別情報信号(m)を受け取り、通信設定情報231を参照して、識別情報信号(m)に携帯装置3のSSIDが含まれていることを確認する(S11でYES)。すなわち、特定信号検出部222がAP機能を提供すべき状況を示す特定情報信号を検出したことになるので、認証部224は、適正な携帯装置3を認証したことを通信制御部221および接続処理部225へ伝える。これにより、接続処理部225は、通信モード切換部226に対し、APプログラム232を起動するように指示する。通信モード切換部226が記憶部230からAPプログラム232を読み出して起動した(S12)ことを通信制御部221に伝えると、通信制御部221は、ビーコン送受信部223にビーコンの生成を指示する。これにより、ビーコン送受信部223は、通信設定情報231を参照し、通信装置2のSSIDを用いて、通信制御部221の制御のもと、第2通信部212を介して識別情報信号(M)(第2の特定情報信号)をビーコンとして発信する。
In the initial state, the specific
なお、携帯装置3がビーコンとしての上記識別情報信号(m)を発信する場合に、APを起動することは必須ではなく、APを起動せずに上記識別情報信号(m)を発信してもよい。この態様では、上記S1のAPを起動する部分は無くなり、さらに上記S11の処理は識別情報信号(m)の受信を検出する処理に置き換わる。また、携帯装置3のAPプログラム332は、APの起動を伴わないビーコンの生成および発信を制御するプログラムに置き換わる。
When the mobile device 3 transmits the identification information signal (m) as a beacon, it is not essential to activate the AP, and even if the identification information signal (m) is transmitted without activating the AP. Good. In this aspect, there is no portion for starting the AP in S1, and the processing in S11 is replaced with processing for detecting reception of the identification information signal (m). In addition, the
携帯装置3では、認証部324が、認証部224と同様の処理を行って、受信した識別情報信号(M)に通信装置2のSSIDが含まれていることを、通信設定情報331を用いて確認する(S2のYES)。続いて、通信制御部321は、通信部310を介して、通信装置2の認証Keyを用いた無線接続手続を通信装置2との間で実施する。以上の処理によって、通信装置2と携帯装置3との通信接続が確立される。すなわち、テザリングのための通信が開始される(S3,S13)。なお、制御部320は、例えば出力部350の表示画面に通信接続が確立されたことを表示させ、ユーザに知らせる。
In the mobile device 3, the
続いて、アプリケーション実行部326は、入力部340からのユーザ指示を通信制御部321を介して受け取ると、ユーザ指示に応じたアプリケーションプログラム333を記憶部330から読み出し、通信制御部321と連携して、アプリケーションを実行する(S4)。アプリケーションの実行に伴う各種データは、通信部310、第2通信部212、通信制御部221および第1通信部211を経由して、ネットワーク4に接続された他の通信装置と送受される。こうして、通信装置2のテザリング機能が携帯装置3に提供され、携帯装置3は通信装置2のテザリング機能を利用する。
Subsequently, when the
〔1−5.テザリングの開始処理に伴った動作モードの遷移〕
図3は、以上説明したテザリングの開始処理において、通信装置2および携帯装置3の各動作状態(動作モード)の遷移を示す図である。図3の(a)は、携帯装置3における前記S1の実行段階に対応している。つまり、通信装置2がMTモードで動作しているときに、まず携帯装置3がMTモードからAPモードに遷移する。次に、図3の(b)は、携帯装置3における前記S2の実行後と通信装置2における前記S11およびS12の実行段階とに対応している。つまり、通信装置2がMTモードからAPモードに遷移したことに応じて、携帯装置3はAPモードからMTモードに遷移する。図3の(c)は、携帯装置3における前記S3およびS4の実行段階と通信装置2における前記S13の実行段階とに対応している。つまり、携帯装置3はMTモードでテザリング機能を利用し、通信装置2はAPモードでテザリング機能を提供する。
なお、ここでは「AP機能を提供すべき状況を示す特定情報信号」をWi−Fi通信を使って送信し、またテザリング機能を提供する無線通信をWi−Fi通信によって実現する例を示したので、携帯装置3はAPモードを停止してからMTモードに遷移するとした。しかし、たとえば「AP機能を提供すべき状況を示す特定情報信号」をWi−Fi通信で通知し、テザリング機能をBluetooth通信で実現する場合、あるいはその逆の場合には、携帯装置3はAPモードのままにしておくこともできる。
[1-5. (Transition of operation mode accompanying tethering start processing)
FIG. 3 is a diagram illustrating transition of each operation state (operation mode) of the
Here, an example is shown in which a “specific information signal indicating a situation in which an AP function should be provided” is transmitted using Wi-Fi communication, and wireless communication that provides a tethering function is realized by Wi-Fi communication. The portable device 3 stops the AP mode and then transitions to the MT mode. However, for example, when the “specific information signal indicating the situation where the AP function should be provided” is notified by Wi-Fi communication and the tethering function is realized by Bluetooth communication, or vice versa, the mobile device 3 is in the AP mode. It can be left as it is.
〔実施形態2〕
本発明の他の実施形態について、図4,5,7に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 2]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
〔2−1.通信システムの概要〕
本実施形態の通信システム1mは、図4の(a)に示すように、ネットワーク4に接続可能な複数の通信装置2と携帯装置3とを備えている。通信装置2として通信装置2A・2Bを例示するが通信装置2の数は任意である。本通信装置2には接続優先度が設定されており、携帯装置3は接続優先度の最も高い通信装置2との接続を確立する。
[2-1. Overview of communication system]
The
〔2−2.通信装置の構成〕
通信装置2A・2Bの構成について、前述した通信装置2(図1)との相違点を説明する。図5に示すように、通信装置2A・2Bの制御部220Cは、各部221〜226に加えて優先度判定部227(優先度判定手段)を備えている。通信装置2A・2Bの記憶部230Cには、通信設定情報231およびAPプログラム232に加えて、自装置の優先度情報233が格納されている。通信装置2A・2Bの各部の役割および動作については、後述する。
[2-2. Configuration of communication device]
Differences between the
〔2−3.優先度情報〕
優先度情報は、携帯装置3が複数の通信装置2のどれか1台と接続しようとしたときに、最優先に接続すべき通信装置を特定するために、通信装置2各々に設定される情報である。優先度情報233は、他の通信装置の優先度情報との比較に使用される。優先度情報の一例を図9に示す。図9中の「優先度」として記載された数値が優先度情報に該当し、SSIDには優先度情報がP0,P1,P2として含められている。これにより、SSIDを検出するだけで、接続優先度を検出することができる。
[2-3. (Priority information)
The priority information is information set in each
通信装置2A・2Bのビーコン送受信部223は、通信モード切換部226がAPプログラム232を起動したことに応じて、優先度情報233を含めたSSIDを図9に示すように生成する。したがって、携帯装置3の認証部324は、図9に示す通信装置2A・2B・2Cの中で、優先的に接続すべき通信装置を特定することができる。例えば、認証部324は、通信装置2A・2B・2Cから受信したSSIDに含まれた優先度情報P0,P1,P2を読み取ることによって、通信装置2Aよりも通信装置2Bの方が接続に適している、または通信装置2Cが接続に最適であるなどを判断することができる。
なお、優先度情報は通信条件等に依らない固定パラメータである。具体的には、ユーザが、各通信装置2A・2B・2Cの動作速度、電池容量および回線契約種別(従量課金か非従量課金か)などの情報に基づいて通信装置ごとに優先度を決めて設定しておく。
The beacon transmission /
The priority information is a fixed parameter that does not depend on the communication conditions. Specifically, the user determines the priority for each communication device based on information such as the operation speed, battery capacity, and line contract type (whether pay-per-use or non-per-use charge) of each of the
〔2−4.通信接続の切換処理〕
上記通信システム1mにおいて、携帯装置3がテザリングを利用するときに、通信装置2A・2Bおよび携帯装置3が実行するそれぞれの処理について、図7等を参照して説明する。図4の(a)、図7の(a)のS21および図7の(b)のS31に示すように、通信装置2Aと携帯装置3との通信接続が確立しており、携帯装置3がMTモード、通信装置2AがAPモードで動作している状態を初期状態とする。また、通信装置2Bは通常のMTモードで動作中であり、ネットワーク4に接続しているとする。なお、S21の処理内容は、図2の(a)に示すS1〜S4の処理と同じであり、S31の処理内容は、図2の(b)に示すS11〜S13の処理と同じである。
[2-4. (Communication connection switching process)
In the
この初期状態にて、図5に示す通信装置2Bでは、図7の(c)に示すS41の処理が実行される。つまり、ビーコン送受信部223は、第2通信部212および通信制御部221を介して、他の通信装置が発信しているビーコンを常時受信し、認証部224へ送る。認証部224は、他の通信装置の識別情報信号(m)から取得したSSIDから、優先度情報を抽出する。認証部224で抽出された優先度情報は、優先度判定部227へ送られる。優先度判定部227は、認証部224から受け取った優先度情報を記憶部230C中の優先度情報233と比較し、自装置よりも優先度の高くないAPを検出したか、つまり抽出された優先度が自装置の優先度と同じレベル以下のAPを検出したかを判定する。
In this initial state, in the
S41の判定結果がYESの場合、つまり、取得した上記SSIDに自装置と同じレベル以下の優先度情報が含まれている場合、または取得した上記SSIDに優先度情報が含まれていない場合、優先度判定部227は、その判定結果を通信制御部221および通信モード切換部226へ伝える。これにより、通信モード切換部226は、特定信号検出部222において、AP機能を提供すべき状況を示す特定情報信号が検出されたと判断し、記憶部230からAPプログラム232を読み出して起動する。なお、取得した上記SSIDに自装置と同じレベルの優先度情報が含まれている場合、または取得したSSIDに優先度情報が含まれていない場合には、APを起動しなくてもよい。
If the determination result in S41 is YES, that is, if the acquired SSID includes priority information equal to or lower than the same level as the own device, or if the acquired SSID does not include priority information, priority is given. The
通信モード切換部226がAPプログラム232を起動した(S42)ことを通信制御部221に伝えると、通信制御部221は、ビーコン送受信部223にビーコンの生成を指示する。これにより、ビーコン送受信部223は、通信設定情報231を参照し、通信装置2BのSSIDを含む識別情報信号(M)を生成して、通信制御部221の制御のもと、第2通信部212を介して当該識別情報信号(M)をビーコンとして発信する。
When the communication
続いて、携帯装置3ではS22の処理が実行される。すなわち、既に接続中の通信装置2Aよりも優先度の高いAPがあるかを判定する。具体的には、図1に示すビーコン送受信部323が、通信部310および通信制御部321を介して、他の通信装置が発信しているビーコンを常時受信し、認証部324へ送る。認証部324は、例えば通信装置2Bの識別情報信号(M)から取得したSSIDから優先度情報を抽出し、通信装置2Bの優先度が通信装置2Aの優先度よりも高いかを判定する(S22)。接続処理部325は、S22の判定結果がYESになったことを認証部324から知らされると、通信制御部321に対して通信接続を通信装置2Aから通信装置2Bへ切り換えるように指示する。通信制御部321は接続処理部325からの接続切換指示に応じて、通信装置2Bへの接続要求信号を通信部310を介して発信する。この接続要求信号に通信装置2Bが応えることによって、携帯装置3と通信装置2Aとの通信接続は、携帯装置3と通信装置2Bとの通信接続に切り換わる(S23)。この結果、携帯装置3は、通信装置2BをAPとして利用し、テザリングの利用をそのまま続けることができる(S24)。
Subsequently, the portable device 3 executes the process of S22. That is, it is determined whether there is an AP having a higher priority than the already connected
一方、通信装置2Aでは、携帯装置3でS22、23の処理が行われている間に、図7の(b)に示すS32,33の処理が実行される。S32では、通信装置2Bで実行されるS41の処理と同様にして、通信装置2Aの優先度判定部227が、自装置よりも優先度の高いAPを検出したかを判定する。S32の判定結果がYESの場合、優先度判定部227は、その判定結果を通信制御部221および通信モード切換部226へ伝える結果、通信モード切換部226は、APプログラム232の実行を停止する(S33)。これにより、通信装置2Aの動作モードは、APモードからMTモードへ切り換わる。
On the other hand, in the
〔2−5.テザリング実行中における動作モードの遷移〕
図4は、以上のように説明したテザリングの実行中において、通信装置2Aおよび通信装置2Bの各動作状態(動作モード)の遷移を示す図である。携帯装置3の動作モードはMTモードのまま変わらない。図4の(a)は、携帯装置3における前記S21の実行段階と、通信装置2Aにおける前記S31の実行段階と、通信装置2Bにおける前記S41の実行段階とに対応している。つまり、図4の(a)は、通信装置2AがAPモードで動作している一方、通信装置2BがMTモードで動作し、通信装置2A、2Bがともにネットワーク4に接続している状態を示している。通信装置2Aは、携帯装置3にテザリング機能を提供している。次に、図4の(b)は、携帯装置3における前記S22の実行段階と、通信装置2Aにおける前記S32の実行段階と、通信装置2Bにおける前記S42の実行段階とに対応している。つまり、通信装置2Bが、自分より優先度の低い通信装置2Aを検出したために、MTモードからAPモードに遷移する。最後に、図4の(c)は、携帯装置3における前記S23およびS24の実行段階と、通信装置2Aにおける前記S33の実行段階と、通信装置2Bにおける前記S43の実行段階とに対応している。つまり、携帯装置3は、通信接続中の通信装置2Aより優先度の高い通信装置2Bを検出したため、通信接続を通信装置2Aから通信装置2Bに切り換える。さらに、通信装置2AはAPモードを停止し、MTモードに遷移する。この結果、通信装置2BがAPモードでテザリング機能を提供する。
[2-5. (Transition of operation mode during tethering)
FIG. 4 is a diagram illustrating transition of each operation state (operation mode) of the
〔実施形態3〕
本発明のさらに他の実施形態について、図1,8,10に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。本実施形態では、図1に示す通信システム1の構成において、通信装置2と携帯装置3との通信接続のセキュリティを向上させる方法例を説明する。
[Embodiment 3]
The following will describe still another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted. In the present embodiment, an example of a method for improving the security of communication connection between the
〔3−1.携帯端末装置における識別情報データの生成動作〕
図1に示す携帯装置3のビーコン送受信部323は、識別情報信号(m)を上記通信装置と共有する鍵情報を用いて暗号化することにより、暗号化識別情報信号を複数個生成する。暗号化識別情報信号を生成するプログラム、上記鍵情報および必要なデータは、通信設定情報331として記憶部330に格納されている。
[3-1. Generation operation of identification information data in portable terminal device]
The beacon transmitting / receiving
以下、図10に基づいて、暗号化識別情報信号としての暗号化SSIDの生成ルールについて説明する。初めに、通信装置2と携帯装置3とは、共通のSSIDプレフィックスと128bitの暗号鍵とを予め保持しておく。携帯装置3は、以下のルールでSSIDを生成する。(1)通信装置2がAPモードで識別情報データを生成するときに使用してほしい基本SSID(基本識別情報信号)および認証Keyを、乱数を用いてそれぞれ7文字のランダム文字列および8文字のランダム文字列として生成する。(2)「基本SSID,認証Key,暗号化方式を示す値,データ生成時刻,CRC32値」を表す各データを連結して、64バイトのバイト列(平文)を生成する。(3)上記平文を、上記128bitの暗号鍵を使ってAES(Advanced Encryption Standard)アルゴリズムにて暗号化する。(4)上記暗号化済みバイト列(暗号文)をbase64方式で文字列に変換する。(5)上記文字列を20文字ずつに分割し、その前にSSIDプレフィックスと識別番号(0〜3)とを付加する。こうして図10の下段に示す例えば4つの暗号化SSIDが生成される。
Hereinafter, the generation rule of the encrypted SSID as the encrypted identification information signal will be described with reference to FIG. First, the
暗号化SSIDの個数に制限は無いが、通信装置2が全ての暗号化SSIDを受信したかどうかを検出できるように、通信装置2と携帯装置3との間でその個数を取り決めておけばよい。また、携帯装置3が生成する暗号化SSIDに総個数の情報を含めておけば、通信装置2と携帯装置3との間でその個数を取り決めておく必要が無くなる。上記暗号鍵長(bit数)、暗号化アルゴリズム、文字列の分割の仕方は、SSIDの最大長32文字という制限内であれば、上記の例に限定されない。基本SSIDの長さ、認証Keyの長さおよび暗号鍵長を十分に短くすれば、暗号化SSIDを1個にすることもできる。以下では一例として暗号化SSIDが4つの場合を例に説明する。
The number of encrypted SSIDs is not limited, but the number of the encrypted SSIDs may be determined between the
通信装置2は、検出した暗号化識別情報信号を識別番号の順に結合して復号し、携帯装置3が生成した基本SSIDと認証Key、暗号方式とデータ生成時刻とを取得する。その際、CRC(Cyclic Redundancy Check)が一致しなかったり生成日が極端に古かったりした場合は、データを破棄する。この場合の処理は図8の(b)のフローに示されていないが、データを破棄した場合には通信装置2の処理は終了し、携帯装置3において図8の(a)のフローに従った新たなセッションが開始されるのを待つ。
The
〔3−2.テザリングの開始処理〕
本実施形態の通信システム1においてテザリングを開始するために、通信装置2および携帯装置3が実行するそれぞれの処理について図8を参照して説明する。なお、制御部220,320内の各部の動作は、既に説明したとおりなので省略する。携帯装置3では、図8の(a)に示すように、既に説明した基本SSIDと認証Keyとをランダムに生成し(S51)、生成した基本SSIDと認証Keyとを用いて4つの暗号化SSIDを生成する(S52)。なお、基本SSIDと認証Keyとをランダムに生成することは本質的ではなく、生成した暗号化SSIDが過去に生成した暗号化SSIDと異なりさえすればよい。次に、4つの暗号化SSIDを上記識別番号の順に1つずつ用いて、前述した識別情報信号(m)(第1の特定情報信号:アクセスポイント機能を提供すべき状況を示す特定情報信号に相当)をビーコンとして生成しAPの起動と終了とを4回行う(S53)。なお、上記識別情報信号の送り直しを1つずつ行う形態に限定されず、4つの暗号化SSIDの一部または全部を用いて、1つ以上の識別情報信号(m)を生成し直し、1回以上の送り直しをしても構わない。この後、携帯装置3は基本SSIDと認証Keyとを用いて通信装置2への接続を試み(S54;接続処理)、通信装置に接続できたかを判定する(S55)。通信装置に接続できた場合(S55でYES)、通信装置2が提供するAP機能を利用して通信装置2との通信を開始し(S57)、テザリングの利用を開始する。S55で通信装置に接続できなかった場合(S55でNO)、通信装置2が4つの暗号化SSIDの少なくとも1つを取りこぼした(受信または検出できなかった)というエラーの発生が想定される。したがって、携帯装置3は、4つの暗号化SSIDの1つ(例えば、上記識別番号が最小のもの)を用いて上記識別情報信号(m)をビーコンとして生成しAPの起動および終了を行った後、S54に戻り、通信装置に接続できたかを改めて判定する。S55の判定結果が再びNOになった場合、次に小さい識別番号の暗号化SSIDを用いてS54〜56の処理を繰り返す。S54〜56の処理は、暗号化SSIDを順番に変えながら接続が成功するまで何回繰り返してもよいが、繰り返し回数に制限を設け、制限を越えたらエラー表示を行うなど、無限ループを回避することが好ましい。エラー表示が出たら、自動またはユーザの指示により、S51から始まる新たなセッションを開始してもよい。
[3-2. (Tethering start processing)
In order to start tethering in the
一方、通信装置2では、S51〜53の実行中に、携帯装置3のAP起動の有無を検出する(S61)。S61の処理は、図2の(b)に示すS11の処理と同じである。携帯装置3のAP起動を検出すると(S61でYES)、携帯装置3から4つの暗号化SSIDを全て受信し検出できたかを判定する(S62)。この判定結果がNOであれば、携帯装置3がS56の処理を行うことによって4つの暗号化SSIDを全て検出できるようになるまでS62の処理を繰り返す。S62の処理にも時間制限を設けるなどによって無限ループになるのを回避することが好ましい。4つの暗号化SSIDを全て検出できた場合(S62でYES)、4つの暗号化SSIDを結合して上記識別情報信号(m)を復号し、上記基本SSID、認証Key、暗号方式およびデータ生成時刻を抽出する(S63)。
続いて、前記認証部224は、復号した識別情報信号(m)が適正な識別情報信号であるかどうかを判定する(S63)。具体的には、過去に復号した識別情報信号(m)を記憶部230(図1参照)に蓄積しておき、今回復号した識別情報信号(m)が過去に復号した識別情報信号(m)と同じではないかどうかを判定する(S64)。その判定のためには、「基本SSID、認証Key、暗号化方式を示す値およびデータ生成時刻」のいずれかが、過去に抽出され使用されたものと異なっていることが確認できさえすればよい。例えば基本SSIDと認証Keyとは抽出するごとに毎回同じでも、データ生成時刻が変わっていることさえ確認できれば、それが「第三者による嫌がらせまたは不正なアクセス」ではないということが保障される。
On the other hand, the
Subsequently, the
S64の判定結果がYESの場合、つまり復号した識別情報信号(m)が不正な場合、認証部224は、その識別情報信号(m)を破棄する(S68)。この後の処理として、通信装置2は、新たな通信セッションの開始を待ってもよいし、認証エラーメッセージを携帯装置3へ送ってもよい。S64の判定結果がNO、つまり復号した識別情報信号(m)が適正な場合、通信装置2が抽出した基本SSIDおよび認証Key(復号した特定情報信号に含まれる情報に相当)を用いてステルスモードでAPを起動し(S65)、携帯装置3からの接続要求を適切に認証できたら(S66のYES)携帯装置3との通信を開始し(S67)、テザリングの提供を開始する。なお、S64においてAPの起動をステルスモードで行うかどうかは、本実施形態の本質ではなく、通常のAPモードで起動してもよい。
If the determination result in S64 is YES, that is, if the decrypted identification information signal (m) is illegal, the
このように、通信装置2は、携帯装置3と通信する前の段階ではAP起動時に使用すべきSSIDを知らない。携帯装置3がAPを起動後に、通信装置2が使用すべきSSIDを暗号化技術を使って通信装置2に伝達する。このような複雑なやりかたをとる理由は、「通信装置2にAPを起動させる方法」を第三者に対して秘匿するためである。実施形態1のやり方では、ネットワークを監視し携帯装置3から発信するビーコンを解析して再現することにより、あるいは過去の通信で伝送されていたビーコンをコピーして通信装置2に送りつけるだけで、誰でも通信装置2にAPを起動させることができる。認証Keyがわからない第三者は、通信装置2に接続できないが、通信装置2に無用な負荷をかけるという嫌がらせ(攻撃)は簡単にできてしまう。しかし、実施形態3のやり方であれば、「128bitの暗号鍵」を第三者が知らない限り、通信装置2にAPを起動させることはできない。また、通信のセッションが改まるごとに、携帯装置3は基本SSIDおよび認証Keyを新たに生成する。これにより、不正な装置からの通信装置2への接続を防ぎやすくなるので、ネットワークのセキュリティを高めることができる。
As described above, the
〔ハードウェアの具体例〕
図6は、通信装置2,2A,2Bおよび携帯装置3として機能するコンピュータ100を構成するハードウェアの具体例を示すブロック図である。コンピュータ100は、前記制御部220,220C,320に対応したCPU(Central Processing Unit)110、前記記憶部230,230C,330に対応したメモリ120およびハードディスク130、前記第1通信部211、第2通信部212、通信部310に対応した無線通信部140、出力部250,350に対応したディスプレイ150、入力部240,340に対応したタッチパネル160、キーボード170およびマウス180を備えており、これらがバスを介して互いに接続されている。
[Specific examples of hardware]
FIG. 6 is a block diagram illustrating a specific example of hardware constituting the
〔ソフトウェアによる実現例〕
通信装置2および携帯装置3の制御ブロック(特に制御部220,320の各部)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPUを用いてソフトウェアによって実現してもよい。後者の場合、通信装置2および携帯装置3は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。なお、上記各部を実現するソフトウェアを起動するタイミングは、自装置の起動のタイミング、ユーザの指定するタイミング、周囲の環境に応じたタイミングであってもよい。
[Example of software implementation]
The control blocks of the
以上の各実施形態では、APプログラムが起動されたことをSSIDが含まれた識別情報信号の送受信によって確認する例を説明したが、APプログラムを起動する代わりに、BluetoothのIDを報知してもよいし、識別情報信号にBluetoothのIDが含まれていることを検出することによって、APの存在を検出してもよい。 In each of the above embodiments, an example has been described in which the AP program is activated by confirming transmission / reception of an identification information signal including the SSID. However, instead of activating the AP program, the Bluetooth ID may be notified. Alternatively, the presence of the AP may be detected by detecting that the identification information signal includes the Bluetooth ID.
〔まとめ〕
本発明の態様1に係る通信制御方法は、アクセスポイント機能を提供する通信装置(2,2A,2B)の通信制御方法であって、上記通信装置は、アクセスポイント機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出した場合に、アクセスポイント機能を提供するプログラムを起動する。上記の方法によれば、アクセスポイント機能を提供するためにネットワーク上のアクセスポイントになる通信装置は、アクセスポイントになるべき状況を検知するまでは、アクセスポイントになるためのプログラムを起動しない。アクセスポイント機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出したことによって、アクセスポイントになる必要性を検出し、上記プログラムを起動する。したがって、通信装置のCPUの負荷、通信速度の低下、通信装置の電力消費、および通信装置の温度上昇が軽減されるという効果を生む。
[Summary]
A communication control method according to
本発明の態様2に係る通信装置(2,2A,2B)は、アクセスポイント機能を提供する通信装置であって、外部装置(携帯装置3)と通信を行う通信部(第2通信部212)と、上記通信部が受信した信号から、アクセスポイント機能を提供すべき状況を示す特定情報信号を検出する特定信号検出手段(特定信号検出部222)と、上記特定信号検出手段が、上記特定情報信号を検出したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段(通信モード切換部226および通信制御部221)とを備えている。上記の構成によれば、通信装置は上記通信制御方法を実現する構成を備えているので、既に説明した効果を生むことができる。
The communication device (2, 2A, 2B) according to
本発明の態様3に係る通信装置は、態様2において、上記特定信号検出手段が検出した上記特定情報信号に含まれている接続優先度に関する情報を抽出し、自装置の接続優先度より高い接続優先度が上記特定情報信号に含まれているかどうかを判定する優先度判定手段(優先度判定部227)をさらに備え、上記優先度判定手段が、自装置の接続優先度より高い接続優先度が上記特定情報信号に含まれていると判定したことに応じて、上記通信制御手段は、アクセスポイント機能を停止する。上記の構成によれば、優先度判定手段は、上記特定信号検出手段が検出した上記特定情報信号から前記外部装置の接続優先度を抽出し、外部装置の接続優先度が自装置の接続優先度より高いかどうかを判定する。その結果、外部装置の接続優先度が自装置の接続優先度より高い場合には、上記通信制御手段がアクセスポイント機能を停止する。これ以降は、上記外部装置が、上記通信装置に代わってアクセスポイント機能を提供することになる。これにより、通信装置のCPUの負荷、通信速度の低下、通信装置の電力消費、および通信装置の温度上昇がさらに軽減される。
The communication device according to aspect 3 of the present invention extracts the information related to the connection priority included in the specific information signal detected by the specific signal detection unit in
本発明の態様4に係る通信装置は、アクセスポイント機能を提供する通信装置(2,2A,2B)であって、外部装置(携帯装置3)と通信を行う通信部(第2通信部212)と、上記通信部が受信した信号から、特定情報信号を検出する特定信号検出手段(特定信号検出部222)と、上記特定信号検出手段が検出した上記特定情報信号に含まれている接続優先度に関する情報を抽出し、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれているかどうかを判定する優先度判定手段(優先度判定部227)と、上記優先度判定手段が、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれていると判定したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段(通信モード切換部226および通信制御部221)とを備え、上記特定情報信号は、上記外部装置がアクセスポイント機能を提供可能であることを示す信号、または上記外部装置に対し、他のアクセスポイントがアクセスポイント機能を提供可能であることを示す信号である。上記の構成によれば、上記外部装置が発信した特定情報信号に上記通信装置の接続優先度より高い接続優先度が含まれていない場合、その外部装置の特定情報信号は、上記通信装置が上記外部装置に代わってアクセスポイント機能を提供すべき状況を示す特定情報信号である。したがって、特定情報信号の検出に応じて、上記通信制御手段は、アクセスポイント機能を提供するプログラムを起動するので、既に説明した効果が得られる。
The communication device according to
なお、上記外部装置が発信した特定情報信号に接続優先度に関する情報が含まれていない場合、または、上記外部装置が発信した特定情報信号に同じレベルの接続優先度に関する情報が含まれている場合には、上記通信装置は、アクセスポイント機能を提供するプログラムを起動してもよいし、起動しなくてもよい。 When the specific information signal transmitted from the external device does not include information related to the connection priority, or the specific information signal transmitted from the external device includes information related to the connection priority at the same level. The communication device may or may not start a program that provides an access point function.
本発明の態様5に係る通信装置は、態様2〜4のいずれかにおいて、上記特定信号検出手段が検出した上記特定情報信号を、上記外部装置と共有する暗号鍵を用いて復号する認証手段(認証部224)をさらに備え、上記通信制御手段は、上記認証手段が復号した特定情報信号に含まれる情報を用いてアクセスポイント機能を提供するプログラムを起動する。上記の構成によれば、特定情報信号を上記通信装置が復号するための暗号鍵を共有している外部装置に対してのみ、アクセスポイント機能を提供することができる。これにより、外部装置の立場からすると、適正な通信装置になりすました別の通信装置が、外部装置を接続させ、外部装置から各種情報を盗み取るといった不正を防止することができる。同様に、通信装置の立場からすると、適正な外部装置になりすました別の外部装置が、通信装置に接続し、通信装置のアクセスポイント機能を勝手に利用するといった不正を防止することができる。
The communication apparatus according to Aspect 5 of the present invention is the communication apparatus according to any one of
本発明の態様6に係る通信装置は、態様5において、上記認証手段は、復号した特定情報信号が適正であるかどうかをさらに判定し、上記通信制御手段は、上記認証手段が適正であると判定した特定情報信号に含まれる情報を用いてアクセスポイント機能を提供するプログラムを起動する。上記の構成によれば、暗号鍵を用いて復号した特定情報信号が適正かどうかをさらに判定することによって、第三者が過去に使われた特定情報信号をコピーして通信装置に送りつけた場合のような不正なアクセスを検出し排除することができる。これにより、通信装置と外部装置との通信のセキュリティを向上させることができる。 In the communication device according to aspect 6 of the present invention, in the aspect 5, the authentication unit further determines whether or not the decoded specific information signal is appropriate, and the communication control unit determines that the authentication unit is appropriate. A program that provides an access point function is activated using information included in the determined specific information signal. According to the above configuration, by further determining whether or not the specific information signal decrypted using the encryption key is appropriate, a third party copied the specific information signal used in the past and sent it to the communication device. Unauthorized access as in the case can be detected and eliminated. Thereby, the security of communication between the communication device and the external device can be improved.
本発明の態様7に係る携帯型通信装置(携帯装置3)は、通信部(310)と、自装置がアクセスポイント機能を提供可能であることを示す第1の特定情報信号を生成する特定信号生成手段(ビーコン送受信部323)と、上記通信部を介して上記特定情報信号を発信した後、アクセスポイント機能を提供可能であることを示す第2の特定情報信号を外部装置から上記通信部を介して受信すると、上記外部装置が提供するアクセスポイント機能を利用して上記外部装置との通信を開始する通信制御手段(通信制御部321)とを備えている。上記の構成によれば、携帯型通信装置が第1の特定情報信号を発信したことに対して、外部装置がアクセスポイント機能を提供すべき状況を示す特定情報信号として、上記第1の特定情報信号を認識した結果、外部装置からアクセスポイント機能を提供できることを返信された場合には、携帯型通信装置がアクセスポイント機能を提供する必要がなくなる。このため、携帯型通信装置のCPUの負荷、通信速度の低下、電力消費、および温度上昇が軽減されるという効果を生む。さらに、外部装置も、携帯型通信装置がアクセスポイント機能を利用したいときだけ、アクセスポイント機能を提供すればよいので、外部装置のCPUの負荷、通信速度の低下、電力消費、および温度上昇を軽減させることができるという効果も生む。 The portable communication device (portable device 3) according to aspect 7 of the present invention includes a communication unit (310) and a specific signal that generates a first specific information signal indicating that the device can provide an access point function. After transmitting the specific information signal through the generating means (beacon transmission / reception unit 323) and the communication unit, the communication unit transmits a second specific information signal indicating that the access point function can be provided from an external device. Communication control means (communication control unit 321) that starts communication with the external device using an access point function provided by the external device. According to said structure, said 1st specific information is used as a specific information signal which shows the condition where an external apparatus should provide an access point function with respect to the portable communication apparatus having transmitted the 1st specific information signal. As a result of recognizing the signal, when it is returned from the external device that the access point function can be provided, the portable communication device does not need to provide the access point function. For this reason, the effect that the load of CPU of a portable communication apparatus, the fall of communication speed, power consumption, and a temperature rise is reduced is produced. In addition, the external device needs to provide the access point function only when the portable communication device wants to use the access point function, thus reducing the CPU load, communication speed reduction, power consumption, and temperature rise of the external device. The effect that it can be made also produces.
本発明の態様8に係る携帯型通信装置は、態様7において、上記通信部が受信した上記第2の特定情報信号から、接続優先度を検出する特定信号検出手段(特定信号検出部322)と、上記外部装置としての第1の通信装置(2A)と通信の接続中に、該第1の通信装置が発信している上記第2の特定情報信号に含まれている第1の接続優先度と、上記通信装置としての第2の通信装置(2B)が発信している上記第2の特定情報信号に含まれている第2の接続優先度とを比較し、第2の接続優先度が第1の接続優先度より高いかどうかを判定する接続処理手段(接続処理部325)とを備え、上記通信制御手段は、上記第2の接続優先度が上記第1の接続優先度より高いと上記接続処理手段が判定したことに応じて、上記第1の通信装置から上記第2の通信装置へ接続を切り換える。上記の構成によれば、携帯型通信装置が第1の通信装置と通信の接続中に、接続処理手段は、第2の通信装置が発信している第2の特定情報信号中の第2の接続優先度と、第1の通信装置が発信している第2の特定情報信号中の第1の接続優先度との高低を比較する。その結果、第2の接続優先度が第1の接続優先度より高い場合、通信制御手段は第1の通信装置から第2の通信装置へ接続を切り換える。接続優先度は、高いほど通信条件が良い(通信品質が良い、または通信料が安いなど)ことを表すように設定できるので、携帯型通信装置は有利な通信条件下でアクセスポイント機能を利用できる。 The portable communication device according to aspect 8 of the present invention is the aspect of aspect 7, in which the specific signal detection unit (specific signal detection unit 322) for detecting connection priority from the second specific information signal received by the communication unit is provided. The first connection priority included in the second specific information signal transmitted by the first communication device during communication connection with the first communication device (2A) as the external device And the second connection priority included in the second specific information signal transmitted from the second communication device (2B) as the communication device, and the second connection priority is A connection processing unit (connection processing unit 325) for determining whether or not the first connection priority is higher, and the communication control unit is configured such that the second connection priority is higher than the first connection priority. Depending on the determination by the connection processing means, the first communication device It switches the connection to the second communication device. According to the above configuration, while the portable communication device is in communication connection with the first communication device, the connection processing means is configured to output the second specific information signal transmitted from the second communication device in the second specific information signal. A comparison is made between the connection priority and the first connection priority in the second specific information signal transmitted from the first communication device. As a result, when the second connection priority is higher than the first connection priority, the communication control unit switches the connection from the first communication device to the second communication device. Since the higher the connection priority, the higher the communication condition can be set (for example, the communication quality is better or the communication fee is lower). Therefore, the portable communication device can use the access point function under advantageous communication conditions. .
本発明の態様9に係る携帯型通信装置は、外部装置が提供するアクセスポイント機能を利用する携帯型通信装置であって、通信部と、他の携帯型通信装置から自装置を識別する情報、または他の複数の携帯型通信装置を構成員とするグループから自装置を識別する情報を含む基本識別情報信号を新たに生成し、かつ上記外部装置と共有する暗号鍵を用いて基本識別情報信号を暗号化した暗号化識別情報信号を含み、かつアクセスポイント機能を提供可能であることを示す第1の特定情報信号を生成する特定信号生成手段(ビーコン送受信部323)と、上記通信部を介して上記第1の特定情報信号を発信した後、上記基本識別情報信号を用いて、上記通信部を介して上記外部装置との接続処理を行い上記外部装置が提供するアクセスポイント機能を利用する通信制御手段(通信制御部321)とを備えている。上記の構成によれば、携帯型通信装置は、特定の外部装置との通信のセッションを新たに開始するごとに、基本識別情報信号を新たに生成する。上記特定の外部装置とは、携帯型通信装置と暗号鍵を共有している外部装置のことである。外部装置は、携帯型通信装置から暗号化識別情報信号を含む第1の特定情報信号を受信すると、暗号鍵を用いて暗号化特定情報信号を復号し、上記基本識別情報信号を抽出することができる。外部装置は、抽出した基本識別情報信号が過去に使用されていない新しい信号であることを確認することによって、適正な携帯型通信装置がアクセスしていることを認識することができる。この抽出した基本識別情報信号を用いて、アクセスポイント機能を提供するプログラムを起動し、携帯型通信装置との接続処理を経て、その基本識別情報信号の発信元である携帯型通信装置との通信を開始することができる。この結果、携帯型通信装置および外部装置は、お互いに不正な相手と接続することを回避するセキュリティ効果を向上させることができる。 A portable communication device according to an aspect 9 of the present invention is a portable communication device that uses an access point function provided by an external device, and identifies information from the communication unit and other portable communication devices, Alternatively, a basic identification information signal is newly generated using a cryptographic key shared with the external device, and a basic identification information signal including information for identifying the device itself is generated from a group including a plurality of other portable communication devices. A specific signal generation means (beacon transmission / reception unit 323) for generating a first specific information signal indicating that the access point function can be provided, and an encrypted identification information signal obtained by encrypting After the first specific information signal is transmitted, the access point provided by the external device is connected to the external device via the communication unit using the basic identification information signal. And a communication control means for utilizing the capacity (communication control unit 321). According to the above configuration, the portable communication device newly generates a basic identification information signal each time a communication session with a specific external device is newly started. The specific external device is an external device sharing an encryption key with the portable communication device. When the external device receives the first specific information signal including the encrypted identification information signal from the portable communication device, the external device may use the encryption key to decrypt the encrypted specific information signal and extract the basic identification information signal. it can. The external device can recognize that an appropriate portable communication device is accessing by confirming that the extracted basic identification information signal is a new signal that has not been used in the past. Using this extracted basic identification information signal, a program for providing an access point function is started, and after connection processing with the portable communication device, communication with the portable communication device that is the source of the basic identification information signal Can start. As a result, the portable communication device and the external device can improve the security effect of avoiding connecting to an unauthorized partner.
本発明の態様10に係る携帯型通信装置は、態様9において、上記特定信号生成手段は、ランダムに生成した上記基本識別情報信号から上記暗号鍵を用いて複数個の暗号化識別情報信号を生成するとともに、当該暗号化識別情報信号の個数と同じ複数個の上記第1の特定情報信号を生成し、上記通信制御手段は、上記通信部を介して上記複数個の第1の特定情報信号を順次発信した後、上記接続処理を行い、この接続処理が失敗した場合に、上記複数個の第1の特定情報信号の一部または全部を送り直し、送り直す都度、上記接続処理を行う。上記の構成によれば、複数個の暗号化識別情報信号を用いることにより、外部装置における復号処理を複雑にするので、前記セキュリティ効果をさらに向上させることができる。その上、外部装置が複数個の暗号化識別情報信号の受信または検出に失敗した場合に、携帯型通信装置は暗号化特定情報信号の1つを含む第1の特定情報信号を送り直し、送り直す都度、接続処理を行うので通信エラーの影響を受けにくくすることができる。 In the portable communication device according to aspect 10 of the present invention, in the aspect 9, the specific signal generating means generates a plurality of encrypted identification information signals from the basic identification information signal generated at random using the encryption key. And generating a plurality of the first specific information signals equal to the number of the encrypted identification information signals, and the communication control means outputs the plurality of first specific information signals via the communication unit. After the transmission, the connection process is performed. When the connection process fails, part or all of the plurality of first specific information signals are retransmitted, and the connection process is performed each time the connection is retransmitted. According to said structure, since the decoding process in an external device is complicated by using a some encryption identification information signal, the said security effect can be improved further. In addition, when the external device fails to receive or detect a plurality of encrypted identification information signals, the portable communication device resends and sends the first specific information signal including one of the encrypted specific information signals. Since connection processing is performed every time it is repaired, it can be made less susceptible to communication errors.
本発明の態様2〜5のいずれかに記載の通信装置と、態様6〜9のいずれかに記載の携帯型通信装置とを含む通信システムも本発明の範疇に入る。また、本発明の各態様に係る通信装置および携帯型通信装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記通信装置および携帯型通信装置が備える各手段として動作させることにより上記通信装置および携帯型通信装置をコンピュータにて実現させる通信制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。
A communication system including the communication device according to any one of
本発明は上述した各実施形態に限定されず、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims, and the embodiments obtained by appropriately combining technical means disclosed in different embodiments are also described in the present invention. It is included in the technical scope of the invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.
本発明は、アクセスポイント機能を提供する通信装置およびアクセスポイント機能を利用する通信装置に利用することができる。 The present invention can be used for a communication device that provides an access point function and a communication device that uses the access point function.
1:通信システム 2,2A,2B:通信装置(外部装置) 3:携帯端末装置(外部装置、携帯型通信装置) 212:第2通信部(通信部) 221:通信制御部(通信制御手段) 222:特定信号検出部(特定信号検出手段) 224:認証部(認証手段) 226:通信モード切換部(通信制御手段) 227:優先度判定部(優先度判定手段) 310:通信部 321:通信制御部(通信制御手段) 322:特定信号検出部(特定信号検出手段) 323:ビーコン送受信部(特定信号生成手段) 324:認証部(通信制御手段) 325:接続処理部(接続処理手段)
1:
Claims (5)
上記通信装置は、アクセスポイント機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出した場合に、アクセスポイント機能を提供するプログラムを起動すること
を特徴とする通信制御方法。 A communication control method for a communication device that provides an access point function,
The communication device starts a program that provides an access point function when detecting the presence of another communication device that transmits a specific information signal indicating a situation in which the access point function should be provided Communication control method.
外部装置と通信を行う通信部と、
上記通信部が受信した信号から、アクセスポイント機能を提供すべき状況を示す特定情報信号を検出する特定信号検出手段と、
上記特定信号検出手段が、上記特定情報信号を検出したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段とを備えたこと
を特徴とする通信装置。 A communication device providing an access point function,
A communication unit that communicates with an external device;
Specific signal detecting means for detecting a specific information signal indicating a situation in which an access point function should be provided, from the signal received by the communication unit;
A communication apparatus comprising: a communication control unit that activates a program that provides an access point function when the specific signal detection unit detects the specific information signal.
上記優先度判定手段が、自装置の接続優先度より高い接続優先度が上記特定情報信号に含まれていると判定したことに応じて、上記通信制御手段は、アクセスポイント機能を停止すること
を特徴とする請求項2に記載の通信装置。 Extracts information related to the connection priority included in the specific information signal detected by the specific signal detection means, and determines whether or not the specific information signal includes a connection priority higher than the connection priority of the own device. A priority determination means for
In response to the fact that the priority determination means determines that the specific information signal includes a connection priority higher than the connection priority of the own device, the communication control means stops the access point function. The communication device according to claim 2.
外部装置と通信を行う通信部と、
上記通信部が受信した信号から、特定情報信号を検出する特定信号検出手段と、
上記特定信号検出手段が検出した上記特定情報信号に含まれている接続優先度に関する情報を抽出し、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれているかどうかを判定する優先度判定手段と、
上記優先度判定手段が、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれていると判定したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段とを備え、
上記特定情報信号は、上記外部装置がアクセスポイント機能を提供可能であることを示す信号、または上記外部装置に対し、他のアクセスポイントがアクセスポイント機能を提供可能であることを示す信号であること
を特徴とする通信装置。 A communication device providing an access point function,
A communication unit that communicates with an external device;
Specific signal detection means for detecting a specific information signal from the signal received by the communication unit;
Information regarding connection priority included in the specific information signal detected by the specific signal detection means is extracted, and whether or not the connection priority not higher than the connection priority of the own device is included in the specific information signal. Priority determining means for determining;
Communication control means for activating a program that provides an access point function in response to the priority determining means determining that the specific information signal includes a connection priority that is not higher than the connection priority of its own device And
The specific information signal is a signal indicating that the external device can provide an access point function, or a signal indicating that another access point can provide an access point function to the external device. A communication device characterized by the above.
通信部と、
自装置がアクセスポイント機能を提供可能であることを示す第1の特定情報信号を生成する特定信号生成手段と、
上記通信部を介して上記第1の特定情報信号を発信した後、アクセスポイント機能を提供可能であることを示す第2の特定情報信号を上記外部装置から上記通信部を介して受信すると、上記通信部を介して、上記外部装置が提供するアクセスポイント機能を利用する通信制御手段とを備えたこと
を特徴とする携帯型通信装置。 A portable communication device using an access point function provided by an external device,
A communication department;
Specific signal generating means for generating a first specific information signal indicating that the own apparatus can provide an access point function;
After transmitting the first specific information signal via the communication unit and receiving a second specific information signal indicating that the access point function can be provided from the external device via the communication unit, A portable communication device comprising: a communication control unit that uses an access point function provided by the external device via a communication unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014127714A JP2016009889A (en) | 2014-06-20 | 2014-06-20 | Communication control method, communication device and portable communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014127714A JP2016009889A (en) | 2014-06-20 | 2014-06-20 | Communication control method, communication device and portable communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016009889A true JP2016009889A (en) | 2016-01-18 |
Family
ID=55227206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014127714A Pending JP2016009889A (en) | 2014-06-20 | 2014-06-20 | Communication control method, communication device and portable communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016009889A (en) |
-
2014
- 2014-06-20 JP JP2014127714A patent/JP2016009889A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6203985B1 (en) | Secure provisioning of authentication credentials | |
JP5524157B2 (en) | Secure wireless link between two devices using a probe | |
JP6406681B2 (en) | System and method for pre-association service discovery | |
US20160269176A1 (en) | Key Configuration Method, System, and Apparatus | |
JP2016533694A (en) | User identity authentication method, terminal and server | |
JP5675747B2 (en) | Wireless communication system, portable terminal, digital camera, communication method and program | |
US20080133775A1 (en) | Method, Apparatus and Computer Program Product for Providing Intelligent Synchronization | |
JP2007267120A (en) | Radio terminal, authentication apparatus and program | |
KR101297648B1 (en) | Authentication method between server and device | |
CN103888941A (en) | Method and device for key negotiation of wireless network | |
WO2018120836A1 (en) | Terminal pairing method, device, and system, terminal, and computer readable storage medium | |
EP3952241A1 (en) | Parameter sending method and apparatus | |
JP7075495B2 (en) | Wireless resource settings | |
JP2020068456A (en) | Communication device and computer program for communication device | |
CN111355575A (en) | Communication encryption method, electronic device and readable storage medium | |
US9698983B2 (en) | Method and apparatus for disabling algorithms in a device | |
US20220174490A1 (en) | System, method, storage medium and equipment for mobile network access | |
WO2015124798A2 (en) | Method & system for enabling authenticated operation of a data processing device | |
WO2018201381A1 (en) | Key generation method and related devices | |
JP2016009889A (en) | Communication control method, communication device and portable communication device | |
TWI776982B (en) | Reliable server management method and device supporting wireless network switching | |
CN107046689A (en) | A kind of BLE wearable device safety certifying methods of lightweight | |
JP6248663B2 (en) | Transmission system and transmission method | |
US11006381B2 (en) | Communication apparatus and method of controlling the same | |
JP2004180010A (en) | Terminal unit for radio communication |