CN107241506A - The method and device of a kind of alarm clock jingle bell of control intelligent terminal - Google Patents

The method and device of a kind of alarm clock jingle bell of control intelligent terminal Download PDF

Info

Publication number
CN107241506A
CN107241506A CN201710464430.2A CN201710464430A CN107241506A CN 107241506 A CN107241506 A CN 107241506A CN 201710464430 A CN201710464430 A CN 201710464430A CN 107241506 A CN107241506 A CN 107241506A
Authority
CN
China
Prior art keywords
bell
default
quarter
user
intelligent terminal
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
CN201710464430.2A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710464430.2A priority Critical patent/CN107241506A/en
Publication of CN107241506A publication Critical patent/CN107241506A/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/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
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4809Sleep detection, i.e. determining whether a subject is asleep or not
    • 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
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The present invention relates to the method and device in intelligent terminal field, more particularly to a kind of alarm clock jingle bell of control intelligent terminal, this method includes:Determine whether current time reaches default alarm time, when current time reaches default alarm time, obtain the distance between user and intelligent terminal, determine whether distance is less than or equal to default quarter-bell distance again, when distance be less than or equal to default quarter-bell apart from when, judge whether user is in sleep state, when user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.Embodiment of the present invention can be when current time reaches default alarm time, user is only met at the same time in the range of quarter-bell and when user is in the two conditions of sleep state, the alarm clock of intelligent terminal can be just controlled to start quarter-bell, avoid the user disturbed by making noise to having wakeeed up, also avoid simultaneously in alarm clock of the user away from intelligent terminal, the alarm clock of intelligent terminal remains unchanged quarter-bell and disturbed by making noise to other people.

Description

The method and device of a kind of alarm clock jingle bell of control intelligent terminal
Technical field
Embodiment of the present invention is related to intelligent terminal field, more particularly to a kind of alarm clock jingle bell of control intelligent terminal Method and device.
Background technology
With the development of present age computer technology and mobile communication equipment technology, the life style of people is also overturned the heavens The change on ground is covered, various intelligent terminals enter in daily life one after another.The timing in ancient times and awakening method are by beating More either crow, was then then the electronic clock finally by bulky mechanical clock to modern times, but people nearly ten years The instrument as wake-up the alarm clock of intelligent terminal is get used to.The work and rest mode of rule is very heavy for the life of modern The ring wanted, not only influences Working Life, more influences healthy.
The alarm clock of existing intelligent terminal is typically all, in the default alarm time of arrival people, quarter-bell just to be carried out automatically Action, the specific situation that can not be but presently according to people controls quarter-bell to act, for example, when people are away from alarm clock, making a noise Clock remain unchanged startup quarter-bell have influence on house friend, or people be in awake state when, alarm clock, which remains unchanged, to sound and disturbs by making noise to user.
The content of the invention
Embodiment of the present invention is mainly solving the technical problems that provide a kind of side for the alarm clock jingle bell for controlling intelligent terminal Whether method and device, can first judge user while in quarter-bell scope when current time reaches default alarm time Under interior and sleep state, only when user is simultaneously in the range of quarter-bell with sleep state, then the alarm clock of intelligent terminal is controlled Start quarter-bell, it is to avoid disturb by making noise to the user wakeeed up, while it also avoid when user is away from intelligent terminal, intelligent terminal it is noisy Clock remains unchanged quarter-bell and disturbed by making noise to other people.
In order to solve the above technical problems, the technical scheme that embodiment of the present invention is used is to provide a kind of control intelligence The method of the alarm clock jingle bell of energy terminal, including:
Judge whether current time reaches default alarm time;
When current time reaches default alarm time, the distance between user and intelligent terminal are obtained;
Whether judging distance is less than or equal to default quarter-bell distance;
When distance be less than or equal to default quarter-bell apart from when, judge user whether in sleep state;
When user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.
Optionally, before the step of whether user is in sleep state is judged, method also includes:
When distance be less than or equal to default quarter-bell apart from when, obtain user's local environment ambient sound decibel;
Judge ambient sound decibel whether greater than default cancellation quarter-bell decibel;
When ambient sound decibel is greater than default cancellation quarter-bell decibel, then the alarm clock of intelligent terminal is controlled not Start quarter-bell;
When ambient sound decibel less than it is default cancellation quarter-bell decibel when, into judge user whether be in it is dormant Step.
Optionally, judge that the step of whether user is in sleep state includes:
Obtain user the first physiological parameter and or the first action parameter;
According to the first physiological parameter and or the first action parameter judge user whether be in sleep state.
Optionally, before the step of whether current time reaches default alarm time is judged, method also includes:
Judge whether current time reaches default readiness time, readiness time is before alarm time;
When current time reaches default readiness time, the purpose event bound with default alarm time is obtained;
Whether judge purpose event is trip event;
If purpose event is trip event, destination is obtained from purpose event, and obtain from intelligent terminal institute In position to the traffic grade between destination;
Judge traffic grade whether greater than default quarter-bell grade in advance;
When traffic grade is greater than default quarter-bell grade in advance, default standby alarm time is made For new default alarm time, default standby alarm time is between default readiness time and default alarm time.
Optionally, method also includes:
When the alarm clock of intelligent terminal starts quarter-bell, start timing;
Judge whether timing duration is more than or equal to default quarter-bell duration again;
When timing duration is more than or equal to the default duration of quarter-bell again, the second physiological parameter and the of user is obtained Two kinematic parameters;
Judge whether user is in sleep state according to the second physiological parameter and the second kinematic parameter;
When user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.
The technical scheme that embodiment of the present invention is used also provides a kind of device for the alarm clock jingle bell for controlling intelligent terminal, bag Include:
First judge module, for judging whether current time reaches default alarm time;
First acquisition module, for when current time reaches default alarm time, obtain user and intelligent terminal it Between distance;
Whether the second judge module, be less than or equal to default quarter-bell distance for judging distance;
3rd judge module, for when distance be less than or equal to default quarter-bell apart from when, judge whether user is in Sleep state;
First starting module, for when user is in sleep state, the alarm clock of control intelligent terminal to start quarter-bell.
Optionally, device also includes:
Second acquisition module, for when distance be less than or equal to default quarter-bell apart from when, obtain user's local environment Ambient sound decibel;
4th judge module, for judging ambient sound decibel whether greater than default cancellation quarter-bell decibel;
Control not starting module, for when ambient sound decibel is greater than default cancellation quarter-bell decibel, then The alarm clock of control intelligent terminal does not start quarter-bell.
Optionally, the 3rd judge module includes:
3rd acquisition module, for obtain user the first physiological parameter and or the first action parameter;
5th judge module, for according to the first physiological parameter and or the first action parameter judge user whether in sleeping Dormancy state.
Optionally, device also includes:
6th judge module, for judging whether current time reaches default readiness time, readiness time is in quarter-bell Between before;
4th acquisition module, for when current time reaches default readiness time, obtaining and default alarm time The purpose event of binding;
7th judge module, for judging whether purpose event is trip event;
5th acquisition module, for when purpose event is trip event, then obtaining destination from purpose event, and And obtain from intelligent terminal position to the traffic grade between destination;
8th judge module, for judging traffic grade whether greater than default quarter-bell grade in advance;
Update module, for when traffic grade greater than it is default in advance quarter-bell grade when, will be default Standby alarm time is as new default alarm time, and default standby alarm time is before default alarm time.
Optionally, device also includes:
Timing module, for when the alarm clock of intelligent terminal starts quarter-bell, starting timing;
9th judge module, for judging whether timing duration is more than or equal to default quarter-bell duration again;
6th acquisition module, for when timing duration is more than or equal to the default duration of quarter-bell again, obtaining user The second physiological parameter and the second kinematic parameter;
Tenth judge module, for judging user whether in sleep shape according to the second physiological parameter and the second kinematic parameter State;
Second starting module, for when user is in sleep state, the alarm clock of control intelligent terminal to start quarter-bell.
The beneficial effect of embodiment of the present invention is:The situation of prior art is different from, embodiment of the present invention is first determined Whether current time reaches default alarm time, when current time reaches default alarm time, obtains user and intelligence The distance between terminal, then determine whether the distance is less than or equal to default quarter-bell distance, when distance is less than or equal to Default quarter-bell apart from when, judge whether user is in sleep state, when user is in sleep state, control intelligent terminal Alarm clock starts quarter-bell.So as to realize when current time reaches default alarm time, it is necessary to while meeting user is in quarter-bell In the range of and user be in sleep state under the two conditions, can just control intelligent terminal alarm clock start quarter-bell, it is to avoid disturb by making noise and arrive The user wakeeed up, while also avoid when user is away from intelligent terminal, the alarm clock of intelligent terminal remains unchanged quarter-bell and disturbed by making noise to it Other people.
Brief description of the drawings
Fig. 1 is a kind of flow signal of the method for the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention one is provided Figure;
Fig. 2 is a kind of flow signal of the method for the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention two is provided Figure;
Fig. 3 is a kind of schematic diagram of the device of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic diagram of the device of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention four is provided;
Fig. 5 is the hardware architecture diagram that embodiment of the present invention provides electronic equipment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with drawings and the embodiments, The present invention will be described in further detail.It should be appreciated that embodiment described herein is only to explain the present invention, It is not intended to limit the present invention.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of method of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention one is provided Schematic flow sheet.As shown in figure 1, this method includes:
Step 101:Judge whether current time reaches default alarm time;
Default alarm time is time of the user according to set by self-demand, and user is setting the same of alarm time When, some purpose events and the alarm time can be bound, to remind the use after the alarm clock of intelligent terminal wakes up user The also purposeful event in family will be completed.
Step 102:When current time reaches default alarm time, the distance between user and intelligent terminal are obtained;
Intelligent terminal and the wearable device of user are kept in communication connection, and the wearable device of user includes Intelligent bracelet and intelligence Wrist-watch etc., when current time reaches default alarm time, the wearable device of distance-sensor and user in intelligent terminal In distance-sensor start to calculate the distance of now intelligent terminal and the wearable device of user, and the range information is sent to The intelligent terminal.
Step 103:Whether judging distance is less than or equal to default quarter-bell distance;
Default quarter-bell distance for user according to self-demand pre-set apart from length, this can use apart from length Family is determined according to the size in oneself bedroom.
Step 104:When distance be less than or equal to default quarter-bell apart from when, judge user whether in sleep state;
The wearable device of user can monitor in real time and record user physiological parameter and or kinematic parameter, physiological parameter can To be heart rate data, respiratory rate and body temperature of user etc., kinematic parameter is by the gravity sensor acquisition of wearable device, motion ginseng Number can be present speed and acceleration of user etc., for judging that user remains static or motion state, Yi Jiyun The movement range of dynamic state.By physiological parameter and or kinematic parameter judge user whether be in sleep state.
For example, in advance collection user be in static and waking state under heart rate variability data as it is static clear-headed when the heart Rate standard, when the user obtained in real time heart rate data greater than or equal to this it is static clear-headed when heart rate criteria when, then judge should User is now in motion or static waking state, when the heart rate data of the user obtained in real time is less than the static clear-headed heart During rate standard, then judge that the user is now in sleep state.In another example, collection user is under static and waking state in advance Kinematic parameter as it is static clear-headed when motion criteria, according to gravity sensor obtain user kinematic parameter, when detection Kinematic parameter less than this it is static clear-headed when motion criteria when, judge that the user is now in waking state, when the motion of detection Parameter less than this it is static clear-headed when motion criteria when, judge that the user is now in sleep state.Further, it will can obtain The physiological parameter and kinematic parameter taken, which combines, judges whether user is now in sleep state, it is to avoid user occur in sleep In have nightmares and make increased heart rate, cause the situation that error is judged only by physiological parameter.
Certainly, in embodiment of the present invention, user can also be judged whether in sleep shape by obtaining other specification State, for example, the audio parameter sent by the radio equipment acquisition user in wearable device is slept to judge whether user is in State, records, preserves and analyze voice of the user under waking state and snoring sound in a sleep state, work as identification first When device identifies the sound of the user of sound pick-up outfit real-time reception for voice, then judge that user is in waking state, work as knowledge When other device identifies the sound of the user of sound pick-up outfit real-time reception for snoring sound, then judge that user is in sleep state.
Step 105:When user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.
When execution step 104 judges that user is in sleep state, controlling function alarm clock starts quarter-bell, the mode bag of quarter-bell Include broadcasting music and vibrations etc..
In embodiments of the present invention, first determine whether current time reaches default alarm time, when current time is arrived During up to default alarm time, obtain the distance between alarm clock of user and intelligent terminal, then determine distance whether be less than or Equal to default quarter-bell distance, when distance be less than or equal to default quarter-bell apart from when, judge user whether in shape of sleeping State, when user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.Reach default in current time so as to realize Alarm time when, it is necessary to while meet user be in quarter-bell in the range of and user be in sleep state under the two conditions, The alarm clock of intelligent terminal can be controlled to start quarter-bell, it is to avoid disturb by making noise to the user wakeeed up, while also avoiding in user away from intelligence During terminal, the alarm clock of intelligent terminal remains unchanged quarter-bell and disturbed by making noise to other people.
Embodiment two
Referring to Fig. 2, Fig. 2 is a kind of method of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention two is provided Schematic flow sheet.As shown in Fig. 2 this method includes:
Step 201:Judge whether current time reaches default readiness time, default readiness time is in default quarter-bell Before time;
Default readiness time be user according to set by self-demand, default readiness time one is scheduled on default noisy Before the bell time.
Step 202:When current time reaches default readiness time, the purpose bound with default alarm time is obtained Event;
Default alarm time is time of the user according to set by self-demand, and user is setting the same of alarm time When, some purpose events and the alarm time can be bound, to remind the use after the alarm clock of intelligent terminal wakes up user The also purposeful event in family will be completed.
Step 203:Whether judge purpose event is trip event;
Purpose event can be trip event, and the trip event is to need to complete after user is waken up by the alarm clock of intelligent terminal Trip task, trip task includes destination.
Step 204:If purpose event is trip event, destination is obtained from purpose event, and obtain from intelligence Can terminal alarm clock position to the traffic grade between destination;
After purpose event is determined for trip event, destination will be obtained in purpose event, and network automatically Obtain from the alarm clock position of intelligent terminal to the traffic route and traffic between destination, according to the traffic route On traffic determine traffic grade, the determination of traffic grade can be transported by existing Internet map instrument Obtain, traffic grade includes unobstructed, congestion and very congestion, wherein, according to the row of traffic grade from high to low It is classified as:Very congestion, congestion, unobstructed.
Step 205:Judge traffic grade whether greater than default quarter-bell grade in advance;
It is default in advance quarter-bell grade be grade of the user according to set by self-demand, for identified traffic shape Condition grade is made comparisons, and default quarter-bell grade in advance includes unobstructed, congestion and very congestion.
Step 206:, will be default standby noisy when traffic grade is higher than default or quarter-bell grade in advance that is being equal to The bell time, default standby alarm time was in default readiness time and default quarter-bell as new default alarm time Between between.
Default standby alarm time is time of the user according to set by self-demand, when traffic grade is higher than pre- If or be equal in advance quarter-bell grade when, will be pre- using default standby alarm time as new default alarm time If alarm time update, wherein should be noted that default standby alarm time necessarily in default readiness time and Between default alarm time.
For example, it is assumed that default readiness time is the seven o'clock sharp in the morning, default alarm time is o'clock sharp in the morning eight, default Standby alarm time is thirty in the morning seven, and default quarter-bell grade in advance is congestion, when identified traffic grade is ten When dividing congestion, i.e., identified traffic grade is higher than default quarter-bell grade in advance, now then by default standby quarter-bell Default alarm time as new default alarm time, i.e., is updated to by the time thirty in the morning seven.It should be noted that In embodiment of the present invention, default readiness time can be to be multiple, including default first standby alarm time and default the Two standby alarm times etc., under different traffic grades, default alarm time are updated to corresponding different pre- The standby time.For example, it is assumed that default readiness time is the seven o'clock sharp in the morning, default alarm time is o'clock sharp in the morning eight, default First standby alarm time is thirty in the morning seven, and default second standby alarm time is 40 minutes mornings seven point, default to carry Preceding quarter-bell grade is congestion, when identified traffic grade is very congestion, i.e., identified traffic grade is high In default quarter-bell grade in advance, now then using the default first standby alarm time as new default alarm time, i.e., Default alarm time is updated to thirty in the morning seven;It is when identified traffic grade is congestion, i.e., identified to hand over Logical situation grade is equal to default quarter-bell grade in advance, now then using the default second standby alarm time as new default Alarm time, i.e., be updated to morning seven point 40 minutes by default alarm time.
Step 207:Judge whether current time reaches default alarm time;
Step 208:When current time reaches default alarm time, the distance between user and intelligent terminal are obtained;
Step 209:Whether judging distance is less than or equal to default quarter-bell distance;
The particular content of step 207 to step 209 see the step 101 and step 103 in embodiment one, herein not Repeat one by one again.
In order to avoid when the very big even more than the tinkle of bells of the alarm clock of intelligent terminal of the ambient sound residing for user, intelligence The alarm clock of energy terminal restarts quarter-bell and acts nonsensical, embodiment of the present invention further comprising the steps of 210 to step 212:
Step 210:When distance be less than or equal to default quarter-bell apart from when, obtain user's local environment ambient sound Decibel;
By the sound of the radio equipment real-time reception surrounding enviroment of the alarm clock of intelligent terminal, user's local environment is determined Ambient sound decibel.
Step 211:Judge ambient sound decibel whether greater than default cancellation quarter-bell decibel;
Default cancellation quarter-bell decibel is decibel of the user according to set by self-demand, the default cancellation quarter-bell decibel Sound decibel when can be for alarm clock normal jingle bell.
Step 212:When ambient sound decibel is greater than default cancellation quarter-bell decibel, then intelligence is controlled eventually The alarm clock at end does not start quarter-bell;
For example, it is assumed that being 40 decibels during default cancellation quarter-bell decibel, acquired ambient sound decibel is 41 decibels, this When ambient sound decibel higher than it is default cancellation quarter-bell decibel, then control intelligent terminal alarm clock do not start quarter-bell.
Step 213:When ambient sound decibel is less than default cancellation quarter-bell decibel, the first physiology ginseng of user is obtained Number and or the first action parameter;
The particular content of this step see the step 104 in embodiment one, no longer repeat one by one herein, wherein, this The physiological parameter that step is obtained is named as the first physiological parameter, and the action parameter that this step is obtained is named as the first action parameter.
Step 214:According to the first physiological parameter and or the first action parameter judge user whether be in sleep state.
The particular content of this step see the step 104 in embodiment one, no longer repeat one by one herein.
Step 215:When user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.
The particular content of this step see the step 105 in embodiment one, no longer repeat one by one herein.
In order to avoid user continues to sleep after first time jingle bell is clear-headed, the problems such as causing late, present invention additionally comprises Step 216 is to step 220:
Step 216:When the alarm clock of the intelligent terminal starts quarter-bell, start timing;
When the alarm clock of intelligent terminal starts quarter-bell, that is, start timing, certainly, in embodiments of the present invention, also can be Current time reaches default alarm time and just starts timing.
Step 217:Judge whether timing duration is more than or equal to default quarter-bell duration again;
The duration that a length of user is set according to self-demand during default quarter-bell again.
Step 218:When timing duration is more than or equal to the default duration of quarter-bell again, the second physiology of user is obtained Parameter and the second kinematic parameter;
For example, it is assumed that a length of 10 minutes during default quarter-bell again, then when the alarm clock of intelligent terminal starts first time quarter-bell 10 minutes after, obtain user the second physiological parameter and the second kinematic parameter;
The particular content of this step see the step 104 in embodiment one, no longer repeat one by one herein, wherein, this The physiological parameter that step is obtained is named as the second physiological parameter, and the action parameter that this step is obtained is named as the second action parameter.
Step 219:Judge whether user is in sleep state according to the second physiological parameter and the second kinematic parameter;
The particular content of this step see the step 104 in embodiment one, no longer repeat one by one herein.
Step 220:When user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.
The particular content of this step see the step 105 in embodiment one, no longer repeat one by one herein.
In embodiments of the present invention, user is first determined in advance either with or without trip task, when user has trip task and works as When preceding traffic is bad, default alarm time is shifted to an earlier date, it is to avoid user is because traffic reason is late, then when current Between reach alarm time when judge user whether in the range of the quarter-bell of the alarm clock of intelligent terminal, it is to avoid user is not in intelligent terminal When nearby, the alarm clock of the intelligent terminal jingle bell that remains unchanged is disturbed by making noise to other people, when user is near intelligent terminal, according to surrounding enviroment sound Cent shellfish is confirmed whether jingle bell, it is to avoid when the ambient sound residing for user has been even more than greatly the bell of the alarm clock of intelligent terminal very much During sound, it is nonsensical that the alarm clock of intelligent terminal restarts quarter-bell action, is confirming that ambient sound decibel takes less than default Disappear quarter-bell decibel when, judge user whether be in sleep state, when user in sleep state when restart quarter-bell, it is to avoid disturb by making noise and arrive The user wakeeed up, whether a period of time judges user again in sleep state again after quarter-bell is started, when again user locates When sleep state, control the alarm clock of intelligent terminal to start quarter-bell again, it is to avoid user first time jingle bell regain consciousness it is follow-up Continuous sleep, the problems such as causing late.
Embodiment three
Referring to Fig. 3, Fig. 3 is a kind of device of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention three is provided Schematic diagram.As shown in figure 3, the device 30 includes:First judge module 301, the first acquisition module 302, the second judge module 303rd, the 3rd judge module 304 and the first starting module 305.
First judge module 301, for judging whether current time reaches default alarm time;
First acquisition module 302, for when current time reaches default alarm time, obtaining user and intelligent terminal The distance between;
Whether the second judge module 303, be less than or equal to default quarter-bell distance for judging distance;
3rd judge module 304, for when distance be less than or equal to default quarter-bell apart from when, judge whether user locates In sleep state;
First starting module 305, for when user is in sleep state, the alarm clock of control intelligent terminal to start quarter-bell.
It should be noted that:Because the device embodiments and embodiment one of embodiment of the present invention three are based on identical Technology contents in inventive concept, the embodiment one of method are equally applicable to the embodiment three of device, therefore, the reality of device Apply in mode three that this is no longer going to repeat them with the identical technology contents of embodiment one of method.
In embodiments of the present invention, first determine whether current time reaches default alarm time, when current time is arrived During up to default alarm time, obtain the distance between alarm clock of user and intelligent terminal, then determine distance whether be less than or Equal to default quarter-bell distance, when distance be less than or equal to default quarter-bell apart from when, judge user whether in shape of sleeping State, when user is in sleep state, the alarm clock of control intelligent terminal starts quarter-bell.Reach default in current time so as to realize Alarm time when, it is necessary to while meet user be in quarter-bell in the range of and user be in sleep state under the two conditions, The alarm clock of intelligent terminal can be controlled to start quarter-bell, it is to avoid disturb by making noise to the user wakeeed up, while also avoiding in user away from intelligence During terminal, the alarm clock of intelligent terminal remains unchanged quarter-bell and disturbed by making noise to other people.
Embodiment four
Referring to Fig. 4, Fig. 4 is a kind of device of the alarm clock jingle bell for control intelligent terminal that embodiment of the present invention four is provided Schematic diagram.As shown in figure 4, the device 30 includes:First judge module 301, the first acquisition module 302, the second judge module 303rd, the 3rd judge module 304, the first starting module 305, the second acquisition module 306, the 4th judge module 307, control are not opened Dynamic model block 308, the 6th judge module 309, the 4th acquisition module 310, the 7th judge module 311, the 5th acquisition module 312, Eight judge modules 313, update module 314, timing module 315, the 9th judge module 316, the 6th acquisition module the 317, the tenth are sentenced The disconnected starting module 319 of module 318 and second.
First judge module 301, for judging whether current time reaches default alarm time;
First acquisition module 302, for when current time reaches default alarm time, obtaining user and intelligent terminal The distance between;
Whether the second judge module 303, be less than or equal to default quarter-bell distance for judging distance;
3rd judge module 304, for when distance be less than or equal to default quarter-bell apart from when, judge whether user locates In sleep state;
First starting module 305, for when user is in sleep state, the alarm clock of control intelligent terminal to start quarter-bell.
Second acquisition module 306, for when distance be less than or equal to default quarter-bell apart from when, obtain user residing for ring The ambient sound decibel in border;
4th judge module 307, for judging ambient sound decibel whether greater than default cancellation quarter-bell point Shellfish;
Control not starting module 308, for when ambient sound decibel is greater than default cancellation quarter-bell decibel, Then the alarm clock of control intelligent terminal does not start quarter-bell.
Optionally, the 3rd judge module 304 includes:
3rd acquisition module 3041, for obtain user the first physiological parameter and or the first action parameter;
5th judge module 3042, for according to the first physiological parameter and or the first action parameter judge whether user locates In sleep state.
Optionally, device 30 also includes:
6th judge module 309, for judging whether current time reaches default readiness time, readiness time is in quarter-bell Before time;
4th acquisition module 310, for when current time reach default readiness time when, obtain with default quarter-bell when Between the purpose event bound;
7th judge module 311, for judging whether purpose event is trip event;
5th acquisition module 312, for when purpose event is trip event, then obtaining destination from purpose event Point, and obtain from intelligent terminal position to the traffic grade between destination;
8th judge module 313, for judging traffic grade whether greater than default quarter-bell etc. in advance Level;
Update module 314, for that when traffic grade is greater than default quarter-bell grade in advance, will preset Standby alarm time as new default alarm time, default standby alarm time is before default alarm time.
Optionally, device 30 also includes:
Timing module 315, for when the alarm clock of intelligent terminal starts quarter-bell, starting timing;
9th judge module 316, for judging whether timing duration is more than or equal to default quarter-bell duration again;
6th acquisition module 317, for when timing duration is more than or equal to the default duration of quarter-bell again, obtaining and using Second physiological parameter and the second kinematic parameter at family;
Tenth judge module 318, sleeps for judging whether user is according to the second physiological parameter and the second kinematic parameter Dormancy state;
Second starting module 319, for when user is in sleep state, the alarm clock of control intelligent terminal to start quarter-bell.
It should be noted that:Because the device embodiments and embodiment two of embodiment of the present invention four are based on identical Technology contents in inventive concept, the embodiment two of method are equally applicable to the embodiment four of device, therefore, the reality of device Apply in mode four that this is no longer going to repeat them with the identical technology contents of embodiment two of method.
In embodiments of the present invention, user is first determined in advance either with or without trip task, when user has trip task and works as When preceding traffic is bad, default alarm time is shifted to an earlier date, it is to avoid user is because traffic reason is late, then when current Between reach alarm time when judge user whether in the range of the quarter-bell of the alarm clock of intelligent terminal, it is to avoid user is not in intelligent terminal When nearby, the alarm clock of the intelligent terminal jingle bell that remains unchanged is disturbed by making noise to other people, when user is near intelligent terminal, according to surrounding enviroment sound Cent shellfish is confirmed whether jingle bell, it is to avoid when the ambient sound residing for user has been even more than greatly the bell of the alarm clock of intelligent terminal very much During sound, it is nonsensical that the alarm clock of intelligent terminal restarts quarter-bell action, is confirming that ambient sound decibel takes less than default Disappear quarter-bell decibel when, judge user whether be in sleep state, when user in sleep state when restart quarter-bell, it is to avoid disturb by making noise and arrive The user wakeeed up, whether a period of time judges user again in sleep state again after quarter-bell is started, when again user locates When sleep state, control the alarm clock of intelligent terminal to start quarter-bell again, it is to avoid user first time jingle bell regain consciousness it is follow-up Continuous sleep, the problems such as causing late.
Fig. 5 is refer to, Fig. 5 is the hardware architecture diagram that embodiment of the present invention provides electronic equipment, as shown in figure 5, The electronic equipment 50 includes:
In one or more processors 51 and memory 52, Fig. 5 by taking a processor 51 as an example.
Processor 51 and memory 52 can be connected by bus or other modes, to be connected as by bus in Fig. 5 Example.
Memory 52 is as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey The alarm clock jingle bell of control intelligent terminal in sequence, non-volatile computer executable program and module, such as embodiment of the present invention The corresponding programmed instruction/module of method (for example, the first judge module 301, the first acquisition module 302 shown in accompanying drawing 3, Two judge modules 303, the 3rd judge module 304 and the first starting module 305).Processor 51 is stored in memory by operation Non-volatile software program, instruction and module in 52, so that various function application and the data processing of execute server, Realize the method in above method embodiment.
Memory 52 can include storing program area and storage data field, wherein, storing program area can storage program area, Application program required at least one function;Storage data field can store the device of the alarm clock jingle bell according to control intelligent terminal Use created data etc..In addition, memory 52 can include high-speed random access memory, it can also include non-volatile Property memory, for example, at least one disk memory, flush memory device or other non-volatile solid state memory parts.At some In embodiment, memory 52 is optional including the memory remotely located relative to processor 51, and these remote memories can lead to Network connection is crossed to the device for the alarm clock jingle bell for controlling intelligent terminal.The example of above-mentioned network includes but is not limited to internet, enterprise Industry in-house network, LAN, mobile radio communication and combinations thereof.
One or more module is stored in memory 52, when being performed by one or more processor 51, is performed The method of the alarm clock jingle bell of control intelligent terminal in above-mentioned any means embodiment, for example, performing in Fig. 1 described above Method and step 101 is to step 105, and the method and step 201 in Fig. 2 realizes the module 301 to 305 in Fig. 3, Fig. 4 to step 220 In the function of module 301 to 319.
The said goods can perform the method that is provided of embodiment of the present invention, possess the corresponding functional module of execution method and Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that embodiment of the present invention is provided.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, includes but is not limited to:Server:The service of calculating is provided Equipment, the composition of server includes processor, hard disk, internal memory, system bus etc., server and general computer architecture class Seemingly, but be due to need to provide highly reliable service, thus disposal ability, stability, reliability, security, scalability, Required in terms of manageability higher.Or, other have the electronic installation of data interaction function.
Embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, and non-volatile computer is readable Storage medium is stored with computer executable instructions, and it is real that the computer executable instructions perform above-mentioned any means by electronic equipment The method for applying the alarm clock jingle bell for controlling intelligent terminal in mode, for example, performing the method and step 101 in Fig. 1 described above To step 105, the method and step 201 in Fig. 2 realizes the module 301 in the module 301 to 305 in Fig. 3, Fig. 4 to step 220 To 319 functions.
The embodiments of the invention provide a kind of computer program product, including it is stored in non-volatile computer readable storage Calculation procedure on medium, computer program includes programmed instruction, when programmed instruction is computer-executed constantly, holds computer The method of the alarm clock jingle bell of the control intelligent terminal of the above-mentioned any means embodiment of row, for example, performing in Fig. 1 described above Method and step 101 to step 105, the method and step 201 in Fig. 2 realizes the module 301 to 305 in Fig. 3 to step 220, schemes The function of module 301 to 319 in 4.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment The mode of general hardware platform can be added to realize by software, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can Realize that all or part of flow in above-described embodiment method can be by computer program to instruct the hard of correlation with understanding Part is completed, program can be stored in a computer read/write memory medium, the program is upon execution, it may include each as described above The flow of the embodiment of method.Wherein, storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this Under the thinking of invention, it can also be combined between the technical characteristic in above example or non-be the same as Example, step can be with Realized with random order, and there are many other changes of the different aspect of present invention as above, for simplicity, they do not exist There is provided in details;Although the present invention is described in detail with reference to the foregoing embodiments, one of ordinary skill in the art should Work as understanding:It can still modify to the technical scheme described in foregoing embodiments, or special to which part technology Levy carry out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention The scope of technical scheme.

Claims (10)

1. a kind of method of the alarm clock jingle bell of control intelligent terminal, it is characterised in that including:
Judge whether current time reaches default alarm time;
When current time reaches default alarm time, the distance between user and described intelligent terminal are obtained;
Judge whether the distance is less than or equal to default quarter-bell distance;
When the distance be less than or equal to the default quarter-bell apart from when, judge the user whether in sleep state;
When the user is in sleep state, the alarm clock of the intelligent terminal is controlled to start quarter-bell.
2. according to the method described in claim 1, it is characterised in that
It is described judge the user whether be in sleep state the step of before, methods described also includes:
When the distance be less than or equal to the default quarter-bell apart from when, obtain user's local environment ambient sound cent Shellfish;
Judge the ambient sound decibel whether greater than default cancellation quarter-bell decibel;
When ambient sound decibel is greater than default cancellation quarter-bell decibel, then the noisy of the intelligent terminal is controlled Clock does not start quarter-bell;
When the ambient sound decibel less than it is default cancellation quarter-bell decibel when, into it is described judge the user whether be in sleep The step of dormancy state.
3. according to the method described in claim 1, it is characterised in that
It is described to judge that the step of whether user is in sleep state includes:
Obtain user the first physiological parameter and or the first action parameter;
According to first physiological parameter and or first action parameter judge the user whether be in sleep state.
4. according to the method described in claim 1, it is characterised in that
It is described judge the step of whether current time reaches default alarm time before, methods described also includes:
Judge whether current time reaches default readiness time, the readiness time is before the alarm time;
When current time reaches default readiness time, the purpose event with the default alarm time binding is obtained;
Whether judge the purpose event is trip event;
If purpose event is trip event, destination is obtained from the purpose event, and obtain from the intelligence eventually Position is held to the traffic grade between the destination;
Judge the traffic grade whether greater than default quarter-bell grade in advance;
When the traffic grade is greater than default quarter-bell grade in advance, default standby alarm time is made For new default alarm time, the default standby alarm time is in the default readiness time and default quarter-bell Between between.
5. the method according to any one of Claims 1-4, it is characterised in that methods described also includes:
When the alarm clock of the intelligent terminal starts quarter-bell, start timing;
Judge whether the timing duration is more than or equal to default quarter-bell duration again;
When the timing duration is more than or equal to the default duration of quarter-bell again, the second physiological parameter and the of user is obtained Two kinematic parameters;
Judge whether the user is in sleep state according to second physiological parameter and the second kinematic parameter;
When the user is in sleep state, the alarm clock of the intelligent terminal is controlled to start quarter-bell.
6. a kind of device of the alarm clock jingle bell of control intelligent terminal, it is characterised in that including:
First judge module, for judging whether current time reaches default alarm time;
First acquisition module, for when current time reaches default alarm time, obtain user and the intelligent terminal it Between distance;
Second judge module, for judging whether the distance is less than or equal to default quarter-bell distance;
3rd judge module, for when the distance be less than or equal to the default quarter-bell apart from when, judge the user Whether sleep state is in;
First starting module, for when the user is in sleep state, controlling the alarm clock of the intelligent terminal to start quarter-bell.
7. device according to claim 6, it is characterised in that described device also includes:
Second acquisition module, for when the distance be less than or equal to the default quarter-bell apart from when, obtain user residing for The ambient sound decibel of environment;
4th judge module, for judging the ambient sound decibel whether greater than default cancellation quarter-bell decibel;
Control not starting module, for when ambient sound decibel is greater than default cancellation quarter-bell decibel, then The alarm clock of the intelligent terminal is controlled not start quarter-bell.
8. device according to claim 6, it is characterised in that
3rd judge module includes:
3rd acquisition module, for obtain user the first physiological parameter and or the first action parameter;
5th judge module, for according to first physiological parameter and or first action parameter judge that the user is It is no to be in sleep state.
9. device according to claim 6, it is characterised in that described device also includes:
6th judge module, for judging whether current time reaches default readiness time, the readiness time is described noisy Before the bell time;
4th acquisition module, for when current time reaches default readiness time, obtaining and the default alarm time The purpose event of binding;
7th judge module, for judging whether the purpose event is trip event;
5th acquisition module, for when purpose event is trip event, then obtaining destination from the purpose event, and And obtain from the intelligent terminal position to the traffic grade between the destination;
8th judge module, for judging the traffic grade whether greater than default quarter-bell grade in advance;
Update module, for when the traffic grade greater than it is default in advance quarter-bell grade when, will be default Standby alarm time is as new default alarm time, and the default standby alarm time is in the default alarm time Before.
10. the device according to any one of claim 6 to 9, it is characterised in that described device also includes:
Timing module, for when the alarm clock of the intelligent terminal starts quarter-bell, starting timing;
9th judge module, for judging whether the timing duration is more than or equal to default quarter-bell duration again;
6th acquisition module, for when the timing duration is more than or equal to the default duration of quarter-bell again, obtaining user The second physiological parameter and the second kinematic parameter;
Tenth judge module, sleeps for judging whether the user is according to second physiological parameter and the second kinematic parameter Dormancy state;
Second starting module, for when the user is in sleep state, controlling the alarm clock of the intelligent terminal to start quarter-bell.
CN201710464430.2A 2017-06-19 2017-06-19 The method and device of a kind of alarm clock jingle bell of control intelligent terminal Pending CN107241506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710464430.2A CN107241506A (en) 2017-06-19 2017-06-19 The method and device of a kind of alarm clock jingle bell of control intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710464430.2A CN107241506A (en) 2017-06-19 2017-06-19 The method and device of a kind of alarm clock jingle bell of control intelligent terminal

Publications (1)

Publication Number Publication Date
CN107241506A true CN107241506A (en) 2017-10-10

Family

ID=59986398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710464430.2A Pending CN107241506A (en) 2017-06-19 2017-06-19 The method and device of a kind of alarm clock jingle bell of control intelligent terminal

Country Status (1)

Country Link
CN (1) CN107241506A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831895A (en) * 2017-11-07 2018-03-23 广东欧珀移动通信有限公司 alarm clock control method, device and terminal
CN109040463A (en) * 2018-08-31 2018-12-18 上海与德通讯技术有限公司 Alarm clock prompting method, terminal and computer readable storage medium
CN109497945A (en) * 2018-10-23 2019-03-22 珠海格力电器股份有限公司 A kind of sleep state control method and device
CN109819111A (en) * 2019-01-29 2019-05-28 上海与德通讯技术有限公司 A kind of control method, device, equipment and storage medium
CN110730266A (en) * 2018-07-16 2020-01-24 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN111343337A (en) * 2020-02-28 2020-06-26 广州皓醒湾科技有限公司 Alarm clock application prompting method and device based on electric toothbrush
CN112644410A (en) * 2019-10-12 2021-04-13 上海擎感智能科技有限公司 Intelligent vehicle wake-up method and device, storage medium and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078594A (en) * 2001-08-31 2003-03-14 Tietech Co Ltd Portable telephone set adding device
CN103297612A (en) * 2013-04-23 2013-09-11 惠州Tcl移动通信有限公司 Alarm reminding method of mobile terminal and mobile terminal
CN103536279A (en) * 2013-10-22 2014-01-29 德赛电子(惠州)有限公司 Intelligent wristband and adaptive method thereof
CN105045622A (en) * 2015-07-13 2015-11-11 小米科技有限责任公司 Terminal alarming method and apparatus
CN105141752A (en) * 2015-07-24 2015-12-09 努比亚技术有限公司 Mobile terminal control device and method
CN106108843A (en) * 2016-06-17 2016-11-16 美的集团股份有限公司 A kind of user of determination sleeps the method and system of duration
CN106304296A (en) * 2016-09-05 2017-01-04 广东小天才科技有限公司 The electricity-saving control method of a kind of wearable device and device, wearable device
CN106843706A (en) * 2017-01-19 2017-06-13 北京小米移动软件有限公司 shutdown control method, device and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078594A (en) * 2001-08-31 2003-03-14 Tietech Co Ltd Portable telephone set adding device
CN103297612A (en) * 2013-04-23 2013-09-11 惠州Tcl移动通信有限公司 Alarm reminding method of mobile terminal and mobile terminal
CN103536279A (en) * 2013-10-22 2014-01-29 德赛电子(惠州)有限公司 Intelligent wristband and adaptive method thereof
CN105045622A (en) * 2015-07-13 2015-11-11 小米科技有限责任公司 Terminal alarming method and apparatus
CN105141752A (en) * 2015-07-24 2015-12-09 努比亚技术有限公司 Mobile terminal control device and method
CN106108843A (en) * 2016-06-17 2016-11-16 美的集团股份有限公司 A kind of user of determination sleeps the method and system of duration
CN106304296A (en) * 2016-09-05 2017-01-04 广东小天才科技有限公司 The electricity-saving control method of a kind of wearable device and device, wearable device
CN106843706A (en) * 2017-01-19 2017-06-13 北京小米移动软件有限公司 shutdown control method, device and terminal device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831895A (en) * 2017-11-07 2018-03-23 广东欧珀移动通信有限公司 alarm clock control method, device and terminal
CN110730266A (en) * 2018-07-16 2020-01-24 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN110730266B (en) * 2018-07-16 2021-08-20 Oppo(重庆)智能科技有限公司 Alarm clock volume control method and device, storage medium and terminal
CN109040463A (en) * 2018-08-31 2018-12-18 上海与德通讯技术有限公司 Alarm clock prompting method, terminal and computer readable storage medium
CN109497945A (en) * 2018-10-23 2019-03-22 珠海格力电器股份有限公司 A kind of sleep state control method and device
CN109819111A (en) * 2019-01-29 2019-05-28 上海与德通讯技术有限公司 A kind of control method, device, equipment and storage medium
CN112644410A (en) * 2019-10-12 2021-04-13 上海擎感智能科技有限公司 Intelligent vehicle wake-up method and device, storage medium and terminal
CN111343337A (en) * 2020-02-28 2020-06-26 广州皓醒湾科技有限公司 Alarm clock application prompting method and device based on electric toothbrush
CN111343337B (en) * 2020-02-28 2021-10-22 广州星际悦动股份有限公司 Alarm clock application prompting method and device based on electric toothbrush

Similar Documents

Publication Publication Date Title
CN107241506A (en) The method and device of a kind of alarm clock jingle bell of control intelligent terminal
CN105282343B (en) A kind of method and apparatus for intelligent reminding of sleeping
US20210345948A1 (en) Adjusting alarms based on sleep onset latency
CN107146611B (en) Voice response method and device and intelligent equipment
CN108492827A (en) Wake-up processing method, device and the storage medium of application program
US9460608B2 (en) Reminder creation for tasks associated with a user event
CN105612485B (en) A kind of method and device running application program
CN110199350A (en) The electronic equipment of the method and realization this method that terminate for sense speech
CN107005612A (en) Digital assistants warning system
CN107851050B (en) Device with watchdog timer and method for operating watchdog timer
CN110971763B (en) Arrival reminding method and device, storage medium and electronic equipment
CN104484796A (en) Portable terminal and schedule management method
US10271784B2 (en) Facilitating restful sleep using reminders
CN104635928A (en) Mobile terminal having intelligent alarm clock function
CN108536099A (en) A kind of information processing method, device and mobile terminal
CN105005380A (en) Reminding equipment, reminding method and reminding device
JP6339690B2 (en) Information processing apparatus, information processing apparatus control method, and control program
CN107493388A (en) Terminal and its sleep intelligent prompt method, storage device
CN111077785A (en) Awakening method, awakening device, terminal and storage medium
WO2015168997A1 (en) A method and device for terminal automatically displaying
CN113780976A (en) Schedule conflict processing method, schedule conflict processing device, storage medium and software program product
CN110658717B (en) Alarm clock control method, device, equipment and storage medium
CN109510901A (en) A kind of control method of alarm clock, device, storage medium and mobile terminal
CN104267948A (en) Alarm clock control method and alarm clock control device for intelligent mobile terminal
CN109545222A (en) A kind of control method of alarm clock, device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171010