CN109788351A - A kind of control method of alarm clock, device, storage medium and electronic equipment - Google Patents

A kind of control method of alarm clock, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109788351A
CN109788351A CN201910091557.3A CN201910091557A CN109788351A CN 109788351 A CN109788351 A CN 109788351A CN 201910091557 A CN201910091557 A CN 201910091557A CN 109788351 A CN109788351 A CN 109788351A
Authority
CN
China
Prior art keywords
user
sleep
alarm clock
prompt
current state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910091557.3A
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.)
Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.
Original Assignee
Shanghai Wind Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wind Communication Technologies Co Ltd filed Critical Shanghai Wind Communication Technologies Co Ltd
Priority to CN201910091557.3A priority Critical patent/CN109788351A/en
Publication of CN109788351A publication Critical patent/CN109788351A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present application discloses control method, device, storage medium and the electronic equipment of a kind of alarm clock.This method comprises: obtaining the current state of user by user's awareness apparatus currently in use;If determination needs to carry out sleep prompt to user according to the current state of user, then when reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.By executing technical solution provided herein, it may be implemented according to the demand of user, to control alarm clock, be reminded to reach and allow user that can get sleep on the information that oneself is most paid close attention to, so as to improve the practical effect of sleep alarm clock.

Description

A kind of control method of alarm clock, device, storage medium and electronic equipment
Technical field
The invention relates to field of mobile terminals more particularly to a kind of control methods of alarm clock, device, storage medium And electronic equipment.
Background technique
With being gradually increased for scientific and technological level, electronic equipment is popularized in the life of user and is come.User is to movement Terminal, if smart phone is using more and more.Currently, many users avoid staying up late, form simultaneously in order to rest on time Sleep alarm clock can be arranged in good biological clock on the mobile terminal of oneself.So-called sleep alarm clock is exactly whenever solid to evening It fixes time, user's rest will be reminded in the form of voice or sound.But this sleep alarm clock specified time one arrives, It begins to issue sleep prompting, this alerting pattern is excessively inflexible.If user has fallen asleep, quilt when just falling asleep in this way Alarm clock wakes up, and the influence to the sleep quality of user is biggish.
Summary of the invention
The embodiment of the present application provides control method, device, storage medium and the electronic equipment of a kind of alarm clock, and root may be implemented According to the demand of user, alarm clock is controlled, is slept to reach and user can get on the information that oneself is most paid close attention to It sleeps and reminds, so as to improve the practical effect of sleep alarm clock.
In a first aspect, the embodiment of the present application provides a kind of control method of alarm clock, this method comprises:
By user's awareness apparatus currently in use, the current state of user is obtained;
If according to the current state of user, determination needs to carry out sleep prompt to user, then in the finger for reaching sleep alarm clock When fixing time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
Further, by user's awareness apparatus currently in use, after the current state for obtaining user, the method Further include:
If determination does not need to carry out sleep prompt to user according to the current state of user, then sleep alarm clock is reached When specified time, prompted without sleep.
Further, the awareness apparatus includes TV;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
The current state of user is obtained by the working condition of TV;Alternatively, the camera by TV obtains user's Current state;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to the awareness apparatus, for described Awareness apparatus carries out sleep prompt, comprising:
When reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to TV, for TV face on the tv screen Display sleep prompt, or, playing sleep prompt by TV loudspeaker box.
Further, the current state of user is obtained by the camera of TV, comprising:
By the camera of TV, the user images in front of TV are obtained;
Determine whether the user in front of TV includes target user according to the user images in front of TV;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to TV, on the screen for TV Face display sleep prompt, or, playing sleep prompt by TV loudspeaker box, comprising:
In the specified time of sleep alarm clock for reaching target user's setting, it will be prompted to information and be sent to TV, for TV Face display sleep prompt on the screen, or, playing sleep prompt by TV loudspeaker box.
Further, the perception state includes earphone or speaker;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
By the use state of earphone or speaker, the current state for obtaining user is that sound listens to state;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to the awareness apparatus, for described Awareness apparatus carries out sleep prompt, comprising:
When reaching the specified time of sleep alarm clock, will be prompted to information and be sent to earphone or speaker, for earphone or speaker into Row sleep prompt.
Further, the awareness apparatus includes bedroom lighting apparatus;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
Obtain the working condition of bedroom lamp and bedside lamp;
If the bedroom lamp is closed and the bedside lamp is opened, it is determined that user is i.e. by hypnagogic state;
Correspondingly, then reaching sleep if determination does not need to carry out sleep prompt to user according to the current state of user When the specified time of alarm clock, prompted without sleep, comprising:
It is i.e. by hypnagogic state according to the current state of user, determination does not need to carry out sleep prompt to user;
Then when reaching the specified time of sleep alarm clock, prompted without sleep.
Second aspect, the embodiment of the present application also provides a kind of control device of alarm clock, which includes:
User Status obtains module, for obtaining the current state of user by user's awareness apparatus currently in use;
Cue module of sleeping then exists if determination needs to carry out sleep prompt to user for the current state according to user When reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to the awareness apparatus, sleep for the awareness apparatus Prompt.
Further, described device further include:
Cancel cue module, if determination does not need to carry out sleep prompt to user, then for the current state according to user When reaching the specified time of sleep alarm clock, prompted without sleep.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the control method of the alarm clock as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply the control method of alarm clock described in example.
Technical solution provided by the embodiment of the present application obtains working as user by user's awareness apparatus currently in use Preceding state;If determination needs to carry out sleep prompt to user according to the current state of user, then the specified of sleep alarm clock is reached When the time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.By using the application Provided technical solution may be implemented according to the demand of user, to control alarm clock, allow user can be certainly to reach It gets sleep above the information that oneself most pays close attention to remind, so as to improve the practical effect of sleep alarm clock.
Detailed description of the invention
Fig. 1 is the flow chart of the control method for the alarm clock that the embodiment of the present application one provides;
Fig. 2 is the flow chart of the control method for the alarm clock that the embodiment of the present application two provides;
Fig. 3 is the structural schematic diagram of the control device for the alarm clock that the embodiment of the present application three provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application five provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of the control method for the alarm clock that the embodiment of the present application one provides, and the present embodiment is applicable to sleeping The control device of the control situation of dormancy alarm clock, this method alarm clock as provided by the embodiment of the present application executes, which can It realizes, and can be integrated in electronic equipment in a manner of by software and/or hardware.
As shown in Figure 1, the control method of the alarm clock includes:
S110, pass through user's awareness apparatus currently in use, obtain the current state of user.
Wherein, awareness apparatus, which can be, carries out wired connection, network connection and bluetooth connection with the mobile terminal of user Equipment, such as can be TV, air-conditioning, speaker, earphone and headlamp etc., awareness apparatus can pass through bluetooth ad-hoc network It is attached with mobile terminal, can realize the information exchange with each awareness apparatus using mobile terminal as relaying.
In the present embodiment, the current state of user may include sleep state, i.e., by sleep state, and without sleep shape State.By user's awareness apparatus currently in use, the current state of user is obtained, can be and obtain user's by awareness apparatus Operand per minute determines that user is currently at no sleep state still i.e. by sleep state, such as can pass through user couple The statistics of the operational order of awareness apparatus obtains.It is also possible to obtain the current of user by the working condition of awareness apparatus State, such as awareness apparatus can be earphone, speaker, desk lamp etc., then can be according to the working condition of earphone and speaker, Yi Jitai The operating power of lamp determines the current state of user.Such as earphone or speaker are playing sound, such as song, video sound Or novel sound, then the current state of user can be determined as no sleep state, and such as current desk lamp is then said with low power run Bright active user has turned down the brightness of desk lamp, it can be said that bright active user has been in the state close to sleep.
If S120, the current state according to user, determination needs to carry out sleep prompt to user, then reaches alarm clock of sleeping Specified time when, will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
Wherein, it when the current state of user is no sleep state, needs to carry out sleep prompt.Close to sleep state or It is fallen asleep, without carrying out sleep prompt.The benefit being arranged in this way is can to issue sleep when needing to remind user to mention Show, user already close to sleep perhaps fallen asleep when without sleep remind avoid to slept or close to sleep User interfere, influence the sleep quality and time for falling asleep of user.
When needing to carry out user sleep prompt, and reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to The awareness apparatus carries out sleep prompt for the awareness apparatus.In the present embodiment, if user passing through earphone or Speaker listens to music, then can be using earphone or speaker as the equipment of sleep prompt, i.e., the acoustic information by sleep prompt is sent Perhaps speaker and sleep prompt is carried out by earphone or speaker to earphone.The benefit being arranged in this way is can to propose sleep Show and issued by the equipment that user is being currently used, user can be improved to the acceptance rate of sleep alarm clock, avoid because of user It currently without beside mobile terminal, and reaches after sleeping time because user is listening song or seeing TV, misses in advance The sleeping time of setting causes to assist falling asleep on time, the result for alarm clock effect difference of sleeping.
In the present embodiment, the prompt information of alarm clock of sleeping can be passed by Wireless LAN or bluetooth group It is defeated, sleep prompt is carried out by awareness apparatus to realize.
Technical solution provided by the embodiment of the present application obtains working as user by user's awareness apparatus currently in use Preceding state;If determination needs to carry out sleep prompt to user according to the current state of user, then the specified of sleep alarm clock is reached When the time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.By using the application Provided technical solution may be implemented according to the demand of user, to control alarm clock, allow user can be certainly to reach It gets sleep above the information that oneself most pays close attention to remind, so as to improve the practical effect of sleep alarm clock.
On the basis of above-mentioned each technical solution, optionally, the awareness apparatus includes TV;Correspondingly, passing through user Awareness apparatus currently in use obtains the current state of user, comprising: the current shape of user is obtained by the working condition of TV State;Alternatively, obtaining the current state of user by the camera of TV;Correspondingly, when reaching the specified time of sleep alarm clock, It will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus, comprising: reach sleep alarm clock When specified time, it will be prompted to information and be sent to TV, for TV face display sleep prompt on the tv screen, or, passing through TV Speaker plays sleep prompt.Wherein, the technical program can cope with user the case where seeing TV, and wherein TV can be user Awareness apparatus currently in use, TV can obtain the image before TV by camera, and by image recognition technology, really Determine the state of user.Such as it can be by continuously acquiring whether the amplitude that image determines that the current eyes of user open determines user It is sleepy.However in the present embodiment, if user is seeing TV, illustrate that active user is then needed in without dormant Carry out sleep prompting.Correspondingly, will be prompted to information transmission in the specified time of sleep alarm clock for reaching target user's setting To TV, for TV face display sleep prompt on the screen, or, playing sleep prompt by TV loudspeaker box.What is be arranged in this way is good Place is to be shown by the screen of TV or sound plays the information for being conducive to be received sleep prompt by user, such as the shifting of user Dynamic terminal is placed in bedroom, and TV is currently just seen inside parlor, at this moment if the mobile terminal of user is in vibration or jingle bell Sleep prompt is carried out in the case where not big enough, then user can not be known.Therefore the technical program can by TV to Family carries out sleep prompt, and the prompt effect of sleep alarm clock can be improved.
On the basis of above-mentioned each technical solution, optionally, the current state of user, packet are obtained by the camera of TV It includes: by the camera of TV, obtaining the user images in front of TV;It is determined in front of TV according to the user images in front of TV User whether include target user;Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to electricity Depending on for TV face display sleep prompt on the screen, or, playing sleep prompt by TV loudspeaker box, comprising: used reaching target When the specified time of the sleep alarm clock of family setting, it will be prompted to information and be sent to TV, display sleep in face mentions on the screen for TV Show, or, playing sleep prompt by TV loudspeaker box.The technical program can be after getting user images, according to user images Determine in active user whether include target user, wherein target user can be face setting sleep alarm clock on mobile terminals User, such as user setting sleep alarm clock, when reaching the specified time of sleep alarm clock, television set is being opened, but It is that see TV is the household of the user, then sleep prompt can not be carried out by TV in this case.If seeing TV Not only include the user household, but also including the user, then sleep prompt can be carried out by TV.The technical program is set in this way The benefit set is that the order of accuarcy that sleep prompt is carried out to user can be improved, and keeps the prompt of sleep alarm clock more intelligent, improves The usage experience of user.
On the basis of above-mentioned each technical solution, optionally, the perception state includes earphone or speaker;Correspondingly, logical User's awareness apparatus currently in use is crossed, the current state of user is obtained, comprising: by the use state of earphone or speaker, is obtained The current state for taking family is that sound listens to state;Correspondingly, will be prompted to information hair when reaching the specified time of sleep alarm clock It send to the awareness apparatus, carries out sleep prompt for the awareness apparatus, comprising: when reaching the specified time of sleep alarm clock, It will be prompted to information and be sent to earphone or speaker, carry out sleep prompt for earphone or speaker.The present embodiment can pass through shifting in user Dynamic terminal is listened to be carried out when song either sound novel, and wherein earphone or speaker can pass through wired connection, bluetooth Connection or network connection form communicated with mobile terminal, can reach sleep alarm clock specified time when, by Prompt information is sent to earphone or speaker, carries out sleep prompt for earphone or speaker.The benefit being arranged in this way is can to guarantee to use Situation is known to sleep alarm clock in family, improves the prompt flexibility of sleep alarm clock.
Embodiment two
Fig. 2 is the flow chart of the control method for the alarm clock that the embodiment of the present application two provides, and the present embodiment is in above-described embodiment Technical solution on the basis of, carried out further optimization.Specific optimization are as follows: set by user's perception currently in use It is standby, after the current state for obtaining user, the method also includes: if according to the current state of user, determine do not need to Family carries out sleep prompt, then when reaching the specified time of sleep alarm clock, prompts without sleep.
As shown in Fig. 2, the control method of the alarm clock includes:
S210, pass through user's awareness apparatus currently in use, obtain the current state of user.
If S220, the current state according to user, determination does not need to carry out sleep prompt to user, then noisy in arrival sleep When the specified time of clock, prompted without sleep.
Wherein, if the sleep state of active user is not needed close to sleep state either sleep state Sleep prompt is carried out to user.In this case, it when reaching the specified time of sleep alarm clock, is prompted without sleep.This Embodiment be arranged in this way it is nice be can fall asleep in user or close to alarm clock of when falling asleep, forbidding sleeping prompt, keep away Exempt from sleep alarm clock to bother user, influences the usage experience of user.
In the present embodiment, optionally, the awareness apparatus includes bedroom lighting apparatus;Correspondingly, by user The awareness apparatus used obtains the current state of user, comprising: obtains the working condition of bedroom lamp and bedside lamp;If described sleeping Room lamp is closed and the bedside lamp is opened, it is determined that user is i.e. by hypnagogic state;Correspondingly, if according to the current shape of user State, determination do not need to carry out sleep prompt to user, then when reaching the specified time of sleep alarm clock, prompt without sleep, It include: according to the current state of user for i.e. by hypnagogic state, determination does not need to carry out sleep prompt to user;Then slept in arrival When the specified time of dormancy alarm clock, prompted without sleep.Wherein, we can be true according to the working condition of bedside lamp and bedroom lamp Whether user is determined also in no sleep state, if bedroom lamp is opened, bedside lamp is not opened, then illustrates that user is currently quasi- not yet Standby rest, the state of mind also will receive the influence of strong light light.And if bedroom lamp has been switched off, bedside lamp is opened, Then explanation has been prepared for resting, then in this case, illustrates that user has been prepared for falling asleep, or fallen asleep.Then without into Row sleep is reminded.The benefit that the technical program is arranged in this way is can to determine and use by the working condition of lighting apparatus in bedroom The current state at family is whether to carry out sleep prompting to user to make accurate judgement, improves the usage experience of user.
Embodiment three
Fig. 3 is the structural schematic diagram of the control device for the alarm clock that the embodiment of the present application three provides.As shown in figure 3, described noisy The control device of clock, comprising:
User Status obtains module 310, for obtaining the current shape of user by user's awareness apparatus currently in use State;
Sleep cue module 320, if determination needs to carry out sleep prompt to user for the current state according to user, Then when reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to the awareness apparatus, carried out for the awareness apparatus Sleep prompt.
Technical solution provided by the embodiment of the present application obtains working as user by user's awareness apparatus currently in use Preceding state;If determination needs to carry out sleep prompt to user according to the current state of user, then the specified of sleep alarm clock is reached When the time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.By using the application Provided technical solution may be implemented according to the demand of user, to control alarm clock, allow user can be certainly to reach It gets sleep above the information that oneself most pays close attention to remind, so as to improve the practical effect of sleep alarm clock.
On the basis of above-mentioned each technical solution, optionally, described device further include:
Cancel cue module, if determination does not need to carry out sleep prompt to user, then for the current state according to user When reaching the specified time of sleep alarm clock, prompted without sleep.
Method provided by the application any embodiment can be performed in the said goods, has the corresponding functional module of execution method And beneficial effect.
Example IV
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable It instructs when being executed by computer processor for executing a kind of control method of alarm clock, this method comprises:
By user's awareness apparatus currently in use, the current state of user is obtained;
If according to the current state of user, determination needs to carry out sleep prompt to user, then in the finger for reaching sleep alarm clock When fixing time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to computer by network (such as internet) System.Second computer system can provide program instruction to computer for executing.Term " storage medium " may include can To reside in different location two or more storage mediums of (such as in the different computer systems by network connection). Storage medium can store the program instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The control for the alarm clock that executable instruction is not limited to the described above operates, and can also be performed and makes a noise provided by the application any embodiment Relevant operation in the control method of clock.
Embodiment five
The embodiment of the present application provides a kind of electronic equipment, can integrate in the electronic equipment provided by the embodiments of the present application noisy The control device of clock.Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application five provides.As shown in figure 4, this reality It applies example and provides a kind of electronic equipment 400 comprising: one or more processors 420;Storage device 410, for storing one Or multiple programs, when one or more of programs are executed by one or more of processors 420, so that one or more A processor 420 realizes the control method of alarm clock provided by the embodiment of the present application, this method comprises:
By user's awareness apparatus currently in use, the current state of user is obtained;
If according to the current state of user, determination needs to carry out sleep prompt to user, then in the finger for reaching sleep alarm clock When fixing time, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
Certainly, it will be understood by those skilled in the art that processor 420 can also realize that the application any embodiment is provided Alarm clock control method technical solution.
The electronic equipment 400 that Fig. 4 is shown is only an example, should not function and use scope to the embodiment of the present application Bring any restrictions.
As shown in figure 4, the electronic equipment 400 includes processor 420, storage device 410, input unit 430 and output dress Set 440;The quantity of processor 420 can be one or more in electronic equipment, in Fig. 4 by taking a processor 420 as an example;Electronics Processor 420, storage device 410, input unit 430 and output device 440 in equipment can pass through bus or other modes It connects, in Fig. 4 for being connected by bus 450.
Storage device 410 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer Program and module, such as the corresponding program instruction of the control method of the alarm clock in the embodiment of the present application.
Storage device 410 can mainly include storing program area and storage data area, wherein storing program area can store operation Application program needed for system, at least one function;Storage data area, which can be stored, uses created number according to electronic equipment According to etc..In addition, storage device 410 may include high-speed random access memory, it can also include nonvolatile memory, such as At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage dress Setting 410 can further comprise the memory remotely located relative to processor 420, these remote memories can be connected by network It connects.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving number, character information or the voice messaging of input, and generation and electronic equipment User setting and function control related key signals input.Output device 440 may include the equipment such as display screen, loudspeaker.
Electronic equipment provided by the embodiments of the present application may be implemented according to the demand of user, to control alarm clock, thus Reach and allow user that can get sleep prompting on the information that oneself is most paid close attention to, so as to improve the reality of sleep alarm clock Using effect.
It is arbitrarily real that the application can be performed in control device, storage medium and the electronic equipment of the alarm clock provided in above-described embodiment The control method for applying alarm clock provided by example has and executes the corresponding functional module of this method and beneficial effect.Not in above-mentioned reality The technical detail of detailed description in example is applied, reference can be made to the control method of alarm clock provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. a kind of control method of alarm clock characterized by comprising
By user's awareness apparatus currently in use, the current state of user is obtained;
If according to the current state of user, determination need to carry out sleep prompt to user, then reach sleep alarm clock it is specified when Between when, will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
2. the method according to claim 1, wherein obtaining and using by user's awareness apparatus currently in use After the current state at family, the method also includes:
If determination does not need to carry out sleep prompt to user according to the current state of user, then the specified of sleep alarm clock is reached When the time, prompted without sleep.
3. the method according to claim 1, wherein the awareness apparatus includes TV;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
The current state of user is obtained by the working condition of TV;Alternatively, the camera by TV obtains the current of user State;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to the awareness apparatus, for the perception Equipment carries out sleep prompt, comprising:
When reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to TV, face is shown on the tv screen for TV Sleep prompt, or, playing sleep prompt by TV loudspeaker box.
4. according to the method described in claim 3, it is characterized in that, obtain the current state of user by the camera of TV, Include:
By the camera of TV, the user images in front of TV are obtained;
Determine whether the user in front of TV includes target user according to the user images in front of TV;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to TV, for TV, face is aobvious on the screen Show sleep prompt, or, playing sleep prompt by TV loudspeaker box, comprising:
In the specified time of sleep alarm clock for reaching target user's setting, it will be prompted to information and be sent to TV, shielding for TV Curtain sleep prompt shown above, or, playing sleep prompt by TV loudspeaker box.
5. the method according to claim 1, wherein the perception state includes earphone or speaker;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
By the use state of earphone or speaker, the current state for obtaining user is that sound listens to state;
Correspondingly, will be prompted to information when reaching the specified time of sleep alarm clock and be sent to the awareness apparatus, for the perception Equipment carries out sleep prompt, comprising:
When reaching the specified time of sleep alarm clock, it will be prompted to information and be sent to earphone or speaker, slept for earphone or speaker It sleeps and prompts.
6. according to the method described in claim 2, it is characterized in that, the awareness apparatus includes bedroom lighting apparatus;
Correspondingly, obtaining the current state of user by user's awareness apparatus currently in use, comprising:
Obtain the working condition of bedroom lamp and bedside lamp;
If the bedroom lamp is closed and the bedside lamp is opened, it is determined that user is i.e. by hypnagogic state;
Correspondingly, then reaching alarm clock of sleeping if determination does not need to carry out sleep prompt to user according to the current state of user Specified time when, without sleep prompt, comprising:
It is i.e. by hypnagogic state according to the current state of user, determination does not need to carry out sleep prompt to user;
Then when reaching the specified time of sleep alarm clock, prompted without sleep.
7. a kind of control device of alarm clock characterized by comprising
User Status obtains module, for obtaining the current state of user by user's awareness apparatus currently in use;
Cue module of sleeping then reaches if determination needs to carry out sleep prompt to user for the current state according to user When the specified time of sleep alarm clock, it will be prompted to information and be sent to the awareness apparatus, carry out sleep prompt for the awareness apparatus.
8. device according to claim 7, which is characterized in that described device further include:
Cancel cue module, if determination does not need to carry out sleep prompt to user for the current state according to user, then arrives Up to sleep alarm clock specified time when, without sleep prompt.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The control method such as alarm clock of any of claims 1-6 is realized when row.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, which is characterized in that the processor is realized when executing the computer program as of any of claims 1-6 The control method of alarm clock.
CN201910091557.3A 2019-01-30 2019-01-30 A kind of control method of alarm clock, device, storage medium and electronic equipment Pending CN109788351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910091557.3A CN109788351A (en) 2019-01-30 2019-01-30 A kind of control method of alarm clock, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910091557.3A CN109788351A (en) 2019-01-30 2019-01-30 A kind of control method of alarm clock, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN109788351A true CN109788351A (en) 2019-05-21

Family

ID=66503601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910091557.3A Pending CN109788351A (en) 2019-01-30 2019-01-30 A kind of control method of alarm clock, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109788351A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469366A (en) * 2010-11-16 2012-05-23 Tcl集团股份有限公司 Television play time control method and television using same
CN202720752U (en) * 2012-05-30 2013-02-06 张永清 Reminding device for long time viewing of TV set
CN105607504A (en) * 2016-03-15 2016-05-25 美的集团股份有限公司 Intelligent home system, and intelligent home control apparatus and method
CN105898043A (en) * 2016-03-31 2016-08-24 北京奇虎科技有限公司 Method and device for carrying out prompting service based on user behavior state
US20170094046A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Adjusting alarms based on sleep onset latency
CN106604165A (en) * 2016-11-09 2017-04-26 芜湖智美网络科技有限公司 Head-mounted earphone capable of recording and reminding user of taking rest
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN107743289A (en) * 2017-10-25 2018-02-27 解君 A kind of intelligent sound box control method in Intelligent household scene
CN108133363A (en) * 2018-02-05 2018-06-08 广东欧珀移动通信有限公司 Sleep based reminding method, device, terminal and storage medium
CN108600809A (en) * 2018-04-25 2018-09-28 上海与德科技有限公司 A kind of control method of smart television, device, storage medium and smart television
CN108937855A (en) * 2018-05-30 2018-12-07 上海与德科技有限公司 A kind of Sleep-Monitoring method, apparatus and electronic equipment
CN109188928A (en) * 2018-10-29 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for controlling smart home device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102469366A (en) * 2010-11-16 2012-05-23 Tcl集团股份有限公司 Television play time control method and television using same
CN202720752U (en) * 2012-05-30 2013-02-06 张永清 Reminding device for long time viewing of TV set
US20170094046A1 (en) * 2015-09-30 2017-03-30 Apple Inc. Adjusting alarms based on sleep onset latency
CN105607504A (en) * 2016-03-15 2016-05-25 美的集团股份有限公司 Intelligent home system, and intelligent home control apparatus and method
CN105898043A (en) * 2016-03-31 2016-08-24 北京奇虎科技有限公司 Method and device for carrying out prompting service based on user behavior state
CN106604165A (en) * 2016-11-09 2017-04-26 芜湖智美网络科技有限公司 Head-mounted earphone capable of recording and reminding user of taking rest
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN107743289A (en) * 2017-10-25 2018-02-27 解君 A kind of intelligent sound box control method in Intelligent household scene
CN108133363A (en) * 2018-02-05 2018-06-08 广东欧珀移动通信有限公司 Sleep based reminding method, device, terminal and storage medium
CN108600809A (en) * 2018-04-25 2018-09-28 上海与德科技有限公司 A kind of control method of smart television, device, storage medium and smart television
CN108937855A (en) * 2018-05-30 2018-12-07 上海与德科技有限公司 A kind of Sleep-Monitoring method, apparatus and electronic equipment
CN109188928A (en) * 2018-10-29 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for controlling smart home device

Similar Documents

Publication Publication Date Title
CN107144819B (en) A kind of sound localization method, device and electronic equipment
CN107580113B (en) Reminding method, device, storage medium and terminal
CN112397062A (en) Voice interaction method, device, terminal and storage medium
CN109410944A (en) Voice interactive method, device and terminal
CN108536418A (en) A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode
US11587560B2 (en) Voice interaction method, device, apparatus and server
US11068230B2 (en) Bluetooth speaker, and intelligent control method for playing audio
CN105163189B (en) Preengage method, server and the terminal of multimedia programming
CN105895126A (en) Method and apparatus for indicating and controlling playing audio/audio and video data
CN111371955A (en) Response method, mobile terminal and computer storage medium
CN109510901A (en) A kind of control method of alarm clock, device, storage medium and mobile terminal
CN110430475A (en) A kind of interactive approach and relevant apparatus
CN112261180A (en) Electronic device, control method of electronic device, and computer-readable storage medium
CN110491419A (en) A kind of control method for playing back, system and terminal device
CN109819112A (en) A kind of control method of alarm clock, device, storage medium and electronic equipment
CN105808716A (en) Alarm clock reminding method and apparatus as well as terminal
US20150181353A1 (en) Hearing aid for playing audible advertisement or audible data
CN109788351A (en) A kind of control method of alarm clock, device, storage medium and electronic equipment
CN109545222A (en) A kind of control method of alarm clock, device, storage medium and mobile terminal
CN109346081A (en) A kind of sound control method, device, equipment and storage medium
WO2016052520A1 (en) Conversation device
CN109743462A (en) A kind of control method of alarm clock, device, storage medium and mobile terminal
CN109669546A (en) Music control method, device and computer readable storage medium
CN113835670A (en) Device control method, device, storage medium and electronic device
CN109116978A (en) Light emitting device and its exchange method, electronic equipment, storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

Address before: 200233 Shanghai city industry Jinshan District Jinshan Industrial Zone Road No. 218 building 3 layer 2

Applicant before: SHANGHAI YUDE COMMUNICATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication