WO2019071501A1 - Alarm processing method and device - Google Patents

Alarm processing method and device Download PDF

Info

Publication number
WO2019071501A1
WO2019071501A1 PCT/CN2017/105814 CN2017105814W WO2019071501A1 WO 2019071501 A1 WO2019071501 A1 WO 2019071501A1 CN 2017105814 W CN2017105814 W CN 2017105814W WO 2019071501 A1 WO2019071501 A1 WO 2019071501A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
reminder
user
awake
mode
Prior art date
Application number
PCT/CN2017/105814
Other languages
French (fr)
Chinese (zh)
Inventor
梁少勃
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to CN201780095889.8A priority Critical patent/CN111213356A/en
Priority to PCT/CN2017/105814 priority patent/WO2019071501A1/en
Publication of WO2019071501A1 publication Critical patent/WO2019071501A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an alarm processing method and apparatus.
  • the alarm clock a very important application scenario of the alarm clock is the reminder of the user's time when getting up in the morning.
  • the alarm is turned on, usually accompanied by a corresponding ringtone, which can be called an alarm reminder, and the user performs a corresponding pause or close operation.
  • Pause means to start the reminder again after a while, and close means no more reminder.
  • the existing alarm clock may cause the user to turn off the alarm reminder in advance due to the misoperation, so that the alarm loses the proper reminding effect.
  • the embodiments of the present invention provide a ringtone processing method and device, which can implement alarm alarms for multiple different content, effectively avoid the possibility of misoperation, and improve the efficiency of the alarm reminder.
  • the first aspect of the embodiments of the present invention provides an alarm method, where the method includes:
  • the first alarm reminder is activated when the preset alarm reminding condition is met, and the first alarm reminder includes playing the first ringtone;
  • Receiving the alarm reminding processing instruction if the processing instruction is a later reminder, stopping the alarm reminding and converting the alarm mode to a later reminding mode, wherein the later reminding mode is to stop the alarm
  • the subsequent alarm interval is started after the reminder, and the subsequent alarm reminder includes playing the second ringtone;
  • processing instruction is off, detecting whether the current state of the user is awake, and if so, Turn off the alarm reminder, otherwise stop the alarm reminder and convert the alarm mode to the later reminder mode.
  • the detecting whether the current state of the user is an awake state includes:
  • the camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
  • the detecting whether the current state of the user is an awake state includes:
  • the detecting whether the current state of the user is an awake state includes:
  • the user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
  • the multiple confirmation reminder includes a confirmation reminder of a random number of times.
  • the reminder strength of the subsequent alarm reminder is higher than the previous adjacent alarm reminder of the subsequent alarm reminder.
  • the subsequent alarm reminder further includes playing the voice prompt information, where the voice prompt information includes the current time of the broadcast and/or the current alarm reminder number.
  • the second aspect of the embodiments of the present invention further provides an alarm processing apparatus, where the apparatus includes:
  • An alarm activation module configured to start a first alarm reminder when the preset alarm reminding condition is met, where the first alarm reminder includes playing the first ringtone;
  • the alarm later reminds the instruction processing module for receiving a later reminder instruction, stops the alarm reminder after receiving the later reminder instruction, and converts the alarm mode to a later reminder mode, the later reminder mode Initiating a subsequent alarm reminder for a preset time interval after stopping the alarm reminder, the subsequent alarm reminder includes playing a second ringtone;
  • the alarm off command processing module is configured to receive a close command to detect whether the current state of the user is awake, and if so, turn off the alarm reminder, otherwise stop the alarm reminder and convert the alarm mode to the later reminder mode.
  • the alarm off command processing module is further configured to:
  • the camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
  • the alarm off command processing module is further configured to:
  • the alarm off command processing module is further configured to:
  • the user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
  • the multiple confirmation reminder includes a confirmation reminder of a random number of times.
  • the alarm follow-up reminding instruction processing module is further configured to:
  • the voice prompt information is played, and the voice prompt information includes the current time of the broadcast and/or the current number of alarm reminders.
  • the third aspect of the embodiment of the present invention further provides an alarm processing apparatus, where the alarm processing apparatus includes:
  • the fourth aspect of the embodiments of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor and executed according to the first aspect of the embodiments of the present invention.
  • the alarm handling method in either case.
  • the alarm processing apparatus in this embodiment starts the first alarm reminder according to the alarm setting; receives the alarm processing operation of the user, and processes the alarm; if receiving the later reminding instruction, stops the alarm reminder and The alarm mode is converted to a later reminder mode, and the later reminder mode includes a ringtone and an effect different from the first alarm reminder; if the close command is received, the user's awake state is detected, and if the user is detected to be awake, The alarm is turned off, otherwise the alarm is stopped and the alarm mode is switched to the later reminder mode.
  • the alarm processing process according to the received different instructions, multiple alarm reminders are turned on, and the ringtones of each reminder are different, and the user status is confirmed multiple times, effectively avoiding misoperations and improving the alarm reminder. Efficient.
  • FIG. 1 is a schematic flow chart of an alarm reminding method in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of determining a user's awake state according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another user awake state determination in the embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another user awake state determination in the embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an alarm processing apparatus according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • FIG. 1 is a schematic flowchart of an alarm processing method according to an embodiment of the present invention. As shown in the figure, the alarm processing method in this embodiment may include the following processes:
  • the alarm clock is a system built in the terminal, and the terminal includes a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), and a wearable device (such as a smart watch).
  • the alarm function includes an alarm reminder. Before each alarm alarm is triggered, it needs to be set, including the setting of the alarm reminder start time, the setting of the alarm reminder pause interval, and the ringtone setting. When the alarm clock meets the preset alarm reminding condition, the first alarm reminder is activated, and then step S102 is performed.
  • step S103 is performed.
  • step S106 can also be switched to the later reminder mode, which has been given in FIG.
  • the specific content of the later reminder mode may be set by the system or may be customized by the user, and the function definition is shown by step S104.
  • the subsequent alarm reminder is an alarm reminder different from the first alarm reminder.
  • the first alarm reminder is an alarm reminder that is activated when the alarm time meets the preset condition for the first time
  • the subsequent alarm reminder is that after the user receives the first alarm reminder, it operates and enters the later reminder mode. , the alarm reminder that is activated again.
  • the preset time interval includes a determined interval duration, such as 5 minutes, 10 minutes, 15 minutes, and the like.
  • the subsequent alarm reminder includes the alarm system turning on the second alarm reminder, and then receiving the user's operation again. If the user still selects the later reminder, the current alarm reminder is turned off. And the third alarm reminder is performed after the preset time.
  • the preset time period of this time may be the same as the previous time, or may be different. And so on, until the user turns off the alarm reminder.
  • each subsequent alarm reminder is different from the previous one, for example, it is required to remind a person of the morning time, the user thinks that an alarm reminder does not play a good reminding role, therefore The reminder mode is set later.
  • the first reminder time is 7:00, and then every 15 minutes. Then, when the time reaches 7:00, the first alarm is activated, and the first alarm reminds the user to wake up from deep sleep, so that soft and soothing light music can be played. After the user wakes up, he will remind the alarm later and then go to sleep.
  • the time reaches 7:15 the second alarm reminder is activated.
  • the function of the alarm reminder is to remind the user that the time is not too early, and he can prepare to get up, so he can play cheerful pop music and inspire the spirit of the user.
  • the third alarm reminder is activated.
  • the function of the alarm reminder is to play the final reminding role, prompting the user to have reached the last wake-up period, so that the rock music with strong rhythm can be played, so that the user Feel the urgency of time and achieve the ultimate reminder.
  • an enhancement effect may be added to the alarm reminder such that the reminder strength of each subsequent alarm reminder is higher than its previous alarm reminder.
  • the “Effects” column indicates the effect added for the alarm reminder
  • the “Several Reminder” indicates the number of reminders.
  • “Volume 1 level” indicates the lowest volume
  • “Volume 2 level” is slightly higher than “Volume 1 level”
  • “Volume level 3” has the highest volume.
  • “soothing” means that the music rhythm is slow and gentle
  • “standard” means that the music rhythm is normal
  • no special effect is added
  • “strong” means that the music rhythm is faster and more dynamic.
  • Vibration column, “No vibration” means no vibration effect added, “Vibration level 1” means adding slight vibration, “Vibration level 2” means adding more vibration than vibration level 1. As can be seen from Table 1, the alert strength of each alarm reminder is higher than its previous alarm reminder, which can play a better reminder role.
  • the ringtone of the alarm reminder may not be replaced, and the enhancement effect is directly added to the original ringtone.
  • the alarm alarm when the alarm alarm is activated for the first time, it is a certain ringtone, corresponding to the volume level 1 and the soothing rhythm. Do not add vibration; the second time when the alarm is activated, it is still this ringtone, corresponding to a slightly higher volume level 2 and standard rhythm, adding vibration level 1; the second time when the alarm is activated, this ringtone is corresponding, The highest volume is 3 levels and the strong rhythm adds 2 levels of vibration. This also makes it easy to distinguish each Second alarm reminder.
  • the level of the enhancement effect may not be limited to three, and may be any one of 2-10.
  • the types of enhancement effects are not limited to those listed in Table 1, and may include other types of alarms that can be added to the alarm.
  • the content of the ringtone The user can set the type and intensity level of the enhancement effect as needed.
  • prompt information may be added to each alarm reminder, including the current time of the broadcast or the current number of reminders.
  • the current time is 7:00, and the user knows that it has arrived in the morning, so the subconscious reminds himself that he should get up, the second time.
  • the current time is 7:15, and the user is ready to get up.
  • the current time of the broadcast and the current number of reminders can be used together, or can be used together with different alarm ring to provide a better reminder effect.
  • the alarm receives a close command, indicating that the user wants to stop the alarm reminder for a long time.
  • the shutdown command is only a user's misoperation. If the alarm is turned off directly after receiving the shutdown command, the alarm may be lost. Therefore, in the technical solution of the present invention, the user is provided to be awake The status confirmation process is used to ensure the accuracy of the user's shutdown operation. After receiving the shutdown command, step S106 is performed.
  • the awake state indicates that the user's current operation of the alarm clock is due to a real will, rather than a misoperation.
  • the determination of the awake state in the technical solution of the present invention is mainly completed by face recognition and confirmation of reminders.
  • the user's awake state can be determined based on facial feature recognition.
  • the camera of the terminal When receiving the close operation, the camera of the terminal is turned on to shoot a human face. If the user is in a fully closed or mostly closed eye state, the user is in an awake state and the alarm mode is switched to the later reminder mode. Among them, most of the closed eye state can be judged according to a preset threshold of the iris area.
  • the awake state of the user may also be determined by determining the size of the face area. Normally, if the user is in an awake state, the posture of the operation terminal should be that the face is facing or most of the face is facing the terminal screen. Conversely, if the user is in an awake state, it is likely to deviate most of the terminal screen. Therefore, after the camera is turned on, the image is captured. If there is a face area that satisfies the preset size in the image, the user is awake, and vice versa, the user is in an awake state.
  • the size of the face area may refer to the size of the face in the captured image, and may also represent the proportion of the face in the image.
  • the user's awake state can be determined based on multiple confirmation operations provided by the alarm. Confirm the content of the reminder, which can be a simple judgment question, such as "Do you want to turn off the alarm reminder?" and let the user make a selection judgment. If the user selects "No", the confirmation prompt is directly completed, and the system is converted to the later reminder mode. If the user selects "Yes”, the second reminder is performed, and the content of the second reminder may be the same as the first reminder, or may be different.
  • the user If the user is in the awake state, he can rationally respond to the multiple confirmation reminders sent by the system one by one, and if the user is in an awake state, he or she may not respond to the confirmation reminder, or may not respond in full. Therefore, the user initiates multiple confirmation reminders, and if the alarm receives an acknowledgment command corresponding to all of the acknowledgment reminders, it is determined that the user is in an awake state, and vice versa, the user is considered to be in an awake state.
  • Example 3 The three specific embodiments mentioned above for judging whether the user is in the awake state will be in the second embodiment. Shown in Example 3 and Example 4.
  • the number of confirmation reminders issued by the alarm clock may be random, because if the number of reminders is determined, the user may complete the operation according to the memory, then turn off the alarm and continue to sleep, so that the alarm is lost.
  • the role of reminders If the number of reminders is random, the user must pay enough attention to the alarm to respond to all multiple confirmation reminders. This can also determine that the user is awake. Therefore, the user is prompted to confirm the random number of times, and if the confirmation command corresponding to the confirmation reminder is received, the user is judged to be awake, otherwise the user is determined not to be awake.
  • step S103 If the user is in the awake state, step S103 is performed, otherwise step S107 is performed.
  • the alarm reminder can be turned off.
  • steps S102, S103, and S104 do not have a clear sequence relationship with steps S105, S106, and S107, but different processes are completed according to different received instructions.
  • the subsequent alarm reminder is different from the previous alarm reminder. It can be a ringtone difference, or it can add an enhancement effect, or join the time and number of broadcasts.
  • a close command is received, it is necessary to judge whether the user is awake or not.
  • the face captured by the terminal camera is judged, and may also be judged according to the multiple confirmation information provided by the alarm. If it is determined that the user is in the awake state, the alarm is turned off, otherwise, the mode is changed to the later reminder mode. In this process, the user is repeatedly reminded of different alarms of different contents, and further confirms the operation state of the user, and ensures that the alarm clock provides a valid reminder. Greatly improved the efficiency of the alarm reminder.
  • the user awake state determination method in the embodiment may include the following processes:
  • the alarm clock is a system built in the smart phone, and currently all the smart phones on the market have a camera. Therefore, when the smartphone receives the corresponding operation instruction, it directly Turn on the camera. After the camera is turned on, step S202 is performed.
  • Different face images can be captured by the camera lens, such as still images, moving images, different positions, different expressions, etc., which can be well collected.
  • the acquisition device automatically searches for and captures the user's face image.
  • the smartphone turns on the camera, the user's face graphic is collected, firstly the user's face image is obtained, and then the user's eye image is intercepted as needed. After the image acquisition is completed, step S203 is performed.
  • the iris is positioned, and the iris area is calculated according to the positioned iris region.
  • the preset iris area size After obtaining the iris area in the image, it is compared with the preset iris area size, and the user is judged to be in the blinking, blinking or closed eye state according to the comparison result.
  • whether the user blinks or not can determine whether the user is in the full blink state, and can also determine whether the size of the user's blinking area satisfies the preset size.
  • step S204 is performed, otherwise the process proceeds to S205.
  • the user in general, if the user is not awake and does not intend to get up, he will not open his eyes and look at the mobile phone alarm seriously. Otherwise, the user's eyes are completely captured by the smart phone camera and are It is judged that it is in a blinking state, indicating that the user is already awake.
  • the camera captures the human eye image of the user and determines through comparison analysis that the user is completely closed, or most of the closed eye state, the user does not intend to get up at this time, and the action of turning off the alarm is only subconscious. The action, and it is very likely to continue to sleep after turning off the alarm. At this time, it is judged that the user is in an awake state.
  • the terminal turns on the camera, collects the face image of the user, and detects the blinking condition of the user, and determines the awake state of the user.
  • This process objectively determines the correctness of the user when operating the alarm clock by detecting the physical characteristics of the user. , reduce the misoperation rate of the shutdown command.
  • FIG. 3 is a schematic flowchart of another user awake state determination in the embodiment of the present invention.
  • the user awake state determination method in the embodiment may include the following processes:
  • the alarm clock is built in the smart phone, and most of the smart phones on the market now have a camera function. Therefore, when the smart phone receives the corresponding alarm operation instruction, the camera can be directly turned on. After the camera is turned on, step S302 is performed.
  • Different face images can be captured by the camera lens, such as still images, moving images, different positions, different expressions, etc., which can be well collected.
  • a face image is uploaded in the device, and feature analysis and recording are performed thereon. Then use the camera to capture the image within the shooting range, the device will automatically search and capture the user's face image according to the stored face image features.
  • step S303 is performed.
  • the face area in the image is recognized.
  • the terminal is facing the terminal screen, and the user's face will be mostly or All were taken by the camera. Therefore, a face area threshold is set before the operation is performed, a face image is acquired, and the corresponding area size is calculated. Assuming that the face area is 6 cm 2 in the acquired image, the shooting threshold for determining the awake state can be set to One third of this area, ie 2 cm 2 .
  • step S302 when it is detected that the area of the face area of the user in the image collected in step S302 is greater than or equal to 2 cm 2 , it is determined that the user is in the awake state, and step S304 is performed; otherwise, step S305 is performed.
  • the user in general, if the user is not awake and does not intend to get up, he may subconsciously reach out to turn off the alarm clock, not to check the terminal situation, or to look far from where the close button is, and then select shut down. Conversely, if the user faces most of the face to the terminal screen and operates the alarm, the user is already awake.
  • step S304 if the user is not awake, the user may subconsciously extend the alarm to turn off the alarm, do not check the terminal situation, or look at the closed button far away, and select to close.
  • the camera is unable to capture the user's face area, or can only collect very much A small area. In this case, it can be judged that the user is in an awake state.
  • the terminal turns on the camera, collects the face image of the user, and detects whether the user's face area satisfies the preset area, thereby determining the user's awake state.
  • This process objectively determines the user operation by detecting the user's physical characteristics.
  • the correctness of the alarm clock reduces the misoperation rate of the shutdown command.
  • FIG. 4 is a schematic flowchart of another user awake state determination in the embodiment of the present invention.
  • the user awake state determination method in the embodiment may include the following processes:
  • the alarm when the user selects the shutdown operation, the alarm initiates the first confirmation reminder to confirm whether the user is awake. Then, confirm the content of the reminder, which can be a simple judgment question, such as "Do you want to turn off the alarm?" and let the user make a selection judgment. Step S402 is performed.
  • the user gives a corresponding operation to the received confirmation reminder.
  • the user receives the message "Are you sure to turn off the alarm?" and selects "Yes” and "No”.
  • the terminal detects the received command. If the received command is YES, step S403 is performed. If the received command is detected as "No", it is considered that the user's closing operation at this time is an erroneous operation, and step S408 is performed.
  • the user gives a corresponding operation to the received second confirmation reminder.
  • the user has performed two confirmation operations, which greatly reduces the possibility of user misoperation. Therefore, the content of the third confirmation reminder can be "You can sneeze with your eyes?" This kind of interesting question and answer to reduce the user's uncooperative mood. And the number of answers can be set twice, that is, if the user answers the error for the first time, the user can be prompted to enter the answer again.
  • step S406 is performed.
  • the terminal can perform two confirmations.
  • the above question “Can you sneeze with your eyes open?" The answer is no, if received If the instruction of "No" is received, it is judged that the confirmation command is received, and step S407 is executed. If an error answer is received, the user is reminded that the answer can be input again. If the instruction of "No" is received for the second time, the confirmation command is received. Step S407 is performed, otherwise step S408 is performed.
  • the confirmation reminder initiated by the alarm may also include four times, five times, six times, etc. The more times the initiated confirmation reminder is, the more accurately the user is determined to be awake. However, setting too many confirmation reminders will cause the user experience to drop, so the number of confirmation reminders is between 2-10 times.
  • the number of reminders for the alarm may be determined randomly by the system. Since the system randomly confirms the number of reminders, the user cannot know in advance, so the user has to input the confirmation command for each confirmation reminder one by one, and must pay sufficient attention, and if the user is in an awake state, it is difficult to do. Correspondingly, if the user gives a corresponding confirmation command to the random number of alarm reminders, it can be determined that the user is already in the awake state.
  • the alarm sends out three or any number of confirmation reminders, and receives the user's confirmation command. If the user completes the confirmation operation corresponding to each confirmation reminder, it is determined that the user is in the awake state, otherwise the user is judged to be in the awake state. This process greatly reduces the possibility of user misuse by multiple confirmations.
  • the alarm processing apparatus in this embodiment includes a processor 51, a storage medium 52, and a bus 53; the processor 51 and The storage medium 52 is connected by a bus 53.
  • the storage medium 52 may be a storage medium built in the alarm processing apparatus or a separately provided storage medium.
  • the processor 51 for data processing may use a microprocessor, a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array (FPGA, Field-Programmable Gate). Array).
  • the storage medium 52 may be configured with a plurality of instructions, and the instructions are adapted to be loaded by the processor 51 and execute a partial process corresponding to the alarm processing method shown in FIG. 1 in the foregoing embodiment, where the at least the following includes:
  • the first alarm reminder is activated when the preset alarm reminding condition is met, and the first alarm reminder includes playing the first ringtone;
  • Receiving the alarm reminding processing instruction if the processing instruction is a later reminder, stopping the alarm reminding and converting the alarm mode to a later reminding mode, wherein the later reminding mode is to stop the alarm
  • the subsequent alarm interval is started after the reminder, and the subsequent alarm reminder includes playing the second ringtone;
  • the processing instruction is off, it is detected whether the current state of the user is an awake state, and if so, the alarm reminder is turned off, otherwise the alarm reminder is stopped and the alarm mode is converted to the later reminder mode.
  • the instructions are loaded by the processor 51 and then perform the following operations to detect whether the current state of the user is awake:
  • the camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
  • the instructions are loaded by the processor 51 and the following operations are performed to detect the user Whether the current status is awake:
  • the instructions are loaded by the processor 51 and then perform the following operations to detect whether the current state of the user is awake:
  • the user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
  • the following operations are also performed: providing each alarm alert with a higher alert strength than the previous one.
  • the following operations are also performed: playing the voice prompt information, the voice prompt information including the current time of the broadcast and/or the current number of alarm reminders.
  • the plurality of instructions stored in the storage medium 52 of the alarm processing device may be executed by the processor 51 to form the following modules:
  • An alarm triggering module 521 configured to trigger a first alarm reminder, where the first alarm reminder includes playing a first ringtone;
  • the alarm follow-up reminding instruction processing module 522 is configured to receive a subsequent reminder processing instruction, stop the alarm reminder, and start a subsequent alarm reminder after a preset time period, where the subsequent alarm alarm includes playing and each subsequent alarm The bell reminds the corresponding subsequent ringtone;
  • the alarm off command processing module 523 is configured to receive a close command to detect whether the current state of the user is an awake state, and if so, turn off the alarm reminder, otherwise the alarm mode is converted to a later reminder mode.
  • the alarm follow-up reminding instruction processing module 522 is further configured to provide an alarm reminder that is higher than the previous one. .
  • the alarm follow-up reminding instruction processing module 522 is further configured to play the voice prompt information, where the voice prompt information includes the current time of the broadcast and/or the current number of alarm reminders.
  • the alarm off command processing module 523 is further configured to detect whether the current state of the user is in an awake state and execute: turning on the camera to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition , confirm that the user's current status is awake.
  • the alarm off command processing module 523 is further configured to detect a current user. Whether the state is awake state and execution: the camera is turned on to detect the face area, and if the detected face area satisfies the awake state condition, it is confirmed that the current state of the user is awake.
  • the alarm off command processing module 523 is further configured to detect whether the current state of the user is an awake state and execute: issuing a multiple confirmation reminder to the user, if receiving the multiple confirmation reminder Each time the confirmation confirmation corresponds to the confirmation command, the current status of the user is confirmed to be awake.
  • the alarm off command processing module 523 is further configured to detect whether the current state of the user is an awake state and execute: initiating a random number of confirmation reminders to the user.
  • the alarm processing apparatus in this embodiment receives the alarm reminding processing instruction by triggering the alarm reminder, and processes the alarm reminder. If a later reminder command is received, the current alarm reminder is stopped and the subsequent alarm reminder is activated after the preset time period, wherein each subsequent alarm reminder is different from the previous alarm reminder; if a close command is received , it is necessary to judge whether the user is awake. If it is judged that the user is in the awake state, the alarm is turned off, otherwise, the mode is changed to the later reminder mode. Since the user has made many different ringtone reminders and other reminders, the efficiency of the alarm reminder is greatly improved.
  • the above-mentioned alarm reminding method and the above-mentioned storage medium carrying specific instructions should not be understood as an alarm reminding device that can only exist or be implemented in the embodiment, but can be implemented in any terminal or storage device. Or in a network device.
  • each function module in the alarm reminding device refers to the related description of the steps of the corresponding alarm reminding method in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a Solid State Disk (SSD)
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Disclosed are an alarm processing method and device. The alarm processing method comprises: activating a first alarm when a pre-set alarm condition is met, the first alarm comprising playing a first ringtone; receiving an alarm processing instruction, and if the processing instruction is to snooze, stopping the alarm and switching from an alarm clock mode to a snooze mode, the snooze mode activating a subsequent alarm when a pre-set time interval has elapsed after the alarm is stopped, and the subsequent alarm comprising playing a second ringtone; and if the processing instruction is to switch off, checking whether the current state of a user is an awake state, and if so, turning off the alarm, otherwise, stopping the alarm and switching from the alarm clock mode to a snooze mode. By means of the present invention, multiple alarms having different content can be implemented, the possibility of misoperation is effectively avoided, and the efficiency of an alarm is improved.

Description

一种闹铃处理方法和装置Alarm clock processing method and device 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种闹铃处理方法和装置。The present invention relates to the field of communications technologies, and in particular, to an alarm processing method and apparatus.
背景技术Background technique
在通讯技术越来越发达的今天,几乎所有的终端设备都带有闹钟功能。在我们的日常生活中,很多时候都需要闹钟提醒我们相应的日程和时间,防止对重要事件或重要时间的遗漏。Today, with the development of communication technology, almost all terminal devices have an alarm clock function. In our daily life, we often need an alarm clock to remind us of the corresponding schedule and time to prevent the omission of important events or important time.
其中,闹钟的一个非常重要的应用场景是早晨起床时对用户的时间提醒。当到达预设起床时间时,闹钟开启提醒,通常伴有相应的铃声,可称之为闹铃提醒,用户对其作出相应的暂停或关闭的操作。暂停表示一段时间后再次启动提醒,关闭表示不再提醒。Among them, a very important application scenario of the alarm clock is the reminder of the user's time when getting up in the morning. When the preset wake-up time is reached, the alarm is turned on, usually accompanied by a corresponding ringtone, which can be called an alarm reminder, and the user performs a corresponding pause or close operation. Pause means to start the reminder again after a while, and close means no more reminder.
但是,现有闹钟在用户对闹铃提醒进行操作时,很有可能因为误操作导致用户提前关闭了闹铃提醒,使得闹铃失去了应有的提醒作用。However, when the user operates the alarm reminder, the existing alarm clock may cause the user to turn off the alarm reminder in advance due to the misoperation, so that the alarm loses the proper reminding effect.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种铃声处理方法和装置,可实现多次不同内容的闹铃提醒,并有效避免误操作的可能性,提升闹铃提醒的有效率。In view of this, the embodiments of the present invention provide a ringtone processing method and device, which can implement alarm alarms for multiple different content, effectively avoid the possibility of misoperation, and improve the efficiency of the alarm reminder.
为了解决上述技术问题,本发明实施例第一方面提供了一种闹铃方法,所述方法包括:In order to solve the above technical problem, the first aspect of the embodiments of the present invention provides an alarm method, where the method includes:
在满足预设闹铃提醒条件时启动首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;The first alarm reminder is activated when the preset alarm reminding condition is met, and the first alarm reminder includes playing the first ringtone;
接收所述闹铃提醒处理指令,若所述处理指令为稍后提醒,则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式为在停止所述闹铃提醒后的预设时间间隔启动后续闹铃提醒,所述后续闹铃提醒包括播放第二铃声;Receiving the alarm reminding processing instruction, if the processing instruction is a later reminder, stopping the alarm reminding and converting the alarm mode to a later reminding mode, wherein the later reminding mode is to stop the alarm The subsequent alarm interval is started after the reminder, and the subsequent alarm reminder includes playing the second ringtone;
若所述处理指令为关闭,则检测用户当前状态是否为清醒状态,若是,则 关闭闹铃提醒,否则停止所述闹铃提醒并将闹钟模式转换为所述稍后提醒模式。If the processing instruction is off, detecting whether the current state of the user is awake, and if so, Turn off the alarm reminder, otherwise stop the alarm reminder and convert the alarm mode to the later reminder mode.
可选情况下,所述检测用户当前状态是否为清醒状态包括:Optionally, the detecting whether the current state of the user is an awake state includes:
开启摄像头检测用户面部特征,若检测到的用户面部特征满足清醒状态条件,则确认用户当前状态为清醒状态。The camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
可选情况下,所述检测用户当前状态是否为清醒状态包括:Optionally, the detecting whether the current state of the user is an awake state includes:
开启摄像头检测人脸区域,若检测到的人脸区域满足清醒状态条件,则确认用户当前状态为清醒状态。Turn on the camera to detect the face area. If the detected face area meets the awake status condition, confirm that the user's current status is awake.
可选情况下,所述检测用户当前状态是否为清醒状态包括:Optionally, the detecting whether the current state of the user is an awake state includes:
向用户发出多次确认提醒,若接收到与所述多次确认提醒中每一次确认提醒对应的确认指令,则确认用户当前状态为清醒状态。The user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
可选情况下,所述多次确认提醒包括随机次数的确认提醒。Optionally, the multiple confirmation reminder includes a confirmation reminder of a random number of times.
可选情况下,所述后续闹铃提醒的提醒强度高于所述后续闹铃提醒的前一次相邻闹铃提醒。Optionally, the reminder strength of the subsequent alarm reminder is higher than the previous adjacent alarm reminder of the subsequent alarm reminder.
可选情况下,所述后续闹铃提醒还包括播放语音提示信息,所述语音提示信息包括播报当前时间和/或当前闹铃提醒次数。Optionally, the subsequent alarm reminder further includes playing the voice prompt information, where the voice prompt information includes the current time of the broadcast and/or the current alarm reminder number.
相应地,本发明实施例第二方面还提供了一种闹铃处理装置,所述装置包括:Correspondingly, the second aspect of the embodiments of the present invention further provides an alarm processing apparatus, where the apparatus includes:
闹铃启动模块,用于在满足预设闹铃提醒条件时启动首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;An alarm activation module, configured to start a first alarm reminder when the preset alarm reminding condition is met, where the first alarm reminder includes playing the first ringtone;
闹铃稍后提醒指令处理模块,用于接收稍后提醒指令,在接收到所述稍后提醒指令后停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式为在停止所述闹铃提醒后的预设时间间隔启动后续闹铃提醒,所述后续闹铃提醒包括播放第二铃声;The alarm later reminds the instruction processing module for receiving a later reminder instruction, stops the alarm reminder after receiving the later reminder instruction, and converts the alarm mode to a later reminder mode, the later reminder mode Initiating a subsequent alarm reminder for a preset time interval after stopping the alarm reminder, the subsequent alarm reminder includes playing a second ringtone;
闹铃关闭指令处理模块,用于接收关闭指令,检测用户当前状态是否为清醒状态,若是,则关闭闹铃提醒,否则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式。The alarm off command processing module is configured to receive a close command to detect whether the current state of the user is awake, and if so, turn off the alarm reminder, otherwise stop the alarm reminder and convert the alarm mode to the later reminder mode.
可选情况下,所述闹铃关闭指令处理模块还用于: Optionally, the alarm off command processing module is further configured to:
开启摄像头进行检测用户面部特征,若检测到的用户面部特征满足清醒状态条件,则确认用户当前状态为清醒状态。The camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
可选情况下,所述闹铃关闭指令处理模块还用于:Optionally, the alarm off command processing module is further configured to:
开启摄像头检测人脸区域,若检测到的人脸区域满足清醒状态条件,则确认用户当前状态为清醒状态。Turn on the camera to detect the face area. If the detected face area meets the awake status condition, confirm that the user's current status is awake.
可选情况下,所述闹铃关闭指令处理模块还用于:Optionally, the alarm off command processing module is further configured to:
向用户发出多次确认提醒,若接收到与所述多次确认提醒中每一次确认提醒对应的确认指令,则确认用户当前状态为清醒状态。所述多次确认提醒包括随机次数的确认提醒。The user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake. The multiple confirmation reminder includes a confirmation reminder of a random number of times.
可选情况下,所述闹铃后续提醒指令处理模块还用于:Optionally, the alarm follow-up reminding instruction processing module is further configured to:
播放语音提示信息,所述语音提示信息包括播报当前时间和/或当前闹铃提醒次数。The voice prompt information is played, and the voice prompt information includes the current time of the broadcast and/or the current number of alarm reminders.
相应的,本发明实施例第三方面还提供了一种闹铃处理装置,所述闹铃处理装置包括:Correspondingly, the third aspect of the embodiment of the present invention further provides an alarm processing apparatus, where the alarm processing apparatus includes:
处理器,用于执行各指令;a processor for executing each instruction;
存储介质,用于存储多条指令,所述指令适于由所述处理器加载并执行如本发明实施例第一方面提供的任一情况下的闹铃处理方法。A storage medium for storing a plurality of instructions, the instructions being adapted to be loaded by the processor and to perform an alarm processing method in any of the cases provided by the first aspect of the embodiments of the present invention.
相应的,本发明实施例第四方面还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载并执行如本发明实施例第一方面提供的任一情况下的闹铃处理方法。Correspondingly, the fourth aspect of the embodiments of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor and executed according to the first aspect of the embodiments of the present invention. The alarm handling method in either case.
本实施例中的闹铃处理装置根据闹钟设置,启动首次闹铃提醒;接收用户的闹铃处理操作,对闹铃进行处理;若接收到稍后提醒指令,则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式中包含与首次闹铃提醒不同的铃声和效果;若接收到关闭指令,对用户的清醒状态进行检测,若检测到用户为清醒状态,则关闭闹铃,否则停止闹铃提醒并将闹钟模式转换为稍后提醒模式。这一闹铃处理过程中,根据接收到的不同指令,开启多次闹铃提醒,且每次提醒的铃声都有所差别,并对用户状态多次确认,有效避免误操作,提高闹铃提醒有效率。 The alarm processing apparatus in this embodiment starts the first alarm reminder according to the alarm setting; receives the alarm processing operation of the user, and processes the alarm; if receiving the later reminding instruction, stops the alarm reminder and The alarm mode is converted to a later reminder mode, and the later reminder mode includes a ringtone and an effect different from the first alarm reminder; if the close command is received, the user's awake state is detected, and if the user is detected to be awake, The alarm is turned off, otherwise the alarm is stopped and the alarm mode is switched to the later reminder mode. During the alarm processing process, according to the received different instructions, multiple alarm reminders are turned on, and the ringtones of each reminder are different, and the user status is confirmed multiple times, effectively avoiding misoperations and improving the alarm reminder. Efficient.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例中的一种闹铃提醒方法的流程示意图;1 is a schematic flow chart of an alarm reminding method in an embodiment of the present invention;
图2是本发明实施例中的一种用户清醒状态判断的流程示意图;2 is a schematic flowchart of determining a user's awake state according to an embodiment of the present invention;
图3是本发明实施例中的另一种用户清醒状态判断的流程示意图;3 is a schematic flowchart of another user awake state determination in the embodiment of the present invention;
图4是本发明实施例中的另一种用户清醒状态判断的流程示意图;4 is a schematic flow chart of another user awake state determination in the embodiment of the present invention;
图5是本发明实施例中的一种闹铃处理装置的结构示意图。FIG. 5 is a schematic structural diagram of an alarm processing apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the drawings are used to distinguish different objects, and are not intended to describe a particular order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or, optionally, Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列 出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。The term "and/or" used in the description of the invention and the appended claims refers to the associated list Any combination of one or more of the items listed, and all possible combinations, and including such combinations.
图1是本发明实施例中的一种闹铃处理方法的流程示意图,如图所示本实施例中的闹铃处理方法可以包括以下流程:FIG. 1 is a schematic flowchart of an alarm processing method according to an embodiment of the present invention. As shown in the figure, the alarm processing method in this embodiment may include the following processes:
S101、在满足预设闹铃提醒条件时启动首次闹铃提醒。S101. Start the first alarm reminder when the preset alarm reminding condition is met.
在可选实施例中,闹钟是内置在终端中的系统,终端包括手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(MID,mobile internet device)、可穿戴设备(例如智能手表等),闹钟功能包括进行闹铃提醒。在每次触发闹铃提醒前,需要对其进行设置,包括闹铃提醒启动时间的设置、闹铃提醒暂停间隔的设置以及铃声设置等。当闹钟满足预设闹铃提醒条件时,启动首次闹铃提醒,然后执行步骤S102。In an alternative embodiment, the alarm clock is a system built in the terminal, and the terminal includes a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), and a wearable device (such as a smart watch). The alarm function includes an alarm reminder. Before each alarm alarm is triggered, it needs to be set, including the setting of the alarm reminder start time, the setting of the alarm reminder pause interval, and the ringtone setting. When the alarm clock meets the preset alarm reminding condition, the first alarm reminder is activated, and then step S102 is performed.
S102、接收稍后提醒指令。S102. Receive a reminder instruction later.
具体地,当闹铃提醒开启的时候,用户会对其作出反应,终端会接收到相应处理指令,以使闹铃提醒关闭或者暂停,表示用户已经听到了该闹铃提醒。如果接收到稍后提醒指令,说明用户只是想暂时关闭闹铃提醒,并且希望能再次收到后续闹铃提醒。因此接收到稍后提醒指令后,执行步骤S103。Specifically, when the alarm reminder is turned on, the user will respond to it, and the terminal will receive a corresponding processing instruction to cause the alarm reminder to be turned off or paused, indicating that the user has heard the alarm reminder. If a reminder command is received later, the user just wants to temporarily turn off the alarm reminder, and hopes to receive the subsequent alarm reminder again. Therefore, after receiving the later reminder instruction, step S103 is performed.
S103、停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式。S103. Stop the alarm reminder and convert the alarm mode to a later reminder mode.
具体地,当闹钟接收到指令,说明用户已经听到了闹铃提醒,那么就可以暂时关闭闹铃提醒。因为接收到的是稍后提醒指令,所以进入稍后提醒模式。另外,步骤S106也可以转换到稍后提醒模式,图1中已经给出。在可选的实施例中,稍后提醒模式的具体内容可以由系统设置,也可以由用户自定义,其功能定义由步骤S104展示。Specifically, when the alarm receives an instruction indicating that the user has heard the alarm reminder, the alarm reminder can be temporarily turned off. Since the received alert is a later reminder, the alert mode is entered later. In addition, step S106 can also be switched to the later reminder mode, which has been given in FIG. In an optional embodiment, the specific content of the later reminder mode may be set by the system or may be customized by the user, and the function definition is shown by step S104.
S104、在预设时间段后启动后续闹铃提醒。S104. Start a subsequent alarm reminder after a preset time period.
具体地,后续闹铃提醒是与首次闹铃提醒不同的闹铃提醒。其中,首次闹铃提醒是闹钟时间第一次满足预设条件时启动的闹铃提醒,而后续闹铃提醒是用户在接收到首次闹铃提醒后,对其进行操作并进入稍后提醒模式后,再次启动的闹铃提醒。Specifically, the subsequent alarm reminder is an alarm reminder different from the first alarm reminder. The first alarm reminder is an alarm reminder that is activated when the alarm time meets the preset condition for the first time, and the subsequent alarm reminder is that after the user receives the first alarm reminder, it operates and enters the later reminder mode. , the alarm reminder that is activated again.
在可选的实施例中,预设的时间间隔,包括一个确定的间隔时长,比如5分钟,10分钟,15分钟等。后续闹铃提醒包括闹钟系统开启第二次闹铃提醒,然后再次接收用户的操作,如果用户依然选择稍后提醒,则关闭当前闹铃提醒, 并在预设时间后进行第三次闹铃提醒,这一次的预设时间段可以与上一次相同,也可以不同。依次类推,直到用户关闭闹铃提醒。In an alternative embodiment, the preset time interval includes a determined interval duration, such as 5 minutes, 10 minutes, 15 minutes, and the like. The subsequent alarm reminder includes the alarm system turning on the second alarm reminder, and then receiving the user's operation again. If the user still selects the later reminder, the current alarm reminder is turned off. And the third alarm reminder is performed after the preset time. The preset time period of this time may be the same as the previous time, or may be different. And so on, until the user turns off the alarm reminder.
在可选的实施例中,每一次后续闹铃提醒的内容都与上一次不同,例如需要提醒一个人晨起的时间,该用户认为一次闹铃提醒并不能起到很好的提醒作用,因此设置了稍后提醒模式。第一次提醒时间是7:00,之后每隔15分钟提醒一次。那么,当时间到达7:00,启动第一次闹铃提醒,第一次闹铃提醒的作用是将用户从深度睡眠中唤醒,因此可以播放轻柔舒缓的轻音乐。用户醒来后,对闹钟进行稍后提醒操作,然后陷入睡眠。当时间到达7:15,启动第二次闹铃提醒,这一次闹铃提醒的作用是提醒该用户时间已经不早了,可以准备起床了,因此可以播放欢快的流行音乐,振奋用户的精神。用户听到这种声音,知道了目前的大概时间,但是依然不想起床,于是再次对闹钟进行稍后提醒操作,并陷入睡眠。当时间到达7:30时,启动第三次闹铃提醒,这次闹铃提醒的作用是起到最终的提醒作用,提示用户已经到了最后起床期限,因此可以播放节奏感强烈的摇滚乐,使用户感受到时间的紧迫性,达到最终的提醒效果。In an optional embodiment, the content of each subsequent alarm reminder is different from the previous one, for example, it is required to remind a person of the morning time, the user thinks that an alarm reminder does not play a good reminding role, therefore The reminder mode is set later. The first reminder time is 7:00, and then every 15 minutes. Then, when the time reaches 7:00, the first alarm is activated, and the first alarm reminds the user to wake up from deep sleep, so that soft and soothing light music can be played. After the user wakes up, he will remind the alarm later and then go to sleep. When the time reaches 7:15, the second alarm reminder is activated. The function of the alarm reminder is to remind the user that the time is not too early, and he can prepare to get up, so he can play cheerful pop music and inspire the spirit of the user. The user heard the sound and knew the current approximate time, but still didn't want to get up, so he reminded the alarm again and went to sleep. When the time reaches 7:30, the third alarm reminder is activated. The function of the alarm reminder is to play the final reminding role, prompting the user to have reached the last wake-up period, so that the rock music with strong rhythm can be played, so that the user Feel the urgency of time and achieve the ultimate reminder.
在可选的实施例中,可以对闹铃提醒添加增强效果,使得每一次后续闹铃提醒的提醒强度高于它的前一次闹铃提醒。如表1所示,“效果”栏表示为闹铃提醒添加的效果,“第几次提醒”表示对应提醒次数。在“音量”栏中,“音量1级”表示最低的音量,“音量2级”比“音量1级”稍高,“音量3级”的音量最高。在“节奏”栏中,“舒缓”表示音乐节奏比较慢而轻柔,“标准”表示音乐节奏正常,未添加特殊效果的状态,“强烈”表示音乐节奏比较快而动感。“震动”栏,“无震动”表示不添加震动效果,“震动1级”表示添加轻微震动,“震动2级”表示添加比震动1级更强烈的震动。从表1中可以看出,每一次闹铃提醒的提醒强度都比它的前一次闹铃提醒高,能更起到更好的提醒作用。In an alternative embodiment, an enhancement effect may be added to the alarm reminder such that the reminder strength of each subsequent alarm reminder is higher than its previous alarm reminder. As shown in Table 1, the “Effects” column indicates the effect added for the alarm reminder, and the “Several Reminder” indicates the number of reminders. In the "Volume" column, "Volume 1 level" indicates the lowest volume, "Volume 2 level" is slightly higher than "Volume 1 level", and "Volume level 3" has the highest volume. In the “Rhythm” column, “soothing” means that the music rhythm is slow and gentle, “standard” means that the music rhythm is normal, no special effect is added, and “strong” means that the music rhythm is faster and more dynamic. “Vibration” column, “No vibration” means no vibration effect added, “Vibration level 1” means adding slight vibration, “Vibration level 2” means adding more vibration than vibration level 1. As can be seen from Table 1, the alert strength of each alarm reminder is higher than its previous alarm reminder, which can play a better reminder role.
在可选的实施例中,也可以不更换闹铃提醒的铃声,直接在原有铃声中加入增强效果,比如第一遍启动闹铃提醒时,是某一铃声,对应音量1级和舒缓节奏,不添加震动;第二遍启动闹铃提醒时,依然是这一铃声,对应稍高的音量2级和标准节奏,添加震动1级;第二遍启动闹铃提醒时,还是这一铃声,对应最高的音量3级和强烈节奏,添加震动2级。这样也能够很好地区分每一 次的闹铃提醒。需要指出的是,增强效果的等级可以不仅限于3个,也可以是2-10中的任意多个,增强效果的种类也不限于表1中列举,可以包含其它多种可添加到闹铃提醒的铃声中的内容。用户可以根据需要对增强效果的种类和强度等级进行设置。In an optional embodiment, the ringtone of the alarm reminder may not be replaced, and the enhancement effect is directly added to the original ringtone. For example, when the alarm alarm is activated for the first time, it is a certain ringtone, corresponding to the volume level 1 and the soothing rhythm. Do not add vibration; the second time when the alarm is activated, it is still this ringtone, corresponding to a slightly higher volume level 2 and standard rhythm, adding vibration level 1; the second time when the alarm is activated, this ringtone is corresponding, The highest volume is 3 levels and the strong rhythm adds 2 levels of vibration. This also makes it easy to distinguish each Second alarm reminder. It should be noted that the level of the enhancement effect may not be limited to three, and may be any one of 2-10. The types of enhancement effects are not limited to those listed in Table 1, and may include other types of alarms that can be added to the alarm. The content of the ringtone. The user can set the type and intensity level of the enhancement effect as needed.
表1Table 1
Figure PCTCN2017105814-appb-000001
Figure PCTCN2017105814-appb-000001
在可选的实施例中,可以对每一次闹铃提醒添加提示信息,包括播报当前时间或者当前提醒次数。例如在上述实施中的提醒用户起床过程中,可以在第一次闹铃提醒时,播报当前时间是7:00,用户听到后知道已经到早上,于是潜意识提醒自己该起床了,第二次闹铃提醒时播报当前时间是7:15,用户准备起床。最后一次播报当前时间是7:30,用户知道已经无法再拖延,于是果断起床。很好地提高了闹铃提醒的有效率。同时,也可以播报当前提醒次数,如7:00时播报第一次提醒,后面的7:15和7:30分别播报第二次、第三次提醒,使用户更加清楚是第几次闹铃提醒,而增加起床动力。在可选的实施例中,播报当前时间和当前提醒次数可以结合一起使用,也可以结合不同闹铃铃声一起使用,以起到更好的提醒效果。In an optional embodiment, prompt information may be added to each alarm reminder, including the current time of the broadcast or the current number of reminders. For example, in the above-mentioned implementation, the user is reminded that during the first alarm, the current time is 7:00, and the user knows that it has arrived in the morning, so the subconscious reminds himself that he should get up, the second time. When the alarm is alarmed, the current time is 7:15, and the user is ready to get up. The last time the current broadcast was 7:30, the user knew that he could no longer delay, so he decided to get up. It improves the efficiency of the alarm reminder very well. At the same time, it is also possible to broadcast the current number of reminders, such as the first reminder at 7:00, and the second and third reminders at 7:15 and 7:30, so that the user is more aware of the first few alarms. Remind, and increase the motivation to get up. In an optional embodiment, the current time of the broadcast and the current number of reminders can be used together, or can be used together with different alarm ring to provide a better reminder effect.
S105、接收关闭指令。S105. Receive a shutdown command.
具体地,闹钟接收到关闭指令,说明用户想要长时间停止闹铃提醒。但是,在用户的操作过程中,并不能确定用户是否真的想要关闭闹铃提醒。在有些情况下,关闭指令只是用户的误操作,如果接收关闭指令后直接关闭闹铃提醒,可能导致闹钟失去提醒的作用。因此,在本发明技术方案中,提供了用户清醒 状态的确认过程,用以保证用户关闭操作的准确性。接收关闭指令后,执行步骤S106。Specifically, the alarm receives a close command, indicating that the user wants to stop the alarm reminder for a long time. However, during the user's operation, it is not certain whether the user really wants to turn off the alarm reminder. In some cases, the shutdown command is only a user's misoperation. If the alarm is turned off directly after receiving the shutdown command, the alarm may be lost. Therefore, in the technical solution of the present invention, the user is provided to be awake The status confirmation process is used to ensure the accuracy of the user's shutdown operation. After receiving the shutdown command, step S106 is performed.
S106、检测用户当前状态是否为清醒状态。S106. Detect whether the current state of the user is an awake state.
具体地,清醒状态表示用户当前对闹钟的操作是出于真实意愿,而不是误操作。本发明技术方案中对清醒状态的判断主要通过人脸识别、确认提醒来完成。Specifically, the awake state indicates that the user's current operation of the alarm clock is due to a real will, rather than a misoperation. The determination of the awake state in the technical solution of the present invention is mainly completed by face recognition and confirmation of reminders.
在可选的实施例中,用户的清醒状态可以根据人脸特征识别来判断。当接收到关闭操作时,开启终端的摄像头,拍摄人脸。如果拍摄到用户处于完全闭眼或大部分闭眼状态,说明用户处于未清醒状态,将闹钟模式转换为稍后提醒模式。其中,大部分闭眼状态可以根据预先设定的虹膜区域面积阈值来判断。In an alternative embodiment, the user's awake state can be determined based on facial feature recognition. When receiving the close operation, the camera of the terminal is turned on to shoot a human face. If the user is in a fully closed or mostly closed eye state, the user is in an awake state and the alarm mode is switched to the later reminder mode. Among them, most of the closed eye state can be judged according to a preset threshold of the iris area.
在可选的实施例中,也可以通过判断人脸区域大小来判断用户的清醒状态。通常情况下,如果用户处于清醒状态,那么其操作终端的姿势应该是脸正对着或者大部分脸对着终端屏幕,反之,如果用户处于未清醒状态,则很可能大部分偏离终端屏幕。因此,开启摄像头后,采集图像,如果图像里面存在满足预设大小的人脸区域,说明用户是清醒状态,反之,则说明用户处于未清醒状态。其中,人脸区域大小可以指采集的图像中人脸的面积大小,也可以表示图像中人脸所占的比例大小。In an optional embodiment, the awake state of the user may also be determined by determining the size of the face area. Normally, if the user is in an awake state, the posture of the operation terminal should be that the face is facing or most of the face is facing the terminal screen. Conversely, if the user is in an awake state, it is likely to deviate most of the terminal screen. Therefore, after the camera is turned on, the image is captured. If there is a face area that satisfies the preset size in the image, the user is awake, and vice versa, the user is in an awake state. The size of the face area may refer to the size of the face in the captured image, and may also represent the proportion of the face in the image.
在可选的实施例中,用户的清醒状态可以根据闹钟提供的多次确认操作来判断。确认提醒的内容,可以是简单的判断问句,如“您确认要关闭闹铃提醒吗?”并让用户进行选择判断。如果用户选择“否”,则直接完成确认提醒,将系统转换为稍后提醒模式。如果用户选择“是”,则进行第二次提醒,第二次提醒的内容可以和第一次提醒相同,也可以不同。系统可以提供一些常识型和智力型问答,如简单的加减法“7+8=?”或者“今天是星期几?”,还可以是提问某个汉字的读法,某个人物的姓名,某个动物的图片等。用户如果处于清醒状态,则可以理性地对系统发出的多次确认提醒一一回应,而用户如果处于未清醒状态,则很可能不对确认提醒作出回应,或者不能全部作出回应。因此,对用户发起多次确认提醒,若闹钟接收到与这些确认提醒全部对应的确认指令,则判断用户处于清醒状态,反之,则认为用户处于未清醒状态。In an alternative embodiment, the user's awake state can be determined based on multiple confirmation operations provided by the alarm. Confirm the content of the reminder, which can be a simple judgment question, such as "Do you want to turn off the alarm reminder?" and let the user make a selection judgment. If the user selects "No", the confirmation prompt is directly completed, and the system is converted to the later reminder mode. If the user selects "Yes", the second reminder is performed, and the content of the second reminder may be the same as the first reminder, or may be different. The system can provide some common sense and intellectual questions and answers, such as simple addition and subtraction "7+8=?" or "Is it a day of the week?", or a question about a Chinese character, the name of a character, A picture of an animal, etc. If the user is in the awake state, he can rationally respond to the multiple confirmation reminders sent by the system one by one, and if the user is in an awake state, he or she may not respond to the confirmation reminder, or may not respond in full. Therefore, the user initiates multiple confirmation reminders, and if the alarm receives an acknowledgment command corresponding to all of the acknowledgment reminders, it is determined that the user is in an awake state, and vice versa, the user is considered to be in an awake state.
上面提到的三种判断用户是否处于清醒状态的具体实施例将在实施例2、 实施例3和实施例4中展示。The three specific embodiments mentioned above for judging whether the user is in the awake state will be in the second embodiment. Shown in Example 3 and Example 4.
在可选的实施例中,闹钟发出的确认提醒次数可以是随机的,因为如果提醒次数是确定的,那么用户可能根据记忆很快完成操作,然后关闭闹铃继续睡觉,这样闹铃就失去了提醒的作用。如果提醒次数随机,那么用户必须对闹钟给予足够的注意力,才能对所有多次确认提醒进行一一回应。这样也就可以判断用户处于清醒状态了。因此,对用户发起随机次数的确认提醒,若接收与这些确认提醒一一对应的确认指令,则判断用户为清醒状态,否则判断用户未清醒。In an optional embodiment, the number of confirmation reminders issued by the alarm clock may be random, because if the number of reminders is determined, the user may complete the operation according to the memory, then turn off the alarm and continue to sleep, so that the alarm is lost. The role of reminders. If the number of reminders is random, the user must pay enough attention to the alarm to respond to all multiple confirmation reminders. This can also determine that the user is awake. Therefore, the user is prompted to confirm the random number of times, and if the confirmation command corresponding to the confirmation reminder is received, the user is judged to be awake, otherwise the user is determined not to be awake.
如果用户为未清醒状态,则执行步骤S103,否则执行步骤S107。If the user is in the awake state, step S103 is performed, otherwise step S107 is performed.
S107、关闭闹铃提醒。S107. Turn off the alarm reminder.
具体地,确认用户处于清醒状态后,说明用户操作无误,则可以关闭闹铃提醒。Specifically, after confirming that the user is in the awake state, indicating that the user operation is correct, the alarm reminder can be turned off.
需要说明的是,在本实施例中,步骤S102、S103、S104与步骤S105、S106、S107不存在明确的先后关系,而是根据接收到的指令不同而完成的不同过程。It should be noted that, in this embodiment, steps S102, S103, and S104 do not have a clear sequence relationship with steps S105, S106, and S107, but different processes are completed according to different received instructions.
在本实施例中,触发首次闹铃提醒后,接收用户的操作指令,如果接收到稍后提醒指令,则停止当前闹铃提醒并在预设时间段后启动后续闹铃提醒,其中每一次的后续闹铃提醒与前次闹铃提醒都有所区别,可以是铃声区别,也可以加入增强效果,或者加入时间和次数播报;如果接收到关闭指令,则需要对用户是否清醒进行判断,可以根据终端摄像头拍摄到的人脸进行判断,也可以根据闹钟提供的多次确认信息来判断,如果判断用户处于清醒状态,则关闭闹铃提醒,否则,转换为稍后提醒模式。在这个过程中,对用户进行了多次内容不同的闹铃提醒,并对用户的操作状态进一步确认,保证闹钟提供了有效的提醒。大大提升了闹铃提醒的有效率。In this embodiment, after triggering the first alarm reminder, receiving an operation instruction of the user, if receiving a later reminding instruction, stopping the current alarm reminder and starting a subsequent alarm reminder after a preset time period, wherein each time The subsequent alarm reminder is different from the previous alarm reminder. It can be a ringtone difference, or it can add an enhancement effect, or join the time and number of broadcasts. If a close command is received, it is necessary to judge whether the user is awake or not. The face captured by the terminal camera is judged, and may also be judged according to the multiple confirmation information provided by the alarm. If it is determined that the user is in the awake state, the alarm is turned off, otherwise, the mode is changed to the later reminder mode. In this process, the user is repeatedly reminded of different alarms of different contents, and further confirms the operation state of the user, and ensures that the alarm clock provides a valid reminder. Greatly improved the efficiency of the alarm reminder.
图2是本发明实施例中的一种用户清醒状态判断的流程示意图,如图所示本实施例中的用户清醒状态判断方法可以包括以下流程:2 is a schematic flowchart of a user awake state determination in the embodiment of the present invention. As shown in the figure, the user awake state determination method in the embodiment may include the following processes:
S201、开启摄像头。S201. Turn on the camera.
在本发明实施例中,闹钟是内置在智能手机中的系统,目前市面上基本所有的智能手机都带有摄像头。因此,当智能手机接收到相应操作指令时,直接 开启摄像头即可。开启摄像头后,执行步骤S202。In the embodiment of the present invention, the alarm clock is a system built in the smart phone, and currently all the smart phones on the market have a camera. Therefore, when the smartphone receives the corresponding operation instruction, it directly Turn on the camera. After the camera is turned on, step S202 is performed.
S202、人脸图像采集。S202, face image acquisition.
不同的人脸图像都能通过摄像镜头采集下来,比如静态图像、动态图像、不同的位置、不同表情等方面都可以得到很好的采集。当用户在采集设备的拍摄范围内时,采集设备会自动搜索并拍摄用户的人脸图像。在本发明实施例中,智能手机开启摄像头后对用户的人脸图形进行采集,首先得到用户脸部图像,然后根据需要,截取用户的眼部图像。完成图像采集后,执行步骤S203。Different face images can be captured by the camera lens, such as still images, moving images, different positions, different expressions, etc., which can be well collected. When the user is within the shooting range of the acquisition device, the acquisition device automatically searches for and captures the user's face image. In the embodiment of the present invention, after the smartphone turns on the camera, the user's face graphic is collected, firstly the user's face image is obtained, and then the user's eye image is intercepted as needed. After the image acquisition is completed, step S203 is performed.
S203、检测用户是否睁眼。S203. Detect whether the user blinks.
在本发明实施例中,得到用户的眼部图像后,进行虹膜定位,并根据定位到的虹膜区域计算虹膜面积。得到图像中的虹膜面积后,与预设的虹膜面积大小进行对比,根据比对结果判断用户处于全睁眼、眯眼或闭眼状态。本步骤的判断用户是否睁眼,可以判断用户是否处于全睁眼状态,也可以判断用户睁眼区域的面积大小是否满足预设大小。确定用户睁眼后,执行步骤S204,否者执行S205。In the embodiment of the present invention, after obtaining the eye image of the user, the iris is positioned, and the iris area is calculated according to the positioned iris region. After obtaining the iris area in the image, it is compared with the preset iris area size, and the user is judged to be in the blinking, blinking or closed eye state according to the comparison result. In this step, whether the user blinks or not can determine whether the user is in the full blink state, and can also determine whether the size of the user's blinking area satisfies the preset size. After it is determined that the user blinks, step S204 is performed, otherwise the process proceeds to S205.
S204、确定用户处于清醒状态。S204. Determine that the user is in an awake state.
在本发明实施例中,一般情况下,用户如果并没有清醒,也不打算起床,就不会睁开眼睛很认真地查看手机闹钟,反之,用户的眼睛被智能手机摄像头完全拍摄到,并被判断出处于睁眼状态,说明用户已经处于清醒状态。In the embodiment of the present invention, in general, if the user is not awake and does not intend to get up, he will not open his eyes and look at the mobile phone alarm seriously. Otherwise, the user's eyes are completely captured by the smart phone camera and are It is judged that it is in a blinking state, indicating that the user is already awake.
S205、确定用户处于未清醒状态。S205. Determine that the user is in an awake state.
在本发明实施例中,如果摄像头拍摄到用户的人眼图像,并经过对比分析确定用户处于完全闭眼,或大部分闭眼状态,说明用户此时并没有打算起床,关闭闹钟的动作只是下意识的动作,并且很有可能在关闭闹钟后又继续睡觉。此时,判断用户处于未清醒状态。In the embodiment of the present invention, if the camera captures the human eye image of the user and determines through comparison analysis that the user is completely closed, or most of the closed eye state, the user does not intend to get up at this time, and the action of turning off the alarm is only subconscious. The action, and it is very likely to continue to sleep after turning off the alarm. At this time, it is judged that the user is in an awake state.
在本实施例中,终端开启摄像头,采集用户的人脸图像,并检测用户的睁眼状况,判断用户的清醒状态,这个过程通过对用户身体特征的检测,客观判断用户操作闹钟时的正确性,降低关闭指令误操作率。In this embodiment, the terminal turns on the camera, collects the face image of the user, and detects the blinking condition of the user, and determines the awake state of the user. This process objectively determines the correctness of the user when operating the alarm clock by detecting the physical characteristics of the user. , reduce the misoperation rate of the shutdown command.
图3是本发明实施例中的另一种用户清醒状态判断的流程示意图,如图所示本实施例中的用户清醒状态判断方法可以包括以下流程: FIG. 3 is a schematic flowchart of another user awake state determination in the embodiment of the present invention. As shown in the figure, the user awake state determination method in the embodiment may include the following processes:
S301、开启摄像头。S301. Turn on the camera.
在本发明实施例中,闹钟内置在智能手机中,而现在市面上的智能手机大部分自带摄像头功能,因此当智能手机收到相应的闹钟操作指令时,直接开启自带的摄像头即可。开启摄像头后,执行步骤S302。In the embodiment of the present invention, the alarm clock is built in the smart phone, and most of the smart phones on the market now have a camera function. Therefore, when the smart phone receives the corresponding alarm operation instruction, the camera can be directly turned on. After the camera is turned on, step S302 is performed.
S302、人脸图像采集。S302, face image acquisition.
不同的人脸图像都能通过摄像镜头采集下来,比如静态图像、动态图像、不同的位置、不同表情等方面都可以得到很好的采集。在本发明实施例中,先在设备中上传人脸图像,并对其进行特征分析和记录。然后使用摄像头采集拍摄范围内的图像,设备会根据自身存储的人脸图像特征自动搜索并拍摄用户的人脸图像。在本发明实施例中,终端开启摄像头后对用户的人脸图形进行采集,采集完成后执行步骤S303。Different face images can be captured by the camera lens, such as still images, moving images, different positions, different expressions, etc., which can be well collected. In the embodiment of the present invention, a face image is uploaded in the device, and feature analysis and recording are performed thereon. Then use the camera to capture the image within the shooting range, the device will automatically search and capture the user's face image according to the stored face image features. In the embodiment of the present invention, after the terminal turns on the camera, the face image of the user is collected, and after the acquisition is completed, step S303 is performed.
S303、检测人脸区域是否满足预设大小。S303. Check whether the face area meets a preset size.
在本发明实施例中,采集到图像后,对图像中的人脸区域进行识别,一般情况下,如果用户处于清醒状态,其操作终端时会是正对终端屏幕,那么用户的脸将大部分或者全部被摄像头拍摄到。因此在进行操作前设置一个人脸面积阈值,采集一个人脸图像,并计算其对应面积大小,假设该人脸面积在采集到的图像中为6cm2,那么确定清醒状态的拍摄阈值可以设置为该面积的三分之一,即2cm2。那么当检测到步骤S302中采集的图像中用户的人脸区域面积大于或等于2cm2,则判断用户处于清醒状态,执行步骤S304,否则,执行步骤S305。In the embodiment of the present invention, after the image is collected, the face area in the image is recognized. Generally, if the user is in the awake state, the terminal is facing the terminal screen, and the user's face will be mostly or All were taken by the camera. Therefore, a face area threshold is set before the operation is performed, a face image is acquired, and the corresponding area size is calculated. Assuming that the face area is 6 cm 2 in the acquired image, the shooting threshold for determining the awake state can be set to One third of this area, ie 2 cm 2 . Then, when it is detected that the area of the face area of the user in the image collected in step S302 is greater than or equal to 2 cm 2 , it is determined that the user is in the awake state, and step S304 is performed; otherwise, step S305 is performed.
S304、确定用户处于清醒状态。S304. Determine that the user is in an awake state.
在本发明实施例中,一般情况下,用户如果并没有清醒,也不打算起床,就可能下意识地伸手关掉闹钟,不会查看终端情况,或者远远看一下关闭键在哪里,就选择了关闭。反之,如果用户将大部分脸对着终端屏幕,并对闹钟进行操作,说明用户已经处于清醒状态。In the embodiment of the present invention, in general, if the user is not awake and does not intend to get up, he may subconsciously reach out to turn off the alarm clock, not to check the terminal situation, or to look far from where the close button is, and then select shut down. Conversely, if the user faces most of the face to the terminal screen and operates the alarm, the user is already awake.
S305、确定用户处于未清醒状态。S305. Determine that the user is in an awake state.
在本发明实施例中,如步骤S304所述,用户如果没有清醒,就就可能下意识地伸手关掉闹钟,不会查看终端情况,或者远远看一下关闭键在哪里,就选择了关闭,此时,摄像头就无法采集到用户的人脸区域,或者只能采集到很 小一片区域。这种情况下,就可以判断用户处于未清醒状态。In the embodiment of the present invention, as described in step S304, if the user is not awake, the user may subconsciously extend the alarm to turn off the alarm, do not check the terminal situation, or look at the closed button far away, and select to close. When the camera is unable to capture the user's face area, or can only collect very much A small area. In this case, it can be judged that the user is in an awake state.
在可选的实施例中,如果采集用户人脸图像的过程中,没有检测到任何人脸区域,则直接判断用户处于未清醒状态。In an optional embodiment, if no face area is detected during the process of collecting the user's face image, it is directly determined that the user is in an awake state.
在本实施例中,终端开启摄像头,采集用户的人脸图像,并检测用户人脸区域是否满足预设面积,从而判断用户的清醒状态,这个过程通过对用户身体特征的检测,客观判断用户操作闹钟时的正确性,降低关闭指令误操作率。In this embodiment, the terminal turns on the camera, collects the face image of the user, and detects whether the user's face area satisfies the preset area, thereby determining the user's awake state. This process objectively determines the user operation by detecting the user's physical characteristics. The correctness of the alarm clock reduces the misoperation rate of the shutdown command.
图4是本发明实施例中的另一种用户清醒状态判断的流程示意图,如图所示本实施例中的用户清醒状态判断方法可以包括以下流程:FIG. 4 is a schematic flowchart of another user awake state determination in the embodiment of the present invention. As shown in the figure, the user awake state determination method in the embodiment may include the following processes:
S401、发出第一次确认提醒。S401, issue the first confirmation reminder.
在本发明实施例中,当用户选择了关闭操作,闹钟发起第一次确认提醒以确认用户是否清醒。那么,确认提醒的内容,可以是简单的判断问句,如“您确认要关闭闹铃吗?”并让用户进行选择判断。执行步骤S402。In the embodiment of the present invention, when the user selects the shutdown operation, the alarm initiates the first confirmation reminder to confirm whether the user is awake. Then, confirm the content of the reminder, which can be a simple judgment question, such as "Do you want to turn off the alarm?" and let the user make a selection judgment. Step S402 is performed.
S402、检测是否收到与第一次确认提醒对应的确认指令。S402. Detect whether a confirmation instruction corresponding to the first confirmation reminder is received.
在本发明实施例中,用户对收到的确认提醒给出相应操作。用户收到的是“您确认要关闭闹铃吗?”,并选择“是”与“否”的操作,终端检测收到的指令,如果检测收到的指令为“是”,执行步骤S403,如果检测收到的指令为“否”,认为用户此时的关闭操作是误操作,执行步骤S408。In the embodiment of the present invention, the user gives a corresponding operation to the received confirmation reminder. The user receives the message "Are you sure to turn off the alarm?" and selects "Yes" and "No". The terminal detects the received command. If the received command is YES, step S403 is performed. If the received command is detected as "No", it is considered that the user's closing operation at this time is an erroneous operation, and step S408 is performed.
S403、发出第二次确认提醒。S403, issuing a second confirmation reminder.
在本发明实施例中,当收到用户的第一次确认操作后,还不能确定用户是否已经真正清醒,所以要给出第二次提醒操作,提醒的内容可以是一些如第一次确认提醒不同的问答。简单的加减法“7+8=?”,并等待用户给出答案,用以判断用户是否清醒。发出第二次确认提醒后,执行步骤S404。In the embodiment of the present invention, after receiving the first confirmation operation of the user, it is still not determined whether the user is actually awake, so the second reminding operation is to be given, and the content of the reminder may be some first confirmation reminder. Different questions and answers. Simple addition and subtraction "7+8=?", and wait for the user to give an answer to determine whether the user is awake. After the second confirmation reminder is issued, step S404 is performed.
S404、检测是否收到与第二次确认提醒对应的确认指令。S404. Detect whether a confirmation instruction corresponding to the second confirmation reminder is received.
在本发明实施例中,用户对收到的第二次确认提醒给出相应操作。用户收到“7+8=?”的确认提醒,该问答只有一个正确回答,就是“15”,如果用户给出了该答案,那么终端判断收到确认指令,执行步骤S405。如果用户给出了除15以外的任意错误的答案,则终端判断未收到确认指令,执行步骤S408。另外,如果终端在预设时间间隔后,比如5S,没有收到任何指令,也判断未 收到确认指令,执行步骤S408。In the embodiment of the present invention, the user gives a corresponding operation to the received second confirmation reminder. The user receives a confirmation reminder of "7+8=?", and the question and answer has only one correct answer, which is "15". If the user gives the answer, the terminal judges that the confirmation command is received, and step S405 is performed. If the user gives an erroneous answer other than 15, the terminal judges that the acknowledgment command has not been received, and executes step S408. In addition, if the terminal does not receive any command after a preset time interval, such as 5S, it also judges that Upon receiving the confirmation command, step S408 is performed.
S405、发出第三次确认提醒。S405, issue a third confirmation reminder.
在本发明实施例中,用户已经进行了两次确认操作,很大程度上降低了用户误操作的可能性。因此,第三次确认提醒的内容可以是“你可以睁着眼睛打喷嚏吗?”这一类的趣味问答,以降低用户的不合作情绪。并且设置回答次数可以是2次,也就是说,如果用户第一次回答错误,可以提示用户再次输入答案。发出第三次确认提醒后,执行步骤S406。In the embodiment of the present invention, the user has performed two confirmation operations, which greatly reduces the possibility of user misoperation. Therefore, the content of the third confirmation reminder can be "You can sneeze with your eyes?" This kind of interesting question and answer to reduce the user's uncooperative mood. And the number of answers can be set twice, that is, if the user answers the error for the first time, the user can be prompted to enter the answer again. After the third confirmation reminder is issued, step S406 is performed.
S406、检测是否收到与第三次确认提醒对应的确认指令。S406. Detect whether a confirmation instruction corresponding to the third confirmation reminder is received.
在本发明实施例中,因为设置了用户可以对确认提醒给出两次操作,所以终端可以进行两次确认,上述问题“你可以睁着眼睛打喷嚏吗?”答案是否定的,如果收到“否”的指令,则判断收到确认指令,执行步骤S407,如果收到错误答案,则提醒用户可以再次输入答案,第二次如果收到“否”的指令,则判断收到确认指令,执行步骤S407,否则执行步骤S408。In the embodiment of the present invention, since the user can set two operations for the confirmation reminder, the terminal can perform two confirmations. The above question "Can you sneeze with your eyes open?" The answer is no, if received If the instruction of "No" is received, it is judged that the confirmation command is received, and step S407 is executed. If an error answer is received, the user is reminded that the answer can be input again. If the instruction of "No" is received for the second time, the confirmation command is received. Step S407 is performed, otherwise step S408 is performed.
S407、确定用户处于清醒状态。S407. Determine that the user is in an awake state.
在可选的实施例中,经过了三次确认提醒,且每次都收到了相对应的确认指令,则可以判断用户处于清醒状态。In an alternative embodiment, after three confirmation reminders have been received, and each time a corresponding confirmation command is received, it can be determined that the user is in an awake state.
在可选的实施例中,闹钟发起的确认提醒,也可以包括四次、五次、六次等,发起的确认提醒的次数越多,越能准确判断用户处于清醒状态。但设置过多的确认提醒次数会导致用户体验下降,因此设置确认提醒的次数范围在2-10次之间。In an optional embodiment, the confirmation reminder initiated by the alarm may also include four times, five times, six times, etc. The more times the initiated confirmation reminder is, the more accurately the user is determined to be awake. However, setting too many confirmation reminders will cause the user experience to drop, so the number of confirmation reminders is between 2-10 times.
在可选的实施例中,闹钟的提醒次数可以是系统随机确定的。由于系统随机确认提醒次数,用户不能事先知道,因此用户要一一输入针对每次确认提醒的确认指令,必须给予足够的注意力,而如果用户处于未清醒状态,则很难做到。相应地,如果用户对随机次数的闹铃提醒都给予了对应的确认指令,则可以判断用户已经处于清醒状态。In an alternative embodiment, the number of reminders for the alarm may be determined randomly by the system. Since the system randomly confirms the number of reminders, the user cannot know in advance, so the user has to input the confirmation command for each confirmation reminder one by one, and must pay sufficient attention, and if the user is in an awake state, it is difficult to do. Correspondingly, if the user gives a corresponding confirmation command to the random number of alarm reminders, it can be determined that the user is already in the awake state.
S408、确定用户处于未清醒状态。S408. Determine that the user is in an awake state.
在可选的实施例中,如果用户处于未清醒状态,就不会有耐心也不会有足够的注意力对所有确认提醒一一回应,所以用户在任意一次确认提醒中没有做出确认指令,则判断用户处于未清醒状态。 In an alternative embodiment, if the user is in an awake state, there will be no patience and no sufficient attention to respond to all confirmation reminders, so the user does not make a confirmation command in any confirmation reminder. Then judge that the user is in an awake state.
本实施例中,闹钟发出三次或任意多次确认提醒,并接收用户的确认指令,如果用户完成了每一次确认提醒对应的确认操作,则判断用户处于清醒状态,否则判断用户处于未清醒状态。这个过程通过多次确认,大大降低了用户误操作的可能性。In this embodiment, the alarm sends out three or any number of confirmation reminders, and receives the user's confirmation command. If the user completes the confirmation operation corresponding to each confirmation reminder, it is determined that the user is in the awake state, otherwise the user is judged to be in the awake state. This process greatly reduces the possibility of user misuse by multiple confirmations.
图5是本发明实施例提供的一种闹铃处理装置的结构示意图,如图所示本实施例中的闹铃处理装置包括处理器51、存储介质52以及总线53;所述处理器51和存储介质52通过总线53连接。5 is a schematic structural diagram of an alarm processing apparatus according to an embodiment of the present invention. As shown in the figure, the alarm processing apparatus in this embodiment includes a processor 51, a storage medium 52, and a bus 53; the processor 51 and The storage medium 52 is connected by a bus 53.
所述存储介质52可以为闹铃处理装置内置的存储介质或独立设置的存储介质。所述用于数据处理的处理器51可以采用微处理器、中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)。The storage medium 52 may be a storage medium built in the alarm processing apparatus or a separately provided storage medium. The processor 51 for data processing may use a microprocessor, a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array (FPGA, Field-Programmable Gate). Array).
所述存储介质52中可以存储有多条指令,所述指令适于由处理器51加载并执行前文实施例中结合图1所示的闹铃处理方法对应的部分流程,其中至少包括:The storage medium 52 may be configured with a plurality of instructions, and the instructions are adapted to be loaded by the processor 51 and execute a partial process corresponding to the alarm processing method shown in FIG. 1 in the foregoing embodiment, where the at least the following includes:
在满足预设闹铃提醒条件时启动首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;The first alarm reminder is activated when the preset alarm reminding condition is met, and the first alarm reminder includes playing the first ringtone;
接收所述闹铃提醒处理指令,若所述处理指令为稍后提醒,则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式为在停止所述闹铃提醒后的预设时间间隔启动后续闹铃提醒,所述后续闹铃提醒包括播放第二铃声;Receiving the alarm reminding processing instruction, if the processing instruction is a later reminder, stopping the alarm reminding and converting the alarm mode to a later reminding mode, wherein the later reminding mode is to stop the alarm The subsequent alarm interval is started after the reminder, and the subsequent alarm reminder includes playing the second ringtone;
若所述处理指令为关闭,则检测用户当前状态是否为清醒状态,若是,则关闭闹铃提醒,否则停止所述闹铃提醒并将闹钟模式转换为所述稍后提醒模式。If the processing instruction is off, it is detected whether the current state of the user is an awake state, and if so, the alarm reminder is turned off, otherwise the alarm reminder is stopped and the alarm mode is converted to the later reminder mode.
在可选实施例中,所述指令由处理器51加载后执行以下操作以检测用户当前状态是否为清醒状态:In an alternative embodiment, the instructions are loaded by the processor 51 and then perform the following operations to detect whether the current state of the user is awake:
开启摄像头进行检测用户面部特征,若检测到的用户面部特征满足清醒状态条件,则确认用户当前状态为清醒状态。The camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
在可选实施例中,所述指令由处理器51加载后执行以下操作以检测用户 当前状态是否为清醒状态:In an alternative embodiment, the instructions are loaded by the processor 51 and the following operations are performed to detect the user Whether the current status is awake:
开启摄像头检测人脸区域,若检测到的人脸区域满足清醒状态条件,则确认用户当前状态为清醒状态。Turn on the camera to detect the face area. If the detected face area meets the awake status condition, confirm that the user's current status is awake.
在可选实施例中,所述指令由处理器51加载后执行以下操作以检测用户当前状态是否为清醒状态:In an alternative embodiment, the instructions are loaded by the processor 51 and then perform the following operations to detect whether the current state of the user is awake:
向用户发出多次确认提醒,若接收到与所述多次确认提醒中每一次确认提醒对应的确认指令,则确认用户当前状态为清醒状态。The user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
在可选的实施例中,后续闹铃提醒由处理器51加载后还执行以下操作:提供每一次提醒强度高于前一次的闹铃提醒。In an alternative embodiment, after the subsequent alarm reminder is loaded by the processor 51, the following operations are also performed: providing each alarm alert with a higher alert strength than the previous one.
在可选的实施例中,后续闹铃提醒由处理器51加载后还执行以下操作:播放语音提示信息,所述语音提示信息包括播报当前时间和/或当前闹铃提醒次数。In an optional embodiment, after the subsequent alarm reminder is loaded by the processor 51, the following operations are also performed: playing the voice prompt information, the voice prompt information including the current time of the broadcast and/or the current number of alarm reminders.
在另一可选实施例中,所述闹铃处理装置的存储介质52中存储的多条指令由处理器51执行时可以形成以下模块:In another alternative embodiment, the plurality of instructions stored in the storage medium 52 of the alarm processing device may be executed by the processor 51 to form the following modules:
闹铃触发模块521,用于触发首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;An alarm triggering module 521, configured to trigger a first alarm reminder, where the first alarm reminder includes playing a first ringtone;
闹铃后续提醒指令处理模块522,用于接收后续提醒处理指令,停止所述闹铃提醒并在预设时间段后启动后续闹铃提醒,所述第后续闹铃提醒包括播放与每一次后续闹铃提醒对应的后续铃声;The alarm follow-up reminding instruction processing module 522 is configured to receive a subsequent reminder processing instruction, stop the alarm reminder, and start a subsequent alarm reminder after a preset time period, where the subsequent alarm alarm includes playing and each subsequent alarm The bell reminds the corresponding subsequent ringtone;
闹铃关闭指令处理模块523,用于接收关闭指令,检测用户当前状态是否为清醒状态,若是,则关闭闹铃提醒,否则将闹钟模式转换为稍后提醒模式。The alarm off command processing module 523 is configured to receive a close command to detect whether the current state of the user is an awake state, and if so, turn off the alarm reminder, otherwise the alarm mode is converted to a later reminder mode.
在可选的实施例中,所述闹铃后续提醒指令处理模块522还用于提供每一次提醒强度高于前一次的闹铃提醒。。In an optional embodiment, the alarm follow-up reminding instruction processing module 522 is further configured to provide an alarm reminder that is higher than the previous one. .
在可选的实施例中,所述闹铃后续提醒指令处理模块522还用于播放语音提示信息,所述语音提示信息包括播报当前时间和/或当前闹铃提醒次数。在可选的实施例中,所述闹铃关闭指令处理模块523还用于检测用户当前状态是否为清醒状态并执行:开启摄像头进行检测用户面部特征,若检测到的用户面部特征满足清醒状态条件,则确认用户当前状态为清醒状态。In an optional embodiment, the alarm follow-up reminding instruction processing module 522 is further configured to play the voice prompt information, where the voice prompt information includes the current time of the broadcast and/or the current number of alarm reminders. In an optional embodiment, the alarm off command processing module 523 is further configured to detect whether the current state of the user is in an awake state and execute: turning on the camera to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition , confirm that the user's current status is awake.
在可选的实施例中,所述闹铃关闭指令处理模块523还用于检测用户当前 状态是否为清醒状态并执行:开启摄像头检测人脸区域,若检测到的人脸区域满足清醒状态条件,则确认用户当前状态为清醒状态。In an optional embodiment, the alarm off command processing module 523 is further configured to detect a current user. Whether the state is awake state and execution: the camera is turned on to detect the face area, and if the detected face area satisfies the awake state condition, it is confirmed that the current state of the user is awake.
在可选的实施例中,所述闹铃关闭指令处理模块523还用于检测用户当前状态是否为清醒状态并执行:向用户发出多次确认提醒,若接收到与所述多次确认提醒中每一次确认提醒对应的确认指令,则确认用户当前状态为清醒状态。In an optional embodiment, the alarm off command processing module 523 is further configured to detect whether the current state of the user is an awake state and execute: issuing a multiple confirmation reminder to the user, if receiving the multiple confirmation reminder Each time the confirmation confirmation corresponds to the confirmation command, the current status of the user is confirmed to be awake.
在可选的实施例中,所述闹铃关闭指令处理模块523还用于检测用户当前状态是否为清醒状态并执行:向用户发起随机次数的确认提醒。In an optional embodiment, the alarm off command processing module 523 is further configured to detect whether the current state of the user is an awake state and execute: initiating a random number of confirmation reminders to the user.
本实施例中的闹铃处理装置,通过触发闹铃提醒,接收闹铃提醒处理指令,对闹铃提醒进行处理。如果接收到稍后提醒指令,停止当前闹铃提醒并在预设时间段后启动后续闹铃提醒,其中每一次的后续闹铃提醒与前次闹铃提醒都有所区别;如果接收到关闭指令,则需要对用户是否清醒进行判断,如果判断用户处于清醒状态,则关闭闹铃提醒,否则,转换为稍后提醒模式。由于对用户进行了多次不同的铃声提醒和其他提醒,大大提升了闹铃提醒的有效率。The alarm processing apparatus in this embodiment receives the alarm reminding processing instruction by triggering the alarm reminder, and processes the alarm reminder. If a later reminder command is received, the current alarm reminder is stopped and the subsequent alarm reminder is activated after the preset time period, wherein each subsequent alarm reminder is different from the previous alarm reminder; if a close command is received , it is necessary to judge whether the user is awake. If it is judged that the user is in the awake state, the alarm is turned off, otherwise, the mode is changed to the later reminder mode. Since the user has made many different ringtone reminders and other reminders, the efficiency of the alarm reminder is greatly improved.
可以被理解的是,上述闹铃提醒方法以及上述携带特定指令的存储介质不应被理解为只能存在或实现于本实施例中的闹铃提醒装置,而是可以实现于任何终端、存储设备或网络设备中。It can be understood that the above-mentioned alarm reminding method and the above-mentioned storage medium carrying specific instructions should not be understood as an alarm reminding device that can only exist or be implemented in the embodiment, but can be implemented in any terminal or storage device. Or in a network device.
闹铃提醒装置中各功能模块的功能可参见上述图1所示实施例中对应闹铃提醒方法步骤的相关描述,此处不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。For the function of each function module in the alarm reminding device, refer to the related description of the steps of the corresponding alarm reminding method in the embodiment shown in FIG. 1 , and details are not described herein again. In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
本领域普通技术人员可以理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。 It will be understood by those skilled in the art that in various embodiments of the present application, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, without The implementation process of the embodiments of the present application should be constituting any limitation.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (10)

  1. 一种闹铃处理方法,其特征在于,包括:An alarm processing method, comprising:
    在满足预设闹铃提醒条件时启动首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;The first alarm reminder is activated when the preset alarm reminding condition is met, and the first alarm reminder includes playing the first ringtone;
    接收所述闹铃提醒处理指令,若所述处理指令为稍后提醒,则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式为在停止所述闹铃提醒后的预设时间间隔启动后续闹铃提醒,所述后续闹铃提醒包括播放第二铃声;Receiving the alarm reminding processing instruction, if the processing instruction is a later reminder, stopping the alarm reminding and converting the alarm mode to a later reminding mode, wherein the later reminding mode is to stop the alarm The subsequent alarm interval is started after the reminder, and the subsequent alarm reminder includes playing the second ringtone;
    若所述处理指令为关闭,则检测用户当前状态是否为清醒状态,若是,则关闭闹铃提醒,否则停止所述闹铃提醒并将闹钟模式转换为所述稍后提醒模式。If the processing instruction is off, it is detected whether the current state of the user is an awake state, and if so, the alarm reminder is turned off, otherwise the alarm reminder is stopped and the alarm mode is converted to the later reminder mode.
  2. 根据权利要求1所述的方法,其特征在于,所述检测用户当前状态是否为清醒状态包括:The method according to claim 1, wherein the detecting whether the current state of the user is an awake state comprises:
    开启摄像头检测用户面部特征,若检测到的用户面部特征满足清醒状态条件,则确认用户当前状态为清醒状态。The camera is turned on to detect the facial features of the user, and if the detected facial features of the user satisfy the awake state condition, the current state of the user is confirmed to be awake.
  3. 根据权利要求1所述的方法,其特征在于,所述检测用户当前状态是否为清醒状态包括:The method according to claim 1, wherein the detecting whether the current state of the user is an awake state comprises:
    开启摄像头检测人脸区域,若检测到的人脸区域满足清醒状态条件,则确认用户当前状态为清醒状态。Turn on the camera to detect the face area. If the detected face area meets the awake status condition, confirm that the user's current status is awake.
  4. 根据权利要求1所述的方法,其特征在于,所述检测用户当前状态是否为清醒状态包括:The method according to claim 1, wherein the detecting whether the current state of the user is an awake state comprises:
    向用户发出多次确认提醒,若接收到与所述多次确认提醒中每一次确认提醒对应的确认指令,则确认用户当前状态为清醒状态。The user is issued a plurality of confirmation reminders, and if the confirmation command corresponding to each of the multiple confirmation reminders is received, the current state of the user is confirmed to be awake.
  5. 如权利要求4所述的方法,其特征在于,所述多次确认提醒包括随机 次数的确认提醒。The method of claim 4 wherein said plurality of confirmation reminders comprises random Confirmation of the number of times.
  6. 根据权利要求1所述的方法,其特征在于,所述后续闹铃提醒的提醒强度高于所述后续闹铃提醒的前一次闹铃提醒。The method according to claim 1, wherein the reminder strength of the subsequent alarm reminder is higher than the previous alarm reminder of the subsequent alarm reminder.
  7. 根据权利要求1所述的方法,其特征在于,所述后续闹铃提醒还包括播放语音提示信息,所述语音提示信息包括播报当前时间和/或当前闹铃提醒次数。The method according to claim 1, wherein the subsequent alarm reminder further comprises playing voice prompt information, wherein the voice prompt information comprises broadcasting the current time and/or the current alarm reminder number.
  8. 一种闹铃处理装置,其特征在于,所述装置包括:An alarm processing device, characterized in that the device comprises:
    闹铃启动模块,用于在满足预设闹铃提醒条件时启动首次闹铃提醒,所述首次闹铃提醒包括播放第一铃声;An alarm activation module, configured to start a first alarm reminder when the preset alarm reminding condition is met, where the first alarm reminder includes playing the first ringtone;
    闹铃稍后提醒指令处理模块,用于接收稍后提醒指令,在接收到所述稍后提醒指令后停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式,所述稍后提醒模式为在停止所述闹铃提醒后的预设时间间隔启动后续闹铃提醒,所述后续闹铃提醒包括播放第二铃声;The alarm later reminds the instruction processing module for receiving a later reminder instruction, stops the alarm reminder after receiving the later reminder instruction, and converts the alarm mode to a later reminder mode, the later reminder mode Initiating a subsequent alarm reminder for a preset time interval after stopping the alarm reminder, the subsequent alarm reminder includes playing a second ringtone;
    闹铃关闭指令处理模块,用于接收关闭指令,检测用户当前状态是否为清醒状态,若是,则关闭闹铃提醒,否则停止所述闹铃提醒并将闹钟模式转换为稍后提醒模式。The alarm off command processing module is configured to receive a close command to detect whether the current state of the user is awake, and if so, turn off the alarm reminder, otherwise stop the alarm reminder and convert the alarm mode to the later reminder mode.
  9. 一种闹铃处理装置,其特征在于,所述闹铃处理装置包括:An alarm processing device, wherein the alarm processing device comprises:
    处理器,用于执行各指令;a processor for executing each instruction;
    存储介质,用于存储多条指令,所述指令适于由所述处理器加载并执行如权利要求1-6中任一项所述的闹铃处理方法。A storage medium for storing a plurality of instructions, the instructions being adapted to be loaded by the processor and to perform the alarm processing method according to any one of claims 1-6.
  10. 一种存储介质,其特征在于,所述存储介质中存储有多条指令,所述指令适于由处理器加载并执行如权利要求1-7中任一项所述的闹铃处理方法。 A storage medium, characterized in that the storage medium stores a plurality of instructions adapted to be loaded by a processor and to perform the alarm processing method according to any one of claims 1-7.
