JP4203658B2 - Communication terminal device and program - Google Patents

Communication terminal device and program Download PDF

Info

Publication number
JP4203658B2
JP4203658B2 JP2004088107A JP2004088107A JP4203658B2 JP 4203658 B2 JP4203658 B2 JP 4203658B2 JP 2004088107 A JP2004088107 A JP 2004088107A JP 2004088107 A JP2004088107 A JP 2004088107A JP 4203658 B2 JP4203658 B2 JP 4203658B2
Authority
JP
Japan
Prior art keywords
remaining amount
base station
communication terminal
terminal device
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004088107A
Other languages
Japanese (ja)
Other versions
JP2005278306A (en
Inventor
和彦 平出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2004088107A priority Critical patent/JP4203658B2/en
Publication of JP2005278306A publication Critical patent/JP2005278306A/en
Application granted granted Critical
Publication of JP4203658B2 publication Critical patent/JP4203658B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Description

本発明は、充電可能なバッテリを搭載した携帯可能なデータ処理装置に関する。   The present invention relates to a portable data processing device equipped with a rechargeable battery.

携帯電話機やPHSに代表される通話が可能な移動通信端末装置(以降「通信端末」と略記)は現在、社会に広く普及している。近年、その通信端末には、半導体技術の進歩もあって、様々な機能が搭載されている。それにより、現在では幅広い用途に用いられるようになっている。   Mobile communication terminal devices (hereinafter abbreviated as “communication terminals”) capable of making phone calls typified by mobile phones and PHS are now widely used in society. In recent years, the communication terminal has been equipped with various functions due to advances in semiconductor technology. As a result, it is now used in a wide range of applications.

そのような通信端末は、携帯して用いられるのを想定したデータ処理装置である。その携帯を可能とするために、通常、充電可能なバッテリが搭載されている。携帯時はバッテリ駆動となるために、その残量を検出してユーザーに通知するようになっている。その残量は、基本的には電圧から検出するのが普通である。具体的な検出方法としては特許文献1、2に記載されているようなものがある。   Such a communication terminal is a data processing device that is assumed to be carried and used. In order to make it portable, a rechargeable battery is usually installed. Since it is battery-driven when it is carried, the remaining amount is detected and notified to the user. The remaining amount is usually detected from voltage. Specific detection methods include those described in Patent Documents 1 and 2.

充電可能なバッテリを搭載したデータ処理装置の殆どは、バッテリを搭載したまま充電を行えるようになっている。そのようなデータ処理装置には専用の充電器が用意されているのが普通である。その充電器による充電には長い時間がかかり、電源となるコンセントと接続できる場所は限られている。このようなことから、大部分のユーザーは充電器を持ち運ばないのが普通である。このこともあって、そのようなデータ処理装置の多くは、利用したいときに利用できるように、バッテリの残量が少なくなると充電、或いはバッテリの交換を促す警告を行うようになっている。   Most data processing devices equipped with a rechargeable battery can be charged with the battery mounted. Such a data processing apparatus usually has a dedicated charger. Charging with the charger takes a long time, and there are limited places where it can be connected to a power outlet. For this reason, most users usually do not carry the charger. For this reason, many of such data processing devices issue a warning prompting charging or battery replacement when the remaining battery level is low so that it can be used when desired.

従来のデータ処理装置は、単にバッテリの残量にのみ着目してその警告を行っていた。しかし、消費電力は、ユーザーの使い方によって変化する。通信端末では、基地局からの距離によっても変化する。警告を行っても、バッテリの充電には充電器が必要なことから、充電器がある場所によって実際に充電を開始できる時間は異なる。これらのことから、警告を行っても、データ処理装置の使い方や携帯する場所などの利用形態によって、充電が開始される前にバッテリの残量が無くなることも多く発生していた。これは、警告が必ずしも適切に行われていないことを意味する。このようなことから、バッテリの残量の警告は、データ処理装置の利用形態を考慮して行うべきであると考えられる。   The conventional data processing apparatus gives the warning only paying attention to the remaining amount of the battery. However, the power consumption varies depending on how the user uses it. In the communication terminal, it varies depending on the distance from the base station. Even if the warning is given, since the charger is required for charging the battery, the time at which charging can actually be started varies depending on the location where the charger is located. For these reasons, even if a warning is issued, the remaining amount of the battery often runs out before charging starts depending on how the data processing device is used and how it is carried around. This means that the warning is not necessarily done properly. For this reason, it is considered that the warning of the remaining battery level should be performed in consideration of the usage mode of the data processing device.

ところで、動作上の設定の変更などにより消費電力が変わるデータ処理装置のなかには、バッテリの残量に応じて設定を変更し消費電力を抑えるようになっているものがある。そのようなデータ処理装置であっても、消費電力は利用形態によって変化することから、バッテリの残量に応じた動作内容の設定変更でもその利用形態は考慮すべきであると考えられる。
特開平7−147601号公報 特開2003−168992号公報
By the way, among data processing devices whose power consumption changes due to a change in operational settings, etc., there are some which change the settings according to the remaining battery level to suppress power consumption. Even in such a data processing apparatus, since the power consumption changes depending on the usage pattern, it is considered that the usage pattern should be taken into account even when the setting of the operation content is changed according to the remaining battery level.
JP-A-7-147601 JP 2003-168992 A

本発明の課題は、利用形態を反映させて、バッテリの残量に応じた制御(残量についての警告、或いは消費電力を抑えるための設定変更)を行うデータ処理装置を提供することにある。   An object of the present invention is to provide a data processing apparatus that performs control (warning about the remaining amount or setting change for suppressing power consumption) according to the remaining amount of the battery, reflecting the usage form.

本発明の第1〜第4の態様の通信端末装置は共に、充電可能なバッテリを搭載した携帯可能なものであることを前提とし、それぞれ以下の手段を具備する。
第1の態様の通信端末装置は、当該通信端末装置の動作状況を時間帯別に記録する動作状況記録手段と、動作状況記録手段が時間帯別に記録した過去の動作状況に応じて、現在の時間帯のバッテリの検出残量を設定する検出残量設定手段と、バッテリの残量を検出する残量検出手段と、検出残量設定手段の設定値と残量検出手段の検出値に基づいて、当該通信端末装置の動作内容を制御する動作内容制御手段と、を具備する。
なお、動作状況記録手段は、当該通信端末装置の平均通話回数を時間帯別に記録し、検出残量設定手段は、動作状況記録手段が時間帯別に記録した平均通話回数に応じて、現在の時間帯のバッテリの検出残量を設定する、ことが望ましい。
The communication terminal devices according to the first to fourth aspects of the present invention are both assumed to be portable equipped with a rechargeable battery, and each has the following means.
The communication terminal device according to the first aspect includes an operation status recording unit that records an operation status of the communication terminal device for each time zone, and a current time according to a past operation status recorded by the operation status recording unit for each time zone. and detecting remaining quantity setting means for setting a detection remaining amount of the band of the battery, and the remaining amount detecting means for detecting the remaining amount of the battery-based on the detection value of the set value and the remaining amount detecting means detecting the remaining amount setting means Operation content control means for controlling the operation content of the communication terminal device.
The operation status recording means records the average number of calls of the communication terminal device for each time zone, and the detected remaining amount setting means determines the current time according to the average number of calls recorded by the operation status recording means for each time zone. It is desirable to set the remaining battery detection level.

第2の態様の通信端末装置は、上記第1の態様における構成に加えて、接続可能な基地局を認識する基地局認識手段を更に具備し、この場合、動作状況記録手段は、基地局と当該基地局における当該通信端末装置の平均通話回数とを対応づけて時間帯別に記録し、検出残量設定手段は、基地局認識手段によって認識されている基地局と、動作状況記録手段が基地局と対応付けて時間帯別に記録した当該通信端末装置の平均通話回数とに応じて、現在の時間帯のバッテリの検出残量を設定する、ことが好ましい。The communication terminal apparatus according to the second aspect further includes base station recognition means for recognizing a connectable base station in addition to the configuration of the first aspect. In this case, the operation status recording means includes: The average number of calls of the communication terminal device in the base station is recorded in association with the time zone, the detected remaining amount setting means is the base station recognized by the base station recognition means, and the operation status recording means is the base station It is preferable to set the remaining battery detection amount in the current time period according to the average number of calls of the communication terminal device recorded in association with the time period.

第3の態様の通信端末装置は、上記第1および2の態様における構成に加えて、バッテリの残量についての警告を行う残量警告手段を更に具備し、この場合、動作内容制御手段は、検出残量設定手段の設定値と残量検出手段の検出値に基づいて、残量警告手段が警告を行うよう制御する、ことが好ましい。 In addition to the configurations in the first and second aspects, the communication terminal device according to the third aspect further includes a remaining amount warning unit that issues a warning about the remaining amount of the battery. In this case, the operation content control unit includes: It is preferable to control the remaining amount warning unit to issue a warning based on the set value of the detected remaining amount setting unit and the detected value of the remaining amount detection unit .

第4の様態の通信端末装置は、上記第1の態様における構成に加えて、接続可能な基地局を認識する基地局認識手段を更に具備し、この場合、動作状況記録手段は、基地局認識手段によって基地局が認識されない通話圏外の平均時間を時間帯別に記録し、検出残量設定手段は、動作状況記録手段が時間帯別に記録した通話圏外の平均時間に応じて、現在の時間帯のバッテリの検出残量を設定し、動作内容制御手段は、残量検出手段の検出値が検出残量設定手段によって設定された設定値以下であって、動作状況記録手段に記録された通話圏外の平均時間が所定の時間以上であるとき、通信部の電源を切断して通信機能を停止するよう制御し、一方、残量検出手段の検出値が検出残量設定手段によって設定された設定値以下であって、動作状況記録手段に記録された通話圏外の平均時間が所定の時間以下であるとき、基地局認識手段が、基地局の認識のために実行する基地局検索を、通信圏内に位置しているときよりも長い周期で実行するよう制御する、ことが好ましい。 The communication terminal apparatus according to the fourth aspect further includes base station recognition means for recognizing a connectable base station in addition to the configuration of the first aspect. In this case, the operation status recording means is configured to recognize base station. The average time outside the service area where the base station is not recognized by the means is recorded for each time zone, and the remaining detection amount setting means is based on the average time outside the service area recorded by the operation status recording means for each time zone. The detected battery remaining amount is set, and the operation content control means detects that the detected value of the remaining capacity detecting means is equal to or less than the set value set by the detected remaining capacity setting means, when the average time is equal to or greater than a predetermined time, and controls so as to stop the communication function by cutting the power to the communication unit, whereas, following settings detected value of the remaining amount detecting means is set by detecting the remaining amount setting means And the operating status When the average time outside the communication area recorded in the recording means is less than or equal to a predetermined time, the base station recognition means performs a base station search for recognition of the base station than when it is located in the communication area. It is preferable to control so as to execute at a long cycle.

本発明の第の態様のプログラムは、上記第の態様の通信端末装置を実現させるための機能を搭載している。 The program according to the first aspect of the present invention has a function for realizing the communication terminal apparatus according to the first aspect.

本発明は、自身(の通信端末装置)の動作状況を時間帯別に記録し、時間帯別に記録した過去の動作状況に応じて現在の時間帯のバッテリの検出残量を設定し、バッテリの残量を検出し、設定値と検出値に基づいて、自身の動作内容を制御する。このように、時間帯別の過去の動作状況を考慮することにより、時間帯別の通信端末装置のユーザーの使い方(利用状況)に合わせて消費電力を抑えるための動作上の設定変更を行わせられるようになる。このため、バッテリの残量に応じた動作内容の制御をより適切に行うことができる。 The present invention records the operating conditions of its own (communication terminal apparatus) in each time zone, and sets the detection remaining amount of the current time zone battery in accordance with the operating conditions of the past recorded in each time zone, the battery- The remaining amount is detected, and the operation content is controlled based on the set value and the detected value . In this way, by considering the past operation status by time zone, change the operational settings to reduce power consumption according to the usage (usage status) of the user of the communication terminal device by time zone. Be able to. For this reason, the control of the operation content according to the remaining amount of the battery can be performed more appropriately.

発明によれば通信端末装置は利用したいときにより確実に利用できるようになる。このため、ユーザーにとっては通信端末装置をより快適に利用できることとなる。
According to the present invention, the communication terminal device can be used more reliably when it is desired to use it. For this reason, the communication terminal device can be used more comfortably for the user.

以下、本発明の実施の形態について、図面を参照しながら詳細に説明する。
<第1の実施の形態>
図1は、第1の実施の形態によるデータ処理装置の構成図である。そのデータ処理装置1は、携帯電話機、或いはPHSなどの移動通信端末装置に本発明を適用したものである。ここでは便宜的に携帯電話機であると想定し、「通信端末」と呼称することにする。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<First Embodiment>
FIG. 1 is a configuration diagram of a data processing apparatus according to the first embodiment. The data processing device 1 is one in which the present invention is applied to a mobile communication terminal device such as a mobile phone or a PHS. Here, for the sake of convenience, it is assumed to be a mobile phone and will be referred to as a “communication terminal”.

図1に示すように、その通信端末1は、アンテナAT1を介して送受信する無線信号の周波数変換、及び変復調等を行う携帯電話用のRF(Radio Frequency)部101と、端末全体の制御を行うCPU102と、そのCPU102が実行するプログラムや各種制御用データを格納したプログラムROM103と、CPU102がワークに用いるワークRAM104と、例えば共に液晶表示装置である2つの表示部105、及び106と、各表示部105、106に画像を表示させる表示ドライバー部107と、音声入力用のマイク108と、音声放音用のスピーカ109と、各種スイッチを有する操作部110と、外部からの電流を受電するためのACアダプタ111と、充電可能な充電池(バッテリ)112と、各部に電流を供給する電源回路113と、を備えて構成されている。   As shown in FIG. 1, the communication terminal 1 controls a radio frequency (RF) unit 101 for a mobile phone that performs frequency conversion, modulation / demodulation, and the like of a radio signal transmitted and received via an antenna AT1, and controls the entire terminal. CPU 102, program ROM 103 storing programs executed by CPU 102 and various control data, work RAM 104 used by CPU 102 for work, two display units 105 and 106, both of which are liquid crystal display devices, for example, and each display unit Display driver unit 107 for displaying images on 105 and 106, microphone 108 for sound input, speaker 109 for sound emission, operation unit 110 having various switches, and AC for receiving current from the outside Adapter 111, rechargeable battery (battery) 112, and power supply circuit for supplying current to each unit And it is configured to include a 13.

なお、特には図示していないが、マイク108から出力されるアナログの音声信号はA/D変換器によりデジタルの音声信号に変換された後、CPU102、或いはRF部101に出力される。また、スピーカ109、及び不図示のイヤホン用のジャックには、D/A変換器により変換されたアナログの音声信号が出力される。   Although not particularly illustrated, an analog audio signal output from the microphone 108 is converted into a digital audio signal by an A / D converter and then output to the CPU 102 or the RF unit 101. In addition, an analog audio signal converted by the D / A converter is output to the speaker 109 and an unillustrated earphone jack.

上記2つの表示部105、及び106は、画面の大きさが異なるものである。その画面は、表示部105のほうが大きくなっている。このことから、表示部105はメイン表示部、表示部106はサブ表示部、とそれぞれ呼ぶことにする。   The two display units 105 and 106 have different screen sizes. The screen of the display unit 105 is larger. Therefore, the display unit 105 is called a main display unit, and the display unit 106 is called a sub display unit.

上記RF部101は、携帯電話網から送信された信号を受信し処理するものである。受信した信号は復調して、CPU102、或いはスピーカ109、及びジャック(以降、前者のみを想定する)に出力する。電話による通話時には、その信号をスピーカ109に出力することにより接続先(電話がつながった電話機)からの音声を放音させる。マイク108からの音声信号は、変調してアンテナAT1を介して送信する。インターネット接続時には、復調した信号(デジタルデータ)をCPU102に出力する。CPU102からのデータは、変調してアンテナAT1を介して送信する。   The RF unit 101 receives and processes a signal transmitted from a mobile phone network. The received signal is demodulated and output to the CPU 102, the speaker 109, and a jack (hereinafter, only the former is assumed). At the time of a telephone call, the signal is output to the speaker 109 to emit sound from the connection destination (the telephone connected to the telephone). The audio signal from the microphone 108 is modulated and transmitted via the antenna AT1. When connected to the Internet, the demodulated signal (digital data) is output to the CPU 102. Data from the CPU 102 is modulated and transmitted via the antenna AT1.

操作部115は、ユーザーが操作の対象となる各種スイッチ、及び各種スイッチに対してユーザーが行った操作を検出する検出回路を備えたものである。
電源回路113は、ACアダプタ111、充電池112の各出力を監視する。それにより、ACアダプタ111に外部の電源(例えばコンセント)から電流が供給されているか否かを判定し、その判定結果をCPU102に通知する。充電池112ではその電圧値を検出し、CPU102に通知する。
The operation unit 115 includes various switches to be operated by the user, and a detection circuit that detects operations performed by the user on the various switches.
The power supply circuit 113 monitors each output of the AC adapter 111 and the rechargeable battery 112. Thereby, it is determined whether or not current is supplied to the AC adapter 111 from an external power source (for example, an outlet), and the CPU 102 is notified of the determination result. The rechargeable battery 112 detects the voltage value and notifies the CPU 102 of it.

通信端末1のユーザーが会社員であれば、そのユーザーは普通、図2に示すように、1日に自宅20と会社30の間を往復する。それにより、会社30に居るときには、自宅20にある充電器2で通信端末1の充電を行えない状態となる。   If the user of the communication terminal 1 is a company employee, the user usually makes a round trip between the home 20 and the company 30 as shown in FIG. As a result, when the user is at the office 30, the charger 2 at the home 20 cannot be charged with the communication terminal 1.

会社30が自宅20から離れた場所にあれば、自宅20への移動に長い時間がかかる。当然のことながら、勤務中は自宅20に帰ることはできない。これらのことから、会社30に居るときに通信端末1の充電池112の残量が少ないことを警告しても、実際に充電を開始できるようになるまでには非常に長い時間を必要とする場合が多いということになる。   If the company 30 is away from the home 20, it takes a long time to move to the home 20. Naturally, you cannot go home 20 while you are at work. From these things, even if it is warned that the remaining amount of the rechargeable battery 112 of the communication terminal 1 is low when being at the company 30, it takes a very long time to actually start charging. There are many cases.

このことは、残量が無くなって通信端末1を利用できなくなる可能性が高いことを意味する。そうなることを回避するために消費電力を抑えようとすると、通信端末1の利用を控えなければならない。従って、たとえ残量が無くなる前に充電が行えても、通信端末1の快適な利用は阻害されることになる。このようなことから、本実施の形態では、通信端末1が存在する位置(場所)に応じて、充電池112の残量を警告するタイミング、その内容を変えるようにしている。それにより、充電を比較的に早く開始できない場所に通信端末1が存在していれば、比較的に早く開始できる場所に存在しているときよりも早めに警告を行い、快適な利用を阻害してしまうようなことを回避できるようにさせている。   This means that there is a high possibility that the communication terminal 1 cannot be used because there is no remaining amount. If it is going to suppress power consumption in order to avoid that happening, use of the communication terminal 1 must be refrained. Therefore, even if charging can be performed before the remaining amount runs out, comfortable use of the communication terminal 1 is hindered. For this reason, in the present embodiment, the timing for warning the remaining amount of the rechargeable battery 112 and the content thereof are changed according to the position (location) where the communication terminal 1 exists. As a result, if the communication terminal 1 exists in a place where charging cannot be started relatively quickly, a warning is given earlier than when the communication terminal 1 exists in a place where charging can start relatively quickly, thereby hindering comfortable use. So that you can avoid things like that.

周知のように、通信端末1に位置登録を行わせる必要から、基地局10は随時、自身の位置情報を送信している。場所の認識は、それを利用して、基地局10単位で行うようにしている。それにより、例えば図2に示すように、自宅20では基地局AA10と通信が行えるのであれば、その基地局AAと通信が行える場所は充電が比較的に早く開始できる場所と認識し、それ以外の場所、つまりA〜C、Y、Zを付した基地局10の何れかと通信が行える場所は充電が比較的に早く開始できない場所と認識するようにしている。   As is well known, the base station 10 transmits its own location information at any time because the communication terminal 1 needs to perform location registration. The location is recognized by using the base station 10 unit. Accordingly, as shown in FIG. 2, for example, if communication can be made with the base station AA10 at home 20, the place where communication with the base station AA can be recognized as a place where charging can be started relatively quickly, and otherwise , That is, a place where communication with any of the base stations 10 marked with A to C, Y, and Z is recognized as a place where charging cannot be started relatively early.

以降は、図3〜図8に示す各処理のフローチャートを参照して、上記構成の通信端末の動作について詳細に説明する。なお、図3〜図8に示す各処理は、例えばCPU102が、プログラムROM103に格納されたプログラムを実行することで実現される。   Hereinafter, the operation of the communication terminal configured as described above will be described in detail with reference to the flowcharts of the processes shown in FIGS. Each process illustrated in FIGS. 3 to 8 is realized by the CPU 102 executing a program stored in the program ROM 103, for example.

図3は、全体処理のフローチャートである。電源がオンされた後に実行する処理の全体的な流れを抜粋して示したものである。始めに図3を参照して、その全体処理について詳細に説明する。   FIG. 3 is a flowchart of the entire process. It shows an excerpt of the overall flow of processing executed after the power is turned on. First, the entire process will be described in detail with reference to FIG.

先ず、ステップ301では、電源がオンされたことに伴い、イニシャライズを実行し、通信端末を所定の設定状態にさせる。続くステップ302では、通信可能な基地局10から送信された位置情報を受信するのを待って、その位置情報を基地局ナンバー(NO.)としてワークRAM104に保存する。その後はステップ303に移行する。   First, in step 301, initialization is executed when the power is turned on, and the communication terminal is set to a predetermined setting state. In the subsequent step 302, the position information transmitted from the communicable base station 10 is received, and the position information is stored in the work RAM 104 as a base station number (NO.). Thereafter, the process proceeds to step 303.

上記位置情報(基地局ナンバー)は、通信端末1が位置登録を行うべきか否かの判定に用いられる情報である。位置登録は、その受信レベルが或る程度まで下がるか、或いは異なる位置情報を受信した場合に行われる。   The location information (base station number) is information used for determining whether or not the communication terminal 1 should perform location registration. The location registration is performed when the reception level is lowered to some extent or when different location information is received.

ステップ303では、例えばプログラムROM108から読み出した待受画面をワークRAM104に確保した描画用エリアにストアし、その画面を表示ドライバー部107に送出してメイン表示部105に表示させる。サブ表示部106にも同様にして、待ち受け時の画面を表示させる。その次に移行するステップ304では、充電中か否か判定する。電源回路113から充電中である旨が通知されている場合、判定はYESとなって上記ステップ303に戻り、待受画面をメイン表示部105に表示させた状態を維持させる。そうでない場合には、判定はNOとなってステップ305に移行する。   In step 303, for example, the standby screen read from the program ROM 108 is stored in the drawing area secured in the work RAM 104, and the screen is sent to the display driver unit 107 and displayed on the main display unit 105. Similarly, the sub display unit 106 displays a standby screen. In the next step 304, it is determined whether or not charging is in progress. When it is notified from the power supply circuit 113 that the battery is being charged, the determination is YES, the process returns to step 303, and the standby display state is maintained on the main display unit 105. Otherwise, the determination is no and the process moves to step 305.

充電中に基地局10から受信した基地局ナンバーは、ワークRAM104内に確保したエリアである充電基地局ナンバー(NO.)メモリ(以降「ナンバーメモリ」と表記)に別に保存しておくようにしている。ステップ305では、現在、基地局10から受信している基地局ナンバー(以降、混乱を避けるために「取得基地局ナンバー」と表記)を用いてそのナンバーメモリの検索を行う。次のステップ306では、変数Vに、ワークRAM104に確保されたエリアである電池電圧メモリに保存されている電源回路113から取得した充電池112の電圧値を代入する。その後に移行するステップ307では、ステップ305で行った検索により、取得基地局ナンバーをナンバーメモリに保存した基地局ナンバーのなかから抽出できたか否か判定する。その取得基地局ナンバーがナンバーメモリに保存されていなかった場合、判定はNOとなってステップ311に移行し、そうでない場合には、判定はYESとなってステップ308に移行する。   The base station number received from the base station 10 during charging is stored separately in a charging base station number (NO.) Memory (hereinafter referred to as “number memory”) which is an area secured in the work RAM 104. Yes. In step 305, the number memory is searched using the base station number currently received from the base station 10 (hereinafter referred to as “acquired base station number” to avoid confusion). In the next step 306, the voltage value of the rechargeable battery 112 acquired from the power supply circuit 113 stored in the battery voltage memory that is an area secured in the work RAM 104 is substituted for the variable V. In step 307 to be transferred thereafter, it is determined whether or not the acquired base station number can be extracted from the base station numbers stored in the number memory by the search performed in step 305. If the acquired base station number is not stored in the number memory, the determination is no and the process moves to step 311, and if not, the determination is yes and the process moves to step 308.

ステップ308では、充電池112の残量の警告レベルとして設定した閾値Evから所定値αを引いた値(=Ev−α)が変数Vの値以上か否か判定する。変数Vの値がその値以下であった場合、判定はYESとなり、充電池112の残量は充電を促すレベルであるとして、ステップ309でその旨を通知するための表示Aマークを例えば各表示部105、106にそれぞれ表示させた後、上記ステップ303に戻る。一方、そうでない場合、つまり変数Vの値がその値より大きい場合には、判定はNOとなり、充電池112の残量は充電を促すレベルではないとして、ステップ310で表示Aマークを消去させた後、上記ステップ303に戻る。それらステップ309、310では、マークを新たに表示、或いは新たに消去させる必要がある場合にその表示、或いは消去を行う。これは他でも同様である。閾値Ev、及び所定値αはプログラムROM103に制御用データとして格納されたデータである。   In step 308, it is determined whether or not a value (= Ev−α) obtained by subtracting the predetermined value α from the threshold value Ev set as the warning level of the remaining battery level 112 is equal to or greater than the value of the variable V. If the value of the variable V is equal to or less than that value, the determination is YES, and the remaining amount of the rechargeable battery 112 is assumed to be a level that prompts charging. After being displayed on the sections 105 and 106, the process returns to step 303. On the other hand, if this is not the case, that is, if the value of the variable V is larger than that value, the determination is NO, and the display A mark is erased in step 310, assuming that the remaining amount of the rechargeable battery 112 is not at a level prompting charging. Then, the process returns to step 303. In these steps 309 and 310, when it is necessary to newly display or erase the mark, the mark is displayed or erased. The same applies to other cases. The threshold value Ev and the predetermined value α are data stored as control data in the program ROM 103.

各表示部105、106に表示させる画面は、ワークRAM104にそれぞれ確保した描画用エリアに、プログラムROM103から読み出した画像データ(画面やシンボルなど)、或いはRF部101から送られた画像データを格納することで生成される。表示内容の変更は、その全て、或いは一部を表示ドライバー部107に送り、表示させることで実現される。   The screen displayed on each of the display units 105 and 106 stores image data (screen, symbols, etc.) read from the program ROM 103 or image data sent from the RF unit 101 in a drawing area secured in the work RAM 104. Is generated. The change of the display contents is realized by sending all or part of the display contents to the display driver unit 107 and displaying them.

一方、ステップ311では、閾値Evが変数Vの値以上か否か判定する。変数Vの値が閾値Ev以下であった場合、判定はYESとなり、充電池112の残量は強く警告すべきレベルであるとして、ステップ312でその旨を通知するための電池警告マークを例えば各表示部105、106にそれぞれ表示させた後、上記ステップ303に戻る。逆にそうでない場合、つまり変数Vの値が閾値Evより大きい場合には、判定はNOとなり、充電池112の残量はそのレベルではないとして、ステップ313でそのマークを消去させた後、上記ステップ303に戻る。   On the other hand, in step 311, it is determined whether or not the threshold value Ev is greater than or equal to the value of the variable V. If the value of the variable V is equal to or less than the threshold value Ev, the determination is YES, and it is determined that the remaining amount of the rechargeable battery 112 is a level that should be strongly warned. After being displayed on the display units 105 and 106, the process returns to step 303. On the other hand, if not, that is, if the value of the variable V is larger than the threshold value Ev, the determination is NO, and the remaining charge of the rechargeable battery 112 is not at that level. Return to step 303.

このようにして、本実施の形態では、通信端末1がある場所が充電池112の充電を行ったことがある基地局10の通信圏内でなければ、その場所が通信圏内であったときと比較して、その残量がより多いレベルでより強く充電をユーザーに対して促すようにしている。それにより、ユーザーにとっては、通信端末1が存在する場所(位置)に応じたタイミングで充電が促されるため、利用を控えることなく、残量が無くなって利用できなくなるような事態となるのを確実に回避できるようになる。この結果、通信端末1をより快適に利用できることとなる。   In this way, in the present embodiment, if the location where the communication terminal 1 is located is not within the communication range of the base station 10 that has charged the rechargeable battery 112, the location is within the communication range. Thus, charging is more strongly urged to the user at a level where the remaining amount is higher. As a result, for the user, charging is prompted at a timing according to the location (position) where the communication terminal 1 exists, so it is sure that the situation will be such that the remaining amount runs out and cannot be used without refraining from using it. Can be avoided. As a result, the communication terminal 1 can be used more comfortably.

図4は、オフフックスイッチ処理のフローチャートである。そのスイッチ処理は、オフフックスイッチを操作した後に電話番号を入力してユーザーが電話をかける場合に対応するためのものである。例えば操作部110へのユーザーの操作に対応するための割り込み処理内でサブルーチン処理として実行される。次に図4を参照してオフフックスイッチ処理について詳細に説明する。なお、図5〜図8にフローチャートを示す各処理も何れも割り込み処理である。   FIG. 4 is a flowchart of the off-hook switch process. The switch process is for dealing with a case where a user makes a telephone call by inputting a telephone number after operating an off-hook switch. For example, it is executed as a subroutine process in an interrupt process for responding to a user operation on the operation unit 110. Next, the off-hook switch process will be described in detail with reference to FIG. Note that each of the processes shown in the flowcharts in FIGS. 5 to 8 is an interrupt process.

先ず、ステップ401では、電話番号入力用の番号入力画面をメイン表示部105に表示させる。次のステップ402では、操作部110への番号入力操作(ダイヤルキーへの操作)が行われたか否か判定する。その入力操作をユーザーが行った場合、その旨を操作部110が通知することから、判定はYESとなり、ステップ403でその入力操作により入力された番号を番号入力画面内に表示させた後、ステップ404に移行する。そうでない場合には、判定はNOとなってそのステップ404に移行する。   First, in step 401, a number input screen for inputting a telephone number is displayed on the main display unit 105. In the next step 402, it is determined whether or not a number input operation (operation on the dial key) on the operation unit 110 has been performed. If the user performs the input operation, the operation unit 110 notifies that fact, so the determination is YES, and after the number input by the input operation is displayed in the number input screen in step 403, the step Go to 404. Otherwise, the determination is no and the process moves to step 404.

ステップ404では、最後に行われた入力操作から一定時間が経過したか否か判定する。その一定時間が経過した場合、判定はYESとなってステップ406に移行し、ユーザーが指定の電話番号を持つ電話機(以降、「接続先」或いは「相手機」、などと呼ぶ)との接続を要求する発信を行う。そうでない場合には、判定はNOとなってステップ405に移行し、オンフックスイッチがオンされたか否か判定する。そのスイッチをユーザーが操作した場合、判定はYESとなり、待受画面をメイン表示部105に表示させてから一連の処理を終了する。そうでない場合には、判定はNOとなって上記ステップ402に戻る。   In step 404, it is determined whether or not a fixed time has elapsed since the last input operation. If the fixed time has elapsed, the determination is yes and the process proceeds to step 406, where the user connects to a telephone having a designated telephone number (hereinafter referred to as "connection destination" or "partner machine"). Make the requested call. Otherwise, the determination is no and the process moves to step 405 to determine whether or not the on-hook switch is turned on. If the switch is operated by the user, the determination is yes, and the standby screen is displayed on the main display unit 105, and then the series of processing ends. Otherwise, the determination is no and the process returns to step 402 above.

上記発信により、携帯電話網側は、指定された相手機の呼び出しを行うための処理を行い、発信した側には、そのことを知らせる呼出音を放音させる処理を行う。このことから、ステップ406に続くステップ407では、携帯電話網側からの指示に従い呼出音の放音を行う。その放音は、相手機と接続することで次のステップ408の判定がYESとなるまで行う。ステップ409には、そのYESの判定となって移行する。   By the above transmission, the mobile phone network side performs a process for calling the designated partner machine, and the calling side performs a process for emitting a ringing sound to notify that. Therefore, in step 407 following step 406, a ringing tone is emitted in accordance with an instruction from the mobile phone network side. The sound emission is performed until the determination in the next step 408 becomes YES by connecting to the partner machine. The process proceeds to step 409 with a YES determination.

なお、上記発信は、例えばCPU102がそれに必要な情報をRF部101に送り、それを指示することで行われる。上記呼出音は、放音用の信号をRF部101が受信して復調し、復調後の信号が直接、或いはCPU102を介してスピーカ109に出力されることで放音される。   Note that the above transmission is performed, for example, when the CPU 102 sends necessary information to the RF unit 101 and instructs it. The ringing tone is emitted when the RF signal is received by the RF unit 101 and demodulated, and the demodulated signal is output to the speaker 109 directly or via the CPU 102.

相手機が話し中、或いは電源がオフ等の理由により電話がかけられない状態であれば、その旨を通知する信号が携帯電話網側から送信される。相手機の呼び出しは、発信の中止をユーザーが指示することで終了する。このようなことから、発信(発呼)を行わせることで相手機と必ず接続するとは限らない。しかし、そのようなことは特に重要ではないことから、ここでは省略している。これは他でも同様である。   If the other party is busy or the telephone cannot be placed because the power is off, a signal to that effect is transmitted from the mobile phone network side. The call of the other party is terminated when the user instructs to stop the transmission. For this reason, it is not always possible to connect to the other device by making an outgoing call. However, since this is not particularly important, it is omitted here. The same applies to other cases.

ステップ409では、相手機との間で音声信号のやりとりを行うことで通話を実現させる通話処理を実行する。次のステップ410では、オンフックスイッチがオンされたか否か判定する。そのスイッチをユーザーが操作した場合、判定はYESとなり、相手機との接続の切断、つまり終話を携帯電話網側に要求する終話処理をステップ411で実行した後、一連の処理を終了する。そうでない場合には、判定はNOとなって上記ステップ409に戻る。それにより、終話を要求するまでの間、通話を行える状態を維持する。   In step 409, call processing for realizing a call by exchanging audio signals with the other party is executed. In the next step 410, it is determined whether or not the on-hook switch is turned on. If the switch is operated by the user, the determination is yes, and after disconnecting the connection with the other device, that is, in the step 411, the end-call processing for requesting the end-call to the mobile phone network side is executed, and then the series of processing ends. . Otherwise, the determination is no and the process returns to step 409. As a result, a state in which a call can be made is maintained until the end of the call is requested.

図5は、着信検知処理のフローチャートである。その検知処理は、電話の着信に対応するために実行されるものである。例えばその着信を検知したRF部101が発生させる割込み信号によって起動される。次に図5を参照して、その検知処理について詳細に説明する。   FIG. 5 is a flowchart of incoming call detection processing. The detection process is executed to respond to an incoming call. For example, it is activated by an interrupt signal generated by the RF unit 101 that detects the incoming call. Next, the detection process will be described in detail with reference to FIG.

先ず、ステップ501では、着信音を放音させるための音声データを例えばプログラムROM103から読み出してスピーカ109に出力することでその着信音を放音させ、メイン表示部105には例えば着信を通知するメッセージを表示させる。次のステップ502では、オフフックスイッチがオンされたか否か判定する。そのスイッチをユーザーが操作した場合、判定はYESとなってステップ503に移行し、そうでない場合には、判定はNOとなって上記ステップ501に戻る。それにより、着信の報知を継続させる。   First, in step 501, voice data for emitting a ringtone is read from, for example, the program ROM 103 and output to the speaker 109 to emit the ringtone, and the main display unit 105 is notified of an incoming call, for example. Is displayed. In the next step 502, it is determined whether or not the off-hook switch is turned on. If the user operates the switch, the determination is yes and the process proceeds to step 503. If not, the determination is no and the process returns to step 501. Accordingly, the incoming call notification is continued.

ステップ503では、着信の報知を停止させ、メイン表示部105には通話中であることを通知するためのアイコンを表示させる。続くステップ504では、相手機との間で通話を実現させる通話処理を実行する。その後に移行するステップ505では、オンフックスイッチがオンされたか否か判定する。オンフックスイッチをユーザーが操作した場合、判定はYESとなり、ステップ506で終話処理を実行して接続を切断させてから一連の処理を終了する。そうでない場合には、判定はNOとなって上記ステップ504に戻る。それにより、通話を行える状態を維持させ、メイン表示部105に表示させる通話時間などを更新する。   In step 503, the incoming call notification is stopped, and an icon for notifying that a call is in progress is displayed on the main display unit 105. In the following step 504, a call process for realizing a call with the partner machine is executed. In step 505 which moves to after that, it is determined whether or not the on-hook switch is turned on. If the user operates the on-hook switch, the determination is yes, and in step 506, the end-of-call process is executed to disconnect the connection, and the series of processes ends. Otherwise, the determination is no and the process returns to step 504. As a result, a state in which a call can be made is maintained, and the call time displayed on the main display unit 105 is updated.

上記通話処理を実行することにより、RF部101が復調して出力した音声信号(データ)はスピーカ109に送られ、マイク108から入力された音声信号(A/D変換後のデジタル信号である)はRF部101に送られて送信される。   By executing the above call processing, the audio signal (data) demodulated and output by the RF unit 101 is sent to the speaker 109 and is input from the microphone 108 (digital signal after A / D conversion). Is sent to the RF unit 101 for transmission.

図6は、充電オン処理のフローチャートである。そのオン処理は、ACアダプタ111からの電流の供給開始、つまり充電池112の充電開始を検出した電源回路113が発生させる割込み信号によって起動される。次に図6を参照して、そのオン処理について詳細に説明する。   FIG. 6 is a flowchart of the charge-on process. The ON process is activated by an interrupt signal generated by the power supply circuit 113 that detects the start of supply of current from the AC adapter 111, that is, the start of charging of the rechargeable battery 112. Next, the ON process will be described in detail with reference to FIG.

先ず、ステップ601では、ナンバーメモリに取得基地局ナンバーが保存されていないか否か判定する。その基地局ナンバーがナンバーメモリに保存されていた場合、判定はNOとなり、ここで一連の処理を終了する。そうでない場合には、判定はYESとなり、ステップ602でその基地局ナンバーをナンバーメモリに保存した後、一連の処理を終了する。   First, in step 601, it is determined whether or not the acquired base station number is stored in the number memory. If the base station number is stored in the number memory, the determination is no and the series of processing ends here. Otherwise, the determination is yes, and after the base station number is stored in the number memory in step 602, the series of processing is terminated.

このようにして、充電時に受信した基地局ナンバーはナンバーメモリに保存される。それにより、充電が行える可能性がある基地局10の通信圏内か否かの判定を行えるようにさせている。   In this way, the base station number received at the time of charging is stored in the number memory. Thereby, it is possible to determine whether or not the base station 10 is in a communication area where charging is possible.

基地局10が送信する基地局ナンバーは、図7に示すタイマインタラプト1処理を実行することで取得する。そのインタラプト1処理で実行するステップ701では、RF部101を駆動させて、そのRF部101が受信する基地局ナンバーをワークRAM104に保存するようになっている。   The base station number transmitted by the base station 10 is obtained by executing the timer interrupt 1 process shown in FIG. In step 701 executed by the interrupt 1 process, the RF unit 101 is driven and the base station number received by the RF unit 101 is stored in the work RAM 104.

充電池112の電圧値は、図8に示すタイマインタラプト2処理を実行することで取得する。そのインタラプト2処理では、ステップ801で電源回路113から充電池112の電圧値を取得し、次のステップ802でその電圧値をワークRAM104に確保したエリアである電池電圧メモリにストアするようになっている。図3のステップ306では、そのようにして電池電圧メモリに保存された電圧値を変数Vに代入する。タイマインタラプト2処理、タイマインタラプト1処理は共に、例えばCPU102に搭載したタイマが一定時間毎に発生させる割り込み信号によって起動される。   The voltage value of the rechargeable battery 112 is acquired by executing the timer interrupt 2 process shown in FIG. In the interrupt 2 process, the voltage value of the rechargeable battery 112 is acquired from the power supply circuit 113 in step 801, and the voltage value is stored in the battery voltage memory which is an area secured in the work RAM 104 in the next step 802. Yes. In step 306 of FIG. 3, the voltage value thus stored in the battery voltage memory is substituted into the variable V. Both the timer interrupt 2 process and the timer interrupt 1 process are activated by, for example, an interrupt signal generated by a timer mounted on the CPU 102 at regular intervals.

なお、第1の実施の形態では、充電を行ったことのある基地局10の通信圏内か否かに応じて、充電池112の警告を行う残量レベルだけでなく、警告内容まで変えているが、その内容は同じとしても良い。
<第2の実施の形態>
上記第1の実施の形態では、充電を行ったことのある基地局10の通信圏内か否かに応じて、充電池112の警告を行う残量レベルを切り替えている。第2の実施の形態は、充電を行ったことのある基地局10の通信圏内であっても基地局10に応じて充電池112の警告を行う残量レベルを変化させるようにしたものである。
Note that in the first embodiment, depending on whether or not the base station 10 that has been charged is within the communication range, not only the remaining battery level for warning the rechargeable battery 112 but also the warning content is changed. However, the content may be the same.
<Second Embodiment>
In the first embodiment, the remaining battery level for warning the rechargeable battery 112 is switched depending on whether or not the base station 10 that has been charged is within the communication range. In the second embodiment, the remaining battery level for warning the rechargeable battery 112 is changed according to the base station 10 even within the communication range of the base station 10 that has been charged. .

通信端末1のユーザーは、充電器2を持ち運ぶか、或いはそれを複数、用意することで複数の場所で充電を行う。しかし、各場所で通信端末1を使う頻度は異なると考えられる。例えば自宅20と会社30で充電を行うユーザーであれば、勤務中は私用電話を控えなければならないことから、会社30のほうが利用頻度は小さいのが普通であると云える。このようなことから、充電を行ったことのある基地局10の通信圏内であっても基地局10に応じて充電池112の警告を行う残量レベルを変化させることにより、より適切なタイミングで警告を行うことができる。   The user of the communication terminal 1 carries the charger 2 or charges a plurality of places by preparing a plurality of chargers 2. However, the frequency of using the communication terminal 1 at each location is considered to be different. For example, a user who charges at home 20 and company 30 must refrain from using a private telephone while working, so it can be said that company 30 is usually less frequently used. For this reason, even within the communication range of the base station 10 that has been charged, by changing the remaining battery level for performing the warning of the rechargeable battery 112 according to the base station 10, it is possible to perform at a more appropriate timing. A warning can be made.

第2の実施の形態における通信端末1の構成は、第1の実施の形態におけるそれと基本的に同じであり、動作が第1の実施の形態から一部、異なっている。このようなことから、第1の実施の形態と同じ、或いは基本的に同じものには同一の符号を付して、その第1の実施の形態から異なる動作についてのみ、図9〜図14に示す各処理のフローチャートを参照して詳細に説明する。   The configuration of the communication terminal 1 in the second embodiment is basically the same as that in the first embodiment, and the operation is partially different from that in the first embodiment. For this reason, the same or basically the same components as those of the first embodiment are denoted by the same reference numerals, and only operations different from those of the first embodiment are shown in FIGS. This will be described in detail with reference to the flowcharts of the processes shown.

図9、及び図10は、全体処理のフローチャートである。始めに図9、及び図10を参照して、第2の実施の形態における全体処理について詳細に説明する。ここでは、第1の実施の形態から内容が異なっていない処理ステップには同一の符号を付して説明を省略し、その第1の実施の形態から異なっている部分についてのみ説明する。これは他でも同様である。   9 and 10 are flowcharts of the entire process. First, the overall processing in the second embodiment will be described in detail with reference to FIGS. 9 and 10. Here, the processing steps that are not different from those in the first embodiment are denoted by the same reference numerals, description thereof is omitted, and only the portions that are different from the first embodiment are described. The same applies to other cases.

第2の実施の形態では、ステップ307の判定がYESとなると次に図10のステップ901に移行する。そのステップ901では、現在の時刻(現時刻)を例えば搭載のタイマから取得する。続くステップ902では、変数xに、現時刻を一時間単位で表す値を代入する。その値は、何時何分の「何時」に相当し、図中「時」と表記している。以降、その表記はその意味で用いる。   In the second embodiment, when the determination in step 307 is YES, the process proceeds to step 901 in FIG. In step 901, the current time (current time) is acquired from, for example, a built-in timer. In the subsequent step 902, a value representing the current time in units of one hour is substituted for the variable x. The value corresponds to what hour and what hour, and is represented as “hour” in the figure. Hereinafter, the notation is used in that sense.

ステップ902の次に移行するステップ903では、変数yに取得基地局ナンバーを代入する。その次に移行するステップ904では、ワークRAM104に確保したエリアH内で変数x、yの値により指定されるサブエリア(図中「H(x)(y)」と表記。以降、その表記法を用いる)の値を読み出し、その値と変数αに代入すべき値の関係を定義したTABLEを参照して、その読み出した値に対応する値(図中「TABLE{H(x)(y)}」と表記。以降、その表記法を用いる)を変数αに代入する。ステップ308にはその後に移行する。   In step 903, which moves to step 902, the acquired base station number is substituted for variable y. In the next step 904, the subarea designated by the values of the variables x and y in the area H secured in the work RAM 104 (“H (x) (y)” in the figure. The value corresponding to the read value (“TABLE {H (x) (y)” in the figure is referred to) by referring to the TABLE that defines the relationship between the value and the value to be substituted for the variable α. } ”. The following notation is used) is substituted into the variable α. Step 308 then proceeds.

上記エリアHは、通信圏内で充電を行った基地局10毎に、時別に通話を行った回数を保存するために用意されたエリアである。TABLEは、その回数と、第1の実施の形態における所定値αとして設定すべき値との関係が定義された、プログラムROM103に格納の制御用データである。それにより、第2の実施の形態では、通信端末1の利用頻度として通話回数に着目し、現時刻に対応するその通話回数に応じて警告する残量レベルを基地局10別に変更させるようにしている。そのようにして、利用頻度を警告する残量レベルに反映させることにより、より適切なタイミングで警告を行うことができる。   The area H is an area prepared for storing the number of calls made hourly for each base station 10 charged in the communication area. TABLE is control data stored in the program ROM 103 in which the relationship between the number of times and the value to be set as the predetermined value α in the first embodiment is defined. Accordingly, in the second embodiment, attention is paid to the number of calls as the usage frequency of the communication terminal 1, and the remaining level to be warned is changed for each base station 10 according to the number of calls corresponding to the current time. Yes. By reflecting the usage frequency in the remaining amount level for warning in this way, warning can be given at a more appropriate timing.

上述したような残量レベルの変更、即ち変数αに代入する値の変更は、以下のようにして実現させている。
オフフックスイッチ処理では、図11に示すように、ステップ411で終話処理を実行した後、ステップ1101で記録処理を実行してから一連の処理を終了させるようにしている。着信検知処理でも同様に、特には図示していないが、図5に示すステップ506で終話処理を実行した後、その記録処理を実行してから一連の処理を終了させるようにしている。次にその記録処理について、図12に示すそのフローチャートを参照して詳細に説明する。
The change of the remaining amount level as described above, that is, the change of the value assigned to the variable α is realized as follows.
In the off-hook switch process, as shown in FIG. 11, after the call termination process is executed in step 411, the recording process is executed in step 1101, and then the series of processes is terminated. Similarly, in the incoming call detection process, although not specifically shown, after the call termination process is executed in step 506 shown in FIG. 5, the recording process is executed and then the series of processes is terminated. Next, the recording process will be described in detail with reference to the flowchart shown in FIG.

その記録処理では、先ず、ステップ1201で取得基地局ナンバーがナンバーメモリに保存されているか否か判定する。充電を行ったことのある基地局10の通信圏内に現在、通信端末1が存在する場合、取得基地局ナンバーはナンバーメモリに保存されていることから、判定はYESとなってステップ1202に移行し、そうでない場合には、判定はNOとなり、ここで一連の処理を終了する。   In the recording process, first, in step 1201, it is determined whether or not the acquired base station number is stored in the number memory. If the communication terminal 1 currently exists within the communication range of the base station 10 that has been charged, the acquired base station number is stored in the number memory, so the determination is YES and the process proceeds to step 1202 Otherwise, the determination is no and the series of processing ends here.

ステップ1202では、現時刻を取得する。次のステップ1203では、変数xに現時刻の時を示す値、変数yに取得基地局ナンバーをそれぞれ代入する。その次のステップ1204では、ワークRAM104に確保したエリアM内で変数x、yの値により指定されるサブエリア(図中「M(x)(y)」と表記。以降、その表記法を用いる)に格納されている値をインクリメントする。その後、一連の処理を終了する。   In step 1202, the current time is acquired. In the next step 1203, a value indicating the current time is substituted for the variable x, and the acquired base station number is substituted for the variable y. In the next step 1204, a subarea (“M (x) (y)” in the figure) designated by the values of the variables x and y in the area M secured in the work RAM 104 is used. ) Is incremented. Thereafter, the series of processing is terminated.

このようにして、エリアMは、基地局10毎に、通話が行われた時別に、その通話回数をカウントするために用意している。エリアHに保存する通話回数は、エリアMに格納した値を用いて計算される。   Thus, the area M is prepared for counting the number of calls for each base station 10 at the time when the call is made. The number of calls saved in area H is calculated using the value stored in area M.

そのエリアMの基地局10別のサブエリアは、充電オン処理を実行することで確保している。次に図13に示すフローチャートを参照して、第2の実施の形態における充電オン処理について詳細に説明する。   The sub-areas for each base station 10 in the area M are secured by executing the charge-on process. Next, with reference to the flowchart shown in FIG. 13, the charge-on process in 2nd Embodiment is demonstrated in detail.

先ず、ステップ1301では、ナンバーメモリに取得基地局ナンバーが保存されていないか否か判定する。その基地局ナンバーがナンバーメモリに保存されていた場合、判定はNOとなり、ここで一連の処理を終了する。そうでない場合には、判定はYESとなってステップ1302に移行する。   First, in step 1301, it is determined whether or not the acquired base station number is stored in the number memory. If the base station number is stored in the number memory, the determination is no and the series of processing ends here. Otherwise, the determination is yes and the process moves to step 1302.

ステップ1302では、変数yに取得基地局ナンバーを代入する。続くステップ1303では、時別に通話回数をカウントするために、エリアM内にサブエリアM(0)(y)〜(23)(y)の計24個のサブエリアを確保する。次のステップ1304では、それら新たに確保したサブエリアM(0)(y)〜(23)(y)にそれぞれ0を格納する。以降は、ステップ1305で取得基地局ナンバーをナンバーメモリに保存してから一連の処理を終了する。   In step 1302, the obtained base station number is substituted for variable y. In the subsequent step 1303, in order to count the number of calls according to time, a total of 24 subareas of subareas M (0) (y) to (23) (y) are secured in the area M. In the next step 1304, 0 is stored in each of the newly secured subareas M (0) (y) to (23) (y). Thereafter, after the acquired base station number is stored in the number memory in step 1305, a series of processing is terminated.

このようにして、それまで充電を行っていなかった基地局10の通信圏内で充電を行うと、その基地局10用のサブエリアがエリアMに新たに確保される。それにより、エリアMを用いた通話回数のカウントを行うようにしている。   In this way, when charging is performed within the communication range of the base station 10 that has not been charged, a sub-area for the base station 10 is newly secured in the area M. Thereby, the number of calls using the area M is counted.

エリアHへの通話回数の格納は、図14に示すタイマインタラプト3処理を実行することで行われる。最後に図14に示すフローチャートを参照して、そのインタラプト3処理について詳細に説明する。そのインタラプト3処理は、例えば1週間の時間間隔でタイマが発生させる割り込み信号によって起動される。   The number of calls to area H is stored by executing the timer interrupt 3 process shown in FIG. Finally, the interrupt 3 process will be described in detail with reference to the flowchart shown in FIG. The interrupt 3 process is activated by an interrupt signal generated by a timer at a time interval of one week, for example.

先ず、ステップ1401では、ナンバーメモリから一つ基地局ナンバーを読み出す。次のステップ1402では、そのナンバーを変数yに代入する。以降は、ステップ1403で変数xに0を代入し、次のステップ1404でサブエリアM(x)(y)の値を7で割って得られる値をサブエリアH(x)(y)に格納し、更にステップ1405で変数xの値を代入してからステップ1406に移行する。   First, in step 1401, one base station number is read from the number memory. In the next step 1402, the number is substituted into the variable y. Thereafter, in step 1403, 0 is substituted for variable x, and in the next step 1404, the value obtained by dividing the value of subarea M (x) (y) by 7 is stored in subarea H (x) (y). Further, after substituting the value of the variable x in step 1405, the process proceeds to step 1406.

ステップ1406では、変数xの値が23より大きいか否か判定する。ステップ1401で読み出した基地局ナンバーに対応するサブエリアH(x)(y)の全てに通話回数を格納した後に変数xに24が代入される。このことから、その通話回数の格納が終了した場合、判定はYESとなってステップ1407に移行する。そうでない場合には、判定はNOとなって上記ステップ1405に戻る。それにより、通話回数の格納を継続する。   In step 1406, it is determined whether or not the value of the variable x is greater than 23. After storing the number of calls in all the sub-areas H (x) (y) corresponding to the base station number read out in step 1401, 24 is substituted into the variable x. For this reason, when the storage of the number of calls is completed, the determination is YES, and the process proceeds to step 1407. Otherwise, the determination is no and the process returns to step 1405. Thereby, storing of the number of calls is continued.

ステップ1407では、ナンバーメモリに通話回数の格納を行っていない別の基地局ナンバーが存在するか否か判定する。そのような基地局ナンバーが残っていた場合、判定はYESとなって上記ステップ1401に戻り、残っている基地局ナンバーの読み出しを行う。そうでない場合には、つまり全ての基地局ナンバーを対象に通話回数の格納が終了した場合には、判定はNOとなり、ステップ1408でエリアMに格納した値を全てクリアした後、一連の処理を終了する。   In step 1407, it is determined whether there is another base station number that does not store the number of calls in the number memory. If such a base station number remains, the determination is yes and the process returns to step 1401 to read the remaining base station number. If this is not the case, that is, if the number of calls has been stored for all base station numbers, the determination is no, and after clearing all the values stored in area M in step 1408, a series of processing is performed. finish.

このように、第2の実施の形態では、エリアHに格納した通話回数は1週間毎に更新するようにしている。その更新により格納する通話回数は、1週間の通話回数を7で割った1日当たりの平均の通話回数としている。それにより、日々の通話回数の変化による影響を回避させている。   Thus, in the second embodiment, the number of calls stored in the area H is updated every week. The number of calls stored by the update is an average number of calls per day obtained by dividing the number of calls per week by seven. This avoids the effects of changes in the number of daily calls.

なお、第2の実施の形態では、1週間で求めた1日当たりの平均の通話回数を用いて変数αに代入する値(残量レベルの変化量)を決定しているが、曜日によって通話回数や通話が行われる頻度が高い時間帯が異なることも考えられることから、曜日別に平均の通話回数を求めるようにしても良い。
<第3の実施の形態>
上記第2の実施の形態では、充電を行ったことのある基地局10の通信圏内であっても基地局10に応じて充電池112の警告を行う残量レベルを変化させるようにしている。これに対し、第3の実施の形態は、その通信圏内でなければその残量レベルに応じて、消費電力をより抑えるように設定変更を自動的に行うようにしたものである。
In the second embodiment, the value (change amount of the remaining amount level) to be substituted for the variable α is determined using the average number of calls per day obtained in one week, but the number of calls depends on the day of the week. Since the time period during which calls are frequently made may be different, the average number of calls may be obtained for each day of the week.
<Third Embodiment>
In the second embodiment, the remaining battery level for warning the rechargeable battery 112 is changed according to the base station 10 even within the communication range of the base station 10 that has been charged. On the other hand, in the third embodiment, the setting change is automatically performed so as to further suppress the power consumption according to the remaining amount level if it is not within the communication range.

