The invention relates to a threshold homomorphic
password federated gradient secure aggregation method,
system and device, and the method comprises the steps: obtaining an aggregation gradient
plaintext based on an online participant set, a threshold value and a
network connection time limit; obtaining an online participant set and a threshold value, inputting the online participant set and the threshold value into a T-N threshold
homomorphic encryption model, and then encrypting and collecting the online participant set and the threshold value to an aggregation party to generate
ciphertext data; an aggregation party collects
encryption parameters through an aggregation
algorithm in combination with
ciphertext data and aggregation gradient
plaintext, and a T-N threshold
homomorphic encryption model can expand a new private key with a threshold access characteristic on the basis of multi-party
homomorphic encryption, so that under the condition that a certain proportion of participants are offline, a new private key with a threshold access characteristic can be expanded, and the
encryption efficiency is improved. And the rest participants can still decrypt the
ciphertext by using the new private key with the threshold access characteristic, and then the aggregation gradient
plaintext is obtained by cooperating with calculation for aggregation, so that the time of iterative convergence to an expected value is shortened.