JP2008172555A - Radio lan system - Google Patents

Radio lan system Download PDF

Info

Publication number
JP2008172555A
JP2008172555A JP2007004108A JP2007004108A JP2008172555A JP 2008172555 A JP2008172555 A JP 2008172555A JP 2007004108 A JP2007004108 A JP 2007004108A JP 2007004108 A JP2007004108 A JP 2007004108A JP 2008172555 A JP2008172555 A JP 2008172555A
Authority
JP
Japan
Prior art keywords
sta
ssid
communication device
wireless communication
security mode
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.)
Pending
Application number
JP2007004108A
Other languages
Japanese (ja)
Inventor
Hiroshi Saneto
博 實藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007004108A priority Critical patent/JP2008172555A/en
Publication of JP2008172555A publication Critical patent/JP2008172555A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To avoid the mismatching of the security mode of a radio LAN and a privacy bit. <P>SOLUTION: An STA_A1 performs SSID retraction notification to an STA_A2 in an unauthorized state, where a security mode does not match a security bit (S601). When the SSID retraction notification is received from the STA_A1, the STA_A2 starts up a new communication segment as a creator (S632). The STA_A1 performs a change to an SSID for retraction before scanning with an old SSID (S612), and joins the communication segment of the STA_A2 started as the creator as a joiner (S620). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、無線LANに関し、特にセキュリティモードとプライバシービットの不整合を回避するための技術に関する。   The present invention relates to a wireless LAN, and more particularly to a technique for avoiding a mismatch between a security mode and a privacy bit.

無線LANには、通信のセキュリティに関してセキュリティモード及びプライバシービットの設定がある。セキュリティモードとしては、WEPキーによる暗号化を行う“WEP”状態と、WEPキーによる暗号化を行わない“NoneWEP”状態とを取り得る。プライバシービットとしては、WEPキーによる暗号化が行われているときの“ON”状態と、WEPキーによる暗号化が行われていないときの“OFF”状態とがある。そして、セキュリティモード及びプライバシービットの設定は、通常一致している。すなわち、セキュリティモードが“WEP”のときは、プライバシービットは“ON”、セキュリティモードが“NoneWEP”のときは、プライバシービットは“OFF”である。
特開2006−60578号公報
A wireless LAN has security mode and privacy bit settings for communication security. As the security mode, a “WEP” state in which encryption with a WEP key is performed and a “NoneWEP” state in which encryption with a WEP key is not performed can be taken. The privacy bit includes an “ON” state when encryption with the WEP key is performed and an “OFF” state when encryption with the WEP key is not performed. The security mode and privacy bit settings are usually the same. That is, when the security mode is “WEP”, the privacy bit is “ON”, and when the security mode is “NoneWEP”, the privacy bit is “OFF”.
JP 2006-60578 A

しかしながら、無線LANによる通信を行う特定種類の無線通信装置(以下、タイプAという)では、セキュリティモード及びプライバシービットの不整合が生じることがある。つまり、セキュリティモードが“WEP”のときにプライバシービットが“OFF”となり、セキュリティモードが“NoneWEP”のときにプライバシービットが“ON”となる場合がある。このような不整合が生じると、その無線通信装置は、正常に通信を行うことができない。   However, in certain types of wireless communication devices (hereinafter referred to as type A) that perform communication by wireless LAN, inconsistencies in security mode and privacy bit may occur. That is, the privacy bit may be “OFF” when the security mode is “WEP”, and the privacy bit may be “ON” when the security mode is “NoneWEP”. When such a mismatch occurs, the wireless communication device cannot communicate normally.

具体的な不整合パターンを図面を用いて説明する。   A specific mismatch pattern will be described with reference to the drawings.

図5は、第1の不整合パターンを示す。   FIG. 5 shows a first mismatch pattern.

まず、タイプAの無線通信装置STA_Aと、タイプAとは異なるタイプBの無線通信装置STA_Bとが、セキュリティモード“NoneWEP”、かつプライバシービットが“OFF”で、アドホックモードにより通信を行っている。   First, a wireless communication apparatus STA_A of type A and a wireless communication apparatus STA_B of type B different from type A are communicating in the ad hoc mode with the security mode “NoneWEP” and the privacy bit “OFF”.

このときに、STA_Aがユーザから、セキュリティモードを“WEP”へ切り換えるように指示を受けると、STA_Aは“WEP”での接続処理を開始する(S101)。すなわち、STA_Aはプローブリクエスト201を発信し、STA_Bからプローブレスポンス202を受信する。このとき、プローブレスポンス202には、このときのSTA_Bのプライバシービットの設定が含まれている。つまり、プローブレスポンス202にはプライバシービット“OFF”を示す情報が含まれている。   At this time, when the STA_A receives an instruction from the user to switch the security mode to “WEP”, the STA_A starts connection processing with “WEP” (S101). That is, STA_A transmits a probe request 201 and receives a probe response 202 from STA_B. At this time, the probe response 202 includes the setting of the privacy bit of STA_B at this time. That is, the probe response 202 includes information indicating the privacy bit “OFF”.

STA_Aは、プローブレスポンス202に基づいて、セキュリティモード“WEP”の既存の通信セグメントが存在しないことを確認すると、自らをクリエイタとするセキュリティモード“WEP”の新たな通信セグメントを立ち上げる(S110)。そのときの具体的な処理は、STA_Aのプライバシービットに、プローブレスポンス202に含まれているプライバシービットをコピーすることにより、新通信セグメントのプライバシービットを“OFF”に設定する(S111)。さらに、STA_Aのセキュリティモードを“WEP”に設定する(S112)。このとき、STA_Aは、セキュリティモードとプライバシービットとが不整合であることを検出し、新たな通信セグメントの識別情報であるBSSIDに、不正なBSSID(オールF)を設定する(S113)。   When the STA_A confirms that there is no existing communication segment of the security mode “WEP” based on the probe response 202, the STA_A starts up a new communication segment of the security mode “WEP” using itself as a creator (S110). Specifically, the privacy bit of the new communication segment is set to “OFF” by copying the privacy bit included in the probe response 202 to the privacy bit of STA_A (S111). Further, the security mode of STA_A is set to “WEP” (S112). At this time, the STA_A detects that the security mode and the privacy bit are inconsistent, and sets an invalid BSSID (all F) in the BSSID that is the identification information of the new communication segment (S113).

この不整合が生じる原因は、ステップS111で、STA_Aがプローブレスポンス202に含まれているプライバシービットを、新通信セグメントのプライバシービットとしてそのままコピーすることにある。   The cause of this inconsistency is that, in step S111, STA_A copies the privacy bit included in the probe response 202 as it is as the privacy bit of the new communication segment.

一方、STA_Bも、ユーザからセキュリティモードを“WEP”へ切り換えるように指示を受けると、“WEP”での接続処理を開始する(S301)。すなわち、STA_Bもプローブリクエスト203を発信し、STA_Aからプローブレスポンス204を受信する。このとき、プローブレスポンス204には、このときのSTA_Aのプライバシービットの設定が含まれている。つまり、プローブレスポンス204にはプライバシービット“OFF”を示す情報が含まれている。   On the other hand, when the STA_B receives an instruction to switch the security mode to “WEP” from the user, the STA_B also starts connection processing using “WEP” (S301). That is, STA_B also sends a probe request 203 and receives a probe response 204 from STA_A. At this time, the probe response 204 includes the setting of the privacy bit of STA_A at this time. That is, the probe response 204 includes information indicating the privacy bit “OFF”.

ここで、STA_Bは、プローブレスポンス204に基づいて、セキュリティモード“WEP”の既存の通信セグメントが存在しないことを確認すると、自らをクリエイタとしてセキュリティモード“WEP”の新たな通信セグメントを立ち上げる(S310)。そのときの具体的な処理は、プライバシービットを、セキュリティモード“WEP”に対応する“ON”に設定する(S311)。さらに、STA_Bのセキュリティモードを“WEP”に設定する(S312)。このとき、セキュリティモードとプライバシービットが整合しているので、新たな通信セグメントの識別情報であるBSSIDに、正常なBSSID(STA_BのMACアドレス)を設定する(S313)。   Here, when the STA_B confirms that there is no existing communication segment in the security mode “WEP” based on the probe response 204, the STA_B starts up a new communication segment in the security mode “WEP” using itself as a creator (S310). ). A specific process at that time is to set the privacy bit to “ON” corresponding to the security mode “WEP” (S311). Further, the security mode of STA_B is set to “WEP” (S312). At this time, since the security mode and the privacy bit are consistent, a normal BSSID (MAC address of STA_B) is set in the BSSID that is the identification information of the new communication segment (S313).

これにより、STA_Bはクリエイタとして、セキュリティモード“WEP”の新たな通信セグメントを立ち上げる。   Thereby, STA_B starts a new communication segment of the security mode “WEP” as a creator.

しかしながら、上記の処理によれば、STA_Aでセキュリティモードとプライバシービットの不整合が起き、STA_AとSTA_Bとは通信を行うことができない状態である。   However, according to the above processing, inconsistency between the security mode and the privacy bit occurs in STA_A, and STA_A and STA_B cannot communicate with each other.

図6は、第2の不整合パターンを示す。このパターンは、タイプAの無線LAN通信装置STA_Aと、タイプBの無線LAN通信装置STA_Bとが、セキュリティモード“WEP”、かつプライバシービットが“ON”で、アドホックモードにより通信を行っているときに、セキュリティモード“NoneWEP”に切り換える際に生じる。   FIG. 6 shows a second mismatch pattern. This pattern is obtained when the type A wireless LAN communication apparatus STA_A and the type B wireless LAN communication apparatus STA_B are communicating in the ad hoc mode with the security mode “WEP” and the privacy bit “ON”. This occurs when switching to the security mode “NoneWEP”.

この場合も、第1の不整合パターンと同様に、STA_Aがプローブレスポンス212に含まれているプライバシービットを、新らたな通信セグメントのプライバシービットとしてそのままコピーしている(S121)。これにより、第1の不整合パターンと同様に、セキュリティモードとプライバシービットの不整合生じ、STA_AとSTA_Bとは通信を行うことができないようになっている。   Also in this case, as in the first mismatch pattern, STA_A copies the privacy bit included in the probe response 212 as it is as the privacy bit of the new communication segment (S121). As a result, similarly to the first inconsistency pattern, inconsistency between the security mode and the privacy bit occurs, and STA_A and STA_B cannot communicate with each other.

図7は、第3の不整合パターンを示す。このパターンは、タイプAの無線LAN通信装置STA_A同士(STA_A1、STA_A2)が、セキュリティモード“WEP”、かつプライバシービットが“ON”で、アドホックモードにより通信を行っているときに、セキュリティモード“NoneWEP”に切り換える際に生じる。   FIG. 7 shows a third mismatch pattern. This pattern indicates that when the wireless LAN communication apparatuses STA_A of type A (STA_A1, STA_A2) are communicating in the ad hoc mode with the security mode “WEP” and the privacy bit “ON”, the security mode “NoneWEP” Occurs when switching to "."

