[go: up one dir, main page]

JP2009038665A - Wireless communication apparatus and control method thereof - Google Patents

Wireless communication apparatus and control method thereof Download PDF

Info

Publication number
JP2009038665A
JP2009038665A JP2007202229A JP2007202229A JP2009038665A JP 2009038665 A JP2009038665 A JP 2009038665A JP 2007202229 A JP2007202229 A JP 2007202229A JP 2007202229 A JP2007202229 A JP 2007202229A JP 2009038665 A JP2009038665 A JP 2009038665A
Authority
JP
Japan
Prior art keywords
network
parameter
wireless communication
client
communication apparatus
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.)
Withdrawn
Application number
JP2007202229A
Other languages
Japanese (ja)
Inventor
Fumihide Goto
史英 後藤
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 JP2007202229A priority Critical patent/JP2009038665A/en
Publication of JP2009038665A publication Critical patent/JP2009038665A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】通信パラメータの設定間違いを早期にユーザに通知する。
【解決手段】第2のパラメータを入力する入力手段と、第1のパラメータに基づいて周囲を探索しネットワークに接続する接続手段と、ネットワークに接続した後、該ネットワークに対し第2のパラメータに基づく少なくとも1個の探索パケットを送信する送信手段と、探索パケットに対する前記ネットワークからの応答結果に基づいて、第2のパラメータが一致するか否かを判定する判定手段と、第2のパラメータが一致していないと判定された場合その旨をユーザに通知する通知手段とを備える。
【選択図】図2
A communication parameter setting error is notified to a user at an early stage.
Input means for inputting a second parameter, connection means for searching for surroundings based on the first parameter and connecting to the network, and after connecting to the network, based on the second parameter for the network The transmission means for transmitting at least one search packet, the determination means for determining whether or not the second parameter matches based on the response result from the network to the search packet, and the second parameter match Notification means for notifying the user to that effect.
[Selection] Figure 2

Description

本発明は、無線通信装置による通信に用いられる通信パラメータの設定技術に関するものである。   The present invention relates to a technology for setting communication parameters used for communication by a wireless communication device.

無線通信システムの一形態であるIEEE802.11グループに準拠した無線LANネットワークでは、主に2つの通信形態(モード)が存在する。1つは各無線クライアントを制御するアクセスポイントを有したインフラストラクチャモードであり、もう1つは各無線クライアント同士が直接通信を行うアドホックモードである。以降、インフラストラクチャモードおよびアドホックモードを、無線LANのネットワークモードと称する。   In a wireless LAN network compliant with the IEEE 802.11 group, which is one form of a wireless communication system, there are mainly two communication forms (modes). One is an infrastructure mode having an access point for controlling each wireless client, and the other is an ad hoc mode in which each wireless client communicates directly. Hereinafter, the infrastructure mode and the ad hoc mode are referred to as a wireless LAN network mode.

どちらの無線LANのネットワークモードであっても、無線クライアントが、無線ネットワークに接続するためには、ネットワーク識別子であるSSID(Service Set Identifier)やネットワークモードなどの無線パラメータの設定が必要である。また、通信路の暗号化のために、暗号方式や暗号鍵の設定がさらに必要になる。   In either wireless LAN network mode, in order for a wireless client to connect to a wireless network, it is necessary to set wireless parameters such as an SSID (Service Set Identifier) that is a network identifier and a network mode. In addition, it is necessary to further set an encryption method and an encryption key for encrypting the communication path.

これらの無線パラメータの設定は煩雑であり、誤った値を設定すると通信することができない。そのため、SSIDやネットワークモードについては、周囲の無線ネットワークを探索して得られる値を自動的に入力する仕組みがよく使用されている。また、特許文献1には、SSID、ネットワークモード、暗号方式を判別し、ユーザによる無線パラメータの設定を補助する仕組みが開示されている。
特開2005−176320号公報
Setting these wireless parameters is complicated, and communication cannot be performed if an incorrect value is set. Therefore, for SSID and network mode, a mechanism for automatically inputting values obtained by searching a surrounding wireless network is often used. Japanese Patent Application Laid-Open No. 2004-228561 discloses a mechanism for discriminating an SSID, a network mode, and an encryption method and assisting a user to set wireless parameters.
JP 2005-176320 A

しかしながら、上述の技術により、SSID、ネットワークモード、暗号方式についてはユーザによる設定の負担を削減できるが、暗号鍵は手動で入力しなければならない。また、暗号鍵は一般的に桁数も多くユーザによる入力の誤入力等も発生しうる。   However, although the above-described technique can reduce the burden of setting by the user for the SSID, network mode, and encryption method, the encryption key must be manually input. In addition, the encryption key generally has a large number of digits and may cause an erroneous input by the user.

ネットワークへの接続認証を必要としない場合(オープン認証)においては、暗号鍵が誤っていても無線ネットワークへの接続自体は完了する。しかし、暗号鍵が異なっている場合、ネットワーク接続後の上位プロトコルによる通信は不可能である。このような場合、例えば上位プロトコルによる通信においてタイムアウトが発生することにより、ユーザは初めて通信不可能であることが分かる。しかし、タイムアウト発生の要因が、上位プロトコルにおける通信相手が存在しないのか、無線ネットワークでの暗号鍵が間違っていたのかなどの原因の判別は困難であり、ユーザの操作性を低下させストレスを与えてしまう。   In the case where connection authentication to the network is not required (open authentication), the connection to the wireless network itself is completed even if the encryption key is incorrect. However, if the encryption keys are different, communication using a higher-level protocol after network connection is impossible. In such a case, for example, when a timeout occurs in communication using a higher-level protocol, it is understood that the user cannot communicate for the first time. However, it is difficult to determine the cause of timeout, such as whether there is no communication partner in the higher-level protocol, or whether the encryption key in the wireless network is wrong. End up.

また、ネットワークモードがアドホックモードである場合、SSIDおよび周波数チャンネルの設定が同一であっても通信が出来ない場合がある。具体的には、BSSID(Basic Service Set Identifier)が異なると、論理的に別々の無線ネットワークを構築してしまって通信が出来ない。一般的に、SSIDはユーザが設定することもできるし、予め装置に記憶された値を設定することも出来るパラメータである。一方、BSSIDはアドホックモードにおける無線LANネットワークを構築する際に識別子として自動的に設定されるパラメータであるため、ユーザが原因を特定するのは困難である。   When the network mode is an ad hoc mode, communication may not be possible even if the SSID and frequency channel settings are the same. Specifically, if the BSSID (Basic Service Set Identifier) is different, logically separate wireless networks are constructed and communication is impossible. In general, the SSID is a parameter that can be set by the user or a value that is stored in advance in the apparatus. On the other hand, since the BSSID is a parameter that is automatically set as an identifier when a wireless LAN network in the ad hoc mode is constructed, it is difficult for the user to specify the cause.

本発明は、上記のような課題を解決するためになされたものであり、ユーザが設定したパラメータの設定間違いを早期にユーザに通知することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to notify a user of a parameter setting error set by the user at an early stage.

上述の問題点を1つ以上解決するため、本発明の無線通信装置は以下の構成を備える。すなわち、第1のパラメータに基づいて該第1のパラメータが設定されたネットワークに接続し、第2のパラメータに基づいて前記ネットワーク内の他の装置と通信を行う無線通信装置であって、第2のパラメータを入力する入力手段と、前記第1のパラメータに基づいて周囲を探索しネットワークに接続する接続手段と、前記接続手段によりネットワークに接続した後予め指定された期間内に、該ネットワークに対し前記第2のパラメータに基づく少なくとも1個の探索パケットを送信する送信手段と、前記探索パケットに対する前記ネットワークからの応答結果に基づいて、前記入力手段により入力された前記第2のパラメータと前記ネットワーク内の他の装置に設定された第2のパラメータとが一致するか否かを判定する判定手段と、前記判定手段により前記第2のパラメータが一致していないと判定された場合、その旨をユーザに通知する通知手段と、を備える。   In order to solve one or more of the problems described above, the wireless communication apparatus of the present invention has the following configuration. That is, a wireless communication device that is connected to a network in which the first parameter is set based on the first parameter and communicates with other devices in the network based on the second parameter, Input means for inputting the parameters, connection means for searching the surroundings based on the first parameter and connecting to the network, and connection to the network by the connection means within a predetermined period after the connection to the network Transmitting means for transmitting at least one search packet based on the second parameter; and based on a response result from the network to the search packet, the second parameter input by the input means and the network Determining means for determining whether or not the second parameter set in the other device matches; If the second parameter is determined not to match the serial determining means comprises a notification unit configured to notify the user.

上述の問題点を1つ以上解決するため、本発明の無線通信装置の制御方法は以下の構成を備える。すなわち、第1のパラメータに基づいて該第1のパラメータが設定されたネットワークに接続し、第2のパラメータに基づいて前記ネットワーク内の他の装置と通信を行う無線通信装置の制御方法であって、第2のパラメータを入力する入力工程と、前記第1のパラメータに基づいて周囲を探索しネットワークに接続する接続工程と、前記接続工程によりネットワークに接続した後予め指定された期間内に、該ネットワークに対し前記第2のパラメータに基づく少なくとも1個の探索パケットを送信する送信工程と、前記探索パケットに対する前記ネットワークからの応答結果に基づいて、前記入力工程により入力された前記第2のパラメータと前記ネットワーク内の他の装置に設定された第2のパラメータとが一致するか否かを判定する判定工程と、前記判定工程により前記第2のパラメータが一致していないと判定された場合、その旨をユーザに通知する通知工程と、を備える。   In order to solve one or more of the above-described problems, a method for controlling a wireless communication apparatus of the present invention has the following configuration. That is, a method for controlling a wireless communication device that connects to a network in which the first parameter is set based on a first parameter and communicates with other devices in the network based on a second parameter. An input step of inputting a second parameter, a connection step of searching for surroundings based on the first parameter and connecting to the network, and within a predetermined period after connecting to the network by the connection step, A transmission step of transmitting at least one search packet based on the second parameter to the network; and the second parameter input by the input step based on a response result from the network to the search packet; A judgment for determining whether or not the second parameter set in another device in the network matches. A step, when the second parameter by said determining step is determined to not match, comprising a notification step of notifying the user.

本発明によれば、通信パラメータの設定間違いを早期にユーザに通知することを可能とする技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique which makes it possible to notify a user of the communication parameter setting mistake at an early stage can be provided.

以下に、図面を参照して、この発明の好適な実施の形態を詳しく説明する。なお、以下の実施の形態はあくまで例示であり、本発明の範囲を限定する趣旨のものではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The following embodiments are merely examples, and are not intended to limit the scope of the present invention.

(第1実施形態)
本発明に係る無線通信装置の第1実施形態として、IEEE802.11規格の無線LANを利用する無線通信端末を例に挙げて以下に説明する。また、ネットワークに接続する第1のパラメータとしてSSID、第2のパラメータとしてWEP(Wired Equivalent Privacy)の暗号鍵を例に挙げて説明する。
(First embodiment)
As a first embodiment of a wireless communication apparatus according to the present invention, a wireless communication terminal using an IEEE 802.11 standard wireless LAN will be described below as an example. Further, an explanation will be given by taking an SSID as a first parameter to be connected to a network and a WEP (Wired Equivalent Privacy) encryption key as an example.

<システム構成>
図1は、第1実施形態に係る無線通信装置を含む無線LANシステムの全体構成を示す図である。第1実施形態においては、各無線通信装置同士が直接通信を行うアドホックモードで動作している場合について説明する。つまり、複数のクライアント101(クライアント101a、クライアント101b、およびクライアント101cの3つ)が、アドホックモードの無線LANネットワークを構成している。アドホックモードでは、無線LANシステム内の各端末は直接通信を行う。
<System configuration>
FIG. 1 is a diagram illustrating an overall configuration of a wireless LAN system including a wireless communication apparatus according to the first embodiment. In the first embodiment, a case will be described in which each wireless communication device operates in an ad hoc mode in which direct communication is performed. In other words, a plurality of clients 101 (three clients 101a, 101b, and 101c) form an ad hoc mode wireless LAN network. In the ad hoc mode, each terminal in the wireless LAN system performs direct communication.

このようなアドホックモードの無線LANネットワークを構成する場合以下のような動作をする。つまり、クライアント101aがアドホックモードの無線LANネットワークを新規に構築した後、この構築されたネットワークに対し他のクライアントである101bおよび101cが参加するという形をとることが多い。   When configuring such an ad hoc mode wireless LAN network, the following operation is performed. That is, in many cases, after the client 101a newly constructs a wireless LAN network in the ad hoc mode, the other clients 101b and 101c participate in the constructed network.

図2は、第1実施形態に係る無線通信装置(クライアント101)の内部ブロック図である。   FIG. 2 is an internal block diagram of the wireless communication apparatus (client 101) according to the first embodiment.

201は中央演算処理装置(CPU)、202はRAM、203はROM、204は入力部、205は無線通信部、206は表示部、209はバスである。   Reference numeral 201 denotes a central processing unit (CPU), 202 denotes a RAM, 203 denotes a ROM, 204 denotes an input unit, 205 denotes a wireless communication unit, 206 denotes a display unit, and 209 denotes a bus.

CPU201は、ROM203に格納された制御プログラムを実行することにより、クライアント101の各部を制御する。RAM202は、後述するパラメータの一時記憶に利用されるほか、CPU201のワークメモリとして利用される。   The CPU 201 controls each unit of the client 101 by executing a control program stored in the ROM 203. The RAM 202 is used as a work memory of the CPU 201 in addition to temporary storage of parameters described later.

入力部204はキーボードなどにより構成され、入力部204を介してユーザからの設定入力を受け付ける。表示部206は、入力部204を介して設定入力されたパラメータなどを表示するほか、後述するようにユーザに対して設定誤りなどの警告表示を行う。   The input unit 204 includes a keyboard or the like, and accepts setting input from the user via the input unit 204. The display unit 206 displays parameters and the like set and input via the input unit 204, and displays a warning such as a setting error to the user as will be described later.

無線通信部205は、他の無線通信装置と無線通信を行う機能部であり、ここでは無線LAN(IEEE802.11)規格の無線通信方式を使用するものとする。なお、前述したように、CPU201が制御プログラムを実行することにより、無線通信部205の動作が制御される。   The wireless communication unit 205 is a functional unit that performs wireless communication with other wireless communication devices, and here, a wireless communication system conforming to the wireless LAN (IEEE 802.11) standard is used. As described above, the operation of the wireless communication unit 205 is controlled by the CPU 201 executing the control program.

<装置の動作>
図11は、無線通信装置における各種パラメータを設定するフローチャートである。なお、以下の動作は無線通信装置(クライアント101)がユーザから入力部204を介して入力を受け付ける。
<Operation of the device>
FIG. 11 is a flowchart for setting various parameters in the wireless communication apparatus. In the following operations, the wireless communication apparatus (client 101) receives input from the user via the input unit 204.

ステップS1101では、SSID(Service Set Identifier)を設定する。後述するアドホックモードでは、SSIDは、IBSS(Independent Basic Service Set)の識別子として使用される。インフラストラクチャモードでは、SSIDは、BSS(Basic Service Set)またはESS(Extended Service Set)の識別子として使用される。なお、通信を行う装置間で予め共通のSSIDをROM203に記憶しておき、当該記憶されているSSIDを自動的にROM203から読み出し設定するよう構成してもよい。   In step S1101, an SSID (Service Set Identifier) is set. In the ad hoc mode described later, the SSID is used as an identifier of an IBSS (Independent Basic Service Set). In the infrastructure mode, the SSID is used as an identifier of BSS (Basic Service Set) or ESS (Extended Service Set). Note that a common SSID may be stored in the ROM 203 in advance between apparatuses that perform communication, and the stored SSID may be automatically read from the ROM 203 and set.

ステップS1102では、ネットワークモードを設定する。ここでは、複数のクライアント101同士が直接通信を行う”アドホックモード”または、複数のクライアント101同士がアクセスポイントを介して通信する”インフラストラクチャモード”の何れかを選択する。   In step S1102, the network mode is set. Here, either “ad hoc mode” in which a plurality of clients 101 directly communicate with each other or “infrastructure mode” in which a plurality of clients 101 communicate with each other via an access point is selected.

ステップS1103では、暗号方式を設定する。具体的には、”暗号なし”、”WEP(Wired Equivalent Privacy)”、”WPA(Wi-Fi Protected Access)”の何れかが設定される。   In step S1103, an encryption method is set. Specifically, any of “no encryption”, “WEP (Wired Equivalent Privacy)”, and “WPA (Wi-Fi Protected Access)” is set.

ステップS1104では、ステップS1103で、”WEP”または”WPA”を選択した場合、暗号鍵(またはパスフレーズ)を設定する。   In step S1104, if “WEP” or “WPA” is selected in step S1103, an encryption key (or passphrase) is set.

以上の手順で、無線通信装置におけるパラメータを設定する。なお、周波数チャンネルなどを合わせて指定しても良い。これらのパラメータ設定動作は無線LAN準拠の従来の無線通信装置と同様の手順である。   The parameters in the wireless communication device are set by the above procedure. The frequency channel may be specified together. These parameter setting operations are the same procedure as that of a conventional wireless communication apparatus compliant with the wireless LAN.

図3は、第1実施形態における、クライアント101の動作フローチャートである。なお、ここではクライアント101aに着目して説明を行うが、他のクライアント(101bおよび101c)も同様である。   FIG. 3 is an operation flowchart of the client 101 in the first embodiment. Here, the description will be given focusing on the client 101a, but the same applies to the other clients (101b and 101c).

以下の各ステップは、クライアント101aのCPU201が制御プログラムを実行することにより各部を制御することで実現される。なお、以下のフローに先立って、図11を参照して説明したパラメータ設定がなされているものとする。   The following steps are realized by controlling each unit by the CPU 201 of the client 101a executing a control program. It is assumed that the parameter setting described with reference to FIG. 11 has been performed prior to the following flow.

以下では、SSID、周波数チャンネル、ネットワークモード、BSSIDの全てが同一である無線LANネットワークを、同じネットワークに属すると称する。一方、SSID、周波数チャンネル、ネットワークモードは同一であるが、BSSIDは異なる無線LANネットワークを、設定が同一だが、異なる別の無線LANネットワークと称する。   Hereinafter, wireless LAN networks having the same SSID, frequency channel, network mode, and BSSID are referred to as belonging to the same network. On the other hand, a wireless LAN network having the same SSID, frequency channel, and network mode but different BSSID is referred to as another wireless LAN network having the same setting but different.

ステップS301では、既存の無線LANネットワークに参加あるいは新規に無線LANネットワークを構築するため、ユーザが指定したSSIDおよび周波数チャンネルと同一の無線LANネットワークの検索を行う。具体的には、当該SSID及び周波数チャンネルを指定したプローブ要求(Probe Request)を送信し、他の装置からのプローブ応答(Probe Response)を待ち受ける。この場合、プローブ応答を返信する装置は、当該SSID及び周波数チャンネルを設定している装置である。   In step S301, in order to join an existing wireless LAN network or construct a new wireless LAN network, a wireless LAN network identical to the SSID and frequency channel designated by the user is searched. Specifically, a probe request (Probe Request) designating the SSID and frequency channel is transmitted, and a probe response (Probe Response) from another device is awaited. In this case, the device that returns the probe response is a device that sets the SSID and the frequency channel.

ステップS302では、ステップS301でのプローブ要求送信時点で既存の無線LANネットワークが存在するか否かを判定する。他のクライアント(例えば101b)からプローブ応答を受信し、既存のネットワークが存在すると判定した場合はステップS309に進む。一方、プローブ応答を受信せず、既存のネットワークが存在しないと判定した場合はステップS303に進む。   In step S302, it is determined whether an existing wireless LAN network exists at the time of probe request transmission in step S301. If a probe response is received from another client (for example, 101b) and it is determined that an existing network exists, the process proceeds to step S309. On the other hand, if the probe response is not received and it is determined that the existing network does not exist, the process proceeds to step S303.

ステップS303では、ランダムにBSSIDを設定した後、当該パラメータを用いて新規の無線LANネットワークを構築する。なお、アドホックモードにおいては、このネットワークをIBSSともいう。なお、新規の無線LANネットワークを構築後、ビーコン(Beacon)の送信を開始する。   In step S303, a BSSID is set at random, and a new wireless LAN network is constructed using the parameters. In the ad hoc mode, this network is also called IBSS. In addition, after constructing a new wireless LAN network, transmission of a beacon is started.

ステップS304では、新規の無線LANネットワークを構築後、探索パケットとしてのブロードキャストパケットを当該無線LANネットワークに向けて少なくとも1個送信する。このとき、予め指定された期間内に送信するよう構成するとよい。なお無線通信環境によってはパケットロスが発生するため、複数個の探索パケットを送信するよう構成するとよい。   In step S304, after constructing a new wireless LAN network, at least one broadcast packet as a search packet is transmitted to the wireless LAN network. At this time, it may be configured to transmit within a predetermined period. Note that, depending on the wireless communication environment, packet loss may occur, so that a plurality of search packets may be transmitted.

ステップS305では、ステップS304で送信したブロードキャストパケットに対して応答を受信したか否かを判定する。受信した場合は、接続処理を完了する。例えば、クライアント101bから応答を受信した場合、自身(クライアント101a)のパラメータとクライアント101bのパラメータとは同一と判定できるからである。つまり、探索パケットに対する応答結果に基づいて、BSSIDおよび暗号鍵についても同一であることが確認できるため、以降、問題無く通信が行えると判定することができる。   In step S305, it is determined whether a response to the broadcast packet transmitted in step S304 has been received. If received, the connection process is completed. For example, when a response is received from the client 101b, it can be determined that the parameters of the client (client 101a) and the client 101b are the same. That is, since it can be confirmed that the BSSID and the encryption key are the same based on the response result to the search packet, it can be determined that communication can be performed without any problem.

一方、応答を受信しなかった場合はステップS306に進む。この場合、自身(クライアント101a)のパラメータとクライアント101bのパラメータについて少なくとも暗号鍵およびBSSIDの何れか一方が異なることが考えられる。または、新規の無線LANネットワークに自身(クライアント101a)以外参加していないことが考えられる。   On the other hand, if no response is received, the process proceeds to step S306. In this case, it is conceivable that at least one of the encryption key and the BSSID differs between the parameters of the client (client 101a) and the client 101b. Alternatively, it is conceivable that no one (client 101a) participates in the new wireless LAN network.

ステップS306では、再度、無線LANネットワークの検索を行う。この動作はステップS301と同様である。この動作により、ステップS305で応答を受信しなかった要因が暗号鍵の不一致にあるか否かを特定可能である。   In step S306, the wireless LAN network is searched again. This operation is the same as step S301. With this operation, it is possible to specify whether or not the cause of not receiving the response in step S305 is the encryption key mismatch.

ステップS307では、ステップS306でのプローブ要求送信時点で、同一SSID、周波数チャンネル、およびBSSIDの無線LANネットワークが存在するか否かを判定する。具体的には、他のクライアントからプローブ応答を受信した場合、当該プローブ応答に含まれるBSSIDを確認し、クライアント101aが構築したネットワークのBSSIDと同一か否かを判定する。BSSIDも同一であると判定した場合は、暗号鍵が異なることがプローブ応答を受信しなかった要因だと推定できるため、ステップS308に進む。一方、プローブ応答を受信しなかった場合、又は受信したプローブ応答に含まれるBSSIDが異なる場合は、暗号鍵の不一致以外の要因であると判定し接続処理を完了する。つまり、アドホックモードネットワークにおけるクリエイターとして接続処理を完了し、2台目以降のクライアント(例えば101b)の無線LANネットワークへの参加を待ち受ける。   In step S307, it is determined whether there is a wireless LAN network having the same SSID, frequency channel, and BSSID at the time of probe request transmission in step S306. Specifically, when a probe response is received from another client, the BSSID included in the probe response is confirmed, and it is determined whether or not it is the same as the BSSID of the network constructed by the client 101a. If it is determined that the BSSIDs are also the same, it can be estimated that the difference in the encryption key is the cause of not receiving the probe response, and the process proceeds to step S308. On the other hand, when the probe response is not received or when the BSSID included in the received probe response is different, it is determined that the cause is other than the encryption key mismatch and the connection process is completed. That is, as a creator in the ad hoc mode network, the connection process is completed, and the second and subsequent clients (for example, 101b) wait for participation in the wireless LAN network.

ステップS308では、暗号鍵が異なる旨のエラーを表示部206に表示して接続処理を停止する。なお、不図示のスピーカを介してアラーム音などを出力しユーザに通知してもよい。なお、このとき併せて接続したネットワークから切断するよう構成してもよい。   In step S308, an error indicating that the encryption keys are different is displayed on the display unit 206, and the connection process is stopped. Note that an alarm sound or the like may be output via a speaker (not shown) to notify the user. At this time, the network may be disconnected from the connected network.

ステップS309では、ステップS302で検出した既存の無線LANネットワークに参加する。   In step S309, it joins the existing wireless LAN network detected in step S302.

ステップS310では、ステップS309における無線LANネットワークへの参加後、探索パケットとしてのブロードキャストパケットを無線LANネットワークに向けて少なくとも1個送信する。このとき、予め指定された期間内に送信するよう構成するとよい。なお無線通信環境によってはパケットロスが発生するため、複数個の探索パケットを送信するよう構成するとよい。   In step S310, after joining the wireless LAN network in step S309, at least one broadcast packet as a search packet is transmitted to the wireless LAN network. At this time, it may be configured to transmit within a predetermined period. Note that, depending on the wireless communication environment, packet loss may occur, so that a plurality of search packets may be transmitted.

ステップS311では、ステップS310で送信したブロードキャストパケットに対して応答を受信したか否かを判定する。受信した場合は、接続処理を完了する。例えば、クライアント101bから応答を受信した場合、自身(クライアント101a)の暗号鍵とクライアント101bの暗号鍵とは同一と判定できるからである。つまり、以降、問題無く通信が行えると判定することができる。   In step S311, it is determined whether a response to the broadcast packet transmitted in step S310 has been received. If received, the connection process is completed. For example, when a response is received from the client 101b, it can be determined that the encryption key of the client (client 101a) and the encryption key of the client 101b are the same. That is, it can be determined that communication can be performed without any problem.

一方、応答を受信しなかった場合はステップS312に進む。この場合、自身(クライアント101a)の暗号鍵とクライアント101bの暗号鍵とが異なると判定できる。   On the other hand, if no response is received, the process proceeds to step S312. In this case, it can be determined that the encryption key of the client (client 101a) is different from the encryption key of the client 101b.

ステップS312では、暗号鍵が異なる旨のエラーを表示部206に表示して接続処理を停止する。なお、不図示のスピーカを介してアラーム音などを出力しユーザに通知してもよい。なお、このとき併せて接続したネットワークから切断するよう構成してもよい。   In step S312, an error indicating that the encryption keys are different is displayed on the display unit 206, and the connection process is stopped. Note that an alarm sound or the like may be output via a speaker (not shown) to notify the user. At this time, the network may be disconnected from the connected network.

なお、ステップS304およびステップS310においてブロードキャストを送信すると説明した。ただし、送信したパケットに対しての応答を要求するようなパケットであれば任意のものが使用可能である。ただし、通信の効率を考慮するとブロードキャストやマルチキャストのパケットとするのが好適である。使用するブロードキャストパケットとして、例えば、ARP(Address Resolution Protocol)パケット、RARP(Reverse Address Resolution Protocol)パケットなどを利用可能である。その他、EAP(Extensible Authentication Protocol)パケット、NetBIOSブロードキャストなどを用いることも出来る。   In addition, it demonstrated that a broadcast was transmitted in step S304 and step S310. However, any packet that requests a response to the transmitted packet can be used. However, in consideration of communication efficiency, it is preferable to use broadcast or multicast packets. As a broadcast packet to be used, for example, an ARP (Address Resolution Protocol) packet, an RARP (Reverse Address Resolution Protocol) packet, or the like can be used. In addition, an EAP (Extensible Authentication Protocol) packet, a NetBIOS broadcast, or the like can be used.

図4〜図7は、2つのクライアント間の接続処理のシーケンスを示す図である。図3における接続処理を実行する場合、クライアントAの通信可能範囲内に存在する(あるいは存在しない)クライアントBにより、以下の4つのパターンに分類することができる。   4 to 7 are diagrams showing a sequence of connection processing between two clients. When the connection process in FIG. 3 is executed, it can be classified into the following four patterns by the client B that exists (or does not exist) within the communicable range of the client A.

・パターン1:クライアントBが既にネットワークを構築しており、クライアントAが当該ネットワークに参加するパターン(図4)。   Pattern 1: A pattern in which client B has already established a network and client A participates in the network (FIG. 4).

・パターン2:クライアントAとクライアントBとが、互いの存在を検知せずに独自のネットワーク(IBSS)を構築してしまうパターン(図5)。これは、クライアントAおよびクライアントBがほぼ同時に接続処理を開始する場合に相当する。   Pattern 2: A pattern in which client A and client B construct their own network (IBSS) without detecting each other's presence (FIG. 5). This corresponds to the case where the client A and the client B start connection processing almost simultaneously.

・パターン3:クライアントAがネットワークを構築し、当該ネットワークにクライアントBが参加するが、それぞれの暗号鍵が異なっているパターン(図6)。   Pattern 3: A pattern in which the client A constructs a network and the client B participates in the network, but the respective encryption keys are different (FIG. 6).

・パターン4:クライアントAの通信可能範囲内に他のクライアントが存在しないパターン(図7)。   Pattern 4: A pattern in which no other client exists within the communicable range of client A (FIG. 7).

しかしながら、以上の4つのパターンの何れの場合も、図3を参照して説明した処理フローにより、暗号鍵が正しい場合は接続完了に進む。一方、暗号鍵が正しくない場合はエラー通知を行い接続処理を停止することになる。   However, in any of the above four patterns, if the encryption key is correct according to the processing flow described with reference to FIG. On the other hand, if the encryption key is not correct, an error notification is given and the connection process is stopped.

以上説明したように、第1実施形態に係る無線通信装置によれば、ユーザは暗号鍵の設定が正しいか否かを早期に確認することが出来る。つまり、暗号鍵が正しく無い場合は、接続処理の初期段階でエラー通知を受けることが可能となる。そのため、従来のように、通信不能時のユーザのストレスを軽減することが可能となる。   As described above, according to the wireless communication apparatus according to the first embodiment, the user can confirm at an early stage whether or not the setting of the encryption key is correct. That is, if the encryption key is not correct, an error notification can be received at the initial stage of the connection process. Therefore, as in the prior art, it is possible to reduce the stress of the user when communication is impossible.

(第2実施形態)
第2実施形態では、確認のためにスキャンを実施することにより、さらに接続を向上させる形態について説明する。
(Second Embodiment)
In the second embodiment, a mode for further improving the connection by performing a scan for confirmation will be described.

第1実施形態においては、ステップS303でおけるネットワークを構築後は、すぐにブロードキャストパケットを送信している。しかし、無線通信装置の設置されている場所の電波状態等によりネットワークの検出に失敗する可能性が高くなる。   In the first embodiment, a broadcast packet is transmitted immediately after the network is constructed in step S303. However, there is a high possibility that network detection will fail due to the radio wave condition of the place where the wireless communication device is installed.

また、2つ以上のクライアントがほぼ同時に新しいネットワークを構築しようとすると、互いにBSSIDが異なる別のネットワークが構築されてしまうことがある。つまり、初期スキャン(ステップS303)時にお互いを認識することができず、異なるBSSIDを設定しまうためである。   In addition, when two or more clients try to construct a new network almost simultaneously, another network having different BSSIDs may be constructed. That is, they cannot recognize each other during the initial scan (step S303), and set different BSSIDs.

<装置の動作>
図8は、第2実施形態における、クライアント101の動作フローチャートである。なお、ここではクライアント101aに着目して説明を行うが、他のクライアント(101bおよび101c)も同様である。
<Operation of the device>
FIG. 8 is an operation flowchart of the client 101 in the second embodiment. Here, the description will be given focusing on the client 101a, but the same applies to the other clients (101b and 101c).

以下の各ステップは、クライアント101aのCPU201が制御プログラムを実行することにより各部を制御することで実現される。なお、以下のフローに先立って、図11を参照して説明したパラメータ設定がなされているものとする。   The following steps are realized by controlling each unit by the CPU 201 of the client 101a executing a control program. It is assumed that the parameter setting described with reference to FIG. 11 has been performed prior to the following flow.

ステップS801では、既存の無線LANネットワークに参加あるいは新規に無線LANネットワークを構築するため、ユーザが指定したSSIDおよび周波数チャンネルと同一の無線LANネットワークの検索を行う。具体的には、当該SSID及び周波数チャンネルを指定したプローブ要求(Probe Request)を送信し、他の装置からのプローブ応答(Probe Response)を待ち受ける。この場合、プローブ応答を返信する装置は、当該SSID及び周波数チャンネルを設定している装置である。   In step S801, in order to participate in an existing wireless LAN network or to newly construct a wireless LAN network, a wireless LAN network identical to the SSID and frequency channel designated by the user is searched. Specifically, a probe request (Probe Request) designating the SSID and frequency channel is transmitted, and a probe response (Probe Response) from another device is awaited. In this case, the device that returns the probe response is a device that sets the SSID and the frequency channel.

ステップS802では、ステップS801でのプローブ要求送信時点で既存の無線LANネットワークが存在するか否かを判定する。他のクライアント(例えば101b)からプローブ応答を受信し、既存のネットワークが存在すると判定した場合はステップS809に進む。一方、プローブ応答を受信せず、既存のネットワークが存在しないと判定した場合はステップS803に進む。   In step S802, it is determined whether an existing wireless LAN network exists at the time of probe request transmission in step S801. If a probe response is received from another client (for example, 101b) and it is determined that an existing network exists, the process proceeds to step S809. On the other hand, if the probe response is not received and it is determined that the existing network does not exist, the process proceeds to step S803.

ステップS803では、ランダムにBSSIDを設定した後、当該パラメータを用いて新規の無線LANネットワークを構築する。なお、アドホックモードにおいては、このネットワークをIBSSともいう。なお、新規の無線LANネットワークを構築後、ビーコン(Beacon)の送信を開始する。   In step S803, after a BSSID is set at random, a new wireless LAN network is constructed using the parameters. In the ad hoc mode, this network is also called IBSS. In addition, after constructing a new wireless LAN network, transmission of a beacon is started.

ステップS804では、再度、無線LANネットワークの検索を行う。この動作はステップS801と同様である。   In step S804, the wireless LAN network is searched again. This operation is the same as that in step S801.

ステップS805では、ステップS804でのプローブ要求送信時点で、同一SSID、周波数チャンネル、およびBSSIDの無線LANネットワークが存在するか否かを判定する。具体的には、他のクライアントからプローブ応答を受信した場合、当該プローブ応答に含まれるBSSIDを確認し、クライアント101aが構築したネットワークのBSSIDと同一か否かを判定する。他のクライアント(例えば101b)からプローブ応答を受信し、当該プローブ応答に含まれるBSSIDが同一であると判定した場合はステップS806に進む。一方、プローブ応答を受信しなかった場合は、他のクライアントが存在しないと判断し接続処理を完了する。また、受信したプローブ応答に含まれるBSSIDが異なる場合は、BSSIDの異なる他のクライアントのみ存在すると判断し接続処理を停止する。   In step S805, it is determined whether there is a wireless LAN network having the same SSID, frequency channel, and BSSID at the time of the probe request transmission in step S804. Specifically, when a probe response is received from another client, the BSSID included in the probe response is confirmed, and it is determined whether or not it is the same as the BSSID of the network constructed by the client 101a. If a probe response is received from another client (for example, 101b) and it is determined that the BSSIDs included in the probe response are the same, the process proceeds to step S806. On the other hand, if no probe response is received, it is determined that no other client exists and the connection process is completed. If the BSSID included in the received probe response is different, it is determined that only other clients with different BSSIDs exist, and the connection process is stopped.

上述のように、2つ以上のクライアントがほぼ同時に新しいネットワークを構築しようとする場合、SSID、周波数チャンネルが同一であるが、BSSIDの異なる無線LANネットワークが構築されることがある。通信を行う複数の装置においてユーザがほぼ同時に無線通信の開始を指示した場合、このような状況が起こりうるが、このようなBSSIDの異なるネットワークが構築されてしまうと、互いに通信することができなくなってしまう。   As described above, when two or more clients try to construct a new network almost simultaneously, a wireless LAN network having the same SSID and frequency channel but different BSSIDs may be constructed. Such a situation may occur when a user instructs the start of wireless communication almost simultaneously in a plurality of devices that perform communication. However, if such a network with a different BSSID is constructed, it becomes impossible to communicate with each other. End up.

従って、無線LANネットワークを自ら構築後S804のスキャンを行うことにより、SSID、周波数チャンネルが同一でBSSIDの異なるネットワークを検出した場合は、直ちに接続処理を終了することにより、早期に再接続処理を行うことが可能となる。   Therefore, if a network having the same SSID and frequency channel but different BSSID is detected by performing a scan in step S804 after the wireless LAN network is constructed by itself, the connection process is immediately terminated to quickly perform the reconnection process. It becomes possible.

ステップS806では、探索パケットであるブロードキャストパケットを当該無線LANネットワークに向けて少なくとも1個送信する。このとき、予め指定された期間内に送信するよう構成するとよい。   In step S806, at least one broadcast packet that is a search packet is transmitted to the wireless LAN network. At this time, it may be configured to transmit within a predetermined period.

ステップS807では、ステップS806で送信したブロードキャストパケットに対して応答を受信したか否かを判定する。受信した場合は、接続処理を完了する。例えば、クライアント101bから応答を受信した場合、自身(クライアント101a)のパラメータとクライアント101bのパラメータとは同一と判定できるからである。つまり、BSSIDおよび暗号鍵についても同一であることが確認できるため、以降、問題無く通信が行えると判定することができる。   In step S807, it is determined whether a response to the broadcast packet transmitted in step S806 has been received. If received, the connection process is completed. For example, when a response is received from the client 101b, it can be determined that the parameters of the client (client 101a) and the client 101b are the same. That is, since it can be confirmed that the BSSID and the encryption key are the same, it can be determined that communication can be performed without any problem.

一方、応答を受信しなかった場合はステップS808に進む。この場合、自身(クライアント101a)のパラメータとクライアント101bのパラメータについて暗号鍵が異なることが考えられる。   On the other hand, if no response is received, the process proceeds to step S808. In this case, it is conceivable that the encryption key is different between the parameters of the client (client 101a) and the client 101b.

ステップS808では、暗号鍵が異なる旨のエラーを表示部206に表示して接続処理を停止する。なお、不図示のスピーカを介してアラーム音などを出力しユーザに通知してもよい。   In step S808, an error indicating that the encryption keys are different is displayed on the display unit 206, and the connection process is stopped. Note that an alarm sound or the like may be output via a speaker (not shown) to notify the user.

なお、ステップS809以降の接続処理については、第1実施形態におけるステップS309以降の接続処理と同様であるので、説明は省略する。   Since the connection process after step S809 is the same as the connection process after step S309 in the first embodiment, a description thereof will be omitted.

以上説明したように、第2実施形態に係る無線通信装置によれば、ユーザは暗号鍵の設定が正しいか否かを早期に確認することが出来る。   As described above, according to the wireless communication apparatus according to the second embodiment, the user can confirm at an early stage whether or not the setting of the encryption key is correct.

(第3実施形態)
第3実施形態では、インフラストラクチャモードで動作する無線LANシステムについて説明する。特にWEP鍵による暗号化を行い、かつ、オープン認証を使用するよう設定されたアクセスポイントに接続する場合について説明する。
(Third embodiment)
In the third embodiment, a wireless LAN system that operates in the infrastructure mode will be described. In particular, a case will be described in which encryption is performed using a WEP key and connection is made to an access point set to use open authentication.

<システム構成>
図9は、第3実施形態に係る無線通信装置を含む無線LANシステムの全体構成を示す図である。第1実施形態においては、各無線通信装置同士が直接通信を行うアドホックモードで動作している場合について説明した。しかし、第3実施形態においては、各クライアントはインフラストラクチャモードで動作するよう設定されており、他の装置との通信は全てアクセスポイントを経由して行われる。
<System configuration>
FIG. 9 is a diagram illustrating an overall configuration of a wireless LAN system including a wireless communication apparatus according to the third embodiment. In 1st Embodiment, the case where each radio | wireless communication apparatus was operate | moving in the ad hoc mode which communicates directly was demonstrated. However, in the third embodiment, each client is set to operate in the infrastructure mode, and all communications with other devices are performed via access points.

つまり、複数のクライアント901(クライアント901a、クライアント901bの2つ)が、アクセスポイント900に接続し、インフラストラクチャモードの無線LANネットワークを構成している。このようなインフラストラクチャモードの無線LANネットワークを構成するためには、一般的に以下のような動作を行う。つまり、アクセスポイント900がインフラストラクチャモードの無線LANネットワークを新規に構築した後、この構築されたネットワークに対し他のクライアントである901aおよび901bが参加するという形をとる。   That is, a plurality of clients 901 (two of clients 901a and 901b) are connected to the access point 900 to configure an infrastructure mode wireless LAN network. In order to configure such an infrastructure mode wireless LAN network, the following operations are generally performed. In other words, after the access point 900 newly constructs an infrastructure mode wireless LAN network, the other clients 901a and 901b participate in the constructed network.

なお、ここでは説明を簡単にするために、クライアント901aの通信可能範囲内には1つのアクセスポイント900しかないものとする。また、クライアント901の内部ブロック図は図2と同様であるため説明は省略する。   Here, for the sake of simplicity, it is assumed that there is only one access point 900 within the communicable range of the client 901a. The internal block diagram of the client 901 is the same as that in FIG.

<装置の動作>
図10は、第3実施形態における、クライアント901の動作フローチャートである。なお、ここではクライアント901aに着目して説明を行うが、他のクライアント(901b)も同様である。
<Operation of the device>
FIG. 10 is an operation flowchart of the client 901 in the third embodiment. Here, the description is given focusing on the client 901a, but the same applies to the other clients (901b).

以下の各ステップは、クライアント101aのCPU201が制御プログラムを実行することにより各部を制御することで実現される。なお、以下のフローに先立って、図11を参照して説明したパラメータ設定がなされているものとする。   The following steps are realized by controlling each unit by the CPU 201 of the client 101a executing a control program. It is assumed that the parameter setting described with reference to FIG. 11 has been performed prior to the following flow.

ステップS1001では、既存の無線LANネットワークに参加あるいは新規に無線LANネットワークを構築するため、ユーザが指定したSSIDおよび周波数チャンネルと同一の無線LANネットワークの検索を行う。具体的には、プローブ要求(Probe Request)を送信し、通信可能範囲内にあるアクセスポイントからのプローブ応答(Probe Response)を待ち受ける。   In step S1001, in order to join an existing wireless LAN network or construct a new wireless LAN network, a search for a wireless LAN network identical to the SSID and frequency channel designated by the user is performed. Specifically, a probe request (Probe Request) is transmitted and a probe response (Probe Response) from an access point within the communicable range is awaited.

ステップS1002では、ステップS1001でのプローブ要求送信時点で既存の無線LANネットワーク(BSSまたはESS)が存在するか否かを判定する。アクセスポイント900からプローブ応答を受信し、既存のネットワークが存在すると判定した場合はステップS1003に進む。一方、プローブ応答を受信せず、アクセスポイント(既存のネットワーク)が存在しないと判定した場合は接続処理を停止する。つまり、インフラストラクチャモードではアクセスポイントが存在しない限り通信が不可能だからである。   In step S1002, it is determined whether or not an existing wireless LAN network (BSS or ESS) exists at the time of probe request transmission in step S1001. If a probe response is received from the access point 900 and it is determined that an existing network exists, the process proceeds to step S1003. On the other hand, if the probe response is not received and it is determined that there is no access point (existing network), the connection process is stopped. That is, in the infrastructure mode, communication is impossible unless an access point exists.

ステップS1003では、ステップS1002で検出した既存の無線LANネットワークに参加する。   In step S1003, it joins the existing wireless LAN network detected in step S1002.

ステップS1004では、ステップS1003における無線LANネットワークへの参加後、探索パケットであるブロードキャストパケットを無線LANネットワークに向けて少なくとも1個送信する。このとき、予め指定された期間内に送信するよう構成するとよい。   In step S1004, after joining the wireless LAN network in step S1003, at least one broadcast packet that is a search packet is transmitted toward the wireless LAN network. At this time, it may be configured to transmit within a predetermined period.

ステップS1005では、ステップS1004で送信したブロードキャストパケットに対して応答を受信したか否かを判定する。受信した場合は、接続処理を完了する。つまり、アクセスポイント900から応答を受信した場合、自身(クライアント901a)の暗号鍵とアクセスポイント900の暗号鍵とは同一と判定できるからである。つまり、以降、問題無く通信が行えると判定することができる。   In step S1005, it is determined whether a response to the broadcast packet transmitted in step S1004 has been received. If received, the connection process is completed. That is, when a response is received from the access point 900, it can be determined that the encryption key of the client (the client 901a) and the encryption key of the access point 900 are the same. That is, it can be determined that communication can be performed without any problem.

一方、応答を受信しなかった場合はステップS1006に進む。この場合、自身(クライアント901a)の暗号鍵とアクセスポイント900との暗号鍵とが異なると判定できる。   On the other hand, if no response has been received, the process proceeds to step S1006. In this case, it can be determined that the encryption key of the own (client 901a) and the encryption key of the access point 900 are different.

ステップS1006では、暗号鍵が異なる旨のエラーを表示部206に表示して接続処理を停止する。なお、不図示のスピーカを介してアラーム音などを出力しユーザに通知してもよい。   In step S1006, an error indicating that the encryption keys are different is displayed on the display unit 206, and the connection process is stopped. Note that an alarm sound or the like may be output via a speaker (not shown) to notify the user.

以上説明したように、第3実施形態に係る無線通信装置によれば、ユーザは暗号鍵の設定が正しいか否かを早期に確認することが出来る。つまり、本発明のパラメータ確認手法がインフラストラクチャモードにおいても利用可能であることが分かる。   As described above, according to the wireless communication apparatus according to the third embodiment, the user can confirm at an early stage whether or not the setting of the encryption key is correct. That is, it can be seen that the parameter confirmation method of the present invention can be used in the infrastructure mode.

(他の実施形態)
以上、本発明の実施形態について詳述したが、本発明は、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。
(Other embodiments)
Although the embodiments of the present invention have been described in detail above, the present invention may be applied to a system constituted by a plurality of devices or may be applied to an apparatus constituted by one device.

なお、本発明は、前述した実施形態の機能を実現するプログラムを、システム或いは装置に直接或いは遠隔から供給し、そのシステム或いは装置が、供給されたプログラムコードを読み出して実行することによっても達成される。従って、本発明の機能処理をコンピュータで実現するために、コンピュータにインストールされるプログラムコード自体も本発明の技術的範囲に含まれる。   The present invention can also be achieved by supplying a program that realizes the functions of the above-described embodiments directly or remotely to a system or apparatus, and the system or apparatus reads and executes the supplied program code. The Accordingly, the program code itself installed in the computer in order to realize the functional processing of the present invention by the computer is also included in the technical scope of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。   In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS.

プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク(CD、DVD)、光磁気ディスク、磁気テープ、不揮発性のメモリカード、ROMなどがある。   Examples of the recording medium for supplying the program include a floppy (registered trademark) disk, a hard disk, an optical disk (CD, DVD), a magneto-optical disk, a magnetic tape, a nonvolatile memory card, and a ROM.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. In addition, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。   Further, the program 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. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.

アドホックモードの無線LANネットワークを示す図である。It is a figure which shows the wireless LAN network of an ad hoc mode. 無線通信装置の内部ブロック図である。It is an internal block diagram of a radio | wireless communication apparatus. 第1実施形態に係る無線通信装置の動作フローチャートである。4 is an operation flowchart of the wireless communication apparatus according to the first embodiment. 無線通信端末間の通信シーケンス図(正常系)である。It is a communication sequence diagram (normal system) between radio | wireless communication terminals. 無線通信端末間の通信シーケンス図(NW同時構築)である。It is a communication sequence diagram (NW simultaneous construction) between wireless communication terminals. 無線通信端末間の通信シーケンス図(暗号鍵不一致)である。It is a communication sequence diagram (encryption key mismatch) between radio | wireless communication terminals. 無線通信端末間の通信シーケンス図(NW単独構築)である。It is a communication sequence diagram (NW independent construction) between wireless communication terminals. 第2実施形態に係る無線通信装置の動作フローチャートである。It is an operation | movement flowchart of the radio | wireless communication apparatus which concerns on 2nd Embodiment. インフラストラクチャモードの無線LANネットワークを示す図である。It is a figure which shows the wireless LAN network of an infrastructure mode. 第3実施形態に係る無線通信装置の動作フローチャートである。It is an operation | movement flowchart of the radio | wireless communication apparatus which concerns on 3rd Embodiment. 無線通信端末におけるパラメータ設定のフローチャートである。It is a flowchart of the parameter setting in a radio | wireless communication terminal.

Claims (11)

第1のパラメータに基づいて該第1のパラメータが設定されたネットワークに接続し、第2のパラメータに基づいて前記ネットワーク内の他の装置と通信を行う無線通信装置であって、
第2のパラメータを入力する入力手段と、
前記第1のパラメータに基づいて周囲を探索しネットワークに接続する接続手段と、
前記接続手段によりネットワークに接続した後、予め指定された期間内に、該ネットワークに対し前記第2のパラメータに基づく少なくとも1個の探索パケットを送信する送信手段と、
前記探索パケットに対する前記ネットワークからの応答結果に基づいて、前記入力手段により入力された前記第2のパラメータと前記ネットワーク内の他の装置に設定された第2のパラメータとが一致するか否かを判定する判定手段と、
前記判定手段により前記第2のパラメータが一致していないと判定された場合、その旨をユーザに通知する通知手段と、
を備えることを特徴とする無線通信装置。
A wireless communication device that connects to a network in which the first parameter is set based on a first parameter and communicates with other devices in the network based on a second parameter;
Input means for inputting a second parameter;
Connection means for searching around and connecting to the network based on the first parameter;
Transmitting means for transmitting at least one search packet based on the second parameter to the network within a predetermined period after connecting to the network by the connecting means;
Based on a response result from the network to the search packet, whether or not the second parameter input by the input unit matches a second parameter set in another device in the network Determination means for determining;
A notification means for notifying a user to that effect when the determination means determines that the second parameter does not match;
A wireless communication apparatus comprising:
前記判定手段は、前記送信手段により送信された複数個の探索パケットの何れにも応答が無い場合に、前記第2のパラメータが一致していないと判定することを特徴とする請求項1に記載の無線通信装置。   2. The determination unit according to claim 1, wherein the determination unit determines that the second parameter does not match when there is no response in any of the plurality of search packets transmitted by the transmission unit. Wireless communication device. 前記第2のパラメータは、前記ネットワーク内における通信を暗号化するために使用される暗号鍵であることを特徴とする請求項1に記載の無線通信装置。   The wireless communication apparatus according to claim 1, wherein the second parameter is an encryption key used for encrypting communication in the network. 前記探索パケットは、前記ネットワークに対するブロードキャストパケットであることを特徴とする請求項1に記載の無線通信装置。   The wireless communication apparatus according to claim 1, wherein the search packet is a broadcast packet for the network. 前記判定手段により、前記第2のパラメータが一致しないと判定された場合、前記接続手段により接続したネットワークを切断するよう制御する制御手段をさらに備えることを特徴とする請求項1に記載の無線通信装置。   2. The wireless communication according to claim 1, further comprising a control unit that controls to disconnect the network connected by the connection unit when the determination unit determines that the second parameter does not match. apparatus. 第1のパラメータに基づいて該第1のパラメータが設定されたネットワークに接続し、第2のパラメータに基づいて前記ネットワーク内の他の装置と通信を行う無線通信装置の制御方法であって、
第2のパラメータを入力する入力工程と、
前記第1のパラメータに基づいて周囲を探索しネットワークに接続する接続工程と、
前記接続工程によりネットワークに接続した後、予め指定された期間内に、該ネットワークに対し前記第2のパラメータに基づく少なくとも1個の探索パケットを送信する送信工程と、
前記探索パケットに対する前記ネットワークからの応答結果に基づいて、前記入力工程により入力された前記第2のパラメータと前記ネットワーク内の他の装置に設定された第2のパラメータとが一致するか否かを判定する判定工程と、
前記判定工程により前記第2のパラメータが一致していないと判定された場合、その旨をユーザに通知する通知工程と、
を備えることを特徴とする無線通信装置の制御方法。
A method of controlling a wireless communication device that connects to a network in which the first parameter is set based on a first parameter and communicates with other devices in the network based on a second parameter,
An input step for inputting the second parameter;
A connection step of searching around and connecting to a network based on the first parameter;
A transmission step of transmitting at least one search packet based on the second parameter to the network within a predetermined period after connecting to the network by the connection step;
Based on a response result from the network to the search packet, whether or not the second parameter input in the input step matches a second parameter set in another device in the network A determination step for determining;
When it is determined that the second parameter does not match by the determination step, a notification step of notifying the user of the fact,
A method for controlling a wireless communication apparatus, comprising:
前記判定工程は、前記送信工程により送信された複数個の探索パケットの何れにも応答が無い場合に、前記第2のパラメータが一致していないと判定することを特徴とする請求項6に記載の無線通信装置の制御方法。   7. The determination step according to claim 6, wherein the determination step determines that the second parameter does not match when there is no response in any of the plurality of search packets transmitted by the transmission step. Control method for wireless communication apparatus. 前記第2のパラメータは、前記ネットワーク内における通信を暗号化するために使用される暗号鍵であることを特徴とする請求項6に記載の無線通信装置の制御方法。   The method according to claim 6, wherein the second parameter is an encryption key used for encrypting communication in the network. 前記探索パケットは、前記ネットワークに対するブロードキャストパケットであることを特徴とする請求項6に記載の無線通信装置の制御方法。   The method according to claim 6, wherein the search packet is a broadcast packet for the network. 前記判定工程により、前記第2のパラメータが一致しないと判定された場合、前記接続工程により接続したネットワークを切断するよう制御する制御工程をさらに備えることを特徴とする請求項6に記載の無線通信装置の制御方法。   The wireless communication according to claim 6, further comprising a control step of controlling to disconnect the network connected by the connection step when the determination step determines that the second parameter does not match. Control method of the device. コンピュータに請求項6乃至請求項10の何れか1項に記載の無線通信装置の制御方法を実行させるためのプログラム。   A non-transitory computer-readable storage medium storing a program for causing a computer to execute the wireless communication apparatus control method according to any one of claims 6 to 10.
JP2007202229A 2007-08-02 2007-08-02 Wireless communication apparatus and control method thereof Withdrawn JP2009038665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007202229A JP2009038665A (en) 2007-08-02 2007-08-02 Wireless communication apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007202229A JP2009038665A (en) 2007-08-02 2007-08-02 Wireless communication apparatus and control method thereof

Publications (1)

Publication Number Publication Date
JP2009038665A true JP2009038665A (en) 2009-02-19

Family

ID=40440191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007202229A Withdrawn JP2009038665A (en) 2007-08-02 2007-08-02 Wireless communication apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2009038665A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011160059A (en) * 2010-01-29 2011-08-18 Seiko Epson Corp Communication apparatus, radio diagnosing method, and program
JP2011238162A (en) * 2010-05-13 2011-11-24 Fujitsu Ltd Network device and terminal device
JP2014131145A (en) * 2012-12-28 2014-07-10 Canon Inc Communication apparatus, control method of the same, and program
US8850271B2 (en) 2010-01-29 2014-09-30 Seiko Epson Corporation Information processing apparatus for diagnosing a network connection, communication apparatus for diagnosing a network connection, diagnosis method for diagnosing a network connection, and program for diagnosing a network connection
US8854657B2 (en) 2010-01-29 2014-10-07 Seiko Epson Corporation Requesting through wired communication a diagnostic signal through wireless communication
JP2023003010A (en) * 2021-06-23 2023-01-11 セイコーエプソン株式会社 Terminal device, program, and communication control method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011160059A (en) * 2010-01-29 2011-08-18 Seiko Epson Corp Communication apparatus, radio diagnosing method, and program
US8850271B2 (en) 2010-01-29 2014-09-30 Seiko Epson Corporation Information processing apparatus for diagnosing a network connection, communication apparatus for diagnosing a network connection, diagnosis method for diagnosing a network connection, and program for diagnosing a network connection
US8854657B2 (en) 2010-01-29 2014-10-07 Seiko Epson Corporation Requesting through wired communication a diagnostic signal through wireless communication
JP2011238162A (en) * 2010-05-13 2011-11-24 Fujitsu Ltd Network device and terminal device
JP2014131145A (en) * 2012-12-28 2014-07-10 Canon Inc Communication apparatus, control method of the same, and program
US9807583B2 (en) 2012-12-28 2017-10-31 Canon Kabushiki Kaisha Communication apparatus, control method thereof, and recording medium
JP2023003010A (en) * 2021-06-23 2023-01-11 セイコーエプソン株式会社 Terminal device, program, and communication control method
JP7735695B2 (en) 2021-06-23 2025-09-09 セイコーエプソン株式会社 Terminal device, program, and communication control method

Similar Documents

Publication Publication Date Title
US12309113B2 (en) Communication apparatus, methods, and non-transitory computer-readable media for determining IP addresses for use in different networks
US10674341B2 (en) Communication device
JP5185081B2 (en) Wireless terminal device, communication method, and communication program
CN103369638B (en) Communicator
CN101601024B (en) Automatic ad hoc network creation and federation using WPS
JP6368989B2 (en) Communication device
JP5222081B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM
KR101735334B1 (en) Method and apparatus for performing discovery procedures in wi-fi p2p device
US10129922B2 (en) Communication apparatus
US9288827B2 (en) Wireless communication devices, communication systems, methods, and non-transitory computer-readable media for selectively establishing different types of connections
WO2009090709A1 (en) Wireless communication terminal and wireless communication method
JP7218145B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2003338821A (en) Wireless network system
JP2009302649A (en) Communication equipment, communication method of communication equipment, program, and storage medium
JP2009038665A (en) Wireless communication apparatus and control method thereof
JP2006246433A (en) Communication apparatus and communication method
JP5272833B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
JP6312369B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2004328274A (en) Wireless mobile station and connection method thereof
JP2005347887A (en) Wireless communication system, wireless communication device, wireless communication access point, wireless communication method, program, and storage medium
JP5409110B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2023156203A (en) Wireless communication device, control method for wireless communication device, and program
JP7613618B2 (en) Communication Equipment
JP2020005295A (en) Communication device
JP2023141328A (en) Wireless communication device, control method and program for wireless communication device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101005