Secure multi-party computation method, and device and medium
By creating multiple computing nodes and scheduling nodes in the multi-party secure computing system, data communication and task configuration scheduling are realized, and custom operators are used to simplify computing task configuration, solving the problem of multi-task initiators and computing resource coordination in multi-party secure computing. problem, achieving safe and efficient multi-party computation.
Patent Information
- Application Number
- PCT/CN2024/077800
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-02-20
- Publication Date
- 2024-09-12
AI Technical Summary
It is difficult to implement multi-party secure computing for multiple task initiators with existing technology, and there are difficulties in constructing complex functions and coordinating computing resources when configuring computing tasks.
By creating multiple computing nodes and scheduling nodes, data communication and task configuration scheduling are implemented, custom operators are used to simplify computing task configuration, and computing resources are coordinated on the scheduling nodes to determine task execution instructions.
It realizes secure computing of multiple task initiators, simplifies the construction process of complex functions, effectively coordinates the computing resources of each computing node, and solves the problem of task information synchronization and computing resource satisfaction.
Smart Images

Figure CN2024077800_12092024_PF_FP_ABST
Abstract
Description
Multi-party secure computing method, device and medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202310238376.5 filed on March 3, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of multi-party secure computing, and in particular to a multi-party secure computing method, a multi-party secure computing device, and a computer-readable storage medium. Background Art
[0004] With the country's recent emphasis on data security and privacy protection, privacy computing technology has rapidly developed. Privacy computing is a general term for a wide range of privacy-preserving technologies. Currently, mainstream privacy computing technologies include multi-party secure computing, federated learning, and trusted execution environments. Multi-party secure computing primarily addresses the problem of securely computing a contracted function among multiple parties without a trusted third party. This primarily involves cryptographic techniques such as secret sharing and homomorphic encryption.
[0005] Conventional technologies only support a single task initiator for a given computing task, and only one computing node can configure and modify the task. However, the task initiator nodes participating in multi-party secure computing tasks are often located in different institutions or organizations. Therefore, how to implement multi-party secure computing with multiple task initiators is a problem that needs to be solved.
[0006] Summary of the Invention
[0007] The main purpose of this application is to provide a multi-party secure computing method, a multi-party secure computing device and a computer-readable storage medium, aiming to solve the technical problem that it is difficult to implement multi-party secure computing with multiple task initiators in conventional technologies.
[0008] To achieve the above objectives, the present application provides a multi-party secure computation method, which is applied to a scheduling node and includes:
[0009] Creating at least two computing nodes, and implementing data communication between the computing nodes and between the scheduling node and the computing nodes;
[0010] Implementing configuration scheduling for the same multi-party computing task by coordinating task configurations of the computing nodes;
[0011] After the multi-party computing task is configured and scheduled, the computing resources required for the multi-party computing task are uniformly orchestrated and scheduled, and it is determined whether to send a task execution instruction to the computing node that initiated the multi-party computing task.
[0012] To achieve the above objectives, the present application provides a multi-party secure computing method, which is applied to a computing node and includes:
[0013] Under the configuration and scheduling of multi-party computing tasks by the scheduling node, the custom operator is called to configure the task;
[0014] After receiving the task execution instruction sent by the scheduling node, the configured computing task is executed and the computing result is obtained.
[0015] The present application also provides a multi-party secure computing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the multi-party secure computing method described above are implemented.
[0016] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the multi-party secure computing method described above are implemented.
[0017] The present application also provides a first multi-party secure computing device, comprising:
[0018] A creation module, configured to create at least two computing nodes, and implement data communication between the computing nodes and between the scheduling node and the computing nodes;
[0019] A coordination module, configured to implement configuration scheduling of the same multi-party computing task by coordinating task configurations of the computing nodes;
[0020] The sending module is used to uniformly arrange and schedule the computing resources required for the multi-party computing task after the multi-party computing task completes configuration scheduling, and determine whether to send a task execution instruction to the computing node that initiates the multi-party computing task.
[0021] The present application also provides a second multi-party secure computing device, the second multi-party secure computing device comprising:
[0022] The calling module is used to call custom operators to configure tasks under the configuration and scheduling of multi-party computing tasks by the scheduling node;
[0023] The execution module is used to execute the configured computing tasks and obtain the computing results after receiving the task execution instruction sent by the scheduling node. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] FIG1 is a schematic diagram of the structure of the operating equipment of the hardware operating environment involved in the embodiment of the present application;
[0025] FIG2 is a flow chart of an embodiment of a multi-party secure computing method according to an embodiment of the present application;
[0026] FIG3 is a schematic diagram of the architecture of an embodiment of a multi-party secure computing system according to an embodiment of the present application;
[0027] FIG4 is a schematic diagram of a five-state model of a multi-party computing task according to an embodiment of a multi-party secure computing method according to an embodiment of the present application;
[0028] FIG5 is a flow chart of another embodiment of the multi-party secure computing method involved in the embodiment of the present application;
[0029] FIG6 is a schematic diagram of the execution flow of a multi-party computing task according to an embodiment of the multi-party secure computing method of the present application;
[0030] FIG7 is a schematic diagram of a configuration flow of a custom operator in an embodiment of a multi-party secure computing method according to an embodiment of the present application;
[0031] FIG8 is a schematic diagram of a control and arrangement process of computing resources in accordance with an embodiment of a multi-party secure computing method according to an embodiment of the present application;
[0032] FIG9 is a schematic diagram of a typical application scenario of an embodiment of a multi-party secure computing method according to an embodiment of the present application;
[0033] FIG10 is a schematic diagram of a first multi-party secure computing device involved in an embodiment of the present application;
[0034] FIG11 is a schematic diagram of a second multi-party secure computing device according to an embodiment of the present application.
[0035] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0036] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0037] Refer to Figure 1, which is a schematic diagram of the operating equipment structure of the hardware operating environment involved in the embodiment of the present application.
[0038] As shown in Figure 1, the operating device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may include a standard wired interface and a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0039] Those skilled in the art will understand that the structure shown in FIG1 does not constitute a limitation on the operating device, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
[0040] As shown in FIG. 1 , the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a computer program.
[0041] In the operating device shown in FIG1 , the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the operating device of the present application can be set in the operating device, and the operating device calls the computer program stored in the memory 1005 through the processor 1001 and performs the following operations:
[0042] Creating at least two computing nodes, wherein data communication is implemented between the computing nodes and between the scheduling node and the computing nodes;
[0043] Implementing configuration scheduling for the same multi-party computing task by coordinating task configurations of the computing nodes;
[0044] After the multi-party computing task is configured and scheduled, the computing resources required for the multi-party computing task are uniformly orchestrated and scheduled, and it is determined whether to send a task execution instruction to the computing node that initiated the multi-party computing task.
[0045] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0046] The step of implementing configuration scheduling for the same multi-party computing task by coordinating the task configuration of each computing node includes:
[0047] After any of the computing nodes initiates a multi-party computing task, receiving task information sent by the computing node that initiates the multi-party computing task;
[0048] After receiving a configuration request from any of the computing nodes, suspending task configuration of the multi-party computing task corresponding to the task information by the remaining nodes except the computing node that sent the configuration request;
[0049] After the computing node that sent the configuration request calls the custom operator to complete the task configuration, the task configuration of the multi-party computing task corresponding to the task information is restored by the remaining nodes.
[0050] In one embodiment, after any of the computing nodes initiates a multi-party computing task, the multi-party computing task is in a newly created state;
[0051] After receiving a configuration request from any of the computing nodes, the multi-party computing task is in a configuration state;
[0052] After the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is in a waiting state.
[0053] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0054] The step of uniformly arranging and scheduling the computing resources required for the multi-party computing task includes:
[0055] After each computing node completes task configuration, receiving the computing power resources currently required by the computing node and the current remaining computing power resources sent by each computing node;
[0056] Based on the currently required computing power resources and the currently remaining computing power resources, it is determined whether the computing power resources of each computing node related to the multi-party computing task are met, and according to the judgment result, it is determined whether to send a task execution instruction to the computing node.
[0057] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0058] Under the configuration and scheduling of multi-party computing tasks by the scheduling node, the custom operator is called to configure the task;
[0059] After receiving the task execution instruction sent by the scheduling node, the configured computing task is executed and the computing result is obtained.
[0060] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0061] Before the step of calling the custom operator to configure the task, the following steps are also included:
[0062] After initiating the multi-party computing task, task information of the multi-party computing task is sent to a scheduling node.
[0063] In one embodiment, after the multi-party computing task is initiated, the multi-party computing task is in a newly created state.
[0064] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0065] Before the step of calling the custom operator to configure the task, the following steps are also included:
[0066] Sending a configuration request to a scheduling node, and suspending, through the scheduling node, the task configuration of the current multi-party computing task by the remaining nodes except the current computing node;
[0067] After the step of calling the custom operator to configure the task, the following steps are also included:
[0068] The scheduling node restores the task configuration of the remaining nodes for the current multi-party computing task.
[0069] In one embodiment, after sending a configuration request to a scheduling node and suspending task configuration of the current multi-party computing task by nodes other than the current computing node through the scheduling node, the multi-party computing task is in a configuration state;
[0070] After the scheduling node restores the task configurations of the remaining nodes for the current multi-party computing task, the multi-party computing task is in a waiting state.
[0071] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0072] After the step of calling the custom operator to configure the task, the following steps are also included:
[0073] Send the currently required computing power resources and the currently remaining computing power resources to the scheduling node, and receive the task execution instructions sent by the scheduling node based on the currently required computing power resources and the currently remaining computing power resources of each computing node.
[0074] In one embodiment, the processor 1001 may call a computer program stored in the memory 1005 and further perform the following operations:
[0075] After receiving the task execution instruction sent by the scheduling node, adjusting the state of the multi-party computing task to the execution state;
[0076] After the computing task is completed, the state of the multi-party computing task is adjusted to the end state;
[0077] After the computing task is terminated during execution of the computing task, the state of the multi-party computing task is adjusted to a configuration state, and the task is reconfigured.
[0078] Multi-party secure computation (MPC) technology primarily addresses the problem of securely computing an agreed-upon function among multiple parties without a trusted third party. This technology primarily involves cryptographic techniques such as secret sharing and homomorphic encryption.
[0079] Currently, conventional technologies only support a single task initiator for a given computing task, allowing only a single computing node to configure and modify the task. However, the nodes participating in multi-party secure computing tasks are often located in different institutions or organizations. Therefore, how to accommodate multi-node configuration for a single task and implement multi-party secure computing with multiple task initiators remains a challenge. Secondly, when configuring a computing task, the addition and multiplication operators for multi-party secure computing must be called multiple times, which is inconvenient for configuring complex computation functions. Simplifying the construction process of complex functions also requires a solution. Third, for tasks with multiple participants, the computing power resources of each computing node vary, so coordinating their computing power is also a challenge. Fourth, when multiple computing nodes are simultaneously configuring a single computing task, synchronizing task information also requires a solution.
[0080] An embodiment of the present application provides a multi-party secure computation method. Referring to FIG. 2 , in one embodiment of the multi-party secure computation method, the method is applied to a scheduling node, and the method includes:
[0081] Step A1: creating at least two computing nodes, wherein data communication is implemented between the computing nodes and between the scheduling node and the computing nodes;
[0082] 3 , a multi-party secure computing system is proposed in the present application. The system includes two types of nodes: scheduling nodes and sub-nodes, where the sub-nodes are computing nodes.
[0083] Scheduling nodes have four main functions: node management, account management, dedicated line setup, and control orchestration. Node management configures the IP (Internet Protocol), grpc (Google's open-source remote procedure call framework) port, and https (Hypertext Transfer Protocol Secure) port for subnodes participating in multi-party computation. Account management configures management accounts for configured subnodes. During the execution of multi-party secure computation tasks, communication lines between nodes are required to exchange intermediate data. Dedicated line setup establishes dedicated communication lines between nodes participating in the computation task. This is achieved by setting the source IP, destination IP, destination node port, routing address, and routing port. Control orchestration summarizes the computing resource consumption reported by computing nodes and determines whether the computing resource requirements of remaining unexecuted tasks can be met. For a single computing task, after the computing task configuration is completed, the control and orchestration module of the scheduling node summarizes the computing power resource consumption reported by each computing node and makes a judgment on whether the computing power resource demand of this task can be met.
[0084] Computing nodes include four modules: task management, resource management, data management, and evidence storage services. In the task management module, multi-party computing tasks can be created, deleted, and configured. In the resource management module, local computing resource consumption is reported to the scheduling node, which then summarizes it. For a single computing task, once the task configuration is complete, the resource management module of each participating computing node reports its computing resource consumption to the scheduling node, which then coordinates and schedules the task to determine whether the computing resource requirements can be met. In the data management module, computing nodes can apply for and approve data for participating in multi-party computing tasks. Approved data can participate in the computing task. In the evidence storage service module, information such as the multi-party computing task number, operating account, hash value, operation time, calculation results, and evidence type can be stored on-chain.
[0085] Multiple compute nodes and administrator accounts are created within the scheduling node. Dedicated communication lines are established between the compute nodes, and between the scheduling node and each compute node, based on their IP addresses and port numbers. This allows data communication between any two nodes. The purpose of these dedicated communication lines is to facilitate encrypted exchange of intermediate data between participating subnodes during multi-party secure computing tasks to complete the computation. Simultaneously, the scheduling node must provide real-time updates on the computing resources of its subordinate compute nodes.
[0086] Before creating multiple computing nodes in the scheduling node, the computing node already exists. The creation of the scheduling node involves inputting the IP, port number, etc., which is equivalent to adding or organizing the existing computing nodes under the scheduling node.
[0087] Step A2, implementing configuration scheduling for the same multi-party computing task by coordinating task configurations of the computing nodes;
[0088] In one embodiment, a multi-party secure computing system includes a scheduling node and multiple computing nodes, each of which may perform task configuration for the same multi-party secure computing task. In this embodiment, the scheduling node coordinates the task configurations of the computing nodes for the same multi-party secure computing task, thereby implementing configuration scheduling for the task configurations of multiple computing nodes.
[0089] Step A3: After the multi-party computing task is configured and scheduled, the computing resources required for the multi-party computing task are uniformly orchestrated and scheduled, and it is determined whether to send a task execution instruction to the computing node that initiated the multi-party computing task.
[0090] After configuring and scheduling multi-party computing tasks for multiple computing nodes, the computing resources of each computing node may still differ, so the scheduling node needs to coordinate the computing resources of each computing node. In this embodiment, the computing resources required for the multi-party computing task are uniformly orchestrated and scheduled to determine whether the computing resources required for the multi-party computing task are supported. This determines whether to send a task execution instruction to the computing node that initiated the multi-party computing task, allowing the computing node to execute the configured computing task and obtain the computation result.
[0091] Exemplarily, the step of uniformly scheduling the computing resources required for the multi-party computing task includes:
[0092] After each computing node completes task configuration, receiving the computing power resources currently required by the computing node and the current remaining computing power resources sent by each computing node;
[0093] Based on the currently required computing power resources and the currently remaining computing power resources, it is determined whether the computing power resources of each computing node related to the multi-party computing task are met, and according to the judgment result, it is determined whether to send a task execution instruction to the computing node.
[0094] In this embodiment, after each computing node completes task configuration, the control orchestration module of the scheduling node receives the computing power resources currently required by the computing node and the current remaining computing power resources sent by each computing node.
[0095] In one embodiment, the control and orchestration module of the scheduling node summarizes the computing resources (CPU, memory) required for the current computing task based on the configuration information of each computing indicator in the current computing task provided by each computing node. This means that the computing resources currently required by the computing node are obtained. The resource management module of each computing node summarizes the computing resources (CPU, memory) consumed by all computing tasks in the computing node, calculates the computing resources currently remaining for the computing node, and synchronizes this to the control and orchestration module of the scheduling node. This is the computing resource currently remaining for the computing node.
[0096] Based on the currently required and remaining computing resources, the scheduling node determines whether the computing resources of each computing node associated with the multi-party computing task are sufficient. For a single computing task, if the computing resources of each computing node meet the task's execution conditions (i.e., the currently remaining computing resources are greater than the currently required computing resources), the scheduling node will send a notification to the computing node through the control and orchestration module, allowing the task initiator to initiate the task. Conversely, if not all computing nodes meet the computing resource requirements, the scheduling node will wait until all nodes meet the computing resource requirements before sending a notification to the computing node.
[0097] In this embodiment, for a certain independent computing task, multiple (two or more) task initiators (computing nodes) can be supported. The task initiator can modify the computing task information, jointly configure the computing task through the deployment and scheduling of the scheduling node, and obtain the computing results after the computing task is completed, thereby realizing multi-party secure computing with multiple task initiators. In addition, after the multi-party computing task is configured, the scheduling node will determine whether the computing node computing power meets the requirements based on the local computing power resource usage of each computing node, thereby coordinating the computing power resources of each computing node.
[0098] An embodiment of the present application provides a multi-party secure computing method. In another embodiment of the multi-party secure computing method, the step of implementing configuration scheduling for the same multi-party computing task by coordinating task configurations of the computing nodes includes:
[0099] After any of the computing nodes initiates a multi-party computing task, receiving task information sent by the computing node that initiates the multi-party computing task;
[0100] After receiving a configuration request from any of the computing nodes, suspending task configuration of the multi-party computing task corresponding to the task information by the remaining nodes except the computing node that sent the configuration request;
[0101] After the computing node that sent the configuration request calls the custom operator to complete the task configuration, the task configuration of the multi-party computing task corresponding to the task information is restored by the remaining nodes.
[0102] After any computing node initiates a multi-party computing task in a multi-party secure computing system, the scheduling node receives task information from the computing node initiating the multi-party computing task. This task information includes the multi-party computing task ID, the IP address of the node that created the task, and the node administrator account. In one embodiment, the task management module of computing node A, which initiated the multi-party computing task, synchronizes task information such as the ID number of computing task M, the IP address of the node that created the task, and the node administrator account to the control and orchestration module of the scheduling node.
[0103] The configuration request encapsulates the following: the calculation indicator T1 created by the computing node, the corresponding business description assigned to indicator T1, the selection of data fields involved in the calculation of indicator T1, etc. A computing task includes one or more calculation indicators, which can be financial indicator 1, financial indicator 2, contract information, etc. A calculation formula in the computing task will calculate a result value, and a result value is equivalent to one of the above calculation indicators. In other words, the information related to the above indicators is used as the configuration request for the computing node. After the scheduling node receives a configuration request from any computing node, it will suspend the task configuration of the multi-party computing task corresponding to the task information by the remaining nodes except the computing node that sent the configuration request. The remaining nodes are temporarily unable to perform task configuration for the same multi-party computing task.
[0104] After sending a configuration request, a compute node calls a custom operator to complete its task configuration. In one embodiment, the task management module of compute node A calls the custom operator within the task management module to determine the computational relationship between the fields in the computation metric T1 and the number of multi-party secure additions and multiplications to use. Thus, after the compute node that sent the configuration request calls the custom operator to complete the task configuration, the scheduling node restores the task configuration for the multi-party computation task corresponding to the task information on the remaining nodes and then accepts configuration requests from the remaining nodes.
[0105] Currently, mainstream privacy computing products only support combinations of operators such as addition, subtraction, multiplication, and division. When the multi-party computation functions required by users are very complex, using operator combinations can complicate the platform's operation. Therefore, this embodiment proposes a method for configuring custom operators, as well as an operator with a user-defined algorithm. The initiator of a multi-party computation task can write the required multi-party computation functions in the custom operator. The custom operator can call basic multi-party addition and multi-party multiplication operators based on the user-defined multi-party computation functions, eliminating the need to call basic operators multiple times. This simplifies the system's operation steps and provides users with a convenient operation method.
[0106] Exemplarily, after any of the computing nodes initiates a multi-party computing task, the multi-party computing task is in a newly created state;
[0107] After receiving a configuration request from any of the computing nodes, the multi-party computing task is in a configuration state;
[0108] After the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is in a waiting state.
[0109] 4 , in the process of configuring multi-party computing tasks on multiple computing nodes, the synchronization of task configuration information is involved. Therefore, this embodiment proposes a five-state model for multi-party computing tasks, and provides a solution to the information synchronization problem in the multi-node task configuration process.
[0110] After the scheduling node receives a configuration request from any computing node, it adjusts the multi-party computing task to the configuration state. Except for the computing node that sends the configuration request, the remaining nodes are not allowed to perform task configuration on the multi-party computing task corresponding to the task information. After the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is adjusted to the waiting state, and the remaining nodes resume task configuration on the multi-party computing task.
[0111] An embodiment of the present application provides a multi-party secure computing method. Referring to FIG. 5 , in another embodiment of the multi-party secure computing method, the method is applied to a computing node, and the method includes:
[0112] Step B1: Under the configuration and scheduling of the multi-party computing task by the scheduling node, call the custom operator to configure the task;
[0113] Step B2: After receiving the task execution instruction sent by the scheduling node, execute the configured computing task and obtain the computing result.
[0114] In a multi-party secure computing system, there is a scheduling node and multiple computing nodes, each of which may perform task configuration for the same multi-party secure computing task. In this embodiment, the scheduling node coordinates the task configurations of each computing node for the same multi-party secure computing task, thereby implementing configuration scheduling for multiple computing nodes. A detailed description of the multi-party secure computing system is omitted here.
[0115] After sending a configuration request, a compute node calls a custom operator to complete its task configuration. In one embodiment, the task management module of compute node A calls the custom operator within the task management module to determine the computational relationship between the fields in the computation metric T1 and the number of multi-party secure additions and multiplications to use. Thus, after the compute node that sent the configuration request calls the custom operator to complete the task configuration, the scheduling node restores the task configuration for the multi-party computation task corresponding to the task information on the remaining nodes and then accepts configuration requests from the remaining nodes.
[0116] Currently, mainstream privacy computing products only support combinations of operators such as addition, subtraction, multiplication, and division. When the multi-party computation functions required by users are very complex, using operator combinations can complicate the platform's operation. Therefore, this embodiment proposes a method for configuring custom operators, as well as an operator with a user-defined algorithm. The initiator of a multi-party computation task can write the required multi-party computation functions in the custom operator. The custom operator can call basic multi-party addition and multi-party multiplication operators based on the user-defined multi-party computation functions, eliminating the need to call basic operators multiple times. This simplifies the system's operation steps and provides users with a convenient operation method.
[0117] After the scheduling node completes the configuration and scheduling of multi-party computing tasks for multiple computing nodes, the computing resources of each computing node may still vary. Therefore, the scheduling node needs to coordinate the computing resources of each computing node. In this embodiment, the scheduling node uniformly arranges and schedules the computing resources required for the multi-party computing task, determines whether the required computing resources are available, and then determines whether to send a task execution instruction to the computing node that initiated the multi-party computing task. Accordingly, after receiving the task execution instruction from the scheduling node, the computing node executes the configured computing task and obtains the computation result.
[0118] Exemplarily, the method is applied to a target computing node that initiates a multi-party computing task, and before the step of calling a custom operator to configure the task, further includes:
[0119] After initiating the multi-party computing task, task information of the multi-party computing task is sent to a scheduling node.
[0120] After any computing node in a multi-party secure computing system initiates a multi-party computing task, it sends the task information of the multi-party computing task to the scheduling node. This task information includes the multi-party computing task ID, the IP address of the node that created the task, and the node administrator account. In one embodiment, the task management module of computing node A, which initiates the multi-party computing task, synchronizes task information such as the ID number of computing task M, the IP address of the node that created the task, and the node administrator account with the control and orchestration module of the scheduling node.
[0121] Exemplarily, after the multi-party computing task is initiated, the multi-party computing task is in a newly created state.
[0122] 4 , in the process of configuring multi-party computing tasks on multiple computing nodes, the synchronization of task configuration information is involved. Therefore, this embodiment proposes a five-state model for multi-party computing tasks, and provides a solution to the information synchronization problem in the multi-node task configuration process.
[0123] After the computing node initiates the multi-party computing task, the multi-party computing task is adjusted to the newly created state. After the computing node sends the task information to the scheduling node, the multi-party computing task is adjusted to the configured state.
[0124] Exemplarily, after the step of calling the custom operator to configure the task, the following steps are further included:
[0125] Send the currently required computing power resources and the currently remaining computing power resources to the scheduling node, and receive the task execution instructions sent by the scheduling node based on the currently required computing power resources and the currently remaining computing power resources of each computing node.
[0126] In this embodiment, after each computing node completes task configuration, the computing node sends the currently required computing resources and the currently remaining computing resources to the control orchestration module of the scheduling node.
[0127] In one embodiment, the control and orchestration module of the scheduling node aggregates the computing resources (CPU, memory) required for the current computing task based on the configuration information of each computing metric provided by each computing node. This results in the computing resources currently required by the computing node. The resource management module of each computing node aggregates the computing resources (CPU, memory) consumed by all executing computing tasks on the computing node, calculates the computing resources currently remaining on the computing node, and synchronizes this information with the control and orchestration module of the scheduling node. This information is the computing node's currently remaining computing resources.
[0128] Based on the currently required and remaining computing resources, the scheduling node determines whether the computing resources of each computing node associated with the multi-party computing task are sufficient. For a single computing task, if the computing resources of each computing node meet the task's execution conditions (i.e., the currently remaining computing resources are greater than the currently required computing resources), the scheduling node will send a notification to the computing node through the control and orchestration module, allowing the task initiator to initiate the task. Conversely, if not all computing nodes meet the computing resource requirements, the scheduling node will wait until all nodes meet the computing resource requirements before sending a notification to the computing node.
[0129] In this embodiment, 1. a method for configuring custom operators is proposed, along with an operator that allows for user-defined algorithms. The initiator of a multi-party computation task can write the required multi-party computation functions in the custom operator. The custom operator can then call basic multi-party addition and multiplication operators based on the user-defined multi-party computation functions, eliminating the need to call basic operators multiple times. This simplifies system operation steps and provides users with a convenient operation method. 2. A five-state model for multi-party computation tasks is also proposed, providing a solution to the information synchronization problem during multi-node task configuration. 3. For an independent computation task, multiple (two or more) task initiators (computing nodes) can be supported. The task initiator can modify the computation task information, coordinate and schedule the computation task through the scheduling node, and obtain the computation results after the computation task is completed, thereby achieving multi-party secure computation with multiple task initiators. 4. Furthermore, after the multi-party computation task is configured, the scheduling node will determine whether the computing power of each computing node meets the requirements based on the local computing resource usage of each computing node, thereby coordinating the computing resources of each computing node.
[0130] This embodiment of the present application provides a multi-party secure computation method. In another embodiment of the multi-party secure computation method, before the step of calling a custom operator to configure a task, the method further includes:
[0131] Sending a configuration request to a scheduling node, and suspending, through the scheduling node, the task configuration of the current multi-party computing task by the remaining nodes except the current computing node;
[0132] After the step of calling the custom operator to configure the task, the following steps are also included:
[0133] The scheduling node restores the task configuration of the remaining nodes for the current multi-party computing task.
[0134] The configuration request encapsulates the following: the calculation indicator T1 created by the computing node, the corresponding business description assigned to indicator T1, the selection of data fields involved in the calculation of indicator T1, etc. A computing task includes one or more calculation indicators, which can be financial indicator 1, financial indicator 2, contract information, etc. A calculation formula in the computing task will calculate a result value, and a result value is equivalent to one of the above-mentioned calculation indicators. In other words, the information related to the above indicators is used as the configuration request of the computing node. After the computing node sends the configuration request to the scheduling node, the scheduling node will suspend the task configuration of the multi-party computing task corresponding to the task information of the remaining nodes except the computing node that sent the configuration request. The remaining nodes are temporarily unable to perform task configuration on the same multi-party computing task.
[0135] After sending a configuration request, a compute node calls a custom operator to complete its task configuration. In one embodiment, the task management module of compute node A calls the custom operator within the task management module to determine the computational relationship between the fields in the computation metric T1, as well as the number of multi-party secure additions and multiplications to use. Thus, after the compute node that sent the configuration request calls the custom operator to complete the task configuration, the compute node, through the scheduling node, restores the task configuration for the multi-party computation task corresponding to the task information to the remaining nodes, at which point the scheduling node will receive configuration requests from the remaining nodes.
[0136] Exemplarily, after sending a configuration request to a scheduling node and suspending task configuration of the current multi-party computing task by nodes other than the current computing node through the scheduling node, the multi-party computing task is in a configuration state;
[0137] After the scheduling node restores the task configurations of the remaining nodes for the current multi-party computing task, the multi-party computing task is in a waiting state.
[0138] Referring to Figure 4, after the scheduling node receives a configuration request from any computing node, the multi-party computing task is adjusted to a configuration state, and the remaining nodes, except for the computing node that sends the configuration request, are not allowed to perform task configuration on the multi-party computing task corresponding to the task information; after the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is adjusted to a waiting state, and the remaining nodes restore the task configuration of the multi-party computing task.
[0139] An embodiment of the present application provides a multi-party secure computing method. In another embodiment of the multi-party secure computing method, the method further includes:
[0140] After receiving the task execution instruction sent by the scheduling node, adjusting the state of the multi-party computing task to the execution state;
[0141] After the computing task is completed, the state of the multi-party computing task is adjusted to the end state;
[0142] After the computing task is terminated during execution of the computing task, the state of the multi-party computing task is adjusted to a configuration state, and the task is reconfigured.
[0143] Referring to Figure 4, after receiving the task execution instruction sent by the scheduling node, the computing node adjusts the state of the multi-party computing task to the execution state; after the computing task is completed, the computing node adjusts the state of the multi-party computing task to the end state; during the execution of the computing task, the computing node can terminate the computing task, and after terminating the computing task, the computing task will adjust the state of the multi-party computing task to the configuration state and reconfigure the task.
[0144] In one embodiment, there are three computing nodes, A, B, and C, and it is assumed that computing nodes A and B are task initiators. Therefore, after computing nodes A and B receive instructions from the scheduling node (a task can be initiated), computing node A confirms the initiation of the computing task (theoretically, both computing nodes A and B can initiate a computing task), thus beginning execution of the computing task (at this point, the task transitions from a waiting state to an executing state). During the execution of the computing task, computing nodes A (the task initiator) and B (the task initiator) can terminate and reconfigure the computing task (after termination, the task transitions from an executing state to a configuring state), while computing node C (the data supporter) can only obtain the task's execution status and cannot pause or configure the task. After the computing task is completed, computing nodes A (the task initiator) and B (the task initiator) obtain the task's computational results, while computing node C (the data supporter) only obtains a task completion status and cannot obtain the task's computational results.
[0145] In an application scenario of a multi-party secure computing method of the present application, there is a scheduling node and three computing nodes, namely computing node A (task initiator), computing node B (task initiator), and computing node C (data supporter). Referring to Figures 6 to 8, the execution process of the multi-party secure computing task is as follows:
[0146] Step 1: Create compute nodes A, B, and C in the scheduling node, as well as administrator accounts for each compute node. [Create at least two compute nodes]
[0147] Step 2: On the scheduling node, create dedicated communication lines between the scheduling node, computing node A, computing node B, and computing node C, based on their IP addresses and port numbers. The purpose of creating dedicated lines is to allow the participating sub-nodes to exchange encrypted intermediate data via dedicated communication lines during the execution of multi-party secure computing tasks to complete the computing tasks. Simultaneously, the scheduling node needs to update the computing resources of its subordinate computing nodes in real time. [Data communication is implemented between the computing nodes and between the scheduling node and the computing nodes.]
[0148] Step 3: Each computing node approves and confirms the local data participating in the computing task. Computing nodes A, B, and C each approve and confirm the local data participating in this multi-party computing task. The data that passes the approval can participate in this multi-party computing task.
[0149] Step 4: Referring to Figure 7, computing nodes A and B perform task configuration respectively.
[0150] 1. The task management module of computing node A creates a new multi-party computing task M. At this time, the task is in the new state.
[0151] 2. The task management module of computing node A synchronizes the ID number of computing task M, the node IP address of the computing task, and the node administrator account to the control and orchestration module of the scheduling node; [After initiating the multi-party computing task, the task information of the multi-party computing task is sent to the scheduling node]
[0152] 3. The task management module of computing node A creates a computational metric T1 in the multi-party computation task M, assigns a corresponding business description to metric T1, and selects the data fields involved in the computation of metric T1. It then sends a configuration request to the scheduling node, which suspends the configuration of tasks for the current multi-party computation task by all nodes except the current computing node.
[0153] 4. The control and orchestration module of the scheduling node converts computing task M from the newly created state to the configured state (locked state). It also synchronizes the node information of the node currently being configured with the task management module of computing node B. Node information refers to the ID number of computing task M in step 4, point 2, the node IP address of the node that created the computing task, the node administrator account, etc. Only one computing node can be configured at a time, and the remaining nodes cannot be configured in parallel until their configuration is complete. Furthermore, the node information does not necessarily need to be synchronized with computing nodes B and C; it only needs to be notified that computing nodes B and C cannot be configured at this time.
[0154] 5. The control and orchestration module of the scheduling node synchronizes the status of computing task M and the information of the node currently configuring the task to the task management module of computing node C. At this point, configuration of the remaining nodes is suspended, and only the node that initiated the configuration request can proceed. [Upon receiving a configuration request from any of the computing nodes, the remaining nodes, except the computing node that initiated the configuration request, suspend configuration of the multi-party computing task corresponding to the task information.]
[0155] 6. The task management module of computing node A calls the custom operator in the task management module to determine the computational relationship between the fields in the computation metric T1, as well as the number of times to use multi-party secure addition and multiplication. It also synchronizes the information about metric T1 to the control and orchestration module. [Under the configuration and scheduling of the multi-party computing task by the scheduling node, the custom operator is called to configure the task.]
[0156] 7. The control and orchestration module of the scheduling node converts the computing task M from the configuration state (locked state) to the waiting state, and synchronizes the task state to the task management module of computing node B;
[0157] 8. The control orchestration module of the scheduling node synchronizes the task status of computing task M to the task management module of computing node C. At this point, the remaining nodes can proceed with configuration. [Upon receiving a configuration request from any of the computing nodes, suspending the configuration of the multi-party computing task corresponding to the task information by all nodes except the computing node that sent the configuration request.]
[0158] 9. The task management module of computing node B creates computational indicator T2 in multi-party computing task M, assigns a corresponding business description, and selects data fields involved in the computation of indicator T2; [sends a configuration request to the scheduling node, which suspends the configuration of tasks for the current multi-party computing task by all nodes except the current computing node]
[0159] 10. The control orchestration module of the scheduling node converts the computing task M from the waiting state to the configuration state (locked state) and synchronizes the task state to the task management module of computing node A.
[0160] 11. The control orchestration module of the scheduling node synchronizes the status of computing task M and the information of the node currently configuring the task to the task management module of computing node C. [Upon receiving a configuration request from any of the computing nodes, the task configuration of the multi-party computing task corresponding to the task information by all nodes other than the computing node that sent the configuration request is suspended.]
[0161] 12. The task management module of computing node B calls B's custom operator in the task management module to determine the computational relationship between the fields in the computation metric T2, as well as the number of times to use multi-party secure addition and multiplication. It then synchronizes the T2 information with the control and orchestration module. [Under the multi-party computation task configuration and scheduling by the scheduling node, the custom operator is called to configure the task.]
[0162] 13. The control orchestration module of the scheduling node converts the computing task M from the configuration state (locked state) to the waiting state, and synchronizes the task state to the task management module of computing node A.
[0163] 14. The control orchestration module of the scheduling node synchronizes the status of computing task M and the information of the node currently configuring the task to the task management module of computing node C. [Upon receiving a configuration request from any of the computing nodes, the task configuration of the multi-party computing task corresponding to the task information by all nodes other than the computing node that sent the configuration request is suspended.]
[0164] Step 5: Referring to Figure 8, the scheduling node uniformly schedules the computing resources required for the computing task. [After the multi-party computing task is configured and scheduled, the scheduling node uniformly schedules the computing resources required for the multi-party computing task and determines whether to send a task execution instruction to the computing node that initiated the multi-party computing task.]
[0165] 1. Compute node A configures computational metric T1 and synchronizes the number of calls to basic operators (multi-party addition and multiplication) in T1, as well as the data volume of relevant fields in T1, to the control and orchestration module of the scheduling node. This is point 6 in step 4.
[0166] 2. Compute node B configures computational metric T2 and synchronizes the number of calls to the basic operators (multi-party addition and multiplication) in T2, as well as the data volume of the relevant fields in T2, to the control and orchestration module of the scheduling node. This is point 12 in step 4.
[0167] 3. The control and orchestration module summarizes the computing resources (CPU, memory) required for this task based on the configuration information of each computing indicator in this task provided by each computing node.
[0168] 4. The resource management module of computing node A summarizes the computing resources (CPU, memory) consumed by all computing tasks in execution state in computing node A, counts the current remaining computing resources of the node, and synchronizes them to the control and orchestration module of the scheduling node.
[0169] 5. The resource management module of computing node B summarizes the computing resources (CPU, memory) consumed by all computing tasks in execution state in computing node B, counts the current remaining computing resources of the node, and synchronizes them to the control and orchestration module of the scheduling node.
[0170] 6. The resource management module of computing node C summarizes the computing resources (CPU, memory) consumed by all computing tasks in execution on computing node C, calculates the node's currently remaining computing resources, and synchronizes this information with the control and orchestration module of the scheduling node. [After each computing node completes task configuration, it receives information from each computing node about the computing resources currently required and the currently remaining computing resources.]
[0171] 7. The control and orchestration module determines whether the computing resources required by each compute node for this task are available. If so, the control and orchestration module sends a command to each compute node confirming that the task can be executed. If not, the scheduling node sends a command to each compute node stating that the task does not meet the execution conditions.
[0172] 8. The control and orchestration module of the scheduling node synchronizes information about whether the computing power resources of this task meet the task requirements to the resource management module A of computing node A.
[0173] 9. The control and orchestration module of the scheduling node synchronizes information about whether the computing power resources of this task meet the task requirements to the resource management module B of computing node B.
[0174] 10. The control and orchestration module of the scheduling node synchronizes information to the resource management module C of computing node C regarding whether the computing resources for this task meet the task requirements. [Based on the currently required computing resources and the currently remaining computing resources, it determines whether the computing resources of each computing node associated with the multi-party computing task are sufficient, and based on the determination, determines whether to send a task execution instruction to the computing node.]
[0175] Step 6: Initiate a calculation task and obtain the calculation results.
[0176] In this example, there are three computing nodes, and it is assumed that computing nodes A and B are the task initiators. Therefore, after computing nodes A and B receive the instruction from the scheduling node (task can be initiated), computing node A confirms the initiation of the computing task (theoretically, computing nodes A and B can both initiate computing tasks), and then begins executing the computing task (at this point, the task transitions from the waiting state to the executing state). [After receiving the task execution instruction from the scheduling node, the state of the multi-party computing task is adjusted to the executing state]
[0177] During the execution of a computing task, computing nodes A (task initiator) and B (task initiator) can suspend and reconfigure the task (after suspension, the task transitions from the execution state to the configuration state). However, computing node C (data supporter) can only obtain the execution state of the task and cannot pause or configure the task. [After suspending the computing task during execution, the multi-party computing task is adjusted to the configuration state and the task is reconfigured.]
[0178] After the computation task is completed, computation nodes A (task initiator) and B (task initiator) obtain the computation results of this task, while computation node C (data supporter) only obtains the task completion status and cannot obtain the computation results of the task. [After the computation task is completed, the status of the multi-party computation task is adjusted to the end state]
[0179] In order to make the content of this application more concrete, a typical application scenario is proposed based on the above application scenarios. In the typical application scenario of government affairs, there are data islands between the various commissions and bureaus, and the data within the government is only circulated internally. Considering the security risks of the data, government data cannot be shared and exchanged with external companies to generate greater value. Multi-party secure computing technology solves this problem very well. When government data does not leave the local area, multi-party computing can be performed with external companies (Internet companies, operators, etc.). While using data from two or more parties to complete computing tasks, the data of the parties involved in the calculation will not be shared in plain text, solving the problem of data islands between companies.
[0180] In a typical government-enterprise application scenario, referring to FIG9 , the steps for using the multi-party secure computing system supporting complex task scheduling proposed in this application are as follows:
[0181] Step 1: Determine the task participants. Do not deploy computing nodes A, B, or C in Government Affairs Commission / Bureau A, Government Affairs Commission / Bureau B, or the enterprise, respectively. Deploy the scheduling node in Government Affairs Commission / Bureau A.
[0182] Step 2: On the scheduling node, create compute node A, compute node B, compute node C, and the corresponding administrator accounts.
[0183] Step 3: Create dedicated communication lines between the scheduling node, computing node A, computing node B, and computing node C.
[0184] Step 4: Computing nodes A, B, and C review and approve the local data involved in the computing task.
[0185] Step 5: Compute node A (task initiator) creates a computing task and configures it, and compute node B (task initiator) configures the task.
[0186] Step 6: The scheduling node uniformly arranges and schedules the computing resources required for the computing task.
[0187] Step 7: Compute node A (task initiator) initiates the computing task. After the task is completed, compute node A (task initiator) and compute node B (task initiator) obtain the computing results.
[0188] Step 8: During the execution of the computing task, the multi-party secure computing system evidence service module proposed in this application will upload the task number, operation account, hash value, chain time, calculation results, evidence type and other information of the computing task to the government alliance chain for evidence storage.
[0189] At present, under the strong promotion of national policies on network security, data security, and privacy protection, privacy computing technology is developing rapidly. Privacy computing technology includes three mainstream technologies: multi-party secure computing, federated learning, and trusted execution environment. Among them, multi-party secure computing technology has a wide range of application scenarios and can be applied to government affairs, finance, medical care, telecommunications and other fields.
[0190] The multi-party secure computing system proposed in this application can support multiple (two or more) task initiators for a single independent computing task. These task initiators can jointly configure the computing task and obtain the results after the task is completed. This facilitates the joint configuration of computing tasks by multiple participants in application scenarios such as government affairs, finance, and large enterprises.
[0191] The multi-party secure computing system proposed in this application supports custom algorithms. In the domestic data security market, privacy computing products are experiencing rapid development, and product functionality is still limited. Most privacy computing systems only support combinations of addition, subtraction, multiplication, and division operators. However, if a customer requires complex computational functions, configuring computational tasks using operator combinations becomes overly cumbersome. Therefore, the multi-scheme system proposed in this application supports custom operators, allowing users to write their own computational functions within custom operators, facilitating the configuration of complex functions.
[0192] The multi-party secure computing system proposed in this application supports real-time updates of computing node computing power resource usage. The scheduling node transmits information about whether the task computing power requirements have been met to the computing node, which then initiates the task. For users of this multi-party secure computing system, users can belong to different industries or organizations, and the local computing power resources of each computing node can also vary, thus providing convenience for users.
[0193] 10 , in addition, an embodiment of the present application further provides a first multi-party secure computing device, the first multi-party secure computing device comprising:
[0194] A creation module M1 is configured to create at least two computing nodes, wherein data communication is implemented between the computing nodes and between the scheduling node and the computing nodes;
[0195] Coordination module M2, configured to implement configuration scheduling of the same multi-party computing task by coordinating task configuration of each computing node;
[0196] The sending module M3 is used to uniformly arrange and schedule the computing resources required for the multi-party computing task after the multi-party computing task is configured and scheduled, and determine whether to send a task execution instruction to the computing node that initiated the multi-party computing task.
[0197] Exemplarily, the coordination module is further configured to:
[0198] After any of the computing nodes initiates a multi-party computing task, receiving task information sent by the computing node that initiates the multi-party computing task;
[0199] After receiving a configuration request from any of the computing nodes, suspending task configuration of the multi-party computing task corresponding to the task information by the remaining nodes except the computing node that sent the configuration request;
[0200] After the computing node that sent the configuration request calls the custom operator to complete the task configuration, the task configuration of the multi-party computing task corresponding to the task information is restored by the remaining nodes.
[0201] Exemplarily, after any of the computing nodes initiates a multi-party computing task, the multi-party computing task is in a newly created state;
[0202] After receiving a configuration request from any of the computing nodes, the multi-party computing task is in a configuration state;
[0203] After the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is in a waiting state.
[0204] Exemplarily, the sending module is further configured to:
[0205] After each computing node completes task configuration, receiving the computing power resources currently required by the computing node and the current remaining computing power resources sent by each computing node;
[0206] Based on the currently required computing power resources and the currently remaining computing power resources, it is determined whether the computing power resources of each computing node related to the multi-party computing task are met, and according to the judgment result, it is determined whether to send a task execution instruction to the computing node.
[0207] 11 , in addition, an embodiment of the present application further provides a second multi-party secure computing device, the second multi-party secure computing device comprising:
[0208] The calling module N1 is used to call the custom operator to configure the task under the configuration and scheduling of the multi-party computing task by the scheduling node;
[0209] The execution module N2 is used to execute the configured computing task and obtain the computing result after receiving the task execution instruction sent by the scheduling node.
[0210] Exemplarily, the second multi-party secure computing apparatus further includes a first uploading module, configured to:
[0211] The method is applied to the target computing node that initiates the multi-party computing task. Before the step of calling the custom operator to configure the task:
[0212] After initiating the multi-party computing task, task information of the multi-party computing task is sent to a scheduling node.
[0213] Exemplarily, after the multi-party computing task is initiated, the multi-party computing task is in a newly created state.
[0214] Exemplarily, the second multi-party secure computing apparatus further includes a second uploading module, configured to:
[0215] Before calling the custom operator to configure the task:
[0216] Sending a configuration request to a scheduling node, and suspending, through the scheduling node, the task configuration of the current multi-party computing task by the remaining nodes except the current computing node;
[0217] The second multi-party secure computing apparatus further includes a recovery module configured to:
[0218] After calling the custom operator to configure the task:
[0219] The scheduling node restores the task configuration of the remaining nodes for the current multi-party computing task.
[0220] Exemplarily, after sending a configuration request to a scheduling node and suspending task configuration of the current multi-party computing task by nodes other than the current computing node through the scheduling node, the multi-party computing task is in a configuration state;
[0221] After the scheduling node restores the task configurations of the remaining nodes for the current multi-party computing task, the multi-party computing task is in a waiting state.
[0222] Exemplarily, the second multi-party secure computing apparatus further includes a third uploading module, configured to:
[0223] After calling the custom operator to configure the task:
[0224] Send the currently required computing power resources and the currently remaining computing power resources to the scheduling node, and receive the task execution instructions sent by the scheduling node based on the currently required computing power resources and the currently remaining computing power resources of each computing node.
[0225] Exemplarily, the second multi-party secure computing apparatus further includes an adjustment module, configured to:
[0226] After receiving the task execution instruction sent by the scheduling node, adjusting the state of the multi-party computing task to the execution state;
[0227] After the computing task is completed, the state of the multi-party computing task is adjusted to the end state;
[0228] After the computing task is terminated during execution of the computing task, the state of the multi-party computing task is adjusted to a configuration state, and the task is reconfigured.
[0229] The first and second multi-party secure computing devices provided in this application utilize the multi-party secure computing methods in the aforementioned embodiments to address the technical issue of conventional techniques that make it difficult to implement multi-party secure computing with multiple task initiators. Compared to conventional techniques, the first and second multi-party secure computing devices provided in this application have the same beneficial effects as the multi-party secure computing methods provided in the aforementioned embodiments. Other technical features of the first and second multi-party secure computing devices are the same as those disclosed in the aforementioned embodiments and are not further elaborated here.
[0230] In addition, an embodiment of the present application also provides a multi-party secure computing device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the multi-party secure computing method described above are implemented.
[0231] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-party secure computing method described above are implemented.
[0232] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0233] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to conventional technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0234] The above are merely optional embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A multi-party secure computing method, wherein: The method is applied to a scheduling node, and the method comprises: Creating at least two computing nodes, wherein data communication is implemented between the computing nodes and between the scheduling node and the computing nodes; The configuration scheduling of the same multi-party computing task is realized by coordinating the task configuration of each computing node; After the multi-party computing task completes configuration scheduling, the computing resources required for the multi-party computing task are uniformly orchestrated and scheduled to determine whether to send a task execution instruction to the computing node that initiated the multi-party computing task.
2. The multi-party secure computing method according to claim 1, wherein: The step of implementing configuration scheduling of the same multi-party computing task by coordinating the task configuration of each computing node includes: After any of the computing nodes initiates a multi-party computing task, receiving task information sent by the computing node that initiates the multi-party computing task; After receiving a configuration request from any of the computing nodes, suspending task configuration of the multi-party computing task corresponding to the task information by the remaining nodes except the computing node that sent the configuration request; After the computing node that sent the configuration request calls the custom operator to complete the task configuration, the task configuration of the multi-party computing task corresponding to the task information of the remaining nodes is restored.
3. The multi-party secure computing method according to claim 2, wherein: After any of the computing nodes initiates a multi-party computing task, the multi-party computing task is in a newly created state; After receiving a configuration request from any of the computing nodes, the multi-party computing task is in a configuration state; After the computing node that sends the configuration request calls the custom operator to complete the task configuration, the multi-party computing task is in a waiting state.
4. The multi-party secure computing method according to claim 1, wherein: The step of uniformly scheduling the computing resources required for the multi-party computing task includes: After each computing node completes task configuration, receiving computing power resources currently required by the computing node and currently remaining computing power resources sent by each computing node; Based on the currently required computing power resources and the currently remaining computing power resources, it is determined whether the computing power resources of each computing node related to the multi-party computing task are met, and according to the judgment result, it is determined whether to send a task execution instruction to the computing node.
5. A multi-party secure computing method, wherein: The method is applied to a computing node, and the method comprises: Under the configuration and scheduling of multi-party computing tasks by the scheduling node, the custom operator is called to configure the task; After receiving the task execution instruction sent by the scheduling node, the configured computing task is executed and the computing result is obtained.
6. The multi-party secure computing method according to claim 5, wherein: The method is applied to a target computing node that initiates a multi-party computing task, and before the step of calling a custom operator to configure the task, it also includes: After initiating the multi-party computing task, the task information of the multi-party computing task is sent to a scheduling node.
7. The multi-party secure computing method according to claim 6, wherein: After the multi-party computing task is initiated, the multi-party computing task is in a newly created state.
8. The multi-party secure computing method according to any one of claims 5 to 7, wherein: Before the step of calling the custom operator to configure the task, the method further includes: Sending a configuration request to a scheduling node, and suspending the task configuration of the current multi-party computing task by the remaining nodes except the current computing node through the scheduling node; After the step of calling the custom operator to configure the task, the following steps are also included: The scheduling node restores the task configuration of the remaining nodes for the current multi-party computing task.
9. The multi-party secure computing method according to claim 8, wherein: After sending a configuration request to the scheduling node and suspending the task configuration of the current multi-party computing task by the remaining nodes except the current computing node through the scheduling node, the multi-party computing task is in a configuration state; After the scheduling node restores the task configuration of the remaining nodes for the current multi-party computing task, the multi-party computing task is in a waiting state.
10. The multi-party secure computing method according to claim 5, wherein: After the step of calling the custom operator to configure the task, the following steps are also included: Send the currently required computing power resources and the currently remaining computing power resources to the scheduling node, and receive the task execution instructions sent by the scheduling node based on the currently required computing power resources and the currently remaining computing power resources of each computing node.
11. The multi-party secure computing method according to claim 5, wherein: The method further comprises: After receiving the task execution instruction sent by the scheduling node, adjusting the state of the multi-party computing task to the execution state; After the computing task is completed, the state of the multi-party computing task is adjusted to an end state; After the computing task is terminated during the execution of the computing task, the state of the multi-party computing task is adjusted to a configuration state, and the task is reconfigured.
12. A multi-party secure computing device, wherein: The multi-party secure computing device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the multi-party secure computing method according to any one of claims 1 to 11 when executed by the processor.
13. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-party secure computing method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Secure multi-party computing method and related equipment
CN114329533A
Distributed scheduling method and system based on federal decision tree model training and medium
CN114675964A
Secure multi-party computing method and system and computer readable medium
CN115065461A
Data opening system and method based on privacy computing
CN115580414A
Multi-party emergency calls
US20180084100A1
Cited By
Algorithm arrangement and scheduling method for improving use efficiency of computing power card
CN120011040A
