JP5897079B2 - WiFi connection terminal, WiFi connection method, and WiFi connection program - Google Patents
WiFi connection terminal, WiFi connection method, and WiFi connection program Download PDFInfo
- Publication number
- JP5897079B2 JP5897079B2 JP2014161378A JP2014161378A JP5897079B2 JP 5897079 B2 JP5897079 B2 JP 5897079B2 JP 2014161378 A JP2014161378 A JP 2014161378A JP 2014161378 A JP2014161378 A JP 2014161378A JP 5897079 B2 JP5897079 B2 JP 5897079B2
- Authority
- JP
- Japan
- Prior art keywords
- wifi
- access point
- wifi connection
- connection
- setting
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本発明は、WiFi通信技術を用いて無線通信接続を行う技術に関する。 The present invention relates to a technology for performing wireless communication connection using a WiFi communication technology.
現在、多くのスマート端末はWiFi通信機能を備えている。ユーザがスマート端末を保持してWiFi通信エリア内に進入し、そのエリア内のアクセスポイントにWiFi接続すると、インターネットを介してウェブサーバ等へ接続できる(特許文献1参照)。 Currently, many smart terminals have a WiFi communication function. When a user holds a smart terminal and enters a WiFi communication area and establishes a WiFi connection to an access point in the area, the user can connect to a web server or the like via the Internet (see Patent Document 1).
しかしながら、アクセスポイントへ自動でWiFi接続する場合、スマート端末のWiFi設定をWiFi非接続中の場合でも常時ONにしておく必要があるため、アクセスポイントの検出処理が随時連続的に行われることから、スマート端末の電池消費量が増加してしまう。 However, when automatically connecting WiFi to the access point, it is necessary to always keep the WiFi setting of the smart terminal ON even when the WiFi is not connected, so the access point detection process is continuously performed at any time. The battery consumption of smart terminals will increase.
本発明は、上記事情を鑑みてなされたものであり、スマート端末の消費電力を低減することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to reduce power consumption of a smart terminal.
以上の課題を解決するため、請求項1に記載のWiFi接続端末は、WiFi接続するWiFi接続端末において、記憶手段からWiFi設定情報を読み出してWiFi設定を所定のタイミングでONに変更し、接続対象のアクセスポイントがない場合にOFFに変更する第1の制御手段と、前記WiFi設定がONに変更された後、アクセスポイントを検出することをアクセスポイント検出手段に命令し、検出されたアクセスポイントへWiFi接続を行うことをWiFi接続手段に命令する命令手段と、前記接続対象のアクセスポイントを介して第1のネットワークにWiFi接続した場合、接続していた第2のネットワークの通信設定をOFFに変更する第2の制御手段と、前記接続対象のアクセスポイントへWiFi接続した際に用いた接続済みアクセスポイント情報をWiFi接続の切断後に削除する管理手段と、を有することを要旨とする。 In order to solve the above-described problems, the WiFi connection terminal according to claim 1 is a WiFi connection terminal connected to WiFi, reads the WiFi setting information from the storage unit, changes the WiFi setting to ON at a predetermined timing, and is connected First control means for changing to OFF when there is no access point, and instructing the access point detection means to detect the access point after the WiFi setting has been changed to ON, to the detected access point When the WiFi connection is instructed to the WiFi connection means and the WiFi connection is made to the first network via the connection target access point, the communication setting of the connected second network is changed to OFF. use a second control means for, upon WiFi connection to the access point of the connection object Managing means for deleting the connection already access point information after cleavage of the WiFi connection, and summarized in that with.
本発明によれば、WiFi設定を所定のタイミングでONに変更し、接続対象のアクセスポイントがない場合にOFFに変更し、接続対象のアクセスポイントを介して第1のネットワークにWiFi接続した場合、接続していた第2のネットワークの通信設定をOFFに変更するため、WiFi接続端末の消費電力を低減できる。また、WiFi設定がONに変更された後、アクセスポイントを検出することをアクセスポイント検出手段に命令し、検出されたアクセスポイントへWiFi接続を行うことをWiFi接続手段に命令するため、アクセスポイントへWiFi接続するまでの待ち時間を短縮できる。なお、第1のネットワークとは、アクセスポイントを介して接続されるネットワークであり、第2のネットワークとは、アクセスポイントを介することなく接続されるネットワークである。後述する実施の形態では、第2のネットワークの例として移動体通信網を用いて説明する。 According to the present invention, when the WiFi setting is changed to ON at a predetermined timing, is changed to OFF when there is no connection target access point, and the WiFi connection is made to the first network via the connection target access point, Since the communication setting of the connected second network is changed to OFF, the power consumption of the WiFi connection terminal can be reduced. In addition, after the WiFi setting is changed to ON, the access point detection unit is instructed to detect the access point, and the WiFi connection unit is instructed to perform the WiFi connection to the detected access point. The waiting time until the WiFi connection can be shortened. The first network is a network connected through an access point, and the second network is a network connected without going through an access point. In the embodiment described later, a mobile communication network will be used as an example of the second network.
請求項2に記載のWiFi接続端末は、請求項1に記載のWiFi接続端末において、前記第1の制御手段は、前記WiFi設定のOFF/ONに応じて前記ONへの変更と前記OFFへの変更を行うこと又は行わないことを決定することを要旨とする。 The WiFi connection terminal according to claim 2 is the WiFi connection terminal according to claim 1, wherein the first control unit changes the ON and changes to OFF according to OFF / ON of the WiFi setting. The gist is to decide whether to make changes or not.
請求項3に記載のWiFi接続端末は、請求項1又は2に記載のWiFi接続端末において、検出されたアクセスポイントへWiFi接続する前に、アクセスポイントが検出されたことをユーザへ通知する通知手段、を更に有することを要旨とする。 The WiFi connection terminal according to claim 3 is a notification means for notifying the user that an access point has been detected before the WiFi connection terminal according to claim 1 or 2 is connected to the detected access point via WiFi. It is a summary to further have.
本発明によれば、検出されたアクセスポイントへWiFi接続する前に、アクセスポイントが検出されたことをユーザへ通知するため、ユーザはWiFi通信エリアに入ったことを把握でき、ユーザが気付かないうちにWiFi接続回数規制に該当してしまうことを防止できる。 According to the present invention, since the user is notified that the access point has been detected before the WiFi connection to the detected access point is made, the user can grasp that the user has entered the WiFi communication area, and the user has not noticed. Can be prevented from meeting the WiFi connection count restriction.
請求項4に記載のWiFi接続方法は、スマート接続端末で行うWiFi接続方法において、前記スマート端末により、記憶手段からWiFi設定情報を読み出してWiFi設定を所定のタイミングでONに変更し、接続対象のアクセスポイントがない場合にOFFに変更する第1の制御ステップと、前記WiFi設定がONに変更された後、アクセスポイントを検出することをアクセスポイント検出手段に命令し、検出されたアクセスポイントへWiFi接続を行うことをWiFi接続手段に命令する命令ステップと、前記接続対象のアクセスポイントを介して第1のネットワークにWiFi接続した場合、接続していた第2のネットワークの通信設定をOFFに変更する第2の制御ステップと、前記接続対象のアクセスポイントへWiFi接続した際に用いた接続済みアクセスポイント情報をWiFi接続の切断後に削除する管理ステップと、を有することを要旨とする。 The WiFi connection method according to claim 4 is a WiFi connection method performed by a smart connection terminal, wherein the smart terminal reads WiFi setting information from a storage unit, changes the WiFi setting to ON at a predetermined timing, and sets the connection target. A first control step of changing to OFF when there is no access point, and instructing the access point detection means to detect the access point after the WiFi setting is changed to ON, and then sending the detected access point to WiFi A command step for instructing the WiFi connection means to connect, and when the WiFi connection is made to the first network via the connection target access point, the communication setting of the connected second network is changed to OFF. a second control step, WIF access point of the connection object And summarized in that with a management step of deleting the after cleavage of the WiFi connection to the connected access point information used at the time of the connection.
請求項5に記載のWiFi接続方法は、請求項4に記載のWiFi接続方法において、前記第1の制御ステップでは、前記WiFi設定のOFF/ONに応じて前記ONへの変更と前記OFFへの変更を行うこと又は行わないことを決定することを要旨とする。 The WiFi connection method according to claim 5 is the WiFi connection method according to claim 4 , wherein, in the first control step, the change to ON and the change to OFF according to OFF / ON of the WiFi setting. The gist is to decide whether to make changes or not.
請求項6に記載のWiFi接続方法は、請求項4又は5に記載のWiFi接続方法において、検出されたアクセスポイントへWiFi接続する前に、アクセスポイントが検出されたことをユーザへ通知する通知ステップ、を更に有することを要旨とする。 The WiFi connection method according to claim 6 is a notification step of notifying the user that an access point has been detected before making a WiFi connection to the detected access point in the WiFi connection method according to claim 4 or 5. It is a summary to further have.
請求項7に記載のWiFi接続プログラムは、請求項4乃至6のいずれかに記載のWiFi接続方法をコンピュータに実行させることを要旨とする。 According to a seventh aspect of the present invention, there is provided a WiFi connection program for causing a computer to execute the WiFi connection method according to any one of the fourth to sixth aspects.
本発明によれば、スマート端末の消費電力を低減できる。 According to the present invention, power consumption of a smart terminal can be reduced.
以下、本発明を実施する一実施の形態について図面を用いて説明する。 Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings.
図1は、本実施の形態に係るスマート端末100の機能ブロック構成を示す図である。このスマート端末100は、アクセスポイントAP又は移動体通信網Nを介してインターネット上のウェブサーバ等に接続できる。
FIG. 1 is a diagram showing a functional block configuration of a
アクセスポイントAPは、WiFi(Wireless Fidelity)と称される無線LANインタフェースを備えた無線端末である。スマート端末100が当該無線LANインタフェースへ無線接続(WiFi接続)すると、スマート端末100からのパケットデータはインターネットに送出され、既存のウェブサーバ等と通信できる。このようなアクセスポイントAPは、既存の無線端末を流用して実現可能であり、インターネットカフェ、コンビニエンスストア、駅ホームといったホットスポットに点在している。
The access point AP is a wireless terminal equipped with a wireless LAN interface called WiFi (Wireless Fidelity). When the
移動体通信網Nは、モバイルキャリア等が提供する通信ネットワークである。通信用電波を送受信する無線基地局等から構成される。例えば、第3世代(3G)ネットワークやLTE(Log Term Evolution)等の通信網である。スマート端末100は、無線基地局からの電波到達範囲内に位置していれば、前述のアクセスポイントAPに代えて当該移動体通信網Nを介することでも既存のウェブサーバ等と通信できる。
The mobile communication network N is a communication network provided by a mobile carrier or the like. It consists of a wireless base station that transmits and receives communication radio waves. For example, a communication network such as a third generation (3G) network or LTE (Log Term Evolution). The
続いて、スマート端末100の機能について詳述する。本実施の形態に係るスマート端末100は、WiFi設定制御部11と、WiFi設定情報記憶部12と、アクセスポイント検出接続命令部13と、アクセスポイント検出部14と、WiFi接続部15と、アクセスポイント情報記憶部16と、WiFi接続状態検知部17と、モバイルデータ通信制御部18と、モバイルデータ通信部19と、WiFi接続可能通知部20と、WiFi接続命令部21と、アクセスポイント情報管理部22と、を備えて構成される。
Next, functions of the
図1に示した符号11〜符号22の各機能部の実装方法については任意である。一般的にアクセスポイント検索機能やモバイルデータ通信機能、WiFi接続機能はスマート端末100のOS(Operating System)により提供されるため、本実施の形態ではそこで提供される各機能部をOS上のアクセスポイント検出部14とモバイルデータ通信部19とWiFi接続部15とする。また、WiFi設定情報やアクセスポイント情報もOS上の記憶手段に記憶されるため、OS上のWiFi設定情報記憶部12とアクセスポイント情報記憶部16とする。そして、残りの全機能部をWiFi接続するためのWiFi接続端末、つまりOS上で動作するアプリケーションプログラムとする。勿論、符号11〜符号22の全機能部を当該アプリケーションプログラムで実現しても構わない。以下、各機能部の機能について説明する。
The mounting method of the functional units denoted by
WiFi設定制御部11は、WiFi設定情報記憶部12に記憶されているWiFi設定情報のON/OFFを所定のタイミングで自動で変更するように構成されている。具体的には、WiFi設定がOFFの場合でも定期的に自動でONに変更する。また、WiFi設定をONに変更後、接続可能なアクセスポイントAPがない場合、又は、接続可能なアクセスポイントAPにWiFi接続できない場合には、WiFi設定を自動でOFFに戻す。
The WiFi
WiFi設定情報記憶部12は、WiFi接続を行うか否かが定義されたWiFi設定情報を記憶するように構成されている。スマート端末100のユーザにより設定され、例えば、WiFi接続を行う場合はON、WiFi接続を行わない場合はOFFが設定されている。
The WiFi setting
アクセスポイント検出接続命令部13は、WiFi設定情報記憶部12のWiFi設定情報を参照し、WiFi設定がONに変更後、アクセスポイントAPの検出処理をアクセスポイント検出部14へ命令し、検出されたアクセスポイントAPへのWiFi接続処理をWiFi接続部15へ命令するように構成されている。
The access point detection
アクセスポイント検出部14は、アクセスポイント検出接続命令部13からのアクセスポイント検出命令に基づき、周辺のアクセスポイントAPを検索し、電波到達範囲内のアクセスポイントAPを検出するように構成されている。
The access
WiFi接続部15は、アクセスポイント検出接続命令部13からのWiFi接続命令に基づき、アクセスポイント検出部14で検出されたアクセスポイントAPへWiFi接続し、WiFi接続したアクセスポイントAPに関する接続済みアクセスポイント情報をアクセスポイント情報記憶部16に記憶するように構成されている。
The
アクセスポイント情報記憶部16は、WiFi接続部15でWiFi接続されたアクセスポイントAPに関する情報を接続済みアクセスポイント情報として記憶するように構成されている。
The access point
WiFi接続状態検知部17は、WiFi接続部15で行われたアクセスポイントAPへのWiFi接続の接続結果を参照し、スマート端末100がWiFi接続中であるか否かを検知するように構成されている。
The WiFi connection
モバイルデータ通信制御部18は、モバイルデータ通信部19による移動体通信網Nへのモバイル通信を制御するように構成されている。具体的には、WiFi接続状態検知部17で行われたスマート端末100のWiFi接続状態を参照し、WiFi接続中の場合にはモバイルデータ通信設定を自動でOFFに変更し、WiFi接続の切断時に自動でONに戻す。
The mobile data
モバイルデータ通信部19は、スマート端末100が備える複数の通信インタフェースのうちモバイルキャリア等の移動体通信網Nとの間でデータ通信するためのインタフェースである。モバイルデータ通信設定情報を保持し、ONの場合には移動体通信網Nとの間でデータ通信を開始してパケットデータを送信し、OFFの場合にはデータ通信動作を行わない。
The mobile
WiFi接続可能通知部20は、アクセスポイント検出部14でアクセスポイントAPが検出された場合、その検出結果をアクセスポイント検出接続命令部13から取得し、WiFi接続が可能である旨をスマート端末100の画面を介してユーザUへ通知するように構成されている。
When the access point AP is detected by the access
WiFi接続命令部21は、WiFi接続可能通知部20によるWiFi接続可能通知に基づきユーザUによりWiFi接続が指示された場合にのみ、WiFi接続処理をWiFi接続部15へ命令してWiFi接続させるように構成されている。
The WiFi
アクセスポイント情報管理部22は、WiFi接続状態検知部17で行われたアクセスポイントAPへのWiFi接続の接続結果に基づき、アクセスポイント情報記憶部16に記憶されている接続済みアクセスポイント情報を制御するように構成されている。具体的には、WiFi接続の切断が検出された場合、それまでに接続されていたアクセスポイントAPに係る接続済みアクセスポイント情報を削除する。
The access point
次に、スマート端末100で行うWiFi接続方法について説明する。1つめは、WiFi接続を省電力で行うためのWiFi接続方法を説明する。基本的にはWiFi設定をOFFにしておき、定期的にWiFi設定をONにして周辺のアクセスポイントAPを随時検索する。そして、接続可能なアクセスポイントAPを発見した場合に自動でWiFi接続する。さらに、WiFi接続中のみモバイルデータ通信設定をOFFに設定する。以下、図2を参照しながら具体的に説明する。図2は、1つめのWiFi接続処理フローを示す図である。ただし、WiFi設定はOFFであり、モバイルデータ通信設定はONであることを前提に説明を進める。
Next, a WiFi connection method performed by the
まず、ステップS101において、WiFi設定制御部11が、WiFi設定情報記憶部12のWiFi設定情報を参照し、OFFであるWiFi設定をONに自動で変更する。このとき、モバイルデータ通信設定はONであるため、この時点ではスマート端末100は移動体通信網Nを介してインターネットへ通信できる。
First, in step S101, the WiFi setting
次に、ステップS102において、アクセスポイント検出接続命令部13は、ステップS101でWiFi設定がONに設定されたので、アクセスポイントAPの検出処理をアクセスポイント検出部14へ命令し、アクセスポイント検出部14は、周辺のアクセスポイントAPを検索して接続可能なアクセスポイントAPを検出する。
Next, in step S102, the access point detection
次に、ステップS103において、アクセスポイント検出接続命令部13は、ステップS102での検出結果に基づき、スマート端末100が接続可能なアクセスポイントAPが検出されたか否かを判定する。接続可能なアクセスポイントが検出されなかった場合はステップS104へ進み、検出された場合はステップS105へ進む。
Next, in step S103, the access point detection
ステップS104では、接続可能なアクセスポイントが検出されなかったので、アクセスポイント検出接続命令部13は、その旨をWiFi設定制御部11へ通知し、WiFi設定制御部11は、ステップS101でONに変更していたWiFi設定をOFFに戻す。その後、ステップS101へ戻り、一定の時間をおいて当該ステップS101からの処理が定期的に繰り返される。
In step S104, since no connectable access point has been detected, the access point detection /
一方、ステップS105では、ステップS103で接続可能なアクセスポイントが検出されたので、アクセスポイント検出接続命令部13は、検出されたアクセスポイントAPへのWiFi接続処理をWiFi接続部15へ命令し、WiFi接続部15は、保持しているBSSID(Basic Service Set Identifier)やパスワード等を用いて当該アクセスポイントAPへのWiFi接続を試みる。
On the other hand, in step S105, since the connectable access point is detected in step S103, the access point detection /
次に、ステップS106において、アクセスポイント検出接続命令部13は、ステップS105でのWiFi接続結果に基づき、スマート端末100がWiFi接続できたか否かを判定する。WiFi接続できなかった場合はアクセスポイント非検出時と同様にステップS104へ進み、WiFi設定制御部11は、ステップS101でONに変更していたWiFi設定情報をOFFに戻す。一方、WiFi接続できた場合はステップS107へ進む。
Next, in step S106, the access point detection
ステップS107では、アクセスポイントAPへのWiFi接続が行われたので、モバイルデータ通信制御部18は、これまでONであったモバイルデータ通信設定をOFFに変更することにより、モバイルデータ通信部19による移動体通信網Nとのモバイルデータ通信を切断にする。この時点でスマート端末100は、移動体通信網Nに代えて、WiFi接続したアクセスポイントAPを介してインターネットへ接続できる。
In step S107, since the WiFi connection to the access point AP has been performed, the mobile data
次に、ステップS108において、WiFi接続状態検知部17は、スマート端末100の現時点におけるWiFi接続状態を検知し、WiFi接続が切断された場合、WiFi設定制御部11は、ステップS101でONに変更していたWiFi設定をOFFに戻し、モバイルデータ通信制御部18は、ステップS107でOFFに変更していたモバイルデータ通信設定をONに戻す。その後、ステップS101へ戻り、一定の時間をおいて当該ステップS101からの処理が定期的に繰り返される。
Next, in step S108, the WiFi connection
なお、ステップS101及びステップS104の各処理は、上記定期動作の開始時のWiFi設定により変動する。図3は、ユーザUによるWiFi設定の事前設定値に応じたステップS101及びステップS104の各処理内容を示す図である。WiFi設定の事前設定値がOFFではなくONの場合、既にONであることから、ステップS101で行われた「OFFであるWiFi設定をONに自動で変更する」処理、ステップS104で行われた「ONに変更していたWiFi設定をOFFに戻す」処理は行わない。つまり、スマート端末100は、定期動作前にユーザUによって予め設定されたWiFi設定の事前設定値を確認し、その値に応じてステップS101及びステップS104の処理内容を決定するようにする。このように、ユーザUによって行われたWiFi設定を優先して適用し、その設定に基づいて定期動作の処理を決定し実行するようにしても構わない。
In addition, each process of step S101 and step S104 is fluctuate | varied by the WiFi setting at the time of the start of the said regular operation | movement. FIG. 3 is a diagram illustrating the processing contents of step S101 and step S104 according to the preset value of WiFi setting by the user U. When the preset value of the WiFi setting is ON instead of OFF, since it is already ON, the “automatically change the WiFi setting that is OFF to ON” processing performed in step S101, “ The “return WiFi setting changed to ON” is not performed. That is, the
続いて、図4を参照しながらスマート端末100の移動時における処理動作例について説明する。以下の処理動作例は、前述した一連の動作に基づいて実行される。まず、T1のタイミングに示すように、スマート端末100の周辺に接続対象のアクセスポイントAPがない場合、スマート端末100は、WiFi設定をOFFにし、モバイルデータ通信設定をONに設定する。
Next, an example of processing operation when the
その後、スマート端末100は、WiFi設定を定期的にONに変更してアクセスポイントAPの検索及びWiFi接続を繰り返し試みる。しかし、T2のタイミングに示すように、WiFi接続を試みたアクセスポイントAPが接続非対象の場合には、たとえアクセスポイントAPを検出したとしてもWiFi設定をOFFに戻し、モバイルデータ通信設定はONにしたままとする。
After that, the
一方、T3のタイミングに示すように、WiFi接続を試みたアクセスポイントAPが接続対象の場合には、ONに変更していたWiFi設定に基づきWiFi接続を行う。これによりスマート端末100はアクセスポイントAPを介してデータ通信を行うことを優先し、モバイルデータ通信設定をOFFに一旦変更する。
On the other hand, as shown in the timing of T3, when the access point AP that attempted the WiFi connection is a connection target, the WiFi connection is performed based on the WiFi setting that has been changed to ON. As a result, the
最後に、T4のタイミングに示すように、WiFi接続の切断を検出すると、スマート端末100は、ONに変更していたWiFi設定をOFFに戻し、OFFに変更していたモバイルデータ通信設定をONに戻す。
Finally, as shown in the timing of T4, when detecting the disconnection of the WiFi connection, the
以上より、1つめのWiFi接続方法は、スマート端末100のWiFi設定をOFFにしていても定期的に自動で一旦ONにしてWiFiの電波状況を検索し、接続対象のアクセスポイントAPがなかった場合には、そのWiFi設定を自動でOFFに戻す。また、WiFi接続した場合はモバイルデータ通信設定を自動で一旦OFFにし、WiFi切断時に当該モバイルデータ通信設定を自動でONに戻すようにしている。
As described above, even when the WiFi setting of the
従来、WiFi接続を自動で行う場合、スマート端末100のWiFi設定を常時ONにしておくことが必要であった。一方、1つめのWiFi接続方法によれば、WiFi接続できる場合にのみWiFi設定をONにし、WiFi接続中にはモバイルデータ通信設定をOFFにするので、スマート端末100の電池消費量を少なくすることができる。
Conventionally, when the WiFi connection is automatically performed, it is necessary to always turn on the WiFi setting of the
また、従来、アクセスポイント検出やWiFi接続をアクセスポイントAPからの電波を検知した際に能動的に行っていた。つまり、アクセスポイント検出結果を利用したいアプリケーションプログラム側から見れば、OSがアクセスポイントAPを発見してWiFi接続を行うまで提供するサービス処理を待機する必要があった。一方、1つめのWiFi接続方法によれば、WiFi接続端末(アプリケーションプログラム)のアクセスポイント検出接続命令部13が、アクセスポイント検出処理やWiFi接続処理をOS上のアクセスポイント検出部14やWiFi接続部15へ能動的に命令するので、アクセスポイントAPへWiFi接続するまでの待ち時間を短縮できる。
Conventionally, access point detection and WiFi connection have been actively performed when radio waves from the access point AP are detected. In other words, from the viewpoint of an application program that wants to use the access point detection result, it is necessary to wait for service processing to be provided until the OS finds the access point AP and performs WiFi connection. On the other hand, according to the first WiFi connection method, the access point detection
さらに、1つめのWiFi接続方法では、WiFi設定及びモバイルデータ通信設定を自律的に自動で行うので、ユーザUによる設定変更の手間を削減できる。 Furthermore, in the first WiFi connection method, the WiFi setting and the mobile data communication setting are performed automatically and autonomously, so that it is possible to reduce the trouble of the user U changing the setting.
続いて、2つめのWiFi接続方法について説明する。2つめは、これまでに説明したような自動でWiFi接続する自動WiFi接続方法以外に、ユーザからの指示に基づきWiFi接続する通知WiFi接続方法を説明する。 Next, the second WiFi connection method will be described. Second, in addition to the automatic WiFi connection method for automatic WiFi connection as described above, a notification WiFi connection method for making a WiFi connection based on an instruction from the user will be described.
従来、スマート端末100は、自端末が起動している場合、WiFi通信エリア内であれば必ず自動的にWiFi接続してしまう。その結果、例えば1日あたりのWiFi接続回数に規制がかかっている公衆無線LANサービスでは、ユーザ自身が気付かないうち接続規制回数に到達している可能性がある。
Conventionally, when the
そこで、2つのめのWiFi接続方法は、自動接続は望まないが、WiFi通信エリアにいることは知りたいというユーザの要望に応えることを目的としている。具体的には、スマート端末100が周辺のアクセスポイントAPを検索し、接続可能なアクセスポイントAPを発見した場合にユーザへ通知を行うようにする。以下、詳述する。
Therefore, the second WiFi connection method is intended to meet the user's desire to know that he is in the WiFi communication area, although automatic connection is not desired. Specifically, the
まず、通知WiFi接続方法を説明する前に、自動WiFi接続方法について説明する。図5は、2つめのWiFi接続処理フロー(自動WiFi接続処理フロー)を示す図である。図6は、スマート端末100の移動時における自動WiFi接続処理動作例を示す図である。
First, before describing the notification WiFi connection method, the automatic WiFi connection method will be described. FIG. 5 is a diagram showing a second WiFi connection processing flow (automatic WiFi connection processing flow). FIG. 6 is a diagram illustrating an example of an automatic WiFi connection processing operation when the
最初に、ステップS201において、アクセスポイント検出接続命令部13は、WiFi設定情報記憶部12のWiFi設定情報を参照し、ONであれば、アクセスポイントAPの検出処理をアクセスポイント検出部14へ命令し、アクセスポイント検出部14は、周辺のアクセスポイントAPを検索して接続可能なアクセスポイントAPを検出する。
First, in step S201, the access point detection
その後、ステップS202において、アクセスポイント検出接続命令部13は、ステップS201で接続可能なアクセスポイントAPが検出された場合、検出されたアクセスポイントAPへのWiFi接続処理をWiFi接続部15へ命令し、WiFi接続部15は、保持するBSSIDやパスワード等を用いて当該アクセスポイントAPへ自動でWiFi接続する。
Thereafter, in step S202, when an access point AP that can be connected is detected in step S201, the access point detection /
続いて、通知WiFi接続方法について説明する。図7は、2つめのWiFi接続処理フロー(通知WiFi接続処理フロー)を示す図である。図8は、スマート端末100の移動時における通知WiFi接続処理動作例を示す図である。
Next, the notification WiFi connection method will be described. FIG. 7 is a diagram showing a second WiFi connection processing flow (notification WiFi connection processing flow). FIG. 8 is a diagram illustrating a notification WiFi connection processing operation example when the
まず、ステップS301において、アクセスポイント検出接続命令部13は、WiFi設定情報記憶部12のWiFi設定情報を参照し、ONであれば、アクセスポイントAPの検出処理をアクセスポイント検出部14へ命令し、アクセスポイント検出部14は、周辺のアクセスポイントAPを検索して接続可能なアクセスポイントAPを検出する。
First, in step S301, the access point detection
次に、ステップS302において、アクセスポイント検出接続命令部13は、ステップS301で接続可能なアクセスポイントAPが検出された場合、その検出結果をWiFi接続可能通知部20へ伝え、WiFi接続可能通知部20は、スマート端末100の画面上でWiFi接続が可能である旨を表示し、ユーザUへ通知する。
Next, in step S302, when an access point AP that can be connected is detected in step S301, the access point detection /
その後、ステップS303において、WiFi接続命令部21は、画面に表示されたWiFi接続の通知画面がタップされた場合にのみ、ステップS301で検出されたアクセスポイントAPへのWiFi接続処理をWiFi接続部15へ命令し、WiFi接続部15は、保持するBSSIDやパスワード等を用いて当該アクセスポイントAPへWiFi接続する。
Thereafter, in step S303, the WiFi
以上より、2つめのWiFi接続方法によれば、周辺のアクセスポイントAPを自動的に検索し、接続対象のアクセスポイントAPがあった場合、ユーザUに対してWiFi接続可能である旨を通知し、そのユーザUがWiFi接続を指示した場合にのみWiFi接続を行うので、ユーザUはWiFi通信エリアに入ったことを把握でき、ユーザUが気付かないうちに公衆無線LANサービスの接続回数規制に該当してしまうことを防止できる。 As described above, according to the second WiFi connection method, the peripheral access point AP is automatically searched, and if there is a connection target access point AP, the user U is notified that the WiFi connection is possible. Since the user U performs the WiFi connection only when instructing the WiFi connection, the user U can grasp that the user has entered the WiFi communication area, and the user U is aware of the public wireless LAN service connection frequency regulation without being aware of it. Can be prevented.
続いて、3つめのWiFi接続方法について説明する。3つめは、ユーザUが意図しないアクセスポイントAPへのWiFi接続を回避するためのWiFi接続方法を説明する。 Next, the third WiFi connection method will be described. Third, a WiFi connection method for avoiding WiFi connection to an access point AP that is not intended by the user U will be described.
従来、プレイスポットに設置されたアクセスポイント等、ユーザUがWEB認証を必要とするアクセスポイントAPに一度WiFi接続すると、その切断後もスマート端末100のOS(アクセスポイント情報記憶部16)に接続済みアクセスポイント情報が保持される。その結果、ユーザUの意図しないタイミングでOSがアクセスポイントAPへWiFi接続を行うことがある。その際、保持していた接続済みアクセスポイント情報を用いてWiFi接続が行われるため、WEB認証が改めて行われないことから、ユーザUの気付かないうちにインターネットへの接続が不可となる可能性がある。
Conventionally, once a user U connects to an access point AP that requires WEB authentication, such as an access point installed at a play spot, once connected to the OS (access point information storage unit 16) of the
そこで、3つめのWiFi接続方法は、ユーザUが意図しないアクセスポイントAPへのWiFi接続を防止し、ユーザUの気付かないうちにWiFi接続不可の状態が発生するのを防止することを目的としている。具体的には、WiFi接続が切断されたタイミングでOS内の接続済みアクセスポイント情報を削除するようにする。以下、図9を参照しながら説明する。図9は、3つめのWiFi接続処理フローを示す図である。 Therefore, the third WiFi connection method is intended to prevent the WiFi connection to the access point AP that is not intended by the user U, and to prevent the state in which the WiFi connection is not possible before the user U notices. . Specifically, the connected access point information in the OS is deleted at the timing when the WiFi connection is disconnected. Hereinafter, a description will be given with reference to FIG. FIG. 9 is a diagram showing a third WiFi connection processing flow.
まず、ステップS401において、WiFi接続状態検知部17は、スマート端末100によるアクセスポイントAPへのWiFi接続が切断されたことを検出する。
First, in step S401, the WiFi connection
その後、ステップS402において、アクセスポイント情報管理部22は、スマート端末100がWiFi接続中の場合、WiFi接続が切断されたので、アクセスポイント情報記憶部16にアクセスし、その切断時にWiFi接続部15によって格納された接続済みアクセスポイント情報を削除する。すなわち、WiFi接続の切断に伴いOSで保持された接続済みアクセスポイント情報を削除する。
Thereafter, in step S402, when the
続いて、図10を参照しながらスマート端末100の移動時における3つめの処理動作例について説明する。以下の処理動作例は、前述した一連の動作に基づいて実行される。まず、T1のタイミングに示すように、スマート端末100の周辺に接続可能なアクセスポイントAPがない場合、接続済みアクセスポイント情報はOS内のアクセスポイント情報記憶部16に登録されない。
Next, a third processing operation example when the
その後、T2のタイミングに示すように、WiFi通信エリアに入った場合、スマート端末100は、そのエリア内のアクセスポイントAPに係るアクセスポイント情報をOSに登録し、そのアクセスポイントAPへ自動でWiFi接続した後にWEB認証を行うことにより、インターネットへの接続を可能とする。
Thereafter, as shown in the timing of T2, when entering the WiFi communication area, the
そして、T3のタイミングに示すように、WiFi通信エリアから離れた場合、スマート端末100は、WiFi接続を切断し、OSに登録されていた接続済みアクセスポイント情報を削除する。接続済みアクセスポイント情報が存在しないので、ユーザUの意図しないタイミングでOSがアクセスポイントAPへWiFi接続することを防止できる。
Then, as shown in the timing of T3, when leaving the WiFi communication area, the
その後、T4のタイミングに示すように、WiFi通信エリアに再び入った場合、スマート端末100は、そのエリア内のアクセスポイントAPに係るアクセスポイント情報をOSに新たに登録し、そのアクセスポイントAPへWiFi接続してWEB認証を行う。WiFi接続やWEB認証を改めて行うことから、WiFi接続不可の状態が発生するのを防止できる。
After that, as shown in the timing of T4, when entering the WiFi communication area again, the
以上より、3つめのWiFi接続方法によれば、OS内の接続済みアクセスポイント情報を削除するので、ユーザUが意図しないアクセスポイントAPへのWiFi接続を防止し、ユーザUの気付かないうちにスマート端末100がWiFi接続不可になってしまうことを防止できる。 As described above, according to the third WiFi connection method, since the connected access point information in the OS is deleted, the WiFi connection to the access point AP that is not intended by the user U is prevented, and the user U can be smart without being aware of it. It is possible to prevent the terminal 100 from being disabled for WiFi connection.
以上より、本実施の形態によれば、WiFi設定を定期的にONに変更し、接続対象のアクセスポイントAPがない場合にOFFに戻し、接続対象のアクセスポイントAPへWiFi接続した場合、接続していた移動体通信網Nの通信設定をOFFに変更するので、スマート端末100の消費電力を抑えることができる。また、WiFi設定がONに変更された後、アクセスポイントAPを検出することをアクセスポイント検出部14に命令し、検出されたアクセスポイントAPへWiFi接続を行うことをWiFi接続部15に命令するので、アクセスポイントAPへWiFi接続するまでの待ち時間を短縮できる。
As described above, according to the present embodiment, the WiFi setting is periodically changed to ON, returned to OFF when there is no access point AP to be connected, and connected when the WiFi connection is established with the access point AP to be connected. Since the communication setting of the mobile communication network N that has been changed is changed to OFF, the power consumption of the
また、本実施の形態によれば、検出されたアクセスポイントAPへWiFi接続する前に、アクセスポイントAPが検出されたことをユーザUへ通知するので、ユーザUはWiFi通信エリアに入ったことを把握でき、ユーザUが気付かないうちにWiFi接続回数規制に該当してしまうことを防止できる。 Further, according to the present embodiment, the user U is notified that the access point AP has been detected before the WiFi connection to the detected access point AP, so that the user U has entered the WiFi communication area. It can be grasped, and it can be prevented that the user U falls under the WiFi connection frequency regulation without noticing.
また、本実施の形態によれば、接続対象のアクセスポイントAPへのWiFi接続による接続済みアクセスポイント情報をWiFi接続の切断後に削除するので、ユーザUが意図しないアクセスポイントAPへのWiFi接続を防止し、ユーザUの気付かないうちにスマート端末100がWiFi接続不可になってしまうことを防止できる。
Further, according to the present embodiment, the connected access point information by the WiFi connection to the access point AP to be connected is deleted after the WiFi connection is disconnected, so that the WiFi connection to the access point AP that is not intended by the user U is prevented. In addition, it is possible to prevent the
最後に、本実施の形態で説明したスマート端末100は、メモリやCPUを備えたコンピュータで実現できる。例えば、スマートフォン、タブレット、携帯電話等、WiFi接続機能やGPS機能、通信機能等を具備する汎用の情報処理端末を用いて実現できる。また、その処理はプログラムによって実行される。更に、スマート端末100の各動作をプログラムとして構築し、コンピュータにインストールして実行させることや、通信ネットワークを介して流通させることも可能である。
Finally, the
100…スマート端末(WiFi接続端末)
11…WiFi設定制御部
12…WiFi設定情報記憶部
13…アクセスポイント検出接続命令部
14…アクセスポイント検出部
15…WiFi接続部
16…アクセスポイント情報記憶部
17…WiFi接続状態検知部
18…モバイルデータ通信制御部
19…モバイルデータ通信部
20…WiFi接続可能通知部
21…WiFi接続命令部
22…アクセスポイント情報管理部
AP…アクセスポイント
N…移動体通信網
U…ユーザ
S101〜S108、S201〜S202、S301〜S303、S401〜S402…ステップ
100 ... Smart terminal (WiFi connection terminal)
DESCRIPTION OF
Claims (7)
記憶手段からWiFi設定情報を読み出してWiFi設定を所定のタイミングでONに変更し、接続対象のアクセスポイントがない場合にOFFに変更する第1の制御手段と、
前記WiFi設定がONに変更された後、アクセスポイントを検出することをアクセスポイント検出手段に命令し、検出されたアクセスポイントへWiFi接続を行うことをWiFi接続手段に命令する命令手段と、
前記接続対象のアクセスポイントを介して第1のネットワークにWiFi接続した場合、接続していた第2のネットワークの通信設定をOFFに変更する第2の制御手段と、
前記接続対象のアクセスポイントへWiFi接続した際に用いた接続済みアクセスポイント情報をWiFi接続の切断後に削除する管理手段と、
を有することを特徴とするWiFi接続端末。 In a WiFi connection terminal for WiFi connection,
A first control unit that reads WiFi setting information from the storage unit, changes the WiFi setting to ON at a predetermined timing, and changes the setting to OFF when there is no connection target access point;
Command means for instructing the access point detection means to detect an access point after the WiFi setting is changed to ON, and instructing the WiFi connection means to perform a WiFi connection to the detected access point;
A second control unit that changes the communication setting of the connected second network to OFF when the WiFi connection is established to the first network via the connection target access point;
A management unit that deletes the connected access point information used when the WiFi connection is made to the connection target access point after the WiFi connection is disconnected;
A WiFi connection terminal characterized by comprising:
前記WiFi設定のOFF/ONに応じて前記ONへの変更と前記OFFへの変更を行うこと又は行わないことを決定することを特徴とする請求項1に記載のWiFi接続端末。 The first control means includes
The WiFi connection terminal according to claim 1, wherein the WiFi connection terminal determines whether to change to ON and to change to OFF or not according to OFF / ON of the WiFi setting.
を更に有することを特徴とする請求項1又は2に記載のWiFi接続端末。 A notification means for notifying the user that an access point has been detected before WiFi connection to the detected access point;
The WiFi connection terminal according to claim 1, further comprising:
前記スマート端末により、With the smart terminal,
記憶手段からWiFi設定情報を読み出してWiFi設定を所定のタイミングでONに変更し、接続対象のアクセスポイントがない場合にOFFに変更する第1の制御ステップと、A first control step of reading WiFi setting information from the storage means, changing the WiFi setting to ON at a predetermined timing, and changing to OFF when there is no connection target access point;
前記WiFi設定がONに変更された後、アクセスポイントを検出することをアクセスポイント検出手段に命令し、検出されたアクセスポイントへWiFi接続を行うことをWiFi接続手段に命令する命令ステップと、An instruction step for instructing the access point detection means to detect an access point after the WiFi setting is changed to ON and instructing the WiFi connection means to perform a WiFi connection to the detected access point;
前記接続対象のアクセスポイントを介して第1のネットワークにWiFi接続した場合、接続していた第2のネットワークの通信設定をOFFに変更する第2の制御ステップと、A second control step of changing the communication setting of the connected second network to OFF when the WiFi connection is established to the first network via the connection target access point;
前記接続対象のアクセスポイントへWiFi接続した際に用いた接続済みアクセスポイント情報をWiFi接続の切断後に削除する管理ステップと、A management step of deleting the connected access point information used when the WiFi connection is made to the connection target access point after disconnecting the WiFi connection;
を有することを特徴とするWiFi接続方法。A WiFi connection method characterized by comprising:
前記WiFi設定のOFF/ONに応じて前記ONへの変更と前記OFFへの変更を行うこと又は行わないことを決定することを特徴とする請求項4に記載のWiFi接続方法。5. The WiFi connection method according to claim 4, wherein whether to change to ON and to change to OFF is determined according to OFF / ON of the WiFi setting.
を更に有することを特徴とする請求項4又は5に記載のWiFi接続方法。The WiFi connection method according to claim 4 or 5, further comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014161378A JP5897079B2 (en) | 2014-08-07 | 2014-08-07 | WiFi connection terminal, WiFi connection method, and WiFi connection program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014161378A JP5897079B2 (en) | 2014-08-07 | 2014-08-07 | WiFi connection terminal, WiFi connection method, and WiFi connection program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2016039479A JP2016039479A (en) | 2016-03-22 |
| JP5897079B2 true JP5897079B2 (en) | 2016-03-30 |
Family
ID=55530243
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014161378A Active JP5897079B2 (en) | 2014-08-07 | 2014-08-07 | WiFi connection terminal, WiFi connection method, and WiFi connection program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5897079B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6956026B2 (en) * | 2018-02-20 | 2021-10-27 | 京セラ株式会社 | Mobile terminal |
| CN114567919B (en) * | 2022-03-31 | 2024-05-07 | 深圳市英威腾电气股份有限公司 | Method, device, equipment and storage medium for accessing network |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100735242B1 (en) * | 2003-12-16 | 2007-07-03 | 삼성전자주식회사 | Method for providing/notifying interworking information of mobile telecommunication network and wireless local area network and therefor system |
| JP2005318221A (en) * | 2004-04-28 | 2005-11-10 | Kddi Corp | Presence server, system, and presence information management method |
| JP5517079B2 (en) * | 2008-05-09 | 2014-06-11 | マーベル ワールド トレード リミテッド | Method, program for providing location-aware Wi-Fi access for a mobile device, and mobile device providing Wi-Fi access for location recognition |
| JP5395932B1 (en) * | 2012-07-03 | 2014-01-22 | 株式会社Nttドコモ | User apparatus and communication method in mobile communication system |
-
2014
- 2014-08-07 JP JP2014161378A patent/JP5897079B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016039479A (en) | 2016-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11178605B2 (en) | Communication method and apparatus | |
| US8611315B2 (en) | Communication device, communication method, and computer program for causing computer to execute communication method | |
| US9332378B2 (en) | Wireless communication device for performing different wireless communications | |
| CN104980991B (en) | Communication device and method for network signal | |
| JP6835975B2 (en) | Communication method, terminal and access network device | |
| US8665716B2 (en) | Enabling circuit-switched services during mobility management congestion control | |
| US8150310B2 (en) | Setting method of communication parameters, communicating apparatus, control method of communicating apparatus, and program | |
| KR101763171B1 (en) | Apparatus and method for connecting peer to peer between a mobile terminal | |
| KR102361852B1 (en) | Communication apparatus, control method, and medium | |
| JP2012169971A (en) | Communication route selection device, communication route selection method, and program | |
| JP2009141535A (en) | Wireless lan system and its connection method | |
| WO2016029443A1 (en) | Method, apparatus and system for controlling e-utra capacity of user equipment | |
| KR20190035810A (en) | Communication method, terminal device and access network device | |
| JP6594212B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, COMMUNICATION SYSTEM | |
| JP5897079B2 (en) | WiFi connection terminal, WiFi connection method, and WiFi connection program | |
| KR20230048529A (en) | Network selection method, information transmission method, information acquisition method and device | |
| CN113316205A (en) | Cell switching method, device, electronic equipment and computer readable storage medium | |
| CN105722192B (en) | Network connection method, electronic equipment and system | |
| JP4833135B2 (en) | Wireless base station, central control station, mobile station | |
| JP2015019141A (en) | Wireless LAN management device, wireless LAN base station, and wireless LAN system | |
| JP5957494B2 (en) | WiFi connection system, WiFi connection terminal, WiFi connection method, and WiFi connection program | |
| EP2654354B1 (en) | Providing a current position while reducing an overall power consumption | |
| CN115567988B (en) | Cell evaluation method, device, terminal, relay and storage medium | |
| JP6777320B2 (en) | Wireless base station, wireless communication control method of wireless base station | |
| JP2016039480A (en) | WiFi connection system, access point information management device, WiFi connection terminal, access point selection method, WiFi connection method, access point selection program, and WiFi connection program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151222 |
|
| 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: 20160202 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160301 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5897079 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| 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 |