A method for managing a charging pile system, wherein the charging pile system comprises at least one AC/DC module, a bus module, a power scheduling module, a plurality of DC/DC modules, a plurality of charging terminals that are connected to the plurality of DC/DC modules in a one-to-one correspondence, and a plurality of detection modules, wherein the plurality of detection modules are connected between the bus module and the plurality of DC/DC modules in a one-to-one correspondence, wherein an output end of the at least one AC/DC module is connected to input ends of the plurality of DC/DC modules by using the bus module, the power scheduling module is connected to the bus module, and each charging terminal among the plurality of charging terminals is configured to charge a to-be-charged device based on transmit power determined by the corresponding DC/DC module; and the method comprises: • when a first charging terminal in the plurality of charging terminals is connected to a first to-be-charged device, determining, by the power scheduling module, first needed power P nee/1 transmitted by a first DC/DC module correspondingly connected to the first charging terminal, wherein the first needed power P nee/1 is needed power of the first to-be-charged device; • determining, by the power scheduling module, total surplus power P AC/DC/TSur transmitted by the at least one AC/DC module, wherein the total surplus power P AC/DC/TSur is a difference between total rated power of the at least one AC/DC module and transmitted power; and • transmitting, by the power scheduling module, first transmit power P tra/1 to the first DC/DC module, the first transmit power P tra/1 being based on a value relationship between the first needed power P nee/1 and the total surplus power P AC/DC/Tsur, wherein the method further comprises: • when a first detection module among the plurality of detection modules detects that a load current between the bus module and the first DC/DC module is greater than or equal to a preset load current threshold, and/or a leakage current between the bus module and the first DC/DC module is greater than or equal to a preset leakage current threshold, controlling, by the power scheduling module, the first detection module, so that the bus module and the first DC/DC module are in an open-circuit state, wherein the first detection module is connected between the bus module and the first DC/DC module. the method comprises: • when a first charging terminal in the plurality of charging terminals is connected to a first to-be-charged device, determining, by the power scheduling module, first needed power P nee/1 transmitted by a first DC/DC module correspondingly connected to the first charging terminal, wherein the first needed power P nee/1 is needed power of the first to-be-charged device; • determining, by the power scheduling module, total surplus power P AC/DC/TSur transmitted by the at least one AC/DC module, wherein the total surplus power P AC/DC/TSur is a difference between total rated power of the at least one AC/DC module and transmitted power; and • transmitting, by the power scheduling module, first transmit power P tra/1 to the first DC/DC module, the first transmit power P tra/1 being based on a value relationship between the first needed power P nee/1 and the total surplus power P AC/DC/Tsur, • when a first charging terminal in the plurality of charging terminals is connected to a first to-be-charged device, determining, by the power scheduling module, first needed power P nee/1 transmitted by a first DC/DC module correspondingly connected to the first charging terminal, wherein the first needed power P nee/1 is needed power of the first to-be-charged device; • determining, by the power scheduling module, total surplus power P AC/DC/TSur transmitted by the at least one AC/DC module, wherein the total surplus power P AC/DC/TSur is a difference between total rated power of the at least one AC/DC module and transmitted power; and • transmitting, by the power scheduling module, first transmit power P tra/1 to the first DC/DC module, the first transmit power P tra/1 being based on a value relationship between the first needed power P nee/1 and the total surplus power P AC/DC/Tsur, wherein the method further comprises: • when a first detection module among the plurality of detection modules detects that a load current between the bus module and the first DC/DC module is greater than or equal to a preset load current threshold, and/or a leakage current between the bus module and the first DC/DC module is greater than or equal to a preset leakage current threshold, controlling, by the power scheduling module, the first detection module, so that the bus module and the first DC/DC module are in an open-circuit state, wherein the first detection module is connected between the bus module and the first DC/DC module. • when a first detection module among the plurality of detection modules detects that a load current between the bus module and the first DC/DC module is greater than or equal to a preset load current threshold, and/or a leakage current between the bus module and the first DC/DC module is greater than or equal to a preset leakage current threshold, controlling, by the power scheduling module, the first detection module, so that the bus module and the first DC/DC module are in an open-circuit state, wherein the first detection module is connected between the bus module and the first DC/DC module.