A charging method for charging a terminal, comprising: identifying (S102), by the terminal, when it is detected that a charging apparatus is inserted into a charging port of the terminal by using a charging cable, a first voltage value of the charging port; setting (S104), by the terminal, a second charging current; identifying a second voltage value of the charging port at the second charging current; calculating (S106), by the terminal, a cable impedance of the charging cable according to the first voltage value, the second charging current, and the second voltage value; and adjusting (S108), by the terminal, a suitable charging current of the charging apparatus according to the cable impedance of the charging cable, characterized in that the adjusting (S108) comprises: adjusting (S202) a third charging current to a fourth charging current; identifying (S204) a fourth voltage value of the charging port at the fourth charging current; calculating (S206) an output voltage value of the charging apparatus according to a rated voltage value of the charging apparatus, the fourth charging current and the cable impedance of the charging cable; and determining (S208), if the fourth voltage value is less than the output voltage value of the charging apparatus, that the third charging current is the suitable charging current of the charging apparatus. identifying (S102), by the terminal, when it is detected that a charging apparatus is inserted into a charging port of the terminal by using a charging cable, a first voltage value of the charging port; setting (S104), by the terminal, a second charging current; identifying a second voltage value of the charging port at the second charging current; calculating (S106), by the terminal, a cable impedance of the charging cable according to the first voltage value, the second charging current, and the second voltage value; and adjusting (S108), by the terminal, a suitable charging current of the charging apparatus according to the cable impedance of the charging cable, characterized in that the adjusting (S108) comprises: adjusting (S202) a third charging current to a fourth charging current; identifying (S204) a fourth voltage value of the charging port at the fourth charging current; calculating (S206) an output voltage value of the charging apparatus according to a rated voltage value of the charging apparatus, the fourth charging current and the cable impedance of the charging cable; and determining (S208), if the fourth voltage value is less than the output voltage value of the charging apparatus, that the third charging current is the suitable charging current of the charging apparatus. adjusting (S202) a third charging current to a fourth charging current; identifying (S204) a fourth voltage value of the charging port at the fourth charging current; calculating (S206) an output voltage value of the charging apparatus according to a rated voltage value of the charging apparatus, the fourth charging current and the cable impedance of the charging cable; and determining (S208), if the fourth voltage value is less than the output voltage value of the charging apparatus, that the third charging current is the suitable charging current of the charging apparatus. <EOS>