その消費電力を更に抑えるようにすることにより、充電池112の残量が警告すべきレベルまで低下してから無くなるまでの時間を延ばすことができる。このため、そのレベルまで充電池112の残量が低下した後、通信端末1はより長い時間、利用できるようになる。それにより、第1、及び第2の実施の形態と比較して、通信端末1をユーザーはより快適に利用できることとなる。   By further reducing the power consumption, it is possible to extend the time from when the remaining amount of the rechargeable battery 112 drops to a warning level until it disappears. For this reason, after the remaining amount of the rechargeable battery 112 is reduced to that level, the communication terminal 1 can be used for a longer time. Thereby, the user can use the communication terminal 1 more comfortably as compared with the first and second embodiments.

第3の実施の形態における通信端末1の構成は、第2の実施の形態と同様に、第1の実施の形態におけるそれと基本的に同じである。動作が第2の実施の形態から一部、異なっている。このようなことから、第1の実施の形態と同じ、或いは基本的に同じものには同一の符号を付して、第2の実施の形態から異なる動作についてのみ、図15〜図19に示す各処理のフローチャートを参照して詳細に説明する。   The configuration of the communication terminal 1 in the third embodiment is basically the same as that in the first embodiment, as in the second embodiment. The operation is partially different from that of the second embodiment. For this reason, the same or basically the same components as those of the first embodiment are denoted by the same reference numerals, and only operations different from those of the second embodiment are shown in FIGS. Details will be described with reference to flowcharts of the respective processes.

図15、及び図16は、全体処理のフローチャートである。始めに図15、及び図16を参照して、第3の実施の形態における全体処理について詳細に説明する。ここでは、第2の実施の形態と同一の符号を付した処理ステップのなかで内容が第2の実施の形態から異なっていないものは説明を省略することで、その第2の実施の形態から異なっている部分についてのみ説明する。これは他でも同様である。   15 and 16 are flowcharts of the entire process. First, the overall processing in the third embodiment will be described in detail with reference to FIGS. 15 and 16. Here, among the processing steps given the same reference numerals as those of the second embodiment, those whose contents are not different from those of the second embodiment are omitted from the description of the second embodiment. Only the differences will be described. The same applies to other cases.

第3の実施の形態では、ステップ307の判定がYESとなると次に図10のステップ901に移行し、それ以降の処理を第2の実施の形態と同様に実行する。一方、その判定がNOとなると次に図16のステップ1501に移行する。   In the third embodiment, when the determination in step 307 is YES, the process proceeds to step 901 in FIG. 10 and the subsequent processing is executed in the same manner as in the second embodiment. On the other hand, if the determination is NO, the process proceeds to step 1501 in FIG.

そのステップ1501では、閾値Evが変数Vの値以上か否か判定する。充電池112の残量レベルが閾値Evが示すレベルより大きい場合、判定はNOとなってステップ1510に移行し、そうでない場合には、判定はYESとなってステップ1502に移行する。   In step 1501, it is determined whether or not the threshold value Ev is equal to or greater than the value of the variable V. If the remaining battery level of the rechargeable battery 112 is greater than the level indicated by the threshold value Ev, the determination is no and the process moves to step 1510. Otherwise, the determination is yes and the process moves to step 1502.

ステップ1502では、現時刻を取得する。続くステップ1503では、変数xに現時刻の時を示す値を代入する。その後に移行するステップ1504では、配列変数OFFの変数xの値で指定される要素OFF(x)の値が閾値βより大きいか否か判定する。要素OFF(x)の値が閾値βより大きい場合、判定はYESとなってステップ1505に移行し、そうでない場合には、判定はNOとなってステップ1507に移行する。   In step 1502, the current time is acquired. In the subsequent step 1503, a value indicating the current time is substituted for the variable x. In step 1504 that moves to the subsequent step, it is determined whether or not the value of the element OFF (x) designated by the value of the variable x of the array variable OFF is larger than the threshold value β. If the value of the element OFF (x) is larger than the threshold value β, the determination is YES and the process proceeds to step 1505. Otherwise, the determination is NO and the process proceeds to step 1507.

ユーザーの行動範囲は全て基地局10でカバーされているわけではない。何れの基地局10との通信が行えない通信圏外が存在する。レジャーや仕事上の移動などの理由でその通信圏外で行動することが多いユーザーの存在も考えられる。このことから、第3の実施の形態では、通信端末1の利用形態として、ユーザーの通信圏外の行動を考慮するようにしている。   The user's action range is not all covered by the base station 10. There is an out-of-communication area where communication with any base station 10 is not possible. There may also be users who often act outside the communication range for reasons such as leisure or work mobility. For this reason, in the third embodiment, as the usage mode of the communication terminal 1, the user's behavior outside the communication range is considered.

その考慮は、通話回数と同様に、時別に通信圏外に居る時間を計時して、過去の行動から通信圏外に居た割合を示す値を求め、求めた値を動作上の設定に反映させることで行っている。上記配列変数OFFは、その値を時別に保存しておくために用意している。閾値βは、動作上の設定変更を行うべきか否かの判定を行うために制御用データとして用意している。ここでは、その設定変更の対象は、RF部101の駆動のオン/オフとしている。これは、そのRF部101の消費電力は比較的に大きいためである。このようなことから、ステップ1504でのYESの判定は、RF部101をオフさせるべき状況と判定したことを意味している。   The consideration is that, like the number of calls, the time spent outside the communication range is counted by time, the value indicating the ratio of being outside the communication range is obtained from past actions, and the calculated value is reflected in the operational settings. Is going on. The array variable OFF is prepared for storing the value according to time. The threshold value β is prepared as control data in order to determine whether or not to change the operation setting. Here, the target of the setting change is on / off of driving of the RF unit 101. This is because the power consumption of the RF unit 101 is relatively large. For this reason, the determination of YES in step 1504 means that it is determined that the RF unit 101 should be turned off.

ステップ1504の判定がYESとなって移行するステップ1505では、RF部101(図中「通信部」と表記)がオンとなっているか否か判定する。そのRF部101がオンとなっている場合、判定はYESとなり、ステップ1506でそれをオフさせた後、図15のステップ303に戻る。そうでない場合には、判定はNOとなってそのステップ303に戻る。   In step 1505, in which the determination in step 1504 is YES and the process proceeds to step 1505, it is determined whether or not the RF unit 101 (indicated as “communication unit” in the figure) is on. If the RF unit 101 is on, the determination is yes, and after turning it off in step 1506, the process returns to step 303 in FIG. Otherwise, the determination is no and the process returns to step 303.

このようにして、第3の実施の形態では、過去の行動から通信圏外に居た割合が比較的に高い時間帯であり、且つ充電を行ったことのある基地局10の通信圏内でない、という状況下で充電池112の残量レベルがある程度、低下すると、RF部101をオフしてより長く充電池112をもたせるようにしている。   In this way, in the third embodiment, it is said that the ratio of staying outside the communication range from the past behavior is a relatively high time zone and is not within the communication range of the base station 10 that has been charged. When the remaining level of the rechargeable battery 112 is lowered to some extent under the circumstances, the RF unit 101 is turned off to keep the rechargeable battery 112 longer.

上記ステップ1504の判定がNOとなって移行するステップ1507では、RF部101がオフとなっているか否か判定する。そのRF部101がオフとなっている場合、判定はYESとなり、ステップ1508でそれをオンさせ、更にステップ1509でRF部101の受信周期を通常の2倍に設定した後、図15のステップ303に戻る。そうでない場合には、判定はNOとなってそのステップ1509に移行する。   In step 1507 where the determination in step 1504 is NO and the process proceeds, it is determined whether or not the RF unit 101 is off. If the RF unit 101 is off, the determination is yes, turning it on at step 1508, and further setting the reception period of the RF unit 101 to double the normal at step 1509, and then step 303 of FIG. Return to. Otherwise, the determination is no and the process moves to step 1509.

受信周期を通常の2倍に設定することで、消費電力はより抑えられるようになる。第3の実施の形態では、過去の行動から通信圏外に居た割合が比較的に高くない時間帯であり、且つ充電を行ったことのある基地局10の通信圏内でない、という状況下で充電池112の残量レベルがある程度、低下すると、受信周期の設定を変更してより長く充電池112をもたせるようにしている。受信周期を通常の2倍に設定することで、基地局ナンバーの受信周期も2倍になることから、タイマインタラプト1処理の割込周期もその受信周期に合わせて変更している。   By setting the reception period to twice the normal period, power consumption can be further suppressed. In the third embodiment, it is satisfied in the situation where the ratio of being out of the communication range from the past behavior is not relatively high and the communication range of the base station 10 that has been charged is not. When the remaining level of the battery 112 is lowered to some extent, the setting of the reception cycle is changed so that the rechargeable battery 112 is held longer. By setting the reception cycle to twice the normal, the reception cycle of the base station number is also doubled. Therefore, the interrupt cycle of the timer interrupt 1 process is also changed according to the reception cycle.

上記ステップ1501の判定がNOとなって移行するステップ1510では、RF部101がオフとなっているか否か判定する。そのRF部101がオフとなっている場合、判定はYESとなり、ステップ1511でそれをオンさせ、更にステップ1512でRF部101の受信周期を通常のものに設定した後、図15のステップ303に戻る。そうでない場合には、判定はNOとなってそのステップ1512に移行する。   In step 1510 where the determination in step 1501 is NO and the process proceeds, it is determined whether or not the RF unit 101 is off. If the RF unit 101 is off, the determination is YES, turn it on at step 1511, set the reception cycle of the RF unit 101 to normal at step 1512, and then go to step 303 in FIG. Return. Otherwise, the determination is no and the process moves to step 1512.

なお、特には図示していないが、第3の実施の形態でも、充電を行ったことのある基地局10の通信圏内に存在していない状況下における充電池112の残量レベルに応じた警告も併せて行っている。その残量レベルが閾値β以下となればRF部101のオフも状況によって行っているが、閾値βよりも小さい別の閾値を設定して、その別の閾値より低下したことを条件にしてRF部101のオフを行うようにしても良い。   Although not particularly illustrated, even in the third embodiment, a warning corresponding to the remaining level of the rechargeable battery 112 in a situation where the base station 10 that has been charged does not exist within the communication range Is also conducted. If the remaining amount level is equal to or lower than the threshold value β, the RF unit 101 is turned off depending on the situation. However, another threshold value smaller than the threshold value β is set, and the RF is set on condition that the threshold value is lower than the other threshold value. The part 101 may be turned off.

図17は、記録処理のフローチャートである。次に図17を参照して、第3の実施の形態における記録処理について詳細に説明する。
第2の実施の形態では、エリアMには通信圏内で充電を行ったことがある基地局10毎に、時別に通話回数を格納している。これに対し、第3の実施の形態では、そのような区別をすることなく、基地局10毎に、時別に通話回数を格納している。記録処理はそれに対応するために変更されている。
FIG. 17 is a flowchart of the recording process. Next, a recording process in the third embodiment will be described in detail with reference to FIG.
In the second embodiment, the number of calls is stored in the area M for each base station 10 that has been charged in the communication range. On the other hand, in the third embodiment, the number of calls is stored hourly for each base station 10 without making such a distinction. The recording process has been changed to accommodate it.

先ず、ステップ1701では、現時刻を取得する。次のステップ1702では変数xに現時刻の時を示す値を代入し、その次のステップ1703では変数yに取得基地局ナンバーをそれぞれ代入する。ステップ1704にはその後に移行する。   First, in step 1701, the current time is acquired. In the next step 1702, a value indicating the current time is substituted for the variable x, and in the next step 1703, the acquired base station number is substituted for the variable y. Step 1704 then proceeds.

ステップ1704では、エリアM内に、変数x、yの値により指定されるサブエリアM(x)(y)が確保されているか否か判定する。それが確保されていない場合、判定はYESとなり、ステップ1705でそれを確保して0を格納した後、一連の処理を終了する。そうでない場合には、判定はNOとなり、ここで一連の処理を終了する。   In step 1704, it is determined whether or not the sub area M (x) (y) designated by the values of the variables x and y is secured in the area M. If it is not secured, the determination is yes, and after securing it in step 1705 and storing 0, the series of processing ends. Otherwise, the determination is no and the series of processing ends here.

エリアMに格納された通話回数からエリアHに格納する通話回数(平均値)を算出して格納する処理はタイマインタラプト3処理で行われる。第3の実施の形態では、通信圏内で充電を行った基地局10か否かに係わらずエリアMに通話回数を格納することから、タイマインタラプト3処理もそれに対応させている。それにより、エリアM内の全てのサブエリアを対象に通話回数の平均値を求めてエリアH内の対応するサブエリアに格納するようになっている。   The process of calculating and storing the number of calls (average value) stored in area H from the number of calls stored in area M is performed by the timer interrupt 3 process. In the third embodiment, since the number of calls is stored in the area M regardless of whether the base station 10 is charged in the communication area, the timer interrupt 3 process is also made compatible with it. As a result, the average value of the number of calls for all subareas in area M is obtained and stored in the corresponding subarea in area H.

図18は、タイマインタラプト1処理のフローチャートである。次に図18を参照して、第3の実施の形態におけるインタラプト1処理について詳細に説明する。
先ず、ステップ1801では、RF部101に要求して基地局ナンバーを取得する。続くステップ1802では、その要求により基地局ナンバーを取得できたか否か判定する。何れかの基地局10の通信圏内に通信端末1が存在している場合、そのナンバーは取得できることから、判定はYESとなり、ステップ1803でそのナンバーをワークRAM104にストアした後、一連の処理を終了する。そうでない場合には、判定はNOとなってステップ1804に移行する。
FIG. 18 is a flowchart of the timer interrupt 1 process. Next, with reference to FIG. 18, the interrupt 1 process in the third embodiment will be described in detail.
First, in step 1801, a request is made to the RF unit 101 to acquire a base station number. In the following step 1802, it is determined whether or not the base station number has been acquired by the request. If the communication terminal 1 exists within the communication range of any of the base stations 10, the number can be acquired. Therefore, the determination is YES, and after the number is stored in the work RAM 104 in step 1803, a series of processing ends. To do. Otherwise, the determination is no and the process moves to step 1804.

ステップ1804では、現時刻を取得する。次のステップ1805では、変数xに現時刻の時を示す値を代入する。その次に移行するステップ1806では、ワークRAM104に確保したエリアK内に変数xの値で指定されるサブエリア(図中「K(x)」と表記。以降、その表記法を用いる)がないか否か判定する。そのサブエリアK(x)が存在しない場合、判定はYESとなり、ステップ1807でそれをエリアK内に確保して0を格納し、更にステップ1808でサブエリアK(x)の値をインクリメントした後、一連の処理を終了する。そうでない場合には、判定はNOとなってそのステップ1808に移行する。   In step 1804, the current time is acquired. In the next step 1805, a value indicating the current time is substituted for the variable x. In the next step 1806, there is no sub-area (denoted as “K (x)” in the figure. The notation is used hereinafter) in the area K secured in the work RAM 104. It is determined whether or not. If the sub-area K (x) does not exist, the determination is YES, and after securing it in the area K in step 1807 and storing 0, and further incrementing the value of the sub-area K (x) in step 1808 Then, a series of processing is completed. Otherwise, the determination is no and the process moves to step 1808.

このように、サブエリアK(x)の値は、通信圏外に存在している間、タイマインタラプト1処理を実行する度にインクリメントされる。そのインタラプト1処理は、設定された割込周期で起動される。このため、サブエリアK(x)の値は、対応する時間帯で通信圏外に居た時間を示すものとなる。なお、その割込周期はRF部101に設定する受信周期に合わせて変更することから、特には図示しないが、その割込周期に応じてサブエリアK(x)の値の更新方法を変更している。   As described above, the value of the sub area K (x) is incremented every time the timer interrupt 1 process is executed while the value is outside the communication range. The interrupt 1 process is started at the set interrupt cycle. For this reason, the value of the sub-area K (x) indicates the time spent outside the communication area in the corresponding time zone. Note that since the interrupt period is changed in accordance with the reception period set in the RF unit 101, the updating method of the value of the sub area K (x) is changed according to the interrupt period, although not particularly illustrated. ing.

図19は、タイマインタラプト4処理のフローチャートである。そのインタラプト4処理はタイマインタラプト3処理と同様に、例えば1週間の時間間隔でタイマが発生させる割り込み信号によって起動される。最後に図19を参照して、そのインタラプト4処理について詳細に説明する。   FIG. 19 is a flowchart of the timer interrupt 4 process. Similar to the timer interrupt 3 process, the interrupt 4 process is started by an interrupt signal generated by a timer at a time interval of one week, for example. Finally, the interrupt 4 process will be described in detail with reference to FIG.

インタラプト4処理は、上記配列変数OFFの各要素に代入した値を更新するために実行される。上記エリアKのサブエリアには、時別に通信圏外に居た時間を示す値を格納している。第3の実施の形態では、その時間を示す値から時別に1日当たりの平均時間を示す値を求め、その値を配列変数OFFの対応する要素に代入するようにしている。平均時間ではなく、その平均時間が全体に占める比などを代入しても良い。   The interrupt 4 process is executed to update the value assigned to each element of the array variable OFF. In the sub-area of the area K, a value indicating the time spent outside the communication range is stored according to time. In the third embodiment, a value indicating the average time per day is obtained hourly from the value indicating the time, and the value is substituted into the corresponding element of the array variable OFF. Instead of the average time, a ratio of the average time to the whole may be substituted.

先ず、ステップ1901では、変数xに0を代入する。続くステップ1902では、配列変数OFFの変数xの値で指定される要素OFF(x)に、エリアK内の変数xの値で指定されるサブエリアK(x)の値を7で割った値(変数xの値に対応する時間帯で通信圏外に居た1日当たりの平均時間)を代入する。その後はステップ1903で変数xの値をインクリメントしてからステップ1904に移行する。   First, in step 1901, 0 is substituted for the variable x. In the subsequent step 1902, the value obtained by dividing the value of the sub-area K (x) designated by the value of the variable x in the area K by 7 to the element OFF (x) designated by the value of the variable x of the array variable OFF. (The average time per day in the time zone corresponding to the value of the variable x was outside the communication range) is substituted. Thereafter, in step 1903, the value of the variable x is incremented, and then the process proceeds to step 1904.

ステップ1904では、変数xの値が23より大きいか否か判定する。その値が23より大きい場合、判定はYESとなり、各要素OFF(0)〜(23)への値の代入は完了したとして、ステップ1905でエリアKに格納した値全てのクリアを行った後、一連の処理を終了する。そうでない場合には、判定はNOとなって上記ステップ1902に戻る。それにより、配列変数OFFの要素に代入された値の更新を継続する。   In step 1904, it is determined whether or not the value of the variable x is greater than 23. If the value is greater than 23, the determination is YES, and after all values stored in area K are cleared in step 1905, the assignment of values to each element OFF (0) to (23) is completed. A series of processing ends. Otherwise, the determination is no and the process returns to step 1902 above. Thereby, updating of the value assigned to the element of the array variable OFF is continued.

なお、第3の実施の形態では、充電を行っていない基地局10の通信圏内での残量の警告は充電池112の残量レベルが閾値Ev以下となると通信圏内の基地局10に係わらずに行っているが、その基地局10を考慮して警告を行う残量レベルを変化させるようにしても良い。その変化量の決定方法として、充電を行った基地局10の通信圏内に存在する場合に変数αに代入する値を基地局10によって異ならせる手法を採用しても良い。   In the third embodiment, the remaining battery level warning in the communication area of the base station 10 that is not being charged is not related to the base station 10 in the communication area when the remaining battery level of the rechargeable battery 112 falls below the threshold value Ev. However, the remaining amount level for warning may be changed in consideration of the base station 10. As a method for determining the amount of change, a method may be adopted in which the value to be substituted for the variable α is different depending on the base station 10 when the base station 10 that has been charged is within the communication range.

本実施の形態(第1〜第3の実施の形態)では、位置(場所)の認識を基地局10から行っているが、別の方法を用いて位置を認識するようにしても良い。例えばGPSを用いて認識しても良く、或いは別の無線通信ネットワークと通信が行えるか否かに着目して位置を2値的に認識するようにしても良い。別の無線通信ネットワークとしては、例えば自宅20、或いは会社30で構築された無線LAN、インターネット接続サービス用に構築された無線通信ネットワーク、などが考えられる。このようなことから、本発明は通信端末1以外のデータ処理装置にも幅広く適用させることができる。車内に充電器2を置いておくユーザーも考えられることから、充電中に通信圏の基地局10が変わるようなユーザーでは、位置の認識結果を充電器112の残量警告に反映させないようにしても良い。   In the present embodiment (first to third embodiments), the position (location) is recognized from the base station 10, but the position may be recognized using another method. For example, the position may be recognized using GPS, or the position may be recognized in a binary manner by paying attention to whether or not communication with another wireless communication network can be performed. As another wireless communication network, for example, a wireless LAN constructed at home 20 or company 30, a wireless communication network constructed for Internet connection service, and the like are conceivable. For this reason, the present invention can be widely applied to data processing apparatuses other than the communication terminal 1. Since there may be a user who places the charger 2 in the car, the user who changes the base station 10 in the communication area during charging should not reflect the position recognition result on the remaining amount warning of the charger 112. Also good.

上述したような通信端末(データ処理装置)1を実現させるようなプログラムは、CD−ROM、DVD、或いは着脱自在なフラッシュメモリ等の記録媒体に記録させて配布しても良い。携帯電話網や公衆網等の通信ネットワークを介して、そのプログラムの一部、若しくは全部を配信するようにしても良い。そのようにした場合には、ユーザーはプログラムを取得してデータ処理装置にロードすることにより、そのデータ処理装置に本発明を適用させることができる。このことから、記録媒体は、プログラムを配信する装置がアクセスできるものであっても良い。   A program for realizing the communication terminal (data processing device) 1 as described above may be distributed by being recorded on a recording medium such as a CD-ROM, a DVD, or a removable flash memory. Part or all of the program may be distributed via a communication network such as a cellular phone network or a public network. In such a case, the user can apply the present invention to the data processing apparatus by acquiring the program and loading it into the data processing apparatus. For this reason, the recording medium may be accessible by a device that distributes the program.

第1の実施の形態によるデータ処理装置(通信端末装置)の構成図である。It is a block diagram of the data processing apparatus (communication terminal device) by 1st Embodiment. 通信端末装置の利用形態を説明する図である。It is a figure explaining the utilization form of a communication terminal device. 全体処理のフローチャートである。It is a flowchart of the whole process. オフフックスイッチ処理のフローチャートである。It is a flowchart of an off-hook switch process. 着信検知処理のフローチャートである。It is a flowchart of an incoming call detection process. 充電オン処理のフローチャートである。It is a flowchart of a charge-on process. タイマインタラプト1処理のフローチャートである。It is a flowchart of a timer interrupt 1 process. タイマインタラプト2処理のフローチャートである。It is a flowchart of a timer interrupt 2 process. 全体処理のフローチャートである(第2の実施の形態)。It is a flowchart of the whole process (2nd Embodiment). 全体処理のフローチャートである(第2の実施の形態:続き)。It is a flowchart of the whole process (2nd Embodiment: continuation). オフフックスイッチ処理のフローチャートである(第2の実施の形態)。It is a flowchart of an off-hook switch process (2nd Embodiment). 記録処理のフローチャートである。It is a flowchart of a recording process. 充電オン処理のフローチャートである(第2の実施の形態)。It is a flowchart of a charge ON process (2nd Embodiment). タイマインタラプト3処理のフローチャートである(第2の実施の形態)。It is a flowchart of a timer interrupt 3 process (second embodiment). 全体処理のフローチャートである(第3の実施の形態:抜粋)。It is a flowchart of the whole process (3rd Embodiment: Extract). 全体処理のフローチャートである(第3の実施の形態:抜粋の続き)。It is a flowchart of whole processing (3rd Embodiment: Continuation of an excerpt). 記録処理のフローチャートである(第3の実施の形態)。It is a flowchart of a recording process (3rd Embodiment). タイマインタラプト1処理のフローチャートである(第3の実施の形態)。It is a flowchart of a timer interrupt 1 process (third embodiment). タイマインタラプト4処理のフローチャートである。It is a flowchart of a timer interrupt 4 process.

符号の説明Explanation of symbols

101 RF部
102 CPU
103 プログラムROM
104 ワークRAM
105、106 表示部
107 表示ドライバー部
110 操作部
111 ACアダプタ
112 充電池
113 電源回路


101 RF unit 102 CPU
103 Program ROM
104 Work RAM
105, 106 Display unit 107 Display driver unit 110 Operation unit 111 AC adapter 112 Rechargeable battery 113 Power supply circuit


Claims (6)

充電可能なバッテリを搭載した携帯可能な通信端末装置において、
当該通信端末装置の動作状況を時間帯別に記録する動作状況記録手段と、
前記動作状況記録手段が時間帯別に記録した過去の動作状況に応じて、現在の時間帯の前記バッテリの検出残量を設定する検出残量設定手段と、
前記バッテリの残量を検出する残量検出手段と、
前記検出残量設定手段の設定値と前記残量検出手段の検出値に基づいて、当該通信端末装置の動作内容を制御する動作内容制御手段と、
を具備することを特徴とする通信端末装置。
In a portable communication terminal device equipped with a rechargeable battery,
An operation status recording means for recording the operation status of the communication terminal device by time period;
A detection remaining amount setting means for setting a detected remaining amount of the battery in a current time period according to a past operation situation recorded by the operation state recording unit for each time period;
Remaining amount detection means for detecting the remaining amount of the battery,
An operation content control unit that controls the operation content of the communication terminal device based on the set value of the detected remaining amount setting unit and the detected value of the remaining amount detection unit ;
A communication terminal apparatus comprising:
前記動作状況記録手段は、当該通信端末装置の平均通話回数を時間帯別に記録し、
前記検出残量設定手段は、前記動作状況記録手段が時間帯別に記録した平均通話回数に応じて、現在の時間帯の前記バッテリの検出残量を設定する
ことを特徴とする請求項1の通信端末装置。
The operation status recording means records the average number of calls of the communication terminal device by time zone,
2. The communication according to claim 1, wherein the detected remaining amount setting unit sets the detected remaining amount of the battery in a current time period according to an average number of calls recorded by the operation status recording unit for each time period. Terminal device.
接続可能な基地局を認識する基地局認識手段を更に具備し、
前記動作状況記録手段は、基地局と当該基地局における当該通信端末装置の平均通話回数とを対応づけて時間帯別に記録し、
前記検出残量設定手段は、前記基地局認識手段によって認識されている基地局と、前記動作状況記録手段が基地局と対応付けて時間帯別に記録した当該通信端末装置の平均通話回数とに応じて、現在の時間帯の前記バッテリの検出残量を設定する
ことを特徴とする請求項2の通信端末装置。
Further comprising base station recognition means for recognizing connectable base stations,
The operation status recording means records the base station and the average number of calls of the communication terminal device in the base station in association with time zones,
The detected remaining amount setting means depends on the base station recognized by the base station recognizing means and the average number of calls of the communication terminal device recorded by the operation status recording means in association with the base station for each time zone. Then, the remaining detection amount of the battery in the current time zone is set.
前記バッテリの残量についての警告を行う残量警告手段を更に具備し、
前記動作内容制御手段は、前記検出残量設定手段の設定値と前記残量検出手段の検出値に基づいて、前記残量警告手段が警告を行うよう制御する
ことを特徴とする請求項1乃至3のいずれか1項に記載の通信端末装置。
Further comprising a remaining amount warning means for performing a warning about the remaining amount of the battery,
The operation content control unit controls the remaining amount warning unit to perform a warning based on a set value of the detected remaining amount setting unit and a detected value of the remaining amount detecting unit. 4. The communication terminal device according to any one of items 3.
接続可能な基地局を認識する基地局認識手段を更に具備し、
前記動作状況記録手段は、前記基地局認識手段によって基地局が認識されない通話圏外の平均時間を時間帯別に記録し、
前記検出残量設定手段は、前記動作状況記録手段が時間帯別に記録した通話圏外の平均時間に応じて、現在の時間帯の前記バッテリの検出残量を設定し、
前記動作内容制御手段は、前記残量検出手段の検出値が前記検出残量設定手段によって設定された設定値以下であって、前記動作状況記録手段に記録された通話圏外の平均時間が所定の時間以上であるとき、通信部の電源を切断して通信機能を停止するよう制御し、一方、前記残量検出手段の検出値が前記検出残量設定手段によって設定された設定値以下であって、前記動作状況記録手段に記録された通話圏外の平均時間が所定の時間以下であるとき、前記基地局認識手段が、基地局の認識のために実行する基地局検索を、通信圏内に位置しているときよりも長い周期で実行するよう制御する
ことを特徴とする請求項1記載の通信端末装置。
Further comprising base station recognition means for recognizing connectable base stations,
The operation status recording means records the average time outside the calling area where the base station is not recognized by the base station recognition means by time zone,
The detected remaining amount setting means sets the detected remaining amount of the battery in the current time period according to the average time outside the calling area recorded by the operation status recording means for each time period,
The operation content control means has a detection value of the remaining amount detection means equal to or less than a set value set by the detected remaining amount setting means, and an average time outside the communication area recorded in the operation status recording means is a predetermined value. When it is over time, the communication unit is turned off and the communication function is controlled to be stopped. On the other hand, the detected value of the remaining amount detecting means is not more than the set value set by the detected remaining amount setting means. When the average time outside the communication area recorded in the operation status recording means is equal to or less than a predetermined time, the base station recognition means performs a base station search for recognizing the base station located in the communication area. The communication terminal device according to claim 1, wherein the communication terminal device is controlled so as to be executed with a longer period than when the communication terminal is running.
充電可能なバッテリを搭載した携帯可能な通信端末装置に実行させるプログラムであって、
当該通信端末装置の動作状況を時間帯別に記録する機能と、
前記記録された時間帯別の過去の動作状況に応じて、現在の時間帯の前記バッテリの検出残量を設定する機能と、
前記バッテリの残量を検出する機能と、
前記設定した設定値と前記検出した検出値に基づいて、当該通信端末装置の動作内容を制御する機能と、
を実現させるためのプログラム。
A program to be executed by a portable communication terminal device equipped with a rechargeable battery,
A function of recording the operation status of the communication terminal device by time zone;
A function of setting the remaining detection amount of the battery in the current time period according to the recorded past operation status by time period;
A function of detecting a remaining amount of said battery,
A function of controlling the operation content of the communication terminal device based on the set setting value and the detected detection value ;
A program to realize
JP2004088107A 2004-03-24 2004-03-24 Communication terminal device and program Expired - Fee Related JP4203658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004088107A JP4203658B2 (en) 2004-03-24 2004-03-24 Communication terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004088107A JP4203658B2 (en) 2004-03-24 2004-03-24 Communication terminal device and program

Publications (2)

Publication Number Publication Date
JP2005278306A JP2005278306A (en) 2005-10-06
JP4203658B2 true JP4203658B2 (en) 2009-01-07

Family

ID=35177382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004088107A Expired - Fee Related JP4203658B2 (en) 2004-03-24 2004-03-24 Communication terminal device and program

Country Status (1)

Country Link
JP (1) JP4203658B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080200220A1 (en) * 2007-02-16 2008-08-21 Jackson Bruce K Methods and devices for limiting battery power consumption in a wireless communication device
JP5092976B2 (en) * 2008-08-01 2012-12-05 日本電気株式会社 Wireless portable terminal, function control method thereof, and function control program
JP5224975B2 (en) * 2008-08-28 2013-07-03 京セラ株式会社 Mobile station
JP2010157860A (en) * 2008-12-26 2010-07-15 Fujitsu Ltd Mobile communication terminal and program
JP5440090B2 (en) * 2009-10-19 2014-03-12 日本電気株式会社 Charging device, portable terminal, charging method, and program
JP5555533B2 (en) * 2010-04-22 2014-07-23 株式会社Nttドコモ Control device, terminal device, and program
JP2014236633A (en) * 2013-06-04 2014-12-15 シャープ株式会社 Electronic apparatus
CN109585951A (en) * 2018-12-11 2019-04-05 哈尔滨华凯新能源科技有限公司 A kind of double field chain type application models of lithium ion battery

Also Published As

Publication number Publication date
JP2005278306A (en) 2005-10-06

Similar Documents

Publication Publication Date Title
JP4407688B2 (en) Mobile communication terminal and program
JP2814297B2 (en) Wireless telephone equipment
RU2209516C2 (en) Method and cellular radiophone providing operation of wireless communication device in waiting mode
US8565816B2 (en) Mobile communication terminal and control method thereof
JP4203658B2 (en) Communication terminal device and program
JP2001197197A (en) Portable telephone set and storage medium
JP2008167355A (en) Mobile communication terminal and method for controlling incoming call notification
JP2003008738A (en) Mobile terminal
JP2005033672A (en) Hands-free telephone system
JP2002199052A (en) Electronic equipment and method for notifying battery residual quantity
JP5065095B2 (en) Mobile communication terminal
JP2003046601A (en) Communication equipment
JP2000358085A (en) Method and device for incoming notification switching at charging of portable telephone set
JP2009206955A (en) Portable communication terminal
WO2006080725A1 (en) Bluetooth ctp mobile telecommunication terminal, bluetooth ctp gateway, and connection method thereof
JP4061983B2 (en) Portable terminal device and charging method thereof
JP3601510B2 (en) Wireless communication device
JP2000151801A (en) Mobile telephone system and radio communication equipment
KR100310344B1 (en) Method for using phone book in low battery condition of potable phone
KR100634219B1 (en) Apparatus and method for saving power in a multi-functional mobile phone
JP2000349871A (en) Composite portable phone
JP5065090B2 (en) Mobile communication terminal
JP2004032378A (en) Terminal
JP2938017B1 (en) Mobile radio terminal and alarm output method in mobile radio terminal
JP3745792B2 (en) Wireless telephone

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080821

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080929

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4203658

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121024

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121024

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131024

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees