Block chain data processing task authorization method and device and block chain system

By determining the visible range and authorization signature of task resources in the blockchain, the problem of insufficient security in the task resource authorization process in the traditional blockchain system is solved, and higher data processing task security is achieved.

CN118797731APending Publication Date: 2024-10-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310422924.X
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

Technical Problem

Traditional blockchain systems have poor security issues in the authorization process of data processing task resources, especially the risk of data leakage of task resources is high.

Method used

By determining the visible scope of the target task resource in the blockchain and updating the task signature of the data processing task based on the resource provider's authorization signature, decentralized task authorization is achieved to ensure that resources are authorized before use.

Benefits of technology

It effectively reduces the risk of data leakage of task resources, improves the security of data processing tasks, and uses the trusted storage and data sharing characteristics of the blockchain to achieve a decentralized authorization method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797731A_ABST
    Figure CN118797731A_ABST
Patent Text Reader

Abstract

The invention relates to a block chain data processing task authorization method and device, a block chain system, computer equipment, a computer readable storage medium and a computer program product. The block chain data processing task authorization method and device can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic and auxiliary driving. The method comprises the steps of obtaining a data processing task created by a task creation party, and determining a target task resource required to be used by the data processing task; the target task resource is determined from each candidate task resource by the task creator based on the visible range of each candidate task resource in the block chain; determining a resource provider of the target task resource under the condition that the target task resource is the resource needing to be authorized for use; obtaining a resource use authorization signature provided by a resource provider for the target task resource; and updating the task signature of the data processing task based on the resource use authorization signature to obtain an authorization task. By adopting the method, the safety can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a blockchain data processing task authorization method, device, blockchain system, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. It is essentially a decentralized database with many advantages such as immutability, uniqueness of value, openness and privacy.

[0003] In traditional blockchain systems, resource providers provide task resources, which are then made public to all blockchain computing nodes after being uploaded to the chain. When a data processing task requires the use of the task resources, the participants of the data processing task obtain the task resources and perform task processing based on the task resources. In the above processing process, there is a risk of data leakage of task resources, which has the disadvantage of poor security. Summary of the invention

[0004] Based on this, it is necessary to provide a blockchain data processing task authorization method, device, blockchain system, computer equipment, computer-readable storage medium and computer program product that can improve security in response to the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a blockchain data processing task authorization method. The method comprises:

[0006] Acquire a data processing task created by a task creator, and determine a target task resource required to be used by the data processing task; the target task resource is determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain;

[0007] In the case where the target task resource is a resource requiring authorization for use, determining a resource provider of the target task resource;

[0008] Obtaining a resource use authorization signature provided by the resource provider for the target task resource;

[0009] Based on the resource use authorization signature, the task signature of the data processing task is updated to obtain an authorized task.

[0010] In a second aspect, the present application provides a blockchain system. The blockchain system includes a task creator, a resource provider, and a blockchain control console;

[0011] The task creator is used to create a data processing task, and based on the visible range of each candidate task resource in the blockchain, determine the target task resource that the data processing task needs to use from each candidate task resource;

[0012] The blockchain control console is used to obtain the data processing task, determine the target task resources required for the data processing task, and, if the target task resources are resources that require authorization to use, determine the resource provider of the target task resources;

[0013] The resource provider of the target task resource is used to provide a resource use authorization signature for the target task resource;

[0014] The blockchain control console is also used to obtain the resource use authorization signature, and based on the resource use authorization signature, update the task signature of the data processing task to obtain an authorized task.

[0015] In a third aspect, the present application provides a blockchain data processing task authorization device. The device includes:

[0016] A target task resource determination module is used to obtain a data processing task created by a task creator and determine the target task resources required for the data processing task; the target task resources are determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain;

[0017] A resource provider determination module, used to determine the resource provider of the target task resource when the target task resource is a resource requiring authorization for use;

[0018] A signature acquisition module is used to acquire a resource use authorization signature provided by the resource provider for the target task resource;

[0019] The task authorization module is used to update the task signature of the data processing task based on the resource use authorization signature to obtain an authorized task.

[0020] In a fourth aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0021] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0022] In a sixth aspect, the present application provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0023] The above-mentioned blockchain data processing task authorization method, device, blockchain system, computer equipment, computer-readable storage medium and computer program product obtain the data processing task created by the task creator, determine the target task resource that the data processing task needs to use, and the target task resource is determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain, which is equivalent to that each candidate task resource in the blockchain can correspond to a different visible range, and the resource visible range can be controlled to reduce the risk of data leakage of the task resource, which is conducive to improving security; when the target task resource is a resource that requires authorization to use, determine the resource provider of the target task resource, and obtain the resource use authorization signature provided by the resource provider for the target task resource, and then, based on the resource use authorization signature, update the task signature of the data processing task to obtain the authorized task, that is, before using the resource that requires authorization to use, it is necessary to obtain the authorization of the resource provider of the task resource, and update the task signature of the data processing task, which is equivalent to utilizing the characteristics of blockchain trusted evidence and data sharing, and realizing task authorization for data processing tasks in a decentralized manner, and obtaining authorized tasks, which is conducive to further improving security. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of a data sharing system in one embodiment;

[0025] Figure 2 A schematic diagram of the structure of a blockchain in one embodiment;

[0026] Figure 3 Schematic diagram of a process of generating a new block in one embodiment;

[0027] Figure 4 This is an application environment diagram of a blockchain data processing task authorization method in one embodiment;

[0028] Figure 5 A flowchart of a blockchain data processing task authorization method in one embodiment;

[0029] Figure 6 A schematic diagram of a task creation process of a blockchain in one embodiment;

[0030] Figure 7 A schematic diagram of the approval process of a data source provider for a data processing task in one embodiment;

[0031] Figure 8A schematic diagram of the process of uploading a data source to a blockchain in one embodiment;

[0032] Fig. 9 A schematic diagram of the process of uploading a computing model to a blockchain in an embodiment;

[0033] Fig.10 A schematic diagram of the approval process of multiple resource providers for data processing tasks in one embodiment;

[0034] Fig.11 A schematic diagram of the approval process of a result user for a data processing task in one embodiment;

[0035] Fig.12 A flowchart of a blockchain data processing task authorization method in another embodiment;

[0036] Fig.13 A structural block diagram of a blockchain system in one embodiment;

[0037] Fig.14 A schematic diagram of the composition of alliance members of a task processing alliance in one embodiment;

[0038] Fig.15 A schematic diagram of the task processing principle of a privacy computing scenario in one embodiment;

[0039] Fig.16 A schematic diagram of a trusted resource acquisition process in a privacy computing scenario in one embodiment;

[0040] Fig.17 A schematic diagram of the approval process of the participants of a data processing task in one embodiment;

[0041] Fig.18 A schematic diagram of a process for implementing multi-party collaborative approval based on blockchain in one embodiment;

[0042] Fig.19 It is a structural block diagram of a blockchain data processing task authorization device in one embodiment;

[0043] Fig. 20 is an internal structure diagram of a computer device in one embodiment;

[0044] Fig.21 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is 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 present application and are not used to limit the present application.

[0046] Before going into detail, some terms involved in this application are explained first.

[0047] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0048] The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operation monitoring. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining public and private key generation (account management), key management, and the maintenance of the correspondence between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records valid requests to storage after consensus is reached. For a new business request, the basic service first adapts the interface for parsing and authentication (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management). The smart contract module is responsible for the registration and issuance of contracts, as well as contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other events are called to trigger the execution and complete the contract logic. It also provides the function of contract upgrade and cancellation. The operation monitoring module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and real-time status visualization output of the product during the product release process, such as alarm, network monitoring, node equipment health monitoring, etc.

[0049] The platform product service layer provides the basic capabilities and implementation framework of typical applications. Developers can superimpose business features based on these basic capabilities to complete the blockchain implementation of business logic. The application service layer provides application services based on blockchain solutions for business participants to use.

[0050] The blockchain data processing task authorization method provided in the embodiment of the present application can be applied to the data sharing system. Figure 1The data sharing system shown, the data sharing system 100 refers to a system for sharing data between nodes, and the data sharing system may include multiple nodes 101, and the multiple nodes 101 may refer to each client in the data sharing system. Each node 101 can receive input information when performing normal work, and maintain the shared data in the data sharing system based on the received input information. In order to ensure the information intercommunication within the data sharing system, there may be an information connection between each node in the data sharing system, and information can be transmitted between nodes through the above information connection. For example, when any node in the data sharing system receives input information, other nodes in the data sharing 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 data sharing system are consistent.

[0051] Each node in the data sharing system has a corresponding node identifier, and each node in the data sharing system can store the node identifiers of other nodes in the data sharing system, so that the generated blocks can be broadcast to other nodes in the data sharing 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. 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.

[0052] Each node in the data sharing system stores the same blockchain. The blockchain consists of multiple blocks, see Figure 2 The blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores the input information characteristic value, version number, timestamp and difficulty value, and the block body stores the input information; the next block of the genesis block takes the genesis block as the parent block, and the next block also includes a block header and a block body. The block header stores the input information characteristic value of the current block, the block header characteristic value, version number, timestamp and difficulty value of the parent block, and so on, so that the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block.

[0053] The specific types of blockchain include public chain, private chain and alliance chain. Among them, the alliance chain refers to the blockchain whose consensus process is controlled by pre-selected nodes. Taking the alliance chain as an example, when generating each block in the blockchain, refer to Figure 3, including steps such as submitting transactions, broadcasting transactions, pre-executing transactions, proposing blocks, verifying blocks, consensus voting and submitting blocks. Specifically, the client submits a blockchain transaction, such as contract creation, calling transactions, certificate management transactions, etc. Then, the transaction is broadcast to other nodes in the alliance through the network. Then, the block-producing node selects a batch of transactions from the transaction pool, schedules and executes them in parallel to obtain the results, generates a directed acyclic graph, and broadcasts the generated blocks and directed acyclic graphs to other consensus nodes through the consensus module. In the process of verifying the block, the proposal block is received, the transaction is executed in parallel based on the directed acyclic graph, and the results are verified to be consistent. If the results are consistent, a consensus vote is performed on the proposal block based on the corresponding consensus mechanism. The block that completes the consensus vote is submitted to the ledger to complete the disk operation.

[0054] The blockchain data processing task authorization method provided in this application can be applied to Figure 4 In the application environment shown. The application environment includes a task creator 401, a resource provider 402 and a blockchain control console 403. The task creator 401 and the resource provider 402 can communicate with the blockchain control console 403 through a network, and the task creator 401, the resource provider 402 and the blockchain control console 403 can realize the consensus, data recording and chain functions in the blockchain technology based on smart contracts. Among them, the blockchain control console 403, in the process of implementing the blockchain data processing task authorization method: obtains the data processing task created by the task creator 401, and determines the target task resources required for the data processing task; the target task resources are determined by the task creator 401 from each candidate task resource based on the visible range of each candidate task resource in the blockchain; in the case where the target task resource is a resource that needs to be authorized for use, the resource provider 402 of the target task resource is determined; the resource use authorization signature provided by the resource provider 402 for the target task resource is obtained; based on the resource use authorization signature, the task signature of the data processing task is updated to obtain the authorized task.

[0055] Furthermore, the task creator 401, the resource provider 402 and the blockchain control console 403 can all be implemented through a terminal or a server. The terminal includes but is not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc. The server can be implemented as an independent server or a server cluster composed of multiple servers. The embodiments of the present invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.

[0056] In one embodiment, Figure 5 As shown, a blockchain data processing task authorization method is provided. This embodiment applies this method to Figure 4 The blockchain control console 403 in the example is used as an example to illustrate, including the following steps:

[0057] Step S502: Acquire the data processing task created by the task creator, and determine the target task resources that the data processing task needs to use.

[0058] Among them, the task creator refers to the participant in the blockchain who is responsible for creating the data processing task. The data processing task is a task implemented based on the blockchain platform, and the data processing task can be, for example, a data storage task, a data analysis task, etc. The target task resource is determined by the task creator from each candidate task resource based on the visible scope of each candidate task resource in the blockchain. That is to say, when creating a data processing task, the task creator determines the target task resource required for the created data processing task from the candidate task resources disclosed to itself in the blockchain. The candidate task resources may include candidate data sources and candidate computing models. Among them, the data source refers to the specific source of data used in data analysis, including relational databases, metadata, file-type data, big data data sources, etc.; the computing model is used to characterize the processing algorithm for the data source, which may specifically include the organization and storage method of the data source, emphasizing the processing of the data source from the perspectives of business, data access, and use. The computing model may include multiple types such as data set model, stored process model, and form filling model, and the computing model may be characterized by elements such as data constraints, data structure, and data operations. For example, data constraints may be constraints on data, such as gender can only be male or female, data structure may refer to the relationship between different tables, and data operations may be operations such as merging, splitting, pivoting, and unpivoting different data tables.

[0059] Specifically, the blockchain control console obtains the data processing task created by the task creator, and determines the target task resources that the data processing task needs to use when the task creator creates the data processing task. The specific way for the blockchain control console to obtain the data processing task can be active acquisition or passive reception. For example, Figure 6 As shown, the task creator can create a data processing task and send the task parameters of the data processing task to the blockchain control console. The task parameters may include the identifiers of the participants in the data processing task and the target task resources to be used, etc. Then, the blockchain control console will perform a legitimacy check on the task parameters, and if the check passes, the original information of the data processing task will be uploaded to the chain, and the transaction identifier (TXID, Transaction Identifier) ​​of the data processing task fed back by the blockchain will be obtained for blockchain distributed accounting.

[0060] Furthermore, the candidate task resources are disclosed to the task creator, which may refer to the original data of the candidate task resources disclosed to the task creator; or it may refer to the use disclosure, that is, the task creator can use the candidate task resources, but cannot obtain the source files of the candidate task resources. In one possible implementation, the candidate task resources are privacy computing resources. Among them, privacy computing (Privacy compute or Privacy computing) refers to a series of information technologies that analyze and calculate data on the premise that the resource provider does not disclose the original data, and ensure that the data is "available but invisible" during the circulation and integration process. In other words, privacy computing can realize the transformation and release of data value under the premise of fully protecting data and privacy security. Specifically, in the privacy computing scenario, after the authorized data processing task goes online, the participants of the data processing task can use the target task resources to process the authorized task based on mechanisms such as multi-party secure computing, federated learning or multi-party intermediary computing, or in a trusted execution environment, and obtain the task processing results.

[0061] Step S504: when the target task resource is a resource requiring authorization for use, determine the resource provider of the target task resource.

[0062] Among them, resource providers refer to participants who provide task resources in the blockchain. It can be understood that for the same participant, multiple identities can be held at the same time. For example, participant A can be the task creator and resource provider of data processing task B; for another example, participant A can be the task creator of data processing task B and the resource provider of data processing task C. Furthermore, the number of target task resources that a data processing task needs to use can be one or more, and among multiple target task resources, the number of resources that need to be authorized to use can be one or more.

[0063] Specifically, the resource provider can set the visible scope and use authorization requirements of the provided task resources. The visible scope may include, for example, multiple modes such as private, directional disclosure, associated disclosure and unrestricted. Among them, private means that the task resources are only open to themselves, that is, only the resource provider can use the task resources provided by itself. When the resource provider of the data processing task is also the task creator of the data processing task, the task resources can be used. Unrestricted means that the task resources are open to all nodes, that is, all nodes on the blockchain (regardless of whether the task creator and the resource provider belong to the same task processing alliance) can apply to use the task resources. Targeted disclosure means that the task resources are open to a specific task processing alliance. The specific task processing alliance can be at least a part of the multiple task processing alliances joined by the resource provider. Associated disclosure means that the task resources provided by the resource provider are open to the task processing alliance to which the resource provider belongs, that is, the task processing alliance to which the resource provider is currently located, and the alliance members of the task processing alliance invited to join in the future can apply to use the task resources. It should be noted that, in other embodiments, the resource provider may also determine the visible range of the task resource by specifying the visible nodes of the provided task resource. This embodiment does not limit the specific method for determining the visible range.

[0064] In a specific implementation, the alliance members of the task processing alliance include the participants of the data processing task. Specifically, the alliance creator creates the task processing alliance and sends a joining invitation to the task creator and the resource provider. The task creator and the resource provider respond to the joining invitation and feedback the confirmation information of joining the task processing alliance to the alliance creator. The resource provider can obtain multiple task processing alliances created by the alliance creator, and determine the visible alliances of the task resources provided by itself from each task processing alliance; the task resources provided by the resource provider are open to the alliance members of the visible alliance. Furthermore, if Figure 6 As shown, after obtaining the task parameters of the data processing task sent by the task creator, the blockchain control console can also check whether the participants represented by each participating identifier are alliance members of the task processing alliance corresponding to the data processing task. The participants of the data processing task may include the task creator, the result user and the resource provider, and the resource provider includes the computing model provider and the data source provider.

[0065] The use authorization requirements include authorized use and unauthorized use, that is, task resources include authorized use resources and unauthorized use resources. For authorized use resources, they can only be used if the authorization of the resource provider of the task resource is obtained; for unauthorized use resources, they can be used directly without authorization by the resource provider of the task resource. Exemplarily, for private task resources, since the task creator uses the task resources provided by itself, it is usually not necessary to authorize the use; for task resources with a visible scope of directional disclosure, associated disclosure and unrestricted, if the use authorization requirement of the task resource is authorized use, the data processing task to be used by the task resource needs to be authorized by the resource provider of the task resource before it can be launched and executed. On the contrary, if the use authorization requirement of the task resource is unauthorized use, the data processing task to be used by the task resource does not need to be authorized by the resource provider of the task resource, and can be launched and executed. In other words, the resource provider can flexibly select the appropriate visible scope and use authorization requirements based on the data security protection requirements of the provided task resources, and realize the visible scope and use permission control of task resources from fine to coarse granularity to improve security.

[0066] Specifically, the blockchain control console determines the resource provider of the target task resource when the target task resource is a resource that requires authorization to use. Exemplarily, the blockchain control console can extract the resource provider identifier of the target task resource from the on-chain information of the target task resource, and then determine the resource provider represented by the resource provider identifier as the resource provider of the target task resource; the task creator can also determine the resource provider identifier of the target task resource while specifying the target task resource required for the data processing task, and send the resource provider identifier to the blockchain control console when the target task resource is a resource that requires authorization to use.

[0067] Step S506: Obtain a resource use authorization signature provided by the resource provider for the target task resource.

[0068] As mentioned above, if the target task resource is a resource that requires authorization to use, it is necessary to obtain authorization from the resource provider of the target task resource before it can be used. Specifically, the blockchain control console can initiate a use authorization request to the resource provider, and obtain the resource use authorization signature for the target task resource provided by the resource provider in response to the use authorization request. Exemplarily, the resource provider can use its own private key to determine the resource use authorization signature of the target task resource.

[0069] In a specific implementation, the blockchain control console can initiate a task authorization transaction to the blockchain, and through the blockchain smart contract event, trigger the resource provider to perform resource use authorization processing for the target task resources, and then obtain the resource use authorization signature provided by the resource provider for the target task resources. Figure 7 As shown, taking the case where the target task resource is a data source as an example, the resource provider is the data source provider. After the blockchain control console initiates a task authorization transaction to the blockchain, the blockchain updates the task status to "under review by the data source provider" and triggers the data source provider's authorization event for the data source through the smart contract. The blockchain control console detects the authorization event through event subscription, and in response to the authorization event, notifies the corresponding data source provider through a pending event. The data source provider approves the data processing task and feeds back the approval result to the blockchain control console. The approval results include approval of authorization and rejection of authorization. It can be understood that in the case of approval of authorization, the data source provider signs the task authorization transaction and provides the blockchain control console with a resource use authorization signature for the target task resources.

[0070] It should be noted that, in the case where there are multiple resources that need to be authorized for use in each target task resource, the blockchain control console can sequentially obtain the resource use authorization signatures provided by each resource provider for the corresponding target task resource, or it can simultaneously obtain the resource use authorization signatures provided by each resource provider through parallel processing. Exemplarily, the blockchain control console can initiate a task authorization transaction to the blockchain, which carries the identification information of each resource provider that needs to be authorized, and then the blockchain triggers the authorization event of each data source provider for the corresponding data source through a smart contract. The blockchain control console monitors the authorization event through event subscription, determines the data source providers associated with the authorization event, and notifies each data source provider for approval through pending events, thereby obtaining the approval results of each data source provider.

[0071] Step S508: Based on the resource use authorization signature, the task signature of the data processing task is updated to obtain an authorized task.

[0072] Specifically, the blockchain control console updates the task signature of the data processing task that uses the target task resources based on the resource use authorization signature provided by the resource provider for the target task resources, and then obtains the data processing task that is authorized to use the target task resources and obtains the authorized task. It can be understood that by using the resource use authorization signatures provided by each resource provider that needs to be authorized to use the resources to update the task signature of the data processing task, an approved authorization task is constructed. The task can be sent to a trusted execution environment for execution, or executed based on mechanisms such as multi-party secure computing, federated learning, or multi-party intermediary computing to obtain the corresponding task processing results. For example, please continue to refer to Figure 7 If the data source provider agrees to authorize the use of the data source, the task authorization transaction is signed, and the resource use authorization signature is provided to the blockchain control center. The blockchain control center updates the task signature of the data processing task based on the resource use authorization signature, and stores the evidence on the chain to obtain the corresponding transaction identifier for blockchain distributed accounting. Furthermore, the specific method for the blockchain control center to update the task signature of the data processing task based on the resource use authorization signature is not unique. For example, the blockchain control center can directly add the resource use authorization signature to the task signature, or encode the resource use authorization signature and the task signature before the update to obtain the updated task signature.

[0073] It should be noted that, in the case where there are multiple resources that need to be authorized for use in each target task resource, the blockchain control console can update the task signature of the data processing task based on the authorization signatures of all required resources to obtain the authorized task, that is, obtain the authorized task through one update; or it can first update the task signature based on the obtained authorization signatures of a part of the resources to obtain the updated task signature, and then update the updated task signature for a second time based on the obtained authorization signatures of another part of the resources until all resource use authorization signatures have been used to update the task signature of the data processing task to obtain the authorized task, that is, obtain the authorized task through multiple updates. In a specific implementation, taking the case where the resources that need to be authorized to use include data source A and data source B as an example, the blockchain control console first obtains the resource use authorization signature provided by resource provider A of data source A, updates the task signature of the data processing task based on the resource use authorization signature, and obtains the updated task signature. Then, obtain the resource use authorization signature provided by resource provider B of data source B, update the updated task signature based on the resource use authorization signature, and obtain the authorized task. Further, if Figure 7 As shown, when all resource usage authorization signatures have been used to update the task signature of the data processing task, the blockchain control console updates the task status to "Authorization Completed".

[0074] The above-mentioned blockchain data processing task authorization method obtains the data processing task created by the task creator, determines the target task resource that the data processing task needs to use, and the target task resource is determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain, which is equivalent to that each candidate task resource in the blockchain can correspond to a different visible range, and the resource visible range can be controlled to reduce the risk of data leakage of the task resource, which is conducive to improving security; when the target task resource is a resource that requires authorization to use, the resource provider of the target task resource is determined, and the resource use authorization signature provided by the resource provider for the target task resource is obtained, and then, based on the resource use authorization signature, the task signature of the data processing task is updated to obtain the authorized task, that is, before using the resource that requires authorization to use, it is necessary to obtain the authorization of the resource provider of the task resource, and update the task signature of the data processing task, which is equivalent to utilizing the trusted evidence and data sharing characteristics of the blockchain to realize task authorization for data processing tasks in a decentralized manner, and obtain the authorized task, which is conducive to further improving security.

[0075] In one embodiment, the blockchain data processing task authorization method further includes: determining the task processing alliance to which the task creator belongs. In the case of this embodiment, step S506 includes: when the resource provider is an alliance member of the task processing alliance, obtaining a resource use authorization signature provided by the resource provider for the target task resource.

[0076] Among them, the alliance members of the task processing alliance include the participants of the data processing task. As mentioned above, the participants of the data processing task can specifically include the task creator, resource provider, result user, etc. The resource provider can include the data source provider and the computing model provider, and the same participant can have one or more of the above-mentioned participant identities at the same time. For example, the task creator of the data processing task can be the result user of the data processing task; for another example, the resource provider of the data processing task can be the result user of the data processing task.

[0077] Specifically, the blockchain control console can obtain multiple created task processing alliances and their respective alliance members, and determine the task processing alliance to which the task creator belongs based on the alliance members. Then, after determining the resource provider of the target task resource, check whether the resource provider is a member of the task processing alliance to which the task creator belongs, and if the resource provider is a member of the task processing alliance, obtain the resource use authorization signature provided by the resource provider for the target task resource.

[0078] In this embodiment, after determining the resource provider of the target task resource, the task processing alliance to which the resource provider belongs is checked to ensure that, if the resource provider is a member of the task processing alliance to which the task creator belongs, the resource use authorization signature provided by the resource provider for the target task resource is obtained, which is beneficial to further improve the information security of the task resources.

[0079] In one embodiment, the resource provider includes a data source provider. In this embodiment, the blockchain data processing task authorization method further includes: sending the database table structure of the published data source to the data source provider; obtaining the data source parameter information determined by the data source provider based on the database table structure; uploading the data source parameter information to the blockchain.

[0080] Among them, the data source parameter information includes the visible scope and use authorization requirements of the published data source. For the specific definition of the visible scope, please refer to the above, which will not be repeated here. The use authorization requirements include authorized use and unauthorized use, that is, the data source includes authorized use of the data source and unauthorized use of the data source. For the use of the data source that requires authorization, it can be used only if the data source provider of the data source is authorized; for the use of the data source that does not require authorization, it can be used directly without the authorization of the data source provider of the data source. Further, the table structure is used to define the fields, types, primary keys, foreign keys, indexes and other attributes of a table. Correspondingly, the database table structure is used to represent the structure of each data table in the database, and is used to define the data table file name, determine the fields contained in the data table, the field name, field type, and width of each field. Further, due to the limited storage space on the blockchain, usually on the basis of the on-chain storage space, there is also a non-on-chain storage space, such as a public database that is not on the chain. In actual applications, since the data information occupies a lot of storage space, in order to save the storage space of the blockchain, the parameter information of the data source can be stored on the blockchain, and the data information of the data source can be stored in the non-on-chain storage space. Specifically for this application, the data source stored in the non-on-chain storage space is referred to as a published data source.

[0081] Specifically, the data source provider can obtain the data prepared by the staff and store the prepared data in the non-chain storage space to obtain the published data source. Then, the blockchain control console sends the database table structure of the published data source to the data source provider, so that the data source provider can fill in the field description of the published data source based on the database table structure, and determine the visible range and use authorization requirements of the published data source. Next, the blockchain control console obtains the data source parameter information, sets the visible range and use authorization requirements of the data source based on the data source parameter information, and uploads the data source parameter information to the blockchain. At this point, each published data source corresponding to each data source parameter information on the blockchain can be used as a candidate task resource for the data processing task. Furthermore, the data source parameter information can also include attribute information such as the data source file identifier and the storage location of the data corresponding to the data source in the database. After the authorization task is online, the task participants can obtain the data source from the non-chain storage space based on the data source parameter information stored on the blockchain, execute the data processing task based on the data source, and obtain the corresponding task processing result.

[0082] In addition, the data source provider can publish the data source after the alliance creator creates the task processing alliance, such as Figure 8 As shown, after obtaining the data source parameter information, the blockchain control console can check the parameter information, including checking the legitimacy of the parameters, the connectivity of the database storing the data source and the validity of the fields, and determining whether the data source provider is a member of the task processing alliance. If the data source provider is a member of the alliance, subsequent processing can be performed. Furthermore, the present application can also support the update of the data source, that is, the data source parameter information can also include the data source file identifier, and the blockchain control console can also check whether the data source provider has uploaded the same data source based on the data source file identifier. If so, the data source with the same name is updated based on the newly uploaded data source.

[0083] In the above embodiment, the data source provider determines the visible scope and use authorization requirements of the data source provided by itself, so that the data source provider can flexibly select the appropriate visible scope and use authorization requirements based on the data security protection requirements of the provided data source, and realize the visible scope and use permission control of the data source from fine to coarse granularity, which is conducive to further improving security. In addition, only uploading the data source parameter information to the blockchain can save the storage space of the blockchain while improving security.

[0084] In one embodiment, the published data source is ciphertext data. In this embodiment, the blockchain data processing task authorization method further includes: in response to a key determination request initiated by a data source provider, determining an encryption key of the data source provider to be published.

[0085] Among them, the encryption key is used to instruct the data source provider to use the encryption key to encrypt the data source to be published, and publish the encrypted ciphertext data. Specifically, as mentioned above, in the privacy computing scenario, it is necessary to achieve the "available but invisible" of the data source. Based on this, the data source provider can initiate a key determination request to the blockchain control console, and the blockchain control console responds to the key determination request and determines the encryption key of the data source to be published by the data source provider. Then, the data source provider uses the encryption key to encrypt the data source to be published and publishes the encrypted ciphertext data.

[0086] Furthermore, there is no unique way to determine the encryption key of the data source to be published. For example, a key escrow method can be adopted, where the blockchain control console manages the encryption keys of each participant in the task processing alliance, and the data source provider downloads the encryption key corresponding to its own participant identity from the blockchain control console. Alternatively, the data source provider can generate the provider's public and private keys, keep the private key, and share the public key with the blockchain control console to determine the encryption key through key negotiation. For example, Figure 8 As shown, the non-on-chain storage space for storing data sources may include a plaintext database and a ciphertext database. The plaintext database is used to implement data source plaintext storage, that is, to store original data, and the ciphertext database is used to implement data source ciphertext storage, that is, to store ciphertext data obtained by encrypting the original data. Specifically, Figure 8 As shown, the data source provider prepares the data and stores the prepared raw data in the plaintext database. Then, the data source provider downloads the data encryption and decryption tools and encryption keys from the blockchain control console, and then pulls the data source plaintext data from the plaintext database, and uses the encryption and decryption tools and encryption keys to encrypt the data source plaintext data, obtains the ciphertext data, and stores the ciphertext data in the ciphertext database. The data encryption and decryption tool can be, for example, enctool (Caesar encryption and decryption visualization tool).

[0087] In the above embodiment, the published data source is encrypted data, which can be applied to privacy computing scenarios where the data source is available but invisible, which is beneficial to further improve security.

[0088] In a specific implementation, in response to a key determination request initiated by a data source provider, an encryption key of a data source to be published by the data source provider is determined, including: obtaining a key determination request initiated by the data source provider using a provider public key in the provider public-private key pair after the data source provider creates the provider public-private key pair; performing key negotiation with the data source provider based on the provider public key to determine the encryption key of the data source to be published by the data source provider.

[0089] Among them, the public-private key pair includes a public key and a private key that exist in pairs, and is usually used in asymmetric encryption technology. In the application process of the public-private key pair, different keys are needed to complete encryption and decryption operations. For example, data encrypted with the public key in the public-private key pair needs to be decrypted with the private key in the public-private key pair; data encrypted with the private key in the public-private key pair needs to be decrypted with the public key in the public-private key pair. Specific to this application, the provider's public-private key pair includes a provider's public key and a provider's private key. The provider's private key is held by the data source provider and is not disclosed to the public; the provider's public key can be published by the data source provider to the blockchain control console for key negotiation to determine the encryption key of the data source to be released.

[0090] Specifically, after the data source provider creates the provider public-private key pair, the provider public key in the provider public-private key pair is used to initiate a key determination request, and the blockchain control station obtains the key determination request and extracts the provider public key carried in the key determination request. Then, the data source provider and the blockchain control station negotiate keys based on the provider public-private key pair to determine the encryption key of the data source provider to be published. Exemplarily, the data source provider can generate a temporary key, sign the temporary key with the provider private key and send it to the blockchain control station, and the blockchain control station uses the provider public key to verify the signature, and determines the temporary key obtained after the verification as the encryption key; the blockchain control station can also generate a temporary key, sign the temporary key with the provider public key and send it to the data source provider, and the data source provider uses the provider private key to verify the signature, and determines the temporary key obtained after the verification as the encryption key. In a specific implementation, when the blockchain control station obtains the provider public key, the provider private key corresponding to the provider public key can be determined as the encryption key of the data source to be published to improve the efficiency of key negotiation. It can be understood that the encryption key is used to encrypt the data source to be published to obtain ciphertext data, and the decryption key corresponding to the encryption key can be used to decrypt the ciphertext data in a trusted execution environment so as to perform authorized tasks using the data source plaintext data.

[0091] In this embodiment, the key negotiation technology is applied to the blockchain, which can ensure the timeliness of the encryption key determined through negotiation, thereby further improving security.

[0092] In one embodiment, the resource provider includes a computing model provider. In this embodiment, the blockchain data processing task authorization method further includes: obtaining model parameter information determined by the computing model provider for the computing model to be published; publishing the model source file of the computing model to the model database, and uploading the model parameter information to the blockchain.

[0093] Among them, the model parameter information includes the visible scope and authorization requirements of the calculation model. For the specific limitations on the calculation model and the visible scope, please refer to the above and will not be repeated here. The authorization requirements include authorized use and unauthorized use, that is, the calculation model includes authorized use models and unauthorized use models. For the authorized use model, it can only be used if the authorization of the calculation model provider of the calculation model is obtained; for the unauthorized use model, it can be used directly without the authorization of the calculation model provider of the calculation model. The model database refers to the non-chain storage space used to store the calculation model. Since the model source file occupies a lot of storage space, in order to save the storage space of the blockchain, the parameter information of the calculation model can be stored on the blockchain, and the model source file of the calculation model can be stored on the non-chain storage space.

[0094] Specifically, the computing model provider can obtain the computing model developed by the staff, and send the model parameter information and model source file of the computing model to the blockchain control console. The blockchain control console then publishes the model source file of the computing model to the model database, sets the visible range and use authorization requirements of the data source based on the model parameter information, and uploads the model parameter information of the computing model to the blockchain. At this point, each published computing model corresponding to each model parameter information on the blockchain can be used as a candidate task resource for the data processing task. Furthermore, the model parameter information can also include attribute information such as the model file identifier and the storage location of the model source file of the computing model in the model database. After the authorization task is launched, the task participants can obtain the model source file from the model database based on the model parameter information stored on the blockchain, execute the data processing task based on the model source file, and obtain the corresponding task processing result.

[0095] Furthermore, the data source provider can publish the calculation model after the alliance creator creates the task processing alliance. Fig. 9As shown, the computing model provider can obtain the computing model developed by the staff and upload the model source file of the computing model to the blockchain control console. Then, the blockchain control console caches the model source file locally and feeds back the file identifier of the model source file to the computing model provider. Next, the computing model provider determines and sends the model parameter information to the blockchain control console, and the blockchain control console obtains the model parameter information and checks the parameter information. The specific content of the inspection may include checking the legitimacy of the parameters, determining whether the computing model provider is a member of the task processing alliance, and checking whether the computing model with the same name has been uploaded under the name of the computing model provider. If so, the computing model with the same name is updated based on the newly uploaded computing model, and the version number of the computing model is updated. Then, the blockchain control console obtains the locally stored model source file, sets the visible range and use authorization requirements of the model source file based on the model parameter information, and publishes the set computing model to the model database, which can be a mirror warehouse, and the model database feeds back the model storage address and version number to the blockchain control console. Finally, the blockchain control console will store the calculation model on the chain, upload the model attribute information such as model parameter information, model storage address and version number to the blockchain, and obtain the transaction identifier fed back by the blockchain to perform blockchain distributed accounting.

[0096] In the above embodiment, the computing model provider determines the visible scope and use authorization requirements of the computing model provided by itself, so that the computing model provider can flexibly select the appropriate visible scope and use authorization requirements based on the data security protection requirements of the provided computing model, and realize the visible scope and use authority control of the computing model from fine to coarse granularity, which is conducive to further improving security. In addition, only uploading the computing model parameter information to the blockchain can save the storage resources of the blockchain while improving security.

[0097] In one embodiment, the blockchain data processing task authorization method further includes: sending a participant identity private key to a resource provider based on the task processing alliance to which the task creator of the data processing task belongs. In the case of this embodiment, step S506 includes: obtaining a resource provider using the participant identity private key and a resource use authorization signature for the target task resource.

[0098] Among them, the participant identity private key is used to characterize that the resource provider is a member of the task processing alliance, that is, different task processing alliances can correspond to different participant identity private keys. Specifically, the blockchain control console can host the identity private keys of different participants in the task processing alliance, and then, based on the task processing alliance to which the task creator of the data processing task belongs, send the corresponding participant identity private key to the resource provider of the task processing alliance. The participant identity private key is used to sign the resource use authorization for the authorized resources that need to be used in the data processing task created by the task creator. In other words, the resource provider can use the participant identity private key corresponding to the task processing alliance to which the task creator belongs, and provide a resource use authorization signature for the target task resources, and then the blockchain control console can obtain the resource use authorization signature provided by the resource provider for the target task resources using the participant identity private key.

[0099] In this embodiment, the participant identity private key corresponds to the task processing alliance. In this way, for different task processing alliances, the data source provider can use different participant identity private keys to perform data source use authorization signature, which can reduce the risk of signature theft and help further improve security.

[0100] In one embodiment, the number of target task resources that need to be authorized for use is at least two. In the case of this embodiment, step S506 includes: through the blockchain smart contract event, triggering the resource provider of each target task resource that needs to be authorized for use to perform resource use authorization processing for the corresponding target task resource; respectively obtaining the resource use authorization signature provided by each resource provider. Step S508 includes: based on the resource use authorization signature of each target task resource that needs to be authorized for use, updating the task signature of the data processing task to obtain the authorized task.

[0101] As mentioned above, the underlying blockchain platform may include a smart contract module, which is responsible for contract registration and issuance, contract triggering and contract execution. Developers can define the contract logic in a programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, the key or other event trigger execution is called to complete the contract logic, and the contract upgrade and cancellation function is also provided. Specifically, the blockchain control console can notify the resource providers of each target task resource that needs to be authorized to use to perform resource use authorization processing for the corresponding target task resource through the blockchain smart contract event, and then obtain the resource use authorization signature provided by each resource provider, and based on the resource use authorization signature of each target task resource that needs to be authorized to use, update the task signature of the data processing task to obtain the authorized task.

[0102] For example, Fig.10As shown, taking the case where the resource providers include data source provider A, data source provider B and computing model provider as an example, after the blockchain control console completes the storage of the original task information on the chain, it can initiate a task authorization transaction to the blockchain, and the blockchain triggers an authorization event for the data processing task based on the task authorization transaction. Then, the event center of the blockchain control console monitors the authorization event, and notifies the data source provider A, data provider B and computing model provider in turn through the pending event notification, and then obtains the use authorization signature of each resource provider for the task resources provided by itself, and updates the task signature of the data processing task based on each use authorization signature. When all use authorization signatures have been used to update the task signature, the task status is updated to authorization completed.

[0103] It should be noted that, in the case where there are multiple resources that need to be authorized for use in each target task resource, the blockchain control console can sequentially obtain the resource use authorization signatures provided by each resource provider for the corresponding target task resource, or it can simultaneously obtain the resource use authorization signatures provided by each resource provider through parallel processing. Similarly, the blockchain control console can update the task signature of the data processing task based on all the required resource use authorization signatures to obtain the authorized task; it can also first update the task signature based on a part of the resource use authorization signatures obtained to obtain the updated task signature, and then update the updated task signature again based on another part of the resource use authorization signatures obtained, until all resource use authorization signatures have been used to update the task signature of the data processing task to obtain the authorized task.

[0104] In the above embodiment, the number of target task resources that need to be authorized for use can be at least two, and thus the blockchain data processing task authorization method can be applied to joint computing scenarios, thereby enabling multi-party collaboration, which is conducive to expanding the application scenarios of the blockchain data processing task authorization method.

[0105] In one embodiment, the blockchain data processing task authorization method further includes: obtaining the processing result receiving address configured by the result user of the data processing task for the data processing task; obtaining the user signature generated by the result user for the processing result receiving address. In the case of this embodiment, determining the target task resources that the data processing task needs to use includes: determining the target task resources that the data processing task needs to use when the task signature of the data processing task is updated based on the user signature.

[0106] Among them, the result user refers to the user of the task processing result of the data processing task, that is, the result user needs to obtain the result obtained by executing the data processing task. In practical applications, the result user can supplement the result receiving address of the data processing task so that the task processing result of the data processing task can be successfully obtained later. Specifically, the blockchain control console obtains the processing result receiving address configured by the result user of the data processing task for the data processing task, and the user signature generated by the result user for the processing result receiving address, and then determines the target task resources that the data processing task needs to use when the task signature of the data processing task is updated based on the user signature. In other words, before obtaining the use authorization signature provided by the resource provider who needs to authorize the use of resources, the processing result receiving address of the data processing task is first determined.

[0107] For example, Fig.11 As shown, after the task creator creates a data processing task for the blockchain control console, the blockchain control console initiates a task authorization transaction to the blockchain, and the blockchain updates the task status to "result user approval", and triggers the result user's authorization event for the data source through the smart contract. The blockchain control console detects the authorization event through event subscription, and in response to the authorization event, notifies the corresponding result user through the pending event. The result user generates a public-private key pair for encryption and decryption of the calculation result, and configures the result database information. The private key in the public-private key pair for encryption and decryption of the calculation result is held by the result user, and the public key is made public through the blockchain control console, so that after obtaining the task processing result, the public key can be used to encrypt the task processing result to obtain encrypted data; the result user can obtain the encrypted data from the processing result receiving address, and use the private key in the public-private key pair for encryption and decryption of the calculation result to decrypt the encrypted data to obtain the required task processing result.

[0108] Further, the result database information may include, for example, a database address, a data storage structure, and the like. Then, the result user initiates a result database detection request to the blockchain control console. The result database detection request carries the configured result database information, which is used to instruct the blockchain control console to detect the connectivity of the result database and obtain the detection result. The detection result will eventually be fed back to the result user. If the detection result is disconnected, the result user refuses to authorize the data processing task through the approval task, and the data processing task is terminated due to unauthorized. If the detection result is connected, the result user agrees to authorize the data processing task through the approval task, adds the configured result database information and the generated public key to the data processing task, and provides the user's signature. Next, the blockchain control console constructs the message to be signed for the data processing task, calculates based on the user's signature, obtains the task authorization transaction, and then puts the transaction on the chain to obtain the transaction number. It can be understood that the process of calculating the task authorization transaction based on the user's signature is essentially the process of updating the task signature of the data processing task based on the user's signature.

[0109] It should be noted that in other embodiments, the use authorization signature provided by the resource provider may be obtained first, and then the user signature generated by the result user for the processing result receiving address may be obtained; in the case where there are multiple participant roles in at least one of the resource provider and the result user, the use authorization signature and the user signature may be obtained alternately. That is, the present application does not limit the authorization order of each participant in the data processing task.

[0110] In the above embodiment, when the result user supplements the result receiving address and signs, the target task resources are determined, triggering the authorization signature event of the resource provider, which can improve security while ensuring that the task processing results of the authorized task can be obtained by the result user.

[0111] In one embodiment, Fig.12 As shown, the blockchain data processing task authorization method includes:

[0112] Step S1201, determining alliance members of the task processing alliance created by the alliance creator;

[0113] The alliance members of the task processing alliance include task creators, result users and resource providers, and the resource providers include data source providers and computing model providers;

[0114] Step S1202, obtaining the data processing task created by the task creator;

[0115] Step S1203, obtaining the processing result receiving address configured by the result user for the data processing task, and the user signature generated by the result user for the processing result receiving address;

[0116] Step S1204, in the case where the task signature of the data processing task is updated based on the user signature, determining the target task resources that the data processing task needs to use;

[0117] The target task resource is determined by the task creator from each candidate task resource based on the visible scope of each candidate task resource in the blockchain; the candidate task resources include the published data source corresponding to each data source parameter information on the blockchain, and the published computing model corresponding to each model parameter information on the blockchain; the published data source is encrypted data;

[0118] Step S1205, when the target task resource is a resource requiring authorization for use, determining the resource provider of the target task resource;

[0119] Step S1206, sending the participant identity private key to each resource provider respectively;

[0120] Among them, the participant identity private key is used to represent that the resource provider is a member of the task processing alliance;

[0121] Step S1207, through the blockchain smart contract event, triggering the resource providers of each target task resource that needs to be authorized to use to perform resource use authorization processing for the corresponding target task resource;

[0122] Step S1208, respectively obtaining the resource use authorization signature provided by each resource provider for the corresponding target task resource using their own participant identity private key;

[0123] Step S1209, based on the resource use authorization signature of each target task resource that needs to be authorized for use, the task signature of the data processing task is updated to obtain an authorized task.

[0124] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0125] Based on the same inventive concept, the embodiment of the present application also provides a blockchain system for implementing the blockchain data processing task authorization method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more blockchain system embodiments provided below can refer to the limitations of the blockchain data processing task authorization method above, and will not be repeated here.

[0126] In one embodiment, Fig.13 As shown, a blockchain system 1300 is provided, including a task creator 1301, a resource provider 1302, and a blockchain control console 1303. The task creator 1301 is used to create a data processing task, and based on the visible range of each candidate task resource in the blockchain, determine the target task resource that the data processing task needs to use from each candidate task resource; the blockchain control console 1303 is used to obtain the data processing task, determine the target task resource that the data processing task needs to use, and when the target task resource is a resource that requires authorization to use, determine the resource provider 1302 of the target task resource; the resource provider 1302 of the target task resource is used to provide a resource use authorization signature for the target task resource; the blockchain control console 1303 is also used to obtain the resource use authorization signature, and based on the resource use authorization signature, update the task signature of the data processing task to obtain the authorized task.

[0127] The above-mentioned blockchain system configures the task creator to create a data processing task, and based on the respective visible ranges of each candidate task resource in the blockchain, determines the target task resource that the data processing task needs to use from each candidate task resource, so that each candidate task resource in the blockchain can correspond to a different visible range, and the resource visible range can be controlled to reduce the risk of data leakage of task resources, which is conducive to improving security; configures the blockchain control console to obtain the data processing task, determines the target task resource that the data processing task needs to use, and when the target task resource is a resource that requires authorization to use, determines the resource provider of the target task resource, and obtains the resource use authorization signature provided by the resource provider for the target task resource, based on the resource use authorization signature, updates the task signature of the data processing task, and obtains the authorized task. That is to say, before using the resource that requires authorization to use, it is necessary to obtain the authorization of the resource provider of the task resource and update the task signature of the data processing task, which is equivalent to utilizing the characteristics of blockchain trusted evidence and data sharing, and realizing task authorization for data processing tasks in a decentralized manner, and obtaining authorized tasks, which is conducive to further improving security.

[0128] In one embodiment, the blockchain system also includes a result user, which is used to configure a processing result receiving address for the data processing task and generate a user signature for the processing result receiving address. In the case of this embodiment, the blockchain control console 1303 is also used to obtain the user signature, and when the task signature of the data processing task is updated based on the user signature, the target task resources that the data processing task needs to use are determined.

[0129] In the above embodiment, when the result user supplements the result receiving address and signs, the target task resources are determined, triggering the authorization signature event of the resource provider, which can improve security while ensuring that the task processing results of the authorized task can be obtained by the result user.

[0130] In one embodiment, the blockchain system further includes an alliance creator, which is used to create a task processing alliance and send a joining invitation to the task creator and the resource provider. In the case of this embodiment, the task creator and the resource provider are also used to respond to the joining invitation and feedback confirmation information of joining the task processing alliance to the alliance creator.

[0131] Among them, the alliance creator is a participant in creating a task processing alliance in the blockchain. Specifically, the alliance creator creates the task processing alliance, and determines the participant identity of each potential alliance member of the task processing alliance, and sends a joining invitation to the corresponding potential alliance member based on the participant identity. The potential alliance member responds to the joining invitation and feeds back confirmation information of joining the task processing alliance to the alliance creator. The participant identity may include the task creator, resource provider, result user, etc. The resource provider may include the data source provider and the computing model provider, and the same participant may have one or more of the above-mentioned participant identities at the same time. That is, if Fig.14 As described above, for a certain task processing alliance, the alliance members of the task processing alliance may include an alliance creator 1410 and alliance participants 1420, and the alliance participants 1420 may specifically include a computing model provider 1421, a data source provider 1422, a task creator 1423, and a result user 1424. Exemplarily, the alliance creator may send a joining invitation to the task creator and the resource provider, and the task creator and the resource provider respond to the joining invitation and feed back confirmation information of joining the task processing alliance to the alliance creator.

[0132] In this embodiment, the alliance creator is configured to create a task processing alliance and send a joining invitation to the task creator and the resource provider. The task creator and the resource provider respond to the joining invitation and provide confirmation information of joining the task processing alliance to the alliance creator. This can ensure the creation and authorization of data processing tasks in the task processing alliance, which is conducive to further improving security.

[0133] In one embodiment, the task processing alliance is a joint computing alliance in a privacy computing scenario; the target task resources include the target data source, and the resource providers include the data source providers. The blockchain control console 1303 is also used to determine the encryption key of the target data source in response to the key determination request initiated by the data source provider before the target data source is released; the data source provider is used to encrypt the target data source using the encryption key and publish the encrypted ciphertext data; the result user is specifically used to obtain the encrypted data of the calculation result from the processing result receiving address.

[0134] Among them, the ciphertext data is decrypted in the trusted execution environment and used for joint computing; the calculation results of the joint computing are encrypted and stored in the processing result receiving address of the authorized task. Privacy computing refers to a series of information technologies that analyze and calculate data on the premise that the resource provider does not disclose the original data, ensuring that the data is "available but invisible" during the circulation and integration process. The encryption key is used to instruct the data source provider to use the encryption key to encrypt the data source to be published and publish the encrypted ciphertext data.

[0135] Specifically, as mentioned above, in the privacy computing scenario, it is necessary to achieve the "availability but invisibility" of the data source. Based on this, the data source provider can initiate a key determination request to the blockchain control console, and the blockchain control console responds to the key determination request to determine the encryption key of the data source provider to be published. Then, the data source provider uses the encryption key to encrypt the data source to be published and publishes the encrypted ciphertext data. The ciphertext data is decrypted in the trusted execution environment and used for joint computing. The calculation results of the joint computing are encrypted and stored in the processing result receiving address of the authorized task. Finally, the result user obtains the encrypted data of the calculation result from the processing result receiving address.

[0136] Take the case where the data processing task is a computing task as an example. Fig.15 As shown, the task creator can create a computing task to the blockchain control console and specify the task resources required for the computing task, which may specifically include data source A, data source B and computing model C. Among them, the resource provider of data source A is data source provider A, the resource provider of data source B is data source provider B, and the resource provider of computing model C is computing model provider C. Specifically, data source provider A and data source provider B keep the plaintext data of the corresponding data source private, and publish the ciphertext data of the corresponding data source through data encryption. When publishing the corresponding task resources, each resource provider can set the visible scope and authorization use requirements of the task resources. If data source A, data source B and computing model C are all resources that require authorization to use, the resource providers of data source provider A and data source B need to interact with the blockchain control console for data source provider B to review the computing tasks created by the task creator and provide the blockchain control console with resource use authorization signatures for the corresponding task resources. The blockchain control console updates the task signature of the data processing task based on the authorization signatures for the use of each resource to obtain an authorized task, which can be executed in the trusted execution environment of the blockchain. As shown in Fig.15 As shown, in a trusted execution environment, data source A and data source B are decrypted in the trusted environment and used to perform joint calculations based on calculation model C to obtain the calculation results and encrypt them to obtain the result ciphertext data, which is stored in the processing result receiving address configured by the result user. Finally, the result user obtains the result ciphertext data from the processing result receiving address and obtains the result plaintext data after decoding.

[0137] In the above embodiments, the published data sources and task processing results are all encrypted data, which can be applied to privacy computing scenarios where the data source is available but invisible, which is conducive to further improving security.

[0138] In one embodiment, the resource provider is specifically used to perform any one of the following two items: obtaining multiple task processing alliances created by the alliance creator, and determining the visible alliances of the task resources provided by the resource provider from each task processing alliance; determining the task processing alliance to which the resource provider belongs as the visible alliance of the task resources provided by the resource provider.

[0139] Among them, the task resources provided by the resource provider are open to the alliance members of the visible alliance. The multiple task processing alliances created by the alliance creator obtained by the resource provider can be multiple task processing alliances joined by the resource provider. In other words, the visible alliance of the task resources determined by the resource provider can be at least a part of the multiple task processing alliances joined by the resource provider. The task processing alliance to which the resource provider belongs can include the task processing alliance to which the resource provider is currently located and the task processing alliance to which the resource provider is invited to join in the future.

[0140] Specifically, the resource provider can obtain multiple task processing alliances created by the alliance creator, and determine the visible alliance of the task resources provided by the resource provider from each task processing alliance, that is, set the visible scope of the provided task resources to directional disclosure; the task processing alliance to which the resource provider belongs can also be determined as the visible alliance of the task resources provided by the resource provider, that is, set the visible scope of the provided task resources to associated disclosure. It can be understood that the visible scope determined by the resource provider can also include multiple modes such as private and unrestricted, which are not limited here. Furthermore, in the case where the resource provider provides multiple task resources, the resource provider can set a different visible mode for each task resource to match the security requirements of the task resource.

[0141] In this embodiment, the resource provider can flexibly select an appropriate visibility range based on the data security protection requirements of the provided task resources, and implement visibility range control of task resources at various granularities from fine to coarse, which is conducive to further improving security.

[0142] Combine the following Figures 14 to 18 , the blockchain system and the privacy computing process implemented based on the blockchain system are described in detail.

[0143] In one embodiment, Fig.14As shown, the alliance members of the task processing alliance may include the alliance creator 1410 and the alliance participant 1420. The alliance participant 1420 can be subdivided into the computing model provider 1421, the data source provider 1422, the task creator 1423 and the result user 1424, and the same subject (i.e., the same participant) can have one or more of these five participant identities. Specifically, the alliance creator 1402 is the participant who creates the task processing alliance; the computing model provider 1421 is also the model developer, which is used to provide computing logic; the data source provider 1422 owns and provides the data source required for collaborative computing, and the plaintext data of the data source cannot be obtained by other participants; the task creator 1423 is responsible for publishing tasks and applying for authorization of tasks by other alliance participants; the result user 1424 is a participant who needs the task processing results obtained by executing data processing tasks.

[0144] like Fig.16 As shown, the entire data processing process includes pre-operations such as the computing model provider developing and publishing the computing model, and the data source provider publishing the data source. As mentioned above, the published data source is the ciphertext data of the data source. After the task creator creates the data processing task to the blockchain control console, the result user specifies the result receiving address of the data processing task to the blockchain control console, and provides the user signature for the result receiving address to complete the user approval of the data processing task; the computing model provider provides the blockchain control console with the use authorization signature for the computing model to complete the model provider approval of the data processing task; the data source provider provides the blockchain control console with the use authorization signature for the data source to complete the data source provider approval of the data processing task. At this point, the multi-issue collaborative approval for the data processing task is completed, and the authorized task can be obtained. The authorized task can be executed in the trusted execution environment, and then the trusted task resources are obtained by decryption in the trusted execution environment.

[0145] Furthermore, the alliance members whose identities are computing model providers and data source providers will provide computing models and data sources respectively, which are used by the task creator to specify when creating a task to construct a joint computing task. The resource provider can control the visible scope and use authorization requirements of the provided task resources. Among them, the visible scope can include private, targeted public, associated public, and unrestricted modes. In addition to the private mode, which can be used directly, the other three modes need to be configured according to permissions to determine whether authorization from the corresponding provider is required before they can be used. The configurable use authorization requirements can include: approval required and approval not required. Among them, private means that the task resources are only open to themselves, that is, only the resource provider can use the task resources provided by itself. When the resource provider of the data processing task is also the task creator of the data processing task, the task resource can be used. Unrestricted means that the task resources are open to all nodes, that is, all nodes on the blockchain (regardless of whether the task creator and the resource provider belong to the same task processing alliance) can apply to use the task resources. Targeted public means that the task resources are open to a specific task processing alliance. The specific task processing alliance may be at least a part of the multiple task processing alliances that the resource provider joins. Associated disclosure means that the task resources provided by the resource provider are disclosed to the task processing alliance to which the resource provider belongs, that is, the task processing alliance that the resource provider currently belongs to and the alliance members of the task processing alliance that will be invited to join in the future can apply to use the task resources.

[0146] For resources that require authorization, they can only be used after obtaining authorization from the resource provider of the task resource; for resources that do not require authorization, they can be used directly without authorization from the resource provider of the task resource. For example, for private task resources, since the task creator uses the task resources provided by itself, authorization is usually not required; for task resources with a visible scope of directional disclosure, associated disclosure, and unrestricted, if the authorization requirement for the use of the task resource is authorization required, the data processing task that intends to use the task resource needs to be authorized by the resource provider of the task resource before it can be put online and executed. Conversely, if the authorization requirement for the use of the task resource is no authorization required, the data processing task that intends to use the task resource does not need authorization from the resource provider of the task resource and can be put online and executed.

[0147] The following is an explanation of the approval process for the participants of the task processing resources. If the target task resource that the data processing task needs to use is a resource that requires authorization, the resource provider of the target task resource needs to approve the data processing task. After approval, the provider will use its own private key to sign the task to be signed. When all participants have completed the signature of the task to be signed, an approved authorization task is constructed, which can be sent to the trusted execution environment for execution. Fig.17 As shown, after the task creator creates the data processing task, the blockchain control center constructs a task to be signed, which carries the basic information of the task, the required computing model and data source information, and the result user information, etc. Then, the result user of the data processing task supplements the result receiving address, and performs task approval and signature, so that the blockchain control center obtains the result user's signature, and updates the task signature of the task to be signed based on the result user's signature. Next, each data source provider provides the corresponding data source use authorization signature, and the computing model provider provides the computing model use authorization signature. When the result user and the resource providers of each resource that needs to be authorized to use have completed the approval of the data processing task, the approved data processing task, that is, the authorized task, can be obtained. As shown in Fig.18 As shown in the figure, there can be multiple blockchain control desks, each of which is equipped with an event center and cache. Each participant in the task processing alliance is a user of the corresponding blockchain control desk, and can achieve the chaining and release of task resources, participate in the processing of authorized tasks in the blockchain, and obtain trusted computing resources, etc. through the corresponding blockchain control desk. The approval process of data processing tasks can be completed through blockchain smart contracts. If approval is required, it will be notified through smart contract events to reach relevant participants for approval, thereby realizing decentralized multi-party collaborative approval.

[0148] Based on the same inventive concept, the embodiment of the present application also provides a blockchain data processing task authorization device for implementing the blockchain data processing task authorization method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more blockchain data processing task authorization device embodiments provided below can refer to the limitations of the blockchain data processing task authorization method above, and will not be repeated here.

[0149] In one embodiment, Fig.19 As shown, a blockchain data processing task authorization device 1900 is provided, including: a target task resource determination module 1902, a resource provider determination module 1904, a signature acquisition module 1906 and a task authorization module 1908, wherein:

[0150] The target task resource determination module 1902 is used to obtain the data processing task created by the task creator and determine the target task resources required for the data processing task; the target task resources are determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain;

[0151] The resource provider determination module 1904 is used to determine the resource provider of the target task resource when the target task resource is a resource requiring authorization for use;

[0152] The signature acquisition module 1906 is used to acquire the resource use authorization signature provided by the resource provider for the target task resource;

[0153] The task authorization module 1908 is used to update the task signature of the data processing task based on the resource use authorization signature to obtain the authorized task.

[0154] In one embodiment, the blockchain data processing task authorization device 1900 further includes an alliance determination module for determining the task processing alliance to which the task creator belongs; the alliance members of the task processing alliance include the participants of the data processing task. In the case of this embodiment, the signature acquisition module 1906 is specifically used to: when the resource provider is an alliance member of the task processing alliance, obtain the resource use authorization signature provided by the resource provider for the target task resource.

[0155] In one embodiment, the resource provider includes a data source provider. The blockchain data processing task authorization device 1900 also includes: a database table structure sending module, which is used to send the database table structure of the published data source to the data source provider; a data source parameter information acquisition module, which is used to obtain the data source parameter information determined by the data source provider based on the database table structure; the data source parameter information includes the visible range and use authorization requirements of the published data source; and an on-chain module, which is used to upload the data source parameter information to the blockchain, and the candidate task resources include the published data sources corresponding to each data source parameter information on the blockchain.

[0156] In one embodiment, the published data source is ciphertext data. The blockchain data processing task authorization device 1900 further includes: an encryption key determination module, which is used to determine the encryption key of the data source to be published by the data source provider in response to the key determination request initiated by the data source provider; the encryption key is used to instruct the data source provider to use the encryption key to encrypt the data source to be published, and publish the encrypted ciphertext data.

[0157] In one embodiment, the encryption key determination module is specifically used to: obtain a key determination request initiated by the data source provider using the provider public key in the provider public-private key pair after the data source provider creates the provider public-private key pair; negotiate a key with the data source provider based on the provider public key to determine the encryption key of the data source provider's data source to be published.

[0158] In one embodiment, the blockchain data processing task authorization device 1900 further includes a participant identity private key sending module, which is used to send the participant identity private key to the resource provider based on the task processing alliance to which the task creator of the data processing task belongs; the participant identity private key is used to characterize that the resource provider is a member of the task processing alliance. In the case of this embodiment, the signature acquisition module 1906 is specifically used to: obtain the resource use authorization signature provided by the resource provider for the target task resource using the participant identity private key.

[0159] In one embodiment, the resource provider includes a computing model provider. In this embodiment, the blockchain data processing task authorization device 1900 also includes: a model parameter information acquisition module, which is used to obtain the model parameter information determined by the computing model provider for the computing model to be published; the model parameter information includes the visible range and use authorization requirements of the computing model; a chain module, which is used to publish the model source file of the computing model to the model database and upload the model parameter information to the blockchain; the candidate task resources include the published computing models corresponding to each model parameter information on the blockchain.

[0160] In one embodiment, the number of target task resources that need to be authorized for use is at least two. In the case of this embodiment, the signature acquisition module 1906 is specifically used to: trigger the resource provider of each target task resource that needs to be authorized for use to perform resource use authorization processing for the corresponding target task resource through a blockchain smart contract event; and obtain the resource use authorization signature provided by each resource provider. The task authorization module 1908 is specifically used to: update the task signature of the data processing task based on the resource use authorization signature of each target task resource that needs to be authorized for use, and obtain an authorized task.

[0161] In one embodiment, the signature acquisition module 1906 is further used to: obtain the processing result receiving address configured by the result user of the data processing task for the data processing task; and obtain the user signature generated by the result user for the processing result receiving address. In the case of this embodiment, the target task resource determination module 1902 is specifically used to: determine the target task resources that the data processing task needs to use when the task signature of the data processing task is updated based on the user signature.

[0162] Each module in the above-mentioned blockchain data processing task authorization device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0163] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 20 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data involved in the blockchain data processing task authorization method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a blockchain data processing task authorization method is implemented.

[0164] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.21As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a blockchain data processing task authorization method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0165] Those skilled in the art will understand that Fig. 20 and Fig.21 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0166] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned blockchain data processing task authorization method are implemented.

[0167] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned blockchain data processing task authorization method are implemented.

[0168] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps in the above-mentioned blockchain data processing task authorization method.

[0169] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0170] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0171] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0172] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A blockchain data processing task authorization method, It is characterized in that The method comprises: Acquire a data processing task created by a task creator, and determine a target task resource required to be used by the data processing task; the target task resource is determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain; In the case where the target task resource is a resource requiring authorization for use, determining a resource provider of the target task resource; Obtaining a resource use authorization signature provided by the resource provider for the target task resource; Based on the resource use authorization signature, the task signature of the data processing task is updated to obtain an authorized task.

2. The method according to claim 1, It is characterized in that The method further comprises: Determine the task processing alliance to which the task creator belongs; alliance members of the task processing alliance include participants of the data processing task; The obtaining of the resource use authorization signature provided by the resource provider for the target task resource includes: In the case where the resource provider is an alliance member of the task processing alliance, a resource use authorization signature provided by the resource provider for the target task resource is obtained.

3. The method according to claim 1, It is characterized in that The resource provider includes a data source provider; The method further comprises: Send the database table structure of the published data source to the data source provider; Acquire data source parameter information determined by the data source provider based on the database table structure; the data source parameter information includes a visible scope and use authorization requirements of the published data source; The data source parameter information is uploaded to the blockchain, and the candidate task resources include the published data sources corresponding to each of the data source parameter information on the blockchain.

4. The method according to claim 3, It is characterized in that The published data source is ciphertext data; The method further comprises: In response to a key determination request initiated by a data source provider, determining an encryption key of a data source to be published by the data source provider; The encryption key is used to instruct the data source provider to use the encryption key to encrypt the data source to be published, and publish the encrypted ciphertext data.

5. The method according to claim 4, It is characterized in that The step of determining the encryption key of the data source to be published by the data source provider in response to the key determination request initiated by the data source provider includes: Obtaining a key confirmation request initiated by a data source provider using a provider public key in the provider public-private key pair after the provider creates the provider public-private key pair; A key negotiation is performed with the data source provider based on the provider public key to determine the encryption key of the data source to be published by the data source provider.

6. The method according to claim 1, It is characterized in that The method further comprises: Based on the task processing alliance to which the task creator of the data processing task belongs, sending the participant identity private key to the resource provider; the participant identity private key is used to indicate that the resource provider is a member of the task processing alliance; The obtaining of the resource use authorization signature provided by the resource provider for the target task resource includes: Obtain a resource use authorization signature provided by the resource provider for the target task resource using the participant's identity private key.

7. The method according to claim 1, It is characterized in that The resource provider includes a computing model provider; the method further includes: Obtaining model parameter information determined by the computing model provider for the computing model to be published; the model parameter information includes a visible scope and use authorization requirements of the computing model; The model source file of the computing model is published to the model database, and the model parameter information is uploaded to the blockchain; the candidate task resources include the published computing models corresponding to each of the model parameter information on the blockchain.

8. The method according to claim 1, It is characterized in that The number of target task resources that need to be authorized for use is at least two; the step of obtaining a resource use authorization signature provided by the resource provider for the target task resources includes: Through blockchain smart contract events, trigger the resource providers of the target task resources that need to be authorized to use to perform resource use authorization processing for the corresponding target task resources; Respectively obtain the resource use authorization signature provided by each of the resource providers; The updating of the task signature of the data processing task based on the resource use authorization signature to obtain the authorized task includes: Based on the resource use authorization signature of each target task resource that needs to be authorized for use, the task signature of the data processing task is updated to obtain an authorized task.

9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: Obtaining a processing result receiving address configured by a result user of the data processing task for the data processing task; Obtaining the user signature generated by the result user for the processing result receiving address; The determining of the target task resources required for the data processing task includes: In case that the task signature of the data processing task is updated based on the user signature, the target task resources that the data processing task needs to use are determined.

10. A blockchain system, It is characterized in that Including task creators, resource providers and blockchain control desk; The task creator is used to create a data processing task, and based on the visible range of each candidate task resource in the blockchain, determine the target task resource that the data processing task needs to use from each candidate task resource; The blockchain control console is used to obtain the data processing task, determine the target task resources required for the data processing task, and, if the target task resources are resources that require authorization to use, determine the resource provider of the target task resources; The resource provider of the target task resource is used to provide a resource use authorization signature for the target task resource; The blockchain control console is also used to obtain the resource use authorization signature, and based on the resource use authorization signature, update the task signature of the data processing task to obtain an authorized task.

11. The system according to claim 10, It is characterized in that It also includes the parties who use the results; The result user is used to configure a processing result receiving address for the data processing task, and generate a user signature for the processing result receiving address; The blockchain control console is also used to obtain the user signature and, when updating the task signature of the data processing task based on the user signature, determine the target task resources that the data processing task needs to use.

12. The system according to claim 10 or 11, It is characterized in that It also includes alliance creators; The alliance creator is used to create a task processing alliance and send a joining invitation to the task creator and the resource provider; The task creator and the resource provider are further configured to feedback confirmation information of joining the task processing alliance to the alliance creator in response to the joining invitation.

13. The system according to claim 12, It is characterized in that The task processing alliance is a joint computing alliance in a privacy computing scenario; the target task resources include target data sources, and the resource providers include data source providers; The blockchain control console is also used to determine the encryption key of the target data source in response to a key determination request initiated by a data source provider before the target data source is released; The data source provider is used to encrypt the target data source using the encryption key and publish the encrypted ciphertext data; the ciphertext data is decrypted in the trusted execution environment and used for joint computing; the calculation result of the joint computing is encrypted and stored in the processing result receiving address of the authorized task; The result user is specifically used to obtain the encrypted data of the calculation result from the processing result receiving address.

14. The system according to claim 12, It is characterized in that The resource provider is specifically used to perform any one of the following two items: Acquire multiple task processing alliances created by the alliance creator, and determine the visible alliances of the task resources provided by the resource provider from each of the task processing alliances; the task resources provided by the resource provider are disclosed to the alliance members of the visible alliance; The task processing alliance to which the resource provider belongs is determined as a visible alliance of the task resources provided by the resource provider.

15. A blockchain data processing task authorization device, It is characterized in that The device comprises: A target task resource determination module is used to obtain a data processing task created by a task creator and determine the target task resources required for the data processing task; the target task resources are determined by the task creator from each candidate task resource based on the respective visible range of each candidate task resource in the blockchain; A resource provider determination module, used to determine the resource provider of the target task resource when the target task resource is a resource requiring authorization for use; A signature acquisition module is used to acquire a resource use authorization signature provided by the resource provider for the target task resource; The task authorization module is used to update the task signature of the data processing task based on the resource use authorization signature to obtain an authorized task.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

17. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

18. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.