JP5789219B2 - Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program - Google Patents

Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program Download PDF

Info

Publication number
JP5789219B2
JP5789219B2 JP2012102756A JP2012102756A JP5789219B2 JP 5789219 B2 JP5789219 B2 JP 5789219B2 JP 2012102756 A JP2012102756 A JP 2012102756A JP 2012102756 A JP2012102756 A JP 2012102756A JP 5789219 B2 JP5789219 B2 JP 5789219B2
Authority
JP
Japan
Prior art keywords
wireless communication
authentication key
communication device
unit
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012102756A
Other languages
Japanese (ja)
Other versions
JP2013232728A (en
Inventor
健 中
健 中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2012102756A priority Critical patent/JP5789219B2/en
Priority to US14/391,374 priority patent/US9420462B2/en
Priority to PCT/JP2013/002674 priority patent/WO2013161248A1/en
Publication of JP2013232728A publication Critical patent/JP2013232728A/en
Application granted granted Critical
Publication of JP5789219B2 publication Critical patent/JP5789219B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、他の無線通信装置との間で通信設定を行う、無線通信装置、通信デバイス、無線通信方法、および無線通信制御プログラムに関する。   The present invention relates to a wireless communication device, a communication device, a wireless communication method, and a wireless communication control program for setting communication with another wireless communication device.

従来、無線通信装置は、他の無線通信装置との間で、2.4GHzまたは5GHz帯のWi−Fiを用いた通信を行う際、事前に通信設定を行う(例えば、特許文献1および2)。特許文献1および2は、ステーション(Station:以下、STAという)とアクセスポイント(Access Point:以下、APという)との間で行われるWPS(Wi-Fi Protected Setup)を開示している。なお、「STA」および「AP」は、無線通信装置のロール(役割)である。   Conventionally, a wireless communication device performs communication settings in advance when performing communication with other wireless communication devices using Wi-Fi in 2.4 GHz or 5 GHz band (for example, Patent Documents 1 and 2). . Patent Documents 1 and 2 disclose WPS (Wi-Fi Protected Setup) performed between a station (hereinafter referred to as STA) and an access point (hereinafter referred to as AP). Note that “STA” and “AP” are roles of the wireless communication apparatus.

WPSは、無線通信装置同士の接続およびセキュリティの設定を簡単にできるように、Wi−Fiアライアンスという業界団体が定めた規格である。STAとAPは、通信開始の前に必要な初期設定としてWPSを行う。まず、STAは、ユーザの操作を受け付けると、APを探索して接続する。次に、APは、自分が保有する認証鍵をSTAへ送信する。そして、STAは、APから受信した認証鍵を保存する。   WPS is a standard established by an industry group called Wi-Fi Alliance so that wireless communication devices can be easily connected and security settings can be made. The STA and the AP perform WPS as an initial setting necessary before starting communication. First, when the STA receives a user operation, the STA searches for and connects to the AP. Next, the AP transmits the authentication key held by itself to the STA. Then, the STA stores the authentication key received from the AP.

このようにしてWPSが完了した以降、STAとAPは、通信を実行する際にWPA(Wi-Fi Protected Access)を行う。すなわち、APは、STAに予め保存された認証鍵と、自分が保有する認証鍵とが一致するか否かを判断する。判断の結果、2つの認証鍵が一致した場合、STAとAPは、接続され、通信を開始する。   After WPS is completed in this way, the STA and the AP perform WPA (Wi-Fi Protected Access) when performing communication. That is, the AP determines whether or not the authentication key stored in advance in the STA matches the authentication key held by the AP. If the two authentication keys match as a result of the determination, the STA and the AP are connected and start communication.

特開2005−142907号公報JP 2005-142907 A 特開2006−60578号公報JP 2006-60578 A

しかしながら、上述したWPSを、ミリ波を用いた無線通信の標準規格であるWiGig(Wireless Gigabit)に適用し、簡単に通信設定を行いたいという要望があるが、そのまま適用すると、以下の課題がある。   However, there is a demand to apply the above-described WPS to WiGig (Wireless Gigabit), which is a standard for wireless communication using millimeter waves, and simply perform communication settings. .

WiGigにおいて、無線通信装置のロールは、STAと、APと同様の役割を持つPCP(Personal basic service set Central Point)とがある。WiGigでは、無線通信装置のロールが、2.4GHzや5GHz帯のWi−Fiのように固定されない。このため、WPS実行時のロールと、WPA実行時のロールとが逆になる場合がある。例えば、WPSの実行時には、無線通信装置aがSTA、無線通信装置bがPCPであったのに、WPAの実行時には、無線通信装置aがPCP、無線通信装置bがSTAに変わる、といったことが起こる。   In WiGig, the role of the wireless communication apparatus includes STA and PCP (Personal basic service set Central Point) having the same role as AP. In WiGig, the roll of a wireless communication apparatus is not fixed like Wi-Fi in 2.4 GHz or 5 GHz band. For this reason, the role at the time of WPS execution and the role at the time of WPA execution may be reversed. For example, when WPS is executed, wireless communication device a is STA and wireless communication device b is PCP, but when WPA is executed, wireless communication device a is changed to PCP and wireless communication device b is changed to STA. Occur.

この場合、PCPである無線通信装置bは、WPAの実行時にSTAに変わると、無線通信装置aがPCPであるときにWPAで用いる認証鍵を有していないため、PCPに変わった無線通信装置aと接続できない、という課題がある。   In this case, if the wireless communication device b that is a PCP changes to an STA when executing WPA, the wireless communication device that has changed to a PCP because the wireless communication device a does not have an authentication key used in the WPA when the wireless communication device a is a PCP. There is a problem that it cannot be connected to a.

本発明の目的は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、無線通信装置同士の接続を可能にすることである。   An object of the present invention is to enable connection between wireless communication devices even when the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

本発明の無線通信装置は、他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置であって、自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する認証鍵交換判断部と、前記認証鍵交換判断部の判断結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行う認証鍵交換部と、を備える。   The wireless communication device of the present invention is a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with other wireless communication devices, and information related to wireless communication performed by itself Based on information related to wireless communication performed by another wireless communication device, whether or not both the device and the other wireless communication device are capable of wireless communication using millimeter waves is determined between the other wireless communication devices. The authentication key exchange determination unit for determining whether or not the authentication key needs to be exchanged with the other wireless communication apparatus based on the determination result of the authentication key exchange determination unit. An authentication key exchanging unit for exchanging.

本発明の通信デバイスは、ミリ波を用いた無線通信を他の無線通信装置との間で行う無線通信装置と接続し、前記無線通信を実行するための通信設定を行う通信デバイスであって、前記無線通信装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、前記無線通信装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記無線通信装置と前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する認証鍵交換判断部と、前記認証鍵交換判断部の判断結果に基づいて、前記無線通信装置と前記他の無線通信装置との間で認証鍵の交換を行う認証鍵交換部と、を備える。   The communication device of the present invention is a communication device that connects to a wireless communication device that performs wireless communication using millimeter waves with another wireless communication device, and performs communication settings for executing the wireless communication, Based on information related to wireless communication performed by the wireless communication device and information related to wireless communication performed by the other wireless communication device, both the wireless communication device and the other wireless communication device can perform wireless communication using millimeter waves. An authentication key exchange determination unit that determines whether or not an authentication key needs to be exchanged between the wireless communication device and the other wireless communication device, and an authentication key exchange determination unit An authentication key exchanging unit that exchanges an authentication key between the wireless communication device and the other wireless communication device based on the determination result.

本発明の無線通信方法は、他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置が行う無線通信方法であって、自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断するステップと、前記判断の結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行うステップと、を有する。   The wireless communication method of the present invention is a wireless communication method performed by a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with another wireless communication device, and is performed by the wireless device itself. Based on the information related to communication and the information related to wireless communication performed by the other wireless communication device, whether or not both the own device and the other wireless communication device can perform wireless communication using millimeter waves, A step of determining whether or not an authentication key needs to be exchanged with a communication device, and a step of exchanging an authentication key with the other wireless communication device based on the result of the determination And having.

本発明の無線通信制御プログラムは、他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置のコンピュータに実行させる無線通信制御プログラムであって、自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する処理と、前記判断の結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行う処理と、を実行させる。   The wireless communication control program of the present invention is a wireless communication control program that is executed by a computer of a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with other wireless communication devices, Based on whether information regarding wireless communication performed by the own device and information regarding wireless communication performed by the other wireless communication device is enabled, whether both the device and the other wireless communication device are capable of wireless communication using millimeter waves. A process for determining whether or not an authentication key needs to be exchanged with the other wireless communication apparatus, and an authentication key with the other wireless communication apparatus based on the result of the determination And a process for exchanging.

本発明は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、無線通信装置同士の接続が可能となる。   According to the present invention, wireless communication devices can be connected to each other even if the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

本実施の形態1に係る通信システムおよび無線通信装置の構成例を示すブロック図FIG. 2 is a block diagram showing a configuration example of a communication system and a wireless communication apparatus according to the first embodiment. 本実施の形態1に係る設定情報のフォーマット例を示す図The figure which shows the format example of the setting information which concerns on this Embodiment 1. 本実施の形態1に係る自装置情報のフォーマット例を示す図The figure which shows the example of a format of the own apparatus information which concerns on this Embodiment 1. 本実施の形態1に係る無線通信装置の動作例を示すフローチャートFlowchart showing an operation example of the wireless communication apparatus according to the first embodiment 本実施の形態1に係る無線通信装置のメッセージの送受信例を示すシーケンス図Sequence diagram showing an example of message transmission / reception of the wireless communication apparatus according to the first embodiment 本実施の形態1に係るビーコンに含まれるパラメータ例を示す図The figure which shows the example of a parameter contained in the beacon which concerns on this Embodiment 1. 本実施の形態1に係るProbe requestに含まれるパラメータ例を示す図The figure which shows the parameter example contained in Probe request which concerns on this Embodiment 1. 本実施の形態1に係るソフトウェアを用いた構成例を示す図The figure which shows the structural example using the software which concerns on this Embodiment 1. 本実施の形態2に係る無線通信装置の動作例を示すフローチャートFlowchart showing an operation example of the wireless communication apparatus according to the second embodiment

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

(実施の形態1)
図1は、本実施の形態に係る通信システムの構成例を示す。本実施の形態の通信システムは、本実施の形態に係る無線通信装置100と無線通信装置200を備える。また、本実施の形態の通信システムでは、無線通信装置100が、無線通信装置200との間で、WiGigを用いた通信を行うために通信設定を行う場合を、一例として説明する。この場合は、例えば、ユーザ2名がそれぞれ所有する2台の無線通信装置の間で、WiGig通信を用いて動画や写真などのデータの送受信を行う際、無線接続のための通信設定を事前に行う、といった場面である。なお、以下では、WiGigを用いた通信は、適宜「WiGig通信」という。WiGig通信は、ミリ波を用いた無線通信の一例である。
(Embodiment 1)
FIG. 1 shows a configuration example of a communication system according to the present embodiment. The communication system according to the present embodiment includes wireless communication apparatus 100 and wireless communication apparatus 200 according to the present embodiment. Further, in the communication system according to the present embodiment, a case where the wireless communication apparatus 100 performs communication settings with the wireless communication apparatus 200 to perform communication using WiGig will be described as an example. In this case, for example, when transmitting and receiving data such as moving images and photographs using WiGig communication between two wireless communication devices respectively owned by two users, communication settings for wireless connection are set in advance. It is a scene of doing. Hereinafter, communication using WiGig is appropriately referred to as “WiGig communication”. WiGig communication is an example of wireless communication using millimeter waves.

<WiGigの説明>
まず、本実施の形態の通信システムで用いられるWiGig通信について説明する。
<Description of WiGig>
First, WiGig communication used in the communication system of the present embodiment will be described.

従来、2.4GHz帯や5GHz帯のWi−Fiを用いた、最大数百Mbpsでの無線通信(以下、Wi−Fi通信という)は、普及している。その一方で、テレビやカメラの画素数の向上や記憶デバイスの大容量化に伴い、通信可能なデータのサイズは、ギガバイト単位となり、従来に比べて大きくなってきている。このようなサイズの大きいデータの送受信には、Wi−Fi通信を用いると、時間がかかってしまうという問題がある。   Conventionally, wireless communication at a maximum of several hundreds Mbps (hereinafter referred to as Wi-Fi communication) using Wi-Fi in the 2.4 GHz band or the 5 GHz band has been widespread. On the other hand, with the improvement in the number of pixels of televisions and cameras and the increase in the capacity of storage devices, the size of communicable data is in units of gigabytes and has become larger than before. There is a problem that it takes time to transmit and receive such large data when using Wi-Fi communication.

上記問題を解決するため、本実施の形態では、高速無線伝送が期待されるWiGig通信を用いる。WiGig通信は、比較的利用の少ないミリ波に属する60GHzの電波帯を使用する。これにより、WiGig通信は、7−9GHzもの広い帯域を使い、最大では7Gbpsの高速デジタル無線伝送を行うことができる。また、WiGig通信は、無線通信装置同士が直接通信できるといった特徴がある。さらに、WiGig通信は、各無線通信装置がSTA、PCPのどちらのロールでも動作できるといった特徴もある。   In order to solve the above problem, this embodiment uses WiGig communication that is expected to perform high-speed wireless transmission. WiGig communication uses a 60 GHz radio wave band that belongs to millimeter waves that are relatively rarely used. Thereby, WiGig communication can perform a high-speed digital wireless transmission of 7 Gbps at maximum using a wide band of 7-9 GHz. In addition, WiGig communication has a feature that wireless communication devices can directly communicate with each other. Furthermore, WiGig communication has a feature that each wireless communication apparatus can operate in either STA or PCP rolls.

このようなWiGig通信を用いることで、本実施の形態の通信システムは、ギガバイト単位のデータであっても、その送受信にかかる時間を大幅に短縮できる。そして、本実施の形態の通信システムでは、Wi−Fiで用いられてきたWPSをWiGigに適用できるようにするため、本発明が生じた。   By using such WiGig communication, the communication system according to the present embodiment can significantly reduce the time required for transmission and reception of data even in units of gigabytes. In the communication system according to the present embodiment, the present invention has occurred in order to make it possible to apply WPS used in Wi-Fi to WiGig.

<無線通信装置100の構成>
図1において、本実施の形態にかかる無線通信装置100は、無線通信装置200との間で、WiGig通信を行うために、通信設定を行う。無線通信装置100および無線通信装置200の適用先は、スマートフォン、タブレット、パソコン、ブルーレイディスクレコーダ、テレビ、ゲーム機、音楽プレーヤ、ドングル、アクセスポイント、ルータ、などが挙げられる。なお、ドングルは、例えば、USB(Universal Serial Bus)などのインターフェースにより所定の装置に着脱可能なデバイスである。
<Configuration of Wireless Communication Device 100>
In FIG. 1, the wireless communication apparatus 100 according to the present embodiment performs communication settings in order to perform WiGig communication with the wireless communication apparatus 200. Applications of the wireless communication device 100 and the wireless communication device 200 include smartphones, tablets, personal computers, Blu-ray disc recorders, televisions, game machines, music players, dongles, access points, routers, and the like. The dongle is a device that can be attached to and detached from a predetermined device through an interface such as USB (Universal Serial Bus).

無線通信装置100は、演算部102、記憶部103、通信部104、表示部105、および操作部106を有する。   The wireless communication apparatus 100 includes a calculation unit 102, a storage unit 103, a communication unit 104, a display unit 105, and an operation unit 106.

演算部102は、例えば、電源、マザーボード、CPU(Central Processing Unit)、制御プログラムを格納したROM(Read Only Memory)などの記録媒体、およびRAM(Random Access Memory)などの作業用メモリなどで構成される。   The arithmetic unit 102 includes, for example, a power source, a motherboard, a CPU (Central Processing Unit), a recording medium such as a ROM (Read Only Memory) storing a control program, and a working memory such as a RAM (Random Access Memory). The

そして、本実施の形態において、演算部102は、設定開始部107、ロール決定部108、機器探索部109、接続部110、認証鍵交換判断部111、秘密鍵共有部112、認証鍵交換部113、および切断部114を有する。これら各部の機能は、CPUが制御プログラムを実行することにより実現される。各部の詳細は後述する。   In this embodiment, the calculation unit 102 includes a setting start unit 107, a role determination unit 108, a device search unit 109, a connection unit 110, an authentication key exchange determination unit 111, a secret key sharing unit 112, and an authentication key exchange unit 113. And a cutting portion 114. The functions of these units are realized by the CPU executing a control program. Details of each part will be described later.

なお、演算部102は、SoC(System on a Chip)のように、1つの半導体チップ上に集積した集積回路で構成されてもよい。その場合、演算部102の各部は、個別に1チップ化してもよいし、複数で1チップ化してもよい。集積回路は、集積度の違いにより、LSI(Large Scale Integration)、IC(Integrated Circuit)、システムLSI、スーパーLSI、またはウルトラLSI等とすることができる。また、集積回路は、専用回路または汎用プロセッサにより実現するものであってもよい。また、集積回路は、その製造後にプログラムすることが可能なFPGA(Field Programmable Gate Array)、または、内部の回路セルの接続や設定を再構成可能なコンフィギュラブル・プロセッサとしてもよい。さらに、演算部102の各部は、半導体技術の進歩または派生する別技術に応じて、LSIに置き換わる他の集積回路化の技術(例えばバイオ技術)により集積化されたものにより実現されてもよい。   Note that the arithmetic unit 102 may be configured by an integrated circuit integrated on one semiconductor chip, such as SoC (System on a Chip). In that case, each part of the arithmetic unit 102 may be individually made into one chip, or a plurality of parts may be made into one chip. The integrated circuit can be an LSI (Large Scale Integration), an IC (Integrated Circuit), a system LSI, a super LSI, an ultra LSI, or the like depending on the degree of integration. The integrated circuit may be realized by a dedicated circuit or a general-purpose processor. The integrated circuit may be an FPGA (Field Programmable Gate Array) that can be programmed after its manufacture, or a configurable processor that can reconfigure internal circuit cell connections and settings. Furthermore, each unit of the arithmetic unit 102 may be realized by integration by other integrated circuit technology (for example, biotechnology) that replaces LSI in accordance with progress of semiconductor technology or other derived technology.

記憶部103は、例えば、HDD(Hard Disc Drive)、SSD(Solid State Drive)、フラッシュメモリなどの不揮発性の記憶媒体である。記憶部103は、オペレーティングシステムおよびアプリケーションなどのソフトウェア、ならびに、パラメータとしての各種情報を記憶している。なお、上記ソフトウェアは、演算部102のメモリにロードされ、CPUで演算処理されることで、起動、動作する。   The storage unit 103 is a non-volatile storage medium such as an HDD (Hard Disc Drive), an SSD (Solid State Drive), or a flash memory. The storage unit 103 stores software such as an operating system and applications, and various types of information as parameters. The software is loaded into the memory of the calculation unit 102 and is activated and operated by being processed by the CPU.

そして、本実施の形態において、記憶部103は、設定情報115および自装置情報116を有する。これらの情報の詳細は後述する。   In the present embodiment, the storage unit 103 includes setting information 115 and own device information 116. Details of these information will be described later.

通信部104は、無線通信装置200との間で、WiGig通信を実現するためのインターフェースである。また、通信部104は、無線通信装置200との間で、WPSおよびWPA(WPA2も含む)を実現するためのインターフェースでもある。なお、WPA2とは、Wi−Fiアライアンスが定めた無線LANの暗号化方式の規格であり、WPAより強力な暗号に対応している。   The communication unit 104 is an interface for realizing WiGig communication with the wireless communication device 200. The communication unit 104 is also an interface for realizing WPS and WPA (including WPA2) with the wireless communication apparatus 200. WPA2 is a wireless LAN encryption standard defined by the Wi-Fi Alliance, and is compatible with stronger encryption than WPA.

表示部105は、例えば、液晶ディスプレイなどの表示用デバイスである。なお、この表示部105は、必須の構成でなくてもよい。   The display unit 105 is a display device such as a liquid crystal display. The display unit 105 may not be an essential configuration.

操作部106は、例えば、キーボード、マウス、ハードウェアのボタン、タッチパネルなどの、ユーザの操作を受け付ける入力用デバイスである。   The operation unit 106 is an input device that accepts a user operation, such as a keyboard, a mouse, a hardware button, or a touch panel.

ここで、演算部102が備える、設定開始部107、ロール決定部108、機器探索部109、接続部110、認証鍵交換判断部111、秘密鍵共有部112、認証鍵交換部113、および切断部114について、それぞれ説明する。   Here, a setting start unit 107, a role determination unit 108, a device search unit 109, a connection unit 110, an authentication key exchange determination unit 111, a secret key sharing unit 112, an authentication key exchange unit 113, and a disconnection unit included in the calculation unit 102 Each of 114 will be described.

設定開始部107は、操作部106から通信設定開始要求を入力する。なお、操作部106は、ユーザから通信設定の開始を要求する操作を受け付けると、通信設定開始要求を生成し、設定開始部107へ出力する。通信設定は、この通信設定開始要求の出力をトリガとして、開始する。   The setting start unit 107 inputs a communication setting start request from the operation unit 106. When the operation unit 106 receives an operation requesting the start of communication setting from the user, the operation unit 106 generates a communication setting start request and outputs the request to the setting start unit 107. The communication setting starts with the output of the communication setting start request as a trigger.

設定開始部107は、通信設定開始要求の入力をトリガとして、記憶部103から設定情報115および自装置情報116を読み出す。設定情報115および自装置情報116の詳細は後述する。   The setting start unit 107 reads out the setting information 115 and the own device information 116 from the storage unit 103 with the input of the communication setting start request as a trigger. Details of the setting information 115 and the own device information 116 will be described later.

設定開始部107は、読み出した設定情報115および自装置情報116をロール決定部108へ出力する。   The setting start unit 107 outputs the read setting information 115 and own device information 116 to the role determination unit 108.

ロール決定部108は、設定開始部107から設定情報115と自装置情報116、および、機器探索部109または接続部110から機器探索結果を入力する。機器探索結果は、機器探索部109または接続部110から出力される情報であり、通信相手(適宜「接続相手」ともいう)となる無線通信装置を探索した結果を示す情報である。ここでロール決定部108へ入力される機器探索結果は、探索の結果が失敗である旨を示す情報である。なお、無線通信装置100がSTAである場合、機器探索結果は、機器探索部109からロール決定部108へ出力される。一方、無線通信装置100がPCPである場合、機器探索結果は、接続部110からロール決定部108へ出力される。   The role determination unit 108 inputs the setting information 115 and the own device information 116 from the setting start unit 107 and the device search result from the device search unit 109 or the connection unit 110. The device search result is information output from the device search unit 109 or the connection unit 110, and is information indicating a result of searching for a wireless communication device that is a communication partner (also referred to as “connection partner” as appropriate). Here, the device search result input to the role determination unit 108 is information indicating that the search result is a failure. When the wireless communication device 100 is an STA, the device search result is output from the device search unit 109 to the role determination unit 108. On the other hand, when the wireless communication device 100 is a PCP, the device search result is output from the connection unit 110 to the role determination unit 108.

ロール決定部108は、自装置情報116、および、機器探索結果に基づいて、無線通信装置100のロールをSTAまたはPCPのいずれかに決定する。この決定結果、すなわちSTAまたはPCPを示す情報は、以下「ロール決定結果」という。なお、ロール決定部108は、入力した設定情報115を、ロールの決定には用いず、次の機器探索部109へ送る。   The role determination unit 108 determines the role of the wireless communication device 100 as either STA or PCP based on the own device information 116 and the device search result. This determination result, that is, information indicating STA or PCP is hereinafter referred to as “role determination result”. The role determining unit 108 sends the input setting information 115 to the next device searching unit 109 without using the setting information 115 for determining the role.

上記ロールの決定は、任意の方法が採用できる。例えば、ロール決定部108は、初回のロール決定時に、自装置のロールをSTAに決定するように予め定められている。その後、機器探索結果が失敗だった場合、ロール決定部108は、自装置のロールをPCPに変更する。なお、このようにロールの変更が行われる場合は、自装置がSTAまたはPCPのいずれの機能も有し、自装置情報116に、自装置がSTAまたはPCPのいずれにもなりうる旨が設定されていることが前提となる。   Any method can be adopted to determine the roll. For example, the role determination unit 108 is determined in advance to determine the role of its own device as the STA when the first roll is determined. Thereafter, when the device search result is unsuccessful, the role determination unit 108 changes the role of the own device to PCP. When the role is changed in this way, the own device has both functions of STA and PCP, and the own device information 116 is set to indicate that the own device can be either STA or PCP. It is a prerequisite.

ロール決定部108は、ロール決定結果、設定情報115、および自装置情報116を機器探索部109へ出力する。   The role determination unit 108 outputs the role determination result, the setting information 115, and the own device information 116 to the device search unit 109.

機器探索部109は、ロール決定部108から、ロール決定結果、設定情報115、および自装置情報116を入力する。   The device search unit 109 receives the role determination result, the setting information 115, and the own device information 116 from the role determination unit 108.

<STA動作の説明>
ここで、まず、ロール決定結果が、STAである場合の動作について説明する。この場合、機器探索部109は、周辺のPCPが送信するビーコンを探すためのスキャンを行う。
<Description of STA operation>
Here, first, the operation when the role determination result is STA will be described. In this case, the device search unit 109 performs a scan for searching for beacons transmitted by neighboring PCPs.

スキャンの結果、一定期間に、WPS用と識別できるビーコン(以下、WPS用ビーコンという)を受信しなかった場合、機器探索部109は、ロール決定に戻る。この場合、機器探索部109は、探索の結果が失敗である旨を示す機器探索結果を、ロール決定部108へ出力する。   As a result of the scan, if a beacon that can be identified as being for WPS (hereinafter referred to as a WPS beacon) is not received within a certain period, the device search unit 109 returns to role determination. In this case, the device search unit 109 outputs a device search result indicating that the search result is unsuccessful to the role determination unit 108.

一方、スキャンの結果、一定期間に、WPS用ビーコンを受信できた場合、機器探索部109は、まず、WPS用ビーコンに含まれているパラメータに基づいて、探索できた通信相手の相手装置情報を生成する。この相手装置情報は、SSID(Service Set Identifier)、MACアドレス、Device Password ID、および通信周波数帯を含む。例えば、探索できた通信相手が無線通信装置200である場合、相手装置情報は、無線通信装置200に関する内容となる。そして、機器探索部109は、探索の結果が成功である旨を示す機器探索結果、生成した相手装置情報、設定情報115、および自装置情報116を、接続部110へ出力する。   On the other hand, if the WPS beacon is received within a certain period as a result of the scan, the device search unit 109 first searches for the partner device information of the communication partner that has been searched based on the parameters included in the WPS beacon. Generate. This counterpart device information includes an SSID (Service Set Identifier), a MAC address, a Device Password ID, and a communication frequency band. For example, when the communication partner that has been searched for is the wireless communication device 200, the partner device information is the content related to the wireless communication device 200. Then, the device search unit 109 outputs the device search result indicating that the search result is successful, the generated partner device information, the setting information 115, and the own device information 116 to the connection unit 110.

<PCP動作の説明>
次に、ロール決定結果が、PCPである場合の動作について説明する。この場合、機器探索部109は、通信部104を介して、WPS用ビーコンを周囲に送信する。そして、機器探索部109は、設定情報115および自装置情報116を、接続部110へ出力する。
<Description of PCP operation>
Next, an operation when the roll determination result is PCP will be described. In this case, the device search unit 109 transmits a WPS beacon to the surroundings via the communication unit 104. Device searching section 109 then outputs setting information 115 and own apparatus information 116 to connecting section 110.

接続部110は、無線通信装置100がSTAである場合とPCPである場合とで、それぞれ、以下のように動作する。   Connection unit 110 operates as follows depending on whether radio communication apparatus 100 is an STA or a PCP.

<STA動作の説明>
接続部110は、無線通信装置100がSTAである場合、以下のように動作する。まず、接続部110は、機器探索部109から、機器探索結果、相手装置情報、設定情報115、および自装置情報116を入力する。そして、接続部110は、通信部104を介して、接続要求であるProbe requestを無線通信装置200へ送信し、無線通信装置200からProbe responseを受信する。その後、接続部110は、Association requestを無線通信装置200へ送信し、無線通信装置200からAssociation responseを受信する。このようにして、接続部110は、認証鍵交換のための接続処理を完了する。
<Description of STA operation>
The connection unit 110 operates as follows when the wireless communication apparatus 100 is an STA. First, the connection unit 110 inputs a device search result, counterpart device information, setting information 115, and own device information 116 from the device search unit 109. Then, the connection unit 110 transmits a probe request that is a connection request to the wireless communication device 200 via the communication unit 104 and receives a probe response from the wireless communication device 200. Thereafter, connecting unit 110 transmits an association request to radio communication apparatus 200 and receives an association response from radio communication apparatus 200. In this way, the connection unit 110 completes the connection process for authentication key exchange.

<PCP動作の説明>
一方、接続部110は、無線通信装置100がPCPである場合、以下のように動作する。まず、接続部110は、機器探索部109から、設定情報115および自装置情報116を入力する。そして、接続部110は、通信部104を介して、一定期間に周囲から、接続要求であるProbe requestを受信しなかった場合、ロール決定に戻る。この場合、接続部110は、まず、機器探索部109へ、WPS用ビーコンの送信を停止させる制御信号を出力する。次に、接続部110は、探索の結果が失敗である旨を示す機器探索結果を、ロール決定部108へ出力する。
<Description of PCP operation>
On the other hand, when the wireless communication apparatus 100 is a PCP, the connection unit 110 operates as follows. First, the connection unit 110 inputs the setting information 115 and the own device information 116 from the device search unit 109. When the connection unit 110 does not receive a probe request as a connection request from the surroundings for a certain period of time via the communication unit 104, the connection unit 110 returns to role determination. In this case, the connection unit 110 first outputs a control signal for stopping the transmission of the WPS beacon to the device search unit 109. Next, the connection unit 110 outputs a device search result indicating that the search result is unsuccessful to the role determination unit 108.

一方で、一定期間に周囲からProbe requestを受信した場合、接続部110は、Probe requestに含まれているパラメータに基づいて、Probe requestの送信元である通信相手の相手装置情報を生成する。この相手装置情報は、MACアドレスおよび通信周波数帯を含む。例えば、Probe requestの送信元である通信相手が無線通信装置200である場合、相手装置情報は、無線通信装置200に関する内容となる。そして、接続部110は、Probe responseを生成し、無線通信装置200へ送信する。その後、接続部110は、無線通信装置200からAssociation requestを受信すると、Association responseを無線通信装置200へ送信する。このようにして、接続部110は、認証鍵交換のための接続処理を完了する。   On the other hand, when a probe request is received from the surroundings for a certain period, the connection unit 110 generates partner apparatus information of a communication partner that is a probe request transmission source based on parameters included in the probe request. This counterpart device information includes a MAC address and a communication frequency band. For example, when the communication partner that is the transmission source of the probe request is the wireless communication device 200, the partner device information is the content regarding the wireless communication device 200. Connection section 110 then generates a probe response and transmits it to radio communication apparatus 200. Thereafter, when the connection unit 110 receives an association request from the wireless communication device 200, the connection unit 110 transmits an association response to the wireless communication device 200. In this way, the connection unit 110 completes the connection process for authentication key exchange.

上述したように、通信相手との接続処理が完了すると、接続部110は、相手装置情報、設定情報115、および自装置情報116を、認証鍵交換判断部111へ出力する。相手装置情報は、上述した通り、少なくとも、MACアドレスおよび通信周波数帯を含む。なお、通信相手がPCPである場合の相手装置情報は、通信相手のSSIDも含む。また、上記接続処理の完了は、無線通信装置100と無線通信装置200の接続が成功することを意味する。以下では、この接続が成功した場合を前提として説明をするが、接続が失敗する場合もありうる。接続が失敗した場合、接続部110は、上記接続処理の再試行を行う。   As described above, when the connection process with the communication partner is completed, the connection unit 110 outputs the partner device information, the setting information 115, and the own device information 116 to the authentication key exchange determination unit 111. As described above, the partner device information includes at least a MAC address and a communication frequency band. Note that the partner device information when the communication partner is PCP includes the SSID of the communication partner. The completion of the connection process means that the connection between the wireless communication apparatus 100 and the wireless communication apparatus 200 is successful. In the following, the description will be made on the assumption that this connection is successful, but the connection may fail. If the connection fails, the connection unit 110 retries the connection process.

認証鍵交換判断部111は、接続部110から、相手装置情報、設定情報115、および自装置情報116を入力する。   Authentication key exchange determination unit 111 receives counterpart device information, setting information 115 and host device information 116 from connection unit 110.

認証鍵交換判断部111は、相手装置情報および自装置情報116に基づいて、無線通信装置100と無線通信装置200の両方がWiGig通信を可能とするか否かを判断する。そして、認証鍵交換判断部111は、無線通信装置100と無線通信装置200の両方がWiGig通信を可能とすると判断した場合、認証鍵交換フラグを立てる。一方、認証鍵交換判断部111は、無線通信装置100と無線通信装置200のいずれのみがWiGig通信を可能とすると判断した場合、認証鍵交換フラグを立てない。なお、上記判断において、「WiGig通信を可能とするか否か」は、「WiGigデバイスを搭載しているか否か」と言い換えることもできる。   Authentication key exchange determining section 111 determines whether both wireless communication apparatus 100 and wireless communication apparatus 200 are capable of WiGig communication based on counterpart apparatus information and own apparatus information 116. If the authentication key exchange determination unit 111 determines that both the wireless communication apparatus 100 and the wireless communication apparatus 200 can perform WiGig communication, the authentication key exchange determination unit 111 sets an authentication key exchange flag. On the other hand, if it is determined that only one of the wireless communication device 100 and the wireless communication device 200 can perform WiGig communication, the authentication key exchange determination unit 111 does not set an authentication key exchange flag. In the above determination, “whether or not WiGig communication is enabled” can be rephrased as “whether or not a WiGig device is installed”.

認証鍵交換フラグが立つということは、認証鍵交換判断部111が、無線通信装置100と無線通信装置200との間で、WPAに用いられる認証鍵の交換が必要であると判断した、ことを意味する。なお、交換される認証鍵は、通信相手がPCPである場合の認証鍵である。すなわち、「認証鍵の交換」は、例えば、以下の動作となる。無線通信装置100は、自装置が保持している、無線通信装置100がPCPである場合の認証鍵を、無線通信装置200へ送信する。無線通信装置200は、無線通信装置100がPCPである場合の認証鍵を受信して自装置に保存する。これと同様に、無線通信装置200は、自装置が保持している、無線通信装置200がPCPである場合の認証鍵を、無線通信装置100へ送信する。無線通信装置100は、無線通信装置200がPCPである場合の認証鍵を受信して自装置に保存する。   The fact that the authentication key exchange flag is set means that the authentication key exchange determination unit 111 has determined that an authentication key used for WPA needs to be exchanged between the wireless communication apparatus 100 and the wireless communication apparatus 200. means. The exchanged authentication key is an authentication key when the communication partner is a PCP. That is, “exchange of authentication key” is performed as follows, for example. The wireless communication device 100 transmits to the wireless communication device 200 an authentication key held by the device itself when the wireless communication device 100 is a PCP. The wireless communication device 200 receives the authentication key when the wireless communication device 100 is a PCP and stores it in its own device. Similarly, the wireless communication device 200 transmits to the wireless communication device 100 an authentication key held by the wireless communication device 200 when the wireless communication device 200 is a PCP. The wireless communication device 100 receives an authentication key when the wireless communication device 200 is a PCP and stores it in its own device.

認証鍵交換判断部111は、相手装置情報、設定情報115、および自装置情報116を秘密鍵共有部112へ出力する。また、認証鍵交換判断部111は、認証鍵交換フラグを認証鍵交換部113へ出力する。   Authentication key exchange determination unit 111 outputs counterpart device information, setting information 115, and own device information 116 to secret key sharing unit 112. Further, the authentication key exchange determination unit 111 outputs an authentication key exchange flag to the authentication key exchange unit 113.

秘密鍵共有部112は、認証鍵交換判断部111から、相手装置情報、設定情報115、および自装置情報116を入力する。次に、秘密鍵共有部112は、接続相手である無線通信装置200との間で、Diffie-Hellman鍵共有方法(DH法)を用いて、秘密鍵を作成し、通信部104を介して共有する。そして、秘密鍵共有部112は、秘密鍵、相手装置情報、設定情報115、および自装置情報116を、認証鍵交換部113へ出力する。   The secret key sharing unit 112 inputs the counterpart device information, the setting information 115, and the own device information 116 from the authentication key exchange determination unit 111. Next, the secret key sharing unit 112 creates a secret key using the Diffie-Hellman key sharing method (DH method) with the wireless communication apparatus 200 that is a connection partner, and shares the secret key via the communication unit 104. To do. Then, the secret key sharing unit 112 outputs the secret key, counterpart device information, setting information 115, and own device information 116 to the authentication key exchanging unit 113.

認証鍵交換部113は、秘密鍵共有部112から、秘密鍵、相手装置情報、設定情報115、および自装置情報116を入力する。また、認証鍵交換部113は、認証鍵交換判断部111から、認証鍵交換フラグを入力する。   The authentication key exchanging unit 113 inputs the secret key, partner device information, setting information 115, and own device information 116 from the secret key sharing unit 112. Further, the authentication key exchange unit 113 inputs an authentication key exchange flag from the authentication key exchange determination unit 111.

<STA動作の説明>
ここで、無線通信装置100がSTAである場合、かつ、認証鍵交換フラグが立っていない場合、認証鍵交換部113は、以下のように動作する。
<Description of STA operation>
Here, when the wireless communication apparatus 100 is a STA and the authentication key exchange flag is not set, the authentication key exchange unit 113 operates as follows.

まず、認証鍵交換部113は、PCPである無線通信装置200から通信部104を介して、認証鍵[2]、認証方法、暗号化方法、SSID、MACアドレス(以下、「認証鍵[2]など」という)を受信する。認証鍵[2]は、無線通信装置200がPCPである場合にWPAに用いる認証鍵(第2認証鍵の一例)である。また、ここでいう「認証鍵[2]など」は、例えば、図2を用いて後述する、設定情報215の453〜457である。   First, the authentication key exchanging unit 113 transmits an authentication key [2], an authentication method, an encryption method, an SSID, and a MAC address (hereinafter, “authentication key [2]) from the wireless communication apparatus 200, which is a PCP, via the communication unit 104. Etc.)). The authentication key [2] is an authentication key (an example of a second authentication key) used for WPA when the wireless communication apparatus 200 is a PCP. The “authentication key [2] etc.” here is, for example, 453 to 457 of the setting information 215 described later with reference to FIG.

次に、認証鍵交換部113は、認証鍵[2]などを秘密鍵で復号する。   Next, the authentication key exchange unit 113 decrypts the authentication key [2] and the like with the secret key.

次に、認証鍵交換部113は、SSID毎に、認証鍵[2]、認証方法、暗号化方法、およびMACアドレスを、設定情報115として記憶部103に保存する。この保存された設定情報115は、例えば、図2を用いて後述する、相手PCP設定情報408である。   Next, the authentication key exchange unit 113 stores the authentication key [2], the authentication method, the encryption method, and the MAC address in the storage unit 103 as setting information 115 for each SSID. The stored setting information 115 is, for example, counterpart PCP setting information 408, which will be described later with reference to FIG.

一方、無線通信装置100がSTAである場合、かつ、認証鍵交換フラグが立っている場合、認証鍵交換部113は、以下のように動作する。   On the other hand, when the wireless communication apparatus 100 is a STA and the authentication key exchange flag is set, the authentication key exchange unit 113 operates as follows.

まず、認証鍵交換部113は、自装置が保持する認証鍵[1]、認証方法、暗号化方法、SSID、MACアドレス(以下、「認証鍵[1]など」という)を秘密鍵で暗号化する。認証鍵[1]は、無線通信装置100がPCPである場合にWPAに用いる認証鍵(第1認証鍵の一例)である。また、ここでいう「認証鍵[1]など」は、例えば、図2を用いて後述する、設定情報115の403〜407である。   First, the authentication key exchanging unit 113 encrypts the authentication key [1], the authentication method, the encryption method, the SSID, and the MAC address (hereinafter referred to as “authentication key [1]”) held by the own device with a secret key. To do. The authentication key [1] is an authentication key (an example of a first authentication key) used for WPA when the wireless communication apparatus 100 is a PCP. The “authentication key [1] etc.” here is, for example, 403 to 407 of the setting information 115 described later with reference to FIG.

次に、認証鍵交換部113は、暗号化した認証鍵[1]などを、通信部104を介して、PCPである無線通信装置200へ送信する。   Next, the authentication key exchanging unit 113 transmits the encrypted authentication key [1] and the like to the wireless communication apparatus 200 that is a PCP via the communication unit 104.

次に、認証鍵交換部113は、上述した、無線通信装置100がSTAである場合、かつ、認証鍵交換フラグが立っていない場合と同じ動作を行う。   Next, the authentication key exchange unit 113 performs the same operation as described above when the wireless communication apparatus 100 is an STA and the authentication key exchange flag is not set.

<PCP動作の説明>
また、認証鍵交換部113は、無線通信装置100がPCPである場合、かつ、認証鍵交換フラグが立っていない場合、以下のように動作する。
<Description of PCP operation>
Authentication key exchanging section 113 operates as follows when wireless communication apparatus 100 is PCP and when the authentication key exchange flag is not set.

まず、認証鍵交換部113は、自装置が保持する認証鍵[1]などを秘密鍵で暗号化する。   First, the authentication key exchange unit 113 encrypts the authentication key [1] and the like held by its own device with a secret key.

そして、認証鍵交換部113は、暗号化した認証鍵[1]などを、通信部104を介して、STAである無線通信装置200へ送信する。   Then, the authentication key exchanging unit 113 transmits the encrypted authentication key [1] or the like to the wireless communication apparatus 200 that is the STA via the communication unit 104.

一方、無線通信装置100がPCPである場合、かつ、認証鍵交換フラグが立っている場合、認証鍵交換部113は、以下のように動作する。   On the other hand, when the wireless communication device 100 is a PCP and the authentication key exchange flag is set, the authentication key exchange unit 113 operates as follows.

まず、認証鍵交換部113は、STAである無線通信装置200から通信部104を介して受信した認証鍵[2]などを、秘密鍵で復号する。   First, the authentication key exchanging unit 113 decrypts the authentication key [2] received from the wireless communication apparatus 200 as the STA via the communication unit 104 with the secret key.

そして、認証鍵交換部113は、SSID毎に、認証鍵[2]、認証方法、暗号化方法、およびMACアドレスを、設定情報115として記憶部103に保存する。   Then, the authentication key exchange unit 113 stores the authentication key [2], the authentication method, the encryption method, and the MAC address in the storage unit 103 as setting information 115 for each SSID.

その後、認証鍵交換部113は、上述した、無線通信装置100がPCPである場合、かつ、認証鍵交換フラグが立っている場合と同じ動作を行う。   Thereafter, the authentication key exchange unit 113 performs the same operation as described above when the wireless communication device 100 is PCP and the authentication key exchange flag is set.

以上のように、認証鍵交換部113は、設定情報の交換、換言すれば認証鍵の交換を行う。認証鍵の交換の後、認証鍵交換部113は、交換結果を切断部114へ出力する。交換結果は、認証鍵の交換に成功したかまたは失敗したかを示す情報である。   As described above, the authentication key exchanging unit 113 exchanges setting information, in other words, exchanges authentication keys. After the authentication key exchange, the authentication key exchange unit 113 outputs the exchange result to the cutting unit 114. The exchange result is information indicating whether the exchange of the authentication key has succeeded or failed.

切断部114は、認証鍵交換部113から交換結果を入力する。そして、切断部114は、接続相手である無線通信装置200との間で、切断のためのメッセージを送受信する。その後、切断部114は、WPS処理結果を、例えば表示部105へ出力する。WPS処理結果は、WPSが成功したかまたは失敗したかを示す情報である。   The cutting unit 114 inputs the exchange result from the authentication key exchange unit 113. The disconnection unit 114 transmits and receives a disconnection message to and from the wireless communication device 200 that is the connection partner. Thereafter, the cutting unit 114 outputs the WPS processing result to the display unit 105, for example. The WPS processing result is information indicating whether the WPS has succeeded or failed.

以上で、演算部102が備える各部についての説明を終える。   This is the end of the description of each unit included in the calculation unit 102.

続いて、記憶部103が備える、設定情報115および自装置情報116について、それぞれ説明する。   Subsequently, the setting information 115 and the own device information 116 included in the storage unit 103 will be described.

<設定情報の説明>
まず、図2を用いて、無線通信装置100の設定情報115について説明する。図2は、設定情報115のフォーマット例を示す図である。なお、図2では、無線通信装置200の設定情報215についても図示をしているが、これについては後述する。
<Description of setting information>
First, the setting information 115 of the wireless communication device 100 will be described with reference to FIG. FIG. 2 is a diagram illustrating a format example of the setting information 115. In FIG. 2, the setting information 215 of the wireless communication device 200 is also illustrated, but this will be described later.

設定情報115は、自機PCP設定情報402と、相手PCP設定情報408とで構成される。   The setting information 115 includes own PCP setting information 402 and partner PCP setting information 408.

自機PCP設定情報402は、自装置、すなわち無線通信装置100がPCPである場合、WPA実行時に用いられるパラメータ群である。自機PCP設定情報402は、パラメータとして、SSID403、認証方法404、暗号化方法405、認証鍵406、およびMACアドレス407を含む。   The own device PCP setting information 402 is a parameter group used when executing WPA when the own device, that is, the wireless communication device 100 is a PCP. The own PCP setting information 402 includes SSID 403, authentication method 404, encryption method 405, authentication key 406, and MAC address 407 as parameters.

相手PCP設定情報408は、無線通信装置100の通信相手がPCPである場合、WPA実行時に用いられるパラメータ群である。相手PCP設定情報408は、パラメータとして、SSID409、認証方法410、暗号化方法411、認証鍵412、およびMACアドレス413を含む。なお、相手PCP設定情報408は、無線通信装置100との間でWPSが完了している通信相手毎に存在する。すなわち、無線通信装置100が複数の無線通信装置との間でWPSを完了している場合、記憶部103は、無線通信装置毎に相手PCP設定情報408をそれぞれ持つ。   The partner PCP setting information 408 is a parameter group used when executing WPA when the communication partner of the wireless communication apparatus 100 is PCP. The partner PCP setting information 408 includes an SSID 409, an authentication method 410, an encryption method 411, an authentication key 412, and a MAC address 413 as parameters. The partner PCP setting information 408 exists for each communication partner that has completed WPS with the wireless communication apparatus 100. That is, when wireless communication apparatus 100 has completed WPS with a plurality of wireless communication apparatuses, storage unit 103 has counterpart PCP setting information 408 for each wireless communication apparatus.

ここで、自機PCP設定情報402および相手PCP設定情報408の各パラメータについて以下に説明する。なお、以下の各パラメータについては、Wi−Fiにおいて規定されている。   Here, each parameter of own PCP setting information 402 and counterpart PCP setting information 408 will be described below. The following parameters are defined in Wi-Fi.

SSID403は、PCPとして動作する自装置の識別子である。SSID409は、PCPとして動作する通信相手の識別子である。   The SSID 403 is an identifier of the own device that operates as a PCP. The SSID 409 is an identifier of a communication partner that operates as a PCP.

認証方法404、410は、WPAを行う際のプロトコルを指定する項目であり、さまざまな種類がある。図2では、例として、WiGigで用いるプロトコルであるWPA2-personalが指定されている。   Authentication methods 404 and 410 are items for specifying a protocol for performing WPA, and there are various types. In FIG. 2, as an example, WPA2-personal which is a protocol used in WiGig is designated.

暗号化方法405、411は、WPA完了後に通信するデータを暗号化する方法を指定する項目であり、さまざまな種類がある。図2では、例として、WiGigで定められた暗号化方法であるAES−GCMPが指定されている。   Encryption methods 405 and 411 are items for specifying a method for encrypting data to be communicated after completion of WPA, and there are various types. In FIG. 2, AES-GCMP, which is an encryption method defined by WiGig, is specified as an example.

認証鍵406、412は、WPA実行時の鍵認証の際に、PCP側で一致を確認するデータ列である。このデータ列は、例えば、16進数である。なお、認証鍵406、412は、PCP毎に異なるデータ列にするのが一般的である。   The authentication keys 406 and 412 are data strings for confirming the coincidence on the PCP side when performing key authentication during WPA execution. This data string is, for example, a hexadecimal number. The authentication keys 406 and 412 are generally different data strings for each PCP.

MACアドレス407、413は、無線通信装置を識別するための識別子であり、自装置や通信相手の識別および指定に用いられる。   The MAC addresses 407 and 413 are identifiers for identifying the wireless communication device, and are used for identifying and specifying the own device and the communication partner.

このような設定情報115は、例えば、ユーザが無線設定用アプリケーションを起動してパラメータごとに値を入力することで作成される。あるいは、設定情報115は、例えば、WPSを実行することで得た認証鍵などを保存することで作成される。   Such setting information 115 is created, for example, when a user activates a wireless setting application and inputs a value for each parameter. Alternatively, the setting information 115 is created, for example, by storing an authentication key obtained by executing WPS.

<自装置情報の説明>
次に、図3を用いて、自装置情報116について説明する。図3は、自装置情報116のフォーマット例を示す図である。なお、図3では、自装置情報216についても図示をしているが、これについては後述する。
<Description of device information>
Next, the own apparatus information 116 will be described with reference to FIG. FIG. 3 is a diagram illustrating a format example of the own device information 116. In FIG. 3, the device information 216 is also illustrated, but this will be described later.

自装置情報116は、自装置、すなわち無線通信装置100の無線通信の能力に関する情報である。図3の例において、自装置情報116は、無線通信の能力を示すパラメータとして、通信周波数帯1001およびロール情報1002を含む。なお、このような自装置情報の構成については、Wi−FiおよびWiGigには規定はされていない。   The own device information 116 is information regarding the wireless communication capability of the own device, that is, the wireless communication device 100. In the example of FIG. 3, the own device information 116 includes a communication frequency band 1001 and roll information 1002 as parameters indicating wireless communication capability. Note that the configuration of such device information is not defined in Wi-Fi and WiGig.

通信周波数帯(RF Bands)1001は、無線通信装置100が、通信部104を用いて通信可能な周波数帯を示す。例えば、無線通信装置100がWi−Fiを用いて通信可能である場合、通信周波数帯は、「2.4GHz」や「5GHz」という記載である。また、例えば、無線通信装置100がWiGigを用いて通信可能である場合、通信周波数帯は、「60GHz」という記載である。図3の例では、通信周波数帯1001が「60GHz」という記載であることから、無線通信装置100は、WiGigでのみで通信が可能である。なお、無線通信装置100がWi−FiおよびWiGigの両方で通信可能である場合には、通信周波数帯1001は、「2.4GHz、5GHz、60GHz」という記載である。   A communication frequency band (RF Bands) 1001 indicates a frequency band in which the wireless communication apparatus 100 can communicate using the communication unit 104. For example, when the wireless communication apparatus 100 can communicate using Wi-Fi, the communication frequency band is “2.4 GHz” or “5 GHz”. Further, for example, when the wireless communication apparatus 100 can communicate using WiGig, the communication frequency band is described as “60 GHz”. In the example of FIG. 3, since the communication frequency band 1001 is “60 GHz”, the wireless communication device 100 can communicate only with WiGig. Note that when the wireless communication apparatus 100 can communicate with both Wi-Fi and WiGig, the communication frequency band 1001 is “2.4 GHz, 5 GHz, 60 GHz”.

ロール情報1002は、無線通信装置100がWiGig通信可能である場合に、どのロールで動作可能であるかを示す。無線通信装置100がSTAおよびPCPのいずれでも動作可能である場合、図3に示すように、ロール情報1002は、「STA、PCP両方OK」という記載である。一方、無線通信装置100がPCPまたはSTAのいずれかでのみ動作可能である場合、ロール情報1002は、「PCPのみ」または「STAのみ」という記載である。つまり、ロール情報1002の内容を変更することで、自装置のロールは、限定することができる。   The role information 1002 indicates which role the wireless communication apparatus 100 can operate in when WiGig communication is possible. When the wireless communication apparatus 100 can operate in either STA or PCP, the role information 1002 is described as “both STA and PCP OK” as shown in FIG. On the other hand, when the wireless communication apparatus 100 can operate only in either PCP or STA, the role information 1002 is described as “PCP only” or “STA only”. That is, by changing the content of the role information 1002, the role of the own device can be limited.

このような自装置情報116は、ユーザが無線設定用アプリケーションを起動してパラメータごとに値を入力することで作成される。あるいは、自装置情報116は、無線デバイスのドライバやミドルウェアなどのソフトウェアをインストールすることで、自装置の記憶部に保存される。   Such own device information 116 is created when a user starts a wireless setting application and inputs a value for each parameter. Alternatively, the device information 116 is stored in the storage unit of the device itself by installing software such as a wireless device driver or middleware.

以上で、記憶部103が備える各情報についての説明を終える。   Above, description about each information with which the memory | storage part 103 is provided is completed.

このような無線通信装置100では、認証鍵交換判断部111は、無線通信装置100と無線通信装置200の両方がWiGigで通信可能である場合に、認証鍵交換フラグを立てる。そして、認証鍵交換部113は、認証鍵交換フラグが立った場合、無線通信装置100と無線通信装置200との間で、WPA用認証鍵を交換する。これにより、無線通信装置100と無線通信装置200は互いに、通信相手がPCPである場合のWPA用認証鍵を保持することが可能となる。よって、無線通信装置100および無線通信装置200は、WPA実行時にどちらがSTA、PCPになっても、接続することができる。すなわち、無線通信装置100と無線通信装置200は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、接続が可能となる。   In such a wireless communication apparatus 100, the authentication key exchange determination unit 111 sets an authentication key exchange flag when both the wireless communication apparatus 100 and the wireless communication apparatus 200 are communicable with WiGig. Then, when the authentication key exchange flag is set, the authentication key exchange unit 113 exchanges the WPA authentication key between the wireless communication device 100 and the wireless communication device 200. As a result, the wireless communication device 100 and the wireless communication device 200 can hold the WPA authentication key when the communication partner is PCP. Therefore, the wireless communication device 100 and the wireless communication device 200 can be connected regardless of which is STA or PCP when WPA is executed. That is, the wireless communication device 100 and the wireless communication device 200 can be connected even if the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

<無線通信装置200の構成>
図1において、無線通信装置200は、演算部202、記憶部203、通信部204、表示部205、および操作部206を有する。これら各機能部は、順に、無線通信装置100の、演算部102、記憶部103、通信部104、表示部105、および操作部106と同一の機能を有する。
<Configuration of Wireless Communication Device 200>
In FIG. 1, the wireless communication apparatus 200 includes a calculation unit 202, a storage unit 203, a communication unit 204, a display unit 205, and an operation unit 206. Each of these functional units has the same functions as the arithmetic unit 102, the storage unit 103, the communication unit 104, the display unit 105, and the operation unit 106 of the wireless communication apparatus 100 in order.

また、演算部202は、設定開始部207、ロール決定部208、機器探索部209、接続部210、認証鍵交換判断部211、秘密鍵共有部212、認証鍵交換部213、および切断部214を有する。これら各機能部は、順に、無線通信装置100の、設定開始部107、ロール決定部108、機器探索部109、接続部110、認証鍵交換判断部111、秘密鍵共有部112、認証鍵交換部113、および切断部114と同一の機能を有する。   The calculation unit 202 includes a setting start unit 207, a role determination unit 208, a device search unit 209, a connection unit 210, an authentication key exchange determination unit 211, a secret key sharing unit 212, an authentication key exchange unit 213, and a disconnection unit 214. Have. These functional units are, in order, the setting start unit 107, the role determination unit 108, the device search unit 109, the connection unit 110, the authentication key exchange determination unit 111, the secret key sharing unit 112, and the authentication key exchange unit of the wireless communication apparatus 100. 113 and the cutting unit 114 have the same functions.

したがって、無線通信装置200の構成は、無線通信装置100の構成と同一である。このため、無線通信装置200の構成についての説明は、省略する。   Therefore, the configuration of radio communication apparatus 200 is the same as that of radio communication apparatus 100. For this reason, the description about the structure of the radio | wireless communication apparatus 200 is abbreviate | omitted.

また、記憶部203は、設定情報215および自装置情報216を有する。これらの各情報は、順に、無線通信装置100の設定情報115および自装置情報116と同じ構成である。   In addition, the storage unit 203 includes setting information 215 and own device information 216. Each of these pieces of information has the same configuration as the setting information 115 and the own device information 116 of the wireless communication device 100 in order.

図2に示すように、無線通信装置200の設定情報215は、自機PCP設定情報452と、相手PCP設定情報458とで構成される。これらの情報は、順に、設定情報115の、自機PCP設定情報402と、相手PCP設定情報408と同一の構成である。   As shown in FIG. 2, the setting information 215 of the wireless communication apparatus 200 is configured with own PCP setting information 452 and counterpart PCP setting information 458. These pieces of information have the same configuration as that of the own PCP setting information 402 and the partner PCP setting information 408 of the setting information 115 in order.

また、図2に示すように、自機PCP設定情報452は、パラメータとして、SSID453、認証方法454、暗号化方法455、認証鍵456、およびMACアドレス457を含む。これらの情報は、順に、無線通信装置100の設定情報115の、SSID403、認証方法404、暗号化方法405、認証鍵406、およびMACアドレス407と同一の構成である。   As shown in FIG. 2, own PCP setting information 452 includes SSID 453, authentication method 454, encryption method 455, authentication key 456, and MAC address 457 as parameters. These pieces of information have the same configuration as the SSID 403, the authentication method 404, the encryption method 405, the authentication key 406, and the MAC address 407 of the setting information 115 of the wireless communication apparatus 100 in order.

また、図2に示すように、相手PCP設定情報458は、パラメータとして、SSID459、認証方法460、暗号化方法461、認証鍵462、およびMACアドレス463を含む。これらの情報は、順に、設定情報115の、SSID409、認証方法410、暗号化方法411、認証鍵412、およびMACアドレス413と同一の構成である。   As shown in FIG. 2, the partner PCP setting information 458 includes an SSID 459, an authentication method 460, an encryption method 461, an authentication key 462, and a MAC address 463 as parameters. These pieces of information have the same configuration as the SSID 409, the authentication method 410, the encryption method 411, the authentication key 412, and the MAC address 413 of the setting information 115 in this order.

また、図3に示すように、自装置情報216は、通信周波数帯1003と、ロール情報1004とで構成される。これらの情報は、順に、自装置情報116の、通信周波数帯1001と、ロール情報1002と同一の構成である。   As shown in FIG. 3, the own device information 216 includes a communication frequency band 1003 and roll information 1004. These pieces of information have the same configuration as the communication frequency band 1001 and the roll information 1002 of the own apparatus information 116 in order.

したがって、設定情報215および自装置情報216の構成は、設定情報115および自装置情報116の構成とそれぞれ同一である。このため、設定情報215および自装置情報216の構成についての説明は、省略する。   Therefore, the configuration of the setting information 215 and the own device information 216 is the same as the configuration of the setting information 115 and the own device information 116, respectively. For this reason, description about the structure of the setting information 215 and the own apparatus information 216 is abbreviate | omitted.

このような無線通信装置200は、無線通信装置100と同様の効果を得ることができる。つまり、無線通信装置100と無線通信装置200は互いに、通信相手がPCPである場合のWPS用認証鍵を保持することが可能となる。よって、無線通信装置100および無線通信装置200は、WPA実行時にどちらがSTA、PCPになっても、接続することができる。すなわち、無線通信装置100と無線通信装置200は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、接続が可能となる。   Such a wireless communication device 200 can obtain the same effects as the wireless communication device 100. That is, the wireless communication device 100 and the wireless communication device 200 can hold the WPS authentication key when the communication partner is PCP. Therefore, the wireless communication device 100 and the wireless communication device 200 can be connected regardless of which is STA or PCP when WPA is executed. That is, the wireless communication device 100 and the wireless communication device 200 can be connected even if the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

<通信システムの動作>
以下、本実施の形態に係る通信システム、すなわち無線通信装置100および無線通信装置200間で行われる通信設定の動作例を、図4および図5を用いて説明する。
<Operation of communication system>
Hereinafter, an operation example of communication setting performed between the communication system according to the present embodiment, that is, between the wireless communication apparatus 100 and the wireless communication apparatus 200 will be described with reference to FIGS. 4 and 5.

図4は、無線通信装置100と無線通信装置200で行う通信設定の動作の一例を示すフローチャートである。図5は、図4に示す動作に対応する、無線通信装置間のメッセージの送受信例を示すシーケンス図である。   FIG. 4 is a flowchart illustrating an example of communication setting operation performed by the wireless communication device 100 and the wireless communication device 200. FIG. 5 is a sequence diagram illustrating an example of message transmission / reception between wireless communication devices corresponding to the operation illustrated in FIG. 4.

ステップS501、S521において、無線通信装置100および無線通信装置200はそれぞれWPSを開始する。   In steps S501 and S521, the wireless communication device 100 and the wireless communication device 200 each start WPS.

上記WPSの開始は、例えば、以下の操作をトリガとする。まず、ユーザは、無線通信装置100と無線通信装置200とを向き合わせる。次に、ユーザは、無線通信装置100および無線通信装置200のそれぞれにおいて、WiGig通信を行うためのアプリケーションを起動する。そして、ユーザは、無線通信装置100および無線通信装置200のそれぞれにおいて、起動したアプリケーションの設定画面から「WPS開始」のメニューを選択する。   The start of the WPS is triggered by the following operation, for example. First, the user faces the wireless communication device 100 and the wireless communication device 200. Next, the user activates an application for performing WiGig communication in each of the wireless communication device 100 and the wireless communication device 200. Then, in each of the wireless communication device 100 and the wireless communication device 200, the user selects a “WPS start” menu from the setting screen of the activated application.

上記「WPS開始」を選択する操作は、操作部106、206がそれぞれ受け付ける。そして、操作部106、206は、それぞれ、上述した通信設定開始要求を生成し、設定開始部107、207へ出力する。この通信設定開始要求を受けた設定開始部107、207は、それぞれ、設定情報115、215および自装置情報116、216を、記憶部103、203から読み出す。そして、設定開始部107は、読み出した設定情報115および自装置情報116を、ロール決定部108に出力する。一方、設定開始部207は、読み出した設定情報215および自装置情報216を、ロール決定部208に出力する。   The operation units 106 and 206 accept the operation of selecting the “WPS start”. Then, the operation units 106 and 206 generate the above-described communication setting start request and output the request to the setting start units 107 and 207, respectively. Upon receiving this communication setting start request, the setting start units 107 and 207 read the setting information 115 and 215 and the own device information 116 and 216 from the storage units 103 and 203, respectively. Then, the setting start unit 107 outputs the read setting information 115 and own device information 116 to the role determination unit 108. On the other hand, the setting start unit 207 outputs the read setting information 215 and own device information 216 to the role determination unit 208.

なお、上記ステップS501、S521は、それぞれ、図5のステップS601、S602に相当する。   Note that steps S501 and S521 correspond to steps S601 and S602 in FIG. 5, respectively.

ステップS502において、ロール決定部108は、入力した設定情報115および自装置情報116と、機器探索部109から出力された機器探索結果とに基づいて、無線通信装置100のロールをSTAまたはPCPのいずれかに決定する。ステップS522において、ロール決定部208は、入力した設定情報215および自装置情報216と、接続部210から出力された機器探索結果とに基づいて、無線通信装置200のロールをSTAまたはPCPのいずれかに決定する。   In step S502, the role determination unit 108 sets the role of the wireless communication device 100 to either STA or PCP based on the input setting information 115 and the own device information 116 and the device search result output from the device search unit 109. Decide on. In step S522, the role determination unit 208 sets the role of the wireless communication device 200 to either STA or PCP based on the input setting information 215 and own device information 216 and the device search result output from the connection unit 210. To decide.

ここでは、例として、無線通信装置100はSTAに決定し、無線通信装置200はPCPに決定したとして、説明を進める。よって、ロール決定部108は、設定情報115、自装置情報116、ロール決定結果(STA)を、機器探索部109に出力する。一方、ロール決定部208は、設定情報215、自装置情報216、ロール決定結果(PCP)を、機器探索部209に出力する。   Here, as an example, it is assumed that the wireless communication apparatus 100 is determined to be an STA and the wireless communication apparatus 200 is determined to be a PCP, and the description will proceed. Therefore, the role determination unit 108 outputs the setting information 115, the own device information 116, and the role determination result (STA) to the device search unit 109. On the other hand, the role determination unit 208 outputs the setting information 215, the own device information 216, and the role determination result (PCP) to the device search unit 209.

ステップS503において、機器探索部109は、設定情報115、自装置情報116、ロール決定結果(STA)を入力すると、通信部109を介して、周囲をスキャンし、WPS用ビーコンを探す。   In step S503, when the setting information 115, the own device information 116, and the role determination result (STA) are input, the device searching unit 109 scans the surroundings and searches for a WPS beacon via the communication unit 109.

機器探索部109は、一定期間の間にWPS用ビーコンを受信しなかった場合(S503:受信無し)、通信相手の探索に失敗したと判断し、スキャンを止める。そして、機器探索部109は、通信相手の探索に失敗した旨の機器探索結果を、自装置情報116および設定情報115とともに、ロール決定部108へ出力する。これにより、機器探索部109は、ステップS502へ戻る。そして、ロール決定部108は再び、自装置のロールの決定を行う。   If the device search unit 109 does not receive a WPS beacon for a certain period of time (S503: no reception), the device search unit 109 determines that the search for the communication partner has failed and stops scanning. Then, the device search unit 109 outputs a device search result indicating that the communication partner search has failed together with the own device information 116 and the setting information 115 to the role determination unit 108. Thereby, the device search unit 109 returns to step S502. Then, the role determination unit 108 determines the role of the own device again.

一方、機器探索部109は、一定期間の間にWPS用ビーコンを受信した場合、通信相手の探索に成功したと判断し、WPS用ビーコンに含まれるパラメータに基づいて、相手装置情報を生成する。この相手装置情報は、少なくとも、探索できた通信相手のMACアドレスおよび通信周波数帯を含む。そして、機器探索部109は、通信相手の探索に成功した旨の機器探索結果を、生成した相手装置情報、自装置情報116および設定情報115とともに、接続部110へ出力する。そして、機器探索部109は、ステップS504へ進む。   On the other hand, when receiving a WPS beacon during a certain period, device searching section 109 determines that the communication partner has been successfully searched, and generates partner device information based on the parameters included in the WPS beacon. This partner device information includes at least the MAC address and communication frequency band of the communication partner that has been searched. The device search unit 109 outputs a device search result indicating that the communication partner search has been successful to the connection unit 110 together with the generated partner device information, the own device information 116, and the setting information 115. Then, the device search unit 109 proceeds to step S504.

ステップS523において、機器探索部209は、設定情報215、自装置情報216、ロール決定結果(PCP)を入力する。次に、機器探索部209は、設定情報215からSSID453およびMACアドレス457を抽出し、自装置情報216から通信周波数帯1003およびロール情報1004を抽出する。次に、機器探索部209は、Wi−Fi、WiGig、WSCのビーコンのフォーマットに従って、抽出した上記各パラメータをMACフレームのボディ領域に記載する。そして、機器探索部209は、各パラメータを含んだWPS用ビーコンを、通信部204を介して無線送信する。このステップS523は、図5のステップS603に相当する。   In step S523, the device search unit 209 inputs the setting information 215, the own device information 216, and the role determination result (PCP). Next, the device search unit 209 extracts the SSID 453 and the MAC address 457 from the setting information 215, and extracts the communication frequency band 1003 and the roll information 1004 from the own device information 216. Next, the device search unit 209 describes the extracted parameters in the body area of the MAC frame in accordance with Wi-Fi, WiGig, and WSC beacon formats. The device search unit 209 wirelessly transmits a WPS beacon including each parameter via the communication unit 204. This step S523 corresponds to step S603 in FIG.

WPS用ビーコンの無線送信後、機器探索部209は、設定情報215および自装置情報216を、接続部210へ出力する。   After wireless transmission of the WPS beacon, the device search unit 209 outputs the setting information 215 and the own device information 216 to the connection unit 210.

ここで、上記WPS用ビーコンのフォーマット例について説明する。図6は、WPS用ビーコンのフォーマットの一例を示す図である。   Here, a format example of the WPS beacon will be described. FIG. 6 is a diagram illustrating an example of a format of a WPS beacon.

図6に示すように、WPS用ビーコンは、パラメータとして、SSID701、Device Password ID702、通信周波数帯703を含む。これらのパラメータは、上述した通り、MACフレームのボディ領域に記載される。例えば、機器探索部209は、通信周波数帯1003の値を用いて、通信周波数帯703に「2.4GHz、5GHz、60GHz」と記載する。これにより、無線通信装置200は、Wi−FiおよびWiGigのいずれかでの通信を可能とすることが示される。すなわち、通信周波数帯703は、無線通信装置200が利用可能な周波数帯を示す。なお、通信周波数帯703は、ロール情報を含んでもよい。その場合、通信周波数帯703は、例えば、「60GHz、STAのみ」や「60GHz、PCPのみ」と記載される。   As shown in FIG. 6, the WPS beacon includes SSID 701, Device Password ID 702, and communication frequency band 703 as parameters. These parameters are described in the body area of the MAC frame as described above. For example, the device search unit 209 describes “2.4 GHz, 5 GHz, 60 GHz” in the communication frequency band 703 using the value of the communication frequency band 1003. Accordingly, it is indicated that the wireless communication device 200 can perform communication using either Wi-Fi or WiGig. That is, the communication frequency band 703 indicates a frequency band that can be used by the wireless communication apparatus 200. Note that the communication frequency band 703 may include roll information. In this case, the communication frequency band 703 is described as, for example, “60 GHz, STA only” or “60 GHz, PCP only”.

Device Password ID702は、WPS用のビーコンであるか否かを識別可能なパラメータである。例えば、図6に示すように、Device Password ID702が「0x0004」と記載されている。この場合、ビーコンを受信した無線通信装置100は、Push Button Configuration(PBC)というWPSのモードであることが識別できる。   The Device Password ID 702 is a parameter that can identify whether or not the beacon is for WPS. For example, as shown in FIG. 6, Device Password ID 702 is described as “0x0004”. In this case, the wireless communication device 100 that has received the beacon can be identified as a WPS mode called Push Button Configuration (PBC).

SSID701は、PCPとして動作する自装置(ここでは、無線通信装置200)の識別子である。   The SSID 701 is an identifier of the own device (here, the wireless communication device 200) that operates as a PCP.

以上で、WPS用ビーコンのフォーマット例についての説明を終える。   This completes the description of the format example of the WPS beacon.

ステップS504において、接続部110は、無線通信装置200との間で、接続要求であるProbe requestの送信および応答であるProbe responseの受信を行う。このステップの詳細は以下に説明する。   In step S504, the connection unit 110 transmits a probe request that is a connection request and receives a probe response that is a response with the wireless communication apparatus 200. Details of this step are described below.

まず、接続部110は、機器探索結果(探索成功)、相手装置情報、自装置情報116、および設定情報115を入力する。次に、接続部110は、自装置情報116および設定情報115に基づいて、接続要求であるProbe requestを生成し、無線通信装置200へ送信する。このProbe requestの送信は、図5のステップS604に相当する。なお、Probe requestの詳細は後述する。   First, the connection unit 110 inputs a device search result (search success), partner device information, host device information 116, and setting information 115. Next, connection section 110 generates a probe request, which is a connection request, based on self apparatus information 116 and setting information 115 and transmits the probe request to radio communication apparatus 200. This probe request transmission corresponds to step S604 in FIG. Details of the probe request will be described later.

その後、接続部110は、無線通信装置200から、接続要求に対する応答であるProbe responseを受信する(図5のステップS605に相当)。そして、接続部110は、無線通信装置200へAssociation requestを送信する(図5のステップS606に相当)。   After that, the connection unit 110 receives a probe response that is a response to the connection request from the wireless communication apparatus 200 (corresponding to step S605 in FIG. 5). Connection unit 110 then transmits an association request to radio communication apparatus 200 (corresponding to step S606 in FIG. 5).

接続部110は、無線通信装置200からAssociation responseを受信すると(図5のステップS607に相当)、無線通信装置100と無線通信装置200との間の接続が完了する。そして、接続部110は、相手装置情報、自装置情報116、および設定情報115を、認証鍵交換判断部111へ出力する。   When connection unit 110 receives an association response from radio communication apparatus 200 (corresponding to step S607 in FIG. 5), connection between radio communication apparatus 100 and radio communication apparatus 200 is completed. Then, the connection unit 110 outputs the partner device information, the own device information 116, and the setting information 115 to the authentication key exchange determination unit 111.

ステップS524において、接続部210は、無線通信装置100との間で、接続要求であるProbe requestの受信およびその応答であるProbe responseの送信を行う。このステップの詳細は以下に説明する。   In step S524, the connection unit 210 receives a probe request that is a connection request and transmits a probe response that is a response to the wireless communication apparatus 100. Details of this step are described below.

まず、接続部210は、設定情報215および自装置情報216を入力する。次に、接続部210は、一定期間の間に周辺からProbe requestを受信しない場合(S524:応答無し)、WPS用ビーコンの送信を停止させる制御信号を機器探索部209へ出力する。そして、接続部210は、探索の結果が失敗である旨を示す機器探索結果を、ロール決定部208へ出力する。これにより、接続部210は、ステップS522へ戻る。そして、ロール決定部208は再び、自装置のロールの決定を行う。   First, the connection unit 210 inputs the setting information 215 and the own device information 216. Next, when the probe unit 210 does not receive a probe request from the periphery for a certain period of time (S524: no response), the connection unit 210 outputs a control signal for stopping the transmission of the WPS beacon to the device search unit 209. Then, the connection unit 210 outputs a device search result indicating that the search result is unsuccessful to the role determination unit 208. Thereby, the connection part 210 returns to step S522. Then, the role determination unit 208 again determines the role of the own device.

一方で、一定期間に周囲からProbe requestを受信した場合、接続部210は、Probe requestに含まれているパラメータに基づいて、相手装置情報を生成する。この相手装置情報は、少なくとも、探索できた通信相手のMACアドレスおよび通信周波数帯を含む。   On the other hand, when a probe request is received from the surroundings for a certain period, the connection unit 210 generates partner apparatus information based on the parameters included in the probe request. This partner device information includes at least the MAC address and communication frequency band of the communication partner that has been searched.

その後、Probe requestを受信した接続部210は、Probe requestに対する応答であるProbe responseを生成し、無線通信装置100へ送信する(図5のS605に相当)。そして、接続部210は、無線通信装置100からAssociation requestを受信する(図5のS606に相当)。そして、接続部210は、受信したAssociation requestの応答として、Association responseを生成し、無線通信装置100へ送信する(図5のS607に相当)。   Thereafter, the connection unit 210 that has received the probe request generates a probe response that is a response to the probe request, and transmits the probe response to the wireless communication apparatus 100 (corresponding to S605 in FIG. 5). Then, the connection unit 210 receives an association request from the wireless communication device 100 (corresponding to S606 in FIG. 5). Then, connection section 210 generates an association response as a response to the received association request, and transmits it to radio communication apparatus 100 (corresponding to S607 in FIG. 5).

無線通信装置100がAssociation responseを受信すると、無線通信装置100と無線通信装置200との間の接続が完了する。その後、接続部210は、生成した相手装置情報、自装置情報216、設定情報215を、認証鍵交換判断部211へ出力する。   When the wireless communication device 100 receives the association response, the connection between the wireless communication device 100 and the wireless communication device 200 is completed. Thereafter, the connection unit 210 outputs the generated partner device information, host device information 216, and setting information 215 to the authentication key exchange determination unit 211.

ここで、上記Probe requestのフォーマット例について説明する。図7は、Probe requestのフォーマットの一例を示す図である。   Here, an example format of the probe request will be described. FIG. 7 is a diagram illustrating an example of a format of a probe request.

図7に示すように、Probe requestは、パラメータとして、MACアドレス801、Device Password ID802、通信周波数帯803を含む。Device Password ID802および通信周波数帯803は、図6で説明したWPS用ビーコンのDevice Password ID702および通信周波数帯703と同じ意味であるので、ここでの説明は省略する。   As shown in FIG. 7, the probe request includes a MAC address 801, a Device Password ID 802, and a communication frequency band 803 as parameters. The Device Password ID 802 and the communication frequency band 803 have the same meaning as the Device Password ID 702 and the communication frequency band 703 of the WPS beacon described with reference to FIG.

MACアドレス801は、Probe requestを送信した装置、すなわち無線通信装置100のMACアドレスである。   The MAC address 801 is the MAC address of the device that transmitted the probe request, that is, the wireless communication device 100.

以上で、Probe requestのフォーマット例についての説明を終える。   This is the end of the description of the probe request format example.

ステップS505において、認証鍵交換判断部111は、認証鍵交換が必要か否かを判断する。このステップの詳細は、以下に説明する。なお、認証鍵交換とは、上述した通り、無線通信装置100と無線通信装置200との間で互いに、WPAに用いられる認証鍵の交換が実行されることを意味する。その際に交換される認証鍵は、通信相手がPCPである場合の認証鍵となる。なお、認証鍵は設定情報に含まれることから、認証鍵の交換は、「設定情報の交換」ということもできる。   In step S505, the authentication key exchange determination unit 111 determines whether authentication key exchange is necessary. Details of this step are described below. Note that, as described above, the authentication key exchange means that authentication keys used for WPA are exchanged between the wireless communication apparatus 100 and the wireless communication apparatus 200. The authentication key exchanged at that time is an authentication key when the communication partner is a PCP. Since the authentication key is included in the setting information, the exchange of the authentication key can also be referred to as “setting information exchange”.

まず、認証鍵交換判断部111は、相手装置情報、自装置情報116、設定情報115を入力する。   First, the authentication key exchange determination unit 111 inputs partner device information, host device information 116, and setting information 115.

次に、認証鍵交換判断部111は、相手装置情報の通信周波数帯に「60GHz」という記載が含まれているか否かを判断する。この判断に用いられる通信周波数帯は、無線通信装置100が受信したWPS用ビーコンに含まれる通信周波数帯703の値である。   Next, the authentication key exchange determination unit 111 determines whether or not “60 GHz” is included in the communication frequency band of the counterpart device information. The communication frequency band used for this determination is the value of the communication frequency band 703 included in the WPS beacon received by the wireless communication apparatus 100.

判断の結果、通信周波数帯に「60GHz」という記載が含まれている場合、認証鍵交換判断部111は、自装置情報116の通信周波数帯1001、ロール情報1002を参照する。この結果、通信周波数帯1001に「60GHz」という記載が含まれ、かつ、ロール情報1002に「STA、PCP両方OK」という記載が含まれる場合、認証鍵交換判断部111は、認証鍵交換が必要と判断する(S505:YES)。認証鍵交換判断部111は、ステップS506へ進む。   As a result of the determination, when the description “60 GHz” is included in the communication frequency band, the authentication key exchange determination unit 111 refers to the communication frequency band 1001 and the roll information 1002 of the own apparatus information 116. As a result, when the communication frequency band 1001 includes the description “60 GHz” and the roll information 1002 includes the description “both STA and PCP OK”, the authentication key exchange determination unit 111 requires authentication key exchange. (S505: YES). The authentication key exchange determination unit 111 proceeds to step S506.

ステップS506において、認証鍵交換判断部111は、認証鍵交換フラグをTrueに変更し、フラグが立った状態にする。なお、認証鍵交換フラグは、例えば、演算部102のメモリまたは記憶部103に保持されており、デフォルトの状態はFalseである。   In step S506, the authentication key exchange determination unit 111 changes the authentication key exchange flag to True, and sets the flag to a raised state. Note that the authentication key exchange flag is held in, for example, the memory of the calculation unit 102 or the storage unit 103, and the default state is False.

一方、判断の結果、通信周波数帯に「60GHz」という記載が含まれていない場合、認証鍵交換判断部111は、認証鍵交換を行う必要がないと判断する(S505:NO)。よって、認証鍵交換判断部111は、認証鍵交換フラグを変更せずにFalseのままとし、フラグが立っていない状態としておく。なお、認証鍵交換フラグがFalseの場合において、認証鍵交換判断部111が、Wi−Fiでの通信が可能であると判断した場合は、WPSを行うことができる。   On the other hand, as a result of the determination, if the communication frequency band does not include “60 GHz”, the authentication key exchange determination unit 111 determines that there is no need to perform authentication key exchange (S505: NO). Therefore, the authentication key exchange determination unit 111 does not change the authentication key exchange flag and leaves it as False, leaving the flag not set. When the authentication key exchange flag is False and the authentication key exchange determination unit 111 determines that Wi-Fi communication is possible, WPS can be performed.

上記判断が終わると、認証鍵交換判断部111は、相手装置情報、設定情報115、および、自装置情報116を、秘密鍵共有部112へ出力する。また、認証鍵交換判断部111は、認証鍵交換フラグを認証鍵交換部113へ出力する。   When the above determination is completed, the authentication key exchange determination unit 111 outputs the counterpart device information, the setting information 115, and the own device information 116 to the secret key sharing unit 112. Further, the authentication key exchange determination unit 111 outputs an authentication key exchange flag to the authentication key exchange unit 113.

ステップS525において、認証鍵交換判断部211は、認証鍵交換が必要か否かを判断する。このステップの詳細は以下に説明する。   In step S525, the authentication key exchange determination unit 211 determines whether authentication key exchange is necessary. Details of this step are described below.

まず、認証鍵交換判断部211は、相手装置情報、自装置情報216、および、設定情報215を入力する。   First, the authentication key exchange determination unit 211 inputs partner device information, host device information 216, and setting information 215.

次に、認証鍵交換判断部211は、相手装置情報の通信周波数帯に「60GHz」といいう記載が含まれているか否かを判断する。この判断に用いられる通信周波数帯は、無線通信装置200が受信したProbe requestに含まれる通信周波数帯803の値である。   Next, the authentication key exchange determination unit 211 determines whether or not the description “60 GHz” is included in the communication frequency band of the partner apparatus information. The communication frequency band used for this determination is the value of the communication frequency band 803 included in the probe request received by the wireless communication apparatus 200.

判断の結果、通信周波数帯に「60GHz」という記載が含まれている場合、認証鍵交換判断部211は、自装置情報216の通信周波数帯1003、ロール情報1004を参照する。この結果、通信周波数帯1003に「60GHz」という記載が含まれ、かつ、ロール情報1004に「STA、PCP両方OK」という記載が含まれる場合、認証鍵交換判断部211は、認証鍵交換が必要と判断する(S525:YES)。認証鍵交換判断部211は、ステップS526へ進む。   As a result of the determination, when the description “60 GHz” is included in the communication frequency band, the authentication key exchange determination unit 211 refers to the communication frequency band 1003 and roll information 1004 of the own apparatus information 216. As a result, when the communication frequency band 1003 includes the description “60 GHz” and the roll information 1004 includes the description “both STA and PCP OK”, the authentication key exchange determination unit 211 requires the authentication key exchange. (S525: YES). The authentication key exchange determination unit 211 proceeds to step S526.

ステップS526において、認証鍵交換判断部211は、認証鍵交換フラグをTrueに変更し、フラグが立った状態にする。なお、認証鍵交換フラグは、例えば、演算部202のメモリまたは記憶部203に保持されており、デフォルトの状態はFalseである。   In step S526, the authentication key exchange determination unit 211 changes the authentication key exchange flag to True so that the flag is set. Note that the authentication key exchange flag is held in, for example, the memory of the calculation unit 202 or the storage unit 203, and the default state is False.

一方、判断の結果、通信周波数帯に「60GHz」という記載が含まれていない場合、認証鍵交換判断部211は、認証鍵交換を行う必要がないと判断する(S525:NO)。よって、認証鍵交換判断部211は、認証鍵交換フラグを変更せずにFalseのままとし、フラグが立っていない状態としておく。なお、認証鍵交換フラグがFalseの場合において、認証鍵交換判断部211が、Wi−Fiでの通信が可能であると判断した場合は、WPSを行うことができる。   On the other hand, as a result of the determination, if the communication frequency band does not include “60 GHz”, the authentication key exchange determination unit 211 determines that there is no need to perform authentication key exchange (S525: NO). Therefore, the authentication key exchange determination unit 211 does not change the authentication key exchange flag and leaves it as False, leaving the flag unset. When the authentication key exchange flag is False and the authentication key exchange determination unit 211 determines that Wi-Fi communication is possible, WPS can be performed.

上記判断が終わると、認証鍵交換判断部211は、相手装置情報、設定情報215、および、自装置情報216を秘密鍵共有部212へ出力する。また、認証鍵交換判断部211は、認証鍵交換フラグを認証鍵交換部213へ出力する。   When the above determination is completed, the authentication key exchange determination unit 211 outputs the partner device information, the setting information 215, and the own device information 216 to the secret key sharing unit 212. Further, the authentication key exchange determination unit 211 outputs an authentication key exchange flag to the authentication key exchange unit 213.

ステップS507において、秘密鍵共有部112は、相手装置情報、自装置情報116、および、設定情報115を入力する。そして、秘密鍵共有部112は、秘密鍵を生成し、生成した秘密鍵を無線通信装置200との間で共有する。ステップS527において、秘密鍵共有部212は、相手装置情報、自装置情報216、および、設定情報215を入力する。そして、秘密鍵共有部212は、秘密鍵を生成し、生成した秘密鍵を無線通信装置100との間で共有する。   In step S507, the secret key sharing unit 112 inputs the counterpart device information, the own device information 116, and the setting information 115. Then, the secret key sharing unit 112 generates a secret key and shares the generated secret key with the wireless communication device 200. In step S527, the secret key sharing unit 212 inputs the counterpart device information, the own device information 216, and the setting information 215. The secret key sharing unit 212 generates a secret key and shares the generated secret key with the wireless communication device 100.

上記秘密鍵は、認証鍵を暗号化するための鍵である。また、秘密鍵を生成し共有する方法は、例えば、WSCに準拠した手順で、DH(Diffie-Hellman)鍵共有プロトコルを用いる。このDH鍵共有プロトコルを用いた送受信は、図5のステップS608からS617までに相当する。   The secret key is a key for encrypting the authentication key. In addition, as a method for generating and sharing a secret key, for example, a DH (Diffie-Hellman) key sharing protocol is used in a procedure compliant with WSC. Transmission / reception using the DH key sharing protocol corresponds to steps S608 to S617 in FIG.

秘密鍵共有部112は、秘密鍵、相手装置情報、自装置情報116、および、設定情報115を、認証鍵交換部113に出力する。同様に、秘密鍵共有部212は、秘密鍵、相手装置情報、自装置情報216、および、設定情報215を、認証鍵交換部213に出力する。   The secret key sharing unit 112 outputs the secret key, partner device information, own device information 116, and setting information 115 to the authentication key exchanging unit 113. Similarly, the secret key sharing unit 212 outputs the secret key, partner device information, host device information 216, and setting information 215 to the authentication key exchanging unit 213.

ステップS508において、認証鍵交換部113は、秘密鍵、相手装置情報、自装置情報116、設定情報115、および、認証鍵交換フラグを入力すると、認証鍵交換フラグが立っているか否かを判断する。   In step S508, the authentication key exchange unit 113 receives the secret key, partner device information, own device information 116, setting information 115, and authentication key exchange flag, and determines whether or not the authentication key exchange flag is set. .

判断の結果、認証鍵交換フラグがFalseであり、フラグが立っていない場合(S508:NO)、認証鍵交換部113は、ステップS511へ進む。   As a result of the determination, if the authentication key exchange flag is False and the flag is not set (S508: NO), the authentication key exchange unit 113 proceeds to step S511.

一方、判断の結果、認証鍵交換フラグがTrueであり、フラグが立っている場合(S508:YES)、認証鍵交換部113は、ステップS509へ進む。   On the other hand, as a result of the determination, if the authentication key exchange flag is True and the flag is set (S508: YES), the authentication key exchange unit 113 proceeds to Step S509.

ステップS509において、認証情報交換部113は、秘密鍵を用い、設定情報115に基づいて、認証鍵[1]406、SSID403、認証方法404、暗号化方法405、および、MACアドレス407を暗号化する。すなわち、認証情報交換部113は、自機PCP設定情報402を秘密鍵により暗号化する。認証鍵[1]406は、上述した通り、無線通信装置100がPCPである場合にWPAに用いる認証鍵である。   In step S509, the authentication information exchanging unit 113 encrypts the authentication key [1] 406, the SSID 403, the authentication method 404, the encryption method 405, and the MAC address 407 based on the setting information 115 using the secret key. . That is, the authentication information exchanging unit 113 encrypts its own PCP setting information 402 with the secret key. As described above, authentication key [1] 406 is an authentication key used for WPA when wireless communication apparatus 100 is PCP.

ステップS510において、認証情報交換部113は、暗号化した認証鍵[1]406、SSID403、認証方法404、暗号化方法405、および、MACアドレス407を、通信部104を介して無線通信装置200へ送信する。ここでの送信は、図5のステップS618に相当する。   In step S510, the authentication information exchanging unit 113 sends the encrypted authentication key [1] 406, SSID 403, authentication method 404, encryption method 405, and MAC address 407 to the wireless communication apparatus 200 via the communication unit 104. Send. This transmission corresponds to step S618 in FIG.

ステップS528において、認証鍵交換部213は、秘密鍵、相手装置情報、自装置情報216、設定情報215、および、認証鍵交換フラグを入力すると、認証鍵交換フラグが立っているか否かを判断する。   In step S528, the authentication key exchange unit 213 inputs the secret key, partner device information, own device information 216, setting information 215, and authentication key exchange flag, and determines whether or not the authentication key exchange flag is set. .

判断の結果、認証鍵交換フラグがFalseであり、フラグが立っていない場合(S528:NO)、認証鍵交換部213は、ステップS531へ進む。   As a result of the determination, if the authentication key exchange flag is False and the flag is not set (S528: NO), the authentication key exchange unit 213 proceeds to Step S531.

一方、判断の結果、認証鍵交換フラグがTrueであり、フラグが立っている場合(S528:YES)、認証鍵交換部213は、ステップS529へ進む。   On the other hand, as a result of the determination, if the authentication key exchange flag is True and the flag is set (S528: YES), the authentication key exchange unit 213 proceeds to Step S529.

ステップS529において、認証鍵交換部213は、無線通信装置100から、通信部204を介して、暗号化された認証鍵[1]406、SSID403、認証方法404、暗号化方法405、および、MACアドレス407を受信する。ここでの受信は、図5のステップS618に相当する。また、ステップS529において、認証情報交換部213は、秘密鍵を用い、認証鍵[1]406、SSID403、認証方法404、暗号化方法405、および、MACアドレス407を復号する。   In step S529, the authentication key exchanging unit 213 transmits the encrypted authentication key [1] 406, SSID 403, authentication method 404, encryption method 405, and MAC address from the wireless communication apparatus 100 via the communication unit 204. 407 is received. The reception here corresponds to step S618 in FIG. In step S529, the authentication information exchanging unit 213 decrypts the authentication key [1] 406, the SSID 403, the authentication method 404, the encryption method 405, and the MAC address 407 using the secret key.

ステップS530において、認証鍵交換部213は、SSID403毎に、復号した認証鍵[1]406を、認証方法404、暗号化方法405、および、MACアドレス407とともに記憶部203に保存する。このようにして保存された情報は、設定情報215の相手PCP設定所情報458として扱われることになる。このステップは、図5のステップS619に相当する。なお、MACアドレス407の保存は、必須ではない。   In step S530, the authentication key exchange unit 213 stores the decrypted authentication key [1] 406 for each SSID 403 in the storage unit 203 together with the authentication method 404, the encryption method 405, and the MAC address 407. The information stored in this way is handled as the partner PCP setting location information 458 of the setting information 215. This step corresponds to step S619 in FIG. Note that storing the MAC address 407 is not essential.

ステップS531において、認証鍵交換部213は、秘密鍵を用い、設定情報215に基づいて、認証鍵[2]456、SSID453、認証方法454、暗号化方法455、および、MACアドレス457を暗号化する。すなわち、認証情報交換部213は、自機PCP設定情報452を秘密鍵により暗号化する。認証鍵[2]456は、無線通信装置200がPCPである場合にWPAに用いる認証鍵である。   In step S531, the authentication key exchange unit 213 encrypts the authentication key [2] 456, the SSID 453, the authentication method 454, the encryption method 455, and the MAC address 457 based on the setting information 215 using the secret key. . That is, authentication information exchanging section 213 encrypts its own PCP setting information 452 using a secret key. The authentication key [2] 456 is an authentication key used for WPA when the wireless communication apparatus 200 is PCP.

ステップS532において、認証鍵交換部213は、暗号化した認証鍵[2]456、SSID453、認証方法454、暗号化方法455、および、MACアドレス457を、通信部204を介して無線通信装置100へ送信する。ここでの送信は、図5のステップS620に相当する。   In step S532, the authentication key exchange unit 213 sends the encrypted authentication key [2] 456, SSID 453, authentication method 454, encryption method 455, and MAC address 457 to the wireless communication device 100 via the communication unit 204. Send. This transmission corresponds to step S620 in FIG.

そして、認証鍵交換部213は、交換結果(成功)を切断部214に出力する。   Then, the authentication key exchanging unit 213 outputs the exchange result (success) to the cutting unit 214.

ステップS511において、認証鍵交換部113は、通信部104を介して、暗号化された認証鍵[2]456、SSID453、認証方法454、暗号化方法455、および、MACアドレス457を受信する。ここでの受信は、図5のステップS620に相当する。また、ステップS511において、認証情報交換部113は、秘密鍵を用い、認証鍵[2]456、SSID453、認証方法454、暗号化方法455、および、MACアドレス457を復号する。   In step S511, the authentication key exchanging unit 113 receives the encrypted authentication key [2] 456, SSID 453, authentication method 454, encryption method 455, and MAC address 457 via the communication unit 104. The reception here corresponds to step S620 in FIG. In step S511, the authentication information exchange unit 113 decrypts the authentication key [2] 456, the SSID 453, the authentication method 454, the encryption method 455, and the MAC address 457 using the secret key.

ステップS512において、認証鍵交換部113は、SSID453毎に、復号した認証鍵[2]456、SSID453、認証方法454、暗号化方法455、および、MACアドレス457とともに記憶部103に保存する。このようにして保存された情報は、設定情報115の相手PCP設定所情報408として扱われることになる。このステップは、図5のステップS621に相当する。なお、MACアドレス407の保存は、必須ではない。また、このステップは、WPS後のタイミングで実行されてもよい。   In step S 512, the authentication key exchanging unit 113 stores the decrypted authentication key [2] 456, SSID 453, authentication method 454, encryption method 455, and MAC address 457 for each SSID 453 in the storage unit 103. The information stored in this way is handled as the partner PCP setting location information 408 of the setting information 115. This step corresponds to step S621 in FIG. Note that storing the MAC address 407 is not essential. Further, this step may be executed at a timing after WPS.

そして、認証鍵交換部113は、交換結果(成功)を切断部114に出力する。   Then, the authentication key exchanging unit 113 outputs the exchange result (success) to the cutting unit 114.

ステップS513において、切断部114は、交換結果(成功)を入力すると、通信部104を介して、無線通信装置200の切断部214との間で、切断のためのメッセージを送受信し、通信を切断する。ステップS533において、切断部214は、交換結果(成功)を入力すると、通信部204を介して、無線通信装置100の切断部114との間で、切断のためのメッセージを送受信し、通信を切断する。これらステップS513およびS533は、図5のステップS622、S623、S624に相当する。   In step S513, when the disconnection unit 114 inputs the exchange result (success), the disconnection message is transmitted / received to / from the disconnection unit 214 of the wireless communication apparatus 200 via the communication unit 104, and the communication is disconnected. To do. In step S533, when the disconnection unit 214 inputs the exchange result (success), the disconnection message is transmitted / received to / from the disconnection unit 114 of the wireless communication apparatus 100 via the communication unit 204, and the communication is disconnected. To do. These steps S513 and S533 correspond to steps S622, S623, and S624 in FIG.

ステップS514において、無線通信装置100は、WPSを終了する。ステップS534において、無線通信装置200は、WPSを終了する。   In step S514, the wireless communication device 100 ends WPS. In step S534, the wireless communication apparatus 200 ends WPS.

このような動作により、無線通信装置100において、認証鍵交換判断部111は、無線通信装置100と無線通信装置200の両方がWiGigで通信可能である場合に、認証鍵交換フラグを立てる。そして、認証鍵交換部113は、認証鍵交換フラグが立った場合、無線通信装置100と無線通信装置200との間で、WPA用認証鍵を交換する。これにより、無線通信装置100と無線通信装置200は互いに、通信相手がPCPである場合のWPA用認証鍵を保持することが可能となる。よって、本実施の形態の無線通信装置100および無線通信装置200は、WPA実行時にどちらがSTA、PCPになっても、接続することができる。すなわち、本実施の形態の無線通信装置100と無線通信装置200は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、接続が可能となる。   With such an operation, in the wireless communication apparatus 100, the authentication key exchange determination unit 111 sets an authentication key exchange flag when both the wireless communication apparatus 100 and the wireless communication apparatus 200 are communicable with WiGig. Then, when the authentication key exchange flag is set, the authentication key exchange unit 113 exchanges the WPA authentication key between the wireless communication device 100 and the wireless communication device 200. As a result, the wireless communication device 100 and the wireless communication device 200 can hold the WPA authentication key when the communication partner is PCP. Therefore, radio communication apparatus 100 and radio communication apparatus 200 according to the present embodiment can be connected regardless of which becomes STA or PCP when WPA is executed. That is, the wireless communication device 100 and the wireless communication device 200 according to the present embodiment can be connected even if the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

<実施の形態1の変形例>
以上、本実施の形態について説明したが、上記説明は一例であり、種々の変形が可能である。以下、変形例について説明する。
<Modification of Embodiment 1>
Although the present embodiment has been described above, the above description is merely an example, and various modifications can be made. Hereinafter, modified examples will be described.

上記実施の形態では、本発明をハードウェアで構成する場合を例にとって説明したが、本発明はハードウェアとの連係においてソフトウェアでも実現することも可能である。図8は、この構成例を示す。   Although cases have been described with the above embodiment as examples where the present invention is configured by hardware, the present invention can also be realized by software in cooperation with hardware. FIG. 8 shows an example of this configuration.

図8の構成例1は、無線通信装置100が、WiGig通信を可能とする通信デバイス300と接続可能な構成である。無線通信装置100は、ミドルウェア130およびドライバ140を備えており、ミドルウェア130に通信設定制御部131を備えている。この通信設定制御部131は、図1に示す演算部102が備える各部を含む。すなわち、構成例1では、演算部102の各部はミドルウェア130として実現される。通信設定制御部131は、ドライバ140を介して、通信デバイス300の通信部301を制御し、WiGig通信を行う。なお、ミドルウェア130は、アプリケーションであってもよい。また、通信設定制御部131は、ドライバ140に備えてもよい。   The configuration example 1 in FIG. 8 is a configuration in which the wireless communication apparatus 100 can be connected to a communication device 300 that enables WiGig communication. The wireless communication device 100 includes middleware 130 and a driver 140, and the middleware 130 includes a communication setting control unit 131. The communication setting control unit 131 includes each unit included in the calculation unit 102 shown in FIG. That is, in the configuration example 1, each unit of the calculation unit 102 is realized as the middleware 130. The communication setting control unit 131 controls the communication unit 301 of the communication device 300 via the driver 140 and performs WiGig communication. The middleware 130 may be an application. Further, the communication setting control unit 131 may be provided in the driver 140.

図8の構成例2は、無線通信装置100が、WiGig通信を可能とする通信デバイス300と接続可能な構成である。ただし、構成例2の通信設定制御部131は、通信デバイス300側に備えられている点が構成例1と異なる。通信設定制御部131は、ドライバ140を介してミドルウェア130からの要求を受け、通信部301を制御して、WiGig通信を行う。なお、ミドルウェア130は、アプリケーションであってもよい。   The configuration example 2 in FIG. 8 is a configuration in which the wireless communication apparatus 100 can be connected to a communication device 300 that enables WiGig communication. However, the communication setting control unit 131 of the configuration example 2 is different from the configuration example 1 in that the communication setting control unit 131 is provided on the communication device 300 side. The communication setting control unit 131 receives a request from the middleware 130 via the driver 140 and controls the communication unit 301 to perform WiGig communication. The middleware 130 may be an application.

また、上記実施の形態では、ロール情報1002および1004が「STA、PCP両方OK」である例について説明した。ここでは、ロール情報が「PCPのみ」または「STAのみ」である例について、補足して説明する。   In the above embodiment, an example in which the roll information 1002 and 1004 is “both STA and PCP OK” has been described. Here, an example in which the role information is “PCP only” or “STA only” will be supplementarily described.

例えば、ロール情報1004が「PCPのみ」である場合には、無線通信装置200がPCPとなり、無線通信装置100がSTAとなる。よって、この場合は、無線通信装置200から無線通信装置100への認証鍵の送信だけが行われ、無線通信装置100から無線通信装置200への認証鍵の送信は行われない。   For example, when the role information 1004 is “PCP only”, the wireless communication device 200 is a PCP and the wireless communication device 100 is an STA. Therefore, in this case, only the authentication key is transmitted from the wireless communication apparatus 200 to the wireless communication apparatus 100, and the authentication key is not transmitted from the wireless communication apparatus 100 to the wireless communication apparatus 200.

例えば、ロール情報1004が「STAのみ」である場合には、無線通信装置100がPCPとなり、無線通信装置200がSTAとなる。よって、この場合は、無線通信装置100から無線通信装置200への認証鍵の送信だけが行われ、無線通信装置200から無線通信装置100への認証鍵の送信は行われない。   For example, when the role information 1004 is “STA only”, the wireless communication device 100 is a PCP and the wireless communication device 200 is a STA. Therefore, in this case, only the authentication key is transmitted from the wireless communication apparatus 100 to the wireless communication apparatus 200, and the authentication key is not transmitted from the wireless communication apparatus 200 to the wireless communication apparatus 100.

例えば、ロール情報1002が「PCPのみ」である場合には、無線通信装置100がPCPとなり、無線通信装置200がSTAとなる。よって、この場合は、無線通信装置100から無線通信装置200への認証鍵の送信だけが行われ、無線通信装置200から無線通信装置100への認証鍵の送信は行われない。   For example, when the role information 1002 is “PCP only”, the wireless communication device 100 is a PCP and the wireless communication device 200 is a STA. Therefore, in this case, only the authentication key is transmitted from the wireless communication apparatus 100 to the wireless communication apparatus 200, and the authentication key is not transmitted from the wireless communication apparatus 200 to the wireless communication apparatus 100.

例えば、ロール情報1002が「STAのみ」である場合には、無線通信装置200がPCPとなり、無線通信装置100がSTAとなる。よって、この場合は、無線通信装置200から無線通信装置100への認証鍵の送信だけが行われ、無線通信装置100から無線通信装置200への認証鍵の送信は行われない。   For example, when the role information 1002 is “STA only”, the wireless communication device 200 is a PCP and the wireless communication device 100 is a STA. Therefore, in this case, only the authentication key is transmitted from the wireless communication apparatus 200 to the wireless communication apparatus 100, and the authentication key is not transmitted from the wireless communication apparatus 100 to the wireless communication apparatus 200.

例えば、ロール情報1002および1004がともに「STAのみ」または「PCPのみ」である場合には、無線通信装置100と200は直接通信を行わない。よって、認証鍵の送信は、行われない。   For example, when the role information 1002 and 1004 are both “STA only” or “PCP only”, the wireless communication apparatuses 100 and 200 do not communicate directly. Therefore, the authentication key is not transmitted.

なお、例えば、ロール情報1004が「PCPのみ」である場合、または、ロール情報1002が「STAのみ」である場合には、無線通信装置100および無線通信装置200は、以下の通り動作する。無線通信装置200は、PCPとしてのみ動作する。無線通信装置100は、自装置がSTAとしてのみ動作すると判断できるため、認証鍵交換は不要と判断する。このようにして、本実施の形態では、無線通信装置200から無線通信装置100への認証鍵の送信のみが行われる。なお、無線通信装置が据え置き型の場合は、ロール情報が「PCPのみ」となることがある。据え置き型の装置は、例えば、アクセスポイント、テレビ、レコーダ、公衆に設置される各種端末装置、などがある。一方で、無線通信装置が携帯型の場合は、ロール情報が「STAのみ」となることがある。携帯型の装置は、例えば、携帯電話、スマートフォン、タブレット、などがある。   For example, when the roll information 1004 is “PCP only” or the roll information 1002 is “STA only”, the wireless communication device 100 and the wireless communication device 200 operate as follows. The wireless communication device 200 operates only as a PCP. Since the wireless communication apparatus 100 can determine that its own apparatus operates only as an STA, it determines that an authentication key exchange is not necessary. Thus, in the present embodiment, only the authentication key is transmitted from the wireless communication apparatus 200 to the wireless communication apparatus 100. When the wireless communication apparatus is a stationary type, the roll information may be “PCP only”. Examples of the stationary device include an access point, a television, a recorder, and various terminal devices installed in the public. On the other hand, when the wireless communication device is portable, the roll information may be “STA only”. Examples of the portable device include a mobile phone, a smartphone, and a tablet.

また、上記実施の形態で説明した、認証鍵交換の要否の判断(図4のS505、S525)のタイミング、および、認証鍵の交換(図4のS510、S532)のタイミングは、図4に限定されない。   Further, the timings for determining whether or not authentication key exchange is necessary (S505 and S525 in FIG. 4) and the timings for exchanging authentication keys (S510 and S532 in FIG. 4) described in the above embodiment are shown in FIG. It is not limited.

認証鍵交換の要否の判断は、下記を満たす範囲のタイミングで実行可能である。
・通信相手の識別が可能になってから認証鍵交換の要否の判断は、可能である。すなわち、WPS用ビーコンの受信、接続要求(Probe request)の受信より後、認証鍵交換の要否の判断は、可能である。
・データの送信が可能な間、認証鍵交換の要否の判断は、可能である。すなわち、通信の切断より前であれば、認証鍵交換の要否の判断は、可能である。
・STAである無線通信装置からPCPである無線通信装置への認証鍵の配布前であれば、認証鍵交換の要否の判断は、可能である
The determination of whether or not authentication key exchange is necessary can be performed at a timing that satisfies the following conditions.
-It is possible to determine whether or not the authentication key exchange is necessary after the communication partner can be identified. That is, after receiving the WPS beacon and receiving the connection request (Probe request), it is possible to determine whether or not authentication key exchange is necessary.
-While data transmission is possible, it is possible to determine whether or not authentication key exchange is necessary. That is, it is possible to determine whether or not the authentication key exchange is necessary before the communication is disconnected.
-It is possible to determine whether or not it is necessary to exchange the authentication key before the authentication key is distributed from the STA wireless communication device to the PCP wireless communication device.

認証鍵の交換は、下記を満たす範囲のタイミングで実行可能である。
・秘密鍵を共有した後、認証鍵の交換は、可能である。
・終了パケットの送信前であれば、認証鍵の交換は、可能である。なお、終了パケットは、例えば、図5のS622〜S624に示す、切断のためのメッセージが挙げられる。
The authentication key can be exchanged at a timing that satisfies the following conditions.
・ After sharing the private key, the authentication key can be exchanged.
・ The authentication key can be exchanged before the end packet is transmitted. An example of the end packet is a message for disconnection shown in S622 to S624 in FIG.

また、上記実施の形態では、無線通信装置100から無線通信装置200への認証鍵の送信が先に行われる例(図4のS510)について説明した。なお、本実施の形態では、無線通信装置200から無線通信装置100への認証鍵の送信(図4のS532)が先に行ってもよい。   In the above-described embodiment, the example in which the authentication key is transmitted from the wireless communication apparatus 100 to the wireless communication apparatus 200 first (S510 in FIG. 4) has been described. In the present embodiment, the authentication key may be transmitted from wireless communication apparatus 200 to wireless communication apparatus 100 (S532 in FIG. 4) first.

また、上記実施の形態では、既存のWPSのプロトコルにメッセージを追加しない場合、STAである無線通信装置100から、PCPである無線通信装置200への認証鍵の送信を、図5に示すM7のメッセージにより先に行ってもよい。   In the above embodiment, when a message is not added to the existing WPS protocol, the authentication key is transmitted from the wireless communication apparatus 100 as the STA to the wireless communication apparatus 200 as the PCP in M7 shown in FIG. You may go ahead by message.

(実施の形態2)
上記実施の形態1では、認証鍵交換を1回のWPSで実現する場合について説明した。本実施の形態では、認証鍵交換を2回のWPSで実現する場合である。
(Embodiment 2)
In the first embodiment, the case where the authentication key exchange is realized by one WPS has been described. In this embodiment, the authentication key exchange is realized by two WPSs.

以下、本実施の形態にかかる通信システム、すなわち無線通信装置100および無線通信装置200間の通信設定の動作の例を、図9を用いて説明する。図9は、無線通信装置100と無線通信装置200で行う通信設定の動作の一例を示すフローチャートである。   Hereinafter, an example of communication setting operation between the communication system according to the present embodiment, that is, the wireless communication device 100 and the wireless communication device 200 will be described with reference to FIG. FIG. 9 is a flowchart illustrating an example of a communication setting operation performed by the wireless communication device 100 and the wireless communication device 200.

ステップS901、S911において、無線通信装置100および無線通信装置200は、それぞれ、WPSを開始する。ここでのWPSの開始は、例えば、実施の形態1で説明した、ユーザが行う操作をトリガとする。   In steps S901 and S911, the wireless communication device 100 and the wireless communication device 200 each start WPS. The start of WPS here is triggered by the operation performed by the user described in the first embodiment, for example.

ステップS902、S912において、無線通信装置100と無線通信装置200は、それぞれ、情報を交換し、交換した情報に基づいて、認証鍵交換の要否を判断する。上記情報は、例えば、通信周波数帯および自装置のMACアドレスである。通信周波数帯は、実施の形態1で説明した、図3に示す通信周波数帯1001、1003と同じである。また、自装置のMACアドレスは、実施の形態1で説明した、図2に示すMACアドレス407、457と同じである。よって、無線通信装置100と無線通信装置200は、それぞれ、実施の形態1と同様に、通信周波数帯に基づいて、両者ともWiGig通信が可能か否か、すなわち、認証鍵交換が必要か否かを判断する。   In steps S902 and S912, the wireless communication device 100 and the wireless communication device 200 each exchange information, and determine whether authentication key exchange is necessary based on the exchanged information. The information is, for example, the communication frequency band and the MAC address of the own device. The communication frequency band is the same as the communication frequency bands 1001 and 1003 shown in FIG. 3 described in the first embodiment. Further, the MAC address of the own device is the same as the MAC addresses 407 and 457 shown in FIG. Therefore, each of wireless communication apparatus 100 and wireless communication apparatus 200 is based on the communication frequency band, whether or not WiGig communication is possible, that is, whether authentication key exchange is necessary, as in the first embodiment. Judging.

上記判断の結果、認証鍵交換が必要であると判断した場合、無線通信装置100および無線通信装置200は、ロール変更フラグを立てるとともに、接続相手情報を保持し、ステップS903、S913へ進む。ロール変更フラグとは、ステップS903、S913で決定するロールを、ステップS905、S915で変更するためのフラグである。また、接続相手情報は、ステップS906、S916で接続相手を限定するための情報である。接続相手情報は、例えば、交換した情報によって得られる、接続相手のMACアドレスが挙げられる。   As a result of the determination, if it is determined that authentication key exchange is necessary, the wireless communication device 100 and the wireless communication device 200 set a role change flag, hold connection partner information, and proceed to steps S903 and S913. The role change flag is a flag for changing the role determined in steps S903 and S913 in steps S905 and S915. The connection partner information is information for limiting the connection partner in steps S906 and S916. The connection partner information includes, for example, the MAC address of the connection partner obtained from the exchanged information.

ステップS903、S913において、無線通信装置100および200は、それぞれ、自装置のロールを決定する。ここでは、例として、無線通信装置100はSTAに決定し、無線通信装置200はPCPに決定する。   In steps S903 and S913, the wireless communication devices 100 and 200 each determine their own role. Here, as an example, radio communication apparatus 100 is determined to be STA, and radio communication apparatus 200 is determined to be PCP.

ステップS904、S914において、無線通信装置100および無線通信装置200は、それぞれ、WPSを行う。ここでのWPSは、従来公知のWPSである。WPSの結果、無線通信装置200は、無線通信装置100へ認証鍵を送信する。この認証鍵は、実施の形態1で説明した認証鍵[2]456であり、無線通信装置200がPCPである場合にWPAに用いる認証鍵である。   In steps S904 and S914, the wireless communication device 100 and the wireless communication device 200 each perform WPS. The WPS here is a conventionally known WPS. As a result of WPS, the wireless communication device 200 transmits an authentication key to the wireless communication device 100. This authentication key is the authentication key [2] 456 described in the first embodiment, and is an authentication key used for WPA when the wireless communication apparatus 200 is a PCP.

ステップS905、S915において、無線通信装置100および200は、それぞれ、ロール変更フラグが立っていることから、ステップS903、S913で決定した自装置のロールを変更する。すなわち、無線通信装置100は、STAからPCPに変更する。一方、無線通信装置200は、PCPからSTAに変更する。   In steps S905 and S915, each of the wireless communication devices 100 and 200 changes the role of the own device determined in steps S903 and S913 because the role change flag is set. That is, radio communication apparatus 100 changes from STA to PCP. On the other hand, the wireless communication apparatus 200 changes from PCP to STA.

ステップS906、S916において、無線通信装置100および200は、それぞれ、保持しておいた接続相手情報に基づいて、接続相手を限定して通信を行う。すなわち、無線通信装置100は、接続する相手を無線通信装置200に限定して通信する。一方、無線通信装置200は、接続する相手を無線通信装置100に限定して通信する。   In steps S <b> 906 and S <b> 916, the wireless communication apparatuses 100 and 200 each perform communication by limiting the connection partner based on the held connection partner information. That is, the wireless communication apparatus 100 performs communication by limiting the connection partner to the wireless communication apparatus 200. On the other hand, the wireless communication device 200 performs communication by limiting the connection partner to the wireless communication device 100.

ステップS907、S917において、無線通信装置100および無線通信装置200は、それぞれ、WPSを行う。ここでのWPSは、従来公知のWPSである。WPSの結果、無線通信装置100は、無線通信装置200へ認証鍵を送信する。この認証鍵は、実施の形態1で説明した認証鍵[1]406であり、無線通信装置100がPCPである場合にWPAに用いる認証鍵である。   In steps S907 and S917, the wireless communication device 100 and the wireless communication device 200 each perform WPS. The WPS here is a conventionally known WPS. As a result of WPS, the wireless communication apparatus 100 transmits an authentication key to the wireless communication apparatus 200. This authentication key is the authentication key [1] 406 described in the first embodiment, and is an authentication key used for WPA when the wireless communication apparatus 100 is a PCP.

ステップS908、S918において、無線通信装置100および無線通信装置200は、それぞれ、WPSを終了する。   In steps S908 and S918, wireless communication apparatus 100 and wireless communication apparatus 200 each end WPS.

以上、本実施の形態の無線通信装置100および無線通信装置200は、それら両方がWiGigで通信可能である場合に、接続相手として限定し、ロールを変更してWPA用の認証鍵を交換する。これにより、本実施の形態の無線通信装置100と無線通信装置200は、互いに、通信相手がPCPである場合のWPA用認証鍵を保持することが可能となる。よって、無線通信装置100および無線通信装置200は、WPA実行時にどちらがSTA、PCPになっても、接続することができる。すなわち、無線通信装置100と無線通信装置200は、WPS実行時とWPA実行時とで各無線通信装置のロールが変わっても、接続が可能となる。   As described above, the wireless communication apparatus 100 and the wireless communication apparatus 200 according to the present embodiment exchange the authentication key for WPA by limiting the role as a connection partner and changing the role when both can communicate with WiGig. As a result, the wireless communication device 100 and the wireless communication device 200 according to the present embodiment can hold the authentication key for WPA when the communication partner is PCP. Therefore, the wireless communication device 100 and the wireless communication device 200 can be connected regardless of which is STA or PCP when WPA is executed. That is, the wireless communication device 100 and the wireless communication device 200 can be connected even if the role of each wireless communication device changes between when WPS is executed and when WPA is executed.

以上、本願発明の無線通信装置は、他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置であって、自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する認証鍵交換判断部と、前記認証鍵交換判断部の判断結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行う認証鍵交換部と、を備えたものである。   As described above, the wireless communication device of the present invention is a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with other wireless communication devices, and information related to wireless communication performed by the device itself. And based on the information about the wireless communication performed by the other wireless communication device, whether or not both the own device and the other wireless communication device are capable of wireless communication using millimeter waves, Authentication key exchange determination unit for determining whether or not it is necessary to exchange authentication keys between each other and authentication with the other wireless communication device based on the determination result of the authentication key exchange determination unit And an authentication key exchange unit for exchanging keys.

また、本願発明の無線通信装置は、前記他の無線通信装置が利用可能な通信周波数帯を含むビーコンを受信する機器探索部を、さらに備え、前記認証鍵交換判断部は、前記他の無線通信装置が利用可能な通信周波数帯と、自装置が保持している、自装置が利用可能な通信周波数帯とに基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する、ものである。   The wireless communication device of the present invention further includes a device search unit that receives a beacon including a communication frequency band that can be used by the other wireless communication device, and the authentication key exchange determination unit includes the other wireless communication device. Based on the communication frequency band that can be used by the apparatus and the communication frequency band that the own apparatus can use and that can be used by the own apparatus, both the own apparatus and the other wireless communication apparatus use millimeter waves. It is determined whether or not it is necessary to exchange authentication keys with the other wireless communication devices depending on whether or not communication is possible.

また、本願発明の無線通信装置は、前記他の無線通信装置が利用可能な通信周波数帯を含む接続要求を受信する接続部を、さらに備え、前記認証鍵交換判断部は、前記他の無線通信装置が利用可能な通信周波数帯と、自装置が保持している、自装置が利用可能な津心周波数帯とに基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する、ものである。   The wireless communication device of the present invention further includes a connection unit that receives a connection request including a communication frequency band that can be used by the other wireless communication device, and the authentication key exchange determination unit includes the other wireless communication device. Based on the communication frequency band that the device can use and the tsushin frequency band that the device itself can use, both the device and the other wireless communication device used millimeter waves. It is determined whether or not an authentication key needs to be exchanged with the other wireless communication device depending on whether wireless communication is possible.

また、本願発明の無線通信装置は、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断した結果を、認証鍵交換フラグとして出力し、前記認証鍵交換部は、前記認証鍵交換判断部からの前記認証鍵交換フラグに基づいて、前記他の無線通信装置との間で認証鍵の交換を行う、ものである。また、本願発明の無線通信装置において、前記ミリ波を用いた無線通信は、WiGigを用いた無線通信である。   The wireless communication device of the present invention outputs a result of determining whether or not an authentication key needs to be exchanged with the other wireless communication device as an authentication key exchange flag, and The exchange unit exchanges an authentication key with the other wireless communication device based on the authentication key exchange flag from the authentication key exchange determination unit. In the wireless communication apparatus of the present invention, the wireless communication using the millimeter wave is wireless communication using WiGig.

本発明は、他の無線通信装置との間で、ミリ波の無線通信を行うための通信設定を行う無線通信装置、通信デバイス、無線通信方法、および無線通信制御プログラムとして有用である。   The present invention is useful as a wireless communication device, a communication device, a wireless communication method, and a wireless communication control program for performing communication settings for performing millimeter-wave wireless communication with other wireless communication devices.

100、200 無線通信装置
102、202 演算部
103、203 記憶部
104、204、301 通信部
105、205 表示部
106、206 操作部
107、207 設定開始部
108、208 ロール決定部
109、209 機器探索部
110、210 接続部
111、211 認証鍵交換判断部
112、212 秘密鍵共有部
113、213 認証鍵交換部
114、214 切断部
115、215 設定情報
116、216 自装置情報
130 ミドルウェア
131 通信設定制御部
140 ドライバ
300 通信デバイス
100, 200 Wireless communication device 102, 202 Arithmetic unit 103, 203 Storage unit 104, 204, 301 Communication unit 105, 205 Display unit 106, 206 Operation unit 107, 207 Setting start unit 108, 208 Role determination unit 109, 209 Device search Unit 110, 210 Connection unit 111, 211 Authentication key exchange determination unit 112, 212 Secret key sharing unit 113, 213 Authentication key exchange unit 114, 214 Disconnection unit 115, 215 Setting information 116, 216 Self-device information 130 Middleware 131 Communication setting control Part 140 Driver 300 Communication device

Claims (8)

他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置であって、
自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する認証鍵交換判断部と、
前記認証鍵交換判断部の判断結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行う認証鍵交換部と、
を備えた無線通信装置。
A wireless communication device that performs communication settings for performing wireless communication using millimeter waves with other wireless communication devices,
Based on whether information regarding wireless communication performed by the own device and information regarding wireless communication performed by the other wireless communication device is enabled, whether both the device and the other wireless communication device are capable of wireless communication using millimeter waves. An authentication key exchange determination unit for determining whether or not an authentication key needs to be exchanged with the other wireless communication device;
An authentication key exchange unit for exchanging an authentication key with the other wireless communication device based on a determination result of the authentication key exchange determination unit;
A wireless communication device comprising:
前記他の無線通信装置が利用可能な通信周波数帯を含むビーコンを受信する機器探索部を、さらに備え、
前記認証鍵交換判断部は、
前記他の無線通信装置が利用可能な通信周波数帯と、自装置が保持している、自装置が利用可能な通信周波数帯とに基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する、
請求項1記載の無線通信装置。
A device search unit that receives a beacon including a communication frequency band that can be used by the other wireless communication device;
The authentication key exchange determination unit
Based on the communication frequency band that can be used by the other wireless communication apparatus and the communication frequency band that the own apparatus can use and that can be used by the own apparatus, both the own apparatus and the other wireless communication apparatus are in millimeters. Determining whether or not it is necessary to mutually exchange an authentication key with the other wireless communication device depending on whether wireless communication using waves is possible or not,
The wireless communication apparatus according to claim 1.
前記他の無線通信装置が利用可能な通信周波数帯を含む接続要求を受信する接続部を、さらに備え、
前記認証鍵交換判断部は、
前記他の無線通信装置が利用可能な通信周波数帯と、自装置が保持している、自装置が利用可能な通信周波数帯とに基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する、
請求項1記載の無線通信装置。
A connection unit that receives a connection request including a communication frequency band that can be used by the other wireless communication device;
The authentication key exchange determination unit
Based on the communication frequency band that can be used by the other wireless communication apparatus and the communication frequency band that the own apparatus can use and that can be used by the own apparatus, both the own apparatus and the other wireless communication apparatus are in millimeters. Determining whether or not it is necessary to mutually exchange an authentication key with the other wireless communication device depending on whether wireless communication using waves is possible or not,
The wireless communication apparatus according to claim 1.
前記認証鍵交換判断部は、
前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断した結果を、認証鍵交換フラグとして出力し、
前記認証鍵交換部は、
前記認証鍵交換判断部からの前記認証鍵交換フラグに基づいて、前記他の無線通信装置との間で認証鍵の交換を行う、
請求項1記載の無線通信装置。
The authentication key exchange determination unit
The result of determining whether or not it is necessary to exchange authentication keys with the other wireless communication device is output as an authentication key exchange flag,
The authentication key exchange unit
Based on the authentication key exchange flag from the authentication key exchange determination unit, exchange an authentication key with the other wireless communication device,
The wireless communication apparatus according to claim 1.
前記ミリ波を用いた無線通信は、WiGigを用いた無線通信である、
請求項1記載の無線通信装置。
The wireless communication using the millimeter wave is wireless communication using WiGig.
The wireless communication apparatus according to claim 1.
ミリ波を用いた無線通信を他の無線通信装置との間で行う無線通信装置と接続し、前記無線通信を実行するための通信設定を行う通信デバイスであって、
前記無線通信装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、前記無線通信装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記無線通信装置と前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する認証鍵交換判断部と、
前記認証鍵交換判断部の判断結果に基づいて、前記無線通信装置と前記他の無線通信装置との間で認証鍵の交換を行う認証鍵交換部と、
を備えた通信デバイス。
A communication device that connects to a wireless communication device that performs wireless communication using millimeter waves with another wireless communication device and performs communication settings for executing the wireless communication,
Based on information related to wireless communication performed by the wireless communication device and information related to wireless communication performed by the other wireless communication device, both the wireless communication device and the other wireless communication device can perform wireless communication using millimeter waves. An authentication key exchange determination unit that determines whether or not it is necessary to exchange authentication keys between the wireless communication device and the other wireless communication device,
An authentication key exchange unit for exchanging an authentication key between the wireless communication device and the other wireless communication device based on a determination result of the authentication key exchange determination unit;
Communication device equipped with.
他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置が行う無線通信方法であって、
自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断するステップと、
前記判断の結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行うステップと、
を有する無線通信方法。
A wireless communication method performed by a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with other wireless communication devices,
Based on whether information regarding wireless communication performed by the own device and information regarding wireless communication performed by the other wireless communication device is enabled, whether both the device and the other wireless communication device are capable of wireless communication using millimeter waves. Determining whether an authentication key needs to be exchanged with the other wireless communication device; and
Exchanging an authentication key with the other wireless communication device based on the result of the determination;
A wireless communication method.
他の無線通信装置との間で、ミリ波を用いた無線通信を行うための通信設定を行う無線通信装置のコンピュータに実行させる無線通信制御プログラムであって、
自装置が行う無線通信に関する情報および前記他の無線通信装置が行う無線通信に関する情報に基づいて、自装置と前記他の無線通信装置の両方がミリ波を用いた無線通信が可能か否かにより、前記他の無線通信装置との間で認証鍵を相互に交換する必要があるか否かを判断する処理と、
前記判断の結果に基づいて、前記他の無線通信装置との間で認証鍵の交換を行う処理と、
を実行させる無線通信制御プログラム。
A wireless communication control program to be executed by a computer of a wireless communication device that performs communication settings for performing wireless communication using millimeter waves with another wireless communication device,
Based on whether information regarding wireless communication performed by the own device and information regarding wireless communication performed by the other wireless communication device is enabled, whether both the device and the other wireless communication device are capable of wireless communication using millimeter waves. Determining whether or not it is necessary to exchange authentication keys with the other wireless communication devices;
A process of exchanging an authentication key with the other wireless communication device based on the result of the determination;
A wireless communication control program for executing
JP2012102756A 2012-04-25 2012-04-27 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program Active JP5789219B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2012102756A JP5789219B2 (en) 2012-04-27 2012-04-27 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program
US14/391,374 US9420462B2 (en) 2012-04-25 2013-04-22 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program
PCT/JP2013/002674 WO2013161248A1 (en) 2012-04-25 2013-04-22 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012102756A JP5789219B2 (en) 2012-04-27 2012-04-27 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program

Publications (2)

Publication Number Publication Date
JP2013232728A JP2013232728A (en) 2013-11-14
JP5789219B2 true JP5789219B2 (en) 2015-10-07

Family

ID=49678829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012102756A Active JP5789219B2 (en) 2012-04-25 2012-04-27 Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program

Country Status (1)

Country Link
JP (1) JP5789219B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6141533B2 (en) 2014-07-14 2017-06-07 三菱電機株式会社 Wireless communication system and wireless communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5106275B2 (en) * 2008-06-30 2012-12-26 株式会社東芝 Wireless communication apparatus and wireless communication method
JP5571892B2 (en) * 2008-10-06 2014-08-13 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, COMPUTER PROGRAM, STORAGE MEDIUM
US8839372B2 (en) * 2009-12-23 2014-09-16 Marvell World Trade Ltd. Station-to-station security associations in personal basic service sets

Also Published As

Publication number Publication date
JP2013232728A (en) 2013-11-14

Similar Documents

Publication Publication Date Title
US11902869B2 (en) Communication device
US9420462B2 (en) Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program
US9907097B2 (en) Wireless communication device, wireless communication system, program and wireless communication method
US9414435B2 (en) Communication device
JP4988918B2 (en) Method and system for communication between accessory device and portable device
US20230030588A1 (en) Communication apparatus, control method, and computer-readable storage medium
JP6477133B2 (en) Communication equipment
US9860930B2 (en) Method to set up a wireless communication connection and electronic device utilizing the same
WO2014199537A1 (en) Wireless communications device, wireless communications method, and wireless communications control program
JP6261577B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication control program
JP5724795B2 (en) Wireless communication device
WO2020195809A1 (en) Communication device, communication method, program, and storage medium
JP5789219B2 (en) Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program
JP5855520B2 (en) Wireless communication apparatus, communication device, wireless communication method, and wireless communication control program
JP2015176536A (en) Communication device, communication method, communication program, and storage medium
JP2013229805A (en) Radio communication apparatus, communication device, radio communication method, and radio communication control program
JP6486228B2 (en) Communication apparatus, control method, and program
US20210282008A1 (en) Communication apparatus, control method of communication apparatus and non-transitory computer-readable storage medium
JP5812065B2 (en) External storage device, data file transmission / reception system, data file transmission / reception method / program
WO2023218759A1 (en) Communication device, control method therefor, and communication system
CN113596827A (en) Key generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141027

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150728

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150731

R151 Written notification of patent or utility model registration

Ref document number: 5789219

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151