Disclosure of Invention
The invention provides an intelligent home control method based on the Internet of things, which comprises the following steps:
s1, the intelligent home client side obtains the running state data of a terminal in wireless connection with a first client side and a terminal in wireless connection with a second client side through authorization, the first client side controls and obtains the working state of the air conditioner, and the second client side controls and obtains the working state of the wall-mounted fresh air purifier;
s2, the smart home client acquires the real-time running power of the air conditioner through the first client, and if the running power is larger than a first power threshold and smaller than a second power threshold, the step S3 is executed; if the operation power is less than or equal to the first power threshold, executing step S4; if the operating power is greater than the first power threshold and greater than the second power threshold, performing step S5; the first power threshold is less than the second power threshold;
s3, the smart home client controls the fresh air purifier to enter an energy-saving working mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the first predetermined time;
s4, the smart home client controls the fresh air purifier to enter an automatic working mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the second predetermined time; the first preset time is less than the second preset time, and the fresh air volume of the fresh air purifier in the automatic working mode is greater than that in the energy-saving working mode;
s5, the smart home client controls the fresh air purifier to enter a standby mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the third predetermined time; the third preset time is less than the first preset time, and the fresh air volume of the fresh air purifier in the standby mode is 0.
As a preferred embodiment, the method further comprises:
if the fresh air purifier detects that the air quality is excellent in the automatic working mode or the energy-saving working mode, ending the timing function, and returning to the step S2;
if the fresh air purifier detects that the air quality is good in the automatic working mode, the working mode of the fresh air purifier is adjusted to be an energy-saving working mode, and the timing function is continued;
if the fresh air purifier detects that the air quality is poor, the intelligent home client controls the air conditioner to enter an energy-saving working mode through the first client.
As a preferred embodiment, the method further comprises:
the intelligent home client sets a joint control mode, an independent control mode and a mutual exclusion working mode of the air conditioner and the fresh air purifier;
if the user selects the joint control mode, the step S1 is performed; if the user selects the independent control mode, the first client and the second client independently control the air conditioner and the fresh air purifier respectively; and if the user selects the mutual exclusion control mode, the intelligent home client only controls the first client to start the air conditioner or controls the second client to start the fresh air purifier at the same time.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the real-time power consumption of the air conditioner in the combined control mode and the mutual exclusion control mode respectively;
and prompting a user to replace a filter element of the fresh air purifier in time if the difference value of the power consumption of the air conditioner in the combined control mode and the power consumption of the air conditioner in the exclusive control mode is larger than a preset power consumption threshold value in the same time interval.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the residual life of a filter element of the fresh air purifier in the joint control mode and the mutual exclusion control mode respectively;
and prompting a user to clean the air conditioner in time if the difference value of the service life reduction value of the filter element of the fresh air purifier in the combined control mode and the service life reduction value of the filter element of the fresh air purifier in the exclusive control mode is larger than a preset first service life threshold value in the same time interval.
As a preferred embodiment, the method further comprises:
if the fresh air purifier is characterized in that the residual life of the fresh air purifier is less than a preset second life threshold value, the intelligent household client is forbidden to use the combined control mode.
As a preferred embodiment, the method further comprises:
the first client side obtains a first direction and a first distance of the air conditioner, and the second client side obtains a second direction and a second distance of the fresh air purifier; the intelligent home client calculates the distance between the air conditioner and the fresh air purifier according to the first direction, the first distance and the second direction and the second distance;
and if the distance between the air conditioner and the fresh air purifier is greater than a preset distance threshold value, the intelligent home client disables the joint control mode and the mutual exclusion working mode.
In addition, the invention provides an intelligent home control system based on the Internet of things, and the intelligent home control system executes the intelligent home control method.
In addition, the invention provides a mobile terminal, wherein the mobile terminal is provided with an intelligent household control client, and the intelligent household control client executes the intelligent household control method.
The invention provides an intelligent home control method based on the Internet of things, which is characterized in that under the condition that an air conditioner and an air purifier are independent, separately installed and controlled, the working states of the air conditioner and the air purifier are respectively obtained through an intelligent home client, the working state of the air purifier is adjusted according to the working state of the air conditioner, the air quality is adjusted to the maximum extent on the basis of ensuring the temperature control of the air conditioner, and the power consumption of the air conditioner and the filter element loss of the air purifier caused by ineffective indoor and outdoor air circulation are avoided, so that the working efficiency of the air conditioner and the air purifier is improved, and the problems of low control efficiency and poor effect caused by manual control of the air conditioner and the air purifier are avoided.
Detailed Description
The embodiments of the present invention are further described below with reference to the drawings.
The first embodiment is as follows:
the invention provides an intelligent home control method based on the Internet of things, which comprises the following steps:
s1, the intelligent home client side obtains the running state data of a terminal in wireless connection with a first client side and a terminal in wireless connection with a second client side through authorization, the first client side controls and obtains the working state of the air conditioner, and the second client side controls and obtains the working state of the wall-mounted fresh air purifier; the air conditioner and the wall-mounted fresh air purifier are independent structures, are products produced and installed by different manufacturers, and do not have a function of mutual communication during installation; for example, a user has installed an air conditioner before living, finds that the bedroom has poor air quality after living, and then installs a wall-mounted fresh air purifier; at this time, the user needs to separately and individually control the two devices. Because the air conditioner installed firstly has the ventilation pipeline for air compression or air exchange, and the wall-mounted fresh air purifier also has the independent ventilation pipeline for air exchange, at the moment, because two ventilation pipelines exist in the same environment at the same time, the two ventilation pipelines are independently controlled or respectively exchange air during working, so that the influence of the state of the ventilation pipeline of the other equipment when one equipment works can be caused, and the refrigeration effect or the air purification effect of the air conditioner is poor; and because the two kinds of equipment do not have the ability of mutual communication or control, the user is required to respectively carry out the control of the working mode through different clients or remote controllers at the moment, so that the user is not convenient to accurately control the working states of the two kinds of equipment, the control efficiency is very low, the service life of a filter element of the air purifier is seriously influenced, and the electric energy waste of the air conditioner is caused. According to the invention, the cooperative work of the two devices is realized through the intelligent home client, so that the adverse effect between the two devices during the working period is reduced to the maximum extent. The first client is an application program which is developed by an air conditioner manufacturer for a user and is used for controlling and acquiring the working state of an air conditioner, the second client is an application program which is developed by a wall-mounted fresh air purifier manufacturer for the user and is used for controlling and acquiring the working state of the wall-mounted fresh air purifier, and the two application programs can be installed on a mobile terminal of the user so that the user can carry out wireless remote control-free equipment control; in order to acquire the working state of the air conditioner and the wall-mounted fresh air purifier, the intelligent home client needs to establish communication connection with the air conditioner client and the wall-mounted fresh air purifier client, and at the moment, the intelligent home client can work cooperatively by authorizing the corresponding running state data of the air conditioner and the wall-mounted fresh air purifier.
S2, the smart home client acquires the real-time running power of the air conditioner through the first client, and if the running power is larger than a first power threshold and smaller than a second power threshold, the step S3 is executed; if the operation power is less than or equal to the first power threshold, executing step S4; if the operating power is greater than the first power threshold and greater than the second power threshold, performing step S5; the first power threshold is less than the second power threshold; it should be noted that the operation state of the air conditioner may be represented by real-time operation power, and in addition, the operation state of the air conditioner may be represented by other parameters, such as different operation modes, which is not limited herein. Illustratively, the first power threshold is 1KW, and the second power threshold is 2 KW; because the air volume in the wind channel of air conditioner is different under the power of difference, and then also is different to the influence of new trend air purifier's operating condition, consequently, can monitor the operating condition of air conditioner through setting up above-mentioned power threshold value, and then carries out corresponding adjustment to new trend air purifier's operating condition.
S3, the smart home client controls the fresh air purifier to enter an energy-saving working mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the first predetermined time; it should be noted that, at this moment, the power of air conditioner is moderate, indicates that its air volume is also moderate, and the user is also not too obvious to the body of temperature, and then control fresh air purifier gets into energy-conserving mode of operation, keeps the air purifier less air volume when purifying indoor air, maintains the equilibrium state between air volume and the mode between two kinds of equipment. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the first preset time is 5 minutes, and after the time threshold is reached, the judgment process of the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
S4, the smart home client controls the fresh air purifier to enter an automatic working mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the second predetermined time; the first preset time is less than the second preset time, and the fresh air volume of the fresh air purifier in the automatic working mode is greater than that in the energy-saving working mode; it should be noted that, at this moment, the power of air conditioner is less, indicates that its air volume is also less, and the user is comfortable to the body of temperature, and then control fresh air purifier gets into automatic mode to the purification of indoor air is realized to the fastest. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the second preset time is 10 minutes, and after the time threshold is reached, the process of judging the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
S5, the smart home client controls the fresh air purifier to enter a standby mode through the second client and starts a timing function; returning to the step S2 after the timing time reaches the third predetermined time; the third preset time is less than the first preset time, and the fresh air volume of the fresh air purifier in the standby mode is 0. It should be noted that, at this time, the power of the air conditioner is large, which indicates that the ventilation volume is also large, and the user feels uncomfortable about the temperature, and then the fresh air purifier is controlled to enter the sleep mode to close the ventilation channel, so that the air conditioner can adjust the indoor temperature most quickly. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the third predetermined time is 2 minutes, and after the time threshold is reached, the process of judging the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
Therefore, the working states of the air conditioner and the air purifier are respectively obtained through the intelligent household client under the conditions that the air conditioner and the air purifier are independent, separately installed and controlled, the working state of the air purifier is further adjusted according to the working state of the air conditioner, the air quality is adjusted to the maximum extent on the basis of guaranteeing the temperature control of the air conditioner, and the power consumption of the air conditioner and the filter element loss of the air purifier caused by ineffective indoor and outdoor air circulation are avoided, so that the working efficiency of the air conditioner and the air purifier is improved, and the problems of low control efficiency and poor effect caused by manual control of the air conditioner and the air purifier are solved.
As a preferred embodiment, the method further comprises:
if the fresh air purifier detects that the air quality is excellent in the automatic working mode or the energy-saving working mode, ending the timing function, and returning to the step S2; it should be noted that if the fresh air purifier detects that the air quality is excellent in the automatic operating mode or the energy-saving operating mode, it indicates that the air quality of the current environment is good, and then the timing function is automatically ended, and the process of judging the air conditioner power is returned.
If the fresh air purifier detects that the air quality is good in the automatic working mode, the working mode of the fresh air purifier is adjusted to be an energy-saving working mode, and the timing function is continued; it should be noted that if the fresh air purifier detects that the air quality is good in the automatic working mode, it indicates that the air quality of the current environment is general and the user experience of the air quality is not obvious, and at this time, in order to ensure that the temperature can meet the user experience, the working mode of the fresh air purifier is adjusted to an energy-saving working mode to reduce the ventilation volume of the ventilation duct of the air purifier, so as to ensure that the temperature of the air conditioner is controlled to reach the preset temperature at the fastest speed; and in addition, the timing function is continued, and the process of judging the air conditioner power is returned.
If the fresh air purifier detects that the air quality is poor, the intelligent home client controls the air conditioner to enter an energy-saving working mode through the first client. It should be noted that, if the fresh air purifier detects that the air quality is poor, it indicates that the air quality of the current environment is not good, and the user experience of the air quality is obviously not good, at this moment, the smart home client controls the air conditioner to enter the energy-saving working mode through the first client to reduce the ventilation volume of the ventilation duct of the air conditioner, so that the fresh air purifier is ensured to purify the air at the fastest speed, and the air quality is improved.
As a preferred embodiment, the method further comprises:
the intelligent home client sets a joint control mode, an independent control mode and a mutual exclusion working mode of the air conditioner and the fresh air purifier; it should be noted that, by setting different working modes, the control of different working states of the air conditioner and the fresh air purifier can be realized.
If the user selects the joint control mode, the step S1 is performed; at the moment, the automatic combined control of the air conditioner and the fresh air purifier is realized through the steps of the embodiment, so that the manual operation of a user is avoided, and the control efficiency is improved. If the user selects the independent control mode, the first client and the second client independently control the air conditioner and the fresh air purifier respectively; at this time, the air conditioner and the control of the fresh air purifier have no influence on each other. And if the user selects the mutual exclusion control mode, the intelligent home client only controls the first client to start the air conditioner or controls the second client to start the fresh air purifier at the same time. At the moment, the fresh air purifier is closed during the opening period of the air conditioner, and then a ventilation air duct of the fresh air purifier is also closed, so that the adverse effect on the working state of the air conditioner is avoided; the air conditioner is closed during the fresh air purifier is opened, and then the ventilation duct of air conditioner is also closed to avoid the adverse effect to fresh air purifier operating condition.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the real-time power consumption of the air conditioner in the combined control mode and the mutual exclusion control mode respectively; it should be noted that, because the operation of the air conditioner in the mutually exclusive control mode is not adversely affected by the ventilation of the air duct of the fresh air purifier, the real-time power consumption of the air conditioner at this time can be used as a reference standard for the normal operation performance of the air conditioner. Because the work of air conditioner may receive the adverse effect that fresh air purifier's wind channel ventilation caused under the joint control mode, consequently, the adverse effect that the air conditioner caused by fresh air purifier's wind channel ventilation can be judged through its real-time power consumption this moment.
And prompting a user to replace a filter element of the fresh air purifier in time if the difference value of the power consumption of the air conditioner in the combined control mode and the power consumption of the air conditioner in the exclusive control mode is larger than a preset power consumption threshold value in the same time interval. It should be noted that, for example, during the same time interval from 8 pm to 10 pm, the power consumption of the air conditioner in the combined control mode is 5 degrees, the power consumption of the air conditioner in the exclusive control mode is 2.5 degrees, and the difference between the two is greater than the preset power consumption threshold value of 2 degrees, which indicates that the air conditioner is greatly affected by the ventilation of the air duct of the fresh air purifier, and this effect is often caused by the excessive ventilation of the air duct of the fresh air purifier due to the low air filtration efficiency of the air purifier, and at this time, the user is prompted to replace the filter element of the fresh air purifier in time, so as to reduce the adverse effect on the working performance of the air conditioner.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the residual life of a filter element of the fresh air purifier in the joint control mode and the mutual exclusion control mode respectively; it should be noted that, because the operation of the fresh air purifier is not adversely affected by the ventilation of the air duct of the air conditioner in the mutually exclusive control mode, the reduction value of the service life of the filter element of the fresh air purifier can be used as a reference standard for the normal operating performance of the fresh air purifier. Because the work of the fresh air purifier may be influenced by the adverse effect caused by the ventilation of the air duct of the air conditioner in the combined control mode, the adverse effect caused by the ventilation of the air duct of the air conditioner on the fresh air purifier can be judged through the service life reduction value of the filter element.
And prompting a user to clean the air conditioner in time if the difference value of the service life reduction value of the filter element of the fresh air purifier in the combined control mode and the service life reduction value of the filter element of the fresh air purifier in the exclusive control mode is larger than a preset first service life threshold value in the same time interval. It should be noted that, for example, during the same time interval from 8 pm to 10 pm, the filter element life reduction value of the fresh air purifier in the joint control mode is 3%, the filter element life reduction value of the fresh air purifier in the mutual exclusion control mode is 1%, and the difference between the two values is greater than the preset power consumption threshold value of 1.5%, which indicates that the fresh air purifier is greatly affected by the ventilation of the air duct of the air conditioner, and this effect is often caused by the excessive ventilation of the air duct of the air conditioner due to the low air conditioning efficiency of the air conditioner, and at this time, the user is prompted to clean the air conditioner in time, so as to reduce the adverse effect on the working performance of the fresh air purifier.
As a preferred embodiment, the method further comprises:
if the fresh air purifier is characterized in that the residual life of the fresh air purifier is less than a preset second life threshold value, the intelligent household client is forbidden to use the combined control mode. It should be noted that, for example, the remaining life of the fresh air purifier is 2% less than the preset second life threshold of 3%, the air purifying capacity of the air purifier is greatly reduced, and the air purifying capacity of the fresh air purifier is far less than the air volume of the air duct in the combined control mode, which causes adverse effects on the working performance of the air conditioner, so that the combined control mode should be disabled by the smart home client at this time.
As a preferred embodiment, the method further comprises:
the first client side obtains a first direction and a first distance of the air conditioner, and the second client side obtains a second direction and a second distance of the fresh air purifier; the intelligent home client calculates the distance between the air conditioner and the fresh air purifier according to the first direction, the first distance and the second direction and the second distance; it should be noted that the distance may be implemented by a distance sensor, the direction may be implemented by a direction sensor, and a conventional measurement method in the art is adopted, which is not described herein again. And the intelligent home client calculates the distance between the air conditioner and the fresh air purifier according to a triangle formed by the first direction, the first distance and the second direction and the second distance.
And if the distance between the air conditioner and the fresh air purifier is greater than a preset distance threshold value, the intelligent home client disables the joint control mode and the mutual exclusion working mode. It should be noted that, if the distance between the air conditioner and the fresh air purifier is 10 meters and greater than a preset distance threshold value of 7 meters, it indicates that the air conditioner and the fresh air purifier are no longer in the same space, and at this time, the air conditioner and the fresh air purifier do not have the requirement of cooperative control, so the smart home client disables the joint control mode and the mutual exclusion working mode.
The invention provides an intelligent home control method based on the Internet of things, which is characterized in that under the condition that an air conditioner and an air purifier are independent, separately installed and controlled, the working states of the air conditioner and the air purifier are respectively obtained through an intelligent home client, the working state of the air purifier is adjusted according to the working state of the air conditioner, the air quality is adjusted to the maximum extent on the basis of ensuring the temperature control of the air conditioner, and the power consumption of the air conditioner and the filter element loss of the air purifier caused by ineffective indoor and outdoor air circulation are avoided, so that the working efficiency of the air conditioner and the air purifier is improved, and the problems of low control efficiency and poor effect caused by manual control of the air conditioner and the air purifier are avoided.
Example two:
in addition, as shown in fig. 1, the invention provides an intelligent home control system based on the internet of things, which comprises the following modules:
the system comprises an initialization module, a first client side and a second client side, wherein the initialization module is used for enabling an intelligent home client side to obtain running state data of a terminal wirelessly connected with the first client side and a terminal wirelessly connected with the second client side through authorization, the first client side controls and obtains the working state of an air conditioner, and the second client side controls and obtains the working state of a wall-mounted fresh air purifier; the air conditioner and the wall-mounted fresh air purifier are independent structures, are products produced and installed by different manufacturers, and do not have a function of mutual communication during installation; for example, a user has installed an air conditioner before living, finds that the bedroom has poor air quality after living, and then installs a wall-mounted fresh air purifier; at this time, the user needs to separately and individually control the two devices. Because the air conditioner installed firstly has the ventilation pipeline for air compression or air exchange, and the wall-mounted fresh air purifier also has the independent ventilation pipeline for air exchange, at the moment, because two ventilation pipelines exist in the same environment at the same time, the two ventilation pipelines are independently controlled or respectively exchange air during working, so that the influence of the state of the ventilation pipeline of the other equipment when one equipment works can be caused, and the refrigeration effect or the air purification effect of the air conditioner is poor; and because the two kinds of equipment do not have the ability of mutual communication or control, the user is required to respectively carry out the control of the working mode through different clients or remote controllers at the moment, so that the user is not convenient to accurately control the working states of the two kinds of equipment, the control efficiency is very low, the service life of a filter element of the air purifier is seriously influenced, and the electric energy waste of the air conditioner is caused. According to the invention, the cooperative work of the two devices is realized through the intelligent home client, so that the adverse effect between the two devices during the working period is reduced to the maximum extent. The first client is an application program which is developed by an air conditioner manufacturer for a user and is used for controlling and acquiring the working state of an air conditioner, the second client is an application program which is developed by a wall-mounted fresh air purifier manufacturer for the user and is used for controlling and acquiring the working state of the wall-mounted fresh air purifier, and the two application programs can be installed on a mobile terminal of the user so that the user can carry out wireless remote control-free equipment control; in order to acquire the working state of the air conditioner and the wall-mounted fresh air purifier, the intelligent home client needs to establish communication connection with the air conditioner client and the wall-mounted fresh air purifier client, and at the moment, the intelligent home client can work cooperatively by authorizing the corresponding running state data of the air conditioner and the wall-mounted fresh air purifier.
The air conditioner running power comparison module is used for the intelligent home client to obtain the real-time running power of the air conditioner through the first client, and if the running power is larger than a first power threshold and smaller than a second power threshold, a first working state module is executed; executing a second working state module if the running power is less than or equal to a first power threshold; executing a third working state module if the running power is greater than the first power threshold and greater than the second power threshold; the first power threshold is less than the second power threshold; it should be noted that the operation state of the air conditioner may be represented by real-time operation power, and in addition, the operation state of the air conditioner may be represented by other parameters, such as different operation modes, which is not limited herein. Illustratively, the first power threshold is 1KW, and the second power threshold is 2 KW; because the air volume in the wind channel of air conditioner is different under the power of difference, and then also is different to the influence of new trend air purifier's operating condition, consequently, can monitor the operating condition of air conditioner through setting up above-mentioned power threshold value, and then carries out corresponding adjustment to new trend air purifier's operating condition.
The first working state module is used for controlling the fresh air purifier to enter an energy-saving working mode through the second client by the intelligent household client and starting a timing function; returning to execute the air conditioner running power comparison module after the timing time reaches the first preset time; it should be noted that, at this moment, the power of air conditioner is moderate, indicates that its air volume is also moderate, and the user is also not too obvious to the body of temperature, and then control fresh air purifier gets into energy-conserving mode of operation, keeps the air purifier less air volume when purifying indoor air, maintains the equilibrium state between air volume and the mode between two kinds of equipment. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the first preset time is 5 minutes, and after the time threshold is reached, the judgment process of the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
The second working state module is used for controlling the fresh air purifier to enter an automatic working mode through the second client by the intelligent household client and starting a timing function; returning to execute the air conditioner running power comparison module after the timing time reaches second preset time; the first preset time is less than the second preset time, and the fresh air volume of the fresh air purifier in the automatic working mode is greater than that in the energy-saving working mode; it should be noted that, at this moment, the power of air conditioner is less, indicates that its air volume is also less, and the user is comfortable to the body of temperature, and then control fresh air purifier gets into automatic mode to the purification of indoor air is realized to the fastest. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the second preset time is 10 minutes, and after the time threshold is reached, the process of judging the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
The third working state module is used for controlling the fresh air purifier to enter a standby mode through the second client by the intelligent household client and starting a timing function; returning to execute the air conditioner running power comparison module after the timing time reaches a third preset time; the third preset time is less than the first preset time, and the fresh air volume of the fresh air purifier in the standby mode is 0. It should be noted that, at this time, the power of the air conditioner is large, which indicates that the ventilation volume is also large, and the user feels uncomfortable about the temperature, and then the fresh air purifier is controlled to enter the sleep mode to close the ventilation channel, so that the air conditioner can adjust the indoor temperature most quickly. In addition, because the indoor and outdoor environments are dynamically changed, a timing function needs to be set at the moment so as to further monitor and adjust the indoor temperature and air quality; illustratively, the third predetermined time is 2 minutes, and after the time threshold is reached, the process of judging the working power of the air conditioner is returned, and the cyclic detection and control are carried out.
Therefore, the working states of the air conditioner and the air purifier are respectively obtained through the intelligent household client under the conditions that the air conditioner and the air purifier are independent, separately installed and controlled, the working state of the air purifier is further adjusted according to the working state of the air conditioner, the air quality is adjusted to the maximum extent on the basis of guaranteeing the temperature control of the air conditioner, and the power consumption of the air conditioner and the filter element loss of the air purifier caused by ineffective indoor and outdoor air circulation are avoided, so that the working efficiency of the air conditioner and the air purifier is improved, and the problems of low control efficiency and poor effect caused by manual control of the air conditioner and the air purifier are solved.
As a preferred embodiment, the method further comprises:
if the fresh air purifier detects that the air quality is excellent in the automatic working mode or the energy-saving working mode, the timing function is finished, and the air conditioner operation power comparison module is returned to be executed; it should be noted that if the fresh air purifier detects that the air quality is excellent in the automatic operating mode or the energy-saving operating mode, it indicates that the air quality of the current environment is good, and then the timing function is automatically ended, and the process of judging the air conditioner power is returned.
If the fresh air purifier detects that the air quality is good in the automatic working mode, the working mode of the fresh air purifier is adjusted to be an energy-saving working mode, and the timing function is continued; it should be noted that if the fresh air purifier detects that the air quality is good in the automatic working mode, it indicates that the air quality of the current environment is general and the user experience of the air quality is not obvious, and at this time, in order to ensure that the temperature can meet the user experience, the working mode of the fresh air purifier is adjusted to an energy-saving working mode to reduce the ventilation volume of the ventilation duct of the air purifier, so as to ensure that the temperature of the air conditioner is controlled to reach the preset temperature at the fastest speed; and in addition, the timing function is continued, and the process of judging the air conditioner power is returned.
If the fresh air purifier detects that the air quality is poor, the intelligent home client controls the air conditioner to enter an energy-saving working mode through the first client. It should be noted that, if the fresh air purifier detects that the air quality is poor, it indicates that the air quality of the current environment is not good, and the user experience of the air quality is obviously not good, at this moment, the smart home client controls the air conditioner to enter the energy-saving working mode through the first client to reduce the ventilation volume of the ventilation duct of the air conditioner, so that the fresh air purifier is ensured to purify the air at the fastest speed, and the air quality is improved.
As a preferred embodiment, the method further comprises:
the intelligent home client sets a joint control mode, an independent control mode and a mutual exclusion working mode of the air conditioner and the fresh air purifier; it should be noted that, by setting different working modes, the control of different working states of the air conditioner and the fresh air purifier can be realized.
If the user selects the joint control mode, executing the initialization module; at the moment, the automatic combined control of the air conditioner and the fresh air purifier is realized through the steps of the embodiment, so that the manual operation of a user is avoided, and the control efficiency is improved. If the user selects the independent control mode, the first client and the second client independently control the air conditioner and the fresh air purifier respectively; at this time, the air conditioner and the control of the fresh air purifier have no influence on each other. And if the user selects the mutual exclusion control mode, the intelligent home client only controls the first client to start the air conditioner or controls the second client to start the fresh air purifier at the same time. At the moment, the fresh air purifier is closed during the opening period of the air conditioner, and then a ventilation air duct of the fresh air purifier is also closed, so that the adverse effect on the working state of the air conditioner is avoided; the air conditioner is closed during the fresh air purifier is opened, and then the ventilation duct of air conditioner is also closed to avoid the adverse effect to fresh air purifier operating condition.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the real-time power consumption of the air conditioner in the combined control mode and the mutual exclusion control mode respectively; it should be noted that, because the operation of the air conditioner in the mutually exclusive control mode is not adversely affected by the ventilation of the air duct of the fresh air purifier, the real-time power consumption of the air conditioner at this time can be used as a reference standard for the normal operation performance of the air conditioner. Because the work of air conditioner may receive the adverse effect that fresh air purifier's wind channel ventilation caused under the joint control mode, consequently, the adverse effect that the air conditioner caused by fresh air purifier's wind channel ventilation can be judged through its real-time power consumption this moment.
And prompting a user to replace a filter element of the fresh air purifier in time if the difference value of the power consumption of the air conditioner in the combined control mode and the power consumption of the air conditioner in the exclusive control mode is larger than a preset power consumption threshold value in the same time interval. It should be noted that, for example, during the same time interval from 8 pm to 10 pm, the power consumption of the air conditioner in the combined control mode is 5 degrees, the power consumption of the air conditioner in the exclusive control mode is 2.5 degrees, and the difference between the two is greater than the preset power consumption threshold value of 2 degrees, which indicates that the air conditioner is greatly affected by the ventilation of the air duct of the fresh air purifier, and this effect is often caused by the excessive ventilation of the air duct of the fresh air purifier due to the low air filtration efficiency of the air purifier, and at this time, the user is prompted to replace the filter element of the fresh air purifier in time, so as to reduce the adverse effect on the working performance of the air conditioner.
As a preferred embodiment, the method further comprises:
the intelligent home client calculates the residual life of a filter element of the fresh air purifier in the joint control mode and the mutual exclusion control mode respectively; it should be noted that, because the operation of the fresh air purifier is not adversely affected by the ventilation of the air duct of the air conditioner in the mutually exclusive control mode, the reduction value of the service life of the filter element of the fresh air purifier can be used as a reference standard for the normal operating performance of the fresh air purifier. Because the work of the fresh air purifier may be influenced by the adverse effect caused by the ventilation of the air duct of the air conditioner in the combined control mode, the adverse effect caused by the ventilation of the air duct of the air conditioner on the fresh air purifier can be judged through the service life reduction value of the filter element.
And prompting a user to clean the air conditioner in time if the difference value of the service life reduction value of the filter element of the fresh air purifier in the combined control mode and the service life reduction value of the filter element of the fresh air purifier in the exclusive control mode is larger than a preset first service life threshold value in the same time interval. It should be noted that, for example, during the same time interval from 8 pm to 10 pm, the filter element life reduction value of the fresh air purifier in the joint control mode is 3%, the filter element life reduction value of the fresh air purifier in the mutual exclusion control mode is 1%, and the difference between the two values is greater than the preset power consumption threshold value of 1.5%, which indicates that the fresh air purifier is greatly affected by the ventilation of the air duct of the air conditioner, and this effect is often caused by the excessive ventilation of the air duct of the air conditioner due to the low air conditioning efficiency of the air conditioner, and at this time, the user is prompted to clean the air conditioner in time, so as to reduce the adverse effect on the working performance of the fresh air purifier.
As a preferred embodiment, the method further comprises:
if the fresh air purifier is characterized in that the residual life of the fresh air purifier is less than a preset second life threshold value, the intelligent household client is forbidden to use the combined control mode. It should be noted that, for example, the remaining life of the fresh air purifier is 2% less than the preset second life threshold of 3%, the air purifying capacity of the air purifier is greatly reduced, and the air purifying capacity of the fresh air purifier is far less than the air volume of the air duct in the combined control mode, which causes adverse effects on the working performance of the air conditioner, so that the combined control mode should be disabled by the smart home client at this time.
As a preferred embodiment, the method further comprises:
the first client side obtains a first direction and a first distance of the air conditioner, and the second client side obtains a second direction and a second distance of the fresh air purifier; the intelligent home client calculates the distance between the air conditioner and the fresh air purifier according to the first direction, the first distance and the second direction and the second distance; it should be noted that the distance may be implemented by a distance sensor, the direction may be implemented by a direction sensor, and a conventional measurement method in the art is adopted, which is not described herein again. And the intelligent home client calculates the distance between the air conditioner and the fresh air purifier according to a triangle formed by the first direction, the first distance and the second direction and the second distance.
And if the distance between the air conditioner and the fresh air purifier is greater than a preset distance threshold value, the intelligent home client disables the joint control mode and the mutual exclusion working mode. It should be noted that, if the distance between the air conditioner and the fresh air purifier is 10 meters and greater than a preset distance threshold value of 7 meters, it indicates that the air conditioner and the fresh air purifier are no longer in the same space, and at this time, the air conditioner and the fresh air purifier do not have the requirement of cooperative control, so the smart home client disables the joint control mode and the mutual exclusion working mode.
The invention provides an intelligent home control system based on the Internet of things, which is used for respectively acquiring working states of an air conditioner and an air purifier through an intelligent home client under the conditions that the air conditioner and the air purifier are independent, separately installed and controlled, further adjusting the working state of the air purifier according to the working state of the air conditioner, and adjusting the air quality to the maximum extent on the basis of ensuring the temperature control of the air conditioner so as to avoid the power consumption of the air conditioner and the filter element loss of the air purifier caused by ineffective indoor and outdoor air circulation, thereby improving the working efficiency of the air conditioner and the air purifier, and avoiding the problems of low control efficiency and poor effect caused by manual control of the air conditioner and the air purifier.
Example three:
the invention provides a mobile terminal, wherein the mobile terminal is provided with an intelligent home control client, and the intelligent home control client executes an intelligent home control method described in any one of the embodiments, which is not described herein again.
It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the methods specified in the block or blocks of the block diagrams and/or flowchart block or blocks.
Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.