Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5205490B2 - Mobile terminal and alarm function control method - Google Patents
[go: Go Back, main page]

JP5205490B2 - Mobile terminal and alarm function control method - Google Patents

Mobile terminal and alarm function control method Download PDF

Info

Publication number
JP5205490B2
JP5205490B2 JP2011067718A JP2011067718A JP5205490B2 JP 5205490 B2 JP5205490 B2 JP 5205490B2 JP 2011067718 A JP2011067718 A JP 2011067718A JP 2011067718 A JP2011067718 A JP 2011067718A JP 5205490 B2 JP5205490 B2 JP 5205490B2
Authority
JP
Japan
Prior art keywords
alarm
sensor information
threshold
unit
information acquisition
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
JP2011067718A
Other languages
Japanese (ja)
Other versions
JP2012202825A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo 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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2011067718A priority Critical patent/JP5205490B2/en
Publication of JP2012202825A publication Critical patent/JP2012202825A/en
Application granted granted Critical
Publication of JP5205490B2 publication Critical patent/JP5205490B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、アラーム機能を備える携帯端末、及び当該携帯端末によるアラーム機能制御方法に関する。   The present invention relates to a portable terminal having an alarm function and an alarm function control method using the portable terminal.

従来から、携帯電話機等の携帯端末には、ユーザの目覚まし機能等に用いられる、設定した時刻にアラームを行うアラーム機能が備えられている。このようなアラーム機能には、スヌーズ機能と呼ばれる、一旦アラームを止めてもユーザの二度寝の防止等を目的として、所定時間を経過した後に再度アラームを行う機能を備えているものがある。再度のアラームは、ユーザが寝ている場合には有効であるが、ユーザが起床している場合には望ましくない。   2. Description of the Related Art Conventionally, a mobile terminal such as a mobile phone has been provided with an alarm function for performing an alarm at a set time, which is used for a user alarm function or the like. Among such alarm functions, there is a function called a snooze function, which is provided with a function of performing an alarm again after a predetermined time elapses for the purpose of preventing the user from sleeping twice even if the alarm is once stopped. The second alarm is effective when the user is sleeping, but is not desirable when the user is awake.

これに対して、ユーザが起床していると判断された場合には、アラームを行わないという技術が提案されている。例えば、特許文献1では、携帯端末において自端末の振動数を計測して、振動数が閾値以上の場合にアラーム音の鳴動を解除するという技術が提案されている。また、特許文献2では、目覚まし時計において、人の瞳から反射された光を検出して目覚まし機能を停止することが提案されている。   On the other hand, a technique has been proposed in which an alarm is not performed when it is determined that the user is getting up. For example, Patent Document 1 proposes a technique of measuring the vibration frequency of the mobile terminal in a mobile terminal and canceling the alarm sound when the vibration frequency is equal to or greater than a threshold value. Patent Document 2 proposes that an alarm clock detects the light reflected from a human pupil and stops the alarm function.

特開2010−62931号公報JP 2010-62931 A 特開2008−14904号公報JP 2008-14904 A

上記のように、従来の技術では、振動数や瞳から反射された光等の携帯端末に備えられるセンサによって検出されたセンサ情報を検出してアラームを停止することが提案されている。しかしながら、アラームを停止させるための判断基準である閾値は、プリセットされたものであったり、手動で設定したりする必要がある。ユーザが起床している状況はユーザ毎に異なるため、上記のような閾値の設定方法では適切な閾値を設定することが困難であった。その結果、アラームの停止あるいは実行が適切に行われないことがあった。   As described above, in the prior art, it has been proposed to stop the alarm by detecting sensor information detected by a sensor provided in the portable terminal such as the frequency and light reflected from the pupil. However, the threshold value that is a criterion for stopping the alarm needs to be preset or manually set. Since the situation where the user is getting up differs for each user, it has been difficult to set an appropriate threshold value by the above threshold value setting method. As a result, the alarm may not be stopped or executed properly.

本発明は、上記を鑑みてなされたものであり、センサ情報に基づくアラームの停止あるいは実行を適切に行うことができる携帯端末及びアラーム機能制御方法を提供することを可能にする。   The present invention has been made in view of the above, and makes it possible to provide a mobile terminal and an alarm function control method capable of appropriately stopping or executing an alarm based on sensor information.

上記の目的を達成するために、本発明に係る携帯端末は、設定された時刻にアラームを行い、ユーザからの停止操作を受け付けてアラームを停止するアラーム手段と、自端末又は自端末の周囲の状態を検出して当該状態を示す情報をセンサ情報として取得するセンサ情報取得手段と、アラーム手段によるアラームの停止が行われてから所定時間が経過するまでに自端末に対する停止操作以外のユーザの操作を検出する操作検出手段と、操作検出手段によってユーザの操作が検出された場合にアラーム手段によるアラームが行われた後にセンサ情報取得手段によって取得されたセンサ情報に基づいて、アラームの実行可否を判断するための閾値を設定する閾値設定手段と、センサ情報取得手段によって取得されたセンサ情報と、閾値設定手段によって設定された閾値とに基づいて、アラームの実行可否を判断して、当該判断に応じたアラームの実行可否の制御を行うアラーム制御手段と、を備えることを特徴とする。   In order to achieve the above-described object, the mobile terminal according to the present invention provides an alarm means for performing an alarm at a set time, accepting a stop operation from the user and stopping the alarm, Sensor information acquisition means for detecting the state and acquiring information indicating the state as sensor information, and user operation other than the stop operation for the own terminal until a predetermined time elapses after the alarm is stopped by the alarm means An operation detection means for detecting the alarm and whether or not the alarm can be executed based on the sensor information acquired by the sensor information acquisition means after an alarm is generated by the alarm means when a user operation is detected by the operation detection means Threshold setting means for setting a threshold for performing sensor information, sensor information acquired by the sensor information acquisition means, and threshold setting means Based on the set threshold I, it is determined whether to execute the alarm, characterized in that it comprises a and alarm control means for controlling the executability of alarm in accordance with the judgment.

本発明に係る携帯端末では、アラームの停止操作が行われてからユーザの操作が行われた場合に取得されたセンサ情報が用いられて閾値が設定される。従って、ユーザが起床している場合のセンサ情報を用いて閾値を設定することができ、その結果、適切な閾値の設定が可能となる。これによって、本発明に係る携帯端末によれば、センサ情報に基づくアラームの停止あるいは実行を適切に行うことが可能となる。   In the mobile terminal according to the present invention, the threshold value is set using the sensor information acquired when the user's operation is performed after the alarm stop operation is performed. Therefore, a threshold value can be set using sensor information when the user is getting up, and as a result, an appropriate threshold value can be set. Thus, according to the mobile terminal of the present invention, it is possible to appropriately stop or execute the alarm based on the sensor information.

閾値設定手段は、アラーム手段によるアラームが行われた前後にセンサ情報取得手段によって取得された各センサ情報に所定の差があるか否かを判断して、当該所定の差があると判断された場合に当該センサ情報を閾値の設定に利用することが望ましい。この構成によれば、アラームが行われた前後、即ち、ユーザの起床前後で変動したセンサ情報が閾値の設定に用いられるので、より適切な閾値の設定が可能になる。   The threshold setting unit determines whether there is a predetermined difference between the sensor information acquired by the sensor information acquisition unit before and after the alarm by the alarm unit is performed, and is determined to have the predetermined difference. In this case, it is desirable to use the sensor information for setting a threshold value. According to this configuration, sensor information that has fluctuated before and after the alarm is issued, that is, before and after the user wakes up, is used for setting the threshold value.

閾値設定手段は、アラーム手段によるアラームが行われる前にセンサ情報取得手段によって取得されたセンサ情報にも基づいて閾値を設定することが望ましい。この構成によれば、アラームが行われる前のセンサ情報が用いられた適切な閾値の設定が可能になる。   It is desirable that the threshold setting means sets the threshold based also on the sensor information acquired by the sensor information acquisition means before the alarm by the alarm means. According to this configuration, it is possible to set an appropriate threshold value using the sensor information before the alarm is performed.

閾値設定手段は、センサ情報取得手段によって複数の回数、取得されたセンサ情報に基づいて閾値を設定することが望ましい。この構成によれば、複数回のセンサ情報が用いられて閾値が設定されるため、ノイズデータ等で不適切な閾値が設定されることを防止し適切な閾値を設定することができる。   It is desirable that the threshold setting unit sets the threshold based on the sensor information acquired a plurality of times by the sensor information acquisition unit. According to this configuration, since the threshold value is set by using the sensor information a plurality of times, it is possible to prevent an inappropriate threshold value from being set by noise data or the like and to set an appropriate threshold value.

センサ情報取得手段は、自端末の加速度、並びに自端末の周囲の照度、温度及び音量の少なくとも何れかをセンサ情報として取得することが望ましい。この構成によれば、確実に本発明を実施することができる。   It is desirable that the sensor information acquisition means acquires at least one of the acceleration of the terminal itself and the illuminance, temperature and volume around the terminal as sensor information. According to this structure, this invention can be implemented reliably.

ところで、本発明は、上記のように携帯端末の発明として記述できる他に、以下のように携帯端末によるアラーム機能制御方法の発明としても記述することができる。これはカテゴリが異なるだけで、実質的に同一の発明であり、同様の作用及び効果を奏する。   By the way, the present invention can be described as an invention of a mobile terminal as described above, and can also be described as an invention of an alarm function control method by a mobile terminal as follows. This is substantially the same invention only in different categories, and has the same operations and effects.

即ち、本発明に係るアラーム機能制御方法は、携帯端末によるアラーム機能制御方法であって、設定された時刻にアラームを行い、ユーザからの停止操作を受け付けてアラームを停止するアラームステップと、自端末又は自端末の周囲の状態を検出して当該状態を示す情報をセンサ情報として取得するセンサ情報取得ステップと、アラームステップにおけるアラームの停止が行われてから所定時間が経過するまでに自端末に対する停止操作以外のユーザの操作を検出する操作検出ステップと、操作検出ステップにおけるユーザの操作が検出された場合にアラームステップにおけるアラームが行われた後にセンサ情報取得ステップにおいて取得されたセンサ情報に基づいて、アラームの実行可否を判断するための閾値を設定する閾値設定ステップと、センサ情報取得ステップにおいて取得されたセンサ情報と、閾値設定ステップにおいて設定された閾値とに基づいて、アラームの実行可否を判断して、当該判断に応じたアラームの実行可否の制御を行うアラーム制御ステップと、を含むことを特徴とする。   That is, the alarm function control method according to the present invention is an alarm function control method by a portable terminal, which performs an alarm at a set time, accepts a stop operation from a user and stops the alarm, Alternatively, a sensor information acquisition step for detecting the surrounding state of the terminal and acquiring information indicating the state as sensor information, and a stop for the terminal until a predetermined time elapses after the alarm is stopped in the alarm step. Based on the sensor information acquired in the sensor information acquisition step after the alarm in the alarm step is performed when the user operation in the operation detection step is detected, and the operation detection step for detecting the user's operation other than the operation, A threshold setting step for setting a threshold for determining whether or not to execute an alarm. And an alarm that determines whether or not to execute an alarm based on the sensor information acquired in the sensor information acquisition step and the threshold set in the threshold setting step, and controls whether or not the alarm can be executed according to the determination. And a control step.

本発明では、ユーザが起床している場合のセンサ情報を用いて閾値を設定することができ適切な閾値の設定が可能となる。これによって、本発明によれば、センサ情報に基づくアラームの停止あるいは実行を適切に行うことが可能となる。   In the present invention, a threshold value can be set using sensor information when the user is getting up, and an appropriate threshold value can be set. Thus, according to the present invention, it is possible to appropriately stop or execute the alarm based on the sensor information.

本発明の実施形態に係る携帯端末である携帯電話機の機能構成を示す図である。It is a figure which shows the function structure of the mobile telephone which is a portable terminal which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the mobile telephone which concerns on embodiment of this invention. 携帯電話機で取得され記憶されるセンサ情報の例を示す図である。It is a figure which shows the example of the sensor information acquired and stored with a mobile telephone. 本発明の実施形態に係る携帯電話機で、閾値の設定時に実行される処理(アラーム機能制御方法)を示すフローチャートである。It is a flowchart which shows the process (alarm function control method) performed at the time of the setting of a threshold value with the mobile phone which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機で、設定した閾値を用いたアラーム機能の制御時に実行される処理(アラーム機能制御方法)を示すフローチャートである。It is a flowchart which shows the process (alarm function control method) performed at the time of control of the alarm function using the set threshold value with the mobile phone which concerns on embodiment of this invention.

以下、図面と共に本発明に係る携帯端末及びアラーム機能制御方法の好適な実施形態について詳細に説明する。なお、図面の説明においては同一要素には同一符号を付し、重複する説明を省略する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of a mobile terminal and an alarm function control method according to the present invention will be described in detail with reference to the drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant description is omitted.

図1に、本実施形態に係る携帯端末である携帯電話機10を示す。携帯電話機10は、ユーザによって携帯(所持)され、移動体通信等の通信機能を備えている装置である。携帯電話機10はアラーム機能を有しており、当該アラーム機能はユーザの目覚まし機能等として用いられる。   FIG. 1 shows a mobile phone 10 which is a mobile terminal according to the present embodiment. The mobile phone 10 is a device that is carried (possessed) by a user and has a communication function such as mobile communication. The mobile phone 10 has an alarm function, and the alarm function is used as a user alarm function or the like.

図2に携帯電話機10のハードウェア構成を示す。図2に示すように、携帯電話機10は、CPU(Central Processing Unit)101、主記憶装置であるRAM(Random Access Memory)102及びROM103(ReadOnly Memory)、操作部104、無線通信部105、ディスプレイ106、アンテナ107等のハードウェアにより構成されている。また、携帯電話機10は、上記のハードウェアに加えて、スピーカ108及びセンサ109等のハードウェアを備えている。   FIG. 2 shows a hardware configuration of the mobile phone 10. As shown in FIG. 2, the mobile phone 10 includes a CPU (Central Processing Unit) 101, a RAM (Random Access Memory) 102 and a ROM 103 (ReadOnly Memory) that are main storage devices, an operation unit 104, a wireless communication unit 105, and a display 106. And hardware such as the antenna 107. Further, the mobile phone 10 includes hardware such as a speaker 108 and a sensor 109 in addition to the above hardware.

センサ109は、具体的には、加速度センサ、照度センサ、温度センサ及び音センサ等である。加速度センサは、携帯電話機10に加わる加速度(単位は、例えばm/sec)を検出するセンサである。照度センサは、携帯電話機10の周囲の照度(単位は、例えばルクス)を検出するセンサである。温度センサは、携帯電話機10の周囲の温度(単位は、例えば摂氏温度)を検出するセンサである。音センサは、携帯電話機10の周囲の音量(単位は、例えばdB)を検出するセンサである。これらのセンサは、従来から知られているものを用いることができる。これらの構成要素が動作することにより、後述する携帯電話機10の各機能が発揮される。 Specifically, the sensor 109 is an acceleration sensor, an illuminance sensor, a temperature sensor, a sound sensor, or the like. The acceleration sensor is a sensor that detects acceleration applied to the mobile phone 10 (unit: m / sec 2 ). The illuminance sensor is a sensor that detects the illuminance (unit is, for example, lux) around the mobile phone 10. The temperature sensor is a sensor that detects the temperature around the mobile phone 10 (the unit is, for example, Celsius). The sound sensor is a sensor that detects the volume around the mobile phone 10 (unit: dB, for example). Conventionally known sensors can be used for these sensors. By operating these components, each function of the cellular phone 10 described later is exhibited.

