The present disclosure provides a partial homomorphism-based data compiling method, device, equipment and storage medium, comprising: a first electronic device receiving a first
ciphertext parameter sent by a second electronic device, the first
ciphertext parameter being used to indicate
processing of to-be-compiled data, the
encryption logic of the to-be-compiled data being full
homomorphic encryption, converting the
encryption logic of the to-be-compiled data into partial
homomorphic encryption, the converted to-be-compiled data including the first
ciphertext parameter and a second ciphertext parameter generated by the first electronic device, determining an operation graph corresponding to the converted to-be-compiled data according to a preset analysis
library, each operation graph in the analysis
library being used to represent an operation relationship between multiple parameters, executing the operation graph corresponding to the converted to-be-compiled data according to the first ciphertext parameter and the second ciphertext parameter to obtain a
data compilation result, realizing the
automation and intelligence of compilation, and improving the general applicability and flexibility of compilation.