A SIM card communication circuit. The circuit includes a processor, a first level conversion apparatus, a first card slot, and an ESIM
chip; both an input port of the first level conversion apparatus and the ESIM
chip are connected to the processor, and an output port of the first level conversion apparatus is connected to the first card slot; and the processor is configured to: when receiving a first message, control the first level conversion apparatus to be enabled, and control the ESIM
chip to be disabled, to implement a connection between the processor and a first physical SIM card in the first card slot; or the processor is configured to: when receiving a second message, control the first level conversion apparatus to be disabled, and control the ESIM chip to be enabled, to implement a connection between the processor and an ESIM card in the ESIM chip.