A charging method for a power battery (P1, P2), wherein the method is applied to a server of a battery swapping station, and the method comprises: acquiring by a second battery management unit of the battery swapping station, version information of a first software version after a vehicle installed with a power battery (P1, P2) arrives at the battery swapping station, wherein the first software version is a software version of a first battery management unit of the power battery (P1, P2); controlling, under a condition that the version information of the first software version is lower than version information of a second software version stored in the server, the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version, and charging the power battery (P1, P2) based on the second software version; wherein controlling the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version specifically comprises: transmitting, by the server, data packets of the second software version to the second battery management unit, so that the second battery management unit updates the first battery management unit based on the data packets; and wherein after controlling the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version, the method further comprises: receiving update feedback information transmitted by the second battery management unit, wherein the update feedback information indicates that the first battery management unit has updated the first software version to the second software version; initiating, in response to the update feedback information, a charging process for charging the power battery (P1, P2) based on the second software version. acquiring by a second battery management unit of the battery swapping station, version information of a first software version after a vehicle installed with a power battery (P1, P2) arrives at the battery swapping station, wherein the first software version is a software version of a first battery management unit of the power battery (P1, P2); controlling, under a condition that the version information of the first software version is lower than version information of a second software version stored in the server, the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version, and charging the power battery (P1, P2) based on the second software version; wherein controlling the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version specifically comprises: transmitting, by the server, data packets of the second software version to the second battery management unit, so that the second battery management unit updates the first battery management unit based on the data packets; and wherein after controlling the second battery management unit of the battery swapping station to update the first software version of the first battery management unit to the second software version, the method further comprises: receiving update feedback information transmitted by the second battery management unit, wherein the update feedback information indicates that the first battery management unit has updated the first software version to the second software version; initiating, in response to the update feedback information, a charging process for charging the power battery (P1, P2) based on the second software version. receiving update feedback information transmitted by the second battery management unit, wherein the update feedback information indicates that the first battery management unit has updated the first software version to the second software version; initiating, in response to the update feedback information, a charging process for charging the power battery (P1, P2) based on the second software version.