This application discloses a
data processing method, apparatus, device, storage medium, and program product, relating to the field of
data processing technology. The method includes generating a privacy vector and a public key vector based on
anonymity query rule data and public parameters, where the public parameters are jointly determined by the data queryer and the
data provider; sending an
anonymity request to the
data provider, the
anonymity request carrying the public key vector, the anonymity request being used by the
data provider to generate a secret vector and a secret number, the secret vector being a vector in which the data provider encrypts and hides the entire
original data using a random
mask and an error vector, and the secret number being a secret number associated with the public key vector and the random
mask, encrypted and hidden using
random error; receiving data feedback information sent by the data provider, the data feedback information including the secret vector and the secret number; and determining the request result corresponding to the anonymity request from the data feedback information based on the privacy vector. This approach can
resist quantum computing attacks and prevent data leakage.