CN111213356A - Alarm processing method and device - Google Patents
Alarm processing method and device Download PDFInfo
- Publication number
- CN111213356A CN111213356A CN201780095889.8A CN201780095889A CN111213356A CN 111213356 A CN111213356 A CN 111213356A CN 201780095889 A CN201780095889 A CN 201780095889A CN 111213356 A CN111213356 A CN 111213356A
- Authority
- CN
- China
- Prior art keywords
- alarm
- reminding
- user
- later
- state
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an alarm processing method and a device, wherein the alarm processing method comprises the following steps: starting a first alarm reminding when a preset alarm reminding condition is met, wherein the first alarm reminding comprises playing a first ring; receiving the alarm reminding processing instruction, if the processing instruction is a later reminding, stopping the alarm reminding and converting an alarm clock mode into a later reminding mode, wherein the later reminding mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring; if the processing instruction is off, detecting whether the current state of the user is a waking state, if so, turning off alarm reminding, otherwise, stopping the alarm reminding and converting the alarm clock mode into the later reminding mode. By adopting the invention, the alarm clock reminding with different contents can be realized for many times, the possibility of misoperation is effectively avoided, and the effective rate of the alarm clock reminding is improved.
Description
The invention relates to the technical field of communication, in particular to an alarm processing method and device.
Nowadays, communication technology is more and more developed, almost all terminal equipment have alarm clock functions. In our daily life, an alarm clock is needed to remind people of a corresponding schedule and time many times, and important events or important time omission is prevented.
One very important application scenario of the alarm clock is a time reminder for a user when the user gets up in the morning. When the preset getting-up time is reached, the alarm clock starts a reminder, which is usually accompanied by a corresponding ring, and may be called an alarm reminder, and the user performs a corresponding pause or close operation on the alarm clock. Pause means that the reminder is started again after a period of time and off means that the reminder is no longer reminded.
However, when a user operates the alarm reminding, the user is likely to turn off the alarm reminding in advance due to misoperation, so that the alarm loses due reminding effect.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing a ring tone, which can implement multiple alarm reminders with different contents, effectively avoid the possibility of misoperation, and improve the efficiency of alarm reminding.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention provides an alarm method, where the alarm method includes:
starting a first alarm reminding when a preset alarm reminding condition is met, wherein the first alarm reminding comprises playing a first ring;
receiving the alarm reminding processing instruction, if the processing instruction is a later reminding, stopping the alarm reminding and converting an alarm clock mode into a later reminding mode, wherein the later reminding mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring;
if the processing instruction is off, detecting whether the current state of the user is a waking state, if so, turning off alarm reminding, otherwise, stopping the alarm reminding and converting the alarm clock mode into the later reminding mode.
Optionally, the detecting whether the current state of the user is an awake state includes:
and starting a camera to detect the facial features of the user, and if the detected facial features of the user meet the waking state condition, determining that the current state of the user is the waking state.
Optionally, the detecting whether the current state of the user is an awake state includes:
and starting a camera to detect a face area, and if the detected face area meets the waking state condition, determining that the current state of the user is the waking state.
Optionally, the detecting whether the current state of the user is an awake state includes:
and sending a plurality of confirmation reminders to the user, and if a confirmation instruction corresponding to each confirmation reminder in the plurality of confirmation reminders is received, confirming that the current state of the user is the waking state.
Optionally, the multiple acknowledgement prompts include a random number of acknowledgement prompts.
Optionally, the subsequent alarm reminder has a reminder intensity that is higher than a previous adjacent alarm reminder of the subsequent alarm reminder.
Optionally, the subsequent alarm notification further includes playing voice prompt information, where the voice prompt information includes a current time and/or a current alarm notification frequency.
Accordingly, the second aspect of the embodiments of the present invention further provides an alarm processing apparatus, where the apparatus includes:
the alarm starting module is used for starting a first alarm reminding when a preset alarm reminding condition is met, and the first alarm reminding comprises playing a first ring;
the alarm reminding-later instruction processing module is used for receiving a reminding-later instruction, stopping the alarm reminding after receiving the reminding-later instruction and converting an alarm clock mode into a reminding-later mode, wherein the reminding-later mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring;
and the alarm closing instruction processing module is used for receiving a closing instruction and detecting whether the current state of the user is a waking state, if so, closing the alarm reminding, and if not, stopping the alarm reminding and converting the alarm clock mode into a later reminding mode.
Optionally, the alarm turn-off instruction processing module is further configured to:
and starting a camera to detect the facial features of the user, and if the detected facial features of the user meet the waking state condition, determining that the current state of the user is the waking state.
Optionally, the alarm turn-off instruction processing module is further configured to:
and starting a camera to detect a face area, and if the detected face area meets the waking state condition, determining that the current state of the user is the waking state.
Optionally, the alarm turn-off instruction processing module is further configured to:
and sending a plurality of confirmation reminders to the user, and if a confirmation instruction corresponding to each confirmation reminder in the plurality of confirmation reminders is received, confirming that the current state of the user is the waking state. The multiple acknowledgement prompts comprise random times of acknowledgement prompts.
Optionally, the alarm follow-up reminding instruction processing module is further configured to:
and playing voice prompt information, wherein the voice prompt information comprises the current time and/or the current alarm reminding times.
Accordingly, a third aspect of the embodiments of the present invention further provides an alarm processing apparatus, where the alarm processing apparatus includes:
a processor for executing instructions;
a storage medium for storing a plurality of instructions adapted to be loaded by said processor and to perform the alarm processing method as in any case provided by the first aspect of an embodiment of the present invention.
Accordingly, the fourth aspect of the embodiments of the present invention further provides a storage medium, where a plurality of instructions are stored, where the instructions are adapted to be loaded by a processor and to execute the alarm processing method according to any one of the situations provided by the first aspect of the embodiments of the present invention.
The alarm processing device in the embodiment starts the first alarm reminding according to the alarm setting; receiving alarm processing operation of a user, and processing an alarm; if a later reminding instruction is received, stopping the alarm reminding and converting the alarm clock mode into a later reminding mode, wherein the later reminding mode comprises different ring tones and different effects from the first alarm reminding; and if a closing instruction is received, detecting the waking state of the user, closing the alarm if the user is detected to be in the waking state, otherwise, stopping alarm reminding and converting the alarm clock mode into a later reminding mode. In the alarm processing process, according to different received instructions, the alarm reminding is started for multiple times, the ring tones for reminding at each time are different, the user state is confirmed for multiple times, misoperation is effectively avoided, and the alarm reminding efficiency is improved.
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 description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for alarm reminding according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a user awake state determination according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another user awake state determination in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another user awake state determination in an 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.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and in the claims, and in the drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Fig. 1 is a schematic flow chart of an alarm processing method in an embodiment of the present invention, and as shown in the drawing, the alarm processing method in the embodiment may include the following flows:
s101, starting first alarm reminding when preset alarm reminding conditions are met.
In an optional embodiment, the alarm clock is a system built in a terminal, the terminal includes a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, etc.), and the alarm clock function includes performing alarm reminding. Before the alarm is triggered to remind each time, the alarm needs to be set, and the setting comprises the setting of the alarm reminding starting time, the setting of the alarm reminding pause interval, the setting of the ring tone and the like. And when the alarm clock meets the preset alarm clock reminding condition, starting the first alarm clock reminding, and then executing the step S102.
And S102, receiving a later reminding instruction.
Specifically, when the alarm reminder is turned on, the user can react to the alarm reminder, and the terminal can receive a corresponding processing instruction, so that the alarm reminder is turned off or paused, and the user can hear the alarm reminder. If a later alarm instruction is received, it indicates that the user simply wants to turn off the alarm temporarily, and wants to receive the subsequent alarm again. Thus, after receiving the later reminding instruction, step S103 is executed.
S103, stopping the alarm reminding and converting the alarm clock mode into a later reminding mode.
Specifically, when the alarm clock receives an instruction indicating that the user has heard the alarm reminder, the alarm reminder may be turned off temporarily. The later alert mode is entered because a later alert instruction is received. In addition, step S106 may also transition to a later reminder mode, as already given in fig. 1. In an alternative embodiment, the specific content of the later reminding mode can be set by the system, or can be customized by the user, and the functional definition thereof is shown in step S104.
And S104, starting subsequent alarm reminding after a preset time period.
In particular, the subsequent alarm reminder is a different alarm reminder than the first alarm reminder. Wherein, the alarm clock time of first alarm clock time satisfies the alarm clock that starts when presetting the condition for the first time and reminds, and the later alarm clock that reminds is that the user is after receiving first alarm clock and remind, operates it and get into and remind the mode later on, and the alarm clock that restarts reminds.
In alternative embodiments, the predetermined time interval comprises a defined interval duration, such as 5 minutes, 10 minutes, 15 minutes, etc. The follow-up alarm reminding comprises that the alarm clock system starts the second alarm reminding, then receives the operation of the user again, if the user still selects the later reminding, the current alarm reminding is closed, and the third alarm reminding is carried out after the preset time, and the preset time period of the time can be the same as or different from the previous time. And analogizing in turn until the user turns off the alarm reminding.
In an alternative embodiment, the content of each subsequent alarm reminder is different from the last one, for example, a person needs to be reminded of the time since the morning, and the user thinks that one alarm reminder cannot play a good reminding role, so that a later reminding mode is set. The first reminder time was 7:00, followed by reminders every 15 minutes. Then, when the time reaches 7:00, a first alarm reminder is started, which has the effect of waking up the user from deep sleep, so that a soft and soothing light music can be played. After the user wakes up, the alarm clock is reminded for a later time, and then the user falls into sleep. When the time reaches 7:15, a second alarm reminding is started, and the alarm reminding has the function of reminding the user that the time is not early and the user can get up, so that cheerful popular music can be played, and the spirit of the user is stimulated. The user hears this sound, knows the current approximate time, but still does not recall the bed, and then again performs a later reminder operation on the alarm clock and falls into sleep. When the time reaches 7:30, a third alarm reminding is started, the alarm reminding has the function of final reminding and prompts a user that the final getting-up period is reached, so that rock music with strong rhythm sense can be played, the user can feel the urgency of the time, and the final reminding effect is achieved.
In an alternative embodiment, an enhanced effect may be added to an alarm reminder such that each subsequent alarm reminder has a reminder intensity that is higher than its previous alarm reminder. As shown in table 1, the "effect" column indicates an effect to be added to the alarm reminder, and the "reminder for the next time" indicates the number of corresponding reminders. In the "volume" column, "volume 1 level" indicates the lowest volume, "volume 2 level" is slightly higher than "volume 1 level," and volume 3 level "is the highest volume. In the "tempo" column, "slow" indicates that the music tempo is relatively slow and gentle, "standard" indicates that the music tempo is normal without adding a special effect, and "strong" indicates that the music tempo is relatively fast and dynamic. The "shake" column, "no shake" means no added shake effect, "shake 1 level" means slight shake added, and "shake 2 level" means more intense shake added than shake 1 level. As can be seen from Table 1, the reminding intensity of each alarm reminding is higher than that of the previous alarm reminding, and a better reminding effect can be achieved.
In an optional embodiment, the ring of the alarm reminder may not be changed, and the enhancement effect is directly added to the original ring, for example, when the alarm reminder is started for the first time, the ring is a certain ring, and the corresponding volume level 1 and the relaxing rhythm are not added with vibration; when the alarm is started for the second time for reminding, the alarm still is the ringtone, and the vibration level 1 is added corresponding to the higher volume level 2 and the standard rhythm; when the alarm is started for the second time, the alarm is still the ringing, and the vibration level 2 is added corresponding to the highest volume level 3 and strong rhythm. This also allows for a good differentiation between alarm reminders each time. It should be noted that the level of the enhancement effect may not be limited to 3, but may be any number from 2 to 10, and the kind of the enhancement effect is not limited to the list in table 1, and may include other contents that can be added to the ring tone of the alarm reminder. The user can set the kind and intensity level of the enhancement effect as desired.
TABLE 1
In alternative embodiments, a reminder message may be added for each alarm reminder, including the current time or number of times the reminder is currently being announced. For example, in the process of reminding a user to get up in the above embodiment, the current broadcast time is 7:00 when the first alarm is reminded, the user knows that the user is in the morning after hearing the alarm, so that the user is subconsciously reminded that the user should get up, the current broadcast time is 7:15 when the second alarm is reminded, and the user is ready to get up. The current time of the last broadcast is 7:30, and the user knows that the delay can not be carried out any more, so that the user gets up in case of failure. The effective rate of alarm reminding is well improved. Meanwhile, the current reminding times can be broadcasted, if the current reminding times are 7:00, the first reminding time is broadcasted, and the second reminding time and the third reminding time are respectively broadcasted at the following 7:15 and 7:30, so that the user can be more clearly reminded by the alarm clock of the number of times, and the getting-up power is increased. In an optional embodiment, the broadcasted current time and the current reminding times can be used together, and can also be used together with different alarm rings, so as to achieve a better reminding effect.
And S105, receiving a closing instruction.
Specifically, the alarm clock receives a closing instruction, which indicates that the user wants to stop alarm reminding for a long time. However, during the operation of the user, it is not certain whether the user really wants to turn off the alarm reminder. In some cases, the closing instruction is only misoperation of the user, and if the alarm clock is directly closed to remind after the closing instruction is received, the alarm clock may lose the reminding function. Therefore, in the technical scheme of the invention, the confirmation process of the waking state of the user is provided to ensure the accuracy of the closing operation of the user. After receiving the close command, step S106 is executed.
And S106, detecting whether the current state of the user is the waking state.
Specifically, the awake state indicates that the user is currently in true desire to operate the alarm clock, not by mistake. In the technical scheme of the invention, the judgment of the waking state is mainly completed by face recognition and confirmation reminding.
In an alternative embodiment, the waking state of the user may be determined based on facial feature recognition. And when receiving the closing operation, starting a camera of the terminal to shoot the face. If the user is in the complete eye closing state or the most eye closing state, the user is in the non-waking state, and the alarm clock mode is switched to the later reminding mode. Most of the eye-closing states can be judged according to a preset iris area threshold value.
In an alternative embodiment, the waking state of the user may also be determined by determining the size of the face region. Generally, if the user is awake, the posture of his/her operation terminal should be facing up or mostly facing the terminal screen, whereas if the user is not awake, it is likely to be mostly deviated from the terminal screen. Therefore, after the camera is started, the image is collected, if a human face area meeting the preset size exists in the image, the user is in a waking state, and otherwise, the user is in a non-waking state. The size of the face region may refer to the size of the area of the face in the acquired image, or may represent the proportion of the face in the image.
In an alternative embodiment, the waking state of the user may be determined from a number of confirmation operations provided by the alarm clock. The content of the confirmation reminder may be a simple question sentence, such as "do you confirm to turn off the alarm reminder? And let the user make a selection decision. If the user selects 'no', the confirmation reminding is directly finished, and the system is converted into a later reminding mode. If the user selects 'yes', the second reminding is carried out, and the content of the second reminding can be the same as or different from that of the first reminding. The system can provide some common sense type and intelligence type questions and answers, such as simple addition and subtraction "7 + 8? "or" today is the day of the week? "may also be the reading method of asking a Chinese character, the name of a person, the picture of an animal, etc. If the user is in the waking state, the user can reasonably respond to a plurality of confirmation reminders sent by the system one by one, and if the user is in the non-waking state, the user is likely not to respond to the confirmation reminders or can not respond to the confirmation reminders in all. Therefore, the user is prompted to be confirmed and reminded for multiple times, if the alarm clock receives confirmation instructions corresponding to all the confirmation reminders, the user is judged to be in a waking state, and otherwise, the user is considered to be in a non-waking state.
The above-mentioned three specific embodiments for determining whether the user is awake are shown in embodiment 2, embodiment 3, and embodiment 4.
In an alternative embodiment, the number of confirmed reminders sent 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 soon, and then turn off the alarm to continue sleeping, so that the alarm clock loses the function of reminding. If the number of reminders is random, the user must give sufficient attention to the alarm clock to respond one-to-one to all of the multiple acknowledgment reminders. Thus, the user can be judged to be in the waking state. Therefore, the random number of confirmation reminders are initiated for the user, if the confirmation instructions corresponding to the confirmation reminders one by one are received, the user is judged to be in a waking state, and if not, the user is judged not to be awake.
If the user is not awake, step S103 is performed, otherwise step S107 is performed.
S107, turning off alarm reminding.
Specifically, after the user is confirmed to be in the waking state, the alarm reminding can be turned off if the user operates without error.
It should be noted that, in this embodiment, there is no explicit precedence relationship between steps S102, S103, and S104 and steps S105, S106, and S107, but different processes are completed according to different received instructions.
In this embodiment, after a first alarm reminder is triggered, an operation instruction of a user is received, and if a later reminder instruction is received, the current alarm reminder is stopped and a subsequent alarm reminder is started after a preset time period, wherein each subsequent alarm reminder is different from the previous alarm reminder in ring tones, or an enhancement effect is added, or the time and the number of times are added for broadcasting; if the closing instruction is received, whether the user is awake or not needs to be judged, the judgment can be carried out according to the face shot by the terminal camera, the judgment can also be carried out according to multiple confirmation information provided by the alarm clock, if the user is in the awake state, the alarm clock is closed for reminding, and if not, the mode is converted into a later reminding mode. In the process, the user is reminded of the alarm with different contents for many times, the operation state of the user is further confirmed, and the alarm clock is guaranteed to provide effective reminding. The effective rate of alarm clock reminding is greatly improved.
Fig. 2 is a schematic flow chart of the determination of the awake state of the user in the embodiment of the present invention, and as shown in the figure, the method for determining the awake state of the user in the embodiment may include the following flows:
s201, starting the camera.
In the embodiment of the invention, the alarm clock is a system built in the smart phone, and at present, basically all smart phones in the market are provided with cameras. Therefore, when the smart phone receives a corresponding operation instruction, the camera is directly started. After the camera is turned on, step S202 is executed.
And S202, acquiring a face image.
Different face images can be collected through the camera lens, and for example, static images, dynamic images, different positions, different expressions and the like can be well collected. When the user is in the shooting range of the acquisition equipment, the acquisition equipment can automatically search and shoot the face image of the user. In the embodiment of the invention, the smart phone acquires the face image of the user after the camera is started, firstly obtains the face image of the user, and then intercepts the eye image of the user according to the requirement. After the image acquisition is completed, step S203 is executed.
And S203, detecting whether the eyes of the user are open.
In the embodiment of the invention, after the eye image of the user is obtained, the iris is positioned, and the iris area is calculated according to the positioned iris area. And after the iris area in the image is obtained, comparing the iris area with a preset iris area, and judging that the user is in a full-open eye state, an narrow eye state or a closed eye state according to a comparison result. In the step, whether the user opens the eyes or not is judged, whether the user is in a full-eye opening state or not can be judged, and whether the size of the area of the eye opening area of the user meets the preset size or not can be judged. After determining that the user opens his eyes, step S204 is performed, and if not, step S205 is performed.
And S204, determining that the user is in an awake state.
In the embodiment of the invention, generally, if the user is not awake and does not count to get up, the user cannot open the eyes to view the alarm clock of the mobile phone seriously, otherwise, the eyes of the user are completely shot by the camera of the smart phone and are judged to be in an eye opening state, which indicates that the user is already awake.
And S205, determining that the user is in a non-awake state.
In the embodiment of the invention, if the camera shoots the human eye image of the user and the user is determined to be in the completely eye-closed state or the mostly eye-closed state through comparison and analysis, the user does not count to get up at the moment, the action of turning off the alarm clock is only a subconscious action, and the user is likely to continue sleeping after turning off the alarm clock. At this time, it is determined that the user is not awake.
In the embodiment, the terminal starts the camera, collects the face image of the user, detects the eye opening condition of the user and judges the waking state of the user, and the process objectively judges the correctness of the user when the user operates the alarm clock by detecting the body characteristics of the user and reduces the misoperation rate of the closing instruction.
Fig. 3 is a schematic flow chart of another user awake state determination method in the embodiment of the present invention, where the user awake state determination method in the embodiment of the present invention includes the following steps:
s301, starting the camera.
In the embodiment of the invention, the alarm clock is built in the smart phone, and most of the smart phones in the market have the camera function, so that when the smart phone receives a corresponding alarm clock operation instruction, the camera in the smart phone is directly started. After the camera is turned on, step S302 is executed.
And S302, acquiring a face image.
Different face images can be collected through the camera lens, and for example, static images, dynamic images, different positions, different expressions and the like can be well collected. In the embodiment of the invention, the face image is uploaded in the equipment, and the feature analysis and the recording are carried out on the face image. Then, the camera is used for collecting images in the shooting range, and the equipment can automatically search and shoot the face images of the user according to the stored face image characteristics. In the embodiment of the present invention, the terminal acquires the face image of the user after turning on the camera, and executes step S303 after the acquisition is completed.
S303, detecting whether the human face area meets the preset size.
In the embodiment of the invention, after the image is acquired, the face area in the image is identified, generally, if the user is in a waking state, the user can be just opposite to a terminal screen when operating the terminal, and most or all of the face of the user is shot by the camera. Therefore, before the operation, a human face area threshold value is set, a human face image is collected, the size of the corresponding area of the human face image is calculated, and the human face area is assumed to be 6cm in the collected image2Then the shooting threshold for determining the awake state may be set to one third of the area, i.e., 2cm2. Then when it is detected that the area of the face region of the user in the image acquired in step S302 is greater than or equal to 2cm2If yes, the user is determined to be awake, and step S304 is performed, otherwise, step S305 is performed.
S304, determining that the user is in the waking state.
In the embodiment of the invention, in general, if a user is not awake and does not count to get up, the user can subconsciously stretch to turn off the alarm clock, the condition of the terminal cannot be checked, or the user can select to turn off after seeing the turn-off key far away. On the contrary, if the user faces most of the face to the terminal screen and operates the alarm, the user is in the waking state.
And S305, determining that the user is in a non-awake state.
In the embodiment of the present invention, as described in step S304, if the user is not awake, the user may subconsciously stretch to turn off the alarm clock, and may not view the situation of the terminal, or may choose to turn off after seeing where the turn-off key is located far away, at this time, the camera may not acquire the face area of the user, or may acquire only a small area. In this case, it can be determined that the user is not awake.
In an alternative embodiment, if no face area is detected in the process of acquiring the face image of the user, the user is directly judged to be in the non-waking state.
In this embodiment, the terminal starts the camera, collects the face image of the user, and detects whether the face area of the user meets the preset area, so as to judge the waking state of the user, and the correctness of the user when operating the alarm clock is objectively judged by detecting the body characteristics of the user in the process, so that the misoperation rate of the closing instruction is reduced.
Fig. 4 is a schematic flow chart of another user awake state determination method in the embodiment of the present invention, where the user awake state determination method in the embodiment of the present invention includes the following steps:
s401, sending out a first confirmation prompt.
In the embodiment of the invention, when the user selects the closing operation, the alarm clock initiates a first confirmation prompt to confirm whether the user is awake. Then, the content of the confirmation reminder may be a simple question sentence, such as "do you confirm to turn off the alarm? And let the user make a selection decision. Step S402 is performed.
S402, whether a confirmation instruction corresponding to the first confirmation prompt is received or not is detected.
In the embodiment of the invention, the user performs corresponding operation on the received confirmation prompt. What the user receives is "do you confirm to turn off the alarm? "and selects the operation of" yes "and" no ", the terminal detects the received instruction, if it detects that the received instruction is" yes ", step S403 is executed, if it detects that the received instruction is" no ", it considers that the closing operation by the user at this time is an erroneous operation, and step S408 is executed.
And S403, sending a second confirmation prompt.
In the embodiment of the invention, after the first confirmation operation of the user is received, whether the user is really awake cannot be determined, so that the content of the reminder can be different questions and answers like the first confirmation reminder to give the second reminding operation. Simple addition and subtraction "7 + 8? ", and waits for the user to give an answer to determine if the user is awake. After the second confirmation prompt is issued, step S404 is executed.
S404, whether a confirmation instruction corresponding to the second confirmation reminding is received or not is detected.
In the embodiment of the invention, the user gives corresponding operation to the received second confirmation prompt. The user receives "7 + 8? "confirmation prompt, the question answer has only one correct answer, which is" 15 ", if the user gives the answer, the terminal determines that the confirmation instruction is received, and executes step S405. If the user gives any wrong answer except 15, the terminal judges that the confirmation instruction is not received, and performs step S408. In addition, if the terminal does not receive any command after a preset time interval, such as 5S, it is also determined that the confirmation command is not received, and step S408 is performed.
And S405, sending a third confirmation prompt.
In the embodiment of the invention, the user has performed the confirmation operation twice, so that the possibility of misoperation of the user is greatly reduced. Thus, the content of the third confirmation reminder may be "can you open your eyes sneeze? "this class of interesting questions and answers to reduce the user's uncooperative mood. And the set number of answers may be 2, that is, if the user answers wrong for the first time, the user may be prompted to input the answer again. After the third confirmation prompt is issued, step S406 is executed.
S406, whether a confirmation instruction corresponding to the third confirmation prompt is received or not is detected.
In the embodiment of the present invention, since it is set that the user can give the confirmation reminder twice, the terminal can perform the confirmation twice, the above-mentioned problem "can you open the eyes and sneeze? If the answer is negative, if the instruction of no is received, the user is judged to receive the confirmation instruction, step S407 is executed, if the wrong 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 user is judged to receive the confirmation instruction, step S407 is executed, otherwise, step S408 is executed.
S407, determining that the user is in an awake state.
In an alternative embodiment, after three confirmation reminders are performed and a corresponding confirmation instruction is received each time, it may be determined that the user is in a waking state.
In an optional embodiment, the number of the confirmation reminders initiated by the alarm clock may also include four, five, six, and the like, and the more the number of the confirmation reminders initiated is, the more accurately the user can be determined to be in the waking state. However, the user experience is reduced due to the excessive setting of the number of confirmation reminders, so that the number of the setting of the confirmation reminders ranges from 2 to 10.
In an alternative embodiment, the number of reminders of the alarm clock may be randomly determined by the system. Since the system randomly confirms the reminding times, the user cannot know in advance, so that the user needs to give enough attention to input confirmation instructions for confirming the reminding each time one by one, and the user is difficult to do if the user is in a non-waking state. Accordingly, if the user gives a corresponding confirmation instruction for all the random number of alarm reminders, it can be determined that the user is already in the awake state.
And S408, determining that the user is in the non-awake state.
In an alternative embodiment, if the user is in the not-awake state, there is no patience and no sufficient attention to respond to all the confirmation reminders one by one, so that the user does not make a confirmation instruction in any one confirmation reminder, and then the user is determined to be in the not-awake state.
In this embodiment, the alarm clock sends three or any multiple confirmation reminders, receives a confirmation instruction of the user, and determines that the user is in a waking state if the user completes each confirmation operation corresponding to the confirmation reminder, or determines that the user is not in the waking state. The process greatly reduces the possibility of misoperation of a user through multiple times of confirmation.
FIG. 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 are connected by a bus 53.
The storage medium 52 may be a storage medium built in the alarm processing apparatus or a storage medium provided separately. The Processor 51 for data Processing may be a microprocessor, a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable logic Array (FPGA).
The storage medium 52 may store a plurality of instructions, which are suitable for being loaded by the processor 51 and executing a part of the flow corresponding to the alarm processing method described in the foregoing embodiment with reference to fig. 1, where the flow includes at least:
starting a first alarm reminding when a preset alarm reminding condition is met, wherein the first alarm reminding comprises playing a first ring;
receiving the alarm reminding processing instruction, if the processing instruction is a later reminding, stopping the alarm reminding and converting an alarm clock mode into a later reminding mode, wherein the later reminding mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring;
if the processing instruction is off, detecting whether the current state of the user is a waking state, if so, turning off alarm reminding, otherwise, stopping the alarm reminding and converting the alarm clock mode into the later reminding mode.
In an alternative embodiment, the instructions when loaded by the processor 51 perform the following to detect whether the current state of the user is awake:
and starting a camera to detect the facial features of the user, and if the detected facial features of the user meet the waking state condition, determining that the current state of the user is the waking state.
In an alternative embodiment, the instructions when loaded by the processor 51 perform the following to detect whether the current state of the user is awake:
and starting a camera to detect a face area, and if the detected face area meets the waking state condition, determining that the current state of the user is the waking state.
In an alternative embodiment, the instructions when loaded by the processor 51 perform the following to detect whether the current state of the user is awake:
and sending a plurality of confirmation reminders to the user, and if a confirmation instruction corresponding to each confirmation reminder in the plurality of confirmation reminders is received, confirming that the current state of the user is the waking state.
In an alternative embodiment, the following operation is also performed after the subsequent alarm reminder is loaded by the processor 51: and providing the alarm clock reminding with each reminding intensity higher than that of the previous reminding.
In an alternative embodiment, the following operation is also performed after the subsequent alarm reminder is loaded by the processor 51: and playing voice prompt information, wherein the voice prompt information comprises the current time and/or the current alarm reminding times.
In another alternative embodiment, the plurality of instructions stored in the storage medium 52 of the alarm processing apparatus, when executed by the processor 51, may 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;
an alarm follow-up reminder instruction processing module 522, configured to receive a follow-up reminder processing instruction, stop the alarm reminder, and start a subsequent alarm reminder after a preset time period, where the second subsequent alarm reminder includes playing a subsequent ring corresponding to each subsequent alarm reminder;
the alarm turn-off instruction processing module 523 is configured to receive a turn-off instruction, detect whether a current state of a user is an awake state, turn off alarm reminding if the current state is the awake state, and otherwise convert the alarm clock mode into a later reminding mode.
In an alternative embodiment, the alarm follow-up reminder instruction processing module 522 is further configured to provide each reminder with a higher intensity than the previous reminder. .
In an optional embodiment, the alarm follow-up reminding instruction processing module 522 is further configured to play a voice prompt message, where the voice prompt message includes a broadcast current time and/or a current alarm reminding number. In an optional embodiment, the alarm turn-off instruction processing module 523 is further configured to detect whether the current state of the user is an awake state and perform: and starting a camera to detect the facial features of the user, and if the detected facial features of the user meet the waking state condition, determining that the current state of the user is the waking state.
In an optional embodiment, the alarm turn-off instruction processing module 523 is further configured to detect whether the current state of the user is an awake state and perform: and starting a camera to detect a face area, and if the detected face area meets the waking state condition, determining that the current state of the user is the waking state.
In an optional embodiment, the alarm turn-off instruction processing module 523 is further configured to detect whether the current state of the user is an awake state and perform: and sending a plurality of confirmation reminders to the user, and if a confirmation instruction corresponding to each confirmation reminder in the plurality of confirmation reminders is received, confirming that the current state of the user is the waking state.
In an optional embodiment, the alarm turn-off instruction processing module 523 is further configured to detect whether the current state of the user is an awake state and perform: and initiating a random number of confirmation reminding to the user.
The alarm processing device in this embodiment receives an alarm prompt processing instruction by triggering an alarm prompt, and processes the alarm prompt. If a later reminding instruction is received, stopping the current alarm reminding and starting the subsequent alarm reminding after a preset time period, wherein each subsequent alarm reminding is different from the previous alarm reminding; if receiving a closing instruction, judging whether the user is awake, if so, closing the alarm for reminding, otherwise, converting into a later reminding mode. Because the user is reminded by different ring tones and other reminders for a plurality of times, the effective rate of the alarm reminding is greatly improved.
It should be understood that the alarm reminding method and the storage medium carrying specific instructions are not to be understood as being only capable of existing or being implemented in the alarm reminding apparatus in the embodiment, but can be implemented in any terminal, storage device or network device.
The functions of each functional module in the alarm reminding device can be referred to the related description of the steps of the alarm reminding method in the embodiment shown in fig. 1, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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 modules, and may be in an electrical, mechanical or other form.
It should be understood by those of ordinary skill in the art that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic, and should not limit the implementation process of the embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
- An alarm processing method, comprising:starting a first alarm reminding when a preset alarm reminding condition is met, wherein the first alarm reminding comprises playing a first ring;receiving the alarm reminding processing instruction, if the processing instruction is a later reminding, stopping the alarm reminding and converting an alarm clock mode into a later reminding mode, wherein the later reminding mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring;if the processing instruction is off, detecting whether the current state of the user is a waking state, if so, turning off alarm reminding, otherwise, stopping the alarm reminding and converting the alarm clock mode into the later reminding mode.
- The method of claim 1, wherein detecting whether the current state of the user is an awake state comprises:and starting a camera to detect the facial features of the user, and if the detected facial features of the user meet the waking state condition, determining that the current state of the user is the waking state.
- The method of claim 1, wherein detecting whether the current state of the user is an awake state comprises:and starting a camera to detect a face area, and if the detected face area meets the waking state condition, determining that the current state of the user is the waking state.
- The method of claim 1, wherein detecting whether the current state of the user is an awake state comprises:and sending a plurality of confirmation reminders to the user, and if a confirmation instruction corresponding to each confirmation reminder in the plurality of confirmation reminders is received, confirming that the current state of the user is the waking state.
- The method of claim 4, wherein the plurality of acknowledgement reminders comprises a random number of acknowledgement reminders.
- The method of claim 1, wherein the subsequent alarm reminder has a reminder intensity that is higher than a previous alarm reminder of the subsequent alarm reminder.
- The method of claim 1, wherein the subsequent alarm reminder further comprises playing a voice prompt message, the voice prompt message comprising a current time and/or a current number of alarm reminders to be announced.
- An alarm processing apparatus, characterized in that the apparatus comprises:the alarm starting module is used for starting a first alarm reminding when a preset alarm reminding condition is met, and the first alarm reminding comprises playing a first ring;the alarm reminding-later instruction processing module is used for receiving a reminding-later instruction, stopping the alarm reminding after receiving the reminding-later instruction and converting an alarm clock mode into a reminding-later mode, wherein the reminding-later mode is to start a subsequent alarm reminding at a preset time interval after the alarm reminding is stopped, and the subsequent alarm reminding comprises playing a second ring;and the alarm closing instruction processing module is used for receiving a closing instruction and detecting whether the current state of the user is a waking state, if so, closing the alarm reminding, and if not, stopping the alarm reminding and converting the alarm clock mode into a later reminding mode.
- An alarm processing apparatus, characterized in that the alarm processing apparatus comprises:a processor for executing instructions;storage medium for storing a plurality of instructions adapted to be loaded by said processor and to perform the alarm processing method according to any of claims 1-6.
- A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor and to perform the alarm processing method according to any of claims 1-7.
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 |
---|---|
CN111213356A true CN111213356A (en) | 2020-05-29 |
Family
ID=66100244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780095889.8A Pending CN111213356A (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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111444761B (en) * | 2020-02-21 | 2023-05-30 | 云知声智能科技股份有限公司 | Method and device for improving wake-up rate |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458006A (en) * | 2003-07-02 | 2003-11-26 | 北京交通大学 | Method for detecting fatigue driving based on multiple characteristic fusion |
CN102265587A (en) * | 2011-06-22 | 2011-11-30 | 华为终端有限公司 | A clock alarming method and a device thereof |
CN102467088A (en) * | 2010-11-16 | 2012-05-23 | 深圳富泰宏精密工业有限公司 | Face recognition alarm clock and method for waking user |
CN103034114A (en) * | 2012-12-26 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method and device for clock alarming |
CN105635449A (en) * | 2015-12-25 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | Alarm clock control method and mobile terminal |
CN105791591A (en) * | 2016-04-29 | 2016-07-20 | 努比亚技术有限公司 | Alarm prompting method and system thereof |
CN106527723A (en) * | 2016-11-09 | 2017-03-22 | 广东欧珀移动通信有限公司 | Method and device for controlling alarm clock of mobile terminal and mobile terminal |
WO2017143795A1 (en) * | 2016-02-26 | 2017-08-31 | 惠州Tcl移动通信有限公司 | Method and system for optimizing information pushing time according to alarm clock time |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179280B (en) * | 2013-03-25 | 2014-10-15 | 广东欧珀移动通信有限公司 | Method for delayed reminding of alarm clock at mobile terminal |
CN105450844A (en) * | 2014-09-28 | 2016-03-30 | 中兴通讯股份有限公司 | Method and device for controlling mobile terminal alarm clock |
CN105045382B (en) * | 2015-06-17 | 2018-01-26 | 广东欧珀移动通信有限公司 | The method and device that a kind of quarter-bell on mobile device is controlled |
CN106982292A (en) * | 2017-02-27 | 2017-07-25 | 珠海市魅族科技有限公司 | A kind of alarm clock prompting method and system |
-
2017
- 2017-10-12 WO PCT/CN2017/105814 patent/WO2019071501A1/en active Application Filing
- 2017-10-12 CN CN201780095889.8A patent/CN111213356A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1458006A (en) * | 2003-07-02 | 2003-11-26 | 北京交通大学 | 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 waking user |
CN102265587A (en) * | 2011-06-22 | 2011-11-30 | 华为终端有限公司 | A clock alarming method and a device thereof |
CN103034114A (en) * | 2012-12-26 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method and device for clock alarming |
CN105635449A (en) * | 2015-12-25 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | Alarm clock control method and mobile terminal |
WO2017143795A1 (en) * | 2016-02-26 | 2017-08-31 | 惠州Tcl移动通信有限公司 | Method and system for optimizing information pushing time according to alarm clock time |
CN105791591A (en) * | 2016-04-29 | 2016-07-20 | 努比亚技术有限公司 | Alarm prompting method and system thereof |
CN106527723A (en) * | 2016-11-09 | 2017-03-22 | 广东欧珀移动通信有限公司 | Method and device for controlling alarm clock of mobile terminal and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2019071501A1 (en) | 2019-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6247384B2 (en) | Air conditioner activation method, air conditioner activation apparatus, computer program, and computer-readable storage medium | |
US9310779B2 (en) | Mobile terminal and controlling method thereof | |
CN105395369B (en) | A kind of medication based reminding method, terminal, medicine box device and system | |
RU2663212C2 (en) | Method and device for starting energy-saving mode | |
US9848796B2 (en) | Method and apparatus for controlling media play device | |
CN116364077A (en) | Processing method, control method, identification method and device thereof, and electronic equipment | |
US20170045862A1 (en) | Method and device for managing alarm clock, electronic device | |
CN105843383A (en) | Application starting device and application starting method | |
CN110574355B (en) | Alarm clock reminding method and device, storage medium and electronic equipment | |
CN104202483A (en) | Display screen switch controller of mobile terminal | |
WO2018058978A1 (en) | Reminding method and device, electronic equipment and computer storage medium | |
CN107783790B (en) | Terminal awakening method and device | |
CN111901682A (en) | Television mode processing method and system based on automatic identification and television | |
CN110349578A (en) | Equipment wakes up processing method and processing device | |
WO2016145855A1 (en) | Event prompt method and device | |
CN107295193B (en) | Ring control method, ring control device, storage medium and electronic equipment | |
CN111213356A (en) | Alarm processing method and device | |
CN105808716A (en) | Alarm clock reminding method and apparatus as well as terminal | |
WO2015096428A1 (en) | Mobile terminal state switching method and apparatus | |
CN107610775A (en) | The data monitoring method and device of coffee machine | |
CN113742683A (en) | Multi-screen anti-addiction method and system, server, user terminal and storage medium | |
CN111163219A (en) | Alarm clock processing method and device, storage medium and terminal | |
CN115700847A (en) | Drawing book reading method and related equipment | |
CN111880642A (en) | Method and device for controlling terminal and storage medium | |
CN107280641B (en) | Chewing side monitoring method, device, system and intelligent wearable equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200529 |