CN114168913A - Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts - Google Patents

Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts Download PDF

Info

Publication number
CN114168913A
CN114168913A CN202111475201.3A CN202111475201A CN114168913A CN 114168913 A CN114168913 A CN 114168913A CN 202111475201 A CN202111475201 A CN 202111475201A CN 114168913 A CN114168913 A CN 114168913A
Authority
CN
China
Prior art keywords
task
information
account
user
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111475201.3A
Other languages
Chinese (zh)
Inventor
孙海龙
姚宇彤
齐斌航
刘旭东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN202111475201.3A priority Critical patent/CN114168913A/en
Publication of CN114168913A publication Critical patent/CN114168913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6254Protecting personal data, e.g. for financial or medical purposes by anonymising data, e.g. decorrelating personal data from the owner's identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0208Trade or exchange of goods or services in exchange for incentives or rewards

Abstract

The invention provides a crowd-sourced result evaluation and reward distribution method based on an intelligent contract, which comprises the following steps: encrypting the task solution by using a public key of the task; triggering task evaluation and reward distribution processes; selecting an anonymous account with the answer result closest to the correct answer for rewarding, and recording the rewarding result in the task chain module and the user chain module; acquiring current reward information of the anonymous account; initiating an application for synchronizing the reward information to the original account to the trusted execution environment module; applying for necessary user information from a user chain module to synchronize the information of the anonymous account into the original account; merging the privacy information of the original account and the privacy information of the anonymous account into third privacy information of the original account, and sending the third privacy information to the original account; uploading a result returned by the trusted execution environment module to the user chain module; and updating the primary account. In this way, user privacy and crowd-sourced result evaluation during the reward distribution process and fairness of reward distribution can be guaranteed.

Description

Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts
Technical Field
The invention relates to the field of computers, in particular to a method, a system and a medium for crowd-sourced result evaluation and reward distribution based on intelligent contracts.
Background
In recent years, crowd-sourced platforms that utilize crowd-sourced resources to handle complex tasks have gained widespread attention and use. However, most of the current crowdsourcing platforms adopt a centralized architecture, and are easily affected by single-point invalidation, privacy disclosure, distributed denial of service attack, witch attack and the like. Meanwhile, the evaluation of crowdsourcing results and reward distribution may present unfair issues due to the opacity of the centralized crowdsourcing platform. In addition, since the centralized platform can only utilize the worker resources and task resources owned by the platform itself, it is difficult to implement resource sharing between the platforms.
The existing solution is to use the characteristics of block chain technology, such as architecture decentralized, data non-tampering, behavior traceability and system collective maintenance, to realize the construction of a decentralized crowdsourcing platform based on a block chain. Although the problems of the traditional centralized crowdsourcing platform are solved to a certain extent by the work, the problems of user privacy leakage, insufficient utilization of user reward information, unfairness in crowdsourcing result evaluation and reward distribution and the like caused by data disclosure and transparency exist.
Currently, to ensure that crowd-sourced outcome assessment and reward distribution are fair, existing research uses game theory, voting, and zero knowledge proof to solve the problem. In order to ensure the privacy of the task evaluation and reward distribution process, data encryption or anonymity is often adopted.
However, the existing methods still have many defects in the fields of privacy protection, task evaluation and reward distribution. The existing task evaluation method has great limitation aiming at specific types of tasks; although it can be guaranteed that the user privacy information is not leaked in the reward distribution stage, the user reward information cannot be fully utilized.
Accordingly, there is a need for a method, system, and medium for evaluating and awarding distribution based on crowd-sourced results of smart contracts to at least partially address the above-mentioned problems in the prior art.
Disclosure of Invention
In view of the problems in the prior art, the present disclosure provides a scheme for crowd-sourced result evaluation and reward distribution based on smart contracts. In the scheme of the invention, aiming at the problems of user privacy leakage, opaque evaluation flow in a task evaluation stage, insufficient utilization of user reward information and the like caused by transparent data disclosure in the existing crowdsourcing platform based on a block chain, the invention synchronizes the reward information to an original account by using an anonymous account to participate in a crowdsourcing task, carrying out transparent evaluation on a solution by using an intelligent contract on a task chain and a credible execution environment, ensures the user privacy in the reward distribution process, ensures the fair and fair of crowdsourcing result evaluation and reward distribution, and can better utilize the user reward information.
According to a first aspect of the disclosure, a method for evaluating and awarding prize distribution based on crowdsourcing results of smart contracts comprises the following steps: creating, at a client module of the platform, a primary account for a task publisher or a task performer and creating one or more anonymous accounts based on the primary account, the anonymous accounts corresponding to tasks published by the task publisher in the platform; after the task performers complete tasks, the anonymous account encrypts the task solutions by using the public keys of the tasks and submits the task solutions to a task chain module so as to prevent malicious plagiarism behaviors of other task performers, wherein the task solutions can only be viewed by a task publisher; after the task deadline is reached, a task publisher or a task executor triggers a task evaluation and reward distribution process; in the task chain module, the task intelligent contract carries out task evaluation based on a preset rule and/or a preset answer, and an anonymous account with the answer result closest to the correct answer is selected for rewarding, and the rewarding result is recorded in the task chain module and the user chain module; acquiring current reward information of the anonymous account by inquiring a user chain module; initiating an application for synchronizing the reward information to the original account to the trusted execution environment module; the trusted execution environment module applies for necessary user information from the user chain module according to the first privacy information of the original account and the second privacy information of the anonymous account sent by the client module so as to synchronize the information of the anonymous account into the original account; merging the privacy information of the original account and the privacy information of the anonymous account into third privacy information of the original account, and sending the third privacy information to the original account; the original account uploads a result returned by the trusted execution environment module to the user chain module; and the user chain module takes the signature of the trusted execution environment module as a trusted basis and updates the first privacy information of the original account into the third privacy information of the original account. The first privacy message may be privacy information of the original account, the second privacy message may be privacy information of the anonymous account, and the third privacy message may be new privacy information of the original account, that is, a message obtained by combining the privacy information of the original account and the privacy information of the anonymous account.
In some embodiments, the client module includes an organization user entity, the user entity has a primary account identity and can possess one or more anonymous account identities, a user certificate of the primary account needs to be initiated by an administrator of the organization to a certificate authority module, the primary account locally initiates a registration process to obtain an X509 certificate issued by the organization, wherein in the client module, the user registration needs to be initiated by the administrator to ensure that a user in the organization is a verified honest user, the anonymous certificate initiates the registration process to the certificate authority module according to information of the primary account, and information of task identities is stored in the anonymous certificate.
In some embodiments, the trusted execution environment module is configured to provide a secure space for execution of data and code and guarantee confidentiality and integrity of the data and code, the trusted execution environment module provides an isolated environment to store sensitive information of a user, the applications running on the trusted execution environment module are one or more trusted applications, the trusted applications are isolated from each other by cryptographic assurance and cannot freely read and operate data of other trusted applications, wherein integrity verification is required for the trusted applications before execution to ensure that the trusted applications are not tampered, and the trusted execution environment module is further configured to receive account data information transmitted from a primary account for data synchronization in a privacy-protected manner.
In some embodiments, the user chain module includes a blockchain for storing user information, the blockchain for storing user information stores data information of a primary account and data information of an anonymous account, wherein the private information of the primary account is encrypted by using a public key of the primary account to ensure that only an owner of the primary account can view the plaintext of the private information, the private information of the anonymous account is encrypted by using a public key of a task publisher to ensure that only the task publisher can view the private information, and the user chain module deploys a user management intelligent contract configured to be responsible for registration of a user and update of user information.
In some embodiments, the task chain module is a block chain for storing task information, and the data information of the task life cycle is stored on the block chain for storing task information, and the data information of the whole task life cycle includes one or more of the following items: basic information of a task publishing stage, participants of the task, a solution of the task, an evaluation result of the solution and a reward distribution result of the task, wherein a task management intelligent contract is deployed on a task chain module and is configured to manage implementation processes of crowdsourced tasks.
In some embodiments, the necessary identity information includes one or more of a private information hash value and a user public key for ensuring the validity and correctness of the copy history information.
In some embodiments, the data set of the task that the task publisher needs to upload during the task publishing process includes one or more of training set data and results, test set files, and test set result file hash valuesEAnd uploading the training set data and the test set file to the distributed file system and uploading the hash value to the task chain, which is convenient for the task performer to download subsequentlyMeanwhile, the test set result file is not uploaded to the block chain, so that a task executor is prevented from obtaining the result file and carrying out malicious behavior of taking a free car; the hash value of the test result aggregation file is uploaded to a task block chain and displayed, and the hash value is used as the basis of subsequent result evaluation, so that the task publisher is prevented from replacing the result file after obtaining a solution and performing malicious error reporting behaviors.
According to a second aspect of the present disclosure, a system for crowd-sourced result evaluation and reward distribution based on smart contracts includes a client module, a trusted execution environment module, a task chain module, and a user chain module, wherein the client module, the trusted execution environment module, the task chain module, and the user chain module are configured to cooperate to implement a method according to the first aspect of the present disclosure.
According to a third aspect of the present disclosure, a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the method according to the first aspect of the present disclosure.
The technical effects to be realized by the present disclosure are:
1. the anonymous account is used for participating in the crowdsourcing task, so that the privacy leakage of the user caused by transparent data disclosure in the crowdsourcing platform based on the block chain can be avoided.
2. The intelligent contracts on the task chain are used for carrying out public and transparent evaluation on the solution, so that the crowd-sourced result evaluation and the reward distribution are more fair and fair.
3. The user reward information can be fully utilized by synchronizing the reward information to the primary account using the trusted execution environment.
Drawings
FIG. 1 illustrates a crowdsourcing platform overall framework according to one embodiment of the disclosure;
FIG. 2 illustrates a framework of a method for crowd-sourced result evaluation and reward distribution based on smart contracts, according to one embodiment;
FIG. 3 illustrates a method of task evaluation reward distribution according to one embodiment; and
FIG. 4 illustrates a method of anonymous user reward according to one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The method aims to solve the problems that in the conventional crowdsourcing platform based on the block chain, data is disclosed transparently to cause user privacy leakage, a task evaluation stage evaluation process is not transparent, user reward information is not sufficiently utilized and the like, and aims to provide a crowdsourcing result evaluation and reward distribution method, so that the user privacy in a reward distribution process is guaranteed, the fairness and fairness of task evaluation results are guaranteed, and dynamic synchronization of the user reward information is realized.
A primary account for a task publisher or a task performer may be created at a client module of a crowdsourcing platform and one or more anonymous accounts may be created based on the primary account, the anonymous accounts corresponding to tasks published by the task publisher in the platform. In an embodiment of the disclosure, in order to protect user privacy during crowdsourcing task allocation, an anonymous account may be generated using an anonymous authentication technique, and user history data may be copied to the anonymous account in a trusted execution environment TEE (e.g., Intel SGX, AMD SEV, ARM TrustZone) to participate in a task with the anonymous account, and task allocation with time limitation is implemented by fully utilizing the user history data in the anonymous account. It should be noted that the above-mentioned ways of creating the primary account and the anonymous account are only exemplary, and those skilled in the art may also implement the creation of the primary account and the anonymous account according to any other suitable ways as long as the corresponding purposes can be achieved.
Fig. 1 illustrates a crowdsourcing platform overall framework according to one embodiment of the disclosure. Referring to fig. 1, the general framework of a crowdsourcing platform. In some embodiments, the crowdsourcing platform indicated by block 4 comprises a storage layer, a blockchain layer, and an application layer. As shown in FIG. 1, in the storage tier, the task raw data module and the task solution module may be stored in IPFS, and the data hash value of the storage tier is saved in the blockchain tier. And the application layer comprises a task management module and a user management module which can perform data interaction with the blockchain layer.
In some embodiments, the blockchain layer includes a task posting module, a task acceptance and worker selection module 2, a task submission module, a task evaluation and reward assignment module 3, a user intelligent contract module, and a task chain and user chain module 1. In particular, the task chain module may retrieve the task raw data module and the task solution module stored in the storage layer based on the hash value. As shown in fig. 1, the present disclosure proposes a scheme of crowd-sourced result evaluation and reward distribution for the task evaluation and reward distribution step in the task evaluation and reward distribution module 3. It is noted that "worker" and "task performer" are in the same or similar concepts and may be used interchangeably herein.
FIG. 2 illustrates a smart contract-based crowd-sourced result evaluation and reward distribution method framework, according to one embodiment. The method will now be described in detail with reference to fig. 2.
As known by persons in the field, the blockchain has the characteristics of non-falsification, public transparency and traceability, the intelligent contract is automatically triggered, and the execution result cannot be changed by external force, so that public justice of the task evaluation process can be realized by using the blockchain and the intelligent contract. The trusted execution environment (i.e., TEE), which is either privileged to the system or inaccessible to the outside world, has a high degree of data confidentiality and is an important place for data exchange. And the TEE is used for synchronizing the reward information of the anonymous account to the original account, so that the reward synchronization is realized on the basis of ensuring the privacy.
With continued reference to fig. 2, the participating entities are divided into four parts, namely a client, a TEE, a task chain and a user chain. The client may also be referred to as a client module, the TEE may also be referred to as a TEE module or a trusted execution environment module, the task chain may also be referred to as a task chain module, and the user chain may also be referred to as a task chain module.
Referring to fig. 2, in some embodiments, a client refers to a user entity of an organization, having a primary account identity, and may have multiple anonymous account identities. The user certificate of the primary account needs to initiate a registration process with the CA by the administrator of the organization, and the primary account initiates the registration process locally to obtain the X509 certificate issued by the organization. Since the user registration needs to be initiated by the administrator, it can be guaranteed that the user in the organization is a certain authenticated honest user. The anonymous certificate needs to initiate a registration process to the CA according to the information of the original account, and the anonymous certificate stores the information of the task ID.
In some embodiments, the TEE provides a more secure space for the execution of data and code and ensures their confidentiality and integrity. The TEE provides an isolated environment for storing sensitive information of users, applications running on the TEE are called Trusted Applications (TA), and the Trusted applications are ensured to be isolated from each other through a cryptographic technology and cannot read and operate data of other Trusted applications randomly. In addition, integrity verification is required to be carried out on the trusted application before execution, and the application is guaranteed not to be tampered. The TEE is responsible for receiving data information transmitted by the primary account and carrying out data synchronization in a privacy protection mode.
In some embodiments, referring to FIG. 2, the user chain is a blockchain that stores user information, with data information for the primary account and data information for the anonymous account stored on the chain. The privacy information of the primary account is encrypted using the public key of the primary account, ensuring that only the owner of the primary account can view the plaintext of the privacy information. The privacy information of the anonymous account is encrypted using the public key of the task publisher to ensure that only the task publisher can view it. The user chain is provided with a user management intelligent contract which is mainly responsible for the functions of user registration, user information updating and the like.
In some embodiments, referring to fig. 2, the task chain is a block chain for storing task information, and data information of the whole life cycle of the task is stored on the chain, and includes basic information of a task publishing stage, participants of the task, a solution of the task, an evaluation result of the solution, a reward distribution result of the task, and the like. And a task management intelligent contract is deployed on the task chain and is responsible for managing the implementation process of the crowdsourcing task.
In the embodiment shown in FIG. 2, after the task performer completes the task, in order to prevent malicious plagiarism by other task performers, the anonymous account encrypts a task solution using the public key of the task and submits the encrypted task solution to the task chain (step (r)), and the solution can be viewed by only the task publisher. After the task deadline is reached, a task publisher or a task executor can trigger a task evaluation and reward distribution process (step two), the intelligent contract carries out task evaluation according to a preset rule or a preset answer, a user with the answer result closest to the correct answer is selected for reward, and the reward result is recorded in a task chain and a user chain (step three). The anonymous account can acquire the current reward information of the anonymous account by inquiring the user chain (step (r)), but the reward information needs to be synchronized into the original account because the anonymous account cannot participate in the task again. The primary account may initiate an application to the TEE (step c), synchronizing the information of the anonymous account to the primary account. The TEE applies for necessary user information from a user chain according to the original account privacy information and the anonymous account privacy information sent by the user (step (c)), combines the privacy information of the original account and the privacy information of the anonymous account to form new privacy information of the original account, and sends the new privacy information to the original account (step (c)). And the primary account uploads a result returned by the TEE to a user chain (step (+), and the user chain updates the privacy information of the primary account by taking the signature of the TEE as a credible basis. To this end, the crowd-sourced result evaluation and reward distribution process based on the smart contract is completed.
FIG. 3 illustrates a method of task evaluation reward distribution, according to one embodiment. In the embodiment shown in FIG. 3, task evaluation for multiple task types may be achieved by extending the task chain. For example, any suitable data annotation method may be used for data annotation class tasks and any suitable data collection method may be used for data collection classes, taking into account reputation factors of the task performer for task evaluation. Table 1 shows a symbolic illustration of the task evaluation.
TABLE 1 symbolic description of task evaluation
Figure BDA0003393308280000071
Figure BDA0003393308280000081
The data set D of the tasks needing to be uploaded by the publisher in the task publishing process comprises training set data, results, test set files and test set result file hash valuesE. The system uploads training set data and test set files to the IPFS distributed file system and uploads hash values to a task chain, so that a task executor can conveniently download the files subsequently. The system does not upload the test set result file to the block chain, so that a task executor is prevented from obtaining the result file and carrying out malicious behavior of taking a free car. But the hash value of the test result aggregation file is required to be uploaded to a task block chain and displayed, and the hash value is used as the basis of subsequent result evaluation, so that the malicious error reporting behavior caused by replacing the result file after a publisher obtains a solution is prevented.
After the task performer completes the received task, the task performer encrypts the solution S by using the public key of the task and uploads the solution S to the block chain. Testing the test set file by using a solution of the test set file, and obtaining a result RsAnd uploading the test result collection files serving as task executors to the task block chain as subsequent comparison bases.
In the task evaluation stage and the reward distribution stage, firstly, a publisher is required to display an evaluation file, namely, original data E' of a test set result file is uploaded to a task block chain. Calculating whether the hash value of the current result file is the hash value of the result file existing on the task block chain or not by the intelligent dating of the task block chainEAnd the result files are consistent, and the task publisher is not changed. The task publisher initiates an automatic reward distribution request, and the intelligent contracts in the task block chain compare result files uploaded by the publisherAnd calculating the accuracy rate of the solution according to the result file uploaded by the task performer, distributing the reward to the task performer with the highest accuracy rate, and rewarding the relevant attributes of the task performer.
FIG. 4 illustrates a method of anonymous user reward according to one embodiment. As previously described, to protect the privacy of the user, the manner of anonymous account generation is used herein to engage in crowdsourcing tasks with anonymous accounts. Although the method of using the anonymous account can protect the privacy of the user, the user can be confronted with money rewards and attribute rewards which are distributed on the anonymous account, and the money rewards and the attribute rewards cannot become behavior information of an original account, so that the user cannot obtain more positive feedback from historical behaviors. In order to solve the problems, an anonymous user reward mechanism based on the TEE technology is adopted, so that reward information of the user is synchronized back to an original account. The specific flow is shown in FIG. 4.
Referring to fig. 4, the original account firstly applies for the private information of the user to the user intelligent contract, and decrypts the private information by using the private key of the original account to obtain the plain text of the private information
Figure BDA0003393308280000091
The anonymous account also executes the same operation to obtain the plaintext information of the anonymous account
Figure BDA0003393308280000092
And apply for the relevant information of the task from the intelligent contract to obtain the execution condition of the task
Figure BDA0003393308280000093
With continued reference to fig. 4, the primary account initiates a privacy information merge application to the TEE, and the message content of the request includes: ID of original user
Figure BDA0003393308280000094
Plain text of privacy information of original account
Figure BDA0003393308280000095
ID information for anonymous accounts
Figure BDA0003393308280000096
Privacy information cleartext for anonymous accounts
Figure BDA0003393308280000097
Task completion for anonymous accounts
Figure BDA0003393308280000098
The original account uses the public key pub of TEETEEPerforming RSA encryption and using its private key
Figure BDA0003393308280000099
The signature is made and then this information is sent to the TEE. The reward process comprises the privacy information of the original account which can only be decrypted by the original account, the privacy information of the anonymous account which can only be decrypted by the anonymous account, and the completion condition of a task which is automatically generated and stored in the anonymous account through an intelligent contract in the crowdsourcing task process. And storing the hash value corresponding to the information in the block chain. In addition to that, it is from the original account uiAnd initiating operation and transferring information to the TEE.
After receiving the message, the TEE transfers the message from the untrusted area to the trusted area enclave for execution, and unseals the private key pri stored in the enclaveTEEDecryption is performed. After decryption, will
Figure BDA00033933082800000910
Transmitting the information to an untrusted area, and requiring the untrusted area to interact with a block chain to obtain the public key information of the original account
Figure BDA00033933082800000911
And the privacy information hash values of all current accounts, and pass both data to the TEE. The TEE receives the data and uses it first
Figure BDA00033933082800000912
To verify the message signature and thereby determine whether it is a message sent by the original account. Next, SHA256 summary calculation is performed on the privacy information of the original accountAnd calculating a hash value, and verifying whether the privacy information of the original account is changed. The same is done for the privacy of the anonymous account, verifying that the user sending the information also has the identity of the anonymous account. In addition, the information of the tasks is compared in order to verify whether the task information is altered. The TEE receives the information and checks the information to be completed, and then transmits the completed task related information, the reward and the attribute promotion information to the primary account uiI.e. combining the two in plain text of private information and using the public key of the original account
Figure BDA00033933082800000913
Encrypting using private key pri of TEETEESignature original account privacy information ciphertext, hash value, and
Figure BDA00033933082800000914
and returning to the original account. In the process, the hash values of the anonymous accounts need to be compared, because the current sent information is not the anonymous account, the identity of the anonymous account needs to be verified in the mode, and the hash values of the task information need to be compared to ensure that the task information is not tampered, so that a user is prevented from earning more benefits by changing the task completion condition.
And after the original account receives the message transmitted by the TEE, the original account uploads the message to the user block chain. The user block chain verifies whether the message is signed by the TEE, if so, the message is proved to be authentic, the data on the chain can be updated by the data, otherwise, the updating request is rejected.
It should be noted that, the present invention can be implemented not only by using a Web page for interaction, but also by using a local application or any other suitable manner. It should also be noted that the trusted execution environment TEE includes, but is not limited to, Intel SGX, AMD SEV, ARM TrustZone, and any suitable trusted execution environment may be used for the purposes of this disclosure.
In summary, the present disclosure provides a method for crowd-sourced result evaluation and reward distribution based on smart contracts, comprising the following steps: creating, at a client module of the platform, a primary account for a task publisher or a task performer and creating one or more anonymous accounts based on the primary account, the anonymous accounts corresponding to tasks of the platform by the task publisher; after the task performers complete tasks, the anonymous account encrypts the task solutions by using the public keys of the tasks and submits the task solutions to a task chain module so as to prevent malicious plagiarism behaviors of other task performers, wherein the task solutions can only be viewed by a task publisher; after the task deadline is reached, a task publisher or a task executor triggers a task evaluation and reward distribution process; in the task chain module, the task intelligent contract carries out task evaluation based on a preset rule and/or a preset answer, and an anonymous account with the answer result closest to the correct answer is selected for rewarding, and the rewarding result is recorded in the task chain module and the user chain module; acquiring current reward information of the anonymous account by inquiring a user chain module; initiating an application for synchronizing the reward information to the original account to the trusted execution environment module; the trusted execution environment module applies for necessary user information from the user chain module according to the first privacy information of the original account and the second privacy information of the anonymous account sent by the client module so as to synchronize the information of the anonymous account into the original account; merging the privacy information of the original account and the privacy information of the anonymous account into third privacy information of the original account, and sending the third privacy information to the original account; the original account uploads a result returned by the trusted execution environment module to the user chain module; and the user chain module takes the signature of the trusted execution environment module as a trusted basis and updates the first privacy information of the original account into the third privacy information of the original account.
Through the embodiment of the disclosure, the method and the system have simple implementation modes, avoid unnecessary interaction and information transmission, save hardware implementation cost, further apply the characteristics of architecture decentralization, data non-tampering, behavior traceability, system collective maintenance and the like of a block chain technology, can use anonymous accounts to participate in crowdsourcing tasks, avoid user privacy leakage caused by transparent data disclosure of a crowdsourcing platform based on the block chain, and can use intelligent contracts on the task chain to carry out public and transparent evaluation on a solution, so that the crowdsourcing result evaluation and reward distribution are fair and fair; in addition, the user reward information can be fully utilized by synchronizing the reward information to the primary account by using the trusted execution environment.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (8)

1. A method for crowd-sourced result assessment and reward distribution based on smart contracts, comprising the steps of:
creating, at a client module of a crowdsourcing platform, a primary account for a task publisher or a task performer and creating one or more anonymous accounts based on the primary account, the anonymous accounts corresponding to tasks published by the task publisher in the crowdsourcing platform;
after a task performer completes the task, the anonymous account encrypts a task solution using a public key of the task and submits the task solution to a task chain module to prevent malicious plagiarism by other task performers, wherein the task solution can only be viewed by the task publisher;
after the task deadline is reached, triggering task evaluation and reward distribution processes by the task publisher or the task performer;
in the task chain module, task intelligent contracts perform task evaluation based on preset rules and/or preset answers, select the anonymous account with the answer result closest to the correct answer for rewarding, and record the rewarding result in the task chain module and the user chain module;
acquiring current reward information of the anonymous account by inquiring the user chain module;
in particular, initiating an application to a trusted execution environment module to synchronize the reward information to the primary account;
the trusted execution environment module applies for necessary user information from the user chain module according to first privacy information of the original account and second privacy information of the anonymous account sent by a client module so as to synchronize the information of the anonymous account into the original account;
merging the privacy information of the original account and the privacy information of the anonymous account into third privacy information of the original account, and sending the third privacy information to the original account;
the original account uploads a result returned by the trusted execution environment module to the user chain module; and
the user chain module takes the signature of the trusted execution environment module as a trusted basis and updates the first privacy information of the original account to the third privacy information of the original account.
2. The method of claim 1, wherein the client module comprises a user entity of an organization, the user entity has a primary account identity and can possess one or more anonymous account identities, the user certificate of the primary account needs to initiate a registration process to a certificate authority module by an administrator of the organization, the primary account locally initiates a registration process to obtain an X509 certificate issued by the organization, wherein in the client module, user registration needs to be initiated by the administrator to ensure that a user in the organization is a verified honest user, an anonymous certificate initiates a registration process to a certificate authority module according to information of the primary account, and information of task identities is stored in the anonymous certificate.
3. The method according to claim 1 or 2, wherein the trusted execution environment module is configured to provide a secure space for execution of data and code and guarantee confidentiality and integrity of the data and code, the trusted execution environment module provides an isolated environment to hold sensitive information of a user, the applications running on the trusted execution environment module are one or more trusted applications, the trusted applications are isolated from each other by cryptographic guarantee and cannot freely read and operate data of other trusted applications, wherein the trusted applications need integrity verification before execution to guarantee that the trusted applications are not tampered, and the trusted execution environment module is further configured to receive account data information transmitted from an original account to perform data synchronization in a privacy-protected manner.
4. The method of claim 1, wherein the user chain module comprises a blockchain for storing user information, the blockchain for storing user information stores data information of the primary account and data information of the anonymous account, the private information of the primary account is encrypted by using a public key of the primary account so as to ensure that only an owner of the primary account can view the private information in clear, the private information of the anonymous account is encrypted by using a public key of a task publisher so as to ensure that only the task publisher can view the private information, and a user management intelligent contract is deployed on the user chain module and configured to be responsible for registration of a user and user information updating.
5. The method of claim 1, wherein the task chain module is a blockchain for storing task information, and the blockchain for storing task information stores data information of a task life cycle, and the data information of the task life cycle comprises one or more of the following items: basic information of a task publishing stage, participants of the task, a solution of the task, an evaluation result of the solution and a reward distribution result of the task, wherein a task management intelligent contract is deployed on the task chain module and is configured to manage implementation processes of crowdsourced tasks.
6. The method of claim 1, wherein the data set of the task that the task publisher needs to upload during the task publication process includes one or more of training set data and results, test set files, and test set result file hash valuesEThe training set data and the test set file are uploaded to a distributed file system, and the hash value is uploaded to a task chain, so that the task performer can conveniently download the files in the subsequent process, and meanwhile, the test set result file is not uploaded to a block chain, so that the task performer is prevented from obtaining the result file and carrying out malicious behavior of taking a free car; the hash value of the test result aggregation file is uploaded to a task block chain and displayed, and the hash value is used as the basis of subsequent result evaluation, so that the task publisher is prevented from replacing the result file after obtaining a solution and performing malicious error reporting behaviors.
7. A system for crowd-sourced result assessment and reward distribution based on smart contracts, comprising a client module, a trusted execution environment module, a task chain module and a user chain module, the client module, the trusted execution environment module, the task chain module and the user chain module being configured to cooperate to implement the method of any one of claims 1 to 6.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN202111475201.3A 2021-12-06 2021-12-06 Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts Pending CN114168913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111475201.3A CN114168913A (en) 2021-12-06 2021-12-06 Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111475201.3A CN114168913A (en) 2021-12-06 2021-12-06 Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts

Publications (1)

Publication Number Publication Date
CN114168913A true CN114168913A (en) 2022-03-11

Family

ID=80483490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111475201.3A Pending CN114168913A (en) 2021-12-06 2021-12-06 Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts

Country Status (1)

Country Link
CN (1) CN114168913A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826572A (en) * 2022-03-31 2022-07-29 西安电子科技大学 Decentralized crowdsourcing method and system supporting attribute privacy protection and terminal
CN114826684A (en) * 2022-03-31 2022-07-29 西安电子科技大学 Decentralized crowdsourcing method and system supporting efficient privacy protection and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826572A (en) * 2022-03-31 2022-07-29 西安电子科技大学 Decentralized crowdsourcing method and system supporting attribute privacy protection and terminal
CN114826684A (en) * 2022-03-31 2022-07-29 西安电子科技大学 Decentralized crowdsourcing method and system supporting efficient privacy protection and terminal
CN114826684B (en) * 2022-03-31 2023-06-16 西安电子科技大学 Decentralized crowdsourcing method, system and terminal supporting efficient privacy protection

Similar Documents

Publication Publication Date Title
EP3788523B1 (en) System and method for blockchain-based cross-entity authentication
US11533164B2 (en) System and method for blockchain-based cross-entity authentication
US11025435B2 (en) System and method for blockchain-based cross-entity authentication
Cai et al. Enabling reliable keyword search in encrypted decentralized storage with fairness
EP4120114A1 (en) Data processing method and apparatus, smart device and storage medium
CN111800268B (en) Zero knowledge proof for blockchain endorsements
US10979418B2 (en) Template-based distributed certificate issuance in a multi-tenant environment
WO2021000419A1 (en) System and method for blockchain-based cross-entity authentication
WO2023077794A1 (en) Blockchain access permission control method, and system, device, program and medium
Cai et al. Towards private, robust, and verifiable crowdsensing systems via public blockchains
JP2021512569A (en) Blockchain data processing method, management side, client side, converter and medium
CN109409122A (en) File memory method and its electronic equipment, storage medium
CN108322306A (en) A kind of cloud platform reliable journal auditing method towards secret protection based on trusted third party
CN111797159A (en) Information management and access control in a database
CN109472164A (en) The verification method and its network and electronic equipment of contract dataset
CN112187712B (en) Anonymous authentication method and system for trust in de-center mobile crowdsourcing
US10887104B1 (en) Methods and systems for cryptographically secured decentralized testing
KR20220044306A (en) Partially-aligned blockchain
CN109600366A (en) The method and device of protection user data privacy based on block chain
CN111160998B (en) Comment data processing method and device based on block chain and comment system
CN109242404B (en) Resume information management method, resume information management device, computer equipment and readable storage medium
CN114329529A (en) Asset data management method and system based on block chain
CN114168913A (en) Crowd-sourcing result evaluation and reward distribution method, system and medium based on intelligent contracts
CN112989385B (en) Method and system for controlling data security dynamic access in inter-cloud computing environment
CN115136543A (en) Authentication service for use in blockchain networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination