A control method for an air conditioner, the air conditioner comprising a compressor and a pipeline connected to the compressor, and the control method comprising the following steps: obtaining a vibration displacement of the pipeline during the operation of the air conditioner and recording it as a first vibration displacement; obtaining (S 102) the vibration displacement of the pipeline again after a preset time has elapsed and recording it as a second vibration displacement; characterized in that the method further comprises the following steps: calculating a difference between the second vibration displacement and a preset displacement, and a difference between the second vibration displacement and the first vibration displacement; calculating (S 104) a result obtained by adding a product of the difference between the second vibration displacement and the preset displacement and a first coefficient, and a product of the difference between the second vibration displacement and the first vibration displacement and a second coefficient; and selectively adjusting the frequency of the compressor according to the calculation result, wherein selectively adjusting the frequency of the compressor according to the calculation result comprises: adjusting the frequency of the compressor, if the calculation result is greater than a preset value; and wherein adjusting the frequency of the compressor comprises: obtaining (S 107) a change trend of the frequency of the compressor; controlling an adjustment direction of the frequency of the compressor according to the change trend of the frequency of the compressor; and controlling an adjustment amount of the frequency of the compressor according to the calculation result. obtaining a vibration displacement of the pipeline during the operation of the air conditioner and recording it as a first vibration displacement; obtaining (S 102) the vibration displacement of the pipeline again after a preset time has elapsed and recording it as a second vibration displacement; characterized in that the method further comprises the following steps: calculating a difference between the second vibration displacement and a preset displacement, and a difference between the second vibration displacement and the first vibration displacement; calculating (S 104) a result obtained by adding a product of the difference between the second vibration displacement and the preset displacement and a first coefficient, and a product of the difference between the second vibration displacement and the first vibration displacement and a second coefficient; and selectively adjusting the frequency of the compressor according to the calculation result, wherein selectively adjusting the frequency of the compressor according to the calculation result comprises: adjusting the frequency of the compressor, if the calculation result is greater than a preset value; and wherein adjusting the frequency of the compressor comprises: obtaining (S 107) a change trend of the frequency of the compressor; controlling an adjustment direction of the frequency of the compressor according to the change trend of the frequency of the compressor; and controlling an adjustment amount of the frequency of the compressor according to the calculation result. calculating a difference between the second vibration displacement and a preset displacement, and a difference between the second vibration displacement and the first vibration displacement; calculating (S 104) a result obtained by adding a product of the difference between the second vibration displacement and the preset displacement and a first coefficient, and a product of the difference between the second vibration displacement and the first vibration displacement and a second coefficient; and selectively adjusting the frequency of the compressor according to the calculation result, wherein selectively adjusting the frequency of the compressor according to the calculation result comprises: adjusting the frequency of the compressor, if the calculation result is greater than a preset value; and wherein adjusting the frequency of the compressor comprises: obtaining (S 107) a change trend of the frequency of the compressor; controlling an adjustment direction of the frequency of the compressor according to the change trend of the frequency of the compressor; and controlling an adjustment amount of the frequency of the compressor according to the calculation result. adjusting the frequency of the compressor, if the calculation result is greater than a preset value; and wherein adjusting the frequency of the compressor comprises: obtaining (S 107) a change trend of the frequency of the compressor; controlling an adjustment direction of the frequency of the compressor according to the change trend of the frequency of the compressor; and controlling an adjustment amount of the frequency of the compressor according to the calculation result. obtaining (S 107) a change trend of the frequency of the compressor; controlling an adjustment direction of the frequency of the compressor according to the change trend of the frequency of the compressor; and controlling an adjustment amount of the frequency of the compressor according to the calculation result.