CN111131508B - Method and system for executing block chain crowdsourcing task and computer equipment - Google Patents

Method and system for executing block chain crowdsourcing task and computer equipment Download PDF

Info

Publication number
CN111131508B
CN111131508B CN201911418582.4A CN201911418582A CN111131508B CN 111131508 B CN111131508 B CN 111131508B CN 201911418582 A CN201911418582 A CN 201911418582A CN 111131508 B CN111131508 B CN 111131508B
Authority
CN
China
Prior art keywords
task
contract
client terminal
user information
user
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.)
Active
Application number
CN201911418582.4A
Other languages
Chinese (zh)
Other versions
CN111131508A (en
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.)
Bubi Beijing Network Technology Co ltd
Original Assignee
Bubi Beijing Network Technology Co ltd
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 Bubi Beijing Network Technology Co ltd filed Critical Bubi Beijing Network Technology Co ltd
Priority to CN201911418582.4A priority Critical patent/CN111131508B/en
Publication of CN111131508A publication Critical patent/CN111131508A/en
Application granted granted Critical
Publication of CN111131508B publication Critical patent/CN111131508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/008Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method, a system and a computer device for executing a blockchain crowdsourcing task. The method comprises the following steps: the first client terminal establishes a task contract according to the received task issuing request and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement; the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal; if the user information meets the task execution requirement, the second client terminal adds the user identification to the task contract and executes the task in the task contract; and the second client terminal stores the task execution result into a storage layer of the blockchain crowdsourcing system, generates a corresponding storage pointer, adds the storage pointer into a task contract and issues the task contract to each blockchain node of the whole network. By adopting the method, the block chain crowdsourcing system completes the task execution of crowdsourcing.

Description

