WO2017156768A1 - 移动终端及其智能闹钟的实现方法、装置 - Google Patents
移动终端及其智能闹钟的实现方法、装置 Download PDFInfo
- Publication number
- WO2017156768A1 WO2017156768A1 PCT/CN2016/076723 CN2016076723W WO2017156768A1 WO 2017156768 A1 WO2017156768 A1 WO 2017156768A1 CN 2016076723 W CN2016076723 W CN 2016076723W WO 2017156768 A1 WO2017156768 A1 WO 2017156768A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- alarm
- user
- delay time
- delay
- command
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G13/00—Producing acoustic time signals
- G04G13/02—Producing acoustic time signals at preselected times, e.g. alarm clocks
Definitions
- the invention relates to the field of intelligent alarm clocks, and in particular to a method and a device for implementing a mobile terminal and a smart alarm clock thereof.
- the smartphone will remind the user by ringing or vibrating. If the reminder is needed again, the user can also choose to delay the alarm after a period of time.
- the delay time in the delay mode is generally preset by the user, and it is difficult to meet the delay requirement made by the user according to the actual application scenario.
- the application number is 201510077151.1
- the application file of the application date 2015.02.12 is disclosed in paragraphs [0005]-[0010] of the first page of the specification: "An alarm clock control method applied to a smart terminal, including: When the alarm of the smart terminal is alarmed, detecting a touch operation on the display screen of the smart terminal... If a multi-touch operation on the display screen of the smart terminal is detected, triggering the alarm to pause the alarm; Determining the waiting time and starting the timing according to the number of touched points in the multi-touch operation, wherein the waiting time is positively related to the number of the touched points; and when the counting time reaches the waiting time, triggering the alarm alarm ".
- the number of touch points is used to adjust the waiting time for the alarm to continue after the alarm is turned off, but in this manner, the user operation is too cumbersome and prone to misoperation, resulting in shortened or extended waiting time, waiting time and The user's expectations are inconsistent, causing the user to be reminded or delayed.
- the application number is 201510344977.X, and the application file of the application date 2015.06.19 is disclosed in paragraph [0005]-[0006] of the first page of the specification: "When the mobile terminal alarm is activated, the distance sensor is activated; In the case that the distance sensor senses the target body signal, the mobile terminal alarm is turned off and turned on after the first preset time interval is delayed, and the step is looped until the accumulated number of delays reaches the first preset threshold.
- the application file starts the alarm again by the distance sensor, and the distance is required.
- the sensor has higher sensitivity, otherwise it is easy to cause the mobile terminal alarm to malfunction.
- the working process of the mobile terminal alarm clock of this type is more complicated, and the mobile terminal alarm clock needs to work with the distance sensor, and the power consumption is larger and the cost is also higher. high.
- the smart alarm clock in the prior art still needs to be improved in terms of the accuracy of the delay of the flexible setting to improve the user experience.
- Another object of the present invention is to provide an apparatus and a mobile terminal for realizing an intelligent alarm clock capable of improving the accuracy of a delay setting that is flexibly set.
- a method for implementing a smart alarm clock which is applied to a mobile terminal, includes: when the preset alarm time is reached at a time indicated by the smart alarm clock, intercepting an alarm shutdown command to turn off the alarm by responding to the alarm shutdown command; The time delays the user; wherein the delay time is set according to a voice input operation of the user with respect to the mobile terminal.
- the intercepting obtains an alarm off command to close the alarm by responding to the alarm off command, the method further comprising: receiving a voice message generated when the user inputs a voice input operation with respect to the mobile terminal; The voice packet identifies the voice message, and if the voice message is included in the voice message, the alarm off command is generated.
- the method further includes: if the delay message identifier is included in the voice message, the delay time is set according to the delay time identifier.
- the delaying the user according to the delay time comprises: listening to the delayed time confirmation command; and initiating the delay timing by responding to the delay time confirmation command to delay the user when the timing time reaches the delay time noisysy.
- the method further includes: determining whether the user is in an awake state; if yes, delaying the user to delay the alarm.
- the determining whether the user is in the awake state comprises: performing light intensity detection on the environment in which the user is located, to determine the awake state of the user according to the relationship curve between the pre-stored awake degree and the light intensity.
- An implementation device for a smart alarm clock comprising: a shutdown command listening module, configured to listen to an alarm shutdown command when a preset alarm time is reached at a time indicated by the smart alarm, to turn off the alarm by responding to the alarm shutdown command And a delay alarm module for delaying the user according to the delay time; wherein the delay time is set according to a voice input operation of the user with respect to the mobile terminal.
- the device further includes: a message receiving module, configured to receive a voice message generated when a user performs a voice input operation with respect to the mobile terminal; and a shutdown instruction generating module, configured to pair the voice message according to the pre-stored voice packet The identification is performed, and if it is recognized that the voice message includes a closed alarm identifier, the alarm shutdown command is generated.
- the device further includes: a delay time setting module, configured to set the delay time according to the delay time identifier if the delay time identifier is included in the voice message.
- the delay alarm module includes: an acknowledgement instruction intercepting unit, configured to listen to the delayed time confirmation command; and a delay time timing unit, configured to start the delay timing by responding to the delay time confirmation command to be in the timing time The user is delayed in delay when the delay time is reached.
- the device further includes: an awake state determining module, configured to determine whether the user is in an awake state; and if so, delaying the user to delay the alarm.
- an awake state determining module configured to determine whether the user is in an awake state; and if so, delaying the user to delay the alarm.
- the awake state determining module includes: a light intensity detecting unit configured to perform light intensity detection on the environment in which the user is located, to determine the awake state of the user according to the pre-stored relationship between the awake degree and the light intensity.
- a mobile terminal includes a memory for storing program instructions corresponding to implementing a smart alarm clock, and the processor performing the following steps by using program instructions stored in the memory: at a time indicated by the smart alarm clock When the preset alarm time is reached, the alarm is given an alarm off command to turn off the alarm by responding to the alarm off command; delaying the user according to the delay time; wherein the delay time is based on the user relative to the movement
- the voice input operation of the terminal is set.
- the present invention has the following beneficial effects:
- the alarm When the preset alarm time is reached at the time indicated by the smart alarm clock, the alarm is turned off according to the alarm off command, and after the alarm is turned off, the delay is delayed according to the delay time, wherein the delay time is based on the user relative to the mobile terminal.
- the voice input operation is set. That is, The delay time obtained by the user directly performing the voice input operation on the mobile terminal not only enables the user to flexibly set the delay time according to the requirements of the actual application scenario, but also has a simple operation and does not require a cumbersome manual trigger operation to avoid The wrong operation, thereby avoiding the malfunction of the smart alarm clock, and improving the accuracy of the delay of the flexible setting.
- FIG. 1 is a flow chart of a method for implementing a smart alarm clock according to an embodiment
- FIG. 2 is a flowchart of a method for implementing a smart alarm clock according to another embodiment
- FIG. 3 is a flow chart of a method for delaying a user according to a delay time in FIG. 1;
- FIG. 4 is a structural block diagram of an apparatus for implementing a smart alarm clock according to an embodiment
- FIG. 5 is a structural block diagram of an apparatus for implementing a smart alarm clock according to another embodiment
- FIG. 6 is a structural block diagram of the delay alarm module of FIG. 4;
- FIG. 7 is a schematic structural diagram of hardware of a mobile terminal according to various embodiments of the present invention.
- Figure 8 is a graph showing the relationship between the degree of waking and the intensity of light in the present invention.
- a method for implementing a smart alarm clock is applied to a mobile terminal, and the mobile terminal may be a smart phone, a tablet computer, or a computer.
- the mobile terminal may be a smart phone, a tablet computer, or a computer.
- various embodiments of the present invention will be described in detail below by taking a mobile terminal as a smart phone and a display screen and a button on the smart phone as an example.
- the method as described above includes the following steps:
- Step 110 When the preset alarm time is reached at the time indicated by the smart alarm, the alarm is given an alarm off command to turn off the alarm by responding to the alarm off command.
- the preset alarm time is the time point set by the user to remind himself that something needs to be done.
- the preset alarm time can be 8 am to remind the user to get up.
- the smart alarm When the user reaches the preset alarm time at the time indicated by the smart alarm, the smart alarm will be instructed to turn off the alarm by a specified operation.
- the specified operation may be a sliding mobile terminal A virtual button on the display screen, or touch a physical button on the mobile terminal, or even a voice input operation through the microphone interface of the mobile terminal.
- the smart alarm will listen to the alarm off command, and then turn off the alarm by responding to the alarm off command.
- step 130 the user is delayed in accordance with the delay time.
- the delay time is set according to a voice input operation of the user with respect to the mobile terminal.
- the delay time is different from the preset alarm time. It is not the time point, but the time period set by the user to remind yourself that you need to complete something. For example, if the delay time is 5 minutes, the smart alarm will perform the step 150, and the closed 8 o'clock alarm will be delayed until 8:05, and the user will wake up again to remind the user to wake up again.
- 8 o'clock and 8 o'clock 5 are the preset alarm time, that is, after performing the step 130 to delay the user according to the preset delay time, the process returns to step 110 to wait for the smart alarm clock. The indicated time reaches the delayed preset alarm time.
- the delay time is set according to the voice input operation of the user with respect to the mobile terminal, that is, the user can input the voice indicating the delay time through the microphone provided by the mobile terminal, for example, “delay 5 minutes”, according to The actual application scenario flexibly sets the delay time.
- step 110 the method as described above further includes the following steps:
- Step 210 Receive a voice message generated when a user inputs a voice input operation with respect to the mobile terminal.
- the user will input the voice indicating that the alarm is turned off through the microphone of the mobile terminal. For example, the user says “turn off the alarm” to the microphone of the mobile terminal. Accordingly, the smart alarm will receive the "off alarm” through the microphone interface. Voice voice messages.
- Step 230 Identify the voice message according to the pre-stored voice packet, and if the voice message is included in the voice message, the alarm clock close command is generated.
- the pre-stored voice packet is formed by pre-recording and storing a plurality of different voices input by the user, that is, including various voices for the voice message to be recognized.
- the pre-stored voice packet includes at least a closed alarm identifier, and the closed alarm clock
- the reference refers to the “off the alarm” voice input by the user, which is used to instruct the smart alarm to turn off the alarm.
- the process of identifying the voice message is: comparing the voice included in the received voice message with the closed alarm flag included in the pre-stored voice packet, and if the comparison result is close, it indicates that the received voice message includes “ Turn off the alarm "voice.
- the identification of the voice message indicates that the user wants to turn off the alarm clock, and then instructs the smart alarm to turn off the alarm by generating an alarm off command.
- the method as described above further includes the following steps:
- Step 250 If the delayed voice identifier is included in the voice message, the delay time is set according to the delay time identifier.
- the pre-stored voice packet includes various voices that can be recognized by the voice message.
- the pre-stored voice packet includes a delay time identifier, and the delay time identifier refers to the user input.
- "Delay N minutes" voice to indicate the setting of the delay time. N can be any natural number. For example, if N is 1, the delay time is set to 1 minute, so that the smart alarm clock can flexibly set the delay time.
- the process of identifying the voice message is: comparing the voice included in the received voice message with the delay time identifier included in the pre-stored voice packet, and if the comparison result is close, it indicates that the received voice message includes “ Delay N minutes" voice.
- the identification of the voice message indicates that the user wants to set the delay time, and then sets the delay time according to the identification to delay the user according to the set delay time.
- the delay time can be flexibly set, the performance is stable and reliable, the adjustability is strong, and the operation of the user is simplified, so that the user does not need to perform cumbersome manual triggering operation, avoiding misoperation, thereby avoiding intelligence.
- the malfunction of the alarm clock improves the accuracy of the delay of the flexible setting.
- step 130 includes the following steps:
- step 131 the listener obtains a delay time confirmation command.
- a delay time confirmation entry is added to the display screen of the mobile terminal, and by the user confirming the click operation or the input operation in the entry for the delay time, a delay time confirmation command that can be detected by the smart alarm clock is generated. That is to say, if the user confirms the previously set delay time, the smart alarm is intercepted to obtain a delay time confirmation command.
- the delay time confirmation entry corresponds to a virtual setting on the display screen.
- the button is pressed; when the operation is input, the delay time confirmation entry corresponds to a virtual dialog set on the display screen, for example, the dialog box may be a dialog box for inputting a password.
- the setting of the delay time is further confirmed, and the malfunction is prevented due to the user's erroneous operation or the erroneous delay time is set, and the accuracy of the delay noise is further improved.
- step 133 the delay timing is initiated by the response delay time confirmation command to delay the user's delay when the timing time reaches the delay time.
- the delay timing is started.
- the timing time reaches the delay time, it indicates that the time indicated by the smart alarm has reached the delayed preset alarm time. At this time, the smart alarm will delay the user. noisy.
- step 130 the method as described above further comprises the following steps:
- the awake state refers to the user's ability to accurately perform the operation specified by turning off the alarm. If the user is awake, there is no need to delay the user's delay, so as not to cause a second interference to others. Based on this, after the alarm is turned off, whether the smart alarm is delayed by the alarm setting to delay the user will depend on the user's awake state.
- the process returns to step 130, according to the delay time.
- the user makes a delay.
- determining whether the user is in the awake state includes: performing light intensity detection on the environment in which the user is located, and determining the awake state of the user according to the relationship curve between the pre-stored awake degree and the light intensity.
- melatonin can regulate the sleep phase, and the secretion of melatonin is closely related to the light intensity. Simply put, the stronger the light intensity, the stronger the secretion of melatonin is suppressed, that is, the stronger the light intensity, the fade The stronger the inhibition of melanin, the higher the level of wakingness of the user.
- the degree of waking will be expressed by the sensitivity of the inhibition rate of melatonin to the spectrum.
- the ordinate indicates the value corresponding to the degree of awake, that is, the sensitivity of the inhibition rate of melatonin to the spectrum
- the abscissa indicates the value corresponding to the intensity of the light, that is, the wavelength of the light wave.
- the value of the abscissa corresponding to the peak value of the curve in Fig. 8 corresponds to the approximate value of the blue light wavelength at the time of the strongest light intensity at noon, and the value of the corresponding ordinate is equivalent to the sensitivity of the inhibition rate of melatonin. It is also the highest, indicating that melatonin has the strongest inhibitory effect and the user has the highest degree of sobriety.
- the awake state of the user is determined by the relationship between the stored awake degree and the light intensity.
- the mobile terminal will detect the light intensity of the environment in which the user is located through its own light sensor, which is easy to understand, and the value corresponding to the light intensity in the daytime is greater than the value corresponding to the light intensity in the night, then the daytime The value corresponding to the degree of wakingness in the middle is also greater than the value corresponding to the degree of waking at night.
- the degree of waking can be obtained corresponding to the detected light intensity, and further whether the user is in the awake state can be determined according to the degree of waking.
- the awake state of the user is determined by comparing the value corresponding to the awake degree with the awake threshold. That is to say, if the value corresponding to the awake degree is less than the awake threshold, it is determined that the user is in the non-awake state, and conversely, if it is greater than or equal to the awake threshold, it is determined that the user is in the awake state. For example, a value corresponding to the degree of alertness corresponding to the light intensity at 8 o'clock in the morning may be set as the awake threshold.
- the smart alarm clock can automatically switch in different working modes, that is, when the user is in the non-awake state, the smart alarm automatically switches to the working mode in which the alarm is turned off to delay the noise, and the user is in the opposite state.
- the smart alarm clock automatically switches to the working mode in which the alarm is turned off without delaying the alarm, thereby effectively improving the practical rate of the smart alarm clock, and enriching the application scenario of the smart alarm clock.
- an implementation apparatus for a smart alarm clock includes:
- the shutdown command listening module 410 is configured to listen to an alarm shutdown command when the preset alarm time reaches the time indicated by the smart alarm, to turn off the alarm by responding to the alarm shutdown command.
- the delay alarm module 430 is configured to delay the user according to the delay time.
- the delay time is set according to a voice input operation of the user with respect to the mobile terminal.
- the apparatus as described above further includes:
- the message receiving module 510 is configured to receive a voice message generated when a user performs a voice input operation with respect to the mobile terminal.
- the shutdown instruction generating module 530 is configured to identify the voice message according to the pre-stored voice packet. If the recognized voice message includes a closed alarm flag, an alarm shutdown command is generated.
- the device as described above further includes:
- the delay time setting module 550 is configured to set the delay time according to the delay time identifier if the delayed time identifier is included in the voice message.
- the delay alarm module 430 includes:
- the confirmation command listening unit 431 is configured to listen for a delay time confirmation command.
- the delay time timing unit 433 is configured to start the delay timing by responding to the delay time confirmation command to delay the user when the timing time reaches the delay time.
- the apparatus as described above further comprises:
- the awake state judging module is configured to judge whether the user is in the awake state; if yes, the user pauses the delay.
- the awake state determining module includes: a light intensity detecting unit configured to perform light intensity detection on the environment in which the user is located, to determine the awake state of the user according to the pre-stored relationship between the awake degree and the light intensity.
- FIG. 7 is a schematic structural diagram of hardware of a mobile terminal according to various embodiments of the present invention.
- the mobile terminal 700 includes a memory 710, a processor 730, a communication bus 770 for connecting the memory 710 and the processor 730, and a communication interface 750 connected to the communication bus 770.
- the memory 710 is configured to store program instructions corresponding to the smart alarm.
- the processor 730 performs the following steps by using the program instructions stored in the memory: when the preset alarm time reaches the preset alarm time, the alarm receives an alarm off command to turn off the alarm by responding to the alarm off command; Delaying noise is performed; wherein the delay time is set according to a voice input operation of the user with respect to the mobile terminal.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Electric Clocks (AREA)
Abstract
公开了一种移动终端及其智能闹钟的实现方法、装置,其中,所述智能闹钟的实现方法包括:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。该移动终端及其智能闹钟的实现方法、装置能够提高灵活设置的延迟闹响的准确率。
Description
本发明涉及智能闹钟领域,尤其涉及一种移动终端及其智能闹钟的实现方法、装置。
随着通信技术的发展以及人们生活水平的改善,移动终端,尤其是智能手机,已经成为人们生活中不可缺少的电子产品。如今,智能手机已经集成了越来越多的功能,不仅能充当通信工具,还在人们的日常生活中扮演闹钟、地图、记事本、文件查看器等等重要的工具。
通常情况下,在智能手机所指示的时间到达用户设定的时间后,智能手机会通过铃声或者振动方式来提醒用户,若需要再次提醒,用户还可以选择间隔一段时间后延迟闹响。然而,该种延迟闹响方式中的延迟时间一般是用户预先设定的,难以满足用户根据实际的应用场景所作出的延迟要求。
为此,申请号为201510077151.1,申请日为2015.02.12的申请文件在其说明书第1页第[0005]-[0010]段中披露:“一种应用于智能终端的闹钟控制方法,包括:当智能终端的闹钟闹铃时,检测上述智能终端的显示屏上的触摸操作......若检测到上述智能终端的显示屏上的多点触摸操作,则:触发上述闹钟暂停闹铃;根据上述多点触摸操作中被触摸点的个数确定等待时长并启动计时,其中,上述等待时长与上述被触摸点的个数正相关;当计时时长达到上述等待时长时,触发上述闹钟闹铃”。该申请文件中通过触摸点的个数来调节在闹钟关闭后继续闹响的等待时长,但是该种方式中用户操作过于繁琐,且容易发生误操作,而导致等待时长缩短或者延长,等待时长与用户的预期不一致,造成用户过早被提醒或者耽误了时间。
申请号为201510344977.X,申请日为2015.06.19的申请文件在其说明书第1页第[0005]-[0006]段中披露:“当所述移动终端闹钟启动时,启动所述距离传感器;在所述距离传感器感应到目标体信号的情况下,关闭移动终端闹钟并延迟第一预设时间间隔后开启,且循环此步骤直至所述延迟的次数累计到达第一预设阈值”。该申请文件通过距离传感器再次启动闹钟闹响,需要距
离传感器有较高的灵敏度,否则容易造成移动终端闹钟误动作,此外,该种方式的移动终端闹钟的工作过程较为复杂,且移动终端闹钟需要距离传感器配合工作,耗电量较大成本也较高。
因此,现有技术中的智能闹钟在灵活设置的延迟闹响的准确率方面还亟待改进,以提高用户体验。
发明内容
基于此,本发明的一个目的在于提供一种能够提高灵活设置的延迟闹响的准确率的智能闹钟的实现方法。
此外,本发明的另一个目的在于提供一种能够提高灵活设置的延迟闹响的准确率的智能闹钟的实现装置、移动终端。
为了解决上述技术问题,本发明采用的技术方案如下
一种智能闹钟的实现方法,应用于移动终端,包括:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
进一步地,所述侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟之前,所述方法还包括:接收用户相对于所述移动终端的语音输入操作时产生的语音消息;根据预存的语音包对所述语音消息进行识别,若识别得到所述语音消息中包含关闭闹钟标识,则生成所述闹钟关闭指令。
进一步地,所述方法还包括:若识别得到所述语音消息中包含延迟时间标识,则按照所述延迟时间标识对所述延迟时间进行设置。
进一步地,所述按照延迟时间对用户进行延迟闹响包括:侦听得到延迟时间确认指令;通过响应所述延迟时间确认指令启动延迟计时,以在计时时间到达所述延迟时间时对用户进行延迟闹响。
进一步地,所述按照延迟时间对用户进行延迟闹响之前,所述方法还包括:判断用户是否处于清醒状态;若为是,则对用户暂停延迟闹响。
进一步地,所述判断用户是否处于清醒状态包括:对用户所处的环境进行光强检测,以根据预存的清醒程度与光强的关系曲线对用户的清醒状态进行判断。
一种智能闹钟的实现装置,包括:关闭指令侦听模块,用于在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;延迟闹响模块,用于按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
进一步地,所述装置还包括:消息接收模块,用于接收用户相对于所述移动终端的语音输入操作时产生的语音消息;关闭指令生成模块,用于根据预存的语音包对所述语音消息进行识别,若识别得到所述语音消息中包含关闭闹钟标识,则生成所述闹钟关闭指令。
进一步地,所述装置还包括:延迟时间设置模块,用于若识别得到所述语音消息中包含延迟时间标识,则按照所述延迟时间标识对所述延迟时间进行设置。
进一步地,所述延迟闹响模块包括:确认指令侦听单元,用于侦听得到延迟时间确认指令;延迟时间计时单元,用于通过响应所述延迟时间确认指令启动延迟计时,以在计时时间到达所述延迟时间时对用户进行延迟闹响。
进一步地,所述装置还包括:清醒状态判断模块,用于判断用户是否处于清醒状态;若为是,则对用户暂停延迟闹响。
进一步地,所述清醒状态判断模块包括:光强检测单元,用于对用户所处的环境进行光强检测,以根据预存的清醒程度与光强的关系曲线对用户的清醒状态进行判断。
一种移动终端,包括存储器和处理器,所述存储器用于存储实现智能闹钟所对应的程序指令,所述处理器通过所述存储器中存储的程序指令执行以下步骤:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
与现有技术相比,本发明具有以下有益效果:
通过在智能闹钟所指示的时间到达预设闹响时间时,根据闹钟关闭指令关闭闹钟,在闹钟关闭之后,则按照延迟时间对用户进行延迟闹响,其中,延迟时间是根据用户相对于移动终端的语音输入操作进行设置的。也就是说,
通过用户直接对移动终端所进行的语音输入操作得到的延迟时间,不仅使得用户能够根据实际的应用场景的需求对延迟时间进行灵活的设置,而且操作简单,不需要进行繁琐的手动触发操作,避免了误操作,从而避免了智能闹钟的误动作,提高了灵活设置的延迟闹响的准确率。
图1为一实施例的智能闹钟的实现方法的流程图;
图2为另一实施例的智能闹钟的实现方法的流程图;
图3为图1中按照延迟时间对用户进行延迟闹响的方法流程图;
图4为一实施例的智能闹钟的实现装置的结构框图;
图5为另一实施例的智能闹钟的实现装置的结构框图;
图6为图4中延迟闹响模块的结构框图;
图7为本发明各实施例中移动终端的硬件结构示意图;
图8为本发明中清醒程度与光线强度的关系曲线。
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
请参阅图1,在一实施例中,一种智能闹钟的实现方法,应用于移动终端,该移动终端可以是智能手机,也可以是平板电脑,还可以是计算机等。下面以移动终端为智能手机,智能手机上设有显示屏幕和按键为例,对本发明各实施例加以详细地说明如下。
如上所述的方法包括以下步骤:
步骤110,在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应闹钟关闭指令关闭闹钟。
预设闹响时间是用户设定的时间点来提醒自己需要完成某件事情。例如,预设闹响时间可以是早上8点,来提醒用户起床。
用户在智能闹钟所指示的时间到达预设闹响时间时,将通过指定的操作来指示智能闹钟进行闹钟的关闭。例如,该指定的操作可以是滑动移动终端
的显示屏幕上的某个虚拟按键,或者触摸移动终端上的某个实体按键,甚至是通过移动终端的麦克风接口进行的语音输入操作等。
由此,在用户执行关闭闹钟所指定的操作时,智能闹钟将侦听得到闹钟关闭指令,进而通过响应闹钟关闭指令来对闹响的闹钟进行关闭。
步骤130,按照延迟时间对用户进行延迟闹响。其中,延迟时间是根据用户相对于移动终端的语音输入操作进行设置的。
延迟时间不同于预设闹响时间,其不是时间点,而是用户设定的时间段,来再次提醒自己需要完成某件事情。例如,延迟时间为5分钟,则智能闹钟通过执行步骤150,关闭的8点闹钟将延迟至8点零5分的时候再次闹响,以再次提醒用户起床。
值得一提的是,8点与8点零5均为预设闹响时间,也就是说,在执行步骤130按照预设延迟时间对用户进行延迟闹响之后,将返回步骤110等待智能闹钟所指示的时间到达延迟了的预设闹响时间。
本实施例中,延迟时间是根据用户相对于移动终端的语音输入操作进行设置的,即用户能够通过移动终端自带的麦克风输入表示延迟时间的语音,例如,“延迟5分钟”,以此根据实际的应用场景对延迟时间进行灵活地设置。
通过如上所述的方法,不仅保留了对延迟时间的灵活设置,还简化了用户的操作,使得用户不需要进行繁琐的手动触发操作,避免了误操作,从而避免了智能闹钟的误动作,提高了灵活设置的延迟闹响的准确率。
请参阅图2,在一实施例中,步骤110之前,如上所述的方法还包括以下步骤:
步骤210,接收用户相对于移动终端的语音输入操作时产生的语音消息。
用户将通过移动终端自带的麦克风输入表示闹钟关闭的语音,例如,用户对着移动终端自带的麦克风说“关闭闹钟”,相应地,智能闹钟将通过麦克风接口接收到包含有“关闭闹钟”语音的语音消息。
步骤230,根据预存的语音包对语音消息进行识别,若识别得到语音消息中包含关闭闹钟标识,则生成闹钟关闭指令。
预存的语音包是对用户输入的多段不同的语音进行预先录制并存储形成的,即其中包含有可供语音消息进行识别的各种语音。
本实施例中,预存的语音包中至少包含有关闭闹钟标识,该关闭闹钟标
识指的是用户输入的“关闭闹钟”语音,用于指示智能闹钟关闭闹钟。
进一步地,语音消息的识别过程为:将接收到的语音消息中包含的语音与预存的语音包中包含的关闭闹钟标识进行对比,若对比结果接近,则表示接收到的语音消息中包含有“关闭闹钟”语音。
此时,通过语音消息的识别说明用户想对闹响的闹钟进行关闭,进而通过生成闹钟关闭指令指示智能闹钟关闭闹钟。进一步地,如图2所示,如上所述的方法还包括以下步骤:
步骤250,若识别得到语音消息中包含延迟时间标识,则按照延迟时间标识对延迟时间进行设置。
如前所述,预存的语音包中包含有可供语音消息进行识别的各种语音,本实施例中,预存的语音包中将包含有延迟时间标识,该延迟时间标识指的是用户输入的“延迟N分钟”语音,用于指示对延迟时间进行设置。其中,N可以是任意一个自然数,例如,N为1,则延迟时间设置为1分钟,以此实现智能闹钟灵活地设置延迟时间。
进一步地,语音消息的识别过程为:将接收到的语音消息中包含的语音与预存的语音包中包含的延迟时间标识进行对比,若对比结果接近,则表示接收到的语音消息中包含有“延迟N分钟”语音。
此时,通过语音消息的识别说明用户想对延时时间进行设置,进而按照识别得到的延迟时间进行设置,以按照设置的延迟时间对用户进行延迟闹响。
通过如上所述的方法,延迟时间能够灵活地设置,性能稳定可靠,可调节性强,同时简化了用户的操作,使得用户不需要进行繁琐的手动触发操作,避免了误操作,从而避免了智能闹钟的误动作,提高了灵活设置的延迟闹响的准确率。
请参阅图3,步骤130包括以下步骤:
步骤131,侦听得到延迟时间确认指令。
移动终端的显示屏幕上增设延迟时间确认入口,通过用户对该延迟时间确认入口中的点击操作或者输入操作,将产生能够被智能闹钟侦听得到的延迟时间确认指令。也就是说,如果用户对先前设置的延迟时间进行确认,智能闹钟即侦听得到延迟时间确认指令。
其中,点击操作时,延迟时间确认入口对应于显示屏幕上设置的一个虚
拟按键;输入操作时,延迟时间确认入口对应于显示屏幕上设置的一个虚拟对话框,例如,该对话框可以是用于输入密码的对话框。
通过如上所述的步骤,延迟时间的设置将进一步地得到确认,有效地防止了由于用户误操作或者设置了错误的延迟时间而导致耽误了正事,进一步地提高了延迟闹响的准确率。
步骤133,通过响应延迟时间确认指令启动延迟计时,以在计时时间到达延迟时间时对用户进行延迟闹响。
侦听得到延迟时间确认指令之后,延迟计时被启动,当计时时间到达延迟时间,则表示智能闹钟所指示的时间已到达延迟了的预设闹响时间,此时,智能闹钟将对用户进行延迟闹响。
在一实施例中,步骤130之前,如上所述的方法还包括以下步骤:
判断用户是否处于清醒状态。若为是,则对用户暂停延迟闹响。
本实施例中,清醒状态指的是用户能够准确地执行关闭闹钟所指定的操作。若用户处于清醒状态,则不必对用户继续进行延迟闹响,以此不会给其他人造成第二次干扰。基于此,在闹钟关闭之后,智能闹钟是否进行闹钟的延迟闹响设置来对用户进行延迟闹响将取决于用户的清醒状态。
也就是说,通过对用户的清醒状态进行判断,若判断到用户处于清醒状态,则暂停对用户进行延迟闹响,反之,若判断到用户处于非清醒状态,则返回步骤130,按照延迟时间对用户进行延迟闹响。
进一步地,判断用户是否处于清醒状态包括:对用户所处的环境进行光强检测,以根据预存的清醒程度与光强的关系曲线对用户的清醒状态进行判断。
众所周知,褪黑素能够调节睡眠时相,而褪黑素的分泌与光线强度密切相关,简单地说,光线强度越强,褪黑素的分泌被抑制得越厉害,即光线强度越强,褪黑素的抑制作用越强,用户的清醒程度将越高。
基于此,本实施例中,清醒程度将通过褪黑素的抑制率相对于光谱的灵敏度来表示。如图8所示,纵坐标表示清醒程度对应的数值,即褪黑素的抑制率相对于光谱的灵敏度,横坐标表示光线强度对应的数值,即光波波长。图8中的曲线峰值所对应的横坐标的值相当于正午时刻光线强度最强时蓝光波长的大致值,此时其所对应的纵坐标的值相当于褪黑素的抑制率的灵敏度
也是最高的,即表示褪黑素的抑制作用最强,用户的清醒程度最高。进而,移动终端中将通过存储的清醒程度与光线强度的关系曲线来对用户的清醒状态进行判断。
具体检测过程:移动终端中将通过其自带的光传感器对用户所处的环境的光线强度进行检测,容易理解,白天中光线强度所对应的数值大于夜晚中光线强度所对应的数值,则白天中清醒程度所对应的数值也要大于夜晚中清醒程度所对应的数值。
因此,在检测到用户所处的环境的光线强度之后,根据预存的关系曲线,即能够得到与检测到的光线强度具有对应关系的清醒程度,进而根据该清醒程度判断出用户是否处于清醒状态。
进一步地,本实施例中,用户的清醒状态将通过清醒程度所对应的数值与清醒阈值的比较结果来进行判断。也就是说,清醒程度所对应的数值如果小于清醒阈值,则判断用户处于非清醒状态,反之,如果大于或者等于清醒阈值,则判断用户处于清醒状态。例如,可以将与早上8点时的光线强度具有对应关系的清醒程度所对应的数值设为清醒阈值。
通过如上所述的方法,智能闹钟能够在不同的工作模式中进行自动切换,也就是说,用户处于非清醒状态时,智能闹钟自动切换至关闭闹钟继续延迟闹响的工作模式,反之,用户处于清醒状态时,智能闹钟自动切换至关闭闹钟不延迟闹响的工作模式,进而有效地提高了智能闹钟的实用率,还同时丰富了智能闹钟的应用场景。
请参阅图4,在一实施例中,一种智能闹钟的实现装置包括:
关闭指令侦听模块410,用于在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应闹钟关闭指令关闭闹钟。
延迟闹响模块430,用于按照延迟时间对用户进行延迟闹响。其中,延迟时间是根据用户相对于移动终端的语音输入操作进行设置的。
请参阅图5,在一实施例中,如上所述的装置还包括:
消息接收模块510,用于接收用户相对于移动终端的语音输入操作时产生的语音消息。
关闭指令生成模块530,用于根据预存的语音包对语音消息进行识别,
若识别得到语音消息中包含关闭闹钟标识,则生成闹钟关闭指令。
进一步地,如上所述的装置还包括:
延迟时间设置模块550,用于若识别得到语音消息中包含延迟时间标识,则按照延迟时间标识对延迟时间进行设置。
请参阅图6,在一实施例中,延迟闹响模块430包括:
确认指令侦听单元431,用于侦听得到延迟时间确认指令。
延迟时间计时单元433,用于通过响应延迟时间确认指令启动延迟计时,以在计时时间到达延迟时间时对用户进行延迟闹响。
在一实施例中,如上所述的装置还包括:
清醒状态判断模块,用于判断用户是否处于清醒状态;若为是,则对用户暂停延迟闹响。
进一步地,清醒状态判断模块包括:光强检测单元,用于对用户所处的环境进行光强检测,以根据预存的清醒程度与光强的关系曲线对用户的清醒状态进行判断。
图7为本发明各实施例中移动终端的硬件结构示意图。如图7所示,移动终端700包括存储器710、处理器730、用于连接存储器710和处理器730的通信总线770、以及与通信总线770相连的通信接口750。
其中,存储器710用于存储实现智能闹钟所对应的程序指令。
处理器730通过存储器中存储的程序指令执行以下步骤:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,延迟时间是根据用户相对于移动终端的语音输入操作进行设置的。
上述内容,仅为本发明的较佳实施例,并非用于限制本发明的实施方案,本领域普通技术人员根据本发明的主要构思和精神,可以十分方便地进行相应的变通或修改,故本发明的保护范围应以权利要求书所要求的保护范围为准。
Claims (11)
- 一种智能闹钟的实现方法,应用于移动终端,其特征在于,包括:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
- 如权利要求1所述的方法,其特征在于,所述侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟之前,所述方法还包括:接收用户相对于所述移动终端的语音输入操作时产生的语音消息;根据预存的语音包对所述语音消息进行识别,若识别得到所述语音消息中包含关闭闹钟标识,则生成所述闹钟关闭指令。
- 如权利要求2所述的方法,其特征在于,所述方法还包括:若识别得到所述语音消息中包含延迟时间标识,则按照所述延迟时间标识对所述延迟时间进行设置。
- 如权利要求1所述的方法,其特征在于,所述按照延迟时间对用户进行延迟闹响包括:侦听得到延迟时间确认指令;通过响应所述延迟时间确认指令启动延迟计时,以在计时时间到达所述延迟时间时对用户进行延迟闹响。
- 如权利要求1所示的方法,其特征在于,所述按照延迟时间对用户进行延迟闹响之前,所述方法还包括:判断用户是否处于清醒状态;若为是,则对用户暂停延迟闹响。
- 一种智能闹钟的实现装置,其特征在于,包括:关闭指令侦听模块,用于在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;延迟闹响模块,用于按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
- 如权利要求6所述的装置,其特征在于,所述装置还包括:消息接收模块,用于接收用户相对于所述移动终端的语音输入操作时产 生的语音消息;关闭指令生成模块,用于根据预存的语音包对所述语音消息进行识别,若识别得到所述语音消息中包含关闭闹钟标识,则生成所述闹钟关闭指令。
- 如权利要求7所述的装置,其特征在于,所述装置还包括:延迟时间设置模块,用于若识别得到所述语音消息中包含延迟时间标识,则按照所述延迟时间标识对所述延迟时间进行设置。
- 如权利要求6所述的装置,其特征在于,所述延迟闹响模块包括:确认指令侦听单元,用于侦听得到延迟时间确认指令;延迟时间计时单元,用于通过响应所述延迟时间确认指令启动延迟计时,以在计时时间到达所述延迟时间时对用户进行延迟闹响。
- 如权利要求6所述的装置,其特征在于,所述装置还包括:清醒状态判断模块,用于判断用户是否处于清醒状态;若为是,则对用户暂停延迟闹响。
- 一种移动终端,其特征在于,所述移动终端包括存储器和处理器,所述存储器用于存储实现智能闹钟所对应的程序指令,所述处理器通过所述存储器中存储的程序指令执行以下步骤:在智能闹钟所指示的时间到达预设闹响时间时,侦听得到闹钟关闭指令,以通过响应所述闹钟关闭指令关闭闹钟;按照延迟时间对用户进行延迟闹响;其中,所述延迟时间是根据用户相对于所述移动终端的语音输入操作进行设置的。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/076723 WO2017156768A1 (zh) | 2016-03-18 | 2016-03-18 | 移动终端及其智能闹钟的实现方法、装置 |
CN201680001031.6A CN107407908A (zh) | 2016-03-18 | 2016-03-18 | 移动终端及其智能闹钟的实现方法、装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/076723 WO2017156768A1 (zh) | 2016-03-18 | 2016-03-18 | 移动终端及其智能闹钟的实现方法、装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017156768A1 true WO2017156768A1 (zh) | 2017-09-21 |
Family
ID=59851004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/076723 WO2017156768A1 (zh) | 2016-03-18 | 2016-03-18 | 移动终端及其智能闹钟的实现方法、装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107407908A (zh) |
WO (1) | WO2017156768A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582272A (zh) * | 2018-11-23 | 2019-04-05 | Oppo(重庆)智能科技有限公司 | 一种控制方法、终端设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007077534A1 (en) * | 2006-01-06 | 2007-07-12 | Koninklijke Philips Electronics N.V. | Sound device with informative sound signal |
CN101605157A (zh) * | 2009-07-16 | 2009-12-16 | 中兴通讯股份有限公司 | 一种声控闹铃及声控闹铃的实现方法 |
CN102880044A (zh) * | 2012-09-26 | 2013-01-16 | 广东欧珀移动通信有限公司 | 一种闹钟提醒方法及装置 |
CN202796041U (zh) * | 2012-08-16 | 2013-03-13 | 北京播思软件技术有限公司 | 一种利用语音控制闹钟的移动终端 |
US20130155818A1 (en) * | 2011-12-17 | 2013-06-20 | Chi Mei Communication Systems, Inc. | Electronic device, storage medium and method for controlling an alarm function of the electronic device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7134062B2 (en) * | 2003-08-12 | 2006-11-07 | Via Telecom, Inc. | Static timing analysis approach for multi-clock domain designs |
CN103501389A (zh) * | 2013-09-28 | 2014-01-08 | 深圳市金立通信设备有限公司 | 一种关闭闹钟的方法及终端 |
CN104660790B (zh) * | 2013-11-21 | 2017-08-04 | 上海斐讯数据通信技术有限公司 | 一种移动设备关闭闹铃的方法及移动设备 |
CN104505095A (zh) * | 2014-12-22 | 2015-04-08 | 上海语知义信息技术有限公司 | 闹钟的语音操控系统及方法 |
CN204681444U (zh) * | 2015-04-30 | 2015-09-30 | 乐视致新电子科技(天津)有限公司 | 具有闹钟功能的设备 |
CN105141752A (zh) * | 2015-07-24 | 2015-12-09 | 努比亚技术有限公司 | 移动终端控制装置及方法 |
-
2016
- 2016-03-18 CN CN201680001031.6A patent/CN107407908A/zh active Pending
- 2016-03-18 WO PCT/CN2016/076723 patent/WO2017156768A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007077534A1 (en) * | 2006-01-06 | 2007-07-12 | Koninklijke Philips Electronics N.V. | Sound device with informative sound signal |
CN101605157A (zh) * | 2009-07-16 | 2009-12-16 | 中兴通讯股份有限公司 | 一种声控闹铃及声控闹铃的实现方法 |
US20130155818A1 (en) * | 2011-12-17 | 2013-06-20 | Chi Mei Communication Systems, Inc. | Electronic device, storage medium and method for controlling an alarm function of the electronic device |
CN202796041U (zh) * | 2012-08-16 | 2013-03-13 | 北京播思软件技术有限公司 | 一种利用语音控制闹钟的移动终端 |
CN102880044A (zh) * | 2012-09-26 | 2013-01-16 | 广东欧珀移动通信有限公司 | 一种闹钟提醒方法及装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582272A (zh) * | 2018-11-23 | 2019-04-05 | Oppo(重庆)智能科技有限公司 | 一种控制方法、终端设备及存储介质 |
CN109582272B (zh) * | 2018-11-23 | 2023-07-21 | Oppo(重庆)智能科技有限公司 | 一种控制方法、终端设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN107407908A (zh) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9472206B2 (en) | Privacy mode for always-on voice-activated information assistant | |
US10381001B2 (en) | Voice control user interface during low-power mode | |
US10381010B2 (en) | Voice control user interface during low power mode | |
JP6247384B2 (ja) | エアコン起動方法、エアコン起動装置、コンピュータプログラム及びコンピュータ読み取り可能な記憶媒体 | |
CN106250093B (zh) | 先前捕捉的音频的检索机制 | |
CN104899030B (zh) | 一种闹钟处理方法及用户终端 | |
US10373615B2 (en) | Voice control user interface during low power mode | |
US20190304460A1 (en) | Voice control user interface with progressive command engagement | |
WO2015131550A1 (zh) | 一种控制播放器进入睡眠模式的方法、装置及终端设备 | |
WO2016045027A1 (zh) | 屏幕灵敏度调整方法和移动终端 | |
WO2014183529A1 (zh) | 切换移动终端通话模式的方法、装置及存储介质 | |
JP2018520360A (ja) | 目覚まし時計を管理する方法及び装置、ならびにコンピュータプログラム、コンピュータ読み取り可能媒体 | |
WO2017156767A1 (zh) | 移动终端及其智能闹钟的实现方法、装置 | |
CN101958950A (zh) | 一种移动终端的音量调节方法及移动终端 | |
WO2015188459A1 (zh) | 一种终端控制方法、装置、语音控制装置及终端 | |
CN110830644B (zh) | 显示屏幕控制方法、装置、电子设备和存储介质 | |
CN105786187A (zh) | 一种可穿戴设备的闹钟时间提醒方法及装置 | |
WO2015180607A1 (zh) | 一种终端 | |
CN104519203A (zh) | 一种闹钟设置的提示方法及系统 | |
WO2016082344A1 (zh) | 一种语音控制的方法、装置及存储介质 | |
TW201423587A (zh) | 被叫提示系統及方法 | |
WO2017156768A1 (zh) | 移动终端及其智能闹钟的实现方法、装置 | |
TWI719026B (zh) | 使用控制方法、系統及電子設備 | |
CN107526522B (zh) | 黑屏手势识别方法及装置,以及移动终端、存储介质 | |
CN104571856A (zh) | 一种终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16893933 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16893933 Country of ref document: EP Kind code of ref document: A1 |