The invention discloses an air conditioner and a control method and device thereof, a storage medium and a
computer program product. The method comprises the steps that under the condition that the air conditioner operates in a heating mode, the frequency of a compressor, the rotating direction of an outdoor fan, the rotating speed of the outdoor fan, the
pipe temperature of an outdoor
heat exchanger and the outdoor environment
humidity of the air conditioner are obtained; according to the frequency of the compressor, the rotating direction of the outdoor fan, the rotating speed of the outdoor fan, the outdoor environment
humidity of the air conditioner and the
pipe temperature of the outdoor
heat exchanger,
frost layer unevenness parameters of the outdoor
heat exchanger are determined; according to the outdoor environment
humidity of the air conditioner, the frequency of the compressor and the
pipe temperature of the outdoor heat exchanger,
frost layer thickness parameters of the outdoor heat exchanger are determined; and according to the
frost layer non-uniformity parameter of the outdoor heat exchanger and the frost
layer thickness parameter of the outdoor heat exchanger, a preset
defrosting control strategy is executed. According to the scheme, the frost layer of the outdoor heat exchanger is uniform in the
generation process, so that the
defrosting time is delayed, and the heating capacity is guaranteed.