Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Akshay A Jadhav
DOI Link: https://doi.org/10.22214/ijraset.2022.47435
Certificate: View Certificate
The most fundamental promise of blockchain (BT) for the agriculture industry is the elimination of the necessity for third parties to confirm confidence in buyer seller relations, or any source-destination relationship. Transactions become peer-to-peer in a blockchain-enabled setting with no need for mediators. Apart from allowing peer-to-peer transactions, blockchain can also be used to build \"smart contracts,\" which enforce the terms of any treaty when certain conditions are met. Any time anything of value exchanges hands, whether it\'s tangible goods, services, money and the transaction can be registered, providing a permanent record of the commodity or transaction from beginning to end. Blockchain technology has the potential to be very useful. In this sector, blockchain technology can be extremely beneficial as it is secure and emphasizes privacy as well, but still, it poses new security issues like double spending and majority attack. In this paper, we propose a Machine Learning (ML) based blockchain model to make accurate decisions, where machine learning uses a reasonable amount of data. Therefore, combining ML and BT can give more precise results.
I. INTRODUCTION
India is one of the top ten agricultural producers in the world. India's agricultural industry accounts for 13.7 percent of the country's GDP [1]. It generates 7.68 percent of total global agricultural production and feeds 1.35 billion people while employing approximately 60% of the population. The sector that was once regarded as the lifeblood of a country's economy is increasingly dwindling. All who work day and night to fill our stomachs go to bed with an empty heart and an empty stomach. Due to volatile climate conditions, the increase in middlemen, the division of land holdings, unequal prices, and the debt, the agriculture industry is plagued byfinancial uncertainty. According to a 2018 survey by the Centre for Study of Developing societies (CSDS), about 76% of farmers want to leave farming [2]. It was also discovered that 70% of respondents had never heard of direct cash transfer and only 27% had heard of land acquisition rules. It is estimated that 1.3 percent of GDP is lost due to undefined land titles. The cost of the procedure in relation to competing claims exacerbates the problem. The majority of farmers are unaware of the Minimum Subsidy Price, and as a result, they are underpaid for their produce. In the vicinity of a well-organized marketing scheme, middlemen and private traders pocket approximately half of the produce price [3]. Although the producers do not benefit from the middlemen's remuneration of services, it raises the burden on the customer. The government, non-governmental organisations, and a range of businesses have all taken measures to ease the
pressure on farmers and use technology to improve their lives. In this area, blockchain technology can be extremely beneficial. Putting all information about agricultural events on a blockchain [4] will create a transparent and trustworthy framework. Farmers can also access real- time data on seed quality, climate-related data, payments, soil moisture, demand, and sale price, among other things, all from a single platform. Current agricultural growth and change necessitate new techniques and technologies in order to make the agriculture sector more transparent and accountable. Blockchain technology is one of the newer methods. Unlike traditional centralised and monopolistic agricultural management solutions, blockchain uses a decentralised data framework to store and retrieve data from several untrustworthy parties. As a result, it will be able to address a range of serious issues in current systems, which are triggered by the following factors: (i) Hackers can easily compromise data integrity by attacking the centralised system; (ii) insider abuse of the centralised database may compromise data integrity; (iii) a supply chain management system is too dependent on the centralised database (single point failure problem); and (iv) using a third party to validate and track transactions incurs high costs. In recent decades, a distributed database augmented by advanced cryptography has been suggested as a solution to these problems. Among these, blockchain is one of the most common new methods for resolving trust issues that have arisen since the invention of Bitcoin in 2008 [5]. Many advanced computational and cryptographic methods are built into distributed data systems in blockchain technology to establish a digital trust mechanism in an untrustworthy world [6]. The hash function, in general, is used as a key element for data authentication since it is an algorithmic way to produce unique IDs.
To ensure data integrity, hash values may be inserted into a format of stored chain to check if the data has been tampered with. In stored transactions, digital signatures are used to verify the actual identity of data senders and receivers. Furthermore, the consensus process is designed to include all computer nodes, eliminating the possibility of data manipulation by a minority of attackers. Blockchain implementations in agriculture boost a range of aspects of agricultural processes, including supply chains [7] and IoT-based systems [8]. Food protection [9], food security [10], food quality monitoring and control [11], traceability for waste reduction [12], accurate operational data analysis [13], and effective contract transfers and transactions to minimise economic costs [14], thereby helping small-scale farmers [15], are just a few of these applications. Current blockchain frameworks can be used to build these applications, making them simple and quick to develop.
A. Blockchain
Blockchain has been a hot subject in both the finance and engineering industries. Bitcoin, which was launched in 2018, gave birth to the concept of blockchains. Data is spread and processed in each node in blockchain technology; it also uses the idea of cryptographic protocols or shared ledgers and disburses the ledgers in each node. Although blockchains are successfully accepted by industries such as medicine and finance, information of which require privacy protection, this study [16] created an identity managing framework to safeguard permissions of its user to data in order to deter violation of blockchain data.
Anonymity is used in this study [17] to protect the identity of a Bitcoin user. Our research uses blockchains to protect a user's access rights and prevent DDOS attacks from hackers. This review also compared the findings of performance analysis to studies.
II. BLOCKCHAIN TECHNIQUES
Blockchain is a distributed ledger that allows unauthenticated multiple stockholders in a decentralised network to exchange transactions or sensitive information [18]. Figure 1 portrays a simple blockchain framework. In contrast to other conventional data storage formats, the data is recorded in a sequential chain of hash-linked blocks that allow data dissemination in a more manageable manner. Selected nodes use an agreed-upon consensus protocol to verify and upload the blocks into the chain-like structure. When incorporating data/information flow on-chain, this consensus mechanism enables both stakeholders to partic ipate in the monitoring process. Furthermore, duplicates of these data are kept in all involving nodes to ensure that they are not tampered with. Before looking at existing blockchain implementations in the agricultural sector, this section provides a high-level overview of the blockchain ecosystem and technical specifics of implementation.
III. BLOCKCHAIN TECHNICAL COMPONENTS
To achieve a stable ledger with decentralised management, the blockchain architecture incorporates many key techniques such as hash, asymmetric cryptography, digital signature, Merkle tree, and consensus. Each block has two parts: a block header and a block body. Numerous elements are included in the block header, including the previous block hash value, nonce, Merkle tree root hash, and other details, such as block version and Timestamp. The actual
data, which is either transaction records or secure data, is stored in the block body.
A. Hash Function
The hash function is a key technique in blockchain, and it's used for a lot of things like address generation, digital signatures, and consensus. Data of any size can be conveniently translated to fixed-size values using the hash function. Inversely, restoring the original data from its hash value is challenging.
For example, an immutable hash function can be used to obtain the resulting hash value for a given large amounts of data x. (x). When x is unintentionally changed to x', the hash output Hash(x') is totally different from Hash (x). Based on the complexity of data, the two common hash functions used in blockchain are message digest 5 (MD5) and SHA256 [19].
Data integrity can be checked during data transmissions using a cryptographic hash method. Consider the case where A sends some data x to B. The encrypted hash value Encrypt(Hash(x)) is enclosed with the data x. B will verify data integrity after receiving it by computing the hash value from received data x', Hash(x'), and comparing it to the predicted hash results decrypted from the received Encrypt(Hash(x)). If Hash(x') = Hash(x) means data is properly transmitted, and x' = x. Therefore, if Hash(x') ≠ Hash(x) it means the integrity of data has been compromised, and B can request that A to retransmit the data.
B. Asymmetric Cryptography
Asymmetric cryptography technique [20] is used in combination with a hash function to enforce digital signature technique to implement verifiable transactions in distributed systems. Each consumer in asymmetric cryptography has a pair of keys, namely a private key k and a public key K. The private key is kept private and only the owner knows it, while the public key can be identified by others. The public key can be determined from the private key, but the private key cannot be accessed in reverse with a given public key. Data can be encrypted and decrypted in pairs using the public key K and the private key k.
C. Digital Signature
To prevent issued transactions from being changed or rejected, each blockchain transaction needs a digital signature [21]. In terms of technology, digital signature is a hybrid technique that combines hash functions and asymmetric cryptography. A legitimate digital signature, like a paper signature, guarantees that unaltered data is submitted by a known sender and that it cannot be revoked. The file is first hashed to a fixed length and then encrypted with the sender's private key, with the result referring to the sender's digital signature. The asymmetric cryptography technique guarantees authentication and non-repudiation of this signature because only the nominated sender has his own private key. In the meantime, since anyone can access the sender's public key, anyone can check the signature's legitimacy by computing the hash value from the data and matching it to the hash value decrypted from the signature. Furthermore, if confidentiality is needed, the data can be encrypted using the nominated receiver's public key.
E. Internet of Things (IoT)
Wearable devices to self-driving cars are all part of the Internet of Things. It is the concept of having all devices under a single control by linking them all to the internet and each other. Sensors in the smart devices gather data at preset intervals, which can then be analyzed. The data gathered can be used to identify trends.
Sensors in the smart devices gather data at predetermined intervals, which can then be analyzed. The data gathered can be used to spot patterns, make decisions, and investigate anomalies as they arise.
IV. APPLICATION PLATFORM
As many cryptographic techniques are used in blockchain technology, it is a time-consuming task to build a blockchain system from scratch for practitioners and researchers. As a result, many open source and commercial platforms are pro-vided to simplify and speed up the decentralized application (DApp) development in agriculture related projects. The predominant platforms used in these blockchain practices are discussed as follows.
A. Ethereum
Ethereum is a blockchain-based open software platform that allows developers to write smart contracts, create, and deploy decentralized applications. It's close to a public distributed blockchain network. It is like a distributed public blockchain network. Ethereum is the most popular blockchain platform in the world for blockchain professionals and scholars. It was
launched in 2014. It is a permission-less blockchain that is conducive to the advancement of public blockchain-based applications.
B. Hyperledger
The Linux Foundation has endorsed Hyperledger to provide several distributed ledger frameworks for enterprise level blockchain creation, such as Fabric, Sawtooth, Indy, and Burrow [23]. Hyperledger Fabric [24] and Hyperledger Sawtooth [25] are the two most common platforms for developing agricultural-related projects in these frameworks.
C. Quorum
JP Morgan established Quorum to focus on enterprise-level blockchain systems [26]. It offers an Ethereum-based platform to support banking, supply chain, and retail applications, as well as additional privacy security for transactions and contracts. To maintain data privacy, transaction data is encrypted.
V. PROBLEMS IN THE AGRICULTURAL SECTOR
A. Issues With Internet Of Things (IoT) Industry
Currently, the IoT industry is in its early stages of growth. The requirements for large-scale application are quickly evolving, and industry growth is approaching a critical stage [27]. However, several issues remain in the IoT industry at this time, limiting its growth. The cost of implementing the IoT is extremely high due to the difficulty of integrating the IoT with various industries, and privacy and security concerns must be addressed immediately.
At almost the same period, infrastructure building and local technology creativity are driving the current IoT technology. Integration's enormous importance in a variety of industries has yet to be fully realized. At this time, most IoT technological research focuses on market application layer [28], network layer, and awareness extension layer. The query and storage processing of large sensor data is one of the key problem facing the IoT' future growth, but technological research in this field is still partial.
B. Characteristics of Agricultural IoT Data Analysis
The Agricultural IoT connects real-world agricultural items to a computer storage system to help farmers to make better decisions. It collects different information from agricultural objects using sensors and sends the data to a data layer storage centre through a computer network. The data layer of the agricultural IoT is gradually showing two main problems, one is that the volume of
data is showing a trend of quantification, and the other is the heterogeneity of data categories, as a result of the in-depth implementation of IT in the agricultural IoT [29].
VI. THE INTEGRATION OF BLOCKCHAIN AND THE INTERNET OF THINGS
A. Blockchain's Technical Characteristics
Melanie Swan proposed dividing the framework of the blockchain from various viewpoints of development stages in her book "Blockchain: A Roadmap for a Digital Economy and a Guide". Blockchain 3.0 specifically applies to non-financial applications, such as scientific science, industry and agriculture, and the IoT. Enterprise partnership chains and private chains are two types of blockchains that exist in general. There is currently no industry-ready blockchain 3.0 platform.
Blockchain is a technique of applying transaction processing in a peer-to-peer network by using transparent and reliable rules to create noticeable data structures (also known as a distributed network or peer to peer). Decentralized chain data block, peer-to-peer, tampering security, anti-counterfeiting and, openness, integrity, and high reliability are all features. Three
aspects of application capabilities can be supported by blockchain: The first aspect is to use a peer-to-peer network to supply base installation resources such as network, storage, computing, and platform. In peer-to-peer networks, the second component is data management, querying, and analysis. The third factor is to use peer-to-peer networks to deliver application services like
digital asset transfers, financing, payment, and settlement.
Since blockchain has distinct technological characteristics, it may be useful in addressing issues such as trust, big data management, privacy, and protection that may arise as the IoT evolves. It has the ability to help the IoT industry grow into a distributed and intelligent advanced type.
B. Application of Blockchain Technology in Modern Agriculture
In general, the Agricultural IoT uses a centralised management structure. Data centre hardware and software infrastructure, maintenance costs, and electricity usage are all facing unparalleled challenges as more smart devices link to the IoT. Blockchain technology's decentralized management approach will effectively reduce the production and maintenance costs of agricultural IoT. The monitoring equipment linked to the network will achieve self-management and maintenance by integrating agricultural IoT and blockchain technology. It will help to minimise the future maintenance cost of Internet tools, as well as increase the level of intelligence and size of the agricultural IoT. It can save high infrastructure building and maintenance costs as well as energy usage costs based on cloud control.
VII. BLOCKCHAIN-BASED AGRICULTURAL INTERNET OF THINGS
The use of blockchain in smart agriculture has the potential to have a significant economic impact. According to a report on the effect of blockchains in the grains sector in Australia, the Gross Domestic Product (GDP) increased by around 2.5 percent. In a study published in 2019, the UN's "Food and Agriculture Organization" collaborated with the "International Telecommunication Union (Bangkok)" to show the growing presence of blockchains in various agricultural sectors, as well as the threats and opportunities they present.
A. Creation Of A Blockchain-Based Agricultural Data Sharing Model
As shown in Fig. 1, the blockchain based agricultural data-sharing model is made up of four parts: data demand, decentralised data-sharing network, data source and data owner. According to various application areas, data demand side refers to researchers, research agencies, businesses, or project teams that have access to data. They can be divided into scientific research, public services and business applications. The data owner is an entity or organisation that has complete control over the data, such as agricultural science research organisations, businesses, laboratories, and individuals. A data source is a computer, central server, or cloud server that can provide remote data access and performs the elementary functions of a database management system.
Each model topic has a unique set of characteristics in this model. Every individual model topic has a distinct role in this model. The roles will turn and rely on each other. As the starting point of the knowledge flow, the data owner reliefs? data through a decentralised data exchange network. Both parties may then recover data, inspect data quality, and publish data subscription
specifications. Finally, the two parties would be able to exchange data on the platform with trust, accountability, and equality.
Blockchain has benefits that conventional distributed databases and centralised databases cannot match because it is a combination of different technologies. Big data's current criteria for system security, data trust, and scalable reliability are all in line. P2P network transmission protocols, consensus algorithms, encryption algorithms, and other technologies make up blockchain
technology. A distributed ledger database that operates on a peer-to-peer network and provides decentralised trust for data sharing. The following things are included trustworthy:
B. Development of the System Design
A layered architecture focused on blockchain for agricultural data sharing, including a management plane, control plane, and data plane. As shown in Fig.2, it is made up of a consumer layer, a service layer, a platform layer, and a facility layer. The management plane is in charge of packaging the control plane's usable interfaces into various data management services, and it uses a variety of visualisation methods to present the management functions of agricultural data sharing to users in a variety of ways.
VIII. METHODOLOGY
The advent of blockchain technology (BT) has become a new, disruptive, and trending technology in recent years. Data protection and privacy are prioritized in BT's decentralized database. It also has a consensus system that ensures data security and legitimacy. Nonetheless, it poses new security problems, such as double spending and majority attack. Therefore, combining ML and BT can give more precise results.
A. Machine Learning
Machine learning is a form of data analysis that optimises the development of analytical models. It's a subset of artificial intelligence focused on the concept that computers can learn from data, recognise patterns, and make decisions with little or no human input. Machine learning can be defined as software that modifies itself when it learns from new knowledge. It is not necessary to manually implement new rules as it is self-adaptive. There are various types of machine learning algorithms like supervised learning, unsupervised learning, semi-supervised learning and reinforcement learning. The Figure 4 illustrates the association of ML with BT.
Farmers will be able to access real-time data about their crops with the click of a mouse thanks to smart agriculture. This will help them in future data review and well-informed decision-making. When data from sensors is used in supply chain management, it can remove the need for middlemen, resulting in a more transparent and productive method.
[1] Zebi, “How Blockchain can Revolutionize the agriculture industry,” Medium, 06-Jun-2018. [Online]. Available: https://medium.com/@Zebidata/how-blockchain-can-revolution ize-the-agriculture-industry-691d630dac61. [Accessed: 22- Nov-2019]. [2] Sood, J. \"India?s deepening farm crisis: 76% farmers want to give up farming, shows study. Down to earth: fortnightly on development, environment and health. 11 Mar, 2014.\" (2014). [3] “10 Major Agricultural Problems of India and their Possible Solutions,” Your Article Library, 22-Feb-2014. [Online]. Available: http://www.yourarticlelibrary.com/agriculture/10- Your Article Library, 22-Feb-2014. [Online]. [4] major-agricultural- problems-of-india-and-their-possible- solutions/20988. [Accessed: 22- Nov-2019]. [5] “Blockchain in Agriculture - Improving Agricultural Techniques,” Software Development Company, 30-Jul-2019. [Online]. Available: https://www.leewayhertz.com/blockchain- in-agriculture/. [Accessed: 22- Nov-2019] [6] S. Nakamoto, „„Bitcoin: A peer-to-peer electronic cash system,?? Tech. Rep., 2008. [7] Z. Zheng, S. Xie, H. Dai, X. Chen, and H. Wang, „„An overview of blockchain technology: Architecture, consensus, and future trends,?? in Proc. IEEE Int. Congr. Big Data (BigDataCongress), Jun. 2017, pp. 557–564. [8] Y.-P. Lin, J. Petway, J. Anthony, H. Mukhtar, S.-W. Liao, C.-F. Chou, and Y.-F. Ho,„„Blockchain: The evolutionary next step for ICT E-agriculture,?? Environments, vol. 4, no.3, p. 50, Jul. 2017. [9] F. A. Abadi, J. Ellul, and G. Azzopardi, „„The blockchain of things, beyond bitcoin: A systematic review,?? in Proc. IEEE Int. Conf. Internet Things (iThings) IEEE Green Comput. Commun. (GreenCom) IEEE Cyber, Phys. Social Comput. (CPSCom) IEEE Smart Data (SmartData), Jul. 2018, pp. 1666–1672. [10] F. Tian, „„A supply chain traceability system for food safety based on HACCP, blockchain & Internet of Things,?? in Proc. Int. Conf. service Syst. service Manage., 2017, pp. 1–6. [11] S. Ahmed and N. T. Broek, „„Blockchain could boost food security,?? Nature, vol. 550, no.7674, p. 43, 2017. [12] S. Chen, R. Shi, Z. Ren, J. Yan, Y. Shi, and J. Zhang, „„A blockchain- based supply chain quality management framework,?? in Proc. IEEE 14th Int. Conf. e-Business Eng. (ICEBE), Nov. 2017, pp. 172–176. [13] C. Lin, D. He, X. Huang, M. K. Khan, and K.-K. R. Choo, “A new transitively closed undirected graph authentication scheme for blockchain-based identity management systems,” IEEE Access, vol. 25, pp. 28 203–28 212, 2018. [14] Q. Wang, X. Li, and Y. Yu, “Anonymity for bitcoin from secure escrow address,” IEEE Access, vol. 6, pp. 12 336–12 341, 2017. [15] M. Crosby, P. Pattanayak, S. Verma, and V. Kalyanaraman, „„Blockchain technology: Beyond bitcoin,?? Appl. Innov., vol. 2, nos. 6–10, p. 71, 2016. [16] D. Rachmawati, J. Tarigan, and A. Ginting, „„A comparative study of message digest 5 (MD5) and SHA256 algorithm,?? J. Phys. Conf. Ser.,vol. 978, Mar. 2018, Art. no. 012116. [17] Y. Kumar, R. Munjal, and H. Sharma, „„Comparison of symmetric and asymmetric cryptography with existing vulnerabilities and countermeasures,?? Int. J. Comput. Sci. Manage. Stud., vol. 11, no. 3, pp. 60–63, 2011. [18] V. Lozupone, „„Analyze encryption and public key infrastructure (PKI),?? Int. J. Inf. Manage., vol. 38, no. 1, pp. 42–44, Feb. 2018. [19] H. Li, R. Lu, L. Zhou, B. Yang, and X. Shen, „„An efficient Merkle-tree- based authentication scheme for smart grid,?? IEEE Syst. J., vol. 8, no. 2, pp. 655–663, Jun. 2014. [20] T. Q. Ban, B. N. Anh, N. T. Son, and T. V. Dinh, „„Survey of hyperledger blockchain frameworks: Case study in FPT university?s cryptocurrency wallets,?? in Proc. 8th Int. Conf. Softw. Comput. Appl., 2019, pp. 472–480 [21] A. Baliga, I. Subhod, P. Kamat, and S. Chatterjee, „„Performance eval- uation of the quorum blockchain platform,?? 2018, arXiv:1809.03421. [Online]. Available: http://arxiv.org/abs/1809.03421 [22] M. Marjani et al., \"Big IoT Data Analytics: Architecture, Opportunities, and Open Research Challenges,\" in IEEE Access, vol. 5, pp. 5247-5261, 2017, doi: 10. 1109/ACCESS. 2017. 2689040. [23] K. Christidis and M. Devetsikiotis, \"Blockchains and Smart Contracts for the Internet of Things,\" in IEEE Access, vol. 4, pp. 2292-2303, 2016, doi: 10. 1109/ACCESS. 2016. 2566339. [24] Z. Zheng, S. Xie, H. Dai, X. Chen and H. Wang, \"An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends,\" 2017 IEEE International Congress on Big Data (BigData Congress), Honolulu, HI, 2017, pp. 557-564, doi: 10.1109/BigDataCongress.2017.85. [25] K. Haseeb, N. Islam, A. Almogren and I. Ud Din, \"Intrusion Prevention Framework for Secure Routing in WSN-Based Mobile Internet of Things,\" in IEEE Access, vol. 7, pp. 185496-185505, 2019, doi: 10.1109/ACCESS.2019.2960633. [26] D. Miller, \"Blockchain and the Internet of Things in the Industrial Sector,\" in IT Professional, vol. 20, no. 3, pp. 15-18, May./Jun. 2018, doi: 10.1109/MITP.2018.032501742. [27] S. Yaji, K. Bangera and B. Neelima, \"Privacy Preserving in Blockchain Based on Partial Homomorphic Encryption System for Ai Applications,\" 2018 IEEE 25th International Conference on High Performance Computing Workshops (HiPCW), Bengaluru, India, 2018, pp. 81-85, doi: 10.1109/HiPCW.2018.8634280. [28] W. Wang et al., \"A Survey on Consensus Mechanisms and Mining Strategy Management in Blockchain Networks,\" in IEEE Access, vol. 7, pp. 22328-22370, 2019, doi: 10.1109/ACCESS.2019.2896108. [29] K. Sarpatwar, V. S. Ganapavarapu, K. Shanmugam, A. Rahman and R. Vaculin, \"Blockchain Enabled AI Marketplace: The Price You Pay for Trust,\" 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Long Beach, CA, USA,2019, pp. 2857-2866, doi: 10.1109/CVPRW.2019.00345.
Copyright © 2022 Akshay A Jadhav. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET47435
Publish Date : 2022-11-12
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here