CN115202231A - Intelligent household appliance reservation setting method based on sleep state and terminal equipment - Google Patents

Intelligent household appliance reservation setting method based on sleep state and terminal equipment Download PDF

Info

Publication number
CN115202231A
CN115202231A CN202211113315.8A CN202211113315A CN115202231A CN 115202231 A CN115202231 A CN 115202231A CN 202211113315 A CN202211113315 A CN 202211113315A CN 115202231 A CN115202231 A CN 115202231A
Authority
CN
China
Prior art keywords
sleep
information
intelligent household
time
reservation
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.)
Granted
Application number
CN202211113315.8A
Other languages
Chinese (zh)
Other versions
CN115202231B (en
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.)
Shenzhen Mental Flow Technology Co Ltd
Original Assignee
Shenzhen Mental Flow Technology 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 Shenzhen Mental Flow Technology Co Ltd filed Critical Shenzhen Mental Flow Technology Co Ltd
Priority to CN202211113315.8A priority Critical patent/CN115202231B/en
Publication of CN115202231A publication Critical patent/CN115202231A/en
Application granted granted Critical
Publication of CN115202231B publication Critical patent/CN115202231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The invention discloses a sleep state-based reservation setting method for intelligent household appliances and a terminal device, wherein the method comprises the following steps: acquiring sleep duration corresponding to the sleep state based on the determined sleep state, and estimating wake-up time corresponding to the sleep duration based on the sleep duration; generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance; and generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information. The invention can determine the sleep duration of the user based on the sleep state and determine the estimated wake-up time so as to perform reservation setting on the intelligent household appliance according to the estimated wake-up time, thereby meeting the use requirements of the user and bringing convenience to the use of the user.

Description

Intelligent household appliance reservation setting method based on sleep state and terminal equipment
Technical Field
The invention relates to the technical field of intelligent household appliance control, in particular to a sleep state-based intelligent household appliance reservation setting method and terminal equipment.
Background
Along with the development of the technology, more and more intelligent household appliances enter the lives of people, and people increasingly rely on some functions of the intelligent household appliances, such as functions of broadcasting information at regular time, reminding schedules and the like. However, in the prior art, the control of some functions of the intelligent appliance (such as the start time or the off time) is basically set by the user actively, and the intelligent appliance does not automatically set the start time or the off time of the functions. Because the requirements of the user on the intelligent household appliance in different time periods or different states are different, the mode of actively setting the functions of the intelligent household appliance based on the user in the prior art cannot meet the requirements of the user, and inconvenience is brought to the user.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for setting an appointment of an intelligent home appliance based on a sleep state and a terminal device, aiming at solving the problem that the way of actively setting the function of the intelligent home appliance based on a user in the prior art cannot meet the requirements of the user and brings inconvenience to the user.
In a first aspect, the present invention provides a method for setting a subscription of an intelligent home appliance based on a sleep state, wherein the method includes:
acquiring sleep duration corresponding to the sleep state based on the determined sleep state, and estimating wake-up time corresponding to the sleep duration based on the sleep duration;
generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance;
and generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
In one implementation, the obtaining the sleep duration corresponding to the sleep state based on the determined sleep state includes:
if the sleep state is the sleep state, acquiring historical electroencephalogram data and historical eye movement data in a past preset time period, determining sleep time based on the historical electroencephalogram data and the historical eye movement data, and estimating the sleep duration based on the sleep time;
if the sleep state is not in the sleep state, acquiring sleep rule information, and determining the sleep duration according to the sleep rule information, wherein the sleep rule information reflects the sleep habit of the user.
In an implementation manner, the estimating of the wake-up time based on the sleep duration includes:
acquiring current time, and determining the remaining sleep duration according to the current time and the sleep duration;
and determining the estimated wake-up time according to the residual sleep time.
In one implementation manner, the generating reservation information of the intelligent appliance according to the estimated wake-up time includes:
determining the preset starting time of the intelligent household appliance according to the estimated awakening time;
acquiring equipment information and equipment functions of each intelligent household appliance, wherein the equipment functions are default set functions or user-defined functions in the intelligent household appliances;
inputting the equipment information, the equipment function and the starting time into a preset information integration template, and binding the equipment information, the starting time and the equipment function based on the information integration template to obtain the reservation information.
In one implementation manner, the generating reservation information of the intelligent appliance according to the estimated wake-up time includes:
and starting a preset timing program according to the estimated wake-up time, and associating the timing program with a preset intelligent household appliance.
In one implementation, generating the reservation setting instruction according to the reservation information includes:
acquiring equipment information in the reservation information, and determining a target intelligent household appliance based on the equipment information;
acquiring historical reservation information of the target intelligent household appliance, and if the historical reservation information is the same as the reservation information, directly using the historical reservation information;
if the historical reservation information of the target intelligent household appliance is different from the reservation information, the historical reservation information is cleared, and a reservation setting instruction is generated according to the starting time in the reservation information and the equipment function, wherein the reservation setting instruction is used for setting the equipment function to be started when the time reaches the starting time on the target intelligent household appliance.
In one implementation, the method further includes:
and after the setting on the intelligent household appliance is finished based on the reservation setting instruction, receiving the setting success information fed back by the intelligent household appliance, and carrying out voice broadcasting on the reservation information based on the setting success information.
In a second aspect, an embodiment of the present invention further provides a reservation setting device for an intelligent home appliance based on a sleep state, where the device includes:
the wake-up time determining module is used for acquiring the sleep duration corresponding to the sleep state based on the determined sleep state and estimating the wake-up time corresponding to the sleep duration;
the reservation information generating module is used for generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance;
and the household appliance reservation setting module is used for generating a reservation setting instruction according to reservation information and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
In one implementation, the wake-up time determining module includes:
the first state analysis unit is used for acquiring historical electroencephalogram data and historical eye movement data in a past preset time period if the sleep state is the falling-asleep state, determining falling-asleep time based on the historical electroencephalogram data and the historical eye movement data, and estimating the sleep duration based on the falling-asleep time;
and the second state analysis unit is used for acquiring sleep rule information if the sleep state is not in the sleep state, and determining the sleep duration according to the sleep rule information, wherein the sleep rule information reflects the sleep habit of the user.
In one implementation, the wake-up time determining module includes:
the remaining sleep duration determining unit is used for acquiring the current time and determining the remaining sleep duration according to the current time and the sleep duration;
and the estimated wake-up time determining unit is used for determining the estimated wake-up time according to the residual sleep time.
In one implementation, the reservation information generating module includes:
the starting time determining unit is used for determining the preset starting time of the intelligent household appliance according to the estimated awakening time;
the device function acquiring unit is used for acquiring the device information and the device function of each intelligent household appliance, wherein the device function is a default set function or a user-defined function in the intelligent household appliances;
and the reservation information determining unit is used for inputting the equipment information, the equipment function and the starting time into a preset information integration template, and binding the equipment information, the starting time and the equipment function based on the information integration template to obtain the reservation information.
In one implementation, the reservation information generating module includes:
and the timing program binding unit is used for starting a preset timing program according to the estimated wake-up time and associating the timing program with a preset intelligent household appliance.
In one implementation manner, the home appliance reservation setting module includes:
the intelligent household appliance determining unit is used for acquiring the equipment information in the reservation information and determining a target intelligent household appliance based on the equipment information;
a reservation information comparison unit for acquiring historical reservation information of the target intelligent household appliance, and if the historical reservation information is the same as the reservation information, directly using the historical reservation information;
and the instruction generating unit is used for clearing the historical reservation information if the historical reservation information of the target intelligent household appliance is different from the reservation information, and generating the reservation setting instruction according to the starting time in the reservation information and the equipment function, wherein the reservation setting instruction is used for setting the equipment function to be started when the time reaches the starting time on the target intelligent household appliance.
In one implementation, the apparatus further comprises:
and the voice broadcasting unit is used for receiving the setting success information fed back by the intelligent household appliance after the setting on the intelligent household appliance is completed based on the reservation setting instruction, and performing voice broadcasting of the reservation information based on the setting success information.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a reservation setting program of the intelligent home appliance based on the sleep state, where the reservation setting program is stored in the memory and is executable on the processor, and when the processor executes the reservation setting program of the intelligent home appliance based on the sleep state, the step of implementing the reservation setting method of the intelligent home appliance based on the sleep state in any one of the foregoing schemes.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a reservation setting program of a sleep-state-based intelligent appliance is stored on the computer-readable storage medium, and when the reservation setting program of the sleep-state-based intelligent appliance is executed by a processor, the steps of the method for setting a reservation of a sleep-state-based intelligent appliance according to any one of the foregoing schemes are implemented.
Has the advantages that: compared with the prior art, the invention provides a sleep state-based reservation setting method for intelligent household appliances, which comprises the steps of firstly obtaining sleep duration corresponding to a sleep state based on the determined sleep state, and then generating reservation information of the intelligent household appliances according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliances. And finally, generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information. The invention can determine the sleep duration of the user based on the sleep state, determine the estimated wake-up time, and perform the appointment setting on the intelligent household appliance according to the estimated wake-up time, thereby meeting the use requirements of the user, needing no manual setting of the functions of the intelligent household appliance by the user, realizing the appointment setting of the intelligent household appliance only based on the analysis of the sleep state, and bringing convenience to the use of the user.
Drawings
Fig. 1 is a flowchart of a specific implementation of a method for setting a subscription of an intelligent home appliance based on a sleep state according to an embodiment of the present invention.
Fig. 2 is a functional schematic diagram of a reservation setting apparatus for a sleep-state-based intelligent home appliance according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment provides a sleep state-based reservation setting method for intelligent household appliances, based on the method of the embodiment, the sleep duration of a user can be determined based on the sleep state, and the estimated wake-up time is determined, so that reservation setting is performed on the intelligent household appliances according to the estimated wake-up time, the use requirements of the user are met, the user does not need to manually set the functions of the intelligent household appliances, the reservation setting of the intelligent household appliances can be realized only based on analysis of the sleep state, and convenience is brought to the user. In specific implementation, in this embodiment, first, based on the determined sleep state, the sleep duration corresponding to the sleep state is obtained, and based on the estimated wake-up time corresponding to the sleep duration. And then, generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance. And finally, generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
For example, the present embodiment may be applied to an eye-shield apparatus, which may collect electroencephalogram data and eye movement data and analyze a sleep state of a user, where the sleep state reflects that a state of the user at the moment is a sleep state or a non-sleep state. The eye-shield apparatus may determine a corresponding sleep duration based on the determined sleep state and determine a corresponding estimated wake-up time, which is 7 o' clock in the morning. Eye-shade equipment just can be based on this reservation information of predicting the awakening time generation intelligent household electrical appliances, and intelligent household electrical appliances in this embodiment can include equipment such as intelligent air conditioner, intelligent stereo set, and after determining that the user will awaken at 7 o' clock in the morning, this embodiment just can generate reservation information, and this reservation information is the information of timing and definite item control to the operating condition of intelligent household electrical appliances, for example, reservation information is: and 7 o' clock in the morning, the semi-intelligent sound box starts to play the weather forecast. Therefore, the eyeshade equipment can generate a corresponding reservation setting instruction based on the reservation information so as to set the intelligent household appliance, and after the setting is completed, the intelligent household appliance can work according to the reservation information, so that the use requirement of a user is met.
Exemplary method
The sleep state-based appointment setting method for the intelligent household appliance can be applied to terminal equipment, the terminal equipment can be an intelligent head ring or an intelligent eye patch, and functional modules for sensing electroencephalogram data and eye movement data are arranged on the intelligent head ring and the intelligent eye patch, for example, an electroencephalogram sensing module and an eye movement sensing module are arranged. Specifically, as shown in fig. 1, the method for setting a subscription of an intelligent household appliance based on a sleep state includes the following steps:
and S100, acquiring a sleep duration corresponding to the sleep state based on the determined sleep state, and estimating wake-up time corresponding to the sleep duration based on the sleep duration.
In this embodiment, the sleep state of the user may be first determined, and then the corresponding sleep duration, which is how long the user needs to sleep approximately, may be determined based on the sleep state, so that an estimated wake-up time, which refers to a wake-up time of the user, may be determined based on the sleep duration, for example, the user may wake up half at 7 a.m. in the morning. Since the determined sleep states may be different in the embodiment, the sleep states include a sleep-in state and a sleep-out state, and different sleep states have different influences on the sleep quality of the user, the corresponding sleep durations may also be different.
In one implementation, the present embodiment, when determining the sleep duration, includes the following steps:
step S101, if the sleep state is the sleep state, acquiring historical electroencephalogram data and historical eye movement data in a past preset time period, determining sleep time based on the historical electroencephalogram data and the historical eye movement data, and estimating the sleep duration based on the sleep time;
step S102, if the sleep state is not in the sleep state, obtaining sleep rule information, and determining the sleep duration according to the sleep rule information, wherein the sleep rule information reflects the sleep habit of a user.
Specifically, the sleep state of the embodiment is obtained based on joint analysis of electroencephalogram data and eye movement data. The intelligent eye patch of the embodiment can collect electroencephalogram data in real time. When the intelligent eye patch is applied specifically, the intelligent eye patch can collect electroencephalogram data within two continuous minutes, and send the collected electroencephalogram data to computer equipment, the computer equipment can analyze the electroencephalogram data and draw a corresponding electroencephalogram signal diagram, and the electroencephalogram signal diagram can reflect brain fluctuation conditions of a user. After the electroencephalogram signal graph is drawn, the maximum electroencephalogram intensity value is screened out from the electroencephalogram data, and then the maximum electroencephalogram intensity value is used as fluctuation key data. In addition, the intelligent eye cover of the embodiment covers the eyes, and the intelligent eye cover is provided with an eye movement sensing module which can sense the eyeball rotation of the user and record the occurrence time of the eyeball rotation every time the eyeball rotation is sensed. When the data of the eyeball rotation of 2 minutes are continuously collected, the embodiment can screen out the time interval between two adjacent eyeball rotations from the data of the eyeball rotation of 2 minutes, and obtain the data of the eye movement frequency based on the time interval.
Next, the embodiment compares the fluctuation critical data (i.e. the maximum value of the electroencephalogram intensity) with an electroencephalogram intensity threshold, where the electroencephalogram intensity threshold is preset and is used for measuring the electroencephalogram fluctuation state of the user, and if the fluctuation critical data is smaller than the preset electroencephalogram intensity threshold, it is indicated that the electroencephalogram fluctuation of the user is smaller. And if the fluctuation key data is larger than the preset electroencephalogram intensity threshold, the electroencephalogram fluctuation of the user is large. In addition, the determined eye movement frequency data is compared with a preset eye movement frequency threshold, if the eye movement frequency data is smaller than the preset eye movement frequency threshold, it is indicated that the user is not awake at the moment, and the probability of falling asleep is relatively high, and if the eye movement frequency data is larger than the preset eye movement frequency threshold, it is indicated that the user is awake at the moment. Based on the above, the present embodiment may perform joint analysis based on the fluctuation critical data and the eye movement frequency data, so as to determine the sleep state of the user more accurately.
Specifically, if the fluctuation critical data is smaller than a preset brain electrical intensity threshold and the eye movement frequency data is smaller than a preset eye movement frequency threshold, the embodiment may determine that the sleep state is a sleep state. That is, only if the two conditions are satisfied simultaneously, it can be determined that the user has fallen asleep, so that the real sleep state of the user can be determined more accurately. And if the fluctuation key data are larger than a preset electroencephalogram intensity threshold and/or the eye movement frequency data are larger than a preset eye movement frequency threshold, determining that the sleep state is not in the sleep state. That is to say, as long as any one of the two conditions that the fluctuation key data is greater than the preset brain electrical intensity threshold and the eye movement frequency data is greater than the preset eye movement frequency threshold is met, the user may be considered not to fall asleep at this time.
In addition, in another implementation manner, when determining fluctuation key data in the electroencephalogram data, the method may further calculate an electroencephalogram average intensity value after drawing an electroencephalogram signal map, and then use, in the electroencephalogram data in the preset time period, computer signal intensities higher than the electroencephalogram average intensity value or lower than the electroencephalogram average intensity value as fluctuation key data, and these fluctuation key data may effectively reflect the overall fluctuation condition of the electroencephalogram data in the preset time period, so that the sleep state of the user may be accurately analyzed based on these fluctuation key data.
After determining the sleep state, the present embodiment may determine a corresponding sleep duration based on the sleep state. When the sleep state is the state of falling asleep, the intelligent eye shield can directly acquire historical electroencephalogram data and historical eye movement data in a past preset time period, and the intelligent eye shield of the embodiment senses and shields the electroencephalogram data and the eye movement data in real time and records the electroencephalogram data and the eye movement data in real time, so that the acquisition of the historical electroencephalogram data and the historical eye movement data is very convenient. Then, the embodiment can determine at which moment the user falls asleep according to the historical electroencephalogram data and the historical eye movement data, generally speaking, in the process from not falling asleep to falling asleep of the user, the electroencephalogram data and the eye movement data both drop suddenly and tend to be stable, therefore, the embodiment can find out the time point when the historical electroencephalogram data and the historical eye movement data drop suddenly, then determine whether the data tend to be stable after the sudden drop, and if the data tend to be stable, determine that the time point is the time point when the user falls asleep, and further determine the time of falling asleep. When the time to fall asleep is determined, the estimated wake-up time can be directly determined according to the time to fall asleep. In this embodiment, if the time to fall asleep is earlier, it indicates that the work and rest of the user is better, and the user does not stay up to night, so that the sleep duration of the user at this time can be estimated to be a normal duration, for example, the normal duration is 7 hours. The normal duration may be determined based on the sleep rule of the user, for example, the embodiment may record the past sleep habits of the user in 3 months, where the sleep habits include the time to fall asleep and the sleep duration, and then calculate the average value according to the recorded sleep duration, so as to obtain the normal duration. If the user falls asleep late, the user stays up all night, so that in order to ensure the healthy body of the user, the duration of sleep of the user at this time is estimated to be longer than the normal duration, for example, by half an hour or by an hour. It can be seen that in the present embodiment, the sleep duration is short if the falling asleep time is earlier, and the sleep duration is long if the falling asleep time is later. For this reason, the embodiment may set a reference time, which is used for measuring whether the sleep time of the user is early or late, the reference time of the embodiment may be set based on the sleep rule of the user, and when the sleep time is earlier than the reference time, the sleep time may be determined to be early, so that the sleep duration may be determined to be a normal duration; when the falling-asleep time is later than the reference time, the falling-asleep time can be determined to be late, and therefore it can be determined that the sleep duration is extended on the basis of the normal duration. The specific extended duration may be based on a time difference between the time to sleep and a reference time, the greater the time difference, the longer the extended duration, and the smaller the time difference, the shorter the extended duration.
If the determined sleep state is the non-sleep state, the embodiment may determine the sleep duration directly based on the sleep rule, and the sleep rule information reflects the sleep habit of the user. Of course, in this embodiment, if it is determined that the user has not fallen asleep, the current time may be obtained, and if the current time is earlier than the reference time, the average duration in the sleep rule (i.e., the normal duration) is directly used as the sleep duration. If the current time is later than the reference time, it can be determined that the user stays up at night, so the sleep duration is longer than the normal duration, the specific extended duration can be based on the time difference between the current time and the reference time, and if the time difference is larger, the extended duration is longer.
In this embodiment, after the sleep duration is determined, the present embodiment may obtain the current time, and determine the remaining sleep duration according to the current time and the sleep duration. Then, the embodiment may determine the estimated wake-up time according to the remaining sleep time. After the estimated wake-up time is determined, the reservation control may be performed on the intelligent appliance based on the estimated wake-up time.
And S200, generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance.
In this embodiment, after the estimated wake-up time is obtained, the embodiment may generate the reservation information of the intelligent appliance, where the reservation information is information for performing timing control and item control on the operating state of the intelligent appliance. For example, if the estimated wake-up time is 7 am and a half, the reservation information is: and (5) starting to play the weather forecast by the semi-intelligent sound at 7 am.
In one implementation manner, in generating the reservation information in this embodiment, the method includes the following steps:
step S201, determining the preset starting time of the intelligent household appliance according to the estimated awakening time;
step S202, acquiring equipment information and equipment functions of each intelligent household appliance, wherein the equipment functions are functions set by default in the intelligent household appliances or functions defined by a user;
step S203, inputting the device information, the device function and the starting time into a preset information integration template, and binding the device information, the starting time and the device function based on the information integration template to obtain the reservation information.
Specifically, the estimated wake-up time of the embodiment is the wake-up time of the user, so the start-up time of the intelligent appliance should be consistent with the estimated wake-up time, and the estimated wake-up time is the start-up time of the intelligent appliance. Then, the present embodiment obtains device information and device functions of each of the intelligent home appliances, where the device functions are default functions or user-defined functions in the intelligent home appliances. The intelligent household appliance of the embodiment can be household appliances such as an intelligent air conditioner and an intelligent sound, and the functions of the household appliances are functions which a user wants to use after waking up. Therefore, in this embodiment, after determining the device information, the start time, and the device function, the device information, the device function, and the start time are input into a preset information integration template, where the information integration template is used to bind the device information, the start time, and the device function to obtain the reservation information.
In addition, according to the estimated wake-up time, a preset timing program is started, and the timing program is associated with a preset intelligent household appliance. The timing program can monitor time and prompt the intelligent household appliance to execute relevant operations in time after the estimated wake-up time is reached.
And step S300, generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
After the determined reservation information is generated, the present embodiment generates a reservation setting instruction according to the reservation information, where the reservation setting instruction is used to set, on the intelligent home appliance, the device function that the user needs to use after waking up. Since the reservation information in the hand is generated based on the device information, the device function and the starting time, the reservation setting instruction is used for reserving the starting time of the device function on the corresponding household appliance, so as to control the intelligent household appliance to work according to the reservation information.
In one implementation manner, when the reservation setting instruction is generated, the embodiment includes the following steps:
step S301, acquiring the device information in the reservation information, and determining a target intelligent household appliance based on the device information;
step S302, obtaining historical reservation information of the target intelligent household appliance, and if the historical reservation information is the same as the reservation information, directly using the historical reservation information;
step S303, if the historical reservation information of the target intelligent household appliance is different from the reservation information, clearing the historical reservation information, and generating the reservation setting instruction according to the starting time in the reservation information and the equipment function, wherein the reservation setting instruction is used for setting the equipment function on the target intelligent household appliance to be started when the time reaches the starting time.
Specifically, the present embodiment first acquires device information in the reservation information, and determines a target intelligent appliance based on the device information, that is, which intelligent appliance needs to be set for reservation. After the target intelligent household appliance is determined, the historical reservation information of the target intelligent household appliance is obtained, if the historical reservation information is the same as the reservation information, the historical reservation information is directly used, namely the target intelligent household appliance already reserves and sets the same reservation information, and resetting is not needed at the moment. And when the historical reservation information of the target intelligent household appliance is different from the reservation information, the historical reservation information needs to be updated. In this embodiment, the historical reservation information is first cleared, and then the reservation setting instruction is generated according to the starting time in the reservation information and the device function, where the reservation setting instruction is used to set, on the target intelligent home appliance, that the device function is started when the time reaches the starting time. After the generation of the reservation setting instruction is completed, the intelligent eyeshade of the embodiment sends the reservation setting instruction to the target intelligent household appliance, and the target intelligent household appliance sets the starting time of the equipment function according to the reservation setting instruction so as to ensure that the target intelligent household appliance can start the equipment function after the user wakes up.
In addition, in this embodiment, after the setting on the intelligent household appliance is completed based on the reservation setting instruction, the setting success information fed back by the intelligent household appliance is received, and the voice broadcast of the reservation information is performed based on the setting success information, so as to prompt the user that the reservation setting is successful.
In summary, in this embodiment, first, based on the determined sleep state, the sleep duration corresponding to the sleep state is obtained, and based on the estimated wake-up time corresponding to the sleep duration, then, according to the estimated wake-up time, the reservation information of the intelligent home appliance is generated, where the reservation information is information for performing timing control and item-setting control on the working state of the intelligent home appliance. And finally, generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information. The embodiment can determine the sleep duration of the user based on the sleep state, determine the estimated wake-up time, perform reservation setting on the intelligent household appliances according to the estimated wake-up time, meet the use requirements of the user, do not need the user to manually set the functions of the intelligent household appliances, and only need to realize the reservation setting on the intelligent household appliances based on the analysis of the sleep state, so that convenience is brought to the use of the user.
Exemplary devices
Based on the above embodiments, the present invention provides a reservation setup device for an intelligent home appliance based on a sleep state, as shown in fig. 2, the device includes: a wake-up time determining module 10, a reservation information generating module 20, and a home appliance reservation setting module 30. Specifically, the wakeup time determination module 10 is configured to obtain a sleep duration corresponding to the sleep state based on the determined sleep state, and estimate the wakeup time based on the sleep duration. The reservation information generating module 20 is configured to generate reservation information of the intelligent appliance according to the estimated wake-up time, where the reservation information is information for performing timing control and item-setting control on the working state of the intelligent appliance. The household appliance reservation setting module 30 is configured to generate a reservation setting instruction according to reservation information, and send the reservation setting instruction to the intelligent household appliance, so as to control the intelligent household appliance to work according to the reservation information.
In one implementation, the wake-up time determining module 10 includes:
the first state analysis unit is used for acquiring historical electroencephalogram data and historical eye movement data in a past preset time period if the sleep state is the sleep-in state, determining sleep-in time based on the historical electroencephalogram data and the historical eye movement data, and estimating the sleep duration based on the sleep-in time;
and the second state analysis unit is used for acquiring sleep rule information if the sleep state is not in the sleep state, and determining the sleep duration according to the sleep rule information, wherein the sleep rule information reflects the sleep habit of the user.
In one implementation, the wake-up time determining module 10 includes:
the remaining sleep duration determining unit is used for acquiring the current time and determining the remaining sleep duration according to the current time and the sleep duration;
and the estimated wake-up time determining unit is used for determining the estimated wake-up time according to the residual sleep duration.
In one implementation, the reservation information generating module 20 includes:
the starting time determining unit is used for determining the preset starting time of the intelligent household appliance according to the estimated awakening time;
the device function acquiring unit is used for acquiring the device information and the device function of each intelligent household appliance, wherein the device function is a default set function or a user-defined function in the intelligent household appliances;
and the reservation information determining unit is used for inputting the equipment information, the equipment function and the starting time into a preset information integration template, and binding the equipment information, the starting time and the equipment function based on the information integration template to obtain the reservation information.
In one implementation, the reservation information generating module 20 includes:
and the timing program binding unit is used for starting a preset timing program according to the estimated wake-up time and associating the timing program with a preset intelligent household appliance.
In one implementation, the appliance reservation setting module 30 includes:
the intelligent household appliance determining unit is used for acquiring the equipment information in the reservation information and determining a target intelligent household appliance based on the equipment information;
a reservation information comparison unit, configured to obtain historical reservation information of the target intelligent appliance, and if the historical reservation information is the same as the reservation information, directly use the historical reservation information;
and the instruction generating unit is used for clearing the historical reservation information if the historical reservation information of the target intelligent household appliance is different from the reservation information, and generating the reservation setting instruction according to the starting time in the reservation information and the equipment function, wherein the reservation setting instruction is used for setting the equipment function to be started when the time reaches the starting time on the target intelligent household appliance.
In one implementation, the apparatus further comprises:
and the voice broadcasting unit is used for receiving the setting success information fed back by the intelligent household appliance after the setting on the intelligent household appliance is completed based on the reservation setting instruction, and performing voice broadcasting of the reservation information based on the setting success information.
The working principle of each module in the reservation setting device for intelligent household appliances based on sleep states in this embodiment is the same as the principle of each step in the above method embodiments, and is not described herein again.
Based on the above embodiment, the present invention further provides a terminal device, a functional block diagram of the terminal device may be as shown in fig. 3, the terminal device may be an intelligent head ring or an intelligent eye patch, and the intelligent head ring and the intelligent eye patch are provided with functional modules for sensing electroencephalogram data and eye movement data, for example, an electroencephalogram sensing module and an eye movement sensing module. The terminal device may include one or more processors 100 (only one shown in fig. 3), a memory 101, and a computer program 102 stored in the memory 101 and executable on the one or more processors 100, for example, a program for reservation settings of the smart appliance based on a sleep state. The steps in method embodiments of a sleep state based subscription setting for intelligent appliances may be implemented by one or more processors 100 executing computer program 102. Alternatively, the one or more processors 100, when executing the computer program 102, may implement the functions of the modules/units in the apparatus embodiment for intelligent appliance reservation setting based on sleep state, which is not limited herein.
In one embodiment, processor 100 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In one embodiment, the storage 101 may be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like provided on the electronic device. Further, the memory 101 may also include both an internal storage unit and an external storage device of the electronic device. The memory 101 is used to store computer programs and other programs and data required by the terminal device. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that the block diagram shown in fig. 3 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific terminal device may include more or less components than those shown in the figure, or may combine some components, or have different arrangements of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware that is instructed by a computer program, and the computer program may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, operational databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
In summary, the present invention discloses a method for setting an appointment of an intelligent home appliance based on a sleep state and a terminal device, wherein the method comprises: acquiring sleep duration corresponding to the sleep state based on the determined sleep state, and estimating wake-up time corresponding to the sleep duration based on the sleep duration; generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance; and generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information. The invention can determine the sleep duration of the user based on the sleep state and determine the estimated wake-up time so as to perform reservation setting on the intelligent household appliance according to the estimated wake-up time, thereby meeting the use requirements of the user and bringing convenience to the use of the user.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for presetting intelligent household appliances based on sleep states is characterized by comprising the following steps:
acquiring sleep duration corresponding to the sleep state based on the determined sleep state, and estimating wake-up time corresponding to the sleep duration based on the sleep duration;
generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance;
and generating a reservation setting instruction according to reservation information, and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
2. The sleep-state-based reservation setting method for intelligent household appliances according to claim 1, wherein the acquiring the sleep duration corresponding to the sleep state based on the determined sleep state comprises:
if the sleep state is the sleep state, acquiring historical electroencephalogram data and historical eye movement data in a past preset time period, determining sleep time based on the historical electroencephalogram data and the historical eye movement data, and estimating the sleep duration based on the sleep time;
if the sleep state is not in the sleep state, acquiring sleep rule information, and determining the sleep duration according to the sleep rule information, wherein the sleep rule information reflects the sleep habit of the user.
3. The method of claim 1, wherein the pre-estimated wake-up time based on the sleep duration comprises:
acquiring current time, and determining the remaining sleep duration according to the current time and the sleep duration;
and determining the estimated wake-up time according to the residual sleep time.
4. The method for setting the subscription of the intelligent household appliance based on the sleep state as claimed in claim 1, wherein the generating the subscription information of the intelligent household appliance according to the estimated wake-up time comprises:
determining the preset starting time of the intelligent household appliance according to the estimated awakening time;
acquiring equipment information and equipment functions of each intelligent household appliance, wherein the equipment functions are default set functions or user-defined functions in the intelligent household appliances;
inputting the equipment information, the equipment function and the starting time into a preset information integration template, and binding the equipment information, the starting time and the equipment function based on the information integration template to obtain the reservation information.
5. The method for setting the subscription of the intelligent household appliance based on the sleep state as claimed in claim 1, wherein the generating the subscription information of the intelligent household appliance according to the estimated wake-up time comprises:
and starting a preset timing program according to the estimated wake-up time, and associating the timing program with a preset intelligent household appliance.
6. The reservation setting method of intelligent household appliances based on sleep states as claimed in claim 4, wherein the generating of reservation setting instructions according to reservation information comprises:
acquiring equipment information in the reservation information, and determining a target intelligent household appliance based on the equipment information;
acquiring historical reservation information of the target intelligent household appliance, and if the historical reservation information is the same as the reservation information, directly using the historical reservation information;
if the historical reservation information of the target intelligent household appliance is different from the reservation information, the historical reservation information is cleared, and a reservation setting instruction is generated according to the starting time in the reservation information and the equipment function, wherein the reservation setting instruction is used for setting the equipment function to be started when the time reaches the starting time on the target intelligent household appliance.
7. The reservation setting method of a smart appliance based on a sleep state according to any one of claims 1 to 6, further comprising:
and after the setting on the intelligent household appliance is finished based on the reservation setting instruction, receiving the setting success information fed back by the intelligent household appliance, and carrying out voice broadcasting on the reservation information based on the setting success information.
8. An intelligent household appliance reservation setting device based on a sleep state, the device comprising:
the wake-up time determining module is used for acquiring the sleep duration corresponding to the sleep state based on the determined sleep state and estimating the wake-up time corresponding to the sleep duration;
the reservation information generating module is used for generating reservation information of the intelligent household appliance according to the estimated wake-up time, wherein the reservation information is information for performing timing control and item control on the working state of the intelligent household appliance;
and the household appliance reservation setting module is used for generating a reservation setting instruction according to reservation information and sending the reservation setting instruction to the intelligent household appliance so as to control the intelligent household appliance to work according to the reservation information.
9. A terminal device, wherein the terminal device comprises a memory, a processor and a reservation setting program of a sleep-state based intelligent appliance stored in the memory and capable of running on the processor, and when the processor executes the reservation setting program of the sleep-state based intelligent appliance, the steps of the reservation setting method of the sleep-state based intelligent appliance according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, wherein a reservation setting program of a sleep-state based intelligent appliance is stored on the computer-readable storage medium, and when the reservation setting program of the sleep-state based intelligent appliance is executed by a processor, the steps of the reservation setting method of the sleep-state based intelligent appliance according to any one of claims 1 to 7 are implemented.
CN202211113315.8A 2022-09-14 2022-09-14 Intelligent household appliance reservation setting method based on sleep state and terminal equipment Active CN115202231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211113315.8A CN115202231B (en) 2022-09-14 2022-09-14 Intelligent household appliance reservation setting method based on sleep state and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211113315.8A CN115202231B (en) 2022-09-14 2022-09-14 Intelligent household appliance reservation setting method based on sleep state and terminal equipment

Publications (2)

Publication Number Publication Date
CN115202231A true CN115202231A (en) 2022-10-18
CN115202231B CN115202231B (en) 2022-12-09

Family

ID=83572943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211113315.8A Active CN115202231B (en) 2022-09-14 2022-09-14 Intelligent household appliance reservation setting method based on sleep state and terminal equipment

Country Status (1)

Country Link
CN (1) CN115202231B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08201550A (en) * 1995-01-24 1996-08-09 Canon Inc Waking apparatus
CN102043385A (en) * 2010-10-09 2011-05-04 浙江大学 User sleeping state-based household appliance control device and control method
WO2014097156A2 (en) * 2012-12-18 2014-06-26 Koninklijke Philips N.V. Wake-up device
EP3093569A1 (en) * 2015-05-11 2016-11-16 Xiaomi Inc. Method and device for turning on air conditioner
CN107566611A (en) * 2017-08-07 2018-01-09 珠海市魅族科技有限公司 A kind of alarm clock setting method, device, computer installation and computer-readable recording medium
CN110285534A (en) * 2019-06-17 2019-09-27 珠海格力电器股份有限公司 Intelligent control method, device, storage medium and air conditioner
US20200050156A1 (en) * 2018-08-08 2020-02-13 International Business Machines Corporation Combining home automation and uav technology
CN111083022A (en) * 2018-10-22 2020-04-28 奇酷互联网络科技(深圳)有限公司 Mobile terminal, control method thereof and computer storage medium
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction
CN111713956A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Control method and device of cooking equipment and related equipment
US20210138661A1 (en) * 2019-11-11 2021-05-13 Lg Electronics Inc. Robot and method for controlling the same
CN113941071A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium
CN114451900A (en) * 2022-04-11 2022-05-10 深圳市心流科技有限公司 Sleep quality determination method and system based on electroencephalogram and storage medium
CN114511160A (en) * 2022-04-20 2022-05-17 深圳市心流科技有限公司 Method, device, terminal and storage medium for predicting sleep time
WO2022100407A1 (en) * 2020-11-10 2022-05-19 华为技术有限公司 Intelligent eye mask, terminal device, and health management method and system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08201550A (en) * 1995-01-24 1996-08-09 Canon Inc Waking apparatus
CN102043385A (en) * 2010-10-09 2011-05-04 浙江大学 User sleeping state-based household appliance control device and control method
WO2014097156A2 (en) * 2012-12-18 2014-06-26 Koninklijke Philips N.V. Wake-up device
EP3093569A1 (en) * 2015-05-11 2016-11-16 Xiaomi Inc. Method and device for turning on air conditioner
CN107566611A (en) * 2017-08-07 2018-01-09 珠海市魅族科技有限公司 A kind of alarm clock setting method, device, computer installation and computer-readable recording medium
US20200050156A1 (en) * 2018-08-08 2020-02-13 International Business Machines Corporation Combining home automation and uav technology
CN111083022A (en) * 2018-10-22 2020-04-28 奇酷互联网络科技(深圳)有限公司 Mobile terminal, control method thereof and computer storage medium
CN111713956A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Control method and device of cooking equipment and related equipment
CN110285534A (en) * 2019-06-17 2019-09-27 珠海格力电器股份有限公司 Intelligent control method, device, storage medium and air conditioner
US20210138661A1 (en) * 2019-11-11 2021-05-13 Lg Electronics Inc. Robot and method for controlling the same
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction
WO2022100407A1 (en) * 2020-11-10 2022-05-19 华为技术有限公司 Intelligent eye mask, terminal device, and health management method and system
CN113941071A (en) * 2021-12-20 2022-01-18 深圳市心流科技有限公司 Sleep awakening method and device based on electroencephalogram, intelligent terminal and storage medium
CN114451900A (en) * 2022-04-11 2022-05-10 深圳市心流科技有限公司 Sleep quality determination method and system based on electroencephalogram and storage medium
CN114511160A (en) * 2022-04-20 2022-05-17 深圳市心流科技有限公司 Method, device, terminal and storage medium for predicting sleep time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周庆海等: "失眠症患者睡眠脑电图研究", 《基层医学论坛》 *
宋博凡等: "智能睡眠辅助系统的研究设计", 《福建电脑》 *
李珂: "基于移动互联的睡眠监控系统设计", <中国优秀硕士学位论文全文数据库工程科技Ⅱ辑> *

Also Published As

Publication number Publication date
CN115202231B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN105282343B (en) A kind of method and apparatus for intelligent reminding of sleeping
US10325514B2 (en) Systems and techniques for tracking sleep consistency and sleep goals
CN107743289B (en) Intelligent sound box control method in intelligent household scene
CN106921794B (en) Method and device for realizing alarm clock on intelligent equipment
US10271784B2 (en) Facilitating restful sleep using reminders
WO2016131256A1 (en) Screen control method and apparatus for wearable device
CN107493388A (en) Terminal and its sleep intelligent prompt method, storage device
CN108509225B (en) Information processing method and electronic equipment
CN114306873B (en) Sleep awakening method and device, intelligent eyeshade and storage medium
CN111657855B (en) Sleep evaluation and sleep awakening method and device and electronic equipment
CN115185196B (en) Intelligent equipment control method based on sleep state, terminal equipment and storage medium
CN115202231B (en) Intelligent household appliance reservation setting method based on sleep state and terminal equipment
CN114073493B (en) Physiological data acquisition method and device and wearable equipment
CN114191684A (en) Sleep control method and device based on electroencephalogram, intelligent terminal and storage medium
CN111984337B (en) Operation mode collection method, terminal device, massage device and storage medium
CN113672294A (en) Intelligent switching method and device of working modes and computer equipment
CN106325985B (en) Timer adjusting method and system and mobile terminal
CN112181144A (en) Terminal control method and system
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
CN113542496A (en) Intelligent alarm clock processing method and device for mobile terminal, mobile terminal and storage medium
CN110138037B (en) Method and device for reminding user of charging, wearable device and storage medium
US20210169412A1 (en) Method for automatically recording circadian rhythm of user via portable device and portable device thereof
CN115226069A (en) Method, device and equipment for reducing response waiting time of vehicle-mounted equipment and automobile
CN108337725B (en) Module scheduling method, device and system for terminal equipment
CN113662516B (en) Method, device, equipment and medium for conducting work and rest management based on body temperature measurement

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
GR01 Patent grant
GR01 Patent grant