[go: up one dir, main page]

CN106453867A - Alarm clock control method and device - Google Patents

Alarm clock control method and device Download PDF

Info

Publication number
CN106453867A
CN106453867A CN201610855577.XA CN201610855577A CN106453867A CN 106453867 A CN106453867 A CN 106453867A CN 201610855577 A CN201610855577 A CN 201610855577A CN 106453867 A CN106453867 A CN 106453867A
Authority
CN
China
Prior art keywords
alarm clock
value
mobile terminal
sleep state
around
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
CN201610855577.XA
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610855577.XA priority Critical patent/CN106453867A/en
Publication of CN106453867A publication Critical patent/CN106453867A/en
Pending legal-status Critical Current

Links

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/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides an alarm clock control method and device. The method comprises the steps of obtaining a ringing time of an alarm clock; in a preset time period before the ringing time arrives, obtaining environment information around a mobile terminal and/or a sleep state of a user of the alarm clock, wherein the environment information around the mobile terminal comprises a light brightness value and/or a noise decibel value around the mobile terminal; and if the configuration parameter of the alarm clock mismatches the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameter of the alarm clock. According to the embodiment of the method and the device, the problem that when the user uses the alarm clock, the user is woke up by the morning alarm clock suddenly in horror, or eyes are dazzled by the screen brightness value in ringing, or the alarm clock cannot be heard due to the noise around the mobile terminal is solved, the user can be informed of the morning better by the alarm clock, and the user will not miss important reminding due to low sound of the alarm clock.

Description

Alarm clock control method and device
Technical Field
The invention relates to the field of electronics, in particular to a control method and a control device of an alarm clock.
Background
Currently, when a user uses a mobile terminal, an alarm clock application becomes an application program with high use frequency, and the user sets an alarm clock in the alarm clock application for reminding the user, for example, the alarm clock is set for reminding getting up, reminding meeting time or reminding other important things. In some alarm clock applications, the function is reminded to the alarm clock based on geographical position and the function that starts to start intelligent alarm clock before the alarm clock rings is still provided, and the ring tone of intelligent alarm clock is very gentle, is fit for reminding the user to get up.
In the related prior art, the use method of the alarm clock is as follows: the user first sets the alarm time and then sets other configuration parameters of the alarm (e.g., ringing music and ringing volume). And when the ringing time is up, reminding the user according to the ringing music set by the user.
However, the inventors of the present invention found in the process of implementing the present invention that: when a user uses the alarm clock, if the ringing volume is set to be low in advance, the ringing sound of the alarm clock can not be heard due to surrounding noise; on the contrary, if the ring volume is set to be high in advance, it is likely to be scared by the ring sound that the alarm clock suddenly rings, for example, in the early morning, the user is often scared by the sudden ring sound.
Disclosure of Invention
Based on the problems in the prior art, the embodiments of the present invention provide a method and an apparatus for controlling an alarm clock, in which a ring time of the alarm clock is obtained, a brightness value and a noise decibel value around a mobile terminal and/or a sleep state of a user of the alarm clock are obtained within a preset time period before the ring time, and whether to adjust a configuration parameter of the alarm clock is determined according to the brightness value, the noise decibel value and/or the sleep state around the mobile terminal, so that a problem that the user is suddenly waken up by the morning alarm clock or the screen brightness of the alarm clock stabs eyes when the user rings the alarm clock, or the user cannot hear the alarm clock due to the noise around the mobile terminal is solved, and the user can better utilize the alarm clock to remind the user of going morning and cannot miss important reminding due to small sound of the alarm clock.
On one hand, the embodiment of the invention provides a control method of an alarm clock, which comprises the following steps:
acquiring the ringing time of the alarm clock;
acquiring environmental information around the mobile terminal and/or acquiring the sleep state of a user of the alarm clock within a preset time period before the ringing time is reached; the environment information around the mobile terminal comprises a light brightness value and/or a noise decibel value around the mobile terminal;
and if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
Optionally, the acquiring the sleep state of the user of the alarm clock includes:
and obtaining the sleep state of the user of the alarm clock according to the state change information and/or the physical sign information when the user of the alarm clock sleeps.
Optionally, if the brightness value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least include a screen brightness value when the alarm clock rings; or if the noise decibel value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise an alarm clock volume value; or, if the light brightness value and the noise decibel value around the mobile terminal are obtained, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
Optionally, if the screen brightness value when the alarm clock rings is not matched with the brightness value around the mobile terminal, adjusting the screen brightness value when the alarm clock rings includes:
and if the difference value between the acquired brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is larger than the preset brightness difference value, adjusting the screen brightness value when the alarm clock rings to enable the difference value between the acquired brightness value and the screen brightness value when the alarm clock rings to be smaller than or equal to the preset brightness difference value.
Optionally, if the alarm clock volume value is not matched with the noise decibel value around the mobile terminal, adjusting the alarm clock volume value includes:
and if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, adjusting the alarm clock volume value to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
Optionally, the sleep state includes a deep sleep state and a light sleep state.
Optionally, if it is determined that the configuration parameter of the alarm clock is not matched with the sleep state of the alarm clock user, adjusting the configuration parameter of the alarm clock includes:
and if the configuration parameter of the alarm clock is not in the value range corresponding to the sleep state, adjusting the configuration parameter of the alarm clock to enable the configuration parameter of the alarm clock to be in the value range corresponding to the sleep state.
On the other hand, an embodiment of the present invention provides a control device for an alarm clock, including:
the alarm clock acquiring module is used for acquiring alarm clock ringing time;
the information obtaining module is used for obtaining environment information around the mobile terminal and/or obtaining the sleep state of a user of the alarm clock in a preset time period before the ringing time is reached, wherein the environment information around the mobile terminal comprises a brightness value and/or a noise decibel value around the mobile terminal;
and the adjusting module is used for adjusting the configuration parameters of the alarm clock if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock.
Optionally, the information obtaining module is configured to: the sleep state acquisition device is used for acquiring state change information and/or physical sign information of a user during sleep, and the sleep state of the user is obtained according to the state change information and/or the physical sign information.
Optionally, if the brightness value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least include a screen brightness value when the alarm clock rings; or if the noise decibel value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise an alarm clock volume value; or, if the light brightness value and the noise decibel value around the mobile terminal are obtained, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
Optionally, the adjusting module is configured to: and if the difference value between the acquired brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is larger than the preset brightness difference value, adjusting the screen brightness value when the alarm clock rings to enable the difference value between the acquired brightness value and the screen brightness value when the alarm clock rings to be smaller than or equal to the preset brightness difference value.
Optionally, the adjusting module is configured to: and if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, adjusting the alarm clock volume value to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
Optionally, the sleep state includes a deep sleep state and a light sleep state.
Optionally, the adjusting module is configured to: and if the configuration parameter of the alarm clock is not in the value range corresponding to the sleep state, adjusting the configuration parameter of the alarm clock to enable the configuration parameter of the alarm clock to be in the value range corresponding to the sleep state.
By adopting the technical scheme, the method has the following beneficial effects:
through the ringing time of acquireing the alarm clock, in the time quantum of predetermineeing before the ringing time, acquire the luminance value around the mobile terminal, noise decibel value and/or acquire the sleep state of the user of alarm clock, according to the luminance value around the mobile terminal, noise decibel value and/or sleep state judge the mode that whether need adjust the configuration parameter of alarm clock, solved the user when using the alarm clock, by morning alarm clock frighten suddenly or by the screen brightness value when the ringing prick the problem of eyes, or because the noise around the mobile terminal and the problem of can't hear the alarm clock, make the user can be better utilize the alarm clock to remind morning, also can not miss important warning because the alarm clock sound is little.
Drawings
Fig. 1 is a flowchart of a control method of an alarm clock according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of an alarm clock according to another embodiment of the present invention;
fig. 3 is a block diagram of a control apparatus of an alarm clock according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Referring to fig. 1, an embodiment of the present invention provides a method for controlling an alarm clock, including:
s001, acquiring the ringing time of the alarm clock;
step S002, in a preset time period before the ringing time is reached, obtaining environment information around the mobile terminal and/or obtaining the sleep state of a user of the alarm clock, wherein the environment information around the mobile terminal comprises a light brightness value and/or a noise decibel value around the mobile terminal;
and S003, if the configuration parameters of the alarm clock are judged and obtained to be not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
The mobile terminal in the embodiment of the invention includes but is not limited to: cell-phone, panel computer, intelligent wrist-watch, intelligent bracelet and other intelligent terminal etc..
The first embodiment is as follows:
the following description will take the mobile terminal as a mobile phone and adjust the configuration parameters of the alarm clock according to the surrounding environment information of the mobile terminal as an example.
In the embodiment of the present invention, the environment information around the mobile terminal includes a light brightness value and/or a noise decibel value around the mobile terminal. The alarm clock application installed on the mobile phone generally supports setting of a plurality of alarm clocks, and the alarm clocks are distinguished according to different alarm clock names. Taking an alarm clock set on a mobile phone as an example, the name of the alarm clock is 'getting up alarm clock'. The alarm clock application is an alarm clock application program installed on the mobile phone, and the alarm clock in the text is an example of an alarm clock set in the alarm clock application and used for ringing, which is called an alarm clock for short.
In step S001, a ringing time corresponding to the alarm clock name "wake-up alarm clock" is obtained from the ringing times saved by the alarm clock application.
The name of the alarm clock and the ringing time are correspondingly stored in the storage space of the mobile phone.
In step S002, detecting a time period between the current time and the ringing time, and if the time period is greater than a preset time period, not acquiring the environmental information around the mobile terminal; and if the time period is less than or equal to the preset time period, starting to acquire the environmental information around the mobile terminal.
The handset detects the time period between the current time and the ringing time each time it reaches a detection period. The preset time period is a preset time period, such as 1 hour.
And if the acquired periodic environment information of the mobile terminal is a brightness value, the configuration parameters of the alarm clock comprise a screen brightness value when the alarm clock rings. And if the acquired environment information around the mobile terminal is a noise decibel value, the configuration parameters of the alarm clock comprise an alarm clock volume value. And if the acquired environment information around the mobile terminal comprises a light brightness value and a noise decibel value, the configuration parameters of the alarm clock comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
In step S003, if the configuration parameter of the alarm clock is not matched with the brightness value and/or the noise decibel value around the mobile terminal, the configuration parameter of the alarm clock is adjusted.
The alarm clock can adjust the screen brightness value when the alarm clock rings according to the brightness value around the current mobile terminal, so that the difference between the screen brightness value when the alarm clock rings and the brightness value around the alarm clock is reduced, and the people feel comfortable.
In the embodiment of the invention, if the difference value between the acquired brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is greater than the preset brightness difference value, mismatching is determined, and the screen brightness value when the alarm clock rings is adjusted to enable the difference value between the acquired brightness value and the screen brightness value to be less than or equal to the preset brightness difference value.
In addition, the alarm clock can adjust the volume value of the alarm clock when ringing according to the noise decibel value (namely the decibel of the environmental noise) around the current mobile terminal.
In the embodiment of the invention, if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, mismatching is determined, and the alarm clock volume value is adjusted to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
Of course, as another alternative embodiment, while the value of the alarm volume is adjusted, the ringing duration and/or the ringing music may also be adjusted, for example, the alarm volume with a large volume, the ringing duration with a long time and the ringing music with a strong rhythm are used, the alarm volume with a small volume, the ringing duration with a short time and the ringing music with a slow and gentle rhythm are used.
In the embodiment of the present invention, the mobile terminal may actively acquire the environment information (e.g., a brightness value and/or a noise decibel value) around the mobile terminal, or the mobile terminal passively receives the environment information around the mobile terminal acquired by an external device. Specifically, the light brightness value around the mobile terminal may be collected by a photoelectric sensor, and the noise decibel value around the mobile terminal may be collected by a sound collection device (such as a recording application program or a microphone). The specific acquisition principle and implementation method are the prior art, and the invention is not described in detail herein.
Through the ringing time of acquireing the alarm clock, in the time quantum of predetermineeing before the ringing time, obtain the luminance value and/or the noise decibel value around the mobile terminal, judge the mode that whether need adjust the configuration parameter of alarm clock according to luminance value and/or the noise decibel value around the mobile terminal, when having solved the user and using the alarm clock, the screen brightness value who arouses suddenly by the morning alarm clock arouses or by the ringing stings the problem of eyes, or because the noise around the mobile terminal and the problem of can't hear the alarm clock, make the user can be better utilize the alarm clock to remind morning, also can not miss important warning because the alarm clock sound is little.
Example two:
the following description will be given by taking the mobile terminal as a mobile phone and adjusting the configuration parameters of the alarm clock according to the sleep state of the user of the alarm clock as an example.
Referring to fig. 2, an embodiment of the present invention provides a method for controlling an alarm clock, including:
step S201, acquiring the ringing time of the alarm clock.
Step S202, detecting a time period between the current time and the ringing time, and if the time period is greater than a preset time period, not acquiring the sleep state of a user of the alarm clock; and if the time period is less than or equal to the preset time period, starting to acquire the sleep state of the user of the alarm clock.
Step S203, acquiring state change information and/or physical sign information of the user during sleeping through the mobile terminal or a sleep state acquisition device connected with the mobile terminal and positioned outside the mobile terminal, and obtaining the sleep state of the user according to the state change information and/or the physical sign information.
Wherein the sleep state is divided into a deep sleep state and a light sleep state. The state change information when the user sleeps is change information of the state of the body of the user while sleeping, which includes a frequency of change of the state of the body, such as from a lying state to a lying state. When a person is in a deep sleep state, the person is difficult to be disturbed by the outside, the body is not easy to turn over, and the change of the body state is not easy to change, so the change frequency of the state of the person in sleep is smaller than that in a light sleep state. Accordingly, a threshold may be set for the change frequency of the state of the body, and if the change frequency of the state of the body actually collected is greater than or equal to a preset frequency threshold, it is determined that the user is in a light sleep state, whereas if the change frequency of the state of the body actually collected is less than the preset frequency threshold, it is determined that the user is in a deep sleep state.
The physical sign information of the user during sleeping comprises: pulse beat times or respiratory rate. The sleep state of the user can also be known by detecting the pulse beating times or the breathing frequency, and when the person is in a deep sleep state, the pulse beating times and the breathing frequency are slower than those in a shallow sleep state. Therefore, a threshold value can be set for the pulse beating times or the respiratory frequency respectively, if the actually acquired pulse beating times are larger than or equal to the preset pulse beating threshold value, the user is determined to be in a light sleep state, and if the actually acquired pulse beating times are smaller than the preset pulse beating threshold value, the user is determined to be in a deep sleep state. Similarly, if the actually acquired respiratory frequency is greater than or equal to the preset respiratory frequency threshold, it is determined that the user is in the light sleep state, and conversely, if the actually acquired respiratory frequency is less than the preset respiratory frequency threshold, it is determined that the user is in the deep sleep state.
And S204, if the configuration parameter of the alarm clock is not in the value range corresponding to the sleep state, adjusting the configuration parameter to enable the configuration parameter to be in the value range corresponding to the sleep state.
The value ranges of the configuration parameters of the alarm clock corresponding to the deep sleep state and the light sleep state are respectively set, for example, the value range of the alarm clock volume value corresponding to the deep sleep state is set to be 4-5. If the alarm clock user is in the deep sleep state and the alarm clock volume value is not in the value range, the alarm clock volume value is adjusted to be within the value range, or the alarm clock volume value is changed into a mode that the alarm clock volume value is gradually increased from small to large.
Of course, in addition to the alarm clock volume value, the screen brightness values at the alarm clock ringing time corresponding to the deep sleep state and the light sleep state are set, respectively.
In this embodiment, whether the sleep state is the deep sleep state or not and whether any one of the parameters in the configuration parameters does not satisfy the mode of the deep sleep condition or not is judged, whether the corresponding configuration parameter is adjusted or not is obtained, when the configuration parameter needs to be adjusted, the configuration parameter which needs to be adjusted is adjusted, so that a user of the mobile terminal can be awakened to the shallow sleep state from the deep sleep state with a small volume in advance under the condition of the deep sleep state, and then is awakened from the shallow sleep state, and the body of the user is prevented from being damaged.
Example three:
referring to fig. 3, an embodiment of the present invention provides a control device for an alarm clock, including:
a ring time acquiring module 301, configured to acquire ring time of an alarm clock;
an obtaining information module 302, configured to obtain environment information around the mobile terminal and/or obtain a sleep state of a user of the alarm clock within a preset time period before a ring time arrives, where the environment information around the mobile terminal includes a brightness value and/or a noise decibel value around the mobile terminal;
an adjusting module 303, configured to adjust the configuration parameter of the alarm clock if the configuration parameter of the alarm clock is not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock.
In an optional embodiment of the present invention, in the information obtaining module 302, the state change information and/or the physical sign information of the user during sleeping is collected by the sleeping state collecting device, and the sleeping state of the user is obtained according to the state change information and/or the physical sign information.
In another optional implementation manner of the present invention, if the brightness value around the mobile terminal is obtained, the configuration parameter of the alarm clock at least includes a screen brightness value when the alarm clock rings; or if the noise decibel value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise an alarm clock volume value; or, if the light brightness value and the noise decibel value around the mobile terminal are obtained, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
In another optional implementation manner of the present invention, in the adjusting module 303, if the difference between the obtained brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is greater than a preset brightness difference, the screen brightness value when the alarm clock rings is adjusted to make the difference between the two smaller than or equal to the preset brightness difference.
In another alternative embodiment of the present invention, in the adjusting module 303, the adjusting module is configured to: and if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, adjusting the alarm clock volume value to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
In another alternative embodiment of the present invention, the sleep states include a deep sleep state and a light sleep state.
In another optional implementation manner of the present invention, in the adjusting module 303, if the configuration parameter of the alarm clock is not within the value range corresponding to the sleep state, the configuration parameter of the alarm clock is adjusted to make the configuration parameter of the alarm clock within the value range corresponding to the sleep state.
In this embodiment, the difference between the current brightness value and the screen brightness value in the configuration parameter is compared with the preset brightness difference to obtain whether the screen brightness value in the configuration parameter needs to be adjusted, so that a user of the mobile terminal can not be dazzled by strong light in the dark, and cannot see the screen of the mobile terminal clearly under the strong light; comparing the difference between the audible volume value corresponding to the current noise decibel value and the alarm clock volume value in the configuration parameter with a preset volume difference to obtain whether the alarm clock volume value in the configuration parameter needs to be adjusted or not, so that a user of the mobile terminal can not be awakened by a sudden large-volume ring in the morning.
In addition, whether the corresponding configuration parameters are adjusted or not is obtained by judging whether the sleep state is the deep sleep state or not and judging whether any one of the configuration parameters does not meet the deep sleep condition or not, and when the configuration parameters need to be adjusted, the configuration parameters needing to be adjusted are adjusted, so that a user of the mobile terminal can be awakened from the deep sleep state to the light sleep state at a low volume first and then awakened from the light sleep state under the condition of the deep sleep state, and the body of the user is prevented from being damaged.
Example four:
an embodiment of the present invention provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to:
acquiring the ringing time of an alarm clock;
acquiring environment information around the mobile terminal and/or acquiring a sleep state of a user of the alarm clock within a preset time period before the ringing time is reached, wherein the environment information around the mobile terminal comprises a brightness value and/or a noise decibel value around the mobile terminal;
and if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
Example five:
an embodiment of the invention proposes a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform:
acquiring the ringing time of an alarm clock;
acquiring environment information around the mobile terminal and/or acquiring a sleep state of a user of the alarm clock within a preset time period before the ringing time is reached, wherein the environment information around the mobile terminal comprises a brightness value and/or a noise decibel value around the mobile terminal;
and if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
Example six:
an embodiment of the invention proposes a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform:
acquiring the ringing time of an alarm clock;
acquiring environment information around the mobile terminal and/or acquiring a sleep state of a user of the alarm clock within a preset time period before the ringing time is reached, wherein the environment information around the mobile terminal comprises a brightness value and/or a noise decibel value around the mobile terminal;
and if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a computer-readable storage medium. The program when executed may include the flows 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.
Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a mobile terminal (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and not to limit the same; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A control method of an alarm clock is characterized by comprising the following steps:
acquiring the ringing time of the alarm clock;
acquiring environmental information around the mobile terminal and/or acquiring the sleep state of a user of the alarm clock within a preset time period before the ringing time is reached; the environment information around the mobile terminal comprises a light brightness value and/or a noise decibel value around the mobile terminal;
and if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock, adjusting the configuration parameters of the alarm clock.
2. The control method of the alarm clock according to claim 1, characterized in that: the acquiring the sleep state of the user of the alarm clock comprises:
and obtaining the sleep state of the user of the alarm clock according to the state change information and/or the physical sign information when the user of the alarm clock sleeps.
3. The control method of the alarm clock according to claim 1, characterized in that:
if the brightness value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise the screen brightness value when the alarm clock rings; or,
if the noise decibel value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise an alarm clock volume value; or,
if the brightness value and the noise decibel value around the mobile terminal are obtained, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings; or,
and if the sleep state of the alarm clock user is acquired, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
4. The control method of the alarm clock according to claim 3, characterized in that:
if the screen brightness value when the alarm clock rings is not matched with the brightness value around the mobile terminal, adjusting the screen brightness value when the alarm clock rings comprises:
and if the difference value between the acquired brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is larger than the preset brightness difference value, adjusting the screen brightness value when the alarm clock rings to enable the difference value between the acquired brightness value and the screen brightness value when the alarm clock rings to be smaller than or equal to the preset brightness difference value.
5. The control method of the alarm clock according to claim 3, characterized in that:
if the alarm clock volume value is not matched with the noise decibel value around the mobile terminal, adjusting the alarm clock volume value comprises:
and if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, adjusting the alarm clock volume value to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
6. The control method of the alarm clock according to claim 1, characterized in that: the sleep states include a deep sleep state and a light sleep state.
7. The control method of the alarm clock according to any one of claims 1 to 6, characterized in that: if the configuration parameters of the alarm clock are judged to be not matched with the sleep state of the alarm clock user, adjusting the configuration parameters of the alarm clock comprises the following steps:
and if the configuration parameter of the alarm clock is not in the value range corresponding to the sleep state, adjusting the configuration parameter of the alarm clock to enable the configuration parameter of the alarm clock to be in the value range corresponding to the sleep state.
8. A control device of an alarm clock, comprising:
the alarm clock acquiring module is used for acquiring alarm clock ringing time;
the information obtaining module is used for obtaining environment information around the mobile terminal and/or obtaining the sleep state of a user of the alarm clock in a preset time period before the ringing time is reached, wherein the environment information around the mobile terminal comprises a brightness value and/or a noise decibel value around the mobile terminal;
and the adjusting module is used for adjusting the configuration parameters of the alarm clock if the configuration parameters of the alarm clock are not matched with the environment information around the mobile terminal and/or the sleep state of the user of the alarm clock.
9. The control device of the alarm clock according to claim 8, wherein: the information acquisition module is used for: the sleep state acquisition device is used for acquiring state change information and/or physical sign information of a user during sleep, and the sleep state of the user is obtained according to the state change information and/or the physical sign information.
10. The control device of the alarm clock according to claim 8, wherein:
if the brightness value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise the screen brightness value when the alarm clock rings; or,
if the noise decibel value around the mobile terminal is obtained, the configuration parameters of the alarm clock at least comprise an alarm clock volume value; or,
and if the light brightness value and the noise decibel value around the mobile terminal are obtained, the configuration parameters of the alarm clock at least comprise a screen brightness value and/or an alarm clock volume value when the alarm clock rings.
11. The control device of an alarm clock according to claim 10, characterized in that: the adjustment module is used for: and if the difference value between the acquired brightness value around the mobile terminal and the screen brightness value when the alarm clock rings is larger than the preset brightness difference value, adjusting the screen brightness value when the alarm clock rings to enable the difference value between the acquired brightness value and the screen brightness value when the alarm clock rings to be smaller than or equal to the preset brightness difference value.
12. The control device of an alarm clock according to claim 10, characterized in that: the adjustment module is used for: and if the difference value between the audible volume value corresponding to the acquired noise decibel value around the mobile terminal and the alarm clock volume value is greater than the preset volume difference value, adjusting the alarm clock volume value to enable the difference value between the audible volume value and the alarm clock volume value to be less than or equal to the preset volume difference value.
13. The control device of the alarm clock according to claim 8, wherein: the sleep states include a deep sleep state and a light sleep state.
14. Alarm clock control device according to any of claims 8 to 13, characterised in that: the adjustment module is used for: and if the configuration parameter of the alarm clock is not in the value range corresponding to the sleep state, adjusting the configuration parameter of the alarm clock to enable the configuration parameter of the alarm clock to be in the value range corresponding to the sleep state.
CN201610855577.XA 2016-09-27 2016-09-27 Alarm clock control method and device Pending CN106453867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610855577.XA CN106453867A (en) 2016-09-27 2016-09-27 Alarm clock control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610855577.XA CN106453867A (en) 2016-09-27 2016-09-27 Alarm clock control method and device

Publications (1)

Publication Number Publication Date
CN106453867A true CN106453867A (en) 2017-02-22

Family

ID=58170581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610855577.XA Pending CN106453867A (en) 2016-09-27 2016-09-27 Alarm clock control method and device

Country Status (1)

Country Link
CN (1) CN106453867A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872576A (en) * 2017-11-02 2018-04-03 北京小米移动软件有限公司 Alarm clock prompting method, device and computer-readable recording medium
CN108630213A (en) * 2017-03-22 2018-10-09 株式会社东芝 Sound processing apparatus, sound processing method and storage medium
CN109495650A (en) * 2018-12-14 2019-03-19 北京小米移动软件有限公司 Alarm clock prompting method, device, equipment and storage medium
CN109582272A (en) * 2018-11-23 2019-04-05 Oppo(重庆)智能科技有限公司 A kind of control method, terminal device and storage medium
WO2019090613A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Ringing method and ringing system for alarm clock of smart terminal
WO2019205401A1 (en) * 2018-04-28 2019-10-31 平安科技(深圳)有限公司 Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
CN112488406A (en) * 2020-12-08 2021-03-12 珠海格力电器股份有限公司 Alarm clock setting prediction method, device, equipment and storage medium
CN112689219A (en) * 2021-01-15 2021-04-20 上海闻泰信息技术有限公司 Method, apparatus, wireless headset and computer readable storage medium for managing sleep
CN113160533A (en) * 2021-05-07 2021-07-23 支付宝(杭州)信息技术有限公司 Reminding information generation method, device, equipment and medium
CN113746986A (en) * 2021-07-23 2021-12-03 荣耀终端有限公司 Control method of electronic equipment and electronic equipment
CN113766062A (en) * 2020-06-04 2021-12-07 上海惠芽信息技术有限公司 Method, device and storage medium for turning off alarm clock

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267923A (en) * 2014-09-16 2015-01-07 惠州Tcl移动通信有限公司 Music awakening method and mobile device
CN104618589A (en) * 2015-01-20 2015-05-13 深圳市金立通信设备有限公司 Terminal
US9059669B2 (en) * 2013-09-05 2015-06-16 Qualcomm Incorporated Sound control for network-connected devices
CN105302546A (en) * 2015-09-17 2016-02-03 广东欧珀移动通信有限公司 Backlight processing method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9059669B2 (en) * 2013-09-05 2015-06-16 Qualcomm Incorporated Sound control for network-connected devices
CN104267923A (en) * 2014-09-16 2015-01-07 惠州Tcl移动通信有限公司 Music awakening method and mobile device
CN104618589A (en) * 2015-01-20 2015-05-13 深圳市金立通信设备有限公司 Terminal
CN105302546A (en) * 2015-09-17 2016-02-03 广东欧珀移动通信有限公司 Backlight processing method and terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108630213A (en) * 2017-03-22 2018-10-09 株式会社东芝 Sound processing apparatus, sound processing method and storage medium
CN108630213B (en) * 2017-03-22 2021-09-28 株式会社东芝 Sound processing device, sound processing method, and storage medium
CN107872576A (en) * 2017-11-02 2018-04-03 北京小米移动软件有限公司 Alarm clock prompting method, device and computer-readable recording medium
CN107872576B (en) * 2017-11-02 2021-05-04 北京小米移动软件有限公司 Alarm clock reminding method and device and computer readable storage medium
WO2019090613A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Ringing method and ringing system for alarm clock of smart terminal
CN111316623A (en) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 Alarm clock ringing method and system of intelligent terminal
WO2019205401A1 (en) * 2018-04-28 2019-10-31 平安科技(深圳)有限公司 Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof
CN109582272A (en) * 2018-11-23 2019-04-05 Oppo(重庆)智能科技有限公司 A kind of control method, terminal device and storage medium
CN109582272B (en) * 2018-11-23 2023-07-21 Oppo(重庆)智能科技有限公司 Control method, terminal equipment and storage medium
CN109495650B (en) * 2018-12-14 2021-01-15 北京小米移动软件有限公司 Alarm clock reminding method, device, terminal and storage medium
CN109495650A (en) * 2018-12-14 2019-03-19 北京小米移动软件有限公司 Alarm clock prompting method, device, equipment and storage medium
CN113766062A (en) * 2020-06-04 2021-12-07 上海惠芽信息技术有限公司 Method, device and storage medium for turning off alarm clock
CN113766062B (en) * 2020-06-04 2023-08-18 三六零科技集团有限公司 Method, device and storage medium for turning off alarm clock
CN112488406A (en) * 2020-12-08 2021-03-12 珠海格力电器股份有限公司 Alarm clock setting prediction method, device, equipment and storage medium
CN112689219A (en) * 2021-01-15 2021-04-20 上海闻泰信息技术有限公司 Method, apparatus, wireless headset and computer readable storage medium for managing sleep
CN113160533A (en) * 2021-05-07 2021-07-23 支付宝(杭州)信息技术有限公司 Reminding information generation method, device, equipment and medium
CN113746986A (en) * 2021-07-23 2021-12-03 荣耀终端有限公司 Control method of electronic equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN106453867A (en) Alarm clock control method and device
US11806158B2 (en) Adjusting alarms based on sleep onset latency
CN104683581B (en) A kind of intelligent terminal communication prompting method and apparatus
CN105282343B (en) A method and device for intelligent sleep reminder
CN111558120B (en) Sleep wake-up method, device, computer equipment and computer readable storage medium
EP3130967B1 (en) Method for managing an alarm clock and system associated
CN105786187B (en) Alarm clock time reminder method and device for a wearable device
CN104935727A (en) Method and device for answering call by intelligent wearable device
CN105662371A (en) Alarm method, device and equipment
US9832305B2 (en) Configure smartphone based on user sleep status
CN107968885B (en) Alarm clock reminding method, mobile terminal and computer readable storage medium
CN106453789B (en) Alarm clock volume adjusting method and device and intelligent terminal
CN111357267B (en) A method, device and electronic device for setting the ringing time of an alarm clock
US20150116117A1 (en) System and method for providing sleep recommendations
CN104750483A (en) Method and device of controlling terminal alarm clock
CN109302534B (en) Alarm clock reminding method and device
CN105847525A (en) A method, device and system for controlling the information reminder function of a mobile terminal
CN106686250A (en) Reminding mode setting method and device of intelligent terminal and intelligent watch
CN108310585A (en) A kind of deep sleep awakening method and its system based on Intelligent bracelet
CN105511604A (en) Alarm clock control method and device
CN107205086A (en) Alarm clock starting and closing method and device
CN111385417A (en) Alarm clock control method, device, electronic device and storage medium
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
CN113952578A (en) Sleep awakening method and device for insomnia treatment
CN108683816B (en) Alarm clock closing method, device and equipment based on wearable equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170222