PCT/CN2017/105814 2017-10-12 2017-10-12 Alarm processing method and device WO2019071501A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780095889.8A CN111213356A (en) 2017-10-12 2017-10-12 Alarm processing method and device
PCT/CN2017/105814 WO2019071501A1 (en) 2017-10-12 2017-10-12 Alarm processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105814 WO2019071501A1 (en) 2017-10-12 2017-10-12 Alarm processing method and device

Publications (1)

Publication Number Publication Date
WO2019071501A1 true WO2019071501A1 (en) 2019-04-18

Family

ID=66100244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105814 WO2019071501A1 (en) 2017-10-12 2017-10-12 Alarm processing method and device

Country Status (2)

Country Link
CN (1) CN111213356A (en)
WO (1) WO2019071501A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444761A (en) * 2020-02-21 2020-07-24 云知声智能科技股份有限公司 Method and device for improving wake-up rate

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034114A (en) * 2012-12-26 2013-04-10 广东欧珀移动通信有限公司 Method and device for clock alarming
CN103179280A (en) * 2013-03-25 2013-06-26 广东欧珀移动通信有限公司 Method for delayed reminding of alarm clock at mobile terminal
WO2015131676A1 (en) * 2014-09-28 2015-09-11 中兴通讯股份有限公司 Method and device for controlling alarm clock of mobile terminal, and storage medium
CN105045382A (en) * 2015-06-17 2015-11-11 广东欧珀移动通信有限公司 Method and device for controlling alarm of mobile device
CN105791591A (en) * 2016-04-29 2016-07-20 努比亚技术有限公司 Alarm prompting method and system thereof
CN106982292A (en) * 2017-02-27 2017-07-25 珠海市魅族科技有限公司 A kind of alarm clock prompting method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1225375C (en) * 2003-07-02 2005-11-02 北京交通大学 Method for detecting fatigue driving based on multiple characteristic fusion
CN102467088A (en) * 2010-11-16 2012-05-23 深圳富泰宏精密工业有限公司 Face recognition alarm clock and method for wakening user by face recognition alarm clock
ES2601483T3 (en) * 2011-06-22 2017-02-15 Huawei Device Co., Ltd. Method and alarm device
CN105635449B (en) * 2015-12-25 2019-04-26 青岛海信移动通信技术股份有限公司 A kind of alarm clock control method and mobile terminal
CN105611074B (en) * 2016-02-26 2019-07-09 惠州Tcl移动通信有限公司 A kind of method and system optimizing the pushed information time according to alarm time
CN106527723B (en) * 2016-11-09 2019-03-29 Oppo广东移动通信有限公司 Mobile terminal alarm-clock control method, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034114A (en) * 2012-12-26 2013-04-10 广东欧珀移动通信有限公司 Method and device for clock alarming
CN103179280A (en) * 2013-03-25 2013-06-26 广东欧珀移动通信有限公司 Method for delayed reminding of alarm clock at mobile terminal
WO2015131676A1 (en) * 2014-09-28 2015-09-11 中兴通讯股份有限公司 Method and device for controlling alarm clock of mobile terminal, and storage medium
CN105045382A (en) * 2015-06-17 2015-11-11 广东欧珀移动通信有限公司 Method and device for controlling alarm of mobile device
CN105791591A (en) * 2016-04-29 2016-07-20 努比亚技术有限公司 Alarm prompting method and system thereof
CN106982292A (en) * 2017-02-27 2017-07-25 珠海市魅族科技有限公司 A kind of alarm clock prompting method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444761A (en) * 2020-02-21 2020-07-24 云知声智能科技股份有限公司 Method and device for improving wake-up rate
CN111444761B (en) * 2020-02-21 2023-05-30 云知声智能科技股份有限公司 Method and device for improving wake-up rate

Also Published As

Publication number Publication date
CN111213356A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
JP6247384B2 (en) Air conditioner activation method, air conditioner activation apparatus, computer program, and computer-readable storage medium
US20190318283A1 (en) System and method for adaptively executing user routines based on user interactions
US20200058208A1 (en) Human voice feedback system
WO2017028678A1 (en) Communication method, server and device
JP2019091472A (en) Dynamic threshold for always listening speech trigger
CN107436777B (en) Mobile terminal, application crash processing method and processing device
CN105933539B (en) audio playing control method and device and terminal
US20170045862A1 (en) Method and device for managing alarm clock, electronic device
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
CN104202483A (en) Display screen switch controller of mobile terminal
CN105357653B (en) A kind of based reminding method and terminal
WO2015101356A1 (en) Dual mode baby monitoring priority application
WO2017049477A1 (en) Exercise reminder method and smart wristband
US20150145674A1 (en) Caretaking Communication Bracelet
WO2019071501A1 (en) Alarm processing method and device
CN109076595A (en) Random access control method and random access control device
CN109076619A (en) Random access control method and random access control device
US11507169B2 (en) User state-based device power conservation
CN109243447A (en) Voice sends triggering method and device
CN105263125B (en) A kind of sharing method of alarm clock, device and mobile terminal
CN106603850A (en) Incoming call reminding method and device
CN110401775B (en) Alarm clock setting method, alarm clock setting device and mobile terminal
CN107463478A (en) The control method and device of terminal device
WO2017166645A1 (en) Health prompting method and apparatus
WO2017049481A1 (en) Information reminder method and smart wristband

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17928304

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17928304

Country of ref document: EP

Kind code of ref document: A1