Method and system for executing block chain crowdsourcing task and computer equipment
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, a system, and a computer device for performing blockchain crowdsourcing tasks.
Background
With the rapid development of technologies such as mobile internet and internet of things in recent years, crowdsourcing is changed from an online WEB platform-based mode to a novel computing mode, which is called as space-time crowdsourcing. Spatio-temporal crowdsourcing assigns crowdsourcing tasks with spatio-temporal characteristics to a non-specific crowd-sourced participant population and requires crowdsourcing participants to complete the crowdsourcing task in an active or passive manner and to meet spatio-temporal constraints specified by the task.
However, the conventional crowdsourcing platform is a centralized single point, data information is easy to leak and is very easy to attack, once the crowdsourcing platform is attacked or fails, the operation of the whole system is affected, and further the completion of crowdsourcing tasks of users is affected. Therefore, a solution for performing crowdsourcing tasks is needed.
Disclosure of Invention
In view of the foregoing, there is a need to provide a method, system and computer device for performing a blockchain crowdsourcing task.
In a first aspect, a method for executing a blockchain crowdsourcing task is provided, where the method is applied to a system for executing a blockchain crowdsourcing task, where the system for executing the blockchain crowdsourcing task includes a plurality of client terminals and blockchain nodes, where the plurality of client terminals includes at least a first client terminal and a second client terminal, and the method includes:
the first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement;
the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract;
and the second client terminal stores a task execution result into a storage layer of the execution system of the block chain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer into the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network.
As an optional implementation manner, the task execution requirement includes at least one information evaluation criterion in the user information, and the second client terminal determines whether the user information meets the task execution requirement according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal, including:
judging at least one item of user information in the user information contract according to an information evaluation standard in the task execution requirement, wherein the user information comprises user basic information, user credibility, user skill and user activity;
and if the user information meets all the information evaluation criteria in the task execution requirement, determining that the user corresponding to the user information contract meets the task execution requirement.
As an optional implementation, the method further comprises:
the first client terminal creates a user identifier according to a received registration request, wherein the registration request carries user information of a registered user;
and the first client terminal creates the user information contract according to the user information and the user identification, and sends the user information contract to each block link point for carrying out the total network consensus issuing.
As an optional implementation, the method further comprises:
the second client terminal obtains the task execution result according to a storage pointer in the task contract and evaluates the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result;
and the second client terminal adds the task evaluation result to the task contract and issues the updated task contract to each block chain node of the whole network.
As an optional implementation manner, the user information contract further includes a task list, and the method further includes:
the second client terminal updates the user information in the user information contract according to a preset updating algorithm;
and the second client terminal writes the address of the task contract corresponding to the acquired target task into the task list and issues the updated user information contract to each block link node of the whole network.
As an optional implementation, the method further comprises:
the second client terminal generates the reward of the second client terminal according to the task evaluation result and the reward algorithm corresponding to the second client terminal in the task contract;
the second client terminal obtains the reward.
In a second aspect, a system for executing a blockchain crowdsourcing task is provided, where the system for executing a blockchain crowdsourcing task includes a plurality of client terminals and each blockchain node, where the plurality of client terminals includes at least a first client terminal and a second client terminal;
the first client terminal is used for creating a task contract according to the received task issuing request and sending the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement;
the second client terminal is used for judging whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal is used for adding a user identifier in the user information contract to the task contract and executing a task in the task contract;
and the second client terminal is used for storing a task execution result to a storage layer of the block chain crowdsourcing task execution system, generating a corresponding storage pointer, adding the storage pointer to the task contract to obtain an updated task contract, and issuing the updated task contract to each block chain node in the whole network.
As an optional implementation manner, the second client terminal is configured to obtain a corresponding task execution result according to a storage pointer in the task contract, and evaluate the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result;
and the second client terminal is used for adding the task evaluation result into the task contract and issuing the task contract to each block chain node in the whole network.
In a third aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
the first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement;
the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract;
and the second client terminal stores the task execution result in a storage layer of the block chain crowdsourcing task execution system, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node in the whole network.
In a fourth aspect, a computer readable storage medium is provided, the computer program realizing the following steps when executed by a processor:
the first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement;
the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract;
and the second client terminal stores the task execution result to a storage layer of the block chain crowdsourcing system, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network.
The embodiment of the application provides an execution method, an execution system and computer equipment for a blockchain crowdsourcing task, wherein the execution system for the blockchain crowdsourcing task comprises a plurality of client terminals and each blockchain node, and the plurality of client terminals at least comprise a first client terminal and a second client terminal. The first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement; the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal; if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract; and the second client terminal stores the task execution result into a storage layer of the execution system of the blockchain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer into the task contract to obtain an updated task contract, and issues the updated task contract to each blockchain node of the whole network. Therefore, the execution system of the block chain crowdsourcing task completes the crowdsourcing task execution work.
Drawings
Fig. 1 is a flowchart illustrating a method for performing a blockchain crowdsourcing task according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an execution system for block chain crowdsourcing task according to an embodiment of the present application;
fig. 3 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The application provides an execution method of a blockchain crowdsourcing task, which can be applied to an execution system of the blockchain crowdsourcing task. The system for executing the blockchain crowdsourcing task comprises a plurality of client terminals and each blockchain node, wherein the plurality of client terminals at least comprise a first client terminal and a second client terminal, and the first client terminal and the second client terminal are communicated with the blockchain nodes through a network. Firstly, a first client terminal establishes a task contract according to a received task issuing request, and sends the task contract to each block link point for overall network consensus issuing, wherein the task contract comprises a task execution requirement; then, the second client terminal judges whether the user information meets the task execution requirement according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal; if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract; and finally, the second client terminal stores the task execution result to a storage layer of an execution system of the block chain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network. Alternatively, the plurality of client terminals may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server where the block link point is located may be implemented by an independent server or a server cluster formed by a plurality of servers.
Optionally, the consensus mechanism adopted for the consensus issuance among the block chain nodes may be a BFT (Byzantine Fault Tolerance algorithm), or a DPOS (cleared Proof of stamp, delegation rights certification algorithm) or a POW (Proof of Work, workload certification mechanism), and therefore, the embodiment of the present application is not limited.
An embodiment of the present application provides an execution method for a blockchain crowdsourcing task, as shown in fig. 1, specifically, taking an example that the method is applied to an execution system for the blockchain crowdsourcing task, a processing procedure is as follows:
step 101, a first client terminal creates a task contract according to a received task issuing request, and sends the task contract to each block link point for carrying out overall network consensus issuing, wherein the task contract comprises a task execution requirement.
In the implementation, a task publisher inputs a task publishing request through a human-computer interaction interface in a first client terminal, and the first client terminal writes a task execution requirement carried in the task publishing request into a task contract according to a preset contract creation rule according to the received task publishing request. Optionally, the task issuing request received by the first client terminal may further include: task originator ID (identity), task content, task initiation prepayment, task evaluation algorithm, and task reward algorithm. Therefore, the first client terminal can write all the information carried in the received request for issuing the task into the task contract. The embodiments of the present application are not limited. Meanwhile, the first client terminal generates a task ID corresponding to the task and identifies the task. Then, the first client terminal creates indexes such as a task executor IDlist, a task current state and a task execution result in the task contract. So that the second client terminal can update these metrics in the task contract during subsequent task executions. And finally, the first client terminal can send the created task contract to each block link point to carry out the consensus issuing of the whole network, and the task contract after the consensus is completed can be inquired by the user of the whole network.
Specifically, the task ID in the task contract may be a type of string identifier; the task content is a specific task received and executed by a task executor; the task initiator ID is a user identifier (which can be a type of character string identifier) obtained when a corresponding task initiating user registers user information; the task execution requirements comprise one or more of the upper limit of the number of task executors, the credibility requirements of the task executors, the activity requirements of the task executors, the historical times requirements of the executors for executing the tasks and the evaluation result requirements of the historical tasks. The task performer ID list is a user identifier obtained by the user participating in the task performance when registering user information. The task execution result comprises a specific task execution result and a corresponding storage pointer. The task executor ID list, the current task state, and the task execution result may be written into the task contract by the second client terminal in the subsequent task execution process to complete the update of the task contract. Optionally, the task initiator needs to submit a prepayment to ensure execution of the task contract, so as to avoid a null calculation phenomenon, and therefore, the task initiator can write the task prepayment amount into the task contract through the first client terminal. The mission advance payment may include a base award and an additional award.
As an optional implementation manner, when the execution system of the blockchain crowdsourcing task is used for the first time, a user issues a task or acquires a task to execute through a client terminal, and registration of user information is required to be performed first, which is described by taking the user as a task issuer as an example, and other cases are similar to the above, and specific processing steps are as follows:
step one, a first client terminal creates a user identifier according to a received registration request, wherein the registration request carries user information of a registered user.
In implementation, a task publisher inputs a registration request through a human-computer interaction interface of a first client terminal, the registration request carries user information of the task publisher, and the first client terminal generates a user identifier corresponding to a registered user. In particular, the user identification may be a type of string generated by the first client terminal.
And step two, the first client terminal creates a user information contract according to the user information and the user identification, and sends the user information contract to each block link point to carry out the total network consensus distribution.
In implementation, the first client terminal writes the user information carried in the registration request into a user information contract according to the user information and the user identifier in the registration request and a preset contract creation rule. Optionally, the user information may include: the method includes the steps of obtaining user basic information, user reputation, user activity, user skill, user bearable role and task list, and the embodiment of the application is not limited. Therefore, the first client terminal can write all of the above-mentioned user information in the user information contract. And then, the first client terminal sends the created user information contract to each block link point for carrying out the consensus distribution of the whole network. After the consensus is completed, the user information is written into the block chain, and an execution system of the block chain crowdsourcing task can inquire the user information through the user information contract.
Specifically, in the user information contract, the user basic information includes, for example, the profession, the academic calendar, and the like of the registered user; the user credibility is the current credibility obtained by the user aiming at the historical execution condition of the task; the user skills comprise professional skills (such as programming capability, data processing capability and the like) possessed by the user, and are convenient to match with the executed task types; the user activity is the activity of the execution system of the user participating in the blockchain crowdsourcing task, and may include: task delay and bidding times; the user assumed roles include task performers, task publishers, and task verifiers (also referred to as verification nodes). The task list in the user information contract may include a history execution record of the registered user for the type of task, where the history execution record includes a task ID and a task contract address corresponding to the type of task.
Optionally, when each user finishes user information registration, the client terminal of each user may correspondingly generate a key pair (a public key and a private key) of the user, when the task publisher needs to define task content as a specified target task performer to perform, the first client terminal corresponding to the task publisher may encrypt task content in the task contract through the public key of the target task performer, and the second client terminal decrypts the obtained task content through the private key of the target task performer to obtain specific task content. Similarly, the second client terminal can sign the completed task execution result through the private key of the target task executor, so that the task issuer can know the task executor executing the task.
And 102, the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal.
In the implementation, a task executor applies for obtaining a task to be completed, which is issued by an execution system of the block chain crowdsourcing task, through a second client terminal, and the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement in a task contract corresponding to the task and the user information in a user information contract corresponding to the second client terminal.
As an optional implementation manner, the task execution requirement includes at least one information evaluation criterion in the user information, and the second client terminal determines whether the user information meets the information evaluation criterion in the task execution requirement according to the information evaluation criterion and the user information in the user information contract corresponding to the second client terminal, where the specific processing procedure is as follows:
judging at least one item of user information in a user information contract according to an information evaluation standard in a task execution requirement, wherein the user information comprises user basic information, user credit, user skill and user activity; and if the user information meets all information evaluation criteria in the task execution requirement, determining that the user corresponding to the user information contract meets the task execution requirement.
For example, the information evaluation index included in the task execution requirement in the task contract is the upper limit of the number of task executors: and 5, if the user reputation is greater than or equal to 80 minutes and the user skill has Java programming capability, the second client terminal compares the information evaluation index in the task contract with the user information in the user information contract of the second client terminal to judge, and if the user reputation and the user skill in the user information corresponding to the second client terminal both meet the task execution requirement in the task contract and the number of task executors in the task contract does not reach the upper limit of the number, the user corresponding to the user information contract is judged to meet the task execution requirement.
And 103, if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract.
In implementation, if the user information in the user information contract corresponding to the second client terminal meets all the information evaluation indexes in the task execution requirement, the second client terminal may add the user identification (user ID) included in the user information contract to the task executor IDlist of the task contract and then correspondingly execute the task in the task contract.
Optionally, if the user corresponding to the second client terminal meets the task execution requirement, the second client terminal may deposit the token as a deposit, and then collect the task for execution.
And 104, the second client terminal stores the task execution result to a storage layer of an execution system of the block chain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network.
In implementation, after the second client terminal completes the tasks in the task contract, the task execution result is stored in the storage layer of the block chain crowdsourcing task execution system, a corresponding storage pointer is generated, the storage pointer is added to the task contract, and the updated task contract is published at each block chain node of the whole network.
As an optional implementation manner, the second client terminal may obtain a task execution result according to a storage pointer in the task contract, and evaluate the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result; and then, the second client terminal adds the task evaluation result to the task contract and issues the updated task contract to each block chain node of the whole network.
In implementation, the second client terminal may obtain a corresponding task execution result according to a storage pointer in the task contract, and evaluate the task execution result according to a task evaluation algorithm pre-established in the task contract to obtain a task evaluation result, where the task evaluation result is divided into two types (good or bad). And then, the second client terminal adds the obtained task evaluation result to a task contract and issues the updated task contract to each block chain node of the whole network. Optionally, a homomorphic encryption technology is adopted in a task evaluation algorithm in the task contract, so that it is ensured that a verification node (a task verifier) can still evaluate a task execution result without knowing specific contents of the task, and the verification node may be a second client terminal corresponding to a task issuer or a client terminal corresponding to another user, so that the embodiment of the present application is not limited.
As an optional implementation manner, the user information contract further includes a task list, and the second client terminal updates the user information in the user information contract according to a preset updating algorithm; and the second client terminal writes the address of the task contract corresponding to the acquired target task into the task list and issues the updated user information contract to each block link node of the whole network.
In implementation, after the second client terminal completes the executed task, the second client terminal may update the user information in the user information contract according to a preset update algorithm, for example, the second client terminal updates the current reputation of the user in the user information contract according to the preset reputation update algorithm and the lowest reputation of the type of task in the whole network, and specifically, the user j corresponding to the second client terminal updates the current reputation of the type of task K for the current reputation of the type of task KDegree of credit of beta j,k ,H K Lowest reputation value, β, for the execution of this type of task j,k A typical update function of (a) is as follows:
Figure GDA0003679886450000101
and meanwhile, the second client terminal writes the acquired task ID corresponding to the target task and the address of the task contract into the task execution list to complete the task recording of the executed task. And finally, the second client terminal issues the updated user information contract to each block chain node of the whole network.
As an optional implementation manner, the second client terminal generates the reward of the second client terminal according to the task evaluation result and the reward algorithm corresponding to the second client terminal in the task contract; the second client terminal then obtains the reward.
Optionally, the reward includes a basic reward and an additional reward, if the task evaluation result of the second client terminal in the second client terminal query task contract is good, a corresponding reward transaction is created, the corresponding reward transaction is stored in the block chain and sent to each node of the block chain for global consensus distribution, wherein the generated reward includes the basic reward and the additional reward, and if the task evaluation result of the second client terminal in the third client terminal query task contract is poor, the corresponding generated reward is only the basic reward.
The embodiment of the application provides an execution method of a blockchain crowdsourcing task, which is applied to an execution system of the blockchain crowdsourcing task, wherein the execution system of the blockchain crowdsourcing task comprises a plurality of client terminals and each blockchain node, and the plurality of client terminals at least comprise a first client terminal and a second client terminal. The first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement; the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal; if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract; and the second client terminal stores the task execution result in a storage layer of an execution system of the block chain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network. Therefore, the execution system of the block chain crowdsourcing task completes the crowdsourcing task execution work.
The embodiment of the present application further provides an execution system of a blockchain crowdsourcing task, as shown in fig. 2, the execution system of the blockchain crowdsourcing task includes a plurality of client terminals and each blockchain link point 230, where the plurality of client terminals includes at least a first client terminal 210 and a second client terminal 220.
The first client terminal 210 is configured to create a task contract according to the received task issuing request, and send the task contract to each block link node 230 for performing consensus issuing over the whole network, where the task contract includes a task execution requirement;
the second client terminal 220 is configured to determine whether the user information meets the task execution requirement according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal 220;
if the user information meets the task execution requirement, the second client terminal 220 is used for adding the user identifier in the user information contract to the task contract and executing the task in the task contract;
and the second client terminal 220 is configured to store the task execution result in a storage layer of the execution system of the blockchain crowdsourcing task, generate a corresponding storage pointer, add the storage pointer to the task contract, and issue the updated task contract to each blockchain link point 230 of the whole network.
As an optional implementation manner, the task execution requirement includes at least one information evaluation criterion in the user information, and the second client terminal 220 is specifically configured to determine at least one item of the user information in the user information contract according to the information evaluation criterion in the task execution requirement, where the user information includes user basic information, user reputation, user skill and user activity;
and if the user information meets all the information evaluation criteria in the task execution requirement, determining that the user corresponding to the user information contract meets the task execution requirement.
As an optional implementation manner, the first client terminal 210 creates a user identifier according to the received registration request, where the registration request carries user information of a registered user;
the first client terminal 210 creates a user information contract according to the user information and the user identifier, and sends the user information contract to each block link node 230 for global consensus distribution.
As an optional implementation manner, the second client terminal 210 is configured to obtain a corresponding task execution result according to a storage pointer in a task contract, and evaluate the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result;
and the second client terminal 210 is used for adding the task evaluation result into the task contract and issuing the task contract to each block link point 230 of the whole network.
As an optional implementation manner, the user information contract further includes a task list, and the second client terminal 220 is configured to update the user information in the user information contract according to a preset update algorithm; the second client terminal 220 is configured to write an address of an acquired task contract corresponding to the target task into the task list, and issue the updated user information contract to each block link point 230 of the whole network.
As an optional implementation manner, the second client terminal 220 is configured to generate a reward of the second client terminal 220 according to the task evaluation result and the reward algorithm corresponding to the second client terminal 220 in the task contract; the second client terminal 220 obtains the reward.
The embodiment of the application provides an execution system of a blockchain crowdsourcing task, which comprises a plurality of client terminals and each blockchain node, wherein the plurality of client terminals at least comprise a first client terminal and a second client terminal. The first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out the common identification issuing of the whole network, wherein the task contract comprises a task execution requirement; the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in the user information contract corresponding to the second client terminal; if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract; and the second client terminal stores the task execution result in a storage layer of an execution system of the block chain crowdsourcing task, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node of the whole network. Therefore, the execution system of the block chain crowdsourcing task completes the crowdsourcing task execution work.
In one embodiment, a computer device, as shown in fig. 3, includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the steps of the method for performing the blockchain crowdsourcing task.
In one embodiment, a computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the computer program implements the steps of the method for performing any of the above-described blockchain crowdsourcing tasks.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of performing blockchain crowdsourcing tasks. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for performing blockchain crowdsourcing tasks, the method being applied to a system for performing blockchain crowdsourcing tasks, the system for performing blockchain crowdsourcing tasks comprising a plurality of client terminals and blockchain nodes, the plurality of client terminals comprising at least a first client terminal and a second client terminal, the method comprising:
the first client terminal establishes a task contract according to the received task issuing request, and sends the task contract to each block link point for carrying out total network consensus issuing, wherein the task contract comprises a task execution requirement;
the second client terminal judges whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal adds the user identifier in the user information contract to the task contract and executes the task in the task contract;
and the second client terminal stores the task execution result in a storage layer of the block chain crowdsourcing task execution system, generates a corresponding storage pointer, adds the storage pointer to the task contract to obtain an updated task contract, and issues the updated task contract to each block chain node in the whole network.
2. The method according to claim 1, wherein the task execution requirement includes at least one information evaluation criterion in the user information, and the second client terminal determines whether the user information satisfies the task execution requirement according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal, including:
judging at least one item of user information in the user information contract according to an information evaluation standard in the task execution requirement, wherein the user information comprises user basic information, user credibility, user skill and user activity;
and if the user information meets all the information evaluation criteria in the task execution requirement, determining that the user corresponding to the user information contract meets the task execution requirement.
3. The method of claim 1, further comprising:
the first client terminal creates a user identifier according to a received registration request, wherein the registration request carries user information of a registered user;
and the first client terminal creates the user information contract corresponding to the first client terminal according to the user information and the user identification, and sends the user information contract to each block link point for carrying out the whole network consensus distribution.
4. The method of claim 1, further comprising:
the second client terminal obtains the task execution result according to a storage pointer in the task contract, and evaluates the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result;
and the second client terminal adds the task evaluation result to the task contract and issues the updated task contract to each block chain node of the whole network.
5. The method of claim 4, wherein the user information contract further includes a task list, the method further comprising:
the second client terminal updates the user information in the user information contract according to a preset updating algorithm;
and the second client terminal writes the address of the task contract corresponding to the acquired target task into the task list and issues the updated user information contract to each block link node of the whole network.
6. The method of claim 1, further comprising:
the second client terminal generates the reward of the second client terminal according to the task evaluation result and the reward algorithm corresponding to the second client terminal in the task contract;
the second client terminal obtains the reward.
7. The system for executing the blockchain crowdsourcing task is characterized by comprising a plurality of client terminals and each blockchain node, wherein the plurality of client terminals at least comprise a first client terminal and a second client terminal;
the first client terminal is used for creating a task contract according to the received task issuing request and sending the task contract to each block link point for carrying out total network consensus issuing, wherein the task contract comprises a task execution request;
the second client terminal is used for judging whether the user information meets the task execution requirement or not according to the task execution requirement and the user information in a user information contract corresponding to the second client terminal;
if the user information meets the task execution requirement, the second client terminal is used for adding a user identifier in the user information contract to the task contract and executing a task in the task contract;
and the second client terminal is used for storing a task execution result to a storage layer of the block chain crowdsourcing task execution system, generating a corresponding storage pointer, adding the storage pointer to the task contract to obtain an updated task contract, and issuing the updated task contract to each block chain node in the whole network.
8. The system according to claim 7, wherein the second client terminal is configured to obtain the corresponding task execution result according to a storage pointer in the task contract, and evaluate the task execution result according to a task evaluation algorithm in the task contract to obtain a task evaluation result;
and the second client terminal is used for adding the task evaluation result into the task contract and issuing the task contract to each block chain node in the whole network.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911418582.4A 2019-12-31 2019-12-31 Method and system for executing block chain crowdsourcing task and computer equipment Active CN111131508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911418582.4A CN111131508B (en) 2019-12-31 2019-12-31 Method and system for executing block chain crowdsourcing task and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911418582.4A CN111131508B (en) 2019-12-31 2019-12-31 Method and system for executing block chain crowdsourcing task and computer equipment

Publications (2)

Publication Number Publication Date
CN111131508A CN111131508A (en) 2020-05-08
CN111131508B true CN111131508B (en) 2022-08-26

Family

ID=70507101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911418582.4A Active CN111131508B (en) 2019-12-31 2019-12-31 Method and system for executing block chain crowdsourcing task and computer equipment

Country Status (1)

Country Link
CN (1) CN111131508B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930717A (en) * 2020-08-07 2020-11-13 暨南大学 Crowdsourcing database construction method and device based on block chain and natural language processing
CN112446611A (en) * 2020-11-25 2021-03-05 杭州趣链科技有限公司 Crowdsourcing service management system and method based on block chain
CN112527892B (en) * 2020-11-25 2022-12-27 福建师范大学 Block chain-based secure crowdsourcing task issuing method and terminal
CN112581097A (en) * 2020-12-24 2021-03-30 陕西交建云数据科技有限公司 Responsibility tracing method based on block chain
CN112734196B (en) * 2020-12-30 2024-04-23 杭州趣链科技有限公司 Block chain-based mass measurement platform performance evaluation method and related equipment
CN112839046B (en) * 2021-01-14 2022-09-27 暨南大学 Traceable anonymous crowdsourcing method and system based on block chain
CN112862303B (en) * 2021-02-04 2023-04-11 天津大学 Crowdsourcing quality evaluation system and method based on block chain
CN112861181A (en) * 2021-03-09 2021-05-28 东南大学 Block chain-based method for developing security mechanism of crowd-sourcing software

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445948A (en) * 2018-11-15 2019-03-08 济南浪潮高新科技投资发展有限公司 A kind of data mark crowdsourcing plateform system and crowdsourcing data mask method based on intelligent contract
WO2019072311A2 (en) * 2018-12-29 2019-04-18 Alibaba Group Holding Limited Blockchain-based crowdsourcing of map applications
CN109948882A (en) * 2019-01-16 2019-06-28 平安科技(深圳)有限公司 Task processing method and relevant device based on block data structures
CN110138865A (en) * 2019-05-17 2019-08-16 南方科技大学 Space crowdsourcing method for allocating tasks, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11270263B2 (en) * 2013-09-12 2022-03-08 Netspective Communications Llc Blockchain-based crowdsourced initiatives tracking system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445948A (en) * 2018-11-15 2019-03-08 济南浪潮高新科技投资发展有限公司 A kind of data mark crowdsourcing plateform system and crowdsourcing data mask method based on intelligent contract
WO2019072311A2 (en) * 2018-12-29 2019-04-18 Alibaba Group Holding Limited Blockchain-based crowdsourcing of map applications
CN109948882A (en) * 2019-01-16 2019-06-28 平安科技(深圳)有限公司 Task processing method and relevant device based on block data structures
CN110138865A (en) * 2019-05-17 2019-08-16 南方科技大学 Space crowdsourcing method for allocating tasks, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Blockchain-based Credit and Arbitration Mechanisms in Crowdsourcing";Yuejiao Ding,Zhongyu Chen;《IEEE》;20190711;490-495 *
"区块链与可信数据管理:问题与方法";钱卫宁,邵奇峰等;《信息科技》;20171231;150-159 *

Also Published As

Publication number Publication date
CN111131508A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN111131508B (en) Method and system for executing block chain crowdsourcing task and computer equipment
US11271754B2 (en) Data authorization based on decentralized identifiers
Li et al. CrowdBC: A blockchain-based decentralized framework for crowdsourcing
TWI737944B (en) Block chain-based transaction execution method and device, and electronic equipment
US20190340607A1 (en) System for central authority-permissioned transfer of blockchain tokens
US11693840B2 (en) Database storing authenticated skill-based attributes
US20200013025A1 (en) Conditional deferred transactions for blockchain
KR20200067116A (en) Blockchain smart contract update using decentralized decision
WO2020019798A1 (en) Rights and interests distribution method and device and electronic device
TW202023224A (en) Event-driven blockchain workflow processing
Debe et al. Blockchain-based decentralized reverse bidding in fog computing
CN108334595B (en) Data sharing method and device
US10970780B2 (en) Zero-knowledge predictions market
US11489662B2 (en) Special relationships in a blockchain
KR102537774B1 (en) Systems and methods that provide specialized proof of confidential knowledge
CN109711840A (en) A kind of transaction data processing method, device and storage medium
Neiheiser et al. HRM smart contracts on the blockchain: emulated vs native
CN115461775A (en) Loan management method and system based on block chain
US11430077B2 (en) System and method for searching and monitoring assets available for acquisition
Mendes et al. A novel reputation system for mobile app stores using blockchain
CN114422226A (en) Token processing method and device, computer equipment and storage medium
CN112308700A (en) Method and device for processing enterprise credit investigation data, computer equipment and storage medium
US11797697B1 (en) Sharing with multiple people access to one or more resources each conveyed in a single NFT
CN114579585A (en) Block chain selective world state database
Kumari et al. Public Fund Care Tracking System based on Blockchain

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
GR01 Patent grant
GR01 Patent grant