JP5595474B2 - COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM - Google Patents

COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM Download PDF

Info

Publication number
JP5595474B2
JP5595474B2 JP2012284833A JP2012284833A JP5595474B2 JP 5595474 B2 JP5595474 B2 JP 5595474B2 JP 2012284833 A JP2012284833 A JP 2012284833A JP 2012284833 A JP2012284833 A JP 2012284833A JP 5595474 B2 JP5595474 B2 JP 5595474B2
Authority
JP
Japan
Prior art keywords
communication device
communication
protocol
signal
predetermined protocol
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
JP2012284833A
Other languages
Japanese (ja)
Other versions
JP2013059129A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012284833A priority Critical patent/JP5595474B2/en
Publication of JP2013059129A publication Critical patent/JP2013059129A/en
Application granted granted Critical
Publication of JP5595474B2 publication Critical patent/JP5595474B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信パラメータの設定処理を行う通信装置、当該通信装置の制御方法、並びにコンピュータプログラムに関する。   The present invention relates to a communication device that performs communication parameter setting processing, a method for controlling the communication device, and a computer program.

IEEE802.11準拠の無線LAN(以下無線LAN)を使用する際にはネットワーク識別子(ESSID)、周波数チャネル、暗号方式、暗号鍵、認証方式、認証鍵等の無線パラメータをユーザが設定する必要がある。これらの設定作業は煩雑なため、装置間で自動的に無線パラメータ設定を行う方法が提案されている。例えば、アクセスポイント(中継局)とステーション(端末局)間の無線パラメータ設定を簡単な操作でアクセスポイントからステーションに転送する方法等も実際に製品として実現されている。   When using an IEEE802.11 compliant wireless LAN (hereinafter referred to as wireless LAN), the user needs to set wireless parameters such as network identifier (ESSID), frequency channel, encryption method, encryption key, authentication method, and authentication key. . Since these setting operations are complicated, a method for automatically setting wireless parameters between apparatuses has been proposed. For example, a method of transferring wireless parameter settings between an access point (relay station) and a station (terminal station) from the access point to the station by a simple operation is actually realized as a product.

最近では、Wi−Fi Allianceという団体によって、WPS(Wi−Fi Protected Setup)という無線パラメータ自動設定方法の規格策定が完了し、既にいくつかの製品に搭載されている。   Recently, the establishment of a standard for a wireless parameter automatic setting method called WPS (Wi-Fi Protected Setup) has been completed by an organization called Wi-Fi Alliance and has already been installed in several products.

WPSでは、無線パラメータ設定処理用の特別なプロトコル(Registrationプロトコルと呼ぶ)を用いて、RegistrarからEnrolleeへ無線パラメータが提供される。ここで、Registrarとは、無線パラメータを管理し、Enrolleeへ無線パラメータを提供する装置である。Enrolleeとは、Registrarから提供された無線パラメータを受理する装置である。   In WPS, wireless parameters are provided from the Registrar to the Enrollee using a special protocol for wireless parameter setting processing (referred to as a Registration protocol). Here, Registrar is a device that manages wireless parameters and provides wireless parameters to Enrollee. Enrollee is a device that accepts wireless parameters provided by Registrar.

RegistrationプロトコルにおけるRegistrarとEnrollee間の通信は、EAP(Extensible Authentication Protocol)パケットを用いて行われる。EAPパケットとは、RegistrarとEnrollee間において、暗号、認証を行うことなく通信できるパケットである。   Communication between the Registrar and the Enrollee in the Registration Protocol is performed using an EAP (Extensible Authentication Protocol) packet. An EAP packet is a packet that can be communicated between Registrar and Enrollee without encryption or authentication.

例として、Registrarとして動作するアクセスポイントから、Enrolleeとして動作するステーションに対して無線パラメータを提供する場合について説明する。まず、ステーションは、アクセスポイントが形成するネットワークを探索し、当該ネットワークに一時的に参加する。この時点では、アクセスポイントとステーションにおけるESSIDと周波数チャネルは一致しているが、暗号鍵、認証鍵等は一致していないため、暗号、認証を用いたデータ通信を行うことはできない。   As an example, a case will be described in which wireless parameters are provided from an access point operating as a Registrar to a station operating as an Enrollee. First, the station searches for a network formed by the access point and temporarily joins the network. At this time, the ESSID and the frequency channel in the access point and the station match, but the encryption key, the authentication key, etc. do not match, so data communication using encryption and authentication cannot be performed.

アクセスポイントとステーションは、RegistrationプロトコルによりEAPパケットを用いたメッセージの送受信を行うことにより、アクセスポイントからステーションに対して無線パラメータの提供を行う。Enrolleeとして動作するステーションは、提供された無線パラメータを新たに設定する。これにより、アクセスポイントとステーション間で暗号、認証を用いたデータ通信を行うことが可能となる。   The access point and the station provide wireless parameters from the access point to the station by transmitting and receiving messages using EAP packets according to the Registration protocol. The station operating as Enrollee newly sets the provided wireless parameter. As a result, data communication using encryption and authentication can be performed between the access point and the station.

WPSでは、無線LANのインフラストラクチャモードにおいての設定方法のみが規定されており、アドホックモードにおいての設定方法は規定されていない。なお、インフラストラクチャモードとは、アクセスポイントを介してステーション間で無線通信を行う方法であり、アドホックモードとは、アクセスポイントを介さず、ステーション間で直接無線通信を行う方法である。   In WPS, only the setting method in the infrastructure mode of the wireless LAN is specified, and the setting method in the ad hoc mode is not specified. The infrastructure mode is a method of performing wireless communication between stations via an access point, and the ad hoc mode is a method of performing direct wireless communication between stations without using an access point.

最近では、無線LAN機能を備えたデジタルカメラ間の通信、ゲーム機器間の通信等、アドホックモードを用いて無線通信を行う機会が増加しており、今後はWPSをアドホックモードへも適用させることが考えられる。なお、アドホックモードにおける無線パラメータの簡単設定方法もいくつか提案されている(特許文献1、特許文献2参照)。   Recently, opportunities for wireless communication using an ad hoc mode such as communication between digital cameras equipped with a wireless LAN function, communication between game machines, and the like are increasing. In the future, WPS may be applied to the ad hoc mode. Conceivable. Some simple methods for setting wireless parameters in the ad hoc mode have also been proposed (see Patent Document 1 and Patent Document 2).

特開2002−359623号公報JP 2002-359623 A 特開2006−311138号公報JP 2006-31138 A

WPSのRegistrationプロトコルは、2台の装置間で実行されるプロトコルであり、3台以上の装置間では同時にRegistrationプロトコルが実行されない。   The WPS Registration protocol is a protocol executed between two devices, and the Registration protocol is not executed simultaneously between three or more devices.

一方、ゲーム機器を用いて対戦型ゲームを行う場合等、アドホックモードでは3台以上の装置が互いに無線通信を行う状況が想定される。従って、WPSをアドホックモードに適用する場合は、3台以上の装置で一斉にWPSが起動された場合等でも対応可能な制御アルゴリズムを組み込む必要がある。   On the other hand, a situation where three or more devices perform wireless communication with each other in the ad hoc mode, such as when playing a battle game using a game machine, is assumed. Therefore, when applying WPS to the ad hoc mode, it is necessary to incorporate a control algorithm that can be used even when WPS is activated simultaneously by three or more devices.

例えば、3台の装置A〜Cで無線パラメータ設定用のネットワークを形成した後、装置Aが装置Bとの間でRegistrationプロトコルを実行中に、新たに装置CからRegistrationプロトコルの開始要求を受信したとする。この場合、装置Cと装置A間のRegistrationプロトコルは開始されない。Registration開始要求を送信してから一定時間経過してもRegistrationプロトコルが開始されないと、装置Cは上記開始要求を再送することが考えられる。   For example, after forming a wireless parameter setting network with three devices A to C, a new registration protocol start request is received from device C while device A is executing the registration protocol with device B. And In this case, the Registration protocol between the devices C and A is not started. If the registration protocol is not started even after a lapse of a certain time since the registration start request is transmitted, the device C may retransmit the start request.

しかしながら、装置Cは、装置Aと装置B間のRegistrationプロトコルがいつ終了するか分からないため、開始要求を再送したとしても、装置Aと装置B間のRegistrationプロトコルが未だ終了していない場合もある。その結果、装置CにおいてWPSによる無線パラメータ設定処理のタイムアウトが発生してしまうことが考えられる。   However, since the device C does not know when the registration protocol between the device A and the device B is finished, even if the start request is retransmitted, the registration protocol between the device A and the device B may not be finished yet. . As a result, it is conceivable that a timeout of the wireless parameter setting process by WPS occurs in the device C.

また、装置Aと装置Bは、Registrationプロトコルの終了後、設定した無線パラメータを用いて新たなネットワークを形成している状況も考えられる。この場合、装置CがRegistrationプロトコルの開始要求を再送した時には、既に装置Aと装置Bが無線パラメータ設定用ネットワークから離脱しており、上記開始要求が受信されない。   It is also conceivable that the devices A and B form a new network using the set wireless parameters after the end of the registration protocol. In this case, when the device C retransmits the registration protocol start request, the devices A and B have already left the wireless parameter setting network, and the start request is not received.

このような場合、装置Cへの無線パラメータ設定を再開するためには、ユーザが再度WPSの起動を指示しなければならず、ユーザの操作性を損なうことになる。   In such a case, in order to resume the wireless parameter setting to the device C, the user must give an instruction to start WPS again, which impairs the operability of the user.

上記問題は、無線パラメータに限らず、機器間の通信に設定が必要な有線等の通信パラメータであっても起こりうる。   The above problem is not limited to wireless parameters, and may occur even for communication parameters such as wired that need to be set for communication between devices.

本発明は、通信パラメータ設定処理を行うための動作が開始される場合に起こりうる課題を解決することを目的とする。   An object of this invention is to solve the problem which may occur when the operation | movement for performing a communication parameter setting process is started.

上記課題を解決するため、本発明に係る第1通信装置は、無線通信を行うための通信パラメータを共有するための所定のプロトコルを実行する実行手段と、前記第1通信装置と第2通信装置との間で前記所定のプロトコルを実行している場合、前記所定のプロトコルを行可能な第3通信装置に前記第1通信装置への接続を制限させるための信号を送信する送信手段と、前記所定のプロトコルを実行するチャネルを示す情報を前記第3通信装置に通知する通知手段と、を有し、前記実行手段は、前記通知手段により通知した前記チャネルにおいて前記第3通信装置と前記所定のプロトコルを実行することを特徴とする。 In order to solve the above-described problem, a first communication device according to the present invention includes execution means for executing a predetermined protocol for sharing communication parameters for performing wireless communication, the first communication device, and the second communication device. and when said running the predetermined protocol, transmitting means for transmitting a signal for limiting a connection of the predetermined protocol to the first communication device to perform possible third communication device between, Notification means for notifying the third communication apparatus of information indicating a channel for executing the predetermined protocol, and the execution means is configured to communicate with the third communication apparatus in the channel notified by the notification means. The following protocol is executed.

本発明によれば、通信パラメータ設定処理を、効率良く行うことができる。   According to the present invention, communication parameter setting processing can be performed efficiently.

システム構成図System Configuration DSC1、DSC2、DSC3のブロック構成図Block diagram of DSC1, DSC2, DSC3 実施形態1における提供装置のフローチャートFlowchart of providing device in embodiment 1 実施形態1における受理装置のフローチャートFlow chart of receiving apparatus in embodiment 1 実施形態1のシーケンス図Sequence diagram of Embodiment 1 実施形態2における提供装置のフローチャートFlowchart of providing apparatus in embodiment 2 実施形態2における受理装置のフローチャートFlow chart of receiving apparatus in embodiment 2 実施形態2のシーケンス図Sequence diagram of embodiment 2

<実施形態1>
図1は本実施形態におけるシステム構成を示した図である。
<Embodiment 1>
FIG. 1 is a diagram showing a system configuration in the present embodiment.

デジタルカメラ101(以下、DSC1)、デジタルカメラ102(以下、DSC2)、デジタルカメラ103(以下、DSC3)は、IEEE802.11規格シリーズに準拠した無線LAN(以下無線LAN)の無線通信機能を備えている。   The digital camera 101 (hereinafter referred to as DSC1), the digital camera 102 (hereinafter referred to as DSC2), and the digital camera 103 (hereinafter referred to as DSC3) have a wireless communication function of a wireless LAN (hereinafter referred to as wireless LAN) conforming to the IEEE802.11 standard series. Yes.

DSC1、DSC2、DSC3は無線LANのアドホックモードによるネットワーク(アドホックネットワーク)を構成可能であり、共通の無線パラメータ自動設定アプリケーションを備えている。無線パラメータ自動設定アプリケーションが起動されると、アドホックネットワークにおいて、設定情報通知プロトコルにより無線パラメータの設定処理を行うことが可能である。   DSC1, DSC2, and DSC3 can configure a wireless LAN ad hoc mode network (ad hoc network), and have a common wireless parameter automatic setting application. When the wireless parameter automatic setting application is activated, wireless parameter setting processing can be performed by the setting information notification protocol in the ad hoc network.

ここで、本実施例における設定情報通知プロトコルとは、Registrationプロトコルにおける各メッセージを簡略化して表したものである。従って、ESSID(ネットワーク識別子)と周波数チャネルが一致すれば、暗号、認証無しで設定情報通知プロトコルによる各種メッセージの送受信を行うことができる。また、設定情報通知プロトコルは、同一アドホックネットワーク内の2台の装置間で実行され、3台以上の装置間で同時に設定情報通知プロトコルを実行することはできない。   Here, the setting information notification protocol in the present embodiment is a simplified representation of each message in the Registration protocol. Therefore, if the ESSID (network identifier) matches the frequency channel, various messages can be transmitted and received by the setting information notification protocol without encryption and authentication. The setting information notification protocol is executed between two devices in the same ad hoc network, and the setting information notification protocol cannot be executed simultaneously between three or more devices.

また、設定情報通知プロトコルにより設定される無線パラメータとしては、ESSID、周波数チャネル、暗号方式、暗号鍵、認証方式、認証鍵等がある。設定情報通知プロトコルにより無線パラメータの設定処理を行うネットワークと、無線パラメータ設定後にデータ通信を行うネットワークを同じにすることもできるし、異なるネットワークにすることもできる。   Also, wireless parameters set by the setting information notification protocol include ESSID, frequency channel, encryption method, encryption key, authentication method, authentication key, and the like. The network that performs wireless parameter setting processing by the setting information notification protocol and the network that performs data communication after wireless parameter setting can be the same or different networks.

また、DSC1、DSC2、DSC3は、上記無線パラメータ自動設定アプリケーションが起動されると、所定のアルゴリズム(以下役割決定アルゴリズム)に基づいて無線パラメータ設定処理における役割を決定する機能を有している。無線パラメータ設定処理における役割としては、設定情報通知プロトコルにより無線パラメータの提供を行う提供装置と、提供された無線パラメータを受理する受理装置と、がある。ここでは、役割決定アルゴリズムに基づいて、DSC1が提供装置、DSC2及びDSC3が受理装置として決定されるものとする。   DSC1, DSC2, and DSC3 have a function of determining a role in wireless parameter setting processing based on a predetermined algorithm (hereinafter referred to as role determination algorithm) when the wireless parameter automatic setting application is activated. The roles in the wireless parameter setting process include a providing device that provides wireless parameters by a setting information notification protocol and a receiving device that receives the provided wireless parameters. Here, it is assumed that DSC1 is determined as the providing device and DSC2 and DSC3 are determined as the receiving devices based on the role determination algorithm.

次に、DSC1、DSC2、DSC3の構成について、図2のブロック図を参照して説明する。   Next, the configuration of DSC1, DSC2, and DSC3 will be described with reference to the block diagram of FIG.

201は、装置全体を示している。202は、無線通信を行う通信部であり、203は、通信部の制御を行う通信制御部である。204は、タイマの処理を行う計時部である。205は各種表示を行う表示部である。   Reference numeral 201 denotes the entire apparatus. 202 is a communication unit that performs wireless communication, and 203 is a communication control unit that controls the communication unit. Reference numeral 204 denotes a timer unit that performs timer processing. A display unit 205 performs various displays.

206は、設定情報通知プロトコルによる無線パラメータ設定処理を行う無線パラメータ設定処理部である。後述のプロトコル開始要求、プロトコル開始メッセージ、プロトコル終了メッセージ等、各種メッセージの送受信は、無線パラメータ設定処理部206の制御により行われる。   Reference numeral 206 denotes a wireless parameter setting processing unit that performs wireless parameter setting processing using a setting information notification protocol. Transmission / reception of various messages such as a protocol start request, a protocol start message, and a protocol end message, which will be described later, is performed under the control of the wireless parameter setting processing unit 206.

207は、後述の各フローにおける各種判断処理を行う判断部である。208は、無線パラメータ等を記憶する記憶部である。209は装置全体の動作を制御する装置制御部である。   A determination unit 207 performs various determination processes in each flow described below. A storage unit 208 stores wireless parameters and the like. An apparatus control unit 209 controls the operation of the entire apparatus.

提供装置であるDSC1の処理手順について、図3のフローチャートを用いて説明する。本フローは上述の役割決定アルゴリズムにより、無線パラメータ設定処理における役割が提供装置に決定した際に開始される。また、本フローの処理は、受理装置夫々(DSC2、DSC3)に対して実行される。   The processing procedure of DSC 1 as the providing apparatus will be described with reference to the flowchart of FIG. This flow is started when the role of the wireless parameter setting process is determined by the providing device by the above-described role determination algorithm. Further, the processing of this flow is executed for each of the receiving devices (DSC2, DSC3).

DSC1は、受理装置から送信されるプロトコル開始要求を待つ(F301)。ここで、プロトコル開始要求とは、受理装置が提供装置に対して、設定情報通知プロトコルの開始を要求するために用いられるメッセージである。ここでは、DSC2が先にプロトコル開始要求を送信し、DSC3がその後にプロトコル開始要求を送信するものとして説明する。   The DSC 1 waits for a protocol start request transmitted from the receiving device (F301). Here, the protocol start request is a message used by the receiving apparatus to request the providing apparatus to start the setting information notification protocol. Here, it is assumed that DSC2 transmits a protocol start request first, and DSC3 transmits a protocol start request thereafter.

DSC1は、DSC2からプロトコル開始要求を受信すると、既に他の受理装置との間で設定情報通知プロトコルを実行中であるか否かを判断する(F302)。   When DSC1 receives the protocol start request from DSC2, DSC1 determines whether the setting information notification protocol is already being executed with another receiving device (F302).

他の受理装置と設定情報通知プロトコルを実行中でなければ、DSC2に対して、プロトコル開始メッセージを送信する(F314)。ここで、プロトコル開始メッセージとは、提供装置が受理装置に対して、設定情報通知プロトコルの開始を通知するためのメッセージである。   If the setting information notification protocol is not being executed with another receiving apparatus, a protocol start message is transmitted to DSC 2 (F314). Here, the protocol start message is a message for the providing apparatus to notify the receiving apparatus of the start of the setting information notification protocol.

DSC1は、プロトコル開始メッセージを送信した後、設定情報通知プロトコルによりDSC2との間で各種メッセージの送受信を行うことにより、DSC2に対して無線パラメータの提供を行う(F315)。   After transmitting the protocol start message, the DSC 1 transmits and receives various messages to and from the DSC 2 using the setting information notification protocol, thereby providing wireless parameters to the DSC 2 (F315).

F302において、他の受理装置と設定情報通知プロトコルを実行中である場合(ここでの例では、DSC1がDSC2と設定情報通知プロトコルを実行中にDSC3からプロトコル開始要求を受信した場合)、F303に進む。DSC1は後からプロトコル開始要求を送信したDSC3のMAC(Media Access Control)アドレスを記憶部208に保存する(F303)。このとき、MACアドレスは記憶部208にあるリストにFIFO(First‐In First‐Out)で保存される。   In F302, when the setting information notification protocol is being executed with another receiving apparatus (in this example, DSC1 receives a protocol start request from DSC3 while executing DSC2 and the setting information notification protocol), F303 move on. The DSC 1 stores the MAC (Media Access Control) address of the DSC 3 that has transmitted the protocol start request later in the storage unit 208 (F303). At this time, the MAC address is saved in a list in the storage unit 208 by FIFO (First-In First-Out).