引き続いて、携帯電話機10の本発明に係る機能について説明する。図1に示すように、携帯電話機10は、アラーム部11と、センサ情報取得部12と、操作検出部13と、閾値設定部14と、アラーム制御部15とを備えて構成される。なお、携帯電話機10は上記以外にも、例えば、通話機能、メール機能、Web閲覧機能等の通常の携帯電話機としての機能も備えている(図示せず)。   Subsequently, functions of the mobile phone 10 according to the present invention will be described. As shown in FIG. 1, the mobile phone 10 includes an alarm unit 11, a sensor information acquisition unit 12, an operation detection unit 13, a threshold setting unit 14, and an alarm control unit 15. In addition to the above, the mobile phone 10 has functions as a normal mobile phone such as a call function, a mail function, and a Web browsing function (not shown).

アラーム部11は、設定された時刻にアラームを行うアラーム手段である。アラームは、具体的には、携帯電話機10が備えるスピーカ108によってアラーム音を鳴動させることによって行われる。また、アラームは、アラーム音の鳴動以外にも、携帯電話機10を振動(バイブレーション)させる等のその他の方法で行われてもよい。時刻の設定は、ユーザの携帯電話機10に対する操作によって行われ、アラーム部11は、アラームを行う時刻を記憶している。この時刻は、例えば、ユーザが起床したいと思う時刻に設定される。アラーム部11は、設定されたアラームを行う時刻をセンサ情報取得部12に通知しておく。   The alarm unit 11 is an alarm means for performing an alarm at a set time. Specifically, the alarm is performed by sounding an alarm sound through the speaker 108 provided in the mobile phone 10. In addition to the alarm sound, the alarm may be performed by other methods such as vibrating the mobile phone 10 (vibration). The time is set by the user's operation on the mobile phone 10, and the alarm unit 11 stores the time when the alarm is performed. For example, this time is set to a time when the user wants to wake up. The alarm unit 11 notifies the sensor information acquisition unit 12 of the time for performing the set alarm.

アラーム部11は、アラームを行っているときにユーザからの停止操作を受け付けてアラームを停止する。停止操作は、例えば、携帯電話機10に設けられるアラームの停止するための操作ボタンを押下することである。アラーム部11は、アラームを停止すると、当該停止したことを操作検出部13に通知する。また、アラーム部11は、後述するようにアラーム制御部15からのアラームの実行可否の制御を受ける。この制御を受けて、アラーム部11はアラームの再実行を行う(いわゆるスヌーズ機能である)。アラームの再実行を行うタイミング(前のアラームを行ってからどの程度後のタイミングか)については、予め設定しておくことができる。例えば、後述するように15分後とすることができる。   The alarm unit 11 receives a stop operation from the user when an alarm is being performed and stops the alarm. The stop operation is, for example, pressing an operation button for stopping an alarm provided in the mobile phone 10. When the alarm unit 11 stops the alarm, the alarm unit 11 notifies the operation detection unit 13 that the alarm has stopped. Further, the alarm unit 11 is controlled by the alarm control unit 15 to determine whether or not to execute an alarm, as will be described later. Under this control, the alarm unit 11 re-executes the alarm (a so-called snooze function). The timing at which the alarm is re-executed (how long after the previous alarm is performed) can be set in advance. For example, it may be after 15 minutes as will be described later.

センサ情報取得部12は、携帯電話機10(自端末)又は携帯電話機10の周囲の状態を検出して当該状態を示す情報をセンサ情報として取得するセンサ情報取得手段である。センサ情報の取得は、具体的には、携帯電話機10が備えるセンサ109によって行われる。センサ情報取得部12は、アラーム部11によってアラームが行われる時刻の前後にセンサ情報を取得する。具体的には、例えば、センサ情報取得部12は、アラーム部11から通知されたアラームを行う時刻の5分前と、15分後に各種のセンサ情報を取得する。センサ情報取得部12は、取得したセンサ情報を閾値設定部14に出力する。また、センサ情報取得部12は、アラーム後に取得したセンサ情報をアラーム制御部15に出力する。   The sensor information acquisition unit 12 is a sensor information acquisition unit that detects a state around the mobile phone 10 (own terminal) or the mobile phone 10 and acquires information indicating the state as sensor information. Specifically, the sensor information is acquired by the sensor 109 provided in the mobile phone 10. The sensor information acquisition unit 12 acquires sensor information before and after the time when the alarm is performed by the alarm unit 11. Specifically, for example, the sensor information acquisition unit 12 acquires various types of sensor information 5 minutes before and 15 minutes after the alarm time notified from the alarm unit 11. The sensor information acquisition unit 12 outputs the acquired sensor information to the threshold setting unit 14. The sensor information acquisition unit 12 outputs the sensor information acquired after the alarm to the alarm control unit 15.

なお、例えば、加速度といった特定のタイミングのみでの取得が適当でない(特定のタイミングに加速がはたらいていないと検出されない)センサ情報については、ある程度の幅を持った時間帯でのセンサ情報の取得を行うこととしてもよい。具体的には、加速度については、例えば、アラームが行われる時刻の5分前からアラームが行われる時刻まで、及びアラームが行われた時刻からアラームが行われた時刻の15分後までの時間帯について、加速度を常に検出しておき、加速度が検出された(携帯電話機10が加速されている)場合の値のそれぞれの平均値(m/sec)をアラーム前後のセンサ情報とすることとしてもよい。あるいは、上記の時間帯において、加速度を常に検出しておき、連続して加速度が検出された(携帯電話機10が加速されている)場合の時間の平均値(秒)をセンサ情報とすることとしてもよい。なお、携帯電話機10は起床前には置かれており、起床後に持ち歩かれるものと考えられるので、アラームが行われる前の加速度については、必ずしも取得されなくてもよい。その場合、例えば、加速度の値は、ゼロとして扱われる。 For example, for sensor information that is not suitable for acquisition only at a specific timing such as acceleration (it is not detected if acceleration does not work at a specific timing), acquisition of sensor information in a time zone having a certain width is required. It may be done. Specifically, for acceleration, for example, a time period from 5 minutes before the time when the alarm is performed to the time when the alarm is performed, and from the time when the alarm is performed to 15 minutes after the time when the alarm is performed , The acceleration is always detected, and the average value (m / sec 2 ) when the acceleration is detected (the mobile phone 10 is accelerated) may be used as sensor information before and after the alarm. Good. Alternatively, in the above time zone, acceleration is always detected, and the average value (seconds) of time when acceleration is continuously detected (the mobile phone 10 is accelerated) is used as sensor information. Also good. Since the mobile phone 10 is placed before getting up and is considered to be carried after getting up, the acceleration before the alarm is issued does not necessarily have to be acquired. In that case, for example, the acceleration value is treated as zero.

操作検出部13は、アラーム部11によるアラームの停止が行われてから所定時間が経過するまでに、携帯電話機10(自端末)に対する上記のアラーム停止操作以外のユーザの操作を検出する操作検出手段である。アラーム停止操作以外のユーザの操作とは、例えば、Web接続やメール作成等のためにユーザが携帯電話機10に設けられる操作ボタンを押下することである。この操作の検出は、アラームが停止した後、ユーザが起床しているかどうかを確認するためのものである。上記の所定時間は、予め設定された時間であり、具体的には例えば、15分間である。この時間は、例えば、アラームの停止操作が行われてからアラームを再実行するまでの時間としてもよい。操作検出部13は、当該時間の間にアラーム停止操作以外のユーザの操作を検出したら、閾値設定部14及びアラーム制御部15にその旨を通知する。   The operation detection unit 13 is an operation detection unit that detects a user operation other than the above-described alarm stop operation on the mobile phone 10 (own terminal) before a predetermined time elapses after the alarm unit 11 stops the alarm. It is. The user operation other than the alarm stop operation is, for example, that the user presses an operation button provided on the mobile phone 10 for Web connection, mail creation, or the like. The detection of this operation is for confirming whether or not the user has woken up after the alarm stops. The predetermined time is a preset time, specifically, for example, 15 minutes. This time may be, for example, the time from when the alarm stop operation is performed until the alarm is re-executed. If the operation detection unit 13 detects a user operation other than the alarm stop operation during the time, the operation detection unit 13 notifies the threshold setting unit 14 and the alarm control unit 15 to that effect.

閾値設定部14は、アラームの実行可否を判断するための閾値を設定する閾値設定手段である。後述するように、この閾値は、取得されたセンサ情報と比較されてアラームの実行可否の判断に用いられる。閾値設定部14は、操作検出部13によってユーザの操作が検出された場合に、アラーム部11によるアラームが行われた後にセンサ情報取得部12によって取得されたセンサ情報に基づいて、閾値を設定する。ここで、操作検出部13によってユーザの操作が検出された場合のセンサ情報を用いているのは、ユーザが起床している(と推定される)場合のセンサ情報のみを閾値の設定に反映させるためである。   The threshold setting unit 14 is a threshold setting unit that sets a threshold for determining whether an alarm can be executed. As will be described later, this threshold is compared with the acquired sensor information and used to determine whether or not an alarm can be executed. The threshold setting unit 14 sets a threshold based on sensor information acquired by the sensor information acquisition unit 12 after an alarm is generated by the alarm unit 11 when a user operation is detected by the operation detection unit 13. . Here, the sensor information when the operation of the user is detected by the operation detection unit 13 is used to reflect only the sensor information when the user is awake (estimated) in the threshold setting. Because.

また、閾値設定部14は、センサ情報取得部12によって複数の回数、取得されたセンサ情報に基づいて閾値を設定することとしてもよい。具体的には、閾値設定部14は、図3に示すように各センサ情報を、センサ情報の種別ごとに一定の値の幅(間隔)で区切って、当該値の幅毎に(ユーザの操作が検出されて)取得されたセンサ情報の数を履歴情報としてカウントする。図3(a)は照度、図3(b)は加速度、図3(c)は温度、図3(d)は音量の履歴情報である。例えば、図3に示すように、照度であれば100ルクスの幅毎に、加速度であれば1m/secの幅毎に、温度であれば5度の幅毎に、音量であれば10dBの幅毎にセンサ情報の数をカウントする。 The threshold setting unit 14 may set the threshold based on the sensor information acquired by the sensor information acquisition unit 12 a plurality of times. Specifically, as illustrated in FIG. 3, the threshold setting unit 14 divides each sensor information by a constant value width (interval) for each type of sensor information, and performs the operation for each value width (user operation The number of acquired sensor information is counted as history information. 3A shows illuminance, FIG. 3B shows acceleration, FIG. 3C shows temperature, and FIG. 3D shows volume history information. For example, as shown in FIG. 3, every 100 lux for illuminance, every 1 m / sec 2 for acceleration, every 5 degrees for temperature, and 10 dB for volume. The number of sensor information is counted for each width.

また、閾値設定部14は、アラーム部11によるアラームが行われる前にセンサ情報取得部12によって取得されたセンサ情報と、アラームが行われた後に取得されたセンサ情報とを比較して、それらに所定の差があるか否かを判断して、所定の差があると判断された場合に(アラームが行われた後に取得された)センサ情報を閾値の設定に利用することとしてもよい。例えば、アラーム前のセンサ情報の値とアラーム後のセンサ情報の値とが、上記のカウントの値幅で2つ以上変動している場合のみ、閾値の設定に利用する。例えば、アラーム前の照度値が50ルクス(値幅は0〜100ルクス)、アラーム後の照度値が320(値幅は300〜400ルクス)であった場合、値幅は3つ変動しているので当該アラーム後の照度値は、図3に示す履歴情報としてカウントされる。一方、アラーム前の照度値が50ルクス(値幅は0〜100ルクス)、アラーム後の照度値が120(値幅は100〜200ルクス)であった場合、値幅は1つしか変動していないので当該アラーム後の照度値は、図3に示す履歴情報としてカウントされない。   In addition, the threshold setting unit 14 compares the sensor information acquired by the sensor information acquisition unit 12 before the alarm by the alarm unit 11 is performed with the sensor information acquired after the alarm is performed. It is possible to determine whether or not there is a predetermined difference, and when it is determined that there is a predetermined difference, sensor information (obtained after an alarm is performed) may be used for setting a threshold. For example, the threshold value is used only when the sensor information value before the alarm and the sensor information value after the alarm fluctuate by two or more in the value range of the count. For example, if the illuminance value before the alarm is 50 lux (value range is 0 to 100 lux) and the illuminance value after the alarm is 320 (value range is 300 to 400 lux), the value range fluctuates by 3 and the alarm The subsequent illuminance value is counted as history information shown in FIG. On the other hand, if the illuminance value before the alarm is 50 lux (value range is 0 to 100 lux) and the illuminance value after the alarm is 120 (value range is 100 to 200 lux), the value range changes only by one, so The illuminance value after the alarm is not counted as the history information shown in FIG.

これは、誤差レベルでの変動を履歴情報として記憶しないためのものである。どの程度の差分があれば、カウントするかについては、値幅やセンサ情報の特性等が考慮されて予め設定される。   This is to prevent the variation in the error level from being stored as history information. The amount of difference that is counted is set in advance in consideration of the value width, the characteristics of sensor information, and the like.

閾値設定部14は、一定数、例えば10回分のセンサ情報の履歴情報が取得できた場合に、当該センサ情報について閾値を設定することとする。なお、閾値の設定は、精度を高めるという観点から、上記のように10回分といった複数回のセンサ情報が取得されてから行うことが望ましいが、センサ情報が1回取得された段階で行うこととしてもよい。   The threshold value setting unit 14 sets a threshold value for sensor information when history information of sensor information for a certain number, for example, 10 times can be acquired. In addition, from the viewpoint of improving accuracy, it is desirable to set the threshold after acquiring sensor information for a plurality of times such as 10 times as described above. However, the threshold is set when sensor information is acquired once. Also good.

閾値設定部14は、図3に示す履歴情報において、最頻値となる値幅の下限値を閾値とする。図3(a)の照度の履歴情報では、300〜400ルクスが最頻値となっているため、閾値設定部14は、下限値の300ルクスを閾値とする。最頻値の値幅が2つ存在している場合には、値が小さい方の値幅を用いる。閾値として下限値を設定するのは、予め起床後には起床前よりもセンサ情報が大きな値を取ると分かっているものに対してであり、予め起床後(アラーム後)には起床前(アラーム前)よりもセンサ情報が大きな値を取ると分かっているものに対しては、閾値として最頻値の上限値を設定することとしてもよい。また、アラームが行われる前後のセンサ情報で示される値の増減の傾向を参照して、下限値、上限値の何れを閾値とするかを決めてもよい。   The threshold value setting unit 14 sets the lower limit value of the value range that is the mode value as the threshold value in the history information shown in FIG. In the illuminance history information in FIG. 3A, 300 to 400 lux is the mode value, so the threshold value setting unit 14 sets the lower limit value of 300 lux as the threshold value. If there are two mode widths, the smaller value range is used. The lower limit value is set as a threshold value for sensors whose sensor information is known to have a larger value after waking up than before waking up, and before waking up (after alarming) before waking up (before alarming). The upper limit value of the mode value may be set as the threshold value for the sensor information that is known to have a larger value than (). Further, referring to the tendency of increase / decrease in the value indicated by the sensor information before and after the alarm is performed, it may be determined which of the lower limit value and the upper limit value is set as the threshold value.

上述した閾値の設定は、アラーム後のセンサ情報のみを利用したものであったが、以下のようにアラーム前のセンサ情報を利用して決定することとしてもよい。アラーム前のセンサ情報の履歴情報を、図3に示すアラーム後のセンサ情報の履歴情報と同様に記憶しておく。アラーム前後の履歴情報のそれぞれの最頻値の中間となる値を閾値として設定する。例えば、アラーム前の履歴情報による最頻値が0〜100ルクス、アラーム後の履歴情報による最頻値が300〜400ルクスであった場合、50ルクスと350ルクスとの中間地である200ルクスを閾値とする。   Although the threshold value setting described above uses only sensor information after an alarm, it may be determined using sensor information before an alarm as described below. The history information of the sensor information before the alarm is stored in the same manner as the history information of the sensor information after the alarm shown in FIG. A value that is intermediate between the most frequent values of the history information before and after the alarm is set as a threshold value. For example, when the mode value based on the history information before the alarm is 0 to 100 lux and the mode value based on the history information after the alarm is 300 to 400 lux, 200 lux which is an intermediate place between 50 lux and 350 lux is set. The threshold is used.

閾値設定部14は、設定した閾値を示す情報をアラーム制御部15に出力する。なお、閾値を設定した後も引き続いてセンサ情報を取得して、取得したセンサ情報に基づいて新たに閾値を設定し直すこととしてもよい。また、ユーザの環境やライフスタイルが変化した場合や季節の変動等を考慮して、1ヶ月あるいは3ヶ月(季節)ごとに閾値及び履歴情報をリセットすることが望ましい。また、リセットを行う場合であっても、リセット前の10回の履歴情報から算出した閾値を、リセット後すぐに再設定することとしてもよい。リセット後に10回履歴を貯めていると、その間の閾値が設定されない状態となり、例えば、1ヶ月でリセットをする場合には半月程度しか閾値が設定される期間がなくなるためである。   The threshold setting unit 14 outputs information indicating the set threshold to the alarm control unit 15. In addition, after setting a threshold value, it is good also as acquiring sensor information continuously and resetting a threshold value newly based on the acquired sensor information. In addition, it is desirable to reset the threshold value and history information every month or every three months (season) in consideration of changes in the user's environment and lifestyle, seasonal variations, and the like. Even in the case of resetting, the threshold value calculated from the 10 history information before resetting may be reset immediately after resetting. If the history is accumulated 10 times after the reset, the threshold value is not set. For example, when the reset is performed in one month, there is no period in which the threshold value is set for about half a month.

アラーム制御部15は、センサ情報取得部12によって取得されたセンサ情報と、閾値設定部14によって設定された閾値とに基づいて、アラームの実行可否を判断して、当該判断に応じたアラームの実行可否の制御を行うアラーム制御手段である。アラーム制御部15は、閾値設定部14によって設定された閾値に基づいて、再アラームを停止するか否かを判断する。この判断は、例えば、再アラームを行うタイミングで行われる。具体的には、センサ情報取得部12によって各種のセンサ情報が取得されてアラーム制御部15に出力されるタイミングである、アラーム部11によるアラームの実行から15分後に行われる。   The alarm control unit 15 determines whether the alarm can be executed based on the sensor information acquired by the sensor information acquisition unit 12 and the threshold set by the threshold setting unit 14, and executes the alarm according to the determination. It is an alarm control means for controlling availability. The alarm control unit 15 determines whether or not to stop the re-alarm based on the threshold set by the threshold setting unit 14. This determination is made, for example, at a timing when a re-alarm is performed. Specifically, it is performed 15 minutes after the execution of the alarm by the alarm unit 11, which is the timing at which various sensor information is acquired by the sensor information acquisition unit 12 and output to the alarm control unit 15.

アラーム制御部15は、閾値設定部14によって設定された閾値に対応する、アラーム後のセンサ情報がセンサ情報取得部12から入力されると、当該センサ情報と閾値とを比較する。アラーム後のセンサ情報が閾値よりも大きいと判断すると、アラーム制御部15は再アラームを停止する(実行しない)と判断して、その旨の制御をアラーム部11に対して行う。なお、上記の判断は、アラーム後のセンサ情報が起床時には起床前よりも大きな値をとる種類のセンサ情報(即ち、閾値設定部14によって値幅の下限値が閾値と決定される種類のセンサ情報)に対して行われる。アラーム後のセンサ情報が起床時には起床前よりも小さな値をとる種類のセンサ情報については、アラーム後に取得されたセンサ情報が閾値よりも小さいと判断された場合に、再アラームを停止する旨の制御が行われる。   When sensor information after an alarm corresponding to the threshold set by the threshold setting unit 14 is input from the sensor information acquisition unit 12, the alarm control unit 15 compares the sensor information with the threshold. If it is determined that the sensor information after the alarm is larger than the threshold value, the alarm control unit 15 determines that the re-alarm is stopped (not executed), and performs control to that effect on the alarm unit 11. Note that the above judgment is based on the type of sensor information in which the sensor information after the alarm takes a larger value than the level before waking up (that is, the type of sensor information in which the lower limit of the value range is determined as the threshold value by the threshold setting unit 14). To be done. For the sensor information that takes a smaller value when waking up after the alarm, if the sensor information obtained after the alarm is determined to be smaller than the threshold, control to stop the re-alarm Is done.

また、閾値による再アラームの実行可否の判断は、閾値が閾値設定部14から入力された種類のセンサ情報についてのみ行われる。複数の種類のセンサ情報の閾値が入力された場合には、そのうちいずれかのセンサ情報について閾値を超えている(あるいは、閾値を下回る)という判断がされた場合に再アラームを停止することとすればよい。あるいは、全てのセンサ情報について閾値を超えている(あるいは、閾値を下回る)という判断がされた場合に再アラームを停止することとしてもよい。   Further, whether or not the re-alarm can be executed based on the threshold is determined only for the sensor information of the type whose threshold is input from the threshold setting unit 14. When threshold values of multiple types of sensor information are input, if any of the sensor information is judged to exceed the threshold value (or fall below the threshold value), the re-alarm will be stopped. That's fine. Or it is good also as stopping a re-alarm when it is judged that the threshold value is exceeded about all sensor information (or it is less than a threshold value).

また、アラーム制御部15は、操作検出部13によってアラームの停止操作が行われてからアラームを再実行するまでの時間にユーザの操作が検出された場合には、センサ情報と閾値との関係にかかわらず再アラームを停止するという制御を行う。   Further, the alarm control unit 15 determines the relationship between the sensor information and the threshold value when a user operation is detected during the time from when the operation detection unit 13 performs the alarm stop operation until the alarm is re-executed. Regardless of this, control is performed to stop the alarm again.

アラーム制御部15は、上記のようにアラームの再実行のタイミングで停止するという判断を行わない場合には、アラーム部11に対してアラームを再実行させる制御を行う。なお、上記の、再アラームを停止する旨の制御は、必ずしも当該制御が能動的に行われる必要はなく、アラームを再実行させる制御が行われなければよい。   When the alarm control unit 15 does not determine to stop at the alarm re-execution timing as described above, the alarm control unit 15 controls the alarm unit 11 to re-execute the alarm. Note that the control for stopping the re-alarm is not necessarily performed actively, and the control for re-executing the alarm may not be performed.

また、上記では、アラーム制御部15によるセンサ情報によるアラームの実行可否の判断は、一度アラームが行われて再度アラームが実行されるときとしているが、必ずしもこのタイミングでなくてもよく一度目のアラームの際に行われてもよい。その場合、判断のタイミングでセンサ情報取得部12によってセンサ情報が取得される。以上が、携帯電話機10の本発明に係る機能である。   In the above description, the alarm control unit 15 determines whether or not the alarm can be executed based on the sensor information when the alarm is once executed and the alarm is executed again. It may be done at the time. In that case, sensor information is acquired by the sensor information acquisition unit 12 at the timing of determination. The above is the function of the mobile phone 10 according to the present invention.

引き続いて、図4及び図5のフローチャートを用いて、本実施形態に係る携帯電話機10で実行される処理(アラーム機能制御方法)を説明する。まず、図4のフローチャートを用いて、閾値の設定時に実行される処理を説明する。その後に、図5のフローチャートを用いて、設定した閾値を用いたアラーム機能の制御時に実行される処理を説明する。この2種類の処理は、同時にも行われえるが、簡単のためそれぞれ分けて説明する。   Subsequently, processing (alarm function control method) executed by the mobile phone 10 according to the present embodiment will be described with reference to the flowcharts of FIGS. 4 and 5. First, processing executed when setting a threshold will be described with reference to the flowchart of FIG. Subsequently, processing executed when controlling the alarm function using the set threshold will be described with reference to the flowchart of FIG. These two types of processing can be performed simultaneously, but will be described separately for simplicity.

携帯電話機10では、アラームが行われる時刻の5分前のタイミングで、センサ情報取得部12によって各種のセンサ情報が取得される(S01、センサ情報取得ステップ)。具体的には、上述したように加速度、照度、温度及び音量が検出されて、それらに係るセンサ情報が取得される。取得されたセンサ情報は、センサ情報取得部12から閾値設定部14に入力される。続いて、アラームが行われる時刻になると、アラーム部11によってアラームが行われる(S02、アラームステップ)。具体的には、上述したようにアラーム音の鳴動が行われる。アラームの実行は、ユーザからの携帯電話機10に対する停止操作が行われるまで続けられる。当該停止操作が行われると、アラーム部11によって、当該停止操作が受け付けられ、アラームの実行が停止される(S03、アラームステップ)。   In the mobile phone 10, various sensor information is acquired by the sensor information acquisition unit 12 at a timing 5 minutes before the time when the alarm is performed (S 01, sensor information acquisition step). Specifically, as described above, acceleration, illuminance, temperature, and volume are detected, and sensor information related to them is acquired. The acquired sensor information is input from the sensor information acquisition unit 12 to the threshold setting unit 14. Subsequently, when it is time to perform an alarm, an alarm is performed by the alarm unit 11 (S02, alarm step). Specifically, an alarm sound is generated as described above. The execution of the alarm is continued until a stop operation is performed on the mobile phone 10 from the user. When the stop operation is performed, the alarm unit 11 receives the stop operation and stops the execution of the alarm (S03, alarm step).

続いて、アラームの停止から15分が経過するまでに、操作検出部13によって、携帯電話機に対する上記のアラーム停止操作以外のユーザの操作が検出される(S04、操作検出ステップ)。もし、ユーザの操作が検出されない(ユーザが操作していない)場合には、上述したS01以降の処理が繰り返される。S01以降の繰り返しの処理は、アラームの再実行(スヌーズ)の際に行われてもよいし、次の日の1度目のアラームの実行の際に行われてもよい。また、ユーザによってアラームの時刻を再設定された場合は、再設定された時刻でのアラームの実行の際に、S01以降の繰り返しの処理が行われてもよい。   Subsequently, until 15 minutes have passed since the alarm was stopped, the operation detection unit 13 detects a user operation other than the above-described alarm stop operation on the mobile phone (S04, operation detection step). If the user's operation is not detected (the user is not operating), the above-described processing after S01 is repeated. The repeated processing after S01 may be performed when the alarm is re-executed (snooze), or may be performed when the first alarm is executed on the next day. Further, when the alarm time is reset by the user, when the alarm is executed at the reset time, iterative processing after S01 may be performed.

S04において、ユーザの操作が検出された(ユーザが操作した)場合には、その旨が操作検出部13から閾値設定部14に通知される。また、アラームが行われた時刻の15分後のタイミングで、センサ情報取得部12によって各種のセンサ情報が取得される(S05、センサ情報取得ステップ)。取得されたセンサ情報は、センサ情報取得部12から閾値設定部14に入力される。   In S04, when a user operation is detected (operated by the user), the operation detection unit 13 notifies the threshold setting unit 14 to that effect. Various sensor information is acquired by the sensor information acquisition unit 12 at a timing 15 minutes after the time when the alarm is performed (S05, sensor information acquisition step). The acquired sensor information is input from the sensor information acquisition unit 12 to the threshold setting unit 14.

続いて、閾値設定部14によって、アラームの前後で取得されたセンサ情報が比較されてそれらに所定の差があるか否かが判断される。所定の差がある場合に、閾値設定部14によって、アラーム後のセンサ情報が、図3に示すような履歴情報として記憶される(S06、閾値設定ステップ)。なお、アラーム前のセンサ情報も閾値の設定に用いる場合には、アラーム前のセンサ情報についても同様に記憶しておく。この記憶は、S05で取得されたセンサ情報の種別毎に行われる。   Subsequently, the threshold value setting unit 14 compares the sensor information acquired before and after the alarm to determine whether there is a predetermined difference between them. When there is a predetermined difference, the threshold setting unit 14 stores the sensor information after the alarm as history information as shown in FIG. 3 (S06, threshold setting step). When sensor information before an alarm is also used for setting a threshold value, sensor information before an alarm is stored in the same manner. This storage is performed for each type of sensor information acquired in S05.

続いて、閾値設定部14によって、センサ情報の履歴情報が10回分、蓄積されているか否かが判断される(S07、閾値設定ステップ)。即ち、S06におけるセンサ情報の蓄積が、何れかの種別のセンサ情報が10回なされているかが判断される。10回分の履歴情報が蓄積されていないと判断された場合には、上述したS01以降の処理が繰り返される。この場合、S01以降の繰り返しの処理は、次の日の1度目のアラームの実行の際に行われる。また、ユーザによってアラームの時刻を再設定された場合は、再設定された時刻でのアラームの実行の際に、S01以降の繰り返しの処理が行われてもよい。   Subsequently, the threshold setting unit 14 determines whether or not the sensor information history information has been accumulated 10 times (S07, threshold setting step). That is, it is determined whether the sensor information is accumulated 10 times in S06. If it is determined that the history information for 10 times is not accumulated, the above-described processing after S01 is repeated. In this case, the repetitive processing after S01 is performed when the first alarm is executed on the next day. Further, when the alarm time is reset by the user, when the alarm is executed at the reset time, iterative processing after S01 may be performed.

10回分の履歴情報が蓄積されていると判断された場合には、閾値設定部14によって、その種別のセンサ情報について、履歴情報に基づいて閾値が設定される(S08、閾値設定ステップ)。設定された閾値は、閾値設定部14からアラーム制御部15に入力される。なお、このようにして、一度閾値が設定された場合でも、再度、S01以降の処理を繰り返して閾値を更新するようにしてもよい。以上が、閾値の設定時に実行される処理である。   When it is determined that the history information for 10 times is accumulated, the threshold setting unit 14 sets a threshold for the type of sensor information based on the history information (S08, threshold setting step). The set threshold value is input from the threshold value setting unit 14 to the alarm control unit 15. In this way, even if the threshold value is set once, the threshold value may be updated by repeating the processing after S01 again. The above is the process executed when setting the threshold.

引き続いて、図5のフローチャートを用いて、設定した閾値を用いたアラーム機能の制御時に実行される処理を説明する。携帯電話機10では、アラームが行われる時刻になると、アラーム部11によってアラームが行われる(S11、アラームステップ(図4のS02に対応))。アラームの実行は、ユーザからの携帯電話機10に対する停止操作が行われるまで続けられる。当該停止操作が行われると、アラーム部11によって、当該停止操作が受け付けられ、アラームの実行が停止される(S12、アラームステップ(図4のS02に対応))。   Subsequently, processing executed at the time of controlling the alarm function using the set threshold will be described with reference to the flowchart of FIG. In the mobile phone 10, when it is time to perform an alarm, the alarm is performed by the alarm unit 11 (S 11, alarm step (corresponding to S 02 in FIG. 4)). The execution of the alarm is continued until a stop operation is performed on the mobile phone 10 from the user. When the stop operation is performed, the alarm unit 11 receives the stop operation and stops the execution of the alarm (S12, alarm step (corresponding to S02 in FIG. 4)).

続いて、アラームが行われた時刻の15分後のタイミングで、センサ情報取得部12によって各種のセンサ情報が取得される(S13、センサ情報取得ステップ(図4のS05に対応))。取得されたセンサ情報は、センサ情報取得部12からアラーム制御部15に入力される。   Subsequently, various sensor information is acquired by the sensor information acquisition unit 12 at a timing 15 minutes after the time when the alarm is performed (S13, sensor information acquisition step (corresponding to S05 in FIG. 4)). The acquired sensor information is input from the sensor information acquisition unit 12 to the alarm control unit 15.

ここで、アラームの停止から15分が経過するまでに、操作検出部13によって、携帯電話機に対する上記のアラーム停止操作以外のユーザの操作が検出される。ユーザの操作が検出された場合、その旨の情報が操作検出部13からアラーム制御部15に通知される。   Here, by 15 minutes after the alarm is stopped, the operation detection unit 13 detects a user operation other than the above-described alarm stop operation on the mobile phone. When a user operation is detected, information to that effect is notified from the operation detection unit 13 to the alarm control unit 15.

アラーム制御部15では、アラームの再実行が行われるか否かが判断され、それに基づいたアラームの実行可否の制御が行われる(S14、アラーム制御ステップ)。具体的には、アラーム制御部15では、操作検出部13からユーザの操作が検出された旨の通知が行われた場合には、再アラームは行われないと判断される。また、アラーム制御部15では、S13でセンサ情報取得部12から入力されたセンサ情報と当該センサ情報に対応する閾値とが比較されて、再アラームの実行の可否が判断される。例えば、センサ情報により示される値が閾値を超えていると判断された場合には、再アラームは行われないと判断される。上記の何れかの判断により、再アラームは行われないと判断されると再アラームの制御は行われず(再アラームの実行は停止される)処理は終了する。   The alarm control unit 15 determines whether or not the alarm is re-executed, and controls whether or not the alarm can be executed based on the determination (S14, alarm control step). Specifically, the alarm control unit 15 determines that the re-alarm is not performed when the operation detection unit 13 notifies that the user operation has been detected. Further, the alarm control unit 15 compares the sensor information input from the sensor information acquisition unit 12 in S13 with a threshold corresponding to the sensor information, and determines whether or not the re-alarm can be executed. For example, when it is determined that the value indicated by the sensor information exceeds the threshold value, it is determined that the re-alarm is not performed. If it is determined by any of the above determinations that a re-alarm is not performed, the re-alarm control is not performed (the execution of the re-alarm is stopped), and the process ends.

一方で、上記の何れかの判断により、再アラームは行われないと判断されない場合には、アラーム制御部15からアラーム部11に対してアラームを再度行うように制御がなされ、アラーム部11によって再度アラームが実行される(S11、アラームステップ)。以上が、設定した閾値を用いたアラーム機能の制御時に実行される処理である。   On the other hand, if it is not determined that the re-alarm is not performed by any of the above determinations, the alarm control unit 15 controls the alarm unit 11 to perform the alarm again. An alarm is executed (S11, alarm step). The above is the processing executed when controlling the alarm function using the set threshold value.

上述したように本実施形態によれば、アラームの停止操作が行われてから更にユーザの操作が行われた場合に取得されたセンサ情報が用いられて閾値が設定される。従って、ユーザが起床している場合のセンサ情報を用いて閾値を設定することができ、その結果、適切な閾値の設定が可能となる。これによって、本実施形態によれば、センサ情報に基づくアラームの停止あるいは実行を適切に行うことが可能となる。また、本実施形態によれば、ユーザが手動で閾値を設定することなく自動で適切な閾値が設定されるので、ユーザの手間を発生させずにユーザの利便性を向上させることができる。   As described above, according to the present embodiment, the threshold value is set by using sensor information acquired when a user operation is further performed after an alarm stop operation is performed. Therefore, a threshold value can be set using sensor information when the user is getting up, and as a result, an appropriate threshold value can be set. Thus, according to the present embodiment, it is possible to appropriately stop or execute the alarm based on the sensor information. In addition, according to the present embodiment, an appropriate threshold value is automatically set without the user manually setting the threshold value, so that it is possible to improve the convenience for the user without causing the user trouble.

また、本実施形態のように、アラームの前後、即ち、ユーザの起床前後で変動したセンサ情報のみを閾値の設定に用いることが望ましい。これにより、より適切な閾値の設定が可能になる。但し、必ずしもアラーム前のセンサ情報との比較を行う必要はなく、アラームの停止操作の後の操作が行われた場合のセンサ情報を一律に用いることとしてもよい。   Further, as in the present embodiment, it is desirable to use only sensor information that fluctuates before and after an alarm, that is, before and after the user wakes up, for setting a threshold. Thereby, a more appropriate threshold value can be set. However, it is not always necessary to perform comparison with the sensor information before the alarm, and the sensor information when the operation after the alarm stop operation is performed may be uniformly used.

また、本実施形態のように、アラーム前のセンサ情報を用いて閾値を用いることとしてもよい。この構成によれば、アラームの前後でセンサ情報の差が大きい場合等には適切な閾値の設定が可能になる。   Further, as in the present embodiment, a threshold value may be used using sensor information before an alarm. According to this configuration, an appropriate threshold can be set when there is a large difference in sensor information before and after an alarm.

また、本実施形態のように複数回取得されたセンサ情報が用いられて閾値が設定されることが望ましい。この構成によれば、ノイズデータ等で不適切な閾値が設定されることを防止し適切な閾値を設定することができる。   In addition, it is desirable that the threshold value is set by using sensor information acquired a plurality of times as in the present embodiment. According to this configuration, an inappropriate threshold value can be prevented from being set in noise data or the like, and an appropriate threshold value can be set.

10…携帯電話機、11…アラーム部、12…センサ情報取得部、13…操作検出部、14…閾値設定部、15…アラーム制御部、101…CPU、102…RAM、103…ROM、104…操作部、105…無線通信部、106…ディスプレイ、107…アンテナ、108…スピーカ、109…センサ。   DESCRIPTION OF SYMBOLS 10 ... Mobile phone, 11 ... Alarm part, 12 ... Sensor information acquisition part, 13 ... Operation detection part, 14 ... Threshold setting part, 15 ... Alarm control part, 101 ... CPU, 102 ... RAM, 103 ... ROM, 104 ... Operation 105, wireless communication unit, 106, display, 107, antenna, 108, speaker, 109, sensor.

Claims (6)

設定された時刻にアラームを行い、ユーザからの停止操作を受け付けてアラームを停止するアラーム手段と、
自端末又は自端末の周囲の状態を検出して当該状態を示す情報をセンサ情報として取得するセンサ情報取得手段と、
前記アラーム手段によるアラームの停止が行われてから所定時間が経過するまでに自端末に対する前記停止操作以外のユーザの操作を検出する操作検出手段と、
前記操作検出手段によってユーザの操作が検出された場合に前記アラーム手段によるアラームが行われた後に前記センサ情報取得手段によって取得されたセンサ情報に基づいて、アラームの実行可否を判断するための閾値を設定する閾値設定手段と、
前記センサ情報取得手段によって取得されたセンサ情報と、前記閾値設定手段によって設定された閾値とに基づいて、アラームの実行可否を判断して、当該判断に応じたアラームの実行可否の制御を行うアラーム制御手段と、
を備える携帯端末。
An alarm means for performing an alarm at a set time and receiving a stop operation from the user to stop the alarm;
Sensor information acquisition means for detecting the own terminal or the surrounding state of the own terminal and acquiring information indicating the state as sensor information;
Operation detecting means for detecting a user operation other than the stop operation on the own terminal until a predetermined time elapses after the alarm is stopped by the alarm means;
When a user operation is detected by the operation detection unit, a threshold for determining whether or not to execute an alarm is determined based on sensor information acquired by the sensor information acquisition unit after an alarm is generated by the alarm unit. Threshold setting means for setting;
Based on the sensor information acquired by the sensor information acquisition means and the threshold set by the threshold setting means, an alarm that determines whether or not an alarm can be executed and controls whether or not the alarm can be executed according to the determination. Control means;
A mobile terminal comprising:
前記閾値設定手段は、前記アラーム手段によるアラームが行われた前後に前記センサ情報取得手段によって取得された各センサ情報に所定の差があるか否かを判断して、当該所定の差があると判断された場合に当該センサ情報を閾値の設定に利用することを特徴とする請求項1に記載の携帯端末。   The threshold value setting means determines whether or not there is a predetermined difference between the sensor information acquired by the sensor information acquisition means before and after the alarm by the alarm means is performed. The mobile terminal according to claim 1, wherein, when determined, the sensor information is used for setting a threshold value. 前記閾値設定手段は、前記アラーム手段によるアラームが行われる前に前記センサ情報取得手段によって取得されたセンサ情報にも基づいて前記閾値を設定することを特徴とする請求項2に記載の携帯端末。   The mobile terminal according to claim 2, wherein the threshold setting unit sets the threshold based on sensor information acquired by the sensor information acquisition unit before an alarm is generated by the alarm unit. 前記閾値設定手段は、前記センサ情報取得手段によって複数の回数、取得されたセンサ情報に基づいて前記閾値を設定することを特徴とする請求項1〜3のいずれか一項に記載の携帯端末。   The portable terminal according to any one of claims 1 to 3, wherein the threshold setting unit sets the threshold based on sensor information acquired a plurality of times by the sensor information acquisition unit. 前記センサ情報取得手段は、自端末の加速度、並びに自端末の周囲の照度、温度及び音量の少なくとも何れかをセンサ情報として取得することを特徴とする請求項1〜4のいずれか一項に記載の携帯端末。   The said sensor information acquisition means acquires at least any one of the acceleration of an own terminal, the illumination intensity of the surroundings of an own terminal, temperature, and a volume as sensor information, The Claim 1 characterized by the above-mentioned. Mobile devices. 携帯端末によるアラーム機能制御方法であって、
設定された時刻にアラームを行い、ユーザからの停止操作を受け付けてアラームを停止するアラームステップと、
自端末又は自端末の周囲の状態を検出して当該状態を示す情報をセンサ情報として取得するセンサ情報取得ステップと、
前記アラームステップにおけるアラームの停止が行われてから所定時間が経過するまでに自端末に対する前記停止操作以外のユーザの操作を検出する操作検出ステップと、
前記操作検出ステップにおけるユーザの操作が検出された場合に前記アラームステップにおけるアラームが行われた後に前記センサ情報取得ステップにおいて取得されたセンサ情報に基づいて、アラームの実行可否を判断するための閾値を設定する閾値設定ステップと、
前記センサ情報取得ステップにおいて取得されたセンサ情報と、前記閾値設定ステップにおいて設定された閾値とに基づいて、アラームの実行可否を判断して、当該判断に応じたアラームの実行可否の制御を行うアラーム制御ステップと、
を含むアラーム機能制御方法。
An alarm function control method by a mobile terminal,
An alarm step for performing an alarm at a set time and accepting a stop operation from the user to stop the alarm;
A sensor information acquisition step of detecting the own terminal or a surrounding state of the own terminal and acquiring information indicating the state as sensor information;
An operation detection step of detecting a user operation other than the stop operation on the terminal until a predetermined time elapses after the alarm is stopped in the alarm step;
When a user operation is detected in the operation detection step, a threshold for determining whether or not to execute the alarm is determined based on the sensor information acquired in the sensor information acquisition step after the alarm is performed in the alarm step. A threshold setting step to be set;
Based on the sensor information acquired in the sensor information acquisition step and the threshold set in the threshold setting step, an alarm that determines whether or not an alarm can be executed and controls whether or not the alarm can be executed according to the determination Control steps;
Including alarm function control method.
JP2011067718A 2011-03-25 2011-03-25 Mobile terminal and alarm function control method Expired - Fee Related JP5205490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011067718A JP5205490B2 (en) 2011-03-25 2011-03-25 Mobile terminal and alarm function control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011067718A JP5205490B2 (en) 2011-03-25 2011-03-25 Mobile terminal and alarm function control method

Publications (2)

Publication Number Publication Date
JP2012202825A JP2012202825A (en) 2012-10-22
JP5205490B2 true JP5205490B2 (en) 2013-06-05

Family

ID=47183995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011067718A Expired - Fee Related JP5205490B2 (en) 2011-03-25 2011-03-25 Mobile terminal and alarm function control method

Country Status (1)

Country Link
JP (1) JP5205490B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11355002B2 (en) 2020-08-04 2022-06-07 Koninklijke Philips N.V. Wake-up alarm method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI624738B (en) * 2013-01-28 2018-05-21 群邁通訊股份有限公司 Wisdom alarm clock detection system and method
WO2016052100A1 (en) * 2014-09-29 2016-04-07 シャープ株式会社 Information processing device, control method for information processing device, and control program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002033790A (en) * 2000-07-18 2002-01-31 Mitsubishi Electric Corp Telephone equipment
JP3751532B2 (en) * 2001-03-26 2006-03-01 株式会社東芝 Mobile communication terminal device and incoming call notification means control method for mobile communication terminal
WO2009119777A1 (en) * 2008-03-26 2009-10-01 京セラ株式会社 Electronic device, alarm control method, and recording medium
JP2010062931A (en) * 2008-09-04 2010-03-18 Nec Corp Cellular phone, notification control method used for same, and notification control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11355002B2 (en) 2020-08-04 2022-06-07 Koninklijke Philips N.V. Wake-up alarm method

Also Published As

Publication number Publication date
JP2012202825A (en) 2012-10-22

Similar Documents

Publication Publication Date Title
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
EP3146705B1 (en) Noise-sensitive alert presentation
US8059570B2 (en) Mobile network device battery conservation system and methods
EP3443440B1 (en) Waking computing devices based on ambient noise
KR20150018819A (en) Method for enabling shutdown alarm clock and mobile terminal
CN105045382B (en) A method and device for controlling an alarm on a mobile device
JP6388964B2 (en) Method and apparatus for reducing power consumption and mobile terminal
US20130018584A1 (en) Electronic device with work-mode switching function and method thereof
JP5205490B2 (en) Mobile terminal and alarm function control method
CN111816178A (en) Voice equipment control method, device and equipment
US10331916B2 (en) Controlling devices based on collocation of the devices on a user
US10070323B2 (en) Method and apparatus for managing a nap mode on an electronic device
CN107430432A (en) Implementation method and device of mobile terminal and smart alarm clock thereof
US11263888B1 (en) Multiple proximity sensors based electronic device
JP5125822B2 (en) Portable information processing apparatus, measurement control method, and measurement control program
JP2010062931A (en) Cellular phone, notification control method used for same, and notification control program
US20200104118A1 (en) Systems and methods for providing staged updates in embedded devices
CN110175450A (en) A kind of processing method of information, device and equipment
JP7031940B2 (en) Continuation implementation support device, mobile terminal, continuation implementation support method and program
JP5559525B2 (en) Terminal device and alarm control method
CN105786670B (en) A kind of operating system method for restarting and device
KR100622236B1 (en) Method of providing alarm service and mobile terminal thereof
JP2019109721A (en) Electronic apparatus, and method and program for controlling electronic apparatus

Legal Events

Date Code Title Description
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: 20130212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130218

R150 Certificate of patent or registration of utility model

Ref document number: 5205490

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160222

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees