JP3136074B2 - Portable electronic devices - Google Patents
Portable electronic devicesInfo
- Publication number
- JP3136074B2 JP3136074B2 JP12356995A JP12356995A JP3136074B2 JP 3136074 B2 JP3136074 B2 JP 3136074B2 JP 12356995 A JP12356995 A JP 12356995A JP 12356995 A JP12356995 A JP 12356995A JP 3136074 B2 JP3136074 B2 JP 3136074B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- clock
- power supply
- notification
- current time
- 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
Links
Landscapes
- Electromechanical Clocks (AREA)
- Electric Clocks (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、時計機能及び指定時刻
通知機能を備えた携帯電子機器に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable electronic device having a clock function and a designated time notification function.
【0002】[0002]
【従来の技術】従来より、時計機能及び指定時刻通知機
能を備えた携帯電子機器としては、例えば携帯電話機等
があり、このような携帯電話機では、使用者が通知を要
求する時刻を設定すると、当該設定された時刻と時計機
能において計時されている現在時刻とが比較され、一致
したときにおいてアラーム呼出及びオートパワーオン等
の付加機能の動作を行わせるように構成されていた。2. Description of the Related Art Conventionally, as a portable electronic device having a clock function and a designated time notification function, there is, for example, a portable telephone. In such a portable telephone, when a user sets a time at which a notification is requested, The set time is compared with the current time measured by the clock function, and when the time coincides, an operation of an additional function such as an alarm call and an automatic power-on is performed.
【0003】[0003]
【発明が解決しようとする課題】ところが、上記従来装
置では、使用者が通知を要求する時刻を設定した後にお
いて機器本体の電源供給が断たれると、使用者において
要求する通知時刻の設定データ及び設定状態が消去され
るため、機器本体への電源供給が再開された場合におい
て、使用者が時計機能における現在時刻の再設定操作及
び指定時刻通知機能における通知時刻の再設定操作を行
わなければならず、指定時刻通知機能を動作させる際に
おいて繁雑な操作を要するといった問題点があった。However, in the above-mentioned conventional apparatus, when the power supply to the device main body is cut off after the user sets the time at which the notification is requested, the setting data of the notification time requested by the user is set. Since the setting state is erased, when the power supply to the device body is restarted, the user must perform the operation of resetting the current time in the clock function and the operation of resetting the notification time in the designated time notification function. In addition, there is a problem that a complicated operation is required to operate the designated time notification function.
【0004】又、上記従来装置では、使用者が通知を要
求する時刻を設定した後において機器本体の電源供給が
断たれ、且つ使用者が通知を要求する時刻を経過した後
において機器本体への電源供給が再開された場合におい
て、使用者は通知要求時刻が既に経過していることを認
知することができないといった問題点があった。Further, in the above-described conventional apparatus, the power supply to the device main body is cut off after the user sets the time at which the notification is requested, and the power supply to the device main body is set after the time at which the user requests the notification elapses. When the power supply is restarted, there is a problem that the user cannot recognize that the notification request time has already passed.
【0005】本発明は、機器本体への電源供給再開後に
おいて、繁雑な操作を要することなく、指定時刻通知機
能を再動作させることができる携帯電子機器を提供する
ことを目的とするものである。SUMMARY OF THE INVENTION It is an object of the present invention to provide a portable electronic device capable of reactivating a designated time notification function without complicated operation after restarting power supply to the device main body. .
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、現在時刻を計時する時計手
段と、該時計手段によって計時されている現在時刻が通
知要求時刻に達するまでの時間を計算する計算手段と、
該計算手段によって計算された時間を計時する計時手段
とを備え、上記計算手段によって計算された時間が上記
計時手段によって計時されたとき、所定の機能動作を行
わせる携帯電子機器において、上記通知要求時刻の設定
に必要なデータを記憶する記憶手段と、上記時計手段に
よる現在時刻の設定動作状態を検出する時計検出手段
と、該時計検出手段による検出結果に基づいて上記記憶
手段に記憶された設定データを読み出し、上記計時手段
によって計時される時間の再設定を行わせる制御手段と
を設け、上記記憶手段は、データ書換可能な不揮発性メ
モリによって構成したものである。In order to achieve the above object, according to the first aspect of the present invention, there is provided a clock means for measuring a current time, and the current time measured by the clock means reaches a notification request time. Calculation means for calculating the time until
A time-measuring means for measuring the time calculated by the calculating means, wherein when the time calculated by the calculating means is timed by the time-measuring means, the portable electronic device performs a predetermined functional operation. Storage means for storing data necessary for setting the time, clock detection means for detecting an operation state of setting the current time by the clock means, and setting stored in the storage means based on a detection result by the clock detection means Control means for reading out data and resetting the time measured by the clock means; and the storage means is constituted by a data rewritable nonvolatile memory.
【0007】請求項2記載の発明は、機器本体に対して
別体に設けられた電池等のバッテリーを機器本体の電源
として用いる一方、機器本体における電源供給状態を検
出する給電検出手段を設け、上記制御手段は、上記給電
検出手段による検出結果に基づいて機器本体に対する電
源供給が給電無しの状態から給電有りの状態に変化した
と判断されたとき、上記時計検出手段の検出結果に基づ
く上記計時手段の再設定動作を行わせるものである。According to a second aspect of the present invention, a battery such as a battery provided separately from the device main body is used as a power source for the device main body, and power supply detecting means for detecting a power supply state in the device main body is provided. The control means, when it is determined that the power supply to the device main body has changed from a state without power supply to a state with power supply based on the detection result by the power supply detection means, the time counting based on the detection result of the clock detection means. This is to cause the means to be reset.
【0008】請求項3記載の発明は、上記計算手段によ
って計算された時間を外部に報知する報知手段を設け、
上記制御手段は、上記時計検出手段によって上記時計手
段による現在時刻の設定動作が行われたと判断されたと
き、上記計算手段によって計算された時間を上記報知手
段によって外部に報知させるものである。According to a third aspect of the present invention, there is provided a notifying means for notifying the time calculated by the calculating means to the outside,
The control means causes the notifying means to notify the outside of the time calculated by the calculating means when it is determined by the clock detecting means that the setting operation of the current time by the clock means has been performed.
【0009】請求項4記載の発明は、上記通知要求時刻
から上記時計手段によって計時される現在時刻を減算す
る減算手段を設け、上記制御手段は、上記時計検出手段
によって上記時計手段による現在時刻の設定動作が行わ
れたと判断されると共に、上記減算手段によって求めら
れた値がマイナスであると判断されたとき、当該求めら
れた値を上記報知手段によって外部に報知させるもので
ある。According to a fourth aspect of the present invention, there is provided a subtraction means for subtracting a current time measured by the clock means from the notification request time, and the control means detects the current time by the clock means by the clock detection means. When it is determined that the setting operation has been performed and when the value obtained by the subtraction means is determined to be negative, the obtained value is notified to the outside by the notification means.
【0010】[0010]
【作用】従って、請求項1記載の発明によれば、時計手
段によって計時された現在時刻に基づいて使用者が通知
を要求する時刻を設定すると、その設定に必要なデータ
がデータ書換可能な不揮発性メモリによって構成された
記憶手段に記憶されると共に、計算手段によって現在時
刻が通知要求時刻に達するまでの時間が計算され、計時
手段がその計算された時間を計時する。この状態におい
て機器本体への電源供給が断たれ、その電源供給遮断後
において機器本体への電源供給が再開されると共に、時
計検出手段よって時計手段によって計時される現在時刻
の設定動作が検出されると、制御手段によって記憶手段
に記憶された通知要求時刻の設定に必要なデータが読み
出されると共に、計算手段によって時計手段によって計
時される現在時刻が当該読み出された設定データに基づ
く通知要求時間に達するまでの時間が計算され、計時手
段がその計算された時間を計時することにより、使用者
による通知要求時刻の設定後において電源供給が断た
れ、その後電源供給再開時において時計手段による現在
時刻の設定を行ったとき、使用者によって設定した通知
要求時刻において所定の機能動作を行わせることができ
る。Therefore, according to the first aspect of the present invention, when the user sets the time at which the notification is requested based on the current time measured by the clock means, the data necessary for the setting is a data rewritable nonvolatile memory. The time until the current time reaches the notification request time is calculated by the calculating means, and the time measuring means measures the calculated time. In this state, the power supply to the device main body is cut off, the power supply to the device main body is restarted after the power supply is cut off, and the setting operation of the current time measured by the clock unit is detected by the clock detecting unit. Data required for setting the notification request time stored in the storage means by the control means, and the current time measured by the clock means by the calculation means is set to the notification request time based on the read setting data. The time until the time is reached is calculated, and the time measuring means measures the calculated time, so that the power supply is cut off after the setting of the notification request time by the user, and thereafter, when the power supply is resumed, the current time by the clock means is reset. When the setting is performed, a predetermined function operation can be performed at the notification request time set by the user.
【0011】請求項2記載の発明によれば、時計手段に
よって計時された現在時刻に基づいて使用者が通知を要
求する時刻を設定すると、その設定に必要なデータがデ
ータ書換可能な不揮発性メモリによって構成された記憶
手段に記憶されると共に、計算手段によって現在時刻が
通知要求時刻に達するまでの時間が計算され、計時手段
がその計算された時間差を計時する。この状態において
バッテリーによる機器本体への電源供給が断たれ、その
電源供給遮断後において機器本体への電源供給の再開が
給電検出手段によって検出されると共に、時計検出手段
によって時計手段によって計時される現在時刻の設定動
作が検出されると、制御手段によって記憶手段に記憶さ
れた通知要求時刻の設定に必要なデータが読み出される
と共に、計算手段によって時計手段によって計時される
現在時刻が当該読み出された設定データに基づく通知要
求時刻に達するまでの時間を計時することにより、使用
者による通知要求時刻の設定後において電源供給が断た
れ、その後電源供給再開時において時計手段による現在
時刻の設定を行ったとき、使用者によって設定した通知
要求時刻において所定の機能動作を行わせることができ
る。According to the second aspect of the present invention, when the user sets the time at which the notification is requested based on the current time measured by the clock means, the data necessary for the setting can be rewritten in the nonvolatile memory. The time required for the current time to reach the notification request time is calculated by the calculating means, and the time measuring means measures the calculated time difference. In this state, the power supply to the device main body by the battery is cut off, and after the power supply is cut off, the restart of the power supply to the device main body is detected by the power supply detection unit and the current time measured by the clock unit by the clock detection unit. When the time setting operation is detected, the data necessary for setting the notification request time stored in the storage means is read by the control means, and the current time measured by the clock means by the calculation means is read out. By measuring the time until the notification request time based on the setting data, the power supply was cut off after the user set the notification request time, and the current time was set by the clock means when the power supply was restarted thereafter. At the time of the notification request time set by the user, the predetermined function operation can be performed. .
【0012】請求項3記載の発明によれば、時計手段に
よって計時された現在時刻に基づいて使用者が通知を要
求する時刻を設定すると、その設定に必要なデータがデ
ータ書換可能な不揮発性メモリによって構成された記憶
手段に記憶されると共に、計算手段によって現在時刻が
通知要求時刻に達するまでの時間が計算され、計時手段
がその計算された時間を計時する。この状態において機
器本体への電源供給が断たれ、その電源供給遮断後にお
いて機器本体への電源供給が再開されると共に、時計検
出手段によって時計手段によって計時される現在時刻の
設定動作が検出されると、制御手段によって記憶手段に
記憶された通知要求時刻の設定に必要なデータが読み出
されると共に、計算手段によって時計手段によって計時
される現在時刻が当該読み出された設定データに基づく
通知要求時刻に達するまでの時間が計算され、報知手段
がその計算された時間を報知することにより、使用者に
おいて何時間後に所定の機能動作が行われるのか確認す
ることができる。According to the third aspect of the present invention, when the user sets the time at which the notification is requested based on the current time measured by the clock means, the data necessary for the setting can be rewritten in the nonvolatile memory. The time until the current time reaches the notification request time is calculated by the calculating means, and the time measuring means measures the calculated time. In this state, the power supply to the device main body is cut off, the power supply to the device main body is restarted after the power supply is cut off, and the clock detecting means detects the setting operation of the current time measured by the clock means. And data necessary for setting the notification request time stored in the storage means by the control means, and the current time measured by the clock means by the calculation means is set to the notification request time based on the read setting data. The time until the arrival is calculated, and the notification means notifies the calculated time, so that the user can confirm how many hours later the predetermined function operation is performed.
【0013】請求項4記載の発明によれば、時計手段に
よって計時された現在時刻に基づいて使用者が通知を要
求する時刻を設定すると、その設定に必要なデータがデ
ータ書換可能な不揮発性メモリによって構成された記憶
手段に記憶されると共に、計算手段によって現在時刻が
通知要求時刻に達するまでの時間が計算され、計時手段
がその計算された時間を計時する。この状態において機
器本体への電源供給が断たれ、その電源供給遮断後にお
いて機器本体への電源供給が再開されると共に、時計検
出手段によって時計手段によって計時される現在時刻の
設定動作が検出されると、制御手段によって記憶手段に
記憶された通知要求時刻の設定に必要なデータが読み出
されると共に、減算手段によって当該読み出された設定
データに基づく通知要求時刻から上記時計手段によって
計時される現在時刻が減算され、この減算された値がマ
イナスであると判断されたとき、報知手段がその減算さ
れた値を時間として報知することにより、使用者におい
て何時間前に所定の機能動作が行われるべきであったの
か確認することができる。According to the fourth aspect of the present invention, when the user sets a time at which a notification is requested based on the current time measured by the clock means, data necessary for the setting can be rewritten in a nonvolatile memory. The time until the current time reaches the notification request time is calculated by the calculating means, and the time measuring means measures the calculated time. In this state, the power supply to the device main body is cut off, the power supply to the device main body is restarted after the power supply is cut off, and the clock detecting means detects the setting operation of the current time measured by the clock means. Data required for setting the notification request time stored in the storage means by the control means, and the current time counted by the clock means from the notification request time based on the read setting data by the subtraction means When the subtracted value is determined to be negative, the notifying unit notifies the subtracted value as time, so that the user should perform a predetermined function operation how many hours ago. Can be confirmed.
【0014】[0014]
【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0015】図1は本発明の一実施例である携帯電子機
器の電気的構成を示す概略機能ブロック図、図2及び図
3は同携帯電子機器における指定時刻通知機能の動作を
示すフローチャートである。FIG. 1 is a schematic functional block diagram showing an electric configuration of a portable electronic device according to an embodiment of the present invention. FIGS. 2 and 3 are flowcharts showing an operation of a designated time notification function in the portable electronic device. .
【0016】図1において、1は現在時刻及び所定時間
の計時を行う際に用いる基準クロックを発生するリアル
タイムクロック、2はリアルタイムクロック1によって
発生した基準クロックに基づいて現在時刻及び所定時間
の計時を行うカウンタ部、3はカウンタ部2によって計
時する現在時刻及び所定時間の初期設定を行うコントロ
ーラ部、4は現在時刻及び通知要求時刻の初期値入力、
並びに指定時刻通知機能の動作指示を行うキー入力部、
5は指定時刻通知機能に関する設定データを記憶するデ
ータ書換可能な不揮発性メモリであり、E2 PROM等
によって構成されている。6はカウンタ2によって計時
されている現在時刻及び現在時刻と通知要求時刻の時間
差を外部に報知するユーザ報知部である。In FIG. 1, reference numeral 1 denotes a real-time clock for generating a reference clock used for measuring the current time and a predetermined time, and 2 denotes a clock for the current time and a predetermined time based on the reference clock generated by the real-time clock 1. A counter unit 3 for performing initial setting of a current time and a predetermined time measured by the counter unit 2; and 4, an initial value input of a current time and a notification request time,
A key input unit for instructing operation of the designated time notification function,
Reference numeral 5 denotes a data rewritable nonvolatile memory for storing setting data relating to the designated time notification function, and is constituted by an E 2 PROM or the like. Reference numeral 6 denotes a user notification unit for notifying the current time measured by the counter 2 and the time difference between the current time and the notification request time to the outside.
【0017】7は機器本体に対して別体に設けられたバ
ッテリーパックであり、機器本体に装着することによっ
て当該装着された機器本体に対して電源供給を行うもの
である。8は機器本体に内蔵されたバックアップ用バッ
テリーであり、リアルタイムクロック1に対する電源供
給を行うものである。9は機器本体の電源としてバッテ
リーパック7又はバックアップ用バッテリー8を選択す
る電源系統制御部である。Reference numeral 7 denotes a battery pack provided separately from the main body of the apparatus, which supplies power to the mounted main body of the apparatus by being mounted on the main body of the apparatus. Reference numeral 8 denotes a backup battery built in the apparatus main body, which supplies power to the real-time clock 1. Reference numeral 9 denotes a power supply system control unit for selecting the battery pack 7 or the backup battery 8 as a power supply of the device main body.
【0018】尚、上記リアルタイムクロック1及びカウ
ンタ部2によって時計手段及び計時手段が構成され、又
上記コントロール部3によって計算手段、操作検出手
段、給電検出手段及び減算手段が構成され、又上記ユー
ザ表示部7によって報知手段が構成されている。The real-time clock 1 and the counter unit 2 constitute a clock unit and a clock unit. The control unit 3 constitutes a calculating unit, an operation detecting unit, a power supply detecting unit, and a subtracting unit. The notification unit is configured by the unit 7.
【0019】上記のように構成された携帯電子機器にお
いて、現在時刻の初期設定動作について説明する。The operation of initializing the current time in the portable electronic device configured as described above will be described.
【0020】キー入力部4を操作することによって機能
モードを現在時刻の設定モードとした後、使用者におい
て電話サービス等による時報によって正確な時刻を認識
し、その時刻をキー入力部4によって入力すると、コン
トローラ部3がキー入力部4によって入力された時刻を
現在時刻としてユーザ報知部6によって報知させると共
に、キー入力部4によって入力された時刻に基づいて午
前0時を基準(区切り)として開始されるカウント値に
変換し、その変換したカウント値をカウンタ部2に送出
する。After setting the function mode to the current time setting mode by operating the key input unit 4, the user recognizes the correct time by a time signal from a telephone service or the like, and inputs the time by the key input unit 4. The controller unit 3 notifies the user notification unit 6 of the time input by the key input unit 4 as the current time, and starts at midnight based on the time input by the key input unit 4 (separation). Then, the converted count value is sent to the counter unit 2.
【0021】そして、カウンタ部2においてコントロー
ラ部3から送出されたカウント値をリアルタイムクロッ
ク1によって発生した基準クロックに基づきカウントア
ップすることによって現在時刻の計時を行い、このカウ
ントアップされたカウント値をコントローラ部3に送出
する。The counter 2 counts up the count value sent from the controller 3 based on the reference clock generated by the real-time clock 1 to count the current time, and counts the counted value. Send it to unit 3.
【0022】そして、コントローラ部3では、カウンタ
部2から送出されたカウント値を時刻に変換し、その変
換した時刻を現在時刻としてユーザ報知部6によって報
知させることにより、時計機能における現在時刻の計時
が行われ、使用者において現在時刻を容易に認知するこ
とができるようになる。The controller unit 3 converts the count value sent from the counter unit 2 into a time, and notifies the user of the converted time as the current time by the user notifying unit 6, thereby measuring the current time in the clock function. Is performed, so that the user can easily recognize the current time.
【0023】次に、指定時刻通知機能の動作について説
明する。Next, the operation of the designated time notification function will be described.
【0024】上記動作制御によって時計機能における現
在時刻の計時が行われている状態において、キー入力部
4によって指定時刻通知機能の設定指示を行う(ステッ
プF1)と、通知要求時刻の入力モードとなり、この入
力モードにおいて使用者がキー入力部4によって通知を
要求する時刻を入力すると共に、当該通知要求時刻にお
いて動作させる機能を選択する(ステップF2)と、コ
ントローラ部3がユーザ報知部6を制御してキー入力部
4によって入力された時刻を通知要求時刻として報知す
ると共に、当該通知要求時刻において動作する機能を報
知し、又コントローラ部3は不揮発性メモリ5にキー入
力部4によって入力された通知要求時刻及び選択された
機能動作を書き込む(ステップF3)。In the state where the current time is measured in the clock function by the above operation control, when the setting instruction of the designated time notifying function is performed by the key input unit 4 (step F1), the notification request time input mode is entered. In this input mode, when the user inputs a time at which a notification is requested by the key input unit 4 and selects a function to be operated at the notification request time (step F2), the controller unit 3 controls the user notification unit 6. In addition to notifying the time input by the key input unit 4 as the notification request time and notifying the function that operates at the notification request time, the controller unit 3 notifies the nonvolatile memory 5 of the notification input by the key input unit 4. The request time and the selected function operation are written (step F3).
【0025】そして、通知要求時刻が設定されている状
態において、使用者が指定時刻通知機能を動作指示しな
い(ステップF4)と、コントローラ部3は各制御レジ
スタ内及び不揮発性メモリ5のカウント開始ビットに指
定時刻通知機能の不動作を表す”0”を書き込み(ステ
ップF5)、又通知要求時刻が設定されている状態にお
いて、使用者が指定時刻通知機能を動作指示する(ステ
ップF4)と、コントローラ部3が各制御レジスタ内及
び不揮発性メモリ5のカウント開始ビットに指定時刻通
知機能の動作指示を表す”1”を書き込む(ステップF
6)と共に、不揮発性メモリ5に書き込まれた通知要求
時刻を読み出し、当該読み出された通知要求時刻とカウ
ンタ部2によって計時されている現在時刻との時間差を
1秒を最小単位とした値として計算する(ステップF
7)。If the user does not instruct the designated time notification function in the state where the notification request time is set (step F4), the controller unit 3 sets the count start bit in each control register and in the nonvolatile memory 5. In the state where the notification request time has been set, the user instructs the designated time notification function to operate (step F4). The unit 3 writes “1” indicating the operation instruction of the designated time notification function in each control register and the count start bit of the nonvolatile memory 5 (step F).
At the same time as 6), the notification request time written in the nonvolatile memory 5 is read, and the time difference between the read notification request time and the current time measured by the counter unit 2 is set as a value with 1 second as a minimum unit. Calculate (Step F
7).
【0026】この時間差を求める方法としては、例えば
現在時刻及び通知要求時刻を24時間法における午前0
時を基準(区切り)として1秒単位でカウントされるカ
ウント値に変換し、通知要求時刻のカウント値から現在
時刻のカウント値を減算し、その差がプラス(正)であ
るとき、その値が時間差データとなり、又その差がマイ
ナス(負)であるとき、その値に24時間法における2
4時のカウント値である「86400」を加算した値が
時間差データとなる。As a method of obtaining the time difference, for example, the current time and the notification request time are set to 0 am in the 24-hour method.
The time is converted into a count value that is counted in units of 1 second using the time as a reference (delimiter), the count value of the current time is subtracted from the count value of the notification request time, and when the difference is plus (positive), the value is When the time difference data is obtained and the difference is negative (negative), the value is set to 2 in the 24-hour method.
The value obtained by adding “86400” which is the count value at 4:00 is the time difference data.
【0027】そして、コントローラ部3によって計算さ
れた時間差データはカウンタ部2に送出され、カウンタ
部2において、制御レジスタ内のカウント開始ビットに
書き込まれた指定時刻通知機能の動作開始を表すデー
タ”1”に応答してリアルクロックタイム1によって発
生する基準クロックを用いたカウントを開始する(ステ
ップF8)。The time difference data calculated by the controller unit 3 is sent to the counter unit 2, and the counter unit 2 writes data "1" which is written in the count start bit in the control register and indicates the start of operation of the designated time notification function. ", The counting using the reference clock generated by the real clock time 1 is started (step F8).
【0028】そして、カウンタ部2によってカウントさ
れるカウント値と時間差データとが一致する(ステップ
F10)と、コントローラ部3に対して割り込みが発生
され、コントローラ部3は割り込みの要因が指定時刻通
知であると認識し、不揮発性メモリ5より指定要求時刻
に行う機能動作を読み出してその機能動作を行わせる
(ステップF11)。When the count value counted by the counter unit 2 matches the time difference data (step F10), an interrupt is issued to the controller unit 3, and the controller unit 3 notifies the controller of the cause of the interrupt by the designated time notification. It recognizes that there is, and reads out the functional operation to be performed at the designated request time from the non-volatile memory 5 to perform the functional operation (step F11).
【0029】他方、カウンタ部2がリアルクロックタイ
ム1によって発生する基準クロックを用いて設定時間差
をカウントしている状態(ステップF8)において、機
器本体に対して別体に設けられたバッテリーパック7の
容量不足又はバッテリーパック7が機器本体から取り外
されるなどして、機器本体への電源供給が断たれる(ス
テップF9)と、電源系統制御部9がリアルタイムクロ
ック1の電源をバックアップ用バッテリー8に切り換
え、このバックアップ用バッテリー8によってリアルタ
イムクロック1による基準クロックの発生を継続させる
ことにより、カウンタ部2による現在時刻の計時を継続
する。On the other hand, in a state where the counter unit 2 is counting the set time difference using the reference clock generated by the real clock time 1 (step F8), the battery pack 7 provided separately from the main body of the device is not counted. When the power supply to the device main body is cut off due to insufficient capacity or the battery pack 7 is removed from the device main body (step F9), the power supply system controller 9 switches the power supply of the real-time clock 1 to the backup battery 8. The generation of the reference clock by the real-time clock 1 is continued by the backup battery 8, so that the counting of the current time by the counter unit 2 is continued.
【0030】そして、バックアップ用バッテリー8によ
る電源供給によって現在時刻の計時が継続されている状
態において、再びバッテリーパック7の容量不足を解消
したり又は新しいバッテリーパック7を装着する(ステ
ップF12)と、コントローラ部3において一連の初期
設定が行われた後、現在時刻の計時が継続されていると
判断され(ステップF13)、その判断結果に応答して
不揮発性メモリ5よりカウント開始ビットを読み出し、
その不揮発性メモリ5より読み出したカウント開始ビッ
トに格納されたデータが指定時刻通知機能の非動作を表
すデータ”0”である場合(ステップF16)、この動
作を終了し、又不揮発性メモリ5より読み出したカウン
ト開始ビットに格納されたデータが指定時刻通知機能の
動作開始を表すデータ”1”である場合(ステップF1
6)、不揮発性メモリ5より通知要求時刻を読み出し、
その読み出した通知要求時刻とカウンタ部2によって計
時されている現在時刻とを比較する(ステップF1
7)。Then, in a state where the current time is being measured by the power supply from the backup battery 8, the shortage of the capacity of the battery pack 7 is eliminated or a new battery pack 7 is mounted (step F12). After a series of initial settings are performed in the controller unit 3, it is determined that the clocking of the current time is continued (step F13). In response to the determination result, a count start bit is read from the nonvolatile memory 5,
If the data stored in the count start bit read from the non-volatile memory 5 is data “0” indicating the non-operation of the designated time notification function (step F16), this operation is terminated, and When the data stored in the read count start bit is data “1” indicating the start of operation of the designated time notification function (step F1)
6), the notification request time is read from the nonvolatile memory 5,
The read notification request time is compared with the current time measured by the counter unit 2 (step F1).
7).
【0031】尚、クロッバックアップ用バッテリー8の
容量不足によってリアルタイムクロック1に対する電源
供給が断たれ、現在時刻の計時が継続されていない状態
において、再びバッテリーパック7の容量不足を解消し
たり又は新しいバッテリーパック7を装着した場合(ス
テップF12)は、コントローラ部3において一連の初
期設定が行われた後、現在時刻の計時が継続されていな
いと判断され(ステップF13)、その判断結果に応答
して現在時刻の設定モードに移行し、この設定モードに
おいて使用者が現在時刻を入力したとき(ステップF1
4、ステップF15)、不揮発性メモリ5よりカウント
開始ビットに格納されたデータを読み出して判断動作を
行い(ステップF16)、その判断結果に基づいて不揮
発性メモリ5より通知要求時刻を読み出し、その読み出
した通知要求時刻とカウンタ部2によって計時されてい
る現在時刻とを比較する(ステップF17)。When the power supply to the real-time clock 1 is cut off due to the shortage of the capacity of the clock backup battery 8 and the clocking of the current time is not continued, the shortage of the capacity of the battery pack 7 is solved again or a new battery is used. When the pack 7 is mounted (step F12), after a series of initial settings are performed in the controller unit 3, it is determined that the time measurement of the current time is not continued (step F13), and in response to the determination result, The mode shifts to the current time setting mode, and when the user inputs the current time in this setting mode (step F1).
4, step F15), the data stored in the count start bit is read out from the non-volatile memory 5 and a judgment operation is performed (step F16). Based on the judgment result, the notification request time is read out from the non-volatile memory 5 and read out. The notification request time and the current time measured by the counter unit 2 are compared (step F17).
【0032】そして、その比較において現在時刻が通知
要求時刻を過ぎていないと判断された場合(ステップF
18)、即ち現在時刻及び通知要求時刻を24時間法に
おける午前0時を基準(区切り)として1秒単位でカウ
ントされるカウント値に変換し、その通知要求時刻のカ
ウント値から現在時刻のカウント値を減算した値がプラ
ス(正)であるとき、その減算した値を設定動作が行わ
れるまでの時間としてユーザ報知部6が外部に報知する
(ステップF19)と共に、コントローラ部3が各制御
レジスタ内のカウント開始ビットに指定時刻通知機能の
動作指示を表す”1”を書き込み(ステップF20)、
且つ通知要求時刻のカウント値から現在時刻のカウント
値を減算したカウント値を時間差データとしてカウンタ
部2に送出し、カウンタ部2において、制御レジスタ内
のカウント開始ビットに書き込まれた指定時刻通知機能
の動作開始を表すデータ”1”に応答してリアルクロッ
クタイム1によって発生する基準クロックを用いたカウ
ントを開始する(ステップF8)。If it is determined in the comparison that the current time has not passed the notification request time (step F).
18) That is, the current time and the notification request time are converted into a count value counted in units of 1 second with respect to midnight in the 24-hour system as a reference (delimiter), and the count value of the notification request time is used as the count value of the current time. When the value obtained by subtracting is plus (positive), the user notifying unit 6 notifies the subtracted value to the outside as a time until the setting operation is performed (step F19), and the controller unit 3 stores the value in each control register. Write "1" indicating the operation instruction of the designated time notification function in the count start bit of (step F20),
The count value obtained by subtracting the count value of the current time from the count value of the notification request time is sent to the counter unit 2 as time difference data, and the counter unit 2 executes the designated time notification function written in the count start bit in the control register. In response to the data "1" indicating the start of operation, counting using the reference clock generated by the real clock time 1 is started (step F8).
【0033】そして、カウンタ部2によってカウントさ
れるカウント値と時間差データとが一致する(ステップ
F10)と、コントローラ部3に対して割り込みが発生
され、コントローラ部3は割り込みの要因が指定時刻通
知であると認識し、不揮発性メモリ5より指定要求時刻
に行う機能動作を読み出してその機能動作を行わせる
(ステップF11)。When the count value counted by the counter unit 2 and the time difference data match (step F10), an interrupt is generated for the controller unit 3, and the controller unit 3 determines that the cause of the interrupt is a specified time notification. It recognizes that there is, and reads out the functional operation to be performed at the designated request time from the nonvolatile memory 5 and causes the functional operation to be performed (step F11).
【0034】従って、上記動作制御によれば、指定時刻
通知機能を動作させた後、電源供給が断たれ、その後電
源供給が再開された場合において、使用者による通知要
求時刻の再設定操作を行うことなく、電源供給が断たれ
る前において設定した通知要求時刻に基づく指定時刻通
知機能を動作させることができる。Therefore, according to the above-described operation control, when the power supply is cut off after the designated time notification function is operated and the power supply is restarted thereafter, the user performs a reset operation of the notification request time. Thus, the designated time notification function based on the notification request time set before the power supply is cut off can be operated.
【0035】又、不揮発性メモリ5より読み出した通知
要求時刻とカウンタ部2によって計時されている現在時
刻との比較(ステップF17)において、現在時刻が通
知要求時刻を過ぎていると判断された場合(ステップF
18)、即ち現在時刻及び通知要求時刻を24時間法に
おける午前0時を基準(区切り)として1秒単位でカウ
ントされるカウント値に変換し、その通知要求時刻のカ
ウント値から現在時刻のカウント値を減算した値がマイ
ナス(負)であるとき、その値を24時間法における時
刻に変換することによって通知要求時刻から過ぎた時間
を求め(ステップF21)、その求めた時間をユーザ報
知部6によって外部に報知する(ステップF22)。Also, when comparing the notification request time read from the nonvolatile memory 5 with the current time measured by the counter unit 2 (step F17), it is determined that the current time has passed the notification request time. (Step F
18) That is, the current time and the notification request time are converted into a count value counted in units of 1 second with respect to midnight in the 24-hour system as a reference (delimiter), and the count value of the notification request time is converted to the count value of the current time When the value obtained by subtracting is minus (negative), the time after the notification request time is obtained by converting the value to a time in the 24-hour method (step F21). Notify outside (step F22).
【0036】従って、上記動作制御によれば、使用者が
予め通知を要求した時刻を過ぎた後においてバッテリー
パック7を再装着した場合、その通知要求時刻から過ぎ
た時間を容易に認知することができる。Therefore, according to the above operation control, when the user reattaches the battery pack 7 after the time at which the notification is requested in advance, it is possible to easily recognize the time elapsed from the notification request time. it can.
【0037】尚、上記実施例においては、時計機能とし
て計時する現在時刻を24時間法を基本とする1日単位
としたが、これに限定されるものではなく、例えば24
時間法を基本とする1週間単位としても良い。In the above embodiment, the present time measured as the clock function is set to one day based on the 24-hour clock. However, the present invention is not limited to this.
It may be in weekly units based on the time method.
【0038】[0038]
【発明の効果】以上のように、請求項1及び請求項2記
載の発明によれば、設定時刻通知機能を動作させた後に
おいて電源供給が断たれ、その後において電源供給が再
開され、現在時刻の再設定が行われたとき、不揮発性メ
モリに記憶された通知要求時刻に基づいて設定時刻通知
の再設定を行うことにより、使用者における繁雑な操作
を要することなく、設定時刻通知機能を動作させること
ができ、又バッテリーの脱着に伴う設定忘れを防止する
ことができる。As described above, according to the first and second aspects of the present invention, the power supply is cut off after the set time notification function is operated, and then the power supply is restarted. When resetting is performed, the setting time notification function is operated without complicated operation by the user by resetting the setting time notification based on the notification request time stored in the nonvolatile memory. It is possible to prevent the setting from being forgotten due to the attachment / detachment of the battery.
【0039】請求項3記載の発明によれば、設定時刻通
知の再設定が行われたときにおいて、通知要求時刻に達
するまでの時間を報知することにより、使用者において
設定時刻通知が必要なのか確認することができ、又その
確認結果に基づいて不必要な通知を防止することができ
る。According to the third aspect of the invention, when the notification of the set time is reset, the time until the notification request time is reached is notified, so that the user needs to notify the set time. Confirmation can be made, and unnecessary notification can be prevented based on the confirmation result.
【0040】請求項4記載の発明によれば、設定時刻通
知の再設定が行われ、その時の現在時刻が通知要求時刻
を過ぎていた場合において、その過ぎた時間を報知する
ことにより、使用者において要求する時刻から何時間経
過したのか容易に認識することができ、それに伴い使用
者いおいて迅速な対応を図ることができる。According to the fourth aspect of the invention, when the set time notification is reset, and the current time at that time has passed the notification request time, the user is notified by notifying the time. , It is possible to easily recognize how many hours have passed since the requested time, and accordingly, the user can take quick action.
【図1】本発明の一実施例である携帯電子機器の電気的
構成を示す概略機能ブロック図。FIG. 1 is a schematic functional block diagram showing an electrical configuration of a portable electronic device according to an embodiment of the present invention.
【図2】同携帯電子機器における指定時刻通知機能の動
作を示すフローチャート。FIG. 2 is an exemplary flowchart showing the operation of a designated time notification function in the portable electronic device.
【図3】同携帯電子機器における指定時刻通知機能の動
作を示すフローチャート。FIG. 3 is an exemplary flowchart showing the operation of a designated time notification function in the portable electronic device.
【符号の説明】 1 リアルタイムクロック 2 カウンタ部 3 コントローラ部 4 キー入力部 5 不揮発性メモリ 6 ユーザ報知部 7 バッテリーパック 8 バックアップ用バッテリー 9 電源系統制御部[Description of Signs] 1 Real-time clock 2 Counter unit 3 Controller unit 4 Key input unit 5 Non-volatile memory 6 User notification unit 7 Battery pack 8 Backup battery 9 Power system control unit
フロントページの続き (56)参考文献 特開 昭54−121775(JP,A) 特開 昭59−3387(JP,A) 特開 平7−260963(JP,A) 特開 平1−124792(JP,A) 特開 昭62−21091(JP,A) 実開 平5−17722(JP,U) 実開 平1−104600(JP,U) (58)調査した分野(Int.Cl.7,DB名) G04G 5/00 G04G 15/00 G04C 23/00 Continuation of front page (56) References JP-A-54-121775 (JP, A) JP-A-59-3387 (JP, A) JP-A-7-260963 (JP, A) JP-A-1-124792 (JP) JP-A-62-11091 (JP, A) JP-A-5-17722 (JP, U) JP-A-1-104600 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB Name) G04G 5/00 G04G 15/00 G04C 23/00
Claims (4)
手段によって計時されている現在時刻が通知要求時刻に
達するまでの時間を計算する計算手段と、該計算手段に
よって計算された時間を計時する計時手段とを備え、 上記計算手段によって計算された時間が上記計時手段に
よって計時されたとき、所定の機能動作を行わせる携帯
電子機器において、 上記通知要求時刻の設定に必要なデータを記憶する記憶
手段と、 上記時計手段による現在時刻の設定動作状態を検出する
時計検出手段と、 該時計検出手段による検出結果に基づいて上記記憶手段
に記憶された設定データを読み出し、上記計時手段によ
って計時される時間の再設定を行わせる制御手段とを設
け、 上記記憶手段は、データ書換可能な不揮発性メモリによ
って構成したことを特徴とする携帯電子機器。1. Clock means for measuring the current time, calculation means for calculating the time until the current time measured by the clock means reaches the notification request time, and clocking the time calculated by the calculation means A portable electronic device that performs a predetermined functional operation when the time calculated by the calculating means is counted by the time measuring means, and stores data necessary for setting the notification request time. Storage means; clock detection means for detecting a setting operation state of the current time by the clock means; setting data stored in the storage means based on a detection result by the clock detection means; Control means for resetting the time for resetting, and the storage means is constituted by a data rewritable nonvolatile memory. Portable electronic devices to be.
等のバッテリーを機器本体の電源として用いる一方、 機器本体における電源供給状態を検出する給電検出手段
を設け、 上記制御手段は、上記給電検出手段による検出結果に基
づいて機器本体に対する電源供給が給電無しの状態から
給電有りの状態に変化したと判断されたとき、上記時計
検出手段の検出結果に基づく上記計時手段の再設定動作
を行わせることを特徴とする請求項1記載の携帯電子機
器。2. A power supply detecting means for detecting a power supply state in the device main body while using a battery such as a battery provided separately from the device main body as a power source of the device main body. When it is determined that the power supply to the device body has changed from the state without power supply to the state with power supply based on the detection result by the power supply detection means, the resetting operation of the clocking means based on the detection result of the clock detection means is performed. 2. The portable electronic device according to claim 1, wherein the portable electronic device is operated.
外部に報知する報知手段を設け、 上記制御手段は、上記時計検出手段によって上記時計手
段による現在時刻の設定動作が行われたと判断されたと
き、上記計算手段によって計算された時間を上記報知手
段によって外部に報知させることを特徴とする請求1又
は請求項2記載の携帯電子機器。3. A notifying means for notifying the time calculated by the calculating means to the outside, wherein the control means determines that the clock detecting means determines that the current time is set by the clock means. 3. The portable electronic device according to claim 1, wherein the time calculated by the calculation means is notified to the outside by the notification means.
って計時される現在時刻を減算する減算手段を設け、 上記制御手段は、上記時計検出手段によって上記時計手
段による現在時刻の設定動作が行われたと判断されると
共に、上記減算手段によって求められた値がマイナスで
あると判断されたとき、当該求められた値を上記報知手
段によって外部に報知させることを特徴とする請求項3
記載の携帯電子機器。4. A subtraction means for subtracting a current time measured by said clock means from said notification request time, wherein said control means determines that a current time setting operation by said clock means has been performed by said clock detection means. 4. The method according to claim 3, wherein when the value determined by the subtraction means is determined to be negative, the determined value is notified to the outside by the notification means.
A portable electronic device as described.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12356995A JP3136074B2 (en) | 1995-05-23 | 1995-05-23 | Portable electronic devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12356995A JP3136074B2 (en) | 1995-05-23 | 1995-05-23 | Portable electronic devices |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08313662A JPH08313662A (en) | 1996-11-29 |
| JP3136074B2 true JP3136074B2 (en) | 2001-02-19 |
Family
ID=14863832
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12356995A Expired - Fee Related JP3136074B2 (en) | 1995-05-23 | 1995-05-23 | Portable electronic devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3136074B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3877494B2 (en) * | 2000-04-14 | 2007-02-07 | 三洋電機株式会社 | Mobile phone |
-
1995
- 1995-05-23 JP JP12356995A patent/JP3136074B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08313662A (en) | 1996-11-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6236226B1 (en) | Test method and system for uninterruptible power supply | |
| JPH10290533A (en) | Battery charging system | |
| CN117013679A (en) | Backup power supply method, device, smart door, electronic equipment and storage medium | |
| JP2002258988A (en) | Uninterruptible power system | |
| JP3617877B2 (en) | Computer system and automatic start method thereof | |
| JP3136074B2 (en) | Portable electronic devices | |
| JP2007066075A (en) | Start / stop logic circuit | |
| JPH1027140A (en) | Portable terminal equipment | |
| JPH03148719A (en) | Power supply without power failure | |
| EP0697791A2 (en) | Apparatus for determining if the duration of a power failure exceeded predetermined limits | |
| CN117360328A (en) | Electric quantity correction method and system of battery management system | |
| JP2002373037A (en) | Power source controller | |
| JP3861616B2 (en) | Power management device for portable terminal | |
| JPH07298512A (en) | Charger and charging method | |
| JP2002244773A (en) | Information processor | |
| JP3164729B2 (en) | Power management mechanism for battery starter | |
| JP2001333545A (en) | Power supply, electronic device and its stopping/restoring method and recording medium | |
| JPH1144901A (en) | Cameras and electronic devices | |
| JPH10271690A (en) | Portable electronic device and battery charging method thereof | |
| CN111190371B (en) | Power supply control system, method and storage medium of reading kiosk | |
| JPH044276Y2 (en) | ||
| JP3087650B2 (en) | Automatic power recovery method | |
| JP2687520B2 (en) | Battery maintenance device for auxiliary battery | |
| JPH0654451A (en) | Battery charge / discharge management device | |
| JPH06113483A (en) | Method for monitoring capacity of battery in uninterruptive power supply equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071201 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081201 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091201 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091201 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101201 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111201 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |