CN113079251A - Alarm clock closing method applied to smart phone - Google Patents

Alarm clock closing method applied to smart phone Download PDF

Info

Publication number
CN113079251A
CN113079251A CN202110331584.0A CN202110331584A CN113079251A CN 113079251 A CN113079251 A CN 113079251A CN 202110331584 A CN202110331584 A CN 202110331584A CN 113079251 A CN113079251 A CN 113079251A
Authority
CN
China
Prior art keywords
alarm clock
sound characteristic
smart phone
clock time
application program
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
CN202110331584.0A
Other languages
Chinese (zh)
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.)
Universal Global Technology Kunshan Co Ltd
Original Assignee
Universal Global Technology Kunshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Universal Global Technology Kunshan Co Ltd filed Critical Universal Global Technology Kunshan Co Ltd
Priority to CN202110331584.0A priority Critical patent/CN113079251A/en
Publication of CN113079251A publication Critical patent/CN113079251A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention describes an alarm clock closing method applied to a smart phone, wherein the smart phone is provided with an alarm clock application program, a microphone and a wake-up device, and the alarm clock application program can be set with different alarm clock times; the intelligent mobile phone is also provided with a database, a plurality of preset sound characteristic signals are stored in the database, and the alarm clock closing method comprises the following steps: before the first alarm clock time, capturing an environment sound characteristic signal through a microphone; comparing and judging whether the environmental sound characteristic signals are matched with preset sound characteristic signals in the database, if so, turning off a subsequent alarm clock, otherwise, maintaining the original alarm clock; therefore, the user can conveniently turn off other alarm clocks manually without needing to turn off the alarm clocks automatically after getting up.

Description

Alarm clock closing method applied to smart phone
Technical Field
The invention relates to an alarm clock closing method, in particular to an alarm clock closing method applied to a smart phone.
Background
In the design of the smartphone adopting the Android system, an alarm clock application is almost built in the smartphone, and when the alarm clock time set by the user is reached, the alarm clock application executed by the processor of the smartphone instructs the speaker of the smartphone to make a sound or makes the smartphone vibrate to wake up the user. However, in a general situation, the alarm clock application of the smart phone can only provide a function of turning on or off the alarm clock, but sometimes a user may set a plurality of alarm clock times in order to avoid a situation that the user cannot wake up by setting only one alarm clock time, but the user may get up when the alarm clock that is sent out at the first alarm clock time sounds, even when the first alarm clock does not sound, and in such a situation, the user needs to turn off other alarm clocks specially, which causes inconvenience to the user, and thus there is room for improvement.
Disclosure of Invention
One of the objectives of the present invention is to improve the deficiency of the prior art, and further provide a novel alarm clock turning-off method, which is convenient for a user to turn off all alarm clocks when getting up.
Therefore, according to the alarm clock turning-off method applied to the smart phone provided by the invention, the smart phone is provided with an alarm clock application program, a microphone and a wake-up device, the alarm clock application program is set with a first alarm clock time and at least one second alarm clock time, and the first alarm clock time is earlier than the at least one second alarm clock time. The alarm clock application can actuate the wake-up device at the first alarm clock time and the at least one second alarm clock time to wake up the user. The smart phone is further provided with a database, the database stores a plurality of preset sound characteristic signals, and the alarm clock turning-off method comprises the following steps: before the first alarm clock time, capturing the environmental sound of the smart phone through a microphone to obtain an environmental sound characteristic signal; comparing the environment sound characteristic signal with the plurality of preset sound characteristic signals and judging whether the environment sound characteristic signal is consistent with one of the plurality of preset sound characteristic signals or not, if so, enabling an alarm clock application program to turn off an alarm clock with a first alarm clock time and at least one second alarm clock time; otherwise, the alarm clock application program maintains the alarm clock of the first alarm clock time and the at least one second alarm clock time.
Therefore, when a user gets up before the first alarm clock time, through the alarm clock closing method, the smart phone captures the environmental sound characteristic signals generated by the user due to the rising action and compares and judges the environmental sound characteristic signals with the preset sound characteristic signals of the database, if the comparison is successful, the alarm clock application program is enabled to close the alarm clock of the first alarm clock time and the at least one second alarm clock time, and the user does not need to manually close the alarm clock by himself or herself.
In one aspect, when the first alarm time is close (for example, one hour before the first alarm time), the ambient sound is captured by the microphone to obtain the ambient sound characteristic signal, so that the smart phone does not need to capture the ambient sound for a long time, and the effect of saving the power of the smart phone is achieved.
In another aspect, before the step of determining whether the ambient sound characteristic signal matches one of the plurality of preset sound characteristic signals, it is further determined whether an alarm clock of a first alarm clock time of an alarm clock application is not turned off, and if it is determined that the alarm clock of the first alarm clock time is not turned off, the step of determining whether the ambient sound characteristic signal matches one of the plurality of preset sound characteristic signals is performed; if the alarm clock of the first alarm clock time is judged to be turned off, under the condition, the user is in a state of getting up, so that the alarm clock application program does not need to execute the step of judging whether the environmental sound characteristic signal is matched with one of the plurality of preset sound characteristic signals, and directly enters the step of enabling the alarm clock application program to turn off the alarm clock of the at least one second alarm clock time.
In another aspect, the plurality of preset sound characteristic signals comprise a sound signal of a slipper worn by the user or a sound signal of a mattress worn by the user.
Drawings
The detailed steps and features of the alarm clock closing method will be explained in the following embodiments, however, it should be understood that the embodiments to be explained below and the accompanying drawings are only illustrative and should not be used to limit the claims of the present invention, wherein:
FIG. 1 is a block diagram of the components of a smartphone of an embodiment;
fig. 2 is a system architecture diagram of a smartphone of an embodiment; and
FIG. 3 is a flowchart of steps of an alarm clock turn-off method of an embodiment.
(symbol description)
1: smart phone
10: processor with a memory having a plurality of memory cells
20: microphone (CN)
30: wake-up device
40: database with a plurality of databases
50: background services
60: alarm clock application
S1-S7: step (ii) of
Detailed Description
Technical contents and features of the present invention will be described in detail below with reference to several embodiments with reference to the accompanying drawings, and directional terms such as "upper", "lower", "inner", "outer", "top" and "bottom" referred to in this specification are only exemplary terms based on a normal use direction and are not intended to limit the scope of claims.
For a detailed description of the technical features of the present invention, reference is made to the following examples, which are illustrated in the accompanying drawings, wherein:
as shown in fig. 1 and fig. 2, an alarm clock turning-off method provided by an embodiment of the present invention is applied to a smart phone 1, an alarm clock application 60(Apk) is built in the smart phone 1, and the smart phone 1 includes a processor 10, a microphone 20, and a wake-up device 30, where the microphone 20 and the wake-up device 30 are electrically connected to the processor 10. The wake-up device 30 is a speaker in the embodiment, and it may also be a vibration device for performing an action of waking up the user. The alarm clock application 60 is set with a first alarm clock time and a second alarm clock time, the first alarm clock time being earlier than the second alarm clock time.
The processor 10 can execute an alarm clock application 60, and the alarm clock application 60 can actuate the wake-up device 30 (causing the wake-up device 30 to operate) at a first alarm clock time and a second alarm clock time, thereby sounding an alarm clock (or vibrating) to wake-up the user. In addition, the smartphone 1 is further provided with a database 40, and the database 40 stores a plurality of preset sound characteristic signals. When a user is in an environment and the user is in different states of sleeping or getting up, the user may generate different kinds of environmental sounds in the environment in the different states, including but not limited to a sound signal of the user wearing slippers or a sound signal of a mattress of the user getting up. The captured environmental sound is trained to be distinguished and defined as the environmental sound when the user sleeps or the environmental sound when the user gets up, and the trained environmental sound becomes a preset sound characteristic signal and is stored in the database 40 and can be updated at a proper time.
Referring to fig. 3, the alarm clock turning-off method includes the following steps:
step S1: starting, the smartphone 1 is in a state of being able to be normally used after being powered on, and the smartphone 1 and the user are in the same environment (for example, the same room) at the same time.
Step S2: before the first alarm time, for example, one hour before the first alarm time, a background service 50(background service) is turned on in the system of the smartphone 1, and the microphone 20 of the smartphone 1 starts to capture the ambient sound in which the smartphone 1 is located to obtain the ambient sound feature signal.
Step S3: is the alarm clock application 60 determined to be off at the first alarm time? If the judgment result is yes, namely the first alarm clock is turned off, the step S5 is carried out; if the judgment result is "no", that is, the first alarm clock is not turned off, the process proceeds to step S4.
It should be noted that "turning off the alarm clock" means "deactivating" the wake-up unit 30 (i.e. the wake-up unit does not operate). If the alarm clock application 60 is disabled from activating the wake-up device 30 at the first and second alarm clock times, the first and second alarm clock times are not set, and thus the alarm clock application 60 activates the wake-up device 30 to wake up the user when the same first or second alarm clock time is reached in tomorrow.
Step S4: the processor 10 compares the environmental sound characteristic signal captured in step S2 with the plurality of preset sound characteristic signals in the database 40, and determines whether the environmental sound characteristic signal matches one of the plurality of preset sound characteristic signals, if the determination result is yes, it determines that the user is in the getting-up state, and then step S5 is entered; if the determination result is "no", that is, if it is determined that the user is still in the sleep state, the process proceeds to step S6.
Step S5: the alarm clock application 60 is caused to be turned off at the second alarm clock time or the alarm clock of the first alarm clock time and the second alarm clock time. If the step S3 goes to step S5, the alarm clock of the first alarm clock time is turned off, and it is determined that the user is in the state of getting up, the alarm clock of the first alarm clock time is turned off actively, and the alarm clock of the second alarm clock time is turned off again by the alarm clock application 60. If it is from step S4 to step S5, then in step S4 it has been determined that the user is in a state of getting up, in which case the alarm application 60 will be caused to turn off the alarms of the first and second alarm times. After step S5, the process proceeds to step S7.
Step S6: in step S6, since it is determined that the user is still in the sleep state, the alarm clock of the second alarm clock time is still maintained, and the alarm clock application 60 still activates the wake-up device 30 to wake up the user at the second alarm clock time.
Finally, it should be noted that the methods and components disclosed in the foregoing embodiments are merely exemplary and are not intended to limit the scope of the invention, which is defined by the appended claims, and all changes and modifications that fall within the true spirit and scope of the invention.

Claims (5)

1. An alarm clock closing method applied to a smart phone, wherein the smart phone is provided with an alarm clock application program, a microphone and a wake-up device, the alarm clock application program is set with a first alarm clock time and at least one second alarm clock time, the first alarm clock time is earlier than the at least one second alarm clock time, the alarm clock application program can actuate the wake-up device at the first alarm clock time and the at least one second alarm clock time, the smart phone is further provided with a database, the database stores a plurality of preset sound characteristic signals, and the alarm clock closing method is characterized by comprising the following steps:
before the first alarm clock time, capturing the ambient sound of the smart phone through the microphone to obtain an ambient sound characteristic signal;
comparing the environment sound characteristic signal with the plurality of preset sound characteristic signals and judging whether the environment sound characteristic signal is consistent with one of the plurality of preset sound characteristic signals or not, if so, enabling the alarm clock application program to turn off the alarm clock with the first alarm clock time and the at least one second alarm clock time; otherwise, the alarm clock application program is enabled to maintain the alarm clock of the first alarm clock time and the at least one second alarm clock time.
2. The alarm clock turning-off method applied to the smart phone according to claim 1,
when the first alarm clock time is approached, the environment sound is captured through the microphone to obtain the environment sound characteristic signal.
3. Alarm clock turning off method applied to a smartphone according to claim 1 or 2,
before the step of judging whether the environmental sound characteristic signal is consistent with one of the plurality of preset sound characteristic signals, judging whether an alarm clock of the first alarm clock time of the alarm clock application program is turned off, and if the alarm clock of the first alarm clock time is not turned off, executing the step of judging whether the environmental sound characteristic signal is consistent with one of the plurality of preset sound characteristic signals; if the alarm clock of the first alarm clock time is judged to be turned off, the alarm clock application program does not execute the step of judging whether the environment sound characteristic signal is matched with one of the plurality of preset sound characteristic signals, and directly enters the step of enabling the alarm clock application program to turn off the alarm clock of the at least one second alarm clock time.
4. The alarm clock turning-off method applied to the smart phone according to claim 1,
the plurality of preset sound characteristic signals comprise sound signals of a user wearing a slipper or sound signals of a mattress of the user getting up.
5. The alarm clock turning-off method applied to the smart phone according to claim 1,
and when the step of judging whether the environmental sound characteristic signal is consistent with one of the plurality of preset sound characteristic signals or not is carried out, if so, the alarm clock application program does not actuate the awakening device.
CN202110331584.0A 2021-03-26 2021-03-26 Alarm clock closing method applied to smart phone Withdrawn CN113079251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110331584.0A CN113079251A (en) 2021-03-26 2021-03-26 Alarm clock closing method applied to smart phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110331584.0A CN113079251A (en) 2021-03-26 2021-03-26 Alarm clock closing method applied to smart phone

Publications (1)

Publication Number Publication Date
CN113079251A true CN113079251A (en) 2021-07-06

Family

ID=76611568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110331584.0A Withdrawn CN113079251A (en) 2021-03-26 2021-03-26 Alarm clock closing method applied to smart phone

Country Status (1)

Country Link
CN (1) CN113079251A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
CN103634457A (en) * 2012-08-27 2014-03-12 联想(北京)有限公司 Method for controlling alarm clock bell by using sound and electronic apparatus
WO2019000467A1 (en) * 2017-06-30 2019-01-03 广东欧珀移动通信有限公司 Alarm clock prompt method and apparatus, storage medium, and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634457A (en) * 2012-08-27 2014-03-12 联想(北京)有限公司 Method for controlling alarm clock bell by using sound and electronic apparatus
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
WO2019000467A1 (en) * 2017-06-30 2019-01-03 广东欧珀移动通信有限公司 Alarm clock prompt method and apparatus, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN107743289B (en) Intelligent sound box control method in intelligent household scene
US11553076B1 (en) Method and apparatus for automatically setting alarms and notifications
US6838994B2 (en) Adaptive alarm system
US9891592B2 (en) Information processing to improve sleep efficiency
JP2017517708A (en) Air conditioner activation method, air conditioner activation apparatus, computer program, and computer-readable storage medium
EP1406133A3 (en) Voice-commanded alarm clock system and associated method
US20140058679A1 (en) Wake Status Detection for Suppression and Initiation of Notifications
US20150142141A1 (en) Electronic device and remote control method
KR20160055915A (en) Method and apparatus for adjusting detection threshold for activating voice assistant function
CN102905029A (en) Mobile phone and method for looking for mobile phone through intelligent voice
CN106775569B (en) Device position prompting system and method
WO2018058978A1 (en) Reminding method and device, electronic equipment and computer storage medium
CN104767883A (en) Terminal prompt method and terminal
CN105824294A (en) System and method of intelligent alarm control
CN110727821A (en) Method, apparatus, system and computer storage medium for preventing device from being awoken by mistake
CN111128168A (en) Voice control method, device and storage medium
CN105117897A (en) Shutdown reminding method and device
CN112311635B (en) Voice interruption awakening method and device and computer readable storage medium
US20210383806A1 (en) User input processing method and electronic device supporting same
CN112207811A (en) Robot control method and device, robot and storage medium
CN113079251A (en) Alarm clock closing method applied to smart phone
US20200366983A1 (en) Headphone control system
CN111124512B (en) Awakening method, device, equipment and medium for intelligent equipment
CN109743462B (en) Alarm clock control method and device, storage medium and mobile terminal
JP7031940B2 (en) Continuation implementation support device, mobile terminal, continuation implementation support method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210706

WW01 Invention patent application withdrawn after publication