Improving Data Security with Blockchain and Internet of Things in the Gourmet Cocoa Bean Fermentation Process †
<p>A wooden sweatbox (with 2 slots) used in the cocoa fermentation step.</p> "> Figure 2
<p>IoTCocoa architecture (module view).</p> "> Figure 3
<p>SNMP messages exchanged between the Middleware and Hardware modules.</p> "> Figure 4
<p>(<b>a</b>) Message format; (<b>b</b>) example of an IoTCocoa JSON message pattern.</p> "> Figure 5
<p>One smart contract for each farm proposition.</p> "> Figure 6
<p>One smart contract for each harvest proposition.</p> "> Figure 7
<p>HTTP sessions opened by the Middleware using (<b>a</b>) REST architectural style; (<b>b</b>) REST with SNMP emulation.</p> "> Figure 8
<p>(<b>a</b>) Accesses and resources served/consumed by the Middleware. (<b>b</b>) HTTP sessions opened using REST x REST with SNMP emulation.</p> "> Figure 9
<p>Cocoa mass and ambient temperature variation captured from (<b>a</b>) manual and (<b>b</b>) automated techniques.</p> "> Figure 10
<p>Relative humidity using the IoTCocoa approach.</p> ">
Abstract
:1. Introduction
- I.
- Cultivation—(a) Environmental parameters verification (climate, soil, luminosity, humidity, etc.), (b) land Preparation, (c) seed Selection, (d) seed sowing, (e) irrigation, (f) crop, (g) fertilizing.
- II.
- Harvesting—(a) Checking for ripeness, (b) picking, (c) pod and bean separation.
- III.
- Processing—(a) Fermentation, (b) drying, (c.1) aging or (c.2) roasting or (c.3) refining and conching, (d) storing.
- IV.
- Distribution (supply-chain management)—(a) Transportation, (b) tracking, (c) product quality verification during distribution, (d) warehousing.
2. Materials and Methods
2.1. Traditional Processes in Farms
2.2. IoTCocoa—A New Way to Boost the Gourmet Cocoa Fermentation Process
2.2.1. The Hardware Module
2.2.2. The Middleware Module
- The actions are performed with HTTP request/response methods for the communication of messages in JSON or XML formats;
- Applicable in IoT projects thanks to its ease of implementation and interaction with the web and support for M2M commercial platforms in the cloud;
- Easily implemented on tablets and smartphones for requesting only the HTTP library, available on all operating system distributions and fully utilized in the REST architecture, including cashing, authentication, and content-type negotiation.
2.2.3. The Application Module
2.2.4. The Blockchain Module
- Integrity and availability: Data and transactions are replicated to all blockchain participants, keeping the system secure and consistent;
- Transparency and auditability: Public blockchains are available for anyone to be audited and verified;
- Immutability and non-repudiation: Blockchain transaction records are immutable (if someone wants to fix them, it will be necessary to create new registers). The use of cryptographic features guarantees the non-repudiation of records;
- Privacy and anonymity: Transactions are anonymous, based on users’ addresses. Servers store only encrypted fragments of user’s data;
- Disintermediation: A blockchain eliminates third parties on its transactions, acting as a connector of systems in a reliable and secure way;
- Cooperation and incentives: A blockchain offers an incentive-based business model in the light of game theory. On-demand consensus is now offered as a service at different levels and scopes;
- Decentralization: Blockchain applications do not need a central entity to coordinate actions, since their tasks are performed in a distributed manner.
2.2.5. Smart Contracts
3. Analysis and Results
3.1. Simulation Approach—A Preliminary System Performance Analysis
3.2. Measurement Approach—A Preliminary System Experimental Analysis
4. Discussion and Conclusions
- Manuals/booklets, to better qualify farmers’ employees to be able to work with its technologies.
- Cocoa fermentation schedule patterns, conceived from good practices established in several countries around the world (e.g., Ivory Coast, Ghana, Ecuador, Indonesia, Brazil, etc.).
- The integration of automated mixers in another version of the Hardware module, in such a way to better oxygenate the cocoa mass in the fermentation process.
- Its improvement in order to support other steps of the chocolate production industry (e.g., drying, roasting, storing, tracking, etc.), as well as its application in other crop cultures (e.g., coffee, wheat, corn, sugarcane, etc.).
- The integration of artificial intelligent mechanisms (e.g., ontologies, neural networks, etc.), in order to improve the chocolate supply chain.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
ABI | Access Binary Interface |
AC | Alternating Current |
ANN | Artificial Neural Network |
API | Application Programming Interface |
CA | Administrator Contract |
CAU | Digital Cacau |
CC | Client Contract |
CEPLAC | Comissao Executiva do Plano da Lavoura Cacaueira |
DApp | Distributed Application |
FI | Fermentation Index |
GC–MS | Gas Chromatography–Mass Spectrometry |
IoT | Internet of Things |
JSON | JavaScript Object Notation |
LCD | Liquid Crystal Display |
NFC | Near Field communication |
NIR | Near-Infrared |
pH | Potential of Hydrogen |
REST | Representational State Transfer |
RT | Real-time |
SNMP | Simple Network Management Protocol |
TA | Titratable Acidity |
UNCTAD | United Nations Conference on Trade and Development |
URL | Uniform Resource Locator |
References
- Abijaude, J.W.; Santiago, L.; de Lima Sobreira, P.; Wahab, O.A.; Greve, F. IoTCocoa-an IoT platform to assist gourmet cocoa production. In Proceedings of the 2019 IEEE Latin-American Conference on Communications (LATINCOM), Salvador, Brazil, 11–13 November 2019; pp. 1–6. [Google Scholar]
- Kutsanedzie, F.Y.; Chen, Q.; Sun, H.; Cheng, W. In situ cocoa beans quality grading by near-infrared-chemodyes systems. Anal. Methods 2017, 9, 5455–5463. [Google Scholar] [CrossRef]
- Aculey, P.C.; Snitkjaer, P.; Owusu, M.; Bassompiere, M.; Takrama, J.; Nørgaard, L.; Nielsen, D.S. Ghanaian cocoa bean fermentation characterized by spectroscopic and chromatographic methods and chemometrics. J. Food Sci. 2010, 75, 300–307. [Google Scholar] [CrossRef] [PubMed]
- León-Roque, N.; Abderrahim, M.; Nuñez-Alejos, L.; Arribas, S.M.; Condezo-Hoyos, L. Prediction of fermentation index of cocoa beans (Theobroma cacao L.) based on color measurement and artificial neural networks. Talanta 2016, 161, 31–39. [Google Scholar] [CrossRef] [PubMed]
- Soto, J.; Paiva, E.; Ipanaqué, W.; Reyes, J.; Espinoza, D.; Mendoza, D. Cocoa bean quality assessment by using hyperspectral index for determining the state of fermentation with a non-destructive analysis. In Proceedings of the 2017 CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), Valparaíso, Chile, 18–20 October 2017; pp. 1–5. [Google Scholar]
- Astika, I.W.; Solahudin, M.; Kurniawan, A.; Wulandari, Y. Determination of Cocoa Bean Quality with Image Processing and Artificial Neural Network; Library of IPB University, Bogor Agricultural University: Bogor Regency, Indonésia, 2010. [Google Scholar]
- Tan, J.; Kerr, W.L. Determining degree of roasting in cocoa beans by artificial neural network (ANN)-based electronic nose system and gas chromatography/mass spectrometry (GC/MS). J. Sci. Food Agric. 2018, 98, 3851–3859. [Google Scholar] [CrossRef] [PubMed]
- Tan, J.; Kerr, W.L. Characterizing cocoa refining by electronic nose using a Kernel distribution model. LWT 2019, 104, 1–7. [Google Scholar] [CrossRef]
- Jinap, S.; Rosli, W.W.; Russly, A.R.; Nordin, L.M. Effect of roasting time and temperature on volatile component profiles during nib roasting of cocoa beans (Theobroma cacao). J. Sci. Food Agric. 1998, 77, 441–448. [Google Scholar] [CrossRef]
- Bonvehí, J.S. Investigation of aromatic compounds in roasted cocoa powder. Eur. Food Res. Technol. 2005, 221, 19–29. [Google Scholar] [CrossRef]
- Hue, C.; Gunata, Z.; Bergounhou, A.; Assemat, S.; Boulanger, R.; Sauvage, F.X.; Davrieux, F. Near infrared spectroscopy as a new tool to determine cocoa fermentation levels through ammonia nitrogen quantification. Food Chem. 2014, 148, 240–245. [Google Scholar] [CrossRef] [PubMed]
- Huang, X.; Teye, E.; Owusu-Sekyere, J.D.; Takrama, J.; Sam-Amoah, L.K.; Yao, L.; Firempong, C.K. Simultaneous measurement of titratable acidity and fermentation index in cocoa beans by electronic tongue together with linear and non-linear multivariate technique. Food Anal. Methods 2014, 7, 2137–2144. [Google Scholar] [CrossRef]
- Romanens, E.; Näf, R.; Lobmaier, T.; Pedan, V.; Leischtfeld, S.F.; Meile, L.; Schwenninger, S.M. A lab-scale model system for cocoa bean fermentation. Appl. Microbiol. Biotechnol. 2018, 102, 3349–3362. [Google Scholar] [CrossRef] [PubMed]
- Alex, Z.; Ali, M.; Brian, R. Speed Control of Single Phase AC Motor on Cocoa Beans Fermentation Process Using PID Controller. In Proceedings of the 8th Annual Basic Science International Conference, Malang, Indonesia, 6–7 March 2018; pp. 146–153. [Google Scholar]
- Guillermo, J.C.; García-Cedeño, A.; Rivas-Lalaleo, D.; Huerta, M.; Clotet, R. Iot architecture based on wireless sensor network applied to agricultural monitoring: A case of study of cacao crops in ecuador. In Proceedings of the International Conference of ICT for Adapting Agriculture to Climate Change, Cali, Colombia, 21–23 November 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 42–57. [Google Scholar]
- Ipanaqué, W.; Belupú, I.; Castillo, J.; Salazar, J. Internet of Things applied to monitoring fermentation process of Cocoa at the Piura’s mountain range. In Proceedings of the 2017 CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), Pucon, Chile, 18–20 October 2017; pp. 1–5. [Google Scholar]
- Sustainable Farming and the IoT: Cocoa Research Station in Indonesia. Available online: http://www.libelium.com/sustainable-farming-and-the-iot-cocoa-research-station-in-indonesia (accessed on 8 July 2021).
- Case, A.L.A. Blockchain Technology Applied to the Cocoa Export Supply Chain. In Handbook of Research on Emerging Technologies for Effective Project Management; IGI Global: Hershey, PA, USA, 2020; pp. 323–339. [Google Scholar]
- Bhandari, B. Supply Chain Management, Blockchains and Smart Contracts. Blockchains Smart Contract. 2018, pp. 1–22. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3204297 (accessed on 8 July 2021).
- Acierno, V. Following Cocoa Beans to Chocolate: The Search for Intrinsic Characteristics. Ph.D. Thesis, Wageningen University, Wageningen, The Netherlands, 2020. [Google Scholar]
- Making Chocolate with Blockchain—A Deep Dive into the Role Global Trade Plays in Bringing Multiple Geographies Together for a Single Slab of Chocolate. Available online: https://www.dpworld.com/trade-reimagined/making-chocolate-with-blockchain (accessed on 24 August 2021).
- Musah, S.; Medeni, T.D.; Soylu, D. Assessment of Role of Innovative Technology through Blockchain Technology in Ghana’s Cocoa Beans Food Supply Chains. In Proceedings of the IEEE 3rd International Symposium on Multidisciplinary Studies and Innovative Technologies, Ankara, Turkey, 11–13 October 2019. [Google Scholar]
- Senou, R.B.; Dégila, J.; Adjobo, E.C.; Djossou, A.P.M. Blockchain for Child Labour Decrease in Cocoa Production in West and Central Africa. IFAC-PapersOnLine 2019, 52, 2710–2715. [Google Scholar] [CrossRef]
- Forichi, M.T. Sustainability Innovation in the Food Industry: Blockchain Technology’s Potential Role in Addressing Social Sustainability Challenges in Cocoa Bean Production. Master’s Dissertation, Zurich University of Applied Sciences, Winterthur, Switzerland, 2019. [Google Scholar]
- Where Blockchain and Slave Free Chocolate Come Together. Available online: https://medium.com/@tonyschocolonely/where-blockchain-and-slave-free-chocolate-come-together-d637b14b1ef0 (accessed on 13 May 2021).
- How Blockchain Technology Is Working to End Child Labour in the Cacao Industry. Available online: https://www.seechangemagazine.com/how-blockchain-technology-is-working-to-end-child-labour-in-the-cacao-industry/ (accessed on 13 May 2021).
- Blockchain Transforms Cocoa Farming in Ghana. Available online: https://cryptotvplus.com/2018/07/blockchain-transforms-cocoa-farming-in-ghana (accessed on 13 May 2021).
- How Blockchain Has Transformed the Lives of Ecuadorean Cocoa Farmers. Available online: https://undp.medium.com/how-blockchain-has-transformed-the-lives-of-ecuadorean-cocoa-farmers-1c89941f549c (accessed on 13 May 2021).
- Cacau Digital. Available online: https://www.cacaudigital.io (accessed on 8 July 2021).
- Antonopoulos, A.M.; Wood, G. Decentralized Applications (DApps). In Mastering Ethereum: Building Smart Contracts and Dapps; O’reilly Media: Newton, MA, USA, 2018. [Google Scholar]
- Gayi, S.K.; Tsowou, K. Special Unit on Commodities, UNCTAD, Geneve, Switzerland. Cocoa Industry: Integrating Small Farmers into the Global Value Chain; United Nations: New York, NY, USA, 2016. [Google Scholar]
- Hess, H.N. Equipamento Para Fermentar e/ou Secar Cacau, café e Outros Produtos Vegetais. INPI. Patent BR1020170056880, 21 March 2017. [Google Scholar]
- Efraim, P.; Pezoa-García, N.H.; Jardim, D.C.P.; Nishikawa, A.; Haddad, R.; Eberlin, M.N. Influência da fermentação e secagem de amêndoas de cacau no teor de compostos fenólicos e na aceitação sensorial. Food Sci. Technol. 2010, 30, 142–150. [Google Scholar] [CrossRef] [Green Version]
- Lu, G.; Starsinic, M.F.; Seed, D.N.; Dong, L.; Mladin, C.M.; Flynn, W.R. Content Security at Service Layer. U.S. Patent 10,609,182, 28 April 2020. [Google Scholar]
- Pramodh, K.C.; Nikhil, I.; Singh, J.R. Implementation of SNMP-JSON translator and integrating SNMP agents with JSON based network management system. In Proceedings of the 7th International Conference on Communication Systems and Network Technologies (CSNT), Nagpur, India, 11–13 November 2017; pp. 67–73. [Google Scholar]
- Abijaude, J.; Viana, H.; Santiago, L.M.; de Lima Sobreira, P.; Greve, F. I2Otegrator: A service-oriented iot middleware for intelligent object management. In Proceedings of the 2018 IEEE Symposium on Computers and Communications (ISCC), Natal, Brazil, 25–28 June 2018; pp. 174–179. [Google Scholar]
- Bitcoin Whitepaper. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 19 July 2021).
- Fabíola, G.; Leobino, S.; Jauberth, A.; Antonio, C.; Ítalo, V.; Sílvio, Q. Blockchain e a Revolução do Consenso sob Demanda. In Proceedings of the Simpósio Brasileiro de Redes de Computadores e Sistemas Distribuídos (SBRC)-Minicursos, Salvador, Brazil, 6–10 May 2018. [Google Scholar]
- Lao, L.; Li, Z.; Hou, S.; Xiao, B.; Guo, S.; Yang, Y. A survey of IoT applications in blockchain systems: Architecture, consensus, and traffic modeling. ACM Comput. Surv. (CSUR) 2020, 53, 1–32. [Google Scholar] [CrossRef] [Green Version]
- Bahga, A.; Madisetti, V.K. Blockchain platform for industrial internet of things. J. Softw. Eng. Appl. 2016, 9, 533–546. [Google Scholar] [CrossRef] [Green Version]
- Sharma, P.K.; Singh, S.; Jeong, Y.S.; Park, J.H. Distblocknet: A distributed blockchains-based secure sdn architecture for iot networks. IEEE Commun. Mag. 2017, 55, 78–85. [Google Scholar] [CrossRef]
- Huh, S.; Cho, S.; Kim, S. Managing IoT devices using blockchain platform. In Proceedings of the 19th International Conference on Advanced Communication Technology (ICACT), PyeongChang, Korea, 19–22 February 2017; pp. 464–467. [Google Scholar]
- Christidis, K.; Devetsikiotis, M. Blockchains and smart contracts for the internet of things. IEEE Access 2016, 4, 2292–2303. [Google Scholar] [CrossRef]
- A Software Development Company for Startups and Enterprises. Available online: www.leewayhertz.com (accessed on 7 July 2021).
- Ecotrace Solutions. Available online: https://ecotrace.info/ (accessed on 7 July 2021).
- Factom Blockchain. Available online: www.factom.com (accessed on 7 July 2021).
- Jain, R. The Art of Computer Systems Performance Analysis: Techniques for Experimental Design, Measurement, Simulation, and Modeling; John Wiley & Sons: Hoboken, NJ, USA, 1990. [Google Scholar]
- Galvez, J.F.; Mejuto, J.C.; Simal-Gandara, J. Future challenges on the use of blockchain for food traceability analysis. Trends Anal. Chem. 2018, 107, 222–232. [Google Scholar] [CrossRef]
- Rapley, K. Blockchain Revolutionizing the Chocolate Industry. Business Blockchain HQ. 27 January 2020. Available online: https://businessblockchainhq.com/business-blockchain-news/blockchain-revolutionizing-the-chocolate-industry (accessed on 7 July 2021).
- Gusson, C. Indústria do Chocolate Adota Blockchain Para Controlar Produção de Cacau. Cointelegraph Brasil. 7 July 2021. Available online: https://exame-com.cdn.ampproject.org/c/s/exame.com/future-of-money/blockchain-e-dlts/industria-do-chocolate-adota-blockchain-para-controlar-producao-de-cacau/amp (accessed on 7 July 2021).
[13] | [14] | [15] | [16] | [17] | IoTCocoa | |
---|---|---|---|---|---|---|
(1) Uses middleware | Yes | |||||
(2) Allows scheduling the process | Yes | Yes | ||||
(3) Alerts in real time, if necessary | Yes | Yes | ||||
(4) Allows to insert new process devices | Yes | |||||
(5) Allows data storage | Local | Local | Web | Web | Web | Web |
(6) Production phase(s) | Processing (fermentation, drying) | Processing (fermentation) | Cultivation (environmental parameters verification) | Processing (fermentation) | Cultivation (environmental parameters verification) | Processing (fermentation) |
(7) Interacts with the process (monitoring/ intervening) | Humidity, mass temperature | Mass temperature, rotation motor | Luminosity, soil, moisture, ambient temperature and humidity | Oxygen, carbon dioxide, mass temperature | Soil (water potential), ambient temperature and humidity | Mass pH and temperature, ambient humidity and temperature, rotation motor, heating and cooling sources |
[25] | [26] | [27] | [28] | [29] | IoTCocoa | |
---|---|---|---|---|---|---|
(1) Uses IoT devices | Yes | |||||
(2) Uses Smart Contracts | Yes | Yes | Yes | |||
(3) Is a Distributed Application (DApp) | Yes | Yes | Yes | |||
(4) Production phase(s) | Distribution (tracking) | Distribution (tracking) | Distribution (tracking) | Distribution (tracking) | Processing (fermentation) | |
(5) Issue(s) addressed | Ethical and social violations | Ethical and social violations | Agricultural sustainability violations | Agricultural sustainability violations | Finance | Improve the cocoa fermentation processing |
Sensors/Actuators | Technical Features |
---|---|
Bean mass temperature | −55 °C–+12 °C |
Ambient temperature | −40 °C–+80 °C |
Ambient humidity | 0–100% UR |
Bean mass pH | pH between 0–14 |
Rotation Motor | Adjustable Speed |
Heating Source | Power of 2400 W |
Cooling Source | Forced Ventilation |
Values | Distribution Type | Mean | Min. | Max. | SD |
---|---|---|---|---|---|
Page Size | Fix | 3000 | |||
Delay | Normal | 0.05 | 0.01 | 0.01 | |
Resource size | Exponential | 430 | 165 | 600 |
Sensor Profile: Light—Moderate—Intense | |||
---|---|---|---|
Mean | Min | SD | |
Activity Period | 21,600-43,200-84,600 | 7200-288,00-84,600 | 1000-10,800-0 |
Request Interval | 900-600-300 | 60-60-150 | 60-60-60 |
Session Interval | 3600-3600-100 | 120-120-60 | 900-10,800-20 |
Number of Requests/Session | 5-10-100 | 2-2-5 | 1-5-50 |
Processing Delay | 0.05-0.05-0.05 | 2-0.01-0.01 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Abijaude, J.; Sobreira, P.; Santiago, L.; Greve, F. Improving Data Security with Blockchain and Internet of Things in the Gourmet Cocoa Bean Fermentation Process. Sensors 2022, 22, 3029. https://doi.org/10.3390/s22083029
Abijaude J, Sobreira P, Santiago L, Greve F. Improving Data Security with Blockchain and Internet of Things in the Gourmet Cocoa Bean Fermentation Process. Sensors. 2022; 22(8):3029. https://doi.org/10.3390/s22083029
Chicago/Turabian StyleAbijaude, Jauberth, Péricles Sobreira, Levy Santiago, and Fabíola Greve. 2022. "Improving Data Security with Blockchain and Internet of Things in the Gourmet Cocoa Bean Fermentation Process" Sensors 22, no. 8: 3029. https://doi.org/10.3390/s22083029
APA StyleAbijaude, J., Sobreira, P., Santiago, L., & Greve, F. (2022). Improving Data Security with Blockchain and Internet of Things in the Gourmet Cocoa Bean Fermentation Process. Sensors, 22(8), 3029. https://doi.org/10.3390/s22083029