JP2012238974A - Information provision device, information provision method, and program - Google Patents

Information provision device, information provision method, and program Download PDF

Info

Publication number
JP2012238974A
JP2012238974A JP2011105649A JP2011105649A JP2012238974A JP 2012238974 A JP2012238974 A JP 2012238974A JP 2011105649 A JP2011105649 A JP 2011105649A JP 2011105649 A JP2011105649 A JP 2011105649A JP 2012238974 A JP2012238974 A JP 2012238974A
Authority
JP
Japan
Prior art keywords
communication
information providing
providing
control method
communication parameter
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
Application number
JP2011105649A
Other languages
Japanese (ja)
Other versions
JP5822532B2 (en
JP2012238974A5 (en
Inventor
Tatsuhiko Sakai
達彦 坂井
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 JP2011105649A priority Critical patent/JP5822532B2/en
Publication of JP2012238974A publication Critical patent/JP2012238974A/en
Publication of JP2012238974A5 publication Critical patent/JP2012238974A5/en
Application granted granted Critical
Publication of JP5822532B2 publication Critical patent/JP5822532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a solution to a problem of being not convenient due to a fact that a user has to select an appropriate provision method of a communication parameter depending on the communication environment of an information provision device.SOLUTION: An information provision device provides a communication device with a communication parameter to be used to perform communication. The information provision device checks whether or not a relay device relaying communication between the communication device and the information provision device can provide a communication parameter, and based on a result of the check, selects a method to be carried out from a way in which the communication parameter is directly provided for the communication device and a way in which the communication parameter is provided for the communication device via the relay device, and provide the communication parameter for the communication device according to the selected way.

Description

通信パラメータの自動設定システムにおいて通信パラメータの提供のための方式を自動で選択する情報提供装置、情報提供方法、及びプログラムに関する。   The present invention relates to an information providing apparatus, an information providing method, and a program for automatically selecting a method for providing communication parameters in a communication parameter automatic setting system.

IEEE802.11規格シリーズに準拠した無線LANに代表される無線通信では、実際に通信を行う前に設定しなければならない設定項目が数多く存在する。設定項目は、例えば、ネットワーク識別子としてのSSID、暗号方式、暗号鍵、認証方式、認証鍵等の無線通信を行うために必要な通信パラメータがあり、これらをユーザが手入力により設定するのは非常に煩雑である。   In wireless communication represented by a wireless LAN compliant with the IEEE 802.11 standard series, there are many setting items that must be set before actual communication. The setting items include, for example, communication parameters necessary for wireless communication such as SSID as a network identifier, encryption method, encryption key, authentication method, authentication key, etc., and it is extremely difficult for the user to set these manually. It is complicated.

そこで、様々なメーカーから、通信パラメータを簡単に無線機器に設定するための自動設定システムが提案されている。自動設定システムでは、接続する機器間で予め定められた手順、及びメッセージにより、一方の機器(情報提供装置)から他方の機器(通信装置)に通信パラメータを提供し、自動で通信パラメータの設定を行う。   Therefore, various manufacturers have proposed automatic setting systems for easily setting communication parameters in wireless devices. In the automatic setting system, communication parameters are provided from one device (information providing device) to the other device (communication device) by a predetermined procedure and message between connected devices, and communication parameters are automatically set. Do.

通信パラメータの自動設定システムにおける通信パラメータを提供する方式は、以下に説明する三つの代表的な方式がある。   There are three typical methods for providing communication parameters in the communication parameter automatic setting system as described below.

第一の方式は、情報提供装置がアクセスポイントのような中継装置を介して通信装置へ通信パラメータを提供する。非特許文献1には、この方式の一例として、情報提供装置からアクセスポイントを介して通信装置へ通信パラメータを提供する方式が記載されている。この方式によれば、情報提供装置は中継装置との接続を保ったまま、中継装置を制御して通信装置へ通信パラメータを提供することができる。また、情報提供装置と通信装置が直接通信を行えないような環境であっても、情報提供装置は通信装置へ通信パラメータを提供することができる。以下、この方式を第一制御方式という。   In the first method, the information providing device provides communication parameters to the communication device via a relay device such as an access point. Non-Patent Document 1 describes, as an example of this method, a method for providing communication parameters from an information providing device to a communication device via an access point. According to this method, the information providing apparatus can control the relay apparatus and provide communication parameters to the communication apparatus while maintaining the connection with the relay apparatus. Even in an environment where the information providing apparatus and the communication apparatus cannot directly communicate, the information providing apparatus can provide communication parameters to the communication apparatus. Hereinafter, this method is referred to as a first control method.

第二の方式は、情報提供装置を他の機器を起動する起動装置として用いる。この方式では、情報提供装置は、通知メッセージを用いて他の機器の通信パラメータ自動設定システムを制御し、当該他の機器から通信装置へ通信パラメータを提供する。特許文献1には、この方式の一例が開示されている。この方式を用いることで、通信装置へ通信パラメータを提供する際の、情報提供装置の処理の負荷を軽減することができる。以下、この方式を第二制御方式という。   In the second method, the information providing apparatus is used as an activation apparatus that activates another device. In this method, the information providing apparatus controls the communication parameter automatic setting system of another device using the notification message, and provides the communication parameter from the other device to the communication device. Patent Document 1 discloses an example of this method. By using this method, it is possible to reduce the processing load of the information providing apparatus when providing communication parameters to the communication apparatus. Hereinafter, this method is referred to as a second control method.

第三の方式は、情報提供装置が通信装置と直接通信を行い、通信装置へ通信パラメータを提供する。特許文献2には、この方式の一例として、情報提供装置から通信装置へ直接通信パラメータを提供する方式が開示されている。この方式によれば、アクセスポイントのような中継装置が存在しないような環境であっても、情報提供装置は通信装置へ通信パラメータを提供することができる。以下、この方式を直接提供方式という。   In the third method, the information providing apparatus directly communicates with the communication apparatus and provides communication parameters to the communication apparatus. Patent Document 2 discloses a method for directly providing communication parameters from an information providing device to a communication device as an example of this method. According to this method, even in an environment where no relay device such as an access point exists, the information providing device can provide communication parameters to the communication device. Hereinafter, this method is referred to as a direct provision method.

特開2009−267939号公報JP 2009-267939 A 特開2008−109581号公報JP 2008-109581 A

Wi−Fi CERTIFIED(TM) for Wi−Fi Protected Setup: Easing the User Experience for Home and Small Office Wi−Fi(R) Networks、http://www.wi−fi.org/wifi−protected−setupWi-Fi CERTIFIED (TM) for Wi-Fi Protected Setup: Easing the User Experience for Home and Small Office Wi-Fi (R) Networks, http: // www. wi-fi. org / wifi-protected-setup

ここで、一台の情報提供装置に上述の3つの方式が搭載されている場合を考える。この場合、従来は、情報提供装置はユーザにより選択された方式を実行していた。しかしながら、情報提供装置は様々な通信環境下で動作することが想定されており、起動すべき最適な方式は状況により異なる。例えば、情報提供装置がアクセスポイントを介して他の機器と通信中の場合には、アクセスポイントとの接続を維持する第一制御方式が適している。また、アクセスポイントが第二制御方式に対応している場合には、情報提供装置における提供処理の負荷軽減のため、アクセスポイントを情報提供装置として起動する第二制御方式が適している。更に、情報提供装置がアクセスポイントに接続していない場合には、直接提供方式を利用するのが望ましい。しかしながら、従来は、情報提供装置の通信環境に応じてユーザが適切な方式を選択しなければならず、使い勝手が良くないという課題があった。   Here, consider a case where the above-described three methods are mounted on one information providing apparatus. In this case, conventionally, the information providing apparatus executes a method selected by the user. However, it is assumed that the information providing apparatus operates in various communication environments, and the optimum method to be activated varies depending on the situation. For example, when the information providing apparatus is communicating with another device via the access point, the first control method for maintaining the connection with the access point is suitable. When the access point is compatible with the second control method, the second control method in which the access point is activated as the information providing device is suitable for reducing the load of the providing process in the information providing device. Furthermore, when the information providing apparatus is not connected to the access point, it is desirable to use the direct providing method. However, conventionally, there has been a problem that the user has to select an appropriate method according to the communication environment of the information providing apparatus, which is not easy to use.

本発明は、上記課題に鑑みなされたものであり、通信パラメータの自動設定システムにおいて通信パラメータを提供するための方式を自動で選択可能にするための技術を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a technique for automatically selecting a method for providing communication parameters in a communication parameter automatic setting system.

上記目的を達成するため、本発明の情報提供装置は、通信を行うために用いる通信パラメータを通信装置へ提供する情報提供装置であって、通信装置と前記情報提供装置との間の通信を中継する中継装置が、前記通信パラメータを提供することができるか否かを確認する確認手段と、前記通信装置へ直接的に前記通信パラメータを提供する方式と、前記中継装置を介して前記通信装置へ前記通信パラメータを提供する方式とから、前記確認手段における確認結果に基づいて実行する方式を選択する選択手段と、前記通信パラメータを、前記選択手段で選択された前記方式を用いて、前記通信装置へ提供する提供手段とを備えることを特徴とする。   In order to achieve the above object, an information providing apparatus of the present invention is an information providing apparatus that provides a communication parameter used for communication to a communication apparatus, and relays communication between the communication apparatus and the information providing apparatus. Confirmation means for confirming whether or not the relay device can provide the communication parameter, a method for directly providing the communication parameter to the communication device, and the communication device via the relay device The communication device using the method selected from the method for providing the communication parameter based on the confirmation result in the confirmation unit and the method selected by the selection unit for the communication parameter. And providing means for providing to.

本発明により、情報提供装置が通信パラメータの自動設定システムにおいて通信パラメータを提供するための方式を自動で選択することが可能となり、ユーザの利便性が向上する。   According to the present invention, it becomes possible for an information providing apparatus to automatically select a method for providing communication parameters in a communication parameter automatic setting system, which improves user convenience.

情報提供装置のハードウェア構成を示すブロック図。The block diagram which shows the hardware constitutions of an information provision apparatus. 情報提供装置のソフトウェア機能構成を示すブロック図。The block diagram which shows the software function structure of an information provision apparatus. ネットワーク構成図。Network configuration diagram. 選択処理の動作を説明するフローチャート。The flowchart explaining operation | movement of a selection process. 直接提供方式を選択する場合のシステムの動作を説明するシーケンス図。The sequence diagram explaining operation | movement of the system in the case of selecting a direct provision system. 第一制御方式を選択する場合のシステムの動作を説明するシーケンス図。The sequence diagram explaining operation | movement of the system in the case of selecting a 1st control system. 第二制御方式を選択する場合のシステムの動作を説明するシーケンス図。The sequence diagram explaining operation | movement of the system in the case of selecting a 2nd control system. 第一制御方式を優先する場合の選択処理の動作を説明するフローチャート。The flowchart explaining operation | movement of the selection process when giving priority to a 1st control system. 第二制御方式を直接提供方式に優先する場合の選択処理の動作を説明するフローチャート。The flowchart explaining operation | movement of the selection process when giving priority to a 2nd control system over a direct provision system.

<<実施形態1>>
以下、本実施形態に係る情報提供装置について、図面を参照しながら詳細に説明する。
<< Embodiment 1 >>
Hereinafter, the information providing apparatus according to the present embodiment will be described in detail with reference to the drawings.

(ハードウェア構成)
本実施形態に好適な事例におけるハードウェア構成について説明する。図1は、後述の情報提供装置のハードウェア構成の一例を示すブロック図である。101は情報提供装置の全体を示す。102は、後述する記憶部103に記憶される制御プログラムを実行することにより装置全体を制御する制御部であり、CPU、MPU等のプロセッサを備えるコンピュータである。制御部102は、他の装置との間で行われる通信パラメータの自動設定処理の制御も行う。103は制御部102が実行する制御用のコンピュータプログラムや、通信パラメータ等の各種情報を記憶する記憶部である。後述する各種動作は、記憶部103に記憶された制御プログラムを制御部102が実行することにより行われる。なお、記憶部103はROM、RAM等のメモリ、又はフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、DVDなどを用いることができる。
(Hardware configuration)
A hardware configuration in a case suitable for the present embodiment will be described. FIG. 1 is a block diagram illustrating an example of a hardware configuration of an information providing apparatus described later. Reference numeral 101 denotes the entire information providing apparatus. Reference numeral 102 denotes a control unit that controls the entire apparatus by executing a control program stored in the storage unit 103 to be described later, and is a computer including a processor such as a CPU or MPU. The control unit 102 also controls communication parameter automatic setting processing performed with other devices. Reference numeral 103 denotes a storage unit that stores a computer program for control executed by the control unit 102 and various types of information such as communication parameters. Various operations described later are performed by the control unit 102 executing a control program stored in the storage unit 103. Note that the storage unit 103 can be a memory such as a ROM or a RAM, or a flexible 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 DVD, or the like.

104は無線通信を行うための無線部であり、入力データの変調など、無線信号の送受信に係る各種処理を行う。105は各種表示を行う表示部でありLCDやLEDのように視覚で認知可能な情報の出力、あるいはスピーカなどの音出力が可能な機能を有する。106は通信パラメータ提供処理を開始するトリガを与える設定ボタンである。制御部102は、ユーザによる設定ボタン106の操作を検出すると、後述する通信パラメータの提供処理を実行する。107はアンテナ制御部であり、アンテナ108の動作を制御する。108はアンテナであり、外部の装置との間で無線信号を送受信する。109は、ユーザが各種入力を行うための入力部である。   A wireless unit 104 performs wireless communication, and performs various processes related to transmission / reception of wireless signals such as modulation of input data. Reference numeral 105 denotes a display unit that performs various displays, and has a function capable of outputting visually recognizable information such as an LCD or LED, or outputting sound such as a speaker. Reference numeral 106 denotes a setting button for giving a trigger for starting the communication parameter providing process. When the control unit 102 detects an operation of the setting button 106 by the user, the control unit 102 executes a communication parameter providing process described later. Reference numeral 107 denotes an antenna control unit which controls the operation of the antenna 108. An antenna 108 transmits and receives radio signals to and from an external device. Reference numeral 109 denotes an input unit for the user to perform various inputs.

(ソフトウェア機能構成)
図2は、後述の通信パラメータの自動設定処理の動作において、情報提供装置が実行するソフトウェア機能ブロックの構成例である。201は装置全体を示している。202は通信パラメータの自動設定機能ブロックである。自動設定機能ブロック202の内容については後述する。
(Software function configuration)
FIG. 2 is a configuration example of software function blocks executed by the information providing apparatus in the operation of communication parameter automatic setting processing described later. Reference numeral 201 denotes the entire apparatus. Reference numeral 202 denotes a communication parameter automatic setting function block. The contents of the automatic setting function block 202 will be described later.

203は各種通信に係る信号を送信する送信部である。送信部203は、プローブリクエストなどの検索信号を送信する。なお、プローブリクエストは、ネットワークを検索するためのネットワーク検索信号である。204は各種通信に係る信号を受信する受信部である。受信部204は、ビーコンに代表される報知信号を受信する。また、受信部204は、プローブリクエストに対する応答信号であるプローブレスポンスも受信する。なお、プローブリクエストやプローブレスポンス、及びビーコン信号には、送信元の機器の各種情報(以下、「自己情報」という)が付加される。自己情報には、例えば情報提供装置301が通信パラメータを提供する情報提供装置として起動中であることを示す情報や、実行中の自動設定方式を示す情報が含まれる。また、自己情報には例えばMACアドレスなどの送信元の機器を識別する情報が含まれる。   Reference numeral 203 denotes a transmission unit that transmits signals related to various communications. The transmission unit 203 transmits a search signal such as a probe request. The probe request is a network search signal for searching for a network. A receiving unit 204 receives signals related to various communications. The receiving unit 204 receives a notification signal represented by a beacon. The receiving unit 204 also receives a probe response that is a response signal to the probe request. Various information (hereinafter referred to as “self information”) of the source device is added to the probe request, probe response, and beacon signal. The self information includes, for example, information indicating that the information providing apparatus 301 is being activated as an information providing apparatus that provides communication parameters, and information indicating the automatic setting method being executed. The self information includes information for identifying the transmission source device such as a MAC address.

205はネットワーク接続を制御するネットワーク制御部である。ネットワーク制御部205は無線LANネットワークへの接続処理を実行する。また、ネットワーク制御部205は、情報提供装置301がアクセスポイントとなる場合に、無線LANネットワークを構築し、当該ネットワークに参加する他の通信装置と通信するための処理も行う。またネットワーク制御部205は、他の機能ブロックからの問い合わせに対して情報提供装置301の通信状態を確認し、確認結果を出力する機能を有する。ネットワーク制御部205は問い合わせに対する応答として、情報提供装置301が無線LANネットワークへ接続中であるか否か、またはアクセスポイントとして通信中か否かを示す情報を出力する。   A network control unit 205 controls network connection. The network control unit 205 executes connection processing to the wireless LAN network. In addition, when the information providing apparatus 301 serves as an access point, the network control unit 205 also performs processing for establishing a wireless LAN network and communicating with other communication apparatuses participating in the network. Further, the network control unit 205 has a function of confirming the communication state of the information providing apparatus 301 in response to an inquiry from another functional block and outputting a confirmation result. As a response to the inquiry, the network control unit 205 outputs information indicating whether the information providing apparatus 301 is connected to the wireless LAN network or is communicating as an access point.

通信パラメータの自動設定機能ブロック202は、自動設定制御部206、情報提供部207、第一制御部208、第二制御部209、対応方式確認部210、及び方式選択部211を備える。自動設定制御部206は通信パラメータの自動設定処理における各種プロトコルを制御する。自動設定制御部206は、後述の通信パラメータの自動設定処理を実行する。   The communication parameter automatic setting function block 202 includes an automatic setting control unit 206, an information providing unit 207, a first control unit 208, a second control unit 209, a corresponding method confirmation unit 210, and a method selection unit 211. The automatic setting control unit 206 controls various protocols in the communication parameter automatic setting process. The automatic setting control unit 206 executes communication parameter automatic setting processing, which will be described later.

情報提供部207は、直接提供方式により、通信パラメータを直接的に通信装置へ提供する。第一制御部208は、第一制御方式に基づいて、情報提供装置が有する通信パラメータをアクセスポイント等の中継装置へ送信し、その中継装置が受信した通信パラメータを通信装置へ提供するように、当該中継装置を制御する。第二制御部209は、第二制御方式に基づいて、中継装置において通信パラメータの自動設定処理を起動し、その中継装置が有する通信パラメータを通信装置へ提供させるように、当該中継装置を制御する。第一制御部208及び第二制御部209は、制御信号を生成し、アクセスポイント等の中継装置へその制御信号を送信することにより当該中継装置を制御する。なお、以下では、提供された通信パラメータを受信する側の通信装置を受信装置という。受信装置では、情報提供装置が実行する方式によらず、同一の通信パラメータの受信処理を実行することで、通信パラメータを受信することができる。   The information providing unit 207 directly provides communication parameters to the communication device by a direct providing method. Based on the first control method, the first control unit 208 transmits communication parameters of the information providing apparatus to a relay apparatus such as an access point, and provides the communication parameters received by the relay apparatus to the communication apparatus. Control the relay device. Based on the second control method, the second control unit 209 activates the communication parameter automatic setting process in the relay device, and controls the relay device so that the communication parameter of the relay device is provided to the communication device. . The first control unit 208 and the second control unit 209 control the relay device by generating a control signal and transmitting the control signal to the relay device such as an access point. Hereinafter, the communication device on the side that receives the provided communication parameters is referred to as a receiving device. The receiving device can receive the communication parameter by executing the same communication parameter receiving process regardless of the method executed by the information providing device.

対応方式確認部210は、アクセスポイントから送信されるビーコンまたはプローブ応答信号の内容を解析することで、アクセスポイントが対応する通信パラメータ方式を認識する。後述の対応方式確認処理は、対応方式確認部210により実施される。211は、実行する方式を選択する方式選択部である。後述の選択処理は、方式選択部211により実施される。   Corresponding method confirmation unit 210 recognizes the communication parameter method supported by the access point by analyzing the contents of the beacon or probe response signal transmitted from the access point. The correspondence method confirmation process described later is performed by the correspondence method confirmation unit 210. A method selection unit 211 selects a method to be executed. The selection process described later is performed by the method selection unit 211.

本実施形態では、通信パラメータ自動設定機能ブロックに含まれる機能ブロックが協働することで、ネットワーク識別子としてのSSID、暗号方式、暗号鍵、認証方式、認証鍵等の無線通信を行うために必要な通信パラメータの自動設定を行う。   In the present embodiment, the function blocks included in the communication parameter automatic setting function block cooperate to be necessary for wireless communication such as an SSID as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. Set communication parameters automatically.

(システム構成)
図3は、情報提供装置301、アクセスポイント302、受信装置303を示した図である。情報提供装置301は、先に説明した図1、図2の構成を有している。情報提供装置301はユーザの指示に応じて通信パラメータの自動設定処理を実行し、受信装置303へ通信パラメータを提供する。
(System configuration)
FIG. 3 is a diagram illustrating the information providing apparatus 301, the access point 302, and the receiving apparatus 303. The information providing apparatus 301 has the configuration shown in FIGS. 1 and 2 described above. The information providing apparatus 301 executes communication parameter automatic setting processing according to a user instruction, and provides the communication parameter to the receiving apparatus 303.

情報提供装置301の自動設定制御部206は、設定ボタン106が押下されたかどうかを監視する。ユーザにより設定ボタン106が押下されたことを検出すると、自動設定制御部206は方式選択部211を起動し、受信装置303へ通信パラメータを提供するための方式の選択処理に移行する。以下、選択処理の動作について説明する。   The automatic setting control unit 206 of the information providing apparatus 301 monitors whether the setting button 106 has been pressed. When it is detected that the user presses the setting button 106, the automatic setting control unit 206 activates the method selection unit 211 and shifts to a method for selecting a method for providing communication parameters to the receiving device 303. Hereinafter, the operation of the selection process will be described.

(選択処理の動作)
図4は、選択処理の動作を説明するフローチャートである。図4に示す動作は、制御部102が記憶部103に記憶されたコンピュータプログラムを読み出して実行することにより行われる。
(Selection operation)
FIG. 4 is a flowchart for explaining the operation of the selection process. The operation shown in FIG. 4 is performed when the control unit 102 reads and executes a computer program stored in the storage unit 103.

選択処理に移行すると、方式選択部211はネットワーク制御部205へ情報提供装置301の通信状態を問い合わせる(S401)。具体的には、情報提供装置301がアクセスポイント、すなわち基地局として動作しているか否か、及び、アクセスポイントとして動作していない場合は、アクセスポイント302へ接続が確立しているか否かを確認する。これらの確認は、一度の確認作業として実行されてもよく、または、逐次的に実行されてもよい。   When shifting to the selection process, the method selection unit 211 inquires of the network control unit 205 about the communication state of the information providing apparatus 301 (S401). Specifically, whether or not the information providing apparatus 301 is operating as an access point, that is, a base station, and if not operating as an access point, check whether or not a connection to the access point 302 is established. To do. These confirmations may be performed as a single confirmation operation or may be performed sequentially.

そして、方式選択部211はネットワーク制御部205からの応答に応じて、情報提供装置301がアクセスポイントとして動作しているか否かを判定する(S402)。情報提供装置301がアクセスポイントとして動作している場合(S402でYes)、方式選択部211は、実行する方式として直接提供方式を選択する(S403)。また、情報提供装置301がアクセスポイントとして動作していない場合(S402でNo)、情報提供装置301がアクセスポイント302へ接続が確立しているか否かを判定する(S404)。そして、判定結果において、情報提供装置301がアクセスポイント302との接続を確立していない場合(S404でNo)、方式選択部211は実行する方式として直接提供方式を選択する(S403)。   Then, the method selection unit 211 determines whether or not the information providing apparatus 301 is operating as an access point in response to a response from the network control unit 205 (S402). When the information providing apparatus 301 is operating as an access point (Yes in S402), the method selection unit 211 selects a direct providing method as a method to be executed (S403). If the information providing apparatus 301 is not operating as an access point (No in S402), the information providing apparatus 301 determines whether a connection to the access point 302 has been established (S404). If the information providing apparatus 301 has not established a connection with the access point 302 in the determination result (No in S404), the method selecting unit 211 selects the providing method directly as the method to be executed (S403).

判定結果において、情報提供装置301がアクセスポイント302との接続が確立している場合(S404でYes)、方式選択部211は対応方式確認部210を起動する。そして、対応方式確認部210は、接続しているアクセスポイント302が実行可能な通信パラメータを提供する方式を確認する(S405)。この確認結果に基づき、方式選択部211はアクセスポイント302が第二制御方式に対応可能か否かを判定する(S406)。アクセスポイント302が第二制御方式に対応可能である場合は(S406でYes)、方式選択部211は実行する方式として第二制御方式を選択する(S407)。アクセスポイント302が第二制御方式に対応していない場合は(S406でNo)、方式選択部211はアクセスポイント302が第一制御方式に対応可能か否かを判定する(S408)。アクセスポイント302が第一制御方式に対応可能な場合(S408でYes)は、方式選択部211は実行する方式として第一制御方式を選択する(S409)。アクセスポイント302が第一制御方式に対応していない場合(S408でNo)は、方式選択部211は実行する方式として直接提供方式を選択する(S403)。   In the determination result, when the information providing apparatus 301 has established a connection with the access point 302 (Yes in S404), the method selection unit 211 activates the corresponding method confirmation unit 210. Then, the corresponding method confirmation unit 210 confirms a method for providing communication parameters executable by the connected access point 302 (S405). Based on the confirmation result, the method selection unit 211 determines whether or not the access point 302 is compatible with the second control method (S406). If the access point 302 is compatible with the second control method (Yes in S406), the method selection unit 211 selects the second control method as the method to be executed (S407). If the access point 302 does not support the second control method (No in S406), the method selection unit 211 determines whether the access point 302 can support the first control method (S408). When the access point 302 is compatible with the first control method (Yes in S408), the method selection unit 211 selects the first control method as the method to be executed (S409). If the access point 302 does not support the first control method (No in S408), the method selection unit 211 selects the direct providing method as the method to be executed (S403).

方式の選択後、方式選択部211は、情報提供装置301がアクセスポイント302へ接続中か否かに応じて、提供する通信パラメータを決定する(S410、S411、S412)。ここで、情報提供装置301がアクセスポイント302へ接続中か否かの判定は、上述のS404の判定結果を流用して行うことができる。また、送信する通信パラメータの決定は、方式選択部211でなく、別途、提供パラメータ決定部(不図示)を用意し、当該提供パラメータ決定部に実行させて行ってもよい。   After selecting the method, the method selection unit 211 determines communication parameters to be provided according to whether or not the information providing apparatus 301 is connected to the access point 302 (S410, S411, S412). Here, the determination as to whether or not the information providing apparatus 301 is currently connected to the access point 302 can be made using the determination result of S404 described above. The communication parameter to be transmitted may be determined by preparing a provision parameter determination unit (not shown) separately from the method selection unit 211 and executing the provision parameter determination unit.

具体的な通信パラメータの選択方式について説明する。情報提供装置301がアクセスポイント302へ接続している場合(S410でYes)、受信装置303との接続はアクセスポイントを介して実行することとなる。このため、方式選択部211は、アクセスポイント302へ接続するのに用いる通信パラメータを提供する通信パラメータとして決定する(S411)。一方、情報提供装置301がアクセスポイント302へ接続していない場合(S410でYes)、情報提供装置301と受信装置303とはアクセスポイントを介さず直接的に接続されることになる。このため、方式選択部211は、受信装置と直接接続するのに用いる通信パラメータを提供する通信パラメータとして決定する(S412)。この場合、情報提供装置301は受信装置303と直接通信を行うために情報提供装置301がアクセスポイントとなって無線LANインフラストラクチャネットワークを構築してもよいし、無線LANアドホックネットワークを構築してもよい。   A specific communication parameter selection method will be described. When the information providing apparatus 301 is connected to the access point 302 (Yes in S410), the connection with the receiving apparatus 303 is executed via the access point. Therefore, the method selection unit 211 determines a communication parameter that provides a communication parameter used to connect to the access point 302 (S411). On the other hand, when the information providing apparatus 301 is not connected to the access point 302 (Yes in S410), the information providing apparatus 301 and the receiving apparatus 303 are directly connected without passing through the access point. Therefore, the method selection unit 211 determines a communication parameter that provides a communication parameter used for direct connection with the receiving device (S412). In this case, since the information providing apparatus 301 directly communicates with the receiving apparatus 303, the information providing apparatus 301 may be used as an access point to construct a wireless LAN infrastructure network, or a wireless LAN ad hoc network may be constructed. Good.

なお、直接提供方式を選択した場合であっても、アクセスポイント302へ接続する通信パラメータを提供する場合があることに注意すべきである。例えば、情報提供装置301がアクセスポイント302に接続しているものの、アクセスポイント302が第一制御方式と第二制御方式の両方に対応していない場合、選択される方式は直接提供方式である。しかし、この場合は、受信装置303へ送信する通信パラメータは、アクセスポイント302へ接続するための通信パラメータとすることができる。これにより、受信装置303は、受信した通信パラメータによりアクセスポイント302へ接続し、アクセスポイント302の展開する無線LANネットワークを介して情報提供装置301と接続することができる。このように、提供する通信パラメータを選択する処理を設けることで、柔軟に状況に適した通信パラメータを受信装置へ提供することが可能となる。また、アクセスポイント302が第一制御方式や第二制御方式に対応していない場合でも、受信装置303をアクセスポイント302と接続させるための通信パラメータを提供することができる。   It should be noted that even when the direct provision method is selected, communication parameters for connection to the access point 302 may be provided. For example, when the information providing apparatus 301 is connected to the access point 302, but the access point 302 does not support both the first control method and the second control method, the selected method is the direct provision method. However, in this case, the communication parameter transmitted to the receiving device 303 can be a communication parameter for connecting to the access point 302. As a result, the receiving device 303 can connect to the access point 302 using the received communication parameters, and can connect to the information providing device 301 via the wireless LAN network developed by the access point 302. As described above, by providing a process for selecting a communication parameter to be provided, it is possible to flexibly provide a communication parameter suitable for the situation to the receiving apparatus. Even when the access point 302 does not support the first control method or the second control method, communication parameters for connecting the receiving device 303 to the access point 302 can be provided.

(システム動作)
図5は、情報提供装置301がアクセスポイント302と通信していない状態で、受信装置303の通信パラメータの受信処理を起動し、情報提供装置301で通信パラメータ提供処理を実行した場合の処理シーケンスである。
(System operation)
FIG. 5 is a processing sequence when the information providing apparatus 301 starts communication parameter reception processing of the receiving apparatus 303 and the information providing apparatus 301 executes communication parameter providing processing in a state where the information providing apparatus 301 is not communicating with the access point 302. is there.

情報提供装置301の設定ボタン106が押下されると、情報提供装置301は図4で説明した選択処理を起動し、情報提供装置301の通信状態を確認する(F501)。情報提供装置301はアクセスポイント302との間で通信を行っていないため、情報提供装置301の方式選択部211は、実行する方式として直接提供方式を選択し、情報提供部207を起動する。そして情報提供部207は、直接提供方式により受信装置303へ、直接的に通信パラメータを提供する(F502)。ここで、情報提供装置301は、アクセスポイント302と接続していないため、提供される通信パラメータは、情報提供装置301との通信を実行するための通信パラメータとなる。なお、情報提供装置301がアクセスポイントとして動作している場合に、受信装置303の通信パラメータの受信処理及び情報提供装置301の通信パラメータ提供処理を実行した場合にも上述の例と同様に動作する。   When the setting button 106 of the information providing apparatus 301 is pressed, the information providing apparatus 301 activates the selection process described with reference to FIG. 4 and confirms the communication state of the information providing apparatus 301 (F501). Since the information providing apparatus 301 is not communicating with the access point 302, the method selection unit 211 of the information providing apparatus 301 selects the direct providing method as the method to be executed and activates the information providing unit 207. Then, the information providing unit 207 directly provides communication parameters to the receiving device 303 by the direct providing method (F502). Here, since the information providing apparatus 301 is not connected to the access point 302, the provided communication parameter is a communication parameter for executing communication with the information providing apparatus 301. Note that when the information providing apparatus 301 is operating as an access point, the communication parameter receiving process of the receiving apparatus 303 and the communication parameter providing process of the information providing apparatus 301 are performed in the same manner as in the above example. .

図6は、情報提供装置301が第一制御方式に対応可能なアクセスポイント302へ接続中に、受信装置303の通信パラメータの受信処理を起動し、情報提供装置301が通信パラメータ提供処理を実行した場合の処理シーケンスである。なお、本例においては、アクセスポイントは第二制御方式に対応していないものとする。   FIG. 6 shows that the information providing apparatus 301 starts the communication parameter receiving process of the receiving apparatus 303 while the information providing apparatus 301 is connected to the access point 302 capable of supporting the first control method, and the information providing apparatus 301 executes the communication parameter providing process. Is a processing sequence. In this example, it is assumed that the access point does not support the second control method.

情報提供装置301の設定ボタン106が押下されると、情報提供装置301は図4で説明した選択処理を起動し、情報提供装置301の通信状態を確認する(F601)。情報提供装置301は接続中のアクセスポイント302が対応する通信パラメータの提供方式を確認するために、アクセスポイント302へプローブ要求信号を送信する(F602)。情報提供装置301はアクセスポイント302から受信したプローブ応答信号の内容を解析し、アクセスポイント302が第一制御方式に対応可能であり、第二制御方式に対応しないことを確認する(F603)。その後、情報提供装置301の方式選択部211は、実行する方式として第一制御方式を選択し、第一制御部208を起動する(F604)。第一制御部208は、第二制御方式により、受信装置303へ通信パラメータを提供する(F605)。なお、情報提供装置301は、アクセスポイント302へ接続しているため、提供される通信パラメータは、アクセスポイント302との通信を実行するための通信パラメータとなる。   When the setting button 106 of the information providing apparatus 301 is pressed, the information providing apparatus 301 activates the selection process described with reference to FIG. 4 and confirms the communication state of the information providing apparatus 301 (F601). The information providing apparatus 301 transmits a probe request signal to the access point 302 in order to confirm the communication parameter providing method to which the connected access point 302 corresponds (F602). The information providing apparatus 301 analyzes the content of the probe response signal received from the access point 302, and confirms that the access point 302 is compatible with the first control method and not compatible with the second control method (F603). Thereafter, the method selection unit 211 of the information providing apparatus 301 selects the first control method as the method to be executed, and activates the first control unit 208 (F604). The first control unit 208 provides communication parameters to the receiving device 303 by the second control method (F605). Since the information providing apparatus 301 is connected to the access point 302, the provided communication parameter is a communication parameter for executing communication with the access point 302.

図7は、情報提供装置301が第二制御方式に対応するアクセスポイント302と接続中に、受信装置303の通信パラメータの受信処理を起動し、情報提供装置301が通信パラメータ提供処理を実行した場合の処理シーケンスである。   FIG. 7 shows a case where the information providing apparatus 301 starts the communication parameter receiving process of the receiving apparatus 303 while the information providing apparatus 301 is connected to the access point 302 corresponding to the second control method, and the information providing apparatus 301 executes the communication parameter providing process. This is the processing sequence.

情報提供装置301の設定ボタン106が押下されると、情報提供装置301は図4で説明した選択処理を起動し、情報提供装置301の通信状態を確認する(F701)。情報提供装置301は接続中のアクセスポイント302が対応する通信パラメータの提供方式を確認するために、アクセスポイント302へプローブ要求信号を送信する(F702)。情報提供装置301はアクセスポイント302から受信したプローブ応答信号の内容を解析し、アクセスポイント302が第二制御方式に対応可能であることを確認する(F703)。その後、情報提供装置301の方式選択部211は、実行する方式として第二制御方式を選択し、第二制御部209を起動する(F704)。第二制御部209は、アクセスポイント302へ通信パラメータの提供処理の開始を通知するメッセージを送信する(F705)。アクセスポイント302は当該メッセージに対する応答メッセージを送信後(F706)、第二制御方式により受信装置303へ通信パラメータを提供する(F707)。なお、情報提供装置301は、アクセスポイント302へ接続しているため、提供される通信パラメータは、アクセスポイント302との通信を実行するための通信パラメータとなる。提供後、アクセスポイント302は処理完了を通知するメッセージを情報提供装置301へ送信する(F708)。情報提供装置301は完了メッセージを受信すると、提供処理を終了する。   When the setting button 106 of the information providing apparatus 301 is pressed, the information providing apparatus 301 activates the selection process described with reference to FIG. 4 and confirms the communication state of the information providing apparatus 301 (F701). The information providing apparatus 301 transmits a probe request signal to the access point 302 in order to confirm the communication parameter providing method corresponding to the connected access point 302 (F702). The information providing apparatus 301 analyzes the content of the probe response signal received from the access point 302, and confirms that the access point 302 is compatible with the second control method (F703). Thereafter, the method selection unit 211 of the information providing apparatus 301 selects the second control method as the method to be executed, and activates the second control unit 209 (F704). The second control unit 209 transmits a message notifying the access point 302 of the start of the communication parameter providing process (F705). After transmitting the response message to the message (F706), the access point 302 provides communication parameters to the receiving device 303 by the second control method (F707). Since the information providing apparatus 301 is connected to the access point 302, the provided communication parameter is a communication parameter for executing communication with the access point 302. After providing, the access point 302 transmits a message notifying the completion of processing to the information providing apparatus 301 (F708). When receiving the completion message, the information providing apparatus 301 ends the providing process.

なお、上述の説明においては、情報提供装置301は、第一制御部208、及び第二制御部209を備え、それぞれ第一制御方式、及び第二制御方式に基づき、アクセスポイント302を制御しているが、この構成に限られない。すなわち、例えば情報提供装置301は第一制御部208を備え、第二制御部209を備えなくてもよい。この場合、情報提供装置301は、自らの通信状況、及び、アクセスポイント302が第一制御方式に対応可能か否かの情報に基づき、第一制御方式と直接提供方式から実行する方式を選択する。   In the above description, the information providing apparatus 301 includes the first control unit 208 and the second control unit 209, and controls the access point 302 based on the first control method and the second control method, respectively. However, it is not limited to this configuration. That is, for example, the information providing apparatus 301 includes the first control unit 208 and does not need to include the second control unit 209. In this case, the information providing apparatus 301 selects a method to be executed from the first control method and the direct provision method based on its own communication status and information on whether or not the access point 302 is compatible with the first control method. .

以上のように、情報提供装置301に複数の方式が搭載されている場合でも、情報提供装置301は自らの通信状態と、アクセスポイント302が対応する方式を確認し、適切な方式を自動的に選択して実行する。これにより、ユーザの選択を伴わない方式の自動選択が可能となり、ユーザの利便性が向上する。また、上記実施形態では情報提供装置301がアクセスポイント302との接続を確立している場合、情報提供装置301はアクセスポイント302との接続を維持する第一制御方式または第二制御方式を直接提供方式よりも優先して選択する。これにより、情報提供装置301はアクセスポイント302を介して他の機器との通信を実行しつつ、受信装置303へ通信パラメータを提供することが可能となる。また、受信装置303において通信パラメータの自動設定が成功することにより、受信装置303がアクセスポイント302から送信された通信パラメータを受信できる位置に存在することを併せて確認することができる。   As described above, even when the information providing apparatus 301 is equipped with a plurality of methods, the information providing apparatus 301 confirms its communication state and the method supported by the access point 302 and automatically selects an appropriate method. Select and execute. Thereby, automatic selection of a method without user selection is possible, and user convenience is improved. In the above embodiment, when the information providing apparatus 301 has established a connection with the access point 302, the information providing apparatus 301 directly provides the first control method or the second control method for maintaining the connection with the access point 302. Select in preference to the method. As a result, the information providing apparatus 301 can provide communication parameters to the receiving apparatus 303 while executing communication with other devices via the access point 302. In addition, when automatic setting of communication parameters succeeds in the receiving device 303, it can be confirmed that the receiving device 303 exists at a position where the communication parameter transmitted from the access point 302 can be received.

一方、情報提供装置301がアクセスポイント302との接続が確立していない場合や、第一制御方式及び第二制御方式を実行できない場合は、方式選択部211は、実行する方式として直接提供方式を選択する。これにより、簡素な処理で受信装置303へ通信パラメータの提供を実行することができる。すなわち、アクセスポイント302を探索して第一制御方式や第二制御方式を実行することによる処理量や処理時間の増大を防ぐことができる。   On the other hand, when the information providing apparatus 301 has not established a connection with the access point 302 or when the first control method and the second control method cannot be executed, the method selection unit 211 selects the direct providing method as the method to be executed. select. As a result, communication parameters can be provided to the receiving device 303 with simple processing. That is, it is possible to prevent an increase in processing amount and processing time due to searching for the access point 302 and executing the first control method and the second control method.

さらに、アクセスポイント302が第一制御方式、及び第二制御方式を実行可能な場合に、第二制御方式を優先して実行させることで、情報提供装置301における処理量を軽減することができる。すなわち、第二制御方式を実行することで、情報提供装置301は、アクセスポイント302を通信パラメータの提供装置として起動させ、その後の処理をアクセスポイント302が実行することにより情報提供装置301の処理負荷が抑制される。   Furthermore, when the access point 302 can execute the first control method and the second control method, the processing amount in the information providing apparatus 301 can be reduced by giving priority to the second control method. That is, by executing the second control method, the information providing apparatus 301 activates the access point 302 as a communication parameter providing apparatus, and the access point 302 executes the subsequent processing, whereby the processing load on the information providing apparatus 301 is increased. Is suppressed.

さらに、上述の説明においては、情報提供装置301は、自らが基地局として動作しているか否か、及びアクセスポイント302との通信が確立しているか否かなどの通信状態を判定しているが、この判定を省略することもできる。この場合、アクセスポイント302が実行可能な方式を確認し、方式選択部211は、その確認結果に基づいて、実行する方式を決定してもよい。これにより、情報提供装置301が、基地局として動作する機能がない場合でアクセスポイント302へ接続していることが明らかな場合に、選択処理を簡略化し、情報提供装置の処理量を削減することが可能となる。   Further, in the above description, the information providing apparatus 301 determines a communication state such as whether or not the information providing apparatus 301 is operating as a base station and whether or not communication with the access point 302 is established. This determination can be omitted. In this case, the method that the access point 302 can execute is confirmed, and the method selection unit 211 may determine the method to be executed based on the confirmation result. This simplifies the selection process and reduces the processing amount of the information providing apparatus when it is clear that the information providing apparatus 301 has no function to operate as a base station and is connected to the access point 302. Is possible.

この場合、アクセスポイント302が第一制御方式に対応可能な場合に、情報提供装置301は、第一制御方式を用いることでアクセスポイント302への接続を維持したまま通信パラメータを提供することができる。さらに、アクセスポイント302が第二制御方式に対応可能な場合、通信パラメータの提供をアクセスポイント302に実行させることで、情報提供装置301の処理量を大きく削減することができる。また、アクセスポイント302が通信パラメータの提供を実行できない場合であっても、情報提供装置301が直接的に通信パラメータを受信装置へ提供することにより、通信パラメータを受信装置へ提供することが可能となる。   In this case, when the access point 302 is compatible with the first control method, the information providing apparatus 301 can provide communication parameters while maintaining the connection to the access point 302 by using the first control method. . Furthermore, when the access point 302 is compatible with the second control method, the processing amount of the information providing apparatus 301 can be greatly reduced by causing the access point 302 to execute communication parameter provision. Even when the access point 302 cannot provide communication parameters, the information providing apparatus 301 can directly provide communication parameters to the receiving apparatus, thereby providing the communication parameters to the receiving apparatus. Become.

<<実施形態2>>
実施形態1では、情報提供装置301がアクセスポイント302との接続を確立している場合、情報提供装置301は第一制御方式または第二制御方式を直接提供方式よりも優先して選択した。実施形態2では、情報提供装置301が直接提供方式を他の方式よりも優先して選択する場合について説明する。
<< Embodiment 2 >>
In the first embodiment, when the information providing apparatus 301 has established a connection with the access point 302, the information providing apparatus 301 selects the first control method or the second control method in preference to the direct providing method. In the second embodiment, a case will be described in which the information providing apparatus 301 selects a direct provision method in preference to other methods.

図8は、実施形態2における情報提供装置301における選択処理の動作フローチャートである。図8のステップS801からステップS804までの処理は、図4のステップS401からステップS404までの処理と同様である。   FIG. 8 is an operation flowchart of selection processing in the information providing apparatus 301 according to the second embodiment. The processing from step S801 to step S804 in FIG. 8 is the same as the processing from step S401 to step S404 in FIG.

ステップS804において、情報提供装置301がアクセスポイントとの接続が確立している場合(S804でYes)、方式選択部211は情報提供装置301が受信装置303と直接通信が可能か否かを検知する(S805)。方式選択部211は、例えば、一定期間だけ受信部204を監視し、その期間内に受信装置303から送信されたプローブ要求信号を受信した場合、情報提供装置301が受信装置303と直接通信可能であることを検知する。一方、一定の期間内に受信装置303から送信されたプローブ要求信号を受信しなかった場合、情報提供装置301は受信装置303と直接通信不可能であることを検知する。また、方式選択部211はプローブ要求信号をブロードキャスト送信し、受信装置303からプローブ応答信号を受信した場合に、情報提供装置301が受信装置303と直接通信可能であることを検知することとしてもよい。この場合、受信装置303からプローブ応答信号を受信しなかった場合、情報提供装置301は受信装置303と直接通信不可能であることを検知するようにしてもよい。   In step S804, when the information providing apparatus 301 has established a connection with the access point (Yes in S804), the method selection unit 211 detects whether the information providing apparatus 301 can directly communicate with the receiving apparatus 303. (S805). For example, the method selection unit 211 monitors the reception unit 204 for a certain period, and when the probe request signal transmitted from the reception device 303 is received within the period, the information providing device 301 can directly communicate with the reception device 303. Detect something. On the other hand, when the probe request signal transmitted from the receiving device 303 is not received within a certain period, the information providing device 301 detects that direct communication with the receiving device 303 is impossible. The method selection unit 211 may detect that the information providing apparatus 301 can directly communicate with the receiving apparatus 303 when the probe request signal is broadcasted and the probe response signal is received from the receiving apparatus 303. . In this case, when the probe response signal is not received from the receiving device 303, the information providing device 301 may detect that communication with the receiving device 303 is not possible.

情報提供装置が受信装置と直接通信が可能な場合(S805でYes)、方式選択部211は実行する方式として直接提供方式を選択する(S803)。また、情報提供装置301が受信装置303と直接通信ができない場合(S805でNo)、方式選択部211は対応方式確認部210を起動し、接続しているアクセスポイント302が対応する通信パラメータの提供方式を確認する(S806)。図8のステップS806からステップS813までの処理は、図4のステップS405からステップS412までの処理と同様である。   When the information providing apparatus can directly communicate with the receiving apparatus (Yes in S805), the method selecting unit 211 selects the direct providing method as the method to be executed (S803). When the information providing apparatus 301 cannot directly communicate with the receiving apparatus 303 (No in S805), the method selection unit 211 activates the corresponding method confirmation unit 210 and provides the communication parameter corresponding to the connected access point 302. The method is confirmed (S806). The processing from step S806 to step S813 in FIG. 8 is the same as the processing from step S405 to step S412 in FIG.

図8の選択処理を実施することで、情報提供装置301は通信パラメータを提供する際に受信装置303とのみ通信を行うため、他の機器と通信を行う可能性がある第一の実施形態よりも通信パラメータ提供時の処理負荷を軽減することが可能となる。   By performing the selection process of FIG. 8, the information providing apparatus 301 communicates only with the receiving apparatus 303 when providing communication parameters. Therefore, the information providing apparatus 301 may communicate with other devices from the first embodiment. It is also possible to reduce the processing load when providing communication parameters.

<<実施形態3>>
実施形態1及び実施形態2では、アクセスポイント302が第二制御方式に対応する場合に、情報提供装置301は第二制御方式を第一制御方式よりも優先して選択する例について説明した。第三の実施形態では、情報提供装置が第一制御方式を第二制御方式よりも優先して選択する場合について説明する。
<< Embodiment 3 >>
In the first embodiment and the second embodiment, when the access point 302 corresponds to the second control method, the information providing apparatus 301 has described an example in which the second control method is selected with priority over the first control method. In the third embodiment, a case where the information providing apparatus selects the first control method in preference to the second control method will be described.

図9は、第三の実施形態における選択処理の動作フローチャートである。図9のステップS901からステップS905までの処理は、図4のステップS401からステップS405までの処理と同様である。   FIG. 9 is an operation flowchart of the selection process in the third embodiment. The processing from step S901 to step S905 in FIG. 9 is the same as the processing from step S401 to step S405 in FIG.

ステップS905における確認処理の後、方式選択部211は接続中のアクセスポイント302が第一制御方式に対応可能か否かを確認する(S906)。アクセスポイント302が第一制御方式に対応していない場合(S906でNo)、方式選択部211は実行する方式として直接提供方式を選択する(S903)。アクセスポイント302が第一制御方式に対応している場合(S906でYes)、方式選択部211はアクセスポイント302への接続に用いる通信パラメータ以外のパラメータを受信装置303へ提供するか否かを検出する(S907)。アクセスポイントへの接続に用いる通信パラメータ以外のパラメータとは、例えば情報提供装置301で動作するアプリケーション固有のパラメータである。また、アクセスポイント302のネットワークとは異なるネットワークの通信パラメータでもよい。   After the confirmation processing in step S905, the method selection unit 211 confirms whether or not the connected access point 302 is compatible with the first control method (S906). When the access point 302 does not support the first control method (No in S906), the method selection unit 211 selects the direct providing method as the method to be executed (S903). When the access point 302 is compatible with the first control method (Yes in S906), the method selection unit 211 detects whether to provide the receiving device 303 with parameters other than the communication parameters used for connection to the access point 302. (S907). The parameters other than the communication parameters used for connection to the access point are parameters specific to the application operating on the information providing apparatus 301, for example. Also, communication parameters of a network different from the network of the access point 302 may be used.

アクセスポイントへ接続するのに用いる通信パラメータ以外のパラメータの提供を検出した場合(S907でYes)、方式選択部211は実行する方式として第一制御方式を選択する(S908)。提供パラメータとしてアクセスポイントへ接続するのに用いる通信パラメータ以外のパラメータの提供を検出しなかった場合(S907でNo)、対応方式確認部210は、アクセスポイント302が第二制御方式に対応可能か否かを確認する(S909)。アクセスポイント302が第二制御方式に対応している場合(S909でYes)、方式選択部211は実行する方式として第二制御方式を選択する(S910)。アクセスポイント302が第二制御方式に対応していない場合には、方式選択部211は実行する方式として直接提供方式を選択する(S903)。   When the provision of parameters other than the communication parameters used to connect to the access point is detected (Yes in S907), the method selection unit 211 selects the first control method as the method to be executed (S908). If provision of parameters other than the communication parameters used to connect to the access point as a provision parameter is not detected (No in S907), the corresponding method confirmation unit 210 determines whether the access point 302 is compatible with the second control method. (S909). When the access point 302 is compatible with the second control method (Yes in S909), the method selection unit 211 selects the second control method as the method to be executed (S910). If the access point 302 does not support the second control method, the method selection unit 211 selects the direct providing method as the method to be executed (S903).

方式の選択後、方式選択部211は提供する通信パラメータを決定する(S911、S912、S913)。方式選択部211は情報提供装置301がアクセスポイント302へ接続中か否かを確認し(S911)、接続中の場合(S911でYes)、アクセスポイントへ接続するのに必要な通信パラメータを提供する通信パラメータとして決定する(S912)。ここで、アクセスポイントへ接続するのに用いる通信パラメータ以外のパラメータの提供を検出した場合には、当該パラメータも提供する通信パラメータとして決定する。情報提供装置301がアクセスポイントへ接続中ではない場合(S911でNo)、受信装置と直接通信を行うために必要となる通信パラメータを提供する通信パラメータとして決定する(S913)。   After selecting the method, the method selecting unit 211 determines the communication parameter to be provided (S911, S912, S913). The method selection unit 211 confirms whether or not the information providing apparatus 301 is connected to the access point 302 (S911), and if it is connected (Yes in S911), provides the communication parameters necessary for connecting to the access point. The communication parameter is determined (S912). Here, when the provision of a parameter other than the communication parameter used to connect to the access point is detected, the parameter is also determined as the communication parameter to be provided. When the information providing apparatus 301 is not connected to the access point (No in S911), it is determined as a communication parameter that provides a communication parameter necessary for directly communicating with the receiving apparatus (S913).

図9の選択処理によれば、情報提供装置301は、自らが保持し、アクセスポイント302が保持していないパラメータが存在する場合、アクセスポイント302を介して当該パラメータを送信できる第一制御方式を選択する。これにより、情報提供装置301は、当該パラメータを受信装置303へ確実に提供することが可能となる。さらに、自らが保持し、アクセスポイント302が保持していないパラメータを提供する場合で、アクセスポイント302が第一制御方式に対応していない場合は、情報提供装置301は、直接提供方式を選択する。これにより、自らが保持し、アクセスポイント302が保持していないパラメータを受信装置へ送信できる確率が向上する。一方、情報提供装置301は、自らが保持し、アクセスポイント302が保持していないパラメータが存在しない場合は、第二制御方式を用いることで情報提供装置301の処理負荷を軽減することができる。   According to the selection process of FIG. 9, when there is a parameter that the information providing apparatus 301 holds and is not held by the access point 302, the information providing apparatus 301 uses the first control method that can transmit the parameter via the access point 302. select. As a result, the information providing apparatus 301 can reliably provide the parameter to the receiving apparatus 303. Furthermore, when providing parameters that are held by itself but not held by the access point 302 and the access point 302 does not support the first control method, the information providing apparatus 301 selects the direct providing method. . As a result, the probability that the parameters held by itself and not held by the access point 302 can be transmitted to the receiving apparatus is improved. On the other hand, the information providing apparatus 301 can reduce the processing load of the information providing apparatus 301 by using the second control method when there is no parameter that the information providing apparatus 301 holds and the access point 302 does not hold.

以上のように、選択処理における各方式の優先度は、目的や状況に応じて異なる優先度を設定してもよい。   As described above, the priority of each method in the selection process may be set to a different priority depending on the purpose and situation.

<<その他の実施形態>>
以上、本発明の好適な実施形態を説明したが、これは本発明の説明のための例示であって、本発明の範囲をこの実施形態のみに限定する趣旨ではない。本発明の要旨を逸脱しない範囲で、実施形態は種々に変形することが可能である。また、上記説明はIEEE802.11準拠の無線LANを例に説明した。しかしながら、本発明は、ワイヤレスUSB、MBOA、Bluetooth(登録商標)、UWB、ZigBee等の他の無線媒体において実施してもよい。また、有線LAN等の有線通信媒体において実施してもよい。ここで、MBOAは、Multi Band OFDM Allianceの略である。また、UWBは、ワイヤレスUSB、ワイヤレス1394、WINETなどが含まれる。
<< Other Embodiments >>
The preferred embodiment of the present invention has been described above, but this is an example for explaining the present invention, and the scope of the present invention is not limited to this embodiment. The embodiment can be variously modified without departing from the gist of the present invention. Also, the above description has been made with reference to an IEEE 802.11-compliant wireless LAN as an example. However, the present invention may be implemented in other wireless media such as wireless USB, MBOA, Bluetooth (registered trademark), UWB, and ZigBee. Moreover, you may implement in wired communication media, such as wired LAN. Here, MBOA is an abbreviation for Multi Band OFDM Alliance. UWB includes wireless USB, wireless 1394, WINET, and the like.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   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.

Claims (15)

通信を行うために用いる通信パラメータを通信装置へ提供する情報提供装置であって、
前記通信装置と前記情報提供装置との間の通信を中継する中継装置が、前記通信パラメータを提供することができるか否かを確認する確認手段と、
前記通信装置へ直接的に前記通信パラメータを提供する方式と、前記中継装置を介して前記通信装置へ前記通信パラメータを提供する方式とから、前記確認手段における確認結果に基づいて実行する方式を選択する選択手段と、
前記通信パラメータを、前記選択手段で選択された前記方式を用いて、前記通信装置へ提供する提供手段と
を備えることを特徴とする情報提供装置。
An information providing device that provides communication parameters used for communication to a communication device,
Confirmation means for confirming whether a relay device that relays communication between the communication device and the information providing device can provide the communication parameter;
A method to be executed based on a confirmation result in the confirmation unit is selected from a method for directly providing the communication parameter to the communication device and a method for providing the communication parameter to the communication device via the relay device. Selection means to
An information providing apparatus comprising: a providing unit that provides the communication parameter to the communication apparatus using the method selected by the selecting unit.
前記選択手段は、前記中継装置が通信パラメータを提供することができない場合は前記通信装置へ前記通信パラメータを直接的に提供する方式を選択することを特徴とする請求項1に記載の情報提供装置。   The information providing apparatus according to claim 1, wherein the selection unit selects a method of directly providing the communication parameter to the communication apparatus when the relay apparatus cannot provide the communication parameter. . 前記選択手段は、前記中継装置が通信パラメータを提供することができる場合は前記中継装置を介して前記通信装置へ前記通信パラメータを提供する方式を選択することを特徴とする請求項1又は2に記載の情報提供装置。   3. The method according to claim 1, wherein the selection unit selects a method for providing the communication parameter to the communication device via the relay device when the relay device can provide the communication parameter. The information providing apparatus according to the description. 前記中継装置との間で接続が確立しているか否かを判定する判定手段をさらに備え、
前記選択手段は、前記中継装置との間で接続が確立していない場合、前記通信装置へ前記通信パラメータを直接的に提供する方式を選択することを特徴とする請求項1に記載の情報提供装置。
A determination means for determining whether or not a connection is established with the relay device;
2. The information provision according to claim 1, wherein the selection unit selects a method for directly providing the communication parameter to the communication device when a connection is not established with the relay device. apparatus.
前記提供手段は、前記情報提供装置と前記中継装置との間で接続が確立していない場合は前記情報提供装置との間の通信のための通信パラメータを、前記情報提供装置と前記中継装置との間で接続が確立している場合は前記中継装置との間の通信のための通信パラメータを、前記通信装置へ提供することを特徴とする請求項4に記載の情報提供装置。   When the connection is not established between the information providing device and the relay device, the providing means indicates a communication parameter for communication with the information providing device, and the information providing device and the relay device. 5. The information providing apparatus according to claim 4, wherein, when a connection is established, communication parameters for communication with the relay apparatus are provided to the communication apparatus. 前記情報提供装置が前記通信装置と直接的に通信が可能か否かを検知する検知手段をさらに備え、
前記選択手段は、前記通信装置と直接的に通信が可能であることを検知した場合、前記確認結果によらず、前記通信装置へ前記通信パラメータを直接的に提供する方式を選択することを特徴とする請求項1に記載の情報提供装置。
The information providing device further includes a detecting unit that detects whether the communication device can directly communicate with the communication device,
When the selection unit detects that communication with the communication device is possible, the selection unit selects a method for directly providing the communication parameter to the communication device regardless of the confirmation result. The information providing apparatus according to claim 1.
前記中継装置を介して前記通信装置へ前記通信パラメータを提供する前記方式は、前記情報提供装置が有する通信パラメータを前記中継装置へ提供し、該中継装置がその提供された通信パラメータを前記通信装置へ提供するように制御する第一制御方式と、前記中継装置が有する通信パラメータを前記通信装置へ提供するように、前記情報提供装置が前記中継装置を制御する第二制御方式とを含み、
前記確認手段は、前記中継装置が前記第一制御方式、及び前記第二制御方式を実行できるか否かを確認し、
前記選択手段は、前記通信装置へ直接的に前記通信パラメータを提供する方式と、前記第一制御方式と、前記第二制御方式とから、実行する方式を選択することを特徴とする請求項1に記載の情報提供装置。
The method of providing the communication parameter to the communication device via the relay device provides the communication parameter of the information providing device to the relay device, and the relay device provides the provided communication parameter to the communication device. A first control method for controlling to provide to the communication device, and a second control method for controlling the relay device by the information providing device so as to provide the communication device with communication parameters of the relay device,
The confirmation means confirms whether the relay device can execute the first control method and the second control method,
The selection unit selects a method to be executed from a method for directly providing the communication parameter to the communication device, the first control method, and the second control method. The information providing device described in 1.
前記選択手段は、前記中継装置が前記第二制御方式を実行できる場合、該第二制御方式を選択することを特徴とする請求項7に記載の情報提供装置。   The information providing apparatus according to claim 7, wherein the selection unit selects the second control method when the relay apparatus can execute the second control method. 前記選択手段は、前記中継装置が前記第一制御方式を実行できる場合、該第一制御方式を選択することを特徴とする請求項7に記載の情報提供装置。   The information providing apparatus according to claim 7, wherein the selection unit selects the first control method when the relay apparatus can execute the first control method. 前記選択手段は、前記中継装置が前記第一制御方式と前記第二制御方式のいずれをも実行できない場合、前記通信装置へ直接的に前記通信パラメータを提供する方式を選択することを特徴とする請求項7から9のいずれか1項に記載の情報提供装置。   The selection unit selects a method for directly providing the communication parameter to the communication device when the relay device cannot execute either the first control method or the second control method. The information providing device according to any one of claims 7 to 9. 前記中継装置との間での接続を可能とする通信パラメータと共に送信すべき情報が存在するか否かを検出する検出手段をさらに備え、
前記選択手段は、前記送信すべき情報が存在する場合であって、前記中継装置が前記第一制御方式を実行できる場合、該第一制御方式を選択することを特徴とする請求項7に記載の情報提供装置。
It further comprises detection means for detecting whether there is information to be transmitted together with communication parameters enabling connection with the relay device,
The said selection means is a case where the said information which should be transmitted exists, Comprising: When the said relay apparatus can perform a said 1st control system, this 1st control system is selected. Information provision device.
前記選択手段は、前記送信すべき情報が存在する場合であって、前記第一制御方式を実行できない場合に前記通信装置へ直接的に前記通信パラメータを提供する方式を選択することを特徴とする請求項11に記載の情報提供装置。   The selection means selects a method for directly providing the communication parameter to the communication device when the information to be transmitted exists and the first control method cannot be executed. The information providing apparatus according to claim 11. 前記選択手段は、前記送信すべき情報が存在しない場合において、前記第二制御方式を実行できる場合、該第二制御方式を選択することを特徴とする請求項11又は12に記載の情報提供装置。   The information providing apparatus according to claim 11 or 12, wherein the selection unit selects the second control method when the second control method can be executed when the information to be transmitted does not exist. . 通信を行うために用いる通信パラメータを通信装置へ提供する情報提供装置における情報提供方法であって、
確認手段が、通信装置と前記情報提供装置との間の通信を中継する中継装置が、前記通信パラメータを提供することができるか否かを確認するステップと、
選択手段が、前記通信装置へ直接的に前記通信パラメータを提供する方式と、前記中継装置を介して前記通信装置へ前記通信パラメータを提供する方式とから、前記確認手段における確認結果に基づいて実行する方式を選択するステップと、
提供手段が、前記通信パラメータを、前記選択手段で選択された前記方式を用いて、前記通信装置へ提供するステップと
を備える情報提供方法。
An information providing method in an information providing apparatus for providing communication parameters used for communication to a communication apparatus,
A step of confirming whether or not a relay device that relays communication between a communication device and the information providing device can provide the communication parameter;
The selection unit executes based on a confirmation result in the confirmation unit from a method of directly providing the communication parameter to the communication device and a method of providing the communication parameter to the communication device via the relay device. Selecting a method to perform,
An information providing method comprising: a providing unit providing the communication parameter to the communication device using the method selected by the selecting unit.
コンピュータを請求項1から13のいずれか1項に記載の情報提供装置が備える各手段として機能させるためのプログラム。   The program for functioning a computer as each means with which the information provision apparatus of any one of Claim 1 to 13 is provided.
JP2011105649A 2011-05-10 2011-05-10 Communication device, control method, and program Active JP5822532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011105649A JP5822532B2 (en) 2011-05-10 2011-05-10 Communication device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011105649A JP5822532B2 (en) 2011-05-10 2011-05-10 Communication device, control method, and program

Publications (3)

Publication Number Publication Date
JP2012238974A true JP2012238974A (en) 2012-12-06
JP2012238974A5 JP2012238974A5 (en) 2014-05-29
JP5822532B2 JP5822532B2 (en) 2015-11-24

Family

ID=47461513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011105649A Active JP5822532B2 (en) 2011-05-10 2011-05-10 Communication device, control method, and program

Country Status (1)

Country Link
JP (1) JP5822532B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008104076A (en) * 2006-10-20 2008-05-01 Canon Inc Method of setting communication parameter, communication apparatus, method and program for controlling communication apparatus
JP2010062904A (en) * 2008-09-04 2010-03-18 Olympus Corp Wireless communication terminal, wireless communication connection method, and wireless communication connection program
JP2011015286A (en) * 2009-07-03 2011-01-20 Canon Inc Communication device, method of controlling the same, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008104076A (en) * 2006-10-20 2008-05-01 Canon Inc Method of setting communication parameter, communication apparatus, method and program for controlling communication apparatus
JP2010062904A (en) * 2008-09-04 2010-03-18 Olympus Corp Wireless communication terminal, wireless communication connection method, and wireless communication connection program
JP2011015286A (en) * 2009-07-03 2011-01-20 Canon Inc Communication device, method of controlling the same, and program

Also Published As

Publication number Publication date
JP5822532B2 (en) 2015-11-24

Similar Documents

Publication Publication Date Title
JP5409147B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5235777B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5361463B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5371585B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP4944564B2 (en) COMMUNICATION PARAMETER SETTING METHOD, COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP4958669B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
CN101911598B (en) Communication parameter setting apparatus and control method therefore
JP6184105B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6789628B2 (en) Communication equipment, control methods, and programs
WO2009011291A1 (en) Communication apparatus and communication method therefor
JP5414452B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM
JP6383149B2 (en) COMMUNICATION DEVICE AND COMMUNICATION DEVICE CONTROL METHOD
JP5822532B2 (en) Communication device, control method, and program
JP6618346B2 (en) Communication apparatus, control method, and program
JP5031487B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP5587452B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5665939B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5328688B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM
JP2017011382A (en) Communication device, control method, and program
JP2018201211A (en) Communication apparatus and control method of the same
JP2014030215A (en) Communication device, method for controlling communication device, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140416

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150710

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151006

R151 Written notification of patent or utility model registration

Ref document number: 5822532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151