The invention is suitable for the technical field of digital
medical treatment, and particularly relates to a safe
interaction method and device for a federal training
medical model, equipment and a medium. According to the method, a
server side and a
client side register in the same block chain, the
server side broadcasts the weight of a current
global model obtained by the last round of training to the block chain, the
client side updates and trains a local model according to the weight to obtain a trained local model, the updated model weight of the trained local model is broadcasted to the block chain, and the updated model weight of the trained local model is broadcasted to the block chain. And the
server performs accuracy calculation on the updated model weight and updates the current
global model by using the
verification data to obtain the first accuracy and the current
global model of the current round of training, obtains the reward distribution amount of the
client according to the first accuracy, realizes
federated learning of the model, limits the client on the basis of the reward in the block chain, and improves the user experience. The invention aims to reduce the influence of a client on federal learning by means of forgery aggressive data and the like in an interaction process and improve the application accuracy of a model in
medical treatment.