CN111385417A - Alarm clock control method and device, electronic equipment and storage medium - Google Patents

Alarm clock control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111385417A
CN111385417A CN202010196590.5A CN202010196590A CN111385417A CN 111385417 A CN111385417 A CN 111385417A CN 202010196590 A CN202010196590 A CN 202010196590A CN 111385417 A CN111385417 A CN 111385417A
Authority
CN
China
Prior art keywords
sleep
user
state
electronic equipment
alarm clock
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
Application number
CN202010196590.5A
Other languages
Chinese (zh)
Inventor
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010196590.5A priority Critical patent/CN111385417A/en
Publication of CN111385417A publication Critical patent/CN111385417A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The application discloses an alarm clock control method, an alarm clock control device, electronic equipment and a storage medium. The method can comprise the following steps: when the specified time of the sleep alarm clock is reached, determining that the user is in a non-sleep state according to the sleep state of the user; and if the fact that the user is using the electronic equipment is determined, starting a sleep alarm clock to prompt the user to sleep, and forcibly adjusting the state of the electronic equipment after the sleep alarm clock prompts the user to sleep. The method can determine that the user is in a non-sleep state through the sleep monitoring device, and determines the current sleep state of the user by combining with judgment of the mobile phone screen state of the electronic equipment, so as to determine whether to start the sleep alarm clock to prompt the user to sleep.

Description

Alarm clock control method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an alarm clock control method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Currently, in order to ensure sufficient sleep, a user usually sets a sleep alarm clock in a smart device such as a mobile phone to remind the user to sleep. When the specified time of the sleep alarm clock set by the user is reached, the mobile phone prompts the user that the sleep time is up, and prompts the user to have a rest. However, sometimes the user may go through the set sleep time by putting into the plot too much or watching a short video for a long time, and this way of only prompting the user by sleep does not increase the user's self-discipline of sleeping.
Disclosure of Invention
The present invention has been made to solve at least one of the technical problems of the related art to some extent.
In a first aspect, an embodiment of the present application provides an alarm clock control method, including the following steps: when the specified time of the sleep alarm clock is reached, determining that the user is in a non-sleep state according to the sleep state of the user; and if the fact that the user is using the electronic equipment is determined, starting a sleep alarm clock to prompt the user to sleep, and forcibly adjusting the state of the electronic equipment after the sleep alarm clock prompts the user to sleep.
In a second aspect, an embodiment of the present application provides an alarm clock control apparatus, including: the first determination module is used for determining that the user is in a non-sleep state according to the sleep state of the user when the specified time of the sleep alarm clock is reached; and the prompting module is used for starting the sleep alarm clock to prompt the user to sleep if the user is determined to be using the electronic equipment, and forcibly adjusting the state of the electronic equipment after the sleep alarm clock prompts the user to sleep.
In a third aspect, an embodiment of the present application provides an electronic device, including: the alarm clock control method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the alarm clock control method is realized.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the alarm clock control method described in the embodiment of the first aspect of the present application.
According to the technical scheme, when the specified time of the sleep alarm clock is reached, the user is determined to be in the non-sleep state according to the sleep state of the user, the sleep alarm clock is started to prompt the user to sleep when the user is determined to use the electronic equipment, and the state of the electronic equipment is forcibly adjusted to force the user to sleep after the sleep prompt, so that the user can rest according to the set sleep time, the sleeping autonomy of the user is improved, and the experience of sleep reminding is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of an alarm clock control method according to an embodiment of the present application.
Fig. 2 is a flowchart of an alarm clock control method according to a specific embodiment of the present application.
Fig. 3 is a flowchart of an alarm clock control method according to a specific embodiment of the present application.
Fig. 4 is a schematic structural diagram of an alarm clock control device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an alarm clock control device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an alarm clock control device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
An alarm clock control method, apparatus, terminal device, and storage medium according to embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an alarm clock control method according to an embodiment of the present application. It should be noted that the alarm clock control method according to the embodiment of the present application can be applied to an alarm clock control device according to the embodiment of the present application, and the device can be configured on an electronic device. In an embodiment of the present application, the electronic device may be a mobile terminal, such as a smart phone, a tablet computer, a wearable device, and the like.
As shown in fig. 1, the alarm clock control method may include:
and S110, when the specified time of the sleep alarm clock is reached, determining that the user is in a non-sleep state according to the sleep state of the user.
The sleep alarm clock means that the electronic equipment prompts a user to rest in a prompting mode set by the user when the specified time arrives at night. The prompting mode can comprise one or more modes of vibration, ringing, voice and the like.
In an embodiment of the application, when detecting that the sleep alarm clock reaches a specified time, a detection device in the electronic device may acquire sleep monitoring data of a user from the sleep monitoring device, and then determine a sleep state of the user according to the sleep monitoring data. Wherein, the sleep monitoring device and the electronic equipment have established communication connection.
Wherein, sleep monitor device can include but not only be limited to intelligent bracelet, intelligent wrist-watch, intelligent mattress etc. and wherein, but sleep monitor device real-time supervision and save sleep monitor data.
The sleep monitoring data refers to physiological signal data related to determining the sleep state of the user. For example, the sleep monitoring data may include, but is not limited to, respiration, blood oxygen saturation, brain waves, electrocardiograms, and other physiological signal data.
The sleep state of the user includes a non-sleep state and a sleep state, wherein the non-sleep state can be understood as an awake state, and the sleep state can be understood as a deep sleep or a light sleep.
For example, when a detection device in the electronic device detects that the sleep alarm clock reaches a specified time, based on the communication connection between the electronic device and the smart bracelet, the detection device in the electronic device may send a determination instruction to the smart bracelet, and when the smart bracelet receives the instruction, the smart bracelet may send the electrocardiogram physiological signal data of the user to the electronic device, so that the electronic device acquires the electrocardiogram physiological signal data of the user from the smart bracelet, and when the electrocardiogram physiological signal data is judged to be greater than a preset threshold value, it may be determined that the user is in a non-sleep state, that is, it is determined that the user is in a waking state.
S120, if the user is determined to be using the electronic equipment, the sleep alarm clock is started to prompt the user to sleep, and the state of the electronic equipment is forcibly adjusted after the sleep prompt.
In this embodiment, after determining that the user is in the non-sleep state, whether the user is using the electronic device may be determined in various ways, and when determining that the user is using the electronic device, the sleep alarm clock may be started to perform sleep prompting on the user, and after the sleep prompting, the state of the electronic device is forcibly adjusted to prompt the user to end playing the electronic device to take a rest.
As an example, the current data usage of the electronic device may be obtained from a router to which the electronic device is connected, and whether the user is using the electronic device may be determined according to the current data usage of the electronic device.
As another example, the current screen state of the electronic device may be obtained, and if the current screen state of the electronic device is in a bright screen state, the acceleration of the electronic device is detected by an acceleration sensor, and whether the acceleration of the electronic device is greater than a preset threshold value is determined; and if the acceleration of the electronic equipment is larger than a preset threshold value, determining that the user is using the electronic equipment.
It is to be understood that, in practical applications, whether the user is using the electronic device may also be determined by other ways, and this embodiment is not limited in this respect.
The sleep prompt mode includes, but is not limited to, voice, vibration, and the like, for example, vibration sleep prompt is used for vibration of the electronic device.
In this embodiment, the forcing to adjust the state of the electronic device may include forcing to adjust the screen state of the electronic device to a screen-off state, or forcing to shut down the electronic device.
According to the alarm clock control method, when the specified time of the sleep alarm clock is reached, the user is determined to be in the non-sleep state according to the sleep state of the user, the user is determined to be using the electronic equipment, the sleep alarm clock is started to prompt the user to sleep, and the state of the electronic equipment is forcibly adjusted after the sleep prompt, so that the user cannot use the electronic equipment continuously at present. The user is forced to sleep, so that the self-discipline of the user in sleeping is increased, and the experience of the sleep reminding is improved.
Fig. 2 is a flowchart of an alarm clock control method according to a specific embodiment of the present application, and as shown in fig. 2, the alarm clock control method may include:
and S210, determining the sleep state of the user when the specified time of the sleep alarm clock is reached.
S220, when the user is determined to be in the non-sleep state, the current screen state of the electronic equipment is obtained.
The current screen state of the electronic device includes, but is not limited to, on-screen, off-screen, and the like.
In an embodiment of the application, when it is determined that the user is in the non-sleep state, the sleep alarm clock can be turned off by acquiring the current screen state of the electronic device and if the current screen state of the electronic device is in the screen-off state.
In addition, in order to reduce the interference caused by the influence of the sleep alarm clock on the resting user, when the specified time of the sleep alarm clock is reached, if the user is determined to have slept according to the sleeping state of the user, the sleep prompt of the sleep alarm clock is cancelled.
Step 230, if the current screen state of the electronic device is in a bright screen state, detecting the acceleration of the electronic device through an acceleration sensor, and determining whether the acceleration of the electronic device is greater than a preset threshold, if so, executing step 240.
And 240, starting a sleep alarm clock to prompt the user to sleep when the user is determined to be using the electronic equipment.
In an embodiment of the application, it is determined that the user is not using the electronic device when the acceleration of the electronic device is judged to be smaller than the preset threshold value, since the user is not playing the electronic device at the moment, the light intensity information around the electronic device can be further determined, whether the indoor lamp where the user is located is turned off or not is determined according to the light intensity information, if the indoor lamp where the user is located is turned off, the user can be indicated that the user lies down and then falls asleep, at the moment, the sleep alarm clock reminding of the electronic device can be cancelled, and the alarm clock is prevented from influencing the user to enter a sleep state.
And S250, timing is started after the sleep prompt, and the current screen state of the electronic equipment is acquired after the timing time reaches the preset duration.
For example, the electronic device may prompt the user to sleep by vibrating, and after 10 minutes, the current screen status of the electronic device may be obtained.
S260, if the current screen state of the electronic equipment is in the bright screen state, whether the mode of the sleep alarm clock is in the forced mode is further judged, and if yes, the step 270 is executed.
Wherein the mandatory mode is used for indicating that the state of the electronic device can be forcibly adjusted.
And 270, forcibly adjusting the screen state of the electronic equipment to be a screen-off state, or forcibly powering off the electronic equipment.
For example, when it is determined that the mode of the sleep alarm clock is in the forced mode, the screen state of the electronic device may be forcibly adjusted to the screen-off state, or the electronic device may be forcibly turned off.
In one embodiment of the application, if the mode of the sleep alarm clock is determined to be in the non-mandatory mode, the sleep alarm clock is continuously started to prompt the user to sleep.
In an embodiment of the application, as shown in fig. 3, a user may preset a sleep alarm and a mode, and store the sleep alarm and the mode (S311), and then determine whether the specified time of the sleep alarm is reached (S312), if so, the smart band may obtain electrocardiographic physiological signal data of the user (S313), based on a communication connection between the electronic device and the smart band, the electronic device may obtain electrocardiographic physiological signal data of the user in the smart band, so as to determine whether the user is in a non-sleep state (S314), and if not, it is indicated that the user has gone into the sleep state, a sleep prompt of the alarm is cancelled (S315); if so, acquiring the current screen state of the electronic equipment (S316), if the current screen state of the electronic equipment is in a screen-on state, detecting the acceleration of the electronic equipment through an acceleration sensor, judging whether the acceleration of the electronic equipment is larger than a preset threshold value (S317), if so, determining that the user is using the electronic equipment, starting a sleep alarm clock to prompt the user to sleep (S318), after 10 minutes, acquiring the current screen state of the electronic equipment, judging whether the current screen state of the electronic equipment is screen-on (S319), if screen-off is judged, indicating that the user enters the sleep state, closing the sleep prompt, if screen-on, further judging whether the mode of the sleep alarm clock is in a forced mode (S320), if in the forced mode, forcibly turning off or turning off the screen (S321), and if in the non-forced mode, prompting the alarm clock (S322).
According to the alarm clock control method, the sleep state of the user can be determined through the sleep monitoring device, the current sleep state of the user is determined by judging the mobile phone screen state and the acceleration state of the electronic equipment, whether the sleep alarm clock is started to prompt the user to sleep is further determined, and after the sleep prompt, if the screen state of the electronic equipment is still in the screen-on state, the electronic equipment is selectively and forcibly controlled to be in a screen-off state or directly shut down, so that the user is forced to sleep, the self-discipline of the user to sleep is improved, and the experience of sleep prompt is improved.
Corresponding to the alarm clock control methods provided in the foregoing embodiments, an embodiment of the present application further provides an alarm clock control device, and since the alarm clock control device provided in the embodiment of the present application corresponds to the alarm clock control methods provided in the foregoing embodiments, the implementation manner of the alarm clock control method is also applicable to the alarm clock control device provided in the embodiment, and is not described in detail in the embodiment. Fig. 4 is a schematic structural diagram of an alarm clock control device according to an embodiment of the present application.
As shown in fig. 4, the focusing apparatus 400 includes: a first determination module 410 and a prompt module 420. Wherein:
the first determining module 410 is configured to determine that the user is in a non-sleep state according to the sleep state of the user when the specified time of the sleep alarm clock is reached.
In an embodiment of the present application, as shown in fig. 6, before determining that the user is in the non-sleep state according to the sleep state of the user, the alarm clock control apparatus further includes: a second obtaining module 440 and a third determining module 450, wherein the second obtaining module 440 is configured to obtain sleep monitoring data of the user from a sleep monitoring apparatus, where the sleep monitoring apparatus and the electronic device have established a communication connection; the third determining module 450 is configured to determine the sleep state of the user according to the sleep monitoring data.
The prompting module 420 is configured to start the sleep alarm clock to prompt the user to sleep if it is determined that the user is using the electronic device, and forcibly adjust the state of the electronic device after the sleep alarm. As an example, the prompt module 420 is specifically configured to: acquiring the current screen state of the electronic equipment; if the current screen state of the electronic equipment is in a bright screen state, detecting the acceleration of the electronic equipment through an acceleration sensor, and judging whether the acceleration of the electronic equipment is greater than a preset threshold value or not; and if the acceleration of the electronic equipment is larger than a preset threshold value, determining that the user is using the electronic equipment.
In an embodiment of the present application, the prompt module 420 is specifically configured to: and if the current screen state of the electronic equipment is in a screen-off state, closing the sleep alarm clock.
In an embodiment of the present application, the prompt module 420 is specifically configured to: and forcibly adjusting the screen state of the electronic equipment to a screen-off state, or forcibly turning off the electronic equipment.
In an embodiment of the application, as shown in fig. 5, before the forcibly adjusting the state of the electronic device, the alarm clock control apparatus further includes: a second determining module 430, wherein the second determining module 430 is configured to determine that the mode of the sleep alarm clock is in a forced mode, and the forced mode is used to indicate that the state of the electronic device can be forcibly adjusted.
In an embodiment of the application, before the determining that the mode of the sleep alarm clock is in the forced mode, the apparatus further includes: the electronic equipment comprises a first acquisition module and an execution module, wherein the first acquisition module is used for starting timing after a sleep prompt and acquiring the current screen state of the electronic equipment after the timing time reaches a preset duration; the execution module is used for executing the step of determining that the mode of the sleep alarm clock is in the forced mode if the current screen state of the electronic equipment is in the bright screen state.
According to the alarm clock control device, when the specified time of the sleep alarm clock is reached, the user is determined to be in the non-sleep state according to the sleep state of the user, the user is determined to be using the electronic equipment, the sleep alarm clock is started to prompt the user to sleep, and the state of the electronic equipment is forcibly adjusted after the sleep prompt, so that the user cannot use the electronic equipment continuously at present. The user is forced to sleep, so that the self-discipline of the user in sleeping is increased, and the experience of the sleep reminding is improved.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 7, the terminal device 700 may include: a memory 710, a processor 720 and a computer program 730 stored in the memory 710 and operable on the processor 720, wherein the processor 720 implements the alarm clock control method according to any of the above embodiments when executing the program.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, which when executed by a processor implements any of the alarm clock control methods described above.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (16)

1. An alarm clock control method, characterized in that the method comprises:
when the specified time of the sleep alarm clock is reached, determining that the user is in a non-sleep state according to the sleep state of the user;
and if the user is determined to be using the electronic equipment, starting the sleep alarm clock to prompt the user to sleep, and forcibly adjusting the state of the electronic equipment after the sleep alarm clock prompts the user to sleep.
2. The method of claim 1, wherein the determining that the user is using an electronic device comprises:
acquiring the current screen state of the electronic equipment;
if the current screen state of the electronic equipment is in a bright screen state, detecting the acceleration of the electronic equipment through an acceleration sensor, and judging whether the acceleration of the electronic equipment is greater than a preset threshold value or not;
and if the acceleration of the electronic equipment is larger than a preset threshold value, determining that the user is using the electronic equipment.
3. The method of claim 2, further comprising:
and if the current screen state of the electronic equipment is in a screen-off state, closing the sleep alarm clock.
4. The method of claim 1, wherein prior to the forcing the state of the electronic device, the method further comprises:
determining that the sleep alarm clock mode is in a forced mode, wherein the forced mode is used for indicating that the state of the electronic equipment can be forcibly adjusted.
5. The method of claim 4, wherein prior to the determining that the mode of the sleep alarm clock is in a forced mode, the method further comprises:
starting timing after the sleep prompt, and acquiring the current screen state of the electronic equipment after the timing time reaches a preset time length;
and if the current screen state of the electronic equipment is in a bright screen state, executing the step of determining that the mode of the sleep alarm clock is in a forced mode.
6. The method of claim 1, wherein prior to said determining that the user is in the non-sleep state from the user's sleep state, the method further comprises:
acquiring sleep monitoring data of the user from a sleep monitoring device, wherein the sleep monitoring device and the electronic equipment are in communication connection;
and determining the sleep state of the user according to the sleep monitoring data.
7. The method of any of claims 1-6, wherein the forcing the state of the electronic device comprises:
and forcibly adjusting the screen state of the electronic equipment to a screen-off state, or forcibly turning off the electronic equipment.
8. An alarm clock control apparatus, characterized in that the apparatus comprises:
the first determination module is used for determining that the user is in a non-sleep state according to the sleep state of the user when the specified time of the sleep alarm clock is reached;
and the prompting module is used for starting the sleep alarm clock to prompt the user to sleep if the user is determined to be using the electronic equipment, and forcibly adjusting the state of the electronic equipment after the sleep alarm clock prompts the user to sleep.
9. The focusing device of claim 8, wherein the prompt module is specifically configured to:
acquiring the current screen state of the electronic equipment;
if the current screen state of the electronic equipment is in a bright screen state, detecting the acceleration of the electronic equipment through an acceleration sensor, and judging whether the acceleration of the electronic equipment is greater than a preset threshold value or not;
and if the acceleration of the electronic equipment is larger than a preset threshold value, determining that the user is using the electronic equipment.
10. The focusing device of claim 9, wherein the prompt module is specifically configured to:
and if the current screen state of the electronic equipment is in a screen-off state, closing the sleep alarm clock.
11. The focusing apparatus of claim 8, wherein before the forcing the state of the electronic device to be adjusted, the apparatus further comprises:
a second determination module, configured to determine that a mode of the sleep alarm clock is in a forced mode, where the forced mode is used to indicate that a state of the electronic device can be forcibly adjusted.
12. The apparatus of claim 11, wherein prior to the determining that the mode of the sleep alarm clock is in a forced mode, the apparatus further comprises:
the first acquisition module is used for starting timing after the sleep prompt and acquiring the current screen state of the electronic equipment after the timing time reaches a preset duration;
and the execution module is used for executing the step of determining that the mode of the sleep alarm clock is in the forced mode if the current screen state of the electronic equipment is in the bright screen state.
13. The apparatus of claim 8, wherein prior to the determining that the user is in the non-sleep state from the user's sleep state, the apparatus further comprises:
the second acquisition module is used for acquiring sleep monitoring data of the user from a sleep monitoring device, wherein the sleep monitoring device is in communication connection with the electronic equipment;
and the third determining module is used for determining the sleep state of the user according to the sleep monitoring data.
14. The method according to any one of claims 8 to 13, wherein the prompting module is specifically configured to:
and forcibly adjusting the screen state of the electronic equipment to a screen-off state, or forcibly turning off the electronic equipment.
15. An electronic device, comprising: memory, processor and computer program stored on said memory and executable on said processor, said processor implementing the alarm clock control method according to any one of claims 1 to 7 when executing said program.
16. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out an alarm clock control method according to any one of claims 1 to 7.
CN202010196590.5A 2020-03-19 2020-03-19 Alarm clock control method and device, electronic equipment and storage medium Pending CN111385417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010196590.5A CN111385417A (en) 2020-03-19 2020-03-19 Alarm clock control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010196590.5A CN111385417A (en) 2020-03-19 2020-03-19 Alarm clock control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111385417A true CN111385417A (en) 2020-07-07

Family

ID=71217340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010196590.5A Pending CN111385417A (en) 2020-03-19 2020-03-19 Alarm clock control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111385417A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954545A (en) * 2021-01-25 2021-06-11 歌尔科技有限公司 Device to be paired detection method, device pairing method, device and medium
CN113534674A (en) * 2021-07-16 2021-10-22 深圳创维-Rgb电子有限公司 Life service method, control terminal, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN105898043A (en) * 2016-03-31 2016-08-24 北京奇虎科技有限公司 Method and device for carrying out prompting service based on user behavior state
CN109510901A (en) * 2019-01-30 2019-03-22 上海与德通讯技术有限公司 A kind of control method of alarm clock, device, storage medium and mobile terminal
EP3474088A1 (en) * 2017-10-23 2019-04-24 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for controlling alarm clock
CN109743462A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of control method of alarm clock, device, storage medium and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
CN105898043A (en) * 2016-03-31 2016-08-24 北京奇虎科技有限公司 Method and device for carrying out prompting service based on user behavior state
EP3474088A1 (en) * 2017-10-23 2019-04-24 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for controlling alarm clock
CN109743462A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of control method of alarm clock, device, storage medium and mobile terminal
CN109510901A (en) * 2019-01-30 2019-03-22 上海与德通讯技术有限公司 A kind of control method of alarm clock, device, storage medium and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112954545A (en) * 2021-01-25 2021-06-11 歌尔科技有限公司 Device to be paired detection method, device pairing method, device and medium
CN112954545B (en) * 2021-01-25 2023-01-24 歌尔科技有限公司 Device to be paired detection method, device pairing method, device and medium
CN113534674A (en) * 2021-07-16 2021-10-22 深圳创维-Rgb电子有限公司 Life service method, control terminal, device and storage medium

Similar Documents

Publication Publication Date Title
RU2643129C2 (en) Method and device for air conditioner activation
CN105282343B (en) A kind of method and apparatus for intelligent reminding of sleeping
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
CN108600809A (en) A kind of control method of smart television, device, storage medium and smart television
CN105407217A (en) Mobile terminal music playing method and mobile terminal
CN111385417A (en) Alarm clock control method and device, electronic equipment and storage medium
CN109782620A (en) Intelligent curtain and its control method, device and computer readable storage medium
WO2023010859A1 (en) Method and apparatus for air conditioner control, and air conditioner
CN111357267B (en) Alarm clock ringing time setting method and device and electronic equipment
CN112667065A (en) Method and device for controlling intelligent playing terminal, storage medium and intelligent wearable device
CN108310585A (en) A kind of deep sleep awakening method and its system based on Intelligent bracelet
WO2017128539A1 (en) Alarm control method and alarm control device for use in wearable device
EP2263530A1 (en) Intelligent power-saving device
CN113521488A (en) Insomnia treatment method and device capable of helping to recover sleep state
CN112932225A (en) Intelligent awakening pillow and awakening method based on intelligent awakening pillow
US11507169B2 (en) User state-based device power conservation
CN107426437A (en) A kind of alarm clock prompting method and device
CN114073493A (en) Physiological data acquisition method and device and wearable equipment
CN205108668U (en) Intelligent awakening device
JP2014175839A (en) Mobile phone device, mobile phone device control method, and computer program
CN116132740A (en) Energy saving method and device for video watching equipment, video watching equipment and readable storage medium
WO2019090613A1 (en) Ringing method and ringing system for alarm clock of smart terminal
CN113952578A (en) Sleep awakening method and device for insomnia treatment
US20200320890A1 (en) User state-based learning reinforcement
CN112294283A (en) Vital sign detection system and corresponding control method

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

Application publication date: 20200707

RJ01 Rejection of invention patent application after publication