JP3941407B2 - Electronic equipment and control program - Google Patents

Electronic equipment and control program Download PDF

Info

Publication number
JP3941407B2
JP3941407B2 JP2001076710A JP2001076710A JP3941407B2 JP 3941407 B2 JP3941407 B2 JP 3941407B2 JP 2001076710 A JP2001076710 A JP 2001076710A JP 2001076710 A JP2001076710 A JP 2001076710A JP 3941407 B2 JP3941407 B2 JP 3941407B2
Authority
JP
Japan
Prior art keywords
time
internal
difference
passed
set 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
Application number
JP2001076710A
Other languages
Japanese (ja)
Other versions
JP2002277576A (en
JP2002277576A5 (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001076710A priority Critical patent/JP3941407B2/en
Publication of JP2002277576A publication Critical patent/JP2002277576A/en
Publication of JP2002277576A5 publication Critical patent/JP2002277576A5/ja
Application granted granted Critical
Publication of JP3941407B2 publication Critical patent/JP3941407B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子機器及び制御プログラムに関する。
【0002】
【従来の技術】
近年、現在時刻を示すデータが重畳された長波標準電波を受信し、この電波中の時刻データによって表されている現在時刻(基準時刻という)に内部時計が示す現在時刻(内部時刻という)を合わせる時刻修正機能を搭載した電波時計が実用に供されている。また、予め設定したアラーム時刻にアラーム音を鳴らし、該アラーム時刻の到来をユーザに報知する機能が追加されたアラーム機能付電波時計の開発も進められている。
【0003】
【発明が解決しようとする課題】
ところで、上述したアラーム機能付電波時計は、内部時刻が予め設定したアラーム時刻に到達した場合にアラーム音を鳴らすか、若しくは内部時刻がアラーム時刻に到達していない場合であっても受信した基準時刻がアラーム時刻を経過している場合にアラーム音を鳴らす構成を有している。
従って、該アラーム機能付電波時計は、内部時刻、アラーム時刻がそれぞれ10:00、12:00にセットされた状態において、例えばタイムゾーンを越えた先(例えば5時間の時差がある外国等)で基準時刻を受信した場合にも、アラーム音を鳴らしてしまう。すなわち、予め設定したアラーム時刻が無意味な状況下においてもアラーム音は鳴ってしまい、該アラーム機能付電波時計を所有するユーザは煩わしい思いをしていた。
本発明は、以上説明した事情を鑑みてなされたものであり、アラーム時刻が到来し、かつ、所定条件を満たした場合にのみアラーム時刻の到来を報知する電子機器及び制御プログラムを提供することを目的とする。
【0004】
【課題を解決するための手段】
上記した問題を解決するため、請求項1に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う制御手段とを具備することを特徴とする。
【0005】
係る構成によれば、前記制御手段は、内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合にのみ、実行手段に上記所定の処理を実行させるための制御を行う。ここで、例えば上記所定の処理が、設定時刻にアラーム音を鳴らし、設定時刻の到来を報知する処理である場合、前記設定時刻と前記内部時刻との時間差が予め設定されたしきい値範囲内にない場合にアラーム音は鳴らない。このため、該アラーム音によって煩わしい思いをする等の精神的苦痛を軽減することが可能となる。
【0006】
また、請求項2に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記基準時刻が前記設定時刻を経過している場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う制御手段とを具備することを特徴とする。
【0007】
また、請求項3に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする。
【0008】
また、請求項4に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記基準時刻が前記設定時刻を経過していない場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う一方、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする。
【0009】
また、請求項5に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第3のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第4のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする。
【0010】
また、請求項6に記載の電子機器は、内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記基準時刻が前記設定時刻を経過している場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記基準時刻が前記設定時刻を経過していない場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行い、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第3のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第4のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする。
【0011】
また、請求項7に記載の電子機器は、請求項1〜6のいずれか1の請求項に記載の電子機器において、前記実行手段は、前記設定時刻に当該時刻の到来を報知する報知手段であることを特徴とする。
【0012】
また、請求項8に記載の電子機器は、請求項1〜6のいずれか1の請求項に記載の電子機器において、前記実行手段は、前記設定時刻に外部と通信を行う通信実行手段であることを特徴とする。
【0013】
また、請求項9に記載の制御プログラムは、内部時計と外部から基準時刻を受信する受信手段とを備えたコンピュータに、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記内部時刻を参照して前記設定時刻に所定の処理を実行する実行手段に前記所定の処理を実行させるための制御を行う制御機能を実現させることを特徴とする。
【0014】
また、請求項10に記載の制御プログラムは、内部時計と外部から基準時刻を受信する受信手段とを備えたコンピュータに、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記内部時刻を参照して前記設定時刻に所定の処理を実行する実行手段に前記所定の処理を実行させないための制御を行う制御機能を実現させることを特徴とする。
【0023】
また、コンピュータ読み取り可能な記録媒体は、請求項9または10に記載の制御プログラムを記録したことを特徴とする。
【0024】
【発明の実施の形態】
以下、本発明をアラーム機能を備えた携帯情報端末に適用した実施の形態について説明する。かかる実施の形態は、本発明の一態様を示すものであり、本発明の技術的思想の範囲で任意に変更可能である。
【0025】
A.本実施形態
(1)実施形態の構成
図1は、本実施形態に係る携帯情報端末100の外観を示す図であり、図2は、携帯情報端末100の構成を示すブロック図である。
図1に示す携帯情報端末100は、例えばBluetoothに代表される近距離無線通信機能を備えた腕時計型の携帯情報端末であり、該機能を備えた携帯電話等の外部装置200との間で無線による各種データの授受が可能となっている。
図2に示すように、携帯情報端末100は、無線通信部110と、携帯情報端末100各部の制御を司る制御部120と、アラーム時刻の到来を報知する報知部125と、種々の情報を表示する表示部130と、ユーザが各種操作を行うための入力部140と、携帯情報端末100に電源を供給する2次電池150とを具備している。
【0026】
無線通信部110は、外部装置200と近距離無線通信を行うことにより、携帯情報端末100のユーザの利用できる各種サービスに関する処理を行うと共に、外部装置200から時刻データ(基準時刻)Tsを取得した場合には、この基準時刻Tsを用いて携帯情報端末100の現在時刻(内部時刻)Tcを修正すべき旨の指令を制御部120に送出する。
この無線通信部110は、アンテナ21と、接続切り換えを行うアンテナスイッチ22と、受信回路23と、送信回路24とを具備している。
受信回路23は、アンテナ21を介して受信した信号を、送信回路24から供給される発信信号SVCOに基づいて復調し、受信データDRXとして出力する。
送信回路24は、CPU121から供給される送信データDTXを変調し、アンテナ21を介して外部装置200へ送信する。
【0027】
制御部120は、CPU(Central Processing Unit)121と、ROM(Read Only Memory)122と、RAM(Random Access Memory)123と、計時回路32とを具備している。
CPU121は、ROM122に格納されている各種制御プログラム等に基づき携帯情報端末100を中枢的に制御するほか、該ROM122に格納されている内部時刻修正・アラーム報知プログラムを実行することにより内部時刻の修正・アラーム報知処理等を行う。
RAM123は、書き換え可能なメモリであり、ユーザが任意に設定したアラーム時刻Ta(例えば、AM7:00等)を記憶するためのアラーム時刻記憶領域123a、アラーム時刻Taがセットされたか否かを識別するためのアラームフラグ(“1”=セット、“0”=リセット)を記憶するアラームフラグ記憶領域123b等、複数の記憶領域を有している。
なお、本実施形態では、アラーム時刻Ta、アラームフラグ等をRAM123に格納する場合を想定しているが、例えばEEPROM(Electrionically Erasable and Programmable Read Only Memory)等の不揮発性メモリに格納しても良い。
【0028】
計時回路(内部時計)32は、内部時刻Tcを計時する手段であり、水晶振動子31を備えた発信回路32aと、分周回路32bと、カウンタ回路32cとを具備している。発信回路32aは、水晶振動子31によって所定周波数(例えば、32.768kHZ等)のパルスを発生し、分周回路32bに出力する。分周回路32bは、発信回路32aから供給されるパルスを適宜に分周し、クロック信号としてCPU121へ供給する一方、例えば1HZ(1秒)のパルスを発生し、カウンタ回路32cに出力する。カウンタ回路32cは、分周回路32bにおいて順次発生されるパルスをカウントし、時、分、秒等によって構成された内部時刻Tcを計時する。
【0029】
報知部125は、アラーム音等を生成する音源、該アラーム音を出力するスピーカ等により構成され、CPU121から供給される駆動信号に基づきスピーカ等を作動し、アラーム時刻Taの到来を報知するためのアラーム音(例えば、ビープ音)等を発生する。
表示部130は、LCD(Liquid Crystal Display)パネル、LCDコントローラ(図示略)等によって構成され、制御部120による制御の下、内部時刻の表示、アラーム設定時刻の表示等を行う。
入力部140は、各種操作ボタン、該操作ボタンに接続された入力回路(図示略)等によって構成され、ユーザは該操作ボタンを操作することによりアラーム時刻の設定等を行う。
【0030】
(2)実施形態の動作
まず、ユーザが携帯情報端末100に電源を投入し、外部装置200に近接させると(図3(a)参照)、外部装置200(マスター)と携帯情報端末100(スレーブ)との間で、同期確立処理、接続認証処理等が行われる(図3(b)参照)。
上記処理が終了し、外部装置200と携帯情報端末100との間で通信が開始された後、携帯情報端末100の無線通信部110が外部装置200から基準時刻Tsを含むデータを受信すると、該無線通信部110はCPU121に対し、この基準時刻Tsを用いて携帯情報端末100の内部時刻Tcの修正、アラーム報知等を行うべき旨の指令を発する。
【0031】
CPU121は、無線通信部110から該指令及び基準時刻Tsを受け取ると、ROM122に格納されている時刻修正・アラーム報知プログラムを読み出し、実行する。
図4は、CPU121が実行する内部時刻修正・アラーム報知処理のフローを示すフローチャートであり、図5及び図6は、内部時刻修正・アラーム報知処理を説明するための模式図である。なお、図5及び図6に示すC1〜C10及びS1〜S10は、それぞれ内部時刻Tc及び基準時刻Tsが存在可能な範囲を示している。また、以下の説明は、アラーム時刻Taが12:00にセット(アラームフラグ;“1”)されている場合を想定する。
【0032】
a)内部時刻Tcがアラーム時刻Taを経過していない場合(Tc<Ta)
CPU121は、無線通信部110から基準時刻Tsを受け取ると、カウンタ回路32cに設定されている内部時刻Tcを読み出すと共に、アラーム時刻記憶領域123aに格納されているアラーム時刻Taを読み出し、内部時刻Tcとアラーム時刻Taとを比較する(ステップS1→ステップS2)。
【0033】
ここで、例えば図5(a)に示すように内部時刻Tcがアラーム時刻Ta(=12:00)を経過しておらず、かつ、アラーム時刻Taと内部時刻Tcとの時間差が第1のしきい値T1(=5分)よりも小さい場合(ステップS2;YES)、CPU121はステップS3に進む。
CPU121は、基準時刻Tsとアラーム時刻Taとを比較し、図5(a)のS1に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過しており、かつ、基準時刻Tsとアラーム時刻Taとの時間差が第2のしきい値T2(=5分)以下であると判断すると(ステップS3;YES)、アラームフラグ記憶領域123bを参照する。アラームフラグは“1”にセットされているため、CPU121はユーザにアラーム時刻の到来を告げるべく駆動信号を生成し、報知部125へ送信する(ステップS4)。CPU121は、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正する一方(ステップS5)、報知部125が所定時間アラーム音を鳴らすと、アラームフラグを“0”にセットし、処理を終了する。
【0034】
一方、CPU121は、図5(b)に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過しており、かつ、基準時刻Tsとアラーム時刻Taとの時間差が第2のしきい値T2よりも大きい場合(ステップS3→ステップS7)、ステップS8に進み、ユーザにアラーム時刻の到来を告げることなく、アラームフラグを“0”にセットし、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップS5)、処理を終了する。
【0035】
また、CPU121は、図5(c)に示すように内部時刻Tcがアラーム時刻Taを経過していない場合であっても、アラーム時刻Taと内部時刻Tcとの時間差が第1のしきい値T1以上であると判断すると(ステップS2;NO)、ステップS6に進む。
CPU121は、ステップ6において内部時刻Tcがアラーム時刻Taよりも小さいと判断すると(ステップS6;YES)、ステップS7に進み、基準時刻Tsとアラーム時刻Taとを比較する。CPU121は、図5(c)に示すように基準時刻Tsがアラーム時刻Taと一致若しくはアラーム時刻Taを経過していると判断すると(ステップS7;YES)、ステップS8に進み、ユーザにアラーム時刻の到来を告げることなく、アラームフラグを“0”にセットし、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップS5)、処理を終了する。
【0036】
また、CPU121は、図5(d)に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過していない場合であっても、アラーム時刻Taと基準時刻Tsとの時間差が第2のしきい値T2よりも大きいと判断すると(ステップS3→ステップS7)、アラームフラグを反転することなく(アラームフラグ;“1”)、ステップS5に進み、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し、処理を終了する。
【0037】
また、CPU121は、図5(e)に示すように内部時刻Tcとアラーム時刻Taとの時間差が第1のしきい値T1以上であり、かつ、基準時刻Tsがアラーム時刻Taを経過していないと判断すると(ステップS2→ステップS6→ステップS7)、アラームフラグを反転することなく(アラームフラグ;“1”)、ステップS5に進み、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し、処理を終了する。
【0038】
b)内部時刻Tcがアラーム時刻Taを経過している場合(Tc≧Ta)
CPU121は、無線通信部110から基準時刻Tsを受け取ると、カウンタ回路32cに設定されている内部時刻Tcを読み出すと共に、アラーム時刻記憶領域123aに格納されているアラーム時刻Taを読み出し、内部時刻Tcとアラーム時刻Taとを比較する(ステップS1→ステップS2)。
【0039】
ここで、例えば図6(a)に示すように内部時刻Tcがアラーム時刻Taと同一若しくはアラーム時刻Taを経過している場合(ステップS2→ステップS6)、CPU121はステップS9に進む。
CPU121は、内部時刻Tcがアラーム時刻Taと一致若しくはアラーム時刻Taを経過しており、かつ、基準時刻Tsとアラーム時刻Taとの時間差が第3のしきい値T3(=5分)よりも小さいと判断すると(ステップS9;YES)、ステップS10に進む。
【0040】
CPU121は、図6(a)に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻を経過しておらず、かつ、基準時刻Tsとアラーム時刻Taとの時間差が第4のしきい値T4(=5分)以下であると判断すると(ステップS10;YES)、ステップS11に進み、アラーム音の2度鳴りを防止すべく、アラームフラグを“0”にセットする。そして、CPU121はカウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップS5)、処理を終了する。この結果、修正後の内部時刻Tcが再びアラーム時刻Taに到達しても、報知部125からアラーム音が発生されることはない。
【0041】
一方、CPU121は、図6(b)に示すように内部時刻Tcがアラーム時刻Taと同一若しくはアラーム時刻Taを経過している場合であっても、基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過しておらず、かつ、基準時刻Tsとアラーム時刻Taとの時間差が第4のしきい値T4以上であると判断すると(ステップS10→ステップS12)、アラーム音を再度鳴らすべく、アラームフラグを“1”にセットする。そして、CPU121はカウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップS5)、処理を終了する。この結果、修正後の内部時刻Tcが再びアラーム時刻Taに到達した場合には、報知部125からアラーム音が発生される。
【0042】
また、CPU121は、図6(c)に示すように内部時刻Tcとアラーム時刻Taとの時間差が第3のしきい値T3以上であると判断すると(ステップS9;NO)、ステップS12に進む。
CPU121は、ステップ12において、図6(c)に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過していないと判断すると(ステップS12;YES)、ステップS13に進み、アラーム音を再度鳴らすべく、アラームフラグを“1”にセットする。そして、CPU121はカウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップS5)、処理を終了する。この結果、修正後の内部時刻Tcが再びアラーム時刻Taに到達した場合には、報知部125からアラーム音が発生される。
【0043】
また、CPU121は、図6(d)に示すように基準時刻Tsがアラーム時刻Taと同一若しくはアラーム時刻Taを経過している場合であっても、基準時刻Tsとアラーム時刻Taとの時間差が第4のしきい値T4よりも大きいと判断すると(ステップS10→ステップS12)、アラームフラグを変えることなく、ステップS5に進み、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し、処理を終了する。
【0044】
また、CPU121は、図6(e)に示すように内部時刻Tcとアラーム時刻Taとの時間差が第3のしきい値T3以上であり、かつ、基準時刻Tsがアラーム時刻Taを経過していると判断すると(ステップS9→ステップS12)、アラームフラグを変えることなく、ステップS5に進み、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し、処理を終了する。
【0045】
以上説明したように、本実施形態に係る携帯情報端末100によれば、内部時刻Tcがアラーム時刻Taを経過していない状態において外部装置200から基準時刻Tsを受信した場合、内部時刻Tcとアラーム時刻Ta及び基準時刻Tsとアラーム時刻Taが所定条件を満たす場合(図5(a)参照)にのみ、アラーム時刻の到来を報知するためのアラーム音が鳴る。従って、該条件を満たさない場合、例えば内部時刻Tc、アラーム時刻Taがそれぞれ10:00、12:00にセットされた状態において該携帯情報端末100を所有するユーザがタイムゾーンを越えた先(例えば5時間の時差がある外国等)で基準時刻Ts(=15:00)を受信した場合、該基準時刻Tsに基づいて内部時刻Tcは15:00に修正されるがアラーム音が鳴ることはない。すなわち、内部時刻Tcがアラーム時刻Taに到達した場合であっても、アラーム音を鳴らすことに意味がない場合には、アラーム音は鳴らない。このため、該アラーム音によって煩わしい思いをする等の精神的苦痛を軽減することが可能となる。
【0046】
また、係る携帯情報端末100によれば、内部時刻Tcがアラーム時刻Taと同一若しくはアラーム時刻Taを経過した状態において外部装置200から基準時刻Tsを受信した場合、内部時刻Tcとアラーム時刻Ta及び基準時刻Tsとアラーム時刻Taが所定条件を満たす場合(図6(a)参照)にのみ、アラーム音の2度鳴りを防止する。例えば、内部時刻Tc、アラーム時刻Taがそれぞれ12:03、12:00にセットされた状態において基準時刻Ts(=11:58)を受信した場合、内部時刻Tcは該基準時刻Tsに基づいて11:58に修正されるが、修正後の内部時刻Tcが再びアラーム時刻Taに到達しても、近接した時刻にアラーム音を1度鳴らしているため、アラーム音は鳴らない。このため、該アラーム音によって煩わしい思いをする等の精神的苦痛を軽減することが可能となる。なお、本実施形態では、携帯情報端末100が外部装置200から基準時刻Tsを受信する場合を例に説明を行ったが、外部装置200が携帯情報端末100から基準時刻Tsを受信する場合にも適用可能である。
【0047】
(3)変形例
以上この発明の一実施形態について説明したが、上記実施形態はあくまで例示であり、上記実施形態に対しては、本発明の趣旨から逸脱しない範囲で様々な変形を加えることができる。変形例としては、例えば以下のようなものが考えられる。
<変形例1>
上述した本実施形態では、第1〜第4のしきい値T1、T2、T3、T4を全て5分に設定した場合を例に説明を行ったが、各しきい値は携帯情報端末100の設計等に応じて適宜変更可能である。例えば、第1〜第4のしきい値T1、T2、T3、T4をそれぞれ10分、1時間、15分45秒、1時間10分30秒等に設定する等、時、分、秒等によって構成された時間を各しきい値として設定することも可能である。
また、内部時刻Tcがアラーム時刻Taを経過していない状態で基準時刻Tsを受信した場合、例えば内部時刻Tcとアラーム時刻Taとの時間差が上述した第1のしきい値よりも小さく、かつ、受信した基準時刻Tsがアラーム時刻Taを経過していた場合にアラーム音を鳴らすようにしても良い。また、内部時刻Tcがアラーム時刻Taを経過している状態で基準時刻Tsを受信した場合も同様、例えば内部時刻Tcとアラーム時刻Taとの時間差が上述した第3のしきい値よりも小さく、かつ、受信した基準時刻Tsがアラーム時刻Taを経過していない場合にアラーム音の2度鳴りを防止するようにしても良い。
【0048】
<変形例2>
また、上述した本実施形態に係る携帯情報端末100に、内部時刻Tcがアラーム時刻Taを経過していない状態において外部装置200から基準時刻Tsを受信した場合、内部時刻Tcとアラーム時刻Ta及び基準時刻Tsとアラーム時刻Taが所定条件を満たす場合(図5(a)参照)にのみ、アラーム音を鳴らす第1のアラームモードと、基準時刻Tsがアラーム時刻Taを経過している場合に無条件にアラーム音を鳴らす第2のアラームモードを設ける構成としても良い。係る構成とした場合、ユーザは予め操作ボタン等を操作することにより、アラームモードの選択を行う。CPU121は、無線通信部110を介して外部装置200からの基準時刻Tsを受け取ると、RAM123等に格納されている設定されたアラームモードに係る情報を確認する。ここで、第1のアラームモードが選択されている場合には、図4に示すフローを実行する。一方、第2のアラームモードが選択されている場合には、内部時刻Tcがアラーム時刻Taを経過しているか否か、基準時刻Tsがアラーム時刻Taを経過しているか否かを確認する。CPU121は、内部時刻Tcがアラーム時刻Taを経過しておらず、かつ、基準時刻Tsがアラーム時刻Taを経過していると判断すると、無条件にアラーム音を鳴らす。なお、その他の場合には図4に示すフローを実行する。このように、携帯情報端末100に各アラームモードを設け、ユーザが適宜選択可能な構成としても良い。
【0049】
<変形例3>
また、上述した本実施形態に係る携帯情報端末100に、内部時刻Tcがアラーム時刻Taと同一若しくはアラーム時刻Taを経過した状態において外部装置200から基準時刻Tsを受信した場合、内部時刻Tcとアラーム時刻Ta及び基準時刻Tsとアラーム時刻Taが所定条件を満たす場合(図6(a)参照)にのみ、アラーム音の2度鳴りを防止する第3のアラームモードと、基準時刻Tsがアラーム時刻Taを経過していない場合に無条件にアラーム音の2度鳴りを防止する第4のアラームモードと、基準時刻Tsがアラーム時刻Taを経過していない場合に無条件にアラーム音を2度鳴らす第5のアラームモードを設けるように構成しても良い。なお、係る構成を有する携帯情報端末100の動作については、変形例2に係る携帯情報端末100と同様に説明することができるため、説明を割愛する。また、変形例2に係る構成と本変形例に係る構成とを具備する携帯情報端末100を構成することも可能である。
【0050】
<変形例4>
図7は、変形例4に係る携帯情報端末100の構成を示すブロック図である。なお、図7においてRAM123を除く他の構成は、前掲図2と同様であるため説明を省略する。
ワールドタイム記憶領域123cは、世界の様々な都市(例えば、ニューヨーク、ロンドン等)における現時刻(以下、ワールドタイムという)Twと内部時刻Tcとの時差Tjを記憶するための記憶領域である。このワールドタイム記憶領域123cには、上述した各都市名と時差Tjとを対応付けた時差テーブルTTが格納されている。なお、該時差テーブルTTを格納する手段としてEEPROM等を利用しても良く、また時差テーブルTTに登録されているデータを変更しない場合には、該時差テーブルTTをROM122に格納しておくことも可能である。
【0051】
携帯情報端末100を所有するユーザがワールドタイムを表示すべき旨の入力操作を行うと、入力部140からCPU121へワールドタイムを表示すべき旨の指令が送出される。該指令を受け取ると、CPU121は計時回路32から内部時刻Tcを取得すると共に、時差テーブルTTから該指令に対応する都市名と時差Tjを取得する。CPU121は、内部時刻Tcと時差Tjとを加算して求めたワールドタイムTwと、該ワールドタイムTwに対応する都市名とを表示部130に供給し、これによりワールドタイムTw及び対応する都市名がLCDパネルに表示される。
【0052】
図8は、CPU121が実行する内部時刻修正・ワールドタイム修正処理のフローを示すフローチャートである。なお、携帯情報端末100と外部装置200との間で行われる同期確立処理、接続認証処理等は上述した本実施形態と同様であるため、説明を省略する。
携帯情報端末100の無線通信部110が外部装置200から基準時刻Tsを含むデータを受信すると、該無線通信部110はCPU121に対し、この基準時刻Tsを用いて携帯情報端末100の内部時刻Tcの修正、ワールドタイムTwの修正等を行うべき旨の指令を発する。
【0053】
CPU121は、無線通信部110から該指令及び基準時刻Tsを受け取ると、ROM122に格納されている内部時刻修正・ワールドタイム修正プログラムを読み出し、実行する。CPU121は、該指令を受け取ると、カウンタ回路32cに設定されている内部時刻Tcを読み出し、内部時刻Tcと基準時刻Tsとの時間差が、予め設定されているしきい値T5(=±10分)よりも小さいか否かを判断する(ステップSa1→ステップSa2)。CPU121は、該時間差がしきい値T5よりも小さいと判断すると(ステップSa2;YES)、上記のようにして求めたワールドタイムTwを修正すべく、該ワールドタイムTwに基準時刻Tsと内部時刻Tcとの差分Δtを加算してワールドタイムTw(=Tw+Δt)を修正し(ステップSa3)、同様にカウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し(ステップSa4)、処理を終了する。
【0054】
一方、CPU121は、内部時刻Tcと基準時刻Tsとの時間差が、予め設定されているしきい値T5以上であると判断すると(ステップSa2;NO)、ステップSa3をスキップしてステップSa4に進み、カウンタ回路32cに基準時刻Tsと内部時刻Tcとの差分Δtをセットして内部時刻Tc(=Ts)を修正し、処理を終了する。
【0055】
このように、ワールドタイム表示機能を搭載した携帯情報端末100に本発明を適用することも可能である。なお、アラーム設定機能、ワールドタイム表示機能を利用するほか、例えば近距離無線通信機能を利用して所定時刻に外部装置200とデータ通信を開始する場合、あるいは所定時刻に外部装置200(例えば、エアコン等)のスイッチをオンするためのコマンドを送信する場合等にも本発明を適用することが可能である。また、本変形例に上述した各変形例を適用することができるのは、言うまでもない。
【0056】
<変形例5>
また、上述した本実施形態では、アラーム時刻の到来をユーザに報知する手段として音源、スピーカ等を例示したが、例えば圧電ブザー、音叉等を利用することも可能であり、またバイブレータ等を利用して振動によってアラーム時刻の到来を報知しても良い。また、このようなアラーム報知手段を備えていない携帯情報端末であれば、表示部130にアラーム時刻の到来を報知する文字メッセージ(「アラーム時刻です!!」等)、画像(ニワトリを模倣した画像等)を表示したり、時刻表示を点滅させたり、時刻表示の色若しくは時刻表示の背景の色を変えたりすることによりアラーム時刻の到来を報知するようにしても良い。
【0057】
<変形例6>
また、上述した本実施形態では、近距離無線通信機能を搭載した携帯情報端末100を例に説明を行ったが、例えば上述した従来技術の項において説明した電波時計や、GPS(Global Positioning System)受信機及びGPSシステムの衛星から送信される時刻データによって表されている現在時刻に表示時刻を合わせる表示時刻修正機能を搭載した時計等にも適用可能である。また、有線通信機能(例えば、RS232C等)及び有線通信によって取得した基準時刻に基づき表示時刻を修正する機能を備えた時計等にも適用可能である。さらに、時刻表示のための針と、該針の駆動部とにより時刻表示を行うアナログ表示時計に対しても適用可能である。さらに、時刻表示及び時刻修正機能、アラーム報知機能等を備えた電子手帳、PHS(Personal Handyphone System)、携帯電話、パーソナルコンピュータ、ページャ、Bluetooth機器、IEEE802.11b機器、White Cap機器、IEEE802.11a機器、Wireless 1394機器、IrDA機器等の電子機器にも適用可能である。なお、CPU121に係る諸機能は、ハードウェアによって実現することも可能である。
【0058】
<変形例7>
また、上述した本実施形態では、Bluetoothを搭載した携帯情報端末100を例に説明を行ったが、外部と近距離無線通信を行う回路を含むICチップを搭載した携帯情報端末100’にも適用可能である。
図9は、携帯情報端末100’と近距離無線通信を行う外部送受信装置RWの電気的構成を示す図である。
図9に示すように、外部送受信装置RWは、制御装置CUと、アンテナATと、高周波回路HFと、送信回路TMと、受信回路RCとを備えている。
【0059】
制御装置CUは、基準時刻を含む各種データを生成するサーバSVと外部送受信装置RWに接近した携帯情報端末100’との間の通信制御を行う装置である。サーバSVから送信された携帯情報端末100’宛のデータは制御装置CUにより送信回路TMに送られる。送信回路TMは、このデータによってキャリアをPSK(Phase Shift Keying;位相シフトキーイング)変調し、送信信号を生成する。この送信信号は高周波回路HFによりアンテナATから送信される。
【0060】
ここで、送信回路TMにおいて用いられるキャリアの周波数は、例えば13.56MHzである。この周波数は、数センチ程度の近距離通信に適した周波数であるので、ユーザが携帯情報端末100’を外部送受信装置RWのアンテナATの数センチ以内に近接させた場合に、外部送受信装置RWと携帯情報端末100’との間でデータ通信が行うことができる。携帯情報端末100’から送信された信号は、アンテナATおよび高周波回路HFを介して受信回路RCに至り、この受信回路RCによって受信される。受信回路RCは、この受信信号から携帯情報端末100’の送信データをPSK復調する。この送信データは、制御装置CUによりサーバSVに送られる。
【0061】
図10は、携帯情報端末100’の構成を示す断面図である。
図10に示すように、携帯情報端末100’は、カバーガラス1と、ケーシング2と、裏蓋101によって形成された筐体を備えている。この筐体の内部では、回路基板103が裏蓋101に対して水平に固定されている。そして、回路基板103には、時計モジュール104と、ループアンテナ106と、同調コンデンサ107と、水晶振動子108が実装されている。ここで、時計モジュール104は、サーバSVとのデータ通信およびこのデータ通信を利用した各種の処理を行う回路を含むICチップにより構成されている。
【0062】
ループアンテナ106と、同調コンデンサ107と、水晶振動子108は、時計モジュール104のICチップ内の回路と電気的に接続されている。また、回路基板103と裏蓋101との間隙には電池109が収納されており、この電池109の出力電圧は電源電圧として時計モジュール104のICチップに供給されるようになっている。なお、図10では図面が煩雑になるのを防ぐため、ICチップの図示は省略されている。
【0063】
図11は、時計モジュール104の電気的構成を示すブロック図である。
制御部12は、時計モジュール104を中枢的に制御する装置である。
発振部10は、発振回路と、合成回路とを備えている。発振回路には、水晶振動子108が基準発信源として接続されており、該発信回路は所定の周波数の基準パルスを生成して合成回路に出力する。合成回路は、基準パルスを分周して分周パルスを生成し、その分周パルスと基準パルスとを合成することで、パルス幅やエッジの発生タイミングの異なるパルス信号を発生する。
表示部25は、例えばLCD(Liquid Crystal Display)パネルなどにより構成され、時刻情報などを表示する。
【0064】
鳴音部27は、電子音発生装置であり、例えば利用者が予め設定しておいた時刻になると、電子音を発し、利用者に設定時刻が到来したことを認識させる、などのように動作する。
外部入力装置16は、例えばリュウズであり、これは時計モジュール104の構成要素ではないが、本変形例の理解を容易にするため、時計モジュール104とともに図示されている。携帯情報端末100’の利用者は、この外部入力装置16を介して手動で、日付や時刻などの表示を修正することができる。
【0065】
電池109は、時計モジュール104が動作するための電源を供給する装置である。電池109には、1次電池を使用することも、2次電池を使用することも可能である。
無線処理部11は、ループアンテナ106により外部送受信装置RWと近距離無線通信を行うことにより、携帯情報端末100’のユーザの利用できる各種サービスに関する処理を行うとともに、この処理の過程において基準時刻Tsを取得することができたときは、この基準時刻Tsを用いて携帯情報端末100’の表示時刻を修正すべき旨の指令を制御部12に送る回路である。この無線処理部11は、基準信号作成回路190と、キャリア検出回路111と、変調部112と、復調部113と、中央制御回路114と、記憶部115とを具備している。
【0066】
基準信号作成回路190は、ループアンテナ106を介して入力されたアナログ受信信号からビット同期用のクロック信号CLOCKを抽出する回路である。このクロック信号CLOCKを基準として、無線処理部11は動作する。
【0067】
キャリア検出回路111は、ループアンテナ106を介して受信したアナログ受信信号に所定周波数のキャリアが含まれているとき、キャリア検出信号CRDETを出力する。このキャリア検出信号CRDETが出力されることにより、携帯情報端末100’は、外部送受信装置RWとの間のデータ授受を開始する。
変調部112は、中央制御回路114から与えられる外部送受信装置RW宛のデータによって所定周波数のキャリアにPSK変調を施し、ループアンテナ106から出力する。
復調部113は、中央制御回路114による制御の下、ループアンテナ106によって受信されるアナログ受信信号のPSK復調を行って受信データを復元し、中央制御回路114に供給する。
【0068】
中央制御回路114は、無線処理部11を構成する各ブロック全体を制御する回路であり、暗号処理回路114aと計時カウンタ114bとを備えている。
暗号処理回路114aは、いわゆる暗号処理コプロセッサである。中央制御回路114は、携帯情報端末100’と外部送受信装置RWとの間でデータの授受が行われるとき、そのデータが第三者に知られることのないよう、この暗号処理回路114aによりデータ内容を暗号化する。暗号化方式にはDES(Data Encryption Standard)、RSA(Rivest,Shamir,Adleman の頭文字)など、様々な方式を用いることができる。
【0069】
計時カウンタ114bは、内部時刻Tcの計時を行うためのカウンタであり、表示駆動回路211は、このカウンタのカウント値である内部時刻Tcを表示部25に表示し、鳴音駆動回路212は、中央制御回路114による制御の下、鳴音部27を駆動することにより利用者に設定時刻が到来したことを認識させる。この中央制御回路114は、携帯情報端末100’が外部送受信装置RWを介してサーバSVから基準時刻Tsを受信すると、計時カウンタ114bのカウント値を基準時刻Tsによって書き換え、表示部25に表示される時刻の修正を行う。
【0070】
記憶部115は、例えば、EEPROM(Electrically Erasable and Programmable Read Only Memory)や、FeRAM(Ferroelectric Random Access Memory)などによって構成される。この記憶部115は、本実施形態において説明したRAM123と同様、アラーム時刻を格納する記憶領域、アラームフラグを記憶する記憶領域等、複数の記憶領域を備えている。
以上が本変形例の構成である。
【0071】
携帯情報端末100’の中央制御回路114は、外部送受信装置RWから無線処理部11を介して基準時刻Tsを受信すると、前掲図4に示す内部時刻修正・アラーム報知処理を実行する。なお、中央制御回路114の動作等については、上述した本実施形態と同様であるため、説明を割愛する。
【0072】
【発明の効果】
以上説明したように、本実施形態に係る携帯情報端末によれば、アラーム時刻が到来し、かつ、所定条件を満たした場合にのみアラーム時刻の到来を報知する。従って、不必要な該報知によって煩わしい思いをするユーザ等の精神的苦痛を軽減することが可能となる。
【図面の簡単な説明】
【図1】 本実施形態に係る携帯情報端末の外観を示す図である。
【図2】 同実施形態に係る携帯情報端末の構成を示すブロック図である。
【図3】 携帯情報端末と外部装置との間で行われる接続認証処理等を説明するための図である。
【図4】 内部時刻修正・アラーム報知処理のフローを示すフローチャートである。
【図5】 内部時刻修正・アラーム報知処理を説明するための図である。
【図6】 内部時刻修正・アラーム報知処理を説明するための図である。
【図7】 変形例4に係る携帯情報端末の構成を示すブロック図である。
【図8】 内部時刻修正・ワールドタイム修正処理のフローを示すフローチャートである。
【図9】 変形例7に係る外部送受信装置の構成を示すブロック図である。
【図10】 同変形例に係る携帯情報端末の構成を示す図である。
【図11】 同変形例に係る時計モジュールの構成を示すブロック図である。
【符号の説明】
100、100’・・・携帯情報端末、110・・・無線通信部、120・・・制御部、125・・・報知部、130・・・表示部、140・・・入力部、121・・・CPU、122・・・ROM、123・・・RAM、123a・・・アラーム時刻記憶領域、123b・・・アラームフラグ記憶領域、32・・・計時回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic device and a control program.
[0002]
[Prior art]
In recent years, a long-wave standard radio wave on which data indicating the current time is superimposed is received, and the current time (referred to as the reference time) represented by the time data in the radio wave is adjusted to the current time (referred to as the internal time) indicated by the internal clock Radio clocks equipped with a time correction function are in practical use. Further, development of a radio timepiece with an alarm function to which a function of notifying the user of the arrival of the alarm time by sounding an alarm sound at a preset alarm time has been advanced.
[0003]
[Problems to be solved by the invention]
By the way, the above-mentioned radio timepiece with an alarm function sounds an alarm sound when the internal time reaches a preset alarm time, or receives the reference time even when the internal time does not reach the alarm time. Is configured to sound an alarm sound when the alarm time has passed.
Therefore, the radio timepiece with alarm function is, for example, beyond the time zone (for example, a foreign country with a time difference of 5 hours) with the internal time and the alarm time set to 10:00 and 12:00, respectively. Even when the reference time is received, an alarm sound is generated. That is, even when the preset alarm time is meaningless, the alarm sound is generated, and the user who owns the radio clock with the alarm function feels troublesome.
The present invention has been made in view of the circumstances described above, and provides an electronic device and a control program for notifying the arrival of an alarm time only when the alarm time arrives and a predetermined condition is satisfied. Objective.
[0004]
[Means for Solving the Problems]
In order to solve the above problem, the electronic device according to claim 1 refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock. An execution means for executing a predetermined process at a set time, and when a reference time is received by the receiving means, the internal time indicated by the internal clock has not passed the set time, and the set time and the The time difference from the internal time is preset First threshold Is within range, and When the reference time has passed the set time, and the time difference between the set time and the reference time is within a preset second threshold range, Control means for obtaining a time difference between the reference time and the internal time so as to correct the internal time and performing control for causing the execution means to execute a predetermined process.
[0005]
According to this configuration, the control means has a first threshold in which an internal time indicated by an internal clock does not pass the set time and a time difference between the set time and the internal time is preset. Within the range of values, and When the reference time has passed the set time and the time difference between the set time and the reference time is within a preset second threshold range Only in the above, control for causing the execution means to execute the predetermined process is performed. Here, for example, when the predetermined process is a process of sounding an alarm sound at the set time and notifying the arrival of the set time, the time difference between the set time and the internal time is within a preset threshold range. If not, the alarm will not sound. For this reason, it becomes possible to reduce mental pains such as annoying thoughts by the alarm sound.
[0006]
The electronic device according to claim 2 refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock, and performs predetermined processing at the set time. Execution means for executing the operation, selection means for selecting any one of the first execution mode and the second execution mode, and the reception means in a state where the first execution mode is selected by the selection means When the reference time is received by the internal time indicated by the internal clock when the set time has not passed and the reference time has passed the set time, the reference time and the internal time The internal time is corrected by obtaining the time difference between the first execution mode and the execution means is controlled to execute a predetermined process, while the second execution mode is selected by the selection means. When the reference time is received by the receiving means have, internal time the internal clock indicates has not passed the set time, and, The time difference between the set time and the internal time is within a preset first threshold range, the reference time has passed the set time, and the set time and the reference time Is within the second threshold range set in advance, Control means for obtaining a time difference between the reference time and the internal time so as to correct the internal time and performing control for causing the execution means to execute a predetermined process.
[0007]
According to a third aspect of the present invention, an electronic device refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock, and performs predetermined processing at the set time. And when the reference time is received by the receiving means, the internal time indicated by the internal clock has passed the set time, and the time difference between the set time and the internal time is predetermined. Is within a set first threshold range, and When the reference time has not passed the set time and the time difference between the set time and the reference time is within a preset second threshold range, A control is performed to obtain a time difference between the reference time and the internal time to correct the internal time, and to prevent the execution means from executing a predetermined process when the corrected internal time reaches the set time. And a control means for performing.
[0008]
The electronic device according to claim 4 refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock, and performs predetermined processing at the set time. Execution means for executing the operation, selection means for selecting any one of the first execution mode and the second execution mode, and the reception means in a state where the first execution mode is selected by the selection means When the reference time is received by If the internal time indicated by the internal clock has passed the set time and the reference time has not passed the set time, the time difference between the reference time and the internal time is obtained and the internal time A state in which the second execution mode is selected by the selection unit while the correction unit performs the control so that the execution unit does not execute a predetermined process when the corrected internal time reaches the set time When the reference time is received by the receiving means, the internal time indicated by the internal clock has passed the set time, and the time difference between the set time and the internal time is preset. A second threshold value that is within a threshold range, the reference time has not passed the set time, and a time difference between the set time and the reference time is preset. If there is to囲内, A control is performed to obtain a time difference between the reference time and the internal time to correct the internal time, and to prevent the execution means from executing a predetermined process when the corrected internal time reaches the set time. And a control means for performing.
[0009]
According to another aspect of the invention, the electronic device refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock, and performs predetermined processing at the set time. And when the reference time is received by the receiving means, The internal time indicated by the internal clock does not pass the set time, and the time difference between the set time and the internal time is within a preset first threshold range, and the reference When the time has passed the set time and the time difference between the set time and the reference time is within a preset second threshold range, the time difference between the reference time and the internal time The internal time is corrected and the execution means is controlled to execute a predetermined process, and when the reference time is received by the reception means, the internal time indicated by the internal clock is The set time has passed, the time difference between the set time and the internal time is within a preset third threshold range, and the reference time has not passed the set time. And the above setting If the time difference between the time and the reference time is within the fourth threshold value range set in advance, A control is performed to obtain a time difference between the reference time and the internal time to correct the internal time, and to prevent the execution means from executing a predetermined process when the corrected internal time reaches the set time. And a control means for performing.
[0010]
According to another aspect of the invention, the electronic device refers to an internal clock, a receiving unit that receives a reference time from the outside, a storage unit that stores a set time, and the internal clock, and performs predetermined processing at the set time. Execution means for executing the operation, selection means for selecting any one of the first execution mode and the second execution mode, and the reception means in a state where the first execution mode is selected by the selection means When the reference time is received by When the internal time indicated by the internal clock has not passed the set time and the reference time has passed the set time, the internal time is determined by obtaining a time difference between the reference time and the internal time. The internal time indicated by the internal clock has passed the set time, and the reference time has changed the set time. If not, the time difference between the reference time and the internal time is obtained to correct the internal time, and when the corrected internal time reaches the set time, the execution means performs a predetermined process. When the reference time is received by the receiving unit in a state where the second execution mode is selected by the selecting unit, the internal time indicated by the internal clock is controlled. Has not passed the set time, the time difference between the set time and the internal time is within a first threshold range set in advance, and the reference time has passed the set time And the time difference between the set time and the reference time is within a preset second threshold range, A time difference between the reference time and the internal time is obtained to correct the internal time, and control is performed to cause the execution means to execute a predetermined process. On the other hand, when the reference time is received by the receiving means, the internal time indicated by the internal clock has passed the set time, and the time difference between the set time and the internal time is preset. And the reference time has not passed the set time, and the time difference between the set time and the reference time is within a preset fourth threshold range. The internal time is corrected by obtaining a time difference between the reference time and the internal time, and the execution means does not execute a predetermined process when the corrected internal time reaches the set time. Control for And a control means.
[0011]
The electronic device according to claim 7 is the electronic device according to any one of claims 1 to 6, wherein the execution unit is a notification unit that notifies the arrival of the time at the set time. It is characterized by being.
[0012]
The electronic device according to claim 8 is the electronic device according to any one of claims 1 to 6, wherein the execution unit is a communication execution unit that communicates with the outside at the set time. It is characterized by that.
[0013]
According to a ninth aspect of the present invention, there is provided a control program comprising: a computer having an internal clock and a receiving unit that receives a reference time from the outside; and the internal time indicated by the internal clock when the reference unit receives the reference time. Has not passed the set time, and the time difference between the set time and the internal time is preset. First threshold And the reference time has passed the set time. And the time difference between the set time and the reference time is within a preset second threshold range, In order to correct the internal time by obtaining a time difference between the reference time and the internal time, and to cause the execution unit to execute the predetermined process at the set time by referring to the internal time It is characterized by realizing a control function for performing the above control.
[0014]
The control program according to claim 10, wherein a computer having an internal clock and a receiving unit that receives a reference time from outside receives the internal time indicated by the internal clock when the reference time is received by the receiving unit. Has passed the set time, and the time difference between the set time and the internal time is preset. First threshold And the reference time has passed the set time. And the time difference between the set time and the reference time is within a preset second threshold range, The internal time is corrected by obtaining a time difference between the reference time and the internal time, and when the corrected internal time reaches the set time, a predetermined process is performed on the set time with reference to the internal time. And a control function for performing control so as not to cause the execution means for executing the predetermined processing to be executed.
[0023]
A computer-readable recording medium records the control program according to claim 9 or 10.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment in which the present invention is applied to a portable information terminal having an alarm function will be described. Such an embodiment shows one aspect of the present invention, and can be arbitrarily changed within the scope of the technical idea of the present invention.
[0025]
A. This embodiment
(1) Configuration of the embodiment
FIG. 1 is a diagram illustrating an appearance of the portable information terminal 100 according to the present embodiment, and FIG. 2 is a block diagram illustrating a configuration of the portable information terminal 100.
A portable information terminal 100 shown in FIG. 1 is a wristwatch-type portable information terminal having a short-range wireless communication function represented by Bluetooth, for example, and wirelessly communicates with an external device 200 such as a mobile phone having the function. It is possible to send and receive various data.
As shown in FIG. 2, the mobile information terminal 100 displays a wireless communication unit 110, a control unit 120 that controls each part of the mobile information terminal 100, a notification unit 125 that notifies the arrival of an alarm time, and various types of information. Display unit 130, an input unit 140 for a user to perform various operations, and a secondary battery 150 that supplies power to the portable information terminal 100.
[0026]
The wireless communication unit 110 performs processing related to various services that can be used by the user of the portable information terminal 100 by performing short-range wireless communication with the external device 200, and acquires time data (reference time) Ts from the external device 200. In this case, a command to correct the current time (internal time) Tc of the portable information terminal 100 is sent to the control unit 120 using the reference time Ts.
The wireless communication unit 110 includes an antenna 21, an antenna switch 22 that switches connection, a receiving circuit 23, and a transmitting circuit 24.
The reception circuit 23 demodulates the signal received via the antenna 21 based on the transmission signal SVCO supplied from the transmission circuit 24, and outputs it as reception data DRX.
The transmission circuit 24 modulates transmission data DTX supplied from the CPU 121 and transmits it to the external device 200 via the antenna 21.
[0027]
The control unit 120 includes a CPU (Central Processing Unit) 121, a ROM (Read Only Memory) 122, a RAM (Random Access Memory) 123, and a timer circuit 32.
The CPU 121 centrally controls the portable information terminal 100 based on various control programs stored in the ROM 122, and also corrects the internal time by executing an internal time correction / alarm notification program stored in the ROM 122. -Perform alarm notification processing.
The RAM 123 is a rewritable memory and identifies whether an alarm time storage area 123a for storing an alarm time Ta (for example, AM 7:00 or the like) arbitrarily set by the user and whether the alarm time Ta is set. And a plurality of storage areas such as an alarm flag storage area 123b for storing an alarm flag (“1” = set, “0” = reset).
In this embodiment, it is assumed that the alarm time Ta, the alarm flag, and the like are stored in the RAM 123, but may be stored in a nonvolatile memory such as an EEPROM (Electrically Erasable and Programmable Read Only Memory).
[0028]
The clock circuit (internal clock) 32 is a means for measuring the internal time Tc, and includes a crystal unit 31. Transmission circuit 32a And a frequency dividing circuit 32b and a counter circuit 32c. Transmission circuit 32a Generates a pulse having a predetermined frequency (for example, 32.768 kHz) by the crystal unit 31 and outputs the pulse to the frequency dividing circuit 32b. The frequency dividing circuit 32b appropriately divides the pulse supplied from the transmission circuit 32a and supplies it to the CPU 121 as a clock signal, while generating a pulse of 1HZ (1 second), for example, and outputs it to the counter circuit 32c. The counter circuit 32c counts pulses sequentially generated in the frequency dividing circuit 32b, and measures an internal time Tc constituted by hours, minutes, seconds and the like.
[0029]
The notification unit 125 includes a sound source that generates an alarm sound, a speaker that outputs the alarm sound, and the like. The notification unit 125 operates the speaker based on a drive signal supplied from the CPU 121 to notify the arrival of the alarm time Ta. An alarm sound (for example, a beep sound) is generated.
The display unit 130 includes an LCD (Liquid Crystal Display) panel, an LCD controller (not shown), and the like, and displays internal time, alarm setting time, and the like under the control of the control unit 120.
The input unit 140 includes various operation buttons, an input circuit (not shown) connected to the operation buttons, and the like, and the user sets an alarm time by operating the operation buttons.
[0030]
(2) Operation of the embodiment
First, when the user turns on the portable information terminal 100 and brings it close to the external device 200 (see FIG. 3A), the synchronization is established between the external device 200 (master) and the portable information terminal 100 (slave). Establishment processing, connection authentication processing, and the like are performed (see FIG. 3B).
After the above process is completed and communication is started between the external device 200 and the portable information terminal 100, when the wireless communication unit 110 of the portable information terminal 100 receives data including the reference time Ts from the external device 200, The wireless communication unit 110 issues a command to the CPU 121 that the internal time Tc of the portable information terminal 100 should be corrected, alarm notification, etc. should be performed using the reference time Ts.
[0031]
When the CPU 121 receives the command and the reference time Ts from the wireless communication unit 110, the CPU 121 reads and executes the time correction / alarm notification program stored in the ROM 122.
FIG. 4 is a flowchart showing the flow of the internal time correction / alarm notification process executed by the CPU 121, and FIGS. 5 and 6 are schematic diagrams for explaining the internal time correction / alarm notification process. Note that C1 to C10 and S1 to S10 illustrated in FIGS. 5 and 6 indicate ranges in which the internal time Tc and the reference time Ts can exist, respectively. In the following description, it is assumed that the alarm time Ta is set to 12:00 (alarm flag; “1”).
[0032]
a) When the internal time Tc has not passed the alarm time Ta (Tc <Ta)
When the CPU 121 receives the reference time Ts from the wireless communication unit 110, the CPU 121 reads the internal time Tc set in the counter circuit 32c and also reads the alarm time Ta stored in the alarm time storage area 123a. The alarm time Ta is compared (step S1 → step S2).
[0033]
Here, for example, as shown in FIG. 5A, the internal time Tc has not passed the alarm time Ta (= 12: 00), and the time difference between the alarm time Ta and the internal time Tc is the first value. If it is smaller than the threshold value T1 (= 5 minutes) (step S2; YES), the CPU 121 proceeds to step S3.
The CPU 121 compares the reference time Ts with the alarm time Ta, and as indicated by S1 in FIG. 5A, the reference time Ts is the same as or exceeds the alarm time Ta, and the reference time Ts. If the time difference between the alarm time Ta and the alarm time Ta is determined to be equal to or smaller than the second threshold value T2 (= 5 minutes) (step S3; YES), the alarm flag storage area 123b is referred to. Since the alarm flag is set to “1”, the CPU 121 generates a drive signal to notify the user of the arrival of the alarm time, and transmits it to the notification unit 125 (step S4). The CPU 121 sets the difference Δt between the reference time Ts and the internal time Tc in the counter circuit 32c to correct the internal time Tc (= Ts) (step S5), while the notification unit 125 sounds an alarm sound for a predetermined time. The alarm flag is set to “0” and the process is terminated.
[0034]
On the other hand, as shown in FIG. 5B, the CPU 121 has the same reference time Ts as the alarm time Ta or has passed the alarm time Ta, and the time difference between the reference time Ts and the alarm time Ta is second. When it is larger than the threshold value T2 (step S3 → step S7), the process proceeds to step S8, the alarm flag is set to “0” without notifying the user of the arrival of the alarm time, and the reference time Ts The difference Δt from the time Tc is set to correct the internal time Tc (= Ts) (step S5), and the process is terminated.
[0035]
Further, as shown in FIG. 5C, the CPU 121 determines that the time difference between the alarm time Ta and the internal time Tc is the first threshold value T1 even when the internal time Tc has not passed the alarm time Ta. If it is determined that the above is true (step S2; NO), the process proceeds to step S6.
If the CPU 121 determines in step 6 that the internal time Tc is smaller than the alarm time Ta (step S6; YES), the CPU 121 proceeds to step S7 and compares the reference time Ts with the alarm time Ta. When the CPU 121 determines that the reference time Ts matches the alarm time Ta or has passed the alarm time Ta as shown in FIG. 5C (step S7; YES), the CPU 121 proceeds to step S8 and informs the user of the alarm time. Without notifying the arrival, the alarm flag is set to “0”, the difference Δt between the reference time Ts and the internal time Tc is set in the counter circuit 32c, and the internal time Tc (= Ts) is corrected (step S5). The process ends.
[0036]
Further, as shown in FIG. 5D, the CPU 121 determines that the time difference between the alarm time Ta and the reference time Ts is the same even when the reference time Ts is the same as the alarm time Ta or the alarm time Ta has not elapsed. 2 (step S3 → step S7), the alarm flag is not inverted (alarm flag; “1”), and the process proceeds to step S5, where the counter circuit 32c receives the reference time Ts and the internal time. The difference Δt from the time Tc is set to correct the internal time Tc (= Ts), and the process ends.
[0037]
Further, as shown in FIG. 5E, the CPU 121 determines that the time difference between the internal time Tc and the alarm time Ta is equal to or greater than the first threshold value T1, and the reference time Ts has not passed the alarm time Ta. (Step S2 → step S6 → step S7), the alarm flag is not inverted (alarm flag; “1”), and the process proceeds to step S5, where the counter circuit 32c is set to the difference Δt between the reference time Ts and the internal time Tc. Is set to correct the internal time Tc (= Ts), and the process ends.
[0038]
b) When the internal time Tc has passed the alarm time Ta (Tc ≧ Ta)
When the CPU 121 receives the reference time Ts from the wireless communication unit 110, the CPU 121 reads the internal time Tc set in the counter circuit 32c and also reads the alarm time Ta stored in the alarm time storage area 123a. The alarm time Ta is compared (step S1 → step S2).
[0039]
Here, for example, as shown in FIG. 6A, when the internal time Tc is the same as the alarm time Ta or the alarm time Ta has passed (step S2 → step S6), the CPU 121 proceeds to step S9.
In the CPU 121, the internal time Tc matches the alarm time Ta or the alarm time Ta has elapsed, and the time difference between the reference time Ts and the alarm time Ta is smaller than the third threshold value T3 (= 5 minutes). (Step S9; YES), the process proceeds to step S10.
[0040]
As shown in FIG. 6A, the CPU 121 determines that the reference time Ts is the same as the alarm time Ta or the alarm time has not elapsed, and the time difference between the reference time Ts and the alarm time Ta is the fourth threshold value. If it is determined that the time is equal to or less than T4 (= 5 minutes) (step S10; YES), the process proceeds to step S11, and the alarm flag is set to “0” in order to prevent the alarm sound from sounding twice. Then, the CPU 121 sets the difference Δt between the reference time Ts and the internal time Tc in the counter circuit 32c, corrects the internal time Tc (= Ts) (step S5), and ends the process. As a result, even if the corrected internal time Tc reaches the alarm time Ta again, no alarm sound is generated from the notification unit 125.
[0041]
On the other hand, as shown in FIG. 6B, the CPU 121 determines that the reference time Ts is the same as the alarm time Ta or the alarm time even when the internal time Tc is the same as the alarm time Ta or the alarm time Ta has elapsed. If it is determined that Ta has not elapsed and the time difference between the reference time Ts and the alarm time Ta is equal to or greater than the fourth threshold value T4 (step S10 → step S12), an alarm is issued to sound the alarm sound again. Set the flag to “1”. Then, the CPU 121 sets the difference Δt between the reference time Ts and the internal time Tc in the counter circuit 32c, corrects the internal time Tc (= Ts) (step S5), and ends the process. As a result, when the corrected internal time Tc reaches the alarm time Ta again, an alarm sound is generated from the notification unit 125.
[0042]
If the CPU 121 determines that the time difference between the internal time Tc and the alarm time Ta is greater than or equal to the third threshold T3 (step S9; NO), the process proceeds to step S12 as shown in FIG. 6C.
If the CPU 121 determines in step 12 that the reference time Ts is the same as the alarm time Ta or the alarm time Ta has not elapsed (step S12; YES), as shown in FIG. Set the alarm flag to "1" to play the sound again. Then, the CPU 121 sets the difference Δt between the reference time Ts and the internal time Tc in the counter circuit 32c, corrects the internal time Tc (= Ts) (step S5), and ends the process. As a result, when the corrected internal time Tc reaches the alarm time Ta again, an alarm sound is generated from the notification unit 125.
[0043]
Further, as shown in FIG. 6D, the CPU 121 determines that the time difference between the reference time Ts and the alarm time Ta is the same even when the reference time Ts is the same as the alarm time Ta or the alarm time Ta has elapsed. 4 is greater than the threshold value T4 (step S10 → step S12), the process proceeds to step S5 without changing the alarm flag, and the difference Δt between the reference time Ts and the internal time Tc is set in the counter circuit 32c. Then, the internal time Tc (= Ts) is corrected, and the process ends.
[0044]
Further, as shown in FIG. 6E, the CPU 121 has a time difference between the internal time Tc and the alarm time Ta that is equal to or greater than a third threshold value T3, and the reference time Ts has passed the alarm time Ta. (Step S9 → Step S12), the process proceeds to Step S5 without changing the alarm flag, sets the difference Δt between the reference time Ts and the internal time Tc in the counter circuit 32c, and sets the internal time Tc (= Ts). Correct and finish the process.
[0045]
As described above, according to the portable information terminal 100 according to the present embodiment, when the reference time Ts is received from the external device 200 when the internal time Tc has not passed the alarm time Ta, the internal time Tc and the alarm Only when the time Ta, the reference time Ts, and the alarm time Ta satisfy the predetermined conditions (see FIG. 5A), an alarm sound for notifying the arrival of the alarm time sounds. Therefore, when the condition is not satisfied, for example, when the internal time Tc and the alarm time Ta are set to 10:00 and 12:00, respectively, the user who owns the portable information terminal 100 exceeds the time zone (for example, When the reference time Ts (= 15: 00) is received in a foreign country having a time difference of 5 hours, the internal time Tc is corrected to 15:00 based on the reference time Ts, but no alarm sound is generated. . That is, even when the internal time Tc reaches the alarm time Ta, if it is meaningless to sound the alarm sound, the alarm sound is not sounded. For this reason, it becomes possible to reduce mental pains such as annoying thoughts by the alarm sound.
[0046]
Further, according to the portable information terminal 100, when the internal time Tc is the same as the alarm time Ta or the reference time Ts is received from the external device 200 in a state where the alarm time Ta has elapsed, the internal time Tc, the alarm time Ta, and the reference Only when the time Ts and the alarm time Ta satisfy the predetermined conditions (see FIG. 6A), the alarm sound is prevented from ringing twice. For example, when the reference time Ts (= 11: 58) is received in a state where the internal time Tc and the alarm time Ta are set to 12:03 and 12:00, respectively, the internal time Tc is 11 based on the reference time Ts. However, even if the corrected internal time Tc reaches the alarm time Ta again, the alarm sound does not sound because the alarm sound is sounded once at a close time. For this reason, it becomes possible to reduce mental pains such as annoying thoughts by the alarm sound. In the present embodiment, the case where the portable information terminal 100 receives the reference time Ts from the external device 200 has been described as an example, but the case where the external device 200 receives the reference time Ts from the portable information terminal 100 is also described. Applicable.
[0047]
(3) Modification
Although one embodiment of the present invention has been described above, the above embodiment is merely an example, and various modifications can be made to the above embodiment without departing from the spirit of the present invention. As modifications, for example, the following can be considered.
<Modification 1>
In the above-described embodiment, the case where the first to fourth threshold values T1, T2, T3, and T4 are all set to 5 minutes has been described as an example. It can be appropriately changed according to the design and the like. For example, the first to fourth threshold values T1, T2, T3, T4 are set to 10 minutes, 1 hour, 15 minutes 45 seconds, 1 hour 10 minutes 30 seconds, etc., depending on the hour, minute, second, etc. It is also possible to set the configured time as each threshold value.
Further, when the reference time Ts is received in a state where the internal time Tc has not passed the alarm time Ta, for example, the time difference between the internal time Tc and the alarm time Ta is smaller than the first threshold value described above, and An alarm sound may be sounded when the received reference time Ts has passed the alarm time Ta. Similarly, when the reference time Ts is received when the internal time Tc has passed the alarm time Ta, for example, the time difference between the internal time Tc and the alarm time Ta is smaller than the above-described third threshold value. In addition, when the received reference time Ts has not passed the alarm time Ta, the alarm sound may be prevented from sounding twice.
[0048]
<Modification 2>
Further, when the mobile information terminal 100 according to the present embodiment described above receives the reference time Ts from the external device 200 in a state where the internal time Tc has not passed the alarm time Ta, the internal time Tc, the alarm time Ta, and the reference Only when the time Ts and the alarm time Ta satisfy the predetermined condition (see FIG. 5A), the first alarm mode for sounding the alarm sound and the unconditional when the reference time Ts has passed the alarm time Ta It is good also as a structure which provides the 2nd alarm mode which sounds an alarm sound. In such a configuration, the user selects an alarm mode by operating an operation button or the like in advance. When the CPU 121 receives the reference time Ts from the external device 200 via the wireless communication unit 110, the CPU 121 confirms information related to the set alarm mode stored in the RAM 123 or the like. Here, when the first alarm mode is selected, the flow shown in FIG. 4 is executed. On the other hand, when the second alarm mode is selected, it is confirmed whether the internal time Tc has passed the alarm time Ta and whether the reference time Ts has passed the alarm time Ta. When the CPU 121 determines that the internal time Tc has not passed the alarm time Ta and the reference time Ts has passed the alarm time Ta, the CPU 121 sounds an alarm sound unconditionally. In other cases, the flow shown in FIG. 4 is executed. As described above, the mobile information terminal 100 may be provided with each alarm mode so that the user can select as appropriate.
[0049]
<Modification 3>
In addition, when the mobile information terminal 100 according to the present embodiment described above receives the reference time Ts from the external device 200 when the internal time Tc is the same as the alarm time Ta or when the alarm time Ta has elapsed, the internal time Tc and the alarm Only when the time Ta, the reference time Ts, and the alarm time Ta satisfy the predetermined conditions (see FIG. 6A), the third alarm mode for preventing the alarm sound from ringing twice, and the reference time Ts is the alarm time Ta. A fourth alarm mode for unconditionally preventing the alarm sound from being sounded twice if the time has not passed, and an alarm sound to be sounded twice unconditionally if the reference time Ts has not passed the alarm time Ta. 5 alarm modes may be provided. Note that the operation of the portable information terminal 100 having such a configuration can be described in the same manner as the portable information terminal 100 according to the second modification, and thus description thereof is omitted. Moreover, it is also possible to comprise the portable information terminal 100 which comprises the structure which concerns on the modification 2, and the structure which concerns on this modification.
[0050]
<Modification 4>
FIG. 7 is a block diagram illustrating a configuration of the portable information terminal 100 according to the fourth modification. 7 other than the RAM 123 is the same as that shown in FIG.
The world time storage area 123c is a storage area for storing a time difference Tj between a current time (hereinafter referred to as world time) Tw and an internal time Tc in various cities (for example, New York, London, etc.) in the world. The world time storage area 123c stores a time difference table TT in which each city name described above is associated with the time difference Tj. Note that an EEPROM or the like may be used as means for storing the time difference table TT, and when the data registered in the time difference table TT is not changed, the time difference table TT may be stored in the ROM 122. Is possible.
[0051]
When the user who owns the portable information terminal 100 performs an input operation to display the world time, a command to display the world time is sent from the input unit 140 to the CPU 121. When the command is received, the CPU 121 acquires the internal time Tc from the time measuring circuit 32, and acquires the city name and the time difference Tj corresponding to the command from the time difference table TT. The CPU 121 supplies the display unit 130 with the world time Tw obtained by adding the internal time Tc and the time difference Tj and the city name corresponding to the world time Tw, whereby the world time Tw and the corresponding city name are obtained. Displayed on the LCD panel.
[0052]
FIG. 8 is a flowchart showing a flow of internal time correction / world time correction processing executed by the CPU 121. Note that synchronization establishment processing, connection authentication processing, and the like performed between the portable information terminal 100 and the external device 200 are the same as those in the above-described embodiment, and thus description thereof is omitted.
When the wireless communication unit 110 of the portable information terminal 100 receives data including the reference time Ts from the external device 200, the wireless communication unit 110 uses the reference time Ts to the CPU 121 to determine the internal time Tc of the portable information terminal 100. A command is issued to the effect that correction, correction of world time Tw, etc. should be performed.
[0053]
When the CPU 121 receives the command and the reference time Ts from the wireless communication unit 110, the CPU 121 reads and executes the internal time correction / world time correction program stored in the ROM 122. When the CPU 121 receives the command, it reads the internal time Tc set in the counter circuit 32c, and the time difference between the internal time Tc and the reference time Ts is a preset threshold value T5 (= ± 10 minutes). Or less (step Sa1 → step Sa2). When the CPU 121 determines that the time difference is smaller than the threshold value T5 (step Sa2; YES), in order to correct the world time Tw obtained as described above, the reference time Ts and the internal time Tc are added to the world time Tw. The world time Tw (= Tw + Δt) is corrected by adding the difference Δt (step Sa3). Similarly, the difference Δt between the reference time Ts and the internal time Tc is set in the counter circuit 32c to set the internal time Tc (= Ts). ) Is corrected (step Sa4), and the process is terminated.
[0054]
On the other hand, when the CPU 121 determines that the time difference between the internal time Tc and the reference time Ts is equal to or greater than a preset threshold value T5 (step Sa2; NO), the CPU 121 skips step Sa3 and proceeds to step Sa4. The difference Δt between the reference time Ts and the internal time Tc is set in the counter circuit 32c to correct the internal time Tc (= Ts), and the process is terminated.
[0055]
Thus, the present invention can be applied to the portable information terminal 100 equipped with the world time display function. In addition to using the alarm setting function and the world time display function, for example, when using the short-range wireless communication function to start data communication with the external device 200 at a predetermined time, or at the predetermined time, the external device 200 (for example, an air conditioner) The present invention can also be applied to the case of transmitting a command for turning on the switch. Needless to say, the above-described modifications can be applied to this modification.
[0056]
<Modification 5>
In the present embodiment described above, a sound source, a speaker, and the like are exemplified as means for notifying the user of the arrival of the alarm time. However, for example, a piezoelectric buzzer, a tuning fork, or the like can be used, and a vibrator or the like is used. The arrival of the alarm time may be notified by vibration. In addition, in the case of a portable information terminal not provided with such an alarm notification means, a text message (such as “alarm time!”) Or an image (image imitating a chicken) that notifies the arrival of the alarm time on the display unit 130. Etc.), blinking the time display, or changing the color of the time display or the background color of the time display may notify the arrival of the alarm time.
[0057]
<Modification 6>
In the above-described embodiment, the portable information terminal 100 equipped with a short-range wireless communication function has been described as an example. For example, the radio timepiece or the GPS (Global Positioning System) described in the above-described related art section. The present invention can also be applied to a clock or the like equipped with a display time correction function for adjusting the display time to the current time represented by the time data transmitted from the receiver and the GPS system satellite. Further, the present invention can also be applied to a timepiece or the like having a function for correcting a display time based on a wired communication function (for example, RS232C or the like) and a reference time acquired by wired communication. Further, the present invention can be applied to an analog display timepiece that displays time by a hand for displaying time and a driving unit of the hand. In addition, electronic notebook with time display and time correction function, alarm notification function, PHS (Personal Handyphone System), mobile phone, personal computer, pager, Bluetooth device, IEEE802.11b device, White Cap device, IEEE802.11a device It can also be applied to electronic devices such as Wireless 1394 devices and IrDA devices. Note that various functions related to the CPU 121 can also be realized by hardware.
[0058]
<Modification 7>
Further, in the above-described embodiment, the portable information terminal 100 equipped with Bluetooth has been described as an example, but the present invention is also applicable to a portable information terminal 100 ′ equipped with an IC chip including a circuit that performs short-range wireless communication with the outside. Is possible.
FIG. 9 is a diagram illustrating an electrical configuration of the external transmission / reception device RW that performs short-range wireless communication with the portable information terminal 100 ′.
As shown in FIG. 9, the external transmission / reception device RW includes a control unit CU, an antenna AT, a high frequency circuit HF, a transmission circuit TM, and a reception circuit RC.
[0059]
The control device CU is a device that performs communication control between the server SV that generates various data including the reference time and the portable information terminal 100 ′ that is close to the external transmission / reception device RW. Data addressed to the portable information terminal 100 ′ transmitted from the server SV is sent to the transmission circuit TM by the control unit CU. The transmission circuit TM modulates the carrier with this data by PSK (Phase Shift Keying) to generate a transmission signal. This transmission signal is transmitted from the antenna AT by the high frequency circuit HF.
[0060]
Here, the frequency of the carrier used in the transmission circuit TM is, for example, 13.56 MHz. Since this frequency is a frequency suitable for short-distance communication of about several centimeters, when the user brings the portable information terminal 100 ′ within a few centimeters of the antenna AT of the external transmission / reception device RW, Data communication can be performed with the portable information terminal 100 ′. A signal transmitted from the portable information terminal 100 ′ reaches the reception circuit RC via the antenna AT and the high frequency circuit HF, and is received by the reception circuit RC. The receiving circuit RC demodulates the transmission data of the portable information terminal 100 ′ from this received signal. This transmission data is sent to the server SV by the control unit CU.
[0061]
FIG. 10 is a cross-sectional view showing the configuration of the portable information terminal 100 ′.
As shown in FIG. 10, the portable information terminal 100 ′ includes a housing formed by a cover glass 1, a casing 2, and a back cover 101. Inside the housing, the circuit board 103 is fixed horizontally with respect to the back cover 101. A clock module 104, a loop antenna 106, a tuning capacitor 107, and a crystal resonator 108 are mounted on the circuit board 103. Here, the clock module 104 is configured by an IC chip including a circuit that performs data communication with the server SV and various processes using the data communication.
[0062]
The loop antenna 106, the tuning capacitor 107, and the crystal resonator 108 are electrically connected to a circuit in the IC chip of the timepiece module 104. A battery 109 is accommodated in a gap between the circuit board 103 and the back cover 101, and an output voltage of the battery 109 is supplied to the IC chip of the timepiece module 104 as a power supply voltage. In FIG. 10, the IC chip is not shown in order to prevent the drawing from becoming complicated.
[0063]
FIG. 11 is a block diagram showing an electrical configuration of the timepiece module 104.
The control unit 12 is a device that centrally controls the timepiece module 104.
The oscillating unit 10 includes an oscillation circuit and a synthesis circuit. A crystal resonator 108 is connected to the oscillation circuit as a reference transmission source. The transmission circuit generates a reference pulse having a predetermined frequency and outputs the reference pulse to the synthesis circuit. The synthesis circuit divides the reference pulse to generate a divided pulse, and synthesizes the divided pulse and the reference pulse to generate pulse signals having different pulse widths and edge generation timings.
The display unit 25 is configured by, for example, an LCD (Liquid Crystal Display) panel and displays time information and the like.
[0064]
The sounding unit 27 is an electronic sound generating device, and operates, for example, to emit an electronic sound at the time set in advance by the user and to make the user recognize that the set time has arrived. To do.
The external input device 16 is, for example, a crown, which is not a component of the timepiece module 104, but is illustrated together with the timepiece module 104 in order to facilitate understanding of this modification. The user of the portable information terminal 100 ′ can manually correct the display such as date and time via the external input device 16.
[0065]
The battery 109 is a device that supplies power for operating the timepiece module 104. As the battery 109, a primary battery or a secondary battery can be used.
The wireless processing unit 11 performs processing related to various services that can be used by the user of the portable information terminal 100 ′ by performing short-range wireless communication with the external transmission / reception device RW using the loop antenna 106, and in the course of this processing, the reference time Ts. Is obtained, it is a circuit that sends a command to the control unit 12 to correct the display time of the portable information terminal 100 ′ using the reference time Ts. The wireless processing unit 11 includes a reference signal generation circuit 190, a carrier detection circuit 111, a modulation unit 112, a demodulation unit 113, a central control circuit 114, and a storage unit 115.
[0066]
The reference signal generation circuit 190 is a circuit that extracts a clock signal CLOCK for bit synchronization from an analog reception signal input via the loop antenna 106. The wireless processing unit 11 operates based on the clock signal CLOCK.
[0067]
The carrier detection circuit 111 outputs a carrier detection signal CRDET when an analog reception signal received via the loop antenna 106 includes a carrier having a predetermined frequency. When this carrier detection signal CRDET is output, the portable information terminal 100 ′ starts data exchange with the external transmission / reception device RW.
Modulation section 112 performs PSK modulation on a carrier having a predetermined frequency based on data addressed to external transmission / reception device RW supplied from central control circuit 114 and outputs the result from loop antenna 106.
The demodulator 113 performs PSK demodulation of the analog reception signal received by the loop antenna 106 under the control of the central control circuit 114 to restore received data, and supplies the data to the central control circuit 114.
[0068]
The central control circuit 114 is a circuit that controls the entire blocks constituting the wireless processing unit 11, and includes an encryption processing circuit 114a and a time counter 114b.
The cryptographic processing circuit 114a is a so-called cryptographic processing coprocessor. When the data is exchanged between the portable information terminal 100 ′ and the external transmission / reception device RW, the central control circuit 114 uses the encryption processing circuit 114a to prevent the third party from knowing the data. Is encrypted. Various methods such as DES (Data Encryption Standard) and RSA (Acronym for Rivest, Shamir, and Adleman) can be used as the encryption method.
[0069]
The time counter 114b is a counter for measuring the internal time Tc, the display drive circuit 211 displays the internal time Tc, which is the count value of this counter, on the display unit 25, and the sound drive circuit 212 is Under the control of the control circuit 114, the sounding unit 27 is driven to make the user recognize that the set time has come. When the mobile information terminal 100 ′ receives the reference time Ts from the server SV via the external transmission / reception device RW, the central control circuit 114 rewrites the count value of the time counter 114b with the reference time Ts and displays it on the display unit 25. Correct the time.
[0070]
The storage unit 115 is configured by, for example, an EEPROM (Electrically Erasable and Programmable Read Only Memory) or an FeRAM (Ferroelectric Random Access Memory). Similar to the RAM 123 described in the present embodiment, the storage unit 115 includes a plurality of storage areas such as a storage area for storing an alarm time and a storage area for storing an alarm flag.
The above is the configuration of this modification.
[0071]
When the central control circuit 114 of the portable information terminal 100 ′ receives the reference time Ts from the external transmission / reception device RW via the wireless processing unit 11, the central control circuit 114 executes the internal time correction / alarm notification process shown in FIG. Note that the operation and the like of the central control circuit 114 are the same as in the above-described embodiment, and thus the description thereof is omitted.
[0072]
【The invention's effect】
As described above, according to the portable information terminal according to the present embodiment, the arrival of the alarm time is notified only when the alarm time arrives and a predetermined condition is satisfied. Therefore, it is possible to reduce mental distress for users who are bothered by unnecessary notifications.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an appearance of a portable information terminal according to an embodiment.
FIG. 2 is a block diagram showing a configuration of a portable information terminal according to the embodiment.
FIG. 3 is a diagram for explaining connection authentication processing and the like performed between the portable information terminal and an external device.
FIG. 4 is a flowchart showing a flow of an internal time correction / alarm notification process.
FIG. 5 is a diagram for explaining an internal time correction / alarm notification process;
FIG. 6 is a diagram for explaining internal time correction / alarm notification processing;
FIG. 7 is a block diagram showing a configuration of a portable information terminal according to Modification Example 4;
FIG. 8 is a flowchart showing a flow of internal time correction / world time correction processing;
FIG. 9 is a block diagram illustrating a configuration of an external transmission / reception device according to a modification example 7;
FIG. 10 is a diagram showing a configuration of a portable information terminal according to the modification.
FIG. 11 is a block diagram showing a configuration of a timepiece module according to the modification.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100, 100 '... Portable information terminal, 110 ... Wireless communication part, 120 ... Control part, 125 ... Notification part, 130 ... Display part, 140 ... Input part, 121 ... CPU, 122 ... ROM, 123 ... RAM, 123a ... alarm time storage area, 123b ... alarm flag storage area, 32 ... timing circuit.

Claims (10)

内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, a receiving means for receiving a reference time from the outside, a storage means for storing a set time, an execution means for referring to the internal clock and executing a predetermined process at the set time, and a reference by the receiving means When the time is received, the internal time indicated by the internal clock does not pass the set time, and the time difference between the set time and the internal time is within a first threshold range set in advance. And the reference time has passed the set time, and the time difference between the set time and the reference time is within a preset second threshold range, the reference time And a control means for correcting the internal time by obtaining a time difference between the internal time and the internal time, and for controlling the execution means to execute a predetermined process. 内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記基準時刻が前記設定時刻を経過している場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, receiving means for receiving a reference time from the outside, storage means for storing a set time, execution means for referring to the internal clock and executing a predetermined process at the set time, and a first execution mode And a selection means for selecting one execution mode of the second execution mode, and when the reference time is received by the reception means in a state where the first execution mode is selected by the selection means, the internal clock If the set time has not passed and the reference time has passed the set time, the internal time is corrected by obtaining the time difference between the reference time and the internal time. And performing control for causing the execution means to execute a predetermined process, while the second execution mode is selected by the selection means and a reference time by the reception means. When received, the internal time indicated by the internal clock does not have elapsed the set time, and is within a first threshold range the time difference between the internal time and the setting time is set in advance And when the reference time has passed the set time and the time difference between the set time and the reference time is within a preset second threshold range, the reference time and the An electronic apparatus comprising: a control unit that obtains a time difference from an internal time and corrects the internal time, and controls the execution unit to execute a predetermined process. 内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, a receiving means for receiving a reference time from the outside, a storage means for storing a set time, an execution means for referring to the internal clock and executing a predetermined process at the set time, and a reference by the receiving means When the time is received, the internal time indicated by the internal clock has passed the set time, and the time difference between the set time and the internal time is within a preset first threshold range. When the reference time does not pass the set time and the time difference between the set time and the reference time is within a preset second threshold range, the reference time Control means for correcting the internal time by obtaining a time difference between the internal time and the internal time, and for preventing the execution means from executing a predetermined process when the corrected internal time reaches the set time When An electronic apparatus characterized by comprising. 内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記基準時刻が前記設定時刻を経過していない場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う一方、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, receiving means for receiving a reference time from the outside, storage means for storing a set time, execution means for referring to the internal clock and executing a predetermined process at the set time, and a first execution mode And a selection means for selecting one execution mode of the second execution mode, and when the reference time is received by the reception means in a state where the first execution mode is selected by the selection means, the internal clock When the set time has passed and the reference time has not passed the set time, the internal time is corrected by obtaining a time difference between the reference time and the internal time. In addition, when the corrected internal time reaches the set time, control is performed so that the execution unit does not execute a predetermined process, while the selection unit performs the second execution mode. When a reference time is received by the receiving means in a selected state, the internal time indicated by the internal clock has passed the set time, and a time difference between the set time and the internal time is preset. A second threshold value that is within a first threshold range, the reference time does not pass the set time, and a time difference between the set time and the reference time is preset. If it is within the value range, the time difference between the reference time and the internal time is determined to correct the internal time, and when the corrected internal time reaches the set time, the execution means performs a predetermined process. An electronic device comprising: control means for performing control so as not to execute. 内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第3のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第4のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, a receiving means for receiving a reference time from the outside, a storage means for storing a set time, an execution means for referring to the internal clock and executing a predetermined process at the set time, and a reference by the receiving means When the time is received, the internal time indicated by the internal clock does not pass the set time, and the time difference between the set time and the internal time is within a first threshold range set in advance. And the reference time has passed the set time, and the time difference between the set time and the reference time is within a preset second threshold range, the reference time The internal time is corrected by obtaining a time difference between the internal time and the internal time, and control is performed to cause the execution means to execute a predetermined process. Time The set time has passed, the time difference between the set time and the internal time is within a preset third threshold range, and the reference time is the set time If the time has not passed and the time difference between the set time and the reference time is within a preset fourth threshold range, the time difference between the reference time and the internal time is obtained. And an electronic control unit configured to correct the internal time and to control the execution unit not to execute a predetermined process when the corrected internal time reaches the set time. machine. 内部時計と、外部から基準時刻を受信する受信手段と、設定時刻を記憶する記憶手段と、前記内部時計を参照し、前記設定時刻に所定の処理を実行する実行手段と、第1の実行モードと第2の実行モードのいずれか1の実行モードを選択する選択手段と、前記選択手段によって第1の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記基準時刻が前記設定時刻を経過している場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記基準時刻が前記設定時刻を経過していない場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行い、前記選択手段によって第2の実行モードが選択された状態において前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記実行手段に所定の処理を実行させるための制御を行う一方、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が前記設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第3のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第4のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記実行手段に所定の処理を実行させないための制御を行う制御手段とを具備することを特徴とする電子機器。An internal clock, receiving means for receiving a reference time from the outside, storage means for storing a set time, execution means for referring to the internal clock and executing a predetermined process at the set time, and a first execution mode And a selection means for selecting one execution mode of the second execution mode, and when the reference time is received by the reception means in a state where the first execution mode is selected by the selection means, the internal clock If the set time has not passed and the reference time has passed the set time, the internal time is corrected by obtaining the time difference between the reference time and the internal time. And performing control for causing the execution means to execute a predetermined process, while the internal time indicated by the internal clock has passed the set time, and the reference time is the set time If not, the time difference between the reference time and the internal time is obtained to correct the internal time, and when the corrected internal time reaches the set time, the execution means performs a predetermined process. When a reference time is received by the receiving means in a state where the second execution mode is selected by the selecting means, the internal time indicated by the internal clock has passed the set time. The time difference between the set time and the internal time is within a preset first threshold range, the reference time has passed the set time, and the set If the time difference between the time and the reference time is within a second threshold range set in advance, the time difference between the reference time and the internal time performs correction of the internal time seeking While performing control to execute a predetermined process in the execution unit, when the reference time is received by said receiving means, internal time the internal clock indicates has passed the set time, and the setting The time difference between the time and the internal time is within a preset third threshold range, the reference time has not passed the set time, and the set time and the reference time are When the time difference is within a preset fourth threshold range, the time difference between the reference time and the internal time is obtained to correct the internal time, and the corrected internal time is the set time. An electronic apparatus comprising: a control unit that performs control so that the execution unit does not execute a predetermined process when reaching the point . 前記実行手段は、前記設定時刻に当該時刻の到来を報知する報知手段である
ことを特徴とする請求項1〜6のいずれか1の請求項に記載の電子機器。
The electronic device according to claim 1, wherein the execution unit is a notification unit that notifies the arrival of the time at the set time.
前記実行手段は、前記設定時刻に外部と通信を行う通信実行手段である
ことを特徴とする請求項1〜6のいずれか1の請求項に記載の電子機器。
The electronic device according to claim 1, wherein the execution unit is a communication execution unit that communicates with the outside at the set time.
内部時計と外部から基準時刻を受信する受信手段とを備えたコンピュータに、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が設定時刻を経過しておらず、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しており 、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記内部時刻を参照して前記設定時刻に所定の処理を実行する実行手段に前記所定の処理を実行させるための制御を行う制御機能を実現させるための制御プログラム。When a reference time is received by the receiving means in a computer having an internal clock and a receiving means for receiving a reference time from the outside, the internal time indicated by the internal clock has not passed the set time, and is in the first threshold value range time difference between the internal time and the setting time is set in advance, and the and reference time has passed the set time, and the reference time and the set time Is within a second threshold range set in advance, the time difference between the reference time and the internal time is determined to correct the internal time, and the internal time is referred to A control program for realizing a control function for performing control for causing an execution means for executing a predetermined process at a set time to execute the predetermined process. 内部時計と外部から基準時刻を受信する受信手段とを備えたコンピュータに、前記受信手段によって基準時刻が受信されたとき、前記内部時計が示す内部時刻が設定時刻を経過しており、かつ、前記設定時刻と前記内部時刻との時間差が予め設定された第1のしきい値範囲内にあり、かつ、前記基準時刻が前記設定時刻を経過しておらず、かつ、前記設定時刻と前記基準時刻との時間差が予め設定された第2のしきい値範囲内にある場合、前記基準時刻と前記内部時刻との時間差を求めて前記内部時刻の修正を行うと共に、前記修正した内部時刻が前記設定時刻に到達した場合に前記内部時刻を参照して前記設定時刻に所定の処理を実行する実行手段に前記所定の処理を実行させないための制御を行う制御機能を実現させるための制御プログラム。When a reference time is received by the receiving means in a computer having an internal clock and a receiving means for receiving a reference time from the outside, the internal time indicated by the internal clock has passed a set time, and The time difference between the set time and the internal time is within a preset first threshold range, the reference time has not passed the set time , and the set time and the reference time When the time difference between the reference time and the internal time is within the second threshold range set in advance, the internal time is corrected by obtaining the time difference between the reference time and the internal time. A control program for realizing a control function for performing control to prevent execution of the predetermined process by an execution unit that executes the predetermined process at the set time with reference to the internal time when the time is reached Beam.
JP2001076710A 2001-03-16 2001-03-16 Electronic equipment and control program Expired - Fee Related JP3941407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001076710A JP3941407B2 (en) 2001-03-16 2001-03-16 Electronic equipment and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001076710A JP3941407B2 (en) 2001-03-16 2001-03-16 Electronic equipment and control program