この場合も、第1及び第2の不整合パターンと同様に、STA_A1,STA_A2がプローブレスポンス222、224に含まれているプライバシービットを、新らたな通信セグメントのプライバシービットとしてそのままコピーしている(S131、S141)。これにより、第1及び第2の不整合パターンと同様に、セキュリティモードとプライバシービットの不整合生じる。この結果、STA_A1とSTA_A2とは、互いに正常な通信を行うことはできないが、両者のBSSIDが不正な値(オールF)で共通するので、IPレベルでは通信が成立する。   Also in this case, as in the first and second mismatch patterns, STA_A1 and STA_A2 copy the privacy bits included in the probe responses 222 and 224 as they are as the privacy bits of the new communication segment. (S131, S141). This causes a mismatch between the security mode and the privacy bit, as in the first and second mismatch patterns. As a result, although STA_A1 and STA_A2 cannot perform normal communication with each other, both BSSIDs share an incorrect value (all F), so communication is established at the IP level.

そこで、本発明の目的は、上記のような無線LANのセキュリティモード及びプライバシービットの不整合を回避することである。   Therefore, an object of the present invention is to avoid inconsistency between the security mode and privacy bit of the wireless LAN as described above.

本発明の一実施態様に従う無線LANシステムは、第1の無線通信装置及び第2の無線通信装置が、セキュリティモード及びセキュリティビットに従ってアドホックモードによる無線LAN通信を行う。前記第1の無線通信装置は、前記第1の無線通信装置及び第2の無線通信装置が第1のSSIDで通信を行っているときに、前記第2の無線通信装置から所定の通知を受け付けると、前記第1のSSIDで、クリエイタとして新たな通信セグメントを立ち上げる起動手段を備える。前記第2の無線通信装置は、前記セキュリティモードとセキュリティビットとが整合しない不正な状態のときに、前記第1の無線通信装置へ前記所定の通知を行う手段と、前記セキュリティモードとセキュリティビットが整合しない不正な状態のときに、自身のSSIDを前記第1のSSIDとは異なる第2のSSIDに設定する手段と、第2のSSIDを設定した後、前記所定の通知に基づいてクリエイタとして起動した第2の無線通信装置を検出すると、自身のSSIDを前記第1のSSIDに戻して前記新たな通信セグメントへジョイナーとして加わる手段と、を備える。   In the wireless LAN system according to an embodiment of the present invention, the first wireless communication device and the second wireless communication device perform wireless LAN communication in the ad hoc mode according to the security mode and the security bit. The first wireless communication device accepts a predetermined notification from the second wireless communication device when the first wireless communication device and the second wireless communication device are communicating with the first SSID. And a startup means for starting a new communication segment as a creator with the first SSID. The second wireless communication device includes means for notifying the first wireless communication device of the predetermined notification when the security mode and the security bit are in an inaccurate state, and the security mode and the security bit are A means for setting its own SSID to a second SSID different from the first SSID in the case of an illegal state that does not match, and a second SSID is set and then activated as a creator based on the predetermined notification A second wireless communication device that detects the second wireless communication device and adds the SSID to the first SSID and joins the new communication segment as a joiner.

本発明の一実施態様に従う無線LANシステムは、第1の無線通信装置及び第2の無線通信装置が、セキュリティモード及びセキュリティビットに従ってアドホックモードによる無線LAN通信を行う。前記第1の無線通信装置は、前記第1の無線通信装置及び第2の無線通信装置が第1のSSIDで通信を行っているときに、前記セキュリティモードとセキュリティビットとが整合しない不正な状態であれば、前記第2の無線通信装置へ前記所定の通知を行う手段と、前記第1のSSIDで、クリエイタとして新たな通信セグメントを立ち上げる起動手段とを備える。前記第2の無線通信装置は、前記第1の無線通信装置からの前記所定の通知に基づいて、自身のSSIDを前記第1のSSIDとは異なる第2のSSIDに設定する手段と、前記第2のSSIDを設定した後、前記新たな通信セグメントのクリエイタとして起動した第2の無線通信装置を検出すると、自身のSSIDを前記第1のSSIDに戻して、前記新たな通信セグメントへジョイナーとして加わる手段と、を備える。   In the wireless LAN system according to an embodiment of the present invention, the first wireless communication device and the second wireless communication device perform wireless LAN communication in the ad hoc mode according to the security mode and the security bit. The first wireless communication device is in an illegal state in which the security mode and the security bit do not match when the first wireless communication device and the second wireless communication device are communicating with the first SSID. If so, it comprises means for notifying the second wireless communication apparatus with the predetermined notification, and starting means for starting up a new communication segment as a creator with the first SSID. The second wireless communication device, based on the predetermined notification from the first wireless communication device, sets its own SSID to a second SSID different from the first SSID; After setting the SSID of 2, when the second wireless communication device activated as the creator of the new communication segment is detected, the SSID is returned to the first SSID and added to the new communication segment as a joiner. Means.

以下、本発明の一実施形態に係る無線LAN通信システムについて、図面を参照して説明する。   Hereinafter, a wireless LAN communication system according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態に係る無線LANシステムの構成を示す。すなわち、本システムは複数の無線通信装置を含み、各無線通信装置が無線LANでアドホック通信を行う。これらの無線通信装置は、何らかの情報処理装置に組み込まれていてもよい。
また、同図に示す無線通信装置はそれぞれ異なるタイプの無線通信装置、すなわち、タイプAの無線通信装置10(STA_A)及びタイプBの無線通信装置60(STA_B)を含む。無線通信装置10,60の基本的な構成は共通し、以下に説明する各構成要素の個別の動作が一部異なる。
FIG. 1 shows a configuration of a wireless LAN system according to the present embodiment. That is, this system includes a plurality of wireless communication devices, and each wireless communication device performs ad hoc communication over a wireless LAN. These wireless communication apparatuses may be incorporated in some information processing apparatus.
In addition, the wireless communication devices shown in the figure include different types of wireless communication devices, that is, a type A wireless communication device 10 (STA_A) and a type B wireless communication device 60 (STA_B). The basic configurations of the wireless communication devices 10 and 60 are common, and the individual operations of each component described below are partly different.

まず、無線通信装置10、60の共通する構成について説明する。   First, a common configuration of the wireless communication devices 10 and 60 will be described.

無線通信装置10、60は、いずれも、無線LAN通信装置20,70と、通信制御部30,80とを備える。   Each of the wireless communication devices 10 and 60 includes wireless LAN communication devices 20 and 70 and communication control units 30 and 80.

各無線LAN通信装置20,60は、例えば、無線LAN用の半導体チップとそれを制御するファームウェアにより実現される。各無線LAN通信装置20,60は、それぞれ機能的には、通信処理部21,71と、通信設定部22,72と、WEPモジュール23,73と、BSSID管理部24,74とを備える。   Each of the wireless LAN communication devices 20 and 60 is realized by, for example, a wireless LAN semiconductor chip and firmware for controlling the semiconductor chip. Each of the wireless LAN communication devices 20 and 60 functionally includes communication processing units 21 and 71, communication setting units 22 and 72, WEP modules 23 and 73, and BSSID management units 24 and 74.

通信処理部21,71は、互いに無線LANの仕様に従って通信を行う。   The communication processing units 21 and 71 communicate with each other according to wireless LAN specifications.

通信設定部22,72は、無線LAN通信に必要な設定を行う。例えば、通信設定部22,72は、セキュリティモード及びプライバシービットの設定を行う。   The communication setting units 22 and 72 perform settings necessary for wireless LAN communication. For example, the communication setting units 22 and 72 set a security mode and a privacy bit.

WEPモジュール23,73は、WEPキーを記憶し、WEPキーを用いた暗号及び復号処理を行う。   The WEP modules 23 and 73 store the WEP key and perform encryption and decryption processing using the WEP key.

BSSID管理部24,74は、通信セグメントを識別するためのBSSIDの管理を行う。   The BSSID management units 24 and 74 manage BSSIDs for identifying communication segments.

通信制御部30,80は、例えば、所定のソフトウェア、あるいは所定のソフトウェアとハードウェアの組み合わせにより実現される。通信制御部30,80は、それぞれ機能的には、記憶部31,81と、処理部32,82と、インタフェース33,83とを備える。   The communication control units 30 and 80 are realized by, for example, predetermined software or a combination of predetermined software and hardware. Functionally, the communication control units 30 and 80 include storage units 31 and 81, processing units 32 and 82, and interfaces 33 and 83, respectively.

記憶部31,81は、無線通信装置10、60が有する図示しないユーザインタフェースから入力された情報などを記憶する。例えば、ユーザが所望するセキュリティモードを示す情報などが記憶される。   The storage units 31 and 81 store information input from a user interface (not shown) included in the wireless communication devices 10 and 60. For example, information indicating a security mode desired by the user is stored.

処理部32,82は、無線LAN通信装置20,70に対して種々のコマンドを発行して、無線LAN通信装置20,70を制御するための処理を実行する。例えば、処理部32,82は、記憶部31,81に記憶されているユーザ所望のセキュリティモードでの接続を指示するコマンドを生成し、無線LAN通信装置20,60へ送る。   The processing units 32 and 82 issue various commands to the wireless LAN communication devices 20 and 70 and execute processing for controlling the wireless LAN communication devices 20 and 70. For example, the processing units 32 and 82 generate a command for instructing connection in a user-desired security mode stored in the storage units 31 and 81, and send the command to the wireless LAN communication devices 20 and 60.

インタフェース33,83は、無線LAN通信装置20,70へコマンドを送ったり、あるいは無線LAN通信装置20,70から種々の情報を取得したりするためのインターフェースである。   The interfaces 33 and 83 are interfaces for sending commands to the wireless LAN communication devices 20 and 70 or acquiring various information from the wireless LAN communication devices 20 and 70.

図2は、本実施形態に係るセキュリティモード切替処理のシーケンスチャートである。   FIG. 2 is a sequence chart of the security mode switching process according to the present embodiment.

まず、タイプAの無線通信装置10(以下、STA_Aと称する)と、タイプBの無線LAN通信装置60(以下、STA_Bと称する)とが、セキュリティモード“NoneWEP”、かつプライバシービットが“OFF”で、アドホックモードにより通信を行っている。   First, the type A wireless communication device 10 (hereinafter referred to as STA_A) and the type B wireless LAN communication device 60 (hereinafter referred to as STA_B) have the security mode “NoneWEP” and the privacy bit is “OFF”. Communicating in ad hoc mode.

このときに、STA_Aがユーザから、セキュリティモードを“WEP”へ切り換えるように指示を受けると、処理部32が無線LAN通信装置20に対してWEP接続開始コマンドを送る。無線LAN通信装置20は、これを受けてセキュリティモード“WEP”での接続処理を開始する(S101)。   At this time, when STA_A receives an instruction from the user to switch the security mode to “WEP”, the processing unit 32 sends a WEP connection start command to the wireless LAN communication device 20. Upon receiving this, the wireless LAN communication device 20 starts connection processing in the security mode “WEP” (S101).

すなわち、無線LAN通信装置20はプローブリクエスト201を発信し、無線LAN通信装置70からプローブレスポンス202を受信する。さらに、このプローブレスポンス202に基づいて、セキュリティモード“WEP”の通信セグメントが存在しないことを確認すると、図5に示すクリエイタ起動処理を行う(S110)。ステップS110のクリエイタ起動処理では、BSSID管理部24が不正なBSSIDを生成する。   That is, the wireless LAN communication device 20 transmits a probe request 201 and receives a probe response 202 from the wireless LAN communication device 70. Further, when it is confirmed that there is no communication segment of the security mode “WEP” based on the probe response 202, the creator activation process shown in FIG. 5 is performed (S110). In the creator activation process in step S110, the BSSID management unit 24 generates an invalid BSSID.

一方、無線通信装置60も、ユーザからセキュリティモードを“WEP”へ切り換えるように指示を受け、処理部82が無線LAN通信装置70に対してWEP接続開始コマンドを送る。無線LAN通信装置70は、これを受けてセキュリティモード“WEP”での接続処理を開始する(S301)。   On the other hand, the wireless communication device 60 also receives an instruction from the user to switch the security mode to “WEP”, and the processing unit 82 sends a WEP connection start command to the wireless LAN communication device 70. Upon receiving this, the wireless LAN communication device 70 starts connection processing in the security mode “WEP” (S301).

すなわち、無線LAN通信装置70はプローブリクエスト203を発信し、無線LAN通信装置20からプローブレスポンス204を受信する。さらに、このプローブレスポンス204に基づいて、セキュリティモード“WEP”の通信セグメントが存在しないことを確認すると、図5に示すクリエイタ起動処理を行う(S310)。ステップS310のクリエイタ起動処理では、BSSID管理部74が正常なBSSIDを生成する。   That is, the wireless LAN communication device 70 transmits a probe request 203 and receives a probe response 204 from the wireless LAN communication device 20. Further, if it is confirmed that there is no communication segment of the security mode “WEP” based on the probe response 204, the creator activation process shown in FIG. 5 is performed (S310). In the creator activation process in step S310, the BSSID management unit 74 generates a normal BSSID.

ここで、STA_Aは、ステップS110のクリエイタ起動処理後に、切り換え判定処理を行う(S500)。   Here, STA_A performs a switching determination process after the creator activation process in step S110 (S500).

ステップS500の切り換え判定処理の具体的な処理手順を図3に示す。   A specific processing procedure of the switching determination processing in step S500 is shown in FIG.

まず、処理部32が、この時点におけるSTA_AのBSSIDをチェックする(S501)。このチェックの結果、STA_AのBSSIDが正常であれば(S501:Yes)、この処理を終了する。   First, the processing unit 32 checks the BSSID of STA_A at this time (S501). As a result of this check, if the BSSID of STA_A is normal (S501: Yes), this process ends.

一方、BSSIDが不正であれば(S501:No)、処理部32は、さらに、無線LAN通信装置20がIPレベルでの通信を確立しているか否かを判定する(S502)。このIPレベルの通信が確立していなければ(S502:非接続)、処理部32が無線LAN通信装置20に対して、ユーザが所望するセキュリティモードでの接続開始コマンドを再度送って、再接続処理を実行させる(S505)。   On the other hand, if the BSSID is invalid (S501: No), the processing unit 32 further determines whether or not the wireless LAN communication device 20 has established communication at the IP level (S502). If this IP level communication has not been established (S502: non-connection), the processing unit 32 sends again a connection start command in the security mode desired by the user to the wireless LAN communication device 20, and reconnection processing is performed. Is executed (S505).

一方、IPレベルでの通信が確立していれば(S502:接続)、処理部32は、無線LAN通信装置20へ強制切断のコマンドを送り、現在の接続を強制的に切断する(S503)。さらに、処理部32は、現在の無線LANに関する設定をクリアさせるコマンドを送り(S504)、ステップS505を行う。   On the other hand, if communication at the IP level has been established (S502: connection), the processing unit 32 sends a command for forced disconnection to the wireless LAN communication device 20 to forcibly disconnect the current connection (S503). Further, the processing unit 32 sends a command for clearing the settings related to the current wireless LAN (S504), and performs step S505.

図2に示す場合では、BSSIDは不正であり(S501:No)、IPレベルでの通信は確立していないので(S502:非確立)、ステップS505で、処理部32が記憶部31を参照してユーザ所望のセキュリティモードが“WEP”であることを確認して、無線LAN通信装置20に対して、WEP接続開始コマンドを再送する。   In the case shown in FIG. 2, since the BSSID is illegal (S501: No), and communication at the IP level has not been established (S502: not established), the processing unit 32 refers to the storage unit 31 in step S505. After confirming that the user-desired security mode is “WEP”, the WEP connection start command is retransmitted to the wireless LAN communication device 20.

これにより、図2に示すように、STA_Aは、WEPでの再接続を開始する(S150)。すなわち、STA_Aは、プローブリクエスト205を発信し、STA_Bからプローブレスポンス206を受信する。このとき、プローブレスポンス206には、このときのSTA_Aのプライバシービットの設定が含まれている。つまり、プローブレスポンス206にはプライバシービット“ON”を示す情報が含まれている。   Thereby, as shown in FIG. 2, STA_A starts reconnection by WEP (S150). That is, STA_A transmits a probe request 205 and receives a probe response 206 from STA_B. At this time, the probe response 206 includes the setting of the privacy bit of STA_A at this time. That is, the probe response 206 includes information indicating the privacy bit “ON”.

STA_Aは、プローブレスポンス206に基づいて、無線通信装置60がすでにクリエイタとしてセキュリティモード“WEP”の通信セグメントを立ち上げていることを確認すると、この通信セグメントに対してジョイナーとして加入する(S160)。つまり、このプローブレスポンス206のプライバシービットをSTA_Aのプライバシービットへコピーする(S161)。さらに、STA_Aのセキュリティモードを“WEP”に設定する(S162)。そして、BSSID管理部24は、プローブレスポンス206に含まれているBSSIDをコピーして、STA_AのBSSIDを設定する(S163)。   When the STA_A confirms that the wireless communication device 60 has already started the communication segment of the security mode “WEP” as a creator based on the probe response 206, the STA_A joins the communication segment as a joiner (S160). That is, the privacy bit of this probe response 206 is copied to the privacy bit of STA_A (S161). Further, the security mode of STA_A is set to “WEP” (S162). Then, the BSSID management unit 24 copies the BSSID included in the probe response 206 and sets the BSSID of STA_A (S163).

この結果、STA_Aで生じたセキュリティモードとプライバシービットの不整合を解消し、正常に接続できるようになる。なお、図6に示した“WEP”から“NoneWEP”への切り替えにおいても、上記切り換え判定処理により、セキュリティモードとプライバシービットの不整合を解消できる。   As a result, the inconsistency between the security mode and the privacy bit generated in STA_A is resolved, and a normal connection can be made. Note that, even when switching from “WEP” to “NoneWEP” shown in FIG. 6, inconsistency between the security mode and the privacy bit can be resolved by the switching determination process.

また、図7に示すタイプAのSTA_A同士のアドホック通信で不整合が生じた場合、上記切り換え判定処理を適用すると、ステップS502においてIPレベルの通信が確立していると判定される。そして、ステップS503においてその時点での通信を強制切断した後、ステップS540において無線LANの設定をクリアし、ステップS505で再接続が行われる。   In addition, when inconsistency occurs in ad hoc communication between STA_A of type A shown in FIG. 7, when the switching determination process is applied, it is determined in step S502 that IP level communication is established. In step S503, the current communication is forcibly disconnected. In step S540, the wireless LAN setting is cleared, and reconnection is performed in step S505.

しかしながら、この場合は、双方のSTA_Aがこれらの処理を行うため、それぞれの実行タイミングによっては、セキュリティモードとプライバシービットの不整合を解消できないことがある。そこで、切り換え判定処理のステップS502において不整合な状態での接続が確立していると判定された場合には、図4に示すような処理を行うようにしてもよい。   However, in this case, since both STA_A perform these processes, inconsistency between the security mode and the privacy bit may not be eliminated depending on the execution timing. Therefore, if it is determined in step S502 of the switching determination process that a connection in an inconsistent state has been established, a process as shown in FIG. 4 may be performed.

図4は、タイプAの無線通信装置10同士(STA_A1,STA_A2)のセキュリティモード切替処理における不整合を解消するためのシーケンスチャートである。   FIG. 4 is a sequence chart for resolving inconsistency in the security mode switching process between the type A wireless communication apparatuses 10 (STA_A1, STA_A2).

STA_A1の処理部32が、切り換え判定処理のステップS502において不整合状態での接続の確立を検出すると、無線LAN通信装置20を介して、STA_A2へSSIDの退避通知を行う(S601)。STA_A1の処理部32は、この退避通知後に無線LAN通信装置20へSSID変更のコマンドを送り、自らのSSIDを退避用のSSIDへ変更する(S611)。   When the processing unit 32 of the STA_A1 detects the establishment of the connection in the inconsistent state in step S502 of the switching determination process, the STA_A1 notifies the STA_A2 of the SSID save via the wireless LAN communication device 20 (S601). The processing unit 32 of the STA_A1 sends an SSID change command to the wireless LAN communication device 20 after the save notification, and changes its SSID to a save SSID (S611).

STA_A2は、STA_A1からSSIDの退避通知を受け付けると、レスポンスを返信する(S602)。そして、STA_A2の処理部32が、無線LAN通信装置20に対して、NoneWEP接続開始コマンドを再送することにより、STA_A2はNoneWEPでの接続処理を開始する(S631)。すなわち、STA_A2がプローブリクエスト621を送信するが、STA_A1のSSIDは退避用SSIDに変更されているので、プローブレスポンスが返ってこない。したがって、STA_A2は、そのままクリエイタとして新たな通信セグメントを正常に立ち上げることができる(S632)。   Upon receiving the SSID save notification from STA_A1, STA_A2 returns a response (S602). Then, the processing unit 32 of the STA_A2 retransmits the NoneWEP connection start command to the wireless LAN communication device 20, whereby the STA_A2 starts the connection process using the NoneWEP (S631). That is, STA_A2 transmits a probe request 621, but the probe response is not returned because the SSID of STA_A1 is changed to the evacuation SSID. Therefore, STA_A2 can start up a new communication segment normally as a creator as it is (S632).

一方、STA_A1の処理部32は、退避前の旧SSIDの通信セグメントのスキャンを指示し、無線LAN通信装置20がプローブリクエスト262を送信する(S612)。ここで、ステップS632のSTA_A2のクリエイタ起動処理が完了していれば、STA_A2がプローブレスポンス263を返す。STA_A1の無線LAN通信装置20は、このプローブレスポンス263に基づいて、STA_A1立ち上げた通信セグメントに対してジョイナーとして加入する処理を実行する(S620)。つまり、ジョイナーとしての加入処理は、プライバシービットを”OFF”に設定し(S621)、SSIDを退避前の旧SSIDに戻す(S622)。そして、STA_A1のセキュリティモードを“WEP”に設定し(S623)、BSSID管理部24は、プローブレスポンス263に含まれているBSSIDをコピーして、STA_A1のBSSIDを設定する(S264)。   On the other hand, the processing unit 32 of the STA_A1 instructs to scan the communication segment of the old SSID before saving, and the wireless LAN communication device 20 transmits the probe request 262 (S612). Here, if the creator activation process of STA_A2 in step S632 is completed, STA_A2 returns a probe response 263. Based on the probe response 263, the wireless LAN communication apparatus 20 of the STA_A1 executes a process of joining as a joiner to the communication segment started up by the STA_A1 (S620). That is, in the join process as a joiner, the privacy bit is set to “OFF” (S621), and the SSID is returned to the old SSID before saving (S622). Then, the security mode of the STA_A1 is set to “WEP” (S623), and the BSSID management unit 24 copies the BSSID included in the probe response 263 and sets the BSSID of the STA_A1 (S264).

これにより、STA_A同士のアドホック通信において生じたセキュリティモードとプライバシービットの不整合を解消し、正常に接続できるようになる。   As a result, the inconsistency between the security mode and the privacy bit generated in the ad hoc communication between the STA_A is resolved, and a normal connection can be established.

なお、図4の例では、STA_A1がSSIDを退避しているが、ステップS601の通知を受けたSTA_A2がSSIDを退避するようにしてもよい。つまり、STA_A2がステップS601の通知を受け付けると、STA_A2が自身のSSIDを一時的に退避用のSSIDに変更し、STA_A1がクリエイタとして新たな通信セグメントを立ち上げ、STA_A2がそれにジョイナーとして加わるようにしてもよい。   In the example of FIG. 4, the STA_A1 saves the SSID, but the STA_A2 that receives the notification in step S601 may save the SSID. In other words, when STA_A2 receives the notification in step S601, STA_A2 temporarily changes its SSID to an evacuation SSID, STA_A1 starts up a new communication segment as a creator, and STA_A2 joins it as a joiner. Also good.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。   The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.

本発明の一実施形態に係る無線通信LANシステムの構成を示す。1 shows a configuration of a wireless communication LAN system according to an embodiment of the present invention. 本実施形態に係るセキュリティモード切替処理のシーケンスチャートである。It is a sequence chart of the security mode switching process concerning this embodiment. ステップS500の切り換え判定処理の具体的な処理手順を図3に示す。A specific processing procedure of the switching determination processing in step S500 is shown in FIG. タイプAの無線通信装置同士のセキュリティモード切替処理のシーケンスチャートである。It is a sequence chart of a security mode switching process between type A wireless communication devices. 従来技術における第1の不整合パターンを示す。The 1st mismatch pattern in a prior art is shown. 従来技術における第2の不整合パターンを示す。The 2nd mismatch pattern in a prior art is shown. 従来技術における第3の不整合パターンを示す。The 3rd mismatch pattern in a prior art is shown.

符号の説明Explanation of symbols

10、60…無線通信装置、20,70…無線LAN通信装置、30,80…通信制御部。 10, 60 ... wireless communication device, 20, 70 ... wireless LAN communication device, 30, 80 ... communication control unit.

Claims (2)

第1の無線通信装置及び第2の無線通信装置が、セキュリティモード及びセキュリティビットに従ってアドホックモードによる無線LAN通信を行う無線LANシステムであって、
前記第1の無線通信装置は、
前記第1の無線通信装置及び第2の無線通信装置が第1のSSIDで通信を行っているときに、前記第2の無線通信装置から所定の通知を受け付けると、前記第1のSSIDで、クリエイタとして新たな通信セグメントを立ち上げる起動手段を備え、
前記第2の無線通信装置は、
前記セキュリティモードとセキュリティビットとが整合しない不正な状態のときに、前記第1の無線通信装置へ前記所定の通知を行う手段と、
前記セキュリティモードとセキュリティビットが整合しない不正な状態のときに、自身のSSIDを前記第1のSSIDとは異なる第2のSSIDに設定する手段と、
第2のSSIDを設定した後、前記所定の通知に基づいてクリエイタとして起動した第2の無線通信装置を検出すると、自身のSSIDを前記第1のSSIDに戻して前記新たな通信セグメントへジョイナーとして加わる手段と、を備える無線LANシステム。
A wireless LAN system in which the first wireless communication device and the second wireless communication device perform wireless LAN communication in an ad hoc mode according to a security mode and a security bit,
The first wireless communication device is:
When a predetermined notification is received from the second wireless communication device when the first wireless communication device and the second wireless communication device are communicating with the first SSID, the first SSID, As a creator, it has a startup means to launch a new communication segment,
The second wireless communication device is:
Means for notifying the first wireless communication device of the predetermined notification when the security mode and the security bit are in an inconsistent state;
Means for setting its own SSID to a second SSID different from the first SSID when the security mode and a security bit are in an inconsistent state;
After setting the second SSID, when detecting the second wireless communication device activated as a creator based on the predetermined notification, the SSID is returned to the first SSID and the new communication segment is joined as a joiner. A wireless LAN system comprising means for adding.
第1の無線通信装置及び第2の無線通信装置が、セキュリティモード及びセキュリティビットに従ってアドホックモードによる無線LAN通信を行う無線LANシステムであって、
前記第1の無線通信装置は、
前記第1の無線通信装置及び第2の無線通信装置が第1のSSIDで通信を行っているときに、前記セキュリティモードとセキュリティビットとが整合しない不正な状態であれば、前記第2の無線通信装置へ前記所定の通知を行う手段と、
前記第1のSSIDで、クリエイタとして新たな通信セグメントを立ち上げる起動手段とを備え、
前記第2の無線通信装置は、
前記第1の無線通信装置からの前記所定の通知に基づいて、自身のSSIDを前記第1のSSIDとは異なる第2のSSIDに設定する手段と、
前記第2のSSIDを設定した後、前記新たな通信セグメントのクリエイタとして起動した第2の無線通信装置を検出すると、自身のSSIDを前記第1のSSIDに戻して、前記新たな通信セグメントへジョイナーとして加わる手段と、を備える無線LANシステム。
A wireless LAN system in which the first wireless communication device and the second wireless communication device perform wireless LAN communication in an ad hoc mode according to a security mode and a security bit,
The first wireless communication device is:
If the first wireless communication device and the second wireless communication device are communicating with the first SSID and the security mode and the security bit are in an inconsistent state, the second wireless communication device Means for performing the predetermined notification to a communication device;
An activation means for starting up a new communication segment as a creator with the first SSID;
The second wireless communication device is:
Means for setting its own SSID to a second SSID different from the first SSID based on the predetermined notification from the first wireless communication device;
After setting the second SSID, upon detecting the second wireless communication device activated as the creator of the new communication segment, it returns its own SSID to the first SSID and joins the new communication segment to the new communication segment. A wireless LAN system comprising:
JP2007004108A 2007-01-12 2007-01-12 Radio lan system Pending JP2008172555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007004108A JP2008172555A (en) 2007-01-12 2007-01-12 Radio lan system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007004108A JP2008172555A (en) 2007-01-12 2007-01-12 Radio lan system

Publications (1)

Publication Number Publication Date
JP2008172555A true JP2008172555A (en) 2008-07-24

Family

ID=39700223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007004108A Pending JP2008172555A (en) 2007-01-12 2007-01-12 Radio lan system

Country Status (1)

Country Link
JP (1) JP2008172555A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014141980A1 (en) * 2013-03-15 2014-09-18 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, program, and printing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014141980A1 (en) * 2013-03-15 2014-09-18 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, program, and printing apparatus
US9628991B2 (en) 2013-03-15 2017-04-18 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, program, and printing apparatus
US10477399B2 (en) 2013-03-15 2019-11-12 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, program, and printing apparatus
US11019105B2 (en) 2013-03-15 2021-05-25 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same, program, and printing apparatus

Similar Documents

Publication Publication Date Title
JP4574338B2 (en) Setting method for wireless communication, peripheral device for performing wireless communication, and information processing device
US20230155977A1 (en) Communication apparatus, methods, and non-transitory computer-readable media for determining ip addresses for use in different networks
US9288677B2 (en) Communication system, communication apparatus and method for setting communication parameters of the apparatus
US9288827B2 (en) Wireless communication devices, communication systems, methods, and non-transitory computer-readable media for selectively establishing different types of connections
JP2006229309A (en) Communication apparatus and communication method
US8892030B2 (en) Wireless communication apparatus for wireless network and computer readable media
JP2009071657A (en) Communication device and communication method
JP2008219885A (en) Automated configuration method of wireless peripheral device in network environment, automated configuration method of device in network, method for automatically configuring a plurality of wireless peripheral devices in network environment, and peripheral devices
JP2005079896A (en) Network device
JP6530634B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP2006246433A (en) Communication apparatus and communication method
JP2010087909A (en) Wireless communication device, method for connection, and program
JP2008104076A (en) Method of setting communication parameter, communication apparatus, method and program for controlling communication apparatus
JP2008160173A (en) Communication system, managing device, control method of managing device, and computer program making computer implement the control method
JP2010245680A (en) Image output system, image output device, and setting information sharing method
JP2009260951A (en) Radio communication device, radio communication method and radio communication program
JP4967669B2 (en) Wireless communication device and security mode and privacy bit switching method in wireless communication device
JP2007086991A (en) Communication equipment
JP2008172555A (en) Radio lan system
JP2016025478A (en) Relay device, relay method, and relay program
EP2248363B1 (en) Communication apparatus, and communication method therefor
US10863425B2 (en) Information processing apparatus, method of controlling the same, and program
JP2011199704A (en) Electronic apparatus enabling wireless communication, electronic apparatus system, and wireless communication method
JP5197060B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2016029780A (en) Communication device, image forming apparatus, communication control method, and communication control program