次に、DSC1は、DSC3と設定情報通知プロトコルを実行するネットワークのネットワーク情報(ESSID、周波数チャネル等)を抽出する(F304)。すなわち、実行中の設定情報通知プロトコルによってDSC2へ提供する無線パラメータのうち、ESSIDと周波数チャネルを抽出する。   Next, the DSC 1 extracts network information (ESSID, frequency channel, etc.) of the network that executes the setting information notification protocol with the DSC 3 (F304). That is, the ESSID and the frequency channel are extracted from the wireless parameters provided to the DSC 2 by the setting information notification protocol being executed.

例えば、DSC2との間で設定情報通知プロトコルを実行中のネットワーク(DSC1が現在属しているネットワーク)と、無線パラメータ設定後にデータ通信を行うネットワークが異なる場合、当該データ通信を行うネットワークのネットワーク情報を抽出する。   For example, if the network that is executing the setting information notification protocol with DSC 2 (the network to which DSC 1 currently belongs) and the network that performs data communication after wireless parameter setting are different, the network information of the network that performs the data communication is displayed. Extract.

また、DSC2との間で設定情報通知プロトコルを実行中のネットワーク(DSC1が現在属しているネットワーク)と、無線パラメータ設定後にデータ通信を行うネットワークが同一である場合、現在属しているネットワークのネットワーク情報を抽出する。   In addition, when the network that is executing the setting information notification protocol with DSC 2 (the network to which DSC 1 currently belongs) and the network that performs data communication after setting the wireless parameters are the same, the network information of the network that currently belongs To extract.

次に、DSC1は、抽出したネットワーク情報を付加した待機信号をDSC3装置に対して送信し(F305)、DSC3のMACアドレスが記憶部208のリストの先頭になるまで待機する(F306)。   Next, DSC1 transmits a standby signal to which the extracted network information is added to the DSC3 apparatus (F305), and waits until the MAC address of DSC3 comes to the top of the list in the storage unit 208 (F306).

DSC3のMACアドレスが記憶部208のリストの先頭になると、DSC1は現在実行中の設定情報通知プロトコルが終了したか否かを判断する(F307)。実行中の設定情報通知プロトコルが終了した場合は、DSC1は、ネットワークの切替えを行うか否かを判断する(F308)。ネットワークの切替えを行う場合とは、DSC2との間で設定情報通知プロトコルを実行中のネットワーク(DSC1が現在属しているネットワーク)と、無線パラメータ設定後にデータ通信を行うネットワークが異なる場合である。ネットワークの切替えを行わない場合とは、DSC2との間で設定情報通知プロトコルを実行中のネットワーク(DSC1が現在属しているネットワーク)と、無線パラメータ設定後にデータ通信を行うネットワークが同一である場合である。   When the MAC address of DSC 3 comes to the top of the list in the storage unit 208, the DSC 1 determines whether or not the currently executed setting information notification protocol has ended (F307). When the setting information notification protocol being executed is terminated, the DSC 1 determines whether or not to perform network switching (F308). The case where the network is switched is a case where the network that is executing the setting information notification protocol with the DSC 2 (the network to which the DSC 1 currently belongs) is different from the network that performs data communication after the wireless parameter setting. The case where network switching is not performed is a case where the network that is executing the setting information notification protocol with DSC 2 (the network to which DSC 1 currently belongs) and the network that performs data communication after setting the wireless parameters are the same. is there.

ネットワークを切替えない場合は、DSC1は、DSC3に対してプロトコル開始メッセージを送信する(F311)。   If the network is not switched, DSC1 transmits a protocol start message to DSC3 (F311).

ネットワークを切替える場合は、DSC1は、通信制御部203がネットワークの切替え処理を終了するまで待機する(F309)。ネットワーク切替え処理が終了すると、DSC1は、変更後のネットワークにおいてDSC3を検出するまで待機する(F310)。検出方法としては、DSC3が送信する報知信号(ビーコン)、又はDSC3が送信する探索要求(プローブリクエスト)を受信することにより検出する方法等がある。変更後のネットワークにおいてDSC3を検出した場合は、DSC1はDSC3に対してプロトコル開始メッセージを送信する(F311)。そして、DSC1は、設定情報通知プロトコルによりDSC3との間で各種メッセージの送受信を行うことにより、DSC3に対して無線パラメータを提供する(F312)。その後DSC1は、記憶部208のリストからDSC3のMACアドレスを削除する(F313)。なお、記憶部208のリストに、無線パラメータの提供が完了していない受理装置のMACアドレスが残っている場合は、F306に戻り、前述した処理を繰り返す。   When switching the network, the DSC 1 waits until the communication control unit 203 finishes the network switching process (F309). When the network switching process ends, the DSC 1 waits until DSC 3 is detected in the network after the change (F310). As a detection method, there is a method of detecting by receiving a notification signal (beacon) transmitted by the DSC 3 or a search request (probe request) transmitted by the DSC 3. When DSC3 is detected in the changed network, DSC1 transmits a protocol start message to DSC3 (F311). Then, the DSC 1 provides wireless parameters to the DSC 3 by transmitting and receiving various messages to and from the DSC 3 using the setting information notification protocol (F312). Thereafter, DSC1 deletes the MAC address of DSC3 from the list of the storage unit 208 (F313). If the MAC address of the receiving device for which provision of wireless parameters has not been completed remains in the list of the storage unit 208, the process returns to F306 and the above-described processing is repeated.

次に、受理装置であるDSC2、DSC3の処理手順について、図4のフローチャートを用いて説明する。本フローは、上述の役割決定アルゴリズムにより、無線パラメータ設定処理における役割が受理装置に決定した際に開始される。ただし、受理装置に決定してから一定時間経過後に本フローが開始される場合もある。   Next, the processing procedure of DSC2 and DSC3 which are receiving apparatuses will be described using the flowchart of FIG. This flow is started when the role in the wireless parameter setting process is determined by the receiving device by the above-described role determination algorithm. However, there is a case where this flow is started after a predetermined time has elapsed since the receiving apparatus is determined.

受理装置であるDSC2、DSC3は、プロトコル開始要求を提供装置であるDSC1に送信する(F401)。その後、DSC2、DSC3は、DSC1からプロトコル開始メッセージ、もしくは待機信号を受信するのを待つ(F402、F403)。なお、前述のように、ここではDSC2が先にプロトコル開始要求を送信し、後からDSC3がプロトコル開始要求を送信するものとする。   The receiving apparatuses DSC2 and DSC3 transmit a protocol start request to the providing apparatus DSC1 (F401). Thereafter, DSC2 and DSC3 wait for reception of a protocol start message or standby signal from DSC1 (F402, F403). As described above, here, it is assumed that the DSC 2 transmits the protocol start request first, and the DSC 3 transmits the protocol start request later.

プロトコル開始メッセージを受信した場合(ここではDSC2が該当する)は、DSC2はDSC1との間で設定情報通知プロトコルを開始する(F410)。そして、DSC2は、設定情報通知プロトコルによりDSC1との間で各種メッセージの送受信を行うことにより、DSC1から無線パラメータを受理する。   When the protocol start message is received (DSC2 corresponds here), DSC2 starts the setting information notification protocol with DSC1 (F410). The DSC 2 receives wireless parameters from the DSC 1 by transmitting and receiving various messages to and from the DSC 1 using the setting information notification protocol.

待機信号を受信した場合(ここではDSC3が該当する)、DSC3は、待機信号に付加されているネットワーク情報を参照することにより、DSC1との間で設定情報通知プロトコルを実行するネットワークを判別する。そして、DSC3は、待機信号に付加されているネットワーク情報と、DSC3が現在属しているネットワークのネットワーク情報と比較する(F404)。   When the standby signal is received (DSC3 corresponds here), the DSC3 refers to the network information added to the standby signal to determine the network that executes the setting information notification protocol with the DSC1. Then, the DSC 3 compares the network information added to the standby signal with the network information of the network to which the DSC 3 currently belongs (F404).

比較の結果、2つのネットワーク情報が同一である場合は、DSC3が現在属しているネットワークで設定情報通知プロトコルを行うと判断し、DSC1からプロトコル開始メッセージを受信するのを待つ(F409)。   If the two pieces of network information are the same as a result of the comparison, it is determined that the setting information notification protocol is to be performed in the network to which DSC 3 currently belongs, and a protocol start message is received from DSC 1 (F409).

比較の結果、2つのネットワーク情報が異なる場合は、DSC3は待機信号に付加されたネットワーク情報により定められるネットワークでDSC1と設定情報通知プロトコルを行うと判断する。そしてDSC3は、待機信号に付加されたネットワーク情報に一致するネットワークの検索処理を実行する(F406、F407)。検索方法としては、当該ネットワーク情報を含む報知信号が送信されるのを監視する方法、当該ネットワーク情報を含む探索要求を送信し、探索要求に対する応答が送信されるのを監視する方法、等がある。   As a result of the comparison, if the two pieces of network information are different, the DSC 3 determines to perform the setting information notification protocol with the DSC 1 on the network defined by the network information added to the standby signal. Then, the DSC 3 executes a network search process that matches the network information added to the standby signal (F406, F407). As a search method, there are a method of monitoring transmission of a broadcast signal including the network information, a method of transmitting a search request including the network information, and monitoring a response to the search request. .

検索の結果、当該ネットワーク情報により定められるネットワークを発見すると、DSC3は発見したネットワークに参加し(F408)、DSC1からプロトコル開始メッセージを受信するのを待つ(F409)。   If the network determined by the network information is found as a result of the search, the DSC 3 joins the found network (F408) and waits to receive a protocol start message from the DSC 1 (F409).

プロトコル開始メッセージを受信すると、DSC3は、DSC1との間で設定情報通知プロトコルを開始し(F410)、無線パラメータを取得する。   When the protocol start message is received, the DSC 3 starts the setting information notification protocol with the DSC 1 (F410), and acquires the radio parameter.

図5は、DSC1、DSC2、及びDSC3の処理シーケンスを示した図である。   FIG. 5 shows a processing sequence of DSC1, DSC2, and DSC3.

DSC1において、ユーザの操作等によって無線パラメータ自動設定アプリケーションが起動されると、DSC1はネットワークAを生成する(F501)。DSC2においても同様にユーザの操作等によって無線パラメータ自動設定アプリケーションが起動されると、DSC2はネットワークBを生成する(F502)。   In DSC1, when the wireless parameter automatic setting application is activated by a user operation or the like, DSC1 generates network A (F501). Similarly, when the wireless parameter automatic setting application is activated by a user operation or the like in DSC2, DSC2 generates network B (F502).

ここで、DSC1とDSC2は、互いにネットワークの探索処理を行うと共に上述の役割決定アルゴリズムに従い、夫々の役割を決定する(F503)。ここでは、DSC1が提供装置、DSC2が受理装置に決定し、受理装置に決定したDSC2は、提供装置であるDSC1が属するネットワークAに参加する(F505)。   Here, DSC1 and DSC2 perform a network search process and determine their roles according to the above-described role determination algorithm (F503). Here, DSC1 is determined as the providing device and DSC2 is the receiving device, and DSC2 determined as the receiving device joins network A to which DSC1 as the providing device belongs (F505).

なお、無線パラメータ自動設定アプリケーションの起動後に生成されるネットワークは、無線パラメータ設定処理を行うためのネットワークであり、DSC1及びDSC2には共通の暗号鍵、認証鍵等が設定されていない。従って、DSC2はネットワークAにおいて、予め定められた信号(報知信号、設定情報通知プロトコルのメッセージ等)以外ではDSC1と通信できない状態であり、暗号、認証を用いたデータ通信を行うことはできない。   Note that the network generated after the start of the wireless parameter automatic setting application is a network for performing wireless parameter setting processing, and no common encryption key, authentication key, or the like is set in DSC1 and DSC2. Therefore, DSC 2 is in a state where it cannot communicate with DSC 1 except for a predetermined signal (such as a notification signal or a setting information notification protocol message) in network A, and data communication using encryption and authentication cannot be performed.

次に、DSC3においてユーザの操作等によって無線パラメータ自動設定アプリケーションが起動されると、DSC3はネットワークCを生成する(F504)。DSC1とDSC3は、互いにネットワーク探索処理を行うと共に、上述の役割決定アルゴリズムに従い、夫々の役割を決定する(F506)。ここでは、DSC1は提供装置のままとなり、DSC3は受理装置となる。受理装置に決定したDSC3は、提供装置であるDSC1が属するネットワークAに参加する(F507)。   Next, when the wireless parameter automatic setting application is activated in the DSC 3 by a user operation or the like, the DSC 3 generates a network C (F504). DSC1 and DSC3 perform network search processing with each other and determine their roles according to the above-described role determination algorithm (F506). Here, DSC1 remains the providing device, and DSC3 becomes the receiving device. The DSC 3 determined as the accepting device joins the network A to which the providing device DSC 1 belongs (F507).

このとき、DSC3はネットワークAにおいて予め定められた信号(報知信号、設定情報通知プロトコルのメッセージ等)以外ではDSC1と通信できない状態であり、暗号、認証を用いたデータ通信を行うことはできない。   At this time, DSC 3 is in a state where it cannot communicate with DSC 1 other than signals (informing signals, messages of setting information notification protocol, etc.) determined in advance in network A, and data communication using encryption and authentication cannot be performed.

受理装置として決定したDSC2は、設定情報通知プロトコルを開始するために、DSC1に対してプロトコル開始要求を送信する(F508)。DSC1は、DSC2からプロトコル開始要求を受信すると、プロトコル開始メッセージをDSC2へ送信する(F509)。   The DSC 2 determined as the receiving apparatus transmits a protocol start request to the DSC 1 in order to start the setting information notification protocol (F508). When DSC1 receives the protocol start request from DSC2, DSC1 transmits a protocol start message to DSC2 (F509).

DSC2は、プロトコル開始メッセージを受信すると、設定情報通知プロトコルに従いDSC1とプロトコルメッセージの送受信を行う(F510)。プロトコルメッセージとは、受理装置と提供装置との間で送受信されるメッセージである。提供装置と受理装置との間でプロトコルメッセージを送受信することにより、暗号化・復号化に必要な乱数、及び相互の機器認証に必要な情報の交換、並びに無線パラメータの提供等が行われる。   When DSC2 receives the protocol start message, DSC2 transmits / receives a protocol message to / from DSC1 according to the setting information notification protocol (F510). A protocol message is a message transmitted and received between a receiving device and a providing device. By transmitting and receiving protocol messages between the providing device and the receiving device, exchange of random numbers necessary for encryption / decryption, information necessary for mutual device authentication, provision of wireless parameters, and the like are performed.

DSC1は、設定情報通知プロトコルにより、ネットワークDの無線パラメータをDSC2に提供する。すなわち、ここでは無線パラメータ設定処理を行うネットワークと、設定後にデータ通信を行うネットワークが異なる。   DSC1 provides wireless parameters of network D to DSC2 by a setting information notification protocol. That is, here, the network that performs the wireless parameter setting process is different from the network that performs data communication after the setting.

受理装置として決定したDSC3も同様に、設定情報通知プロトコルを開始するために、DSC1に対してプロトコル開始要求を送信する(F511)。   Similarly, the DSC 3 determined as the receiving apparatus transmits a protocol start request to the DSC 1 in order to start the setting information notification protocol (F511).

DSC1は、DSC2との間で設定情報通知プロトコルを実行中にDSC3からプロトコル開始要求を受信すると、DSC3との間で設定情報通知プロトコルを実行するネットワークのネットワーク情報を抽出する。この場合、DSC1はDSC2との間で設定情報通知プロトコルを実行することによりネットワークDの無線パラメータをDSC2に提供し、プロトコル終了後にネットワークDを生成することを予定している。従って、DSC1はネットワークDのネットワーク情報を抽出する。   When the DSC 1 receives a protocol start request from the DSC 3 while executing the setting information notification protocol with the DSC 2, the DSC 1 extracts the network information of the network that executes the setting information notification protocol with the DSC 3. In this case, the DSC 1 is scheduled to provide the wireless parameters of the network D to the DSC 2 by executing the setting information notification protocol with the DSC 2 and to generate the network D after the protocol ends. Therefore, DSC 1 extracts network information of network D.

DSC1は、ネットワークDのネットワーク情報を抽出すると、該ネットワーク情報を待機信号に付加し、DSC3に送信する(F512)。   When the DSC 1 extracts the network information of the network D, the DSC 1 adds the network information to the standby signal and transmits it to the DSC 3 (F512).

DSC3は、待機信号を受信すると、付加されているネットワーク情報を参照し、DSC1との間で設定情報通知プロトコルを実行するネットワークを判別する。付加されているネットワーク情報はネットワークDの情報であるため、DSC3が属しているネットワークAとは異なる。従って、DSC3は、ネットワークDにおいて設定情報通知プロトコルを行うと判断し、ネットワークDが見つかるまで、ネットワークDの探索処理を定期的に行う(F516)。   When the DSC 3 receives the standby signal, the DSC 3 refers to the added network information and determines the network that executes the setting information notification protocol with the DSC 1. Since the added network information is information of the network D, it is different from the network A to which the DSC 3 belongs. Therefore, the DSC 3 determines that the setting information notification protocol is to be performed in the network D, and periodically performs a search process for the network D until the network D is found (F516).

DSC1は、DSC2との設定情報通知プロトコルが終了すると、プロトコル終了メッセージをDSC2に送信し、DSC2に提供した無線パラメータを用いて新たにネットワークDを生成する(F514)。なお、プロトコル終了メッセージとは、提供装置が受理装置へ設定情報通知プロトコルが終了したことを通知するメッセージである。   When the setting information notification protocol with DSC2 ends, DSC1 transmits a protocol end message to DSC2, and newly generates a network D using the wireless parameters provided to DSC2 (F514). The protocol end message is a message in which the providing device notifies the receiving device that the setting information notification protocol has ended.

DSC2は、プロトコル終了メッセージを受信すると、設定情報通知プロトコルによりDSC1から受理した無線パラメータを用いてネットワークDに参加する(F515)。このとき、DSC2はDSC1と共通の暗号鍵、認証鍵等が設定されるため、暗号、認証を用いたデータ通信を行うことが可能となる。   When DSC2 receives the protocol end message, DSC2 joins network D using the wireless parameters received from DSC1 by the setting information notification protocol (F515). At this time, since DSC2 has the same encryption key and authentication key as DSC1, data communication using encryption and authentication can be performed.

DSC3はネットワークの探索処理(F516)によりネットワークDを検出すると、検出したネットワークDに参加する(F517)。   When the DSC 3 detects the network D by the network search process (F516), it joins the detected network D (F517).

このとき、DSC3はネットワークDにおいて、予め定められた信号(報知信号、設定情報通知プロトコルのメッセージ等)以外ではDSC1と通信できない状態であり、暗号、認証を用いた通常のデータ通信を行うことはできない。   At this time, in the network D, the DSC 3 is in a state where it cannot communicate with the DSC 1 other than a predetermined signal (notification signal, setting information notification protocol message, etc.), and normal data communication using encryption and authentication is not possible. Can not.

DSC3は、ネットワークDに参加した後に報知信号を送信する(F518)。なお、DSC1及びDSC2も交互に報知信号を送信するが、図5では省略している。   The DSC 3 transmits a notification signal after joining the network D (F518). In addition, although DSC1 and DSC2 also transmit an alerting signal alternately, it is abbreviate | omitting in FIG.

