[go: up one dir, main page]

JP2013258761A - Terminal device and its connection method - Google Patents

Terminal device and its connection method Download PDF

Info

Publication number
JP2013258761A
JP2013258761A JP2013178287A JP2013178287A JP2013258761A JP 2013258761 A JP2013258761 A JP 2013258761A JP 2013178287 A JP2013178287 A JP 2013178287A JP 2013178287 A JP2013178287 A JP 2013178287A JP 2013258761 A JP2013258761 A JP 2013258761A
Authority
JP
Japan
Prior art keywords
access point
state
user
connection
detected
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
JP2013178287A
Other languages
Japanese (ja)
Other versions
JP5611430B2 (en
Inventor
Masayoshi Son
正義 孫
Hirotora Tanba
廣寅 丹波
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.)
SoftBank Corp
Original Assignee
SoftBank Mobile 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 SoftBank Mobile Corp filed Critical SoftBank Mobile Corp
Priority to JP2013178287A priority Critical patent/JP5611430B2/en
Publication of JP2013258761A publication Critical patent/JP2013258761A/en
Application granted granted Critical
Publication of JP5611430B2 publication Critical patent/JP5611430B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】本発明は、無線LANによる円滑な通信を可能とする携帯端末及びその接続方法を提供することを目的とする。
【解決手段】本発明に係る携帯端末(2)は、無線LANのアクセスポイントに無線により接続可能な携帯端末であって、スキャンを実行してアクセス可能なアクセスポイントを検知し、アクセス可能なアクセスポイントのうちの一つに接続する通信部(21)と、アクセス可能なアクセスポイントのうち、所定時間間隔で所定回数スキャンを実行した結果連続して検知された同一のアクセス可能なアクセスポイントに接続するように通信部を制御する接続制御部(273)と、を有する。
【選択図】図3
An object of the present invention is to provide a portable terminal and a connection method thereof that enable smooth communication over a wireless LAN.
A portable terminal (2) according to the present invention is a portable terminal that can be wirelessly connected to an access point of a wireless LAN. Connected to the same accessible access point detected continuously as a result of scanning a predetermined number of times at a predetermined time interval among the communication unit (21) connected to one of the points and accessible access points And a connection control unit (273) for controlling the communication unit.
[Selection] Figure 3

Description

本発明は、無線LAN通信機能を有する携帯端末及びその接続方法に関する。   The present invention relates to a portable terminal having a wireless LAN communication function and a connection method thereof.

近年、パーソナルコンピュータを始め、携帯電話、ポータブルゲーム機等の様々な携帯端末への無線LAN(Local Area Network)通信機能の標準搭載が進みつつある(例えば、特許文献1を参照)。   In recent years, standard installation of a wireless LAN (Local Area Network) communication function has been progressing in various portable terminals such as personal computers, mobile phones, portable game machines, and the like (see, for example, Patent Document 1).

携帯端末がアクセスポイントを介してインターネット等に接続しようとする場合に、IEEE(Institute of Electrical and Electronics Engineers)802.11規格の無線通信方式では、携帯端末とアクセスポイントとの間でアソシエーションと呼ばれる予め定められた手順が行われ、アクセスポイントに対して携帯端末の存在を識別させることが規定されている。   When a portable terminal tries to connect to the Internet or the like via an access point, in the IEEE (Institute of Electrical and Electronics Engineers) 802.11 wireless communication system, an association between the portable terminal and the access point is called in advance. It is specified that a predetermined procedure is performed to allow the access point to identify the presence of the mobile terminal.

図6は、携帯端末とアクセスポイントとの間でアソシエーション(接続)を確立する手順の一例を示す図である。   FIG. 6 is a diagram illustrating an example of a procedure for establishing an association (connection) between a mobile terminal and an access point.

携帯端末は、自身が接続したいESSID(Extended Service Set Identifier)を含むプローブ要求をブロードキャストする(ステップS600)。   The portable terminal broadcasts a probe request including an ESSID (Extended Service Set Identifier) that it wants to connect to (step S600).

アクセスポイントは、プローブ要求に含まれるESSIDが自身のESSIDと同じであれば、プローブ応答を返信する(ステップS602)。プローブ応答には、BSSID(Basic Service Set Identifier)、暗号方式、認証方式、通信速度等のパラメータが含まれる。   If the ESSID included in the probe request is the same as its own ESSID, the access point returns a probe response (step S602). The probe response includes parameters such as BSSID (Basic Service Set Identifier), encryption method, authentication method, and communication speed.

携帯端末は、アクセスポイントに認証要求を送信する(ステップS604)。   The portable terminal transmits an authentication request to the access point (step S604).

アクセスポイントは、所定のアルゴリズムを用いて携帯端末を認証するか否かを決定し、その結果を含む認証応答を返信する(ステップS606)。一般には、携帯端末のMAC(Media Access Control)アドレスを識別子として認証が行われる。   The access point determines whether to authenticate the mobile terminal using a predetermined algorithm, and returns an authentication response including the result (step S606). Generally, authentication is performed using a MAC (Media Access Control) address of a mobile terminal as an identifier.

携帯端末は、アクセスポイントにより認証されたことを確認すると、アクセスポイントにアソシエーション要求を送信する(ステップS608)。アソシエーション要求には、ESSID、サポートレート、ポーリング利用要否等のパラメータが含まれる。   When the mobile terminal confirms that it has been authenticated by the access point, it transmits an association request to the access point (step S608). The association request includes parameters such as ESSID, support rate, necessity of using polling, and the like.

アクセスポイントは、認証されたMACアドレスであり、アソシエーション要求に含まれるパラメータがすべて自身に対応していることを確認できると、アソシエーション応答を返信する(ステップS610)。   When the access point is an authenticated MAC address and can confirm that all the parameters included in the association request correspond to itself, it returns an association response (step S610).

以上の手順の後に、携帯端末は、データフレームを送信できるようになる(ステップS612)。   After the above procedure, the mobile terminal can transmit a data frame (step S612).

特開2011−259159号公報JP 2011-259159 A

ところで、一般に、複数のアクセスポイントが存在する場合に、携帯端末は、すべてのチャネルをスキャンし、最も信号の強いアクセスポイントに接続を試みる。また、通信の途中でも、現在のアクセスポイントより信号の強いアクセスポイントが検知された場合に、携帯端末は、より信号の強いアクセスポイントに接続を試みる。したがって、近距離に複数のアクセスポイントが存在する場合に、携帯端末は接続先を頻繁に切り替えることがあり、円滑な通信が妨げられることがあった。   By the way, generally, when there are a plurality of access points, the mobile terminal scans all channels and tries to connect to the access point having the strongest signal. Further, even during communication, when an access point with a stronger signal than the current access point is detected, the mobile terminal tries to connect to an access point with a stronger signal. Therefore, when there are a plurality of access points at a short distance, the mobile terminal may frequently switch the connection destination, and smooth communication may be hindered.

例えば、ユーザが、電車、バス、タクシー等、高速で移動可能であり、アクセスポイントのサービスエリア外に短時間に移動可能である車両で移動している場合に、携帯端末は、走行中は車内のアクセスポイントに接続し、停車中は車外の(より信号の強い)アクセスポイントに接続するというように、接続先を切り替えることがある。しかしながら、発車と停車とが頻繁に繰り返されると、接続先も頻繁に切り替わることになり、円滑な通信が妨げられることがあった。   For example, when a user is moving in a vehicle that can move at high speed, such as a train, bus, taxi, etc., and can move in a short time outside the service area of the access point, The connection destination may be switched, such as connecting to an access point outside the vehicle (with a stronger signal) while the vehicle is stopped. However, if the departure and stop are frequently repeated, the connection destination is also frequently switched, and smooth communication may be hindered.

本発明は、このような従来の課題を解決すべくなされたものであり、無線LANによる円滑な通信を可能とする携帯端末及びその接続方法を提供することを目的とする。   The present invention has been made to solve such a conventional problem, and an object of the present invention is to provide a portable terminal and a connection method thereof that enable smooth communication by a wireless LAN.

本発明に係る携帯端末は、無線LANのアクセスポイントに無線により接続可能な携帯端末であって、スキャンを実行してアクセス可能なアクセスポイントを検知し、アクセス可能なアクセスポイントのうちの一つに接続する通信部と、アクセス可能なアクセスポイントのうち、所定時間間隔で所定回数スキャンを実行した結果連続して検知された同一のアクセス可能なアクセスポイントに接続するように通信部を制御する接続制御部と、を有する。   A portable terminal according to the present invention is a portable terminal that can be wirelessly connected to an access point of a wireless LAN, detects an accessible access point by executing a scan, and is one of the accessible access points. Connection control for controlling the communication unit to connect to the same accessible access point that is continuously detected as a result of executing a predetermined number of scans at a predetermined time interval among the communication unit to be connected and the accessible access point Part.

また、本発明に係る携帯端末において、携帯端末を所持するユーザが移動状態にあるか否かを検知する状態検知部をさらに有し、ユーザの状態の変化が検知された場合に、接続制御部は、アクセス可能なアクセスポイントのうち、所定時間間隔で所定回数スキャンを実行した結果連続して検知された同一のアクセス可能なアクセスポイントに接続するように通信部を制御することが好ましい。   Further, in the mobile terminal according to the present invention, the mobile terminal further includes a state detection unit that detects whether or not the user carrying the mobile terminal is in a moving state, and when a change in the state of the user is detected, the connection control unit Preferably, the communication unit is controlled so as to connect to the same accessible access point continuously detected as a result of executing a predetermined number of scans at a predetermined time interval among the accessible access points.

また、本発明に係る携帯端末において、移動状態とは、所定時間間隔及び所定回数に基づいて決定される所定時間内に、アクセスポイントのサービスエリア外に移動可能な移動手段で移動している状態であることが好ましく、例えば、所定の乗り物に乗って移動している状態である。   Moreover, in the mobile terminal according to the present invention, the moving state is a state in which the mobile device is moving by a moving means that can move outside the service area of the access point within a predetermined time determined based on a predetermined time interval and a predetermined number of times. For example, it is in a state where the vehicle is moving on a predetermined vehicle.

また、本発明に係る携帯端末において、無線LANへの接続がオンにされている場合において、アクセスポイントとの接続が切断されたことが検知されたときに、状態検知部は、ユーザが移動状態にあるか否かを検知することが好ましい。   In addition, in the mobile terminal according to the present invention, when the connection to the wireless LAN is turned on, when the connection with the access point is detected to be disconnected, the state detection unit detects that the user has moved It is preferable to detect whether or not there is.

本発明に係る携帯端末の接続方法は、無線LANのアクセスポイントに無線により接続可能な携帯端末の接続方法であって、携帯端末は、スキャンを実行してアクセス可能な第1のアクセスポイント群を検知し、所定時間経過後に再度スキャンを実行してアクセス可能な第2のアクセスポイント群を検知し、第1のアクセスポイント群及び第2のアクセスポイント群のいずれにも含まれる同一のアクセスポイントに接続する。なお、第1のアクセスポイント群及び第2のアクセスポイント群に含まれるアクセスポイントは、1つでもよい。また、スキャンの実行回数は、3回以上でもよい。   A mobile terminal connection method according to the present invention is a mobile terminal connection method that can be wirelessly connected to an access point of a wireless LAN, and the mobile terminal executes a scan to access a first access point group. Detecting and detecting a second access point group that can be accessed by executing a scan again after a predetermined time has passed, to the same access point included in both the first access point group and the second access point group Connecting. Note that the number of access points included in the first access point group and the second access point group may be one. Further, the number of scans may be three or more.

本発明に係る携帯端末及びその接続方法は、所定時間間隔で所定回数スキャンを実行した結果連続して検知された同一のアクセスポイントに接続し、そのアクセスポイントとの接続を維持することにより、円滑な通信を可能とする。   The mobile terminal and the connection method thereof according to the present invention connect smoothly to the same access point detected continuously as a result of executing a predetermined number of scans at a predetermined time interval, and maintain the connection with the access point. Communication is possible.

想定される状況の一例を示す図である。It is a figure which shows an example of the assumed condition. 無線LAN通信システムの概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of a wireless LAN communication system. 携帯端末の概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of a portable terminal. 状態検知部の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of a state detection part. 接続制御部の動作フローの一例を示す図である。It is a figure which shows an example of the operation | movement flow of a connection control part. 携帯端末とアクセスポイントとの間でアソシエーションを確立する手順の一例を示す図である。It is a figure which shows an example of the procedure which establishes association between a portable terminal and an access point.

以下、図面を参照しつつ、本発明の様々な実施形態について説明する。ただし、本発明の技術的範囲はそれらの実施形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。   Hereinafter, various embodiments of the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to these embodiments, and extends to the invention described in the claims and equivalents thereof.

本実施形態では、ユーザは、電車、バス、タクシー等、所定速度以上で移動可能であり、アクセスポイントのサービスエリア外に所定時間内(例えば、t分間隔でn回スキャンを実行する場合は、t×(n−1)分以内)に移動可能である乗り物(以下「所定の乗り物」という。)で移動するものとし、移動中に携帯端末から無線LANに接続するものとする。   In the present embodiment, the user can move at a predetermined speed or higher, such as a train, bus, taxi, etc., and when executing a scan n times within a predetermined time (for example, every t minutes) outside the access point service area, It is assumed that the vehicle travels with a vehicle that can move within (t × (n−1) minutes) (hereinafter referred to as “predetermined vehicle”), and the mobile terminal is connected to the wireless LAN during the movement.

図1は、このような状況の一例を示す図である。   FIG. 1 is a diagram illustrating an example of such a situation.

ユーザは、携帯端末を所持しながら乗り物に乗る。そして、乗り物が出発した後に、ユーザは、携帯端末から無線LANへの接続をオンにする(時刻(a))。   The user gets on the vehicle while holding the portable terminal. Then, after the vehicle departs, the user turns on the connection from the portable terminal to the wireless LAN (time (a)).

携帯端末は、ユーザが所定の乗り物で移動している状態(以下「移動状態」という。)にあるか否かを検知する。そして、ユーザが移動状態にあることが検知されると、携帯端末は、接続制御モードに移行する。   The portable terminal detects whether or not the user is in a state of moving with a predetermined vehicle (hereinafter referred to as “movement state”). Then, when it is detected that the user is in the moving state, the portable terminal shifts to the connection control mode.

接続制御モードでは、携帯端末は、スキャンを実行し、周囲のアクセス可能なアクセスポイントを検知する。そして、携帯端末は、通常の手順では、最も信号の強いアクセスポイントに接続を試みるところ、本発明では、アクセスポイントを記録するに留め、いずれのアクセスポイントにも接続を試みない(時刻(b))。   In the connection control mode, the mobile terminal performs a scan and detects surrounding accessible access points. In the normal procedure, the mobile terminal attempts to connect to the access point with the strongest signal, but in the present invention, the access point is only recorded and no connection is attempted to any access point (time (b)). ).

前回のスキャンから所定時間(例えば、2分間)が経過した後に、携帯端末は、再度スキャンを実行し、周囲のアクセス可能なアクセスポイントを検知する。スキャンの実行回数が所定回数(例えば、2回)未満であれば、携帯端末は、アクセスポイントを記録した後に、再度、以上の手順を実行する。一方、スキャンの実行回数が所定回数以上であれば、携帯端末は、各回のスキャンで検知されたアクセスポイントを照合し、いずれのスキャンでも検知された同一のアクセスポイント(以下「固定アクセスポイント」という。)に接続を試みる(時刻(c))。   After a predetermined time (for example, 2 minutes) elapses from the previous scan, the mobile terminal performs the scan again and detects surrounding accessible access points. If the number of scan executions is less than a predetermined number (for example, twice), the mobile terminal executes the above procedure again after recording the access point. On the other hand, if the number of scan executions is equal to or greater than the predetermined number, the mobile terminal collates the access points detected in each scan, and the same access point detected in each scan (hereinafter referred to as “fixed access point”). .) Is attempted (time (c)).

一旦固定アクセスポイントとの接続が確立されると、次回以降のスキャンでより信号の強いアクセスポイントが検知されたとしても、携帯端末は、固定アクセスポイント以外のアクセスポイントには接続を試みない(時刻(d)及び(e))。   Once a connection with a fixed access point is established, even if an access point with a stronger signal is detected in the next and subsequent scans, the mobile terminal does not attempt to connect to an access point other than the fixed access point (time (D) and (e)).

乗り物が目的地に到着した後に、ユーザは、乗り物を降りて移動する。携帯端末は、定期的に、ユーザが移動状態にあるか否かを検知している。そして、ユーザが所定の乗り物以外の移動手段(例えば、徒歩)で移動している状態にあり、移動状態にないことが検知されると、携帯端末は、通常モードに移行する。   After the vehicle arrives at the destination, the user gets off the vehicle and moves. The mobile terminal periodically detects whether or not the user is in a moving state. Then, when it is detected that the user is moving with a moving means other than the predetermined vehicle (for example, walking) and is not in the moving state, the portable terminal shifts to the normal mode.

通常モードでは、携帯端末は、アクセスポイントに接続中であれば、その接続を切断した後に、通常の手順でアクセスポイントに接続を試みる。即ち、携帯端末は、スキャンを実行し、周囲のアクセス可能なアクセスポイントを検知し、最も信号の強いアクセスポイントに接続を試みる(時刻(f))。   In the normal mode, if the mobile terminal is connected to the access point, after disconnecting the connection, the mobile terminal tries to connect to the access point by a normal procedure. That is, the mobile terminal performs scanning, detects surrounding accessible access points, and tries to connect to the access point with the strongest signal (time (f)).

図2は、無線LAN通信システム1の概略構成の一例を示す図である。   FIG. 2 is a diagram illustrating an example of a schematic configuration of the wireless LAN communication system 1.

無線LAN通信システム1は、無線LAN通信機能を有する携帯端末2と、無線LANのアクセスポイント3とを有する。携帯端末2は、アクセスポイント3と、そのサービスエリア4内で無線通信を行うことができる。   The wireless LAN communication system 1 includes a portable terminal 2 having a wireless LAN communication function and a wireless LAN access point 3. The portable terminal 2 can perform wireless communication with the access point 3 within the service area 4 thereof.

また、アクセスポイント3は、バックボーンネットワーク5に接続される。バックボーンネットワーク5には、イーサネット(登録商標)等の有線LANにより、携帯端末2のユーザを認証するための認証サーバ7が接続される。   The access point 3 is connected to the backbone network 5. An authentication server 7 for authenticating the user of the portable terminal 2 is connected to the backbone network 5 by a wired LAN such as Ethernet (registered trademark).

認証サーバ7によりユーザが認証されることにより、携帯端末2は、バックボーンネットワーク5とインターネット8とを中継するゲートウェイ6を介して、インターネット8に接続することができる。したがって、携帯端末2は、インターネット8に接続されるサーバ9と情報通信を行うことができる。   When the user is authenticated by the authentication server 7, the portable terminal 2 can connect to the Internet 8 via the gateway 6 that relays the backbone network 5 and the Internet 8. Therefore, the mobile terminal 2 can perform information communication with the server 9 connected to the Internet 8.

図3は、携帯端末2の概略構成の一例を示す図である。   FIG. 3 is a diagram illustrating an example of a schematic configuration of the mobile terminal 2.

携帯端末2は、アクセスポイント3、バックボーンネットワーク5、ゲートウェイ6、及びインターネット8を介してサーバ9に接続し、サーバ9と情報通信を行う。また、携帯端末2は、ユーザの所在位置、状態等を検知する。そのために、携帯端末2は、通信部21と、記憶部22と、GPS(Global Positioning System)部23と、各種センサ24と、操作部25と、表示部26と、処理部27とを有する。   The mobile terminal 2 connects to the server 9 via the access point 3, the backbone network 5, the gateway 6, and the Internet 8, and performs information communication with the server 9. Moreover, the portable terminal 2 detects a user's location, state, and the like. For this purpose, the mobile terminal 2 includes a communication unit 21, a storage unit 22, a GPS (Global Positioning System) unit 23, various sensors 24, an operation unit 25, a display unit 26, and a processing unit 27.

通信部21は、IEEE802.11規格の無線通信方式で用いられる2.4GHz帯を感受帯域とするアンテナを含む、通信インターフェース回路を有し、携帯端末2をバックボーンネットワーク5に接続する。通信部21は、アクセスポイント3との間でIEEE802.11規格の無線通信方式による無線通信回線を確立し、アクセスポイント3との間で情報通信を行う。そして、通信部21は、アクセスポイント3から受信したデータを、処理部27に引き渡す。また、通信部21は、処理部27から受け取ったデータを、アクセスポイント3に送信する。   The communication unit 21 includes a communication interface circuit including an antenna whose sensitivity band is a 2.4 GHz band that is used in the wireless communication scheme of the IEEE 802.11 standard, and connects the mobile terminal 2 to the backbone network 5. The communication unit 21 establishes a wireless communication line using the IEEE 802.11 standard wireless communication system with the access point 3 and performs information communication with the access point 3. Then, the communication unit 21 passes the data received from the access point 3 to the processing unit 27. Further, the communication unit 21 transmits the data received from the processing unit 27 to the access point 3.

記憶部22は、例えば、半導体メモリ、磁気ディスク装置、及び光ディスク装置のうちの少なくともいずれか一つを有する。記憶部22は、処理部27での処理に用いられるドライバプログラム、オペレーティングシステムプログラム、アプリケーションプログラム、データ等を記憶する。例えば、記憶部22は、ドライバプログラムとして、IEEE802.11規格の無線通信方式を実行する通信ドライバプログラム、操作部25を制御する入力デバイスドライバプログラム、表示部26を制御する出力デバイスドライバプログラム等を記憶する。また、記憶部22は、オペレーティングシステムプログラムとして、携帯端末2全体を制御する端末制御プログラム、IEEE802.11規格の無線通信方式での認証処理等を実行する接続制御プログラム等を記憶する。また、記憶部22は、アプリケーションプログラムとして、ユーザが移動状態にあるか否かを検知する状態検知プログラム、ウェブページを取得及び表示するウェブブラウザプログラム、電子メールを送信及び受信する電子メールプログラム等を記憶する。また、記憶部22は、データとして、ユーザの状態、即ちユーザが移動状態にあるか否かを示す状態データ、アクセスポイント3のBSSID、固定アクセスポイント3のBSSID、映像データ、画像データ等を記憶する。さらに、記憶部22は、所定の処理に係る一時的なデータを、一時的に記憶してもよい。   The storage unit 22 includes, for example, at least one of a semiconductor memory, a magnetic disk device, and an optical disk device. The storage unit 22 stores a driver program, an operating system program, an application program, data, and the like used for processing in the processing unit 27. For example, the storage unit 22 stores, as a driver program, a communication driver program that executes a wireless communication scheme of the IEEE 802.11 standard, an input device driver program that controls the operation unit 25, an output device driver program that controls the display unit 26, and the like. To do. Further, the storage unit 22 stores, as an operating system program, a terminal control program that controls the entire mobile terminal 2, a connection control program that executes authentication processing in the wireless communication scheme of the IEEE 802.11 standard, and the like. In addition, the storage unit 22 includes, as application programs, a state detection program that detects whether or not the user is in a moving state, a web browser program that acquires and displays a web page, an e-mail program that transmits and receives an e-mail, and the like. Remember. In addition, the storage unit 22 stores, as data, the status of the user, that is, status data indicating whether or not the user is moving, the BSSID of the access point 3, the BSSID of the fixed access point 3, video data, image data, and the like. To do. Furthermore, the storage unit 22 may temporarily store temporary data related to a predetermined process.

GPS部23は、GPS測位方式で用いられる1.5GHz帯を感受帯域とするアンテナを含む、GPS回路を有し、不図示のGPS衛星からGPS信号を受信する。GPS部23は、そのGPS信号をデコードし、時刻情報等を取得する。そして、GPS部23は、その時刻情報等に基づいてGPS衛星から携帯端末2までの擬似距離を計算し、その擬似距離を代入して得られる連立方程式を解くことにより、携帯端末2の位置(緯度、経度、高度等)及び誤差を算出する。GPS部23の出力データは、各種センサ24の出力データと共に、処理部27によるユーザの状態の検知に利用される。   The GPS unit 23 includes a GPS circuit including an antenna whose sensitivity band is a 1.5 GHz band used in the GPS positioning method, and receives a GPS signal from a GPS satellite (not shown). The GPS unit 23 decodes the GPS signal and acquires time information and the like. Then, the GPS unit 23 calculates the pseudo distance from the GPS satellite to the mobile terminal 2 based on the time information and the like, and solves the simultaneous equations obtained by substituting the pseudo distance, whereby the position of the mobile terminal 2 ( (Latitude, longitude, altitude, etc.) and error are calculated. The output data of the GPS unit 23 is used for detection of the user state by the processing unit 27 together with the output data of the various sensors 24.

各種センサ24は、ユーザの加速度、傾き、振動、方角等を示すデータを出力するものであり、例えば、加速度センサ、地磁気センサ等である。各種センサ24の出力データは、処理部27によるユーザの状態の検知に利用される。   The various sensors 24 output data indicating the user's acceleration, tilt, vibration, direction, etc., and are, for example, an acceleration sensor, a geomagnetic sensor, or the like. The output data of the various sensors 24 is used for detection of the user state by the processing unit 27.

操作部25は、携帯端末2の操作が可能であればどのようなデバイスでもよく、例えば、タッチパッド、キーボード等である。ユーザは、このデバイスを用いて、文字、数字等を入力することができる。操作部25は、ユーザにより操作されると、その操作に対応する信号を発生する。そして、発生した信号は、ユーザの指示として、処理部27に入力される。   The operation unit 25 may be any device as long as the operation of the mobile terminal 2 is possible, for example, a touch pad, a keyboard, or the like. The user can input letters, numbers, and the like using this device. When operated by the user, the operation unit 25 generates a signal corresponding to the operation. The generated signal is input to the processing unit 27 as a user instruction.

表示部26も、映像、画像等の表示が可能であればどのようなデバイスでもよく、例えば、液晶ディスプレイ、有機EL(Electro−Luminescence)ディスプレイ等である。表示部26は、処理部27から供給される映像データに応じた映像、画像データに応じた画像等を表示する。   The display unit 26 may be any device as long as it can display images, images, and the like, such as a liquid crystal display and an organic EL (Electro-Luminescence) display. The display unit 26 displays a video corresponding to the video data supplied from the processing unit 27, an image corresponding to the image data, and the like.

処理部27は、1個または複数個のプロセッサ及びその周辺回路を有する。処理部27は、携帯端末2の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。即ち、処理部27は、携帯端末2の各種の処理が操作部25の操作、記憶部22に記憶されているプログラム等に応じて適切な手順で実行されるように、通信部21、表示部26等の動作を制御する。処理部27は、記憶部22に記憶されているプログラム(ドライバプログラム、オペレーティングシステムプログラム、アプリケーションプログラム等)に基づいて処理を実行する。また、処理部27は、複数のプログラム(アプリケーションプログラム等)を並列に実行することができる。   The processing unit 27 has one or a plurality of processors and their peripheral circuits. The processing unit 27 controls the overall operation of the mobile terminal 2 and is, for example, a CPU (Central Processing Unit). That is, the processing unit 27 includes the communication unit 21, the display unit, and the display unit so that various processes of the mobile terminal 2 are executed in an appropriate procedure according to the operation of the operation unit 25, the program stored in the storage unit 22, and the like. 26 and the like are controlled. The processing unit 27 executes processing based on programs (driver program, operating system program, application program, etc.) stored in the storage unit 22. The processing unit 27 can execute a plurality of programs (such as application programs) in parallel.

処理部27は、状態検知部271と、オペレーティングシステム272と、接続制御部273と、通信ドライバ274とを有する。処理部27が有するこれらの各部は、処理部27が有するプロセッサ上で実行されるプログラムによって実装される機能モジュールである。あるいは、処理部27が有するこれらの各部は、ファームウェアとして携帯端末2に実装されてもよい。   The processing unit 27 includes a state detection unit 271, an operating system 272, a connection control unit 273, and a communication driver 274. Each of these units included in the processing unit 27 is a functional module implemented by a program executed on a processor included in the processing unit 27. Or these each part which the process part 27 has may be mounted in the portable terminal 2 as firmware.

状態検知部271は、定期的に、GPS部23からユーザの所在位置を示すデータを取得し、また、各種センサ24からユーザの加速度、傾き、振動、方角等を示すデータを取得し、それらのデータに基づいて、ユーザが移動状態にあるか否かを検知する。そして、ユーザの状態が変化していれば、状態検知部271は、ユーザの状態を、オペレーティングシステム272を介して、接続制御部273に通知する。なお、処理の詳細については後述する。   The state detection unit 271 periodically acquires data indicating the location of the user from the GPS unit 23, and acquires data indicating the user's acceleration, inclination, vibration, direction, and the like from the various sensors 24, and Whether or not the user is in a moving state is detected based on the data. If the user state has changed, the state detection unit 271 notifies the connection control unit 273 of the user state via the operating system 272. Details of the process will be described later.

オペレーティングシステム272は、アプリケーションから共通して利用される基本的な機能を実現し、携帯端末2全体を制御するものであり、例えば、Android(登録商標)OS、iOS(登録商標)等である。また、オペレーティングシステム272は、状態検知部271と接続制御部273との間で、ユーザの状態、アクセスポイント3との接続状態等の通知を中継する。   The operating system 272 realizes basic functions commonly used by applications and controls the entire mobile terminal 2, and is, for example, Android (registered trademark) OS, iOS (registered trademark), or the like. In addition, the operating system 272 relays notifications such as a user status and a connection status with the access point 3 between the status detection unit 271 and the connection control unit 273.

接続制御部273は、IEEE802.11規格の無線通信方式での認証処理等を実行する。また、接続制御部273は、オペレーティングシステム272を介して、状態検知部271からユーザの状態が通知されると、その状態及び現在の動作モードに応じて、通常モード及び接続制御モードのいずれか一方で動作する。通常モードでは、接続制御部273は、IEEE802.11規格の無線通信方式で規定されている通常の手順で、アクセスポイント3に接続する。一方、接続制御モードでは、接続制御部273は、所定の手順で、アクセスポイント3に接続する。なお、処理の詳細については後述する。   The connection control unit 273 executes authentication processing or the like in the wireless communication system of the IEEE 802.11 standard. Further, when the state of the user is notified from the state detection unit 271 via the operating system 272, the connection control unit 273 may select either the normal mode or the connection control mode according to the state and the current operation mode. Works with. In the normal mode, the connection control unit 273 connects to the access point 3 according to a normal procedure defined by the wireless communication system of the IEEE 802.11 standard. On the other hand, in the connection control mode, the connection control unit 273 connects to the access point 3 according to a predetermined procedure. Details of the process will be described later.

通信ドライバ274は、IEEE802.11規格の無線通信方式を実行する。   The communication driver 274 executes an IEEE 802.11 standard wireless communication system.

以下、状態検知部271による処理について説明する。   Hereinafter, processing by the state detection unit 271 will be described.

無線LANへの接続がオンにされたことが検知されると、状態検知部271は、記憶部22に記憶されているユーザの状態を、「非移動状態」に初期化する。   When it is detected that the connection to the wireless LAN is turned on, the state detection unit 271 initializes the state of the user stored in the storage unit 22 to “non-moving state”.

状態検知部271は、GPS部23からユーザの所在位置を示すデータを取得し、また、各種センサ24からユーザの加速度、傾き、振動、方角等を示すデータを取得し、それらのデータに基づいて、ユーザが移動状態にあるか否かを検知する。なお、ユーザの状態の検知には、特開2011−171908号公報に記載されている方法を利用する。しかしながら、他の方法を利用することも可能である。   The state detection unit 271 acquires data indicating the location of the user from the GPS unit 23, acquires data indicating the user's acceleration, inclination, vibration, direction, and the like from the various sensors 24, and based on the data , It is detected whether the user is in a moving state. In addition, the method described in Unexamined-Japanese-Patent No. 2011-171908 is utilized for a user's state detection. However, other methods can be used.

この方法では、ユーザの所在位置を追跡することにより、ユーザの移動の有無を検知する。また、ユーザの加速度等の変化パターンを、ユーザの移動手段毎の加速度等の基準パターンと照合することにより、ユーザの移動手段を検知する。そして、それらの検知結果に基づいて、ユーザが所定の移動手段で移動している状態(移動状態)にあるか否かを判定する。なお、所定の移動手段は、スキャン実行の時間間隔及び回数に応じて、予め定められているとする。   In this method, the presence / absence of the user's movement is detected by tracking the location of the user. Further, the moving means of the user is detected by collating the change pattern such as the acceleration of the user with a reference pattern such as the acceleration of each moving means of the user. Then, based on the detection results, it is determined whether or not the user is moving with a predetermined moving means (moving state). It is assumed that the predetermined moving means is determined in advance according to the time interval and the number of scan executions.

徒歩での移動の場合、右足と左足とを交互に前に出し、その動作の周期は、0.5〜2秒くらいである。右足と左足とのいずれかを前に出し、次にその足を出すまでの1周期の間は、必ずしも一定の速度ではなく、加速と減速とを繰り返している。加速及び減速のそれぞれのときに、加速度、傾き等の値が変化する。また、足を交互に前に出す際に、身体がわずかに上下動するため、振動等の値も変化する。   In the case of movement on foot, the right foot and left foot are alternately put forward, and the cycle of the movement is about 0.5 to 2 seconds. During one period from when one of the right foot and the left foot is put forward and then the foot is put out next, acceleration and deceleration are repeated, not necessarily at a constant speed. During acceleration and deceleration, values such as acceleration and inclination change. In addition, when the legs are alternately put forward, the body moves slightly up and down, so the values of vibration and the like also change.

また、電車での移動の場合、駅から発車するときには、徒歩での移動の場合よりも大きな加速があり、駅に到着するときには、徒歩での移動の場合よりも大きな減速がある。そのため、加速度、傾き等の値は、徒歩での移動の場合よりも大きくなる。また、移動中に大きく揺れることもあるが、移動中のほとんどは新聞、本等の文字を読むことが可能であることから、振動等の値は、徒歩での移動の場合よりも小さくなると考えられる。   In the case of movement by train, when leaving the station, there is a greater acceleration than in the case of movement by foot, and when arriving at the station, there is a greater deceleration than in the case of movement by foot. Therefore, values such as acceleration and inclination are larger than in the case of walking. Also, it may shake greatly during movement, but most of the movement is possible to read newspapers, books, etc., so the value of vibration etc. will be smaller than that of walking movement. It is done.

また、バスでの移動の場合、バス停、信号等により停車する機会が多く、電車での移動の場合に比べて、加速及び減速の回数が多いだけでなく、急加速及び急減速になる傾向がある。そのため、電車での移動の場合に比べて、加速度、傾き等の値は大きくなる。また、車内で文字を読むことは、電車での移動の場合よりも困難であるため、振動等の値も、電車での移動の場合より大きくなると考えられる。一方、振動等の値は、徒歩での移動の場合より小さくなると考えられる。ほぼ水平な路面をタイヤが回転駆動して進むため、上下動は、徒歩での移動の場合よりも小さいと考えられるからである。   In addition, in the case of movement by bus, there are many opportunities to stop by bus stops, signals, etc., and not only the number of accelerations and decelerations is greater than in the case of movement by train, but there is a tendency to sudden acceleration and deceleration. is there. Therefore, values such as acceleration and inclination are larger than in the case of traveling by train. Moreover, since it is more difficult to read characters in the car than in the case of movement by train, the value of vibration or the like is considered to be larger than in the case of movement by train. On the other hand, values such as vibration are considered to be smaller than in the case of movement on foot. This is because the vertical movement is considered to be smaller than in the case of movement on foot because the tire is driven to rotate on a substantially horizontal road surface.

このように、ユーザの移動手段の違いにより加速度等の変化パターンが異なることから、ユーザの移動手段毎に加速度等の変化パターンを基準パターンとして予め登録しておき、ユーザの加速度等の変化パターンと照合することにより、ユーザの移動手段を判定することが可能となる。   Thus, since the change pattern of acceleration and the like varies depending on the user's moving means, the change pattern of acceleration and the like is registered in advance as a reference pattern for each user's moving means, and the change pattern of the user's acceleration and the like By collating, it becomes possible to determine the moving means of the user.

記憶部22に記憶されているユーザの状態が「非移動状態」である場合に、ユーザが移動状態にあることが検知されると、状態検知部271は、その状態を「移動状態」に変更する。また、状態検知部271は、その状態「移動状態」を、オペレーティングシステム272を介して、接続制御部273に通知する。   When the state of the user stored in the storage unit 22 is “non-moving state”, when it is detected that the user is in the moving state, the state detecting unit 271 changes the state to “moving state”. To do. In addition, the state detection unit 271 notifies the connection control unit 273 of the state “movement state” via the operating system 272.

一方、記憶部22に記憶されているユーザの状態が「移動状態」である場合に、ユーザが移動状態にないことが検知されると、状態検知部271は、その状態を「非移動状態」に変更する。また、状態検知部271は、その状態「非移動状態」を、オペレーティングシステム272を介して、接続制御部273に通知する。   On the other hand, when the state of the user stored in the storage unit 22 is “moving state”, when it is detected that the user is not in the moving state, the state detecting unit 271 changes the state to “non-moving state”. Change to In addition, the state detection unit 271 notifies the connection control unit 273 of the state “non-moving state” via the operating system 272.

次に、接続制御部273による処理について説明する。   Next, processing by the connection control unit 273 will be described.

無線LANへの接続がオンにされたことが検知されると、接続制御部273は、通常モードで動作を開始する。   When it is detected that the connection to the wireless LAN is turned on, the connection control unit 273 starts operation in the normal mode.

通常モードでは、接続制御部273は、アクセスポイント3に接続中であれば、その接続を切断した後に、IEEE802.11規格の無線通信方式で規定されている通常の手順で、アクセスポイント3に接続する。   In the normal mode, if the connection control unit 273 is connected to the access point 3, after disconnecting the connection, the connection control unit 273 connects to the access point 3 according to a normal procedure defined by the wireless communication system of the IEEE 802.11 standard. To do.

アクセスポイント3のサービスエリア外への移動等により、アクセスポイント3との接続が切断されたことが検知されると、接続制御部273は、再度、以上の手順を実行する。   When it is detected that the connection with the access point 3 is disconnected due to the movement of the access point 3 out of the service area or the like, the connection control unit 273 executes the above procedure again.

また、状態検知部271から、オペレーティングシステム272を介して、ユーザの状態「移動状態」が通知されると、接続制御部273は、接続制御モードに移行する。   In addition, when the state detection unit 271 notifies the user state “movement state” via the operating system 272, the connection control unit 273 shifts to the connection control mode.

接続制御モードでは、接続制御部273は、記憶部22に記憶されているスキャンの実行回数を、「0」に初期化する。   In the connection control mode, the connection control unit 273 initializes the number of scans stored in the storage unit 22 to “0”.

接続制御部273は、通信ドライバ274を介して、スキャンを実行し、周囲のアクセス可能なアクセスポイント3を検知すると共に、記憶部22に記憶されているスキャンの実行回数を1増加させる。そして、接続制御部273は、検知されたアクセスポイント3のBSSIDを、記憶部22に格納する。   The connection control unit 273 executes a scan via the communication driver 274, detects the accessible access point 3 in the vicinity, and increases the number of scan executions stored in the storage unit 22 by one. Then, the connection control unit 273 stores the detected BSSID of the access point 3 in the storage unit 22.

接続制御部273は、所定時間待機する。   The connection control unit 273 waits for a predetermined time.

所定時間が経過した後に、接続制御部273は、通信ドライバ274を介して、再度スキャンを実行し、周囲のアクセス可能なアクセスポイント3を検知すると共に、記憶部22に記憶されているスキャンの実行回数を1増加させる。スキャンの実行回数が所定回数未満であれば、接続制御部273は、アクセスポイント3を記録した後に、再度、以上の手順を実行する。   After a predetermined time has elapsed, the connection control unit 273 performs a scan again via the communication driver 274 to detect the surrounding accessible access point 3 and execute the scan stored in the storage unit 22. Increase the number by one. If the number of scans is less than the predetermined number, the connection control unit 273 executes the above procedure again after recording the access point 3.

一方、スキャンの実行回数が所定回数以上であれば、接続制御部273は、検知されたアクセスポイント3のBSSIDと、記憶部22に記憶されているアクセスポイント3のBSSIDとを照合し、BSSIDが同一のアクセスポイント(以下「固定アクセスポイント」という。)3を特定する。そして、接続制御部273は、特定された固定アクセスポイント3のBSSIDを、記憶部22に格納する。   On the other hand, if the number of scan executions is equal to or greater than the predetermined number, the connection control unit 273 collates the detected BSSID of the access point 3 with the BSSID of the access point 3 stored in the storage unit 22, and the BSSID is The same access point (hereinafter referred to as “fixed access point”) 3 is specified. Then, the connection control unit 273 stores the BSSID of the specified fixed access point 3 in the storage unit 22.

接続制御部273は、通信ドライバ274を介して、固定アクセスポイント3のいずれか一つに接続を試みる。そして、一旦固定アクセスポイント3のいずれか一つとの接続が確立されると、以降のスキャンでより信号の強いアクセスポイント3が検知されたとしても、そのアクセスポイント3のBSSIDが、記憶部22に記憶されている固定アクセスポイント3のBSSIDに含まれていなければ、接続制御部273は、そのアクセスポイント3には接続を試みない。   The connection control unit 273 tries to connect to any one of the fixed access points 3 via the communication driver 274. Once the connection with any one of the fixed access points 3 is established, even if the access point 3 having a stronger signal is detected in the subsequent scan, the BSSID of the access point 3 is stored in the storage unit 22. If it is not included in the stored BSSID of the fixed access point 3, the connection control unit 273 does not attempt to connect to the access point 3.

固定アクセスポイント3のサービスエリア外への移動等により、固定アクセスポイント3との接続が切断されたことが検知されると、接続制御部273は、再度、以上の手順を実行する。   When it is detected that the connection with the fixed access point 3 is disconnected due to the movement of the fixed access point 3 out of the service area or the like, the connection control unit 273 executes the above procedure again.

また、状態検知部271から、オペレーティングシステム272を介して、ユーザの状態「非移動状態」が通知されると、接続制御部273は、通常モードに移行する。   When the state detection unit 271 notifies the user state “non-moving state” via the operating system 272, the connection control unit 273 shifts to the normal mode.

図4は、状態検知部271の動作フローの一例を示す図である。なお、以下に説明する動作フローは、予め記憶部22に記憶されているプログラムに基づいて、主に処理部27により、携帯端末2の各要素と協働して実行される。   FIG. 4 is a diagram illustrating an example of an operation flow of the state detection unit 271. The operation flow described below is mainly executed by the processing unit 27 in cooperation with each element of the mobile terminal 2 based on a program stored in the storage unit 22 in advance.

無線LANへの接続がオンにされたことが検知されると、状態検知部271は、記憶部22に記憶されているユーザの状態を、「非移動状態」に初期化する(ステップS400)。   When it is detected that the connection to the wireless LAN is turned on, the state detection unit 271 initializes the state of the user stored in the storage unit 22 to “non-moving state” (step S400).

状態検知部271は、ユーザが移動状態にあるか否かを検知する(ステップS402)。   The state detection unit 271 detects whether or not the user is in a moving state (step S402).

記憶部22に記憶されているユーザの状態が「非移動状態」である場合に、ユーザが移動状態にないことが検知されると(ステップS404−No)、状態検知部271は、ステップS402に戻る。   When it is detected that the user is not in the moving state when the state of the user stored in the storage unit 22 is “non-moving state” (step S404—No), the state detecting unit 271 proceeds to step S402. Return.

一方、ユーザが移動状態にあることが検知されると(ステップS404−Yes)、状態検知部271は、ユーザの状態を「移動状態」に変更する(ステップS406)。   On the other hand, when it is detected that the user is in the moving state (step S404-Yes), the state detecting unit 271 changes the user state to “moving state” (step S406).

また、状態検知部271は、ユーザの状態「移動状態」を、オペレーティングシステム272を介して、接続制御部273に通知する(ステップS408)。   In addition, the state detection unit 271 notifies the connection control unit 273 of the user state “movement state” via the operating system 272 (step S408).

一方、記憶部22に記憶されているユーザの状態が「移動状態」である場合に、ユーザが移動状態にあることが検知されると(ステップS404−No)、状態検知部271は、ステップS402に戻る。   On the other hand, when the state of the user stored in the storage unit 22 is “moving state”, if it is detected that the user is in the moving state (step S404—No), the state detecting unit 271 displays the step S402. Return to.

一方、ユーザが移動状態にないことが検知されると(ステップS404−Yes)、状態検知部271は、ユーザの状態を「非移動状態」に変更する(ステップS406)。   On the other hand, when it is detected that the user is not in the moving state (step S404-Yes), the state detecting unit 271 changes the user state to the “non-moving state” (step S406).

また、状態検知部271は、ユーザの状態「非移動状態」を、オペレーティングシステム272を介して、接続制御部273に通知する(ステップS408)。   Further, the state detection unit 271 notifies the connection control unit 273 of the user state “non-moving state” via the operating system 272 (step S408).

そして、状態検知部271は、ステップS402に戻る。   Then, the state detection unit 271 returns to step S402.

図5は、接続制御部273の動作フローの一例を示す図である。なお、以下に説明する動作フローは、予め記憶部22に記憶されているプログラムに基づいて、主に処理部27により、携帯端末2の各要素と協働して実行される。   FIG. 5 is a diagram illustrating an example of an operation flow of the connection control unit 273. The operation flow described below is mainly executed by the processing unit 27 in cooperation with each element of the mobile terminal 2 based on a program stored in the storage unit 22 in advance.

無線LANへの接続がオンにされたことが検知されると、接続制御部273は、通常モードで動作を開始する(ステップS500)。   When it is detected that the connection to the wireless LAN is turned on, the connection control unit 273 starts operation in the normal mode (step S500).

通常モードでは、接続制御部273は、アクセスポイント3に接続中であれば、その接続を切断する(ステップS520)。   In the normal mode, the connection control unit 273 disconnects the connection if connected to the access point 3 (step S520).

また、接続制御部273は、IEEE802.11規格の無線通信方式で規定されている通常の手順で、アクセスポイント3に接続する(ステップS522)。   Further, the connection control unit 273 connects to the access point 3 according to a normal procedure defined by the wireless communication scheme of the IEEE 802.11 standard (Step S522).

アクセスポイント3との接続が切断されたことが検知されると(ステップS502−Yes)、接続制御部273は、ステップS500に戻る。   When it is detected that the connection with the access point 3 is disconnected (step S502—Yes), the connection control unit 273 returns to step S500.

また、状態検知部271から、オペレーティングシステム272を介して、ユーザの状態が通知されない、又は「非移動状態」が通知されると(ステップS504−No)、接続制御部273は、ステップS502に戻る。   Further, when the state detection unit 271 does not notify the user state via the operating system 272 or notifies the “non-moving state” (No in step S504), the connection control unit 273 returns to step S502. .

一方、ユーザの状態「移動状態」が通知されると(ステップS504−Yes)、接続制御部273は、接続制御モードに移行する(ステップS506)。   On the other hand, when the user state “movement state” is notified (step S504—Yes), the connection control unit 273 shifts to the connection control mode (step S506).

接続制御モードでは、接続制御部273は、記憶部22に記憶されているスキャンの実行回数を、「0」に初期化する(ステップS540)。   In the connection control mode, the connection control unit 273 initializes the number of scans stored in the storage unit 22 to “0” (step S540).

接続制御部273は、通信ドライバ274を介して、スキャンを実行し、周囲のアクセス可能なアクセスポイント3を検知すると共に、記憶部22に記憶されているスキャンの実行回数を1増加させる(ステップS542)。   The connection control unit 273 executes a scan via the communication driver 274, detects the accessible access point 3 in the vicinity, and increments the number of scan executions stored in the storage unit 22 by 1 (step S542). ).

接続制御部273は、検知されたアクセスポイント3のBSSIDを、記憶部22に格納する(ステップS544)。   The connection control unit 273 stores the detected BSSID of the access point 3 in the storage unit 22 (step S544).

接続制御部273は、所定時間待機する(ステップS546)。   The connection control unit 273 waits for a predetermined time (step S546).

所定時間が経過した後に、接続制御部273は、通信ドライバ274を介して、再度スキャンを実行し、周囲のアクセス可能なアクセスポイント3を検知すると共に、記憶部22に記憶されているスキャンの実行回数を1増加させる(ステップS548)。   After a predetermined time has elapsed, the connection control unit 273 performs a scan again via the communication driver 274 to detect the surrounding accessible access point 3 and execute the scan stored in the storage unit 22. The number of times is increased by 1 (step S548).

記憶部22に記憶されているスキャンの実行回数が所定回数未満であれば(ステップS550−No)、接続制御部273は、ステップS544に戻る。   If the number of scan executions stored in the storage unit 22 is less than the predetermined number (step S550-No), the connection control unit 273 returns to step S544.

一方、スキャンの実行回数が所定回数以上であれば(ステップS550−Yes)、接続制御部273は、検知されたアクセスポイント3のBSSIDと、記憶部22に記憶されているアクセスポイント3のBSSIDとを照合し、固定アクセスポイント3を特定する(ステップS552)。   On the other hand, if the number of scan executions is equal to or greater than the predetermined number (step S550-Yes), the connection control unit 273 determines the detected BSSID of the access point 3 and the BSSID of the access point 3 stored in the storage unit 22. And the fixed access point 3 is specified (step S552).

接続制御部273は、特定された固定アクセスポイント3のBSSIDを、記憶部22に格納する(ステップS554)。   The connection control unit 273 stores the BSSID of the specified fixed access point 3 in the storage unit 22 (step S554).

接続制御部273は、通信ドライバ274を介して、固定アクセスポイント3のいずれか一つに接続する(ステップS556)。   The connection control unit 273 connects to any one of the fixed access points 3 via the communication driver 274 (step S556).

固定アクセスポイント3との接続が切断されたことが検知されると(ステップS508−Yes)、接続制御部273は、ステップS506に戻る。   When it is detected that the connection with the fixed access point 3 has been disconnected (step S508—Yes), the connection control unit 273 returns to step S506.

また、状態検知部271から、オペレーティングシステム272を介して、ユーザのステータスが通知されない、又は「移動状態」が通知されると(ステップS510−No)、接続制御部273は、ステップS508に戻る。   Further, when the status detection unit 271 does not notify the user status via the operating system 272 or notifies the “movement state” (No in step S510), the connection control unit 273 returns to step S508.

一方、ユーザのステータス「非移動状態」が通知されると(ステップS510−Yes)、接続制御部273は、通常モードに移行する(ステップS500)。   On the other hand, when the user status “non-moving state” is notified (step S510—Yes), the connection control unit 273 shifts to the normal mode (step S500).

以上説明してきたように、所定時間間隔で所定回数スキャンを実行した結果連続して検知された同一のアクセスポイントに接続し、そのアクセスポイントとの接続を維持することにより、円滑な通信が可能となる。   As described above, smooth communication is possible by connecting to the same access point detected continuously as a result of scanning a predetermined number of times at predetermined time intervals and maintaining the connection with the access point. Become.

なお、本発明は、本実施形態に限定されるものではない。例えば、本実施形態では、無線LANへの接続がオンにされた場合に、状態検知部271は、定期的に、ユーザが移動状態にあるか否かを検知するとしたが、状態検知部271は、無線LANに接続中である場合、及び無線LANへの接続がオフにされた場合に、その動作を停止し、無線LANとの接続が切断された場合、及び無線LANへの接続がオンにされた場合に、その動作を再開してもよい。これにより、電池の消費量を抑えることが可能となる。   Note that the present invention is not limited to this embodiment. For example, in the present embodiment, when the connection to the wireless LAN is turned on, the state detection unit 271 periodically detects whether or not the user is in a moving state, but the state detection unit 271 When the wireless LAN is being connected and when the connection to the wireless LAN is turned off, the operation is stopped, and when the connection with the wireless LAN is disconnected, and the connection to the wireless LAN is turned on. If so, the operation may be resumed. Thereby, it becomes possible to suppress the consumption of a battery.

また、表示部26(例えば、液晶ディスプレイ)がオフにされると、ユーザは目視で接続状況、コンテンツ等を確認できないため、状態検知部271は、表示部26がオフにされた場合に、その動作を停止し、表示部26がオンにされた場合に、その動作を再開してもよい。これにより、電池の消費量をさらに抑えることが可能となる。   In addition, when the display unit 26 (for example, a liquid crystal display) is turned off, the user cannot visually confirm the connection status, content, and the like, so the state detection unit 271 When the operation is stopped and the display unit 26 is turned on, the operation may be resumed. Thereby, it becomes possible to further suppress the consumption of the battery.

また、表示部26がオフにされる場合として、ユーザにより手動でオフにされる場合、タイムアウト等により自動でオフにされる場合等があるが、自動でオフにされる場合においては、その直後に、ユーザにより手動でオンにされることもあるため、状態検知部271は、表示部26がオフにされてから所定時間(例えば、30秒間)が経過した後に、その動作を停止してもよい。これにより、ユーザの利便性を損なうことなく、電池の消費量を抑えることが可能となる。   The display unit 26 may be turned off manually by the user, automatically turned off due to a timeout, or the like. In addition, since the user may manually turn it on, the state detection unit 271 may stop the operation after a predetermined time (for example, 30 seconds) has elapsed since the display unit 26 was turned off. Good. Thereby, it becomes possible to suppress the consumption of a battery, without impairing a user's convenience.

また、状態検知部271は、ユーザ及び/又はサーバからの指示により、その動作を停止及び再開してもよい。これにより、電池の消費量を制御することが可能となる。   Further, the state detection unit 271 may stop and restart its operation according to an instruction from the user and / or the server. This makes it possible to control the battery consumption.

また、本実施形態では、接続制御部273は、2分間隔で2回スキャンを実行し、アクセスポイント3を検知するとしたが、それら以外の時間間隔及び/又は回数を採用してもよい。また、スキャン実行の時間間隔及び/又は回数は、ユーザ及び/又はシステムが設定ファイル等により変更可能としてもよい。これにより、様々な移動手段、通信環境等に対応することが可能となる。   In the present embodiment, the connection control unit 273 executes the scan twice at intervals of 2 minutes and detects the access point 3, but other time intervals and / or times may be employed. Further, the time interval and / or the number of scan executions may be changeable by the user and / or the system using a setting file or the like. Thereby, it becomes possible to cope with various moving means, communication environments, and the like.

また、本実施形態による処理部27が有する各機能をコンピュータに実現させるためのコンピュータプログラムは、磁気記録媒体、光記録媒体等のコンピュータにより読み取り可能な記録媒体に記録された形で提供されてもよい。   A computer program for causing a computer to realize the functions of the processing unit 27 according to the present embodiment may be provided in a form recorded on a computer-readable recording medium such as a magnetic recording medium or an optical recording medium. Good.

なお、当業者は、本発明の精神及び範囲から外れることなく、様々な変更、置換及び修正をこれに加えることが可能であることを理解されたい。   It should be understood by those skilled in the art that various changes, substitutions, and modifications can be made thereto without departing from the spirit and scope of the present invention.

1 無線LAN通信システム
2 携帯端末
21 通信部
22 記憶部
23 GPS部
24 各種センサ
25 操作部
26 表示部
27 処理部
271 状態検知部
272 オペレーティングシステム
273 接続制御部
274 通信ドライバ
3 アクセスポイント
4 サービスエリア
5 バックボーンネットワーク
6 ゲートウェイ
7 認証サーバ
8 インターネット
9 サーバ
DESCRIPTION OF SYMBOLS 1 Wireless LAN communication system 2 Portable terminal 21 Communication part 22 Storage part 23 GPS part 24 Various sensors 25 Operation part 26 Display part 27 Processing part 271 State detection part 272 Operating system 273 Connection control part 274 Communication driver 3 Access point 4 Service area 5 Backbone network 6 Gateway 7 Authentication server 8 Internet 9 Server

Claims (3)

無線LANのアクセスポイントに無線により接続可能な携帯端末であって、
スキャンを実行してアクセス可能なアクセスポイントを検知し、前記アクセス可能なアクセスポイントのうちの一つに接続する通信部と、
無線LANへの接続がオンにされている場合において、アクセスポイントとの接続が切断されたことが検知されたときに、前記携帯端末を所持するユーザが移動状態にあるか否かを検知する状態検知部と、
前記ユーザの状態の変化が検知された場合に、前記アクセス可能なアクセスポイントのうち、所定時間間隔で所定回数スキャンを実行した結果、連続して検知された同一のアクセス可能なアクセスポイントに接続するように前記通信部を制御する接続制御部と、
を有することを特徴とする携帯端末。
A portable terminal that can be wirelessly connected to a wireless LAN access point,
Executing a scan to detect an accessible access point and connecting to one of the accessible access points;
When the connection to the wireless LAN is turned on and when it is detected that the connection with the access point has been disconnected, the state of detecting whether or not the user carrying the mobile terminal is in a moving state A detection unit;
When a change in the state of the user is detected, among the accessible access points, as a result of scanning a predetermined number of times at predetermined time intervals, connection is made to the same accessible access point detected continuously. A connection control unit for controlling the communication unit,
A portable terminal characterized by comprising:
前記移動状態とは、前記所定時間間隔及び前記所定回数に基づいて決定される所定時間内に、アクセスポイントのサービスエリア外に移動可能な移動手段で移動している状態である、請求項1に記載の携帯端末。   The movement state is a state in which the vehicle is moving by a moving means that can move outside the service area of the access point within a predetermined time determined based on the predetermined time interval and the predetermined number of times. The portable terminal described. 無線LANのアクセスポイントに無線により接続可能な携帯端末の接続方法であって、
前記携帯端末は、
無線LANへの接続がオンにされている場合において、アクセスポイントとの接続が切断されたことが検知されたときに、前記携帯端末を所持するユーザが移動状態にあるか否かを検知し、
前記ユーザの状態の変化が検知された場合に、スキャンを実行してアクセス可能な第1のアクセスポイント群を検知し、
所定時間経過後に再度スキャンを実行してアクセス可能な第2のアクセスポイント群を検知し、
前記第1のアクセスポイント群及び前記第2のアクセスポイント群のいずれにも含まれる同一のアクセスポイントに接続する、
ことを特徴とする接続方法。
A method of connecting a mobile terminal that can be wirelessly connected to an access point of a wireless LAN,
The portable terminal is
In the case where the connection to the wireless LAN is turned on, when it is detected that the connection with the access point is disconnected, it is detected whether or not the user carrying the mobile terminal is in a moving state,
When a change in the user's state is detected, a first access point group that is accessible by performing a scan is detected;
Execute the scan again after a predetermined time to detect the accessible second access point group,
Connecting to the same access point included in both the first access point group and the second access point group;
A connection method characterized by that.
JP2013178287A 2013-08-29 2013-08-29 Terminal device and connection method thereof Active JP5611430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013178287A JP5611430B2 (en) 2013-08-29 2013-08-29 Terminal device and connection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013178287A JP5611430B2 (en) 2013-08-29 2013-08-29 Terminal device and connection method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012131412 Division 2012-06-08 2012-06-08

Publications (2)

Publication Number Publication Date
JP2013258761A true JP2013258761A (en) 2013-12-26
JP5611430B2 JP5611430B2 (en) 2014-10-22

Family

ID=49954743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013178287A Active JP5611430B2 (en) 2013-08-29 2013-08-29 Terminal device and connection method thereof

Country Status (1)

Country Link
JP (1) JP5611430B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106165480A (en) * 2014-05-13 2016-11-23 英特尔Ip公司 Based on WLAN access point mobility status user equipment (UE) place unloading business devices, systems and methods

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285922A (en) * 2000-03-30 2001-10-12 Nec Mobile Commun Ltd Mobile communication unit and its operating method
JP2010074320A (en) * 2008-09-17 2010-04-02 Nec Corp Portable terminal device, and operation control method and program
WO2011020481A1 (en) * 2009-08-19 2011-02-24 Nec Europe Ltd. Method for supporting handover decisions of a mobile terminal in a mobile cellular communication network
JP2011082942A (en) * 2009-09-11 2011-04-21 Kyocera Corp Wireless communication system, radio base station, and handover control method
JP2011097278A (en) * 2009-10-28 2011-05-12 Nec Corp Information processor, information processing method, and information processing program
JP2012028881A (en) * 2010-07-20 2012-02-09 Kyocera Corp Wireless communication system, wireless relay station, wireless terminal, and communication control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285922A (en) * 2000-03-30 2001-10-12 Nec Mobile Commun Ltd Mobile communication unit and its operating method
JP2010074320A (en) * 2008-09-17 2010-04-02 Nec Corp Portable terminal device, and operation control method and program
WO2011020481A1 (en) * 2009-08-19 2011-02-24 Nec Europe Ltd. Method for supporting handover decisions of a mobile terminal in a mobile cellular communication network
JP2011082942A (en) * 2009-09-11 2011-04-21 Kyocera Corp Wireless communication system, radio base station, and handover control method
JP2011097278A (en) * 2009-10-28 2011-05-12 Nec Corp Information processor, information processing method, and information processing program
JP2012028881A (en) * 2010-07-20 2012-02-09 Kyocera Corp Wireless communication system, wireless relay station, wireless terminal, and communication control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106165480A (en) * 2014-05-13 2016-11-23 英特尔Ip公司 Based on WLAN access point mobility status user equipment (UE) place unloading business devices, systems and methods
JP2017520154A (en) * 2014-05-13 2017-07-20 インテル アイピー コーポレイション Apparatus, system, and method for offloading traffic in user equipment (UE) based on cross-reference of mobility state of WLAN access point

Also Published As

Publication number Publication date
JP5611430B2 (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN105009182B (en) Methods for providing navigation route based on network availability and device attributes
KR102159537B1 (en) Method and system for providing location based service in electronic device
JP5247923B1 (en) Terminal, control method thereof, and control program
WO2013183364A1 (en) Terminal, control method for same, and control program for same
EP3001707B1 (en) Systems and methods for sharing location data within a vehicle
CN104969581B (en) Dead zone position detection device and method
JP2013032932A (en) Portable terminal
EP2981135B1 (en) Position estimation apparatus, position estimation method, terminal of concern, communication method and position estimation system
JP5933498B2 (en) Terminal, control method and control program
JP6350547B2 (en) Information processing apparatus, information processing method, target terminal, communication method, and program
JP2013083553A (en) Information processing apparatus, information processing method, program
JP6441470B2 (en) Electronic device, control method of electronic device, and program
JP5977196B2 (en) Portable device, and control program and control method for portable device
JP5611430B2 (en) Terminal device and connection method thereof
US20250386164A1 (en) Proactive provision of positioning information based on user context
JP2015211268A (en) Portable electronic device, control method, and program
CN111148180A (en) Method for connecting base station and terminal equipment
JP5905847B2 (en) Portable electronic devices
JP5808364B2 (en) Portable electronic device, and control program and control method for portable electronic device
JP4667493B2 (en) Mobile communication terminal
KR102244040B1 (en) Method and apparatus for reducing current consumption in electronic device
JP5905227B2 (en) Navigation device and automatic check-in method
KR101632015B1 (en) Mobile terminal and method for controlling the same
US10212665B2 (en) Mobile device, control program therefor, and control method therefor
JP6833758B2 (en) Portable electronic devices, portable electronic device control methods and portable electronic device control programs

Legal Events

Date Code Title Description
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: 20140805

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140902

R150 Certificate of patent or registration of utility model

Ref document number: 5611430

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250