| CPC H04L 9/008 (2013.01) [H04L 9/0618 (2013.01); H04L 9/3073 (2013.01); H04L 2209/46 (2013.01)] | 17 Claims |

|
1. A node group-based data processing method performed by a node group, the node group including a plurality of first nodes and a second node in the node group, wherein one of the plurality of first nodes is designated as an aggregation node, the method comprising:
constructing, by each of the first nodes, a mapping relationship according to a first user identifier of the first node, the mapping relationship being used for mapping the first user identifier to a target value;
performing, by each of the first nodes, homomorphic encryption on a mapping parameter of the mapping relationship, to obtain a mapping parameter ciphertext, and transferring the mapping parameter ciphertext to the second node in the node group;
determining, by the second node, a reference value to which a second user identifier of the second node is mapped under a mapping relationship corresponding to the mapping parameter ciphertext and correspondingly returning one piece of fragment information of the second user identifier corresponding to the reference value and the reference value to a corresponding one of the plurality of first nodes, wherein a quantity of pieces of fragment information of the second user identifier is the same as a quantity of first nodes in the node group;
receiving, by each of the first nodes, the reference value and the fragment information that are correspondingly returned by the second node;
maintaining, by each of the first nodes, when a result obtained after homomorphic decryption is performed on the reference value is consistent with the target value, the fragment information returned corresponding to the reference value, and triggering the aggregation node to collect fragment information maintained in each node in the node group; and
aggregating, by the aggregation node, the collected fragment information to obtain a user identifier intersection set of nodes in the node group and aggregating user data corresponding to the user identifier intersection set.
|