| A method for implementing model training based on federated learning is provided. The method includes: receiving multiple first model parameter sets respectively from multiple devices; calculating at least one first distance between one of the first model parameter sets corresponding to a first device among the multiple devices and at least one of the first model parameter sets corresponding to at least one other device among the multiple devices; calculating at least one first weight corresponding to the first device based on the at least one first distance; calculating a weighted average of the first model parameter sets based on the at least one first weight to obtain a second model parameter set corresponding to the first device; and sending the second model parameter set corresponding to the first device to the first device. In addition, a system using the method is also provided. |