JP2016009889A - Communication control method, communication device and portable communication device - Google Patents

Communication control method, communication device and portable communication device Download PDF

Info

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
Application number
JP2014127714A
Other languages
Japanese (ja)
Inventor
琢也 大久保
Takuya Okubo
琢也 大久保
健次 喜多
Kenji Kita
健次 喜多
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014127714A priority Critical patent/JP2016009889A/en
Publication of JP2016009889A publication Critical patent/JP2016009889A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication technology starting software AP only when a communication device serving as an access point (AP) detects the necessity of serving as an AP.SOLUTION: A communication device includes: a second communication unit (212) performing a communication with a portable terminal device (3); a specific signal detection unit (222) detecting a specific information signal indicating a situation where an access point function is to be provided, from a signal received by the second communication unit; and a communication control unit (221) starting software AP in accordance with the detection of the specific information signal.

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 Patent Document 1 listed below, when a mobile terminal (hereinafter abbreviated as MT) is connected to an access point (base station) (hereinafter abbreviated as AP), an application being executed at that time, location information, Is used to select an AP having the optimum communication quality from a database that records the communication quality. In addition, a technology called software AP in which a communication device provides a function as an AP by a program, or a communication device that has the software AP function and can be connected to the Internet is used for other communication devices on the Internet (wide area public network) A technique called tethering that relays the connection to the network) by wireless communication is widely used.

特開2010−124374号公報(2010年6月3日公開)JP 2010-124374 A (released on June 3, 2010)

しかしながら、上述のような従来技術では、インターネットへの接続を中継する通信装置が、ソフトウェア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の通信装置および携帯端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus of Embodiment 1, and a portable terminal device. 実施形態1に係る通信システムにおいてテザリングを開始するために、通信装置および携帯端末装置が実行するそれぞれの処理を示す図である。It is a figure which shows each process which a communication apparatus and a portable terminal device perform in order to start tethering in the communication system which concerns on Embodiment 1. FIG. 上記通信装置および携帯端末装置の各動作状態の遷移を示す図である。It is a figure which shows the transition of each operation state of the said communication apparatus and a portable terminal device. 実施形態2の通信装置および携帯端末装置の動作状態の遷移を示す図である。It is a figure which shows the transition of the operation state of the communication apparatus of Embodiment 2, and a portable terminal device. 図4に示す通信装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the communication apparatus shown in FIG. 各実施形態のハードウェアの構成例を示すブロック図である。It is a block diagram which shows the structural example of the hardware of each embodiment. 実施形態2の通信システムにおいてテザリングを開始するために、複数の通信装置および携帯端末装置が実行するそれぞれの処理を示す図である。It is a figure which shows each process which a some communication apparatus and portable terminal device perform in order to start tethering in the communication system of Embodiment 2. FIG. 実施形態3の通信システムにおいてテザリングを開始するために、通信装置および携帯端末装置が実行するそれぞれの処理を示す図である。It is a figure which shows each process which a communication apparatus and a portable terminal device perform in order to start tethering in the communication system of Embodiment 3. 実施形態2の優先度情報の一例を示す図である。It is a figure which shows an example of the priority information of Embodiment 2. 実施形態3の通信システムにおいてSSIDの生成ルールを示す図である。It is a figure which shows the production | generation rule of SSID in the communication system of Embodiment 3.

〔実施形態1〕
本発明の実施形態について、図1〜図3に基づいて説明すれば、以下のとおりである。
Embodiment 1
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 communication system 1 according to the present embodiment includes a communication device 2 (external device) serving as an access point (hereinafter referred to as AP) that provides a tethering function, and a communication device 2. Mobile terminal device 3 (portable communication device, external device, other communication device; hereinafter referred to as mobile device 3) using the tethering function. The communication device 2 can be connected to a computer network (hereinafter referred to as a network) 4 via wired communication or wireless communication. The AP function is a function in which a certain communication device X accepts a connection request from another communication device Y and establishes a wireless communication connection with the communication device Y. In this specification, in addition to the Wi-Fi base station function, the term “AP function” also refers to setting a Bluetooth (registered trademark) device in a “searchable” state and accepting connections from surrounding devices. Shall be shown. In the present embodiment, the communication device 2 has an AP function and a WAN (Wide Area Network) connection function, and tethering for providing WAN connection to the portable device 3 is exemplified. However, the communication device 2 has at least an AP function. As long as it is limited, it is possible to provide the mobile device 3 with the computing capability of the communication device 2 itself instead of WAN connection, or to use the functions of peripheral devices connected via USB (Universal Serial Bus) or LAN (Local Area Network). 3 may be provided.
In addition, the communication device 2 can be an AP by starting a software AP program (hereinafter referred to as an AP program), and can provide an AP function. When the communication device 2 becomes an AP, the portable device 3 connects to the communication device 2 via wireless communication such as Wi-Fi or Bluetooth, and connects the communication device 2 to the network 4 instead of the modem. The functions provided by the communication device 2 such as data transmission / reception with a computer connected to the computer can be used.

通信装置2は、AP機能を提供すべき状況を示す特定情報信号を発信している他の通信装置の存在を検出した場合に、AP機能を提供するプログラム(上記APプログラム)を起動する。なお、以下では、APプログラムを起動することを単にAPを起動するともいう。図3の(a)に示す例においては、携帯装置3が上記他の通信装置Yに相当する。携帯装置3は1台に限定されない。   When the communication device 2 detects the presence of another communication device that transmits a specific information signal indicating a situation in which the AP function should be provided, the communication device 2 starts a program that provides the AP function (the AP program). In the following, starting an AP program is also simply referred to as starting an AP. In the example shown in FIG. 3A, the portable device 3 corresponds to the other communication device Y. The mobile device 3 is not limited to one.

〔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 communication device 2 includes at least a first communication unit 211, a second communication unit 212, a control unit 220, a storage unit 230, an input unit 240, and an output unit 250. The first communication unit 211 includes a modem and a communication port for connecting to the network 4. The second communication unit 212 is a wireless communication unit including a wireless communication interface. The control unit 220 includes a communication control unit 221 (communication control unit), a specific signal detection unit 222 (specific signal detection unit), a connection processing unit 225, and a communication mode switching unit 226. The specific signal detection unit 222 includes a beacon transmission / reception unit 223 and an authentication unit 224 (authentication unit). The role and operation of each part will be described later. The storage unit 230 stores communication setting information 231 and an AP program 232 in addition to various programs for controlling the operation of the communication device 2. The communication setting information 231 is communication information as information necessary for generating a beacon (notification signal; corresponding to a specific information signal indicating that the AP function can be provided) to be transmitted when the communication apparatus 2 becomes an AP. It includes the SSID (Service Set Identification), authentication key, beacon transmission interval and channel information of the device 2 itself. The SSID is a network identification name for distinguishing the communication device 2 from other communication devices, and is determined in advance with the portable device 3 together with the authentication key. The communication setting information 231 also includes the SSID of the portable device 3 to be described later.

通信装置2は、携帯装置3のSSIDを含むビーコンを検出したら、通信装置2自身のSSIDを用いてAPを起動する。さらに通信装置2は、携帯装置3から自身のAPへの接続要求を検出したら、認証Keyを用いてその接続要求を認証し、認証が成功したら携帯装置3との通信を開始する。なお、通信装置2のSSIDと携帯装置3のSSIDは、同一の文字列を使用するようにしても良い。   When the communication device 2 detects a beacon including the SSID of the mobile device 3, the communication device 2 activates the AP using the SSID of the communication device 2 itself. Further, when the communication device 2 detects a connection request from the portable device 3 to its own AP, the communication device 2 authenticates the connection request using the authentication key, and starts communication with the portable device 3 when the authentication is successful. The SSID of the communication device 2 and the SSID of the portable device 3 may use the same character string.

〔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 communication unit 310, a control unit 320, a storage unit 330, an input unit 340 and an output unit 350. The communication unit 310 is a wireless communication unit including a wireless communication interface, and can perform wireless communication with the second communication unit 212 of the communication device 2. The control unit 320 includes a communication control unit 321 (communication control unit), a specific signal detection unit 322 (specific signal detection unit), a connection processing unit 325 (connection processing unit), and an application execution unit 326. The specific signal detection unit 322 includes a beacon transmission / reception unit 323 (specific signal generation means) and an authentication unit 324. The role and operation of each part will be described later. The storage unit 330 stores communication setting information 331, an AP program 332, and an application program 333 in addition to various programs that control the operation of the mobile device 3. The communication setting information 331 includes the SSID of the portable device 3 itself, the beacon transmission interval, channel information, and the like as information necessary for generating a beacon that is transmitted when the portable device 3 becomes an AP. The SSID is a network identification name for distinguishing the portable device 3 from other communication devices, and is determined in advance with the communication device 2 as described above. Further, the communication setting information 331 includes the SSID and authentication key of the communication device 2.
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 communication device 2 and the portable device 3. When the standard of Bluetooth communication is adopted, the SSID as a network identification name is replaced with a Bluetooth “device name”, and the authentication key is replaced with a Bluetooth “pass key”. In addition, the form adopting the standard of Bluetooth communication includes a form A using Bluetooth for beacon transmission from the portable device 3 to the communication device 2, a form B using Bluetooth for communication between the communication device 2 and the portable device 3, and the above-described form. A form C that includes a combination of A and form B is included.

なお、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 communication device 2 and the portable device 3 to start tethering in the communication system 1 will be described with reference to FIG. As shown in FIG. 2B and FIG. 3A, the initial state of the communication device 2 is a state of operating in a normal mobile terminal mode (hereinafter referred to as MT mode).

上記初期状態において、特定信号検出部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 signal detection unit 222 determines whether the portable device 3 has activated the AP program 332 (step 11; hereinafter abbreviated as S11). As shown in FIG. 2A, when the communication control unit 321 starts the AP program 332 in the portable device 3 (S1), the beacon transmission / reception unit 323 reads the communication setting information 331 from the storage unit 330, and the portable device 3 The identification information signal (m) (first specific information signal) including the SSID is generated, and the identification information signal (m) is transmitted as a beacon through the communication unit 310 under the control of the communication control unit 321. . As a result, in the communication device 2, the identification information signal (m) received by the second communication unit 212 is sent to the beacon transmission / reception unit 223 via the communication control unit 221. The authentication unit 224 receives the identification information signal (m) from the beacon transmission / reception unit 223 and refers to the communication setting information 231 to confirm that the SSID of the mobile device 3 is included in the identification information signal (m) ( YES in S11). That is, since the specific signal detection unit 222 has detected a specific information signal indicating a situation in which the AP function should be provided, the authentication unit 224 confirms that the appropriate portable device 3 has been authenticated by the communication control unit 221 and the connection processing. Tell part 225. As a result, the connection processing unit 225 instructs the communication mode switching unit 226 to start the AP program 232. When the communication mode switching unit 226 informs the communication control unit 221 that the AP program 232 has been read from the storage unit 230 and started (S12), the communication control unit 221 instructs the beacon transmission / reception unit 223 to generate a beacon. Accordingly, the beacon transmission / reception unit 223 refers to the communication setting information 231 and uses the SSID of the communication device 2 to control the identification information signal (M) via the second communication unit 212 under the control of the communication control unit 221. (Second specific information signal) is transmitted as a beacon.

なお、携帯装置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 AP program 332 of the portable device 3 is replaced with a program that controls generation and transmission of a beacon that is not accompanied by activation of the AP.

携帯装置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 authentication unit 324 performs the same process as the authentication unit 224, and uses the communication setting information 331 to indicate that the received identification information signal (M) includes the SSID of the communication device 2. Confirm (YES in S2). Subsequently, the communication control unit 321 performs a wireless connection procedure using the authentication key of the communication device 2 with the communication device 2 via the communication unit 310. Through the above processing, the communication connection between the communication device 2 and the portable device 3 is established. That is, communication for tethering is started (S3, S13). For example, the control unit 320 displays on the display screen of the output unit 350 that the communication connection has been established and notifies the user.

続いて、アプリケーション実行部326は、入力部340からのユーザ指示を通信制御部321を介して受け取ると、ユーザ指示に応じたアプリケーションプログラム333を記憶部330から読み出し、通信制御部321と連携して、アプリケーションを実行する(S4)。アプリケーションの実行に伴う各種データは、通信部310、第2通信部212、通信制御部221および第1通信部211を経由して、ネットワーク4に接続された他の通信装置と送受される。こうして、通信装置2のテザリング機能が携帯装置3に提供され、携帯装置3は通信装置2のテザリング機能を利用する。   Subsequently, when the application execution unit 326 receives a user instruction from the input unit 340 via the communication control unit 321, the application execution unit 326 reads the application program 333 corresponding to the user instruction from the storage unit 330 and cooperates with the communication control unit 321. The application is executed (S4). Various data associated with the execution of the application is transmitted / received to / from other communication devices connected to the network 4 via the communication unit 310, the second communication unit 212, the communication control unit 221, and the first communication unit 211. Thus, the tethering function of the communication device 2 is provided to the portable device 3, and the portable device 3 uses the tethering function of the communication device 2.

〔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 communication device 2 and the portable device 3 in the tethering start process described above. 3A corresponds to the execution stage of S1 in the portable device 3. FIG. That is, when the communication device 2 is operating in the MT mode, the portable device 3 first transitions from the MT mode to the AP mode. Next, (b) of FIG. 3 corresponds to the execution stage of S2 in the portable device 3 and the execution stages of S11 and S12 in the communication device 2. That is, in response to the communication device 2 changing from the MT mode to the AP mode, the portable device 3 changes from the AP mode to the MT mode. 3C corresponds to the execution stage of S3 and S4 in the portable device 3 and the execution stage of S13 in the communication apparatus 2. FIG. That is, the portable device 3 uses the tethering function in the MT mode, and the communication device 2 provides the tethering function in the AP mode.
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 communication system 1m of the present embodiment includes a plurality of communication devices 2 and a portable device 3 that can be connected to the network 4 as shown in FIG. The communication devices 2A and 2B are exemplified as the communication device 2, but the number of the communication devices 2 is arbitrary. The communication device 2 is set with a connection priority, and the portable device 3 establishes a connection with the communication device 2 having the highest connection priority.

〔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 communication devices 2A and 2B and the communication device 2 (FIG. 1) described above will be described. As shown in FIG. 5, the control unit 220 </ b> C of the communication devices 2 </ b> A and 2 </ b> B includes a priority determination unit 227 (priority determination unit) in addition to the units 221 to 226. In addition to the communication setting information 231 and the AP program 232, the storage unit 230C of the communication devices 2A and 2B stores priority information 233 of the own device. The role and operation of each part of the communication devices 2A and 2B will be described later.

〔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 communication device 2 in order to identify the communication device to be connected with the highest priority when the mobile device 3 tries to connect to any one of the plurality of communication devices 2. It is. The priority information 233 is used for comparison with priority information of other communication devices. An example of priority information is shown in FIG. The numerical value described as “priority” in FIG. 9 corresponds to the priority information, and the priority information is included in the SSID as P0, P1, and P2. Thereby, the connection priority can be detected only by detecting the SSID.

通信装置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 / reception unit 223 of the communication devices 2A and 2B generates the SSID including the priority information 233 as shown in FIG. 9 in response to the communication mode switching unit 226 activating the AP program 232. Therefore, the authentication unit 324 of the mobile device 3 can specify a communication device to be preferentially connected among the communication devices 2A, 2B, and 2C shown in FIG. For example, the authentication unit 324 reads the priority information P0, P1, and P2 included in the SSID received from the communication devices 2A, 2B, and 2C, so that the communication device 2B is more suitable for connection than the communication device 2A. Or the communication device 2C is optimal for connection.
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 communication devices 2A, 2B, and 2C. Set it.

〔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 communication system 1m, each process executed by the communication devices 2A and 2B and the portable device 3 when the portable device 3 uses tethering will be described with reference to FIG. As shown in S21 of FIG. 4A, S21 of FIG. 7A and S31 of FIG. 7B, the communication connection between the communication device 2A and the portable device 3 is established, and the portable device 3 A state in which the MT mode and the communication apparatus 2A are operating in the AP mode is set as an initial state. Further, it is assumed that the communication device 2B is operating in the normal MT mode and is connected to the network 4. In addition, the processing content of S21 is the same as the processing of S1-S4 shown to (a) of FIG. 2, and the processing content of S31 is the same as the processing of S11-S13 shown in (b) of FIG.

この初期状態にて、図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 communication device 2B shown in FIG. 5, the process of S41 shown in FIG. That is, the beacon transmission / reception unit 223 constantly receives a beacon transmitted by another communication device via the second communication unit 212 and the communication control unit 221, and sends the beacon to the authentication unit 224. The authentication unit 224 extracts priority information from the SSID acquired from the identification information signal (m) of another communication device. The priority information extracted by the authentication unit 224 is sent to the priority determination unit 227. The priority determination unit 227 compares the priority information received from the authentication unit 224 with the priority information 233 in the storage unit 230C, detects whether an AP having a lower priority than the own device is detected, that is, the extracted priority It is determined whether an AP having a degree equal to or lower than the priority level of the own apparatus has been detected.

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 degree determination unit 227 transmits the determination result to the communication control unit 221 and the communication mode switching unit 226. Thereby, the communication mode switching unit 226 determines that the specific signal detection unit 222 detects the specific information signal indicating the situation in which the AP function should be provided, reads the AP program 232 from the storage unit 230, and starts it. If the acquired SSID includes priority information at the same level as that of the own device, or if the acquired SSID does not include priority information, the AP may not be activated.

通信モード切換部226がAPプログラム232を起動した(S42)ことを通信制御部221に伝えると、通信制御部221は、ビーコン送受信部223にビーコンの生成を指示する。これにより、ビーコン送受信部223は、通信設定情報231を参照し、通信装置2BのSSIDを含む識別情報信号(M)を生成して、通信制御部221の制御のもと、第2通信部212を介して当該識別情報信号(M)をビーコンとして発信する。   When the communication mode switching unit 226 informs the communication control unit 221 that the AP program 232 has been activated (S42), the communication control unit 221 instructs the beacon transmission / reception unit 223 to generate a beacon. Accordingly, the beacon transmission / reception unit 223 refers to the communication setting information 231, generates an identification information signal (M) including the SSID of the communication device 2 </ b> B, and controls the second communication unit 212 under the control of the communication control unit 221. The identification information signal (M) is transmitted as a beacon via.

続いて、携帯装置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 communication device 2A. Specifically, the beacon transmission / reception unit 323 illustrated in FIG. 1 constantly receives a beacon transmitted by another communication device via the communication unit 310 and the communication control unit 321, and sends the beacon to the authentication unit 324. For example, the authentication unit 324 extracts priority information from the SSID acquired from the identification information signal (M) of the communication device 2B, and determines whether the priority of the communication device 2B is higher than the priority of the communication device 2A (S22). ). When the authentication processing unit 324 is informed that the determination result in S22 is YES, the connection processing unit 325 instructs the communication control unit 321 to switch the communication connection from the communication device 2A to the communication device 2B. In response to a connection switching instruction from the connection processing unit 325, the communication control unit 321 transmits a connection request signal to the communication device 2B via the communication unit 310. When the communication device 2B responds to the connection request signal, the communication connection between the portable device 3 and the communication device 2A is switched to the communication connection between the portable device 3 and the communication device 2B (S23). As a result, the mobile device 3 can use the tethering as it is by using the communication device 2B as an AP (S24).

