Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5397090B2 - Portable terminal device and wireless LAN connection method - Google Patents
[go: Go Back, main page]

JP5397090B2 - Portable terminal device and wireless LAN connection method - Google Patents

Portable terminal device and wireless LAN connection method Download PDF

Info

Publication number
JP5397090B2
JP5397090B2 JP2009194822A JP2009194822A JP5397090B2 JP 5397090 B2 JP5397090 B2 JP 5397090B2 JP 2009194822 A JP2009194822 A JP 2009194822A JP 2009194822 A JP2009194822 A JP 2009194822A JP 5397090 B2 JP5397090 B2 JP 5397090B2
Authority
JP
Japan
Prior art keywords
unit
service set
set identifier
connection
information
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.)
Expired - Fee Related
Application number
JP2009194822A
Other languages
Japanese (ja)
Other versions
JP2011049701A (en
Inventor
善明 秦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Mobile Communications Ltd
Original Assignee
Fujitsu Mobile Communications Ltd
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 Fujitsu Mobile Communications Ltd filed Critical Fujitsu Mobile Communications Ltd
Priority to JP2009194822A priority Critical patent/JP5397090B2/en
Publication of JP2011049701A publication Critical patent/JP2011049701A/en
Application granted granted Critical
Publication of JP5397090B2 publication Critical patent/JP5397090B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線LAN接続可能な携帯端末装置およびこの装置の無線LAN接続方法に関する。   The present invention relates to a portable terminal device capable of wireless LAN connection and a wireless LAN connection method of this device.

携帯電話機やノートブック型パーソナルコンピュータなどの携帯端末装置には、無線LAN(Wireless Local Area Network、以下WLANという)を利用可能なものがある(たとえば特許文献1参照)。この種の携帯端末装置は、アクセスポイント(インフラストラクチャモード時)や他のWLAN接続可能な携帯端末装置(アドホックモード時)などの親機とWLANを構築することができる。このため、この種の携帯端末装置は、ファイルなどの各種データの無線通信による送受信が可能となるよう親機に対して接続する(以下、WLAN接続するという)ことができる。   Some portable terminal devices such as cellular phones and notebook personal computers can use a wireless local area network (hereinafter referred to as WLAN) (see, for example, Patent Document 1). This type of mobile terminal device can construct a WLAN with a parent device such as an access point (in infrastructure mode) or another mobile terminal device capable of WLAN connection (in ad hoc mode). For this reason, this type of portable terminal device can be connected to the parent device (hereinafter referred to as WLAN connection) so that various data such as files can be transmitted and received by wireless communication.

WLAN接続を確立する際には、携帯端末装置と親機とは、携帯端末装置および親機により構築されるWLANのセキュリティを高めるため、互いに協調して認証プログラムを用いた認証処理を行うことが多い。特に最近では、認証プログラムとして、従来のWEP(Wired Equivalent Privacy)よりもセキュリティ強度の高いWiFi Protected Access(WPA、WPA2)が用いられることが多くなってきている。   When establishing a WLAN connection, the mobile terminal device and the parent device may perform authentication processing using an authentication program in cooperation with each other in order to increase the security of the WLAN constructed by the mobile terminal device and the parent device. Many. Particularly recently, WiFi Protected Access (WPA, WPA2), which has higher security strength than conventional WEP (Wired Equivalent Privacy), is increasingly used as an authentication program.

認証プログラムとしてWPAまたはWPA2(以下、WPAと総称する)が用いられる場合には、携帯端末装置と親機とのWLAN接続は次の手順で確立される。まず、携帯端末装置は、自機の周辺に存在する親機を検出するために、WLANとして利用可能な周波数帯域をスキャンする。つぎに、携帯端末装置と検出された親機とは、サービスセット識別子(以下、SSID(Service Set Identifier)という)を用いてアソシエーション処理を行う。次に親機は、携帯端末装置から認証キーを受け、この認証キーを用いて例えば4-way handshakeなどにより認証処理を行う。そして親機は、携帯端末装置に対してIPアドレス割当て処理を行う。この結果、携帯端末装置は、親機とWLAN接続することができる。なお、サービスセット識別子(SSID)にはESSID(Extended SSID)を含むものとする。   When WPA or WPA2 (hereinafter collectively referred to as WPA) is used as the authentication program, the WLAN connection between the mobile terminal device and the parent device is established by the following procedure. First, the mobile terminal device scans a frequency band that can be used as a WLAN in order to detect a parent device existing in the vicinity of the mobile device. Next, the mobile terminal device and the detected base unit perform association processing using a service set identifier (hereinafter referred to as SSID (Service Set Identifier)). Next, the master unit receives an authentication key from the portable terminal device, and performs an authentication process by, for example, 4-way handshake using the authentication key. Then, the base unit performs an IP address assignment process for the mobile terminal device. As a result, the mobile terminal device can establish a WLAN connection with the parent device. The service set identifier (SSID) includes ESSID (Extended SSID).

特開2006−238272号公報JP 2006-238272 A

しかし、従来の技術では、同一のSSIDを有する複数の親機が存在する場合に十分に対応することができない。以下、同一のSSIDを有する複数の親機が存在する場合の一例として、第1の親機(所望の親機)と第2の親機(不要な親機)とが存在する場合について説明する。なお、携帯端末装置は、第1の親機に対して正当な認証キーを記憶している一方、第2の親機に対する正当な認証キーは記憶していないものとする。   However, the conventional technology cannot sufficiently cope with a case where there are a plurality of parent devices having the same SSID. Hereinafter, a case where there are a first parent device (desired parent device) and a second parent device (unnecessary parent device) will be described as an example when there are a plurality of parent devices having the same SSID. . It is assumed that the mobile terminal device stores a valid authentication key for the first base unit, but does not store a valid authentication key for the second base unit.

たとえば、携帯端末装置が利用可能な周波数帯域をスキャンすることによって、自機に記憶されたSSIDと同一のSSIDを有する第1の親機および第2の親機を検出し、かつ、携帯端末装置が受信する第1の親機の信号強度(以下、RSSI(Received Signal Strength Indication)という)よりも第2の親機のRSSIのほうが高い場合を考える。この場合、まずRSSIが高い第2の親機と携帯端末装置とでSSIDを用いたアソシエーション処理が試みられる。このアソシエーション処理は、SSIDが一致することおよび認証キーを必要としないことから、成功する。一方、携帯端末装置が保持する認証キーは、第2の親機に対しては正当な認証キーではない。このため、携帯端末装置と第2の親機との認証処理は失敗に終わる。   For example, by scanning a frequency band that can be used by the mobile terminal device, a first base device and a second base device having the same SSID as the SSID stored in the mobile device are detected, and the mobile terminal device Let us consider a case where the RSSI of the second base unit is higher than the signal strength of the first base unit (hereinafter referred to as RSSI (Received Signal Strength Indication)). In this case, first, association processing using the SSID is attempted between the second parent device having a high RSSI and the mobile terminal device. This association process succeeds because the SSID matches and does not require an authentication key. On the other hand, the authentication key held by the mobile terminal device is not a valid authentication key for the second parent device. For this reason, the authentication process between the mobile terminal device and the second master unit fails.

ところが、従来の技術を利用する携帯端末装置は、第2の親機とのアソシエーション処理が成功している場合、たとえその後の認証処理が失敗しても、第1の親機を含む他の親機とのアソシエーション処理を試みず、ふたたび利用可能な周波数帯域をスキャンする手順に戻ってしまう。このため、第1の親機のRSSI(所望の親機)よりも第2の親機のRSSIのほうが高い場合、従来の技術では、携帯端末装置と第1の親機とをWLAN接続することができない。   However, if the mobile terminal device using the conventional technology has succeeded in the association process with the second master unit, even if the subsequent authentication process fails, Return to the procedure to scan the available frequency band again without trying the association process. For this reason, when the RSSI of the second parent device is higher than the RSSI (desired parent device) of the first parent device, the conventional technology connects the mobile terminal device and the first parent device via WLAN. I can't.

本発明は、上述した事情を考慮してなされたもので、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続することができる携帯端末装置およびこの装置の無線LAN接続方法を提供することを目的とする。   The present invention has been made in consideration of the above-described circumstances. A portable terminal device capable of reliably establishing a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID, and the device An object of the present invention is to provide a wireless LAN connection method.

本発明に係る携帯端末装置は、上述した課題を解決するために、所望の親機の認証キーの情報を記憶した接続設定記憶部と、所定の基本サービスセット識別子の情報を記憶する除外リスト記憶部と、1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるスキャン制御部と、前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定する受信信号強度測定部と、前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得する識別子取得部と、前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うアソシエーション処理部と、前記アソシエーション処理が成功すると、前記接続試行対象の親機と協調して前記接続設定記憶部に記憶された前記認証キーを用いて認証処理を行う認証処理部と、前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から前記識別子取得部が取得した前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記スキャン制御部に前記信号の無線受信を再度試行させるよう制御する一方、前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立する接続確立部と、を備えたことを特徴とするものである。   In order to solve the above-described problem, the mobile terminal device according to the present invention includes a connection setting storage unit that stores information on an authentication key of a desired parent device, and an exclusion list storage that stores information on a predetermined basic service set identifier. Received from each of the one or more master units, the scan control unit that attempts to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of the one or more master units Stored in the received signal strength measuring unit for measuring the received strength of the signal, an identifier acquiring unit for acquiring the information on the service set identifier and the information on the basic service set identifier from the signal, and the exclusion list storage unit The one or other units other than the parent device that has given the signal including information of the same basic service set identifier as the predetermined basic service set identifier The basic service set identifier included in the signal given from the base unit that is the target of the connection trial, in order from the base unit that gave the signal having a high reception strength for the plurality of base units in order An association processing unit that performs an association process in cooperation with the connection trial target base unit using the information of the connection trial, and if the association process is successful, stores in the connection setting storage unit in cooperation with the connection trial target base unit An authentication processing unit that performs an authentication process using the authentication key that has been obtained, and the basic service set identifier that is acquired by the identifier acquisition unit from the signal that is given from the base unit that is the connection trial target if the authentication process fails Is stored as one of the predetermined basic service set identifiers in the exclusion list storage unit and the scan control unit stores the A connection establishment unit that determines that the connection-target parent device is the desired parent device and establishes a wireless LAN connection with the parent device when the authentication process is successful. It is characterized by comprising.

また、本発明に係る携帯端末装置は、上述した課題を解決するために、所望の親機のサービスセット識別子の情報と認証キーの情報とを関連付けて記憶した接続設定記憶部と、所定の基本サービスセット識別子の情報を記憶する除外リスト記憶部と、1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるスキャン制御部と、前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定する受信信号強度測定部と、前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得する識別子取得部と、前記接続設定記憶部に記憶された前記所望の親機のサービスセット識別子と同一のサービスセット識別子を含む前記信号を与えた親機のうち、前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うアソシエーション処理部と、前記アソシエーション処理が成功すると、この接続試行対象の親機から与えられた前記信号に含まれた前記サービスセット識別子を用いて前記接続設定記憶部を検索してこのサービスセット識別子に関連付けられた前記認証キーを抽出し、この抽出された認証キーを用いて前記接続試行対象の親機と協調して認証処理を行う認証処理部と、前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から前記識別子取得部が取得した前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記スキャン制御部に前記信号の無線受信を再度試行させるよう制御する一方、前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立する接続確立部と、を備えたことを特徴とするものである。   In addition, in order to solve the above-described problem, the mobile terminal device according to the present invention includes a connection setting storage unit that stores information on a service set identifier of a desired parent device and information on an authentication key in association with each other, and a predetermined basic An exclusion list storage unit that stores information on service set identifiers, a scan control unit that attempts to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of one or a plurality of master units, and A received signal strength measuring unit for measuring the received strength of the signal received from each of one or a plurality of base units; and an identifier acquiring unit for acquiring the service set identifier information and the basic service set identifier information from the signal And a service set identifier identical to the service set identifier of the desired master unit stored in the connection setting storage unit One or more of the parent devices that have given the signal include the parent device that has given the signal that includes the same basic service set identifier information as the predetermined basic service set identifier stored in the exclusion list storage unit Of the basic service set identifier included in the signal given from the base unit that is the target of the connection trial. An association processing unit for performing an association process in cooperation with the base unit to be connected using information, and the service included in the signal given from the base unit for the connection attempt when the association process is successful Search the connection setting storage unit using a set identifier to extract the authentication key associated with the service set identifier, An authentication processing unit that performs authentication processing in cooperation with the connection attempt target parent device using the extracted authentication key, and if the authentication processing fails, from the signal given from the connection attempt target parent device The basic service set identifier acquired by the identifier acquisition unit is stored in the exclusion list storage unit as one of the predetermined basic service set identifiers, and the scan control unit is controlled to retry the radio reception of the signal. On the other hand, when the authentication process is successful, a connection establishment unit that determines the parent device to be connected as the desired parent device and establishes a wireless LAN connection with the parent device is provided. It is.

一方、本発明に係る無線LAN接続方法は、上述した課題を解決するために、所望の親機との無線LAN接続を行う携帯端末装置の無線LAN接続方法であって、所望の親機の認証キーの情報を接続設定記憶部に記憶させるステップと、所定の基本サービスセット識別子の情報を除外リスト記憶部に記憶させるステップと、1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるステップと、前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定するステップと、前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得するステップと、前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うアソシエーション処理部と、前記アソシエーション処理が成功すると、前記接続試行対象の親機と協調して前記接続設定記憶部に記憶された前記認証キーを用いて認証処理を行うステップと、前記認証処理を行うステップで前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から取得された前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記信号の無線受信を試みるステップにもどるステップと、前記認証処理を行うステップで前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立するステップと、を有することを特徴とする方法である。   On the other hand, a wireless LAN connection method according to the present invention is a wireless LAN connection method for a portable terminal device that performs wireless LAN connection with a desired parent device in order to solve the above-described problems, and authentication of the desired parent device A step of storing key information in the connection setting storage unit; a step of storing information of a predetermined basic service set identifier in the exclusion list storage unit; and service set identifier information and basic information from each of one or a plurality of master units Attempting to wirelessly receive a signal including service set identifier information; measuring a reception strength of the signal received from each of the one or more master units; and information on the service set identifier from the signal; Obtaining basic service set identifier information; and the predetermined basic service stored in the exclusion list storage unit Wireless LAN connection in order from the parent device that gave the signal having the higher reception strength for the one or more parent devices except the parent device that gave the signal that includes the same basic service set identifier information as the network identifier. An association processing unit for performing an association process in cooperation with the connection attempt target base unit using information on the basic service set identifier included in the signal given from the connection target target base unit; When the association process is successful, the authentication process is performed using the authentication key stored in the connection setting storage unit in cooperation with the connection target parent unit and the authentication process. If the processing fails, the basic service set identifier acquired from the signal given from the base unit to be connected is set as the predetermined service. When the authentication process is successful in the step of returning to the step of trying to wirelessly receive the signal and storing the signal in the exclusion list storage unit as one of the basic service set identifiers and the step of performing the authentication process, Determining a machine as the desired parent machine and establishing a wireless LAN connection with the parent machine.

また、本発明に係る無線LAN接続方法は、上述した課題を解決するために、所望の親機との無線LAN接続を行う携帯端末装置の無線LAN接続方法であって、所望の親機のサービスセット識別子の情報と認証キーの情報とを関連付けて接続設定記憶部に記憶させるステップと、所定の基本サービスセット識別子の情報を除外リスト記憶部に記憶させるステップと、1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるステップと、前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定するステップと、前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得するステップと、前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うステップと、前記アソシエーション処理が成功すると、この接続試行対象の親機から与えられた前記信号に含まれた前記サービスセット識別子を用いて前記接続設定記憶部を検索してこのサービスセット識別子に関連付けられた前記認証キーを抽出し、この抽出された認証キーを用いて前記接続試行対象の親機と協調して認証処理を行うステップと、前記認証処理を行うステップで前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から取得された前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記信号の無線受信を試みるステップにもどるステップと、前記認証処理を行うステップで前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立するステップと、を有することを特徴とする方法である。   In addition, a wireless LAN connection method according to the present invention is a wireless LAN connection method for a mobile terminal device that performs wireless LAN connection with a desired parent device in order to solve the above-described problem, and the service of the desired parent device Storing the set identifier information and the authentication key information in the connection setting storage unit, storing the predetermined basic service set identifier information in the exclusion list storage unit, and each of the one or a plurality of parent devices And trying to wirelessly receive a signal including service set identifier information and basic service set identifier information, measuring the reception strength of the signal received from each of the one or more master units, and the signal Obtaining the service set identifier information and the basic service set identifier information from, and the exclusion list For the one or a plurality of parent devices excluding the parent device to which the signal including the information of the same basic service set identifier as the predetermined basic service set identifier stored in the storage unit is given, the signal having the high reception strength is transmitted. A wireless LAN connection is a trial target in order from the given master unit, and the basic service set identifier information included in the signal given from the master unit that is the connection trial target is used to cooperate with the connection trial target master unit And performing the association process, and when the association process is successful, the connection setting storage unit is searched by using the service set identifier included in the signal given from the connection target parent device. The authentication key associated with the service set identifier is extracted, and the extracted authentication key is used to cooperate with the parent device to be connected. If the authentication processing fails in the authentication processing step and the authentication processing step, the basic service set identifier obtained from the signal given from the connection target parent device is set to the predetermined basic When the authentication processing is successful in the step of returning to the step of attempting to wirelessly receive the signal and storing the signal in the exclusion list storage unit as one of the service set identifiers and the step of performing the authentication processing, And determining the desired master unit and establishing a wireless LAN connection with the master unit.

本発明に係る携帯端末装置およびこの装置の無線LAN接続方法によれば、携帯端末装置は、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続することができる。   According to the portable terminal device and the wireless LAN connection method of the device according to the present invention, the portable terminal device can reliably establish a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID. it can.

本発明に係る携帯端末装置の一実施形態を示す概略的な全体構成図。1 is a schematic overall configuration diagram showing an embodiment of a mobile terminal device according to the present invention. 携帯電話機および第1のAPの内部構成例を概略的に示すブロック図。The block diagram which shows roughly the internal structural example of a mobile telephone and 1st AP. 主制御部のCPUによる機能実現部の構成例を示す概略的なブロック図。The schematic block diagram which shows the structural example of the function implementation part by CPU of a main control part. リスト削除部により除外リスト記憶部に記憶されたデータが削除される条件の一例について示した説明図。Explanatory drawing shown about an example of the conditions by which the data memorize | stored in the exclusion list memory | storage part by the list deletion part are deleted. 従来の技術における、同一のSSIDを有する複数の親機が存在した場合のWLAN接続試行の手順を示すフローチャート。The flowchart which shows the procedure of the WLAN connection trial when the some main | base station which has the same SSID in the prior art exists. 本実施形態に係る携帯電話機における、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続する手順の一例を示すフローチャート。6 is a flowchart illustrating an example of a procedure for reliably establishing a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID in the mobile phone according to the present embodiment. 本実施形態に係る携帯電話機における、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続する手順の他の例を示すフローチャート。9 is a flowchart showing another example of a procedure for reliably establishing a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID in the mobile phone according to the present embodiment. 接続設定記憶部の内容の変更指示があると除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。The flowchart which shows the procedure in the case of deleting the data memorize | stored in the exclusion list memory | storage part, if there exists a change instruction | indication of the content of a connection setting memory | storage part. アクセスポイントの検索指示があると除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。6 is a flowchart showing a procedure for deleting data stored in an exclusion list storage unit when there is an access point search instruction. アクセスポイントの指定接続指示があると除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。The flowchart which shows the procedure in the case of deleting the data memorize | stored in the exclusion list memory | storage part, when there exists the designation | designated connection instruction of an access point. 無線LAN接続に関連する機能の利用要求があると除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。The flowchart which shows the procedure in the case of deleting the data memorize | stored in the exclusion list memory | storage part, when there exists a utilization request | requirement of the function relevant to wireless LAN connection. WLANの圏外となることにより生じるアクセスポイントの自動検索処理の周期が最大になると除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。The flowchart which shows the procedure in the case of deleting the data memorize | stored in the exclusion list | wrist memory | storage part, when the period of the automatic search process of the access point produced by becoming out of the area of WLAN becomes the maximum. 接続設定記憶部に記憶された他のSSIDを有するアクセスポイントが発見されると、除外リスト記憶部に記憶されたデータを削除する場合の手順を示すフローチャート。The flowchart which shows the procedure in the case of deleting the data memorize | stored in the exclusion list memory | storage part, if the access point which has another SSID memorize | stored in the connection setting memory | storage part is discovered.

本発明に係る携帯端末装置およびこの装置の無線LAN接続方法の実施の形態について、添付図面を参照して説明する。   Embodiments of a portable terminal device and a wireless LAN connection method of the device according to the present invention will be described with reference to the accompanying drawings.

図1は、本発明に係る携帯端末装置の一実施形態を示す概略的な全体構成図である。なお、本発明は、無線LAN接続可能な種々の携帯端末装置に適用することができる。本実施形態では、本発明に係る携帯端末装置として携帯電話機を用いる場合の一例について示す。   FIG. 1 is a schematic overall configuration diagram showing an embodiment of a mobile terminal device according to the present invention. The present invention can be applied to various portable terminal devices that can be connected to a wireless LAN. In the present embodiment, an example in which a mobile phone is used as the mobile terminal device according to the present invention will be described.

携帯電話機10は、IEEE802.11シリーズ(IEEE802.11a/b/g/j/nなど)の各方式に従ってアクセスポイント(以下、APという)とWLAN接続を確立することによりアクセスポイント(以下、APという)や他のWLAN接続可能な携帯端末装置(アドホックモード時)などの親機とWLAN接続を確立することにより無線通信(以下、WLAN通信という)によりデータの送受信を行うことができる。   The mobile phone 10 establishes a WLAN connection with an access point (hereinafter referred to as AP) in accordance with each method of the IEEE 802.11 series (IEEE 802.11a / b / g / j / n, etc.), thereby establishing an access point (hereinafter referred to as AP). ) And other mobile terminal devices capable of WLAN connection (in ad hoc mode), etc., by establishing a WLAN connection, data can be transmitted and received by wireless communication (hereinafter referred to as WLAN communication).

以下の説明では、携帯電話機10の周辺に、親機としての第1のAP11、第2のAP12および第3のAP13が存在する場合の例について示す。なお、第1のAP11および第3のAP13は、ユーザの所望の親機であり、第2のAP12はユーザにとって未知の不要な親機であるものとする。図1には、携帯電話機10が、第1のAP11および第2のAP12とWLAN通信可能な位置であり、かつ第3のAP13とはWLAN通信不能な位置に存在する場合の例について示した。   In the following description, an example in which the first AP 11, the second AP 12, and the third AP 13 as the base unit exist around the mobile phone 10 will be described. Note that the first AP 11 and the third AP 13 are user-desired master units, and the second AP 12 is an unnecessary master unit unknown to the user. FIG. 1 shows an example in which the mobile phone 10 is located at a position where WLAN communication with the first AP 11 and the second AP 12 is possible and is not possible with the third AP 13.

AP11〜13は、LAN100を構築する。このLAN100は、有線または無線によりインターネット網101に接続されている。   The APs 11 to 13 construct the LAN 100. The LAN 100 is connected to the Internet network 101 by wire or wireless.

各AP11〜13はそれぞれSSID(サービスセット識別子、ESSIDを含む)、およびMACアドレスなどにより構成される各機器固有の基本サービスセット識別子(Basic SSID、以下BSSIDという)を有する。以下の説明では、便宜上、SSIDおよびBSSIDともに三桁のアルファベット文字列で表現するものとする。   Each AP 11 to 13 has an SSID (including service set identifier and ESSID), a basic service set identifier (Basic SSID, hereinafter referred to as BSSID) unique to each device, which is configured by a MAC address and the like. In the following description, for convenience, both the SSID and BSSID are expressed by a three-digit alphabet character string.

図1に示すように、所望の親機としての第1のAP11は、SSIDとしてABCを、BSSIDとしてabcを有する。不要な親機としての第2のAP12は、第1のAP11と同一のSSIDであるABCを、BSSIDとしてdefを有する。また、所望の親機としての第3のAP13は、SSIDとしてXYZを、BSSIDとしてxyzを有する。なお、不要な親機とは、所望の親機とのWLAN接続処理を妨害するおそれのある親機をいうものとする。   As shown in FIG. 1, the first AP 11 as a desired parent device has ABC as the SSID and abc as the BSSID. The second AP 12 as an unnecessary parent device has ABC, which is the same SSID as the first AP 11, and def as the BSSID. Further, the third AP 13 as a desired parent device has XYZ as the SSID and xyz as the BSSID. Note that an unnecessary parent device refers to a parent device that may interfere with a WLAN connection process with a desired parent device.

携帯電話機10は、第1のユニット21、第2のユニット22および第2のユニット22に対し第1のユニット21を開閉自在に連結する連結部23を有する。   The cellular phone 10 includes a connecting unit 23 that connects the first unit 21 to the first unit 21, the second unit 22, and the second unit 22 so that the first unit 21 can be freely opened and closed.

図1に示すように、第2のユニット22は、第1のユニット21に対して、開閉軸を中心として開閉自在となるように、連結部23(ヒンジ)を介して連結される。第2の筐体22が開閉軸を中心として回転することにより、携帯電話機20は、開いている状態(図1参照)と閉じた状態とで位置決めすることができる。   As shown in FIG. 1, the second unit 22 is connected to the first unit 21 via a connecting portion 23 (hinge) so as to be openable / closable around an opening / closing axis. By rotating the second casing 22 about the opening / closing axis, the mobile phone 20 can be positioned in an open state (see FIG. 1) and a closed state.

第1のユニット21は、薄い箱形の筐体を有し、この筐体の上面の表面上には、入力部24およびマイクロフォン25が設けられる。第2のユニット22は、薄い箱形の筐体を有し、この筐体上面の表面上には、表示部26およびレシーバ27が設けられる。   The first unit 21 has a thin box-shaped housing, and an input unit 24 and a microphone 25 are provided on the upper surface of the housing. The second unit 22 has a thin box-shaped housing, and a display unit 26 and a receiver 27 are provided on the upper surface of the housing.

入力部24は、たとえばテンキー、タッチパネルなどの一般的な入力装置により構成され、ユーザの入力操作に対応した信号を出力する。なお、入力部24の一部を回転入力部により構成してもよい。回転入力部は、回転操作に応じた信号を出力する入力装置であり、たとえば磁気式ロータリーエンコーダなどにより構成される。この回転入力部は、たとえば回転リングを介してユーザにより操作され、所定の回転量だけ回転するごとに、正逆の回転方向に応じて回転信号を出力する。   The input unit 24 is configured by a general input device such as a numeric keypad or a touch panel, and outputs a signal corresponding to a user input operation. In addition, you may comprise a part of input part 24 by a rotation input part. The rotation input unit is an input device that outputs a signal according to a rotation operation, and is configured by, for example, a magnetic rotary encoder. This rotation input unit is operated by a user through, for example, a rotation ring, and outputs a rotation signal according to the normal and reverse rotation directions each time the rotation input unit rotates by a predetermined rotation amount.

マイクロフォン25は、ユーザによって入力された音声をディジタル音声信号に変換する。   The microphone 25 converts voice input by the user into a digital voice signal.

表示部26は、たとえば液晶ディスプレイやOLED(Organic Light Emitting Device)ディスプレイなどの一般的な表示出力装置により構成され、表示部26の背景画像(壁紙)、壁紙に重畳表示される電池残量や電波強度を概略的に示す画像などの各種アイコンや、着信時に表示される画像および映像などを表示する。   The display unit 26 is configured by a general display output device such as a liquid crystal display or an OLED (Organic Light Emitting Device) display, for example, and displays a background image (wallpaper) of the display unit 26, a remaining battery level and radio waves superimposed on the wallpaper. Various icons such as an image that schematically shows the intensity, and an image and video that are displayed when an incoming call is received are displayed.

レシーバ27は、受話音声をはじめとした各種の情報に対応した音声を出力する。   The receiver 27 outputs sound corresponding to various information including received voice.

図2は、携帯電話機10および第1のAP11の内部構成例を概略的に示すブロック図である。なお、第2のAP12および第3のAP13の構成については第1のAP11と同様であるため説明を省略する。   FIG. 2 is a block diagram schematically showing an internal configuration example of the mobile phone 10 and the first AP 11. Note that the configuration of the second AP 12 and the third AP 13 is the same as that of the first AP 11, and thus the description thereof is omitted.

携帯電話機10は、図1に示した入力部24、マイクロフォン25、表示部26、レシーバ27などのほか、少なくとも移動体通信用アンテナ31、移動体通信部32、WLAN通信用アンテナ33、WLAN通信部34、受信信号強度測定部35、接続設定記憶部36、除外リスト記憶部37および主制御部38を有する。   The mobile phone 10 includes at least a mobile communication antenna 31, a mobile communication unit 32, a WLAN communication antenna 33, a WLAN communication unit, in addition to the input unit 24, the microphone 25, the display unit 26, the receiver 27, and the like shown in FIG. 34, a received signal strength measuring unit 35, a connection setting storage unit 36, an exclusion list storage unit 37, and a main control unit 38.

第1のAP11は、WLAN通信用アンテナ41、WLAN通信部42、接続制御部43および識別子記憶部44を有する。   The first AP 11 includes a WLAN communication antenna 41, a WLAN communication unit 42, a connection control unit 43, and an identifier storage unit 44.

移動体通信部32は、主制御部38に制御されて、移動体通信用アンテナ31を介して、移動体通信網102を介した音声およびデータの送受信を行う。   The mobile communication unit 32 is controlled by the main control unit 38 to transmit and receive voice and data via the mobile communication network 102 via the mobile communication antenna 31.

WLAN通信部34は、主制御部38に制御されて、WLAN通信用アンテナ33を介して親機とWLAN通信によるデータの送受信を行う。たとえば、WLAN通信部34は、WLAN通信用アンテナ33および第1のAP11のWLAN通信用アンテナ部41を介して、第1のAP11のWLAN通信部42とデータの送受信を行う。   The WLAN communication unit 34 is controlled by the main control unit 38 to transmit / receive data to / from the base unit via the WLAN communication antenna 33. For example, the WLAN communication unit 34 transmits / receives data to / from the WLAN communication unit 42 of the first AP 11 via the WLAN communication antenna 33 and the WLAN communication antenna unit 41 of the first AP 11.

第1のAP11の接続制御部43は、携帯電話機10からのprobe requestに応じて、識別子記憶部44に記憶された自機のSSID(ABC)およびBSSID(abc)の情報を含む信号により構成されたprobe responseを、携帯電話機10に送信する。   The connection control unit 43 of the first AP 11 is configured by a signal including information on its own SSID (ABC) and BSSID (abc) stored in the identifier storage unit 44 in response to a probe request from the mobile phone 10. The probe response is transmitted to the mobile phone 10.

受信信号強度測定部35は、WLAN通信用アンテナ33が受信した第1〜第3のAP11〜13などの親機からの信号の受信強度(RSSI)を測定し、このRSSIの値を主制御部38に与える。   The received signal strength measuring unit 35 measures the received strength (RSSI) of a signal received from the base unit such as the first to third APs 11 to 13 received by the WLAN communication antenna 33, and the RSSI value is used as a main control unit. 38.

接続設定記憶部36は、所望の親機のSSIDの情報と認証キーの情報とを関連付けてあらかじめ記憶しておく。本実施形態では、接続設定記憶部36に、第1のAP11のSSID(ABC)および認証キー(abc)と、第3のAP13のSSID(XYZ)および認証キー(xyz)とがあらかじめ記憶されている場合の例について説明する。   The connection setting storage unit 36 stores the SSID information of the desired parent device and the authentication key information in advance in association with each other. In the present embodiment, the SSID (ABC) and authentication key (abc) of the first AP 11 and the SSID (XYZ) and authentication key (xyz) of the third AP 13 are stored in the connection setting storage unit 36 in advance. An example of the case will be described.

除外リスト記憶部37は、主制御部38により制御されて、所定のBSSIDを記憶する。所定のBSSIDとは、ユーザにとって不要な親機のBSSIDをいう。   The exclusion list storage unit 37 is controlled by the main control unit 38 and stores a predetermined BSSID. The predetermined BSSID is a BSSID of the base unit unnecessary for the user.

主制御部38は、CPU、RAMおよびROMをはじめとする記憶媒体などにより構成され、この記憶媒体に記憶されたプログラムに従って、携帯電話機10の動作を制御する。   The main control unit 38 is configured by a storage medium such as a CPU, a RAM, and a ROM, and controls the operation of the mobile phone 10 according to a program stored in the storage medium.

主制御部38のCPUは、ROMをはじめとする記憶媒体に記憶されたWLAN接続プログラムおよびこのプログラムの実行のために必要なデータをRAMへロードし、このプログラムに従って、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続する処理を実行する。   The CPU of the main control unit 38 loads a WLAN connection program stored in a storage medium such as a ROM and data necessary for the execution of the program into the RAM, and a plurality of the same SSIDs according to the program. Even if a parent device exists, a process for reliably establishing a WLAN connection with a desired parent device is executed.

主制御部38のRAMは、主制御部38のCPUが実行するプログラムおよびデータを一時的に格納するワークエリアを提供する。   The RAM of the main control unit 38 provides a work area for temporarily storing programs and data executed by the CPU of the main control unit 38.

主制御部38のROMをはじめとする記憶媒体は、携帯電話機10の起動プログラム、WLANアプリケーションプログラム、WLANプロトコル制御プログラム、IP管理プログラムや、これらのプログラムを実行するために必要な各種データを記憶する。   The storage medium including the ROM of the main control unit 38 stores a startup program for the mobile phone 10, a WLAN application program, a WLAN protocol control program, an IP management program, and various data necessary for executing these programs. .

なお、ROMをはじめとする記憶媒体は、磁気的もしくは光学的記録媒体や半導体メモリやや図示しないカードスロットに装着されたUIM(User Identity Module)カードなどの、CPUにより読み取り可能な記録媒体を含んだ構成を有し、これら記憶媒体内のプログラムおよびデータの一部または全部は電子ネットワークを介してダウンロードされるように構成してもよい。   Note that ROM and other storage media include CPU-readable recording media such as magnetic or optical recording media, semiconductor memories, and UIM (User Identity Module) cards installed in card slots (not shown). The program and data in the storage medium may be partly or wholly downloaded via an electronic network.

ここで電子ネットワークとは、電気通信技術を利用した情報通信網全般を意味し、有線/無線LANやインターネット網101のほか、BT通信により構築された通信網、移動体通信回線網102を含む電話通信回線網、光ファイバ通信ネットワーク、ケーブル通信ネットワークおよび衛星通信ネットワークなどを含む。   Here, the electronic network means an entire information communication network using telecommunications technology. In addition to a wired / wireless LAN and the Internet network 101, a telephone including a communication network constructed by BT communication and a mobile communication network 102. Communication network, optical fiber communication network, cable communication network, satellite communication network, etc. are included.

図3は、主制御部38のCPUによる機能実現部の構成例を示す概略的なブロック図である。なお、この機能実現部は、CPUを用いることなく回路などのハードウエアロジックによって構成してもよい。   FIG. 3 is a schematic block diagram illustrating a configuration example of the function realization unit by the CPU of the main control unit 38. In addition, this function realization part may be comprised by hardware logics, such as a circuit, without using CPU.

主制御部38のCPUは、WLANアプリケーションプログラムによってWLAN通信管理部51として機能するとともに、WLANプロトコル制御プログラムによってWLANプロトコル制御部52として機能する。このWLANプロトコル制御部は、スキャン制御部53、識別子取得部54、接続対象リスト作成部55、アソシエーション処理部56、認証処理部57、接続確立部58およびリスト削除部59を有する。また、主制御部38のCPUは、IP管理プログラムによってIP管理部60として機能する。この各部51〜60は、RAMの所要のワークエリアを、データの一時的な格納場所として利用する。   The CPU of the main control unit 38 functions as the WLAN communication management unit 51 by the WLAN application program and functions as the WLAN protocol control unit 52 by the WLAN protocol control program. The WLAN protocol control unit includes a scan control unit 53, an identifier acquisition unit 54, a connection target list creation unit 55, an association processing unit 56, an authentication processing unit 57, a connection establishment unit 58, and a list deletion unit 59. The CPU of the main control unit 38 functions as the IP management unit 60 by the IP management program. Each of the units 51 to 60 uses a required work area of the RAM as a temporary storage location for data.

WLAN通信管理部51は、携帯電話機10のWLAN接続を含むWLAN通信に関する情報の全般を管理する。WLAN通信管理部51は、WLAN通信に関する情報について表示部26を介してユーザに提示したり、WLAN接続に関する各種設定についてのユーザからの指示を受け付けたりする。具体的には、たとえば、WLAN通信管理部51は、WLAN接続の各種設定を行うための画像を表示部26に表示する。ユーザは、この画像にもとづいて入力部24を介して指示を行うことにより、WLANプロトコル制御部52およびWLAN通信部34を介して親機の手動検索を実行させ、あるいは所望の親機の登録情報(SSIDおよび認証キーなど)を編集したりなどの、WLAN接続に関する各種指示を携帯電話機10に対して行うことができる。   The WLAN communication management unit 51 manages all information related to WLAN communication including WLAN connection of the mobile phone 10. The WLAN communication management unit 51 presents information related to the WLAN communication to the user via the display unit 26, and receives instructions from the user regarding various settings related to the WLAN connection. Specifically, for example, the WLAN communication management unit 51 displays an image for performing various settings for WLAN connection on the display unit 26. The user performs a manual search for the master unit via the WLAN protocol control unit 52 and the WLAN communication unit 34 by giving an instruction via the input unit 24 based on the image, or registration information of a desired master unit. Various instructions related to the WLAN connection such as editing (SSID and authentication key) can be given to the mobile phone 10.

WLANプロトコル制御部52は、WLAN通信管理部51により制御されて、WLAN通信部34と協調して親機とのWLAN通信を行う。   The WLAN protocol control unit 52 is controlled by the WLAN communication management unit 51 and performs WLAN communication with the parent device in cooperation with the WLAN communication unit 34.

スキャン制御部53は、WLAN通信管理部51に制御されて利用可能な周波数帯域をスキャンし、WLAN通信可能な距離に存在する親機のそれぞれから、SSIDの情報およびBSSIDの情報を含む信号の無線受信を試みる。   The scan control unit 53 scans a usable frequency band under the control of the WLAN communication management unit 51, and wirelessly transmits a signal including SSID information and BSSID information from each of the parent devices existing at a distance where WLAN communication is possible. Try to receive.

たとえば、WLAN通信管理部51によりSSID指定によるアクティブスキャンを行うべき旨の指示があると、スキャン制御部53は、接続設定記憶部36に記憶されたSSIDをブロードキャストしてprobe requestを行い、このブロードキャストしたSSIDを有する親機からのprobe responseを待つ。probe responseは、親機のSSIDおよびBSSIDの情報を含む信号により構成される。いわゆるANYによるアクティブスキャンを行う場合には、スキャン制御部53は、ANY接続許可の親機からのprobe responseを待つことになる
また、スキャン制御部53は、パッシブスキャンを行ってもよい。パッシブスキャンを行う場合、ビーコンにSSIDの情報が含まれていないときは、スキャン制御部53は、ビーコンを発信した親機に対して接続設定記憶部36に記憶されたSSIDを送信する。また、ビーコンにSSIDの情報が含まれているときは、接続設定記憶部36にはSSIDが1つも含まれず認証キーの情報のみが記憶されていてもよく、スキャン制御部53は、このビーコンに含まれたSSIDを送信する。SSIDが合致した場合、親機は、SSIDおよびBSSIDを含む信号を携帯電話機10に送信する。
For example, when there is an instruction from the WLAN communication management unit 51 to perform an active scan by specifying an SSID, the scan control unit 53 broadcasts the SSID stored in the connection setting storage unit 36 and performs a probe request. Waits for a probe response from the parent device having the SSID. The probe response is composed of a signal including information on the SSID and BSSID of the parent device. When performing so-called active scanning by ANY, the scan control unit 53 waits for a probe response from the parent device that permits ANY connection. Further, the scan control unit 53 may perform passive scanning. When performing passive scanning, if the SSID information is not included in the beacon, the scan control unit 53 transmits the SSID stored in the connection setting storage unit 36 to the parent device that has transmitted the beacon. Further, when the SSID information is included in the beacon, the connection setting storage unit 36 may not include any SSID, but only the authentication key information may be stored, and the scan control unit 53 may include the beacon. Send the included SSID. When the SSID matches, the base unit transmits a signal including the SSID and BSSID to the mobile phone 10.

識別子取得部54は、親機から受信した信号からSSIDとBSSIDとを抽出して取得し、接続対象リスト作成部55に与える。   The identifier acquisition unit 54 extracts and acquires the SSID and BSSID from the signal received from the parent device, and provides the connection target list creation unit 55 with the SSID and BSSID.

接続対象リスト作成部55は、受信信号強度測定部35から、親機ごとのRSSI(受信信号強度)の情報を受ける。また、識別子取得部54からSSIDとBSSIDの情報を受ける。接続対象リスト作成部55は、これらの情報にもとづいて、接続設定記憶部に記憶されたSSIDと同一のSSIDを含む信号を送信した親機からなる接続試行対象のリスト(以下、接続リストという)を作成する。接続対象リスト作成部55は、この接続リストのうち、RSSI強度が高いものから順に優先度を付加する。   The connection target list creating unit 55 receives RSSI (received signal strength) information for each parent device from the received signal strength measuring unit 35. In addition, the SSID and BSSID information is received from the identifier acquisition unit 54. Based on these pieces of information, the connection target list creating unit 55 is a list of connection trial targets (hereinafter referred to as a connection list) consisting of a parent device that has transmitted a signal including the same SSID as the SSID stored in the connection setting storage unit. Create The connection target list creation unit 55 adds priorities from the connection list in descending order of RSSI strength.

アソシエーション処理部56は、接続対象リスト作成部55により作成された接続リストに存在する親機について、優先度が高い(RSSIが高い)親機から順に接続試行対象とし、親機と協調してBSSIDを利用してアソシエーション処理を試みる。除外リスト記憶部37に記憶されたBSSIDがある場合は、アソシエーション処理部56は、この除外リスト記憶部37に記憶されたBSSIDを送信した親機を処理対象から除外する。   The association processing unit 56 sets the base units existing in the connection list created by the connection target list creation unit 55 as connection trial targets in order from the base unit with the highest priority (high RSSI), and cooperates with the base unit to perform BSSID. Try the association process using. If there is a BSSID stored in the exclusion list storage unit 37, the association processing unit 56 excludes the parent device that has transmitted the BSSID stored in the exclusion list storage unit 37 from the processing target.

認証処理部57は、アソシエーション処理が成功した親機について、この親機から受信した信号から識別子取得部54が取得したSSIDを用いて接続設定記憶部36を検索し、このSSIDに関連付けられた認証キーを抽出する。認証処理部57は、この認証キーを用いて、親機と協調してWPAによる認証を行う。   The authentication processing unit 57 searches the connection setting storage unit 36 using the SSID acquired by the identifier acquisition unit 54 from the signal received from the parent device for the parent device that has succeeded in the association processing, and the authentication associated with the SSID. Extract the key. Using this authentication key, the authentication processing unit 57 performs authentication by WPA in cooperation with the parent device.

接続確立部58は、認証処理部57による認証処理が失敗すると、この失敗した接続試行対象の親機のBSSIDを除外リスト記憶部37に記憶させるとともに、スキャン制御部53を制御してWLAN通信可能な距離に存在する親機のそれぞれからSSIDの情報およびBSSIDの情報を含む信号の無線受信を再度試みさせる。一方、認証処理部57による認証処理が成功すると、接続確立部58は、IP管理部60と協調して親機からIPアドレス割当てを受け、親機とのWLAN接続を確立する。   When the authentication processing by the authentication processing unit 57 fails, the connection establishing unit 58 stores the BSSID of the failed connection attempt target base unit in the exclusion list storage unit 37 and controls the scan control unit 53 to enable WLAN communication. The wireless reception of a signal including SSID information and BSSID information is retried from each of the parent devices existing at a certain distance. On the other hand, when the authentication processing by the authentication processing unit 57 is successful, the connection establishment unit 58 receives an IP address assignment from the parent device in cooperation with the IP management unit 60 and establishes a WLAN connection with the parent device.

図4は、リスト削除部59により除外リスト記憶部37に記憶されたデータが削除される条件の一例について示した説明図である。   FIG. 4 is an explanatory diagram showing an example of conditions under which data stored in the exclusion list storage unit 37 is deleted by the list deletion unit 59.

リスト削除部59は、所定の条件(図4参照)に応じて除外リスト記憶部37に記憶されたデータを削除する。   The list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 according to a predetermined condition (see FIG. 4).

所望の親機のBSSIDであっても、所望の親機との認証処理中に何らかのトラブルにより認証が失敗してしまうと除外リスト記憶部37に記憶されてしまう場合がある。この場合、所望の親機とWLAN接続を確立することができない。そこで、リスト削除部59は、様々な機会をとらえて除外リスト記憶部37のデータを削除するとよい。除外リスト記憶部37のデータを削除することにより再度不要な親機とアソシエーション処理を行う時間を要してしまうことは欠点ではあるものの、この欠点よりも、所望の親機とWLAN接続できなくなってしまう欠点のほうが重大だと考えられるためである。   Even if the BSSID of the desired parent device is stored in the exclusion list storage unit 37 if the authentication fails due to some trouble during the authentication process with the desired parent device. In this case, it is not possible to establish a WLAN connection with a desired parent device. Therefore, the list deletion unit 59 may delete the data in the exclusion list storage unit 37 taking various occasions. Although it is a disadvantage that deleting the data in the exclusion list storage unit 37 again takes time to perform association processing with an unnecessary parent device, it is not possible to establish a WLAN connection with a desired parent device. This is because the shortcoming is considered to be more serious.

次に、本実施形態に係る携帯電話機10の動作の一例について説明する。なお、以下の説明においては、携帯電話機10が、第1のAP11および第2のAP12とWLAN通信可能な位置であり、かつ第3のAP13とはWLAN通信不能な位置に存在する場合の例(図1参照)について示す。また、接続設定記憶部36には、第1のAP11のSSID(ABC)および認証キー(abc)と、第3のAP13のSSID(XYZ)および認証キー(xyz)とがあらかじめ記憶されているものとする。さらに、親機の検索は、接続設定記憶部36に記憶されたSSIDを指定したアクティブスキャンにより行うものとする。   Next, an example of the operation of the mobile phone 10 according to the present embodiment will be described. In the following description, an example in which the mobile phone 10 is in a position where WLAN communication is possible with the first AP 11 and the second AP 12 and is not possible for WLAN communication with the third AP 13 ( (See FIG. 1). The connection setting storage unit 36 stores in advance the SSID (ABC) and authentication key (abc) of the first AP 11 and the SSID (XYZ) and authentication key (xyz) of the third AP 13. And Further, the search for the parent device is performed by active scan designating the SSID stored in the connection setting storage unit 36.

まず、従来の技術における、同一のSSIDを有する複数の親機が存在した場合のWLAN接続試行処理について説明する。   First, WLAN connection trial processing in the case where there are a plurality of parent devices having the same SSID in the prior art will be described.

図5は、従来の技術における、同一のSSIDを有する複数の親機が存在した場合のWLAN接続試行の手順を示すフローチャートである。   FIG. 5 is a flowchart showing a procedure of a WLAN connection attempt when there are a plurality of parent devices having the same SSID in the prior art.

従来の技術では、同一のSSIDを有する複数の親機が存在する場合、不要な親機のRSSIのほうが高いと、所望の親機とのWLAN接続を確立することができない。以下詳細に説明する。   In the conventional technique, when there are a plurality of parent devices having the same SSID, if the RSSI of the unnecessary parent device is higher, the WLAN connection with the desired parent device cannot be established. This will be described in detail below.

ステップS1において、WLAN通信管理部51は、WLANプロトコル制御部52に対し、接続設定記憶部36に記憶されたSSIDであるABCおよびXYZについてのアクティブスキャン要求を行う。   In step S <b> 1, the WLAN communication management unit 51 makes an active scan request for ABC and XYZ, which are SSIDs stored in the connection setting storage unit 36, to the WLAN protocol control unit 52.

次に、ステップS2において、スキャン制御部53は、WLAN通信部34に対し、接続設定記憶部36に記憶されたSSIDであるABCおよびXYZについてのアクティブスキャン要求を行う。   Next, in step S <b> 2, the scan control unit 53 issues an active scan request for ABC and XYZ, which are SSIDs stored in the connection setting storage unit 36, to the WLAN communication unit 34.

次に、ステップS3において、WLAN通信部34は、スキャン制御部53と協調して、接続設定記憶部36に記憶されたSSIDであるABCおよびXYZについてのアクティブスキャンを行う。   Next, in step S <b> 3, the WLAN communication unit 34 performs an active scan for ABC and XYZ, which are SSIDs stored in the connection setting storage unit 36, in cooperation with the scan control unit 53.

次に、ステップS4において、スキャン制御部53は、WLAN通信部34を介してアクティブスキャンの結果を受ける。本実施形態においては、携帯電話機10が、第1のAP11および第2のAP12とWLAN通信可能な位置であり、かつ第3のAP13とはWLAN通信不能な位置に存在する。このため、SSID(XYZ)を有する第3のAP13からのprobe responseはない。一方、第1のAP11および第2のAP12は、接続設定記憶部36に記憶されたSSIDと同一のSSID(ABC)を有するため、probe responseとして自機のSSIDおよびBSSIDの情報を含む信号を送信する。スキャン制御部53は、この信号を識別子取得部54に与える。   In step S4, the scan control unit 53 receives the result of the active scan via the WLAN communication unit 34. In the present embodiment, the mobile phone 10 is in a position where WLAN communication is possible with the first AP 11 and the second AP 12 and is in a position where WLAN communication is not possible with the third AP 13. For this reason, there is no probe response from the third AP 13 having SSID (XYZ). On the other hand, since the first AP 11 and the second AP 12 have the same SSID (ABC) as the SSID stored in the connection setting storage unit 36, the first AP 11 and the second AP 12 transmit a signal including SSID and BSSID information of their own as a probe response. To do. The scan control unit 53 gives this signal to the identifier acquisition unit 54.

次に、ステップS5において、接続対象リスト作成部55は、識別子取得部54から第1のAP11および第2のAP12のSSIDとBSSIDの情報を受ける。また、受信信号強度測定部35から、第1のAP11および第2のAP12から受信した信号のRSSIの情報を受ける。図1に示す例では、携帯電話機10に対して第1のAP11よりも第2のAP12のほうが近い位置に存在するため、第1のAP11からの受信信号よりも第2のAP12からの受信信号のRSSIのほうが高い。このため、接続対象リスト作成部55は、第1のAP11および第2のAP12のSSIDおよびBSSIDにより構成され、第2のAP12の接続試行優先度のほうが高い接続リストを作成する。なお、ステップS5においては、まだ除外リスト記憶部37には何も記憶されていない。   Next, in step S <b> 5, the connection target list creation unit 55 receives the SSID and BSSID information of the first AP 11 and the second AP 12 from the identifier acquisition unit 54. Further, the received signal strength measurement unit 35 receives RSSI information of signals received from the first AP 11 and the second AP 12. In the example shown in FIG. 1, since the second AP 12 is closer to the mobile phone 10 than the first AP 11, the received signal from the second AP 12 is higher than the received signal from the first AP 11. RSSI is higher. Therefore, the connection target list creation unit 55 creates a connection list that is configured by the SSIDs and BSSIDs of the first AP 11 and the second AP 12 and has a higher connection trial priority of the second AP 12. In step S5, nothing is stored in the exclusion list storage unit 37 yet.

次に、ステップS6において、アソシエーション処理部56は、接続対象リスト作成部55により作成された接続リストに存在する親機について、優先度が高い(RSSIが高い)親機(第2のAP12)から順に接続試行対象とし、第2のAP12と協調してBSSID(xyz)を利用してアソシエーション処理を試みる。第2のAP12の正確なBSSID(xyz)は既に識別子取得部54により取得されているため、このアソシエーション処理は成功する。   Next, in step S6, the association processing unit 56 starts with the parent device (second AP 12) having a high priority (high RSSI) for the parent device existing in the connection list created by the connection target list creating unit 55. The connection processing is sequentially performed, and the association process is attempted using BSSID (xyz) in cooperation with the second AP 12. Since the accurate BSSID (xyz) of the second AP 12 has already been acquired by the identifier acquisition unit 54, this association process is successful.

次に、ステップS7において、認証処理部57は、第2のAP12から受信した信号から識別子取得部54が取得したSSID(ABC)を用いて接続設定記憶部36を検索し、このSSID(ABC)に関連付けられた認証キー(abc)を抽出する。認証処理部57は、この認証キーを用いて、第2のAP12と協調してWPAによる認証を行う。   Next, in step S7, the authentication processing unit 57 searches the connection setting storage unit 36 using the SSID (ABC) acquired by the identifier acquisition unit 54 from the signal received from the second AP 12, and this SSID (ABC) The authentication key (abc) associated with is extracted. The authentication processing unit 57 performs authentication by WPA in cooperation with the second AP 12 using this authentication key.

接続設定記憶部36には、所望の親機である第1のAP11のSSID(ABC)に対応する認証キー(abc)が記憶されている。この認証キー(abc)は、第2のAP12の正当な認証キー(xyz)とは異なる。認証キーは、各親機に固有の情報だからである。したがって、この認証処理は失敗に終わる。   The connection setting storage unit 36 stores an authentication key (abc) corresponding to the SSID (ABC) of the first AP 11 that is a desired parent device. This authentication key (abc) is different from the legitimate authentication key (xyz) of the second AP 12. This is because the authentication key is information unique to each parent device. Therefore, this authentication process ends in failure.

次に、ステップS8において、WLAN通信部53は、第2のAP12から認証が失敗した旨の信号であるDeauth(entication)信号を受信する。   Next, in step S8, the WLAN communication unit 53 receives a Deauth (entication) signal that is a signal indicating that the authentication has failed from the second AP 12.

次に、ステップS9において、認証確立部58は、WLAN通信部53から認証失敗またはアソシエーション失敗の旨の信号であるDeauth(entication)/Disassoc(iation)信号を受信する。   Next, in step S <b> 9, the authentication establishment unit 58 receives a Deauth (entication) / Disassoc (iation) signal, which is a signal indicating authentication failure or association failure, from the WLAN communication unit 53.

次に、ステップS10において、認証確立部58は、WLAN通信管理部51に対し、Disassoc信号を送信する。   Next, in step S <b> 10, the authentication establishment unit 58 transmits a Disassoc signal to the WLAN communication management unit 51.

次に、ステップS11において、WLAN通信管理部51は、認証確立部58からDisassoc信号を受信すると、再びステップS1と同様に、WLANプロトコル制御部52に対し、接続設定記憶部36に記憶されたSSIDであるABCおよびXYZについてのアクティブスキャン要求を行う。   Next, in step S11, when the WLAN communication management unit 51 receives the Disassoc signal from the authentication establishment unit 58, the SSID stored in the connection setting storage unit 36 is again transmitted to the WLAN protocol control unit 52 as in step S1. Active scan requests for ABC and XYZ.

これ以降、ステップS2からステップS11(ステップS1からステップS10)の手順が繰り返される。   Thereafter, the procedure from step S2 to step S11 (step S1 to step S10) is repeated.

以上の手順から明らかなように、1つの親機とのアソシエーション処理が成功している場合、たとえその後の認証処理が失敗しても、ふたたび利用可能な周波数帯域をスキャンする手順に戻ってしまう。このため、従来の技術では、携帯電話機は、同一のSSIDを有する複数の親機が存在する場合、不要な親機のRSSIのほうが高いと、この不要な親機に対するWLAN接続を試みては失敗することを繰り返してしまい、所望の親機とのWLAN接続を確立することができない。   As is clear from the above procedure, if the association process with one parent device is successful, the procedure returns to the procedure for scanning the available frequency band again even if the subsequent authentication process fails. For this reason, in the conventional technology, when there are a plurality of base units having the same SSID, if the RSSI of the unnecessary base unit is higher, the mobile phone fails in trying to connect to the unnecessary base unit via WLAN. The WLAN connection with the desired base unit cannot be established.

そこで、本実施形態に係る携帯電話機10は、アソシエーション処理が成功した後に認証処理が失敗した場合には、このWLAN接続試行対象の親機のBSSIDを除外リストに加えてしまい、次回以降のWLAN接続試行の対象から外すようにする。   Therefore, when the authentication process fails after the association process is successful, the mobile phone 10 according to the present embodiment adds the BSSID of the parent device that is the target of the WLAN connection attempt to the exclusion list, and the next WLAN connection or later Remove from trial.

図6は、本実施形態に係る携帯電話機10における、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続する手順の一例を示すフローチャートである。図5と同等のステップには同一符号を付し、重複する説明を省略する。   FIG. 6 is a flowchart illustrating an example of a procedure for reliably establishing a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID in the mobile phone 10 according to the present embodiment. Steps equivalent to those in FIG. 5 are denoted by the same reference numerals, and redundant description is omitted.

ステップS9でWLAN通信部53から認証失敗またはアソシエーション失敗の旨の信号であるDeauth(entication)/Disassoc(iation)信号を受信すると、ステップS21において、認証確立部58は、この失敗した接続試行対象の親機である第2のAP12のBSSID(xyz)を除外リスト記憶部37に記憶させる。   In step S9, when a Deauth (entication) / Disassoc (iation) signal, which is a signal indicating an authentication failure or an association failure, is received from the WLAN communication unit 53, in step S21, the authentication establishing unit 58 selects the failed connection attempt target. The BSSID (xyz) of the second AP 12 that is the parent device is stored in the exclusion list storage unit 37.

ステップS11、S22〜S24において、ステップS1〜S4と同等の手順が実行された後、ステップS25において、接続対象リスト作成部55は、ステップS5で作成したのと同一の接続リストを作成する。   In steps S11 and S22 to S24, after a procedure equivalent to that in steps S1 to S4 is executed, in step S25, the connection target list creation unit 55 creates the same connection list as created in step S5.

次に、ステップS26において、アソシエーション処理部56は、接続対象リスト作成部55により作成された接続リストに存在する親機について、優先度が高い(RSSIが高い)親機から順に接続試行対象とする。このとき、アソシエーション処理部56は、このリストの親機のうち、除外リスト検索部37に記憶されたBSSID(xyz)を送信した親機である第2のAP12を処理対象から除外する。この結果、第1のAP11が最初の接続試行対象となる。このため、アソシエーション処理部56は、第1のAP11と協調してBSSID(abc)を利用してアソシエーション処理を試みる。第1のAP12の正確なBSSID(abc)は既に識別子取得部54により取得されているため、このアソシエーション処理は成功する。   Next, in step S <b> 26, the association processing unit 56 sets the parent devices existing in the connection list created by the connection target list creating unit 55 as connection attempt targets in order from the parent device having the highest priority (higher RSSI). . At this time, the association processing unit 56 excludes, from the processing targets, the second AP 12 that is the parent device that has transmitted the BSSID (xyz) stored in the exclusion list search unit 37 among the parent devices of this list. As a result, the first AP 11 becomes the first connection trial target. For this reason, the association processing unit 56 tries the association processing using the BSSID (abc) in cooperation with the first AP 11. Since the accurate BSSID (abc) of the first AP 12 has already been acquired by the identifier acquisition unit 54, this association process is successful.

次に、ステップS27において、認証処理部57は、第1のAP11から受信した信号から識別子取得部54が取得したSSID(ABC)を用いて接続設定記憶部36を検索し、このSSID(ABC)に関連付けられた認証キー(abc)を抽出する。認証処理部57は、この認証キーを用いて、第1のAP11と協調してWPAによる認証を行う。この認証キー(abc)は、第1のAP11の正当な認証キー(abc)と等しい。このため、この認証処理は成功する。   Next, in step S27, the authentication processing unit 57 searches the connection setting storage unit 36 using the SSID (ABC) acquired by the identifier acquisition unit 54 from the signal received from the first AP 11, and this SSID (ABC) The authentication key (abc) associated with is extracted. The authentication processing unit 57 performs authentication by WPA in cooperation with the first AP 11 using this authentication key. This authentication key (abc) is equal to the legitimate authentication key (abc) of the first AP 11. Therefore, this authentication process is successful.

次に、ステップS28において、接続確立部58は、IP管理部60と協調して第1のAP11からIPアドレス割当てを受け、第1のAP11とのWLAN接続を確立する。   Next, in step S28, the connection establishment unit 58 receives an IP address assignment from the first AP 11 in cooperation with the IP management unit 60, and establishes a WLAN connection with the first AP 11.

以上の手順により、一度認証処理に失敗した親機のBSSIDを除外リストに加えることで、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続することができる。   By adding the BSSID of the parent device that has once failed in the authentication process to the exclusion list by the above procedure, it is possible to reliably establish a WLAN connection with the desired parent device even if there are a plurality of parent devices having the same SSID. .

図7は、本実施形態に係る携帯電話機10における、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続する手順の他の例を示すフローチャートである。図6と同等のステップには同一符号を付し、重複する説明を省略する。   FIG. 7 is a flowchart showing another example of a procedure for reliably establishing a WLAN connection with a desired parent device even when there are a plurality of parent devices having the same SSID in the mobile phone 10 according to the present embodiment. Steps equivalent to those in FIG. 6 are denoted by the same reference numerals, and redundant description is omitted.

ステップS6でアソシエーション処理が成功した後、ステップS31において、認証処理部57は、ステップS7と同様に、認証キー(abc)を用いて、第2のAP12と協調してWPAによる認証を行う。   After the association process is successful in step S6, in step S31, the authentication processing unit 57 performs authentication by WPA in cooperation with the second AP 12, using the authentication key (abc), as in step S7.

図5および図7のステップS7では、認証処理そのものは正常に実行されたものの、認証キーが異なるためにDeauth(entication)信号が出力された(準正常終了)。   In step S7 of FIG. 5 and FIG. 7, although the authentication process itself is normally executed, a Deauth (entication) signal is output because the authentication key is different (quasi-normal end).

一方、ステップS31では、認証処理そのものが正常に実行されない(異常終了)。この原因としては、たとえば親機の駆動ソフトウエアの不具合(バグ)などが挙げられる。   On the other hand, in step S31, the authentication process itself is not normally executed (abnormal end). As a cause of this, for example, a malfunction (bug) of the drive software of the parent device can be cited.

この場合、第2のAP12からの応答が無いなどして協調した認証処理が行えないため、ステップS32において、認証処理部57は、認証処理が失敗した旨の信号を認証確立部58に与える。   In this case, since a coordinated authentication process cannot be performed because there is no response from the second AP 12, the authentication processing unit 57 gives a signal to the authentication establishing unit 58 that the authentication process has failed in step S32.

次に、ステップS33において、認証確立部58は、ステップS21と同様に、この認証処理に失敗した接続試行対象の親機である第2のAP12のBSSID(xyz)を除外リスト記憶部37に記憶させる。   Next, in step S33, the authentication establishment unit 58 stores the BSSID (xyz) of the second AP 12 that is the parent device of the connection attempt target that failed in the authentication processing in the exclusion list storage unit 37, as in step S21. Let

次に、ステップS34において、認証確立部58は、第2のAP12に対してDisassoc信号を出力する。   Next, in step S34, the authentication establishment unit 58 outputs a Disassoc signal to the second AP 12.

以上の手順によれば、第2のAP12と協調することができずに認証処理に失敗した場合であっても、同一のSSIDを有する複数の親機が存在しても確実に所望の親機とWLAN接続することができる。   According to the above procedure, even if there is a plurality of parent devices having the same SSID even if the authentication process fails because it cannot cooperate with the second AP 12, the desired parent device is surely obtained. And WLAN connection.

本実施形態に係る携帯電話機10は、アソシエーション処理が成功した後に認証処理が失敗した場合には、このWLAN接続試行対象の親機のBSSIDを除外リストに加えてしまい、次回以降のWLAN接続試行の対象から外すようにする。このため、この携帯電話機10によれば、同一のSSIDを有する複数の親機が存在しても、極めて容易かつ確実に所望の親機とWLAN接続することができ、非常に利便性が高い。   When the authentication process fails after the association process is successful, the mobile phone 10 according to the present embodiment adds the BSSID of the base unit targeted for the WLAN connection trial to the exclusion list, and the next and subsequent WLAN connection trials. Try to remove it from the target. For this reason, according to the mobile phone 10, even when there are a plurality of parent devices having the same SSID, it is possible to make a WLAN connection with a desired parent device very easily and surely, which is very convenient.

続いて、所定の条件(図4参照)に応じて除外リスト記憶部37に記憶されたデータを削除する手順について説明する。   Next, a procedure for deleting data stored in the exclusion list storage unit 37 according to a predetermined condition (see FIG. 4) will be described.

所望の親機のBSSIDであっても、所望の親機との認証処理中に何らかのトラブルにより認証が失敗してしまった場合や、ユーザが認証キーを誤って登録した場合などには、除外リスト記憶部37に記憶されてしまう場合がある。この場合、所望の親機とWLAN接続を確立することができない。   Even if it is the BSSID of the desired master unit, if the authentication fails due to some trouble during the authentication process with the desired master unit, or if the user has registered the authentication key by mistake, the exclusion list It may be stored in the storage unit 37. In this case, it is not possible to establish a WLAN connection with a desired parent device.

除外リストはスキャン動作に付随して容易に作成されるものである。このため、所望の親機とWLAN接続できなくなってしまう欠点を重視し、できるだけ多様な機会をとらえて除外リスト記憶部37のデータを削除するとよい。   The exclusion list is easily created along with the scanning operation. For this reason, it is preferable to delete the data in the exclusion list storage unit 37 taking into account the various opportunities as much as possible, focusing on the disadvantage of being unable to establish a WLAN connection with a desired parent device.

図8〜図11は、ユーザによる入力部の操作を起因として除外リスト記憶部37に記憶されたデータを削除する場合の例である。また、図12および図13は、その他の条件を起因として除外リスト記憶部37に記憶されたデータを削除する場合の例である。   8 to 11 are examples in the case where the data stored in the exclusion list storage unit 37 is deleted due to the operation of the input unit by the user. FIG. 12 and FIG. 13 are examples in the case of deleting data stored in the exclusion list storage unit 37 due to other conditions.

図8は、接続設定記憶部36の内容の変更指示があると除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 8 is a flowchart showing a procedure for deleting data stored in the exclusion list storage unit 37 when there is an instruction to change the contents of the connection setting storage unit 36.

図8に示すように、ユーザにより入力部24を介して接続設定記憶部36の内容であるアクセスポイントの登録情報に対する変更指示があると(ステップS41)、WLAN通信管理部51はこのユーザの指示に従って接続設定記憶部36の内容を変更する(ステップS42)。WLANプロトコル制御部52のリスト削除部59は、WLAN通信管理部51からアクセスポイントの登録情報を変更した旨の情報を受け(ステップS43)、除外リスト記憶部37に記憶されたデータを削除する(ステップS44)。   As shown in FIG. 8, when the user gives an instruction to change the access point registration information, which is the content of the connection setting storage unit 36, via the input unit 24 (step S41), the WLAN communication management unit 51 instructs the user. The contents of the connection setting storage unit 36 are changed according to (Step S42). The list deletion unit 59 of the WLAN protocol control unit 52 receives information indicating that the registration information of the access point has been changed from the WLAN communication management unit 51 (step S43), and deletes the data stored in the exclusion list storage unit 37 ( Step S44).

図9は、アクセスポイントの検索指示があると除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 9 is a flowchart showing a procedure for deleting data stored in the exclusion list storage unit 37 when there is an access point search instruction.

ユーザにより入力部24を介してアクセスポイントの検索指示があると(ステップS51)、WLAN通信管理部51はこのユーザの指示に従ってWLANプロトコル制御部52に対してアクセスポイントの検索要求を行う(ステップS52)。この検索要求を受け、リスト削除部59は、除外リスト記憶部37に記憶されたデータを削除し(ステップS53)、スキャン制御部53は、アクセスポイントの検索を行う(ステップS54)。   When the user issues an access point search instruction via the input unit 24 (step S51), the WLAN communication management unit 51 makes an access point search request to the WLAN protocol control unit 52 according to the user instruction (step S52). ). In response to this search request, the list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 (step S53), and the scan control unit 53 searches for an access point (step S54).

図10は、アクセスポイントの指定接続指示があると除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 10 is a flowchart showing a procedure for deleting data stored in the exclusion list storage unit 37 when there is an access point designation connection instruction.

ユーザにより入力部24を介してアクセスポイントの指定接続指示(SSID指定のアクティブスキャン指示)があると(ステップS61)、WLAN通信管理部51はリスト削除部59に対して、除外リスト記憶部37に記憶されたデータの削除を要求する(ステップS62)。この要求を受けて、リスト削除部59は、除外リスト記憶部37に記憶されたデータを削除する(ステップS63)。続いて、WLAN通信管理部51はWLANプロトコル制御部52に対してアクセスポイントの指定接続要求を行う(ステップS64)。この要求を受けて、スキャン制御部53は、指定されたアクセスポイントの検索を行う(ステップS65)。   When there is an access point designated connection instruction (SSID-designated active scan instruction) via the input unit 24 by the user (step S61), the WLAN communication management unit 51 sends a list deletion unit 59 to the exclusion list storage unit 37. Request to delete the stored data (step S62). In response to this request, the list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 (step S63). Subsequently, the WLAN communication management unit 51 makes an access point designation connection request to the WLAN protocol control unit 52 (step S64). Upon receiving this request, the scan control unit 53 searches for the designated access point (step S65).

図11は、無線LAN接続に関連する機能の利用要求があると除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 11 is a flowchart illustrating a procedure for deleting data stored in the exclusion list storage unit 37 when there is a use request for a function related to wireless LAN connection.

ユーザにより入力部24を介して無線LAN接続に関連する機能の利用要求があると(ステップS71)、WLAN通信管理部51は、WLAN通信に関する情報を内容とする画像について表示部26を介してユーザに提示する(ステップS72)。この種の画像としては、無線LANに関する設定を行うための設定メニュー、接続メニュー、登録情報メニューなどの画像を挙げることができる。これらの無線LANに関する設定を行うための画像の表示指示を受けると、WLAN通信管理部51は、リスト削除部59に対して、除外リスト記憶部37に記憶されたデータの削除を要求する(ステップS73)。この要求を受けて、リスト削除部59は、除外リスト記憶部37に記憶されたデータを削除する(ステップS74)。   When a user requests use of a function related to wireless LAN connection via the input unit 24 (step S71), the WLAN communication management unit 51 uses the display unit 26 to display an image containing information related to WLAN communication. (Step S72). Examples of this type of image include images such as a setting menu, a connection menu, and a registration information menu for performing settings related to the wireless LAN. Upon receiving an image display instruction for performing settings related to these wireless LANs, the WLAN communication management unit 51 requests the list deletion unit 59 to delete the data stored in the exclusion list storage unit 37 (step). S73). In response to this request, the list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 (step S74).

図12は、WLANの圏外となることにより生じるアクセスポイントの自動検索処理の周期が最大になると除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 12 is a flowchart illustrating a procedure for deleting data stored in the exclusion list storage unit 37 when the period of the automatic access point search processing that occurs when the WLAN is out of service is maximized.

WLANの圏外となることにより生じるアクセスポイントの自動検索処理(圏外スキャン)の間隔が最大時間となると(ステップS81)、WLAN通信管理部51は、リスト削除部59に対して、除外リスト記憶部37に記憶されたデータの削除を要求する(ステップS82)。この要求を受けて、リスト削除部59は、除外リスト記憶部37に記憶されたデータを削除し(ステップS83)、スキャン制御部53はアクセスポイントの検索を行う(ステップS84)。   When the interval of the automatic access point search processing (out-of-service scan) that occurs when the WLAN is out of service reaches the maximum time (step S81), the WLAN communication management unit 51 notifies the list deletion unit 59 of the exclusion list storage unit 37. Is requested to be deleted (step S82). In response to this request, the list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 (step S83), and the scan control unit 53 searches for an access point (step S84).

図13は、接続設定記憶部36に記憶された他のSSIDを有するアクセスポイントが発見されると、除外リスト記憶部37に記憶されたデータを削除する場合の手順を示すフローチャートである。   FIG. 13 is a flowchart showing a procedure for deleting data stored in the exclusion list storage unit 37 when an access point having another SSID stored in the connection setting storage unit 36 is found.

たとえば、図1に示す例では、携帯電話機10が第3のAP13に近づくことにより、SSID(ABC)とは異なるSSID(XYZ)を有する第3のAP13を発見した場合に、除外リスト記憶部37に記憶されたデータを削除するようにする。   For example, in the example illustrated in FIG. 1, when the mobile phone 10 approaches the third AP 13 and finds a third AP 13 having an SSID (XYZ) different from the SSID (ABC), the exclusion list storage unit 37. The data stored in is deleted.

WLAN通信管理部51は、WLANプロトコル制御部52に対し、接続設定記憶部36に記憶されたSSIDであるABCおよびXYZについてのアクティブスキャン要求またはANYによるアクティブスキャン要求などを行う(ステップS91)。次に、WLAN通信部34は、スキャン制御部53と協調して、アクティブスキャンを行う(ステップS92)。この結果、接続対象リスト作成部55により作成された接続リストに新たなアクセスポイントが含まれると(ステップS93)、リスト削除部59は、除外リスト記憶部37に記憶されたデータを削除する(ステップS94)。そして、アソシエーション処理をはじめとする接続試行が開始される(ステップS95)。   The WLAN communication management unit 51 makes an active scan request for ABC and XYZ SSIDs stored in the connection setting storage unit 36 or an active scan request by ANY to the WLAN protocol control unit 52 (step S91). Next, the WLAN communication unit 34 performs active scan in cooperation with the scan control unit 53 (step S92). As a result, when a new access point is included in the connection list created by the connection target list creation unit 55 (step S93), the list deletion unit 59 deletes the data stored in the exclusion list storage unit 37 (step S93). S94). Then, a connection attempt including association processing is started (step S95).

図13に示した例は、接続対象リスト作成部55により作成された接続リストに新たなアクセスポイントが含まれると除外リスト記憶部37に記憶されたデータを削除する手順の一例である。このため、ステップS91のスキャン要求はパッシブスキャン要求でも構わない。   The example illustrated in FIG. 13 is an example of a procedure for deleting data stored in the exclusion list storage unit 37 when a new access point is included in the connection list created by the connection target list creation unit 55. For this reason, the scan request in step S91 may be a passive scan request.

以上の手順により、様々な条件のもと、除外リスト記憶部37に記憶されたデータを削除することができる。このため、ユーザの意図に反して所望のアクセスポイントのBSSIDが除外リスト記憶部37に記憶されてしまっても、多様な機会を捉えてこの除外リスト記憶部37の内容を削除することにより、所望のアクセスポイントに接続できない弊害を防ぐことができる。   With the above procedure, the data stored in the exclusion list storage unit 37 can be deleted under various conditions. For this reason, even if the BSSID of a desired access point is stored in the exclusion list storage unit 37 against the user's intention, the contents of the exclusion list storage unit 37 are deleted by capturing various opportunities. The bad effect of not being able to connect to other access points can be prevented.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.

たとえば、本発明は、本実施形態で説明した携帯電話機10のほかにも、様々な携帯端末装置に適用可能であり、特に、ノートブック型のパーソナルコンピュータPDA(Personal Digital Assistant)、携帯型ゲーム機、携帯型音楽再生機、携帯型動画再生機などの携帯端末装置に適用することが可能である。   For example, the present invention can be applied to various portable terminal devices in addition to the cellular phone 10 described in the present embodiment, and in particular, a notebook personal computer PDA (Personal Digital Assistant), a portable game machine. It can be applied to portable terminal devices such as portable music players and portable video players.

また、上記実施形態では親機としてアクセスポイントが適用される場合の例について示したが、アドホックモードに対応した機器同士であれば、親機は携帯端末装置であってもよい。   In the above embodiment, an example in which an access point is applied as a parent device has been described. However, as long as the devices are compatible with the ad hoc mode, the parent device may be a mobile terminal device.

また、本発明の実施形態では、フローチャートの各ステップは、記載された順序に沿って時系列的に行われる処理の例を示したが、必ずしも時系列的に処理されなくとも、並列的あるいは個別実行される処理をも含むものである。   Further, in the embodiment of the present invention, each step of the flowchart shows an example of processing that is performed in time series in the order described. The process to be executed is also included.

10 携帯電話機
11 第1のアクセスポイント(所望の親機)
12 第2のアクセスポイント
13 第3のアクセスポイント(所望の親機)
21 第1のユニット
22 第2のユニット
23 連結部
24 入力部
25 マイクロフォン
26 表示部
27 レシーバ
31 移動体通信用アンテナ
32 移動体通信部
33 WLAN通信用アンテナ
34 WLAN通信部
35 受信信号強度測定部
36 接続設定記憶部
37 除外リスト記憶部
38 主制御部
41 WLAN通信用アンテナ
42 WLAN通信部
43 接続制御部
44 識別子記憶部
51 WLAN通信管理部
52 WLANプロトコル制御部
53 スキャン制御部
54 識別子取得部
55 接続対象リスト作成部
56 アソシエーション処理部
57 認証処理部
58 接続確立部
59 リスト削除部
60 IP管理部
100 LAN
101 インターネット網
102 移動体通信網
10 mobile phone 11 first access point (desired parent device)
12 Second access point 13 Third access point (desired master)
21 First unit 22 Second unit 23 Connection unit 24 Input unit 25 Microphone 26 Display unit 27 Receiver 31 Mobile communication antenna 32 Mobile communication unit 33 WLAN communication antenna 34 WLAN communication unit 35 Received signal strength measurement unit 36 Connection setting storage unit 37 Exclusion list storage unit 38 Main control unit 41 WLAN communication antenna 42 WLAN communication unit 43 Connection control unit 44 Identifier storage unit 51 WLAN communication management unit 52 WLAN protocol control unit 53 Scan control unit 54 Identifier acquisition unit 55 Connection Target list creation unit 56 Association processing unit 57 Authentication processing unit 58 Connection establishment unit 59 List deletion unit 60 IP management unit 100 LAN
101 Internet network 102 Mobile communication network

Claims (8)

所望の親機の認証キーの情報を記憶した接続設定記憶部と、
所定の基本サービスセット識別子の情報を記憶する除外リスト記憶部と、
1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるスキャン制御部と、
前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定する受信信号強度測定部と、
前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得する識別子取得部と、
前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うアソシエーション処理部と、
前記アソシエーション処理が成功すると、前記接続試行対象の親機と協調して前記接続設定記憶部に記憶された前記認証キーを用いて認証処理を行う認証処理部と、
前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から前記識別子取得部が取得した前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記スキャン制御部に前記信号の無線受信を再度試行させるよう制御する一方、前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立する接続確立部と、
を備えたことを特徴とする携帯端末装置。
A connection setting storage unit storing information of an authentication key of a desired parent device;
An exclusion list storage unit for storing information on a predetermined basic service set identifier;
A scan control unit that attempts to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of one or more master units;
A received signal strength measuring unit that measures the received strength of the signal received from each of the one or more master units;
An identifier acquisition unit for acquiring information on the service set identifier and information on the basic service set identifier from the signal;
The reception strength is high for the one or more parent devices except the parent device that has given the signal including the information of the basic service set identifier that is the same as the predetermined basic service set identifier stored in the exclusion list storage unit The wireless LAN connection is a trial target in order from the parent device that gave the signal, and the parent of the connection trial target using the information of the basic service set identifier included in the signal given from the parent device that is the connection trial target An association processing unit that performs association processing in cooperation with the machine,
When the association process is successful, an authentication processing unit that performs an authentication process using the authentication key stored in the connection setting storage unit in cooperation with the parent device that is the connection trial target;
If the authentication process fails, the exclusion list storage unit uses the basic service set identifier acquired by the identifier acquisition unit from the signal given from the connection target parent device as one of the predetermined basic service set identifiers. And when the authentication process is successful, the base unit to be connected is determined to be the desired base unit, and this base unit is controlled. And a connection establishment unit for establishing a wireless LAN connection;
A portable terminal device comprising:
所望の親機のサービスセット識別子の情報と認証キーの情報とを関連付けて記憶した接続設定記憶部と、
所定の基本サービスセット識別子の情報を記憶する除外リスト記憶部と、
1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるスキャン制御部と、
前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定する受信信号強度測定部と、
前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得する識別子取得部と、
前記接続設定記憶部に記憶された前記所望の親機のサービスセット識別子と同一のサービスセット識別子を含む前記信号を与えた親機のうち、前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うアソシエーション処理部と、
前記アソシエーション処理が成功すると、この接続試行対象の親機から与えられた前記信号に含まれた前記サービスセット識別子を用いて前記接続設定記憶部を検索してこのサービスセット識別子に関連付けられた前記認証キーを抽出し、この抽出された認証キーを用いて前記接続試行対象の親機と協調して認証処理を行う認証処理部と、
前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から前記識別子取得部が取得した前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記スキャン制御部に前記信号の無線受信を再度試行させるよう制御する一方、前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立する接続確立部と、
を備えたことを特徴とする携帯端末装置。
A connection setting storage unit that stores information on a service set identifier of a desired parent device and information on an authentication key in association with each other;
An exclusion list storage unit for storing information on a predetermined basic service set identifier;
A scan control unit that attempts to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of one or more master units;
A received signal strength measuring unit that measures the received strength of the signal received from each of the one or more master units;
An identifier acquisition unit for acquiring information on the service set identifier and information on the basic service set identifier from the signal;
The predetermined basic service stored in the exclusion list storage unit among the parent units that have given the signal including the same service set identifier as the service set identifier of the desired parent unit stored in the connection setting storage unit For one or a plurality of master units excluding the master unit that has given the signal including the basic service set identifier information that is the same as the set identifier, the wireless LAN connection is tried in order from the master unit that has given the signal having the highest reception strength. An association processing unit that performs association processing in cooperation with the connection attempt target base unit using information on the basic service set identifier included in the signal given from the connection target target base unit;
When the association processing is successful, the connection setting storage unit is searched using the service set identifier included in the signal given from the connection-targeted master unit, and the authentication associated with the service set identifier is performed. An authentication processing unit that extracts a key and performs an authentication process in cooperation with the connection target parent device using the extracted authentication key;
If the authentication process fails, the exclusion list storage unit uses the basic service set identifier acquired by the identifier acquisition unit from the signal given from the connection target parent device as one of the predetermined basic service set identifiers. And when the authentication process is successful, the base unit to be connected is determined to be the desired base unit, and this base unit is controlled. And a connection establishment unit for establishing a wireless LAN connection;
A portable terminal device comprising:
前記1または複数の親機の1つとの無線LAN接続の設定に関する入力操作を受け付ける入力部と、
前記入力部を介して無線LAN接続の設定に関する入力操作が受け付けられると、前記除外リスト記憶部から前記所定の基本サービスセット識別子の情報を削除するリスト削除部と、
をさらに備え、
前記無線LAN接続の設定に関する入力操作は、
少なくとも前記認証キーの編集、前記スキャン制御部に対する前記信号の無線受信の試行指示、およびこれらの無線LANに関する設定を行うための画像の表示指示を含む、
請求項1または2記載の携帯端末装置。
An input unit for receiving an input operation related to setting of a wireless LAN connection with one of the one or more master units;
When an input operation related to setting of a wireless LAN connection is accepted via the input unit, a list deletion unit that deletes information on the predetermined basic service set identifier from the exclusion list storage unit;
Further comprising
The input operation related to the setting of the wireless LAN connection is as follows:
Including at least editing of the authentication key, an instruction to wirelessly receive the signal to the scan control unit, and an instruction to display an image for performing settings related to the wireless LAN.
The portable terminal device according to claim 1 or 2.
少なくとも前記スキャン制御部による前記信号の無線受信が所定の時間以上不調である場合、前記除外リスト記憶部から前記所定の基本サービスセット識別子の情報を削除するリスト削除部、
をさらに備えた、
請求項1または2に記載の携帯端末装置。
A list deletion unit that deletes information of the predetermined basic service set identifier from the exclusion list storage unit, when at least wireless reception of the signal by the scan control unit is malfunctioning for a predetermined time or more,
Further equipped with,
The mobile terminal device according to claim 1.
所望の親機との無線LAN接続を行う携帯端末装置の無線LAN接続方法であって、
所望の親機の認証キーの情報を接続設定記憶部に記憶させるステップと、
所定の基本サービスセット識別子の情報を除外リスト記憶部に記憶させるステップと、
1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるステップと、
前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定するステップと、
前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得するステップと、
前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うステップと、
前記アソシエーション処理が成功すると、前記接続試行対象の親機と協調して前記接続設定記憶部に記憶された前記認証キーを用いて認証処理を行うステップと、
前記認証処理を行うステップで前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から取得された前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記信号の無線受信を試みるステップにもどるステップと、
前記認証処理を行うステップで前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立するステップと、
を有することを特徴とする無線LAN接続方法。
A wireless LAN connection method for a portable terminal device that performs wireless LAN connection with a desired parent device,
Storing information of an authentication key of a desired master in the connection setting storage unit;
Storing information of a predetermined basic service set identifier in an exclusion list storage unit;
Attempting to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of the one or more base units;
Measuring the received strength of the signal received from each of the one or more master units;
Obtaining the service set identifier information and the basic service set identifier information from the signal;
The reception strength is high for the one or more parent devices except the parent device that has given the signal including the information of the basic service set identifier that is the same as the predetermined basic service set identifier stored in the exclusion list storage unit The wireless LAN connection is a trial target in order from the parent device that gave the signal, and the parent of the connection trial target using the information of the basic service set identifier included in the signal given from the parent device that is the connection trial target and the step of performing the association process in cooperation with the machine,
When the association process is successful, performing an authentication process using the authentication key stored in the connection setting storage unit in cooperation with the connection target parent unit;
If the authentication process fails in the step of performing the authentication process, the basic service set identifier obtained from the signal given from the connection target parent unit is excluded as the predetermined basic service set identifier. Returning to the step of storing in the list storage unit and attempting to wirelessly receive the signal;
When the authentication process is successful in the step of performing the authentication process, determining the connection target parent device as the desired parent device, and establishing a wireless LAN connection with the parent device;
A wireless LAN connection method comprising:
所望の親機との無線LAN接続を行う携帯端末装置の無線LAN接続方法であって、
所望の親機のサービスセット識別子の情報と認証キーの情報とを関連付けて接続設定記憶部に記憶させるステップと、
所定の基本サービスセット識別子の情報を除外リスト記憶部に記憶させるステップと、
1または複数の親機のそれぞれから、サービスセット識別子の情報および基本サービスセット識別子の情報を含む信号の無線受信を試みるステップと、
前記1または複数の親機のそれぞれから受信した前記信号の受信強度を測定するステップと、
前記信号から前記サービスセット識別子の情報と前記基本サービスセット識別子の情報とを取得するステップと、
前記除外リスト記憶部に記憶された前記所定の基本サービスセット識別子と同一の基本サービスセット識別子の情報を含む前記信号を与えた親機を除く前記1または複数の親機について、前記受信強度が高い前記信号を与えた親機から順に無線LAN接続の試行対象とし、この接続試行対象の親機から与えられた前記信号に含まれた前記基本サービスセット識別子の情報を用いて前記接続試行対象の親機と協調してアソシエーション処理を行うステップと、
前記アソシエーション処理が成功すると、この接続試行対象の親機から与えられた前記信号に含まれた前記サービスセット識別子を用いて前記接続設定記憶部を検索してこのサービスセット識別子に関連付けられた前記認証キーを抽出し、この抽出された認証キーを用いて前記接続試行対象の親機と協調して認証処理を行うステップと、
前記認証処理を行うステップで前記認証処理が失敗すると、前記接続試行対象の親機から与えられた前記信号から取得された前記基本サービスセット識別子を前記所定の基本サービスセット識別子の1つとして前記除外リスト記憶部に記憶させるとともに前記信号の無線受信を試みるステップにもどるステップと、
前記認証処理を行うステップで前記認証処理が成功すると、前記接続試行対象の親機を前記所望の親機と判断し、この親機と無線LAN接続を確立するステップと、
を有することを特徴とする無線LAN接続方法。
A wireless LAN connection method for a portable terminal device that performs wireless LAN connection with a desired parent device,
Associating the service set identifier information of the desired base unit with the authentication key information and storing them in the connection setting storage unit;
Storing information of a predetermined basic service set identifier in an exclusion list storage unit;
Attempting to wirelessly receive a signal including service set identifier information and basic service set identifier information from each of the one or more base units;
Measuring the received strength of the signal received from each of the one or more master units;
Obtaining the service set identifier information and the basic service set identifier information from the signal;
The reception strength is high for the one or more parent devices except the parent device that has given the signal including the information of the basic service set identifier that is the same as the predetermined basic service set identifier stored in the exclusion list storage unit The wireless LAN connection is a trial target in order from the parent device that gave the signal, and the parent of the connection trial target using the information of the basic service set identifier included in the signal given from the parent device that is the connection trial target Performing association processing in cooperation with the machine,
When the association processing is successful, the connection setting storage unit is searched using the service set identifier included in the signal given from the connection-targeted master unit, and the authentication associated with the service set identifier is performed. Extracting a key, and performing an authentication process in cooperation with the parent device to be connected using the extracted authentication key;
If the authentication process fails in the step of performing the authentication process, the basic service set identifier obtained from the signal given from the connection target parent unit is excluded as the predetermined basic service set identifier. Returning to the step of storing in the list storage unit and attempting to wirelessly receive the signal;
When the authentication process is successful in the step of performing the authentication process, determining the connection target parent device as the desired parent device, and establishing a wireless LAN connection with the parent device;
A wireless LAN connection method comprising:
前記1または複数の親機の1つとの無線LAN接続の設定に関する入力操作が受け付けられると、前記除外リスト記憶部から前記所定の基本サービスセット識別子の情報を削除す
るステップ、
をさらに有し、
前記無線LAN接続の設定に関する入力操作は、
少なくとも前記認証キーの編集、前記スキャン制御部に対する前記信号の無線受信の試行指示およびこれらの無線LANに関する設定を行うための画像の表示指示を含む、
請求項5または6記載の無線LAN接続方法。
A step of deleting the information of the predetermined basic service set identifier from the exclusion list storage unit when an input operation related to setting of a wireless LAN connection with one of the one or more parent devices is accepted;
Further comprising
The input operation related to the setting of the wireless LAN connection is as follows:
Including at least editing of the authentication key, an instruction to wirelessly receive the signal to the scan control unit, and an instruction to display an image for performing settings related to the wireless LAN,
The wireless LAN connection method according to claim 5 or 6.
少なくとも前記スキャン制御部による前記信号の無線受信が所定の時間以上不調である場合、前記除外リスト記憶部から前記所定の基本サービスセット識別子の情報を削除するステップ、
をさらに有する、
請求項5または6記載の無線LAN接続方法。
Deleting at least the information of the predetermined basic service set identifier from the exclusion list storage unit when wireless reception of the signal by the scan control unit is malfunctioning for a predetermined time or more;
Further having
The wireless LAN connection method according to claim 5 or 6.
JP2009194822A 2009-08-25 2009-08-25 Portable terminal device and wireless LAN connection method Expired - Fee Related JP5397090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009194822A JP5397090B2 (en) 2009-08-25 2009-08-25 Portable terminal device and wireless LAN connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009194822A JP5397090B2 (en) 2009-08-25 2009-08-25 Portable terminal device and wireless LAN connection method

Publications (2)

Publication Number Publication Date
JP2011049701A JP2011049701A (en) 2011-03-10
JP5397090B2 true JP5397090B2 (en) 2014-01-22

Family

ID=43835619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009194822A Expired - Fee Related JP5397090B2 (en) 2009-08-25 2009-08-25 Portable terminal device and wireless LAN connection method

Country Status (1)

Country Link
JP (1) JP5397090B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014006949A1 (en) * 2012-07-04 2014-01-09 ソフトバンクモバイル株式会社 Terminal and connection method for same
JP5247918B1 (en) * 2012-07-04 2013-07-24 ソフトバンクモバイル株式会社 Terminal device and connection method thereof
CN104080148A (en) * 2013-03-29 2014-10-01 华为终端有限公司 Method and device for achieving rapid network connection
JP6384127B2 (en) * 2014-06-02 2018-09-05 株式会社リコー COMMUNICATION DEVICE, PROGRAM, AND COMMUNICATION METHOD
JP6446343B2 (en) * 2015-08-28 2018-12-26 株式会社Nttドコモ Wireless communication system
US10803489B2 (en) * 2016-12-21 2020-10-13 Madme Technologies Limited Systems and methods for displaying advertisements on mobile devices based on available wireless networks
CN107148017B (en) * 2017-04-25 2019-07-23 西安电子科技大学 A method for enhancing WLAN security based on physical layer key negotiation
JP6494704B2 (en) 2017-08-09 2019-04-03 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2019161385A (en) * 2018-03-12 2019-09-19 Necプラットフォームズ株式会社 Terminal, method, program and system for radio communication
JP7380005B2 (en) * 2019-09-26 2023-11-15 日本電気株式会社 Wireless terminals, core network nodes, and methods thereof
JP7686097B1 (en) 2024-01-23 2025-05-30 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP7649908B1 (en) 2024-06-28 2025-03-21 株式会社バンダイ Game device and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4006308B2 (en) * 2002-09-27 2007-11-14 キヤノン株式会社 Wireless communication device
JP4356647B2 (en) * 2005-05-09 2009-11-04 ソニー株式会社 Wireless communication system, access point management apparatus, access point management method, wireless communication apparatus, wireless communication method, and computer program
US9319967B2 (en) * 2006-05-15 2016-04-19 Boingo Wireless, Inc. Network access point detection and use

Also Published As

Publication number Publication date
JP2011049701A (en) 2011-03-10

Similar Documents

Publication Publication Date Title
JP5397090B2 (en) Portable terminal device and wireless LAN connection method
EP3958533B1 (en) Method for accessing wireless local area network and terminal
EP2495944B1 (en) Generation and scanning of barcode-data for registering in a wireless network
US7412237B2 (en) Information processing apparatus and information processing method
KR101564000B1 (en) Terminal for Securing Cloud Environments and Method thereof
US10321312B2 (en) Communication apparatus and control method thereof
JP5305453B2 (en) Wireless LAN high-speed roaming system, high-speed roaming method, and high-speed roaming program
KR101907487B1 (en) Method and apparatus for connecting access point in a portable terminal
WO2007039941A1 (en) Mobile communication device
CN101959321A (en) Scene mode switching method based on mobile phone WIFI and mobile phone
JPWO2009034624A1 (en) Wireless terminal device, wireless connection method, and program
CN111343699A (en) Icon display method, device, storage medium and electronic device
KR101563213B1 (en) Terminal and Method for Selecting Access Point With Reliablility
US8798671B2 (en) Dual mode apparatus and method for wireless networking configuration
CN114007248A (en) Wi-Fi roaming method, electronic equipment and storage medium
JP2006186941A (en) Wireless communication apparatus and wireless communication system
CN107105329A (en) A kind of intelligent television WI FI connection methods, device and intelligent television
KR20120064954A (en) Method for internet access using ap in mobile communication terminal and mobile communication terminal therefor
US12035415B2 (en) Information sharing method and user equipment
KR100662607B1 (en) Wireless terminal device and method supporting automatic communication function
JP2023070700A (en) Terminal, management device, control method for terminal, control method for management device, and program
JP2022181971A (en) Computer program for terminal device, terminal device and control method
CN112533258A (en) Cell determination method and related equipment
JP5494368B2 (en) Mobile phone device, mobile phone control method, and mobile phone control program
JP2012060363A (en) Factor diagnosis apparatus, and method of controlling factor diagnosis apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130516

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130924

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131007

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees