CN106453867A - Alarm clock control method and device - Google Patents
Alarm clock control method and device Download PDFInfo
- 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
- mobile terminal
- configuration parameter
- value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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 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
Technical field
The present invention relates to the control method of electronic applications, more particularly to alarm clock and device.
Background technology
At present, user is when using mobile terminal, and alarm clock application becomes a very high application program of user's usage frequency,
User arranges an alarm clock in alarm clock application, for reminding user, e.g., when setting alarm clock is got up, reminds meeting for reminding
Between or other important things of memorandum.In some alarm clock application, the alarm clock calling function based on geographical position is additionally provided
And start to start the function of intelligent alarm clock before alarm clock jingle bell, the tone of intelligent alarm clock is very soft, is suitable for reminding user
Get up.
In the related prior art, the using method of alarm clock is:User first arranges the ring time of alarm clock, then arranges
The other configurations parameter (e.g., jingle bell music and MIDI Volume) of alarm clock.When ring time is reached, according to user setup
Jingle bell music reminding user.
But, the present inventor is had found during the present invention is realized:User using alarm clock when, if in advance
By the relatively low of MIDI Volume setting, it is possible to the jingle bell sound of alarm clock can not heard because of the noise of surrounding;, whereas if in advance
By the higher of MIDI Volume setting, it is possible to which the jingle bell sound that can be sounded by alarm clock suddenly is frightened, and such as in the morning, user is often dashed forward
Right jingle bell sound frightens awake.
Content of the invention
Based on above the problems of the prior art, the embodiment of the present invention proposes the control method of alarm clock and device, by obtaining
Kick up a row the ring time of clock, in the preset time period before ring time, obtain brightness values around mobile terminal, noise
The sleep state of the user of decibel value and/or acquisition alarm clock, according to the brightness values around mobile terminal, noise decibel value
And/or sleep state judges whether to need the mode of the configuration parameter for adjusting alarm clock, solves user when using alarm clock, by morning
Play alarm clock and the problem that wakes up or by screen intensity thorn during jingle bell to eyes is frightened suddenly, or because of the noise around mobile terminal
The problem of alarm clock is not heard, from alloing user preferably to remind morning using alarm clock, also will not be little and wrong because of alarm clock sound
Cross important prompting.
On the one hand, the embodiment of the present invention proposes a kind of control method of alarm clock, including:
Obtain the ring time of the alarm clock;
The ring time reach before preset time period in, obtain mobile terminal around environmental information and/or
Obtain the sleep state of the user of the alarm clock;Wherein, the environmental information around the mobile terminal includes mobile terminal week
The brightness values that encloses and/or noise decibel value;
If the use of environmental information and/or the alarm clock around the configuration parameter of the alarm clock and the mobile terminal
The sleep state of person is mismatched, then adjust the configuration parameter of the alarm clock.
Optionally, the sleep state of the user for obtaining the alarm clock includes:
State change message and/or sign information of the user of the alarm clock in sleep, according to the state change
Information and/or the sign information obtain the sleep state of the user of the alarm clock.
Optionally, if obtaining the brightness values around the mobile terminal, the configuration parameter of the alarm clock is at least wrapped
Include screen brightness value during alarm clock jingle bell;If or, obtain the noise decibel value around the mobile terminal, the alarm clock
Configuration parameter at least includes alarm clock volume value;If or, obtain the brightness values around the mobile terminal and noise decibel value,
Screen brightness value and/or alarm clock volume value when then the configuration parameter of the alarm clock at least includes alarm clock jingle bell.
Optionally, if screen brightness value during alarm clock jingle bell is mismatched with brightness values around the mobile terminal,
Screen brightness value when then adjusting the alarm clock jingle bell includes:
If between the brightness values around the mobile terminal for obtaining and the screen brightness value during alarm clock jingle bell
Difference be more than predetermined luminance difference, then adjust the screen brightness value during alarm clock jingle bell, be less than difference therebetween
Or it is equal to the predetermined luminance difference.
Optionally, if the noise decibel value around alarm clock volume value and the mobile terminal is mismatched, adjust described
Alarm clock volume value includes:
If the corresponding audible volume value of the noise decibel value around the mobile terminal for obtaining and the alarm clock sound
Difference between value then adjusts the alarm clock volume value more than volume difference is preset, and so that difference therebetween is less than or wait
In the default volume difference.
Optionally, the sleep state includes deep sleep state and sleeping state.
Optionally, described if it is determined that knowing the sleep state of the configuration parameter of the alarm clock and the alarm clock user not
Coupling, then the configuration parameter for adjusting the alarm clock includes:
If the configuration parameter of alarm clock is not in span corresponding with the sleep state, the configuration ginseng of alarm clock is adjusted
Number, makes the configuration parameter of alarm clock in span corresponding with sleep state.
On the other hand, the embodiment of the present invention proposes a kind of control device of alarm clock, including:
Ring time module is obtained, for obtaining the ring time of the alarm clock;
Information module is obtained, in the preset time period before the ring time is reached, obtaining mobile terminal week
The environmental information that encloses and/or the sleep state of the user for obtaining the alarm clock, wherein, the environment around the mobile terminal is believed
Breath includes the brightness values around mobile terminal and/or noise decibel value;
Adjustment module, if for the environmental information around configuration parameter and the mobile terminal of the alarm clock and/or
The sleep state of the user of the alarm clock is mismatched, then adjust the configuration parameter of the alarm clock.
Optionally, data obtaining module is used for:State of the user in sleep is gathered by sleep state harvester
Change information and/or sign information, obtain the sleep shape of user according to the state change message and/or the sign information
State.
Optionally, if obtaining the brightness values around the mobile terminal, the configuration parameter of the alarm clock is at least wrapped
Include screen brightness value during alarm clock jingle bell;If or, obtain the noise decibel value around the mobile terminal, the alarm clock
Configuration parameter at least includes alarm clock volume value;If or, obtain the brightness values around the mobile terminal and noise decibel value,
Screen brightness value and/or alarm clock volume value when then the configuration parameter of the alarm clock at least includes alarm clock jingle bell.
Optionally, the adjustment module is used for:If the brightness values around the mobile terminal for obtaining are noisy with described
The difference between screen brightness value during clock jingle bell is more than predetermined luminance difference, then adjust the screen intensity during alarm clock jingle bell
Value, makes difference therebetween less than or equal to the predetermined luminance difference.
Optionally, the adjustment module is used for:If the noise decibel value around the mobile terminal for obtaining is corresponding
Difference between audible volume value and the alarm clock volume value then adjusts the alarm clock volume value more than volume difference is preset,
Difference therebetween is made less than or equal to the default volume difference.
Optionally, the sleep state includes deep sleep state and sleeping state.
Optionally, the adjustment module is used for:If the configuration parameter of alarm clock is not taken corresponding with the sleep state
The configuration parameter of alarm clock in the range of value, is adjusted, and the configuration parameter of alarm clock is made in span corresponding with sleep state.
Using technique scheme, have the advantages that:
By obtaining the ring time of alarm clock, in the preset time period before ring time, obtain around mobile terminal
Brightness values, noise decibel value and/or obtain alarm clock user sleep state, according to the brightness around mobile terminal
Value, noise decibel value and/or sleep state judge whether to need the mode of the configuration parameter for adjusting alarm clock, and solving user makes
When alarm clock is used, the problem that wakes up or by screen brightness value thorn during jingle bell to eyes is frightened suddenly by alarm clock from morning, or because mobile
The noise of terminal surrounding and do not hear the problem of alarm clock, from alloing user preferably to remind morning using alarm clock, also will not be because
Important prompting is missed for alarm clock sound is little.
Description of the drawings
Fig. 1 is the flow chart of the control method of alarm clock according to an embodiment of the invention;
Fig. 2 is the flow chart of the control method of alarm clock in accordance with another embodiment of the present invention;
Fig. 3 is the block diagram of the control device of alarm clock in accordance with another embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention is clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment for being obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
With reference to Fig. 1, the embodiment of the present invention proposes a kind of control method of alarm clock, including:
Step S001, obtains the ring time of alarm clock;
Step S002, in the preset time period before ring time is reached, obtains the environmental information around mobile terminal
And/or the sleep state of the user of acquisition alarm clock, wherein, the environmental information around mobile terminal is included around mobile terminal
Brightness values and/or noise decibel value;
Step S003, if it is determined that know the environmental information around the configuration parameter of the alarm clock and the mobile terminal
And/or the sleep state of the user of the alarm clock is mismatched, then adjust the configuration parameter of the alarm clock.
Mobile terminal in the embodiment of the present invention is included but is not limited to:Mobile phone, panel computer, computer, intelligent watch, intelligence
Can bracelet and other intelligent terminal etc..
Embodiment one:
Below with mobile terminal as mobile phone, as a example by adjusting the configuration parameter of alarm clock according to the environmental information around mobile terminal
Illustrate.
In embodiments of the present invention, the environmental information around mobile terminal include brightness values around mobile terminal and/
Or noise decibel value.The alarm clock application that installs on mobile phone is typically supported to arrange multiple alarm clocks, does area according to different alarm clock names
Point.By taking the alarm clock for setting on mobile phone as an example, such as alarm clock name is " wakeup alarm clock ".Alarm clock application be on mobile phone
Alarm clock application program, and alarm clock herein is the alarm clock example for jingle bell for arranging in alarm clock application, referred to as noisy
Clock.
In step S001, it is that " wakeup alarm clock " is corresponding to obtain alarm clock name the ring time for preserving from alarm clock application
Ring time.
In the alarm clock name memory space for being stored in mobile phone corresponding with ring time.
In step S002, the time period between current time and ring time is detected, if the time period is more than presetting
Between section, then first do not obtain the environmental information around mobile terminal;If the time period is less than or equal to preset time period, start to obtain
Take the environmental information around mobile terminal.
Mobile phone detects a time period between current time and ring time whenever a detection cycle is reached.Default
Time period is the time period for pre-setting, such as 1 hour.
If the environmental information of the mobile terminal period for obtaining is brightness values, the configuration parameter of alarm clock includes alarm clock jingle bell
When screen brightness value.If the environmental information around the mobile terminal for obtaining is noise decibel value, the configuration parameter bag of alarm clock
Include alarm clock volume value.If the environmental information around the mobile terminal for obtaining includes brightness values and noise decibel value, alarm clock
Screen brightness value and/or alarm clock volume value when configuration parameter includes alarm clock jingle bell.
In step S003, if the brightness values around the configuration parameter of the alarm clock and mobile terminal and/or noise divide
Shellfish value is mismatched, then adjust the configuration parameter of alarm clock.
Wherein, can make alarm clock according to around current mobile terminal brightness values adjust alarm clock jingle bell when screen intensity
Value, screen brightness value when making alarm clock jingle bell diminishes with the brightness values gap of surrounding, so that human eye feels comfortable.
In embodiments of the present invention, if the brightness values around the mobile terminal for obtaining are with the alarm clock jingle bell
Screen brightness value between difference be more than predetermined luminance difference, determine mismatch, adjust the alarm clock jingle bell when screen bright
Angle value, makes difference therebetween less than or equal to the predetermined luminance difference.
In addition, alarm clock can be also adjusted according to the noise decibel value (i.e. the decibel of environmental noise) around current mobile terminal
Section volume value of the alarm clock in jingle bell.
In embodiments of the present invention, if the corresponding audible sound of the noise decibel value around the mobile terminal for obtaining
Difference between value and the alarm clock volume value is determined and mismatches more than volume difference is preset, and adjusts the alarm clock volume value,
Difference therebetween is made less than or equal to the default volume difference.
Certainly, as in another optional embodiment, while alarm clock volume value is adjusted, it is also possible to adjust jingle bell
Duration and/or jingle bell music for example, using the jingle bell that the alarm clock volume of big volume, prolonged jingle bell duration and sense of rhythm are strong
Music, using slow, the soft jingle bell music of the alarm clock volume of small volume, the jingle bell duration of short time and rhythm.
In embodiments of the present invention, mobile terminal actively can go to gather environmental information (e.g., the light around mobile terminal
Angle value and/or noise decibel value), or mobile terminal passively receive external device (ED) acquisition mobile terminal around environment letter
Breath.Wherein, specifically can be by the brightness values around photoelectric sensor collection mobile terminal, by voice collection device (as recorded
Application program or mike) collection mobile terminal around noise decibel value.Specific acquisition principle and implementation method are existing
Technology, the present invention is repeated no more to this.
By obtaining the ring time of alarm clock, in the preset time period before ring time, obtain around mobile terminal
Brightness values and/or noise decibel value, judge whether need according to the brightness values around mobile terminal and/or noise decibel value
The mode of the configuration parameter of alarm clock to be adjusted, solves user when using alarm clock, is frightened by alarm clock from morning suddenly and wakes up or rung
Screen brightness value thorn during bell is to the problem of eyes, or does not hear the problem of alarm clock because of the noise around mobile terminal, makes
From user preferably can remind morning using alarm clock, also important prompting will not be missed because alarm clock sound is little.
Embodiment two:
Below with mobile terminal as mobile phone, enter as a example by the configuration parameter for adjusting alarm clock according to the sleep state of alarm clock user
Row explanation.
With reference to Fig. 2, the embodiment of the present invention proposes a kind of control method of alarm clock, including:
Step S201, obtains the ring time of alarm clock.
Step S202, detects the time period between current time and ring time, if the time period is more than preset time period,
The sleep state of the user of alarm clock is not then first obtained;If the time period is less than or equal to preset time period, starts to obtain and make a noise
The sleep state of the user of clock.
Step S203, the sleep state collection outside mobile terminal being connected by mobile terminal or with mobile terminal
State change message and/or sign information during device collection user sleep, according to state change message and/or sign information
Obtain the sleep state of user.
Wherein, sleep state is divided into deep sleep state and sleeping state.User sleep when state change message be
The change information of user state of body in sleep, which includes the change frequency of the state of body, the changing of the state of body
Become as from lying status to side state.When people is in deep sleep state, it is difficult to be bothered by the external world, it is not easy to stir body
Change Deng, the state of body is not easy to change, it is possible to according to the change frequency of state of the human body in sleep with respect to
Less during sleeping state.Therefore, one threshold value of change frequency setting of the state of body can be directed to, if the body of actual acquisition
The change frequency of the state of body is more than or equal to default frequency threshold, it is determined that user is in sleeping state, whereas if
The change frequency of the state of the body of actual acquisition is less than default frequency threshold, it is determined that user is in deep sleep state.
Sign information during user sleep includes:Beat pulse number of times or respiratory frequency.By detecting beat pulse
Number or respiratory frequency can also learn the sleep state of user, when people is in deep sleep state, beat pulse number of times and breathing
Frequency is slower with respect to during sleeping state.Therefore, beat pulse number of times can be directed to or respiratory frequency sets a threshold value respectively,
If the beat pulse number of times of actual acquisition is more than or equal to default beat pulse threshold value, it is determined that user is in shallow sleep shape
State, whereas if the beat pulse number of times of actual acquisition is less than default beat pulse threshold value, it is determined that user is in deep sleep
State.Equally, if the respiratory frequency of actual acquisition is more than or equal to default respiratory frequency threshold value, it is determined that user is in shallow
Sleep state, whereas if the respiratory frequency of actual acquisition is less than default respiratory frequency threshold value, it is determined that user is in sound sleep
Dormancy state.
Step S204, if the configuration parameter of alarm clock adjusts the configuration not in span corresponding with sleep state
Parameter so as in span corresponding with sleep state.
The span of the configuration parameter of alarm clock corresponding with deep sleep state and sleeping state is respectively provided with, e.g.,
The span for arranging alarm clock volume value corresponding with deep sleep state is 4-5.If it is determined that alarm clock user is in deep sleep
State, but alarm clock volume value is not in the span, then adjust alarm clock volume value so as in the span, or make
Which is changed to alarm clock volume value by the little mode for becoming larger.
Certainly, in addition to alarm clock volume value, alarm clock corresponding with deep sleep state and sleeping state is also respectively provided with
Screen brightness value during jingle bell.
In the present embodiment, by judging whether sleep state is deep sleep state and judges any one ginseng in configuration parameter
Whether number is unsatisfactory for the mode of deep sleep condition, whether is adjusted corresponding configuration parameter, when regulating allocation parameter is needed,
To needing the configuration parameter for adjusting to be adjusted, the user of mobile terminal is made in the case of deep sleep state, can be with little
Volume is first waken up to sleeping state from deep sleep state, is waken from sleeping state then, it is to avoid the body to user
Body causes to damage.
Embodiment three:
With reference to Fig. 3, the embodiment of the present invention proposes a kind of control device of alarm clock, including:
Ring time module 301 is obtained, for obtaining the ring time of alarm clock;
Information module 302 is obtained, for, in the preset time period before ring time is reached, obtaining around mobile terminal
Environmental information and/or obtain alarm clock user sleep state, wherein, the environmental information around mobile terminal include movement
The brightness values of terminal surrounding and/or noise decibel value;
Adjustment module 303, if for the environmental information around configuration parameter and the mobile terminal of the alarm clock and/
Or the sleep state of the user of the alarm clock is mismatched, then adjust the configuration parameter of the alarm clock.
In an optional embodiment of the present invention, in information module 302 is obtained, by sleep state harvester
State change message and/or sign information of the collection user in sleep, according to the state change message and/or the body
Reference breath obtains the sleep state of user.
In another optional embodiment of the present invention, if obtaining the brightness values around the mobile terminal,
The configuration parameter of the alarm clock at least includes screen brightness value during alarm clock jingle bell;If or, obtained around the mobile terminal
Noise decibel value, then the configuration parameter of the alarm clock at least include alarm clock volume value;If or, obtaining the mobile terminal week
The brightness values that encloses and noise decibel value, then the screen brightness value when configuration parameter of the alarm clock at least includes alarm clock jingle bell
And/or alarm clock volume value.
In another optional embodiment of the present invention, in adjustment module 303, if the mobile terminal for obtaining
The difference between screen brightness value when the brightness values of surrounding and the alarm clock jingle bell is more than predetermined luminance difference, then adjust institute
Screen brightness value during alarm clock jingle bell is stated, and difference therebetween is made less than or equal to the predetermined luminance difference.
In another optional embodiment of the present invention, in adjustment module 303, the adjustment module is used for:If
The corresponding audible volume value of noise decibel value around the mobile terminal for obtaining and the difference between the alarm clock volume value
Value then adjusts the alarm clock volume value more than volume difference is preset, and makes difference therebetween less than or equal to the default sound
Amount difference.
In another optional embodiment of the present invention, the sleep state includes deep sleep state and shallow sleep shape
State.
In another optional embodiment of the present invention, in adjustment module 303, if the configuration parameter of alarm clock does not exist
In span corresponding with the sleep state, adjust the configuration parameter of alarm clock, make the configuration parameter of alarm clock with sleep shape
In the corresponding span of state.
In the present embodiment, the difference between the screen brightness value in current brightness values and configuration parameter is bright with default
Whether degree difference comparsion, needed the screen brightness value in regulating allocation parameter, enable the user of mobile terminal black
In the dark not by high light twinge eyes, the screen of mobile terminal will not be seen under high light yet;By current noise decibel value pair
Whether the difference between alarm clock volume value and default volume difference comparsion in the audible volume value that answers and configuration parameter, obtain
The alarm clock volume value in regulating allocation parameter is needed, when the user of mobile terminal is enable from the morning, not by unexpected big sound
Amount the tinkle of bells wakes up.
In addition, by judging whether sleep state is deep sleep state and whether judges any one parameter in configuration parameter
The mode of deep sleep condition is unsatisfactory for, corresponding configuration parameter whether is adjusted, when regulating allocation parameter is needed, to needing
The configuration parameter of regulation is adjusted, and makes the user of mobile terminal in the case of deep sleep state, can be with small volume elder generation
Waken up to sleeping state from deep sleep state, waken from sleeping state then, it is to avoid the body of user is caused
Damage.
Example IV:
The embodiment of the present invention proposes a kind of electronic equipment, including:
At least one processor;And,
The memorizer being connected with least one processor communication;Wherein,
Memory storage can be instructed by least one computing device, so that at least by the instruction of a computing device
One processor can:
Obtain the ring time of alarm clock;
In preset time period before ring time is reached, the environmental information around mobile terminal and/or acquisition is obtained
The sleep state of the user of alarm clock, wherein, the environmental information around mobile terminal includes the brightness values around mobile terminal
And/or noise decibel value;
If the use of environmental information and/or the alarm clock around the configuration parameter of the alarm clock and the mobile terminal
The sleep state of person is mismatched, then adjust the configuration parameter of the alarm clock.
Embodiment five:
The embodiment of the present invention proposes a kind of computer program, and computer program includes to be stored in non-transient calculating
Calculation procedure on machine readable storage medium storing program for executing, computer program includes programmed instruction, when programmed instruction is computer-executed, makes
Computer is executed:
Obtain the ring time of alarm clock;
In preset time period before ring time is reached, the environmental information around mobile terminal and/or acquisition is obtained
The sleep state of the user of alarm clock, wherein, the environmental information around mobile terminal includes the brightness values around mobile terminal
And/or noise decibel value;
If the use of environmental information and/or the alarm clock around the configuration parameter of the alarm clock and the mobile terminal
The sleep state of person is mismatched, then adjust the configuration parameter of the alarm clock.
Embodiment six:
The embodiment of the present invention proposes a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage
Medium storing computer is instructed, and the computer instruction is used for executing the computer:
Obtain the ring time of alarm clock;
In preset time period before ring time is reached, the environmental information around mobile terminal and/or acquisition is obtained
The sleep state of the user of alarm clock, wherein, the environmental information around mobile terminal includes the brightness values around mobile terminal
And/or noise decibel value;
If the use of environmental information and/or the alarm clock around the configuration parameter of the alarm clock and the mobile terminal
The sleep state of person is mismatched, then adjust the configuration parameter of the alarm clock.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in computer read/write memory medium.
Program during execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, light
Disk, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
Based on such understanding, the technical scheme of the embodiment of the present invention is substantially contributed to prior art in other words
The part of part or the technical scheme can be embodied in the form of software product, and the computer software product is stored in one
In individual storage medium, use so that a mobile terminal (can be personal computer, server, or net including some instructions
Network equipment etc.) execute each embodiment methods described of the present invention all or part of step.And aforesaid storage medium includes:U
Disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access
Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
Device embodiment described above is only that schematically wherein the unit for illustrating as separating component can
To be or may not be physically separate, as the part that unit shows can be or may not be physics list
Unit, you can be located at a place, or can also be distributed on multiple NEs.Which is selected according to the actual needs can
In some or all of module realizing the purpose of embodiment of the present invention scheme.Those of ordinary skill in the art are not paying wound
In the case of the work of the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Mode by software plus required general hardware platform is realizing, naturally it is also possible to realized by hardware.Based on such reason
Solution, the part that technique scheme is substantially contributed to prior art in other words can be embodied in the form of software product
Come, the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including
Some instructions are used so that a computer equipment (can be personal computer, server, or network equipment etc.) executes respectively
Method described in some parts of individual embodiment or embodiment.
Finally it should be noted that:Above example is only in order to illustrating the technical scheme of the embodiment of the present invention, rather than which is limited
System;Although being described in detail to the embodiment of the present invention with reference to the foregoing embodiments, one of ordinary skill in the art should
Understand:Which still can be modified to the technical scheme described in foregoing embodiments, or to which part technical characteristic
Carry out equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention skill
The spirit and scope of art scheme.
Claims (14)
1. a kind of control method of alarm clock, it is characterised in that include:
Obtain the ring time of the alarm clock;
In preset time period before the ring time is reached, the environmental information around mobile terminal and/or acquisition is obtained
The sleep state of the user of the alarm clock;Wherein, the environmental information around the mobile terminal is included around mobile terminal
Brightness values and/or noise decibel value;
If the user of environmental information and/or the alarm clock around the configuration parameter of the alarm clock and the mobile terminal
Sleep state is mismatched, then adjust the configuration parameter of the alarm clock.
2. the control method of alarm clock according to claim 1, it is characterised in that:The user for obtaining the alarm clock
Sleep state includes:
State change message and/or sign information of the user of the alarm clock in sleep, according to the state change message
And/or the sign information obtains the sleep state of the user of the alarm clock.
3. the control method of alarm clock according to claim 1, it is characterised in that:
If obtaining the brightness values around the mobile terminal, when the configuration parameter of the alarm clock at least includes alarm clock jingle bell
Screen brightness value;Or,
If obtaining the noise decibel value around the mobile terminal, the configuration parameter of the alarm clock at least includes alarm clock volume
Value;Or,
If obtaining the brightness values around the mobile terminal and noise decibel value, the configuration parameter of the alarm clock is at least wrapped
Screen brightness value and/or alarm clock volume value when including alarm clock jingle bell;Or,
If obtaining the sleep state of the alarm clock user, when the configuration parameter of the alarm clock at least includes alarm clock jingle bell
Screen brightness value and/or alarm clock volume value.
4. the control method of alarm clock according to claim 3, it is characterised in that:
If the brightness values around screen brightness value during alarm clock jingle bell and the mobile terminal are mismatched, adjust described noisy
Screen brightness value during clock jingle bell includes:
If the difference between the brightness values around the mobile terminal for obtaining and the screen brightness value during alarm clock jingle bell
Value then adjusts the screen brightness value during alarm clock jingle bell more than predetermined luminance difference, so that difference therebetween is less than or wait
In the predetermined luminance difference.
5. the control method of alarm clock according to claim 3, it is characterised in that:
If the noise decibel value around alarm clock volume value and the mobile terminal is mismatched, the alarm clock volume value bag is adjusted
Include:
If the corresponding audible volume value of the noise decibel value around the mobile terminal for obtaining and the alarm clock volume value
Between difference more than volume difference is preset, then adjust the alarm clock volume value, make difference therebetween less than or equal to institute
State default volume difference.
6. the control method of alarm clock according to claim 1, it is characterised in that:The sleep state includes deep sleep state
And sleeping state.
7. the control method of the alarm clock according to any one of claim 1 to 6, it is characterised in that:Described if it is determined that knowing
The configuration parameter of the alarm clock is mismatched with the sleep state of the alarm clock user, then adjust the configuration parameter bag of the alarm clock
Include:
If the configuration parameter of alarm clock is not in span corresponding with the sleep state, the configuration parameter of alarm clock is adjusted,
The configuration parameter of alarm clock is made in span corresponding with sleep state.
8. a kind of control device of alarm clock, it is characterised in that include:
Ring time module is obtained, for obtaining the ring time of the alarm clock;
Information module is obtained, for, in the preset time period before the ring time is reached, obtaining around mobile terminal
Environmental information and/or obtain the alarm clock user sleep state, wherein, environmental information bag around the mobile terminal
Include the brightness values around mobile terminal and/or noise decibel value;
Adjustment module, if for the environmental information around configuration parameter and the mobile terminal of the alarm clock and/or described
The sleep state of the user of alarm clock is mismatched, then adjust the configuration parameter of the alarm clock.
9. the control device of alarm clock according to claim 8, it is characterised in that:Described information acquisition module is used for:Pass through
State change message and/or sign information of the sleep state harvester collection user in sleep, change according to the state
Change information and/or the sign information obtain the sleep state of user.
10. the control device of alarm clock according to claim 8, it is characterised in that:
If obtaining the brightness values around the mobile terminal, when the configuration parameter of the alarm clock at least includes alarm clock jingle bell
Screen brightness value;Or,
If obtaining the noise decibel value around the mobile terminal, the configuration parameter of the alarm clock at least includes alarm clock volume
Value;Or,
If obtaining the brightness values around the mobile terminal and noise decibel value, the configuration parameter of the alarm clock is at least wrapped
Screen brightness value and/or alarm clock volume value when including alarm clock jingle bell.
The control device of 11. alarm clocks according to claim 10, it is characterised in that:The adjustment module is used for:If obtained
The difference between screen brightness value when the brightness values around the mobile terminal for taking and the alarm clock jingle bell is more than default
Luminance difference, then adjust the screen brightness value during alarm clock jingle bell, makes difference therebetween default less than or equal to described
Luminance difference.
The control device of 12. alarm clocks according to claim 10, it is characterised in that:The adjustment module is used for:If obtained
Difference between the corresponding audible volume value of the noise decibel value around the mobile terminal for taking and the alarm clock volume value
More than volume difference is preset, then the alarm clock volume value being adjusted, difference therebetween is made less than or equal to the default volume
Difference.
The control device of 13. alarm clocks according to claim 8, it is characterised in that:The sleep state includes deep sleep shape
State and sleeping state.
The control device of 14. alarm clocks according to any one of claim 8 to 13, it is characterised in that:The adjustment module is used
In:The configuration parameter of alarm clock if the configuration parameter of alarm clock is not in span corresponding with the sleep state, is adjusted, is made
The configuration parameter of alarm clock is in span corresponding with sleep state.
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)
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)
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 |
-
2016
- 2016-09-27 CN CN201610855577.XA patent/CN106453867A/en active Pending
Patent Citations (4)
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)
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 | |
CN105282343B (en) | A kind of method and apparatus for intelligent reminding of sleeping | |
CN104683581B (en) | A kind of intelligent terminal communication prompting method and apparatus | |
CN111558120B (en) | Sleep wake-up method, device, computer equipment and computer readable storage medium | |
CN109120790B (en) | Call control method and device, storage medium and wearable device | |
US20160051184A1 (en) | System and method for providing sleep recommendations using earbuds with biometric sensors | |
WO2019205401A1 (en) | Method for intelligent adjustment of ringtone of intelligent terminal, and control method and device thereof | |
CN105872228A (en) | Alarm clock reminding processing method and device, and terminal | |
CN111282126A (en) | Sleep wake-up method and device | |
CN108429972B (en) | Music playing method, device, terminal, earphone and readable storage medium | |
CN104917902A (en) | Method and system for controlling music playing status of terminal | |
CN105377129A (en) | Adjustment of sensory stimulation intensity to enhance sleep slow wave activity | |
CN110533894B (en) | Visual fatigue reminding method, device, equipment and readable storage medium | |
CN103491251A (en) | Method and terminal for monitoring user calls | |
CN105847525A (en) | Method, apparatus and system for controlling information reminding function of mobile terminal | |
US20150116117A1 (en) | System and method for providing sleep recommendations | |
CN108375909A (en) | A kind of parameters analysis method, device, equipment and computer readable storage medium | |
CN111001073A (en) | Method and device for improving sleep quality and intelligent wearable equipment | |
CN106295158B (en) | A kind of automatic aided management system of infant, management method and equipment | |
KR20170094137A (en) | Configure smartphone based on user sleep status | |
CN107837075A (en) | Dreamland monitoring device and monitoring method | |
CN106264470A (en) | The method and device of sleep monitor | |
CN109491520A (en) | A kind of sitting based reminding method and wrist wearable device based on wrist wearable device | |
CN106453789B (en) | Alarm clock volume adjusting method and device and intelligent terminal | |
CN113639449A (en) | Method and device for controlling air conditioner and air conditioner |
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 |