一方、通信装置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 communication device 2A, while the processing of S22 and 23 is being performed in the portable device 3, the processing of S32 and 33 shown in FIG. In S32, similarly to the process of S41 executed in the communication device 2B, the priority determination unit 227 of the communication device 2A determines whether an AP having a higher priority than the own device is detected. When the determination result in S32 is YES, the priority determination unit 227 transmits the determination result to the communication control unit 221 and the communication mode switching unit 226. As a result, the communication mode switching unit 226 stops the execution of the AP program 232 ( S33). As a result, the operation mode of the communication device 2A is switched from the AP mode to the MT mode.

〔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 communication device 2A and the communication device 2B during execution of the tethering described above. The operation mode of the portable device 3 remains the MT mode. FIG. 4A corresponds to the execution stage of S21 in the portable device 3, the execution stage of S31 in the communication apparatus 2A, and the execution stage of S41 in the communication apparatus 2B. That is, FIG. 4A shows a state in which the communication device 2A operates in the AP mode, while the communication device 2B operates in the MT mode, and both the communication devices 2A and 2B are connected to the network 4. ing. The communication device 2 </ b> A provides a tethering function for the portable device 3. Next, FIG. 4B corresponds to the execution stage of S22 in the portable device 3, the execution stage of S32 in the communication apparatus 2A, and the execution stage of S42 in the communication apparatus 2B. That is, since the communication device 2B detects the communication device 2A having a lower priority than itself, the communication device 2B transits from the MT mode to the AP mode. 4C corresponds to the execution stage of S23 and S24 in the portable device 3, the execution stage of S33 in the communication apparatus 2A, and the execution stage of S43 in the communication apparatus 2B. . That is, since the mobile device 3 has detected the communication device 2B having a higher priority than the communication device 2A that is in communication connection, the portable device 3 switches the communication connection from the communication device 2A to the communication device 2B. Furthermore, the communication device 2A stops the AP mode and transitions to the MT mode. As a result, the communication device 2B provides a tethering function in the AP mode.

〔実施形態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 communication device 2 and the portable device 3 in the configuration of the communication system 1 shown in FIG. 1 will be described.

〔3−1.携帯端末装置における識別情報データの生成動作〕
図1に示す携帯装置3のビーコン送受信部323は、識別情報信号(m)を上記通信装置と共有する鍵情報を用いて暗号化することにより、暗号化識別情報信号を複数個生成する。暗号化識別情報信号を生成するプログラム、上記鍵情報および必要なデータは、通信設定情報331として記憶部330に格納されている。
[3-1. Generation operation of identification information data in portable terminal device]
The beacon transmitting / receiving unit 323 of the mobile device 3 shown in FIG. 1 generates a plurality of encrypted identification information signals by encrypting the identification information signal (m) using key information shared with the communication device. A program for generating an encrypted identification information signal, the key information, and necessary data are stored in the storage unit 330 as communication setting information 331.

以下、図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 communication device 2 and the portable device 3 hold a common SSID prefix and a 128-bit encryption key in advance. The portable device 3 generates an SSID according to the following rules. (1) The basic SSID (basic identification information signal) and the authentication key that the communication device 2 wants to use when generating identification information data in the AP mode are used. Generate as a random string. (2) By concatenating each data representing “basic SSID, authentication key, encryption method value, data generation time, CRC32 value”, a 64-byte byte string (plain text) is generated. (3) The plaintext is encrypted by an AES (Advanced Encryption Standard) algorithm using the 128-bit encryption key. (4) The encrypted byte string (ciphertext) is converted into a character string by the base64 method. (5) The character string is divided into 20 characters, and an SSID prefix and an identification number (0 to 3) are added before the character string. Thus, for example, four encrypted SSIDs shown in the lower part of FIG. 10 are generated.

暗号化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 communication device 2 and the portable device 3 so that it can be detected whether the communication device 2 has received all the encrypted SSIDs. . Also, if the total number of pieces of information is included in the encrypted SSID generated by the portable device 3, it is not necessary to decide the number between the communication device 2 and the portable device 3. The encryption key length (number of bits), the encryption algorithm, and the method of dividing the character string are not limited to the above example as long as they are within the limitation of the maximum length of SSID of 32 characters. If the length of the basic SSID, the length of the authentication key, and the encryption key length are sufficiently shortened, the number of encrypted SSIDs can be reduced to one. Hereinafter, a case where there are four encrypted SSIDs will be described as an example.

通信装置2は、検出した暗号化識別情報信号を識別番号の順に結合して復号し、携帯装置3が生成した基本SSIDと認証Key、暗号方式とデータ生成時刻とを取得する。その際、CRC(Cyclic Redundancy Check)が一致しなかったり生成日が極端に古かったりした場合は、データを破棄する。この場合の処理は図8の(b)のフローに示されていないが、データを破棄した場合には通信装置2の処理は終了し、携帯装置3において図8の(a)のフローに従った新たなセッションが開始されるのを待つ。   The communication device 2 combines and decodes the detected encrypted identification information signals in the order of the identification numbers, and acquires the basic SSID, authentication key, encryption method, and data generation time generated by the portable device 3. At this time, if the CRC (Cyclic Redundancy Check) does not match or the generation date is extremely old, the data is discarded. The processing in this case is not shown in the flow of FIG. 8B, but when the data is discarded, the processing of the communication device 2 ends, and the portable device 3 follows the flow of FIG. 8A. Wait for a new session to start.

〔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 communication system 1 of this embodiment, each process which the communication apparatus 2 and the portable apparatus 3 perform is demonstrated with reference to FIG. In addition, since the operation | movement of each part in the control parts 220 and 320 has already been demonstrated, it abbreviate | omits. In the portable device 3, as shown in FIG. 8A, the basic SSID and authentication key described above are randomly generated (S51), and four encrypted SSIDs are generated using the generated basic SSID and authentication key. Is generated (S52). Note that it is not essential to randomly generate the basic SSID and the authentication key, and it is only necessary that the generated encrypted SSID is different from the previously generated encrypted SSID. Next, using the four encrypted SSIDs one by one in the order of the identification numbers, the identification information signal (m) (first specific information signal: a specific information signal indicating a situation in which an access point function should be provided) Equivalent) is generated as a beacon and the AP is activated and terminated four times (S53). The identification information signal is not retransmitted one by one, but one or more identification information signals (m) are regenerated by using part or all of the four encrypted SSIDs. You may resend more than once. Thereafter, the portable device 3 tries to connect to the communication device 2 using the basic SSID and the authentication key (S54; connection processing), and determines whether or not the connection to the communication device has been established (S55). If connection to the communication device is established (YES in S55), communication with the communication device 2 is started using the AP function provided by the communication device 2 (S57), and use of tethering is started. If the communication device cannot be connected in S55 (NO in S55), it is assumed that the communication device 2 has missed (received or detected) at least one of the four encrypted SSIDs. Therefore, after the portable device 3 generates the identification information signal (m) as a beacon using one of the four encrypted SSIDs (for example, the one with the smallest identification number) and starts and ends the AP. , The process returns to S54 to determine again whether or not the communication apparatus can be connected. When the determination result in S55 is NO again, the processing in S54 to 56 is repeated using the encrypted SSID having the next smallest identification number. The processing of S54 to 56 may be repeated any number of times until the connection succeeds while changing the encrypted SSID in order, but an infinite loop is avoided such as setting a limit on the number of repetitions and displaying an error when the limit is exceeded. It is preferable. If an error display appears, a new session starting from S51 may be started automatically or by a user instruction.

一方、通信装置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 communication device 2 detects whether the mobile device 3 has activated the AP during the execution of S51 to S53 (S61). The process of S61 is the same as the process of S11 shown in FIG. When the AP activation of the mobile device 3 is detected (YES in S61), it is determined whether all four encrypted SSIDs have been received from the mobile device 3 and detected (S62). If the determination result is NO, the process of S62 is repeated until the portable device 3 can detect all four encrypted SSIDs by performing the process of S56. It is preferable to avoid an infinite loop by setting a time limit in the processing of S62. When all four encrypted SSIDs are detected (YES in S62), the four encrypted SSIDs are combined to decrypt the identification information signal (m), and the basic SSID, authentication key, encryption method, and data generation time Is extracted (S63).
Subsequently, the authentication unit 224 determines whether or not the decrypted identification information signal (m) is a proper identification information signal (S63). Specifically, the identification information signal (m) decoded in the past is stored in the storage unit 230 (see FIG. 1), and the identification information signal (m) decoded in the past by the identification information signal (m) decoded this time. It is determined whether or not the same (S64). For this determination, it is only necessary to confirm that any one of “basic SSID, authentication key, encryption method value and data generation time” is different from those extracted and used in the past. . For example, even if the basic SSID and the authentication key are the same every time they are extracted, if it can be confirmed that the data generation time has changed, it is guaranteed that it is not “harassment or unauthorized access by a third party”.

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 authentication unit 224 discards the identification information signal (m) (S68). As a subsequent process, the communication device 2 may wait for the start of a new communication session or send an authentication error message to the portable device 3. When the determination result in S64 is NO, that is, when the decrypted identification information signal (m) is appropriate, the stealth mode using the basic SSID extracted by the communication device 2 and the authentication key (corresponding to information included in the decrypted specific information signal) Then, the AP is activated (S65), and if the connection request from the portable device 3 can be properly authenticated (YES in S66), communication with the portable device 3 is started (S67), and provision of tethering is started. Whether or not the AP is activated in the stealth mode in S64 is not the essence of the present embodiment, and may be activated in the normal AP mode.

このように、通信装置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 communication device 2 does not know the SSID to be used when the AP is activated before the communication with the portable device 3. After the mobile device 3 activates the AP, the SSID to be used by the communication device 2 is transmitted to the communication device 2 using an encryption technique. The reason why such a complicated method is taken is to conceal the “method for starting the AP in the communication device 2” from a third party. In the manner of the first embodiment, the network is monitored and the beacon transmitted from the mobile device 3 is analyzed and reproduced, or the beacon transmitted in the past communication is copied and sent to the communication device 2. Anyone can activate the AP in the communication device 2. A third party who does not know the authentication key cannot connect to the communication device 2, but harassment (attack) that places an unnecessary load on the communication device 2 can be easily performed. However, according to the method of the third embodiment, the communication device 2 cannot activate the AP unless the third party knows the “128-bit encryption key”. Each time the communication session is changed, the mobile device 3 newly generates a basic SSID and an authentication key. This makes it easy to prevent unauthorized devices from connecting to the communication device 2, thereby increasing network security.

〔ハードウェアの具体例〕
図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 computer 100 that functions as the communication devices 2, 2 </ b> A, 2 </ b> B and the portable device 3. The computer 100 includes a CPU (Central Processing Unit) 110 corresponding to the control units 220, 220C, and 320, a memory 120 and a hard disk 130 corresponding to the storage units 230, 230C, and 330, the first communication unit 211, and the second communication. Unit 212, wireless communication unit 140 corresponding to communication unit 310, display 150 corresponding to output units 250 and 350, touch panel 160 corresponding to input units 240 and 340, keyboard 170 and mouse 180. Are connected to each other.

〔ソフトウェアによる実現例〕
通信装置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 communication device 2 and the portable device 3 (particularly the control units 220 and 320) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or using a CPU. It may be realized by software. In the latter case, the communication device 2 and the portable device 3 include a CPU that executes instructions of a program that is software that realizes each function, and a ROM (Read that records the program and various data so that the computer (or CPU) can read the program. Only Memory) or a storage device (these are referred to as “recording media”), a RAM (Random Access Memory) for expanding the program, and the like. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission. Note that the timing for starting the software that implements each of the above units may be the timing for starting the own device, the timing specified by the user, and the timing according to the surrounding environment.

以上の各実施形態では、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 aspect 1 of the present invention is a communication control method for a communication device (2, 2A, 2B) that provides an access point function, and the communication device indicates a situation in which the access point function should be provided. When the presence of another communication device that is transmitting the specific information signal is detected, a program that provides an access point function is activated. According to the above method, the communication device that becomes the access point on the network to provide the access point function does not start the program for becoming the access point until it detects the situation to be the access point. The necessity of becoming an access point is detected by 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, and the program is started. Therefore, the CPU load of the communication device, the decrease in communication speed, the power consumption of the communication device, and the temperature increase of the communication device are reduced.

本発明の態様2に係る通信装置(2,2A,2B)は、アクセスポイント機能を提供する通信装置であって、外部装置(携帯装置3)と通信を行う通信部(第2通信部212)と、上記通信部が受信した信号から、アクセスポイント機能を提供すべき状況を示す特定情報信号を検出する特定信号検出手段(特定信号検出部222)と、上記特定信号検出手段が、上記特定情報信号を検出したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段(通信モード切換部226および通信制御部221)とを備えている。上記の構成によれば、通信装置は上記通信制御方法を実現する構成を備えているので、既に説明した効果を生むことができる。   The communication device (2, 2A, 2B) according to aspect 2 of the present invention is a communication device that provides an access point function, and communicates with an external device (portable device 3) (second communication unit 212). A specific signal detection unit (specific signal detection unit 222) 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, and the specific signal detection unit includes the specific information Communication control means (communication mode switching unit 226 and communication control unit 221) that activates a program that provides an access point function in response to detection of a signal is provided. According to said structure, since the communication apparatus is provided with the structure which implement | achieves the said communication control method, the already demonstrated effect can be produced.

本発明の態様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 aspect 2, and the connection is higher than the connection priority of the own device. It further includes priority determination means (priority determination unit 227) for determining whether or not priority is included in the specific information signal, and the priority determination means has a connection priority higher than the connection priority of the own device. In response to determining that the specific information signal is included, the communication control unit stops the access point function. According to the above configuration, the priority determination unit extracts the connection priority of the external device from the specific information signal detected by the specific signal detection unit, and the connection priority of the external device is the connection priority of the own device. Determine if it is higher. As a result, when the connection priority of the external device is higher than the connection priority of the own device, the communication control means stops the access point function. Thereafter, the external device provides an access point function instead of the communication device. This further reduces the load on the CPU of the communication device, the decrease in communication speed, the power consumption of the communication device, and the temperature increase of the communication device.

本発明の態様4に係る通信装置は、アクセスポイント機能を提供する通信装置(2,2A,2B)であって、外部装置(携帯装置3)と通信を行う通信部(第2通信部212)と、上記通信部が受信した信号から、特定情報信号を検出する特定信号検出手段(特定信号検出部222)と、上記特定信号検出手段が検出した上記特定情報信号に含まれている接続優先度に関する情報を抽出し、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれているかどうかを判定する優先度判定手段(優先度判定部227)と、上記優先度判定手段が、自装置の接続優先度より高くない接続優先度が上記特定情報信号に含まれていると判定したことに応じて、アクセスポイント機能を提供するプログラムを起動する通信制御手段(通信モード切換部226および通信制御部221)とを備え、上記特定情報信号は、上記外部装置がアクセスポイント機能を提供可能であることを示す信号、または上記外部装置に対し、他のアクセスポイントがアクセスポイント機能を提供可能であることを示す信号である。上記の構成によれば、上記外部装置が発信した特定情報信号に上記通信装置の接続優先度より高い接続優先度が含まれていない場合、その外部装置の特定情報信号は、上記通信装置が上記外部装置に代わってアクセスポイント機能を提供すべき状況を示す特定情報信号である。したがって、特定情報信号の検出に応じて、上記通信制御手段は、アクセスポイント機能を提供するプログラムを起動するので、既に説明した効果が得られる。   The communication device according to aspect 4 of the present invention is a communication device (2, 2A, 2B) that provides an access point function, and a communication unit (second communication unit 212) that communicates with an external device (mobile device 3). And a specific signal detection unit (specific signal detection unit 222) for detecting a specific information signal from the signal received by the communication unit, and a connection priority included in the specific information signal detected by the specific signal detection unit Priority determination means (priority determination unit 227) for determining whether or not a connection priority not higher than the connection priority of the own device is included in the specific information signal, and the priority determination means Communication control means (communication) for starting a program that provides an access point function in response to determining that the specific information signal includes a connection priority that is not higher than the connection priority of the device itself Switching control unit 226 and communication control unit 221), and the specific information signal is a signal indicating that the external device can provide an access point function, or another access point with respect to the external device. It is a signal which shows that an access point function can be provided. According to the above configuration, when the specific information signal transmitted by the external device does not include a connection priority higher than the connection priority of the communication device, the specific information signal of the external device is It is a specific information signal indicating a situation in which an access point function should be provided on behalf of an external device. Therefore, the communication control means starts the program that provides the access point function in response to the detection of the specific information signal, so that the effect already described can be obtained.

なお、上記外部装置が発信した特定情報信号に接続優先度に関する情報が含まれていない場合、または、上記外部装置が発信した特定情報信号に同じレベルの接続優先度に関する情報が含まれている場合には、上記通信装置は、アクセスポイント機能を提供するプログラムを起動してもよいし、起動しなくてもよい。   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 Aspects 2 to 4, wherein the specific information signal detected by the specific signal detection means is decrypted using an encryption key shared with the external apparatus ( An authentication unit 224), and the communication control unit activates a program that provides an access point function using information included in the specific information signal decoded by the authentication unit. According to said structure, an access point function can be provided only with respect to the external device which shares the encryption key for the said communication apparatus to decode a specific information signal. Thereby, from the standpoint of the external device, another communication device pretending to be an appropriate communication device can be connected to the external device, and fraud such as stealing various information from the external device can be prevented. Similarly, from the standpoint of a communication device, it is possible to prevent fraud such that another external device impersonating a proper external device connects to the communication device and uses the access point function of the communication device without permission.

本発明の態様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 aspects 2 to 5 of the present invention and the portable communication device according to any one of aspects 6 to 9 also falls within the scope of the present invention. The communication device and the portable communication device according to each aspect of the present invention may be realized by a computer. In this case, the computer is operated as each unit included in the communication device and the portable communication device. A communication control program for realizing the communication device and the portable communication device on a computer and a computer-readable recording medium on which the program is recorded also fall within the scope of the present invention.

本発明は上述した各実施形態に限定されず、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。   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: Communication system 2, 2A, 2B: Communication device (external device) 3: Mobile terminal device (external device, portable communication device) 212: Second communication unit (communication unit) 221: Communication control unit (communication control means) 222: Specific signal detection unit (specific signal detection unit) 224: Authentication unit (authentication unit) 226: Communication mode switching unit (communication control unit) 227: Priority determination unit (priority determination unit) 310: Communication unit 321: Communication Control unit (communication control unit) 322: Specific signal detection unit (specific signal detection unit) 323: Beacon transmission / reception unit (specific signal generation unit) 324: Authentication unit (communication control unit) 325: Connection processing unit (connection processing unit)

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.
JP2014127714A 2014-06-20 2014-06-20 Communication control method, communication device and portable communication device Pending JP2016009889A (en)

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)

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 &amp; 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