CN107515765B - Alarm turn-off method, system and terminal equipment - Google Patents

Alarm turn-off method, system and terminal equipment Download PDF

Info

Publication number
CN107515765B
CN107515765B CN201710725303.3A CN201710725303A CN107515765B CN 107515765 B CN107515765 B CN 107515765B CN 201710725303 A CN201710725303 A CN 201710725303A CN 107515765 B CN107515765 B CN 107515765B
Authority
CN
China
Prior art keywords
user
action
alarm
closing
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710725303.3A
Other languages
Chinese (zh)
Other versions
CN107515765A (en
Inventor
丁小响
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201710725303.3A priority Critical patent/CN107515765B/en
Publication of CN107515765A publication Critical patent/CN107515765A/en
Application granted granted Critical
Publication of CN107515765B publication Critical patent/CN107515765B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a method, a system and a terminal device for turning off an alarm, wherein the method comprises the following steps: receiving an alarm closing instruction sent by a user; prompting a user to send out a designated action according to the alarm closing instruction, wherein the designated action at least comprises one action; and receiving the action sent by the user, and turning off the alarm when the action meets the preset condition. In the process, after receiving an alarm closing instruction sent by a user, the intelligent terminal does not immediately execute an alarm closing program, but prompts the user to send a specified action to judge whether the user is really the alarm closing instruction sent in the waking state, so that the situation that the user is not completely awake, the user closes the alarm and falls into the sleeping state again, the user cannot get up according to preset time and delays a trip is prevented; the alarm clock can wake up the user to get up.

Description

Alarm turn-off method, system and terminal equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method, a system and a terminal device for turning off an alarm.
Background
The alarm clock is a common small tool in daily life, and plays an indispensable role in reminding a user to get up or processing corresponding things at a preset time point. At present, the intelligent terminal is often provided with the function of an alarm clock, when the time point set by a user is reached, the alarm clock sounds, the user can simply slide on the screen of the intelligent terminal to turn off the alarm clock, the simple method for turning off the alarm clock is very fast and convenient for the user with strong autonomy or autonomy, but sometimes the user just wakes up from the sleep, the ringing alarm clock can be turned off by sliding the screen in a less waking state, and the user is not fully waking, so that the user can possibly enter the sleeping state again, and the alarm clock cannot play a due role. For some users having a habit of being used by bed, the method for turning off the alarm clock is also difficult to really achieve the effect of waking up the user, so that the user journey is delayed, and bad experience is caused to the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, and a terminal device for turning off an alarm, so as to solve the problem that it is difficult to ensure that the alarm is turned off after a user wakes up in the existing method for turning off an alarm.
The first aspect of the embodiments of the present invention provides a method for turning off an alarm, where the method for turning off an alarm includes:
receiving an alarm closing instruction sent by a user;
prompting a user to send out a designated action according to the alarm closing instruction, wherein the designated action at least comprises one action;
and receiving the action sent by the user, and turning off the alarm when the action meets the preset condition.
A second aspect of an embodiment of the present invention provides a system for turning off an alarm, where the system for turning off an alarm includes:
the instruction receiving unit is used for receiving an alarm closing instruction sent by a user;
the action sending unit is used for prompting a user to send out a specified action according to the alarm closing instruction, and the specified action at least comprises one action;
and the alarm clock closing unit is used for receiving the action sent by the user and closing the alarm clock when the action meets the preset condition.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to any one of the alarm turn-off methods when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method according to any one of the methods of turning off an alarm.
After the alarm is sounded, when the intelligent terminal receives an alarm closing instruction sent by a user, the intelligent terminal prompts the user to send out at least one appointed action according to the alarm closing instruction, then receives the action sent by the user, and closes the alarm when the action is judged to accord with the preset condition. In the process, after receiving an alarm closing instruction sent by a user, the intelligent terminal does not immediately execute an alarm closing program, but prompts the user to send a specified action to judge whether the user is really the alarm closing instruction sent in the waking state, so that the situation that the user is not completely awake, the user closes the alarm and falls into the sleeping state again, the user cannot get up according to preset time and delays a trip is prevented; the alarm clock can wake up the user to get up.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart illustrating an implementation of a method for turning off an alarm according to an embodiment of the present invention;
FIG. 2 is a block diagram of a system for turning off an alarm according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal device according to a third embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
fig. 1 shows a schematic diagram of an implementation process of a method for turning off an alarm provided in an embodiment of the present invention, which is detailed as follows:
step S11, receiving an alarm closing instruction sent by a user;
in the embodiment of the invention, when an alarm set on an intelligent terminal by a user rings, the intelligent terminal receives an alarm closing instruction sent by the user, wherein the intelligent terminal has an alarm reminding function, such as an intelligent mobile phone, an intelligent wearable device, a tablet computer, an intelligent alarm clock and the like. Optionally, the alarm closing instruction sent by the user is received in different manners for different intelligent terminals.
For example, an intelligent terminal with an infrared detection function judges whether a user sends an alarm turn-off instruction or not by detecting the action of a hand when the distance between the user and the intelligent terminal is smaller than a preset value; generally speaking, when an alarm of an intelligent terminal rings, a first reaction of a user is to extend a hand to turn off the alarm, so that an action of turning off the alarm by the user is preset, for example, if the user waves the hand within a preset range from the intelligent terminal for a preset number of times (the preset number of times is usually set to be greater than 1), the user is considered to send an alarm turn-off instruction, at this time, the intelligent terminal provided with an infrared detector can judge whether the user sends the alarm turn-off instruction or not by judging whether the hand waving action sent by the user reaches the preset range from the intelligent terminal is the preset number of times or not, if the user reaches the preset range, the intelligent terminal sends the hand waving action for the preset number of times, the intelligent terminal judges that the alarm turn-off instruction sent by the user is successfully received, and voice plays voice information of successfully receiving the alarm turn-off instruction to the user; or/and the intelligent terminal with the voice receiving function presets voice information which needs to be input when a user needs to turn off the alarm, and after the alarm rings, the intelligent terminal starts the function of receiving the voice information of the user and receives the voice information which is input by the user and used for turning off the alarm. Or/and, because the pulse or heartbeat of the user is faster than that of the user in the sleep state at the moment of waking up from the sleep dream, the intelligent terminal (such as the intelligent wearable device) with the function of detecting the pulse or heartbeat frequency of the human body can preset: when the heartbeat or pulse beat frequency change of the user exceeds a preset value, the user is considered to send an alarm closing instruction; when the alarm rings, the intelligent terminal can judge whether an alarm closing instruction sent by a user is received according to the change of the frequency of heartbeat or pulse pulsation of the user.
Step S12, prompting a user to send out a designated action according to the alarm closing instruction, wherein the designated action at least comprises one action;
in the embodiment of the invention, the user is awakened after the alarm of the intelligent terminal is sounded, but the awakening is only temporary for part of users, and if the intelligent terminal turns off the alarm after receiving the alarm turn-off instruction sent by the user, the user can possibly enter the sleep state again after a period of time. Therefore, after receiving an alarm closing instruction sent by a user, the intelligent terminal prompts the user to send out at least one appointed action; prompting the user to issue a specific action helps to enable the user to wake up thoroughly, and can also be used to distinguish whether the user is awake when the user issues an alarm-off command. The prompting of the user for sending out at least one specified action comprises the step that the intelligent terminal sends out prompting voice, and the user directly finishes the specified action after hearing the prompting voice; the method also comprises the steps that the intelligent terminal sends out prompt voice and displays the appointed action, and then the user finishes the appointed action according to the display of the intelligent terminal.
For example, the intelligent terminal firstly checks the state of the user, if the user is in a lying state, a prompt voice asking the user to sit up is sent out to prompt the user to sit up, and the user sends out a sitting up action after hearing the prompt voice; or/and checking whether the eyes of the user are in an open state, if the eyes of the user are not in the open state, sending a prompt voice for asking the user to open the eyes, prompting the user to open the eyes, then sending a prompt voice for asking the user to blink for a preset number of times, prompting the user to make a blink action for the preset number of times, and carrying out eye opening action or/and blinking action after hearing the prompt voice; or/and if the user is detected to be in a standing state, sending a prompt voice for asking the user to walk for a preset number of steps or move to a preset position, and sending an action corresponding to the prompt voice after the user hears the prompt voice. The intelligent terminal can also firstly send out prompt voice to ask the user to light the screen, then displays a decoding interface on the lighted screen and asks the user to input correct decoding information; the content contained in the decoding interface is that the intelligent terminal prompts a user to light a screen, and the screen is randomly generated after being successfully lighted; the correct decoding information must be read from the decoding interface and correctly input by the user in the awake state. If the intelligent terminal asks the user to light the screen, the decoding pattern is displayed on the decoding interface, then the user is prompted to find the appointed graph in the decoding pattern in a text form or a voice playing form, and the appointed graph is moved to the appointed position. Optionally, in the process that the intelligent terminal prompts the user to send a specified action, the alarm is temporarily stopped, the alarm continues to be sounded after the action of sending the prompt voice is finished for a certain time, and meanwhile, the process goes to step S13 to finally judge whether to turn off the alarm.
Preferably, before the prompting the user to issue a specific action according to the alarm turn-off instruction, the method includes:
and setting at least two closing grades, and setting the specified actions corresponding to each closing grade, wherein each closing grade at least comprises two specified actions.
Specifically, the intelligent terminal counts states of users within preset time after the alarm rings for a preset number of times in advance, then sets different alarm turn-off levels according to the counted different states of the users, and then sets at least two kinds of specified actions for each turn-off level. The closing grade is used for representing the difficulty degree of closing the current alarm, the higher the closing grade is, the more unobtrusive the user is, the more probable the user is in the state of being awake, the sleep state is probably entered again after the alarm is closed, and the higher the corresponding closing grade is, the higher the difficulty degree of the intelligent terminal for prompting the user to send the appointed action is.
For example, the state of the user within 1 minute after the alarm rings for 1000 times is counted by the intelligent terminal, and it is assumed that the number of times that the user is in the lying state within 1 minute is 300, the number of times that the user is in the sitting state is 300, the number of times that the user is in the standing state is 200, and the rest 100 times are in other states. If the user is in the lying state, which indicates that the user does not have the intention of getting up in a short time, the user is likely to enter the sleeping state again, and therefore the closing level corresponding to the state is set as the highest closing level A level; if the user is in the sitting state, the user is clear relative to the lying state, and therefore the corresponding closing grade is set to be a B grade with the difficulty lower than the A grade; if the user is in a standing state, the user is clear at present, and therefore the corresponding closing grade is set to be C grade with the difficulty degree lower than B grade; in addition, the D stage with the lowest difficulty is set. Then, corresponding designated actions are set according to the difficulty degree of the closing level, for example, at least two designated actions such as indicating the user to blink for a preset number of times and then finding out the correct decoding information in the decoding interface are carried out for the A-level setting. Similarly, at least two kinds of specified actions are set for the closing levels of other levels. The user can set different designated actions of different closing levels according to the self condition, and details are not repeated here.
Preferably, the prompting, according to the alarm turn-off instruction, the user to send a specified action specifically includes:
determining closing levels according to the alarm closing instruction, wherein the closing levels are at least two;
and prompting a user to send out a specified action contained in the closing grade according to the closing grade.
Specifically, before sending a prompt message for prompting a user to send a specified action to the user, the intelligent terminal detects the state of the user after the alarm rings for a preset time so as to determine the closing level of the current alarm.
For example, the alarm of the intelligent terminal has three closing levels from high level to low level A, B and C. When the user is still detected to be in the lying state, the intention of the user to get up is judged, so that the user can be judged to be in the highest closing level, namely the A level, of the current user state, and at least one of the specified actions corresponding to the A level is called and the user is prompted to send the action. For example, the user in the lying state is prompted to pick up the mobile phone to the front, to detect whether the eyes of the user are in an open state, and to detect the posture of the user holding the mobile phone; or prompt the user to blink a preset number of times, etc.
Preferably, the prompting, according to the closing level, the user to send out a specified action included in the closing level specifically includes:
randomly invoking a specified action of at least one contained in the shutdown level;
prompting the user to issue the randomly invoked specified at least one action.
Specifically, in the embodiment of the present invention, when the intelligent terminal sends an instruction to the user to make a specific action according to the determined closing level, one of the specific actions corresponding to the corresponding level is randomly called, and the user is prompted to send the instruction. When the user is prompted to send out the randomly called appointed action, the alarm sounds every time and the occurrence of the appointed action sent out by the user is prompted to be irregular, so that the phenomenon that the user generates inertial memory on the appointed action after using the intelligent terminal for a long time and the judgment of whether the alarm is turned off or not by the intelligent terminal is influenced is avoided.
And step S13, receiving the action sent by the user, and turning off the alarm when the action meets the preset condition.
In the embodiment of the invention, the intelligent terminal detects and receives the action sent by the user after sending out the prompt voice, and then analyzes whether the received action of the user reaches the preset condition of the specified action; optionally, a preset condition that the action sent by the user reaches the standard is preset for each specified action; for example, for a specified action prompting the user to sit up, a standard of a sitting posture presented by the user after sitting up is set, and then whether the sitting up action sent by the user reaches the preset standard of the sitting posture is judged according to the sitting posture of the user after sitting up; for a specified action of prompting the user to blink a preset number of times, the preset conditions may include the number of times the user blinks, the blink frequency, and the like. Similarly, different preset conditions can be set for each type of specified action according to user needs, the intelligent terminal can judge whether the action sent by the user is qualified or not according to the corresponding preset conditions of the specified action after receiving the action sent by the user, and the alarm is turned off when the action sent by the user is qualified, namely, the action meets the corresponding preset conditions of the specified action.
Preferably, the receiving the action sent by the user, and turning off the alarm when the action meets a preset condition specifically includes:
receiving an action sent by the user, and recording the time when the action is completed;
when the action is judged to be consistent with the specified action, judging whether the time for finishing the action is less than the preset time length;
and when the time for completing the action is less than the preset time length, judging that the action sent by the user meets the preset condition, and turning off the alarm.
Specifically, the fact that the action sent by the user conforms to the specified action means that the action sent by the user meets the requirement of the specified action, namely, the user correctly makes the specified action which the intelligent terminal prompts the user to send. After the intelligent terminal judges that the user correctly sends out the specified action corresponding to the prompt, whether the user finishes the specified action within the preset time length is judged according to the recorded time for finishing the action of the user, if so, the action sent by the user is finally judged to meet the preset condition, and then an alarm closing program is started to close the alarm.
After the alarm is sounded, when the intelligent terminal receives an alarm closing instruction sent by a user, the intelligent terminal prompts the user to send out at least one appointed action according to the alarm closing instruction, then receives the action sent by the user, and closes the alarm when the action is judged to accord with the preset condition. In the process, after receiving an alarm closing instruction sent by a user, the intelligent terminal does not immediately execute an alarm closing program, but prompts the user to send a specified action to judge whether the user is really the alarm closing instruction sent in the waking state, so that the situation that the user is not completely awake, the user closes the alarm and falls into the sleeping state again, the user cannot get up according to preset time and delays a trip is prevented; the alarm clock can wake up the user to get up.
Example two:
corresponding to the alarm turn-off method described in the above embodiments, fig. 2 shows a block diagram of a turn-off system of an alarm according to an embodiment of the present invention, and for convenience of illustration, only the parts related to the embodiment of the present invention are shown.
Referring to fig. 2, the alarm turn-off system includes: an instruction receiving unit 21, an action issuing unit 22, and an alarm closing unit 23, wherein:
the instruction receiving unit 21 is configured to receive an alarm closing instruction sent by a user;
in the embodiment of the invention, when an alarm set on an intelligent terminal by a user rings, the intelligent terminal receives an alarm closing instruction sent by the user, wherein the intelligent terminal has an alarm reminding function, such as an intelligent mobile phone, an intelligent wearable device, a tablet computer, an intelligent alarm clock and the like. Optionally, the alarm closing instruction sent by the user is received in different manners for different intelligent terminals.
For example, an intelligent terminal with an infrared detection function judges whether a user sends an alarm turn-off instruction or not by detecting the action of a hand when the distance between the user and the intelligent terminal is smaller than a preset value; generally speaking, when an alarm of an intelligent terminal rings, a first reaction of a user is to extend a hand to turn off the alarm, so that an action of turning off the alarm by the user is preset, for example, if the user waves the hand within a preset range from the intelligent terminal for a preset number of times (the preset number of times is usually set to be greater than 1), the user is considered to send an alarm turn-off instruction, at this time, the intelligent terminal provided with an infrared detector can judge whether the user sends the alarm turn-off instruction or not by judging whether the hand waving action sent by the user reaches the preset range from the intelligent terminal is the preset number of times or not, if the user reaches the preset range, the intelligent terminal sends the hand waving action for the preset number of times, the intelligent terminal judges that the alarm turn-off instruction sent by the user is successfully received, and voice plays voice information of successfully receiving the alarm turn-off instruction to the user; or/and the intelligent terminal with the voice receiving function presets voice information which needs to be input when a user needs to turn off the alarm, and after the alarm rings, the intelligent terminal starts the function of receiving the voice information of the user and receives the voice information which is input by the user and used for turning off the alarm. Or/and, because the pulse or heartbeat of the user is faster than that of the user in the sleep state at the moment of waking up from the sleep dream, the intelligent terminal (such as the intelligent wearable device) with the function of detecting the pulse or heartbeat frequency of the human body can preset: when the heartbeat or pulse beat frequency change of the user exceeds a preset value, the user is considered to send an alarm closing instruction; when the alarm rings, the intelligent terminal can judge whether an alarm closing instruction sent by a user is received according to the change of the frequency of heartbeat or pulse pulsation of the user.
The action sending unit 22 is used for prompting a user to send out a specified action according to the alarm closing instruction, wherein the specified action at least comprises one action;
in the embodiment of the invention, the user is awakened after the alarm of the intelligent terminal is sounded, but the awakening is only temporary for part of users, and if the intelligent terminal turns off the alarm after receiving the alarm turn-off instruction sent by the user, the user can possibly enter the sleep state again after a period of time. Therefore, after receiving an alarm closing instruction sent by a user, the intelligent terminal prompts the user to send out at least one appointed action; prompting the user to issue a specific action helps to enable the user to wake up thoroughly, and can also be used to distinguish whether the user is awake when the user issues an alarm-off command. The prompting of the user for sending out at least one specified action comprises the step that the intelligent terminal sends out prompting voice, and the user directly finishes the specified action after hearing the prompting voice; the method also comprises the steps that the intelligent terminal sends out prompt voice and displays the appointed action, and then the user finishes the appointed action according to the display of the intelligent terminal.
For example, the intelligent terminal firstly checks the state of the user, if the user is in a lying state, a prompt voice asking the user to sit up is sent out to prompt the user to sit up, and the user sends out a sitting up action after hearing the prompt voice; or/and checking whether the eyes of the user are in an open state, if the eyes of the user are not in the open state, sending a prompt voice for asking the user to open the eyes, prompting the user to open the eyes, then sending a prompt voice for asking the user to blink for a preset number of times, prompting the user to make a blink action for the preset number of times, and carrying out eye opening action or/and blinking action after hearing the prompt voice; or/and if the user is detected to be in a standing state, sending a prompt voice for asking the user to walk for a preset number of steps or move to a preset position, and sending an action corresponding to the prompt voice after the user hears the prompt voice. The intelligent terminal can also firstly send out prompt voice to ask the user to light the screen, then displays a decoding interface on the lighted screen and asks the user to input correct decoding information; the content contained in the decoding interface is that the intelligent terminal prompts a user to light a screen, and the screen is randomly generated after being successfully lighted; the correct decoding information must be read from the decoding interface and correctly input by the user in the awake state. If the intelligent terminal asks the user to light the screen, the decoding pattern is displayed on the decoding interface, then the user is prompted to find the appointed graph in the decoding pattern in a text form or a voice playing form, and the appointed graph is moved to the appointed position. Optionally, in the process that the intelligent terminal prompts the user to send a specified action, the alarm is temporarily stopped, the alarm continues to be sounded after the action of sending the prompt voice is finished for a certain time, and meanwhile, the process goes to step S13 to finally judge whether to turn off the alarm.
Preferably, the alarm turn-off system further comprises:
and the closing grade setting unit is used for setting at least two closing grades and setting the specified actions corresponding to each closing grade, and each closing grade at least comprises two specified actions.
Specifically, the intelligent terminal counts states of users within preset time after the alarm rings for a preset number of times in advance, then sets different alarm turn-off levels according to the counted different states of the users, and then sets at least two kinds of specified actions for each turn-off level. The closing grade is used for representing the difficulty degree of closing the current alarm, the higher the closing grade is, the more unobtrusive the user is, the more probable the user is in the state of being awake, the sleep state is probably entered again after the alarm is closed, and the higher the corresponding closing grade is, the higher the difficulty degree of the intelligent terminal for prompting the user to send the appointed action is.
Preferably, the action issuing unit 22 includes:
the closing grade determining module is used for determining closing grades according to the alarm closing instruction, and the closing grades are at least two;
and the prompting module is used for prompting a user to send out the specified action contained in the closing grade according to the closing grade.
Specifically, before sending a prompt message for prompting a user to send a specified action to the user, the intelligent terminal detects the state of the user after the alarm rings for a preset time so as to determine the closing level of the current alarm.
For example, the alarm of the intelligent terminal has three closing levels from high level to low level A, B and C. When the user is still detected to be in the lying state, the intention of the user to get up is judged, so that the user can be judged to be in the highest closing level, namely the A level, of the current user state, and at least one of the specified actions corresponding to the A level is called and the user is prompted to send the action. For example, the user in the lying state is prompted to pick up the mobile phone to the front, to detect whether the eyes of the user are in an open state, and to detect the posture of the user holding the mobile phone; or prompt the user to blink a preset number of times, etc.
Preferably, the prompt module includes:
the random calling module is used for calling at least one designated action contained in the closing grade at random;
and the second prompting module is used for prompting the user to send out the at least one randomly called appointed action.
Specifically, in the embodiment of the present invention, when the intelligent terminal sends an instruction to the user to make a specific action according to the determined closing level, one of the specific actions corresponding to the corresponding level is randomly called, and the user is prompted to send the instruction. When the user is prompted to send out the randomly called appointed action, the alarm sounds every time and the occurrence of the appointed action sent out by the user is prompted to be irregular, so that the phenomenon that the user generates inertial memory on the appointed action after using the intelligent terminal for a long time and the judgment of whether the alarm is turned off or not by the intelligent terminal is influenced is avoided.
And an alarm turn-off unit 23, configured to receive an action sent by the user, and turn off the alarm when the action meets a preset condition.
In the embodiment of the invention, the intelligent terminal detects and receives the action sent by the user after sending out the prompt voice, and then analyzes whether the received action of the user reaches the preset condition of the specified action; optionally, a preset condition that the action sent by the user reaches the standard is preset for each specified action; for example, for a specified action prompting the user to sit up, a standard of a sitting posture presented by the user after sitting up is set, and then whether the sitting up action sent by the user reaches the preset standard of the sitting posture is judged according to the sitting posture of the user after sitting up; for a specified action of prompting the user to blink a preset number of times, the preset conditions may include the number of times the user blinks, the blink frequency, and the like. Similarly, different preset conditions can be set for each type of specified action according to user needs, the intelligent terminal can judge whether the action sent by the user is qualified or not according to the corresponding preset conditions of the specified action after receiving the action sent by the user, and the alarm is turned off when the action sent by the user is qualified, namely, the action meets the corresponding preset conditions of the specified action.
Preferably, the alarm turn-off unit includes:
the time recording module is used for receiving the action sent by the user and recording the time of finishing the action;
the judging module is used for judging whether the time for finishing the action is less than the preset time length or not when the action is judged to be consistent with the specified action;
and the execution module is used for judging that the action sent by the user accords with a preset condition and turning off the alarm when the time for completing the action is less than a preset time length.
Specifically, the fact that the action sent by the user conforms to the specified action means that the action sent by the user meets the requirement of the specified action, namely, the user correctly makes the specified action which the intelligent terminal prompts the user to send. After the intelligent terminal judges that the user correctly sends out the specified action corresponding to the prompt, whether the user finishes the specified action within the preset time length is judged according to the recorded time for finishing the action of the user, if so, the action sent by the user is finally judged to meet the preset condition, and then an alarm closing program is started to close the alarm.
After the alarm is sounded, when the intelligent terminal receives an alarm closing instruction sent by a user, the intelligent terminal prompts the user to send out at least one appointed action according to the alarm closing instruction, then receives the action sent by the user, and closes the alarm when the action is judged to accord with the preset condition. In the process, after receiving an alarm closing instruction sent by a user, the intelligent terminal does not immediately execute an alarm closing program, but prompts the user to send a specified action to judge whether the user is really the alarm closing instruction sent in the waking state, so that the situation that the user is not completely awake, the user closes the alarm and falls into the sleeping state again, the user cannot get up according to preset time and delays a trip is prevented; the alarm clock can wake up the user to get up.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example three:
fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 3, the terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the above-described embodiments of the method for turning off the alarms, such as the steps S11 to S13 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 21 to 23 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into an instruction receiving unit, a designated action issuing unit, and an alarm closing unit, and the specific functions of each unit are as follows:
the instruction receiving unit is used for receiving an alarm closing instruction sent by a user;
the action sending unit is used for prompting a user to send out a specified action according to the alarm closing instruction, and the specified action at least comprises one action;
further, the action issuing unit includes:
the closing grade determining module is used for determining closing grades according to the alarm closing instruction, and the closing grades are at least two;
and the prompting module is used for prompting a user to send out the specified action contained in the closing grade according to the closing grade.
Further, the prompt module includes:
the random calling module is used for calling at least one designated action contained in the closing grade at random;
and the second prompting module is used for prompting the user to send out the at least one randomly called appointed action.
And the alarm clock closing unit is used for receiving the action sent by the user and closing the alarm clock when the action meets the preset condition.
Further, the alarm turn-off unit includes:
the time recording module is used for receiving the action sent by the user and recording the time of finishing the action;
the judging module is used for judging whether the time for finishing the action is less than the preset time length or not when the action is judged to be consistent with the specified action;
and the execution module is used for judging that the action sent by the user accords with a preset condition and turning off the alarm when the time for completing the action is less than a preset time length.
Further, the alarm turn-off system further comprises:
and the closing grade setting unit is used for setting at least two closing grades and setting the specified actions corresponding to each closing grade, and each closing grade at least comprises two specified actions.
The terminal device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be understood by those skilled in the art that fig. 3 is only an example of the terminal device 3, and does not constitute a limitation to the terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method for turning off an alarm, the method comprising:
receiving an alarm closing instruction sent by a user;
prompting a user to send out a designated action according to the alarm closing instruction, wherein the designated action at least comprises one action;
receiving an action sent by the user, and turning off an alarm when the action meets a preset condition;
before prompting a user to send a specified action according to the alarm closing instruction, the method comprises the following steps:
detecting the state of a user after the alarm rings for a preset time so as to determine the closing level of the current alarm;
setting at least two closing levels, and setting the designated actions corresponding to each closing level, wherein each closing level at least comprises two designated actions, and the closing level is used for indicating the difficulty degree of closing the current alarm;
the setting of at least two closing levels and the setting of the designated action corresponding to each closing level specifically include:
the intelligent terminal counts the states of a user within preset time after an alarm is sounded for a preset number of times in advance, sets the closing levels of different alarms according to the different states of the counted user, and sets at least two specified actions for each closing level;
the receiving the action sent by the user, and turning off the alarm when the action meets the preset condition specifically includes:
receiving an action sent by the user, and recording the time when the action is completed;
when the action is judged to be consistent with the specified action, judging whether the time for finishing the action is less than the preset time length;
and when the time for completing the action is less than the preset time length, judging that the action sent by the user meets the preset condition, and turning off the alarm.
2. The alarm turn-off method according to claim 1, wherein the prompting a user to issue a specific action according to the alarm turn-off instruction specifically comprises:
determining closing levels according to the alarm closing instruction, wherein the closing levels are at least two;
and prompting a user to send out a specified action contained in the closing grade according to the closing grade.
3. The alarm turn-off method according to claim 2, wherein the prompting, according to the turn-off level, the user to issue a specific action included in the turn-off level specifically includes:
randomly invoking a specified action of at least one contained in the shutdown level;
prompting the user to issue the randomly invoked specified at least one action.
4. A system for turning off an alarm, said system comprising:
the instruction receiving unit is used for receiving an alarm closing instruction sent by a user;
the action sending unit is used for prompting a user to send out a specified action according to the alarm closing instruction, and the specified action at least comprises one action;
the alarm closing unit is used for receiving the action sent by the user and closing the alarm when the action meets the preset condition;
the closing grade setting unit is used for setting at least two closing grades and setting the designated actions corresponding to each closing grade, each closing grade at least comprises two designated actions, and the closing grade is used for indicating the difficulty degree of closing the current alarm;
the setting of at least two closing levels and the setting of the designated action corresponding to each closing level specifically include:
the intelligent terminal counts the states of a user within preset time after an alarm is sounded for a preset number of times in advance, sets the closing levels of different alarms according to the different states of the counted user, and sets at least two specified actions for each closing level;
the action issuing unit further includes: before prompting a user to send a specified action according to the alarm turn-off instruction, detecting the state of the user after the alarm is sounded for a preset time to determine the turn-off level of the current alarm;
the alarm turn-off unit includes:
the time recording module is used for receiving the action sent by the user and recording the time of finishing the action;
the judging module is used for judging whether the time for finishing the action is less than the preset time length or not when the action is judged to be consistent with the specified action;
and the execution module is used for judging that the action sent by the user accords with a preset condition and turning off the alarm when the time for completing the action is less than a preset time length.
5. The alarm turn-off system of claim 4, wherein the action emitting unit comprises:
the closing grade determining module is used for determining closing grades according to the alarm closing instruction, and the closing grades are at least two;
and the prompting module is used for prompting a user to send out the specified action contained in the closing grade according to the closing grade.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201710725303.3A 2017-08-22 2017-08-22 Alarm turn-off method, system and terminal equipment Expired - Fee Related CN107515765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710725303.3A CN107515765B (en) 2017-08-22 2017-08-22 Alarm turn-off method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710725303.3A CN107515765B (en) 2017-08-22 2017-08-22 Alarm turn-off method, system and terminal equipment

Publications (2)

Publication Number Publication Date
CN107515765A CN107515765A (en) 2017-12-26
CN107515765B true CN107515765B (en) 2020-06-26

Family

ID=60723533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710725303.3A Expired - Fee Related CN107515765B (en) 2017-08-22 2017-08-22 Alarm turn-off method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN107515765B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694062A (en) * 2018-06-28 2018-10-23 维沃移动通信有限公司 A kind of alarm clock control method and terminal
CN110730266B (en) * 2018-07-16 2021-08-20 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN109379552A (en) * 2018-11-09 2019-02-22 维沃移动通信有限公司 A kind of content display method and terminal device
CN109856952A (en) * 2019-01-29 2019-06-07 上海华章信息科技有限公司 Alarm clock application program based on gesture recognition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
CN104635928A (en) * 2015-01-30 2015-05-20 上海理工大学 Mobile terminal having intelligent alarm clock function
CN105045622A (en) * 2015-07-13 2015-11-11 小米科技有限责任公司 Terminal alarming method and apparatus
CN105262884A (en) * 2015-08-31 2016-01-20 广东欧珀移动通信有限公司 Alarm control method and user terminal
CN105933520A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal alarm clock method based on wearable equipment, mobile terminal alarm clock device thereof and alarm clock system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070217290A1 (en) * 2006-03-20 2007-09-20 Evergreen Innovation Partners, Llc Lights out alarm clock assembly
CN103744574A (en) * 2013-09-30 2014-04-23 小米科技有限责任公司 Method and device for turning off alarm clock of mobile terminal and mobile terminal
US20170221340A1 (en) * 2016-01-29 2017-08-03 Atlast Industries, L.L.C. Bed sensor alarm clock system and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
CN104635928A (en) * 2015-01-30 2015-05-20 上海理工大学 Mobile terminal having intelligent alarm clock function
CN105045622A (en) * 2015-07-13 2015-11-11 小米科技有限责任公司 Terminal alarming method and apparatus
CN105262884A (en) * 2015-08-31 2016-01-20 广东欧珀移动通信有限公司 Alarm control method and user terminal
CN105933520A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal alarm clock method based on wearable equipment, mobile terminal alarm clock device thereof and alarm clock system

Also Published As

Publication number Publication date
CN107515765A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN107515765B (en) Alarm turn-off method, system and terminal equipment
CN107643977B (en) Anti-addiction method and related product
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
CN107563325B (en) Method and device for testing fatigue degree and terminal equipment
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
WO2015017219A1 (en) Mobile computing device and wearable computing device having automatic access mode control
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
CN110910878B (en) Voice wake-up control method and device, storage medium and household appliance
CN104161673B (en) A kind of intelligent reminding storing equipment and based reminding method
US20180324703A1 (en) Systems and methods to place digital assistant in sleep mode for period of time
CN111290926A (en) Terminal prompting method and device, storage medium and terminal
CN203027334U (en) Mobile terminal with alarm clock
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
WO2022199370A1 (en) Eye protection prompting method and apparatus, storage medium, and computer device
CN107343100B (en) Information prompting method and device, storage medium and electronic equipment
CN109326309B (en) User sleep management system
CN109275070B (en) Early warning prompting method and device for preventing microphone from being damaged and terminal equipment
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
CN108683805B (en) Incoming call processing method, mobile terminal and computer readable storage medium
CN112673611B (en) Mobile terminal control method, mobile terminal control device and mobile terminal
CN109345258B (en) Safe payment method and device and intelligent wearable device
CN110650245B (en) Reminding method, reminding device, mobile terminal and computer readable storage medium
CN113835670A (en) Device control method, device, storage medium and electronic device
CN110401775B (en) Alarm clock setting method, alarm clock setting device and mobile terminal
CN110149444B (en) Message reminding method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200626