Publications (3)

Publication Number Publication Date
JP2002277576A JP2002277576A (en) 2002-09-25
JP2002277576A5 JP2002277576A5 (en) 2005-09-22
JP3941407B2 true JP3941407B2 (en) 2007-07-04

Family

ID=18933597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001076710A Expired - Fee Related JP3941407B2 (en) 2001-03-16 2001-03-16 Electronic equipment and control program

Country Status (1)

Country Link
JP (1) JP3941407B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003105439A (en) * 2001-10-01 2003-04-09 Kawasaki Steel Corp Low yield ratio steel for low temperature use, and production method therefor
JP2006300874A (en) * 2005-04-25 2006-11-02 Matsushita Electric Ind Co Ltd Electronic device, and control method and program thereof
JP2016116130A (en) * 2014-12-16 2016-06-23 株式会社電通国際情報サービス Transmission/reception system
JP7060392B2 (en) * 2018-02-13 2022-04-26 シチズン時計株式会社 Electronic clocks and electronic clock systems

Also Published As

Publication number Publication date
JP2002277576A (en) 2002-09-25

Similar Documents

Publication Publication Date Title
JP3743819B2 (en) Electronic device with clock function, time information correction method
JP2003506692A (en) Automatic time setting system for portable objects with clock function
JP2008022891A (en) Portable type information transmission system, portable type information transmitting terminal, portable type information receiving terminal
JP3941407B2 (en) Electronic equipment and control program
JP2647055B2 (en) Wireless selective call receiver with display function
US20180217563A1 (en) Timepiece and control method of timepiece
JP2006322812A (en) Radio-controlled clock
US20100086155A1 (en) Hearing aid adapted for issuing a notification and a method for issuing a notification
JP7210987B2 (en) Wireless communication device, electronic clock, transmission power control method, and program
JP2011112472A (en) Wrist-mounted type terminal and time correction method
JPH0865745A (en) Pager system and pager device used for the system
JP2012173021A (en) Electronic timepiece
JP4337718B2 (en) Incoming call detection device, notification device, and control method for incoming call detection device
JPH047921A (en) Radio selective calling receiver with message display function
JP2004015715A (en) Semiconductor integrated circuit and radio communication system
JP2003215275A (en) Portable electronic device, reference timepiece and timepiece-function adjusting system
JPH0318137A (en) Pocket pager with timer function
JP3021006U (en) Mobile phone vibration device
JP3080934B2 (en) Individually selected paging receiver
JPH08139634A (en) Radio transmitter/receiver
JP2001264472A (en) Timepiece device
JP2001289979A (en) Data transmitting device and data transmitting method
JPH0429423A (en) Radio selective call receiver with display
JP2004015713A (en) Mobile phone with built-in radio controlled clock
JP5750957B2 (en) Electronic timepiece and control method thereof

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050421

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061024

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070326

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees