Privacy computing process execution method and apparatus, electronic device, and storage medium
By deploying a privacy computing engine on the privacy computing service platform, the privacy computing process of the plaintext calculation method is automatically determined and executed, which solves the problem of low ciphertext calculation efficiency in the existing technology and improves the execution efficiency and security of the privacy computing process.
Patent Information
- Application Number
- PCT/CN2023/135246
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-23
- Filing Date
- 2023-11-29
- Publication Date
- 2024-10-31
AI Technical Summary
Existing privacy calculation processes are usually executed using ciphertext calculations, which results in high complexity and long time consumption. Users need to manually analyze and determine which calculation links can use plaintext calculations, which increases technical requirements and costs.
By deploying a privacy computing engine on the privacy computing service platform, the input data ownership information of each sub-process in the privacy computing process is automatically determined. If the input data of the target sub-process is visible to the data provider in plain text, it will be executed in the plain text calculation method first, achieving Computing mixed plaintext and ciphertext.
On the premise of ensuring data security, it reduces the execution time of the privacy computing process, improves efficiency, reduces user technical level requirements and design optimization time costs, avoids the participation of centralized nodes, and optimizes the execution process of the privacy computing process.
Smart Images

Figure CN2023135246_31102024_PF_FP_ABST
Abstract
Description
Method, device, electronic device and storage medium for executing privacy computing process Technical Field
[0001] One or more embodiments of this specification relate to the field of privacy computing technology, and in particular, to a method, device, electronic device, and machine-readable storage medium for executing a privacy computing process. Background Art
[0002] Users can use the privacy computing service platform to conduct multi-party collaborative data value mining without leaving the domain with private original data.
[0003] For example, the data provider can provide the data description information corresponding to the original data it holds to the privacy computing service platform; the data user can select the data with usage needs based on the data description information, and build a privacy computing process to realize its own data usage needs by executing the privacy computing process; further, after approval by the data provider, the privacy computing process can combine the data of all parties and adopt a method that has been cryptographically security-proven to realize multi-party collaborative data value mining without leaving the domain of the private original data of each party.
[0004] Because privacy-preserving computing processes may require the participation of multiple data providers, they are typically performed in ciphertext. To improve the overall efficiency of privacy-preserving computing processes, while ensuring the data security of all parties, it is possible to consider performing some computational steps in the process in plaintext.
[0005] Summary of the Invention
[0006] The present application provides a method for executing a privacy computing process, wherein a privacy computing engine for executing a privacy computing process involving multiple data providers is deployed on a privacy computing service platform; wherein the privacy computing process includes multiple sub-processes with an execution order; the method is applied to a privacy computing engine deployed for any of the multiple data providers; the method includes: in response to the privacy computing process to be executed, iteratively executing the following steps until all the multiple sub-processes are executed: determining a target sub-process from the multiple sub-processes in the execution order, and determining the data ownership information of the input data of the target sub-process; determining whether the input data of the target sub-process is plaintext visible to the data provider based on the data ownership information of the input data of the target sub-process; if the input data of the target sub-process is plaintext visible to the data provider, executing the target sub-process in plaintext computing mode.
[0007] The present application also provides a device for executing a privacy computing process, wherein a privacy computing engine for executing a privacy computing process involving multiple data providers is deployed on a privacy computing service platform; wherein the privacy computing process includes multiple sub-processes with an execution order; the device is applied to a privacy computing engine deployed for any of the multiple data providers; the device includes: a control unit for iteratively calling the following units in response to the privacy computing process to be executed until all the multiple sub-processes are executed; a first determination unit for determining a target sub-process from the multiple sub-processes according to the execution order, and determining the data ownership information of the input data of the target sub-process; a second determination unit for determining whether the input data of the target sub-process is plaintext visible to the data provider based on the data ownership information of the input data of the target sub-process; a first execution unit for executing the target sub-process in plaintext computing if the input data of the target sub-process is plaintext visible to the data provider.
[0008] The present application also provides an electronic device, comprising a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via a bus; the memory stores machine-readable instructions, and the processor executes the above method by calling the machine-readable instructions.
[0009] The present application also provides a machine-readable storage medium, wherein the machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by a processor, the above method is implemented.
[0010] Through the above embodiments, by determining the data ownership information of the input data of each sub-process included in the privacy computing process, if the input data of the target sub-process is visible in plain text to the data provider, it means that the target sub-process supports execution in plain text computing mode, and the target sub-process is executed in plain text computing mode first; because in the process of executing the privacy computing process, it can be automatically determined which sub-processes can be executed in plain text computing mode, and it can be automatically switched to plain text computing mode to execute these sub-processes, so under the premise of ensuring the data security of all parties, the execution time of the privacy computing process can be reduced as a whole, and the execution efficiency of the privacy computing process can be improved.
[0011] Compared with the manual analysis method, in the technical solution of this specification, users do not need to consider whether each sub-process uses plaintext calculation or ciphertext calculation when constructing the privacy computing process, nor do they need to perceive whether each sub-process is actually executed in plaintext or ciphertext calculation when executing the privacy computing process. On the premise of ensuring the data security of all parties, the execution efficiency of the privacy computing process can be improved as a whole, thereby reducing the technical level requirements for users, saving the time required for the design and optimization of the privacy computing process, and reducing labor costs and time costs.
[0012] In addition, in the technical solution of this specification, there is no need for the participation of centralized nodes. Through the interaction between multiple data providers participating in the privacy computing process, the execution process of the privacy computing process can be controlled and scheduled, thereby optimizing the execution process of the privacy computing process while avoiding increasing the performance pressure of the privacy computing service platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0014] FIG1 is a flowchart of a method for executing a privacy computing process according to an exemplary embodiment.
[0015] FIG2 is a schematic diagram of a privacy computing flow chart shown in an exemplary embodiment.
[0016] FIG3 is a swim-lane diagram illustrating the execution process of a privacy computing process according to an exemplary embodiment.
[0017] FIG4 is a flowchart of another method for executing a privacy computing process according to an exemplary embodiment.
[0018] FIG5 is a schematic structural diagram of an electronic device where an execution device for a privacy computing process is located, showing an exemplary embodiment.
[0019] FIG6 is a block diagram of a device for executing a privacy computing process, shown in an exemplary embodiment. DETAILED DESCRIPTION
[0020] To help those skilled in the art better understand the technical solutions in this specification, the following will provide a clear and complete description of the technical solutions in the embodiments of this specification, in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative work should fall within the scope of protection of this specification.
[0021] It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than those described in this specification. In addition, a single step described in this specification may be broken down into multiple steps for description in other embodiments, and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0022] With the continuous development of internet technology, enterprises are accumulating an increasing amount of data. On the one hand, enterprises hope to realize data assetization, that is, to monetize their own data while complying with relevant laws and regulations. On the other hand, enterprises also hope to combine data held by other enterprises to conduct data mining, data collaboration, knowledge integration, and other multi-dimensional operations to enrich the value of their own data.
[0023] In actual applications, since data is different from physical objects, it is easy to be copied and transferred arbitrarily during sharing and collaboration. Therefore, in order to ensure the ownership of the data they hold and for compliance reasons, enterprise users usually need to ensure that the original data they hold (such as original plaintext data) cannot leave the private domain.
[0024] In this scenario, enterprise users can leverage the privacy computing service platform to conduct multi-party collaborative data value mining, without exposing private raw data to the public domain. For example, data providers can provide the privacy computing service platform with data descriptions corresponding to their own raw data. Data users can then use this data description to select data they need to use and construct a privacy computing process to implement their data usage needs. Furthermore, upon approval by the data provider, the privacy computing process can combine data from all parties and employ cryptographically proven methods to achieve multi-party collaborative data value mining, without exposing any of the parties' private raw data to the public domain.
[0025] The privacy computing service platform can be based on privacy data protection technologies such as federated learning (FL), secure multi-party computation (MPC), private set intersection (PSI), trusted execution environment (TEE), and differential privacy (DP), providing privacy computing services for data value analysis and mining while protecting private information. The privacy computing service platform may also be referred to as a data trusted collaboration platform, etc., which is not specifically limited in this specification.
[0026] Because privacy-preserving computation processes may require the participation of multiple data providers, they are typically performed using ciphertext. It should be noted that ciphertext computations are more complex and time-consuming (e.g., potentially one to several orders of magnitude longer) than plaintext computations.
[0027] In order to improve the overall execution efficiency of the privacy computing process, while ensuring the data security of all parties, it is possible to consider executing some calculation links in the privacy computing process in plain text.
[0028] In related technologies, algorithm engineers can analyze which computing links in the privacy computing process have high computational complexity and are time-consuming based on their own understanding of plaintext computing and ciphertext computing, as well as their understanding of the privacy computing services provided by the privacy computing service platform. They can also analyze which computing links can be executed using plaintext computing and which computing links need to be executed using ciphertext computing.
[0029] It can be seen from this that determining which calculation links in the privacy computing process can be executed using plaintext calculation methods through manual analysis requires a high level of technical skills from the user, has low analysis efficiency, and increases labor and time costs.
[0030] In view of this, this specification aims to propose a distributed privacy computing engine that supports hybrid plaintext and ciphertext computing, as well as a technical solution in which, during the execution of a privacy computing process, each data provider automatically determines whether to execute each sub-process in plaintext computing based on the privacy computing engine.
[0031] During implementation, a privacy computing engine for executing the privacy computing process can be deployed separately for each data provider participating in the privacy computing process.
[0032] For example, the privacy computing engine may specifically include an optimization service deployed on a privacy computing service platform for executing the privacy computing process, or the privacy computing engine may specifically include an execution management program running on the privacy service platform for managing the execution process of the privacy computing process.
[0033] During implementation, after the data user selects the data with usage requirements and constructs a privacy computing process, the privacy computing service platform can send the privacy computing process to the relevant data providers, so that each data provider can execute the privacy computing process separately based on the privacy computing engine deployed for it.
[0034] For example, assuming that the data required to be used in the privacy computing process constructed by the data user involves: private data A belonging to data provider p1, private data B belonging to data provider p2, public data C, and private data D belonging to data provider p3, then the privacy computing service platform can create a privacy computing task corresponding to the privacy computing process, and can issue the privacy computing task to data provider p1, data provider p2, and data provider p3, so that each data provider can execute the privacy computing process based on the privacy computing engine deployed for it after obtaining the privacy computing task. The initiator of the privacy computing task can be the data user; the data user can be any data provider among the multiple data providers, or any data provider other than the multiple data providers, and this specification does not limit this.
[0035] During implementation, the privacy computing engine deployed for any data provider can iteratively execute the following steps in response to the privacy computing process to be executed until all multiple sub-processes included in the privacy computing process are executed: determine the target sub-process from the multiple sub-processes according to the execution order of the privacy computing process, and determine the data ownership information of the input data of the target sub-process; determine whether the input data of the target sub-process is plain text visible to the data provider based on the data ownership information of the input data of the target sub-process; if the input data of the target sub-process is plain text visible to the data provider, execute the target sub-process in plain text computing mode.
[0036] For example, suppose that the privacy computing process task1 to be executed can include 10 sub-processes with an execution order, namely sub-process task1_1, sub-process task1_2, ..., sub-process task1_10. In response to obtaining the privacy computing process task1 to be executed, the privacy computing engine deployed for the data provider p2 can first determine the sub-process task1_1 as the target sub-process according to the execution order of the privacy computing process task1, and determine the data ownership information of the input data of the sub-process task1_1, and then determine whether the input data of the sub-process task1_1 is plaintext visible to the data provider p2 based on the determined data ownership information; if the input data of the sub-process task1_1 is not plaintext visible to the data provider p2, the sub-process task1_1 cannot be executed in plaintext computing mode; further, the privacy computing engine deployed for the data provider p2 can According to the execution order of the privacy computing process task1, sub-process task1_2 is determined as the target sub-process, and the above steps are performed for sub-process task1_2. If the input data of sub-process task1_2 is visible in plain text to the data provider p2, the privacy computing engine deployed for the data provider p2 can execute sub-process task1_2 in plain text calculation mode; further, the privacy computing engine deployed for the data provider p2 can determine sub-process task1_3 as the target sub-process according to the execution order of the privacy computing process task1, and perform the above steps for sub-process task1,3... until all 10 sub-processes are executed.
[0037] Based on a similar process, the privacy computing engines deployed for data providers p1 and p3 respectively respond to obtaining the privacy computing process task1 to be executed. They can also determine whether each sub-process can be executed in plain text based on whether the input data of each sub-process is plain text visible to the data provider. This will not be repeated here.
[0038] It can be seen that in the technical solution of this specification, by determining the data ownership information of the input data of each sub-process included in the privacy computing process, if the input data of the target sub-process is visible in plain text to the data provider, it means that the target sub-process supports execution in plain text computing mode, and the target sub-process is executed in plain text computing mode first; because in the process of executing the privacy computing process, it can be automatically determined which sub-processes can be executed in plain text computing mode, and it can be automatically switched to plain text computing mode to execute these sub-processes, so under the premise of ensuring the data security of all parties, the execution time of the privacy computing process can be reduced as a whole, and the execution efficiency of the privacy computing process can be improved.
[0039] Compared with the manual analysis method, in the technical solution of this specification, users do not need to consider whether each sub-process uses plaintext calculation or ciphertext calculation when constructing the privacy computing process, nor do they need to perceive whether each sub-process is actually executed in plaintext or ciphertext calculation when executing the privacy computing process. On the premise of ensuring the data security of all parties, the execution efficiency of the privacy computing process can be improved as a whole, thereby reducing the technical level requirements for users, saving the time required for the design and optimization of the privacy computing process, and reducing labor costs and time costs.
[0040] In addition, in the technical solution of this specification, there is no need for the participation of centralized nodes. Through the interaction between multiple data providers participating in the privacy computing process, the execution process of the privacy computing process can be controlled and scheduled, thereby optimizing the execution process of the privacy computing process while avoiding increasing the performance pressure of the privacy computing service platform.
[0041] The present application is described below through specific embodiments and in combination with specific application scenarios.
[0042] Please refer to FIG1 , which is a flowchart of a method for executing a privacy computing process according to an exemplary embodiment.
[0043] In this specification, a privacy computing engine for executing a privacy computing process involving multiple data providers can be deployed on a privacy computing service platform; the method can be applied to a privacy computing engine deployed for any of the multiple data providers.
[0044] For example, if the privacy computing process to be executed requires the participation of data providers p1, p2, and p3, the privacy computing service platform can deploy corresponding privacy computing engines for at least one of these providers. In one or more embodiments described below, the method shown in FIG1 is applied to the privacy computing engine deployed for data provider p2.
[0045] Among them, the privacy computing engine may specifically include an optimization service deployed on a privacy computing service platform for executing the privacy computing process, or the privacy computing engine may specifically include an execution management program running on a privacy service platform for managing the execution process of the privacy computing process. This specification does not specifically limit this.
[0046] The method shown in FIG1 can perform the following steps: Step 102: Obtain a privacy computing process to be executed; wherein the privacy computing process includes multiple sub-processes with an execution order.
[0047] For example, in response to receiving a privacy computing task issued by the privacy computing platform, the privacy computing engine deployed for the data provider p2 can obtain the privacy computing process task1 to be executed corresponding to the privacy computing task; wherein, the privacy computing process task1 can include 10 sub-processes with an execution order, which are sub-process task1_1, sub-process task1_2,..., sub-process task1_10 in the execution order.
[0048] It should be noted that the "sub-processes" recorded in this specification can be understood as the calculation links and calculation steps included in the privacy computing process. Each sub-process can be configured with input data, output data, calculation logic for data content, etc. This specification does not specifically limit this.
[0049] Among them, in step 102, the specific implementation method of obtaining the privacy computing process is not particularly limited in this specification; in order to enable people in this technical field to better understand the technical solutions in the embodiments of this specification, two methods of obtaining privacy computing processes are shown below as examples.
[0050] In some possible embodiments, the privacy computing process may be represented as a code segment; the code segment may include codes corresponding to each sub-process.
[0051] For example, the privacy computing engine deployed for the data provider p2 can obtain the code segment corresponding to the privacy computing process task1 to be executed. The pseudocode of the code segment can be as follows: task1_1: data1 = load(A, p1) / / Sub-process task1_1: the input data is data A belonging to the data provider p1, and the output data is data1 task1_2: data2 = load(B, p2) task1_3: data3 = load(C, null) / / Sub-process task1_3: the input data is public data C, and the output data is data3 task1_4: data4 = load(D, p3) task1_5: data5 = func1(data2) / / Sub-process task1_5: the input data is data2, and the output data is data5 task1_6: data6 = func2(data3) task1_7: data7, data8 = func3(data5, data6) task1_8: data9 = func4(data1, data7) task1_9:data10=func5(data8,data4) task1_10:result=func6(data9,data10)
[0052] In response to obtaining the above code segment corresponding to the privacy computing process task1 to be executed, the privacy computing engine deployed for the data provider p2 can execute the sub-process corresponding to each line of code line by line.
[0053] In some other possible embodiments, the privacy computing process may be represented as a privacy computing flowchart; the privacy computing flowchart may include privacy computing operators corresponding to each sub-process.
[0054] The privacy computing flow chart can be a directed acyclic graph (DAG). The privacy computing flow chart can include at least one node and at least one directed edge. Each node in the at least one node can be used to represent a privacy computing operator included in the privacy computing process. Each directed edge in the at least one directed edge can be used to represent the data flow between two privacy computing operators corresponding to two connected nodes.
[0055] The privacy computing operator is an operator used for privacy computing. An operator can be a packaged basic functional unit with several input ports and several output ports. In actual applications, based on the input data obtained from the input port of an operator and the operator parameter configuration information pre-configured for the operator, the pre-configured data analysis and calculation process can be executed, and the expected output data can be obtained from the output port of the operator. It should be noted that when using a codeless orchestration approach to build a privacy computing process, the user does not need to be aware of the internal processing of the operator (including the calculation logic for the data content, the use of plaintext calculation method or ciphertext calculation method, etc.).
[0056] For example, the privacy computing engine deployed for data provider p2 can obtain a privacy computing flowchart corresponding to the privacy computing process task1 to be executed. Please refer to Figure 2, which is a schematic diagram of a privacy computing flowchart according to an exemplary embodiment. As shown in Figure 2, the 10 nodes included in the privacy computing flowchart can represent privacy computing operators corresponding to sub-processes task1_1, task1_2, ..., and task1_10, respectively. Each directed edge included in the privacy computing flowchart also indicates the input data and data owner of the input data, as well as the output data and data owner of the output data.
[0057] It should be noted that the privacy computing process represented by the privacy computing flowchart shown in Figure 2 is the same as the privacy computing process identified by the above pseudocode, and will not be repeated here.
[0058] Step 104: Determine a target sub-process from the multiple sub-processes according to the execution order, and determine data attribution information of input data of the target sub-process.
[0059] Step 106: Determine whether the input data of the target sub-process is visible in plain text to the data provider based on the data ownership information of the input data of the target sub-process.
[0060] For example, the privacy computing engine deployed for data provider p2 responds to the privacy computing process task1 to be executed. It can determine the sub-process task1_1 as the target sub-process according to the execution order of the privacy computing process task1, and can determine the data ownership information of the input data of the sub-process task1_1 as "private data held by data provider p1"; according to the data ownership information of the input data of the sub-process task1_1, since data A is private data held by data provider p1, it can be determined that the input data of the sub-process task1_1 is not visible in plain text to the data provider p2.
[0061] For another example, if the privacy computing engine deployed for data provider p2 identifies sub-process task1_2 as the target sub-process, the data ownership information of the input data of sub-process task1_2 can be determined as "private data held by data provider p2"; based on the data ownership information of the input data of sub-process task1_2, since data B is private data held by data provider p2, it can be determined that the input data of sub-process task1_2 is plaintext visible to data provider p2.
[0062] In one embodiment shown, the privacy computing engine can combine the data attribution information and preset rules of the input data of each sub-process to determine whether the input data of each sub-process is visible in plain text to the data provider.
[0063] In this case, determining whether the input data of the target sub-process is plain text visible to the data provider based on the data attribution information of the input data of the target sub-process may specifically include: determining whether the data attribution information of the input data of the target sub-process complies with preset rules; if the data attribution information of the input data of the target sub-process complies with the preset rules, determining that the input data of the target sub-process is plain text visible to the data provider; if the data attribution information of the input data of the target sub-process does not comply with the preset rules, determining that the input data of the target sub-process is not plain text visible to the data provider.
[0064] The preset rules may specifically include but are not limited to one or more of the following: (1) The input data of the target sub-process is private data held by the data provider.
[0065] For example, if the input data of the target sub-process is private data held by the data provider, the data ownership information of the input data of the target sub-process complies with the preset rules, and it can be determined that the input data of the target sub-process is plaintext visible to the data provider.
[0066] (2) The input data of the target sub-process is public data.
[0067] For example, if the input data of the target sub-process is public data, the data ownership information of the input data of the target sub-process complies with the preset rules, and it can be determined that the input data of the target sub-process is plain text visible to the data provider.
[0068] (3) The input data of the target sub-process is private data held by other data providers, and the data provider has the permission to obtain the input data of the target sub-process in plain text.
[0069] For example, if the input data of the target sub-process is private data held by other data providers, and the current data provider has the right to obtain the input data of the target sub-process in plain text, then the data ownership information of the input data of the target sub-process complies with the preset rules, and it can be determined that the input data of the target sub-process is visible in plain text to the current data provider.
[0070] It should be noted that in the embodiments described above, each data provider can customize the data disclosure scope for its own private data. This means that it can grant other data providers clear access to a portion of its own private data. Therefore, in addition to directly determining whether input data is plaintext visible to the data provider based on the data ownership information of each sub-process, the privacy computing engine can also provide other judgment methods, further improving the execution efficiency of the privacy computing process.
[0071] In one embodiment shown, in order to further improve the execution efficiency of the privacy computing process, it is possible to first determine whether the target sub-process to be executed is a sub-process that requires cooperation from other data providers; for sub-processes that do not require cooperation from other parties, the privacy computing engine corresponding to this data provider can be directly executed in plain text computing mode without further determining whether the input data of the sub-process is visible in plain text to this data provider; for sub-processes that require cooperation from other parties, it is further determined whether the input data of the sub-process is visible in plain text to this data provider to determine whether the privacy computing engine corresponding to this data provider is supported to execute the sub-process in plain text computing mode.
[0072] In this case, before determining whether the input data of the target sub-process is visible in plain text to the current data provider, the method may further include: determining whether the target sub-process requires the participation of other data providers among the multiple data providers; if the target sub-process does not require the participation of other data providers, executing the target sub-process in a plain text computing manner; if the target sub-process requires the participation of other data providers, determining whether the input data of the target sub-process is visible in plain text to the current data provider.
[0073] For example, as shown in Figure 2, if the target sub-process is sub-process task1_2, it can be determined that the input data of sub-process task1_2 is data B belonging to data provider p2, and then it can be determined that sub-process task1_2 does not require the participation of other data providers, then sub-process task1_2 can be directly executed in plaintext calculation mode; if the target sub-process is sub-process task1_3, it can be determined that the input data of sub-process task1_3 is public data C, and then it can be determined that sub-process task1_3 does not require the participation of other data providers, then sub-process task1_3 can be directly executed in plaintext calculation mode; if the target sub-process is sub-process task1_1, the privacy computing engine deployed for data provider p2 can determine that the input data of sub-process task1_1 is data A belonging to data provider p1, and then it can be determined that sub-process task1_1 requires the participation of other data providers, then it can be further determined whether the input data A of sub-process task1_1 is visible to data provider p2 in plaintext.
[0074] For another example, as shown in FIG2 , if the target sub-process is sub-process task1_7, it can be determined that the input data of sub-process task1_7 is data data5 belonging to data provider p2 and public data data6, and further it can be determined that sub-process task1_7 does not require the participation of other data providers, and sub-process task1_7 can be directly executed in plain text calculation mode; if the target sub-process is sub-process task1_8, it can be determined that the input data of sub-process task1_8 is data data1 belonging to data provider p1 and data data7 belonging to data provider p2, and further it can be determined that sub-process task1_8 requires the participation of other data providers, and further it can be determined whether the input data data1 and data7 of sub-process task1_8 are visible to data provider p2 in plain text.
[0075] Step 108: If the input data of the target sub-process is visible in plain text to the data provider, the target sub-process is executed in a plain text computing manner.
[0076] For example, if the input data of sub-process task1_2 is visible in plain text to data provider p2, it means that sub-process task1_2 supports execution in plain text computing mode. Then the privacy computing engine deployed for data provider p2 can execute sub-process task1_2 in plain text computing mode.
[0077] It should be noted that in the embodiments shown above, the target sub-process supports execution in plaintext calculation mode, which does not mean that the target sub-process does not support execution in encrypted calculation mode. It only means that the target sub-process can be executed in plaintext calculation mode first, thereby improving the execution efficiency of the privacy computing process; when the privacy computing service platform or the local server of the data provider cannot provide the plaintext calculation version of the privacy computing operator corresponding to the target sub-process, the privacy computing engine can still execute the target sub-process in encrypted calculation mode, thereby ensuring the execution reliability of the privacy computing process.
[0078] In one embodiment, the privacy-preserving computing service platform can provide both plaintext and ciphertext versions of each privacy-preserving computing operator. In this case, executing the target subprocess in plaintext computing can specifically include inputting the target subprocess's input data into the plaintext version of the privacy-preserving computing operator corresponding to the target subprocess, performing privacy computing on the target subprocess's output data.
[0079] It should be noted that if the target sub-process is executed in plaintext, in addition to calling the plaintext versions of privacy computing operators provided by the privacy computing platform, local operators can also be called. For example, the original private data held by this data provider may first require specific data preprocessing (such as feature extraction) through a large number of computational processes, and then collaborate with other data providers based on the preprocessed data. Due to the flexible and changing needs of data preprocessing, it is difficult for the privacy computing service platform to provide general operators. Therefore, different customers can customize personalized operators for data preprocessing, or directly reuse their own plaintext computing capabilities.
[0080] In one embodiment shown, the method may further include: if the input data of the target sub-process is not visible in plain text to the data provider, determining whether the target sub-process requires the participation of the data provider; if the target sub-process requires the participation of the data provider, executing the target sub-process in a ciphertext calculation manner; if the target sub-process does not require the participation of the data provider, determining the data ownership information of the output data of the target sub-process, and skipping the execution of the target sub-process.
[0081] For example, if the target sub-process is sub-process task1_8, it can be determined that the input data of sub-process task1_8 is data data1 belonging to data provider p1 and data data7 belonging to data provider p2; further, since data data1 belonging to data provider p1 is not visible to data provider p2 in plain text, and data data7 belonging to data provider p2 is visible to data provider p2 in plain text, and the privacy computing engine deployed for data provider p2 can determine that sub-process task1_8 requires the participation of this data provider, sub-process task1_8 can be executed in an encrypted computing manner.
[0082] For another example, if the target sub-process is sub-process task1_1, it can be determined that the input data of sub-process task1_1 is data A belonging to data provider p1; further, since data A belonging to data provider p1 is not visible in plain text to data provider p2, and the privacy computing engine deployed for data provider p2 can determine that sub-process task1_1 does not require the participation of this data provider, the execution of sub-process task1_1 can be skipped directly, and the output data of sub-process task1_1 can be determined to be data data1 belonging to data provider p1, so as to facilitate subsequent optimization analysis of the execution methods of other sub-processes.
[0083] In some possible embodiments, the privacy-preserving computing service platform may provide both plaintext and ciphertext versions of each privacy-preserving computing operator. In this case, executing the target subprocess in ciphertext may specifically include: inputting the target subprocess's input data into the ciphertext version of the privacy-preserving computing operator corresponding to the target subprocess, performing privacy-preserving computing, and obtaining the target subprocess's output data.
[0084] In the implementation shown above, the privacy computing engines deployed for each data provider can execute the various sub-processes included in the privacy computing process in parallel. However, if it is determined to execute the target sub-process in an encrypted manner, it is necessary to synchronize the status between the various data providers participating in the privacy computing process to ensure the normal execution of the target sub-process and the accuracy of the execution results of the privacy computing process.
[0085] In this case, before executing the target sub-process in a cryptographic calculation manner, the method may further include: determining whether other data providers have executed to the target sub-process; if all other data providers have executed to the target sub-process, executing the target sub-process in a cryptographic calculation manner; if at least some of the other data providers have not executed to the target sub-process, waiting until all other data providers have executed to the target sub-process, and then executing the target sub-process in a cryptographic calculation manner.
[0086] For example, see Figure 3, which is a swimlane diagram illustrating the execution process of a privacy computing process according to an exemplary embodiment. As shown in Figure 3, if the target sub-process is sub-process task 1_7, and the privacy computing engine deployed for data provider p2 determines to execute sub-process task 1_7 using ciphertext computing, the privacy computing engine deployed for data provider p2 can first determine whether another data provider p1 of sub-process task 1_7 has already executed to sub-process task 1_7; if the other data provider p1 has already executed to sub-process task 1_7, the privacy computing engine deployed for data provider p2 can execute the target sub-process using ciphertext computing; if the other data provider p1 has not yet executed to sub-process task 1_7, the privacy computing engine deployed for data provider p2 needs to wait until the other data provider p1 has also executed to sub-process task 1_7, and then execute sub-process task 1_7 using ciphertext computing.
[0087] Similarly, for the privacy computing engine deployed for data provider p1, before executing sub-process task1_7 in a ciphertext calculation manner, it is also necessary to first determine whether data provider p2 has executed to sub-process task1_7. This will not be repeated here.
[0088] It should be noted that in the implementation methods shown above, this specification does not specifically limit the specific implementation method of status synchronization between the various data providers participating in the privacy computing process.
[0089] For example, a polling method can be used. The privacy computing engine deployed for data provider p2 can actively query the privacy computing engines deployed for other data providers about the sub-process being executed by the other party to determine whether the other data providers have executed the target sub-process that needs to be executed in an encrypted manner.
[0090] For another example, a callback method can be used. When the privacy computing engine deployed for each data participant executes a sub-process that requires ciphertext calculation, it can actively notify the data participant p2, so that the privacy computing engine deployed for the data provider p2 can determine whether it has obtained the notification sent by other participants of the target sub-process that needs to be executed by ciphertext calculation based on the obtained notification content, and then determine whether other data providers have executed to the target sub-process.
[0091] Step 110: Determine whether all of the multiple sub-processes have been completed; if all of the multiple sub-processes have been completed, determine that the privacy computing process has been completed; otherwise, continue to execute steps 104 to 108.
[0092] For example, as shown in Figure 3, if the target sub-process is sub-process task1_2, the privacy computing engine deployed for the data provider p2 can determine whether all 10 sub-processes included in the privacy computing process task have been completed after executing sub-process task1_2 in plaintext computing mode; if not, sub-process task1_3 can be determined as the target sub-process according to the execution order of the privacy computing process task, and the steps 104 to 108 can be executed.
[0093] For another example, if the target sub-process is sub-process task1_10, the privacy computing engine deployed for the data provider p2 can determine whether all 10 sub-processes included in the privacy computing process task have been completed after executing the sub-process task1_10 in an encrypted manner; if all have been completed, it can be determined that the privacy computing process task has been completed, and the execution result is the data result belonging to the data provider p2.
[0094] It can be seen from the above technical solution that by determining the data ownership information of the input data of each sub-process included in the privacy computing process, if the input data of the target sub-process is visible in plain text to the data provider, it means that the target sub-process supports execution in plain text computing mode, and the target sub-process is executed in plain text computing mode first; because in the process of executing the privacy computing process, it can be automatically determined which sub-processes can be executed in plain text computing mode, and it can be automatically switched to plain text computing mode to execute these sub-processes, so under the premise of ensuring the data security of all parties, the execution time of the privacy computing process can be reduced as a whole, and the execution efficiency of the privacy computing process can be improved.
[0095] In addition, in the technical solution of this specification, there is no need for the participation of centralized nodes. Through the interaction between multiple data providers participating in the privacy computing process, the execution process of the privacy computing process can be controlled and scheduled, thereby optimizing the execution process of the privacy computing process while avoiding increasing the performance pressure of the privacy computing service platform.
[0096] Please refer to Figure 4, which is a flowchart of another method for executing a privacy computing process, according to an exemplary embodiment. To help those skilled in the art better understand the technical solutions in the embodiments of this specification, the embodiments of this specification are described below in conjunction with the swimlane diagram shown in Figure 3 and the flowchart shown in Figure 4.
[0097] The method shown in Figure 4 can be applied to a privacy computing engine deployed for any of the multiple data providers. The method shown in Figure 4 can perform the following steps: Step 401: Obtain a privacy computing process to be executed; wherein the privacy computing process includes multiple sub-processes that have an execution order.
[0098] Step 402: Determine a target sub-process from the multiple sub-processes according to the execution order, and determine data attribution information of input data of the target sub-process.
[0099] Step 403: Determine whether the target sub-process requires participation of other data providers among the multiple data providers based on the data ownership information of the input data of the target sub-process; if the target sub-process does not require participation of other data providers, proceed to step 406-1; if the target sub-process requires participation of other data providers, proceed to step 404.
[0100] Step 404: Based on the data ownership information of the input data of the target sub-process, determine whether the input data of the target sub-process is visible in plain text to the data provider; if the input data of the target sub-process is visible in plain text to the data provider, continue to step 406-1; if the input data of the target sub-process is not visible in plain text to the data provider, continue to step 405.
[0101] Step 405: Determine whether the target sub-process requires participation of the data provider; if the target sub-process requires participation of the data provider, proceed to step 406-2; if the target sub-process does not require participation of the data provider, proceed to step 406-3.
[0102] Step 406 - 1 : Execute the target sub-process in a plaintext computing manner.
[0103] Step 406 - 2 : Execute the target sub-process in a cryptographic calculation manner.
[0104] Step 406 - 3 : Determine the data ownership information of the output data of the target sub-process.
[0105] Step 407: Determine whether all of the multiple sub-processes have been completed; if all of the multiple sub-processes have been completed, determine that the privacy calculation process has been completed; otherwise, continue to execute steps 402-406.
[0106] In this specification, the specific implementation of steps 401 to 407 is similar to the above-mentioned steps 102 to 110 and will not be repeated here.
[0107] For example, as shown in Figure 3, a white box can represent a sub-process executed in plaintext computing mode, and a gray box can represent a sub-process executed in ciphertext computing mode. In response to the privacy computing process task to be executed, for the privacy computing engine deployed for the data provider p2: since the input data of the sub-process task1_1 is the private data A belonging to the data provider p1, it is not visible to the data provider p2 in plaintext, and the sub-process task1_1 does not require the participation of the data participant p2, the execution of the sub-process task1_1 is skipped; since the input data of the sub-process task1_2 is the private data B belonging to the data provider p2, the data provider p2 is not visible in plaintext. Provider p2 is visible in plaintext, so sub-process task1_2 is executed in plaintext calculation mode. Since the input data of sub-process task1_3 is public data C, which is visible to data provider p2 in plaintext, sub-process task1_3 is executed in plaintext calculation mode. Since the input data of sub-process task1_4 is private data D belonging to data provider p3, which is not visible to data provider p2 in plaintext, and sub-process task1_1 does not require data participant p2 to participate, sub-process task1_4 is skipped. Since the input data of sub-process task1_5 is private data data2 belonging to data provider p2, , which is visible to data provider p2 in plain text, so sub-process task1_5 is executed in plain text calculation mode; since the input data of sub-process task1_6 is public data data3, which is visible to data provider p2 in plain text, sub-process task1_6 is executed in plain text calculation mode; since the input data of sub-process task1_7 is private data data5 and public data data6 belonging to data provider p2, which is visible to data provider p2 in plain text, sub-process task1_7 is executed in plain text calculation mode; since the input data of sub-process task1_8 is private data data belonging to data provider p1 1 and private data data7 belonging to data provider p2. Private data data1 is not visible to data provider p2 in plain text, and sub-process task1_8 requires the participation of data participant p2. Therefore, sub-process task1_8 is executed in ciphertext calculation mode. Since the input data of sub-process task1_9 is private data data8 belonging to data provider p2 and private data data10 belonging to data provider p3, private data data10 is not visible to data provider p2 in plain text, and sub-process task1_9 requires the participation of data participant p2, sub-process task1_9 is executed in ciphertext calculation mode.Since the input data for sub-process task1_10 is private data data9 belonging to data provider p1 and private data data10 belonging to data provider p2, private data data9 is not visible in plain text to data provider p2, and sub-process task1_10 requires the participation of data participant p2, sub-process task1_10 is executed using ciphertext calculation.
[0108] According to the flowchart shown in Figure 4, we can also derive the process of executing the privacy computing process task by the privacy computing engines deployed for data provider p1 and data provider p3 respectively, which will not be described in detail here.
[0109] Corresponding to the above-mentioned embodiment of the method for executing the privacy computing process, this specification also provides an embodiment of a device for executing the privacy computing process.
[0110] Please refer to Figure 5, which is a hardware structure diagram of an electronic device where an execution device of a privacy computing process is located, showing an exemplary embodiment. At the hardware level, the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile memory 510, and may of course also include other required hardware. One or more embodiments of this specification can be implemented based on software, such as the processor 502 reading the corresponding computer program from the non-volatile memory 510 into the memory 508 and then running it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0111] Please refer to Figure 6, which is a block diagram of a device for executing a privacy computing process, shown in an exemplary embodiment. The device for executing the privacy computing process can be applied to the electronic device shown in Figure 5 to implement the technical solution of this specification. A privacy computing engine for executing a privacy computing process involving multiple data providers is deployed on the privacy computing service platform; the privacy computing process includes multiple sub-processes with an execution order; and the device is applied to a privacy computing engine deployed for any of the multiple data providers. The device may include: a control unit 602, used to iteratively call the following units in response to the privacy computing process to be executed until the multiple sub-processes are all executed; a first determination unit 604, used to determine the target sub-process from the multiple sub-processes according to the execution order, and determine the data ownership information of the input data of the target sub-process; a second determination unit 606, used to determine whether the input data of the target sub-process is plain text visible to the data provider based on the data ownership information of the input data of the target sub-process; a first execution unit 608, used to execute the target sub-process in plain text computing if the input data of the target sub-process is plain text visible to the data provider.
[0112] In this embodiment, the second determination unit 606 is specifically used to: determine whether the data ownership information of the input data of the target sub-process complies with the preset rules; if the data ownership information of the input data of the target sub-process complies with the preset rules, determine that the input data of the target sub-process is plain text visible to the present data provider; wherein the preset rules include one or more of the following: the input data of the target sub-process is private data held by the present data provider; the input data of the target sub-process is public data; the input data of the target sub-process is private data held by other data providers, and the present data provider has the plain text access permission to the input data of the target sub-process.
[0113] In this embodiment, the second determination unit 606 is further used to: determine whether the target sub-process requires the participation of other data providers among the multiple data providers; if the target sub-process does not require the participation of other data providers, execute the target sub-process in a plain text calculation manner; if the target sub-process requires the participation of other data providers, determine whether the input data of the target sub-process is visible to the current data provider in plain text.
[0114] In this embodiment, the device also includes: a third determination unit, which is used to determine whether the target sub-process requires the participation of the data provider if the input data of the target sub-process is not visible in plain text to the data provider; a second execution unit, which is used to execute the target sub-process in a ciphertext calculation manner if the target sub-process requires the participation of the data provider; and a third execution unit, which is used to determine the data ownership information of the output data of the target sub-process and skip the execution of the target sub-process if the target sub-process does not require the participation of the data provider.
[0115] In this embodiment, the second execution unit is specifically used to: determine whether other data providers have executed to the target sub-process; if all other data providers have executed to the target sub-process, execute the target sub-process in a ciphertext calculation manner; if at least some of the other data providers have not executed to the target sub-process, wait until all other data providers have executed to the target sub-process, and then execute the target sub-process in a ciphertext calculation manner.
[0116] In this embodiment, the privacy computing service platform provides plaintext computing versions and ciphertext computing versions of each privacy computing operator; the first execution unit 608 is specifically used to: input the input data of the target sub-process into the plaintext computing version of the privacy computing operator corresponding to the target sub-process for privacy computing, and obtain the output data of the target sub-process; the second execution unit is specifically used to: input the input data of the target sub-process into the ciphertext computing version of the privacy computing operator corresponding to the target sub-process for privacy computing, and obtain the output data of the target sub-process.
[0117] In this embodiment, the privacy computing process is represented as a code segment, which includes codes corresponding to each sub-process; or, the privacy computing process is represented as a privacy computing flowchart, which includes privacy computing operators corresponding to each sub-process.
[0118] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0119] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this specification. Ordinary technicians in this field can understand and implement it without paying any creative work.
[0120] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email transceiver, game console, tablet computer, wearable device, or any combination of these devices.
[0121] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0122] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0123] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0124] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0125] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0126] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0127] The terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of this specification. The singular forms "a," "an," "the," and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0128] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when..." or "when..." or "in response to determining."
[0129] The above description is merely one or more embodiments of this specification and is not intended to limit one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of this specification shall be included in the scope of protection of one or more embodiments of this specification.
Claims
1. A method for executing a privacy computing process, wherein a privacy computing engine for executing a privacy computing process involving multiple data providers is deployed on a privacy computing service platform; wherein: The privacy computing process includes multiple sub-processes in an execution order; The method is applied to a privacy computing engine deployed for any data provider among the multiple data providers; the method comprises: In response to the privacy computing process to be executed, iteratively execute the following steps until all the sub-processes are completed: Determine a target sub-process from the multiple sub-processes according to the execution order, and determine data attribution information of input data of the target sub-process; Determine, based on the data ownership information of the input data of the target sub-process, whether the input data of the target sub-process is visible in plain text to the data provider; If the input data of the target sub-process is visible in plain text to the data provider, the target sub-process is executed in plain text computing mode.
2. The method according to claim 1, wherein determining whether the input data of the target sub-process is visible in plain text to the data provider according to the data attribution information of the input data of the target sub-process comprises: Determine whether the data attribution information of the input data of the target sub-process complies with a preset rule; If the data attribution information of the input data of the target sub-process complies with the preset rule, it is determined that the input data of the target sub-process is visible in plain text to the data provider; The preset rules include one or more of the following: The input data of the target sub-process is private data held by the data provider; The input data of the target sub-process is public data; The input data of the target sub-process is private data held by other data providers, and the data provider has the authority to obtain the input data of the target sub-process in plain text.
3. The method according to claim 1, before determining whether the input data of the target sub-process is visible in plain text to the data provider, the method further comprises: Determining whether the target sub-process requires participation of other data providers among the multiple data providers; If the target sub-process does not require participation of other data providers, the target sub-process is executed in a plain text computing manner; If the target sub-process requires participation of other data providers, it is determined whether the input data of the target sub-process is visible in plain text to the data provider.
4. The method according to claim 1, further comprising: If the input data of the target sub-process is not visible in plain text to the data provider, determining whether the target sub-process requires participation of the data provider; If the target sub-process requires the participation of the data provider, the target sub-process is executed in a ciphertext calculation manner; If the target sub-process does not require the participation of the data provider, the data ownership information of the output data of the target sub-process is determined, and the execution of the target sub-process is skipped.
5. The method according to claim 4, before executing the target sub-process in a ciphertext calculation manner, the method further comprises: Determine whether other data providers have executed the target sub-process; If other data providers have already executed to the target sub-process, the target sub-process is executed in a ciphertext calculation manner; If at least some of the other data providers have not yet executed the target sub-process, wait until all other data providers have executed the target sub-process, and then execute the target sub-process in a ciphertext calculation manner.
6. According to the method of claim 4, the privacy computing service platform provides a plaintext computing version and a ciphertext computing version of each privacy computing operator; The executing the target sub-process in a plain text computing manner includes: Input the input data of the target subprocess into the plaintext calculation version of the privacy calculation operator corresponding to the target subprocess to perform privacy calculation, and obtain the output data of the target subprocess; The step of executing the target sub-process in a ciphertext computing manner includes: The input data of the target sub-process is input into the ciphertext calculation version of the privacy calculation operator corresponding to the target sub-process to perform privacy calculation to obtain the output data of the target sub-process.
7. According to the method of claim 1, the privacy computing process is represented as a code segment, and the code segment includes codes corresponding to each sub-process respectively; Alternatively, the privacy computing process is represented as a privacy computing flowchart, which includes privacy computing operators corresponding to each sub-process.
8. A device for executing a privacy computing process, wherein a privacy computing engine for executing a privacy computing process involving multiple data providers is deployed on a privacy computing service platform; wherein: The privacy computing process includes multiple sub-processes in an execution order; The device is applied to a privacy computing engine deployed for any data provider among the multiple data providers; the device includes: A control unit, configured to iteratively call the following units in response to the privacy computing process to be executed until all the multiple sub-processes are executed; A first determining unit, configured to determine a target sub-process from the plurality of sub-processes according to the execution order, and determine data attribution information of input data of the target sub-process; A second determining unit, configured to determine whether the input data of the target sub-process is visible in plain text to the data provider according to the data attribution information of the input data of the target sub-process; The first execution unit is used to execute the target sub-process in a plain text computing manner if the input data of the target sub-process is visible to the data provider in plain text.
9. An electronic device, comprising a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus; The memory stores machine-readable instructions, and the processor executes the method according to any one of claims 1 to 7 by calling the machine-readable instructions.
10. A machine-readable storage medium storing machine-readable instructions, wherein the machine-readable instructions, when called and executed by a processor, implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data processing method and device and electronic equipment
CN113206830A
Calculation task adjustment method and device for multi-party security calculation and electronic equipment
CN113541923A
Privacy computing device and privacy computing method
CN115603890A
Privacy computing process execution method and device, electronic equipment and storage medium
CN116521756A
