Privacy calculation method, device and system based on block chain
By storing certificates and authorizing requests on the blockchain, the problem of data privacy security in multi-party data joint calculation is solved, decentralized trusted privacy calculation is realized, and the credibility of data security and privacy calculation is ensured.
Patent Information
- Application Number
- CN202310422961.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-13
- Publication Date
- 2024-10-18
AI Technical Summary
In multi-party data joint computing, how to achieve mutual trust and collaboration between parties to ensure data privacy and security? It is difficult for existing technology to effectively solve the data security problem of centralized systems.
Through the blockchain-based privacy computing method, create target privacy computing tasks and store certificates on the blockchain, issue authorization requests to participants, and execute computing tasks in a trusted computing environment when preset conditions are met to ensure Data security.
It achieves decentralized collaboration among multiple parties, ensures data security and the credibility of privacy computing, and improves the security and mutual trust of privacy computing.
Smart Images

Figure CN118797749A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of privacy computing technology, and specifically relates to a privacy computing method, device and system based on blockchain. Background Art
[0002] With the rapid development of Internet technology, a huge amount of data has been generated. In order to fully tap the value of data, multi-party joint data computing has become a major research hotspot. In multi-party data joint computing, in order to protect the data privacy of all parties, privacy computing technology needs to be adopted.
[0003] Privacy computing refers to a collection of technologies that implement data analysis and computing while protecting the data from external disclosure, so as to achieve the goal of making the data "available but invisible". Under the premise of fully protecting data and privacy security, the value of data can be transformed and released. In practical applications, since the computing resources involved in privacy computing may come from multiple different parties, how to achieve mutual trust and collaboration among the various parties to achieve privacy computing has always been the focus of the industry. Summary of the invention
[0004] In order to solve the above technical problems, this application provides a privacy computing method, device and system based on blockchain. By initiating a task authorization process for a target privacy computing task based on blockchain, and storing the target privacy computing task and the authorization results of each participant in the blockchain, mutual trust and collaboration between the participants in privacy computing can be achieved, while ensuring the data security of each participant.
[0005] On the one hand, the present application proposes a privacy computing method based on blockchain, the method comprising:
[0006] Create a target privacy computing task and send it to the preset blockchain for evidence storage;
[0007] Based on the preset blockchain, a computing task authorization request is issued to at least one second terminal, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and at least one second terminal sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0008] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each second terminal meets the preset conditions.
[0009] On the other hand, an embodiment of the present application provides a privacy computing method based on blockchain, the method comprising:
[0010] Receiving a computing task authorization request issued by the first terminal based on a preset blockchain;
[0011] In response to the computing task authorization request, authorize the target privacy computing task; the target privacy computing task is created for the first terminal and sent by the first terminal to a preset blockchain for evidence storage;
[0012] Send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0013] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each local second terminal meets the preset conditions.
[0014] On the other hand, an embodiment of the present application provides a privacy computing method based on blockchain, the method comprising:
[0015] Obtaining a target privacy-preserving computing task and an authorization result of the target privacy-preserving computing task by at least one second terminal from a preset blockchain; the target privacy-preserving computing task is created by a first terminal and sent by the first terminal to a preset blockchain for evidence storage; the authorization result of the target privacy-preserving computing task by at least one second terminal is that at least one second terminal authorizes the target privacy-preserving computing task in response to a computing task authorization request, and the authorization result is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain;
[0016] When it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions, the target privacy computing task is executed in the trusted computing environment.
[0017] On the other hand, an embodiment of the present application provides a privacy computing device based on blockchain, the device comprising:
[0018] The target privacy computing task creation module is used to create the target privacy computing task and send the target privacy computing task to the preset blockchain for evidence storage;
[0019] A computing task authorization request issuing module, configured to issue a computing task authorization request to at least one second terminal based on a preset blockchain, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and enables at least one second terminal to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0020] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each second terminal meets the preset conditions.
[0021] On the other hand, an embodiment of the present application provides a privacy computing device based on blockchain, the device comprising:
[0022] A computing task authorization request receiving module, used to receive a computing task authorization request issued by the first terminal based on a preset blockchain;
[0023] An authorization module, configured to authorize a target privacy-preserving computing task in response to a computing task authorization request; the target privacy-preserving computing task is created by the first terminal and sent by the first terminal to a preset blockchain for evidence storage;
[0024] The authorization result sending module is used to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0025] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each local second terminal meets the preset conditions.
[0026] On the other hand, an embodiment of the present application provides a privacy computing device based on blockchain, the device comprising:
[0027] An authorization result acquisition module is used to obtain a target privacy computing task and an authorization result of at least one second terminal for the target privacy computing task from a preset blockchain; the target privacy computing task is created by a first terminal and sent by the first terminal to a preset blockchain for evidence storage; the authorization result of at least one second terminal for the target privacy computing task is that at least one second terminal authorizes the target privacy computing task in response to a computing task authorization request, and is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain;
[0028] An execution module is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets a preset condition.
[0029] On the other hand, an embodiment of the present application provides a privacy computing system based on blockchain, the system comprising a first terminal, at least one second terminal and a privacy computing platform;
[0030] The first terminal is used to create a target privacy-preserving computing task, send the target privacy-preserving computing task to a preset blockchain for evidence storage, and issue a computing task authorization request to at least one second terminal based on the preset blockchain;
[0031] The second terminal is used to respond to the computing task authorization request, authorize the target privacy computing task, and send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0032] The privacy computing platform is used to obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain, and execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
[0033] On the other hand, the present application proposes an electronic device for privacy computing based on blockchain, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the privacy computing method based on blockchain as described above.
[0034] On the other hand, the present application proposes a computer-readable storage medium, which stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the blockchain-based privacy computing method as described above.
[0035] On the other hand, the present application proposes a computer program product, which, when executed by a processor, implements the blockchain-based privacy computing method as described above.
[0036] The privacy computing method, device and system based on blockchain proposed in the embodiment of the present application, after the first terminal creates the target privacy computing task, sends the target privacy computing task to the preset blockchain for evidence storage. Then, based on the preset blockchain, a computing task authorization request is issued to at least one second terminal, so that at least one second terminal authorizes the target privacy computing task. The authorization result of at least one second terminal for the target privacy computing task is also stored in the preset blockchain, so that the privacy computing platform can obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain. If the privacy computing platform determines that the authorization result of each second terminal for the target privacy computing task meets the preset conditions, the target privacy computing task will be executed in a trusted computing environment. The method initiates a task authorization process for the target privacy computing task to each second terminal participating in the privacy computing based on the blockchain, and stores the target privacy computing task and the authorization result of each second terminal in the blockchain, thereby realizing mutual trust and cooperation between the second terminals participating in the privacy computing, and at the same time ensuring the data security of each second terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a schematic diagram of a system architecture of a blockchain system according to an exemplary embodiment.
[0039] Figure 2 The figure is a schematic diagram of a blockchain according to an exemplary embodiment.
[0040] Figure 3 The figure is a flow chart showing a method of generating a new block according to an exemplary embodiment.
[0041] Figure 4 This is a schematic diagram of an implementation environment of a privacy computing method based on blockchain according to an exemplary embodiment.
[0042] Figure 5 The following is a flowchart of a privacy computing method based on blockchain according to an exemplary embodiment. Figure 1 .
[0043] Figure 6 A schematic diagram of a preset blockchain system according to an exemplary embodiment Figure 1 .
[0044] Figure 7 A schematic diagram of a preset blockchain system according to an exemplary embodiment Figure 2 .
[0045] Figure 8 It is a schematic diagram of a collaboration process of various privacy computing participants according to an exemplary embodiment.
[0046] Fig. 9 The present invention is a flowchart of a method for a computing task creator to participate in privacy computing according to an exemplary embodiment.
[0047] Fig.10 It is a flowchart of a method for a computing result user to participate in privacy computing according to an exemplary embodiment.
[0048] Fig.11 It is a flowchart of a method for a data source provider to participate in privacy computing according to an exemplary embodiment.
[0049] Fig.12 It is a flowchart of a method for a data source provider to participate in privacy computing according to an exemplary embodiment.
[0050] Fig.13 It is a flowchart showing a privacy computing method based on blockchain with a first terminal as the execution subject according to an exemplary embodiment.
[0051] Fig.14 It is a flowchart showing a privacy computing method based on blockchain with a second terminal as the execution subject according to an exemplary embodiment.
[0052] Fig.15 It is a flowchart showing a privacy computing method based on blockchain with a privacy computing platform as the execution body according to an exemplary embodiment.
[0053] Fig.16 A privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 1 .
[0054] Fig.17 A privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 2 .
[0055] Fig.18 A privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 3 .
[0056] Fig.19It is a block diagram of a privacy computing system based on blockchain according to an exemplary embodiment.
[0057] Fig. 20 This is a hardware structure block diagram of a server for a privacy computing method based on blockchain provided according to an exemplary embodiment. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0059] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0060] In order to make the purpose, technical solution and advantages disclosed in the embodiments of the present application more clearly understood, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present application and are not used to limit the embodiments of the present application.
[0061] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0062] The embodiments of the present application relate to a blockchain system implemented based on blockchain technology. The system architecture of the blockchain system is introduced below.
[0063] Figure 1 is a schematic diagram of a system architecture of a blockchain system according to an exemplary embodiment. Figure 1As shown, the blockchain system 100 refers to a system for sharing data between nodes, and the blockchain system may include multiple nodes 101, and the multiple nodes 101 may refer to each client in the blockchain system. Each node 101 can receive input information when performing normal work, and maintain the shared data in the blockchain system based on the received input information. In order to ensure the information intercommunication within the blockchain system, there may be an information connection between each node in the blockchain system, and information can be transmitted between nodes through the above information connection. For example, when any node in the blockchain system receives input information, other nodes in the blockchain system obtain the input information according to the consensus algorithm, and store the input information as data in the shared data, so that the data stored on all nodes in the blockchain system are consistent.
[0064] Each node in the blockchain system has a corresponding node identifier, and each node in the blockchain system can store the node identifiers of other nodes in the blockchain system, so that the generated blocks can be broadcast to other nodes in the blockchain system according to the node identifiers of other nodes. Each node can maintain a node identifier list as shown in the following table, and store the node name and node identifier in the node identifier list accordingly. Among them, the node identifier can be an IP (Internet Protocol, a protocol for interconnecting networks) address and any other information that can be used to identify the node. Table 1 only uses the IP address as an example for illustration.
[0065] Node Name Node ID Node 1 117.114.151.174 Node 2 117.116.189.145 … … Node N 119.123.789.258
[0066] Each node in the blockchain system stores an identical blockchain. The blockchain consists of multiple blocks. Figure 2 is a schematic diagram of a blockchain according to an exemplary embodiment. Figure 2 As shown, the blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores input information feature values, version numbers, timestamps, and difficulty values, and the block body stores input information. The next block of the genesis block uses the genesis block as its parent block. The next block also includes a block header and a block body. The block header stores input information feature values of the current block, feature values of the block header of the parent block, version numbers, timestamps, and difficulty values, and so on. This ensures that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, thereby ensuring the security of the input information in the block.
[0067] Figure 3 is a flow chart showing a method of generating a new block according to an exemplary embodiment. Figure 3As shown in the figure, when generating each block in the blockchain, the node where the blockchain is located verifies the input information when receiving it. After the verification is completed, the input information is stored in the memory pool and the hash tree used to record the input information is updated. After that, the update timestamp is updated to the time when the input information is received, and different random numbers are tried, and the eigenvalue calculation is performed multiple times so that the calculated eigenvalue can satisfy the following formula:
[0068] SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x)) <TARGET
[0069] Among them, SHA256 is the eigenvalue algorithm used to calculate the eigenvalue; version (version number) is the version information of the relevant block protocol in the blockchain; prev_hash is the block header eigenvalue of the parent block of the current block; merkle_root is the eigenvalue of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, which is a fixed value within a period of time and is determined again after exceeding the fixed time period; x is a random number; TARGET is the eigenvalue threshold, which can be determined based on nbits.
[0070] In this way, when the random number that satisfies the above formula is calculated, the information can be stored accordingly, the block header and block body can be generated, and the current block can be obtained. Subsequently, the node where the blockchain is located sends the newly generated block to other nodes in the blockchain system according to the node identification of other nodes in the blockchain system. Other nodes verify the newly generated block and add the newly generated block to the blockchain stored in them after completing the verification.
[0071] In addition, embodiments of the present application may also involve cloud technology, which is explained below.
[0072] Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, allowing various application systems to obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". From the user's perspective, the resources in the "cloud" are infinitely scalable and can be obtained at any time, used on demand, expanded at any time, and paid for by use.
[0073] As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an Infrastructure as a Service (IaaS) platform) will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.
[0074] According to the logical function division, the Platform as a Service (PaaS) layer can be deployed on the IaaS layer, and the Software as a Service (SaaS) layer can be deployed on the PaaS layer, or SaaS can be directly deployed on IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is a variety of business software, such as web portals, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
[0075] The embodiments of the present application can embed the blockchain framework into the cloud computing platform, and use the deployment and management advantages of the cloud service infrastructure to provide users with cloud blockchain services (Blockchain as a Service, BaaS). Cloud blockchain services provide developers with a convenient and high-performance blockchain ecological environment and ecological supporting services, and are blockchain open platforms that support developers' business expansion and operational support. Using BaaS can greatly reduce the cost of implementing the underlying blockchain technology, simplify blockchain construction and operation and maintenance work, and at the same time face various industry scenarios, meet user personalized needs, and quickly deliver customized BaaS in one stop.
[0076] At present, for privacy computing, the multiple participants who need to participate in trusted collaboration usually include: model providers, data source providers, and result users. The computing model provider can be a model developer, a participant who provides privacy computing logic. The data source provider is a participant who owns and provides data to participate in privacy computing. Its data is usually sensitive data and cannot be obtained by other participants. The user of the computing result is a participant who needs the results obtained from the execution of the computing task. In the privacy computing process, the above participants need to authorize the computing tasks. However, most privacy computing systems usually rely on centralized service systems to provide services, and their data is also stored in centralized databases. It is difficult to avoid the problem of centralized maliciousness, and it is impossible to guarantee data security, so it is impossible to achieve mutual trust and collaboration among the various participants.
[0077] In view of this, the embodiment of the present application provides a privacy computing method, device and system based on blockchain. After the first terminal creates a target privacy computing task, the target privacy computing task is sent to the preset blockchain for evidence storage. Then, based on the preset blockchain, a computing task authorization request is issued to at least one second terminal, so that at least one second terminal authorizes the target privacy computing task. The authorization result of at least one second terminal for the target privacy computing task is also stored in the preset blockchain, so that the privacy computing platform can obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain. If the privacy computing platform determines that the authorization result of each second terminal for the target privacy computing task meets the preset conditions, the target privacy computing task will be executed in a trusted computing environment. The method initiates a task authorization process for the target privacy computing task to each second terminal participating in the privacy computing based on the blockchain, and stores the target privacy computing task and the authorization result of each second terminal in the blockchain, thereby realizing mutual trust and cooperation between the second terminals participating in the privacy computing, and at the same time ensuring the data security of each second terminal.
[0078] See also Figure 4 , Figure 4 FIG. 1 is a schematic diagram of an implementation environment of a privacy computing method based on blockchain according to an exemplary embodiment. Figure 4 As shown, the implementation environment may include at least a terminal 201 and a server 202, and the terminal 201 and the server 202 communicate through a network, which may be a wired network or a wireless network, and the present application does not limit this. The implementation framework can also be considered as a privacy computing system based on blockchain, and the privacy computing system based on blockchain is used to provide privacy computing services based on blockchain.
[0079] In an embodiment of the present application, terminal 201 includes a first terminal and at least one second terminal. The first terminal creates a target privacy computing task and sends the target privacy computing task to a preset blockchain for evidence storage. The first terminal issues a computing task authorization request to at least one second terminal based on the preset blockchain, and at least one second terminal responds to the computing task authorization request, authorizes the target privacy computing task, and sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage. Server 202 can be a server carried by a privacy computing platform. Server 202 obtains the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain. When server 202 determines that the authorization result of each second terminal for the target privacy computing task meets the preset conditions, it executes the target privacy computing task in a trusted computing environment.
[0080] In the embodiment of the present application, the terminal 201 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, an intelligent voice interaction device, a smart home appliance, a smart watch, a vehicle terminal, an aircraft, etc., but is not limited thereto. The server 202 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0081] It should be noted that Figure 4 This is just an example. In other scenarios, other implementation environments may also be included.
[0082] Figure 5 The following is a flowchart of a privacy computing method based on blockchain according to an exemplary embodiment. Figure 1 This method can be used for Figure 4 This specification provides the operation steps of the privacy computing method based on blockchain as described in the embodiments or flowcharts, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the method shown in the embodiments or drawings. Specific examples Figure 5 As shown, the method may include:
[0083] S301: The first terminal creates a target privacy computing task.
[0084] In the embodiments of the present application, for a privacy computing task, the execution of the privacy computing task requires the participation of multiple parties, for example, a computing task creator is required to create a privacy computing task, one or more data source providers are required to provide the data source required for privacy computing, and one or more computing model providers are required to provide the computing model required for privacy computing, etc. In practical applications, the participants of the privacy computing task may also include the users of the computing results, so as to consume the results generated by the privacy computing. In addition, the role played by the participants of the privacy computing in the privacy computing process is not necessarily single. For example, the computing task creator can both create a privacy computing task and provide the data source required for privacy computing as a data source provider.
[0085] In the embodiment of the present application, the trusted collaboration between the various participants in privacy computing can be achieved through blockchain technology. Specifically, by building a preset blockchain system between the various participants, each participant accesses the preset blockchain system through a decentralized distributed control console. The collaboration process of each participant can be triggered by the preset blockchain system, and the data generated by each participant in the collaboration process are stored in the preset blockchain, thereby achieving mutual trust and collaboration between the participants in privacy computing.
[0086] As an example, Figure 6 A schematic diagram of a preset blockchain system according to an exemplary embodiment Figure 1 .like Figure 6 As shown, in the preset blockchain system, each privacy computing participant constitutes a blockchain system as a chain node, and each privacy computing participant realizes the connection with the blockchain system through its corresponding control console. Optionally, each privacy computing participant can also maintain a database locally, and the local database can be connected to its corresponding control console to back up the data in the preset blockchain, so that when it needs to query the data in the blockchain, it can query in the local database, thereby improving the efficiency of data query. Optionally, the local database can be a relational database, such as a MySQL database. The local database can also be a non-relational database, such as a Redis database. In the privacy computing process, the computing task creator creates the target privacy computing task, and then the data source provider, computing model provider, etc. provide the trusted computing resources required to execute the target privacy computing task. After obtaining the calculation result, the calculation result user consumes the calculation result.
[0087] In an embodiment of the present application, the first terminal may be a terminal device of a computing task creator, and the first terminal is provided with a control console corresponding to the computing task creator, so that the computing task creator can use the first terminal to create a target privacy computing task.
[0088] S303: The first terminal sends the target privacy computing task to the preset blockchain for evidence storage.
[0089] In the embodiment of the present application, the target privacy computing task created by the first terminal includes task description information, computing resource information and account information of the first terminal. The task description information is used to describe the target privacy computing task, including but not limited to the task name, task purpose, computing participants, etc. of the target privacy computing task. The computing resource information is used to describe the computing resources required for the target privacy computing, such as the number of the data source, the calling path of the data source, the model of the computing model, the calling method of the computing model, etc. The account information of the first terminal is used to verify the legitimacy of the first terminal, such as verifying whether the first terminal has completed registration in the preset blockchain system, whether the first terminal has the authority to create a privacy computing task, etc. Optionally, the account information of the first terminal can be the account password corresponding to the first terminal, or it can be the unique device identification code of the first terminal, etc. When the first terminal creates the target privacy computing task, the control console in the first terminal first verifies the account information of the first terminal. If the verification passes, the first terminal sends the task description information and computing resource information to the preset blockchain for evidence storage. The legitimacy of the first terminal is determined by verifying the account information of the first terminal, thereby preventing participants who do not have the authority to create privacy computing tasks from creating privacy computing tasks, and ensuring the security of the privacy computing task initiation process.
[0090] In some embodiments, before sending the target privacy computing task to the preset blockchain for evidence storage, the first terminal also needs to authenticate the identities of each privacy computing participant of the target privacy computing task to determine whether each privacy computing participant is a chain node in the preset blockchain system. Specifically, the target privacy computing task also includes identification information corresponding to each participant of the target privacy computing task. The control console in the first terminal device compares the identification information corresponding to each privacy computing participant of the target privacy computing task with the identification information of each chain node in the preset blockchain system, thereby determining whether each privacy computing participant of the target privacy computing task is a chain node in the preset blockchain system. After determining whether each privacy computing participant of the target privacy computing task is a chain node in the preset blockchain system, the first terminal sends the target privacy computing task to the preset blockchain for evidence storage.
[0091] S305: The first terminal issues a computing task authorization request to at least one second terminal based on a preset blockchain.
[0092] In an embodiment of the present application, the second terminal may be a terminal device corresponding to a privacy computing participant other than the computing task creator among the privacy computing participants of the target privacy computing task, including a terminal device of a data source provider, a terminal device of a computing model provider, a terminal device of a computing result user, etc. There may be one or more second terminals, which are specifically related to the number of privacy computing participants of the target privacy computing task. For example, if the privacy computing participants of the target privacy computing task include two data source providers, one computing model provider, and one computing result user, the number of second terminals may be four. For another example, when the privacy computing participants of the target privacy computing task include a data source provider and a computing model provider, and the computing result user is the same party as the computing task creator, the number of second terminals may be two. For any second terminal, a control console corresponding to the corresponding privacy computing participant is provided in the second terminal, so that the privacy computing participant can use the second terminal to complete the authorization of the target privacy computing task.
[0093] In the embodiment of the present application, after the first terminal stores the target privacy computing task in the preset blockchain, it can initiate the computing task authorization process based on the preset blockchain. Specifically, the first terminal broadcasts the computing task authorization request in the preset blockchain, so that the control console in the second terminal can receive the computing task authorization request.
[0094] S307: At least one second terminal authorizes the target privacy computing task in response to the computing task authorization request.
[0095] In the embodiment of the present application, the first terminal broadcasts a computing task authorization request in a preset blockchain, and the second terminal, as a chain node in the preset blockchain, can receive the computing task authorization request from the preset blockchain. The computing task authorization request carries the target computing task, and when the second terminal receives the computing task authorization request, the second terminal authorizes the target privacy computing task.
[0096] In the embodiment of the present application, since the calculation result of the target privacy computing task is provided to the calculation result user for consumption, the target privacy computing task needs to include the calculation result storage database information for consumption by the calculation result user. Optionally, the calculation result storage database information can be specified by the calculation task creator or provided by the calculation result user. Under normal circumstances, in order to ensure the security of the privacy computing result, the calculation result storage database information can be provided by the calculation result user. Therefore, when the first terminal initiates the calculation task authorization process based on the preset blockchain, the calculation result user needs to first supplement the calculation result storage database information in the target privacy computing task, and then form a complete task authorization approval message, so that other privacy computing participants can authorize the target privacy computing task based on the task authorization approval message. That is to say, when the first terminal broadcasts the calculation task authorization request in the preset blockchain, the second terminal corresponding to the calculation result user needs to respond to the calculation task authorization request first, create a task authorization approval message, and then all privacy computing participants can authorize the target privacy computing task based on the task authorization approval message. During the collaboration process of each privacy computing participant, the task authorization message is created by the user of the calculation results, so that each privacy computing participant can obtain all the information contained in the target privacy computing task when authorizing the target privacy computing task, thereby improving the degree of mutual trust among each privacy computing participant and ensuring mutual trust and collaboration among each privacy computing participant.
[0097] In an embodiment of the present application, when the first terminal broadcasts a computing task authorization request in a preset blockchain, the computing task authorization request carries the identification information of the computing result user, and only the chain node corresponding to the computing result user in the preset blockchain can respond to the computing task authorization request, while other chain nodes cannot respond to the computing task authorization request. After the chain node corresponding to the computing result user receives the computing task authorization request, the second terminal of the computing result user responds to the computing task authorization request, determines the computing result storage database information, and then the second terminal of the computing result user creates a task authorization approval message based on the target privacy computing task and the computing result storage database information. By configuring the computing result storage database information by the computing result user, the convenience of the computing result user consuming the computing results can be improved, and the security of the privacy computing results can also be improved.
[0098] In some embodiments, before creating a task authorization approval message based on the target privacy computing task and the computing result storage database information, the second terminal of the computing result user can also perform a connectivity test on the computing result storage database based on the computing result storage database information. Optionally, the computing result storage database information can be the access address of the computing result storage database, and the second terminal of the computing result user accesses the computing result storage database based on the access address to determine the connectivity of the computing result storage database. When the connectivity test result meets the preset test conditions, the second terminal of the computing result user creates a task authorization approval message based on the target privacy computing task and the computing result storage database information. Among them, the preset test condition is that the computing result storage database is in a state that the second terminal of the computing result user can access. By performing a connectivity test on the computing result storage database before creating the task authorization approval message, it is ensured that the computing result storage database is in a state that the second terminal of the computing result user can access, thereby optimizing the collaboration process of each privacy computing participant, reducing the approval operations of each privacy computing participant, and thus improving the mutual trust of each privacy computing participant.
[0099] In addition, in order to ensure the security of the calculation results and ensure that they can only be consumed and used by the user of the calculation results, the second terminal of the calculation result user can also locally generate a public-private key pair for encryption / decryption of the calculation results before determining the calculation result storage database information. The public-private key pair is used to encrypt / decrypt the calculation results obtained after the target privacy calculation task is executed, thereby ensuring the data security of the calculation results. Moreover, the public-private key pair is generated by the second terminal of the calculation result user to ensure that the calculation results can only be consumed and used by the calculation result user, thereby ensuring the rights and interests of the calculation result user. After generating the public-private key pair for encryption / decryption of the calculation results, the second terminal of the calculation result user can configure the calculation result storage database information for ciphertext storage of the calculation results.
[0100] In an embodiment of the present application, after the second terminal of the computing result user creates a task authorization approval message, all privacy computing participants authorize the target privacy computing task based on the task authorization approval message and sign the task authorization approval message.
[0101] It should be noted that the above-mentioned step of creating a task authorization approval message by the second terminal of the computing result user is applicable to the case where the target privacy computing task created by the computing task creator does not contain the computing result storage database information. In some cases, such as when the computing task creator and the computing result user are the same party, or when the computing result storage database information is specified by the computing task creator, the target privacy computing task created by the computing task creator contains the computing result storage database information. In this case, there is no need for the second terminal of the computing result user to create a task authorization approval message. After the first terminal issues a computing task authorization request based on the preset blockchain, other privacy computing participants can directly authorize the target privacy computing task based on the computing task authorization request.
[0102] S309: At least one second terminal sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage.
[0103] In an embodiment of the present application, after the second terminal of the party using the calculation results creates a task authorization approval message, the second terminals of all privacy computing participants, including the second terminal of the party using the calculation results, need to authorize the target privacy computing task based on the task authorization approval message, and each privacy computing participant needs to sign its authorization result when authorizing the target privacy computing task, and then send its authorization result to the preset blockchain for evidence storage.
[0104] As an optional implementation, the second terminal of the computing result user performs authorization processing on the task authorization approval message to obtain a first authorization result. The first authorization result is used to represent the authorization result of the terminal that consumes the computing result of the target privacy computing task. Then, the second terminal of the computing result user signs the first authorization result, and sends the first authorization result to the preset blockchain for evidence storage based on the control console. The first authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determines whether the first authorization result meets the preset conditions. The second terminal of the data source provider approves the task authorization approval message to obtain a second authorization result. The second authorization result is used to represent the authorization result of the terminal corresponding to the data source required to execute the target privacy computing task. Then, the second terminal of the data source provider signs the second authorization result, and sends the second authorization result to the preset blockchain for evidence storage based on the control console. The second authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determines whether the second authorization result meets the preset conditions. The second terminal of the computing model provider approves the task authorization approval message to obtain a third authorization result. The third authorization result is used to represent the authorization result of the terminal corresponding to the computing model required to execute the target privacy computing task. Then, the second terminal of the data source provider signs the third authorization result, and sends the third authorization result to the preset blockchain for evidence storage based on the control console, so that the privacy computing platform can obtain the third authorization result from the preset blockchain. The third authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and it is determined whether the third authorization result meets the preset conditions. In the process of each privacy computing participant authorizing the target privacy computing task, the computing result user, the data source provider, and the computing model provider independently authorize the target privacy computing task based on the task authorization approval message, and store the authorization result on the preset blockchain, thereby improving the mutual trust of each privacy computing participant and ensuring the mutual trust and cooperation of each privacy computing participant.
[0105] It should be noted that when there are multiple second terminals, the multiple second terminals can independently perform authorization processing on the target privacy computing task based on the task authorization approval message, and the authorization processing sequence may not be set between the second terminals. The authorization results of each second terminal can be sent to the preset blockchain for evidence storage in the principle of first broadcast first chain. In addition, when the privacy participants of the target privacy computing task include multiple data source providers or multiple computing model providers, the multiple data source providers or multiple computing model providers can also not set the authorization processing sequence. The multiple data source providers or multiple computing model providers use the method of first broadcast first chain to send the authorization results used to the preset blockchain for evidence storage. Of course, when the second terminal of the computing result user creates the task authorization approval message, it can also set the authorization processing sequence in the task authorization approval message. For example, the second terminal of the computing result user first performs authorization processing on the target privacy computing task based on the task authorization approval message, and the second terminal of the data source provider then performs authorization processing on the target privacy computing task, and finally the second terminal of the computing model provider performs authorization processing on the target privacy computing task. Similarly, after the authorization results of each second terminal are generated, they can be sent to the preset blockchain in sequence for evidence storage.
[0106] See also Figure 7 , Figure 7 A schematic diagram of a preset blockchain system according to an exemplary embodiment Figure 2 .like Figure 7 As shown in the figure, the alliance creator is the creator of the privacy computing alliance. The alliance creator can create multiple privacy computing alliances, such as Privacy Computing Alliance A, Privacy Computing Alliance B, etc., and then invite privacy computing participants to participate in a privacy computing alliance. Of course, participants can also join a privacy computing alliance by applying to join. The privacy computing alliance performs privacy computing based on trusted computing resources. Optionally, the computing methods used for privacy computing include but are not limited to trusted computing, multi-party secure computing, federated learning, homomorphic encryption, etc. The blockchain service platform is used to manage preset blockchains, such as creating a preset blockchain corresponding to a privacy computing alliance. As Figure 7As shown in the figure, the control console includes multiple service modules, such as computing alliance management center, data directory management center, computing model management center, computing task management center, resource market, data access management, user center, account login, trusted computing cluster, blockchain management module, blockchain event center, system settings, message subscription service, task scheduling service, chain management service, account information service, etc. As a bridge between privacy computing participants and the preset blockchain, the control console can be set in the terminal settings of privacy computing participants, and can provide privacy computing participants with computing alliance services, data management services, blockchain services, event and message services, account management and other services. Privacy computing participants can use related services through the control console.
[0107] In the present application embodiment, Figure 7 As shown in the figure, when the privacy computing participants collaborate, the computing task creator creates the target privacy computing task, and the other privacy computing participants continuously detect on-chain messages through the decentralized control console to obtain task approval events. If the obtained task approval event is related to the privacy computing participant corresponding to the current control console, the privacy computing participant corresponding to the control console will be notified through the event center module in the control console to approve the task. Each privacy computing participant will approve the target privacy computing task created by the computing task creator, and after approval, it will use its own private key to sign, and then store the signed information in the preset blockchain.
[0108] In the embodiment of the present application, Figure 8 is a schematic diagram of a collaboration process of various privacy computing participants according to an exemplary embodiment. Figure 8 As shown in the figure, the computing task creator creates the target privacy computing task, which can only contain basic task information, computing model information, data source information, result user information, etc. Among them, the computing result receiving address in the result user information is empty. Then, the computing result user approves the target privacy computing task. Before approving, the computing result user will first add the computing result receiving address to the computing result receiving address, and then sign the target privacy computing task. Then, the data source provider approves the target privacy computing task signed by the computing result user and signs the target privacy computing task. When there are multiple data source providers, multiple data source providers need to sign the target privacy computing task. Finally, the computing model provider approves the target privacy computing task signed by the computing result user and signs the target privacy computing task. When there are multiple computing model providers, multiple computing model providers need to sign the target privacy computing task. When all privacy computing participants sign the target privacy computing task, the authorization of the target privacy computing task is completed.
[0109] In the present application embodiment, based on Figure 8 The collaborative process of each privacy computing participant is shown in the figure. The following further introduces the blockchain-based privacy computing method from the perspective of each privacy computing participant. Fig. 9 FIG. 1 is a flow chart of a method for a computing task creator to participate in privacy computing according to an exemplary embodiment. Fig. 9 As shown, the method for the computing task creator to participate in privacy computing includes:
[0110] S401: The computing task creator sends a target privacy computing task creation instruction to the control console corresponding to the computing task creator.
[0111] S403: The control console corresponding to the computing task creator verifies the account information of the local first terminal carried in the creation instruction.
[0112] S405: The control console corresponding to the computing task creator checks the privacy computing participants of the target privacy computing task.
[0113] S407: The control console corresponding to the computing task creator sends the target privacy computing task to the preset blockchain for evidence storage.
[0114] S409: The preset blockchain returns the block information of the target privacy computing task to the control console corresponding to the computing task creator.
[0115] S411: The control console corresponding to the computing task creator initiates a computing task authorization request to the preset blockchain.
[0116] S413: The blockchain update task status is preset to be under review by the calculation result user, and a task authorization event of the calculation result user is triggered.
[0117] In the above steps S401 to S413, the computing task creator sends a target privacy computing task creation instruction to the control station corresponding to the computing task creator. When receiving the target privacy computing task creation instruction, the control station corresponding to the computing task creator first verifies the account information of the local first terminal carried in the creation instruction to verify the legitimacy of the local first terminal account. When the verification is passed, the control station corresponding to the computing task creator verifies whether each privacy participant of the target privacy computing task is an alliance participant of the preset blockchain. When the verification is passed, the control station corresponding to the computing task creator sends the target privacy computing task to the preset blockchain for evidence storage. After the preset blockchain stores the target privacy computing task in the blockchain, it returns the block information of the target privacy computing task to the control station corresponding to the computing task creator. Optionally, the block information is a block transaction hash (Transaction ID, TxID). Then, the control station corresponding to the computing task creator initiates a computing task authorization request to the preset blockchain. The preset blockchain updates the task status to the computing result user being reviewed and approved, and triggers the task authorization event of the computing result user. At this time, the task authorization processing flow will be continued by the computing result user.
[0118] Fig.10 is a flowchart of a method for a computing result user to participate in privacy computing according to an exemplary embodiment. Fig.10 As shown in the figure, the methods for users of calculation results to participate in privacy calculation include:
[0119] S501: The event center in the control console corresponding to the calculation result user receives the task authorization event published by the preset blockchain.
[0120] S503: When it is determined that the processing node of the task authorization event is processed by the calculation result user, the event center notifies the calculation result user through the waiting time.
[0121] S505: When receiving the notification from the event center, the calculation result user uses a key generation tool to generate a public-private key pair for encrypting / decrypting the calculation result.
[0122] S507: The calculation result user configures the calculation result ciphertext storage database information.
[0123] S509: The calculation result user sends a result storage database connectivity detection instruction to the control console corresponding to the calculation result user.
[0124] S511: The control console corresponding to the computing result user sends connectivity detection information to the result storage database.
[0125] S513: The result storage database returns the connectivity detection result to the control console corresponding to the calculation result user.
[0126] S515: The control console corresponding to the calculation result user sends the connectivity detection result to the calculation result user.
[0127] S517: The computing result user responds to the task authorization event of the event center.
[0128] S519: The control console corresponding to the calculation result user creates a task authorization approval message.
[0129] S521: The control console corresponding to the calculation result user signs the task authorization approval message.
[0130] S523: The control console corresponding to the calculation result user sends the signed task authorization approval message to the preset blockchain for evidence storage.
[0131] S525: The preset blockchain returns the block information of the target privacy computing task to the control console corresponding to the computing task creator.
[0132] S527: The blockchain update task status is preset to be under review by the data source provider, and a task authorization event of the data source provider is triggered.
[0133] In the above steps S501 to S527, after the event center in the control console corresponding to the calculation result user receives the task authorization event issued by the preset blockchain, the calculation result user locally generates a public-private key pair for encryption / decryption of the calculation result, and then configures the calculation result storage database information for ciphertext storage of the calculation result, and then creates a task authorization approval message based on the target privacy computing task and the calculation result storage database information. Then, the calculation result user authorizes the target privacy computing task based on the task authorization approval message, signs the task authorization approval message, and sends the signed task authorization approval message to the preset blockchain for evidence storage. After the preset blockchain stores the target privacy computing task in the blockchain, it will return the block information of the target privacy computing task to the control console corresponding to the computing task creator. Optionally, the block information is a block transaction hash. Then, the preset blockchain updates the task status to the data source provider being reviewed and approved, and triggers the task authorization event of the data source provider. At this time, the task authorization processing flow will be continued by the data source provider.
[0134] Fig.11 is a flow chart of a method for a data source provider to participate in privacy computing according to an exemplary embodiment. Fig.11 As shown, the methods for data source providers to participate in privacy computing include:
[0135] S601: The event center in the control console corresponding to the data source provider receives the task authorization event published by the preset blockchain.
[0136] S603: When it is determined that the processing node of the task authorization event is processed by the data source provider, the event center notifies the data source provider through the waiting time.
[0137] S605: The data source provider responds to the task authorization event of the event center.
[0138] S607: The control console corresponding to the data source provider signs the task authorization approval message.
[0139] S609: The control console corresponding to the data source provider sends the signed task authorization approval message to the preset blockchain for evidence storage.
[0140] S611: The preset blockchain returns the block information of the target privacy computing task to the control console corresponding to the data source provider.
[0141] S613: The blockchain update task status is preset to be under review by the computing model provider, and a task authorization event of the computing model provider is triggered.
[0142] In the above steps S601 to S613, the event center in the control console corresponding to the data source provider receives the task authorization event issued by the preset blockchain. When it is determined that the processing node of the task authorization event is processed by the calculation result user, the event center notifies the calculation result user through the pending time, and the data source provider responds to the task authorization event of the event center. Then, the data source provider authorizes the target privacy computing task based on the task authorization approval message, signs the task authorization approval message, and sends the signed task authorization approval message to the preset blockchain for evidence storage. After the preset blockchain stores the target privacy computing task in the blockchain, it will return the block information of the target privacy computing task to the control console corresponding to the computing task creator. Optionally, the block information is a block transaction hash. Then, the preset blockchain updates the task status to the computing model provider's approval, and triggers the computing model provider's task authorization event. At this time, the task authorization processing flow will be continued by the computing model provider.
[0143] Fig.12 is a flow chart of a method for a data source provider to participate in privacy computing according to an exemplary embodiment. Fig.12 As shown, the method for the computing model provider to participate in privacy computing includes:
[0144] S701: The event center in the control console corresponding to the computing model provider receives the task authorization event published by the preset blockchain.
[0145] S703: When it is determined that the processing node of the task authorization event is processed by the computing model provider, the event center notifies the computing model provider through the waiting time.
[0146] S705: The computing model provider responds to the task authorization event of the event center.
[0147] S707: The control console corresponding to the computing model provider signs the task authorization approval message.
[0148] S709: The control console corresponding to the computing model provider sends the signed task authorization approval message to the preset blockchain for evidence storage.
[0149] S711: The preset blockchain returns the block information of the target privacy computing task to the control console corresponding to the computing model provider.
[0150] S713: The blockchain update task status is preset to task authorization completed.
[0151] In the above steps S701 to S713, the event center in the control console corresponding to the computing model provider receives the task authorization event issued by the preset blockchain. When it is determined that the processing node of the task authorization event is processed by the computing result user, the event center notifies the computing result user through the pending time, and the computing model provider responds to the task authorization event of the event center. Then, the computing model provider authorizes the target privacy computing task based on the task authorization approval message, signs the task authorization approval message, and sends the signed task authorization approval message to the preset blockchain for evidence storage. After the preset blockchain stores the target privacy computing task in the blockchain, it will return the block information of the target privacy computing task to the control console corresponding to the computing task creator. Optionally, the block information is a block transaction hash. Then, the preset blockchain updates the task status to task authorization completion. At this point, the task authorization processing flow of the target privacy computing task is completed.
[0152] S311: The privacy computing platform obtains the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain.
[0153] In the embodiment of the present application, after the second terminal of each privacy computing participant completes the authorization of the target privacy computing task, the privacy computing platform can obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain. The privacy computing platform processes the authorization result of each second terminal for the target privacy computing task to determine whether to execute the target privacy computing task.
[0154] S313: When the privacy computing platform determines that the authorization result of each second terminal for the target privacy computing task meets the preset conditions, the privacy computing platform executes the target privacy computing task in the trusted computing environment.
[0155] In the embodiment of the present application, when all privacy computing participants have completed the authorization process for the target privacy task and the authorization result is stored on the preset blockchain, the privacy computing platform can obtain the authorization result of the privacy computing participant for the target privacy computing task from the preset blockchain, and determine whether each privacy computing participant is authorized to execute the target privacy computing task by judging the authorization result of each privacy computing participant. Specifically, the target privacy computing task obtained by the privacy computing platform from the preset blockchain includes computing resource information. When the privacy computing platform determines that the approval result of each second terminal for the target privacy computing task meets the preset conditions, the privacy computing platform obtains the computing resources required to execute the target privacy computing task based on the computing resource information. The privacy computing platform executes the target privacy computing task in a trusted computing environment based on the acquired computing resources. The privacy computing platform obtains the computing resources required for the target privacy computing task and performs privacy computing on these computing resources in a trusted computing environment, so that the confidentiality and integrity of the data of each privacy computing participant are protected, the security of the privacy computing execution process is improved, and the mutual trust and cooperation of each privacy computing participant can also be ensured.
[0156] In the privacy computing method based on blockchain described in the embodiment of the present application, each privacy computing participant will approve the privacy computing task created by the computing task creator, and will use its own private key to sign after approval. When each collaborating privacy computing participant completes the signature of the target privacy computing task, an approved target privacy computing task is constructed, which can be sent to a trusted computing environment for execution. This solution uses the characteristics of blockchain data sharing and non-tamperability to achieve trusted collaboration among multiple participants in decentralized privacy computing. The approval operation of each privacy computing participant is triggered by a blockchain event, and all approval operations will be stored on the chain to ensure the security of the data and the credibility of the entire multi-party interactive collaboration.
[0157] Based on the above description, the following introduces a specific embodiment of a privacy computing method based on blockchain in the present application, taking the first terminal as the execution subject. Fig.13 is a flowchart showing a privacy computing method based on blockchain with a first terminal as the execution subject according to an exemplary embodiment, such as Fig.13 As shown, the method may include:
[0158] S801: Create a target privacy-preserving computing task and send the target privacy-preserving computing task to a preset blockchain for evidence storage;
[0159] S803: Based on the preset blockchain, a computing task authorization request is issued to at least one second terminal, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and at least one second terminal sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage; wherein the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
[0160] In some optional embodiments, creating a target privacy-preserving computing task and sending the target privacy-preserving computing task to a preset blockchain for evidence storage includes:
[0161] Creating a target privacy-preserving computing task; the target privacy-preserving computing task includes task description information, computing resource information, and account information of the local first terminal;
[0162] Verifying the account information of the local first terminal;
[0163] If the verification is passed, the task description information and computing resource information will be sent to the preset blockchain for evidence storage.
[0164] Based on the above description, the following introduces a specific embodiment of a privacy computing method based on blockchain in this application, taking the second terminal as the execution subject. Fig.14 is a flowchart showing a privacy computing method based on blockchain with a second terminal as the execution subject according to an exemplary embodiment, such as Fig.14 As shown, the method may include:
[0165] S901: Receive a computing task authorization request issued by a first terminal based on a preset blockchain;
[0166] S903: In response to the computing task authorization request, authorize the target privacy-preserving computing task; the target privacy-preserving computing task is created for the first terminal and sent by the first terminal to a preset blockchain for evidence storage;
[0167] S905: Send the authorization result of the target privacy computing task to the preset blockchain for evidence storage; wherein, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each local second terminal meets the preset conditions.
[0168] In some optional embodiments, in response to a computing task authorization request, authorizing a target privacy computing task includes:
[0169] Creating a task authorization approval message in response to a computing task authorization request;
[0170] Authorize the target privacy computing task based on the task authorization approval message.
[0171] In some optional embodiments, creating a task authorization approval message in response to a computing task authorization request includes:
[0172] In response to a computing task authorization request, determining computing result storage database information; the computing task authorization request carries a target privacy computing task;
[0173] Create a task authorization approval message based on the target privacy computing task and the computing result storage database information;
[0174] Authorize the target privacy computing task based on the task authorization approval message;
[0175] The authorization result of the target privacy computing task is sent to the preset blockchain for evidence storage.
[0176] In some optional embodiments, creating a task authorization approval message based on the target privacy computing task and the computing result storage database information includes:
[0177] Based on the calculation result storage database information, a connectivity test is performed on the calculation result storage database;
[0178] When the connectivity test results meet the preset test conditions, a task authorization approval message is created based on the target privacy computing task and the computing result storage database information.
[0179] In some optional embodiments, the method further comprises:
[0180] Perform authorization processing on the task authorization approval message to obtain a first authorization result; the first authorization result is used to represent the authorization result of the terminal that consumes the calculation result of the target privacy computing task;
[0181] The first authorization result is sent to the preset blockchain for evidence storage; the first authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the first authorization result meets the preset conditions.
[0182] In some optional embodiments, the method further comprises:
[0183] The task authorization approval message is approved and processed to obtain a second authorization result; the second authorization result is used to represent the authorization result of the terminal corresponding to the data source required to execute the target privacy computing task;
[0184] The second authorization result is sent to the preset blockchain for evidence storage; the second authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the second authorization result meets the preset conditions.
[0185] In some optional embodiments, the method further comprises:
[0186] The task authorization approval message is approved and processed to obtain a third authorization result; the third authorization result is used to represent the authorization result of the terminal corresponding to the computing model required to execute the target privacy computing task;
[0187] The third authorization result is sent to the preset blockchain for evidence storage, so that the privacy computing platform can obtain the third authorization result from the preset blockchain; the third authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the third authorization result meets the preset conditions.
[0188] Based on the above description, the following introduces a specific embodiment of a privacy computing method based on blockchain in this application, taking the privacy computing platform as the execution subject. Fig.15 is a flowchart showing a privacy computing method based on blockchain with a privacy computing platform as the execution subject according to an exemplary embodiment, such as Fig.15 As shown, the method may include:
[0189] S1001: Obtaining a target privacy-preserving computing task and an authorization result of at least one second terminal for the target privacy-preserving computing task from a preset blockchain; the target privacy-preserving computing task is created by a first terminal and sent by the first terminal to a preset blockchain for evidence storage; the authorization result of the target privacy-preserving computing task by at least one second terminal is that at least one second terminal authorizes the target privacy-preserving computing task in response to a computing task authorization request, and the authorization result is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain;
[0190] S1003: When it is determined that the authorization result of each second terminal for the target privacy computing task meets a preset condition, execute the target privacy computing task in the trusted computing environment.
[0191] In some optional embodiments, the target privacy-preserving computing task obtained from the preset blockchain includes computing resource information; when it is determined that the authorization result of each second terminal for the target privacy-preserving computing task meets a preset condition, executing the target privacy-preserving computing task in the trusted computing environment includes:
[0192] When it is determined that the approval result of each second terminal for the target privacy computing task meets the preset conditions, the computing resources required to execute the target privacy computing task are acquired based on the computing resource information;
[0193] Based on the acquired computing resources, the target privacy computing task is executed in a trusted computing environment.
[0194] The present application also discloses a privacy computing device based on blockchain. Fig.16 A privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 1 .like Fig.16 As shown, the device may include at least:
[0195] A target privacy-preserving computing task creation module 1101 is used to create a target privacy-preserving computing task and send the target privacy-preserving computing task to a preset blockchain for evidence storage;
[0196] The computing task authorization request issuing module 1103 is used to issue a computing task authorization request to at least one second terminal based on a preset blockchain, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and at least one second terminal sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0197] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each second terminal meets the preset conditions.
[0198] In some optional embodiments, the target privacy computing task creation module includes:
[0199] A target privacy computing task creation unit, used to create a target privacy computing task; the target privacy computing task includes task description information, computing resource information and account information of the local first terminal;
[0200] A verification unit, used to verify the account information of the local first terminal;
[0201] The sending unit is used to send the task description information and computing resource information to the preset blockchain for evidence storage when the verification is passed.
[0202] It should be noted that the blockchain-based privacy computing device embodiment provided in the embodiments of the present application and the above-mentioned blockchain-based privacy computing method embodiment are based on the same inventive concept.
[0203] The present application also discloses another privacy computing device based on blockchain. Fig.17 Another privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 2 .like Fig.17 As shown, the device may include at least:
[0204] The computing task authorization request receiving module 1201 is used to receive a computing task authorization request issued by the first terminal based on a preset blockchain;
[0205] The authorization module 1203 is used to authorize the target privacy-preserving computing task in response to the computing task authorization request; the target privacy-preserving computing task is created by the first terminal and sent by the first terminal to a preset blockchain for evidence storage;
[0206] The authorization result sending module 1205 is used to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0207] Among them, the target privacy computing task and authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of the target privacy computing task by each local second terminal meets the preset conditions.
[0208] In some optional embodiments, the authorization module includes:
[0209] A task authorization approval message creation submodule, used to create a task authorization approval message in response to a computing task authorization request;
[0210] The authorization submodule is used to authorize the target privacy computing task based on the task authorization approval message.
[0211] In some optional embodiments, the task authorization approval message creation submodule includes:
[0212] A computing result storage database information determination unit, used to determine computing result storage database information in response to a computing task authorization request; the computing task authorization request carries a target privacy computing task;
[0213] A task authorization and approval message creation unit, used to create a task authorization and approval message based on the target privacy computing task and the computing result storage database information;
[0214] An authorization unit, used to authorize the target privacy computing task based on the task authorization approval message;
[0215] The authorization result sending unit is used to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage.
[0216] In some optional embodiments, the task authorization approval message creation unit includes:
[0217] A connectivity test subunit, configured to perform a connectivity test on the calculation result storage database based on the calculation result storage database information;
[0218] The task authorization and approval message creation subunit is used to create a task authorization and approval message based on the target privacy computing task and the computing result storage database information when the connectivity test results meet the preset test conditions.
[0219] In some optional embodiments, the device further comprises:
[0220] A first authorization result determination module is used to perform authorization processing on the task authorization approval message to obtain a first authorization result; the first authorization result is used to represent the authorization result of the terminal that consumes the calculation result of the target privacy computing task;
[0221] The first authorization result sending module is used to send the first authorization result to the preset blockchain for evidence storage; the first authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform and determine whether the first authorization result meets the preset conditions.
[0222] In some optional embodiments, the device further comprises:
[0223] A second authorization result determination module is used to process the task authorization approval message and obtain a second authorization result; the second authorization result is used to represent the authorization result of the terminal corresponding to the data source required to execute the target privacy computing task;
[0224] The second authorization result sending module is used to send the second authorization result to the preset blockchain for evidence storage; the second authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform and determine whether the second authorization result meets the preset conditions.
[0225] In some optional embodiments, the device further comprises:
[0226] A third authorization result determination module is used to approve the task authorization approval message to obtain a third authorization result; the third authorization result is used to characterize the authorization result of the terminal corresponding to the computing model required to execute the target privacy computing task;
[0227] The third authorization result sending module is used to send the third authorization result to the preset blockchain for evidence storage, so that the privacy computing platform can obtain the third authorization result from the preset blockchain; the third authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform and determine whether the third authorization result meets the preset conditions.
[0228] It should be noted that the blockchain-based privacy computing device embodiment provided in the embodiments of the present application and the above-mentioned blockchain-based privacy computing method embodiment are based on the same inventive concept.
[0229] The present application also discloses another privacy computing device based on blockchain. Fig.18 Another privacy computing device framework based on blockchain is shown according to an exemplary embodiment Figure 3 .like Fig.18 As shown, the device may include at least:
[0230] The authorization result acquisition module 1301 is used to obtain the target privacy computing task and the authorization result of the target privacy computing task by at least one second terminal from the preset blockchain; the target privacy computing task is created by the first terminal and sent by the first terminal to the preset blockchain for evidence storage; the authorization result of the target privacy computing task by at least one second terminal is that at least one second terminal authorizes the target privacy computing task in response to the computing task authorization request, and is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain;
[0231] The execution module 1303 is used to execute the target privacy computing task in the trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
[0232] In some optional embodiments, the target privacy computing task obtained from the preset blockchain includes computing resource information; and the execution module includes:
[0233] A computing resource acquisition unit, configured to acquire computing resources required for executing the target privacy computing task based on the computing resource information when it is determined that the approval result of each second terminal for the target privacy computing task meets a preset condition;
[0234] The execution unit is used to execute the target privacy computing task in a trusted computing environment based on the acquired computing resources.
[0235] It should be noted that the blockchain-based privacy computing device embodiment provided in the embodiments of the present application and the above-mentioned blockchain-based privacy computing method embodiment are based on the same inventive concept.
[0236] The present application also discloses a privacy computing system based on blockchain. Fig.19 FIG. 1 is a block diagram of another privacy computing system based on blockchain according to an exemplary embodiment. Fig.19 As shown, the system includes a first terminal, at least one second terminal and a privacy computing platform;
[0237] The first terminal is used to create a target privacy-preserving computing task, send the target privacy-preserving computing task to a preset blockchain for evidence storage, and issue a computing task authorization request to at least one second terminal based on the preset blockchain;
[0238] The second terminal is used to respond to the computing task authorization request, authorize the target privacy computing task, and send the authorization result of the target privacy computing task to the preset blockchain for evidence storage;
[0239] The privacy computing platform is used to obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain, and execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
[0240] An embodiment of the present application also provides an electronic device for privacy computing based on blockchain, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement a privacy computing method based on blockchain as provided in any of the above embodiments.
[0241] An embodiment of the present application also provides a computer-readable storage medium, which can be set in a terminal to store at least one instruction or at least one program for implementing a blockchain-based privacy computing method in a method embodiment. The at least one instruction or at least one program is loaded and executed by a processor to implement the blockchain-based privacy computing method provided in the above method embodiment.
[0242] Optionally, in the embodiment of this specification, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the above storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0243] The memory of the embodiment of this specification can be used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, applications required for functions, etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.
[0244] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the privacy computing method based on blockchain provided by the above method embodiment.
[0245] The method embodiments provided in the embodiments of the present application can be executed in a terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Fig. 20 FIG. 1 is a hardware structure diagram of a server of a privacy computing method based on blockchain provided according to an exemplary embodiment. Fig. 20As shown, the server 700 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1410 (the central processing unit 1410 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1430 for storing data, and one or more storage media 1420 (such as one or more mass storage devices) for storing application programs 1423 or data 1422. Among them, the memory 1430 and the storage medium 1420 can be short-term storage or permanent storage. The program stored in the storage medium 1420 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit 1410 can be configured to communicate with the storage medium 1420 and execute a series of instruction operations in the storage medium 1420 on the server 1400. The server 1400 may also include one or more power supplies 1460, one or more wired or wireless network interfaces 1450, one or more input and output interfaces 1440, and / or one or more operating systems 1421, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.
[0246] The input / output interface 1440 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the server 1400. In one example, the input / output interface 1440 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 1440 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0247] It can be understood by those skilled in the art that Fig. 20 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig. 20 More or fewer components as shown, or with Fig. 20 Different configurations are shown.
[0248] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0249] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and server embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0250] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0251] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A privacy computing method based on blockchain, characterized in that: The method comprises: Create a target privacy-preserving computing task and send the target privacy-preserving computing task to a preset blockchain for evidence storage; Based on the preset blockchain, a computing task authorization request is issued to at least one second terminal, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and at least one second terminal sends the authorization result of the target privacy computing task to the preset blockchain for evidence storage; Among them, the target privacy computing task and the authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
2. The method according to claim 1, characterized in that The step of creating a target privacy-preserving computing task and sending the target privacy-preserving computing task to a preset blockchain for evidence storage includes: Creating a target privacy-preserving computing task; the target privacy-preserving computing task includes task description information, computing resource information, and account information of the local first terminal; Verifying the account information of the local first terminal; If the verification is passed, the task description information and the computing resource information are sent to the preset blockchain for evidence storage.
3. A privacy computing method based on blockchain, characterized in that: The method comprises: Receiving a computing task authorization request issued by the first terminal based on a preset blockchain; In response to the computing task authorization request, authorizing the target privacy-preserving computing task; the target privacy-preserving computing task is created for the first terminal and sent by the first terminal to the preset blockchain for evidence storage; Sending the authorization result of the target privacy computing task to the preset blockchain for evidence storage; Among them, the target privacy computing task and the authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each local second terminal for the target privacy computing task meets the preset conditions.
4. The method according to claim 3, characterized in that The step of authorizing the target privacy-preserving computing task in response to the computing task authorization request includes: Creating a task authorization approval message in response to the computing task authorization request; The target privacy computing task is authorized based on the task authorization approval message.
5. The method according to claim 4, characterized in that The step of creating a task authorization approval message in response to the computing task authorization request includes: In response to the computing task authorization request, determining computing result storage database information; the computing task authorization request carries the target privacy computing task; Creating the task authorization approval message based on the target privacy computing task and the computing result storage database information; Authorizing the target privacy computing task based on the task authorization approval message; The authorization result of the target privacy computing task is sent to the preset blockchain for evidence storage.
6. The method according to claim 5, characterized in that The step of creating the task authorization approval message based on the target privacy computing task and the computing result storage database information includes: Based on the calculation result storage database information, performing a connectivity test on the calculation result storage database; When the connectivity test result meets the preset test conditions, the task authorization approval message is created based on the target privacy computing task and the computing result storage database information.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: Performing authorization processing on the task authorization approval message to obtain a first authorization result; the first authorization result is used to represent the authorization result of the terminal that consumes the calculation result of the target privacy computing task; The first authorization result is sent to the preset blockchain for evidence storage; the first authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the first authorization result meets the preset conditions.
8. The method according to claim 5 or 6, characterized in that: The method further comprises: The task authorization approval message is approved and processed to obtain a second authorization result; the second authorization result is used to represent the authorization result of the terminal corresponding to the data source required to execute the target privacy computing task; The second authorization result is sent to a preset blockchain for evidence storage; the second authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the second authorization result meets preset conditions.
9. The method according to claim 5 or 6, characterized in that: The method further comprises: The task authorization approval message is approved and processed to obtain a third authorization result; the third authorization result is used to represent the authorization result of the terminal corresponding to the computing model required to execute the target privacy computing task; The third authorization result is sent to the preset blockchain for evidence storage, so that the privacy computing platform can obtain the third authorization result from the preset blockchain; the third authorization result stored in the preset blockchain is used to be obtained by the privacy computing platform, and determine whether the third authorization result meets the preset conditions.
10. A privacy computing method based on blockchain, characterized in that: The method comprises: Obtaining a target privacy-preserving computing task and an authorization result of at least one second terminal for the target privacy-preserving computing task from a preset blockchain; the target privacy-preserving computing task is created by a first terminal and sent by the first terminal to the preset blockchain for evidence storage; the authorization result of at least one second terminal for the target privacy-preserving computing task is that at least one second terminal authorizes the target privacy-preserving computing task in response to a computing task authorization request, and the authorization result is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain; When it is determined that the authorization result of each second terminal for the target privacy computing task meets a preset condition, the target privacy computing task is executed in a trusted computing environment.
11. The method according to claim 10, characterized in that The target privacy-preserving computing task obtained from the preset blockchain includes computing resource information; and when it is determined that the authorization result of each second terminal for the target privacy-preserving computing task meets a preset condition, executing the target privacy-preserving computing task in a trusted computing environment includes: When it is determined that the approval result of each second terminal for the target privacy computing task meets a preset condition, acquiring computing resources required to execute the target privacy computing task based on the computing resource information; Based on the acquired computing resources, the target privacy computing task is executed in a trusted computing environment.
12. A privacy computing device based on blockchain, characterized in that: The device comprises: A target privacy computing task creation module is used to create a target privacy computing task and send the target privacy computing task to a preset blockchain for evidence storage; A computing task authorization request issuing module, configured to issue a computing task authorization request to at least one second terminal based on the preset blockchain, so that at least one second terminal responds to the computing task authorization request and authorizes the target privacy computing task; and enables at least one second terminal to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage; Among them, the target privacy computing task and the authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
13. A privacy computing device based on blockchain, characterized in that: The device comprises: A computing task authorization request receiving module, used to receive a computing task authorization request issued by the first terminal based on a preset blockchain; An authorization module, configured to authorize a target privacy-preserving computing task in response to the computing task authorization request; the target privacy-preserving computing task is created by the first terminal and sent by the first terminal to the preset blockchain for evidence storage; An authorization result sending module, used to send the authorization result of the target privacy computing task to the preset blockchain for evidence storage; Among them, the target privacy computing task and the authorization result stored in the preset blockchain are used to be obtained by the privacy computing platform; the privacy computing platform is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each local second terminal for the target privacy computing task meets the preset conditions.
14. A privacy computing device based on blockchain, characterized in that: The device comprises: An authorization result acquisition module is used to obtain a target privacy computing task and an authorization result of at least one second terminal for the target privacy computing task from a preset blockchain; the target privacy computing task is created by a first terminal and sent by the first terminal to the preset blockchain for evidence storage; the authorization result of at least one second terminal for the target privacy computing task is that at least one second terminal authorizes the target privacy computing task in response to a computing task authorization request, and is sent by at least one second terminal to the preset blockchain for evidence storage; the computing task authorization request is issued by the first terminal to at least one second terminal based on the preset blockchain; An execution module is used to execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets a preset condition.
15. A privacy computing system based on blockchain, characterized in that: The system includes a first terminal, at least one second terminal and a privacy computing platform; The first terminal is used to create a target privacy-preserving computing task, send the target privacy-preserving computing task to a preset blockchain for evidence storage, and issue a computing task authorization request to at least one second terminal based on the preset blockchain; The second terminal is used to authorize the target privacy-preserving computing task in response to the computing task authorization request, and send the authorization result of the target privacy-preserving computing task to the preset blockchain for evidence storage; The privacy computing platform is used to obtain the target privacy computing task and the authorization result of each second terminal for the target privacy computing task from the preset blockchain, and execute the target privacy computing task in a trusted computing environment when it is determined that the authorization result of each second terminal for the target privacy computing task meets the preset conditions.
