Disclosure of Invention
The invention provides a fresh air control method, a fresh air control device and a fresh air system, which are used for overcoming the defects in the prior art.
The invention provides a fresh air control method, which comprises the following steps:
acquiring the quality of outdoor air;
if the outdoor air quality meets a first air quality condition, acquiring indoor temperature;
if the indoor temperature meets a preset temperature condition, acquiring the indoor air quality;
if the indoor air quality meets a second air quality condition, starting fresh air equipment to be controlled;
otherwise, the fresh air equipment is closed.
According to the fresh air control method provided by the invention, the step of acquiring the outdoor air quality comprises the following steps:
and determining the outdoor air quality based on the on-line air quality of the area where the fresh air equipment is located.
According to the fresh air control method provided by the invention, the determining of the outdoor air quality based on the online air quality of the area where the fresh air equipment is located comprises the following steps:
if the network connection is normal, acquiring the online air quality of the region where the meteorological platform is located and published in real time based on the network, and taking the online air quality as the outdoor air quality;
if the network connection is abnormal, the current predicted air quality is obtained from the air quality prediction information as the outdoor air quality, and the air quality prediction information is obtained based on the meteorological platform when the network connection is normal.
According to the fresh air control method provided by the invention, the first air quality condition comprises that the outdoor air quality is better than a first air quality evaluation threshold;
the first air quality assessment threshold is determined based on historical air quality of the area where the fresh air device is located within a preset time period.
According to the fresh air control method provided by the invention, the preset temperature condition comprises that the difference between the indoor temperature and the target temperature is smaller than a preset temperature difference threshold value;
the target temperature is preset by a user.
According to the fresh air control method provided by the invention, the starting of the fresh air equipment to be controlled further comprises the following steps:
and controlling the air supply speed of the fresh air equipment based on the difference between the outdoor temperature and the indoor temperature and the temperature adjusting power of the indoor temperature adjusting equipment.
The present invention also provides a fresh air control device, comprising:
an outdoor quality acquiring unit for acquiring outdoor air quality;
an outdoor temperature acquisition unit for acquiring an indoor temperature if the outdoor air quality satisfies a first air quality condition;
the indoor quality acquisition unit is used for acquiring the indoor air quality if the indoor temperature meets a preset temperature condition;
the starting control unit is used for starting the fresh air equipment to be controlled if the indoor air quality meets a second air quality condition;
and the closing control unit is used for closing the fresh air equipment if the fresh air equipment is not used.
The invention also provides a fresh air system which comprises the fresh air control device.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of any one of the fresh air control methods.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the fresh air control method as described in any of the above.
According to the fresh air control method, the fresh air control device and the fresh air system, the fresh air is automatically switched on and off by gradually judging the outdoor air quality, the indoor temperature and the indoor air quality, and the user experience is optimized. In addition, through the priority judgment sequence of different influence factors, on the basis of realizing automatic control, the simplicity, convenience and easiness in implementation of control logic are guaranteed.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a fresh air control method provided by the present invention, and as shown in fig. 1, the method includes:
step 110, outdoor air quality is obtained.
Here, the outdoor AIR quality refers to an AIR quality of an outdoor environment, the outdoor environment is relative to an indoor environment where the fresh AIR device to be controlled is located, and the AIR quality may be an AIR quality INDEX (API), a concentration value of various pollutants in the AIR, or a concentration value of negative oxygen ions in the AIR, which is not specifically limited in this embodiment of the present invention.
The outdoor air quality can be acquired through various air sensors arranged in the outdoor environment, and can also be acquired through being connected to a meteorological platform through a network, so that the local air quality issued by the meteorological platform is acquired.
Step 120, if the outdoor air quality meets a first air quality condition, acquiring the indoor temperature;
step 130, if the indoor temperature meets a preset temperature condition, acquiring the indoor air quality;
step 140, if the indoor air quality meets a second air quality condition, starting a fresh air device to be controlled;
step 150, otherwise, the fresh air device is closed.
Specifically, the on-off control of the fresh air device generally involves the influence of multiple factors, and in the embodiment of the present invention, priorities are set for the factors of the various aspects, where the first priority is the outdoor air quality obtained in step 110.
The main function of the fresh air is to guide the outdoor air into the room, so the quality of the outdoor air is taken as the primary consideration of the fresh air switch. After the outdoor air quality is obtained, whether the outdoor air quality meets a first air quality condition is judged, the first air quality condition is used for measuring whether the outdoor air quality meets the minimum air quality of starting fresh air, the first air quality condition can be preset, and the first air quality condition can be related to an area where a fresh air device to be controlled is located.
If the outdoor air quality meets the first air quality condition, executing step 120 to obtain the indoor temperature, so as to further measure whether to start the fresh air equipment; if the outdoor air quality is judged not to meet the first air quality condition, step 150 is executed, and the fresh air equipment is directly closed.
In step 120, the indoor temperature, that is, the temperature of the indoor environment where the fresh air device to be controlled is located, may be acquired by a temperature sensor installed in advance in the room. After the indoor temperature is obtained, whether the indoor temperature meets a preset temperature condition or not can be further judged on the premise that the outdoor air quality meets the condition, the preset temperature condition is used for measuring whether the indoor temperature meets the temperature range of the fresh air, the preset temperature condition can be preset, and the preset temperature condition can be related to a target value of the indoor temperature set by a user.
If the indoor temperature meets the preset temperature condition, executing step 130 to obtain the indoor air quality, so as to further measure whether to start the fresh air equipment; if the indoor temperature is judged not to meet the preset temperature condition, the step 150 is executed, and the fresh air equipment is directly closed.
In step 130, the indoor air quality, that is, the air quality of the indoor environment where the fresh air device to be controlled is located, may be acquired by various air sensors installed in the room in advance, for example, concentration sensors such as carbon dioxide and PM2.5 may be used. After the indoor air quality is obtained, whether the indoor air quality meets a second air quality condition or not can be further judged on the premise that the outdoor air quality and the indoor temperature both meet the conditions, the second air quality condition referred to here is used for measuring whether the indoor air quality has the requirement of opening fresh air or not, the second air quality condition can be preset, and the second air quality condition can be related to the air quality requirement set by a user.
If the indoor air quality is judged to meet the second air quality condition, executing the step 140, and starting the fresh air equipment; if the indoor air quality is judged not to meet the second air quality condition, step 150 is executed, and the fresh air equipment is directly closed.
The steps 120, 130 and 140 are all executed on the premise that the previous step meets the condition, and in the process of one-by-one judgment, if the condition is not met, the judgment process can be interrupted immediately, and the fresh air equipment is directly determined to be closed, so that the calculation amount required by logic judgment is reduced.
According to the method provided by the embodiment of the invention, the automatic on-off control of the fresh air is realized and the user experience is optimized by gradually judging the outdoor air quality, the indoor temperature and the indoor air quality. In addition, through the priority judgment sequence of different influence factors, on the basis of realizing automatic control, the simplicity, convenience and easiness in implementation of control logic are guaranteed.
Based on the above embodiment, step 110 includes:
and determining the outdoor air quality based on the on-line air quality of the area where the fresh air equipment is located.
Specifically, the source of the outdoor air quality may be online air quality of an area where the fresh air device is located, where the online air quality is the air quality published on the meteorological platform, and reflects real-time air quality of the area where the fresh air device is located, where the area may be an administrative district range or a county and city district range, and this is not specifically limited in the embodiment of the present invention.
Compare in directly installing sensing equipment outdoors and carrying out the collection of outdoor air quality, confirm outdoor air quality through the information of online release, only need the networking to realize, can avoid earlier stage sensing equipment's installation work, reduce new trend automatic control's hardware cost and later maintenance cost, effectively reduce new trend automatic control's realization threshold.
Based on any of the above embodiments, step 110 includes:
if the network connection is normal, acquiring the online air quality of the region where the meteorological platform is located and published in real time based on the network, and taking the online air quality as the outdoor air quality;
if the network connection is abnormal, the current predicted air quality is obtained from the air quality prediction information as the outdoor air quality, and the air quality prediction information is obtained based on the meteorological platform when the network connection is normal.
In particular, the real-time acquisition of the air quality on-line needs to be performed in a case where the network connection is normal. In the practical application process, the abnormal condition of network disconnection may exist, and the meteorological platform cannot be connected to acquire real-time online air quality at the moment.
It is contemplated that typical weather platforms not only provide current real-time air quality, but also provide air quality prediction information for a future period of time, such as a future day or a future week. In order to avoid the situation that the real-time air quality cannot be acquired under the condition of network disconnection, the air quality prediction information issued by the meteorological platform can be stored locally while the current online air quality issued in real time is acquired under the condition of networking. If the network is disconnected, the air quality prediction information stored in the local can be directly acquired, and the current predicted air quality is positioned from the air quality prediction information to serve as the outdoor air quality.
In step 120, the first air quality condition includes that the outdoor air quality is better than a first air quality assessment threshold, and the first air quality assessment threshold is determined based on the historical air quality of the area where the fresh air device is located in the preset time period.
Specifically, when the fresh air switch is determined for the outdoor air quality, the outdoor air quality may be compared with a preset first air quality evaluation threshold, where the first air quality evaluation threshold allows the lower limit of the outdoor air quality of the fresh air device to be turned on. For example, if the first air quality assessment threshold is 80 and the current outdoor air quality index is 65, the current outdoor air quality index is better than the threshold, and whether to start the fresh air device may be further determined according to the indoor temperature and the indoor air quality.
Considering that the air quality of different regions is greatly different, for example, the air quality of a city is usually slightly worse than that of a country, when the first air quality assessment threshold is set, different thresholds can be set according to different regions, so that the problem that regional fresh air equipment cannot be started under partial extreme meteorological environments due to the fact that a unified threshold is set is avoided.
Specifically, when the threshold is set, the historical air quality of the corresponding area in the preset time period may be referred to, for example, the historical air quality of the corresponding area in the past year may be referred to, or the historical air quality of the corresponding area in the same quarter of the last year may be referred to, and on this basis, the average value of the air quality indexes in the preset time period is counted, or the number of days each air quality class occupies in the preset time period is counted, so as to determine the corresponding first air quality evaluation threshold. For example, if the average air quality index over the past year at a is 78, 78 may be set as the first air quality assessment threshold, or a value slightly below 78, for example 70, may be set as the first air quality assessment threshold.
According to the method provided by the embodiment of the invention, the first air quality evaluation threshold value is set in different areas, different environmental states of different areas are fully considered, and the method is favorable for meeting the requirements of fresh air control under various environmental states.
Based on any of the above embodiments, in step 130, the preset temperature condition includes that a difference between the indoor temperature and the target temperature is smaller than a preset temperature difference threshold; the target temperature is preset by the user.
Specifically, the target temperature is a temperature level that the user previously set desires to reach indoors. Generally, the indoor temperature is adjusted to a target temperature by an indoor temperature adjusting device, such as an air conditioner. In the indoor adjusting process, if the adjusting power is fixed and unchanged, the difference between the indoor temperature and the target temperature is larger, the longer the time needing to be adjusted is shown, and at the moment, if the fresh air is started, the temperature adjusting effect is inevitably directly influenced, and the temperature adjusting time is prolonged. Therefore, when the fresh air switch is judged according to the indoor temperature, the difference between the indoor temperature and the target temperature can be compared with a preset temperature difference threshold value, and the preset temperature difference threshold value at the position allows the temperature difference lower limit of the fresh air device to be started.
If the difference between the indoor temperature and the target temperature is smaller than the preset temperature difference threshold value, the current indoor temperature is consistent with or close to the target temperature, the influence of the fresh air on the room temperature regulation is small, and whether the fresh air equipment is started or not can be further judged according to the indoor air quality.
In any of the above embodiments, the second air quality condition includes that the indoor air quality is worse than the second air quality assessment threshold in step 140.
Specifically, when the fresh air switch is determined for the indoor air quality, the indoor air quality may be compared with a preset second air quality evaluation threshold, where the second air quality evaluation threshold is an upper limit of the indoor air quality that allows the fresh air device to be turned on, and the second air quality evaluation threshold may be set according to a user setting. If the indoor air quality is better than the second air quality evaluation threshold, the current indoor air quality is good, the fresh air does not need to be started, if the indoor air quality is worse than the second air quality evaluation threshold, the current indoor air quality is poor, and the fresh air can be started on the premise that the outdoor air quality and the indoor temperature meet the conditions.
Based on any of the above embodiments, step 140 further includes:
and controlling the air supply speed of the fresh air equipment based on the difference between the outdoor temperature and the indoor temperature and the temperature adjusting power of the indoor temperature adjusting equipment.
Specifically, after the fresh air is started, the air supply speed of the fresh air equipment needs to be further adjusted. When adjusting the air blowing speed, it is necessary to consider the difference between the outdoor temperature and the indoor temperature, and when the temperature difference is large, the air blowing speed is smaller, the user feels weaker about the change of the indoor temperature, and the comfort is stronger. Therefore, the temperature adjusting power of the indoor temperature adjusting device can be introduced while the indoor and outdoor temperature difference is considered, the maximum air supply speed when the indoor temperature is maintained in a relatively stable range through the indoor temperature adjusting device is estimated through the temperature adjusting power, the air supply speed adjustment without perception of a user is achieved, and the indoor temperature is stabilized while the indoor air quality is improved as soon as possible.
For example, the heat value output by the indoor temperature adjusting device in unit time can be estimated through the temperature adjusting power, the fresh air volume which can be adjusted in temperature by the indoor temperature adjusting device in unit time is determined by combining the heat value and the indoor and outdoor temperature difference, so that the proper air supply speed is calculated, and the fresh air device is controlled to supply air based on the air supply speed.
The following describes the fresh air control device provided by the present invention, and the fresh air control device described below and the fresh air control method described above can be referred to correspondingly.
Fig. 2 is a schematic structural diagram of a fresh air control device provided by the present invention, and as shown in fig. 2, the device includes:
an outdoor quality acquiring unit 210 for acquiring outdoor air quality;
an outdoor temperature obtaining unit 220 for obtaining an indoor temperature if the outdoor air quality satisfies a first air quality condition;
an indoor quality obtaining unit 230, configured to obtain indoor air quality if the indoor temperature meets a preset temperature condition;
the starting control unit 240 is used for starting the fresh air equipment to be controlled if the indoor air quality meets a second air quality condition;
and a closing control unit 250, configured to close the fresh air device if not.
The device provided by the embodiment of the invention realizes automatic on-off control of fresh air and optimizes user experience by gradually judging the outdoor air quality, the indoor temperature and the indoor air quality. In addition, through the priority judgment sequence of different influence factors, on the basis of realizing automatic control, the simplicity, convenience and easiness in implementation of control logic are guaranteed.
Based on any of the above embodiments, the outdoor quality obtaining unit 210 is configured to:
and determining the outdoor air quality based on the on-line air quality of the area where the fresh air equipment is located.
Based on any of the above embodiments, the outdoor quality obtaining unit 210 is configured to:
if the network connection is normal, acquiring the online air quality of the region where the meteorological platform is located and published in real time based on the network, and taking the online air quality as the outdoor air quality;
if the network connection is abnormal, the current predicted air quality is obtained from the air quality prediction information as the outdoor air quality, and the air quality prediction information is obtained based on the meteorological platform when the network connection is normal.
In any of the above embodiments, the first air quality condition comprises the outdoor air quality being better than a first air quality assessment threshold;
the first air quality assessment threshold is determined based on historical air quality of the area where the fresh air device is located within a preset time period.
Based on any one of the above embodiments, the preset temperature condition includes that a difference between the indoor temperature and the target temperature is smaller than a preset temperature difference threshold;
the target temperature is preset by a user.
Based on any embodiment above, the apparatus further comprises a wind speed adjusting unit for:
and controlling the air supply speed of the fresh air equipment based on the difference between the outdoor temperature and the indoor temperature and the temperature adjusting power of the indoor temperature adjusting equipment.
Based on any of the above embodiments, fig. 3 is a schematic structural diagram of a fresh air system provided by the present invention, and as shown in fig. 3, a fresh air system 300 includes the fresh air control device 200 provided by any of the above embodiments.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform a fresh air control method comprising: acquiring the quality of outdoor air; if the outdoor air quality meets a first air quality condition, acquiring indoor temperature; if the indoor temperature meets a preset temperature condition, acquiring the indoor air quality; if the indoor air quality meets a second air quality condition, starting fresh air equipment to be controlled; otherwise, the fresh air equipment is closed.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the fresh air control method provided by the above methods, the method comprising: acquiring the quality of outdoor air; if the outdoor air quality meets a first air quality condition, acquiring indoor temperature; if the indoor temperature meets a preset temperature condition, acquiring the indoor air quality; if the indoor air quality meets a second air quality condition, starting fresh air equipment to be controlled; otherwise, the fresh air equipment is closed.
In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the above provided fresh air control method, the method comprising: acquiring the quality of outdoor air; if the outdoor air quality meets a first air quality condition, acquiring indoor temperature; if the indoor temperature meets a preset temperature condition, acquiring the indoor air quality; if the indoor air quality meets a second air quality condition, starting fresh air equipment to be controlled; otherwise, the fresh air equipment is closed.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.