A method for controlling an air conditioner, comprising: determining a current operating mode of the air conditioner (S 102); determining one or more control parameters for controlling at least two air outlets of the air conditioner according to a current ambient temperature in the operating mode (S 104), wherein, the one or more control parameters comprise at least one of the direction, the intensity or the temperature of the airflow output from the air outlet, the at least two air outlets comprise a first air outlet and a second air outlet, and the first air outlet is disposed to be higher than the second air outlet; and controlling the air conditioner to output airflow corresponding to one or more distribution patterns according to the one or more control parameters (S 106); acquiring temperatures of a plurality of sampling points preset in a space where the air conditioner is located to obtain a plurality of temperature values; generating a temperature distribution diagram within the space based on the plurality of temperature values and positions of the sampling points corresponding to the plurality of temperature values; and if the operating mode is a heating mode, the method further comprises: obtaining a temperature value of a first sampling point and a temperature value of a second sampling point in the space where the air conditioner is located; judging if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than a preset first temperature difference; determining one or more first control subparameters used for controlling the first air outlet to output airflow corresponding to a distribution pattern and adjusting the speed at which the first air outlet outputs the airflow if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than the first temperature difference; and controlling the air conditioner to output airflow corresponding to one or more distribution patterns according to the one or more first control subparameters. determining a current operating mode of the air conditioner (S 102); determining one or more control parameters for controlling at least two air outlets of the air conditioner according to a current ambient temperature in the operating mode (S 104), wherein, the one or more control parameters comprise at least one of the direction, the intensity or the temperature of the airflow output from the air outlet, the at least two air outlets comprise a first air outlet and a second air outlet, and the first air outlet is disposed to be higher than the second air outlet; and controlling the air conditioner to output airflow corresponding to one or more distribution patterns according to the one or more control parameters (S 106); acquiring temperatures of a plurality of sampling points preset in a space where the air conditioner is located to obtain a plurality of temperature values; generating a temperature distribution diagram within the space based on the plurality of temperature values and positions of the sampling points corresponding to the plurality of temperature values; and if the operating mode is a heating mode, the method further comprises: obtaining a temperature value of a first sampling point and a temperature value of a second sampling point in the space where the air conditioner is located; judging if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than a preset first temperature difference; determining one or more first control subparameters used for controlling the first air outlet to output airflow corresponding to a distribution pattern and adjusting the speed at which the first air outlet outputs the airflow if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than the first temperature difference; and controlling the air conditioner to output airflow corresponding to one or more distribution patterns according to the one or more first control subparameters. obtaining a temperature value of a first sampling point and a temperature value of a second sampling point in the space where the air conditioner is located; judging if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than a preset first temperature difference; determining one or more first control subparameters used for controlling the first air outlet to output airflow corresponding to a distribution pattern and adjusting the speed at which the first air outlet outputs the airflow if the difference between the temperature value of the first sampling point and the temperature value of the second sampling point is greater than the first temperature difference; and controlling the air conditioner to output airflow corresponding to one or more distribution patterns according to the one or more first control subparameters.