Smart home management method, system, device and storage medium based on the Internet of Things
By setting up normally closed smart terminal devices in the Internet of Things system, monitoring and judging based on the length of time when there is no one in the room and the length of time when the device status is remotely changed, automatically shutting down or reminding users to shut down the device, solves the problem of energy consumption caused by forgetting to turn off smart home devices. Electricity problems are eliminated, and management efficiency and intelligence are improved.
Patent Information
- Application Number
- CN202010717439.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-07-23
AI Technical Summary
Smart home devices can easily be left on for a long time when users forget to turn them off, causing power consumption and resource waste.
By setting up a normally closed smart terminal device in the Internet of Things system, and monitoring and judging based on the length of time when no one is indoors and the length of time when the device status is changed remotely, the device can be automatically turned off, or the user can be reminded to turn off the device, ensuring that the device can be used as much as possible when no one is around. Turn off to reduce power consumption.
It effectively reduces the power and energy consumption of smart terminal equipment caused by user forgetfulness, improves the operating efficiency and intelligence of smart home management, and ensures that the equipment returns to an energy-saving state as soon as possible when no one is around.
Smart Images

Figure CN111965984B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a smart home management method, system, device and storage medium based on the Internet of Things. Background Art
[0002] With the development of network technologies and communication technologies such as the Internet of Things, smart home devices have been widely used.
[0003] At present, smart home uses the Internet of Things technology to connect control terminal devices, smart routing devices and various smart terminal devices in the room (such as smart door locks, smart rice cookers, smart TVs, smart air conditioners, etc.). The control terminal devices control and manage the smart terminal devices through smart routing devices, providing access control, remote control of home appliances, indoor environment monitoring and other functions and means to realize the personalization and intelligence of home life and create an efficient, comfortable, safe, convenient and environmentally friendly home environment for users.
[0004] However, the above technology has the following defects: the user needs to operate the opening and closing of the smart terminal devices associated with the smart home system. When no one is at home for a long time, if the user forgets to turn off the smart terminal devices, it is easy to cause these smart terminal devices to consume power and waste resources. Summary of the invention
[0005] In order to solve the problem that users forget to turn off smart terminal devices, the present application provides a smart home management method, system, device and storage medium based on the Internet of Things.
[0006] In the first aspect, the smart home management method based on the Internet of Things provided by this application adopts the following technical solutions:
[0007] The smart home management method based on the Internet of Things includes the following steps:
[0008] S100: Setting the indoor smart terminal device as a normally closed smart terminal device according to usage requirements;
[0009] S200: Determine whether there is someone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, go to step S300;
[0010] S300: Determine whether the state of the smart terminal device is changed by remote control, if yes, proceed to step S400, if no, proceed to step S500;
[0011] S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the remote change of the state of the smart terminal device, and returning to step S200;
[0012] S500: Determine whether to turn off the normally closed smart terminal device based on the time T10 when no one is in the room, and return to step S200.
[0013] By adopting the above technical solution, smart home management generally has two control methods: direct manual triggering and remote control. Therefore, when no one is indoors, the normally closed smart terminal device may not be turned off because the user forgot to turn it off when leaving home, or other users may turn on the normally closed smart terminal device in advance when they are about to go home. If the normally closed smart terminal device is turned on in advance when you are about to go home, you may be delayed on the way home due to an emergency and may not be able to go home as planned. This will also cause the normally closed smart terminal device that is turned on by remote control to be turned on for a long time, resulting in power and energy consumption.
[0014] The two situations that cause the normally closed intelligent terminal equipment to consume power and energy are monitored and judged respectively, and it is determined in turn whether the normally closed intelligent terminal equipment needs to be closed.
[0015] According to the energy consumption, electricity safety, usage frequency, etc. of the smart terminal devices, when the smart terminal devices are connected to the smart home system, the smart terminal devices are set to be normally closed smart terminal devices. When it is confirmed that there is no one in the room, the state of the indoor smart terminal devices is changed and restored to the initial set state by judging the length of time T10 when no one is in the room, or the length of time T20 when the state of the smart terminal devices is remotely changed. That is, the normally closed smart terminal devices are restored to normally closed, thereby improving the power and energy consumption of smart terminal devices caused by user forgetfulness.
[0016] Since the operation of whether to close the normally closed smart terminal device is based on the time when the state of the smart terminal device is remotely changed, it is based on the situation that no one is in the room, so the time T20 when the state of the smart terminal device is remotely changed must be less than or equal to the time T10 when no one is in the room. Therefore, when the state of the smart terminal device is remotely changed, the monitoring of the time when no one is in the room is stopped, which can reduce the operation steps, improve the operating efficiency of the smart home management method of the present application, and can also better reduce the time when the normally closed smart terminal device is turned on when no one is using it.
[0017] Preferably, the step S500: judging whether to turn off the normally closed smart terminal device according to the time duration T10 when no one is in the room, comprises the following steps:
[0018] S501: monitor the time T10 when no one is in the room;
[0019] S502: When the time duration T10 when no one is in the room is greater than or equal to the first time threshold T01, a first reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0020] S503: When the time duration T10 when no one is in the room is greater than or equal to the second time threshold T02, a second reminder is sent to the user, otherwise, the smart terminal device maintains the current state;
[0021] S504: Turn off the normally closed smart terminal device, reset the indoor unmanned time T10 to zero, stop monitoring the indoor unmanned time T10, and return to step S200;
[0022] The second time threshold T02 is greater than the first time threshold T01; the first time threshold T01 and the second time threshold T02 are both set in advance.
[0023] By adopting the above technical solution, through the pre-set first time threshold T01 and second time threshold T02, the user can be reminded multiple times to check and close the normally closed smart terminal devices, so as to avoid the situation where the smart terminal devices consume power and energy due to the user's forgetfulness.
[0024] And when the second time threshold T02 is reached, the normally closed intelligent terminal device is automatically turned off to improve intelligence.
[0025] Preferably, when the indoor unmanned time T10 is less than the second time threshold T02, all normally closed smart terminal devices are remotely controlled to be closed, then the monitoring of the indoor unmanned time T10 is stopped, and the indoor unmanned time T10 is reset to zero, and the process returns to step S200.
[0026] By adopting the above technical solution, if at any time before the second time threshold T02 is reached, if the user remotely turns off all normally closed smart terminal devices, the monitoring of the indoor unmanned time T10 will be directly stopped. This can reduce the operation steps and improve the operating efficiency of the smart home management method of this application.
[0027] Preferably, the step S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the smart terminal device state being changed, comprises the following steps:
[0028] S401: Determine whether the status information of any smart terminal device is changed by remote control. If not, all smart terminal devices maintain the current status; if yes, proceed to step S402;
[0029] S402: monitoring the duration T20 of the remote change of the state of the smart terminal device;
[0030] S403: When the duration T20 of the remote change of the state of the smart terminal device is greater than the third time threshold T03, a first reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0031] S404: When the duration T20 during which the state of the smart terminal device is remotely changed is greater than or equal to the fourth time threshold T04, a second reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0032] S405: Turn off the normally closed smart terminal device, and reset the duration T20 of the smart terminal device state being remotely changed to zero, and return to step S200;
[0033] The fourth time threshold T04 is greater than the third time threshold T03; the third time threshold T03 and the fourth time threshold T04 are both set in advance.
[0034] By adopting the above technical solution, through the pre-set third time threshold T03 and fourth time threshold T04, the user can be reminded multiple times to check and close the normally closed smart terminal devices, so as to avoid the situation where the smart terminal devices consume power and energy due to the user's forgetfulness.
[0035] And when the fourth time threshold T04 is reached, the normally closed intelligent terminal device is automatically turned off to improve intelligence.
[0036] Of course, if the user remotely turns off all normally-closed smart terminal devices at any time before the fourth time threshold T04 is reached, the monitoring of the duration T20 during which the smart terminal device status is remotely changed will be directly stopped.
[0037] Preferably, whether there is someone in the room is detected by at least one intelligent terminal device.
[0038] By adopting the above technical solution, whether there is anyone in the room can also be monitored by smart terminal devices, which can improve the efficiency of intelligent management.
[0039] Preferably, the intelligent terminal device includes an infrared human body detector arranged in the door;
[0040] The indoor number data collected by the infrared human body detector in real time is obtained, and whether there is anyone in the room is determined according to the indoor number data; when the indoor number data is 0, it is determined that there is no one in the room.
[0041] By adopting the above technical solution, an infrared human body detector located in the entrance door is used to count the number of people entering and exiting the entrance door, providing a basis for judging whether there is someone in the room, and facilitating and effectively judging whether there is someone in the room.
[0042] Preferably, status information of at least one smart terminal device is obtained, wherein the status information of the smart terminal device indicates whether the smart terminal device is triggered manually; and whether there is anyone in the room is determined based on the status information of at least one smart terminal device.
[0043] By adopting the above technical solution, when any smart terminal device receives a human-triggered change in state, it means that there is someone in the room, which serves as a basis for judging whether there is someone in the room.
[0044] Combined with the above monitoring results based on the infrared human body monitor, whether there is someone in the room is judged in multiple dimensions to improve the accuracy of judging whether there is someone in the room.
[0045] In the second aspect, the smart home management system based on the Internet of Things provided by this application adopts the following technical solutions:
[0046] Smart home management system based on the Internet of Things, including:
[0047] Intelligent terminal equipment;
[0048] User terminal devices are used to remotely control and change the status information of smart terminal devices, receive reminder information, and are also used to set smart terminal devices as normally closed smart terminal devices in advance according to needs;
[0049] A detection module is used to detect whether there is anyone in the room; and
[0050] A control module, used to set the indoor smart terminal device as a normally closed smart terminal device according to usage requirements;
[0051] Determine whether there is anyone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, determine whether the state of any smart terminal device is changed by remote control. If so, determine whether to turn off the normally closed smart terminal device based on the duration T20 of the smart terminal device state being remotely changed, and continue to monitor whether there is anyone in the room; if not, determine whether to turn off the normally closed smart terminal device based on the duration T10 of no one in the room, and continue to monitor whether there is anyone in the room.
[0052] By adopting the above technical solution, the smart terminal device can select whether to set it as a normally closed smart terminal device according to the usage and power consumption when it is connected to the smart home management system. This judgment and setting operation is performed by the user terminal device. The user terminal device is also used to remotely control and change the status of the smart terminal device and receive reminders or alarms.
[0053] The control module is used to determine whether to remind the user and shut down the normally closed smart terminal devices based on the monitored indoor unmanned time T10 and the time T20 when the state of the smart terminal device is remotely changed, so as to improve the power and energy consumption of the smart terminal devices caused by the user's forgetfulness.
[0054] In the third aspect, the smart home management device based on the Internet of Things provided by this application adopts the following technical solutions:
[0055] The smart home management device based on the Internet of Things includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned smart home management method based on the Internet of Things.
[0056] By adopting the above technical solution, the operation and processing of the above management method and data storage are facilitated.
[0057] In a fourth aspect, the present application provides a computer-readable storage medium that adopts the following technical solution:
[0058] A computer-readable storage medium stores a computer program that can be loaded by a processor and executed by a smart home management method based on the Internet of Things.
[0059] In summary, the present application includes at least one of the following beneficial technical effects:
[0060] 1. This application can monitor and remind users, or automatically shut down normally closed smart terminal devices in the room, thereby improving the situation where the smart terminal devices consume power and energy due to user forgetfulness;
[0061] 2. By monitoring and judging the time T10 when no one is in the room, or the time T20 when the state of the smart terminal device is remotely changed, the normally closed smart terminal devices can be closed quickly and intelligently when no one is in the room. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a flow chart of a smart home management method based on the Internet of Things in an embodiment of the present application;
[0063] Figure 2 It is a flow chart of step S200 in the smart home management method based on the Internet of Things in an embodiment of the present application;
[0064] Figure 3 is another flow chart of step S200 in the smart home management method based on the Internet of Things in an embodiment of the present application;
[0065] Figure 4 It is a flowchart of step S400 in the smart home management method based on the Internet of Things in an embodiment of the present application;
[0066] Figure 5 This is a flowchart of step S500 in the smart home management method based on the Internet of Things in an embodiment of the present application.
[0067] Figure 6 It is a principle block diagram of a smart home management system based on the Internet of Things in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The following is combined with Figure 1-6This application is described in further detail.
[0069] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed, but such modifications are protected by the patent law as long as they are within the scope of the claims of the present application.
[0070] refer to Figure 1 The present application embodiment provides a smart home management method based on the Internet of Things, which mainly includes the following steps:
[0071] S100: Setting the indoor smart terminal device as a normally closed smart terminal device according to usage requirements;
[0072] S200: Determine whether there is someone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, go to step S300;
[0073] S300: Determine whether the state of the smart terminal device is changed by remote control, if yes, proceed to step S400, if no, proceed to step S500;
[0074] S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the remote change of the state of the smart terminal device, and returning to step S200;
[0075] S500: Determine whether to turn off the normally closed smart terminal device based on the time T10 when no one is in the room, and return to step S200.
[0076] Smart terminal devices generally have two control modes: direct manual triggering (including control via remote control) and remote control. Therefore, when no one is indoors, the normally closed smart terminal device may not be turned off because the user forgot to turn it off when leaving home, or other users may turn it on in advance when they are about to go home. If a user turns on a normally closed smart terminal device in advance when they are about to go home, they may be delayed on the way home due to an emergency and fail to return home as planned. This will also cause the normally closed smart terminal device that is turned on by remote control to be turned on for a long time, resulting in power and energy consumption.
[0077] The two situations that cause the normally closed intelligent terminal equipment to consume power and energy are monitored and judged respectively, and it is determined in turn whether the normally closed intelligent terminal equipment needs to be closed.
[0078] According to the energy consumption, electricity safety, and frequency of use of smart terminal devices, when the smart terminal devices are connected to the smart home system, the smart terminal devices are set as normally closed smart terminal devices. Generally, smart air conditioners, smart TVs, smart fans, smart smoke extractors, smart ovens, smart rice cookers, or other smart terminal devices that can be unused when no one is indoors are set as normally closed smart terminal devices.
[0079] When it is confirmed that there is no one in the room, the state of the indoor smart terminal device is changed and restored to the initial set state by judging the length of time T10 when no one is in the room or the length of time T20 when the state of the smart terminal device is remotely changed. That is, the normally closed smart terminal device is restored to normally closed, thereby improving the power and energy consumption of the smart terminal device caused by user forgetfulness.
[0080] Among them, reference Figure 2 Step S200: Determine whether there is someone in the room, including the following specific steps:
[0081] The infrared monitor located inside the door includes at least two sets of infrared sensors. The distances between the two sets of infrared sensors and the door are different. When a person passes through the two sets of infrared sensors to enter or leave the door, there is a time difference in the signals received by the two sets of infrared sensors. This time difference is used to monitor in real time whether someone enters or leaves the door.
[0082] When the infrared monitor detects that someone enters from the outside of the door, the counting module in the infrared monitor increases the count; when the infrared monitor detects that someone leaves from the inside of the door, the counting module in the infrared monitor decreases the count;
[0083] When the count of the counting module in the infrared detector decreases from non-zero to 0, that is, no one is in the room, the infrared detector transmits an indoor no-person signal to the control module. When the infrared detector is initialized to no one in the room, the count of the counting module in the infrared detector is set to 0 through remote control.
[0084] refer to Figure 3 , as another implementation of step S200: determining whether there is someone in the room, specifically includes the following steps;
[0085] The status information of at least one smart terminal device is obtained, wherein the status information of the smart terminal device indicates whether the smart terminal device is manually triggered.
[0086] Each smart terminal device can be a sensor installed independently in the room, or it can be a sensor module installed in a general smart terminal device, such as a smart TV, smart air conditioner, etc. When there are multiple smart terminal devices in the room, the user can select at least one smart terminal device from the multiple smart terminal devices according to actual needs to determine whether there is someone in the room. That is, obtaining the status information of the indoor smart terminal device can refer to obtaining the status information of the designated indoor smart terminal device (i.e., the smart terminal device selected by the user). Among them, the status information of the smart terminal device includes the smart terminal device being manually triggered (for example, the user manually turns on the smart appliance, manually presses the switch, the human body sensor detects human movement, etc.) and the smart terminal device is not manually triggered (for example, the smart appliance is turned on at a scheduled time, the switch is not manually pressed, the human body sensor does not detect human movement, etc., and the state is changed by remote control).
[0087] Whether there is anyone in the room is determined according to the change of the status information of at least one intelligent terminal device.
[0088] When there is someone in the room, the user usually triggers one or more smart terminal devices in the room (for example, the indoor human body sensor detects the movement of the person, the user manually presses the wireless switch, turns on the smart light bulb, etc.), then according to the status information of at least one smart terminal device in the room, it can be accurately judged whether there is someone in the room. After obtaining its own status information, the smart terminal device can send the status information of the smart terminal device to the control module. After receiving the status information of at least one smart terminal device, the control module judges whether there is someone in the room according to the status information of at least one smart terminal device.
[0089] refer to Figure 4 Step S500: judging whether to close the normally closed intelligent terminal device according to the time duration T10 when no one is in the room, including the following steps:
[0090] S501: monitor the time T10 when no one is in the room;
[0091] S502: When the time duration T10 when no one is in the room is greater than or equal to the first time threshold T01, a first reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0092] S503: When the time duration T10 when no one is in the room is greater than or equal to the second time threshold T02, a second reminder is sent to the user, otherwise, the smart terminal device maintains the current state;
[0093] S504: Turn off the normally closed smart terminal device, reset the indoor unmanned time T10 to zero, stop monitoring the indoor unmanned time T10, and return to step S200;
[0094] The second time threshold T02 is greater than the first time threshold T01; the first time threshold T01 and the second time threshold T02 are both set in advance.
[0095] By setting the first time threshold T01 and the second time threshold T02 in advance, the user can be reminded multiple times to check and close the normally closed smart terminal devices, so as to avoid the situation where the smart terminal devices consume power and energy due to the user's forgetfulness.
[0096] And when the second time threshold T02 is reached, the normally closed intelligent terminal device is automatically turned off to enhance intelligence.
[0097] Of course, if any time before the second time threshold T02 is reached, that is, when the indoor unmanned time T10 is less than the second time threshold T02, if the user remotely turns off all normally closed smart terminal devices, the monitoring of the indoor unmanned time T10 is directly stopped, and the indoor unmanned time T10 is stopped, and the indoor unmanned time T10 is reset to zero, and the process returns to step S200 to continue monitoring whether there is anyone in the room. This can reduce the number of operation steps and improve the operating efficiency of the smart home management method of the present application.
[0098] refer to Figure 5 Step S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the smart terminal device state being changed, including the following steps:
[0099] S401: Determine whether the status information of any smart terminal device is changed by remote control. If not, all smart terminal devices maintain the current status; if yes, proceed to step S402;
[0100] S402: monitoring the duration T20 of the remote change of the state of the smart terminal device;
[0101] S403: When the duration T20 of the remote change of the state of the smart terminal device is greater than the third time threshold T03, a first reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0102] S404: When the duration T20 during which the state of the smart terminal device is remotely changed is greater than or equal to the fourth time threshold T04, a second reminder is issued to the user, otherwise, the smart terminal device maintains the current state;
[0103] S405: Turn off the normally closed smart terminal device, and reset the duration T20 of the smart terminal device state being remotely changed to zero, and return to step S200;
[0104] The fourth time threshold T04 is greater than the third time threshold T03; the third time threshold T03 and the fourth time threshold T04 are both set in advance.
[0105] When the duration T20 of the remote change of the smart terminal device status is less than the fourth time threshold T04, all normally closed smart terminal devices are remotely controlled and closed, then the monitoring of the duration T20 of the remote change of the smart terminal device status is stopped, and the duration T20 of the remote change of the smart terminal device status is reset to zero.
[0106] Since the operation of whether to close the normally closed smart terminal device is based on the time when the state of the smart terminal device is remotely changed, it is based on the situation that no one is in the room, so the time T20 when the state of the smart terminal device is remotely changed must be less than or equal to the time T10 when no one is in the room. Therefore, when the state of the smart terminal device is remotely changed, the monitoring of the time when no one is in the room is stopped, which can reduce the operation steps, improve the operating efficiency of the smart home management method of the present application, and can also better reduce the time when the normally closed smart terminal device is turned on when no one is using it.
[0107] By setting the third time threshold T03 and the fourth time threshold T04 in advance, the user can be reminded multiple times to check and close the normally closed smart terminal devices, so as to avoid the situation where the smart terminal devices consume power and energy due to the user's forgetfulness.
[0108] And when the fourth time threshold T04 is reached, the normally closed intelligent terminal device is automatically turned off to improve intelligence.
[0109] Of course, if the user remotely turns off all normally closed smart terminal devices at any time before the fourth time threshold T04 is reached, the monitoring of the duration T20 of the remote change of the smart terminal device status will be directly stopped. This can reduce the operation steps and improve the operating efficiency of the smart home management method of this application.
[0110] refer to Figure 6 , the application also provides a smart home management system based on the Internet of Things, including a smart terminal device, a user terminal device, a detection module and a control module.
[0111] The user terminal device is used to remotely control and change the status information of the smart terminal device, receive reminder information, and is also used to set the smart terminal device to a normally closed smart terminal device in advance according to needs.
[0112] The detection module is used to detect whether there is anyone in the room.
[0113] The control module is used to set the indoor smart terminal devices as normally closed smart terminal devices according to usage requirements; determine whether there are people in the room. If there are people in the room, all smart terminal devices maintain the current state. If there are no people in the room, determine whether the state of any smart terminal device is changed by remote control. If so, determine whether to turn off the normally closed smart terminal device based on the duration T20 of the smart terminal device state being remotely changed, and continue to monitor whether there are people in the room; if not, determine whether to turn off the normally closed smart terminal device based on the duration T10 of no one in the room, and continue to monitor whether there are people in the room.
[0114] When the smart terminal device is connected to the smart home management system, it is determined whether to set it as a normally closed smart terminal device based on the usage and power consumption. This determination and setting operation is performed by the user terminal device. The user terminal device is also used to remotely control and change the status of the smart terminal device and receive reminders or alarms.
[0115] The control module is used to determine whether to remind the user and shut down the normally closed smart terminal devices based on the monitored indoor unmanned time T10 and the time T20 when the state of the smart terminal device is remotely changed, so as to improve the power and energy consumption of the smart terminal devices caused by the user's forgetfulness.
[0116] The present application also provides a smart home management device based on the Internet of Things, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned smart home management method based on the Internet of Things. When the processor executes the computer program, the following steps are implemented:
[0117] S100: Setting the indoor smart terminal device as a normally closed smart terminal device according to usage requirements;
[0118] S200: Determine whether there is someone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, go to step S300;
[0119] S300: Determine whether the state of the smart terminal device is changed by remote control, if yes, proceed to step S400, if no, proceed to step S500;
[0120] S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the remote change of the state of the smart terminal device, and returning to step S200;
[0121] S500: Determine whether to turn off the normally closed smart terminal device based on the time T10 when no one is in the room, and return to step S200.
[0122] The present application also provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a smart home management method based on the Internet of Things. The computer-readable storage medium includes, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0123] The implementation principle of the embodiment of the present application is: by monitoring the time duration T10 when no one is indoors and the time duration T20 when the state of the smart terminal device is remotely changed,
[0124] The duration T20 of the remote change of the state of the smart terminal device is compared and judged with the pre-set third time threshold T03 and fourth time threshold T04, so as to remind the user or automatically shut down the smart terminal device when it is detected that the smart terminal device is changed by remote control.
[0125] The unmanned time duration T10 is compared and judged with the preset first time threshold T01 and second time threshold T02, so as to remind the user or automatically shut down the smart terminal device when no smart terminal device is changed by remote control.
[0126] This improves the situation where smart terminal devices consume power and energy due to users forgetting.
Claims
1. A smart home management method based on the Internet of Things, characterized in that: The following steps are involved: S100: Setting the indoor smart terminal device as a normally closed smart terminal device according to usage requirements; S200: Determine whether there is someone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, go to step S300; Detecting whether there is someone in the room by at least one intelligent terminal device; The intelligent terminal device includes an infrared human body detector arranged in the entrance door; Acquire the indoor number data collected by the infrared human body detector in real time, and judge whether there is anyone in the room according to the indoor number data; when the indoor number data is 0, it is judged that there is no one in the room; Acquire status information of at least one smart terminal device, wherein the status information of the smart terminal device indicates whether the smart terminal device is manually triggered; determine whether there is someone in the room according to the status information of at least one smart terminal device; S300: Determine whether the state of the smart terminal device is changed by remote control, if yes, proceed to step S400, if no, proceed to step S500; S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the remote change of the state of the smart terminal device, and returning to step S200; S500: Determine whether to turn off the normally closed smart terminal device according to the time T10 when no one is in the room, and return to step S200; The step S400: judging whether to close the normally closed smart terminal device according to the duration T20 of the smart terminal device state being remotely changed, comprises the following steps: S401: Determine whether the status information of any smart terminal device is changed by remote control. If not, all smart terminal devices maintain the current status; if yes, proceed to step S402; S402: monitoring the duration T20 of the remote change of the state of the smart terminal device; S403: When the duration T20 of the remote change of the state of the smart terminal device is greater than the third time threshold T03, a first reminder is issued to the user, otherwise, the smart terminal device maintains the current state; S404: When the duration T20 during which the state of the smart terminal device is remotely changed is greater than or equal to the fourth time threshold T04, a second reminder is issued to the user, otherwise, the smart terminal device maintains the current state; S405: Turn off the normally closed smart terminal device, and reset the duration T20 of the smart terminal device state being remotely changed to zero, and return to step S200; The fourth time threshold T04 is greater than the third time threshold T03; the third time threshold T03 and the fourth time threshold T04 are both set in advance.
2. The smart home management method based on the Internet of Things according to claim 1, characterized in that: The step S500: judging whether to close the normally closed intelligent terminal device according to the time duration T10 when no one is in the room, comprises the following steps: S501: monitor the time T10 when no one is in the room; S502: When the indoor no-person time T10 is greater than or equal to the first time threshold T01, the first reminder is sent to the user, otherwise, the smart terminal device maintains the current state; S503: When the time duration T10 when no one is in the room is greater than or equal to the second time threshold T02, a second reminder is sent to the user, otherwise, the smart terminal device maintains the current state; S504: Turn off the normally closed smart terminal device, reset the indoor unmanned time T10 to zero, stop monitoring the indoor unmanned time T10, and return to step S200; The second time threshold T02 is greater than the first time threshold T01; the first time threshold T01 and the second time threshold T02 are both set in advance.
3. The smart home management method based on the Internet of Things according to claim 2, characterized in that: When the indoor unmanned time T10 is less than the second time threshold T02, and all normally closed smart terminal devices are remotely controlled and turned off, the monitoring of the indoor unmanned time T10 is stopped, and the indoor unmanned time T10 is reset to zero, and the process returns to step S200.
4. The smart home management system based on the Internet of Things is characterized by: include: Intelligent terminal equipment; User terminal devices are used to remotely control and change the status information of smart terminal devices, receive reminder information, and are also used to set smart terminal devices as normally closed smart terminal devices in advance according to needs; Detection module, used to detect whether there is someone in the room; Detecting whether there is someone in the room by at least one intelligent terminal device; The intelligent terminal device includes an infrared human body detector arranged in the entrance door; as well as A control module, used to set the indoor smart terminal device as a normally closed smart terminal device according to usage requirements; Acquire the indoor number data collected by the infrared human body detector in real time, and judge whether there is anyone in the room according to the indoor number data; when the indoor number data is 0, it is judged that there is no one in the room; Acquire status information of at least one smart terminal device, wherein the status information of the smart terminal device indicates whether the smart terminal device is manually triggered; determine whether there is someone in the room according to the status information of at least one smart terminal device; Determine whether there is someone in the room. If there is someone in the room, all smart terminal devices maintain the current state. If there is no one in the room, determine whether the state of any smart terminal device has been changed by remote control. If so, determine whether to turn off the normally closed smart terminal device based on the duration T20 of the smart terminal device state being remotely changed, and continue to monitor whether there is someone in the room; if not, determine whether to turn off the normally closed smart terminal device based on the duration T10 of no one in the room, and continue to monitor whether there is someone in the room; The method of determining whether to close the normally closed smart terminal device according to the duration T20 of the state of the smart terminal device being remotely changed includes: Determine whether the status information of any smart terminal device is changed by remote control. If not, all smart terminal devices maintain the current status; if yes, monitor the duration T20 of the smart terminal device status being remotely changed; When the duration T20 of the remote change of the state of the smart terminal device is greater than the third time threshold T03, the first reminder is issued to the user, otherwise, the smart terminal device maintains the current state; When the duration T20 during which the state of the smart terminal device is remotely changed is greater than or equal to the fourth time threshold T04, a second reminder is issued to the user, otherwise, the smart terminal device maintains the current state; Turn off the normally closed smart terminal device, reset the duration T20 of the smart terminal device status being remotely changed, and continue to monitor whether there is anyone in the room; The fourth time threshold T04 is greater than the third time threshold T03; the third time threshold T03 and the fourth time threshold T04 are both set in advance.
5. A smart home management device based on the Internet of Things, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 3.
