CN111308970A - Household equipment control method and device, storage medium and electronic equipment - Google Patents

Household equipment control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111308970A
CN111308970A CN202010056074.2A CN202010056074A CN111308970A CN 111308970 A CN111308970 A CN 111308970A CN 202010056074 A CN202010056074 A CN 202010056074A CN 111308970 A CN111308970 A CN 111308970A
Authority
CN
China
Prior art keywords
sleep
instruction
sending
equipment
time
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
CN202010056074.2A
Other languages
Chinese (zh)
Inventor
祝泽坤
唐杰
陈道远
王瑞瑞
陈宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010056074.2A priority Critical patent/CN111308970A/en
Publication of CN111308970A publication Critical patent/CN111308970A/en
Pending legal-status Critical Current

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
    • 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
    • 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
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The invention relates to the technical field of intelligent home furnishing, in particular to a home furnishing device control method, a home furnishing device control device, a storage medium and an electronic device.

Description

Household equipment control method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of smart home, in particular to a home equipment control method, a home equipment control device, a storage medium and electronic equipment.
Background
The intelligent household equipment has the function of automatically adjusting the indoor environment, so that great convenience is brought to the life of people, and therefore the intelligent household equipment has wide users.
When a user is in different states (e.g., a sleep state and an awake state), suitable indoor environments are different, and therefore, how to create a suitable indoor environment for different states of the user becomes an urgent problem to be solved.
Disclosure of Invention
In order to solve the technical problems, the invention provides a household equipment control method, a household equipment control device, a storage medium and electronic equipment.
In a first aspect, the present invention provides a home device control method, where the method includes:
after receiving an initial sleep time input by a user, sending a sleep control instruction to the household equipment;
acquiring the current moment in real time;
judging whether the current time is the time for finishing sleeping;
and if the current moment is the sleep ending moment, sending a starting instruction to the household equipment.
Optionally, the method further comprises:
acquiring a plurality of actual sleep finish moments of the user;
calculating to obtain an average sleep finishing time according to the actual sleep finishing times;
and taking the average end sleep time as the end sleep time.
Optionally, the step of acquiring a plurality of actual sleep termination moments of the user includes:
acquiring a plurality of human body postures acquired by a microwave radar at different moments;
and when the human body posture is matched with a preset human body posture, the time when the human body posture is acquired is the actual sleep finishing time.
Optionally, the household device includes a router; the step of sending the sleep control instruction to the home equipment includes:
sending the sleep control instruction to the router, wherein the sleep instruction is an instruction for reducing the output bandwidth of the router from the initial bandwidth to a preset bandwidth;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the router, wherein the starting instruction is an instruction for restoring the output bandwidth of the router to the initial bandwidth.
Optionally, the household equipment comprises air conditioning equipment; the step of sending the sleep control instruction to the home equipment includes:
sending the sleep control instruction to the air conditioning equipment, wherein the sleep control instruction is an instruction for controlling the air conditioning equipment to sleep;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the air conditioning equipment, wherein the starting instruction is an instruction for controlling the air conditioning equipment to work.
Optionally, the household device comprises a curtain device; the step of sending the sleep control instruction to the home equipment includes:
sending the dormancy control instruction to the curtain equipment, wherein the dormancy control instruction is an instruction for controlling the curtain to be closed;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the curtain equipment, wherein the starting instruction is an instruction for controlling the curtain to be opened.
In a second aspect, the present invention further provides a home equipment control device, including:
the sleep module is used for sending a sleep control instruction to the household equipment after receiving the initial sleep time input by the user;
the acquisition module is used for acquiring the current moment in real time;
the judging module is used for judging whether the current moment is the moment for finishing sleeping;
and the starting module is used for sending a starting instruction to the household equipment if the current moment is the sleep ending moment.
In a third aspect, the present invention further provides a storage medium storing a computer program, where the storage medium, when executed by one or more processors, implements the home device control method according to the first aspect.
In a fourth aspect, the present invention further provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, executes the home device control method according to the first aspect.
According to the household equipment control method, the household equipment control device, the storage medium and the electronic equipment, after the initial sleep time input by the user is received, the sleep instruction is sent to the household equipment, so that the household equipment enters the sleep state after receiving the sleep instruction, and an environment suitable for sleeping is created for the user; the method comprises the steps of obtaining the current time in real time, judging whether the current time is the time of finishing sleeping or not, and sending a starting instruction to the household equipment if the current time is the time of finishing sleeping so that the household equipment enters a working state after receiving the starting instruction, and creating a proper indoor environment for a user. Therefore, the invention adjusts the indoor environment according to different states (sleeping state and waking state) of the user, and creates a suitable indoor environment for the user.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings:
fig. 1 is a schematic diagram of a home device control system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a home device control method according to an embodiment of the present invention;
fig. 3 is a schematic view of another household equipment control system according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of another household device control method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another household device control method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of another household device control method according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of another household device control method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of another household device control method according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating the sub-step of step S6 according to the present invention;
fig. 10 is a logic block diagram of a home device control apparatus according to an embodiment of the present invention.
Reference numerals: 10-household equipment control device; 20-household equipment; 201-a router; 202-air conditioning equipment; 203-curtain devices; 101-a sleep module; 102-an obtaining module; 103-a judgment module; 104-start module.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments of the present invention and the features of the embodiments can be combined with each other without conflict, and the formed technical solutions are within the scope of the present invention.
Example one
Referring to fig. 1, the home device control system includes a home device control apparatus 10 and at least one home device 20, and the home device control apparatus 10 is in communication connection with the at least one home device 20.
The home device control apparatus 10 is configured to control a state (e.g., a sleep state, a startup state, etc.) of at least one home device 20.
Fig. 2 is a schematic flow chart of a home device control method according to an embodiment of the present invention, and it should be noted that the home device control method according to the embodiment of the present invention is not limited by fig. 2 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the home device control method according to the embodiment of the present invention may be interchanged according to actual needs, or some steps may be omitted or deleted. The process may be executed by the home device control apparatus 10 in fig. 1, and a specific process related to fig. 2 will be described below, as shown in fig. 2, where the method includes:
and step S1, after receiving the initial sleep time input by the user, sending the sleep control instruction to the household equipment.
The user can input through electronic equipment such as a mobile terminal, a tablet computer and a computer. For example, the user may set the initial sleep time to 21:00 through an application program set by the mobile terminal.
And step S2, acquiring the current time in real time.
Alternatively, the home appliance control device 10 may obtain the current time from the server in real time.
Step S3, determine whether the current time is the sleep termination time.
If the current time is not the sleep termination time, for example, the sleep termination time is 7:00, and the current time is 6:00, the user is still in the sleep state, and the process proceeds to step S2; if the current time is the end sleep time, for example, the end sleep time is 7:00, and the current time is 7:00, the flow advances to step S4.
And step S4, sending the starting instruction to the household equipment.
According to the household equipment control method provided by the embodiment, after the initial sleep time input by the user is received, the sleep instruction is sent to the household equipment, so that the household equipment enters the sleep state after receiving the sleep instruction, and an environment suitable for sleeping is created for the user; the method comprises the steps of obtaining the current time in real time, judging whether the current time is the time of finishing sleeping or not, and sending a starting instruction to the household equipment if the current time is the time of finishing sleeping so that the household equipment enters a working state after receiving the starting instruction, and creating a proper indoor environment for a user. Therefore, the invention adjusts the indoor environment according to different states (sleeping state and waking state) of the user, and creates a suitable indoor environment for the user.
Example two
On the basis of fig. 1, the present embodiment provides a home device control system, and specifically, fig. 3 is a schematic view of another home device control system provided in the embodiment of the present invention, as shown in fig. 3, a home device 20 includes a router 201, an air conditioner 202, and a curtain device 203. The router 201, the air conditioning equipment 202 and the curtain equipment 203 are all in communication connection with the household equipment control device 10.
The home appliance control device 10 is configured to control states (for example, a sleep state, an activation state, and the like) of the router 201, the air conditioner 202, and the curtain device 203.
When the home device 20 includes the router 201 in fig. 3, in order to prevent the sleep duration of the user from being affected by the use of the electronic device such as a mobile phone, a tablet computer, a computer, and the like, the present embodiment provides a home device control method to control the working state of the router 201 to limit the use of the electronic device by the user, so as to ensure the sleep duration of the user, specifically, fig. 4 is a flowchart of another home device control method provided in the embodiment of the present invention, as shown in fig. 4, step S1 includes:
and a substep S11, sending a sleep control command to the router, wherein the sleep command is a command for reducing the output bandwidth of the router from the initial bandwidth to a preset bandwidth.
It can be understood that the sleep instruction is an instruction for reducing the output bandwidth of the router from the initial bandwidth to a preset bandwidth, so as to limit the bandwidth of the electronic device of the user, such as a mobile phone, a tablet computer, a computer, and the like, and to disconnect the network of the electronic device of the user, so as to prevent the user from interfering with the normal sleep of the user due to excessive use of the electronic device.
Step S4, including:
and a substep S41, sending a start instruction to the router, wherein the start instruction is an instruction for restoring the output bandwidth of the router to the initial bandwidth.
In this embodiment, after receiving an initial sleep time input by a user, sending a sleep control instruction to a router to control an output bandwidth of the router to be reduced from an initial bandwidth to a preset bandwidth, so as to limit a bandwidth of an electronic device of the user and ensure a sleep duration of the user in a sleep state; and when the current moment is the moment of finishing the sleep, sending a starting instruction to the router so as to control the output bandwidth of the router to be restored to the initial bandwidth and ensure that the electronic equipment can be normally used when the user is in a waking state.
EXAMPLE III
When the household device 20 includes the air conditioner 202 in fig. 3, the present embodiment provides a household device control method to control the operating state of the air conditioner 202, so as to adjust the indoor temperature, so that the user can obtain a suitable indoor environment in both the sleep state and the awake state, specifically, fig. 5 is a flowchart of another household device control method provided in the embodiment of the present invention, as shown in fig. 5, step S1 includes:
and a substep S12, sending a sleep control command to the air conditioning equipment, wherein the sleep control command is a command for controlling the air conditioning equipment to sleep.
Step S4, including:
and a substep S42, sending a starting instruction to the air conditioning equipment, wherein the starting instruction is an instruction for controlling the air conditioning equipment to work.
In the embodiment, after receiving the initial sleep time input by the user, the sleep control instruction is sent to the air conditioning equipment to control the air conditioning equipment to sleep, so that the indoor environment of the user in a sleep state is adjusted to ensure the sleep quality of the user; and when the current moment is the moment of finishing sleeping, sending a starting instruction to the air conditioning equipment so as to control the air conditioning equipment to work, thereby regulating the indoor environment when the user is in a waking state.
Example four
When the household device 20 includes the curtain device 203 in fig. 3, the present embodiment provides a household device control method to control a working state of the curtain device 203 so as to adjust indoor light, specifically, fig. 6 is a flowchart of another household device control method provided in the embodiment of the present invention, as shown in fig. 6, step S1 includes:
and a substep S13, sending a sleep control command to the curtain device, wherein the sleep control command is a command for controlling the curtain to close.
When the user is in a sleeping state, in order to ensure the sleeping quality of the user, the indoor light can be dimmed, and specifically, the curtain device 203 can be controlled to operate to close the curtain.
Alternatively, the window covering device 203 may be a motor, which may be, but is not limited to, a wound rotor motor, a squirrel cage rotor motor, a permanent magnet rotor motor, and the like.
When the curtain device 203 is a motor, the motor rotates forward to drive the curtain to close, and when the motor receives the sleep control instruction, the motor rotates forward to drive the curtain to close, so as to dim indoor light, thereby creating an indoor environment suitable for sleeping and ensuring the sleep quality of a user.
Step S4, including:
and a substep S43, sending a starting instruction to the curtain device, wherein the starting instruction is an instruction for controlling the curtain to be opened.
Continuing with the example of sub-step S13, the motor rotates forward to close the window covering, otherwise the motor rotates backward to open the window covering, and when the motor receives the start command, the motor rotates backward to open the window covering to adjust the indoor light, thereby creating an indoor environment suitable for waking state.
It should be noted that the home devices 20 may include more or less kinds of home devices according to the actual situation of the user, instead of only including the router 201, the air conditioning device 202, and the curtain device 203. For example, the household devices 20 may also include doors, lights, and the like.
For example, when the home appliance 20 is a door, a sleep control command is transmitted to the door, wherein the sleep control command is a command for controlling the door to be closed so as to ensure safety and not to be disturbed when the user is in a sleep state. And sending a starting instruction to the door, wherein the starting instruction is an instruction for controlling the door to be opened.
For example, when the home appliance 20 is a lamp, a sleep command, which is a command to control the lamp to turn down, is transmitted to the lamp. And sending a starting instruction to the lamp, wherein the starting instruction is an instruction for controlling the brightness of the lamp to be increased.
EXAMPLE five
In this embodiment, on the basis of the first embodiment, the present embodiment provides a home device control method to determine a time when a home device finishes sleeping, specifically, as shown in fig. 7, a flowchart of another home device control method provided in the embodiment of the present invention is shown, and after step S1, the method further includes:
and step S5, calculating the sleep ending time according to the initial sleep time and the preset sleep duration.
For example, the initial sleep time is 21:00, the preset sleep time is 10 hours, and the calculated sleep termination time is 7: 00.
It should be noted that the time for starting sleep and the preset sleep duration are set differently according to the living habits, seasons, or holidays of the user, and are not limited to the specific values in the above examples.
In this embodiment, the sleep termination time is calculated by the initial sleep time and the preset sleep time, so that the user can be ensured to have enough sleep time, and diseases caused by too short or too long sleep time of the user can be prevented.
EXAMPLE six
In this embodiment, on the basis of the first embodiment, another household device control method is provided to flexibly determine a sleep ending time of a household device according to a living habit of a user, and specifically, fig. 8 is a flowchart of another household device control method provided in the embodiment of the present invention, and as shown in fig. 8, the method further includes:
step S6, a plurality of actual sleep termination times of the user are acquired.
In one embodiment, after the alarm clock set by the mobile terminal of the user rings, the time when the user turns off the alarm clock through the physical button or control of the mobile terminal is the actual sleep termination time, and the mobile terminal of the user sends the time to the home equipment control device 10.
In another embodiment, a pressure sensor is mounted on the user's bed, and the pressure sensor detects a greater pressure value when the user lies on the bed; when the user gets up, the pressure sensor detects a smaller pressure value. The pressure sensor sends the collected pressure value to the home appliance control device 10 in real time, when the home appliance control device 10 receives a smaller pressure value, it is determined that the user finishes sleeping, and the moment corresponding to the received smaller pressure value is the actual moment for finishing sleeping.
It should be noted that, when the user gets up every day, an actual sleep termination time is collected, and the number of the collected actual sleep termination times is the number of the collected days.
Step S7, an average sleep termination time is calculated from a plurality of actual sleep termination times.
Alternatively, the number of the actual sleep termination moments may be determined according to a statistical period set by the user, for example, if the statistical period of the user is one week, the number of the actual sleep termination moments is 7. For example, if the statistical period of the user is 3 days, the number of times of actually ending sleep is 3.
The number of times of actually ending the sleep (i.e., the statistical period) is set according to the actual situation of the user, and is not limited to the number in the above example, and the specific number is not limited herein.
When the statistical period is 3 days (that is, the number of the actual sleep termination moments is 3), in a specific case, the 3 actual sleep termination moments are 7:05, 7:15 and 7:10 in sequence, and the calculated average sleep termination moment is 7: 10.
Step S8 sets the average sleep termination time as the sleep termination time.
Continuing to take the example of the sleep termination time of 7:00 in the fifth embodiment as an example, if the average sleep termination time of 7:10 is calculated in step S7, it indicates that the actual average getting-up time of the user is 10 minutes later than 7:00, and therefore, the calculated average sleep termination time of 7:10 is used as the updated sleep termination time, and it can be understood that the home equipment control device 10 sends the start instruction to the home equipment at 7:10 to control the home equipment to operate.
In this embodiment, the home device control apparatus can more accurately control home devices of different users by acquiring a plurality of actual sleep termination times of the users, calculating an average sleep termination time according to the plurality of actual sleep termination times, and updating the sleep termination time by using the average sleep termination time as the sleep termination time.
EXAMPLE seven
In this embodiment, on the basis of the sixth embodiment, a method for controlling home equipment is provided to determine an actual sleep termination time of a user, fig. 9 is a schematic flowchart of a substep of step S6 of the present invention, as shown in fig. 9, step S6 includes:
and a substep S61, acquiring a plurality of human body postures acquired by the microwave radar at different moments.
And a substep S62, when the human body posture is matched with the preset human body posture, acquiring the time of the human body posture as the actual sleep finishing time.
For example, the preset posture is sitting or standing, when the collected human body posture is sitting, the human body posture is matched with the preset posture, and the moment corresponding to the collected human body posture is the actual sleep ending moment. When the collected human body posture is lying, the human body posture is not matched with the preset posture, and the collected moment corresponding to the human body posture is a sleep moment, namely the user is in a sleep state. Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
(1) after receiving the initial sleep time input by the user, sending the sleep instruction to home equipment (such as a router, air conditioning equipment, curtain equipment and the like) so that the home equipment enters a sleep state after receiving the sleep instruction, and creating an environment suitable for sleeping for the user; the method comprises the steps of obtaining the current time in real time, judging whether the current time is the time of finishing sleeping or not, and sending a starting instruction to the household equipment if the current time is the time of finishing sleeping so that the household equipment enters a working state after receiving the starting instruction, and creating a proper indoor environment for a user. Therefore, the invention adjusts the indoor environment aiming at different states (sleep state and waking state) of the user, and creates a suitable indoor environment for the user;
(2) the sleep ending time is calculated through the initial sleep time and the preset sleep time, so that the sufficient sleep time of the user can be ensured, and the diseases of the user caused by too short or too long sleep time can be prevented;
(3) and updating the sleep finish time by acquiring a plurality of actual sleep finish times of the user and calculating the average sleep finish time according to the actual sleep finish times, and taking the average sleep finish time as the sleep finish time, so that the home equipment control device can more accurately control home equipment of different users.
Example eight
Fig. 10 is a logic block diagram of a home device control apparatus according to an embodiment of the present invention, and as shown in fig. 10, the home device control apparatus 10 includes a sleep module 101, an obtaining module 102, a determining module 103, and a starting module 104.
The sleep module 101 is configured to send a sleep control instruction to the home device after receiving the initial sleep time input by the user.
It is understood that the hibernation module 101 can be used to execute the above step S1.
The obtaining module 102 is configured to obtain a current time in real time.
It is understood that the obtaining module 102 may be configured to execute the step S2.
The judging module 103 is configured to judge whether the current time is a sleep ending time.
It is understood that the determining module 103 can be used to execute the above step S3.
And the starting module 104 is configured to send a starting instruction to the home equipment if the current time is the sleep termination time.
It is understood that the starting module 104 can be used for executing the above step S4.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working processes of the hibernation module 101, the obtaining module 102, the determining module 103 and the starting module 104 may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Example nine
The present embodiment provides a storage medium, where a computer program is stored, and when the storage medium is executed by one or more processors, the method for controlling a home device according to any one of the first to seventh embodiments is implemented.
The storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc.
Example ten
The embodiment provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the electronic device executes a home device control method as in any one of the first to seventh embodiments.
The Processor may be implemented by an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to execute the method for controlling the home Device in any of the first to seventh embodiments.
The Memory may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
In summary, according to the home device control method, device, storage medium and electronic device provided by the present invention, after receiving the initial sleep time input by the user, the sleep instruction is sent to the home device, so that the home device enters the sleep state after receiving the sleep instruction, and an environment suitable for sleep is created for the user; the method comprises the steps of obtaining the current time in real time, judging whether the current time is the time of finishing sleeping or not, and sending a starting instruction to the household equipment if the current time is the time of finishing sleeping so that the household equipment enters a working state after receiving the starting instruction, and creating a proper indoor environment for a user. Therefore, the invention adjusts the indoor environment according to different states (sleeping state and waking state) of the user, and creates a suitable indoor environment for the user.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that, in the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A household equipment control method is characterized by comprising the following steps:
after receiving an initial sleep time input by a user, sending a sleep control instruction to the household equipment;
acquiring the current moment in real time;
judging whether the current time is the time for finishing sleeping;
and if the current moment is the sleep ending moment, sending a starting instruction to the household equipment.
2. The household equipment control method according to claim 1, characterized in that the method further comprises:
and calculating the sleep ending time according to the initial sleep time and a preset sleep duration.
3. The household equipment control method according to claim 1, characterized in that the method further comprises:
acquiring a plurality of actual sleep finish moments of the user;
calculating to obtain an average sleep finishing time according to the actual sleep finishing times;
and taking the average end sleep time as the end sleep time.
4. The home equipment control method according to claim 3, wherein the step of obtaining a plurality of actual sleep termination moments of the user comprises:
acquiring a plurality of human body postures acquired by a microwave radar at different moments;
and when the human body posture is matched with a preset human body posture, the time when the human body posture is acquired is the actual sleep finishing time.
5. The home device control method according to claim 1, wherein the home device includes a router; the step of sending the sleep control instruction to the home equipment includes:
sending the sleep control instruction to the router, wherein the sleep instruction is an instruction for reducing the output bandwidth of the router from the initial bandwidth to a preset bandwidth;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the router, wherein the starting instruction is an instruction for restoring the output bandwidth of the router to the initial bandwidth.
6. The household equipment control method according to claim 1, wherein the household equipment comprises air conditioning equipment; the step of sending the sleep control instruction to the home equipment includes:
sending the sleep control instruction to the air conditioning equipment, wherein the sleep control instruction is an instruction for controlling the air conditioning equipment to sleep;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the air conditioning equipment, wherein the starting instruction is an instruction for controlling the air conditioning equipment to work.
7. The household equipment control method according to claim 1, wherein the household equipment comprises curtain equipment; the step of sending the sleep control instruction to the home equipment includes:
sending the dormancy control instruction to the curtain equipment, wherein the dormancy control instruction is an instruction for controlling the curtain to be closed;
the step of sending the starting instruction to the household equipment comprises the following steps:
and sending the starting instruction to the curtain equipment, wherein the starting instruction is an instruction for controlling the curtain to be opened.
8. A home equipment control apparatus, comprising:
the sleep module is used for sending a sleep control instruction to the household equipment after receiving the initial sleep time input by the user;
the acquisition module is used for acquiring the current moment in real time;
the judging module is used for judging whether the current moment is the moment for finishing sleeping;
and the starting module is used for sending a starting instruction to the household equipment if the current moment is the sleep ending moment.
9. A storage medium storing a computer program, the storage medium implementing the home device control method according to any one of claims 1-7 when executed by one or more processors.
10. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, performs the home device control method according to any one of claims 1 to 7.
CN202010056074.2A 2020-01-17 2020-01-17 Household equipment control method and device, storage medium and electronic equipment Pending CN111308970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010056074.2A CN111308970A (en) 2020-01-17 2020-01-17 Household equipment control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010056074.2A CN111308970A (en) 2020-01-17 2020-01-17 Household equipment control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111308970A true CN111308970A (en) 2020-06-19

Family

ID=71158131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010056074.2A Pending CN111308970A (en) 2020-01-17 2020-01-17 Household equipment control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111308970A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113189885A (en) * 2021-04-30 2021-07-30 海尔(深圳)研发有限责任公司 Method, device, equipment and system for controlling sleep environment in home system
CN113765758A (en) * 2021-08-24 2021-12-07 珠海格力电器股份有限公司 Method, system and device for transmitting scene linkage control instruction and storage medium
WO2022218038A1 (en) * 2021-04-15 2022-10-20 海尔(深圳)研发有限责任公司 Method, apparatus, and system for environment control in smart home system, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404160A (en) * 2015-10-29 2016-03-16 小米科技有限责任公司 Control method and device based on sleep state
CN105573140A (en) * 2016-03-08 2016-05-11 许昌学院 Smart home system capable of assisting sleep
CN108594666A (en) * 2018-03-28 2018-09-28 珠海格力电器股份有限公司 A kind of control method and device, terminal device and readable storage medium storing program for executing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404160A (en) * 2015-10-29 2016-03-16 小米科技有限责任公司 Control method and device based on sleep state
CN105573140A (en) * 2016-03-08 2016-05-11 许昌学院 Smart home system capable of assisting sleep
CN108594666A (en) * 2018-03-28 2018-09-28 珠海格力电器股份有限公司 A kind of control method and device, terminal device and readable storage medium storing program for executing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022218038A1 (en) * 2021-04-15 2022-10-20 海尔(深圳)研发有限责任公司 Method, apparatus, and system for environment control in smart home system, and device
CN113189885A (en) * 2021-04-30 2021-07-30 海尔(深圳)研发有限责任公司 Method, device, equipment and system for controlling sleep environment in home system
CN113765758A (en) * 2021-08-24 2021-12-07 珠海格力电器股份有限公司 Method, system and device for transmitting scene linkage control instruction and storage medium
CN113765758B (en) * 2021-08-24 2022-10-11 珠海格力电器股份有限公司 Method, system and device for transmitting scene linkage control instruction and storage medium

Similar Documents

Publication Publication Date Title
CN111308970A (en) Household equipment control method and device, storage medium and electronic equipment
CN106549833B (en) Control method and device for intelligent household equipment
CN107504656B (en) A kind of air conditioner Learning Control Method and system
US11297709B2 (en) Circuit arrangement for enabling motion detection to control an outdoor light
CN109140706B (en) Intelligent control method for air conditioner
CN110131846B (en) Intelligent air conditioner control method and air conditioner
CN105577492A (en) Smart home device state pushing method and device
US20170052514A1 (en) Method and computer software program for a smart home system
CN113091265B (en) Method for controlling air conditioning system and air conditioning system
CN113759736B (en) Control method, device and equipment for smart home
EP3485703B1 (en) Illumination control with undo option
CN112363405A (en) Smart home linkage control method, smart terminal and storage medium
CN111649443A (en) Air conditioner control method and device, air conditioner and storage medium
US8508135B2 (en) User interface for an indoor light switch
CN110701725A (en) Control method and system of air conditioner
CN109039835B (en) Intelligent household scene configuration method, gateway, system and machine readable storage medium
US8558464B2 (en) Arrangement of an outdoor light enabling ambient light detection
CN113280491A (en) Control method and device of radiation air-conditioning system, terminal equipment and storage medium
CN108870670B (en) Air conditioner control method and air conditioner control device
CN113615659A (en) Control method of mosquito eradication device, and computer-readable storage medium
CN109764475B (en) Air treatment equipment, control method and device thereof, and computer readable storage medium
CN114153150A (en) Intelligent building energy-saving control system and method based on human body induction
CN114077265A (en) Temperature control method and system, temperature control equipment and light switch
CN111594994A (en) Fresh air port valve adjusting method, computer device and computer readable storage medium
CN110584443A (en) Intelligent curtain control device and control method

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