A Blockchain Approach of Model Architecture for Crowdsourcing Design Services under the Context of Social Manufacturing
Abstract
:1. Introduction
- We build a new crowdsourcing design model based on blockchain technology. Smart contracts on the blockchain are used to enable interaction between users and to ensure that the crowdsourcing design system fits into a community-based manufacturing context.
- Two types of smart contracts are designed to achieve information management and task control of crowdsourcing design users.
- We design a task state machine model in the smart contract to describe the task state of the crowdsourcing design service process, which is convenient for subsequent users to query the traceability of the crowdsourcing design tasks.
- Experiments were conducted to verify that the “blockchain and crowdsourcing” model proposed in this paper is applicable to the crowdsourcing design service process in the context of social manufacturing.
2. Background
2.1. Crowdsourcing Workflow
2.2. Blockchain
2.3. Smart Contract
- The contract code is recorded and verified by the blockchain with tamper-evident characteristics;
- Smart contracts are executed between distrustful nodes, without centralized control and without third-party coordination, ensuring fair execution of contract content;
- Traceability of information on the chain can be achieved through function calls of smart contracts.
3. Blockchain-Based Model Architecture of Crowdsourcing Design
3.1. Overview
3.2. Structure
3.2.1. Application Layer
3.2.2. Blockchain Layer
3.2.3. Storage Layer
3.3. Process of Crowdsourcing Design
4. Smart Contracts and Algorithm Protocols
4.1. Notations
4.2. Smart Contract
4.2.1. User Register and Summary Contract (URS)
4.2.2. Relationship Contract (RC)
4.3. Reputation Algorithm
4.4. Protocol Algorithm
4.4.1. Register
4.4.2. Posting Task
Algorithm 1: PostTask |
Inputs: the address of URS addrURS, Requester, Title, Description, task reward and deposit , the deadline of worker submit task dlS, the deadline of requester evaluate task dlE, maximum workers number , the limited condition of worker , Type, pointer of task attachment PointerT |
Outputs: RC contract , update |
01 if Requester is unregistered then |
02 Requester has not been registered; |
03 go final; |
04 if Title is not unique then |
05 Title has been taken; |
06 go final; |
07 if then |
08 Requester deposits the reward on blockchain failed; |
09 go final; |
10 postTaskList( ) ← Title; |
11 TaskPool(Title) ← Task{addrURS, Requester, Title, Description, , dlS, dlE, , , Type, PointerT} |
12 ← 0; |
13 updateURSContract(, ); |
14 final; |
15 returns |
4.4.3. Receiving Task
Algorithm 2:ReceiveTask |
Inputs: RC contract , the address of URS , Worker, Title, task reward and deposit , worker |
Outputs: update RC contract and URS contract |
01 if Worker is unregistered then |
02 Worker has not been registered; |
03 go final; |
04 if then |
05 Worker does not satisfy the condition; |
06 go final; |
07 if checkTaskStatus(Title) is not Pending or Claimed then |
08 TaskPool(Title) can be accepted anymore; |
09 go final; |
10 if then |
11 Requester deposits the reward on blockchain failed; |
12 go final; |
13 workerList( ) ← |
14 ; |
15 receivedTaskList( ) ← Title; |
16 ; |
17 updateTaskStatus(Title); |
18 updateURSContract(, ); |
19 final; |
20 return |
4.4.4. Submitting and Acquiring Task Solution
4.4.5. Evaluating Task Solution and Sending Reward
Algorithm 3:Evaluate Solution |
Inputs: RC contract , Requester, Title, Worker, task evaluate level, social strategy |
Outputs: update RC contract , update URS contract and , send reward to the worker W |
01 if checkTaskOwner(Requester) is failed then |
02 is not the owner of this task; |
03 go final; |
04 if checkTaskLevel is success then |
05 task has been evaluated; |
06 go final; |
07 if checkTaskStatus(Title) is Uncompleted then |
08 ; |
09 sendReward(); |
10 else if then |
11 ; |
12 sendReward(); |
13 else if then |
14 ; |
15 sendReward(); |
16 else if then |
17 ; |
18 sendReward(); |
19 else if then |
20 ; |
21 sendReward(); |
22 updateReputation(); |
23 updateURSContract(); |
24 updateURSContract(); |
25 updateAvgReputation( ); |
26 final; |
27 returns |
5. Experiment
5.1. Experiment Environment
5.2. Experiment Process and Analysis
5.2.1. Smart Contracts Complication and Deployment
5.2.2. System Functionality Testing
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Guo, W.; Wang, Z.; Shao, H.Y.; Wang, L.; Gong, L.; Yu, S.S.; Feng, Y.X.; Wan, X.M.; Liu, J.Q. Crowdsourcing design theory and key technology development. Comput. Integr. Manuf. Syst. 2022, 28, 2650–2665. [Google Scholar]
- Jiang, P.Y.; Yang, M.L.; Li, W.D.; Liu, J.J.; Guo, W.; Li, P.L. CI Literature Review and Its Application Exploration in Social Manufacturing. China Mech. Eng. 2020, 31, 1852–1865. [Google Scholar]
- Jiang, P.Y.; Leng, J.W.; Ding, K. Analyzing and delimiting overlapping concept boundaries of social manufacturing. Comput. Integr. Manuf. Syst. 2018, 24, 829–837. [Google Scholar]
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: http://www.bitcoin.org/bitcoin.pdf (accessed on 18 September 2022).
- Gavin, W. Ethereum: A Secure Decentralised Generalised Transaction Ledger. Ethereum Proj. Yellow Pap. 2014, 151, 1–32. [Google Scholar]
- Szabo, N. Smart Contracts: Building Blocks for Digital Markets. Available online: https://www.docslib.org/doc/246577/smart-contract-building-blocks-for-digital-markets (accessed on 10 November 2022).
- Howe, J. The rise of crowdsourcing. Wired Mag. 2006, 14, 1–4. [Google Scholar]
- Li, Y.; Duan, H.Y.; Yin, Y.Y.; Gao, H.H. Survey of Crowdsourcing Applications in Blockchain Systems. Comput. Sci. 2021, 48, 12–27. [Google Scholar]
- Ding, Y.; Chen, Z.; Lin, F.; Tang, C. Blockchain-Based Credit and Arbitration Mechanisms in Crowdsourcing. In Proceedings of the 2019 3rd International Symposium on Autonomous Systems (ISAS), Shanghai, China, 29–31 May 2019; pp. 490–495. [Google Scholar] [CrossRef]
- Wu, C.; Zhao, M.N.; Hua, X.H.; Qi, H.W. Design and Implementation of Crowdsourcing Agricultural Products Logistics Platform Based on Block Chain Technology. J. Geomat. 2022, 2, 139–143. [Google Scholar]
- Yang, Z.; Huang, S.; Zheng, C.Y.; Wang, T.Y. A Trusted Management Framework for Crowdsourced Testing Intellectual Property Based on Blockchain. Comput. Appl. Softw. 2021, 10, 27–32+99. [Google Scholar]
- Ghaffaripour, S.; Miri, A. A Decentralized, Privacy-Preserving and Crowdsourcing-Based Approach to Medical Research. In Proceedings of the 2020 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Toronto, ON, Canada, 11–14 October 2020; pp. 4510–4515. [Google Scholar]
- Gao, L.P.; Cheng, T.; Gao, L. TSWCrowd: A Decentralized Task-Select-Worker Framework on Blockchain for Spatial Crowdsourcing. IEEE Access 2020, 8, 220682–220691. [Google Scholar] [CrossRef]
- Li, M.; Weng, J.; Yang, A.J.; Lu, W.; Zhang, Y.; Hou, L.; Liu, J.N.; Xiang, Y.; Deng, R.H. CrowdBC: A Blockchain-based Decentralized Framework for Crowdsourcing. IEEE Trans. Parallel Distrib. Syst. 2019, 20, 1251–1266. [Google Scholar] [CrossRef]
- Benet, J. Ipfs-content addressed, versioned, p2p file system. arXiv 2014, arXiv:1407.3561. [Google Scholar]
- Zhang, Y.; van der Schaar, M. Reputation-Based Incentive Protocols in Crowdsourcing Applications. In Proceedings of the 2012 Proceedings IEEE INFOCOM, Orlando, FL, USA, 25–30 March 2012; pp. 2140–2148. [Google Scholar]
Natation | Explanation |
---|---|
The reputation value of workers | |
addrUser, addrContract | The user’s address and the address of smart contract |
The reward of the crowdsourcing design task | |
The deposit of posting and receiving task | |
The number of workers required for the task | |
dl | The task deadline, which refers to the future block height |
pointer | The hash pointer of the attachment of task or solution |
coins(v) | The virtual coin of value v |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, D.; Liang, D. A Blockchain Approach of Model Architecture for Crowdsourcing Design Services under the Context of Social Manufacturing. Machines 2023, 11, 69. https://doi.org/10.3390/machines11010069
Liu D, Liang D. A Blockchain Approach of Model Architecture for Crowdsourcing Design Services under the Context of Social Manufacturing. Machines. 2023; 11(1):69. https://doi.org/10.3390/machines11010069
Chicago/Turabian StyleLiu, Dianting, and Dong Liang. 2023. "A Blockchain Approach of Model Architecture for Crowdsourcing Design Services under the Context of Social Manufacturing" Machines 11, no. 1: 69. https://doi.org/10.3390/machines11010069
APA StyleLiu, D., & Liang, D. (2023). A Blockchain Approach of Model Architecture for Crowdsourcing Design Services under the Context of Social Manufacturing. Machines, 11(1), 69. https://doi.org/10.3390/machines11010069