JP2015188132A - Communication device, control method, and program - Google Patents
Communication device, control method, and program Download PDFInfo
- Publication number
- JP2015188132A JP2015188132A JP2014064347A JP2014064347A JP2015188132A JP 2015188132 A JP2015188132 A JP 2015188132A JP 2014064347 A JP2014064347 A JP 2014064347A JP 2014064347 A JP2014064347 A JP 2014064347A JP 2015188132 A JP2015188132 A JP 2015188132A
- Authority
- JP
- Japan
- Prior art keywords
- wireless network
- communication device
- wireless
- channel
- generated
- 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.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は無線通信における無線チャネル設定に関する。 The present invention relates to radio channel setting in radio communication.
近年、デジタルカメラやプリンタなどの電子機器に無線LANのステーション(端末)機能を搭載し、電子機器を通信装置として、無線LANに接続して使用するケースが増えてきている。特許文献1には、デジタルカメラに無線LAN機能を搭載し、画像共有を容易にする方法が記載されている。 In recent years, there is an increasing number of cases where a wireless LAN station (terminal) function is mounted on an electronic device such as a digital camera or a printer, and the electronic device is used as a communication device connected to the wireless LAN. Japanese Patent Application Laid-Open No. 2004-228561 describes a method of facilitating image sharing by mounting a wireless LAN function on a digital camera.
IEEE802.11規格シリーズに準拠した無線LANは、インフラストラクチャモードとアドホックモードとの2つのモードを有する。インフラストラクチャモードでは、アクセスポイント(以下、「AP」又は「基地局」と呼ぶ。)が無線ネットワークの管理を行い、ステーション(以下、「STA」又は「子局」と呼ぶ。)がその無線ネットワークに接続して通信を行う。 A wireless LAN conforming to the IEEE 802.11 standard series has two modes, an infrastructure mode and an ad hoc mode. In the infrastructure mode, an access point (hereinafter referred to as “AP” or “base station”) manages a wireless network, and a station (hereinafter referred to as “STA” or “child station”) manages the wireless network. Connect to and communicate.
また、Wi−Fi AllianceによってWi−Fi Peer−to−Peer(以下、「P2P」と呼ぶ。)規格が策定されている。P2P規格では、P2Pグループオーナー(以下、「P2P−GO」と呼ぶ。)とP2Pクライアント(以下、「P2P−CL」と呼ぶ。)によって構成される無線通信ネットワークであるP2Pグループが定められている。P2Pグループ内では、P2P−CLが子局として、基地局であるP2P−GOに接続することで通信を行う。 In addition, Wi-Fi Peer-to-Peer (hereinafter referred to as “P2P”) standards are established by the Wi-Fi Alliance. The P2P standard defines a P2P group, which is a wireless communication network composed of a P2P group owner (hereinafter referred to as “P2P-GO”) and a P2P client (hereinafter referred to as “P2P-CL”). . Within the P2P group, P2P-CL performs communication by connecting to a base station P2P-GO as a slave station.
無線LANのMAC層では、CSMA/CA(Carrier Sense Multiple Access with Collision Avoidance)を採用している。これにより、複数の通信装置が、同一の無線周波数チャネル(以下、「無線チャネル」と呼ぶ。)を利用して通信することができる。無線LANなどの無線通信では、送信側の装置と受信側の装置とのそれぞれが設定している無線チャネルが異なる場合は通信を行うことができず、互いに通信を行う通信装置同士の間では、同一の無線チャネルが設定されている必要がある。そのため、APは、一般的には、ユーザからの指示があった場合又はAPが自律的に電波環境の劣化を検知した場合等に限って無線チャネルを変更する。すなわち、APが頻繁に無線チャネルを変更することは一般的ではない。一方、STAは、APを検索する際に、チャネルを切り替えながら、ネットワーク検索(Scan)を行う。このため、STAが頻繁にチャネルを変更することは想定されうる。 The MAC layer of the wireless LAN employs CSMA / CA (Carrier Sense Multiple Access with Collision Aidance). Thus, a plurality of communication devices can communicate using the same radio frequency channel (hereinafter referred to as “radio channel”). In wireless communication such as a wireless LAN, communication cannot be performed if the wireless channel set by the transmission-side device and the reception-side device is different, and between communication devices that communicate with each other, The same radio channel needs to be set. Therefore, the AP generally changes the radio channel only when there is an instruction from the user or when the AP autonomously detects deterioration of the radio wave environment. That is, it is not common for the AP to change the radio channel frequently. On the other hand, when searching for an AP, the STA performs a network search (Scan) while switching channels. For this reason, it can be assumed that the STA frequently changes the channel.
また、STAの機能及びP2P−GOの機能は、同時に動作させることが可能であり(以下、このような動作を「コンカレント動作」と呼ぶ。)、そのような実装がなされた無線通信装置が開発されている。以下では、このような無線通信装置のことをDUAL装置と呼ぶ。 In addition, the STA function and the P2P-GO function can be operated simultaneously (hereinafter, such an operation is referred to as a “concurrent operation”), and a wireless communication apparatus having such an implementation has been developed. Has been. Hereinafter, such a wireless communication device is referred to as a dual device.
DUAL装置は、STA機能及びP2P−GO機能が、それぞれ別のチャネルを使用して通信することができる。ただし、DUAL装置のSTA機能及びP2P−GO機能をそれぞれ別のチャネルで動作させるためには、チャネルを設定するための無線ハードウェアが2つ必要となる。しかしながら、無線ハードウェアを2つ設けると、その分コストが上昇してしまう。したがって、DUAL装置のSTA機能とP2P−GO機能とが、1つの無線ハードウェアを共通して使用し、これらの機能が使用する無線チャネルを同一にすることが実用的である。 In the dual device, the STA function and the P2P-GO function can communicate with each other using different channels. However, in order to operate the STA function and the P2P-GO function of the dual device on different channels, two pieces of wireless hardware for setting the channels are required. However, if two pieces of wireless hardware are provided, the cost increases accordingly. Therefore, it is practical that the STA function and the P2P-GO function of the dual device use one radio hardware in common and the radio channels used by these functions are the same.
そのため、DUAL装置がP2P−GO機能により生成している無線ネットワークに少なくとも1台のP2P−CLが接続している場合、そのP2P−CLとの通信を維持するためには、DUAL装置のチャネル変更が抑制されなければならない。しかし、チャネル変更が抑制されると、DUAL装置は、使用している無線チャネル以外でのネットワークの検索及び無線接続を行うことができない。換言すれば、DUAL装置が使用している無線チャネル以外でのネットワークの検索と無線接続とを行うと、P2P−GO機能で生成したP2Pグループの終了を余儀なくされてしまう。 Therefore, when at least one P2P-CL is connected to a wireless network generated by the dual device using the P2P-GO function, in order to maintain communication with the P2P-CL, the channel of the dual device is changed. Must be suppressed. However, if the channel change is suppressed, the dual device cannot perform network search and wireless connection other than the wireless channel being used. In other words, if the network search and wireless connection other than the wireless channel used by the dual device are performed, the P2P group generated by the P2P-GO function is forced to end.
本発明は上記課題に鑑みなされたものであり、通信装置が、生成した無線ネットワークに参加している他の通信装置との接続を、使用中の無線チャネルを変更した後にも維持するための技術を提供することを目的とする。 The present invention has been made in view of the above problems, and a technique for a communication device to maintain a connection with another communication device participating in a generated wireless network even after changing a wireless channel in use. The purpose is to provide.
上記目的を達成するため、本発明による通信装置は、無線ネットワークを生成する生成手段と、前記通信装置が使用する無線チャネルを変更する際に、前記生成手段が生成した無線ネットワークを終了する終了手段と、前記生成手段が生成した無線ネットワークに参加していた第1の他の通信装置へ信号を送信する送信手段と、を有し、前記生成手段は、前記無線チャネルを変更した後の新たな無線ネットワークを生成し、前記送信手段は、当該新たな無線ネットワークへ招待する信号を前記第1の他の通信装置へ送信する、ことを特徴とする。 In order to achieve the above object, a communication device according to the present invention includes a generation unit that generates a wireless network, and a termination unit that terminates the wireless network generated by the generation unit when changing a wireless channel used by the communication device. And transmitting means for transmitting a signal to the first other communication device that has joined the wireless network generated by the generating means, and the generating means includes a new one after changing the wireless channel. A wireless network is generated, and the transmission means transmits a signal for inviting to the new wireless network to the first other communication device.
本発明によれば、通信装置が、生成した無線ネットワークに参加している他の通信装置との接続を、使用中の無線チャネルを変更した後にも維持することができる。 ADVANTAGE OF THE INVENTION According to this invention, a communication apparatus can maintain the connection with the other communication apparatus which has participated in the produced | generated wireless network, even after changing the radio channel in use.
以下、添付図面を参照して本発明の実施の形態を詳細に説明する。以下では、IEEE802.11シリーズに準拠した無線LANシステムを用いた例について説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Hereinafter, an example using a wireless LAN system compliant with the IEEE 802.11 series will be described.
(無線通信システムの構成)
図1に、本実施形態に係る無線通信システムの構成例を示す。図1の無線通信システムは、通信装置であるDUAL装置12、アクセスポイント11(以下、「AP」と呼ぶ。)および、Peer−to−Peer Client13(以下、「P2P−CL」と呼ぶ。)を含む。AP11は、無線ネットワーク14を生成して管理する。DUAL装置12は、APに接続するステーション(以下、「STA」と呼ぶ)機能とPeer−to−Peer Group Owner(以下、P2P−GO)機能とを有する。DUAL装置12は、STA機能により、AP11が生成した無線ネットワーク14に参加してAP11と無線接続を確立する一方で、P2P−GO機能により、無線ネットワーク15を生成して管理する。P2P−CL13は、DUAL装置12が生成した無線ネットワーク15に参加して、DUAL装置12との間で無線接続を確立する。なお、DUAL装置12のP2P−GO機能とP2P−CL13との間の接続は、Wi−Fi Peer−to−Peer(以下、「P2P」と呼ぶ。)規格に従うものとする。
(Configuration of wireless communication system)
FIG. 1 shows a configuration example of a wireless communication system according to this embodiment. The wireless communication system of FIG. 1 includes a
無線ネットワーク14と無線ネットワーク15は、同一の無線周波数(以下、無線チャネル)で構築されているが、これらのネットワークは独立して動作する。このため、ネットワーク識別子(以下、SSID)、認証方式、暗号方式等は、無線ネットワーク14と無線ネットワーク15とで異なっていてもよい。また、無線ネットワーク14及び無線ネットワーク15とは異なる無線チャネルを使用して、不図示のAP16により生成されると共に管理されている不図示の無線ネットワーク17が存在するものとする。また、無線ネットワーク17のSSID、認証方式、暗号方式等は、無線ネットワーク14のそれらと同一であり、無線ネットワーク14から無線ネットワーク17へのローミングが可能であるものとする。
The
(DUAL装置の構成)
図2に、DUAL装置12の構成例を示す。図2において、201は装置全体を示し、DUAL装置12は、例えば表示部202、制御部203、記憶部204、入力部205、無線部206、アンテナ制御部207及びアンテナ208を有する。
(DUAL device configuration)
FIG. 2 shows a configuration example of the
表示部202は、各種表示を行う機能部であり、LCDやLEDのように視覚で認知可能な情報の出力、またはスピーカなどの音出力を行うことができる。制御部203は、記憶部204に記憶された制御プログラムを実行することにより、装置全体を制御する。制御部203は、例えば、1つ又は複数のCPUやMPU等のプロセッサを含む。記憶部204は、制御部203が実行する制御プログラムを記憶する。記憶部204は、例えば、ROM,RAM,HDD,フラッシュメモリ等の各種メモリによって構成される。なお、後述する各種動作は、記憶部204に記憶された制御プログラムを制御部203が実行することにより行われる。入力部205はユーザが各種入力を行うための機能部であり、ユーザからの入力を受け付けて、例えば、制御部203に対してその受け付けた操作内容を出力する。無線部206は無線通信を行うための機能部であり、アンテナ制御部207がアンテナ208を制御することにより、無線信号の送信または受信の少なくともいずれかを行うことができる。なお、DUAL装置12は、図1に示すハードウェア構成以外のハードウェア構成を有していてもよい。例えば、DUAL装置12は、自身がデジタルカメラである場合は撮像部を有し、自身がプリンタである場合には、印刷部を有する。
The
図3に、制御部203が実行することによって得られる、ソフトウェア機能構成の一例を示す。図3に示されるように、制御部203は、例えば、共通制御部301、P2P−GO制御部302、及びSTA制御部303を、ソフトウェア機能として実現する。なお、共通制御部301は、P2P−GO機能及びSTA機能で共通に無線部206を制御する。P2P−GO制御部302は、P2P−GO機能で無線部206を制御する。STA制御部303は、STA機能で無線部206を制御する。
FIG. 3 shows an example of a software function configuration obtained by execution by the
共通制御部301は、例えば、パケット受信部304、パケット送信部305、チャネル制御部306、及び繰返し処理部307を含む。パケット受信部304は、通信で用いるパケットを受信する機能であり、パケット送信部305は、通信で用いるパケットを送信する機能である。なお、信号は、パケットの形式ではない形式で送信または受信されてもよい。この場合、パケット受信部304及びパケット送信部305は、使用される信号の形式に沿って、信号を受信し、又は送信する機能として実現されうる。チャネル制御部306は、通信で用いる無線チャネルを制御する。繰返し処理部307は、後述するネットワーク検索処理を繰返し実行する。
The
P2P−GO制御部302は、例えば、ネットワーク管理部308、ステーション検出部309、不在通知処理制御部310、及び招待要求処理制御部311を含む。ネットワーク管理部308は、P2P−GOとして、無線ネットワークを生成して管理する。ステーション検出部309は、少なくとも1台のP2P−CLが、ネットワーク管理部308において生成した無線ネットワークに接続しているか否かの検出、判定を行う。不在通知処理制御部310は、後述するNotice of Absence(以下、「NoA」と呼ぶ。)処理を制御する。招待要求処理制御部311は、Peer−to−Peer(P2P)能力を持つ他の通信装置に対し、後述するInvitation Requestを送信することで、ネットワーク管理部308が生成した無線ネットワークへの招待要求を行う。
The P2P-
STA制御部303は、例えば、ネットワーク検索部312及びネットワーク接続制御部313を有する。ネットワーク検索部312は、周囲の他の通信装置が生成した無線ネットワークを検索する。ネットワーク接続制御部313は、例えば検索して発見された、他の通信装置が生成した無線ネットワークへの接続を制御する。なお、図3に示す機能ブロックのそれぞれは、必ずしもソフトウェアによって提供されなくてもよく、ハードウェアによって提供されてもよい。そして、図3に示す各機能ブロックは、相互関係を有するものである。また、図3に示す各機能ブロックは一例であり、図3の複数の機能ブロックが1つの機能ブロックとして構成されてもよいし、図3のいずれかの機能ブロックが、さらに複数の機能ブロックに分割されてもよい。
The
(処理の流れ)
続いて、上述のDUAL装置12が含まれる無線通信システムにおける処理の流れについて説明する。図4は、この処理の流れの例を示すシーケンス図である。
(Process flow)
Subsequently, a flow of processing in the wireless communication system including the above-described
まず、AP11は、10チャネル(10CH)で無線ネットワーク14を生成する(F401)。DUAL装置12は、STA機能によりAP11が生成した無線ネットワーク15に参加し、AP11との間の接続を確立する(F402)。DUAL装置12は、その後、P2P−GO機能により無線ネットワーク15を生成する(F403)。このとき、DUAL装置12が生成する無線ネットワーク15で使用される無線チャネルは、DUAL装置12が参加する無線ネットワーク14で使用される無線チャネルと同一(10チャネル)である。P2P−CL13は、無線ネットワーク15に参加し、DUAL装置12との間で接続を確立する(F404)。ここで、DUAL装置12(のP2P−GO機能)とP2P−CL13との接続では、P2P規格において定められているP2P Group Formation処理やP2P Invitation処理が使用されてもよい。
First, the
その後、DUAL装置12が移動して無線ネットワーク14の通信可能範囲を脱したこと、またはAP11が停止したこと等の原因により、DUAL装置12とAP11(無線ネットワーク14)との無線通信が切断されたとする(F405)。すると、DUAL装置12は、自らがP2P−GOとして生成した無線ネットワーク15に参加しているP2P−CLが存在するかを確認する(F406)。DUAL装置12は、無線ネットワーク15にP2P−CL13が存在することを確認すると、P2P−CL13に、DUAL装置12のP2P−GOが無線ネットワーク15において不在になるスケジュールを通知する処理を行う(F407)。この処理を、以下ではNoA処理と呼ぶ。DUAL装置12は、NoA処理を用いてP2P−CL13に対して不在通知を行うことで、P2P−GOとの通信ができなくなることによって、P2P−CL13が無線ネットワーク15から離脱することを防ぎ、P2Pグループを継続することができる。
Thereafter, the wireless communication between the
そして、DUAL装置12は、NoA処理で通知したスケジュールに基づいて、使用する無線チャネルを1チャネルへ変更する(F408)。DUAL装置12は、無線チャネルの変更が完了すると1チャネルで無線ネットワーク検索要求(例えば、Probe Request)を送信する(F409)。ここで、1チャネルにおいては、DUAL装置12が接続すべき無線ネットワークに関するSSIDを持つAPが存在しなかったとする。すると、DUAL装置12は、接続すべき無線ネットワークが存在しないため、1チャネルを使用する無線ネットワークへの接続を行わない。その後、DUAL装置12は、1チャネルへの無線チャネルの変更を終了し、10チャネルへ戻る。その後、DUAL装置12は、1チャネルにおける無線ネットワーク検索と同様にして2チャネル以降の無線ネットワークについて、使用する(検索対象の)無線チャネルを変更しながら、無線ネットワークの検索を繰り返す(F410〜F415)。
Then, the
ここで、DUAL装置12が接続すべき無線ネットワークに関するSSIDを有するAP16が、3チャネルを用いて無線ネットワーク17を生成しているものとする(F416)。すると、DUAL装置12は、無線ネットワーク検索を繰り返す中で、3チャネルにおいて接続すべき無線ネットワークに関するSSIDを持つAP16からの無線ネットワーク検索応答を受信する(F417)。これにより、DUAL装置12は、AP16が生成する無線ネットワーク17を発見する。
Here, it is assumed that the AP 16 having the SSID related to the wireless network to which the
DUAL装置12は、3チャネルでの無線ネットワーク検索を終了すると10チャネルへ戻り、3チャネルにおいて無線ネットワーク17に接続する前に、無線ネットワーク15を終了する。すなわち、DUAL装置12は、P2P−CL13との接続を切断する(F418)。その後、DUAL装置12は、使用する無線チャネルを3チャネルへと変更し、無線ネットワーク17に参加して、AP16との間で接続を確立する(F419)。その後、DUAL装置12は、P2P−GO機能により、無線ネットワーク18を構築する(F420)。ここで、無線ネットワーク18で使用される無線チャネルは、DUAL装置12がSTA機能により参加している無線ネットワーク17で使用される無線チャネルと同様に、3チャネルとなる。このとき、無線ネットワーク18で用いられるSSID、パケットの暗号化、又は復号化パスワード等は、無線ネットワーク15で用いられるSSID、パケットの暗号化、又は復号化パスワード等と、それぞれ異なっていてもよい。DUAL装置12は、無線ネットワーク18の生成を完了すると、無線ネットワーク15に参加していたP2P−CL13に対して、P2P Invitation Requestを送信し、招待要求処理を行う(F421)。P2P−CL13は、招待要求を受信すると、P2P Invitation処理を行い、無線ネットワーク18への参加(DUAL装置12との接続の確立)処理を完了する(F422)。
The
なお、F406以降で、DUAL装置12は、使用可能な全ての無線チャネルにおいて無線ネットワークを検索した結果、接続すべき無線ネットワークを発見しなかった場合、無線ネットワーク15を切断することなくP2P−CL13との接続を継続する。
After F406, if the
また、本実施形態において、DUAL装置12は、無線チャネルを変更してSTA機能により新たな無線ネットワークを発見した(F417)後に、P2P−GO機能により生成した無線ネットワーク15を終了した(F418)。しかしながら、DUAL装置12は、無線ネットワーク14の切断を検知したタイミングで(F405)、無線ネットワーク15を終了してもよい。その場合、P2P−GO機能により構築された無線ネットワーク15にP2P−CLが存在するかどうかの確認(F406)と、NoA処理(F407、F410、F413)は不要となる。そして、この場合、DUAL装置12は、接続すべき無線ネットワークへの接続を確立した後または接続すべき無線ネットワークを発見できずに全無線チャネルにおける検索を完了した後に、P2P−GO機能により無線ネットワーク18を生成する(F420)。そして、DUAL装置12は、この無線ネットワーク18へのP2P−CL13の招待要求処理を行う(F421、F422)。
In the present embodiment, the
続いて、DUAL装置12が実行する処理について、図5及び図6を用いて説明する。図5及び図6は、DUAL装置12が実行する処理の流れを示すフローチャートである。図5及び図6に示す各ステップは、例えば、DUAL装置12の制御部203が、記憶部204に記憶された制御プログラムを実行することによって処理される。
Subsequently, processing executed by the
コンカレント動作中のDUAL装置12のSTA機能においてローミングが発生した場合、DUAL装置12は、自装置のP2P−GO機能が生成する無線ネットワークに少なくとも1台のP2P−CLが存在するか否かを確認する(S501)。確認した結果はP2P−CLフラグとして記憶される。すなわち、P2P−CLフラグが、P2P−CLが存在する場合(S501でYES)はON(S502)に、存在しない場合(S501でNO)はOFF(S503)にそれぞれ設定される。
When roaming occurs in the STA function of the
P2P−CLフラグがONである場合(S504でYES)、DUAL装置12は、NoA処理を行い(S505)、使用する無線チャネルを、無線ネットワークの検索要求(例えばProbe Request)を送信するチャネルへ変更する(S506)。一方、P2P−CLフラグがOFFである場合(S504でNO)、DUAL装置12は、NoA処理を行わずに、使用する無線チャネルを、無線ネットワークの検索要求を送信するチャネルへ変更する(S506)。
If the P2P-CL flag is ON (YES in S504), the
無線チャネルの変更が完了した後、DUAL装置12は、その変更後の無線チャネルを使用して、無線ネットワークの検索要求を送信する(S507)。そして、DUAL装置12は、送信が完了すると、所定の時間だけ無線ネットワークの検索応答(例えばProbe Response)を受信するまで待機する(S508)。受信待ち時間が終了した後は、DUAL装置12は、使用する無線チャネルを、元のチャネルへ戻す(S509)。無線チャネルの元のチャネルへの変更が完了した後、DUAL装置12は、受信した無線ネットワークの検索応答の結果に基づいて、検索した無線チャネルに接続すべき無線ネットワークが存在するか否かを確認する(S510)。DUAL装置12は、確認の結果として接続すべき無線ネットワークが存在する場合(S510でYES)、図5の処理を終了する。一方、DUAL装置12は、接続すべき無線ネットワークが存在しない場合(S510でNO)、使用可能な全ての無線チャネルにおいて無線ネットワークの検索を行ったかを判断する(S511)。DUAL装置12は、全ての無線チャネルについて検索が完了していると判断した場合(S511でYES)、図5の処理を終了する。一方、まだ全ての無線チャネルについて検索が完了していない場合(S511でNO)は、DUAL装置12は、検索する無線チャネルを変更して、処理をS504に戻す。
After the change of the radio channel is completed, the
続いて、DUAL装置12が、STA機能において使用するチャネルを変更する場合の処理の流れについて、図6を用いて説明する。
Next, the flow of processing when the
コンカレント動作中のDUAL装置12のSTA機能において、使用するチャネルが変更される場合、DUAL装置12は、P2P−GO機能によって生成していた無線ネットワークを終了する(S601)。DUAL装置12は、その後、自装置が使用する無線チャネルを変更し(S602)、STA機能によって、検索によって得られた接続すべき無線ネットワークに参加する(S603)。DUAL装置12は、STA機能により新たな無線ネットワークに参加した後、同一の無線チャネルを用いて、P2P−GO機能により新たな無線ネットワークを生成する(S604)。DUAL装置12は、無線ネットワークの生成を完了すると、S601で終了した無線ネットワークに接続していたP2P−CLに対してP2P Invitation Requestを送信して、招待要求処理を行う(S605)。DUAL装置12は、送信が完了した後に、所定の時間だけP2P Invitation Requestに対する応答を受信するまで待機する(S606)。そして、DUAL装置12がInvitation Requestに対応する応答を受信することにより、新たに生成した無線ネットワークに、P2P−CLが参加することとなり、DUAL装置12とP2P−CLとの間の無線接続が確立される。
When the channel to be used is changed in the STA function of the
このように、実施形態1によれば、コンカレント動作中のDUAL装置において、ローミングによる無線ネットワークの検索や無線チャネルの変更が発生しても、P2Pグループを継続することが可能となる。 As described above, according to the first embodiment, the P2P group can be continued even if a search of a wireless network or a change of a wireless channel occurs due to roaming in a dual device during a concurrent operation.
<<実施形態2>>
実施形態1では、DUAL装置12が、STA機能による接続が切断されたことを契機に、使用する無線チャネルを切り替える場合の例について説明した。本実施形態では、DUAL装置12は、例えばAP11からの指示に応じて、又は自身の判断により、無線チャネルを切り替える場合の例について説明する。なお、本実施形態における無線通信システムの構成及び通信装置の構成は、実施形態1と同様であるため、その詳細な説明については省略する。
<< Embodiment 2 >>
In the first embodiment, the example in which the
図7を用いて本実施形態に係る処理の流れについて説明する。本実施形態では、コンカレント動作中であるDUAL装置12が、STA機能によって接続しているAPから、IEEE802.11hのDFS(Dynamic Frequency Selection)機能で規定されるチャネル変更通知を受信する。DUAL装置は、この変更通知を受信すると、使用する無線チャネルを変更して、P2Pグループを継続する。
A processing flow according to the present embodiment will be described with reference to FIG. In the present embodiment, the
F701からF704の処理は、図4のF401からF404と同様である。すなわち、DUAL装置12は、STA機能により、AP11が生成する無線ネットワーク14に参加してAP11との接続を確立し、P2P−GO機能により、無線ネットワーク15を生成して、P2P−CL13は、その無線ネットワークに参加する。なお、無線ネットワーク14と無線ネットワーク15では、52チャネルが使用される。
The processing from F701 to F704 is the same as that from F401 to F404 in FIG. That is, the
AP11は、例えば、無線ネットワーク14が生成されるチャネルにおいて、衛星によるレーダーを検知し、36チャネルへ移行することを決定し、DUAL装置12のSTAにチャネル変更通知を送信する(F705)。ここで、チャネル変更通知には、変更先の無線チャネルと変更タイミングとが含まれており、この例では変更先の無線チャネルとして36チャネルが指定される。チャネル変更通知として、802.11に規定されているAction FrameのChannel Switch frame formatが用いられてもよい。また、BeaconまたはProbe Responseに、Channel Switch Announcement elementが付与されることによって、チャネル変更通知がなされてもよい。
For example, the
DUAL装置12は、無線チャネルの変更通知を受信すると、無線ネットワーク15に参加しているP2P−CLが存在するかを確認する(F706)。DUAL装置12は、無線ネットワーク15に参加しているP2P−CLが存在することを確認すると、36チャネルに移行する前に、無線ネットワーク15を終了し、P2P−CL13との接続を切断する(F707)。一方、AP11は、無線チャネルの変更通知を送信すると、使用する無線チャネルを36チャネルに変更して、無線ネットワーク17を生成する(F708)。そして、DUAL装置12は、使用する無線チャネルを36チャネルへ変更し、無線ネットワーク17に参加する(F709)。その後、DUAL装置12は、P2P−GO機能によって、無線ネットワーク18を生成し(F710)、無線ネットワーク15に参加していたP2P−CL13に対する招待要求処理を実行する(F711)。この招待要求処理が終了することにより、P2P−CL13は、無線ネットワーク18に参加することができ、DUAL装置12との間の無線接続を確立することができる(F712)。
Upon receiving the wireless channel change notification, the
このように、本実施形態では、コンカレント動作中であるDUAL装置は、STAによって接続しているAPから無線チャネルの変更通知を受信したことに応じて無線チャネルを変更しても、P2Pグループを継続することが可能となる。 As described above, in the present embodiment, the dual device that is performing the concurrent operation continues the P2P group even if the wireless channel is changed in response to receiving the wireless channel change notification from the AP connected by the STA. It becomes possible to do.
なお、本実施形態では、AP11がレーダーを検知しているが、DUAL装置12のP2P−GO機能によりレーダー検知を行うことも可能である。この場合、DUAL装置12は、P2P−GO機能によってレーダーを検知すると、使用する無線チャネルを変更することを決定し、切り替え先の無線チャネルを指定した無線チャネル変更通知を、AP11へ送信してもよい。そして、AP11が、変更通知に従って無線チャネルを変更して無線ネットワークを形成した場合に、DUAL装置12は、その無線ネットワークに参加する。なお、DUAL装置12は、この新たな無線ネットワークへの参加の前に、無線チャネルを変更する前にP2P−GO機能によって生成していた無線ネットワークを終了する。そして、DUAL装置12は、新たな無線ネットワークに参加した後に、変更通知で指定した無線チャネルを用いて、P2P−GO機能によって無線ネットワークを生成する。なお、DUAL装置12は、無線チャネルを切り替えるべきであることのみをAP11に通知して、AP11から、その通知への応答として、変更後の無線チャネルの情報を受信するようにしてもよい。この場合、DUAL装置12は、新たな無線ネットワークに参加した後に、受信した無線チャネルの情報で指定された無線チャネルを用いて、P2P−GO機能によって無線ネットワークを生成する。
In the present embodiment, the
<<その他の実施形態>>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<< Other Embodiments >>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
12:DUAL装置(通信装置)、302:P2P−GO制御部、303:STA制御部 12: Dual device (communication device) 302: P2P-GO control unit 303: STA control unit
Claims (16)
無線ネットワークを生成する生成手段と、
前記通信装置が使用する無線チャネルを変更する際に、前記生成手段が生成した無線ネットワークを終了する終了手段と、
前記終了手段が終了した無線ネットワークに参加していた第1の他の通信装置へ信号を送信する送信手段と、
を有し、
前記生成手段は、前記無線チャネルを変更した後の新たな無線ネットワークを生成し、
前記送信手段は、当該新たな無線ネットワークへ招待する信号を前記第1の他の通信装置へ送信する、
ことを特徴とする通信装置。 A communication device,
Generating means for generating a wireless network;
Ending means for ending the wireless network generated by the generating means when changing the wireless channel used by the communication device;
Transmitting means for transmitting a signal to a first other communication device that has joined the wireless network for which the ending means has ended;
Have
The generating means generates a new wireless network after changing the wireless channel,
The transmission means transmits a signal for inviting to the new wireless network to the first other communication device;
A communication device.
前記終了手段は、前記判定手段が前記第1の他の通信装置が存在すると判定した場合に、前記生成手段が生成した無線ネットワークを終了する、
ことを特徴とする請求項1に記載の通信装置。 A determination means for determining whether or not there is a first other communication device participating in the wireless network when changing a wireless channel used by the communication device;
The termination means terminates the wireless network generated by the generation means when the determination means determines that the first other communication device exists.
The communication apparatus according to claim 1.
前記参加手段で参加する無線ネットワークと、前記生成手段で生成する無線ネットワークとでは、同一の無線チャネルが使用される、
ことを特徴とする請求項1又は2に記載の通信装置。 A joining means for joining the wireless network generated by the second other communication device;
The same wireless channel is used in the wireless network that is joined by the joining means and the wireless network that is created by the creating means.
The communication apparatus according to claim 1 or 2, wherein
前記参加手段は、前記検索手段が発見した参加すべき無線ネットワークに参加し、
前記生成手段は、前記検索手段が発見した参加すべき無線ネットワークで使用される無線チャネルを用いて、前記新たな無線ネットワークを生成する、
ことを特徴とする請求項3に記載の通信装置。 When a connection with the second other communication device is disconnected, a wireless network to be joined is searched for in a wireless channel different from the wireless channel used for the connection with the second other communication device. And a search means for
The participation means participates in a wireless network to be found that is found by the search means,
The generation means generates the new wireless network using a wireless channel used in the wireless network to be joined that the search means has discovered.
The communication apparatus according to claim 3.
前記生成手段は、前記参加手段が当該参加すべき無線ネットワークに参加した後に、前記新たな無線ネットワークを生成する、
ことを特徴とする請求項4に記載の通信装置。 The termination means terminates the wireless network generated by the generation means after the search means has found a wireless network to join,
The generation unit generates the new wireless network after the participation unit has joined the wireless network to be joined.
The communication apparatus according to claim 4.
ことを特徴とする請求項5に記載の通信装置。 When the search means searches for a wireless network to which the search means should participate, the transmission means sends a signal indicating that the communication apparatus no longer exists in the wireless network generated by the generation means to the first other communication apparatus Send to
The communication apparatus according to claim 5.
前記生成手段は、前記検索手段が発見した参加すべき無線ネットワークに前記参加手段が参加した後に、前記新たな無線ネットワークを生成する、
ことを特徴とする請求項4に記載の通信装置。 The termination unit is configured to change the wireless network generated by the generation unit after the connection with the second other communication device is disconnected and before the search unit starts searching for a wireless network to join. Exit
The generation means generates the new wireless network after the participation means has joined the wireless network to be found discovered by the search means.
The communication apparatus according to claim 4.
ことを特徴とする請求項4から7のいずれか1項に記載の通信装置。 The search means searches for a wireless network to join by transmitting a Probe Request in the wireless channel different from the wireless channel used for connection with the second other communication device.
The communication device according to claim 4, wherein the communication device is a device.
前記終了手段は、前記変更通知が受信されたことに応じて、前記生成手段が生成した無線ネットワークを終了し、
前記参加手段は、前記変更通知で指定された無線チャネルで前記第2の他の通信装置が生成する無線ネットワークに参加し、
前記生成手段は、前記変更通知で指定された無線チャネルを用いて、前記新たな無線ネットワークを生成する、
ことを特徴とする請求項3に記載の通信装置。 Receiving means for receiving a radio channel change notification from the second other communication device;
The termination means terminates the wireless network generated by the generation means in response to the change notification being received,
The participation means participates in a wireless network generated by the second other communication device on a wireless channel specified by the change notification,
The generating means generates the new wireless network using the wireless channel specified in the change notification.
The communication apparatus according to claim 3.
前記終了手段は、前記変更通知が送信されたことに応じて、前記生成手段が生成した無線ネットワークを終了し、
前記参加手段は、前記第2の他の通信装置が前記変更通知で指定した無線チャネルで無線ネットワークを生成すると、当該第2の他の通信装置が生成した無線ネットワークに参加し、
前記生成手段は、前記変更通知で指定した無線チャネルを用いて、前記新たな無線ネットワークを生成する、
ことを特徴とする請求項3に記載の通信装置。 The transmission means transmits a radio channel change notification to the second other communication device,
The termination means terminates the wireless network generated by the generation means in response to the change notification being transmitted,
The participation means joins the wireless network generated by the second other communication device when the second other communication device generates a wireless network on the wireless channel specified in the change notification,
The generating means generates the new wireless network using a wireless channel designated by the change notification.
The communication apparatus according to claim 3.
ことを特徴とする請求項10又は11に記載の通信装置。 The generating means generates the new wireless network after the joining means has joined the wireless network generated by the second other communication device using the wireless channel specified in the change notification.
The communication apparatus according to claim 10 or 11, characterized in that
ことを特徴とする請求項1から11のいずれか1項に記載の通信装置。 The generation means generates a wireless network as a Wi-Fi Peer-to-Peer Group Owner.
The communication device according to claim 1, wherein the communication device is a device.
ことを特徴とする請求項12に記載の通信装置。 The first other communication device is a communication device that participates in the wireless network generated by the generation unit as a Wi-Fi Peer-to-Peer Client.
The communication device according to claim 12.
ことを特徴とする請求項12又は13に記載の通信装置。 The signal to invite to the new wireless network is Wi-Fi Peer-to-Peer Invitation Request.
The communication apparatus according to claim 12 or 13, characterized by the above.
終了手段が、前記通信装置が使用する無線チャネルを変更する際に、前記生成手段が生成した無線ネットワークを終了する終了工程と、
前記生成手段が、前記無線チャネルを変更した後の新たな無線ネットワークを生成する生成工程と、
送信手段が、当該新たな無線ネットワークへ招待する信号を、前記無線チャネルを変更する前の無線ネットワークに参加していた第1の他の通信装置へ送信する送信工程と、
を有することを特徴とする制御方法。 A method for controlling a communication apparatus having a generating means for generating a wireless network,
An ending step of ending the wireless network generated by the generating unit when the wireless channel used by the communication device is changed;
The generating means for generating a new wireless network after changing the wireless channel; and
A transmission step of transmitting a signal for inviting to the new wireless network to the first other communication device participating in the wireless network before changing the wireless channel;
A control method characterized by comprising:
前記通信装置が使用する無線チャネルを変更する際に、前記生成手段が生成した無線ネットワークを終了する終了工程と、
前記無線チャネルを変更した後の新たな無線ネットワークを生成するように前記生成手段を制御する工程と、
当該新たな無線ネットワークへ招待する信号を、前記無線チャネルを変更する前の無線ネットワークに参加していた第1の他の通信装置へ送信するように送信手段を制御する工程と、
を実行させるためのプログラム。 In a computer provided in a communication device having a generation means for generating a wireless network,
An end step of ending the wireless network generated by the generating means when changing the wireless channel used by the communication device;
Controlling the generating means to generate a new wireless network after changing the wireless channel;
Controlling the transmission means to transmit a signal for inviting to the new wireless network to the first other communication device participating in the wireless network before changing the wireless channel;
A program for running
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014064347A JP6499397B2 (en) | 2014-03-26 | 2014-03-26 | Communication device, control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014064347A JP6499397B2 (en) | 2014-03-26 | 2014-03-26 | Communication device, control method, and program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2015188132A true JP2015188132A (en) | 2015-10-29 |
| JP2015188132A5 JP2015188132A5 (en) | 2017-04-27 |
| JP6499397B2 JP6499397B2 (en) | 2019-04-10 |
Family
ID=54430177
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014064347A Active JP6499397B2 (en) | 2014-03-26 | 2014-03-26 | Communication device, control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6499397B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018509049A (en) * | 2015-02-05 | 2018-03-29 | クアルコム,インコーポレイテッド | Peer-to-peer group owner multi-channel simultaneous operation and associated absence period indication for legacy client devices |
| JP2022034074A (en) * | 2019-06-28 | 2022-03-02 | キヤノン株式会社 | Communication equipment and its control method, program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080274761A1 (en) * | 2004-09-09 | 2008-11-06 | Interoperability Technologies Group Llc | Method and System for Communication System Interoperability |
| JP2010268380A (en) * | 2009-05-18 | 2010-11-25 | Buffalo Inc | Wireless communication apparatus, wireless communication system, and wireless communication method |
| WO2012035764A1 (en) * | 2010-09-15 | 2012-03-22 | 株式会社ソニー・コンピュータエンタテインメント | Wireless communication device, wireless communication system and channel switching method |
| JP2012151612A (en) * | 2011-01-18 | 2012-08-09 | Nec Access Technica Ltd | Wireless communication system, and wireless communication method |
| JP2013157943A (en) * | 2012-01-31 | 2013-08-15 | Brother Ind Ltd | Wireless communication device |
-
2014
- 2014-03-26 JP JP2014064347A patent/JP6499397B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080274761A1 (en) * | 2004-09-09 | 2008-11-06 | Interoperability Technologies Group Llc | Method and System for Communication System Interoperability |
| JP2010268380A (en) * | 2009-05-18 | 2010-11-25 | Buffalo Inc | Wireless communication apparatus, wireless communication system, and wireless communication method |
| WO2012035764A1 (en) * | 2010-09-15 | 2012-03-22 | 株式会社ソニー・コンピュータエンタテインメント | Wireless communication device, wireless communication system and channel switching method |
| JP2012151612A (en) * | 2011-01-18 | 2012-08-09 | Nec Access Technica Ltd | Wireless communication system, and wireless communication method |
| JP2013157943A (en) * | 2012-01-31 | 2013-08-15 | Brother Ind Ltd | Wireless communication device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018509049A (en) * | 2015-02-05 | 2018-03-29 | クアルコム,インコーポレイテッド | Peer-to-peer group owner multi-channel simultaneous operation and associated absence period indication for legacy client devices |
| JP2022034074A (en) * | 2019-06-28 | 2022-03-02 | キヤノン株式会社 | Communication equipment and its control method, program |
| JP7307789B2 (en) | 2019-06-28 | 2023-07-12 | キヤノン株式会社 | COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM |
| JP2023115316A (en) * | 2019-06-28 | 2023-08-18 | キヤノン株式会社 | Communication device and program |
| JP7600316B2 (en) | 2019-06-28 | 2024-12-16 | キヤノン株式会社 | Communication device and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6499397B2 (en) | 2019-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9699715B2 (en) | Discovery method and device in a wireless communication system | |
| US9554263B2 (en) | Method and device for discovering neighbors for wireless fidelity direct (WFD) peer to peer (P2P) communication | |
| KR102070246B1 (en) | Method and apparatus for generating p2p group for wi-fi direct service | |
| US9736766B2 (en) | Method for finding instrument for wi-fi direct P2P (peer to peer) communication and apparatus therefor | |
| CN102172058B (en) | Communication device and control method for communication device | |
| CN104333914B (en) | A kind of Mesh link establishing method and equipment | |
| JP6802655B2 (en) | Communication equipment, its control method, and programs | |
| CN105027662A (en) | Method and apparatus for changing services in wireless communication system | |
| JP6415105B2 (en) | Communication device, control method, and program | |
| US10681152B2 (en) | Method and device for supporting service by using application service platform in wireless communication system | |
| US11611604B2 (en) | Method and apparatus for receiving streaming via transport protocol in wireless communication system | |
| WO2017037764A1 (en) | Group formation control in multi-group peer-to-peer network | |
| JP2020068420A (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
| US20180049013A1 (en) | Method and device for executing service discovery in wireless communication system | |
| WO2014027840A1 (en) | Method for setting link for wi-fi direct communication and device for same | |
| CN107852590A (en) | The method and apparatus for performing discovery in a wireless communication system | |
| US20180359664A1 (en) | Method and device for performing session handover in wireless communication system | |
| US20180077738A1 (en) | Method and apparatus for establishing application service platform session in wireless communication system | |
| JP2017103687A (en) | Communication apparatus, control method therefor, and program | |
| JP6499397B2 (en) | Communication device, control method, and program | |
| JP2021118442A (en) | Communication equipment, control methods and programs for communication equipment | |
| JP5473789B2 (en) | Communication device | |
| JP2025166236A (en) | Communication device, control method, and program | |
| JPWO2016024401A1 (en) | Communication method, communication system, wireless terminal and communication control method in wireless communication network | |
| JP2014195160A (en) | Radio communication device, control method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170321 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170321 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171228 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180112 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180313 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180817 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180903 |
|
| 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: 20190215 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190315 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6499397 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |