Disclosure of Invention
The invention provides an intelligent self-treatment method and device for an air conditioner, electronic equipment and a storage medium, which are used for solving the defect that the cleanness of the air conditioner cannot be maintained while bacteria and viruses are killed in the prior art and realizing the complete treatment of the air conditioner.
The invention provides an intelligent self-treatment method of an air conditioner, which comprises the following steps:
acquiring a self-treatment instruction;
controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to frost the surface of the heat exchanger;
after the frosting is finished, controlling the air conditioner to start a defrosting mode to enable the surface of the heat exchanger to be frosted into water flow;
controlling a transformer arranged on the heat exchanger to start, so that water flow on the surface of the heat exchanger is electrified;
judging whether the water flow is finished or not;
and when the water flow is finished, controlling the transformer to be closed, and stopping electrifying.
According to the intelligent self-treatment method for the air conditioner, the step of controlling the starting of the transformer arranged on the heat exchanger to electrify the water flow on the surface of the heat exchanger is followed by the following steps:
and acquiring the water flow of the water flow, and adjusting the set voltage of the transformer according to the water flow.
According to the intelligent self-treatment method of the air conditioner, the step of adjusting the set voltage of the transformer according to the water flow comprises the following steps:
and when the water flow rate is in an ascending trend, adjusting the set voltage to gradually decrease.
According to the intelligent self-treatment method of the air conditioner provided by the invention, the step of adjusting the set voltage of the transformer according to the water flow further comprises the following steps:
and when the water flow rate is in a descending trend, adjusting the set voltage to gradually increase.
According to the air-conditioning intelligent self-treatment method provided by the invention, the adjusting range of the set voltage is 24V-36V.
According to the intelligent self-treatment method for the air conditioner, the step of controlling the air conditioner to start the frosting mode comprises the following steps:
and controlling the heat exchanger to refrigerate and controlling the fan to stop running.
According to the intelligent self-treatment method for the air conditioner, after the water flow is finished, the transformer is controlled to be turned off, and after the step of stopping electrifying:
and controlling the air conditioner to start a heating mode to dry the air conditioner.
The invention also provides an air-conditioning intelligent self-treatment device, which comprises:
the instruction acquisition module is used for acquiring a self-treatment instruction;
the first control module is used for controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to frost the surface of the heat exchanger;
the second control module is used for controlling the air conditioner to start a defrosting mode after the frosting is finished, so that the surface of the heat exchanger is frosted into water flow;
the third control module is used for controlling a transformer arranged on the heat exchanger to be started so as to electrify water flow on the surface of the heat exchanger;
the judging module is used for judging whether the water flow is finished or not;
and the fourth control module is used for controlling the transformer to be closed and stopping electrifying after the water flow is finished.
The invention also provides electronic equipment 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 program to realize the steps of any one of the air conditioner intelligent self-treatment 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 any of the above-described air conditioning intelligent self-treatment methods.
According to the intelligent self-treatment method and device for the air conditioner, the electronic equipment and the storage medium, the surface of the heat exchanger can be cleaned by starting the frosting mode and the defrosting mode, in addition, in the process, water flow generated in the defrosting mode is electrified through voltage loaded by the transformer, microorganisms such as bacteria and viruses are killed through the water flow electrification, the corpses of the microorganisms such as the bacteria and the viruses can be washed away through the water flow, the self-treatment is realized, and the cleanness of the air conditioner is kept. Compared with the method for killing bacteria and viruses by negative oxygen ions in the prior art, the intelligent self-treatment method for the air conditioner provided by the invention can kill the bacteria, the viruses and other microorganisms, keep the air conditioner clean, has a better killing effect and realizes complete treatment of the air conditioner.
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.
The air-conditioning intelligent self-treatment method, device, electronic equipment and storage medium of the invention are described in the following with reference to fig. 1-4.
Referring to fig. 1, the method for intelligent self-treatment of an air conditioner includes:
s10, obtaining a self-treatment instruction;
here, the obtained self-treatment instruction may be sent by the user, and the self-treatment instruction sent by the user may be sent by directly controlling the air conditioner through a remote controller, or sent by controlling a key on the air conditioner, or sent by remotely controlling through a mobile phone app.
In addition, the air conditioner can judge whether the heat exchanger meets the starting condition of self-treatment or not in the running process, and when the starting condition of self-treatment is met, the self-treatment instruction can be automatically sent out, so that the self-treatment instruction can also be the instruction sent out by the air conditioner, and the automatic running of the air conditioner is realized.
Specifically, when judging whether the heat exchanger meets the starting condition of self-treatment or not, when the accumulated running time of the air conditioner exceeds t, the air conditioner sends out a self-treatment instruction, and after the self-treatment is finished, the accumulated running time of the air conditioner is reset.
S20, controlling the air conditioner to start a frosting mode according to the self-treatment instruction, and enabling the surface of the heat exchanger to be frosted;
specifically, the step of controlling the air conditioner to start the frosting mode comprises the following steps:
and controlling the heat exchanger to refrigerate and controlling the fan to stop running.
The heat exchanger is refrigerated, and the fan stops rotating, so that the surface of the heat exchanger can be frosted, and bacteria and viruses on the surface of the heat exchanger can be preliminarily killed through low temperature during frosting.
In this embodiment, the cooling temperature of the heat exchanger is set to the lowest temperature of the air conditioner, and at this time, the guide plate of the air outlet of the air conditioner is closed, so as to reduce the influence of the external environment temperature.
When the frosting mode is started, the frosting running time is t1In this embodiment, the frosting on the surface of the heat exchanger is completely covered as the frosting is finished.
S30, after the frosting is finished, controlling the air conditioner to start a defrosting mode to enable the surface of the heat exchanger to be frosted into water flow;
specifically, the step of controlling the air conditioner to start the defrosting mode comprises the following steps:
and controlling the fan to start to operate, enabling indoor air to circularly flow through the fan, and blowing frost on the surface of the heat exchanger into water flow.
In this embodiment, the heat exchanger does not operate, the fan operates, and at this time, the guide plate of the air outlet of the air conditioner is opened, so that the air flows circularly. In other embodiments, the heat exchanger can be started to heat the heat exchanger, so that the defrosting efficiency is improved. In addition, because the blown air can become cold air when the frost is blown, in order to avoid the discomfort of users when the air conditioner is used, the guide plate of the air outlet of the air conditioner is inclined upwards, so that the direct blowing of the wind for defrosting to people is avoided.
When the fan operates, the fan continuously operates at a set rotating speed, and when the water flow is judged to be finished, the fan stops operating.
S40, controlling a transformer arranged on the heat exchanger to start, and electrifying the water flow on the surface of the heat exchanger;
when the defrosting mode is started, the transformer is controlled to be started, the transformer is electrically connected with the main control board of the air conditioner so as to be controlled, after the transformer is started, the voltage loaded by the transformer enables water flow on the surface of the heat exchanger to be electrified, bacteria and viruses are sterilized through the water flow electrification, and at the moment, microorganisms such as germs and the like are basically killed. Meanwhile, the water flow cleans the surface of the heat exchanger and the framework of the air conditioner, and washes away the corpses of germs, such as germs and the like, thereby ensuring the cleanness of the air conditioner.
S60, judging whether the water flow is finished or not;
and S70, when the water flow is finished, the transformer is controlled to be closed, and the energization is stopped.
When the water flow is finished, the self-treatment is basically finished, at the moment, the transformer is turned off, and the fan turned on in the defrosting mode is turned off. According to the requirement, the prior running state of the air conditioner can be recovered, and the air conditioner can also directly enter the standby state.
In this embodiment, through starting frosting mode and defrosting mode, can wash the surface of heat exchanger to, at this in-process, through the loaded voltage of transformer for the rivers circular telegram that the defrosting mode produced, through rivers circular telegram to kill microorganism such as bacterium and virus, and can wash away the corpse of microorganism such as bacterium and virus through rivers, realize self-treatment, keep the cleanness of air conditioner. Compared with the method for killing bacteria and viruses by negative oxygen ions in the prior art, the intelligent self-treatment method for the air conditioner provided by the invention can kill the bacteria, the viruses and other microorganisms, keep the air conditioner clean, has a better killing effect and realizes complete treatment of the air conditioner.
Referring to fig. 2, in an embodiment of the present invention, after the step of controlling the transformer disposed on the heat exchanger to start to electrify the water flow on the surface of the heat exchanger:
and S50, acquiring the water flow of the water flow, and adjusting the set voltage of the transformer according to the water flow.
In the defrosting mode, the generated water flow flows into the water tank of the framework of the air conditioner and flows to the water discharge pipe along the water tank, and in order to obtain the water flow rate of the water flow, a water flow meter can be arranged at the water discharge pipe, and the water flow rate can be obtained through the water flow meter.
The set voltage of the transformer is correspondingly adjusted according to the acquired water flow, so that the set voltage of the transformer is changed along with the water flow to ensure that the current of the water flow is basically constant, and the harm to people can be avoided on the basis of ensuring that microorganisms such as bacteria, viruses and the like are killed.
Specifically, the step of adjusting the set voltage of the transformer according to the water flow rate includes:
when the water flow rate is in an ascending trend, the set voltage is adjusted to be gradually reduced.
At the initial stage of the defrosting mode, the water flow rate is changed from small to large, at the moment, the water flow rate is in an ascending trend, the resistance of the water flow is reduced, and thus, the corresponding adjusting set voltage is gradually reduced, so that the current of the water flow is basically constant.
In addition, the step of adjusting the set voltage of the transformer according to the water flow rate further includes:
when the water flow rate is in a descending trend, the adjusting set voltage is gradually increased.
At the later stage of the defrosting mode, the frost on the surface of the heat exchanger is gradually reduced, so that the water flow is changed from more to less, at the moment, the water flow is in a descending trend, the resistance of the water flow is increased, and thus, the corresponding adjustment set voltage is gradually increased, so that the current of the water flow is basically constant.
And in the middle period of the defrosting mode, the water flow is maximum and basically constant, at the moment, the set voltage is minimum, and the current is basically constant.
In an embodiment of the present invention, the adjustment range of the set voltage is 24V to 36V.
When the set voltage is changed in the range, after the water flow is electrified, the generated current can ensure that the microorganisms such as bacteria, viruses and the like can be killed, and the current can not cause harm to the human body and is safer to use.
In this embodiment, the water flow rate is measured in real time by the water flow meter, the water flow rate is changed from 0 to the maximum, the set voltage is changed from 24V to 36V, and the set voltage is inversely proportional to the water flow rate.
In another embodiment, the water flow meter fetches every two seconds, whether the water flow rate is in an ascending trend or a descending trend is determined according to the values of the two fetches, and when the water flow rate is in the ascending trend, the voltage set by the transformer is 24V; when the water flow rate is in a descending trend, the voltage set by the transformer is 36V, and when the water flow stops, the transformer stops supplying power.
Referring to fig. 3, in addition, in an embodiment of the present invention, after the water flow is over, the transformer is controlled to be turned off, and after the step of stopping the energization:
and S80, controlling the air conditioner to start a heating mode, and drying the air conditioner.
Specifically, the step of controlling the air conditioner to start the heating mode includes:
and controlling the heat exchanger to heat and controlling the fan to operate.
At this moment, air conditioner air outlet baffle is opened, and the room air begins the circulation, through blowing hot-blast, dries the air conditioner, on the one hand, can get rid of the inside peculiar smell of air conditioner, and on the other hand still can dry the remaining moisture in the air conditioner, further realizes cleanly, has guaranteed the clean of air conditioner aluminium foil, satisfies masses well, promotes user experience and feels.
Here, the temperature of the heating mode needs to be higher than the ambient temperature, and, in order to avoid discomfort of a user in use, a guide plate of an outlet of the air conditioner is inclined upward to prevent hot wind for drying from being directly blown to a person.
Referring to fig. 1 to 3, the present invention further provides an intelligent self-treatment device for air conditioner, comprising:
the instruction acquisition module is used for acquiring a self-treatment instruction;
the first control module is used for controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to froste the surface of the heat exchanger;
the second control module is used for controlling the air conditioner to start a defrosting mode after the frosting is finished, so that the surface of the heat exchanger is frosted into water flow;
the third control module is used for controlling a transformer arranged on the heat exchanger to be started so as to electrify the water flow on the surface of the heat exchanger;
the judging module is used for judging whether the water flow is finished or not;
and the fourth control module is used for controlling the transformer to be closed and stopping electrifying after the water flow is finished.
The air-conditioning intelligent self-treatment device and the air-conditioning intelligent self-treatment method are mutually corresponding and referred to, the air-conditioning intelligent self-treatment device can keep the air conditioner clean while killing microbes such as bacteria, viruses and the like, the killing effect is better, and the complete treatment of the air conditioner is realized.
The intelligent self-treatment device of the air conditioner provided by the embodiment is an air conditioner internal unit, and can also be used as an external unit according to requirements.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)910, a communication Interface (Communications Interface)920, a memory (memory)930, and a communication bus 940, wherein the processor 910, the communication Interface 920, and the memory 930 communicate with each other via the communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform an air conditioning intelligent self-treatment method comprising: acquiring a self-treatment instruction; controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to frost the surface of the heat exchanger; after the frosting is finished, controlling the air conditioner to start a defrosting mode to convert the frosting on the surface of the heat exchanger into water flow; controlling a transformer arranged on the heat exchanger to start so as to electrify the water flow on the surface of the heat exchanger; judging whether the water flow is finished or not; and when the water flow is finished, the transformer is controlled to be closed, and the energization is stopped.
Furthermore, the logic instructions in the memory 930 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions 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 air conditioning intelligent self-treatment method provided by the above methods, the method comprising: acquiring a self-treatment instruction; controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to frost the surface of the heat exchanger; after the frosting is finished, controlling the air conditioner to start a defrosting mode to convert the frosting on the surface of the heat exchanger into water flow; controlling a transformer arranged on the heat exchanger to start so as to electrify the water flow on the surface of the heat exchanger; judging whether the water flow is finished or not; and when the water flow is finished, the transformer is controlled to be closed, and the energization is stopped.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the air conditioning intelligent self-treatment method provided above, the method comprising: acquiring a self-treatment instruction; controlling the air conditioner to start a frosting mode according to the self-treatment instruction so as to frost the surface of the heat exchanger; after the frosting is finished, controlling the air conditioner to start a defrosting mode to convert the frosting on the surface of the heat exchanger into water flow; controlling a transformer arranged on the heat exchanger to start so as to electrify the water flow on the surface of the heat exchanger; judging whether the water flow is finished or not; and when the water flow is finished, the transformer is controlled to be closed, and the energization is stopped.
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 the 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 of the various 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.