DSC3が送信する報知信号をDSC1が受信すると、DSC1は、DSC3がネットワークDに参加したことを認識し、DSC3に対してプロトコル開始メッセージを送信する(F519)。   When DSC1 receives the notification signal transmitted by DSC3, DSC1 recognizes that DSC3 has joined the network D, and transmits a protocol start message to DSC3 (F519).

DSC3は、プロトコル開始メッセージを受信すると、設定情報通知プロトコルに従い、DSC1とプロトコルメッセージの送受信を行う(F520)。DSC1は設定情報通知プロトコルによりネットワークDの無線パラメータをDSC3に提供する。DSC1は、DSC3との間での設定情報通知プロトコルが終了すると、プロトコル終了メッセージをDSC3に送信する(F521)。   When the DSC 3 receives the protocol start message, the DSC 3 transmits / receives a protocol message to / from the DSC 1 according to the setting information notification protocol (F520). The DSC 1 provides the wireless parameters of the network D to the DSC 3 by the setting information notification protocol. When the setting information notification protocol with DSC3 ends, DSC1 transmits a protocol end message to DSC3 (F521).

DSC3は、プロトコル終了メッセージを受信すると、設定情報通知プロトコルによりDSC1から受理した無線パラメータを用いてネットワークDに再び参加する(F522)。このとき、DSC3はDSC1及びDSC2と共通の暗号鍵、認証鍵等が設定されるため、暗号、認証を用いたデータ通信を行うことが可能となる。   When the DSC 3 receives the protocol end message, it rejoins the network D using the wireless parameter received from the DSC 1 by the setting information notification protocol (F522). At this time, since the DSC 3 is set with an encryption key, an authentication key, and the like that are common to the DSC 1 and DSC 2, data communication using encryption and authentication can be performed.

以上説明したように、本実施形態によれば、提供装置が複数の受理装置から設定情報通知プロトコルの開始要求を受信した場合も、順次設定情報通知プロトコルを実行することができる。従って、無線パラメータ設定処理のタイムアウト発生を防ぐと共に、ユーザが何度も無線パラメータ自動設定アプリケーションを起動させる手間を省くことができ、ユーザの操作性が改善される。   As described above, according to the present embodiment, the setting information notification protocol can be sequentially executed even when the providing apparatus receives a setting information notification protocol start request from a plurality of receiving apparatuses. Therefore, it is possible to prevent timeout of the wireless parameter setting process and to save the user from starting the wireless parameter automatic setting application many times, thereby improving user operability.

また、提供装置が1台の受理装置との間で設定情報通知プロトコルを実行中にプロトコル開始要求を送信した別の受理装置は、開始要求を再送する必要がなく、提供装置からプロトコル開始メッセージが送信するのを待機すればよい。   Also, another receiving device that has transmitted a protocol start request while the providing device is executing the setting information notification protocol with one receiving device does not need to retransmit the start request, and the protocol start message is sent from the providing device. You just have to wait for transmission.

また、提供装置が1台の受理装置との間で設定情報通知プロトコルを実行後、他のネットワークへ移行した場合であっても、上記別の受理装置は移行後のネットワークを認識することができる。従って、移行後のネットワークにおいて、改めて設定情報通知プロトコルを実行することができる。   Further, even when the providing apparatus executes the setting information notification protocol with one receiving apparatus and then shifts to another network, the other receiving apparatus can recognize the transferred network. . Therefore, the setting information notification protocol can be executed again in the migrated network.

<実施形態2>
実施形態2について説明する。なお、システム構成、DSCのブロック構成は実施形態1と同一であるため(図1、図2)、説明を省略する。
<Embodiment 2>
Embodiment 2 will be described. Since the system configuration and the block configuration of the DSC are the same as those in the first embodiment (FIGS. 1 and 2), description thereof is omitted.

提供装置であるDSC1の処理手順について、図6のフローチャートを用いて説明する。なお、第1の実施形態と同様に、DSC2が先にプロトコル開始要求を送信し、DSC3がその後にプロトコル開始要求を送信するものとして説明する。   The processing procedure of DSC 1 as the providing apparatus will be described with reference to the flowchart of FIG. As in the first embodiment, it is assumed that DSC 2 transmits a protocol start request first and DSC 3 transmits a protocol start request thereafter.

DSC1は、受理装置から送信されるプロトコル開始要求を待つ(F601)。DSC1は、DSC2からプロトコル開始要求を受信すると、既に他の受理装置との間で設定情報通知プロトコルを実行中であるか否かを判断する(F602)。   The DSC 1 waits for a protocol start request transmitted from the receiving device (F601). When DSC1 receives the protocol start request from DSC2, DSC1 determines whether or not the setting information notification protocol is already being executed with another receiving apparatus (F602).

他の受理装置と設定情報通知プロトコルを実行中でなければ、DSC2に対して、プロトコル開始メッセージを送信する(F617)。   If the setting information notification protocol is not being executed with another receiving apparatus, a protocol start message is transmitted to DSC 2 (F617).

DSC1は、プロトコル開始メッセージを送信した後、設定情報通知プロトコルによりDSC2との間で各種メッセージの送受信を行うことにより、DSC2に対して無線パラメータの提供を行う(F618)。   After sending the protocol start message, the DSC 1 sends and receives various messages to and from the DSC 2 using the setting information notification protocol, thereby providing wireless parameters to the DSC 2 (F618).

F602において、他の受理装置と設定情報通知プロトコルを実行中である場合(ここでの例では、DSC1がDSC2と設定情報通知プロトコルを実行中にDSC3からプロトコル開始要求を受信した場合)、F603に進む。DSC1は後からプロトコル開始要求を送信したDSC3のMAC(Media Access Control)アドレスを記憶部208に保存する(F603)。このとき、MACアドレスは記憶部208にあるリストにFIFO(First‐In First‐Out)で保存される。次にDSC1は、DSC2との間で現在実行中の設定情報通知プロトコルを終了後に、新たに設定情報通知プロトコルを行うネットワークのネットワーク情報(ESSID、周波数チャネル)を抽出すると共に、待機情報を確認する(F605)。ここで待機情報とは、設定情報通知プロトコル開始までの待機時間を受理装置が判定するための情報である。例えば、受理装置の待機台数、設定情報通知プロトコルの処理時間、提供装置の処理能力等の情報である。   In F602, when the setting information notification protocol is being executed with another receiving device (in this example, when DSC1 receives a protocol start request from DSC3 while executing the setting information notification protocol with DSC2), F603 move on. The DSC 1 stores the MAC (Media Access Control) address of the DSC 3 that has transmitted the protocol start request later in the storage unit 208 (F603). At this time, the MAC address is saved in a list in the storage unit 208 by FIFO (First-In First-Out). Next, the DSC 1 extracts the network information (ESSID, frequency channel) of the network for which the setting information notification protocol is newly performed after the setting information notification protocol currently being executed with the DSC 2 is completed, and confirms the standby information. (F605). Here, the standby information is information for the receiving device to determine the standby time until the setting information notification protocol starts. For example, information such as the standby number of receiving apparatuses, processing time of a setting information notification protocol, and processing capacity of a providing apparatus.

DSC1は、抽出したネットワーク情報と待機情報を付加した待機信号をDSC3に対して送信する(F606)。なお、提供装置であるDSC1側で待機時間を算出し、待機情報としてDSC3へ送信しても良い。そして、DSC1は、DSC3のMACアドレスが記憶部208のリストの先頭になるか、中止信号を受信するまで待機する(F607、F608)。   The DSC 1 transmits a standby signal added with the extracted network information and standby information to the DSC 3 (F606). Note that the waiting time may be calculated on the DSC 1 side that is the providing apparatus and transmitted to the DSC 3 as the waiting information. The DSC 1 waits until the MAC address of the DSC 3 comes to the top of the list in the storage unit 208 or receives a stop signal (F607, F608).

中止信号をDSC3から受信した場合は、DSC1は記憶部208のリストからDSC3のMACアドレスを削除し(F616)、フローを終了する。   When the stop signal is received from the DSC 3, the DSC 1 deletes the MAC address of the DSC 3 from the list in the storage unit 208 (F616) and ends the flow.

また、DSC3のMACアドレスが記憶部208のリストの先頭になると、DSC1は、DSC2との間で現在実行中の設定情報通知プロトコルが終了するか、中止信号を受信するのを待つ(F609、F610)。   When the MAC address of DSC3 comes to the top of the list of the storage unit 208, DSC1 waits for the setting information notification protocol currently being executed with DSC2 to end or to receive a stop signal (F609, F610). ).

中止信号をDSC3から受信した場合は、DSC1は記憶部208のリストからDSC3のMACアドレスを削除し(F616)、フローを終了する。   When the stop signal is received from the DSC 3, the DSC 1 deletes the MAC address of the DSC 3 from the list in the storage unit 208 (F616) and ends the flow.

実行中の設定情報通知プロトコルが終了した場合は、F611に進む。なお、F611からF615までの処理は、図3におけるF308からF312までの処理と同様であるため、ここでの説明を省略する。   If the setting information notification protocol being executed is terminated, the process proceeds to F611. Note that the processing from F611 to F615 is the same as the processing from F308 to F312 in FIG. 3, and thus the description thereof is omitted here.

受理装置であるDSC2、DSC3の処理手順について、図7のフローチャートを用いて説明する。なお、前述のように、ここではDSC2が先にプロトコル開始要求を送信し、後からDSC3がプロトコル開始要求を送信するものとする。   Processing procedures of DSC2 and DSC3 which are receiving apparatuses will be described with reference to the flowchart of FIG. As described above, here, it is assumed that the DSC 2 transmits the protocol start request first, and the DSC 3 transmits the protocol start request later.

受理装置であるDSC2、DSC3は、プロトコル開始要求を提供装置であるDSC1に送信する(F701)。その後、DSC2、DSC3は、DSC1からプロトコル開始メッセージ、もしくは待機信号を受信するのを待つ(F702、F703)。   The receiving apparatuses DSC2 and DSC3 transmit a protocol start request to the providing apparatus DSC1 (F701). After that, DSC2 and DSC3 wait to receive a protocol start message or a standby signal from DSC1 (F702, F703).

プロトコル開始メッセージを受信した場合(ここではDSC2が該当する)は、DSC2はDSC1との間で設定情報通知プロトコルを開始する(FF711)。そして、DSC2は、設定情報通知プロトコルによりDSC1との間で各種メッセージの送受信を行うことにより、DSC1から無線パラメータを受理する(F712)。   When the protocol start message is received (DSC2 corresponds here), DSC2 starts the setting information notification protocol with DSC1 (FF711). The DSC 2 receives wireless parameters from the DSC 1 by transmitting and receiving various messages to and from the DSC 1 using the setting information notification protocol (F712).

待機信号を受信した場合(ここではDSC3が該当する)、DSC3は、待機信号に付加されている待機情報を参照し、中止基準値と比較する(F704)。ここで、中止基準値とは、受理装置が無線パラメータの設定処理を中止するか否かを判断するための基準を定めた値であり、待機時間の上限値等がある。中止基準値は、装置に予め設定しておいても良いし、ユーザが設定可能な構成としてもよい。   When the standby signal is received (DSC3 corresponds here), the DSC3 refers to the standby information added to the standby signal and compares it with the stop reference value (F704). Here, the cancellation reference value is a value that defines a criterion for determining whether or not the receiving apparatus stops the wireless parameter setting process, and includes an upper limit value of the waiting time. The cancellation reference value may be set in advance in the apparatus, or may be configured so that the user can set it.

無線パラメータの設定処理を中止する場合(例えば、中止基準値である待機時間の上限値よりも待機時間が長いと判定した場合)は、DSC3はDSC1に対して中止信号を送信する(F713)。無線パラメータの設定処理を中止しない場合は、F706に進む。   When the wireless parameter setting process is canceled (for example, when it is determined that the standby time is longer than the upper limit value of the standby time that is the cancellation reference value), the DSC 3 transmits a cancellation signal to the DSC 1 (F713). If the wireless parameter setting process is not canceled, the process proceeds to F706.

F706〜F712の処理については、図4のF404〜F410の処理と同様であるため、ここでの説明は省略する。なお、F711において、DSC3は、待機情報に基づいて判定した待機時間を参照することにより、DSC1からプロトコル開始メッセージを受信するまでの間、省電力モードに切替えてもよい。   Since the processing of F706 to F712 is the same as the processing of F404 to F410 in FIG. 4, the description thereof is omitted here. In F711, the DSC 3 may switch to the power saving mode until the protocol start message is received from the DSC 1 by referring to the standby time determined based on the standby information.

図8は、DSC1、DSC2、及びDSC3の処理シーケンスを示した図である。なお、F801〜F811の処理は、図5のF501〜F511の処理と同様であるため、ここでの説明は省略する。   FIG. 8 is a diagram showing a processing sequence of DSC1, DSC2, and DSC3. Note that the processing of F801 to F811 is the same as the processing of F501 to F511 in FIG.

DSC1は、DSC2との間で設定情報通知プロトコルを実行中にDSC3からプロトコル開始要求(F811)を受信すると、DSC3との間で設定情報通知プロトコルを実行するネットワークのネットワーク情報と、前述した待機情報を抽出する。この場合、DSC1はDSC2との間で設定情報通知プロトコルによりネットワークAの無線パラメータを提供し、プロトコル終了後にネットワークAでDSC2とデータ通信する。従って、DSC1はネットワークAのネットワーク情報を抽出する。   When DSC1 receives the protocol start request (F811) from DSC3 while executing the setting information notification protocol with DSC2, the network information of the network that executes the setting information notification protocol with DSC3 and the above-described standby information To extract. In this case, the DSC 1 provides wireless parameters of the network A to the DSC 2 by the setting information notification protocol, and performs data communication with the DSC 2 on the network A after the protocol ends. Therefore, DSC 1 extracts network information of network A.

そして、DSC1は抽出したネットワーク情報と待機情報を待機信号に付加し、DSC3に送信する(F812)。DSC3は待機信号を受信すると、付加されている待機情報と自装置が持つ中止基準値とを比較する。ここでは、待機情報の値が中止基準値を超えているものとする。その結果、DSC3は中止信号をDSC1に対して送信する(F813)。   Then, DSC1 adds the extracted network information and standby information to the standby signal and transmits it to DSC3 (F812). When the DSC 3 receives the standby signal, the DSC 3 compares the added standby information with the cancellation reference value of the own device. Here, it is assumed that the value of the standby information exceeds the cancellation reference value. As a result, DSC3 transmits a stop signal to DSC1 (F813).

DSC1は、中止信号を受信すると、記憶部208のリストからDSC3のMACアドレスを削除し、DSC3との無線パラメータ設定処理を中止する。   When the DSC 1 receives the cancel signal, the DSC 1 deletes the MAC address of the DSC 3 from the list in the storage unit 208 and stops the wireless parameter setting process with the DSC 3.

DSC1は、DSC2との設定情報通知プロトコルが終了すると、プロトコル終了メッセージをDSC2に送信する(F814)。DSC2は、プロトコル終了メッセージを受信すると、設定情報通知プロトコルにより取得した無線パラメータを用いてネットワークAに再び参加する。このとき、DSC2はDSC1と共通の暗号鍵、認証鍵等が設定されるため、暗号、認証を用いたデータ通信を行うことが可能となる。   When the setting information notification protocol with DSC2 ends, DSC1 transmits a protocol end message to DSC2 (F814). When the DSC 2 receives the protocol end message, the DSC 2 rejoins the network A using the wireless parameter acquired by the setting information notification protocol. At this time, since DSC2 has the same encryption key and authentication key as DSC1, data communication using encryption and authentication can be performed.

本実施形態によれば、実施形態1の効果に加え、設定情報通知プロトコルの開始まで長時間待たされるような場合には、受理装置が自発的に設定情報通知プロトコルの処理を中止することができる。   According to the present embodiment, in addition to the effect of the first embodiment, when the apparatus waits for a long time until the start of the setting information notification protocol, the receiving apparatus can voluntarily stop the processing of the setting information notification protocol. .

以上、本発明の好適な実施形態を説明したが、これは本発明の説明のための例示であり、本発明の要旨を逸脱しない範囲で、実施形態は種々に変形することが可能である。   The preferred embodiment of the present invention has been described above, but this is an example for explaining the present invention, and the embodiment can be variously modified without departing from the gist of the present invention.

上述の説明では、ネットワーク情報としてESSIDと周波数チャネルを用いるものとして説明したが、必ずしもESSIDと周波数チャネル両方が必要ではなく、いずれか一方のみでも構わない。   In the above description, the ESSID and the frequency channel are used as network information. However, both the ESSID and the frequency channel are not necessarily required, and only one of them may be used.

また、受理装置は待機情報に基づいて無線パラメータ設定処理の開始までの待機時間を判定し、中止するか否かを判定するものとして説明したが、中止するか否かの判定基準として他の基準を用いてもよい。例えば、待機台数に基づいて中止か否かの判断を行ってもよい。この場合、受理装置側で待機台数の上限値を中止基準値として予め決めておき、提供装置から待機情報として送信された待機台数が中止基準値を越えているか否かにより中止の判断をすればよい。   In addition, the receiving apparatus has been described as determining the standby time until the start of the wireless parameter setting process based on the standby information and determining whether or not to cancel, but other criteria may be used as a determination criterion regarding whether or not to cancel. May be used. For example, it may be determined whether or not to cancel based on the number of standby units. In this case, if the upper limit value of the number of standby units is determined in advance as a cancellation reference value on the receiving device side, and the cancellation is determined based on whether or not the standby number transmitted as the standby information from the providing device exceeds the cancellation reference value. Good.

上記説明では、IEEE802.11無線LANを例に説明したが、ワイヤレスUSB、Bluetooth(登録商標)、UWB(Ultra Wide Band)等の他の無線通信方式適用してもよい。また、有線LAN等の有線通信に適用することも可能である。   In the above description, an IEEE 802.11 wireless LAN has been described as an example, but other wireless communication methods such as wireless USB, Bluetooth (registered trademark), UWB (Ultra Wide Band), and the like may be applied. Further, it can be applied to wired communication such as a wired LAN.

また、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(CPU若しくはMPU)が記録媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   In addition, a recording medium on which a program code of software that realizes the functions of the above-described embodiments is recorded is supplied to the system or apparatus. It goes without saying that the object of the present invention can also be achieved by the computer (CPU or MPU) of the system or apparatus reading and executing the program code stored in the recording medium.

この場合、記録媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。   In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiment, and the recording medium storing the program code constitutes the present invention.

このプログラムコードを供給するための記録媒体としては、例えばフロッピー(登録商標)ディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。   As a recording medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like is used. be able to.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではない。当該プログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   In addition, the functions of the above-described embodiments are not only realized by executing the program code read by the computer. This includes the case where an OS (operating system) running on a computer performs part or all of actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Needless to say.

更に、記録媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれる。そして、当該プログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instruction of the program code, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing. Needless to say.

以上説明したように、上記説明では、通信パラメータの設定処理を行う通信装置が、第1の通信装置と通信パラメータの設定処理を実行する。そして、
前記通信装置は、前記第1の通信装置と前記通信パラメータの設定処理を実行中に、第2の通信装置からの通信パラメータ設定処理の開始要求を検出する。前記通信装置は、通信パラメータ設定処理の開始要求を検出した場合に、前記第1の通信装置との通信パラメータ設定処理の終了後に前記通信装置が属するネットワークのネットワーク情報を前記第2の通信装置へ送信する。これにより、前記第2の通信装置は、前記通信装置が前記第1の通信装置との間で通信パラメータの設定処理を終了後に他のネットワークに移行した場合であっても、前記通信装置の属するネットワークを認識することができる。
As described above, in the above description, a communication device that performs communication parameter setting processing executes communication parameter setting processing with the first communication device. And
The communication device detects a communication parameter setting processing start request from the second communication device while executing the communication parameter setting processing with the first communication device. When the communication device detects a communication parameter setting process start request, the communication device sends network information of a network to which the communication device belongs to the second communication device after the communication parameter setting processing with the first communication device is completed. Send. As a result, the second communication device belongs to the communication device even when the communication device shifts to another network after completing the communication parameter setting process with the first communication device. Can recognize the network.

また、前記第1の通信装置との通信パラメータ設定処理の終了後に前記通信装置が属するネットワークは、前記第2の通信装置と通信パラメータ設定処理を行うネットワークである。これにより、前記第2の通信装置に対してユーザが特別な操作をしなくても、前記通信装置との間で通信パラメータの設定を行うことができる。   The network to which the communication device belongs after completion of the communication parameter setting process with the first communication device is a network that performs the communication parameter setting process with the second communication device. Thereby, even if a user does not perform special operation with respect to the said 2nd communication apparatus, a communication parameter can be set between the said communication apparatuses.

更にまた、前記通信装置は、前記第1の通信装置との通信パラメータ設定処理の終了後に、前記第2の通信装置に対して、通信パラメータ設定処理の開始を通知する。これにより、前記第1の通信装置との通信パラメータ設定後に引き続き前記第2の通信装置との間で通信パラメータの設定処理を行うことができる。   Furthermore, the communication apparatus notifies the second communication apparatus of the start of the communication parameter setting process after the communication parameter setting process with the first communication apparatus is completed. As a result, the communication parameter setting process can be performed with the second communication device after the communication parameter with the first communication device has been set.

また、前記通信装置は、前記第2の通信装置との通信パラメータ設定処理開始までの待機時間を判定するための情報を併せて送信する。これにより、前記第2の通信装置は、通信パラメータ設定処理を中止するか否かを判断することができる。   The communication device also transmits information for determining a waiting time until the communication parameter setting process with the second communication device is started. Thereby, the second communication device can determine whether or not to cancel the communication parameter setting process.

また、前記ネットワーク情報は、ネットワーク識別子又は周波数チャネルを含む。   The network information includes a network identifier or a frequency channel.

また、通信パラメータの設定処理を行う通信装置が、他の通信装置に対して通信パラメータの設定処理の開始を要求し、要求に対する応答として、ネットワーク情報を含む信号を受信する。そして、前記通信装置は、受信した信号に含まれるネットワーク情報に基づいて、前記他の通信装置から通信パラメータの設定処理の開始が通知されるネットワークを判別する。これにより、通信パラメータ設定処理の開始を要求した際に、要求元装置が他の装置との間で通信パラメータ設定処理を実行中であっても、その後に通信パラメータ設定処理が行われるネットワークを認識することができる。   In addition, a communication device that performs communication parameter setting processing requests another communication device to start communication parameter setting processing, and receives a signal including network information as a response to the request. And the said communication apparatus discriminate | determines the network notified from the said other communication apparatus of the start of the setting process of a communication parameter based on the network information contained in the received signal. As a result, when requesting the start of the communication parameter setting process, even if the requesting device is executing the communication parameter setting process with another device, it recognizes the network on which the communication parameter setting process is subsequently performed. can do.

また、前記通信装置は、受信した信号に含まれるネットワーク情報が、前記通信装置が属するネットワークのネットワーク情報と異なる場合は、前記信号に含まれるネットワーク情報により定められるネットワークに参加する。そして、参加したネットワークにおいて、通信パラメータの設定処理開始の通知の受信を待機する。これにより、参加したネットワークにおいて、通信パラメータの設定処理が行われるまで待機することができる。   In addition, when the network information included in the received signal is different from the network information of the network to which the communication device belongs, the communication device participates in a network defined by the network information included in the signal. Then, in the participating network, it waits for reception of a notification of the communication parameter setting process start. Thereby, it is possible to wait until the communication parameter setting process is performed in the participating network.

また、受信した信号には、通信パラメータ設定処理の開始までの待機時間を判定するための情報が含まれ、前記通信装置は、前記情報に基づいて、通信パラメータの設定処理を中止するか否かを判断する。これにより、待機時間に応じて、通信パラメータ設定処理を継続するか中止するかの柔軟な制御が可能となる。   In addition, the received signal includes information for determining a waiting time until the start of the communication parameter setting process, and the communication apparatus determines whether to stop the communication parameter setting process based on the information. Judging. Thereby, it is possible to flexibly control whether to continue or cancel the communication parameter setting process according to the standby time.

201 DSC1(DSC2、DSC3)
202 通信部
203 通信制御部
204 計時部
205 表示部
206 無線パラメータ設定処理部
207 判断部
208 記憶部
209 装置制御部
201 DSC1 (DSC2, DSC3)
202 Communication Unit 203 Communication Control Unit 204 Timekeeping Unit 205 Display Unit 206 Wireless Parameter Setting Processing Unit 207 Judgment Unit 208 Storage Unit 209 Device Control Unit

Claims (24)

第1通信装置であって、
無線通信を行うための通信パラメータを共有するための所定のプロトコルを実行する実行手段と、
前記第1通信装置と第2通信装置との間で前記所定のプロトコルを実行している場合、前記所定のプロトコルを行可能な第3通信装置に前記第1通信装置への接続を制限させるための信号を送信する送信手段と、
前記所定のプロトコルを実行するチャネルを示す情報を前記第3通信装置に通知する通知手段と、を有し、
前記実行手段は、前記通知手段により通知した前記チャネルにおいて前記第3通信装置と前記所定のプロトコルを実行することを特徴とする第1通信装置。
A first communication device comprising:
Execution means for executing a predetermined protocol for sharing communication parameters for performing wireless communication;
When running the predetermined protocol between the first communication device and the second communication device to restrict the connection of the to the first communication device to said predetermined third communication device capable of running the protocol Transmitting means for transmitting a signal for
Notification means for notifying the third communication device of information indicating a channel for executing the predetermined protocol,
The first communication device is characterized in that the execution unit executes the predetermined protocol with the third communication device in the channel notified by the notification unit.
前記通知手段による通知に用いたチャネルと前記情報が示すチャネルとが異なる場合、前記第1通信装置は、前記通知を行った後に前記情報が示すチャネルに切替え、前記情報が示すチャネルにおいて前記第3通信装置と前記所定のプロトコルを実行することを特徴とする請求項1に記載の第1通信装置。   If the channel used for the notification by the notification means and the channel indicated by the information are different, the first communication device switches to the channel indicated by the information after performing the notification, and the third communication is performed in the channel indicated by the information. The first communication device according to claim 1, wherein the predetermined protocol is executed with the communication device. 記第3通信装置からの所定の信号を検出する検出手段と、を有し、
前記送信手段は、前記第1通信装置への接続を制限させるための信号を前記所定の信号に対する応答信号に含めて送信することを特徴とする請求項1または2に記載の第1通信装置。
A detecting means for detecting a predetermined signal from the previous SL third communication device, a
3. The first communication device according to claim 1, wherein the transmission unit transmits a signal for restricting connection to the first communication device included in a response signal to the predetermined signal.
記第3通信装置からの所定の信号を検出する検出手段と、を有し、
前記通知手段は、前記チャネルを示す情報を前記所定の信号に対する応答信号に含めて通知することを特徴とする請求項1または2に記載の第1通信装置。
A detecting means for detecting a predetermined signal from the previous SL third communication device, a
3. The first communication device according to claim 1, wherein the notifying unit notifies information including the channel information in a response signal to the predetermined signal.
前記第1通信装置への接続を制限させるための信号は、前記第3通信装置との前記所定のプロトコルの実行を待機させる信号であることを特徴とする請求項1乃至4の何れか1項に記載の第1通信装置。   5. The signal for restricting connection to the first communication device is a signal for waiting for execution of the predetermined protocol with the third communication device. 1st communication apparatus. 前記所定のプロトコルは、EAP(Extensible Authentication Protocol)パケットを用いて行われることを特徴とする請求項1乃至5の何れか1項に記載の第1通信装置。   6. The first communication device according to claim 1, wherein the predetermined protocol is performed using an EAP (Extensible Authentication Protocol) packet. 6. 前記所定のプロトコルは、Registrationプロトコルであることを特徴とする特徴とする請求項1乃至6の何れか1項に記載の第1通信装置。   The first communication device according to any one of claims 1 to 6, wherein the predetermined protocol is a Registration protocol. 前記所定のプロトコルは、WPS(Wi−Fi Protected Setup)にて規定されるRegistrationプロトコルであることを特徴とする請求項1乃至7の何れか1項に記載の第1通信装置。   The first communication apparatus according to claim 1, wherein the predetermined protocol is a Registration protocol defined by WPS (Wi-Fi Protected Setup). 前記所定のプロトコルにおいて通信パラメータの提供を行う提供装置として動作する第1の役割と前記所定のプロトコルにおいて提供装置から通信パラメータを受理する受理装置として動作する第2の役割とから前記第1通信装置の役割を決定する決定手段と、
前記決定手段により前記第1の役割に決定した場合、前記送信手段による送信を行うことを特徴とする請求項1乃至8の何れか1項に記載の第1通信装置。
From the first role that operates as a providing device that provides communication parameters in the predetermined protocol and the second role that operates as a receiving device that receives communication parameters from the providing device in the predetermined protocol, the first communication device A determination means for determining the role of
9. The first communication device according to claim 1, wherein, when the determination unit determines the first role, transmission by the transmission unit is performed. 9.
前記通信パラメータは、少なくともネットワーク識別子、周波数チャネル情報、暗号方式、暗号鍵、認証方式、認証鍵の何れか1つを含むことを特徴とする請求項1乃至9の何れか1項に記載の第1通信装置。   10. The communication parameter according to claim 1, wherein the communication parameter includes at least one of a network identifier, frequency channel information, an encryption method, an encryption key, an authentication method, and an authentication key. 1 communication device. 通信装置であって、
無線通信を行うための通信パラメータを共有するための所定のプロトコルを実行する実行手段と、
他の通信装置が前記通信装置と異なる装置と前記所定のプロトコルを実行している場合、前記他の通信装置への接続を制限させるための信号を当該他の通信装置から受信する第1受信手段と、
前記他の通信装置から前記所定のプロトコルを実行するチャネルを示す情報を受信する第2受信手段と、を有し、
前記実行手段は、前記第2受信手段により受信した前記チャネルにおいて前記他の通信装置と前記所定のプロトコルを実行することを特徴とする通信装置。
A communication device,
Execution means for executing a predetermined protocol for sharing communication parameters for performing wireless communication;
First receiving means for receiving, from another communication device, a signal for restricting connection to the other communication device when another communication device is executing the predetermined protocol with a device different from the communication device. When,
Second receiving means for receiving information indicating a channel for executing the predetermined protocol from the other communication device;
The communication device is characterized in that the execution means executes the predetermined protocol with the other communication device in the channel received by the second receiving means.
前記第1受信手段による前記情報の受信に用いたチャネルと前記情報が示すチャネルとが異なる場合、前記通信装置は、前記情報が示すチャネルに切替え、前記情報が示すチャネルにおいて前記他の通信装置と前記所定のプロトコルを実行することを特徴とする請求項11に記載の通信装置。   When the channel used to receive the information by the first receiving unit is different from the channel indicated by the information, the communication device switches to the channel indicated by the information, and the other communication device in the channel indicated by the information The communication apparatus according to claim 11, wherein the predetermined protocol is executed. 前記他の通信装置への接続を制限させるための信号を前記第1受信手段により受信した場合、前記他の通信装置が所定の信号を送信するまで、前記所定のプロトコルの実行を待機することを特徴とする請求項11または12に記載の通信装置。   When a signal for restricting connection to the other communication device is received by the first receiving means, the execution of the predetermined protocol is waited until the other communication device transmits a predetermined signal. The communication device according to claim 11 or 12, characterized in that: 記他の通信装置に対して所定の要求信号を送信する送信手段とを有し、
前記所定の要求信号を前記他の通信装置が受信した際に前記他の通信装置が前記通信装置と異なる装置と前記所定のプロトコルを実行している場合、前記第1受信手段は、前記所定の信号に対する応答信号に含まれる前記他の通信装置への接続を制限させるための信号を受信することを特徴とする請求項11乃至13の何れか1項に記載の通信装置。
And a transmitting means for transmitting a predetermined request signal to the previous SL other communication device,
When the other communication device receives the predetermined request signal and the other communication device is executing the predetermined protocol with a device different from the communication device, the first receiving means The communication apparatus according to claim 11, wherein the communication apparatus receives a signal for restricting connection to the other communication apparatus included in a response signal to the signal.
記他の通信装置に対して所定の要求信号を送信する送信手段とを有し、
前記第2受信手段は、前記所定の信号に対する応答信号に含まれる前記チャネルを示す情報を受信することを特徴とする請求項11乃至14の何れか1項に記載の通信装置。
And a transmitting means for transmitting a predetermined request signal to the previous SL other communication device,
The communication apparatus according to claim 11, wherein the second reception unit receives information indicating the channel included in a response signal to the predetermined signal.
前記他の通信装置への接続を制限させるための信号は、前記他の通信装置との前記所定のプロトコルの実行を待機させる信号であることを特徴とする請求項11乃至15の何れか1項に記載の通信装置。   16. The signal for restricting connection to the other communication apparatus is a signal for waiting for execution of the predetermined protocol with the other communication apparatus. The communication apparatus as described in. 前記所定のプロトコルは、EAP(Extensible Authentication Protocol)パケットを用いて行われることを特徴とする請求項11乃至16の何れか1項に記載の通信装置。   The communication apparatus according to claim 11, wherein the predetermined protocol is performed using an EAP (Extensible Authentication Protocol) packet. 前記所定のプロトコルは、Registrationプロトコルであることを特徴とする請求項11乃至1の何れか1項に記載の通信装置。 The communication apparatus according to any one of claims 11 to 17 , wherein the predetermined protocol is a Registration protocol. 前記所定のプロトコルは、WPS(Wi−Fi Protected Setup)にて規定されるRegistrationプロトコルであることを特徴とする11乃至18の何れか1項に記載の通信装置。   The communication apparatus according to any one of 11 to 18, wherein the predetermined protocol is a registration protocol defined by WPS (Wi-Fi Protected Setup). 前記所定のプロトコルにおいて通信パラメータの提供を行う提供装置として動作する第1の役割と前記所定のプロトコルにおいて提供装置から通信パラメータを受理する受理装置として動作する第2の役割とから前記通信装置の役割を決定する決定手段と、を有することを特徴とする11乃至19の何れか1項に記載の通信装置。 The role of the communication device from a first role that operates as a providing device that provides communication parameters in the predetermined protocol and a second role that operates as a receiving device that receives communication parameters from the providing device in the predetermined protocol The communication device according to any one of 11 to 19 , further comprising: a determining unit that determines 前記通信パラメータは、少なくともネットワーク識別子、周波数チャネル情報、暗号方式、暗号鍵、認証方式、認証鍵の何れか1つを含むことを特徴とする請求項11乃至2の何れか1項に記載の通信装置。 The communication parameter is at least a network identifier, a frequency channel information, encryption method, encryption key, authentication method, according to any one of claims 11 to 2 0, characterized in that it comprises any one of the authentication key Communication device. 第1通信装置の制御方法であって、
無線通信を行うための通信パラメータを共有するための所定のプロトコルを実行する実行工程と、
前記第1通信装置と第2通信装置との間で前記所定のプロトコルを実行している場合、前記所定のプロトコルを行可能な第3通信装置に前記第1通信装置への接続を制限させるための信号を送信する送信工程と、
前記所定のプロトコルを実行するチャネルを示す情報を前記第3通信装置に通知する通知工程と、を有し、
前記実行工程において、前記通知手段により通知した前記チャネルにおいて前記第3通信装置と前記所定のプロトコルを実行することを特徴とする第1通信装置の制御方法。
A control method for a first communication device, comprising:
An execution step of executing a predetermined protocol for sharing communication parameters for performing wireless communication;
When running the predetermined protocol between the first communication device and the second communication device to restrict the connection of the to the first communication device to said predetermined third communication device capable of running the protocol A transmission step of transmitting a signal for
A notification step of notifying the third communication device of information indicating a channel for executing the predetermined protocol,
The method of controlling a first communication device, wherein, in the execution step, the predetermined protocol is executed with the third communication device in the channel notified by the notification means.
通信装置の制御方法であって、
無線通信を行うための通信パラメータを共有するための所定のプロトコルを実行する実行工程と、
他の通信装置が前記通信装置と異なる装置と前記所定のプロトコルを実行している場合、前記他の通信装置への接続を制限させるための信号を当該他の通信装置から受信する第1受信工程と、
前記他の通信装置から前記所定のプロトコルを実行するチャネルを示す情報を受信する第2受信工程と、を有し、
前記実行工程においては、前記第2受信工程において受信した前記チャネルにおいて前記他の通信装置と前記所定のプロトコルを実行することを特徴とする通信装置の制御方法。
A communication device control method comprising:
An execution step of executing a predetermined protocol for sharing communication parameters for performing wireless communication;
A first receiving step of receiving, from another communication device, a signal for restricting connection to the other communication device when another communication device is executing the predetermined protocol with a device different from the communication device; When,
A second receiving step of receiving information indicating a channel for executing the predetermined protocol from the other communication device;
In the execution step, the predetermined protocol is executed with the other communication device in the channel received in the second reception step.
請求項2または請求項2に記載の制御方法をコンピュータに実行させるためのプログラム。 Program for executing the control method according to the computer to claim 2 2 or claim 2 3.
JP2012284833A 2012-12-27 2012-12-27 COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM Active JP5595474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012284833A JP5595474B2 (en) 2012-12-27 2012-12-27 COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012284833A JP5595474B2 (en) 2012-12-27 2012-12-27 COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007230408A Division JP5171167B2 (en) 2007-09-05 2007-09-05 COMMUNICATION DEVICE FOR COMMUNICATION PARAMETER SETTING PROCESS, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM

Publications (2)

Publication Number Publication Date
JP2013059129A JP2013059129A (en) 2013-03-28
JP5595474B2 true JP5595474B2 (en) 2014-09-24

Family

ID=48134510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012284833A Active JP5595474B2 (en) 2012-12-27 2012-12-27 COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM

Country Status (1)

Country Link
JP (1) JP5595474B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6732460B2 (en) 2016-01-26 2020-07-29 キヤノン株式会社 Communication device, communication method, program
JP6805659B2 (en) * 2016-09-09 2020-12-23 富士ゼロックス株式会社 Wireless communication equipment, wireless communication system, and wireless communication setting program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4502393B2 (en) * 2005-06-13 2010-07-14 キヤノン株式会社 Communication parameter sharing method and communication apparatus

Also Published As

Publication number Publication date
JP2013059129A (en) 2013-03-28

Similar Documents

Publication Publication Date Title
JP5171167B2 (en) COMMUNICATION DEVICE FOR COMMUNICATION PARAMETER SETTING PROCESS, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM
JP5121668B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5137746B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5328142B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM
JP5270947B2 (en) COMMUNICATION SYSTEM CONTROL METHOD, RADIO COMMUNICATION DEVICE, BASE STATION, MANAGEMENT DEVICE, PROGRAM, AND RECORDING MEDIUM
EP3419379B1 (en) Communication device, control method of communication device and program
JP5361463B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
US9871894B2 (en) Wireless communication apparatus and processing method thereby
JP5868147B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2009141587A (en) Communication apparatus, control method of communication apparatus, and computer program
JP5448434B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM
JP5595474B2 (en) COMMUNICATION DEVICE, CONTROL METHOD FOR COMMUNICATION DEVICE, AND COMPUTER PROGRAM
JP2013026981A (en) Communication device, control method for communication device, and program
JP5511856B2 (en) COMMUNICATION DEVICE, PROGRAM FOR CONTROLLING COMMUNICATION DEVICE, STORAGE MEDIUM CONTAINING THE PROGRAM, AND NETWORK FORMING METHOD
JP5183791B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5967947B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5627659B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5442140B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5175898B2 (en) Wireless communication apparatus, connection release method, and program
JP5458195B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP5597299B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5258985B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP5627763B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5865304B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM
JP2014195157A (en) Communication apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140623

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: 20140708

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140805

R151 Written notification of patent or utility model registration

Ref document number: 5595474

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151