JP2014049812A - Communication terminal and network connection control program and method - Google Patents
Communication terminal and network connection control program and method Download PDFInfo
- Publication number
- JP2014049812A JP2014049812A JP2012188887A JP2012188887A JP2014049812A JP 2014049812 A JP2014049812 A JP 2014049812A JP 2012188887 A JP2012188887 A JP 2012188887A JP 2012188887 A JP2012188887 A JP 2012188887A JP 2014049812 A JP2014049812 A JP 2014049812A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- network
- communication request
- home network
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
【課題】 ローミング率を低減する。
【解決手段】 ホーム網(2)およびローミング網(4)に接続可能な通信部(14)を有する通信端末(10)のCPU(24)は、通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからのものか否かを判別して(S1:YES→S3:YES→S5)、バックグラウンドで実行中のアプリからのものでないと判別されたとき所定の周期に従うタイミングになっていればホーム網をサーチし(S5:NO→S9:YES→S11)、バックグラウンドで実行中のアプリからのものと判別されたときホーム網をサーチし(S5:YES→S11)、そしてホーム網が捕捉されたとき通信部の接続をホーム網に切り替える(S13:YES→S15)。
【選択図】 図4To reduce a roaming rate.
A CPU (24) of a communication terminal (10) having a communication unit (14) connectable to a home network (2) and a roaming network (4) has a communication unit connected to the roaming network. When a communication request is generated, it is determined whether or not the communication request is from software running in the background (S1: YES → S3: YES → S5), and from the application running in the background If it is determined that it is not, the home network is searched if it is time to follow a predetermined cycle (S5: NO → S9: YES → S11), and if it is determined that the application is being executed in the background, the home network (S5: YES → S11), and when the home network is acquired, the connection of the communication unit is switched to the home network (S13: YES → S15).
[Selection] Figure 4
Description
この発明は、通信端末ならびに網接続制御プログラムおよび方法に関し、特にたとえば、ホーム網およびローミング網に接続する通信端末ならびに網接続制御プログラムおよび方法に関する。 The present invention relates to a communication terminal and a network connection control program and method, and more particularly to a communication terminal connected to a home network and a roaming network, and a network connection control program and method.
ローミングとは、キャリア間の提携により、ユーザが契約しているキャリアの網(ホーム網)の圏外であっても、提携先のキャリアの網(ローミング網)の圏内にあれば、ホーム網内と同様に通話やデータ通信を行えるようにするサービスであり、一般に、ローミング網を利用するキャリアからこれを提供するキャリアに対して、接続時間ないし通信量に応じた利用料の支払いが発生する。 Roaming means that, even if you are outside the carrier network (home network) with which the user has contracted due to the partnership between the carriers, if you are within the network of the partner carrier (roaming network), Similarly, it is a service that enables a telephone call and data communication. Generally, a carrier that uses a roaming network pays a usage fee according to connection time or communication amount to a carrier that provides the service.
このため、ホーム網およびローミング網に接続する携帯端末には、ローミング網への接続時間を短縮(ローミング網を利用した通信量を削減)すること、具体的には、たとえば、ローミング網を利用して通話ないしデータ通信を行った時間(通信量)の、ホーム網を利用して通話ないしデータ通信を行った時間(通信量)に対する比率(ローミング率)を低減することが求められる。 For this reason, for mobile terminals connected to the home network and roaming network, the connection time to the roaming network is shortened (the amount of communication using the roaming network is reduced). Specifically, for example, the roaming network is used. Therefore, it is required to reduce the ratio (roaming rate) of the time (communication amount) during which communication or data communication is performed to the time (communication amount) during which communication or data communication is performed using the home network.
この点、特許文献1には、ローミング網に入った後、ローミング網の基地局から発せられる信号の受信レベルの変化に応じて、ホーム網の基地局から発生られる信号をスキャン(ホーム網をサーチ)することで、ローミング網からホーム網への速やかな復帰を可能にする、ローミング方法および移動局が記載されている。
しかし、通常、通信端末(移動局)での信号の受信レベルは、基地局からの距離だけでなく、地形や障害物によっても変化する。そのため、特許文献1の背景技術では、周囲の状況によっては頻繁にホーム網のサーチが行われる場合があり、サーチの頻度が高くなると、消費電力が増大する上、通話ないしデータ通信に遅滞が生じて使い勝手が悪化する。 However, normally, the signal reception level at the communication terminal (mobile station) varies not only with the distance from the base station but also with topography and obstacles. For this reason, in the background art of Patent Document 1, a home network search may be frequently performed depending on the surrounding conditions. When the frequency of the search increases, power consumption increases and a delay occurs in a call or data communication. Usability deteriorates.
それゆえに、この発明の主たる目的は、新規な、通信端末ならびに網接続制御プログラムおよび方法を提供することである。 Therefore, a main object of the present invention is to provide a novel communication terminal and network connection control program and method.
この発明の他の目的は、ローミング率を低減できる、通信端末ならびに網接続制御プログラムおよび方法を提供することである。 Another object of the present invention is to provide a communication terminal and a network connection control program and method capable of reducing the roaming rate.
この発明は、上記の課題を解決するために、以下の構成を採用した。なお、括弧内の参照符号および補足説明等は、この発明の理解を助けるために後述する実施形態との対応関係を示したものであって、この発明を何ら限定するものではない。 The present invention employs the following configuration in order to solve the above problems. Note that reference numerals in parentheses, supplementary explanations, and the like indicate correspondence with embodiments to be described later in order to help understanding of the present invention, and do not limit the present invention.
第1の態様は、ホーム網およびローミング網に接続可能な通信部を有する通信端末であって、通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別部、および、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別されたときホーム網をサーチする、サーチ部を備える。 A first aspect is a communication terminal having a communication unit connectable to a home network and a roaming network, and when the communication request is generated while the communication unit is connected to the roaming network, the communication request is A determination unit that determines whether or not the communication request is from a software being executed in the network, and a search for a home network when the determination unit determines that the communication request is a communication request from software that is being executed in the background And a search unit.
第1の態様では、ホーム網(2)およびローミング網(4)に接続可能な通信部(14)を有する通信端末(10)において、たとえばCPU(24)が網接続制御プログラム(52)に従い動作することで、判別部およびサーチ部が実現される。 In the first aspect, in the communication terminal (10) having the communication unit (14) connectable to the home network (2) and the roaming network (4), for example, the CPU (24) operates according to the network connection control program (52). By doing so, a determination unit and a search unit are realized.
判別部は、通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別し(S1:YES→S3:YES→S5)、サーチ部は、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別されたときホーム網をサーチする(S5:YES→S11)。 When a communication request is generated with the communication unit connected to the roaming network, the determination unit determines whether the communication request is a communication request from software running in the background (S1: YES → S3). : YES → S5), the search unit searches the home network when the determination unit determines that the communication request is a communication request from software running in the background (S5: YES → S11).
第1の態様によれば、バックグラウンドで実行中のソフトウェアは一般に高いリアルタイム性を要求されることが少ない点に着目し、バックグラウンドで実行中のソフトウェアからの通信要求に対してホーム網のサーチを行うので、サーチの頻度を抑制しながら速やかにホーム網への切り替えを図ることが可能となり、その結果、消費電力の増大および使い勝手の悪化を抑制しつつローミング率を低減できる。 According to the first aspect, paying attention to the fact that software that is being executed in the background is generally not required to have high real-time characteristics, the home network search is performed in response to a communication request from the software that is being executed in the background. Therefore, it is possible to quickly switch to the home network while suppressing the frequency of search, and as a result, it is possible to reduce the roaming rate while suppressing increase in power consumption and deterioration in usability.
第2の態様は、第1の態様に従属する通信端末であって、サーチ部は、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求でないと判別されたとき所定の周期に従うタイミングになっていればホーム網をサーチする(S5:NO→S9:YES→S11)。 A second mode is a communication terminal subordinate to the first mode, and the search unit determines a predetermined cycle when the determination unit determines that the communication request is not a communication request from software running in the background. If it is time to follow, the home network is searched (S5: NO → S9: YES → S11).
第2の態様によれば、バックグラウンドで実行中のソフトウェア以外からの通信要求たとえばフォアグラウンドで実行中のソフトウェアからの通信要求に対しては、所定の周期に基づくタイミングでホーム網のサーチを行うので、フォアグラウンドで実行中のソフトウェアに求められるリアルタイム性をも満足しながら、ローミング率を低減できる。 According to the second aspect, a home network search is performed at a timing based on a predetermined cycle in response to a communication request from other than the software being executed in the background, for example, a communication request from software being executed in the foreground. The roaming rate can be reduced while satisfying the real-time property required for software running in the foreground.
第3の態様は、第2の態様に従属する通信端末であって、サーチ部によってホーム網が捕捉されたとき通信部の接続をホーム網に切り替える切り替え部、およびサーチ部によってホーム網が捕捉されないとき通信部のローミング網への接続状態を維持する維持部をさらに備える。 The third aspect is a communication terminal subordinate to the second aspect, and when the home network is captured by the search unit, the switching unit that switches the connection of the communication unit to the home network, and the home network is not captured by the search unit And a maintenance unit for maintaining the connection state of the communication unit to the roaming network.
第3の態様では、切り替え部および維持部がさらに実現され、切り替え部は、サーチ部によってホーム網が捕捉されたとき通信部の接続をホーム網に切り替え(S13:YES→S15)、維持部はサーチ部によってホーム網が捕捉されないとき通信部のローミング網への接続状態を維持する(S13:NO→S17)。 In the third aspect, the switching unit and the maintaining unit are further realized, and the switching unit switches the connection of the communication unit to the home network when the search unit captures the home network (S13: YES → S15), When the home network is not captured by the search unit, the connection state of the communication unit to the roaming network is maintained (S13: NO → S17).
第3の態様によれば、バックグラウンドで実行中のソフトウェアからの通信要求に対し、ホーム網が捕捉されなければローミング網への接続を維持したまま、ホーム網が捕捉されれば接続をホーム網に切り替えて、通信を開始できる。 According to the third aspect, in response to a communication request from software running in the background, if the home network is not captured, the connection to the roaming network is maintained. Switch to, and you can start communication.
第4の態様は、第2または3の態様に従属する通信端末であって、サーチ部は、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別された時点で前回サーチから所定の周期よりも短い一定時間以上経過している場合に所定の周期に基づくタイミングまで待つことなくホーム網をサーチし(S5:YES→S7:YES→S11)、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別された時点で前回サーチから一定時間以上経過していない場合にはローミング網への接続を維持する(S5:YES→S7:NO→S17)。 The fourth aspect is a communication terminal subordinate to the second or third aspect, wherein the search unit determines that the communication request is a communication request from software running in the background by the determination unit When a predetermined time shorter than the predetermined cycle has passed since the previous search, the home network is searched without waiting for the timing based on the predetermined cycle (S5: YES → S7: YES → S11), When it is determined that the communication request is a communication request from software running in the background, if the predetermined time has not passed since the previous search, the connection to the roaming network is maintained (S5: YES → S7: NO → S17).
第4の態様によれば、網間の移動にはある程度の時間を要する点に着目し、一定時間内の再サーチを制限したので、ローミング率を低減する効果を維持しながら、消費電力の増大および使い勝手の悪化を一層抑制できる。 According to the fourth aspect, focusing on the point that it takes a certain amount of time to move between networks, the re-search within a certain time is limited, so the power consumption increases while maintaining the effect of reducing the roaming rate. In addition, the deterioration of usability can be further suppressed.
第5の態様は、第2ないし4のいずれかの態様に従属する通信端末であって、サーチ部は、通信部をローミング網に接続している状態で通信要求が発生しないとき、所定の周期に従うタイミングでホーム網をサーチする(S3:NO→S9:YES→S11)。 A fifth aspect is a communication terminal subordinate to any one of the second to fourth aspects, wherein the search unit has a predetermined period when a communication request is not generated while the communication unit is connected to the roaming network. The home network is searched at a timing according to (S3: NO → S9: YES → S11).
第5の態様によれば、通信要求が発生しなくても周期的にサーチが実行されるので、ローミング率を一定以上低減できる。そして、所定の周期に対して適当な一定時間を選ぶことで、消費電力の増大および使い勝手の悪化を抑制する効果と、ローミング率を低減する効果とのバランスをとることができる。 According to the fifth aspect, since the search is periodically executed even when no communication request is generated, the roaming rate can be reduced by a certain level or more. Then, by selecting an appropriate fixed time for a predetermined period, it is possible to balance the effect of suppressing the increase in power consumption and the deterioration of usability and the effect of reducing the roaming rate.
第6の態様は、ホーム網(2)およびローミング網(4)に接続可能な通信部(14)を有する通信端末(10)のCPU(24)を、通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別部(S1:YES→S3:YES→S5)、および、判別部によって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別されたときホーム網をサーチする(S5:YES→S11)、サーチ部として機能させる、網接続制御プログラム(52)である。 In the sixth aspect, the CPU (24) of the communication terminal (10) having the communication unit (14) connectable to the home network (2) and the roaming network (4) is connected to the roaming network. When a communication request is generated in the state, a determination unit (S1: YES → S3: YES → S5) for determining whether the communication request is a communication request from software running in the background, and the determination unit When it is determined that the communication request is a communication request from software running in the background, the home network is searched (S5: YES → S11), and is a network connection control program (52) that functions as a search unit.
第7の態様は、ホーム網(2)およびローミング網(4)に接続可能な通信部(14)を有する通信端末(10)によって行われる網接続制御方法であって、通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別ステップ(S1:YES→S3:YES→S5)、および、判別ステップによって当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求であると判別されたときホーム網をサーチする(S5:YES→S11)、サーチステップを含む。 A seventh aspect is a network connection control method performed by a communication terminal (10) having a communication unit (14) connectable to a home network (2) and a roaming network (4). A determination step (S1: YES → S3: YES → S5) for determining whether or not the communication request is a communication request from software running in the background when a communication request is generated in a connected state; and When the determination step determines that the communication request is a communication request from software running in the background (S5: YES → S11), the search step is included.
第6および7の各態様によっても、第1の態様と同様に、消費電力の増大および使い勝手の悪化を抑制しつつローミング率を低減できる。 According to each of the sixth and seventh aspects, similarly to the first aspect, it is possible to reduce the roaming rate while suppressing increase in power consumption and deterioration in usability.
この発明によれば、ローミング率を低減できる、通信端末ならびに網接続制御プログラムおよび方法が実現される。 According to the present invention, a communication terminal and a network connection control program and method that can reduce the roaming rate are realized.
図1には、携帯端末10のハードウエア構成が示される。図1を参照して、この発明の一実施例である携帯端末10はCPU24を含む。CPU24には、キー入力装置26、タッチパネル32、メインメモリ34、フラッシュメモリ36および撮像装置38が接続され、さらに、無線通信回路14を介してアンテナ12が、A/Dコンバータ16を介してマイク18が、D/Aコンバータ20を介してスピーカ22が、そしてドライバ28を介してディスプレイ30が、それぞれ接続される。
FIG. 1 shows a hardware configuration of the
アンテナ12は、図示しない基地局からの無線信号を捕捉(受信)し、また、無線通信回路14からの無線信号を放出(送信)する。無線通信回路14は、アンテナ12で受信された無線信号を復調および復号化し、また、CPU24からの信号を符号化および変調する。マイク18は、音波をアナログの音声信号に変換し、A/Dコンバータ16は、マイク18からの音声信号をディジタルの音声データに変換する。D/Aコンバータ20は、CPU24からの音声データをアナログの音声信号に変換し、スピーカ22は、D/Aコンバータ20からの音声信号を音波に変換する。
The
キー入力装置26は、ユーザによって操作される各種のキー,ボタン(図示せず)などで構成され、操作に応じた信号(コマンド)をCPU24に入力する。ドライバ28は、CPU24からの信号に応じた画像をディスプレイ30に表示する。タッチパネル32は、ディスプレイ30の表示面に設けられ、タッチ点の位置を示す信号をCPU24に入力する。
The
メインメモリ34は、たとえばSDRAMなどで構成され、CPU24に各種の処理を実行させるためのプログラム,データなど(図3参照)を記憶する共に、CPU24に必要な作業領域を提供する。フラッシュメモリ36は、たとえばNAND型のフラッシュメモリで構成され、プログラムやデータの保存領域として利用される。
The
CPU24は、メインメモリ34に記憶されたプログラム(52〜56)に従って、他のハードウエア(12〜22,26〜36)を利用しつつ、各種の処理を実行する。処理の実行に必要な現在時刻情報やタイミング信号は、RTC(Real Time Clock)24aから供給される。
The
以上のように構成された携帯端末10では、図示しないメニュー画面を通して、通話を行う通話モード、およびデータ通信を行うデータ通信モードなどを選択することができる。
With the
通話モードが選択されると、携帯端末10は、通話装置として機能する。詳しくは、キー入力装置26によって発呼操作が行われると、CPU24は、無線通信回路14を制御して発呼信号を出力する。出力された発呼信号は、アンテナ12を介して出力され、図示しない移動通信網を経て相手の電話機に伝達される。電話機は、着信音などによる呼び出しを開始する。相手が着呼操作を行うと、CPU24は通話処理を開始する。一方、相手からの発呼信号がアンテナ12によって捕捉されると、無線通信回路14は着信をCPU24に通知し、CPU24は、スピーカ22からの着信音や図示しないバイブレータの振動などによる呼び出しを開始する。キー入力装置26によって着呼操作が行われると、CPU24は通話処理を開始する。
When the call mode is selected, the mobile terminal 10 functions as a call device. Specifically, when a call operation is performed by the
通話処理は、たとえば、次のように行われる。相手から送られてきた受話音声信号は、アンテナ12によって捕捉され、無線通信回路14によって復調および復号化を施された後、D/Aコンバータ20を経てスピーカ22に与えられる。これにより、スピーカ22から受話音声が出力される。一方、マイク18によって取り込まれた送話音声信号は、A/Dコンバータ16を経て無線通信回路14に送られ、無線通信回路14によって符号化および変調を施された後、アンテナ12を通して相手に送信される。相手の電話機でも、送話音声信号の復調および復号化が行われ、送話音声が出力される。
Call processing is performed as follows, for example. The received voice signal sent from the other party is captured by the
データ通信モードが選択されると、携帯端末10はデータ通信装置として機能する。詳しくは、CPU24は、無線通信回路14を介してインターネット上のメールサーバやWebサーバ(図示せず)とデータ通信を行うことで電子メールデータやハイパーテキストデータを取得し、これに基づく電子メール文書やHTML文書をドライバ28を介してディスプレイ30に表示する。
When the data communication mode is selected, the mobile terminal 10 functions as a data communication device. Specifically, the
また、CPU24は、アプリケーションソフトウェア(以下“アプリ”)をフォアグラウンドで実行中に、バックグラウンドで別のアプリを実行することが可能(マルチタスク対応型CPU)である。以下では、フォアグラウンドで動作しているアプリを“フォアグラウンドアプリ”、バックグラウンドで動作しているアプリを“バックグラウンドアプリ”と呼ぶ場合がある。
Further, the
たとえば、データ通信モードでは、フォアグラウンドで動作しているブラウザによりウェブページの閲覧を行いながら(つまりディスプレイ30にHTML文書が表示されいている状態で)、バックグラウンドで動作しているメールソフトにより電子メールの着信を行うことも可能である。通話モードでも、フォアグラウンドで通話中にバックグラウンドでメール着信などが行える。 For example, in the data communication mode, while browsing a web page by a browser operating in the foreground (that is, in a state where an HTML document is displayed on the display 30), e-mail is transmitted by mail software operating in the background. It is also possible to make incoming calls. Even in call mode, you can receive e-mails in the background while talking in the foreground.
上述のような通話処理およびデータ通信処理は、たとえば、図2に示すホーム網2またはローミング網4を利用して実行される。具体的には、携帯端末10がホーム網2の通信圏内に位置する場合、無線通信回路14はホーム網2に接続され、携帯端末10がホーム網2の通信圏外であってかつローミング網4の通信圏内に位置する場合、無線通信回路14はローミング網4に接続される。
The above-described call processing and data communication processing are executed using, for example, the
携帯端末10がホーム網2の通信圏内に位置するか否かは、たとえば、ホーム網2の基地局から送信される無線信号に含まれる識別情報およびその受信信号強度などに基づいて判別される。携帯端末10がローミング網4の通信圏内に位置するか否かもまた、ローミング網4の基地局から送信される無線信号に含まれる識別情報およびその受信信号強度などに基づいて判別可能である。
Whether or not the
携帯端末10のCPU24は、無線通信回路14のホーム網2およびローミング網4への接続を次のように制御する。すなわち、無線通信回路14をローミング網4に接続している状態で通信要求が発生したとき、その通信要求がバックグラウンドで実行中のアプリからのものか、フォアグラウンドで実行中のアプリからのものかを判別して、フォアグラウンドで実行中のアプリからの通信要求と判別されたとき、所定の周期に従うタイミングになっていれば、ホーム網2のサーチを行い、バックグラウンドで実行中のアプリからの通信要求と判別されたとき上記所定の周期に従うタイミングまで待つことなく(可及的速やかに)ホーム網2のサーチを行う。そして、サーチの結果、ホーム網2が捕捉されると無線通信部14の接続をホーム網2に切り替え、捕捉されなければローミング網4への接続状態を維持する。
The
そして、上述したような網接続制御は、たとえば、メインメモリ34に記憶された図3に示す各種のプログラム(52〜54)およびデータ(62〜66)に基づいて、CPU24が図4に示すフローに従う処理を実行することにより実現される。 The network connection control as described above is performed, for example, based on the various programs (52 to 54) and data (62 to 66) shown in FIG. This is realized by executing processing according to the above.
詳しくは、まず図3を参照して、メインメモリ34はプログラム領域50およびデータ領域60を含み、プログラム領域50には網接続制御プログラム52,通信制御プログラム54などが、データ領域60には接続状態フラグ62,サーチ情報64およびローミング情報66などが、それぞれ記憶される。なお、図示は省略するが、プログラム領域50には、キー入力装置26やタッチパネル32からの入力を制御したり、ドライバ28を介してディスプレイ30への出力を制御するための入出力制御プログラムなども記憶される。
Specifically, referring to FIG. 3, the
網接続制御プログラム52は、バックグラウンドアプリからのデータ通信要求をトリガとしてホーム網2のサーチを行い、ホーム網2が捕捉されれば無線通信回路14の接続をローミング網4からホーム網2に切り替え、ホーム網2が捕捉されなければローミング網4への接続状態を維持するためのプログラムであり、CPU24にデータ領域60のフラグや情報(62〜66)を参照しつつ図4のフローに従う処理を実行させる。
The network
通信制御プログラム54は、網接続制御プログラム52と共働して、ホーム網2またはローミング網4に接続された無線通信回路14を制御して、先述した通話処理およびデータ通信処理を実行するためのプログラムである。
The
接続状態フラグ62は、網への接続状態を示すフラグであり、無線通信回路14がホーム網2に接続されている状態では“0”が、ローミング網4に接続されている状態では“1”が、通信制御プログラム54によって書き込まれる(接続状態が変化したとき更新される)。サーチ情報64は、ホーム網2のサーチを実行した時刻(RTC24aの出力値に基づくタイムスタンプ)およびその結果を示す情報であり、通信制御プログラム54によって書き込まれる(サーチが実行されたとき追記される)。
The connection state flag 62 is a flag indicating a connection state to the network, and is “0” when the
ローミング情報66は、ローミング網4に接続した時刻およびローミング網4から離脱した時刻(いずれもRTC24aの出力値に基づくタイムスタンプ)を示す情報であり、通信制御プログラム52によって書き込まれる(ローミング網4への接続/からの離脱が発生したとき追記される)。
The roaming
なお、メインメモリ34に記憶されたローミング情報66は、フラッシュメモリ36に転送され、一定期間以上保存される。こうしてフラッシュメモリ36に蓄積されたローミング情報が、ホーム網2を運営するキャリア(および/またはローミング網4を提供したキャリア)へと定期的に送信され、送信先のキャリアにおいて、携帯端末10がローミング網4を利用した時間が計算される。そして、ホーム網2を運営するキャリアからローミング網4を提供したキャリアへ、計算結果に基づく利用料金が支払われることになる。
The roaming
次に、図4を参照して、CPU24は、最初、ステップS1で、無線通信回路14がローミング網4に接続している状態か否かをメインメモリ34に記憶された接続状態フラグ62に基づいて判別し、ここでNOであれば、所定の待機時間(たとえば1秒)を挟んで同様の判別を繰り返す。ステップS1でYESであれば、ステップS3に進んで、データ通信要求が発生したか否かを通信制御プログラム54を介して判別する。ステップS3でNOであれば、ステップS9に進む。
Next, referring to FIG. 4, the
ステップS3でYESであれば、ステップS5に進んで、そのデータ通信要求がバックグラウンドアプリからのものか否かを通信制御プログラム54を介して判別する。ステップS5でNO、つまりそのデータ通信要求がフォアグラウンドアプリからのものであれば、ステップS9に進む。
If “YES” in the step S3, the process proceeds to a step S5 to determine whether or not the data communication request is from a background application via the
ステップS5でYESであれば、ステップS7に進んで、前回サーチから一定時間(たとえば10秒)以上経過しているか否かを、サーチ情報64に記述された最後のサーチ時刻とRTC24aの出力値(現在時刻)との比較に基づいて判別する。そして、ステップS7でNOでればステップS17に進み、ステップS7でYESであればステップS11に進む。
If “YES” in the step S5, the process proceeds to a step S7 to determine whether or not a predetermined time (for example, 10 seconds) has elapsed since the previous search, whether the last search time described in the
なお、初回サーチの場合、サーチ情報64に有意の値が記述されていないことから、ステップS7では、現在時刻との比較は行わずに、一定時間以上経過していると見なしてYESと判別する。
In the case of the first search, since no significant value is described in the
ステップS9では、前回サーチからサーチ周期に相当する時間(たとえば1分)が経過したか否かを判別する。そして、ステップS9でYESであればステップS11に進み、ステップS9でNOであればステップS17に進む。 In step S9, it is determined whether or not a time (for example, 1 minute) corresponding to the search cycle has elapsed since the previous search. If YES in step S9, the process proceeds to step S11. If NO in step S9, the process proceeds to step S17.
なお、サーチ周期は、この実施例では固定値(1分)であるが、ユーザ操作に基づき設定または変更可能なパラメータでもよい。あるいは、ホーム網2およびローミング網4の配置が記述された地図情報と、ローミング網4に設けられた各基地局からの識別信号の受信信号強度から推定される位置情報(または携帯端末10がGPSを利用可能であればそれによる位置情報)との比較に基づいて、サーチ周期を動的に変化させてもよい。たとえば、網の境界に近づく(境界から遠ざかる)につれて段階的に、または連続的にサーチ周期を短くする(長くする)、といった制御が、ホーム網2のできるだけ早い捕捉に有効である。
The search period is a fixed value (1 minute) in this embodiment, but may be a parameter that can be set or changed based on a user operation. Alternatively, the location information estimated from the map information describing the arrangement of the
ステップS11では、通信制御プログラム54を介してホーム網2をサーチする。このとき、サーチ時刻(11:25:00,11:37:00,…)および結果(捕捉失敗を示すNGまたは捕捉成功を示すOK)が、通信制御プログラム54によってサーチ情報64に書き込まれる。そしてステップS13で、ホーム網2を補足したか否かをサーチ情報64に基づいて判別し、YESであればステップS15に進み、NOであればステップS17に進む。
In step S11, the
ステップS15では、通信制御プログラム54を介して無線通信回路14の接続をホーム網2に切り替える。こうしてローミング網4から離脱したとき、通信制御プログラム54によって、離脱時刻がローミング情報66に追記され、かつ接続状態フラグ62が“0”に更新(“1”が“0”で上書き)される。その後、ステップS1に戻って上記と同様の処理を繰り返す。
In step S15, the connection of the
ステップS17では、ローミング網4への接続を維持する。こうしてローミング網4への接続の維持が決定されたとき、接続状態フラグ62は“1”に維持(“1”が“1”で上書き)される。その後、ステップS1に戻って上記と同様の処理を繰り返す。 In step S17, the connection to the roaming network 4 is maintained. Thus, when it is determined to maintain the connection to the roaming network 4, the connection state flag 62 is maintained at "1" ("1" is overwritten with "1"). Then, it returns to step S1 and repeats the same process as the above.
なお、上記ステップS7で前回サーチからの経過時間と比較される一定時間は、この実施例では10秒であるが、一般には、サーチ周期よりも短い時間(ここでは1分未満)であればよい。ただし、アプリによっては、データ通信要求から一定時間が経過してもデータ通信を開始できないときオーバータイムと判断する場合もあるので、好ましくは、バックグラウンドアプリがオーバータイムと判断するまでの待ち時間も考慮して(たとえばサーチ周期1分に対し5秒〜30秒の範囲で)適宜な時間が選ばれる。 The fixed time compared with the elapsed time from the previous search in step S7 is 10 seconds in this embodiment, but in general, it may be shorter than the search cycle (here, less than 1 minute). . However, depending on the application, it may be determined as overtime when data communication cannot be started even after a certain period of time has elapsed since the data communication request. An appropriate time is selected in consideration (for example, in the range of 5 to 30 seconds for a search period of 1 minute).
以上から明らかなように、この実施例の携帯端末10は、ホーム網2およびローミング網4に接続可能な無線通信回路14を有し、フォアグラウンドでソフトウェアを実行中にバックグラウンドで別のソフトウェアを実行可能である。このような携帯端末10のCPU24は、無線通信回路14をローミング網4に接続している状態でデータ通信要求が発生したとき、当該データ通信要求がバックグラウンドアプリからのものか否かを判別して(S1:YES→S3:YES→S5)、バックグラウンドで実行中のソフトウェアからの通信要求でない(つまりフォアグラウンドアプリからのデータ通信要求である)と判別されたとき所定の周期(たとえば1分周期)に従うタイミングになっていればホーム網2をサーチし(S5:NO→S9:YES→S11)、バックグラウンドアプリからのデータ通信要求であると判別されたとき上記所定の周期に基づくタイミングまで待つことなく(可及的速やかに)ホーム網2をサーチする(S5:YES→S11)。そして、ホーム網2が捕捉されたとき無線通信回路14の接続をホーム網2に切り替え(S13:YES→S15)、ホーム網2が捕捉されないときローミング網4への接続状態を維持する(S13:NO→S17)。
As is clear from the above, the
この実施例によれば、バックグラウンドアプリは一般に(フォアグラウンドアプリと比べて)高いリアルタイム性を要求されることが少ない点に着目し、(フォアグラウンドアプリからのデータ通信要求に対しては、所定の周期に基づくタイミングになっていれば、ホーム網2のサーチを行うが、)バックグラウンドアプリからのデータ通信要求に対しては、所定の周期に基づくタイミングまで待たずにホーム網2のサーチを行うので、サーチの頻度を抑制しながら速やかにホーム網2への切り替えを図ることができ、その結果、消費電力の増大および使い勝手の悪化を抑制しつつローミング率を低減できる。
According to this embodiment, it is noted that the background application is generally less required to have high real-time performance (compared to the foreground application), and in response to a data communication request from the foreground application, a predetermined cycle is required. If the timing is based on, the
好ましくは、CPU24は、バックグラウンドアプリからのデータ通信要求であると判別された時点で前回サーチから所定の周期よりも短い一定時間(たとえば10秒)以上経過している場合に所定の周期に基づくタイミングまで待つことなくホーム網2をサーチし(S5:YES→S7:YES→S11)、バックグラウンドアプリからのデータ通信要求であると判別された時点で前回サーチから一定時間以上経過していない場合(たとえば未だ5秒しか経過していない場合)にはローミング網4への接続を維持する(S5:YES→S7:NO→S17)。
Preferably, the
このように、網(2,4)間の移動にはある程度の時間(たとえば10秒〜1分のオーダー)を要する点に着目し、一定時間内の再サーチを制限したので、ローミング率を低減する効果を維持しながら、消費電力の増大および使い勝手の悪化を一層抑制できる。 In this way, focusing on the point that moving between networks (2, 4) requires a certain amount of time (for example, on the order of 10 seconds to 1 minute), the re-search within a certain time is limited, so the roaming rate is reduced. While maintaining the effect, the increase in power consumption and the deterioration in usability can be further suppressed.
また、CPU24は、無線通信回路14をローミング網4に接続している状態でデータ通信要求が発生しないとき所定の周期に従うタイミングでホーム網2をサーチする(S3:NO→S9:YES→S11)。したがって、通信要求が発生しなくても周期的にサーチが実行されるので、ローミング率を一定以上低減できる。そして、所定の周期(たとえば1分)に対し適切な一定時間(たとえば5秒から30秒)を選ぶことで、消費電力の増大および使い勝手の悪化を抑制する効果と、ローミング率を低減する効果とのバランスをとることができる。
Further, the
以上では、携帯端末10について説明したが、この発明は、ホーム網およびローミング網に接続可能な通信部を有する携帯型の通信端末(スマートフォン,タブレットPC,携帯電話端末,携帯情報端末など)、さらには自動車などの移動体に搭載される通信端末(カーナビなど)に適用できる。
Although the
2 …ホーム網
4 …ローミング網
10 …携帯端末
14 …無線通信回路
24 …CPU
24a …RTC
34 …メインメモリ
2 ... Home network 4 ...
24a ... RTC
34 ... Main memory
Claims (7)
前記通信部を前記ローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別部、および
前記判別部によって当該通信要求が前記バックグラウンドで実行中のソフトウェアからの通信要求であると判別されたとき前記ホーム網をサーチする、サーチ部を備える、通信端末。 Communication unit connectable to home network and roaming network,
When a communication request is generated while the communication unit is connected to the roaming network, a determination unit that determines whether the communication request is a communication request from software running in the background, and the determination unit A communication terminal comprising a search unit that searches the home network when it is determined that the communication request is a communication request from software running in the background.
前記サーチ部によって前記ホーム網が捕捉されないとき前記通信部の前記ローミング網への接続状態を維持する維持部をさらに備える、請求項2記載の通信端末。 A switching unit that switches the connection of the communication unit to the home network when the home network is captured by the search unit; and a connection state of the communication unit to the roaming network when the home network is not captured by the search unit. The communication terminal according to claim 2, further comprising a maintaining unit for maintaining.
前記通信部をローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別部、および
前記判別部によって当該通信要求が前記バックグラウンドで実行中のソフトウェアからの通信要求であると判別されたとき前記ホーム網をサーチする、サーチ部として機能させる、網接続制御プログラム。 CPU of a communication terminal having a communication unit connectable to a home network and a roaming network,
When a communication request is generated while the communication unit is connected to a roaming network, a determination unit that determines whether the communication request is a communication request from software running in the background, and the determination unit A network connection control program for searching for the home network and functioning as a search unit when it is determined that the communication request is a communication request from software running in the background.
前記通信部を前記ローミング網に接続している状態で通信要求が発生したとき、当該通信要求がバックグラウンドで実行中のソフトウェアからの通信要求か否かを判別する判別ステップ、および
前記判別ステップによって当該通信要求が前記バックグラウンドで実行中のソフトウェアからの通信要求であると判別されたとき前記ホーム網をサーチする、サーチステップを含む、網接続制御方法。 A network connection control method performed by a communication terminal having a communication unit connectable to a home network and a roaming network,
When a communication request is generated while the communication unit is connected to the roaming network, a determination step of determining whether the communication request is a communication request from software running in the background, and the determination step A network connection control method including a search step of searching the home network when it is determined that the communication request is a communication request from software running in the background.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012188887A JP2014049812A (en) | 2012-08-29 | 2012-08-29 | Communication terminal and network connection control program and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012188887A JP2014049812A (en) | 2012-08-29 | 2012-08-29 | Communication terminal and network connection control program and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2014049812A true JP2014049812A (en) | 2014-03-17 |
Family
ID=50609100
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012188887A Pending JP2014049812A (en) | 2012-08-29 | 2012-08-29 | Communication terminal and network connection control program and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2014049812A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015201784A (en) * | 2014-04-09 | 2015-11-12 | アルパイン株式会社 | Computer program, information processing device, and processing execution method |
| CN109324884A (en) * | 2018-09-04 | 2019-02-12 | 青岛海信移动通信技术股份有限公司 | A method and terminal for restricting background applications |
-
2012
- 2012-08-29 JP JP2012188887A patent/JP2014049812A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015201784A (en) * | 2014-04-09 | 2015-11-12 | アルパイン株式会社 | Computer program, information processing device, and processing execution method |
| CN109324884A (en) * | 2018-09-04 | 2019-02-12 | 青岛海信移动通信技术股份有限公司 | A method and terminal for restricting background applications |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2324397B1 (en) | Communications device having a commute time function and method of use thereof | |
| CN103139370A (en) | Communication electronic device, display device and method for switching conversation between devices | |
| JP2016153794A (en) | Portable terminal device and its positioning result acquisition interval setting method | |
| CN101688786A (en) | Mobile terminal including display screen capable of displaying map and map display method for mobile terminal | |
| JP5932543B2 (en) | Communication terminal, tethering control program and method, and communication system | |
| JP2010245825A (en) | Communication device | |
| CN106791196A (en) | A method, device and terminal for switching scene modes | |
| JP5085203B2 (en) | Wireless communication terminal | |
| JP2008178038A (en) | COMMUNICATION DEVICE, TELEPHONE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
| KR20060132313A (en) | System and method for storing application state using mobile communication terminal | |
| JP2002027571A (en) | Communication terminal and wireless terminal used for electrical equipment control system | |
| JP4731373B2 (en) | Information terminal device, control method thereof, and program | |
| CN110896521B (en) | Data processing method, wearable intelligent device and intelligent terminal | |
| CN103338313A (en) | Method and device for processing telephone numbers | |
| CN101729673A (en) | Method and device for setting ringtone and wallpaper of mobile terminal | |
| JP2014049812A (en) | Communication terminal and network connection control program and method | |
| JP2010166243A (en) | Mobile communication terminal apparatus, QoS control apparatus, mobile communication system, and QoS guarantee method | |
| JP5500614B2 (en) | Terminal device and program | |
| JP5141181B2 (en) | Communications system | |
| CN100556184C (en) | Method and system for automatically re-establishing GPRS/EDGE connection | |
| JP6285627B2 (en) | Communications system | |
| JP2008271251A (en) | Mobile radio terminal device | |
| EP1760964A3 (en) | Mobile station, communication system and telephone communication switching method | |
| JP6077700B1 (en) | IP radio apparatus and IP radio method | |
| JP2006018535A (en) | Mobile communication terminal device and program |