The invention relates to a fully-encrypted
distributed security aggregation computing scheme in a distributed scene, which comprises a
client, the
client is connected with a trusted master node (TM) through
data transmission, the trusted master node (TM) is connected with a plurality of slave nodes # 1 through
data transmission, the trusted master node (TM) comprises an REE and a TEE, the TEE internally comprises a query engine and a global index, and the query engine is connected with the slave nodes # 1 through
data transmission. The slave node # 1 is composed of a security local index, a TEE query engine and a
data set, and the TEE query engine is connected with the security local index and the
data set through data transmission. According to the overall
system provided by the embodiment of the invention, the
system can realize safe aggregation calculation of data in a distributed environment, and meanwhile, the privacy and integrity of a calculation request are guaranteed; and support of
multiple aggregation operators: a safe data transmission mechanism and an
encryption aggregation scheme are studied and provided, sensitive information is ensured not to be leaked in the calculation process of different aggregation operators, the calculation performance is optimized, and sub-nodes needing to participate in calculation are reduced.