JP2014027610A - Communication device and communication control method - Google Patents

Communication device and communication control method Download PDF

Info

Publication number
JP2014027610A
JP2014027610A JP2012168667A JP2012168667A JP2014027610A JP 2014027610 A JP2014027610 A JP 2014027610A JP 2012168667 A JP2012168667 A JP 2012168667A JP 2012168667 A JP2012168667 A JP 2012168667A JP 2014027610 A JP2014027610 A JP 2014027610A
Authority
JP
Japan
Prior art keywords
connection
access point
information
communication
successful
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012168667A
Other languages
Japanese (ja)
Other versions
JP5979636B2 (en
Inventor
Joji Yoshikawa
譲二 吉川
Noboru Abe
昇 阿部
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority to JP2012168667A priority Critical patent/JP5979636B2/en
Publication of JP2014027610A publication Critical patent/JP2014027610A/en
Application granted granted Critical
Publication of JP5979636B2 publication Critical patent/JP5979636B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device and a communication control method which can efficiently realize connection to an access point.SOLUTION: A smart phone 1 comprises: a communication unit 6 which connects with an access point via a wireless LAN; a storage 9 which stores position information of an access point acquired when the communication unit 6 has succeeded in connection to the access point; and a controller 10 which acquires position information of the access point to which connection is currently requested and previous connection was successful, and if the acquired position information does not match the position information stored in the storage 9, does not perform connection trial operation to the access point.

Description

本発明は、無線LANを用いる通信装置及び通信制御方法に関する。   The present invention relates to a communication apparatus and a communication control method using a wireless LAN.

近年、通信装置がインターネットに接続する手段として、IEEE802.11等に準拠した通信方式を用いる無線LANが使われている。
このような通信装置は、アクセスポイントをサーチした結果、自装置に登録済みのアクセスポイントと同一のSSID(Service Set Identifier)を有するアクセスポイントが発見された場合、自動的にこのアクセスポイントへ接続を試みる(例えば、特許文献1参照)。
In recent years, as a means for communication devices to connect to the Internet, a wireless LAN using a communication method compliant with IEEE 802.11 or the like has been used.
As a result of searching for an access point, such a communication device automatically connects to this access point when an access point having the same SSID (Service Set Identifier) as the access point registered in its own device is found. Try (see, for example, Patent Document 1).

特開2009−17575号公報JP 2009-17575 A

しかしながら、登録されているアクセスポイントと同一のSSIDを有するアクセスポイントであっても、実際には物理的に異なっている場合もある。この場合、例えば、認証キーが一致しない、又はDHCP(Dynamic Host Configuration Protocol)によるIPアドレスの取得に失敗する等の理由により接続できないと、接続を試行する処理自体が無駄になってしまう。   However, even an access point having the same SSID as the registered access point may actually be physically different. In this case, for example, if the connection cannot be performed because the authentication keys do not match or the acquisition of the IP address by DHCP (Dynamic Host Configuration Protocol) fails, the process of trying to connect becomes useless.

本発明は、効率的にアクセスポイントへ接続できる通信装置及び通信制御方法を提供することを目的とする。   An object of this invention is to provide the communication apparatus and communication control method which can be connected to an access point efficiently.

本発明に係る通信装置は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報を記憶する記憶部と、前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報と対応しない場合、接続試行しない制御部と、を備える。   The communication device according to the present invention stores a communication unit that connects to an access point using a communication method that conforms to IEEE 802.11, and, when the connection to the access point is successful, the location information acquired when the connection is successful. Acquire location information when a connection to a storage unit and an access point that has succeeded in connection is requested, and if the acquired location information does not correspond to the location information stored in the storage unit, no connection attempt is made A control unit.

本発明に係る通信装置は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶部と、前記接続に成功したアクセスポイントへの接続が要求された際に、自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶部に記憶されている接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御部と、を備える。   The communication apparatus according to the present invention is a communication unit that connects to an access point by a communication method compliant with IEEE 802.11, and if the connection to the access point is successful, the communication apparatus is in the vicinity of the own apparatus when the connection is successful. A storage unit that stores information on an access point, and when a connection to the access point that has been successfully connected is requested, at least a part of information on an access point in the vicinity of the own device is stored in the storage unit. A control unit that does not attempt connection when it is not included in the information of the access points that were in the vicinity of the device at the time of successful connection.

本発明に係る通信装置は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報、及び当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶部と、前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報と対応しない場合、又は自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶部に記憶されている接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御部と、を備える。   The communication device according to the present invention includes a communication unit that connects to an access point using a communication method that conforms to IEEE 802.11, and, if the connection to the access point is successful, the location information acquired when the connection is successful, A storage unit that stores information on access points that were in the vicinity of the device at the time of successful connection, and acquires position information when a connection to the access point that has been successfully connected is requested, and the acquired position When the information does not correspond to the position information stored in the storage unit, or when at least a part of the information of the access points in the vicinity of the device is successfully stored in the storage unit, And a control unit that does not attempt connection when it is not included in the information of the access points in the vicinity.

また、前記制御部は、アクセスポイントのサーチを開始する前に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報のいずれとも対応しない場合、アクセスポイントへ接続試行しないことが好ましい。   In addition, the control unit acquires location information before starting an access point search, and if the acquired location information does not correspond to any of the location information stored in the storage unit, the control unit tries to connect to the access point. Preferably not.

また、前記記憶部は、操作入力に基づいて、前記接続に成功したアクセスポイントの種別を記憶し、前記制御部は、特定種別のアクセスポイントについて、前記接続試行しない制御を行わないことが好ましい。   Further, it is preferable that the storage unit stores a type of the access point that has been successfully connected based on an operation input, and the control unit does not perform control that does not attempt the connection for a specific type of access point.

本発明に係る通信制御方法は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報を記憶する記憶ステップと、前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶ステップで記憶された位置情報と対応しない場合、接続試行しない制御ステップと、を含む。   A communication control method according to the present invention is a communication control method in a communication apparatus that connects to an access point by a communication method compliant with IEEE 802.11, and when the connection to the access point is successful, A storage step for storing the acquired position information; and position information is acquired when a connection to an access point that has been successfully connected is requested, and the acquired position information corresponds to the position information stored in the storage step If not, a control step that does not attempt connection is included.

本発明に係る通信制御方法は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶ステップと、前記接続に成功したアクセスポイントへの接続が要求された際に、自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶ステップで記憶された接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御ステップと、を含む。   A communication control method according to the present invention is a communication control method in a communication apparatus that connects to an access point by a communication method compliant with IEEE 802.11, and when the connection to the access point is successful, A storage step of storing information on access points that are in the vicinity of the own device, and when connection to the access point that has been successfully connected is requested, at least a part of information on access points in the vicinity of the own device is A control step that does not attempt a connection when the information stored in the storing step is not included in the information of the access points that existed in the vicinity of the device when the connection was successful.

本発明に係る通信制御方法は、IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報、及び当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶ステップと、前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶ステップで記憶された位置情報と対応しない場合、又は自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶ステップで記憶された接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御ステップと、を含む。   A communication control method according to the present invention is a communication control method in a communication apparatus that connects to an access point by a communication method compliant with IEEE 802.11, and when the connection to the access point is successful, A storage step for storing the acquired location information and information on access points that were in the vicinity of the device at the time when the connection was successful, and location information when connection to the access point that was successfully connected was requested. Acquired, if the acquired location information does not correspond to the location information stored in the storage step, or at least a part of the information of the access points in the vicinity of the own device has succeeded in the connection stored in the storage step If it is not included in the access point information that was in the vicinity of the local device at the time, the control step that does not attempt connection And, including the.

本発明によれば、通信装置は、効率的にアクセスポイントへ接続できる。   According to the present invention, a communication device can be efficiently connected to an access point.

第1実施形態に係るスマートフォンの外観を示す斜視図である。It is a perspective view which shows the external appearance of the smart phone which concerns on 1st Embodiment. 第1実施形態に係るスマートフォンの外観を示す正面図である。It is a front view which shows the external appearance of the smart phone which concerns on 1st Embodiment. 第1実施形態に係るスマートフォンの外観を示す背面図である。It is a rear view which shows the external appearance of the smart phone which concerns on 1st Embodiment. 第1実施形態に係るスマートフォンの構成を示すブロック図である。It is a block diagram which shows the structure of the smart phone which concerns on 1st Embodiment. 第1実施形態に係る接続処理を示すフローチャートである。It is a flowchart which shows the connection process which concerns on 1st Embodiment. 第1実施形態に係る判定処理を示すフローチャートである。It is a flowchart which shows the determination process which concerns on 1st Embodiment. 第2実施形態に係る判定処理を示すフローチャートである。It is a flowchart which shows the determination process which concerns on 2nd Embodiment.

<第1実施形態>
本発明を実施するための第1実施形態を、図面を参照しつつ詳細に説明する。以下では、通信装置の一例として、スマートフォンについて説明する。
<First Embodiment>
A first embodiment for carrying out the present invention will be described in detail with reference to the drawings. Below, a smart phone is demonstrated as an example of a communication apparatus.

図1から図3を参照しながら、実施形態に係るスマートフォン1の外観について説明する。図1から図3に示すように、スマートフォン1は、ハウジング20を有する。ハウジング20は、フロントフェイス1Aと、バックフェイス1Bと、サイドフェイス1C1〜1C4とを有する。フロントフェイス1Aは、ハウジング20の正面である。バックフェイス1Bは、ハウジング20の背面である。サイドフェイス1C1〜1C4は、フロントフェイス1Aとバックフェイス1Bとを接続する側面である。以下では、サイドフェイス1C1〜1C4を、どの面であるかを特定することなく、サイドフェイス1Cと総称することがある。   The external appearance of the smartphone 1 according to the embodiment will be described with reference to FIGS. 1 to 3. As shown in FIGS. 1 to 3, the smartphone 1 has a housing 20. The housing 20 includes a front face 1A, a back face 1B, and side faces 1C1 to 1C4. The front face 1 </ b> A is the front of the housing 20. The back face 1 </ b> B is the back surface of the housing 20. The side faces 1C1 to 1C4 are side surfaces that connect the front face 1A and the back face 1B. Hereinafter, the side faces 1C1 to 1C4 may be collectively referred to as the side face 1C without specifying which face.

スマートフォン1は、タッチスクリーンディスプレイ2と、ボタン3A〜3Cと、照度センサ4と、近接センサ5と、レシーバ7と、マイク8と、カメラ12とをフロントフェイス1Aに有する。スマートフォン1は、カメラ13をバックフェイス1Bに有する。スマートフォン1は、ボタン3D〜3Fと、外部インターフェイス14とをサイドフェイス1Cに有する。以下では、ボタン3A〜3Fを、どのボタンであるかを特定することなく、ボタン3と総称することがある。   The smartphone 1 includes a touch screen display 2, buttons 3A to 3C, an illuminance sensor 4, a proximity sensor 5, a receiver 7, a microphone 8, and a camera 12 on the front face 1A. The smartphone 1 has a camera 13 on the back face 1B. The smartphone 1 has buttons 3D to 3F and an external interface 14 on the side face 1C. Hereinafter, the buttons 3A to 3F may be collectively referred to as the button 3 without specifying which button.

タッチスクリーンディスプレイ2は、ディスプレイ2Aと、タッチスクリーン2Bとを有する。ディスプレイ2Aは、液晶ディスプレイ(Liquid Crystal Display)、有機ELパネル(Organic Electro−Luminescence panel)、又は無機ELパネル(Inorganic Electro−Luminescence panel)等の表示デバイスを備える。ディスプレイ2Aは、文字、画像、記号又は図形等を表示する。   The touch screen display 2 includes a display 2A and a touch screen 2B. The display 2A includes a display device such as a liquid crystal display (Liquid Crystal Display), an organic EL panel (Organic Electro-Luminescence panel), or an inorganic EL panel (Inorganic Electro-Luminescence panel). The display 2A displays characters, images, symbols, graphics, and the like.

タッチスクリーン2Bは、タッチスクリーンディスプレイ2に対する指、又はスタイラスペン等の接触を検出する。タッチスクリーン2Bは、複数の指、又はスタイラスペン等がタッチスクリーンディスプレイ2に接触した位置を検出することができる。   The touch screen 2B detects contact of a finger, a stylus pen, or the like with respect to the touch screen display 2. The touch screen 2B can detect a position where a plurality of fingers, a stylus pen, or the like is in contact with the touch screen display 2.

タッチスクリーン2Bの検出方式は、静電容量方式、抵抗膜方式、表面弾性波方式(又は超音波方式)、赤外線方式、電磁誘導方式、及び荷重検出方式等の任意の方式でよい。以下では、説明を簡単にするため、タッチスクリーン2Bがタッチスクリーンディスプレイ2に対する接触を検出する指、又はスタイラスペン等を単に「指」ということがある。   The detection method of the touch screen 2B may be any method such as a capacitance method, a resistive film method, a surface acoustic wave method (or an ultrasonic method), an infrared method, an electromagnetic induction method, and a load detection method. Hereinafter, for the sake of simplicity of explanation, a finger that the touch screen 2B detects contact with the touch screen display 2 or a stylus pen or the like may be simply referred to as a “finger”.

スマートフォン1は、タッチスクリーン2Bにより検出された接触、接触位置、接触時間又は接触回数に基づいてジェスチャの種別を判別する。ジェスチャは、タッチスクリーンディスプレイ2に対して行われる操作である。スマートフォン1によって判別されるジェスチャには、タッチ、ロングタッチ、リリース、スワイプ、タップ、ダブルタップ、ロングタップ、ドラッグ、フリック、ピンチイン、ピンチアウト等が含まれる。   The smartphone 1 determines the type of gesture based on the contact, contact position, contact time, or number of contacts detected by the touch screen 2B. The gesture is an operation performed on the touch screen display 2. The gesture determined by the smartphone 1 includes touch, long touch, release, swipe, tap, double tap, long tap, drag, flick, pinch in, pinch out, and the like.

タッチは、タッチスクリーンディスプレイ2(例えば、表面)に指が接触するジェスチャである。スマートフォン1は、タッチスクリーンディスプレイ2に指が接触するジェスチャをタッチとして判別する。ロングタッチとは、タッチスクリーンディスプレイ2に指が一定時間以上接触するジェスチャである。スマートフォン1は、タッチスクリーンディスプレイ2に指が一定時間以上接触するジェスチャをロングタッチとして判別する。   A touch is a gesture in which a finger contacts the touch screen display 2 (for example, a surface). The smartphone 1 determines a gesture in which a finger contacts the touch screen display 2 as a touch. The long touch is a gesture in which a finger contacts the touch screen display 2 for a predetermined time or more. The smartphone 1 determines a gesture in which a finger contacts the touch screen display 2 for a predetermined time or more as a long touch.

リリースは、指がタッチスクリーンディスプレイ2から離れるジェスチャである。スマートフォン1は、指がタッチスクリーンディスプレイ2から離れるジェスチャをリリースとして判別する。スワイプは、指がタッチスクリーンディスプレイ2上に接触したままで移動するジェスチャである。スマートフォン1は、指がタッチスクリーンディスプレイ2上に接触したままで移動するジェスチャをスワイプとして判別する。   A release is a gesture in which a finger leaves the touch screen display 2. The smartphone 1 determines a gesture in which a finger leaves the touch screen display 2 as a release. The swipe is a gesture that moves while the finger is in contact with the touch screen display 2. The smartphone 1 determines a gesture that moves while the finger is in contact with the touch screen display 2 as a swipe.

タップは、タッチに続いてリリースをするジェスチャである。スマートフォン1は、タッチに続いてリリースをするジェスチャをタップとして判別する。ダブルタップは、タッチに続いてリリースをするジェスチャが2回連続するジェスチャである。スマートフォン1は、タッチに続いてリリースをするジェスチャが2回連続するジェスチャをダブルタップとして判別する。   A tap is a gesture for releasing following a touch. The smartphone 1 determines a gesture for releasing following a touch as a tap. The double tap is a gesture in which a gesture for releasing following a touch is continued twice. The smartphone 1 determines a gesture in which a gesture for releasing following a touch is continued twice as a double tap.

ロングタップは、ロングタッチに続いてリリースをするジェスチャである。スマートフォン1は、ロングタッチに続いてリリースをするジェスチャをロングタップとして判別する。ドラッグは、移動可能なオブジェクトが表示されている領域を始点としてスワイプをするジェスチャである。スマートフォン1は、移動可能なオブジェクトが表示されている領域を始点としてスワイプをするジェスチャをドラッグとして判別する。   A long tap is a gesture for releasing following a long touch. The smartphone 1 determines a gesture for releasing following a long touch as a long tap. The drag is a gesture for performing a swipe from an area where a movable object is displayed. The smartphone 1 determines, as a drag, a gesture for performing a swipe starting from an area where a movable object is displayed.

フリックは、タッチに続いて指が一方方向へ高速で移動しながらリリースするジェスチャである。スマートフォン1は、タッチに続いて指が一方方向へ高速で移動しながらリリースするジェスチャをフリックとして判別する。フリックは、指が画面の上方向へ移動する上フリック、指が画面の下方向へ移動する下フリック、指が画面の右方向へ移動する右フリック、指が画面の左方向へ移動する左フリック等を含む。   The flick is a gesture that is released while the finger moves at high speed in one direction following the touch. The smartphone 1 determines, as a flick, a gesture that is released while the finger moves in one direction at high speed following the touch. Flick: Up flick that moves your finger up the screen, Down flick that moves your finger down the screen, Right flick that moves your finger right in the screen, Left flick that moves your finger left in the screen Etc.

ピンチインは、複数の指が互いに近付く方向にスワイプするジェスチャである。スマートフォン1は、複数の指が互いに近付く方向にスワイプするジェスチャをピンチインとして判別する。ピンチアウトは、複数の指が互いに遠ざかる方向にスワイプするジェスチャである。スマートフォン1は、複数の指が互いに遠ざかる方向にスワイプするジェスチャをピンチアウトとして判別する。   Pinch-in is a gesture that swipes in a direction in which a plurality of fingers approach each other. The smartphone 1 determines, as a pinch-in, a gesture that swipes in a direction in which a plurality of fingers approach each other. Pinch-out is a gesture that swipes a plurality of fingers away from each other. The smartphone 1 determines a gesture of swiping in a direction in which a plurality of fingers move away from each other as a pinch out.

スマートフォン1は、タッチスクリーン2Bを介して判別するこれらのジェスチャに従って動作を行う。したがって、利用者にとって直感的で使いやすい操作性が実現される。判別されるジェスチャに従ってスマートフォン1が行う動作は、タッチスクリーンディスプレイ2に表示されている画面に応じて異なる。   The smartphone 1 operates according to these gestures that are determined via the touch screen 2B. Therefore, operability that is intuitive and easy to use for the user is realized. The operation performed by the smartphone 1 according to the determined gesture differs depending on the screen displayed on the touch screen display 2.

図4は、スマートフォン1の構成を示すブロック図である。スマートフォン1は、タッチスクリーンディスプレイ2と、ボタン3と、照度センサ4と、近接センサ5と、通信ユニット6と、レシーバ7と、マイク8と、ストレージ9と、コントローラ10と、カメラ12及び13と、外部インターフェイス14と、加速度センサ15と、方位センサ16と、回転検出センサ17とを有する。   FIG. 4 is a block diagram illustrating the configuration of the smartphone 1. The smartphone 1 includes a touch screen display 2, a button 3, an illuminance sensor 4, a proximity sensor 5, a communication unit 6, a receiver 7, a microphone 8, a storage 9, a controller 10, and cameras 12 and 13. , An external interface 14, an acceleration sensor 15, an orientation sensor 16, and a rotation detection sensor 17.

タッチスクリーンディスプレイ2は、上述したように、ディスプレイ2Aと、タッチスクリーン2Bとを有する。ディスプレイ2Aは、文字、画像、記号、又は図形等を表示する。タッチスクリーン2Bは、ジェスチャを検出する。   As described above, the touch screen display 2 includes the display 2A and the touch screen 2B. The display 2A displays characters, images, symbols, graphics, or the like. The touch screen 2B detects a gesture.

ボタン3は、利用者によって操作される。ボタン3は、ボタン3A〜ボタン3Fを有する。コントローラ10はボタン3と協働することによってボタンに対する操作を検出する。ボタンに対する操作は、例えば、クリック、ダブルクリック、プッシュ、及びマルチプッシュである。   The button 3 is operated by the user. The button 3 includes buttons 3A to 3F. The controller 10 detects an operation on the button by cooperating with the button 3. The operation on the button is, for example, click, double click, push, and multi-push.

例えば、ボタン3A〜3Cは、ホームボタン、バックボタン又はメニューボタンである。例えば、ボタン3Dは、スマートフォン1のパワーオン/オフボタンである。ボタン3Dは、スリープ/スリープ解除ボタンを兼ねてもよい。例えば、ボタン3E及び3Fは、音量ボタンである。   For example, the buttons 3A to 3C are a home button, a back button, or a menu button. For example, the button 3D is a power on / off button of the smartphone 1. The button 3D may also serve as a sleep / sleep release button. For example, the buttons 3E and 3F are volume buttons.

照度センサ4は、照度を検出する。例えば、照度とは、光の強さ、明るさ、輝度等である。照度センサ4は、例えば、ディスプレイ2Aの輝度の調整に用いられる。   The illuminance sensor 4 detects illuminance. For example, the illuminance is light intensity, brightness, luminance, or the like. The illuminance sensor 4 is used for adjusting the luminance of the display 2A, for example.

近接センサ5は、近隣の物体の存在を非接触で検出する。近接センサ5は、例えば、タッチスクリーンディスプレイ2が顔に近付けられたことを検出する。   The proximity sensor 5 detects the presence of a nearby object without contact. The proximity sensor 5 detects that the touch screen display 2 is brought close to the face, for example.

通信ユニット6は、無線により通信する。通信ユニット6によって行われる通信方式は、無線通信規格である。例えば、無線通信規格として、2G、3G、4G等のセルラーフォンの通信規格がある。例えば、セルラーフォンの通信規格としては、LTE(Long Term Evolution)、W−CDMA、CDMA2000、PDC、GSM(登録商標)、PHS(Personal Handy−phone System)等がある。例えば、無線通信規格として、WiMAX(Worldwide Interoperability for Microwave Access)、IEEE802.11、Bluetooth(登録商標)、IrDA、NFC(Near Field Communication)等がある。通信ユニット6は、上述した通信規格の1つ又は複数をサポートしていてもよい。   The communication unit 6 communicates wirelessly. The communication method performed by the communication unit 6 is a wireless communication standard. For example, wireless communication standards include cellular phone communication standards such as 2G, 3G, and 4G. For example, communication standards for cellular phones include LTE (Long Term Evolution), W-CDMA, CDMA2000, PDC, GSM (registered trademark), PHS (Personal Handy-phone System), and the like. Examples of wireless communication standards include WiMAX (Worldwide Interoperability for Microwave Access), IEEE802.11, Bluetooth (registered trademark), IrDA, NFC (Near Field Communication), and the like. The communication unit 6 may support one or more of the communication standards described above.

レシーバ7は、コントローラ10から送信される音声信号を音声として出力する。マイク8は、利用者等の音声を音声信号へ変換してコントローラ10へ送信する。なお、スマートフォン1は、レシーバ7に加えて、スピーカをさらに有してもよい。スマートフォン1は、レシーバ7に代えて、スピーカをさらに有してもよい。   The receiver 7 outputs the audio signal transmitted from the controller 10 as audio. The microphone 8 converts the voice of the user or the like into a voice signal and transmits it to the controller 10. The smartphone 1 may further include a speaker in addition to the receiver 7. The smartphone 1 may further include a speaker instead of the receiver 7.

ストレージ9は、プログラム及びデータを記憶する。また、ストレージ9は、コントローラ10の処理結果を一時的に記憶する作業領域としても利用される。ストレージ9は、半導体記憶デバイス、及び磁気記憶デバイス等の任意の記憶デバイスを含んでよい。また、ストレージ9は、複数の種類の記憶デバイスを含んでよい。また、ストレージ9は、メモリカード等の可搬の記憶媒体と、記憶媒体の読み取り装置との組み合わせを含んでよい。   The storage 9 stores programs and data. The storage 9 is also used as a work area for temporarily storing the processing result of the controller 10. The storage 9 may include any storage device such as a semiconductor storage device and a magnetic storage device. The storage 9 may include a plurality of types of storage devices. The storage 9 may include a combination of a portable storage medium such as a memory card and a storage medium reading device.

ストレージ9に記憶されるプログラムには、フォアグランド又はバックグランドで実行されるアプリケーションと、アプリケーションの動作を支援する制御プログラムとが含まれる。アプリケーションは、例えば、ディスプレイ2Aに所定の画面を表示させ、タッチスクリーン2Bによって検出されるジェスチャに応じた処理をコントローラ10に実行させる。制御プログラムは、例えば、OSである。アプリケーション及び制御プログラムは、通信ユニット6による無線通信又は記憶媒体を介してストレージ9にインストールされてもよい。   The programs stored in the storage 9 include an application executed in the foreground or the background and a control program that supports the operation of the application. For example, the application displays a predetermined screen on the display 2A, and causes the controller 10 to execute processing according to the gesture detected by the touch screen 2B. The control program is, for example, an OS. The application and the control program may be installed in the storage 9 via wireless communication by the communication unit 6 or a storage medium.

ストレージ9は、例えば、制御プログラム9A、メールアプリケーション9B、ブラウザアプリケーション9C、設定データ9Zを記憶する。メールアプリケーション9Bは、電子メールの作成、送信、受信、及び表示等のための電子メール機能を提供する。ブラウザアプリケーション9Cは、WEBページを表示するためのWEBブラウジング機能を提供する。テーブル9Dは、キーアサインテーブル等の各種テーブルが格納されている。配置パターンデータベース9Eは、ディスプレイ2Aに表示されるアイコン等の配置パターンが格納されている。設定データ9Zは、スマートフォン1の動作に関する各種の設定機能を提供する。   The storage 9 stores, for example, a control program 9A, a mail application 9B, a browser application 9C, and setting data 9Z. The mail application 9B provides an electronic mail function for creating, transmitting, receiving, and displaying an electronic mail. The browser application 9C provides a WEB browsing function for displaying a WEB page. The table 9D stores various tables such as a key assignment table. The arrangement pattern database 9E stores arrangement patterns such as icons displayed on the display 2A. The setting data 9Z provides various setting functions related to the operation of the smartphone 1.

制御プログラム9Aは、スマートフォン1を稼働させるための各種制御に関する機能を提供する。制御プログラム9Aは、例えば、通信ユニット6、レシーバ7、及びマイク8等を制御することによって、通話を実現させる。制御プログラム9Aが提供する機能には、タッチスクリーン2Bを介して検出されたジェスチャに応じて、ディスプレイ2Aに表示されている情報を変更する等の各種制御を行う機能が含まれる。なお、制御プログラム9Aが提供する機能は、メールアプリケーション9B等の他のプログラムが提供する機能と組み合わせて利用されることがある。   The control program 9A provides functions related to various controls for operating the smartphone 1. The control program 9A realizes a call by controlling the communication unit 6, the receiver 7, the microphone 8, and the like, for example. The function provided by the control program 9A includes a function of performing various controls such as changing information displayed on the display 2A according to a gesture detected via the touch screen 2B. Note that the functions provided by the control program 9A may be used in combination with functions provided by other programs such as the mail application 9B.

コントローラ10は、例えば、CPU(Central Processing Unit)である。コントローラ10は、通信ユニット6等の他の構成要素が統合されたSoC(System−on−a−chip)等の集積回路であってもよい。コントローラ10は、スマートフォン1の動作を統括的に制御して各種の機能を実現する。   The controller 10 is, for example, a CPU (Central Processing Unit). The controller 10 may be an integrated circuit such as a SoC (System-on-a-chip) in which other components such as the communication unit 6 are integrated. The controller 10 controls various operations of the smartphone 1 to realize various functions.

具体的には、コントローラ10は、ストレージ9に記憶されているデータを必要に応じて参照しつつ、ストレージ9に記憶されているプログラムに含まれる命令を実行して、ディスプレイ2A及び通信ユニット6等を制御することによって各種機能を実現する。コントローラ10は、タッチスクリーン2B、ボタン3、加速度センサ15等の各種検出部の検出結果に応じて、制御を変更することもある。   Specifically, the controller 10 executes instructions included in the program stored in the storage 9 while referring to the data stored in the storage 9 as necessary, and the display 2A, the communication unit 6 and the like. Various functions are realized by controlling. The controller 10 may change the control according to detection results of various detection units such as the touch screen 2B, the button 3, and the acceleration sensor 15.

コントローラ10は、例えば、制御プログラム9Aを実行することにより、タッチスクリーン2Bを介して検出されたジェスチャに応じて、ディスプレイ2Aに表示されている情報を変更する等の各種制御を実行する。   For example, by executing the control program 9A, the controller 10 executes various controls such as changing information displayed on the display 2A according to a gesture detected via the touch screen 2B.

カメラ12は、フロントフェイス1Aに面している物体を撮影するインカメラである。カメラ13は、バックフェイス1Bに面している物体を撮影するアウトカメラである。   The camera 12 is an in-camera that captures an object facing the front face 1A. The camera 13 is an out camera that captures an object facing the back face 1B.

外部インターフェイス14は、他の装置が接続される端子である。外部インターフェイス14は、USB(Universal Serial Bus)、HDMI(High−Definition Multimedia Interface)、ライトピーク(サンダーボルト)、イヤホンマイクコネクタのような汎用的な端子であってもよい。外部インターフェイス14は、Dockコネクタのような専用に設計された端子でもよい。外部インターフェイス14に接続される装置には、例えば、外部ストレージ、スピーカ、通信装置が含まれる。   The external interface 14 is a terminal to which another device is connected. The external interface 14 may be a general-purpose terminal such as a universal serial bus (USB), a high-definition multimedia interface (HDMI), a light peak (thunderbolt), and an earphone microphone connector. The external interface 14 may be a dedicated terminal such as a dock connector. Devices connected to the external interface 14 include, for example, an external storage, a speaker, and a communication device.

加速度センサ15は、スマートフォン1に働く加速度の方向及び大きさを検出する。方位センサ16は、地磁気の向きを検出する。回転検出センサ17は、スマートフォン1の回転を検出する。加速度センサ15、方位センサ16及び回転検出センサ17の検出結果は、スマートフォン1の位置及び姿勢の変化を検出するために、組み合わせて利用される。   The acceleration sensor 15 detects the direction and magnitude of acceleration acting on the smartphone 1. The direction sensor 16 detects the direction of geomagnetism. The rotation detection sensor 17 detects the rotation of the smartphone 1. The detection results of the acceleration sensor 15, the orientation sensor 16, and the rotation detection sensor 17 are used in combination in order to detect changes in the position and orientation of the smartphone 1.

このように構成されるスマートフォン1は、消費電力を低減して効率的にアクセスポイントへ接続できる。以下に、通信ユニット6及びコントローラ10の具体的な機能について説明する。
なお、通信ユニット6は、IEEE802.11で規定されている通信方式に対応しているものとする。
The smartphone 1 configured as described above can efficiently connect to an access point while reducing power consumption. Hereinafter, specific functions of the communication unit 6 and the controller 10 will be described.
It is assumed that the communication unit 6 is compatible with a communication method defined in IEEE 802.11.

ストレージ9は、通信ユニット6がアクセスポイントへの接続に成功した場合、このアクセスポイントの識別情報と共に、接続に成功した時点で取得したスマートフォン1の位置情報、及び接続に成功した時点でスマートフォン1の周辺にあったアクセスポイントの識別情報を記憶する。
具体的には、コントローラ10は、GPS機能、又は基地局やルータ等の位置情報に基づいて、現在のスマートフォン1の位置情報を取得する。また、コントローラ10は、周辺のアクセスポイントをサーチした結果としてRSSI(Receive Signal Strength Indication:受信信号強度)の強い順に上位の所定数を取得する。そして、コントローラ10は、取得した位置情報及び周辺アクセスポイントの識別情報をストレージ9に記憶する。
When the communication unit 6 succeeds in connecting to the access point, the storage 9 stores the location information of the smartphone 1 acquired at the time of successful connection together with the identification information of the access point, and the smartphone 1 at the time of successful connection. The identification information of the access points that are in the vicinity is stored.
Specifically, the controller 10 acquires the current position information of the smartphone 1 based on the GPS function or position information such as a base station and a router. In addition, the controller 10 acquires a predetermined upper number in descending order of RSSI (Receive Signal Strength Indication) as a result of searching for nearby access points. Then, the controller 10 stores the acquired position information and peripheral access point identification information in the storage 9.

コントローラ10は、過去に接続したアクセスポイントの情報、又は予め登録されているアクセスポイントの情報をストレージ9から取得し、これらのアクセスポイントへ、所定の周期で自動接続を試みる。   The controller 10 acquires information on access points connected in the past or information on access points registered in advance from the storage 9, and attempts automatic connection to these access points at a predetermined cycle.

コントローラ10は、所定の周期でアクセスポイントへの接続が要求された際に位置情報を取得し、この取得した位置情報がストレージ9に記憶されている位置情報と所定未満に接近している条件を満たしているか否かを判定する。さらに、コントローラ10は、スマートフォン1の周辺にあるアクセスポイントの識別情報の少なくとも一部がストレージ9に記憶されている識別情報に含まれている条件を満たしているか否かを判定する。そして、コントローラ10は、これらの条件を共に満たしている場合に、通信ユニット6に当該アクセスポイントへの接続処理を行わせ、当該条件を満たさない場合、接続処理を行わせない。   The controller 10 acquires position information when a connection to the access point is requested at a predetermined cycle, and the condition that the acquired position information is close to the position information stored in the storage 9 is less than a predetermined value. It is determined whether it is satisfied. Further, the controller 10 determines whether or not at least a part of the identification information of the access points around the smartphone 1 satisfies the condition included in the identification information stored in the storage 9. The controller 10 causes the communication unit 6 to perform connection processing to the access point when both of these conditions are satisfied, and does not perform connection processing when the conditions are not satisfied.

また、コントローラ10は、接続に成功したアクセスポイントが公衆無線LANであるか否かの種別を操作入力によって受け付け、この種別を、アクセスポイントの識別情報と共にストレージ9に記憶させる。そして、コントローラ10は、特定種別のアクセスポイント、すなわち公衆無線LANのアクセスポイントについて、通常通りに接続を試行する。   Further, the controller 10 accepts a type indicating whether or not the access point that has been successfully connected is a public wireless LAN by an operation input, and stores this type in the storage 9 together with the identification information of the access point. Then, the controller 10 tries to connect the access point of a specific type, that is, the access point of the public wireless LAN as usual.

図5は、コントローラ10におけるアクセスポイントへの接続処理を示すフローチャートである。   FIG. 5 is a flowchart showing a connection process to an access point in the controller 10.

ステップS1において、コントローラ10は、アクセスポイント(AP)へ自動接続するためのサーチ実行周期が経過したか否かを判定する。この判定がYESの場合、APへの自動接続が要求されたものとして、処理はステップS2に移り、判定がNOの場合、処理はステップS1を継続する。   In step S1, the controller 10 determines whether or not a search execution cycle for automatically connecting to an access point (AP) has elapsed. If this determination is YES, assuming that automatic connection to the AP is requested, the process proceeds to step S2, and if the determination is NO, the process continues to step S1.

ステップS2において、コントローラ10は、接続対象のアクセスポイントへの接続を試行するか否かの判定処理を行う。なお、この判定処理の詳細は図6で後述する。   In step S <b> 2, the controller 10 determines whether or not to try to connect to the connection target access point. Details of this determination process will be described later with reference to FIG.

ステップS3において、コントローラ10は、ステップS2で接続を試行すると判定されたアクセスポイントに対する接続処理を行う。   In step S <b> 3, the controller 10 performs a connection process for the access point determined to try to connect in step S <b> 2.

ステップS4において、コントローラ10は、アクセスポイントへの接続に成功したか否かを判定する。この判定がYESの場合、処理はステップS5に移り、判定がNOの場合、処理はステップS1に戻る。   In step S4, the controller 10 determines whether or not the connection to the access point is successful. If this determination is YES, the process proceeds to step S5, and if the determination is NO, the process returns to step S1.

ステップS5において、コントローラ10は、スマートフォン1の現在位置情報と、周辺アクセスポイント情報を取得し、アクセスポイントの識別情報と対応付けてストレージ9に保存する。   In step S <b> 5, the controller 10 acquires the current position information of the smartphone 1 and the peripheral access point information, and stores them in the storage 9 in association with the access point identification information.

ステップS6において、コントローラ10は、接続に成功したアクセスポイントが公衆無線LANか否の設定入力を受け付け、種別示す情報を、アクセスポイントの識別情報と対応付けてストレージ9に保存する。   In step S <b> 6, the controller 10 receives a setting input indicating whether or not the access point that has been successfully connected is a public wireless LAN, and stores information indicating the type in the storage 9 in association with the identification information of the access point.

図6は、コントローラ10においてアクセスポイントへの接続を試行するか否かを判定する判定処理を示すフローチャートである。この判定処理は、図5のステップS2に相当する。   FIG. 6 is a flowchart showing determination processing for determining whether or not the controller 10 tries to connect to the access point. This determination process corresponds to step S2 in FIG.

ステップS11において、コントローラ10は、周辺のアクセスポイントをサーチすると共に、スマートフォン1の現在位置情報を取得する。   In step S <b> 11, the controller 10 searches for nearby access points and acquires current position information of the smartphone 1.

ステップS12において、コントローラ10は、ステップS11で発見されたアクセスポイントの中に、接続対象のアクセスポイントが存在するか否かを判定する。具体的には、コントローラ10は、自装置に登録されているSSIDと同一のアクセスポイントが発見されたか否かを判定する。この判定がYESの場合、処理はステップS13に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S12, the controller 10 determines whether or not there is a connection target access point among the access points discovered in step S11. Specifically, the controller 10 determines whether or not the same access point as the SSID registered in its own device has been found. If this determination is YES, the process proceeds to step S13, and if the determination is NO, the process returns to step S1 in FIG.

ステップS13において、コントローラ10は、ストレージ9に保存されている種別情報に基づいて、接続対象のアクセスポイントが公衆無線LANに設定されているか否かを判定する。この判定がYESの場合、判定処理は終了して図5のステップS3に移り、判定がNOの場合、処理はステップS14に移る。   In step S13, the controller 10 determines whether or not the access point to be connected is set to the public wireless LAN based on the type information stored in the storage 9. If this determination is YES, the determination process ends and the process proceeds to step S3 in FIG. 5, and if the determination is NO, the process proceeds to step S14.

ステップS14において、コントローラ10は、ステップS11で現在位置情報が取得されており、かつ、接続対象のアクセスポイントに対する接続が成功した時の位置情報がストレージ9から取得できたか否かを判定する。この判定がYESの場合、処理はステップS15に移り、判定がNOの場合、処理はステップS16に移る。   In step S <b> 14, the controller 10 determines whether or not the current position information has been acquired in step S <b> 11 and the position information when the connection to the access point to be connected has been successfully acquired from the storage 9. If this determination is YES, the process proceeds to step S15, and if the determination is NO, the process proceeds to step S16.

ステップS15において、コントローラ10は、現在位置の周辺に、接続成功時の位置情報が存在するか否かを判定する。この判定がYESの場合、処理はステップS16に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S <b> 15, the controller 10 determines whether or not position information at the time of successful connection exists around the current position. If this determination is YES, the process proceeds to step S16, and if the determination is NO, the process returns to step S1 in FIG.

ステップS16において、コントローラ10は、現在の周辺アクセスポイントのうち、RSSIの強い上位所定数の少なくとも一部が、接続対象のアクセスポイントに対応付けてストレージ9に保存されている周辺アクセスポイント情報に含まれているか否かを判定する。この判定がYESの場合、処理は図5のステップS3に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S <b> 16, the controller 10 includes at least a part of the upper predetermined number having a strong RSSI among the current peripheral access points in the peripheral access point information stored in the storage 9 in association with the connection target access point. It is determined whether or not. If this determination is YES, the process proceeds to step S3 in FIG. 5, and if the determination is NO, the process returns to step S1 in FIG.

以上のように、本実施形態によれば、スマートフォン1は、過去に接続に成功しているアクセスポイントと同一のSSIDを有するアクセスポイントを発見した際に、接続に成功した時の位置情報と現在の位置情報とを比較し、所定以上離れており対応していない場合に、異なるアクセスポイントであると判断して、接続処理を行わない。したがって、スマートフォン1は、SSIDが同一だが物理的に異なるアクセスポイントを精度良く判別し、失敗する可能性が高い無駄な接続動作を抑制して効率的にアクセスポイントへ接続できる。この結果、スマートフォン1は、消費電力を低減できる。   As described above, according to the present embodiment, when the smartphone 1 discovers an access point having the same SSID as an access point that has been successfully connected in the past, the location information and the current time when the connection is successful If the location information is more than a predetermined distance and is not supported, it is determined that the access point is different and connection processing is not performed. Therefore, the smartphone 1 can accurately determine access points that have the same SSID but are physically different, and can efficiently connect to the access points by suppressing useless connection operations that are likely to fail. As a result, the smartphone 1 can reduce power consumption.

また、スマートフォン1は、接続に成功した時の周辺のアクセスポイントと、現在の周辺のアクセスポイントとを比較し、類似性がない場合に、異なるアクセスポイントであると判断して、接続処理を行わない。したがって、スマートフォン1は、SSIDが同一だが物理的に異なるアクセスポイントを精度良く判別し、失敗する可能性が高い無駄な接続動作を抑制して効率的にアクセスポイントへ接続できる。この結果、スマートフォン1は、消費電力を低減できる。   Further, the smartphone 1 compares the peripheral access points when the connection is successful with the current peripheral access points, and determines that the access points are different when there is no similarity, and performs connection processing. Absent. Therefore, the smartphone 1 can accurately determine access points that have the same SSID but are physically different, and can efficiently connect to the access points by suppressing useless connection operations that are likely to fail. As a result, the smartphone 1 can reduce power consumption.

また、スマートフォン1は、物理的に異なるアクセスポイントであってもSSIDが同一であれば接続できることが多い公衆無線LANについては、判定処理を省略することにより接続処理を効率化し、消費電力を低減できる。   Moreover, even if the smartphone 1 is a physically different access point, as long as the SSID is the same, a connection can be made more efficient and power consumption can be reduced by omitting the determination process for a public wireless LAN that can often be connected. .

<第2実施形態>
本発明を実施するための第2実施形態を説明する。なお、第1実施形態と同様の構成に対しては同一の符号を付し、説明を省略又は簡略化する。
Second Embodiment
A second embodiment for carrying out the present invention will be described. In addition, the same code | symbol is attached | subjected to the structure similar to 1st Embodiment, and description is abbreviate | omitted or simplified.

本実施形態において、コントローラ10は、アクセスポイントのサーチ処理を効率化し、消費電力をさらに抑制する。
コントローラ10は、アクセスポイントのサーチを開始する前に位置情報を取得し、当該取得した位置情報がストレージ9に記憶されている位置情報のいずれとも所定以上に離れており、対応していない場合、通信ユニット6によるアクセスポイントへの接続処理を行わない。
In the present embodiment, the controller 10 makes the access point search process more efficient and further suppresses power consumption.
When the controller 10 acquires the position information before starting the search for the access point, and the acquired position information is apart from the position information stored in the storage 9 by a predetermined amount or more, Connection processing to the access point by the communication unit 6 is not performed.

図7は、コントローラ10においてアクセスポイントへの接続を試行するか否かを判定する判定処理を示すフローチャートである。この処理は、図6の判定処理に代えて実行される。   FIG. 7 is a flowchart showing determination processing for determining whether or not the controller 10 tries to connect to the access point. This process is executed instead of the determination process of FIG.

ステップS21において、コントローラ10は、ストレージ9に保存されている種別情報に基づいて、接続対象のアクセスポイントが公衆無線LANに設定されているか否かを判定する。この判定がYESの場合、処理はステップS22に移り、判定がNOの場合、処理はステップS24に移る。   In step S <b> 21, the controller 10 determines whether the access point to be connected is set to the public wireless LAN based on the type information stored in the storage 9. If this determination is YES, the process proceeds to step S22, and if the determination is NO, the process proceeds to step S24.

ステップS22において、コントローラ10は、スマートフォン1の周辺にあるアクセスポイントをサーチする。   In step S <b> 22, the controller 10 searches for access points in the vicinity of the smartphone 1.

ステップS23において、コントローラ10は、ステップS22で発見されたアクセスポイントの中に、接続対象のアクセスポイントが存在するか否かを判定する。具体的には、コントローラ10は、自装置に登録されているSSIDと同一のアクセスポイントが発見されたか否かを判定する。この判定がYESの場合、処理は図5のステップS3に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S23, the controller 10 determines whether or not there is an access point to be connected among the access points discovered in step S22. Specifically, the controller 10 determines whether or not the same access point as the SSID registered in its own device has been found. If this determination is YES, the process proceeds to step S3 in FIG. 5, and if the determination is NO, the process returns to step S1 in FIG.

ステップS24において、コントローラ10は、スマートフォン1の現在位置情報を取得する。   In step S <b> 24, the controller 10 acquires current position information of the smartphone 1.

ステップS25において、コントローラ10は、ステップS24で現在位置情報が取得されており、かつ、接続対象のアクセスポイントに対する接続が成功した時の位置情報がストレージ9から取得できたか否かを判定する。この判定がYESの場合、処理はステップS26に移り、判定がNOの場合、処理はステップS27に移る。   In step S <b> 25, the controller 10 determines whether or not the current position information has been acquired in step S <b> 24 and position information when the connection to the connection target access point has been successfully acquired from the storage 9. If this determination is YES, the process proceeds to step S26, and if the determination is NO, the process proceeds to step S27.

ステップS26において、コントローラ10は、現在位置の周辺に、接続成功時の位置情報が存在するか否かを判定する。この判定がYESの場合、処理はステップS27に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S <b> 26, the controller 10 determines whether or not position information at the time of successful connection exists around the current position. If this determination is YES, the process proceeds to step S27, and if the determination is NO, the process returns to step S1 in FIG.

ステップS27において、コントローラ10は、スマートフォン1の周辺にあるアクセスポイントをサーチする。   In step S <b> 27, the controller 10 searches for access points in the vicinity of the smartphone 1.

ステップS28において、コントローラ10は、ステップS27で発見されたアクセスポイントの中に、接続対象のアクセスポイントが存在するか否かを判定する。具体的には、コントローラ10は、自装置に登録されているSSIDと同一のアクセスポイントが発見されたか否かを判定する。この判定がYESの場合、処理はステップS29に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S28, the controller 10 determines whether or not there is an access point to be connected among the access points discovered in step S27. Specifically, the controller 10 determines whether or not the same access point as the SSID registered in its own device has been found. If this determination is YES, the process proceeds to step S29, and if the determination is NO, the process returns to step S1 in FIG.

ステップS29において、コントローラ10は、現在の周辺アクセスポイントのうち、RSSIの強い上位所定数の少なくとも一部が、接続対象のアクセスポイントに対応付けてストレージ9に保存されている周辺アクセスポイント情報に含まれているか否かを判定する。この判定がYESの場合、処理は図5のステップS3に移り、判定がNOの場合、処理は図5のステップS1に戻る。   In step S29, the controller 10 includes at least a part of the upper predetermined number having a strong RSSI among the current peripheral access points included in the peripheral access point information stored in the storage 9 in association with the connection target access point. It is determined whether or not. If this determination is YES, the process proceeds to step S3 in FIG. 5, and if the determination is NO, the process returns to step S1 in FIG.

以上のように、本実施形態によれば、スマートフォン1は、アクセスポイントへの接続に成功した時の位置情報と現在の位置情報とを比較し、所定以上離れており対応していない場合に、異なるアクセスポイントであると判断して、サーチ処理を実行しない。したがって、スマートフォン1は、SSIDが同一だが物理的に異なるアクセスポイントを精度良く判別し、失敗する可能性が高い無駄な接続動作に加えてサーチ動作をも抑制して効率的にアクセスポイントへ接続できる。この結果、スマートフォン1は、消費電力を低減できる。   As described above, according to the present embodiment, the smartphone 1 compares the current position information with the position information when the connection to the access point is successful, It is determined that the access point is different, and the search process is not executed. Accordingly, the smartphone 1 can accurately determine access points that have the same SSID but are physically different, and can efficiently connect to an access point by suppressing a search operation in addition to a useless connection operation that is highly likely to fail. . As a result, the smartphone 1 can reduce power consumption.

以上、本発明の実施形態について説明したが、本発明は前述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、前述の実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. Further, the effects described in the embodiments of the present invention only list the most preferable effects resulting from the present invention, and the effects of the present invention are not limited to those described in the above-described embodiments. Absent.

第1実施形態において、スマートフォン1は、アクセスポイントの同異を判定するために、位置情報及び周辺アクセスポイント情報の双方を用いたが、いずれか一方により判定してもよい。また、一方のみの判定結果によって接続処理を行うか否かを決定してもよい。例えば、スマートフォン1は、位置情報を取得できない場合でも、周辺アクセスポイント情報を用いることにより、接続動作を効率化し、消費電力を抑制できる。
なお、位置情報の近さ、及び周辺アクセスポイントの類似を判定する順番は限定されない。
In the first embodiment, the smartphone 1 uses both the position information and the peripheral access point information in order to determine the difference between the access points. Further, whether or not to perform connection processing may be determined based on only one determination result. For example, even when the location information cannot be acquired, the smartphone 1 can improve the connection operation and suppress power consumption by using the peripheral access point information.
Note that the order of determining the proximity of the location information and the similarity of the peripheral access points is not limited.

また、周辺アクセスポイントの類似判定方法は前述の方法には限られない。例えば、所定数が選択された周辺アクセスポイント同士の比較において、一致する割合が所定以上の場合に同一のアクセスポイントと判定する等、適宜設計可能である。   Further, the similarity determination method of the peripheral access points is not limited to the method described above. For example, in comparison between peripheral access points where a predetermined number is selected, it is possible to design as appropriate, such as determining the same access point when the matching ratio is equal to or greater than a predetermined value.

また、アクセスポイントへの接続が成功した時のスマートフォン1の位置情報は、複数記憶されてもよい。
この場合、RSSIが併せて記憶されていることが好ましい。コントローラ10は、新たに接続に成功した時の位置情報が、記憶されている位置情報に近接していれば、RSSIが強い方を選択して記憶してもよい。また、新たに接続に成功した時の位置情報が、記憶されている位置情報と離れていれば、双方を記憶してもよい。
このことにより、RSSIの強さに基づいて、記憶される位置情報がより接続に適した位置情報に更新され、また、広範囲で接続可能なアクセスポイントについては複数の位置情報によって接続可能エリアが示される。
In addition, a plurality of pieces of position information of the smartphone 1 when the connection to the access point is successful may be stored.
In this case, it is preferable that RSSI is stored together. The controller 10 may select and store the stronger RSSI if the position information when the connection is newly made is close to the stored position information. Further, if the position information when the connection is newly established is separated from the stored position information, both may be stored.
As a result, based on the strength of RSSI, the stored location information is updated to location information that is more suitable for connection, and for access points that can be connected over a wide range, the connectable area is indicated by a plurality of location information. It is.

図4に示したスマートフォン1の構成は一例であり、本発明の要旨を損なわない範囲において適宜変更してよい。   The configuration of the smartphone 1 illustrated in FIG. 4 is an example, and may be appropriately changed within a range that does not impair the gist of the present invention.

また、前述の実施形態では、通信装置の一例として、スマートフォンについて説明したが、通信装置は、スマートフォンに限定されない。例えば、通信装置は、モバイルフォン、携帯型パソコン、デジタルカメラ、メディアプレイヤ、電子書籍リーダ、ナビゲータ又はゲーム機等の携帯電子機器、あるいは通信機能に特化した通信専用モジュールであってもよい。また、通信装置は、デスクトップパソコン、テレビ受像器等の据え置き型の電子機器であってもよい。   Moreover, although the above-mentioned embodiment demonstrated a smart phone as an example of a communication apparatus, a communication apparatus is not limited to a smart phone. For example, the communication device may be a mobile phone, a portable personal computer, a digital camera, a media player, an electronic book reader, a portable electronic device such as a navigator or a game machine, or a communication-dedicated module specialized for a communication function. The communication device may be a stationary electronic device such as a desktop personal computer or a television receiver.

1 スマートフォン(通信装置)
6 通信ユニット(通信部)
9 ストレージ(記憶部)
10 コントローラ(制御部)
1 Smartphone (communication device)
6 Communication unit (communication unit)
9 Storage (storage unit)
10 Controller (control unit)

Claims (8)

IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報を記憶する記憶部と、
前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報と対応しない場合、接続試行しない制御部と、を備える通信装置。
A communication unit connected to the access point by a communication method compliant with IEEE 802.11;
When the connection to the access point is successful, a storage unit that stores location information acquired at the time of successful connection;
When a connection to an access point that has succeeded in connection is requested, position information is acquired, and when the acquired position information does not correspond to the position information stored in the storage unit, a control unit that does not attempt connection, A communication device comprising:
IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶部と、
前記接続に成功したアクセスポイントへの接続が要求された際に、自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶部に記憶されている接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御部と、を備える通信装置。
A communication unit connected to the access point by a communication method compliant with IEEE 802.11;
When the connection to the access point is successful, a storage unit that stores information of the access point that was in the vicinity of the own device when the connection was successful;
When connection to an access point that has succeeded in connection is requested, at least a part of information on access points in the vicinity of the own device is stored in the storage unit, and the periphery of the own device And a control unit that does not attempt connection when the information is not included in the access point information.
IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信部と、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報、及び当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶部と、
前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報と対応しない場合、又は自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶部に記憶されている接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御部と、を備える通信装置。
A communication unit connected to the access point by a communication method compliant with IEEE 802.11;
When the connection to the access point is successful, the storage unit that stores the location information acquired when the connection is successful, and the information of the access point that was in the vicinity of the device when the connection was successful,
When location information is acquired when a connection to the access point that has succeeded in connection is requested, and the acquired location information does not correspond to the location information stored in the storage unit, or is in the vicinity of the own device A control unit that does not attempt connection when at least a part of the information of the access point is not included in the information of the access point that is in the vicinity of the own device when the connection stored in the storage unit is successful Communication device.
前記制御部は、アクセスポイントのサーチを開始する前に位置情報を取得し、当該取得した位置情報が前記記憶部に記憶されている位置情報のいずれとも対応しない場合、アクセスポイントへ接続試行しない請求項1から請求項3のいずれか1項に記載の通信装置。   The control unit acquires location information before starting an access point search, and does not attempt to connect to the access point when the acquired location information does not correspond to any of the location information stored in the storage unit. The communication device according to any one of claims 1 to 3. 前記記憶部は、操作入力に基づいて、前記接続に成功したアクセスポイントの種別を記憶し、
前記制御部は、特定種別のアクセスポイントについて、前記接続試行しない制御を行わない請求項1から請求項4のいずれか1項に記載の通信装置。
The storage unit stores a type of the access point that has succeeded in the connection based on an operation input,
The communication device according to any one of claims 1 to 4, wherein the control unit does not perform control not to attempt the connection for a specific type of access point.
IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報を記憶する記憶ステップと、
前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶ステップで記憶された位置情報と対応しない場合、接続試行しない制御ステップと、を含む通信制御方法。
A communication control method in a communication device connected to an access point by a communication method compliant with IEEE 802.11,
If the connection to the access point is successful, a storage step for storing the location information acquired at the time of successful connection;
A control step of acquiring position information when a connection to an access point that has succeeded in connection is requested, and the acquired position information does not correspond to the position information stored in the storage step, and a control step that does not attempt connection. Including a communication control method.
IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶ステップと、
前記接続に成功したアクセスポイントへの接続が要求された際に、自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶ステップで記憶された接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御ステップと、を含む通信制御方法。
A communication control method in a communication device connected to an access point by a communication method compliant with IEEE 802.11,
When the connection to the access point is successful, a storage step of storing information on the access point that was in the vicinity of the own device when the connection was successful;
When a connection to an access point that has succeeded in the connection is requested, at least a part of the information of the access points in the vicinity of the own device is transferred to the periphery of the own device when the connection stored in the storing step is successful. And a control step that does not attempt a connection if the access point information is not included in the information of the access point.
IEEE802.11に準拠した通信方式によってアクセスポイントへ接続する通信装置における通信制御方法であって、
アクセスポイントへの接続に成功した場合、当該接続に成功した時点で取得した位置情報、及び当該接続に成功した時点で自装置の周辺にあったアクセスポイントの情報を記憶する記憶ステップと、
前記接続に成功したアクセスポイントへの接続が要求された際に位置情報を取得し、当該取得した位置情報が前記記憶ステップで記憶された位置情報と対応しない場合、又は自装置の周辺にあるアクセスポイントの情報の少なくとも一部が前記記憶ステップで記憶された接続に成功した時点で自装置の周辺にあったアクセスポイントの情報に含まれていない場合、接続試行しない制御ステップと、を含む通信制御方法。
A communication control method in a communication device connected to an access point by a communication method compliant with IEEE 802.11,
When the connection to the access point is successful, the storage step of storing the location information acquired when the connection is successful, and the information of the access point that was in the vicinity of the own device when the connection was successful;
When location information is acquired when connection to an access point that has succeeded in connection is requested, and the acquired location information does not correspond to the location information stored in the storage step, or access that is in the vicinity of the own device A communication control step that includes a control step in which connection is not attempted when at least a part of the point information is not included in the access point information that was in the vicinity of the device at the time of successful connection stored in the storing step. Method.
JP2012168667A 2012-07-30 2012-07-30 Communication apparatus and communication control method Expired - Fee Related JP5979636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012168667A JP5979636B2 (en) 2012-07-30 2012-07-30 Communication apparatus and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012168667A JP5979636B2 (en) 2012-07-30 2012-07-30 Communication apparatus and communication control method

Publications (2)

Publication Number Publication Date
JP2014027610A true JP2014027610A (en) 2014-02-06
JP5979636B2 JP5979636B2 (en) 2016-08-24

Family

ID=50200840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012168667A Expired - Fee Related JP5979636B2 (en) 2012-07-30 2012-07-30 Communication apparatus and communication control method

Country Status (1)

Country Link
JP (1) JP5979636B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017011662A (en) * 2015-06-26 2017-01-12 キヤノン株式会社 Communication device, control method, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005198060A (en) * 2004-01-08 2005-07-21 Matsushita Electric Ind Co Ltd Mobile wireless terminal
JP2007536836A (en) * 2004-05-06 2007-12-13 リサーチ イン モーション リミテッド Apparatus and associated method for facilitating WLAN selection by a mobile node
JP2009201104A (en) * 2008-01-24 2009-09-03 Fujitsu Ltd Radio communication terminal, radio communication terminal control method, and radio communication terminal control program
JP2010087829A (en) * 2008-09-30 2010-04-15 Sony Corp Terminal device, method for displaying connectable-position information, and program
JP2010109681A (en) * 2008-10-30 2010-05-13 Nec Corp Mobile terminal, wireless local area network connection method, and program
JP2010109582A (en) * 2008-10-29 2010-05-13 Ntt Docomo Inc Communication terminal and position information acquisition adjusting program
JP2011217095A (en) * 2010-03-31 2011-10-27 Kddi Corp Distribution information acquisition method of controlling startup of wireless lan interface, mobile terminal, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005198060A (en) * 2004-01-08 2005-07-21 Matsushita Electric Ind Co Ltd Mobile wireless terminal
JP2007536836A (en) * 2004-05-06 2007-12-13 リサーチ イン モーション リミテッド Apparatus and associated method for facilitating WLAN selection by a mobile node
JP2009201104A (en) * 2008-01-24 2009-09-03 Fujitsu Ltd Radio communication terminal, radio communication terminal control method, and radio communication terminal control program
JP2010087829A (en) * 2008-09-30 2010-04-15 Sony Corp Terminal device, method for displaying connectable-position information, and program
JP2010109582A (en) * 2008-10-29 2010-05-13 Ntt Docomo Inc Communication terminal and position information acquisition adjusting program
JP2010109681A (en) * 2008-10-30 2010-05-13 Nec Corp Mobile terminal, wireless local area network connection method, and program
JP2011217095A (en) * 2010-03-31 2011-10-27 Kddi Corp Distribution information acquisition method of controlling startup of wireless lan interface, mobile terminal, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017011662A (en) * 2015-06-26 2017-01-12 キヤノン株式会社 Communication device, control method, and program

Also Published As

Publication number Publication date
JP5979636B2 (en) 2016-08-24

Similar Documents

Publication Publication Date Title
JP2013065289A (en) Device, method, and program
JP6133564B2 (en) Electronic device, control method, and control program
JP5950546B2 (en) Portable electronic device, method and program
JP5773961B2 (en) Portable electronic devices
WO2014104173A1 (en) Wireless terminal device
US9949268B2 (en) Portable communication device and communication control method
JP2013110519A (en) Portable electronic apparatus, control method, and control program
US20130107779A1 (en) Wireless terminal device, communication control method, and recording medium
JP5702271B2 (en) Wireless terminal apparatus and communication control method
JP5979636B2 (en) Communication apparatus and communication control method
JP5837705B2 (en) Communication terminal and storage medium
JP2013135239A (en) Radio terminal device and radio communication method
JP5955129B2 (en) Wireless terminal apparatus and communication control method
JP6059256B2 (en) Communication terminal and storage medium
JP2013110497A (en) Radio terminal device and communication control method
JP5967899B2 (en) Wireless terminal apparatus and communication control method
WO2014057940A1 (en) Wireless communication apparatus and communication control method
JP2013135240A (en) Radio terminal device and communication control method
JP2013065287A (en) Device, method, and program
JP2014011494A (en) Radio communication device and communication control method
JP2014027541A (en) Communication device and communication control method
US20150257075A1 (en) Communication device and communication control method
JP6140972B2 (en) Communication device and communication control method
JP2014082629A (en) Mobile terminal, communication control method, and storage medium
JP6141491B2 (en) Portable electronic device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160527

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160719

R150 Certificate of patent or registration of utility model

Ref document number: 5979636

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees