JP2009276220A - Alarm generator and alarm generating program - Google Patents

Alarm generator and alarm generating program Download PDF

Info

Publication number
JP2009276220A
JP2009276220A JP2008128204A JP2008128204A JP2009276220A JP 2009276220 A JP2009276220 A JP 2009276220A JP 2008128204 A JP2008128204 A JP 2008128204A JP 2008128204 A JP2008128204 A JP 2008128204A JP 2009276220 A JP2009276220 A JP 2009276220A
Authority
JP
Japan
Prior art keywords
alarm
time
unit
setting
situation
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.)
Withdrawn
Application number
JP2008128204A
Other languages
Japanese (ja)
Inventor
Ikuma Goto
郁磨 後藤
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.)
Sony Corp
Original Assignee
Sony Ericsson Mobile Communications Japan Inc
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 Sony Ericsson Mobile Communications Japan Inc filed Critical Sony Ericsson Mobile Communications Japan Inc
Priority to JP2008128204A priority Critical patent/JP2009276220A/en
Publication of JP2009276220A publication Critical patent/JP2009276220A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an alarm generator with a setting of repeated alarms automatically revised according to the situation. <P>SOLUTION: An alarm setting part 11 sets alarm times for a clock part 15 to generate alarms. When a situation change detecting part 14 detects a change in the situation after the alarm setting, an alarm setting altering part 13 alters the set times only once according to the result of the detection by the detecting part 14. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、設定された時刻にアラームを発生するアラーム発生装置およびそのためのアラーム発生プログラムに関する。   The present invention relates to an alarm generation device that generates an alarm at a set time and an alarm generation program therefor.

多種多様な機能を有する携帯電話端末装置の一機能として、設定した時刻にアラームを発生するアラーム発生機能がある。(以下、端末装置として単に端末ともいう。)このアラーム発生機能は目覚まし時計代わりに利用することができる。携帯電話端末のアラーム機能には繰り返し設定が行えるようになっている。例えば、毎日同じ時刻にアラームを発生させる、という設定が可能である。このような繰り返し設定によれば、毎日アラーム時刻を設定し直す手間が省けるので便利である。   As one function of the mobile phone terminal device having various functions, there is an alarm generation function for generating an alarm at a set time. (Hereinafter, the terminal device is also simply referred to as a terminal.) This alarm generation function can be used in place of an alarm clock. The mobile phone terminal alarm function can be set repeatedly. For example, it is possible to set an alarm to be generated at the same time every day. Such repeated setting is convenient because it saves the trouble of resetting the alarm time every day.

なお、アラーム発生に関するものではないが、特許文献1には、デジタルスチルカメラのような携帯電子機器を、電波時計部を内蔵したクレードル(充電器)に接続したことを契機として、クレードルの現在時刻とカメラの現在時刻とを比較し、カメラの時刻として「撮影国」が設定されている場合に「ホーム国」に設定を変更する技術が開示されている。
特開2005−109554号公報
Although not related to the occurrence of an alarm, Patent Document 1 discloses that the current time of the cradle is triggered by the fact that a portable electronic device such as a digital still camera is connected to a cradle (charger) with a built-in radio clock. And the current time of the camera are compared, and when “shooting country” is set as the camera time, a technique of changing the setting to “home country” is disclosed.
JP 2005-109554 A

上記のようなアラーム機能の繰り返し設定は便利である反面、画一的で却って迷惑な場合もある。例えば、ユーザがいつもより遅く深夜に帰宅したような場合、何もしなければ翌朝いつもと同じ時刻にアラームが鳴動する。そのため、いつもより短い睡眠時間でアラームが発生することとなってしまう。   While the repeated setting of the alarm function as described above is convenient, it may be annoying and uniform. For example, if the user comes home late at a later time than usual, an alarm sounds at the same time as usual the next morning if nothing is done. Therefore, an alarm will be generated in a shorter sleeping time than usual.

しかし、遅く帰宅した分、翌朝はいつもより遅く起床したい場合もある。そのような場合に、いつもの時刻にアラームが発生することを回避するためには、アラーム設定をやり直す必要がある。このような操作は面倒であるばかりでなく、失念してしまう可能性もある。   However, you may want to get up later than usual the next morning because you came home late. In such a case, in order to avoid the occurrence of an alarm at the usual time, it is necessary to redo the alarm setting. Such an operation is not only cumbersome, but can also be forgotten.

本発明はこのような背景において、アラーム設定を状況に応じて自動的に修正することができるようにするアラーム発生装置よびアラーム発生プログラムを提供しようとするものである。   In this background, an object of the present invention is to provide an alarm generation device and an alarm generation program that can automatically correct an alarm setting according to a situation.

本発明によるアラーム発生装置は、時計部と、この時計部に対してアラームを発生するアラーム時刻を設定するアラーム設定部と、前記時計部の現在時刻が前記アラーム時刻に達したときアラームを発生するアラーム発生部と、アラーム設定後の状況の変動を検出する状況変動検出部と、この状況変動検出部の検出結果に応じて前記アラーム時刻を変更するアラーム設定変更部とを備えたものである。   An alarm generation device according to the present invention generates a clock unit, an alarm setting unit for setting an alarm time for generating an alarm for the clock unit, and an alarm when the current time of the clock unit reaches the alarm time. An alarm generation unit, a situation change detection unit that detects a change in situation after setting an alarm, and an alarm setting change unit that changes the alarm time according to the detection result of the situation change detection unit.

この構成では、状況変動検出部がアラーム設定後の状況の変動を検出する。アラーム設定変更部はこの状況変動検出部の検出結果に応じて前記アラーム時刻を変更する。   In this configuration, the situation fluctuation detection unit detects the situation fluctuation after the alarm is set. The alarm setting changing unit changes the alarm time according to the detection result of the situation fluctuation detecting unit.

前記状況変動検出部は、例えば、所定のイベントの発生を検出する手段と、この所定のイベントの発生が検出されたときの現在時刻から前記アラーム時刻までの時間を計算する手段と、この計算された時間とユーザが設定した所定時間とを比較する手段とを有し、前記アラーム設定変更部は、前記比較の結果、前記計算された時間が前記所定時間より短いとき前記アラーム時刻をより遅い時刻に変更する。   The situation fluctuation detection unit is, for example, a means for detecting the occurrence of a predetermined event, a means for calculating the time from the current time when the occurrence of the predetermined event is detected to the alarm time, and this calculation. The alarm setting changing unit is configured to compare the alarm time with a later time when the calculated time is shorter than the predetermined time as a result of the comparison. Change to

本発明によるアラーム発生プログラムは、アラーム発生装置のアラーム機能を実現するアラーム発生プログラムであって、アラームを発生するアラーム時刻を設定するステップと、前記時計部の現在時刻が前記アラーム時刻に達したときアラームを発生するステップと、アラーム設定後の状況の変動を検出するステップと、この状況変動の検出結果に応じて前記アラーム時刻を変更するステップとをコンピュータに実行させる。   An alarm generation program according to the present invention is an alarm generation program for realizing an alarm function of an alarm generation device, the step of setting an alarm time for generating an alarm, and when the current time of the clock unit reaches the alarm time A computer is caused to execute a step of generating an alarm, a step of detecting a change in the situation after the alarm is set, and a step of changing the alarm time according to the detection result of the situation change.

本発明の他の構成および作用効果については以下の実施の形態の説明から明らかとなろう。   Other configurations and operational effects of the present invention will be apparent from the following description of embodiments.

本発明によれば、アラーム設定を状況に応じて自動的に修正することができるので、アラーム発生装置の利便性が向上する。   According to the present invention, since the alarm setting can be automatically corrected according to the situation, the convenience of the alarm generating device is improved.

以下、本発明の好適な実施の形態について図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the drawings.

図1は本発明のアラーム発生装置の主要な機能を表したブロック図である。   FIG. 1 is a block diagram showing the main functions of the alarm generator of the present invention.

このアラーム発生装置は、時計部15と、アラームを発生するアラーム時刻を設定するアラーム設定部11と、時計部15の現在時刻が設定された時刻に達したときアラームを発生するアラーム発生部12と、アラーム設定後の状況の変動を検出する状況変動検出部14と、この状況変動検出部14の検出結果に応じて前記設定された時刻を変更するアラーム設定変更部13とを備える。   This alarm generation device includes a clock unit 15, an alarm setting unit 11 that sets an alarm time for generating an alarm, an alarm generation unit 12 that generates an alarm when the current time of the clock unit 15 reaches a set time, , A situation fluctuation detection unit 14 for detecting a situation fluctuation after setting an alarm, and an alarm setting changing unit 13 for changing the set time according to the detection result of the situation fluctuation detection unit 14.

図2は、本発明のアラーム発生装置の一実施の形態としての携帯電話端末の概略構成を示している。   FIG. 2 shows a schematic configuration of a mobile phone terminal as an embodiment of the alarm generating device of the present invention.

携帯電話端末200は、バス215で相互に接続された、制御部201、通信部203、表示部204、操作部205、記憶部206、充電回路207、音声処理部210、この音声処理部210に接続されたスピーカ211およびマイク212、時計部213(図1の時計部15に相当)、ならびに、この充電回路207に接続された充電器検出部208を有する。充電器検出部208には、図示しないコネクタを介して充電器220が着脱可能に接続される。充電器はAC−DC変換器221を内蔵している。   The mobile phone terminal 200 is connected to the control unit 201, the communication unit 203, the display unit 204, the operation unit 205, the storage unit 206, the charging circuit 207, the audio processing unit 210, and the audio processing unit 210 connected to each other via the bus 215. A speaker 211 and a microphone 212 connected, a clock unit 213 (corresponding to the clock unit 15 in FIG. 1), and a charger detection unit 208 connected to the charging circuit 207 are included. The charger 220 is detachably connected to the charger detector 208 via a connector (not shown). The charger incorporates an AC-DC converter 221.

制御部201は、CPU等を含み、携帯電話端末200の各部を制御する。   The control unit 201 includes a CPU and the like, and controls each unit of the mobile phone terminal 200.

通信部203は、RF部、変調回路等を含み、アンテナ202を介して基地局との間で、通話およびメールやWEBデータ等のための無線通信を行う。   The communication unit 203 includes an RF unit, a modulation circuit, and the like, and performs wireless communication for calls, mails, WEB data, and the like with the base station via the antenna 202.

表示部204は、ユーザに対して可視情報を提示するための表示インタフェースを提供するものであり、LCDや有機EL等の表示デバイスを含む。   The display unit 204 provides a display interface for presenting visible information to the user, and includes a display device such as an LCD or an organic EL.

操作部205は、ユーザが指示やデータを入力するための入力インタフェースを提供するものであり、テンキー、カーソル移動キー、通話キー、電源キー等の各種操作キーを含む。   The operation unit 205 provides an input interface for a user to input instructions and data, and includes various operation keys such as a numeric keypad, a cursor movement key, a call key, and a power key.

記憶部206は、ROM,RAM,HDD等の記憶装置を含み、CPUが実行するOSや各種アプリケーション等のプログラムや各種データを記憶する。ROMには、フラッシュメモリのような再書き込み可能な不揮発性メモリを含みうる。記憶部206にはその他、後述する各種設定データ、スケジュール情報、等が記憶される。   The storage unit 206 includes storage devices such as a ROM, a RAM, and an HDD, and stores programs such as an OS and various applications executed by the CPU, and various data. The ROM may include a rewritable nonvolatile memory such as a flash memory. In addition, the storage unit 206 stores various setting data, schedule information, and the like, which will be described later.

音声処理部210は、音声のエンコーダ、デコーダ、DA変換器、AD変換器等を含み、スピーカ211(イヤホン含む)に対する音声出力およびマイクからの音声入力を行う。なお、通信部203は本発明において直接的には必要のない要素である。   The audio processing unit 210 includes an audio encoder, decoder, DA converter, AD converter, and the like, and performs audio output to the speaker 211 (including earphones) and audio input from a microphone. Note that the communication unit 203 is an element that is not directly required in the present invention.

図3は、携帯電話端末200の設定処理のフローチャートを示している。   FIG. 3 shows a flowchart of the setting process of the mobile phone terminal 200.

端末は、ユーザによる操作部の操作に従ってアラーム時刻Taを設定する(S11)。さらに同様にして、「所定時間」としての希望睡眠時間Tdを設定する(S12)。   The terminal sets the alarm time Ta according to the operation of the operation unit by the user (S11). Similarly, the desired sleep time Td as “predetermined time” is set (S12).

図4は、携帯電話端末200のアラーム時刻を自動的に変更する処理のフローチャートである。   FIG. 4 is a flowchart of processing for automatically changing the alarm time of the mobile phone terminal 200.

今、設定されたアラーム時刻をその到来時の翌日以降にも引き続き有効とする設定である「繰り返し」のアラーム設定がなされているとする。ただし、繰り返しでなく、1回限り有効のアラーム時刻の設定に対して本発明を適用することができない訳ではない。   It is assumed that the “repeated” alarm setting is made so that the set alarm time continues to be valid after the next day of arrival. However, the present invention cannot be applied to the setting of an alarm time that is effective only once, not repeatedly.

携帯電話端末200は所定のイベントの発生を待機する(S21)。所定のイベントとは、例えば、充電器への接続により充電が開始されたこと、アイドル時間が一定値以上となったこと、操作部に対する所定のユーザの指示、のいずれかである。具体的にはそのような要因に基づく制御部201に対する割り込みの発生である。   The mobile phone terminal 200 waits for the occurrence of a predetermined event (S21). The predetermined event is, for example, one of charging started by connection to a charger, idle time becoming a predetermined value or more, and a predetermined user instruction to the operation unit. Specifically, an interrupt is generated for the control unit 201 based on such a factor.

所定のイベントが発生したとき、制御部201は現在時刻(Tc)を確認する(S22)。ついで、アラーム時刻と現在時刻の差分である睡眠可能時間(Tp=Ta−Tc)を計算する(S23)。   When a predetermined event occurs, the control unit 201 confirms the current time (Tc) (S22). Next, the sleep possible time (Tp = Ta−Tc), which is the difference between the alarm time and the current time, is calculated (S23).

そこでこの睡眠可能時間Tpと先に設定済みの希望睡眠時間Tdとを比較し、直ちに睡眠した場合に現在設定のアラーム時刻Taまでに希望睡眠時間Tdが確保されるかどうかをチェックする(S24)。   Therefore, the sleep possible time Tp is compared with the previously set desired sleep time Td to check whether the desired sleep time Td is secured by the currently set alarm time Ta when sleeping immediately (S24). .

確保される場合にはアラーム時刻Taを変更することなく、ステップS21へ戻る。確保されない場合には、希望睡眠時間Tdが確保できるようにアラーム時刻を1回に限り再設定(修正)する(S25)。すなわち、現在設定されているアラーム時刻Taに対して、不足する時間分(Td−Tp)を加算した時刻を新たなアラーム時刻Taとする。この再設定は、次回のアラームに限る一時的なものであり、次次回からは元の設定に戻る。そのためには、当該繰り返しのアラーム設定自体の内容を修正してもよいし、当該アラーム設定は一時的に無効にして1回限りのアラーム設定を新たに生成するようにしてもよい。以下においても「再設定」や「修正」とは、これらの選択肢のいずれであってもよい。   If secured, the process returns to step S21 without changing the alarm time Ta. If not secured, the alarm time is reset (corrected) only once so that the desired sleep time Td can be secured (S25). That is, a time obtained by adding an insufficient time (Td−Tp) to the currently set alarm time Ta is set as a new alarm time Ta. This resetting is temporary only for the next alarm, and returns to the original setting from the next time. For this purpose, the contents of the repeated alarm setting itself may be corrected, or the alarm setting may be temporarily invalidated to newly generate a one-time alarm setting. In the following, “reset” and “correction” may be any of these options.

このようにして、所定の条件の下、ユーザが再設定の操作を行う必要なく、アラーム時刻Taが遅い側に自動的に変更される。なお、アラーム時刻までに所定イベントが複数回発生した場合には、アラーム時刻が重ねて変更になる場合もありうるが、そのような場合、最後の処理結果が有効となる。   In this way, the alarm time Ta is automatically changed to the later side without requiring the user to perform a resetting operation under a predetermined condition. In addition, when a predetermined event occurs a plurality of times before the alarm time, the alarm time may be overlapped and changed. In such a case, the last processing result is valid.

図4の処理では希望睡眠時間Tdが確保できない場合に自動的にアラーム時刻Taが再設定されるようにしたが、無条件にアラーム時刻Taが再設定されると不都合な場合もありうる。そこで、図5に例示するように、アラーム設定画面50において新たな設定項目「睡眠時間優先」51を設けるようにしてもよい。この設定項目をONにすると、上述のようにアラーム時刻の再設定が許容されるが、OFFにしたときにはアラーム時刻の再設定が抑止される。なお、この画面における他の設定項目である「時刻」「アラーム音」「音量」「スヌーズ」「鳴動時間」は周知の項目であり、その説明は省略する。   In the process of FIG. 4, the alarm time Ta is automatically reset when the desired sleep time Td cannot be ensured, but it may be inconvenient if the alarm time Ta is reset unconditionally. Therefore, as illustrated in FIG. 5, a new setting item “sleep time priority” 51 may be provided on the alarm setting screen 50. When this setting item is turned on, resetting of the alarm time is allowed as described above, but when it is turned off, resetting of the alarm time is suppressed. Note that “time”, “alarm sound”, “volume”, “snooze”, and “ringing time”, which are other setting items on this screen, are well-known items and will not be described.

図6は、図5に示した「睡眠時間優先」に関連して、携帯電話端末200のアラーム時刻を変更する処理のフローチャートである。図4に示したステップと同様のステップには同じ参照符号を付して、重複した説明は省略する。ステップS21の所定のイベントの発生後、上記「睡眠時間優先」の設定内容を確認する(S31)。「睡眠時間優先」がOFFであれば何もしない。「睡眠時間優先」がONであれば、ステップS22へ進む。後は図4の処理と同様である。   FIG. 6 is a flowchart of processing for changing the alarm time of the mobile phone terminal 200 in relation to “sleep time priority” shown in FIG. 5. Steps similar to those shown in FIG. 4 are given the same reference numerals, and redundant descriptions are omitted. After the occurrence of the predetermined event in step S21, the set content of the “sleep time priority” is confirmed (S31). If “sleep time priority” is OFF, nothing is done. If “sleep time priority” is ON, the process proceeds to step S22. The rest is the same as the processing of FIG.

この処理により、ユーザは「睡眠時間優先」をOFFにしておけば意図せずにアラーム時刻が自動的に再設定されることがなくなる。   With this process, if the user sets “sleep time priority” to OFF, the alarm time is not automatically reset unintentionally.

上記の処理ではアラーム時刻が再設定される場合、希望睡眠時間Tdと睡眠可能時間Tpの時間差すなわち不足時間(Td−Tp)だけアラーム時刻が変更されるものとした。これに代えて、変更可能な時間に上限を設けるようにしてもよい。図7はそのようなアラーム時刻の延長時間の上限としての「最大延長時間」52の設定項目をアラーム設定画面50に設けたものである。   In the above processing, when the alarm time is reset, the alarm time is changed by the time difference between the desired sleep time Td and the sleep possible time Tp, that is, the shortage time (Td−Tp). Instead of this, an upper limit may be set for the changeable time. FIG. 7 shows a setting item of “maximum extension time” 52 as an upper limit of the extension time of the alarm time on the alarm setting screen 50.

図8は、図7に示した「最大延長時間」に関連して、携帯電話端末200のアラーム時刻を変更する処理のフローチャートである。図6に示したステップと同様のステップには同じ参照符号を付して、重複した説明は省略する。ステップS24において希望睡眠時間が確保可能でないと判断された場合、不足時間(Td−Tp)を最大延長時間(上限時間)tmaxと比較する(S41)。不足時間(Td−Tp)がtmax以下であれば図4と同様にその分だけアラーム時刻Taを変更する(後へシフトする)(S25)。しかし、不足時間(Td−Tp)がtmaxを超えている場合には、アラーム時刻をそのtmax分だけ変更する(S42)。   FIG. 8 is a flowchart of processing for changing the alarm time of the mobile phone terminal 200 in relation to the “maximum extension time” shown in FIG. Steps similar to those shown in FIG. 6 are denoted by the same reference numerals, and redundant description is omitted. If it is determined in step S24 that the desired sleep time cannot be secured, the shortage time (Td−Tp) is compared with the maximum extension time (upper limit time) tmax (S41). If the shortage time (Td−Tp) is equal to or less than tmax, the alarm time Ta is changed (shifted backward) by that amount as in FIG. 4 (S25). However, if the shortage time (Td−Tp) exceeds tmax, the alarm time is changed by tmax (S42).

このような処理により、必要以上にアラーム時刻がシフトすることを防止することができる。   Such processing can prevent the alarm time from shifting more than necessary.

図9は本発明の他の実施の形態における主要な希望を表したブロック図である。図1に示した構成要素と同様の構成要素には同じ参照符号を付して重複した説明を省略する。図9ではスケジューラ16を設け、アラーム設定変更部13がこのスケジューラ16の内容を参照してアラーム時刻の変更の有無や変更量を決定する。通常、携帯電話端末の時計部15は時刻情報に加えてカレンダー情報を生成する。スケジューラ16は、カレンダー情報に対応してユーザのスケジュール情報が記憶されるスケジュール情報記憶部17をさらに備えている。スケジュール情報記憶部17は、例えば図2の記憶部206の一領域に相当しうる。   FIG. 9 is a block diagram showing main hopes in another embodiment of the present invention. Constituent elements similar to those shown in FIG. 1 are given the same reference numerals, and redundant descriptions are omitted. In FIG. 9, the scheduler 16 is provided, and the alarm setting changing unit 13 refers to the contents of the scheduler 16 and determines whether or not the alarm time is changed and the amount of change. Usually, the clock unit 15 of the mobile phone terminal generates calendar information in addition to the time information. The scheduler 16 further includes a schedule information storage unit 17 that stores user schedule information corresponding to the calendar information. The schedule information storage unit 17 can correspond to, for example, an area of the storage unit 206 in FIG.

図10は図9の実施の形態において使用されるスケジュール設定画面60の一例を示している。1つのスケジュールの設定項目としては、既知のように、その開始日時、終了日時、分類、用件(名)、場所等の予定情報を含む。このうち「開始日時」がアラーム時刻に対して参照される。例えば、アラーム時刻から開始日時までの時間が所定時間以下であればアラーム時刻を変更しない、または所定時間を確保できる時刻までシフトする。   FIG. 10 shows an example of the schedule setting screen 60 used in the embodiment of FIG. As is well known, the setting items of one schedule include schedule information such as the start date / time, end date / time, classification, business name (name), and location. Among these, the “start date / time” is referred to the alarm time. For example, if the time from the alarm time to the start date / time is less than or equal to a predetermined time, the alarm time is not changed or the time is shifted to a time at which the predetermined time can be secured.

図11はスケジューラ16のカレンダー機能に関連したアラーム設定画面50の他の例を示している。この画面では「睡眠時間優先」51がONの場合に有効に設定できる曜日情報および祝祭日情報として「曜日指定」53を追加している。この「曜日指定」53は「睡眠時間優先」51をONとする曜日等を指定できる機能である。例えば別ウィンドウにおいて個別の曜日や祝日を指定することができる。ONとされなかった曜日等についてはアラーム時刻の変更は行われない(すなわち抑止される)。その他、ユーザが任意の日付を設定日情報として指定できるようにしてもよい。   FIG. 11 shows another example of the alarm setting screen 50 related to the calendar function of the scheduler 16. In this screen, “day of the week designation” 53 is added as day information and holiday information that can be effectively set when “sleep time priority” 51 is ON. This “day of week designation” 53 is a function that can designate a day of the week when “sleep time priority” 51 is turned on. For example, individual days of the week and holidays can be specified in another window. The alarm time is not changed (that is, suppressed) for days of the week that are not turned on. In addition, the user may be able to specify an arbitrary date as the set date information.

図12は、図10,図11のアラーム設定に関連して、携帯電話端末200のアラーム時刻を変更する処理のフローチャートである。上述したフローチャートに示したステップと同様のステップには同じ参照符号を付して、重複した説明を省略する。ステップS23で、アラーム時刻と現在時刻の時間差である睡眠可能時間Tpを計算した後、スケジューラ16を参照する(S51)。その参照結果を所定の条件に照らして睡眠時間延長可能かどうかを判断する(S52)。延長可能でなければステップS21へ戻る。延長可能であれば、ステップS24で睡眠可能時間Tpと希望睡眠時間Tdを比較して希望睡眠時間が確保可能かどうかをチェックする。   FIG. 12 is a flowchart of a process for changing the alarm time of the mobile phone terminal 200 in relation to the alarm setting shown in FIGS. Steps similar to those shown in the flowcharts described above are given the same reference numerals, and redundant descriptions are omitted. In step S23, after calculating the sleep possible time Tp which is the time difference between the alarm time and the current time, the scheduler 16 is referred to (S51). It is determined whether the sleep time can be extended in light of the reference result in accordance with a predetermined condition (S52). If it cannot be extended, the process returns to step S21. If it can be extended, it is checked in step S24 whether the desired sleep time can be secured by comparing the sleep possible time Tp with the desired sleep time Td.

ステップS52の「延長可能」かどうかは、図10のスケジュール情報では上述のように開始日時がアラーム時刻の所定時間以上後かどうかにより判断する。本実施の形態におけるアラーム時刻は日付を含まないので現在時刻から24時間以内の時刻となる。図11のスケジュール情報では上述のように、次に到来するアラーム時刻の属する日が「曜日指定」で設定された曜日等に該当するかどうかにより判断する。   Whether or not “extension is possible” in step S52 is determined based on whether or not the start date / time is greater than or equal to a predetermined time after the alarm time in the schedule information of FIG. Since the alarm time in this embodiment does not include a date, it is a time within 24 hours from the current time. In the schedule information of FIG. 11, as described above, determination is made based on whether or not the day to which the next incoming alarm time belongs corresponds to the day of the week set in “day of week designation”.

このように、図12のフローチャートの処理により、アラーム設定変更部13は、スケジュール情報を参照し、アラーム時刻をより遅い時刻に変更することを妨げる内容が設定されていることを認識したとき、当該設定された時刻の変更を抑止する。あるいは、許容される範囲で前記設定された時刻をより遅い時刻に変更する。   As described above, when the alarm setting changing unit 13 refers to the schedule information and recognizes that the content that prevents the alarm time from being changed to a later time is set by the processing of the flowchart of FIG. Suppress changes to the set time. Alternatively, the set time is changed to a later time within an allowable range.

以上、本発明の好適な実施の形態について説明したが、上記で言及した以外にも種々の変形、変更を行うことが可能である。例えば、一定期間(例えば週または月)の平均睡眠時間を計算し、この平均睡眠時間が希望睡眠時間に比べて所定時間以上短い場合には、「睡眠時間優先」がOFFであればONに変更するように、推奨メッセージを出力するようにしてもよい。   The preferred embodiments of the present invention have been described above, but various modifications and changes other than those mentioned above can be made. For example, the average sleep time for a certain period (for example, week or month) is calculated, and when this average sleep time is shorter than the desired sleep time by a predetermined time or more, it is changed to ON if “sleep time priority” is OFF. As a result, a recommendation message may be output.

また、「睡眠時間優先」がOFFである場合であって、希望睡眠時間が確保できない場合は、アラーム時刻までの睡眠時間がいつもより短くなる一方、当初の予定通りのアラーム時刻に起床しなければならないので、アラームの種類を変更したり、アラームの程度を増加(音の場合は音量レベルや鳴動時間を増加)させるようにしてもよい。   If “Sleep time priority” is OFF and the desired sleep time cannot be secured, the sleep time up to the alarm time will be shorter than usual, but the user must wake up at the original scheduled alarm time. Therefore, the type of alarm may be changed, or the level of alarm may be increased (in the case of sound, the volume level and ringing time are increased).

上記実施の形態で説明した機能をコンピュータで実現するためのコンピュータプログラムおよびプログラムをコンピュータ読み取り可能に格納した記録媒体も本願発明に含まれる。プログラムを供給するための「記録媒体」としては、例えば、磁気記憶媒体(フレキシブルディスク、ハードディスク、磁気テープ等)、光ディスク(MOやPD等の光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−R、DVD−RAM、DVD−R、DVD−RW、DVD+RW等)、半導体ストレージ、紙テープなどを挙げることができる。   A computer program for realizing the functions described in the above embodiments by a computer and a recording medium storing the program in a computer-readable manner are also included in the present invention. Examples of the “recording medium” for supplying the program include a magnetic storage medium (flexible disk, hard disk, magnetic tape, etc.), an optical disk (MO-optical disk such as MO and PD, CD-ROM, CD-R, CD- RW, DVD-ROM, DVD-RAM, DVD-R, DVD-RAM, DVD-R, DVD-RW, DVD + RW, etc.), semiconductor storage, paper tape, and the like.

本発明のアラーム発生装置の主要な機能を表したブロック図である。It is a block diagram showing the main functions of the alarm generator of the present invention. 本発明のアラーム発生装置の一実施の形態としての携帯電話端末の概略構成を示した図である。It is the figure which showed schematic structure of the mobile telephone terminal as one Embodiment of the alarm generator of this invention. 図2に示した携帯電話端末の設定処理のフローチャートである。It is a flowchart of the setting process of the mobile telephone terminal shown in FIG. 図2に示した携帯電話端末のアラーム時刻を自動的に変更する処理のフローチャートである。It is a flowchart of the process which changes automatically the alarm time of the mobile telephone terminal shown in FIG. 図2に示した携帯電話端末のアラーム設定画面の一例を示す図である。It is a figure which shows an example of the alarm setting screen of the mobile telephone terminal shown in FIG. 図5に示した「睡眠時間優先」に関連して、携帯電話端末のアラーム時刻を変更する処理のフローチャートである。6 is a flowchart of processing for changing an alarm time of a mobile phone terminal in relation to “sleep time priority” shown in FIG. 5. 図2に示した携帯電話端末のアラーム設定画面の他の例を示す図である。It is a figure which shows the other example of the alarm setting screen of the mobile telephone terminal shown in FIG. 図7に示した「最大延長時間」に関連して、携帯電話端末のアラーム時刻を変更する処理のフローチャートである。FIG. 8 is a flowchart of processing for changing the alarm time of the mobile phone terminal in relation to the “maximum extension time” shown in FIG. 7. 本発明の他の実施の形態における主要な希望を表したブロック図である。It is a block diagram showing the main hope in other embodiment of this invention. 図9の実施の形態において使用されるスケジュール設定画面の一例を示す図である。It is a figure which shows an example of the schedule setting screen used in embodiment of FIG. 図9の実施の形態において使用されるアラーム設定画面の他の例を示す図である。It is a figure which shows the other example of the alarm setting screen used in embodiment of FIG. 図10,図11のアラーム設定に関連して、携帯電話端末のアラーム時刻を変更する処理のフローチャートである。12 is a flowchart of processing for changing an alarm time of a mobile phone terminal in relation to the alarm setting in FIGS. 10 and 11.

符号の説明Explanation of symbols

11…アラーム設定部、12…アラーム発生部、13…アラーム設定変更部、14…状況変動検出部、15…時計部、16…スケジューラ、17…スケジュール情報記憶部、200…携帯電話端末、201…制御部、202…アンテナ、203…通信部、204…表示部、205…操作部、206…記憶部、207…充電回路、208…充電器検出部、210…音声処理部、211…スピーカ、212…マイク、213…時計部、215…バス、220…充電器、221…AC−DC変換器 DESCRIPTION OF SYMBOLS 11 ... Alarm setting part, 12 ... Alarm generation part, 13 ... Alarm setting change part, 14 ... Situation change detection part, 15 ... Clock part, 16 ... Scheduler, 17 ... Schedule information storage part, 200 ... Cell-phone terminal, 201 ... Control unit 202 ... Antenna 203 ... Communication unit 204 ... Display unit 205 ... Operation unit 206 ... Storage unit 207 ... Charging circuit 208 ... Charger detection unit 210 ... Audio processing unit 211 ... Speaker 212 ... Microphone, 213 ... Clock part, 215 ... Bus, 220 ... Charger, 221 ... AC-DC converter

Claims (14)

時計部と、
この時計部に対してアラームを発生するアラーム時刻を設定するアラーム設定部と、
前記時計部の現在時刻が前記アラーム時刻に達したときアラームを発生するアラーム発生部と、
アラーム設定後の状況の変動を検出する状況変動検出部と、
この状況変動検出部の検出結果に応じて前記アラーム時刻を変更するアラーム設定変更部と
を備えたアラーム発生装置。
A clock part,
An alarm setting unit for setting an alarm time for generating an alarm for the clock unit;
An alarm generating unit that generates an alarm when the current time of the clock unit reaches the alarm time;
A situation fluctuation detection unit that detects a situation fluctuation after the alarm is set;
An alarm generating device comprising: an alarm setting changing unit that changes the alarm time according to a detection result of the situation fluctuation detecting unit.
前記アラーム設定部により前記アラーム時刻の到来時の翌日以降にも引き続き有効とする設定がなされているとき、前記アラーム設定変更部は前記状況変動検出部の検出結果に応じて前記アラーム時刻を1回に限り変更する請求項1に記載のアラーム発生装置。   When the alarm setting unit is set to continue to be valid after the next day after the arrival of the alarm time, the alarm setting change unit sets the alarm time once according to the detection result of the situation variation detection unit. The alarm generation device according to claim 1, wherein the alarm generation device is changed only to. 前記状況変動検出部は、
所定のイベントの発生を検出する手段と、
この所定のイベントの発生が検出されたときの現在時刻から前記アラーム時刻までの時間を計算する手段と、
この計算された時間とユーザが設定した所定時間とを比較する手段とを有し、
前記アラーム設定変更部は、前記比較の結果、前記計算された時間が前記所定時間より短いとき前記アラーム時刻をより遅い時刻に変更する
請求項1または2に記載のアラーム発生装置。
The situation variation detection unit
Means for detecting the occurrence of a predetermined event;
Means for calculating a time from the current time when the occurrence of the predetermined event is detected to the alarm time;
Means for comparing the calculated time with a predetermined time set by the user;
The alarm generation device according to claim 1 or 2, wherein the alarm setting changing unit changes the alarm time to a later time when the calculated time is shorter than the predetermined time as a result of the comparison.
前記アラーム設定変更部は、前記現在時刻から前記アラーム時刻までの時間だけ前記アラーム時刻をより遅い時刻に変更する
請求項3に記載のアラーム発生装置。
The alarm generation device according to claim 3, wherein the alarm setting change unit changes the alarm time to a later time by a time from the current time to the alarm time.
前記前記現在時刻から前記アラーム時刻までの時間が、予め定められた上限時間を超える場合、前記アラーム設定変更部は、当該上限時間だけ前記アラーム時刻をより遅い時刻に変更する
請求項4に記載のアラーム発生装置。
The alarm setting change unit changes the alarm time to a later time by the upper limit time when the time from the current time to the alarm time exceeds a predetermined upper limit time. Alarm generator.
前記状況変動検出部は、前記アラーム時刻の設定の変更を抑止する状況を検出し、
前記アラーム設定変更部は、前記状況変動検出部によりアラーム時刻の設定の変更を抑止する状況が検出されたとき、当該前記アラーム時刻の変更を抑止するか、または、許容される範囲で前記アラーム時刻をより遅い時刻に変更する
請求項3に記載のアラーム発生装置。
The situation fluctuation detection unit detects a situation that suppresses a change in the setting of the alarm time,
The alarm setting change unit suppresses the change of the alarm time or detects the alarm time within an allowable range when a situation that suppresses the change of the alarm time setting is detected by the situation change detection unit. The alarm generation device according to claim 3, wherein the alarm is changed to a later time.
カレンダー情報を生成する手段と、
前記カレンダー情報に対応してユーザのスケジュール情報が記憶されるスケジュール情報記憶部をさらに備え、
前記アラーム時刻の設定の変更を抑止する状況は、前記スケジュール情報に、前記アラーム時刻をより遅い時刻に変更することを妨げる内容が設定されていることを認識されることである
請求項6に記載のアラーム発生装置。
Means for generating calendar information;
A schedule information storage unit that stores user schedule information corresponding to the calendar information;
The situation where the change of the setting of the alarm time is suppressed is that it is recognized that the schedule information includes a content that prevents the alarm time from being changed to a later time. Alarm generating device.
前記妨げる内容はユーザの予定情報である請求項7に記載のアラーム発生装置。   The alarm generation device according to claim 7, wherein the disturbing content is schedule information of a user. 前記妨げる内容は曜日情報、祝祭日情報、ユーザの任意の設定日情報のいずれかである請求項7に記載のアラーム発生装置。   The alarm generation device according to claim 7, wherein the disturbing content is any one of day information, holiday information, and user-set date information. 前記所定のイベントは、充電が開始されたこと、アイドル時間が一定値以上となったこと、ユーザの指示、のいずれかである請求項1〜9のいずれかに記載のアラーム発生装置。   The alarm generation device according to any one of claims 1 to 9, wherein the predetermined event is any one of charging start, idle time becoming a predetermined value or more, and user instruction. 携帯電話端末装置のアラーム機能により実現される請求項1〜10のいずれかに記載のアラーム発生装置。   The alarm generation device according to claim 1, which is realized by an alarm function of a mobile phone terminal device. アラーム発生装置のアラーム機能を実現するアラーム発生プログラムであって、
アラームを発生するアラーム時刻を設定するステップと、
前記時計部の現在時刻が前記アラーム時刻に達したときアラームを発生するステップと、
アラーム設定後の状況の変動を検出するステップと、
この状況変動の検出結果に応じて前記アラーム時刻を変更するステップと
をコンピュータに実行させるアラーム発生プログラム。
An alarm generation program for realizing an alarm function of an alarm generation device,
Setting an alarm time to generate an alarm;
Generating an alarm when the current time of the clock unit reaches the alarm time;
Detecting changes in the situation after setting the alarm;
An alarm generation program for causing a computer to execute the step of changing the alarm time according to the detection result of the situation change.
前記設定されたアラーム時刻をその到来時の翌日以降にも引き続き有効とする設定がなされているとき、前記状況変動検出部の検出結果に応じて前記アラーム時刻を1回に限り変更する請求項12に記載のアラーム発生プログラム。   13. The alarm time is changed only once according to the detection result of the situation variation detection unit when the set alarm time is set to be valid after the next day after the arrival. Alarm generation program described in 1. 前記状況変動を検出するステップは、
所定のイベントの発生を検出するステップと、
この所定のイベントの発生が検出されたときの現在時刻から前記アラーム時刻までの時間を計算するステップと、
この計算された時間とユーザが設定した所定時間とを比較するステップとを含み、
前記アラーム時刻を変更するステップは、前記比較の結果、前記計算された時間が前記所定時間より短いとき前記アラーム時刻をより遅い時刻に変更するステップを含む
請求項12または13に記載のアラーム発生プログラム。
The step of detecting the situation variation includes:
Detecting the occurrence of a predetermined event;
Calculating the time from the current time when the occurrence of this predetermined event is detected to the alarm time;
Comparing the calculated time with a predetermined time set by the user,
The alarm generation program according to claim 12 or 13, wherein the step of changing the alarm time includes a step of changing the alarm time to a later time when the calculated time is shorter than the predetermined time as a result of the comparison. .
JP2008128204A 2008-05-15 2008-05-15 Alarm generator and alarm generating program Withdrawn JP2009276220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008128204A JP2009276220A (en) 2008-05-15 2008-05-15 Alarm generator and alarm generating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008128204A JP2009276220A (en) 2008-05-15 2008-05-15 Alarm generator and alarm generating program

Publications (1)

Publication Number Publication Date
JP2009276220A true JP2009276220A (en) 2009-11-26

Family

ID=41441787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008128204A Withdrawn JP2009276220A (en) 2008-05-15 2008-05-15 Alarm generator and alarm generating program

Country Status (1)

Country Link
JP (1) JP2009276220A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011135517A (en) * 2009-12-25 2011-07-07 Ntt Docomo Inc Terminal device and alarm control method
WO2012032714A1 (en) 2010-09-06 2012-03-15 Sony Corporation User device, server, and operating conditions setting system
WO2016106517A1 (en) * 2014-12-29 2016-07-07 华为技术有限公司 Alarm clock setting method, electronic terminal and system
CN111694258A (en) * 2020-06-11 2020-09-22 湖北美和易思教育科技有限公司 Internet of things wall clock

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011135517A (en) * 2009-12-25 2011-07-07 Ntt Docomo Inc Terminal device and alarm control method
WO2012032714A1 (en) 2010-09-06 2012-03-15 Sony Corporation User device, server, and operating conditions setting system
WO2016106517A1 (en) * 2014-12-29 2016-07-07 华为技术有限公司 Alarm clock setting method, electronic terminal and system
CN106662843A (en) * 2014-12-29 2017-05-10 华为技术有限公司 Alarm clock setting method, electronic terminal and system
CN111694258A (en) * 2020-06-11 2020-09-22 湖北美和易思教育科技有限公司 Internet of things wall clock

Similar Documents

Publication Publication Date Title
US9891963B2 (en) System and method for optimizing user notifications for small computer devices
US8600457B2 (en) Sleep mode for mobile communication device
US20110300846A1 (en) Automated switching of user notification profiles in a mobile device
JP2015079499A (en) Communications device having commute time function and methods of use thereof
US9210252B2 (en) End-user device personalized application notification feature
JP2009276220A (en) Alarm generator and alarm generating program
TW201520708A (en) System and method for managing alarm clock
JP2007243275A (en) Mobile terminal, image display method, and image display program
US8036599B2 (en) Method and system for a wireless headset with a clock
US20080126991A1 (en) Mobile terminal and method for alerting a user of schedule information
JP2010004326A (en) Terminal device, and program
JP5110522B2 (en) Portable terminal device and program
JP6505568B2 (en) Text processing device, control method for text processing device, control program, and recording medium
JP3898211B2 (en) Character message output device
JP2009151400A (en) Terminal apparatus and program
CN114358747B (en) Calendar event reminding method and device, storage medium and electronic equipment
EP1566952B1 (en) Automated switching of user notification profiles in a mobile device
KR20040044769A (en) Method for informing of schedule in advance
JP2006135634A (en) Portable mobile communication terminal device and silent mode setting method
JP6573501B2 (en) Utterance terminal, utterance terminal control method, and control program
EP1916831B1 (en) Method of controlling operations and electronic device implementing the same
WO2019071479A1 (en) Alarm clock reminding method and alarm clock reminding system for intelligent terminal
JP2013046318A (en) Portable terminal, alarm cancellation program and alarm cancellation method
JP2006203427A (en) Portable terminal and method of controlling it
JP2002350578A (en) Portable terminal device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20090929

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110802