The invention discloses a totem pole 
power factor correction circuit and a control method thereof, a medium, a compressor and an air conditioner. The totem pole 
power factor correction circuit comprises a 
rectifier module, an 
inductor module, a 
capacitor module, a switch module and a control module, and the control module is used for controlling the 
rectifier module and the switch module to work in a high-frequency switch mode or a multi-
pulse mode according to working parameters of the load. When working in a high-frequency switching mode, the input current waveform can be controlled to change along with the input 
voltage, so that the input current 
harmonic wave and the 
power factor are improved, the 
bus voltage is raised, and boost output is realized; and when working in a multi-
pulse mode, the totem-pole power factor correction circuit can realize 
voltage-multiplying output with lower loss, and the totem-pole power factor correction circuit can realize boosting and voltage-multiplying functions, so that the totem-pole power factor correction circuit adapts to voltage requirements of different working parameters of a load, and keeps the 
advantage of high efficiency of the power factor correction circuit. The correction circuit is widely applied to the technical field of electronic power.