CPC G06F 16/24545 (2019.01) [H04L 9/06 (2013.01); H04L 2209/46 (2013.01)] | 20 Claims |
1. A computer-implemented method, comprising:
receiving, by a central device of a multi-party database system, a current query associated with a plurality of target databases of the multi-party database system;
generating, by the central device, a plurality of execution plans for the current query;
determining, by the central device for each execution plan, a respective cost computation formula of a plurality of cost computation formulas for computing an execution cost of jointly executing the execution plan by the plurality of target databases;
receiving, by the central device, a secure computation result from each of a plurality of query engines corresponding to the plurality of target databases, wherein the secure computation result is obtained by performing secure multi-party computation (MPC) based on a target secure computation method corresponding to the respective cost computation formula; and
determining, by the central device, an optimal execution plan having a lowest cost value in the plurality of cost computation formulas based on a cryptographic result of a cost value of each of the plurality of cost computation formulas.
|