Intelligent home automation control system and method based on Internet of Things
Through the environmental data collection and historical operation data analysis of smart home devices, we can predict the startup coefficient and determine the startup time, which solves the problem that the smart home system cannot automatically control the equipment, improves the use effect and safety performance of the system, and ensures that when users arrive at their place of residence, The environment meets the needs.
Patent Information
- Application Number
- CN202410415002.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-04-08
AI Technical Summary
Existing smart home systems cannot automatically control smart home devices before users arrive at their residence, resulting in an environment that cannot meet user needs and cannot accurately control environmental data, reducing the security performance of the system.
By collecting environmental data of smart home devices and analyzing historical operating data, we can predict the startup coefficient, determine the startup time and working conditions of smart home devices based on the user's real-time location information and device aging, and find related devices to work together. Ensure environmental data meets user needs.
It improves the use effect and safety performance of smart home systems, ensures that the environment meets the needs of users when they arrive at their residence, reduces waiting time, and avoids threats to other individuals.
Smart Images

Figure CN118689124A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent home automation control, and in particular to an intelligent home automation control system and method based on the Internet of Things. Background Art
[0002] Smart home is the embodiment of Internet of Things. Smart home connects various devices in the home through the Internet of Things technology, providing a variety of functions and means such as home appliance control, lighting control, curtain control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control, infrared forwarding and programmable timing control. Compared with ordinary homes, smart homes can provide a full range of information interaction functions, help families maintain smooth information exchange with the outside world, optimize people's lifestyles, help people arrange time effectively, enhance the safety of home life, and even save money on various energy costs.
[0003] When controlling smart home devices, existing smart home systems are unable to automatically control the working conditions of the smart home before the user arrives at the residence, so that the environment of the residence cannot meet the user's needs when the user arrives at the residence. In addition, existing smart home systems are unable to accurately control the environmental data of the user's residence, and are unable to take into account the impact of other factors in the user's residence on the operation data of the smart home devices, thereby reducing the security performance of the smart home system. Summary of the invention
[0004] The purpose of the present invention is to provide a smart home automation control system and method based on the Internet of Things to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a smart home automation control method based on the Internet of Things, the method comprising: S10: Collecting environmental data of the location of each smart home device, acquiring historical operation data sets of users on corresponding smart home devices under different environments, and predicting the activation coefficient of each smart home device; S20: selecting whether to obtain the user's real-time location information through the smart home system according to the predicted startup coefficient, and analyzing the startup time and working status of each smart home device according to the acquired real-time location information and the aging degree of the corresponding smart home device; S30: re-collecting environmental data of each smart home device after it is working stably, and searching for related smart home devices based on the re-collected environmental data; S40: Determine the operation data of the associated smart home device that is found.
[0006] Furthermore, the specific method of predicting the activation coefficient of each smart home device in S10 is: Randomly select a smart home device and obtain the historical operation data set of the user on the selected smart home device in different environments. The historical operation data set = ,according to , the mean of historical operation data = Determine, where c=1,2,…,m, represents the number corresponding to each group of historical operation data in the historical operation data set, and m represents the total number of groups of historical operation data stored in the historical operation data set. Represents the mth group of historical operation data stored in the historical operation data set; For example, when the indoor temperature of the user's residence is 30°C and the humidity is 30%, the historical operation data set of the selected smart home device is obtained for the user in an environment of 30°C and 30% humidity; according to The startup coefficient of the selected smart home device is predicted, where i=1,2,…,n, represents the number corresponding to each type of operation data in the historical operation data, and n represents the total number of operation data types stored in the historical operation data. Indicates the data value corresponding to the nth type of operation data in the mean of historical operation data. Indicates the data value corresponding to the i-th type of operation data in the collected environmental data, Indicates the proportional coefficient corresponding to the i-th type of operation data, Indicates the activation coefficient of the selected smart home device, , Indicates the data value corresponding to the i-th type of operation data in the c-th group of historical operation data stored in the historical operation data set. Represents the data mean corresponding to the i-th type of operation data obtained based on the historical operation data set.
[0007] Further, the S20 includes: S201: The activation coefficient of the selected smart home device will be predicted Compared with the set threshold W, if , the smart home system sends a return confirmation message to the user. If the user returns the return confirmation message, the smart home system obtains the user's real-time location information. If the user returns the return cancellation message, the smart home system does not obtain the user's real-time location information. , the smart home system does not obtain the user's real-time location information, wherein the user can change the set threshold W through the smart home system, is a positive number; S202: According to the obtained real-time location information of the user, the real-time travel speed of the user and the real-time path length of the user from the residence are determined, and the time taken by the user to reach the residence at each time is calculated according to the speed distance formula. Combined with the aging degree of the selected smart home device, the initial startup time point of the selected smart home device is predicted. The specific prediction formula is: when hour: ; when hour: ; Among them, r represents the time point when the smart home system first collects the user's real-time location information. It represents the time it takes for the user to reach his / her residence when the time is r. It indicates the time required for all environmental data of the selected smart home devices to reach the mean value of historical operation data when the aging degree of the selected smart device is 0, k indicates the aging degree of the selected smart device, 0≤k≤1, e indicates a constant, e>1, and T indicates the initial startup time point of the selected smart home device; At time r, the average real-time travel speed of the user in the next 100m Calculate if ,but ,like , then T´=T, represents the real-time travel speed of the user at time r, where Indicates the start time of the selected smart home device; S203: When When the operation data of the selected smart home device is determined according to the mean value of the historical operation data; when When the user's indoor environment image is collected, the smart home system determines the maximum value of the environmental data allowed at each indoor location based on the collected indoor environment image, and obtains the maximum value of the indoor environmental data at the user's residence based on the determination result. If the maximum value of the working parameter of the selected smart home device is ≤ the maximum value of the obtained indoor environmental data, the operation data of the selected smart home device is determined according to the mean of historical operation data. If the maximum value of the working parameter of the selected smart home device is greater than the maximum value of the obtained indoor environmental data, the operation data of the selected smart home device is determined according to the maximum value of the indoor environmental data. Similarly, the minimum value of the environmental data allowed at each indoor location is determined, and the operation data of the selected smart home device is determined based on the determination result.
[0008] Based on the collected indoor environment images, the maximum value of the indoor environment data of the user's residence is determined to avoid threats to the lives of other individuals in the user's residence when the smart home equipment works under the determined operating data, which is beneficial to improving the safety performance of the smart home equipment.
[0009] Furthermore, the specific method of searching for the associated smart home device in S30 is: After the selected smart home device is working stably, the environmental data of the selected smart home device is collected again, and the collected environmental data is compared with the average historical operation data of the selected smart home device. , determine the associated smart home devices of the selected smart home device, when When , it means that the smart home device controlling the i-th type of operation data is not an associated smart home device of the selected smart home device. , it indicates that the smart home device controlling the i-th type of operation data is an associated smart home device of the selected smart home device, wherein, represents the data value corresponding to the i-th type of operation data in the collected environmental data, represents the difference between the data value corresponding to the i-th type of operation data in the re-collected environmental data and the data mean corresponding to the i-th type of operation data in the mean of historical operation data; Combined with the aging degree of the associated smart home devices, the working time of the associated smart home devices is calculated. The specific calculation formula is: ; Where b=1,2,…,B, represents the number of each associated smart home device that controls the i-th type of operation data, and B represents the total number of associated smart home devices that control the i-th type of operation data. hour, , , It represents the working time required for the associated smart home device b that controls the i-th type of operation data to increase the unit value of the control environment data. represents the aging degree of the associated smart home device b that controls the i-th type of operation data, Indicates the unit value of environmental data. Controlling the working time of smart home device b associated with the i-th type of operation data; The calculated The value is put into the set Q, the minimum value in the set Q is determined, the b value corresponding to the minimum value is determined, and the associated smart home device b of the i-th type of operation data is controlled to be the associated smart home device of the selected smart home device. In the process of determining the associated smart home, the change rate of the environmental data is improved, ensuring that the indoor environmental data can meet the user's needs when the user arrives at the residence, or reducing the user's waiting time when the user arrives at the residence.
[0010] Further, the S40 is based on The operation data of the associated smart home device is determined by the value. The operation data of the associated smart home device is .
[0011] A smart home automation control system based on the Internet of Things, the system comprising a startup coefficient prediction module, a smart home device work analysis module, a related smart home device determination module and an operation data determination module; The startup coefficient prediction module is used to predict the startup coefficient of each smart home device; The smart home device working analysis module is used to analyze the startup time and working status of each smart home device; The associated smart home device determination module is used to determine the associated smart home device; The operation data determination module is used to determine the operating parameters of the determined associated smart home device.
[0012] Furthermore, the startup coefficient prediction module collects environmental data of the location of each smart home device, obtains historical operation data sets of users on corresponding smart home devices under different environments, predicts the startup coefficient of each smart home device, and transmits the predicted startup coefficient to the smart home device work analysis module.
[0013] Furthermore, the smart home device work analysis module includes a real-time location information acquisition unit, a start-up time prediction unit and a work analysis unit; The real-time location information acquisition unit receives the startup coefficient transmitted by the startup coefficient prediction module, compares the received startup coefficient with the set threshold, and selects whether to acquire the user's real-time location information through the smart home system in combination with the information returned by the user, and transmits the acquired user real-time location information to the startup time prediction unit; The startup time prediction unit receives the user real-time location information transmitted by the real-time location information acquisition unit, calculates the initial startup time of the selected smart home device based on the received information, predicts the startup time of the selected smart home device in combination with the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters, transmits the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters to the work analysis unit, and transmits the predicted startup time to the work analysis unit; The work analysis unit receives the real-time travel speed of the user at time r, the average real-time travel speed of the user in the next 100 meters, and the start time transmitted by the start time prediction unit, and determines the operation data of the selected smart home device based on the received information. At the start time, the selected smart home device is controlled to start working according to the determined operation data.
[0014] Further, the associated smart home identification and determination module includes an associated judgment unit, a working time calculation unit and an associated smart home device determination unit; After the selected smart home device is stably working, the association judgment unit re-collects the environmental data of the selected smart home device, calculates the difference between the re-collected environmental data and the mean value of the historical operation data of the selected smart home device, makes a preliminary judgment on the associated smart home device of the selected smart home device based on the calculation result, transmits the judgment result to the working time calculation unit, and transmits the calculated difference to the operation data determination module; The working time calculation unit receives the judgment result transmitted by the association judgment unit, calculates the working time of the associated smart home device in combination with the aging degree of the associated smart home device, and transmits the calculated working time to the associated smart home device determination unit; The associated smart home device determination unit receives the working time transmitted by the working time calculation unit, determines the associated smart home devices of the selected smart home device according to the received information, and transmits the determined associated smart home devices to the operation data determination module.
[0015] Furthermore, the operation data determination module receives the associated smart home device transmitted by the associated smart home device determination unit and the difference transmitted by the associated judgment unit, and determines the operation data of the associated smart home device based on the received difference.
[0016] Compared with the prior art, the beneficial effects achieved by the present invention are: 1. The present invention predicts the startup system of the smart home device based on the historical operation data set of the smart home device under the collected environmental data, and selects whether to obtain the real-time location information of the user through the smart home system in combination with the threshold set by the user and the user's return information. Based on the obtained information, it is ensured that when the user arrives at the residence, the environment of the residence can meet the user's needs, or the user's waiting time is reduced when the user arrives at the residence, thereby further improving the use effect of the smart home system.
[0017] 2. After controlling the smart home device for the first time, the present invention searches for the associated smart home device according to the re-collected environmental data, and determines the operation data of the associated smart home device according to the difference between the re-collected environmental data and the mean value of the historical operation data, which is conducive to the coordinated work between the smart home devices and further improves the use accuracy of the smart home system.
[0018] 3. When determining the operation data of the smart home device, the present invention takes into account the impact of other factors in the user's residence on the operation data, thereby avoiding threats to the lives of other individuals in the user's residence when the smart home device works under the determined operation data, and further improving the safety performance of the smart home device. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 It is a schematic diagram of the workflow of a smart home automation control system and method based on the Internet of Things of the present invention; Figure 2 It is a schematic structural diagram of the working principle of an intelligent home automation control system and method based on the Internet of Things of the present invention. Implementation
[0020] See also Figure 1 and Figure 2 The present invention provides a technical solution: a smart home automation control method based on the Internet of Things, the method comprising: S10: Collect environmental data of the location of each smart home device, obtain historical operation data sets of users on corresponding smart home devices under different environments, and predict the activation coefficient of each smart home device. The specific method is as follows: Randomly select a smart home device and obtain the historical operation data set of the user on the selected smart home device in different environments. The historical operation data set = ,according to , the mean of historical operation data = Determine, where c=1,2,…,m, represents the number corresponding to each group of historical operation data in the historical operation data set, and m represents the total number of groups of historical operation data stored in the historical operation data set. Represents the mth group of historical operation data stored in the historical operation data set; according to The startup coefficient of the selected smart home device is predicted, where i=1,2,…,n, represents the number corresponding to each type of operation data in the historical operation data, and n represents the total number of operation data types stored in the historical operation data. Indicates the data value corresponding to the nth type of operation data in the mean of historical operation data. Indicates the data value corresponding to the i-th type of operation data in the collected environmental data, Indicates the proportional coefficient corresponding to the i-th type of operation data, Indicates the activation coefficient of the selected smart home device, , Indicates the data value corresponding to the i-th type of operation data in the c-th group of historical operation data stored in the historical operation data set. Represents the data mean corresponding to the i-th type of operation data obtained based on the historical operation data set; S20: selecting whether to obtain the user's real-time location information through the smart home system according to the predicted startup coefficient, the user's real-time location information is obtained after the user's authorization, and analyzing the startup time and working status of each smart home device according to the obtained real-time location information and the aging degree of the corresponding smart home device; The S20 includes: S201: The activation coefficient of the selected smart home device will be predicted Compared with the set threshold W, if , the smart home system sends a return confirmation message to the user. If the user returns the return confirmation message, the smart home system obtains the user's real-time location information. If the user returns the return cancellation message, the smart home system does not obtain the user's real-time location information. , the smart home system does not obtain the user's real-time location information, wherein the user can change the set threshold W through the smart home system, is a positive number; S202: According to the acquired real-time location information of the user, the real-time travel speed of the user and the real-time path length of the user from the residence are determined, and the time taken by the user to reach the residence at each time is calculated according to the speed distance formula. The real-time location information of the user and the location information of the user's residence are input into the map software. The real-time path length of the user from the residence is the distance value displayed in the map software. Combined with the aging degree of the selected smart home device, the initial startup time point of the selected smart home device is predicted. The initial startup time refers to the startup time of the selected smart home system calculated when the smart home system collects the real-time location information of the user for the first time. The specific prediction formula is: when hour: ; when hour: ; Among them, r represents the time point when the smart home system first collects the user's real-time location information. It represents the time it takes for the user to reach his / her residence when the time is r. It indicates the time required for all environmental data of the selected smart home devices to reach the mean value of historical operation data when the aging degree of the selected smart device is 0, k indicates the aging degree of the selected smart device, 0≤k≤1, e indicates a constant, e>1, and T indicates the initial startup time point of the selected smart home device; At time r, the average real-time travel speed of the user in the next 100m Calculate if ,but ,like , then T´=T, represents the real-time travel speed of the user at time r, where Indicates the start time of the selected smart home device; S203: When When , the operation data of the selected smart home device is determined according to the mean value of the historical operation data. For example, if the selected smart home device is an air conditioner, the mean value of the historical operation data is = , 25 represents the temperature value, 3 represents the wind speed value, and 40 represents the humidity value. The operation data of the smart home device is to adjust the temperature to 25°C, the wind speed to 3m / s, and the humidity to 40%; when When the user's indoor environment image is collected, the smart home system determines the maximum value of the environmental data allowed at each indoor location based on the collected indoor environment image, and obtains the maximum value of the indoor environmental data at the user's residence based on the determination result. If the maximum value of the working parameter of the selected smart home device is ≤ the maximum value of the obtained indoor environmental data, the operation data of the selected smart home device is determined based on the mean value of the historical operation data. If the maximum value of the working parameter of the selected smart home device is > the maximum value of the obtained indoor environmental data, the operation data of the selected smart home device is determined based on the maximum value of the indoor environmental data. For example, According to the indoor environment images of the user's residence collected by the smart home system, it is found that the plants grown in the indoor bedroom are easy to die at 28℃, and the outdoor living room has no requirements for the ambient temperature. Therefore, the maximum allowable ambient temperature of the indoor living room is 45℃, and the maximum allowable ambient temperature of the indoor bedroom is 28℃. The maximum indoor ambient temperature of the user's residence is 28℃. Suppose the maximum working temperature of the selected smart home device is 30℃. Since 30℃>28℃, the operation data of the selected smart home device is determined according to the maximum value of the indoor environment data 28℃, that is, the selected smart home device is set to a temperature value of 28℃ when it is working; According to the collected indoor environment image, the minimum value of the environmental data allowed at each indoor position is determined, and according to the determination result, the minimum value of the indoor environmental data of the user's residence is obtained. If the minimum value of the working parameter of the selected smart home device is less than the minimum value of the obtained indoor environment data, the operation data of the selected smart home device is determined according to the minimum value of the indoor environment data; if the minimum value of the working parameter of the selected smart home device is greater than or equal to the minimum value of the obtained indoor environment data, the operation data of the selected smart home device is determined according to the average value of historical operation data; S30: re-collecting the environmental data of each smart home device after it has stabilized, and searching for the associated smart home device based on the re-collected environmental data. The specific method is as follows: After the selected smart home device is working stably, the environmental data of the selected smart home device is collected again, and the collected environmental data is compared with the average historical operation data of the selected smart home device. , determine the associated smart home devices of the selected smart home device, when When , it means that the smart home device controlling the i-th type of operation data is not an associated smart home device of the selected smart home device. , it indicates that the smart home device controlling the i-th type of operation data is an associated smart home device of the selected smart home device, wherein, represents the data value corresponding to the i-th type of operation data in the collected environmental data, represents the difference between the data value corresponding to the i-th type of operation data in the re-collected environmental data and the data mean corresponding to the i-th type of operation data in the mean of historical operation data; Combined with the aging degree of the associated smart home devices, the working time of the associated smart home devices is calculated. The specific calculation formula is: ; Where b=1,2,…,B, represents the number of each associated smart home device that controls the i-th type of operation data, and B represents the total number of associated smart home devices that control the i-th type of operation data. hour, , , It represents the working time required for the associated smart home device b that controls the i-th type of operation data to reduce the unit value of the control environment data. hour, , , It represents the working time required for the associated smart home device b that controls the i-th type of operation data to increase the unit value of the control environment data. represents the aging degree of the associated smart home device b that controls the i-th type of operation data, Indicates the unit value of environmental data. Controlling the working time of smart home device b associated with the i-th type of operation data; The calculated The value is put into the set Q, the minimum value in the set Q is determined, the b value corresponding to the minimum value is determined, and the associated smart home device b of the i-th type of operation data is controlled to be the associated smart home device of the selected smart home device; S40: determining the operation data of the associated smart home device found; S40 according to The operation data of the associated smart home device is determined by the value. The operation data of the associated smart home device is .
[0021] A smart home automation control system based on the Internet of Things, the system includes a startup coefficient prediction module, a smart home device work analysis module, a related smart home device determination module and an operation data determination module; The startup coefficient prediction module is used to predict the startup coefficient of each smart home device; The startup coefficient prediction module collects environmental data of the location of each smart home device, obtains historical operation data sets of users on corresponding smart home devices under different environments, predicts the startup coefficient of each smart home device, and transmits the predicted startup coefficient to the smart home device work analysis module; The smart home device working analysis module is used to analyze the startup time and working status of each smart home device; The smart home device work analysis module includes a real-time location information acquisition unit, a start-up time prediction unit and a work analysis unit; The real-time location information acquisition unit receives the startup coefficient transmitted by the startup coefficient prediction module, compares the received startup coefficient with the set threshold, and selects whether to acquire the user's real-time location information through the smart home system in combination with the information returned by the user, and transmits the acquired user real-time location information to the startup time prediction unit; The startup time prediction unit receives the user real-time location information transmitted by the real-time location information acquisition unit, calculates the initial startup time of the selected smart home device based on the received information, and predicts the startup time of the selected smart home device in combination with the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters, and transmits the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters to the work analysis unit, and transmits the predicted startup time to the work analysis unit; The work analysis unit receives the real-time travel speed of the user at time r, the average of the real-time travel speed of the user in the next 100 meters, and the start time transmitted by the start time prediction unit, and determines the operation data of the selected smart home device based on the received information, and controls the selected smart home device to start working according to the determined operation data at the start time; The associated smart home device determination module is used to determine the associated smart home devices; The associated smart home identification and determination module includes an associated judgment unit, a working time calculation unit and an associated smart home device determination unit; After the selected smart home device is stably working, the association judgment unit re-collects the environmental data of the selected smart home device, calculates the difference between the re-collected environmental data and the mean value of the historical operation data of the selected smart home device, makes a preliminary judgment on the associated smart home device of the selected smart home device based on the calculation result, transmits the judgment result to the working time calculation unit, and transmits the calculated difference to the operation data determination module; The working time calculation unit receives the judgment result transmitted by the association judgment unit, calculates the working time of the associated smart home device in combination with the aging degree of the associated smart home device, and transmits the calculated working time to the associated smart home device determination unit; The associated smart home device determining unit receives the working time transmitted by the working time calculating unit, determines the associated smart home devices of the selected smart home device according to the received information, and transmits the determined associated smart home devices to the operation data determining module; The operation data determination module receives the associated smart home device transmitted by the associated smart home device determination unit and the difference transmitted by the associated judgment unit, and determines the operation data of the associated smart home device based on the received difference.
[0022] Example 1: Assuming that the selected smart home device is an air conditioner, the collected environmental data , , , , historical operation data set = , , then the mean of historical operation data = ; The activation factor of the air conditioner is: ; because , the smart home system chooses whether to obtain the user's real-time location based on the user's return information.
[0023] Example 2: Assume that the time point when the smart home system first collects the user's real-time location information is 16:40:00, and the time taken by the user to reach the residence calculated at 16:40:00 is , unit: minute, when the aging degree of the selected smart device is 0, the time required for the environmental data of the selected smart home devices to reach the mean value of the historical operation data , unit: minute, select the aging degree of smart devices k=0.2, then: ,therefore: ; At 16:40:00, the average real-time travel speed of users in the next 100m Calculate, calculate , ,because < , then the startup time of the selected smart home device is: ; The startup time of the selected smart home device is .
[0024] Example 3: Assuming that the selected smart home device is an air conditioner, , historical operation data mean = ,but: ; ; ; Therefore, the smart home devices that control the first and third types of operation data are associated smart home devices; set up , , , , unit: minute, environmental data unit value f=1, f and The same unit: The working time of the associated smart home device 1 controlling the first type of operation data is: ; The working time of the associated smart home device 2 controlling the first type of operation data is: ; Since Q = { }, the minimum value in set Q is , The corresponding b value is 2, therefore, the associated smart home device 2 controlling the first type of operation data is the associated smart home device of the selected smart home device; The operation data of the associated smart home device is , that is, the associated smart home device adjusts the first type of operation data to 25.5.
[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0026] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A smart home automation control method based on the Internet of Things, characterized in that: The method comprises: S10: Collecting environmental data of the location of each smart home device, acquiring historical operation data sets of users on corresponding smart home devices under different environments, and predicting the activation coefficient of each smart home device; S20: selecting whether to obtain the user's real-time location information through the smart home system according to the predicted startup coefficient, and analyzing the startup time and working status of each smart home device according to the acquired real-time location information and the aging degree of the corresponding smart home device; S30: re-collecting environmental data of each smart home device after it is working stably, and searching for related smart home devices based on the re-collected environmental data; S40: Determine the operation data of the associated smart home device that is found.
2. The method for controlling smart home automation based on the Internet of Things according to claim 1, characterized in that: The specific method of S10 predicting the activation coefficient of each smart home device is: Randomly select a smart home device and obtain the historical operation data set of the user on the selected smart home device in different environments. The historical operation data set = ,according to , the mean of historical operation data = Determine, where c=1,2,…,m, represents the number corresponding to each group of historical operation data in the historical operation data set, and m represents the total number of groups of historical operation data stored in the historical operation data set. Represents the mth group of historical operation data stored in the historical operation data set; according to The startup coefficient of the selected smart home device is predicted, where i=1,2,…,n, represents the number corresponding to each type of operation data in the historical operation data, and n represents the total number of operation data types stored in the historical operation data. Indicates the data value corresponding to the nth type of operation data in the mean of historical operation data. Indicates the data value corresponding to the i-th type of operation data in the collected environmental data, Indicates the proportional coefficient corresponding to the i-th type of operation data, Indicates the activation coefficient of the selected smart home device, , Indicates the data value corresponding to the i-th type of operation data in the c-th group of historical operation data stored in the historical operation data set. Represents the data mean corresponding to the i-th type of operation data obtained based on the historical operation data set.
3. The method for controlling smart home automation based on the Internet of Things according to claim 2, characterized in that: The S20 includes: S201: The activation coefficient of the selected smart home device will be predicted Compared with the set threshold W, if , the smart home system sends a return confirmation message to the user. If the user returns the return confirmation message, the smart home system obtains the user's real-time location information. If the user returns the return cancellation message, the smart home system does not obtain the user's real-time location information. , the smart home system does not obtain the user's real-time location information, wherein the user can change the set threshold W through the smart home system, is a positive number; S202: According to the obtained real-time location information of the user, the real-time travel speed of the user and the real-time path length of the user from the residence are determined, and the time taken by the user to reach the residence at each time is calculated according to the speed distance formula. Combined with the aging degree of the selected smart home device, the initial startup time point of the selected smart home device is predicted. The specific prediction formula is: when hour: ; when hour: ; Among them, r represents the time point when the smart home system first collects the user's real-time location information. It represents the time it takes for the user to reach his / her residence when the time is r. It indicates the time required for all environmental data of the selected smart home devices to reach the mean value of historical operation data when the aging degree of the selected smart device is 0, k indicates the aging degree of the selected smart device, 0≤k≤1, e indicates a constant, e>1, and T indicates the initial startup time point of the selected smart home device; At time r, the average real-time travel speed of the user in the next 100m Calculate if ,but ,like , then T´=T, represents the real-time travel speed of the user at time r, where Indicates the start time of the selected smart home device; S203: When When the operation data of the selected smart home device is determined according to the mean value of the historical operation data; when When the user's indoor environment image is collected, the smart home system determines the maximum value of the environmental data allowed at each indoor location based on the collected indoor environment image, and obtains the maximum value of the indoor environmental data at the user's residence based on the determination result. If the maximum value of the working parameter of the selected smart home device is ≤ the maximum value of the indoor environmental data obtained, the operation data of the selected smart home device is determined according to the mean of historical operation data; if the maximum value of the working parameter of the selected smart home device is greater than the maximum value of the indoor environmental data obtained, the operation data of the selected smart home device is determined according to the maximum value of the indoor environmental data. Similarly, the minimum value of the environmental data allowed at each indoor location is determined, and the operation data of the selected smart home device is determined based on the determination result.
4. The method for controlling smart home automation based on the Internet of Things according to claim 3, characterized in that: The specific method of searching for the associated smart home device in S30 is: After the selected smart home device is working stably, the environmental data of the selected smart home device is collected again, and the collected environmental data is compared with the average historical operation data of the selected smart home device. , determine the associated smart home devices of the selected smart home device, when When , it means that the smart home device controlling the i-th type of operation data is not an associated smart home device of the selected smart home device. , it indicates that the smart home device controlling the i-th type of operation data is an associated smart home device of the selected smart home device, wherein, represents the data value corresponding to the i-th type of operation data in the collected environmental data, represents the difference between the data value corresponding to the i-th type of operation data in the re-collected environmental data and the data mean corresponding to the i-th type of operation data in the mean of historical operation data; Combined with the aging degree of the associated smart home devices, the working time of each associated smart home device is calculated. The specific calculation formula is: ; Where b=1,2,…,B, represents the number of each associated smart home device that controls the i-th type of operation data, and B represents the total number of associated smart home devices that control the i-th type of operation data. hour, , , It represents the working time required for the associated smart home device b that controls the i-th type of operation data to reduce the unit value of the control environment data. hour, , , It represents the working time required for the associated smart home device b that controls the i-th type of operation data to increase the unit value of the control environment data. represents the aging degree of the associated smart home device b that controls the i-th type of operation data, Indicates the unit value of environmental data. Controlling the working time of smart home device b associated with the i-th type of operation data; The calculated The value is put into the set Q, the minimum value in the set Q is determined, the b value corresponding to the minimum value is determined, and the associated smart home device b of the i-th type of operation data is controlled to be the associated smart home device of the selected smart home device.
5. The method for controlling smart home automation based on the Internet of Things according to claim 4, characterized in that: The S40 is based on The operation data of the associated smart home device is determined by the value. The operation data of the associated smart home device is .
6. An Internet of Things-based smart home automation control system applied to the Internet of Things-based smart home automation control method according to any one of claims 1 to 5, characterized in that: The system includes a startup coefficient prediction module, a smart home device work analysis module, an associated smart home device determination module, and an operation data determination module; The startup coefficient prediction module is used to predict the startup coefficient of each smart home device; The smart home device working analysis module is used to analyze the startup time and working status of each smart home device; The associated smart home device determination module is used to determine the associated smart home device; The operation data determination module is used to determine the operating parameters of the determined associated smart home device.
7. The smart home automation control system based on the Internet of Things according to claim 6, characterized in that: The startup coefficient prediction module collects environmental data of the location of each smart home device, obtains historical operation data sets of users on corresponding smart home devices under different environments, predicts the startup coefficient of each smart home device, and transmits the predicted startup coefficient to the smart home device work analysis module.
8. The smart home automation control system based on the Internet of Things according to claim 7, characterized in that: The smart home device work analysis module includes a real-time location information acquisition unit, a start-up time prediction unit and a work analysis unit; The real-time location information acquisition unit receives the startup coefficient transmitted by the startup coefficient prediction module, compares the received startup coefficient with the set threshold, and selects whether to acquire the user's real-time location information through the smart home system in combination with the information returned by the user, and transmits the acquired user real-time location information to the startup time prediction unit; The startup time prediction unit receives the user real-time location information transmitted by the real-time location information acquisition unit, calculates the initial startup time of the selected smart home device based on the received information, predicts the startup time of the selected smart home device in combination with the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters, transmits the real-time travel speed of the user at time r and the average of the real-time travel speed of the user in the next 100 meters to the work analysis unit, and transmits the predicted startup time to the work analysis unit; The work analysis unit receives the real-time travel speed of the user at time r, the average real-time travel speed of the user in the next 100 meters, and the start time transmitted by the start time prediction unit, and determines the operation data of the selected smart home device based on the received information. At the start time, the selected smart home device is controlled to start working according to the determined operation data.
9. The smart home automation control system based on the Internet of Things according to claim 8, characterized in that: The associated smart home identification and determination module includes an associated judgment unit, a working time calculation unit and an associated smart home device determination unit; After the selected smart home device is stably working, the association judgment unit re-collects the environmental data of the selected smart home device, calculates the difference between the re-collected environmental data and the mean value of the historical operation data of the selected smart home device, makes a preliminary judgment on the associated smart home device of the selected smart home device based on the calculation result, transmits the judgment result to the working time calculation unit, and transmits the calculated difference to the operation data determination module; The working time calculation unit receives the judgment result transmitted by the association judgment unit, calculates the working time of the associated smart home device in combination with the aging degree of the associated smart home device, and transmits the calculated working time to the associated smart home device determination unit; The associated smart home device determination unit receives the working time transmitted by the working time calculation unit, determines the associated smart home devices of the selected smart home device according to the received information, and transmits the determined associated smart home devices to the operation data determination module.
10. The smart home automation control system based on the Internet of Things according to claim 9, characterized in that: The operation data determination module receives the associated smart home device transmitted by the associated smart home device determination unit and the difference transmitted by the associated judgment unit, and determines the operation data of the associated smart home device based on the received difference.
Citation Information
Patent Citations
Intelligent control system and method for controlling intelligent home equipment by using bus card
CN104615107A
Smart home vehicle-mounted control system
CN105791374A
Control method, device, equipment and system of intelligent household equipment and storage medium.
CN111090238A
Smart home equipment control method, smart gateway and smart equipment
CN116149199A
Smart home equipment control method and system based on wearable equipment
CN116774597A
