원시데이터 수집 시스템
선정목록으로

A Study on Mechanization, Data, and Insurance Challenges for Agriculture Based on Hyperledger Fabric

관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. Zhihua Hu — Dept. of Computer Science and Engineering, Dongguk University, Korea
  2. Bongjun Kim — Dept. of Computer Science and Engineering, Dongguk University, Korea
  3. Junho Jeong — Dept. of Computer Science and Engineering, Dongguk University, Korea
DOI
10.1109/access.2024.3468430
저널
IEEE Access
발행년도
2024
발행기관
Institute of Electrical and Electronics Engineers
피인용수
1
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.1109/access.2024.3468430
토픽
Textile materials and evaluations
OpenAlex ID
W4402893147

평가 내용

관련도
관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Agriculture is essential for human survival facing critical issues such as limited access to modern machinery, a lack of comprehensive data, and difficulties in implementing insurance programs. To address these challenges, this study explores the potential of blockchain technology, finding that the Hyperledger Fabric can satisfy certain criteria vital for rectifying the existing issues due to its secure and scalable features. Utilizing the channel mechanism of Hyperledger Fabric, we developed a multi-channel network infrastructure to cater to the varying needs in agriculture. Each agricultural service is facilitated through its unique channel, accompanied by an easy-to-navigate webpage, enhancing user experience while ensuring data security. In our experiments, we deployed the system using Docker containers and virtual machines. Performance tests were conducted to evaluate the system’s effectiveness in data sharing, machinery service coordination, and insurance claim processing. The results demonstrated that the system effectively improves data sharing efficiency, streamlines machinery service coordination, and enhances the transparency and reliability of insurance claims processing. These findings highlight the potential of our system to significantly enhance agricultural production efficiency. The flexible and expandable nature of this system offers tremendous potential for future improvements, aiming to fulfill the multifaceted demands of agriculture more effectively, thereby laying a robust foundation for significantly enhancing agricultural production efficiency.

본문 73,048자

본문 펼치기
Received 23 July 2024, accepted 19 September 2024, date of publication 26 September 2024, date of current version 14 October 2024. _Digital Object Identifier 10.1109/ACCESS.2024.3468430_ # A Study on Mechanization, Data, and Insurance Challenges for Agriculture Based on Hyperledger Fabric ZHIHUA HU, BONGJUN KIM, (Graduate Student Member, IEEE), AND JUNHO JEONG Department of Computer Science and Engineering, Dongguk University, Jung-gu, Seoul 04620, South Korea Corresponding author: Junho Jeong (yanyenli@dongguk.edu) The research was supported by the National Research Foundation of Korea (NRF) grant by the Korean Government [Ministry of Science and Information and Communication Technology (MSIT)] (No.2018R1A5A7023490), This work was supported by the NRF grant funded by the Korean Government (MSIT) (No. 2021R1F1A1061514), This research was supported by the MSIT, Korea, under the Information Technology Research Center (ITRC) support program (IITP-2024-2020-0-01789), and the Artificial Intelligence Convergence Innovation Human Resources Development (IITP-2024-RS-2024-00254592) supervised by the Institute for Information & Communications Technology Planning & Evaluation (IITP). ABSTRACT Agriculture is essential for human survival facing critical issues such as limited access to modern machinery, a lack of comprehensive data, and difficulties in implementing insurance programs. To address these challenges, this study explores the potential of blockchain technology, finding that the Hyperledger Fabric can satisfy certain criteria vital for rectifying the existing issues due to its secure and scalable features. Utilizing the channel mechanism of Hyperledger Fabric, we developed a multi-channel network infrastructure to cater to the varying needs in agriculture. Each agricultural service is facilitated through its unique channel, accompanied by an easy-to-navigate webpage, enhancing user experience while ensuring data security. In our experiments, we deployed the system using Docker containers and virtual machines. Performance tests were conducted to evaluate the system’s effectiveness in data sharing, machinery service coordination, and insurance claim processing. The results demonstrated that the system effectively improves data sharing efficiency, streamlines machinery service coordination, and enhances the transparency and reliability of insurance claims processing. These findings highlight the potential of our system to significantly enhance agricultural production efficiency. The flexible and expandable nature of this system offers tremendous potential for future improvements, aiming to fulfill the multifaceted demands of agriculture more effectively, thereby laying a robust foundation for significantly enhancing agricultural production efficiency. INDEX TERMS Agriculture, blockchain, Hyperledger fabric, multi-channel, scalability. I. INTRODUCTION Agriculture remains a fundamental industry worldwide, playing a crucial role in ensuring economic stability and meeting the nutritional needs of our rapidly growing global population. However, despite its significance, agriculture faces a multitude of challenges, each with its own unique impact. These challenges include, but are not limited to, lack of mechanization, insufficient agricultural data, and issues surrounding agricultural insurance. The associate editor coordinating the review of this manuscript and approving it for publication was Mueen Uddin . The challenges mentioned above not only lead to a decrease in agricultural efficiency and productivity but also exacerbate global food security and economic inequality issues, particularly impacting the livelihoods of farmers. In addressing these complex agricultural problems, it is vital to recognize why blockchain technology was chosen as a pivotal solution. Blockchain technology [1], [2] provides a unique set of capabilities that directly address the intricacies of the agriculture. Recent studies have explored the potential of blockchain to enhance various agricultural processes, emphasizing its applicability in the sector [3], [4]. Firstly, its decentralized nature offers a transparent and tamper-resistant ledger, which is vital for ensuring trust and security in agricultural transactions. Trust, particularly in data sharing and financial exchanges, is a persistent issue in agriculture, and blockchain’s inherent security mechanisms provide a compelling solution. Secondly, the implementation of specialized smart contracts [5] within the blockchain ecosystem enables automated and secure transactions. In the context of agriculture, this is invaluable. For instance, it allows for secure and self-executing insurance contracts, ensuring that farmers receive the compensation they deserve after natural disasters. Moreover, blockchain’s capacity to support a multi-channel network infrastructure facilitates a systematic separation of diverse agricultural processes into distinct channels. This separation ensures that data remains isolated between unrelated businesses, fostering privacy and security. Simultaneously, data transparency within the same business is maintained, encouraging collaboration and efficiency. In this way, blockchain technology serves as the linchpin for a multifaceted approach to agricultural challenges. By integrating its capabilities into a unified agricultural framework, this research endeavors to offer a solution that not only enhances agricultural efficiency and productivity but also fundamentally transforms how the sector operates. The aim is to develop an integrated agricultural system that combines efficiency, security and scalability, thereby addressing the most pressing issues in agriculture. In the following sections, this article will explain how to build a blockchain network framework to create a comprehensive solution for agriculture. The second part focuses on foundational technologies relevant to this study, with special attention to technical details within the Hyperledger Fabric infrastructure, including membership, channel mechanisms, and chaincode. The third section presents the basic architecture of the system, describing the design of individual business chains. The fourth part mainly discusses the system’s implementation and evaluation. Finally, the fifth section summarizes this research and offers thoughts on future research directions. II. RELATED WORK _A._ _PREVIOUS RESEARCH_ In the realm of blockchain applications in agriculture, a multitude of studies have explored the potential and challenges associated with integrating this transformative technology into the agricultural domain. This section provides a concise review of relevant literature and a comparison with our proposed system. The study by Sajja et al. focuses on the in-depth exploration of blockchain technology in the realms of food supply chains, agricultural insurance, smart agriculture, and agricultural goods transactions. The research delves into how this technology can effectively trace food origins, establish reliable supply chains, and enhance customer confidence. Furthermore, the paper underscores the potential advantages of blockchain technology, including fostering smart agriculture, facilitating timely transaction payments, and triggering data changes on the blockchain through smart contracts [6]. While their work highlights the potential advantages of blockchain, our system employed a multi-channel architecture within Hyperledger Fabric. This approach not only ensures data traceability but also enhances the efficiency of machinery services and the reliability of insurance processes through isolated and secure channels. Ravi et al. investigate the utilization of blockchain to tackle real-world challenges in managing supply chains, with a specific emphasis on concerns such as data integrity, transparency of provenance, privacy, and security within the coffee supply chain sector. Utilizing a permissioned blockchain platform—Hyperledger Fabric, the study seeks to assess whether these platforms provide a less-corruptible alternative for supply chain stakeholders, striking a balance between conventional web technology and attributes of public blockchain [7]. Our research extends this by focusing on the scalability and efficiency of Hyperledger Fabric in agriculture. We address various agricultural challenges, such as machinery services and insurance, through dedicated channels that maintain data isolation and integrity, facilitating more efficient and secure agricultural operations. Based on Hyperledger Fabric technology, many researchers have conducted extensively studies in the field of agriculture. Hang et al. proposed a blockchain-based fish farm platform, leveraging the capabilities of the Internet of Things (IoT) to enhance smart farming. Recognizing the challenges of messy agriculture data, particularly from combine yield monitors, the research addresses concerns about data quality and manipulation by integrating blockchain technology. The designed platform ensures the integrity of agriculture data, offering fish farmers secure storage and automated processes through smart contracts, ultimately demonstrated through a Hyperledger Fabric blockchain integration proof of concept [8]. Our study builds upon this foundation by implementing a scalable multi-channel network that supports a wider range of agricultural services, including machinery services and comprehensive data sharing, thereby offering a more holistic solution to agricultural challenges. The research conducted by Bhat et al. shows the evolution of modern agriculture supply chains into a globally interconnected system. Recognizing issues of fraud and transparency, the study advocates for fundamental changes and highlights blockchain’s potential to enhance transparency. In response to consumer demands for safe and sustainable food production, the study introduces the Agri-SCM-BIoT architecture, addressing key concerns in agriculture supply chains. The research also explores security threats within IoT infrastructure and proposes blockchain-based defense mechanisms [9]. In contrast, our system leverages Hyperledger Fabric’s modularity and scalability to support a broader range of agricultural services beyond supply chain management, including data sharing and insurance claims processing. A lot of researchers have already explored the potential of Hyperledger Fabric in a variety of domains, ranging from personal portfolio system [10] to port supply chain system [11]. Additionally, investigations have been conducted into its application in healthcare management [12] and energy trading platforms [13]. During these explorations, it is noteworthy that there is a limited focus on the scalability design in agricultural studies based on Hyperledger Fabric. The agriculture faces diverse and escalating challenges, and a scalable network architecture would be advantageous in addressing the multifaceted issues in agriculture. In the context of my project, the Hyperledger Fabric serves as the underlying technology where different agricultural services, emphasizing scalability as the primary design principle, such as machinery service, data sharing, and insurance, are facilitated through various channels, each incorporating its unique chaincode. _B._ _BLOCKCHAIN TECHNOLOGY_ Blockchain technology is fundamentally a decentralized ledger system, where information and transactions are stored in units termed as ‘‘blocks,’’ which are chronologically linked in a secured chain. This series of blocks is transparent and immutable, meaning that once data is recorded, it is virtually impossible to change it, fostering a rich environment of trust and security. Every single block in this chain embodies a series of transactions, and these transactions are verified meticulously by network nodes utilizing cryptographic techniques, enhancing the security and authenticity of the information being recorded. This approach stands in stark contrast to traditional centralized systems, where a single entity holds the reins of control. By operating on a decentralized framework, it discards the necessity for a central authority or an intermediary, which notably reduces opportunities for fraudulent activities while also minimizing potential bottlenecks in processing and approving transactions, thereby enhancing efficiency and reducing costs [14]. Furthermore, the blockchain technology engenders a revolutionary level of traceability [15], where each transaction is recorded chronologically, providing a detailed historical transaction data trail, invaluable in verifying the authenticity of assets and preventing fraudulent activities. It is this combination of transparency, immutability, and security that has enabled blockchain technology to find applications far beyond its initial usage in powering cryptocurrencies, extending into sectors such as supply chain management, healthcare, finance, and even voting systems. _C._ _HYPERLEDGER FABRIC_ Hyperledger Fabric [16] is an open-source blockchain framework hosted by the Linux Foundation. Its mechanism revolves around a distributed ledger technology that enables multiple participants to collaborate within a shared network, facilitating secure, transparent, and scalable transaction processing. In Fabric, network members, which can be organizations, companies, or individuals, undergo identity verification through digital certificates. They are organized into distinct business channels, each serving as an isolated space for specific business processes, ensuring participants only observe and engage in transactions relevant to their operations. The execution of transactions is orchestrated through smart contracts, known as chaincode. Chaincode defines both the business logic and can be written in various programming languages. Peers maintain the ledger, storing the transaction data. The transaction processing workflow involves proposal, endorsement, ordering, and validation steps. Clients initiate transaction proposals, which are endorsed by peers through verification. The ordering service ensures consensus on the transaction order across all nodes. Ultimately, transactions are committed to the local ledger for verification. A comprehensive illustration of its architectural components and functionalities is depicted in Figure 1. FIGURE 1. Hyperledger fabric architectural overview. 1) MEMBERSHIP Membership Service Provider (MSP) is vital in Hyperledger Fabric, facilitating the identification of client identities and authenticating them. It abstracts identity verification by providing cryptographic certificates which represent the identity and play a pivotal role in the transaction process. In Hyperledger Fabric, MSP is employed to define rules that govern the validity of these certificates and to specify the role a member plays in a network. It also forms the basis of a trust setup, enabling secure communications in the network and granting permissions to authenticated identities. MSP is flexible, supporting identity protocols and management systems from different vendors, which allows it to integrate seamlessly into pre-existing infrastructures. 2) CHANNEL MECHANISM AND CONSENSUS In the Hyperledger Fabric framework, channels play a pivotal role in ensuring privacy and confidentiality in transaction processes by facilitating the creation of separate ledgers for distinct groups of participants [17]. This segregated approach means that transaction data is only visible to the authorized stakeholders involved in a particular channel, thereby protecting sensitive information, and reducing the risk of unauthorized access. Each channel operates under a defined set of rules and policies that govern the consensus method, which is instrumental in maintaining the order and validation of transactions. Moreover, every channel boasts its distinct chaincode, a pivotal element that fosters agreement on the business logic presented, outlining the parameters and conditions that transactions must adhere to for successful execution and validation. Additionally, the architecture of the channels facilitates streamlined and efficient transaction processes, by isolating and independently managing transaction data, which in turn reduces the potential for conflicts and ensures consistency in transaction history. Thus, channels are not just mere conduits of transactions but serve as secure, private pathways that maintain the integrity, confidentiality, and efficiency of the transaction processes in the Hyperledger Fabric environment, acting as a foundational tool in constructing a robust and secure decentralized network. Consensus [18] in Hyperledger Fabric is orchestrated through a distinctive approach that leverages a version of the Practical Byzantine Fault Tolerance (PBFT) algorithm, characterized by a three-phase process: endorsement, ordering, and validation. This sophisticated structure ensures the uniform agreement on the order and results of transactions among all network participants. Let’s delve deeper into each phase: Endorsement Phase: At this juncture, specific network nodes, dubbed ‘‘endorsing peers,’’ are tasked with executing a transaction and subsequently endorsing it. These endorsing peers are designated in advance by the network participants, therefore incorporating an added layer of security and consensus. Ordering Phase: Here, an ordering service is employed to amalgamate all the endorsed transactions into blocks; this is essentially creating a batch of transactions that are then positioned in a block. Hyperledger Fabric offers flexibility in terms of the consensus mechanisms that can facilitate this service, including options such as Kafka and RAFT [19]. Validation Phase: In the final stretch of the consensus process, all the nodes in the network scrutinize the transactions to verify compliance with the established endorsement policies and other relevant rules. This stringent verification ensures only transactions that have met the requisite criteria are appended to the ledger. To afford a comprehensive understanding of the consensus mechanism employed in Hyperledger Fabric, it becomes pertinent to draw a comparison with other consensus mechanisms prevalent in the blockchain sphere. Refer to the Table 1 below which delineates the characteristics of various consensus protocols including Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS), and Practical Byzantine Fault Tolerance (PBFT), providing a lucid comparative view with the consensus protocol in Hyperledger Fabric. We chose Hyperledger Fabric’s consensus mechanism primarily because it offers several advantages that are particularly beneficial for addressing agricultural challenges. Hyperledger Fabric uses a permissioned, modular architecture with a Raft consensus algorithm that provides high throughput and low latency, essential for processing the large volumes of transactions typical in agricultural applications, such as machinery usage logs and insurance claims. The Raft consensus mechanism also ensures data consistency and fault tolerance, which are critical for maintaining reliable and accurate records in agriculture. Additionally, Hyperledger Fabric’s consensus mechanism supports private channels, which enhance data privacy and security by allowing sensitive agricultural data to be shared only among authorized parties. This is particularly important for protecting proprietary farming techniques and personal information of farmers. Overall, the consensus mechanism in Hyperledger Fabric is well-suited to the specific requirements of agricultural applications, offering a robust and efficient solution for managing complex, sensitive, and high-volume data transactions. 3) CHAINCODE In Hyperledger Fabric, chaincode refers to smart contracts that are deployed onto the network. Chaincode encapsulate the business logic of an application; they are invoked to update or query the ledger in a proposal transaction. Written in Go, JavaScript, or Java, they define the rules and agreements governing transactions within the network. Chaincode functions are initiated by an external application and are executed against the ledger’s current state database, effectively governing the modification rules of the ledger’s state. Developing robust and secure chaincode is essential to ensure the correct functioning and security of the decentralized system. It’s important to adequately test and review the chaincode to avoid vulnerabilities that might lead to undesirable consequences such as unauthorized data access or financial loss. 4) HYPERLEDGER EXPLORER Hyperledger Explorer is a user-friendly web application tool designed to create a seamless and comprehensive interface for viewing, invoking, deploying, or querying blocks, transactions, and associated data, network information, chain codes, and transaction families present in a Hyperledger Fabric blockchain network. It allows users to carry out intricate data queries, maintain and monitor blocks, and keep track of network events in a streamlined manner. As it is designed to work exclusively with Hyperledger Fabric, it facilitates interaction with the blockchain network in a secure and robust manner. Users can avail themselves of a range of features including the dashboard view which showcases various network statistics, and functionalities to visualize different data representations of transaction histories. 5) DOCKER Docker [20] is a powerful platform that facilitates the development, deployment, and running of applications smoothly and consistently by using containers. A Docker container, at its core, is a software package that bundles up all the TABLE 1. A Comparative overview between general blockchain consensus mechanisms and the consensus mechanism in hyperledger fabric. components an application needs to run, including libraries, system tools, code, and runtime. This ensures that the application works seamlessly in any environment, be it a local machine, a test environment, or a cloud-based infrastructure, thus alleviating the ‘‘it works on my machine’’ problem developers often encounter. The containerization attribute of Docker leverages operating-system-level virtualization, wherein each application resides in its isolated container, maintaining a lightweight and swifter operation as opposed to traditional virtual machines. Not only does this streamline the workflow significantly by simplifying configuration processes and enhancing the speed of deployment cycles, but it also fosters collaborative and agile development ecosystems where teams can work in tandem without the underlying system differences being a barrier. 6) COUCHDB CouchDB [21] is a pivotal component in our system. It operates as a NoSQL database, providing a flexible and scalable environment to store JSON documents. Serving as the database, it supports the storage of JSON documents, facilitating the seamless functioning of various chains by ensuring data consistency and availability. Ensuring data consistency and availability forms a pivotal role in the functional efficiency of the network. CouchDB leverages its Multi-Version Concurrency Control (MVCC) to maintain a consistent state across the database. It ensures that the transactions are executed seamlessly, and data retrievals happen without any downtime, providing a robust backbone to the system’s database operations. CouchDB forms an essential intersection point between the data layers and the blockchain network. Each chain in the multi-chain architecture utilizes CouchDB to a varying degree, housing data necessary for their operations. The compatibility of CouchDB with Hyperledger Fabric allows for seamless interactions, aiding in the effective functioning of the chains by providing a stable and reliable database solution. 7) OPTIMIZATION FACTORS FOR HYPERLEDGER FABRIC EFFICIENCY The efficiency of Hyperledger Fabric in our system is influenced by several critical factors, which we carefully determined and optimized during development. The network topology, which includes the configuration of nodes (peers and orderers) and their connectivity, significantly impacts communication latency and throughput. We placed peer nodes and orderers to minimize latency and ensure high availability by distributing peers across different organizations, thus enhancing fault tolerance. Channel configuration is another crucial factor. By creating separate channels for different agricultural services (e.g., machinery service, data sharing, insurance), we ensured data isolation and reduced transaction complexity within each channel. This segmentation allows specific workflows to be managed efficiently without interference from others. Block size and batch timeout settings are also vital. Larger blocks can carry more transactions but may increase latency, while smaller blocks reduce latency but might lower throughput. We set an optimal block size to balance these trade-offs and determined a batch timeout that minimizes transaction latency while maintaining efficient block creation. Chaincode complexity directly affects execution time and resource consumption. We wrote efficient chaincode in Go, optimizing the business logic to perform necessary operations without unnecessary overhead. By optimizing these parameters, we achieved a balance between security, scalability, and performance, essential for meeting the diverse requirements of agricultural applications. III. PROPOSED SYSTEM ARCHITECTURE _A._ _CHALLENGES IN AGRICULTURE_ In addressing the challenges facing modern agriculture, a comprehensive approach is necessary, encompassing both the inefficiencies in traditional farming practices and the potential for transformative technologies. In this context, the following discussion intertwines the critical issues hindering agricultural progress with a system designed to revolutionize the industry. From insufficient mechanization to limited data sharing and the pressing need for transparent insurance solutions, the multifaceted nature of agricultural challenges requires an integrated and innovative response. Insufficient mechanization in agriculture can significantly reduce overall efficiency and productivity. Currently, North America and Europe have relatively high levels of agricultural mechanization. However, in regions like Asia, Latin America, and Africa, mechanization remains at a lower FIGURE 2. Agricultural multi-channel system architecture. scale [22]. In fact, approximately 80% of farmers in these areas still heavily rely on manual labor [23]. Data demonstrates a stark contrast in productivity. Highly mechanized farmers in the United States can obtain 1,470 kilograms of corn in one hour, while in less mechanized areas like Kenya, this figure is a mere 1.2 kilograms [24], [25]. Many factors constrain the progress of agricultural mechanization. We can consider these factors from both the supply and demand sides. Starting with the supply side, the way agricultural machinery is provided has a significant impact. Different terrains, types of crops, and variations in the planting process result in a wide variety of agricultural machinery. If farmers are required to maintain multiple types of machinery over the long term, it can create a substantial economic burden. Furthermore, diverse machinery necessitates skilled operators. Unequal distribution of these skilled operators during busy farming seasons is another major constraint. On the demand side, the market for agricultural machinery tends to favor large-scale farms due to economies of scale. As a result, the needs of small, scattered plots of farmland may be overlooked by the market simply because of their smaller scale. The lack of agricultural data limits the modernization and efficient operation of agriculture. Agricultural sensors can accurately detect crucial soil parameters such as pH levels, moisture, and soil fertility [26]. Recent advancements in smart sensors further support data-driven agriculture, enhancing decision-making processes [27], [28]. Some farmers are already using agricultural sensors to obtain data for optimizing their planting strategies, ultimately achieving the highest yields or the most sustainable development under optimal growth conditions. This is the kind of data-driven agriculture people aim for. However, if data remains solely in the hands of one farmer, its utility is quite limited. This data has valuable reference points in various agricultural scenarios. Yet, due to inadequate data sharing channels, progress in data-driven agriculture is hindered and slow. Floods, droughts, hurricanes, and other natural disasters pose continuous threats to agriculture. For instance, in just the year 2018, these disasters caused a staggering 264.5 billion Chinese yuan in economic losses in China. Around 20.8 million hectares of arable land were damaged, affecting a staggering 130 million people [29]. Between 2007 and 2016 alone, the total net cost of crop insurance programs in the United States reached a whopping 72 billion US dollars, ranking second in its agricultural expenses [30]. Currently, the usage of agricultural insurance among small-scale farmers in many low-income countries remains below 10% [31]. One significant reason for this is the low level of trust farmers have in insurance providers. Often, after disasters occur, farmers find it challenging to receive the compensation they deserve. Therefore, there is a pressing need for a transparent and reliable insurance system. Recent studies emphasize the importance of insurance subsidies and innovative approaches to improve crop yield resiliency [32]. By leveraging blockchain technology, we can create transparent and efficient insurance processes, ensuring that farmers receive timely and accurate compensation for their losses. _B._ _OVERVIEW OF THE ARCHITECTURE_ When dealing with the many challenges in modern agriculture, it’s crucial to take a comprehensive approach. This means not just looking at traditional farming methods but also using innovative technologies to make significant improvements. Acknowledging problems in mechanization, data sharing, and insurance, we propose a complete solution with a consortium blockchain designed specifically for agriculture. This system, supported by the strong structure of Hyperledger Fabric, aims to effectively fix the issues mentioned before. Now, we will explore how the system is designed. Our architecture comprises several key components, including peer nodes, orderer nodes, channels, smart contracts, membership service providers (MSP), a web interface, and a state database (CouchDB). These components work together to create a secure, scalable, and efficient blockchain network tailored for agricultural applications. 1) PEER NODES Peer nodes are the backbone of our blockchain network. They are responsible for endorsing and validating transactions, maintaining a copy of the ledger, and ensuring data consistency across the network. Each peer node is equipped with a state database (CouchDB) that stores the current state of the ledger, allowing for efficient data retrieval and complex queries. To enhance fault tolerance and ensure high availability, peers are distributed across multiple organizations, with each organization hosting several peer nodes. This distribution allows for redundancy and load balancing, ensuring that the network remains resilient even if some nodes fail. 2) ORDERER NODES Orderer nodes are crucial for achieving consensus and ensuring the correct sequencing of transactions. They collect transactions from peer nodes, order them into blocks, and distribute these blocks to the peers. Our system uses the Raft consensus algorithm for the ordering service in production deployments, providing fault tolerance and high availability. The Raft algorithm is chosen for its balance between performance and reliability, making it suitable for handling the high transaction throughput typical in agricultural applications. 3) CHANNELS Channels are a unique feature of Hyperledger Fabric that provide data partitioning and isolation. Each channel operates as a separate blockchain, with its own ledger and smart contracts. This architecture allows different agricultural services to operate independently within their respective channels, ensuring that sensitive data is only accessible to authorized participants. For instance, we have created separate channels for machinery services, data sharing, and insurance processes. This separation not only enhances security but also simplifies the management of different services by isolating their transaction flows and policies. 4) CHAINCODE In our system, chaincode is written in Go and deployed on peer nodes within each channel. Different chaincodes handle specific services, such as machinery booking, data logging, and insurance claim processing. By encapsulating the business logic in smart contracts, we ensure that transactions are processed consistently and automatically according to predefined rules. 5) MEMBERSHIP SERVICE PROVIDER The Membership Service Provider (MSP) is responsible for managing identities and providing authentication and authorization services. Each organization in our network has its own MSP, which issues digital certificates to its members. These certificates are used to sign transactions and authenticate participants, ensuring that only authorized entities can join the network and interact with the blockchain. This robust identity management system is crucial for maintaining the security and integrity of the network. To truly understand the system architecture envisioned for this agriculture-focused consortium blockchain, one must first grasp the overarching architecture that serves as the backbone for the individual operational chains. The backbone is structured as a multi-channel system built on the solid foundations of Hyperledger Fabric, revered for its remarkable scalability attributes, which will facilitate a seamless functional upgrade and iterations in real agricultural scenarios. To further illustrate this architecture, refer to Figure 2, which provides a graphical representation of the system architecture. In this figure, you will observe that users interact with the system through a user-friendly application interface. They can initiate proposals or requests, which are then processed through the corresponding channels designated for different functions such as Agricultural Machinery Service, Data Sharing, or Insurance. Each of these channels operates with a dedicated ledger and chaincode, encapsulating a set of policies and endorsements that govern the transactions carried out within them. Once a proposal is initiated, it undergoes a series of validations and endorsements by the peers in the network before being recorded on the blockchain, ensuring both security and consensus in every transaction. The peer nodes are integral in this process, as they hold the ledger and endorse the transactions, maintaining the trust in the system by verifying every transaction’s legitimacy before it’s added to the blockchain. This multi-channel setup allows for compartmentalized functionality, providing both security and efficiency, and ensuring the seamless operation of diverse agricultural processes through a single integrated system. Our system taps into the untapped potential of integrating blockchain technology into the agricultural domain, harnessing the strength of a small network of nodes to build the network, thus significantly enhancing transaction processing efficiency - a critical requirement in real-time agricultural applications. The multi-chain system conceptualized here encompasses several chains designed to function in synergy while targeting different facets of agriculture. These chains include Agricultural Machinery Service Chain, Agricultural Data Sharing Chain and Agricultural Insurance Chain. _C._ _DESIGN PRINCIPLES AND CONSIDERATIONS_ In the formulation of our consortium blockchain system, this research undertook a strategic approach grounded in three cardinal principles: scalability, efficiency, security. The overarching scheme was to foster a system equipped to adapt and evolve in sync with the dynamically changing demands of the agricultural landscape. It emphasized not only a high transaction processing efficiency but also a secured and regimented data access policy to ensure data integrity and foster trust within the ecosystem. Furthermore, this study aimed to encapsulate an intuitive user interface into the system’s design, emphasizing easy navigation and simplified blockchain operations to cater to users with varying levels of tech proficiency, thereby encouraging wider acceptance and facilitating inclusive engagement. _D._ _INDIVIDUAL CHAINS_ This section will introduce each of the existing chains in the project, discussing their specific functionalities, workflows, and roles in the holistic operation of the system. 1) AGRICULTURE MACHINERY SERVICE CHAIN As the realm of agriculture steers towards modernization, mechanization stands as a cornerstone in enhancing efficiency and productivity. The Agricultural Machinery Service Chain is crafted to facilitate the optimal utilization of agricultural machinery resources, bridging the gap between farmers, service providers, and machine operators, thereby orchestrating a well-coordinated system that runs on the decentralized and transparent structure of blockchain technology. Figure 3 shows an overview of the functions and details in the Machinery Service Chain. FIGURE 3. Overview of functions and details in machinery service chain. This initiative brings about a more structured approach to agricultural machinery deployment, where the right resources are mobilized at the right time, effectively mitigating issues such as inadequate machinery during peak agricultural seasons and insufficient skilled machine operators. At the genesis of this chain are farmers who articulate their specific needs in the form of service orders. These orders encapsulate various details, including the nature of the service required, geographical location of the farm, the extent of land to be serviced, and the type of inputs needed, such as the kind of fertilizer to be used. This meticulous detailing ensures that the service provided is fine-tuned to meet the exact needs, heralding an era of personalized agricultural services. Upon receipt of the orders, service providers undertake a robust assessment process, scrutinizing the requisites and affirming the feasibility of fulfilling the order. Post-affirmation, they designate the tasks to the machine operators, establishing a conduit of seamless communication and task allocation, driven by the impeccable integrity assured by blockchain. The machine operators, who are the executors in this setup, carry out the services as delineated in the task orders. They log crucial data pertaining to the task execution - such as the trajectory followed, time invested, and the quantity of inputs utilized - into the blockchain. This diligent recording of data not only ensures transparency but also stands as a testament to the work executed, fostering trust and accountability. With the Agricultural Machinery Service Chain in place, a futuristic model of agricultural mechanization is conceived, where efficiency is propelled to unprecedented heights through the judicious allocation of resources. The system foresees a surge in the efficiency of machine operators, underlined by a framework where tasks are scientifically allocated, thereby minimizing downtime, and maximizing productivity. The meticulous recording of operational data facilitates an environment of trust, where every stakeholder has a clear view of the operations undertaken. 2) AGRICULTURE DATA SHARING CHAIN In the evolving landscape of agriculture, the decision-making process is gradually transitioning from reliance on anecdotal knowledge to data-driven strategies. Recognizing the importance of localized climatic and soil conditions - such as humidity, pH level, and temperature — in influencing critical agricultural decisions such as crop choice and cultivation strategies, the Agricultural Data Sharing Chain emerges as a timely intervention. This platform fosters a rich ecosystem of data sharing, leveraging blockchain technology to aggregate indispensable agricultural parameters, which were previously accessible only to individual farmers based on their localized experiences. Figure 4 provides a composite web page view of essential functions within the Agricultural Data Sharing Chain, showcasing key features by combining multiple web pages from this chain. FIGURE 4. Composite web page view of data sharing chain functions. Farmers are the primary stakeholders, often possessing an enriched understanding of the nuances of their local agricultural landscapes. Within this blockchain-facilitated platform, farmers take on the role of data contributors, volunteering crucial information derived from their first-hand experiences and observations. They upload data regarding the various parameters influencing their farmlands to the centralized system, contributing to a rich repository of information which can aid fellow farmers and agricultural researchers in making informed decisions. Research Institutions and weather agencies also can utilize the data available on the chain for various analytical and research-oriented purposes. Access to a comprehensive database with real-time updates empowers these stakeholders to undertake in-depth studies, enhance forecasting accuracy, and contribute towards the development of more adaptive and resilient agricultural strategies. The adoption of the Agricultural Data Sharing Chain promises a transformative impact on agriculture, heralding a new era of informed and collaborative decision-making. It fosters a community-centric approach where the cumulative knowledge of individual farmers is leveraged to benefit the larger agricultural fraternity. The system has immense potential to integrate with other technological advancements. The introduction of low-cost sensors in agricultural settings can enhance the precision of data collection, enabling real-time monitoring and updates to the chain, thereby elevating its functionality to new heights. 3) AGRICULTURE INSURANCE CHAIN In the agricultural landscape, a formidable adversary that constantly shadows the hard work of farmers is the unpredictability associated with natural disasters. These unforeseen events can potentially wipe out the cumulative efforts exerted throughout a farming cycle. Recognizing the critical role of agricultural insurance in safeguarding the interests of farmers, the Agriculture Insurance Chain emerges as a transformative solution, leveraging blockchain technology to instill transparency and veracity in data handling, and thereby overhauling the traditional insurance paradigm which has been impeded by incomplete and inaccurate data. Figure 5 offers an overview of the functions and detailed content within the Agricultural Insurance Chain. FIGURE 5. Overview of functions and details in Insurance Chain. Farmers are central to this chain, acting as policyholders who opt for insurance coverages for their farmlands based on the stipulated terms of the insurance products, including the coverage amount and the claim rules. The selection process is guided by a comprehensive understanding of the different policy elements, empowering farmers to make informed choices that align with their specific needs and the risk profile of their agricultural operations. Insurance companies hold a pivotal role as the architects of insurance products, meticulously designing them to cater to the multifaceted needs of the agricultural domain. Beyond product creation, these entities facilitate the execution of various insurance processes through the deployment of smart contracts which encompass the functions of policy issuance, stipulating rules for refund, and delineating the governing principles for claim settlements. Implementing the Agriculture Insurance Chain promises to usher in a new era of efficiency and transparency in agricultural insurance processes. The inherent properties of blockchain technology, such as immutability and transparency, are poised to enhance trust between stakeholders. IV. IMPLEMENTATION AND EVALUATION _A._ _EXPERIMENTAL ENVIRONMENT_ This system was implemented and evaluated within a well-configured experimental environment, the details of which are outlined in the Table 2 below: TABLE 2. Details of experimental environment. In this setup, the primary workstation operated on an 11th Gen Intel <sup>®</sup> Core <sup>TM</sup> i7-11800H processor, ensuring a smooth developmental process through a VMware virtual environment allocated with 4GB of RAM and 40GB of hard disk space. Ubuntu 18.04 LTS served as the foundation, offering a compatible and efficient platform for the Hyperledger Fabric network. FIGURE 6. Docker containers for the agriculture system. The container of our system was Docker (version 20.10.12) as illustrated in Figure 6, facilitating a streamlined and isolated environment for deploying and running the Hyperledger Fabric network. This setup was complemented by the Go programming language, used for scripting the chaincode, and ensuring the execution of complex operations with high efficiency and reliability. The Docker containers were orchestrated adeptly through Docker Compose (version 1.29.2), a tool essential for defining and running multi-container Docker applications. Through meticulous configuration, including the generation of necessary certificate files using the Cryptogen tool, this study fostered a secure and compliant environment. This prepared ground was pivotal in the successful deployment of smart contracts, laying a robust and resilient architecture ready for a detailed evaluation phase. _B._ _SYSTEM SETUP PROCEDURE_ The development of our blockchain system underwent a series of meticulously structured steps to ensure optimal functionality, as illustrated comprehensively in Figure 7. FIGURE 7. Agriculture system setup procedure. The development was initiated with the creation of configuration files for all necessary organizations, establishing the requisite groundwork for the network. This involved defining the organizational structure and network parameters in files such as ‘configtx.yaml‘ and ‘crypto-config.yaml‘. These files specify the details of each organization, including their roles and permissions within the network. Subsequently, the Cryptogen tool was employed to generate cryptographic certificate files vital for secure communications and authentications within the network. These certificates form the cornerstone of security for the forthcoming operational stages, ensuring that only authorized entities can participate in the network. The final generated network details are shown in Figure 8. Next, the focus was on channel configuration, which included setting up privacy policies for each organization and node to enhance security in line with real operational demands. This phase involved the use of the ‘Configtxgen‘ tool to create the genesis block and channel configuration files that embody our predefined rules and principles. The FIGURE 8. The network details of the agricultural system. genesis block serves as the starting point of the blockchain, while the channel configuration files establish the channels that isolate transactions and data for different agricultural services. By doing so, we ensured that each service operates independently and securely within its dedicated channel. Figure 9 shows the channel details of our agricultural system. FIGURE 9. The channel details of the agricultural system. The next step was deploying the nodes using Docker containers to foster optimized resource allocation and scalability. Docker containers provide a lightweight and consistent environment for running the various components of the blockchain network. This stage saw the indispensable role of the Docker Compose tool in initializing the Docker containers. The ‘docker-compose.yaml‘ file was configured to define the services, including peer nodes and orderer nodes, specifying their roles and how they interact within the network. This setup allowed us to efficiently manage and scale the network components, ensuring robust and flexible deployment. Following node deployment, we moved on to the deployment of smart contracts, also known as chaincode in the Hyperledger Fabric lexicon. These chaincodes, written in Golang, encapsulate the business logic across organizations and facilitate various functionalities. The chaincodes were installed on the peer nodes and instantiated on the channels. This step involved defining the endorsement policies, which specify the conditions under which transactions are considered valid. By doing so, we ensured that the business logic is executed consistently and securely across the network. To enhance user engagement with the system, a userfriendly web interface was integrated. This interface provides a frontend that allows users to interact effortlessly with the blockchain services. This integration ensures that users can access the system’s functionalities securely and intuitively. Finally, network testing and validation were conducted to ensure all components function correctly. This included running performance benchmarks and validating transaction flows to ensure the system’s robustness and reliability. Hyperledger Caliper was used as the benchmarking tool to measure various performance metrics, such as transaction throughput, latency, and resource utilization. These tests helped identify potential bottlenecks and optimize the system for real-world deployment. By following these structured steps, we successfully built a consortium blockchain system tailored to meet the diverse requirements of agricultural applications. _C._ _PERFORMANCE EVALUATION_ Hyperledger Caliper, a pivotal part of the comprehensive Hyperledger project driven by The Linux Foundation, is a blockchain benchmark tool devised to gauge the performance of blockchain infrastructures meticulously. It functions by constituting a series of defined transactions and disseminating them across the network under varying conditions to accumulate vital metrics including transaction latency, resource utilization, and throughput, essential for identifying the potential strengths and bottlenecks of a blockchain system. This tool facilitates the provision of an extensive report after the benchmark testing, graphically illustrating diverse metrics and revealing the capabilities of the network under divergent strains. This mechanism is instrumental in aiding businesses and developers in honing their blockchain solutions to match the requisite performance norms for realworld applications. Moreover, its modular design sanctions seamless integration with a broad array of blockchain technologies, establishing it as a multifaceted instrument during the development process. A representation of Hyperledger Caliper’s structure is showcased in Figure 10. FIGURE 10. Hyperledger Caliper architecture. In our performance evaluation, the extensive functionalities of Hyperledger Caliper were used to undertake a rigorous assessment of our blockchain system’s performance through a well-defined set of use cases. Our strategy encompassed a detailed testing protocol using Caliper to pinpoint the precise transactions to be enacted on our blockchain network, subsequently setting the pace for these transactions. This methodology embraced a fixed-load rate control strategy, upholding a steady transaction load of five and commissioning five workers, thus guaranteeing a uniform testing milieu. This setup facilitated the execution of 5000 transactions each round, generating a robust dataset for scrutinization. Consequently, it not only offered a deep description of transaction latency, throughput, and resource utilization but also presented a profound performance analysis. TABLE 3. Summary of the agriculture system performance metrics. Table 3 illustrates the system’s formidable reliability, substantiated by a 100% success rate across all transaction categories, corroborating the system’s proficiency in efficiently managing transactions devoid of failures. It evaluated the detailed evaluation of latency, recording the maximum, minimum, and average durations during the operations. The network displayed efficiency, registering a pinnacle latency of 2.27 seconds during the ‘Query Data’ procedure while ensuring brisk responses with a nadir latency of 0.04 seconds in the ‘Create Data’ function. Furthermore, our assessment delineated the throughput in Transactions Per Second (TPS), identifying the ‘Create Policy’ function as the spearhead with an unparalleled throughput of 34.1 TPS, trailed by ‘Create Data’ and ‘Create Machine’ operations. These performance examinations elucidate a promising trajectory for the system, mirroring a solid foundation with high reliability accompanied by potent latency and throughput parameters, embodying a dynamic and robust performance. In the evaluation of system scalability, the first step was to assess how effectively the blockchain system could manage increased workloads as the number of channels expanded. Performance of a specific function, ‘‘Create Machine,’’ was monitored under varying conditions to determine whether the system’s efficiency was impacted by the addition of channels. TABLE 4. Performance of ‘‘create machine’’ with different number of channels. As table 4 demonstrates, the success rate of all tested scenarios is 100%. This reliability reaffirms the system’s capability to efficiently manage transactions even with the increased complexity introduced by multiple channels. Latency metrics was further assessed to understand the system’s responsiveness under various conditions. The network consistently demonstrated good performance, with maximum latency remaining within acceptable bounds. TABLE 5. Performance of ‘‘create machine’’ with different number of peers. The second step was to assess the system as the number of peers increased. The test results are shown in Table 5. Despite the continuous increase in the number of peers, the transaction success rate of the system remains stable at 100%. Meanwhile, with the growing number of peers, there is an increase in system latency, attributed to running all nodes on a single computer. In a real distributed environment, deploying nodes on different physical computers can alleviate potential communication and resource contention issues, thereby reducing latency. This test indicates that the system can maintain excellent success and reliability levels when facing deployments with varying scales of nodes. FIGURE 11. Average latency comparison for different transaction numbers. FIGURE 12. Throughput comparison for different transaction numbers. In addition to evaluating the system’s performance with an increasing number of peers, a comparative analysis was conducted, benchmarking the results against the performance presented in Reference [7]. The ensuing experiments aimed to provide insights into the system’s latency and throughput compared to established benchmarks. Comparing the two systems, as depicted in Figure 11 for average latency and Figure 12 for throughput, our implementation consistently outperforms the benchmarks from Reference [7]. While maintaining a fixed transaction per second (TPS) rate of 25, our system exhibits significantly lower average transaction latencies (1.19, 1.18, and 1.17 seconds for 50, 100, and 150 transactions, respectively) in contrast to the higher latencies reported in Reference [7]. Simultaneously, the throughput results, illustrated in Figure 12, show our system’s efficiency, revealing throughput values of 23.8, 24.4, and 24.8 transactions per second for the corresponding transaction volumes, surpassing the benchmarks presented in Reference [7]. Upon reviewing the outcomes depicted in Figures 13 and 14, it is evident that our system consistently achieves lower average latencies across various transaction per second (TPS) rates when compared to Reference [7]. Specifically, at TPS rates of 100, 200, and 250, our system with a fixed transaction number of 300, demonstrates average latencies of 2.43, 3.4, and 2.93 seconds, respectively, showcasing superior performance in latency metrics. FIGURE 13. Average latency comparison for different transaction rate. Our system demonstrates superior throughput compared to the benchmarks presented in Reference [7]. Specifically, at send rate of 100, 200, and 250, our system achieves higher throughputs of 58.5, 69.6, and 74 transactions per second. This result suggests that our system performs exceptionally well under varying transaction rates. In addition to the performance tests conducted, it’s crucial to acknowledge that Hyperledger Fabric’s system performance is influenced by various factors beyond the tested parameters, as outlined in the summarized table 6 below. Factors such as chaincode complexity, consensus algorithm choice, endorsement policies, and contract language can impact the overall system efficiency. We selected and configured several parameters to enhance the system’s efficiency. For the network topology, peers FIGURE 14. Throughput Comparison for different transaction rate. TABLE 6. Factors influencing Hyperledger Fabric efficiency. were distributed across three organizations, each hosting two peer nodes, while orderer nodes were set up in a Raft consensus with three orderer nodes for high availability and reliability, although Solo was used during testing for simplicity. Separate channels were created for different agricultural services, ensuring data isolation and reducing transaction complexity, with three channels designated for machinery services, data sharing, and insurance processes. The block size was set to 100 transactions per block, and the batch timeout was adjusted to 2 seconds to balance throughput and latency. We configured the endorsement policy to require endorsements from at least two peers from different organizations, enhancing security without compromising performance. TLS settings were optimized with default cryptographic algorithms to secure data transmission. Chaincode was written in Go, focusing on efficient execution of business logic, including functions for machinery booking, data logging, and insurance claim processing. We chose CouchDB for the state database due to its capability to handle complex queries and JSON data structures. Finally, all smart contracts were implemented in Go, following best practices to ensure efficient coding. Building upon these insights into the factors influencing system performance, we adjusted key parameters and conducted additional performance tests, as depicted in Figure 15. The results reveal a notable improvement in both throughput and latency compared to the earlier test results. It’s noteworthy that the throughput reaches a saturation point after a transaction sending rate of 250 tps. That means our configuration supports a sending rate of 250 tps currently. FIGURE 15. Optimized system performance with parameter adjustments. This optimized setup positions our system to meet the current demand effectively. In future, further fine-tuning of system configurations can be explored to align with real-world requirements and continue optimizing performance. This iterative process ensures adaptability to evolving needs and sustained efficiency gains. In our blockchain system, security is of utmost importance. Transactions, as a core component of blockchain, come with unique security features. As shown in Figure 16, each transaction is equipped with a unique transaction ID. This not only aids in tracking and verifying specific transactions but also ensures their consistency and tamper-proof nature. The Membership Service Provider (MSP) identifies the organization to which they belong, ensuring that only legitimate entities can participate in transactions. The role of endorsers is crucial for authorizing and approving transactions, thereby maintaining data integrity and legitimacy. FIGURE 16. The transaction details of the agricultural system. Blocks are fundamental part of the blockchain. As depicted in Figure 17, the channel name identifies the channel to which a block belongs, ensuring that transactions are sent to the correct destination while also achieving data isolation and privacy between channels. Block numbers and timestamps help ensure the chronological order and integrity of blocks. The hash value of a block is used to guarantee its integrity, as once data is stored, it cannot be altered. Linking to the hash value of the previous block ensures the continuity and security of the entire blockchain. FIGURE 17. The block details of the agricultural system. Furthermore, the system incorporates multiple security mechanisms, enhancing overall system security. These mechanisms include identity authentication and authorization, channel isolation, endorsement policies, consensus mechanisms, among other security features. Combining these security mechanisms, our blockchain system ensures the security of transactions and blocks, safeguarding data confidentiality, integrity, and availability. V. CONCLUSION This research aimed to address significant challenges in modern agriculture by developing a consortium blockchain system using the Hyperledger Fabric framework. The system’s design focused on enhancing data sharing efficiency, machinery service coordination, and insurance claim processing through a multi-channel architecture tailored for various agricultural services. Our experimental results demonstrated notable improvements. The system facilitated more efficient and secure data sharing among stakeholders, reducing the time and complexity involved in accessing and verifying agricultural data. The machinery service coordination was streamlined, enabling better resource allocation and reducing downtime during peak agricultural seasons. Additionally, the transparency and reliability of insurance claim processing were significantly enhanced, ensuring that farmers receive timely and accurate compensation after natural disasters. In terms of technical performance, the system exhibited high throughput and low latency, even under increased transaction loads. The modular design of the Hyperledger Fabric framework allowed for scalable and flexible integration of new services, highlighting the system’s potential for future expansion. VI. FUTURE WORK Future work will focus on several key areas to further enhance the system’s capabilities and address additional challenges in the agricultural sector: _A._ _INTEGRATION WITH IOT DEVICES_ Incorporating advanced IoT sensors and devices to provide real-time data collection and monitoring. This will enable more accurate and timely decision-making for farmers and other stakeholders. _B._ _ENHANCED SMART CONTRACTS_ Developing more sophisticated smart contracts to support complex agricultural processes, such as dynamic pricing models, predictive maintenance for machinery, and advanced insurance schemes. _C._ _LARGE-SCALE FIELD TRIALS_ Conducting extensive field trials to validate the system’s performance and scalability in real-world agricultural environments. These trials will help identify any practical challenges and provide insights for further optimization. _D._ _INTEROPERABILITY WITH OTHER SYSTEMS_ Exploring the interoperability of our blockchain system with other existing agricultural management systems and supply chain platforms. This will ensure seamless integration and data exchange across different systems, enhancing overall efficiency. In conclusion, this study has successfully established a functional and scalable blockchain system for agriculture, leveraging the strengths of Hyperledger Fabric. The system’s design and implementation offer a robust foundation for future enhancements, aiming to create a more secure, efficient, and transparent agricultural industry. Our vision is to foster a future where technology and agriculture are seamlessly integrated, paving the way for improved productivity and sustainability in the sector. REFERENCES [1] J. Al-Jaroodi and N. Mohamed, ‘‘Blockchain in industries: A survey,’’ _IEEE Access_, vol. 7, pp. 36500–36515, 2019. [2] J. Yli-Huumo, D. Ko, S. Choi, S. Park, and K. Smolander, ‘‘Where is current research on blockchain technology—A systematic review,’’ _PLoS_ _ONE_, vol. 11, no. 10, Oct. 2016, Art. no. e0163477. [3] A. Sendros, G. Drosatos, P. S. Efraimidis, and N. C. Tsirliganis, ‘‘Blockchain applications in agriculture: A scoping review,’’ _Appl._ _Sci._, vol. 12, no. 16, p. 8061, Aug. 2022. [Online]. Available: https://www.mdpi.com/2076-3417/12/16/8061 [4] N. Patel, A. Shukla, S. Tanwar, and D. Singh, ‘‘KRanTi: Blockchain-based farmer’s credit scheme for agriculture-food supply chain,’’ _Trans. Emerg._ _Telecommun. Technol._, vol. 35, no. 4, p. e4286, Apr. 2024. [5] S. Wang, Y. Yuan, X. Wang, J. Li, R. Qin, and F.-Y. Wang, ‘‘An overview of smart contract: Architecture, applications, and future trends,’’ in _Proc._ _IEEE Intell. Vehicles Symp. (IV)_, Jun. 2018, pp. 108–113. [6] G. S. Sajja, K. P. Rane, K. Phasinam, T. Kassanuk, E. Okoronkwo, and P. Prabhu, ‘‘Towards applicability of blockchain in agriculture sector,’’ _Mater. Today, Proc._, vol. 80, pp. 3705–3708, Jan. 2023. [7] D. Ravi, S. Ramachandran, R. Vignesh, V. R. Falmari, and M. Brindha, ‘‘Privacy preserving transparent supply chain management through hyperledger fabric,’’ _Blockchain,_ _Res._ _Appl._, vol. 3, no. 2, Jun. 2022, Art. no. 100072. [8] L. Hang, I. Ullah, and D.-H. Kim, ‘‘A secure fish farm platform based on blockchain for agriculture data integrity,’’ _Comput. Electron. Agricult._, vol. 170, Mar. 2020, Art. no. 105251. [9] S. A. Bhat, N.-F. Huang, I. B. Sofi, and M. Sultan, ‘‘Agriculture-food supply chain management based on blockchain and IoT: A narrative on enterprise blockchain interoperability,’’ _Agriculture_, vol. 12, no. 1, p. 40, Dec. 2021. [10] J. Jeong, D. Kim, S.-Y. Ihm, Y. Lee, and Y. Son, ‘‘Multilateral personal portfolio authentication system based on hyperledger fabric,’’ _ACM Trans._ _Internet Technol._, vol. 21, no. 1, pp. 1–17, Feb. 2021. [11] N. Gao, D. Han, T.-H. Weng, B. Xia, D. Li, A. Castiglione, and K.-C. Li, ‘‘Modeling and analysis of port supply chain system based on fabric blockchain,’’ _Comput. Ind. Eng._, vol. 172, Oct. 2022, Art. no. 108527. [12] G. Al-Sumaidaee, R. Alkhudary, Z. Zilic, and A. Swidan, ‘‘Performance analysis of a private blockchain network built on hyperledger fabric for healthcare,’’ _Inf._ _Process._ _Manage._, vol. 60, no. 2, Mar. 2023, Art. no. 103160. [13] Y. Wang, L. Yuan, W. Jiao, Y. Qiang, J. Zhao, Q. Yang, and K. Li, ‘‘A fast and secured vehicle-to-vehicle energy trading based on blockchain consensus in the Internet of Electric Vehicles,’’ _IEEE Trans. Veh. Technol._, vol. 72, no. 6, pp. 7827–7843, Jun. 2023. [14] X. Zheng, Y. Zhu, and X. Si, ‘‘A survey on challenges and progresses in blockchain technologies: A performance and security perspective,’’ _Appl._ _Sci._, vol. 9, no. 22, p. 4731, Nov. 2019. [15] K. Demestichas, N. Peppes, T. Alexakis, and E. Adamopoulou, ‘‘Blockchain in agriculture traceability systems: A review,’’ _Appl._ _Sci._, vol. 10, no. 12, p. 4113, Jun. 2020. [16] E. Androulaki, A. Barger, V. Bortnikov, C. Cachin, K. Christidis, A. De Caro, D. Enyeart, C. Ferris, G. Laventman, and Y. Manevicha, ‘‘Hyperledger fabric: A distributed operating system for permissioned blockchains,’’ in _Proc. 13th EuroSys Conf._, 2018, pp. 1–15. [17] C. Ma, X. Kong, Q. Lan, and Z. Zhou, ‘‘The privacy protection mechanism of hyperledger fabric and its application in supply chain finance,’’ _Cybersecurity_, vol. 2, no. 1, pp. 1–9, Dec. 2019. [18] D. Mingxiao, M. Xiaofeng, Z. Zhe, W. Xiangwei, and C. Qijun, ‘‘A review on consensus algorithm of blockchain,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Syst.,_ _Man, Cybern. (SMC)_, Oct. 2017, pp. 2567–2572. [19] G. Yang, K. Lee, K. Lee, Y. Yoo, H. Lee, and C. Yoo, ‘‘Resource analysis of blockchain consensus algorithms in hyperledger fabric,’’ _IEEE Access_, vol. 10, pp. 74902–74920, 2022. [20] B. B. Rad, H. J. Bhatti, and M. Ahmadi, ‘‘An introduction to Docker and analysis of its performance,’’ _Int._ _J._ _Comput._ _Sci._ _Netw._ _Secur._ _(IJCSNS)_, vol. 17, no. 3, p. 228, 2017. [21] J. C. Anderson, J. Lehnardt, and N. Slater, _CouchDB: The Definitive Guide:_ _Time To Relax_ . Newton, MA, USA: O’Reilly Media, 2010. [22] X. Diao, H. Takeshima, and X. Zhang, _An_ _Evolving_ _Paradigm_ _of_ _Agricultural_ _Mechanization_ _Development:_ _How_ _Much_ _Can_ _Africa_ _Learn_ _From_ _Asia?_ Washington, DC, USA: International Food Policy Research Institute, 2020. [23] T. Daum and R. Birner, ‘‘Agricultural mechanization in Africa: Myths, realities and an emerging research agenda,’’ _Global_ _Food_ _Secur._, vol. 26, Sep. 2020, Art. no. 100393. [24] D. Gollin, ‘‘Farm size and productivity: Lessons from recent literature,’’ _IFAD Res. Ser._, no. 34, pp. 1–35, 2019. [25] T. Daum, ‘‘Mechanization and sustainable agri-food system transformation in the Global South. A review,’’ _Agronomy Sustain. Develop._, vol. 43, no. 1, p. 16, Feb. 2023. [26] K. Paul, S. S. Chatterjee, P. Pai, A. Varshney, S. Juikar, V. Prasad, B. Bhadra, and S. Dasgupta, ‘‘Viable smart sensors and their application in data driven agriculture,’’ _Comput. Electron. Agricult._, vol. 198, Jul. 2022, Art. no. 107096. [27] W. Liu, ‘‘Smart sensors, sensing mechanisms and platforms of sustainable smart agriculture realized through the big data analysis,’’ _Cluster Comput._, vol. 26, no. 5, pp. 2503–2517, Oct. 2023. [28] P. Rajak, A. Ganguly, S. Adhikary, and S. Bhattacharya, ‘‘Internet of Things and smart sensors in agriculture: Scopes and challenges,’’ _J. Agricult. Food Res._, vol. 14, Dec. 2023, Art. no. 100776. [29] D. Huang, Y. Chen, P. Chen, and Q. Zheng, ‘‘The protein losses of three major cereal crops by natural disasters in China from 1988 to 2020,’’ _Frontiers Environ. Sci._, vol. 10, Apr. 2022, Art. no. 884754. [30] A. Chemeris, Y. Liu, and A. P. Ker, ‘‘Insurance subsidies, climate change, and innovation: Implications for crop yield resiliency,’’ _Food_ _Policy_, vol. 108, Apr. 2022, Art. no. 102232. [31] E. Bulte and R. Lensink, ‘‘Why agricultural insurance may slow down agricultural development,’’ _Amer._ _J._ _Agricult._ _Econ._, vol. 105, no. 4, pp. 1197–1220, Aug. 2023. [32] M. Y. Madaki, H. Kaechele, and M. Bavorova, ‘‘Agricultural insurance as a climate risk adaptation strategy in developing countries: A case of Nigeria,’’ _Climate Policy_, vol. 23, no. 6, pp. 747–762, Jul. 2023. ZHIHUA HU received the bachelor’s degree in civil engineering from Shijiazhuang Tiedao University, in 2017. He is currently pursuing the master’s degree in computer science and engineering with Dongguk University. As a member of the Computer Security and Distributed Computing Laboratory, he has been actively engaged in research. His current research is centered around the fields of distributed computing and blockchain technology. He is passionate about exploring innovative solutions within these domains and contributing to their advancement. BONGJUN KIM (Graduate Student Member, IEEE) received the B.S. degree from the Department of Game Multimedia Engineering, Dongguk University, Seoul, South Korea, in 2013, and the M.S. degree from the Department of Computer Science and Engineering, Dongguk University, in 2017, where he is currently pursuing the Ph.D. degree in computer science and engineering. His research interests include in computer vision, biometrics, and artificial intelligence security. JUNHO JEONG received the B.S., M.S., and Ph.D. degrees from the Department of Computer Science and Engineering, Dongguk University, Gyeongju, Seoul, South Korea, in 2007, 2009, and 2015, respectively. He was a Research Professor with the Electronic Commerce Institute, Dongguk University, from 2015 to 2019. He was a Research Professor with the Department of Computer Science and Engineering, Dongguk University, until August 2019. He was an Assistant Professor with the Department of Computer Science and Engineering, Kongju National University, Cheonan, South Korea, from 2019 to 2021. Currently, he is an Assistant Professor with the Department of Computer Science and Engineering, Dongguk University. His research interests include computer security, privacy preserving, distributed systems, network security, and secure software.

섹션 본문 93문단 · 61,982자

(제목 없음)

1Agriculture is essential for human survival facing critical issues such as limited access to modern machinery, a lack of comprehensive data, and difficulties in implementing insurance programs.To address these challenges, this study explores the potential of blockchain technology, finding that the Hyperledger Fabric can satisfy certain criteria vital for rectifying the existing issues due to its secure and scalable features.Utilizing the channel mechanism of Hyperledger Fabric, we developed a multi-channel network infrastructure to cater to the varying needs in agriculture.Each agricultural service is facilitated through its unique channel, accompanied by an easy-to-navigate webpage, enhancing user experience while ensuring data security.In our experiments, we deployed the system using Docker containers and virtual machines.Performance tests were conducted to evaluate the system's effectiveness in data sharing, machinery service coordination, and insurance claim processing.The results demonstrated that the system effectively improves data sharing efficiency, streamlines machinery service coordination, and enhances the transparency and reliability of insurance claims processing.These findings highlight the potential of our system to significantly enhance agricultural production efficiency.The flexible and expandable nature of this system offers tremendous potential for future improvements, aiming to fulfill the multifaceted demands of agriculture more effectively, thereby laying a robust foundation for significantly enhancing agricultural production efficiency.INDEX TERMS Agriculture, blockchain, Hyperledger fabric, multi-channel, scalability.

I. INTRODUCTION

2Agriculture remains a fundamental industry worldwide, playing a crucial role in ensuring economic stability and meeting the nutritional needs of our rapidly growing global population.However, despite its significance, agriculture faces a multitude of challenges, each with its own unique impact.These challenges include, but are not limited to, lack of mechanization, insufficient agricultural data, and issues surrounding agricultural insurance.

3The associate editor coordinating the review of this manuscript and approving it for publication was Mueen Uddin .The challenges mentioned above not only lead to a decrease in agricultural efficiency and productivity but also exacerbate global food security and economic inequality issues, particularly impacting the livelihoods of farmers.In addressing these complex agricultural problems, it is vital to recognize why blockchain technology was chosen as a pivotal solution.Blockchain technology [1], [2] provides a unique set of capabilities that directly address the intricacies of the agriculture.Recent studies have explored the potential of blockchain to enhance various agricultural processes, emphasizing its applicability in the sector [3], [4].Firstly, its decentralized nature offers a transparent and tamper-resistant ledger, which is vital for ensuring trust and security in agricultural transactions.Trust, particularly in data sharing and financial exchanges, is a persistent issue in agriculture, and blockchain's inherent security mechanisms provide a compelling solution.Secondly, the implementation of specialized smart contracts [5] within the blockchain ecosystem enables automated and secure transactions.In the context of agriculture, this is invaluable.For instance, it allows for secure and self-executing insurance contracts, ensuring that farmers receive the compensation they deserve after natural disasters.Moreover, blockchain's capacity to support a multi-channel network infrastructure facilitates a systematic separation of diverse agricultural processes into distinct channels.This separation ensures that data remains isolated between unrelated businesses, fostering privacy and security.Simultaneously, data transparency within the same business is maintained, encouraging collaboration and efficiency.In this way, blockchain technology serves as the linchpin for a multifaceted approach to agricultural challenges.By integrating its capabilities into a unified agricultural framework, this research endeavors to offer a solution that not only enhances agricultural efficiency and productivity but also fundamentally transforms how the sector operates.The aim is to develop an integrated agricultural system that combines efficiency, security and scalability, thereby addressing the most pressing issues in agriculture.

4In the following sections, this article will explain how to build a blockchain network framework to create a comprehensive solution for agriculture.The second part focuses on foundational technologies relevant to this study, with special attention to technical details within the Hyperledger Fabric infrastructure, including membership, channel mechanisms, and chaincode.The third section presents the basic architecture of the system, describing the design of individual business chains.The fourth part mainly discusses the system's implementation and evaluation.Finally, the fifth section summarizes this research and offers thoughts on future research directions.

II. RELATED WORK A. PREVIOUS RESEARCH

5In the realm of blockchain applications in agriculture, a multitude of studies have explored the potential and challenges associated with integrating this transformative technology into the agricultural domain.This section provides a concise review of relevant literature and a comparison with our proposed system.

6The study by Sajja et al. focuses on the in-depth exploration of blockchain technology in the realms of food supply chains, agricultural insurance, smart agriculture, and agricultural goods transactions.The research delves into how this technology can effectively trace food origins, establish reliable supply chains, and enhance customer confidence.Furthermore, the paper underscores the potential advantages of blockchain technology, including fostering smart agriculture, facilitating timely transaction payments, and triggering data changes on the blockchain through smart contracts [6].While their work highlights the potential advantages of blockchain, our system employed a multi-channel architecture within Hyperledger Fabric.This approach not only ensures data traceability but also enhances the efficiency of machinery services and the reliability of insurance processes through isolated and secure channels.

7Ravi et al. investigate the utilization of blockchain to tackle real-world challenges in managing supply chains, with a specific emphasis on concerns such as data integrity, transparency of provenance, privacy, and security within the coffee supply chain sector.Utilizing a permissioned blockchain platform-Hyperledger Fabric, the study seeks to assess whether these platforms provide a less-corruptible alternative for supply chain stakeholders, striking a balance between conventional web technology and attributes of public blockchain [7].Our research extends this by focusing on the scalability and efficiency of Hyperledger Fabric in agriculture.We address various agricultural challenges, such as machinery services and insurance, through dedicated channels that maintain data isolation and integrity, facilitating more efficient and secure agricultural operations.

8Based on Hyperledger Fabric technology, many researchers have conducted extensively studies in the field of agriculture.Hang et al. proposed a blockchain-based fish farm platform, leveraging the capabilities of the Internet of Things (IoT) to enhance smart farming.Recognizing the challenges of messy agriculture data, particularly from combine yield monitors, the research addresses concerns about data quality and manipulation by integrating blockchain technology.The designed platform ensures the integrity of agriculture data, offering fish farmers secure storage and automated processes through smart contracts, ultimately demonstrated through a Hyperledger Fabric blockchain integration proof of concept [8].Our study builds upon this foundation by implementing a scalable multi-channel network that supports a wider range of agricultural services, including machinery services and comprehensive data sharing, thereby offering a more holistic solution to agricultural challenges.

9The research conducted by Bhat et al. shows the evolution of modern agriculture supply chains into a globally interconnected system.Recognizing issues of fraud and transparency, the study advocates for fundamental changes and highlights blockchain's potential to enhance transparency.In response to consumer demands for safe and sustainable food production, the study introduces the Agri-SCM-BIoT architecture, addressing key concerns in agriculture supply chains.The research also explores security threats within IoT infrastructure and proposes blockchain-based defense mechanisms [9].In contrast, our system leverages Hyperledger Fabric's modularity and scalability to support a broader range of agricultural services beyond supply chain management, including data sharing and insurance claims processing.

10A lot of researchers have already explored the potential of Hyperledger Fabric in a variety of domains, ranging from personal portfolio system [10] to port supply chain system [11].Additionally, investigations have been conducted into its application in healthcare management [12] and energy trading platforms [13].During these explorations, it is noteworthy that there is a limited focus on the scalability design in agricultural studies based on Hyperledger Fabric.The agriculture faces diverse and escalating challenges, and a scalable network architecture would be advantageous in addressing the multifaceted issues in agriculture.In the context of my project, the Hyperledger Fabric serves as the underlying technology where different agricultural services, emphasizing scalability as the primary design principle, such as machinery service, data sharing, and insurance, are facilitated through various channels, each incorporating its unique chaincode.

B. BLOCKCHAIN TECHNOLOGY

11Blockchain technology is fundamentally a decentralized ledger system, where information and transactions are stored in units termed as ''blocks,'' which are chronologically linked in a secured chain.This series of blocks is transparent and immutable, meaning that once data is recorded, it is virtually impossible to change it, fostering a rich environment of trust and security.Every single block in this chain embodies a series of transactions, and these transactions are verified meticulously by network nodes utilizing cryptographic techniques, enhancing the security and authenticity of the information being recorded.This approach stands in stark contrast to traditional centralized systems, where a single entity holds the reins of control.By operating on a decentralized framework, it discards the necessity for a central authority or an intermediary, which notably reduces opportunities for fraudulent activities while also minimizing potential bottlenecks in processing and approving transactions, thereby enhancing efficiency and reducing costs [14].

12Furthermore, the blockchain technology engenders a revolutionary level of traceability [15], where each transaction is recorded chronologically, providing a detailed historical transaction data trail, invaluable in verifying the authenticity of assets and preventing fraudulent activities.It is this combination of transparency, immutability, and security that has enabled blockchain technology to find applications far beyond its initial usage in powering cryptocurrencies, extending into sectors such as supply chain management, healthcare, finance, and even voting systems.

C. HYPERLEDGER FABRIC

13Hyperledger Fabric [16] is an open-source blockchain framework hosted by the Linux Foundation.Its mechanism revolves around a distributed ledger technology that enables multiple participants to collaborate within a shared network, facilitating secure, transparent, and scalable transaction processing.In Fabric, network members, which can be organizations, companies, or individuals, undergo identity verification through digital certificates.They are organized into distinct business channels, each serving as an isolated space for specific business processes, ensuring participants only observe and engage in transactions relevant to their operations.The execution of transactions is orchestrated through smart contracts, known as chaincode.Chaincode defines both the business logic and can be written in various programming languages.Peers maintain the ledger, storing the transaction data.The transaction processing workflow involves proposal, endorsement, ordering, and validation steps.Clients initiate transaction proposals, which are endorsed by peers through verification.The ordering service ensures consensus on the transaction order across all nodes.Ultimately, transactions are committed to the local ledger for verification.A comprehensive illustration of its architectural components and functionalities is depicted in Figure 1.

1) MEMBERSHIP

14Membership Service Provider (MSP) is vital in Hyperledger Fabric, facilitating the identification of client identities and authenticating them.It abstracts identity verification by providing cryptographic certificates which represent the identity and play a pivotal role in the transaction process.In Hyperledger Fabric, MSP is employed to define rules that govern the validity of these certificates and to specify the role a member plays in a network.It also forms the basis of a trust setup, enabling secure communications in the network and granting permissions to authenticated identities.MSP is flexible, supporting identity protocols and management systems from different vendors, which allows it to integrate seamlessly into pre-existing infrastructures.

2) CHANNEL MECHANISM AND CONSENSUS

15In the Hyperledger Fabric framework, channels play a pivotal role in ensuring privacy and confidentiality in transaction processes by facilitating the creation of separate ledgers for distinct groups of participants [17].This segregated approach means that transaction data is only visible to the authorized stakeholders involved in a particular channel, thereby protecting sensitive information, and reducing the risk of unauthorized access.

16Each channel operates under a defined set of rules and policies that govern the consensus method, which is instrumental in maintaining the order and validation of transactions.Moreover, every channel boasts its distinct chaincode, a pivotal element that fosters agreement on the business logic presented, outlining the parameters and conditions that transactions must adhere to for successful execution and validation.

17Additionally, the architecture of the channels facilitates streamlined and efficient transaction processes, by isolating and independently managing transaction data, which in turn reduces the potential for conflicts and ensures consistency in transaction history.Thus, channels are not just mere conduits of transactions but serve as secure, private pathways that maintain the integrity, confidentiality, and efficiency of the transaction processes in the Hyperledger Fabric environment, acting as a foundational tool in constructing a robust and secure decentralized network.

18Consensus [18] in Hyperledger Fabric is orchestrated through a distinctive approach that leverages a version of the Practical Byzantine Fault Tolerance (PBFT) algorithm, characterized by a three-phase process: endorsement, ordering, and validation.This sophisticated structure ensures the uniform agreement on the order and results of transactions among all network participants.Let's delve deeper into each phase: Endorsement Phase: At this juncture, specific network nodes, dubbed ''endorsing peers,'' are tasked with executing a transaction and subsequently endorsing it.These endorsing peers are designated in advance by the network participants, therefore incorporating an added layer of security and consensus.Ordering Phase: Here, an ordering service is employed to amalgamate all the endorsed transactions into blocks; this is essentially creating a batch of transactions that are then positioned in a block.Hyperledger Fabric offers flexibility in terms of the consensus mechanisms that can facilitate this service, including options such as Kafka and RAFT [19].Validation Phase: In the final stretch of the consensus process, all the nodes in the network scrutinize the transactions to verify compliance with the established endorsement policies and other relevant rules.This stringent verification ensures only transactions that have met the requisite criteria are appended to the ledger.

19To afford a comprehensive understanding of the consensus mechanism employed in Hyperledger Fabric, it becomes pertinent to draw a comparison with other consensus mechanisms prevalent in the blockchain sphere.Refer to the Table 1 below which delineates the characteristics of various consensus protocols including Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS), and Practical Byzantine Fault Tolerance (PBFT), providing a lucid comparative view with the consensus protocol in Hyperledger Fabric.

20We chose Hyperledger Fabric's consensus mechanism primarily because it offers several advantages that are particularly beneficial for addressing agricultural challenges.Hyperledger Fabric uses a permissioned, modular architecture with a Raft consensus algorithm that provides high throughput and low latency, essential for processing the large volumes of transactions typical in agricultural applications, such as machinery usage logs and insurance claims.The Raft consensus mechanism also ensures data consistency and fault tolerance, which are critical for maintaining reliable and accurate records in agriculture.Additionally, Hyperledger Fabric's consensus mechanism supports private channels, which enhance data privacy and security by allowing sensitive agricultural data to be shared only among authorized parties.This is particularly important for protecting proprietary farming techniques and personal information of farmers.Overall, the consensus mechanism in Hyperledger Fabric is well-suited to the specific requirements of agricultural applications, offering a robust and efficient solution for managing complex, sensitive, and high-volume data transactions.

3) CHAINCODE

21In Hyperledger Fabric, chaincode refers to smart contracts that are deployed onto the network.Chaincode encapsulate the business logic of an application; they are invoked to update or query the ledger in a proposal transaction.Written in Go, JavaScript, or Java, they define the rules and agreements governing transactions within the network.Chaincode functions are initiated by an external application and are executed against the ledger's current state database, effectively governing the modification rules of the ledger's state.Developing robust and secure chaincode is essential to ensure the correct functioning and security of the decentralized system.It's important to adequately test and review the chaincode to avoid vulnerabilities that might lead to undesirable consequences such as unauthorized data access or financial loss.

4) HYPERLEDGER EXPLORER

22Hyperledger Explorer is a user-friendly web application tool designed to create a seamless and comprehensive interface for viewing, invoking, deploying, or querying blocks, transactions, and associated data, network information, chain codes, and transaction families present in a Hyperledger Fabric blockchain network.It allows users to carry out intricate data queries, maintain and monitor blocks, and keep track of network events in a streamlined manner.As it is designed to work exclusively with Hyperledger Fabric, it facilitates interaction with the blockchain network in a secure and robust manner.Users can avail themselves of a range of features including the dashboard view which showcases various network statistics, and functionalities to visualize different data representations of transaction histories.

5) DOCKER

23Docker [20] is a powerful platform that facilitates the development, deployment, and running of applications smoothly and consistently by using containers.A Docker container, at its core, is a software package that bundles up all the 144858 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.components an application needs to run, including libraries, system tools, code, and runtime.This ensures that the application works seamlessly in any environment, be it a local machine, a test environment, or a cloud-based infrastructure, thus alleviating the ''it works on my machine'' problem developers often encounter.The containerization attribute of Docker leverages operating-system-level virtualization, wherein each application resides in its isolated container, maintaining a lightweight and swifter operation as opposed to traditional virtual machines.Not only does this streamline the workflow significantly by simplifying configuration processes and enhancing the speed of deployment cycles, but it also fosters collaborative and agile development ecosystems where teams can work in tandem without the underlying system differences being a barrier.

6) COUCHDB

24CouchDB [21] is a pivotal component in our system.It operates as a NoSQL database, providing a flexible and scalable environment to store JSON documents.Serving as the database, it supports the storage of JSON documents, facilitating the seamless functioning of various chains by ensuring data consistency and availability.Ensuring data consistency and availability forms a pivotal role in the functional efficiency of the network.CouchDB leverages its Multi-Version Concurrency Control (MVCC) to maintain a consistent state across the database.It ensures that the transactions are executed seamlessly, and data retrievals happen without any downtime, providing a robust backbone to the system's database operations.CouchDB forms an essential intersection point between the data layers and the blockchain network.Each chain in the multi-chain architecture utilizes CouchDB to a varying degree, housing data necessary for their operations.The compatibility of CouchDB with Hyperledger Fabric allows for seamless interactions, aiding in the effective functioning of the chains by providing a stable and reliable database solution.

7) OPTIMIZATION FACTORS FOR HYPERLEDGER FABRIC EFFICIENCY

25The efficiency of Hyperledger Fabric in our system is influenced by several critical factors, which we carefully determined and optimized during development.The network topology, which includes the configuration of nodes (peers and orderers) and their connectivity, significantly impacts communication latency and throughput.We placed peer nodes and orderers to minimize latency and ensure high availability by distributing peers across different organizations, thus enhancing fault tolerance.Channel configuration is another crucial factor.By creating separate channels for different agricultural services (e.g., machinery service, data sharing, insurance), we ensured data isolation and reduced transaction complexity within each channel.This segmentation allows specific workflows to be managed efficiently without interference from others.Block size and batch timeout settings are also vital.Larger blocks can carry more transactions but may increase latency, while smaller blocks reduce latency but might lower throughput.We set an optimal block size to balance these trade-offs and determined a batch timeout that minimizes transaction latency while maintaining efficient block creation.Chaincode complexity directly affects execution time and resource consumption.We wrote efficient chaincode in Go, optimizing the business logic to perform necessary operations without unnecessary overhead.By optimizing these parameters, we achieved a balance between security, scalability, and performance, essential for meeting the diverse requirements of agricultural applications.

III. PROPOSED SYSTEM ARCHITECTURE A. CHALLENGES IN AGRICULTURE

26In addressing the challenges facing modern agriculture, a comprehensive approach is necessary, encompassing both the inefficiencies in traditional farming practices and the potential for transformative technologies.In this context, the following discussion intertwines the critical issues hindering agricultural progress with a system designed to revolutionize the industry.From insufficient mechanization to limited data sharing and the pressing need for transparent insurance solutions, the multifaceted nature of agricultural challenges requires an integrated and innovative response.

27Insufficient mechanization in agriculture can significantly reduce overall efficiency and productivity.Currently, North America and Europe have relatively high levels of agricultural mechanization.However, in regions like Asia, Latin America, and Africa, mechanization remains at a lower scale [22].In fact, approximately 80% of farmers in these areas still heavily rely on manual labor [23].Data demonstrates a stark contrast in productivity.Highly mechanized farmers in the United States can obtain 1,470 kilograms of corn in one hour, while in less mechanized areas like Kenya, this figure is a mere 1.2 kilograms [24], [25].Many factors constrain the progress of agricultural mechanization.We can consider these factors from both the supply and demand sides.Starting with the supply side, the way agricultural machinery is provided has a significant impact.Different terrains, types of crops, and variations in the planting process result in a wide variety of agricultural machinery.If farmers are required to maintain multiple types of machinery over the long term, it can create a substantial economic burden.Furthermore, diverse machinery necessitates skilled operators.Unequal distribution of these skilled operators during busy farming seasons is another major constraint.On the demand side, the market for agricultural machinery tends to favor large-scale farms due to economies of scale.As a result, the needs of small, scattered plots of farmland may be overlooked by the market simply because of their smaller scale.

28The lack of agricultural data limits the modernization and efficient operation of agriculture.Agricultural sensors can accurately detect crucial soil parameters such as pH levels, moisture, and soil fertility [26].Recent advancements in smart sensors further support data-driven agriculture, enhancing decision-making processes [27], [28].Some farmers are already using agricultural sensors to obtain data for optimizing their planting strategies, ultimately achieving the highest yields or the most sustainable development under optimal growth conditions.This is the kind of data-driven agriculture people aim for.However, if data remains solely in the hands of one farmer, its utility is quite limited.This data has valuable reference points in various agricultural scenarios.Yet, due to inadequate data sharing channels, progress in data-driven agriculture is hindered and slow.

29Floods, droughts, hurricanes, and other natural disasters pose continuous threats to agriculture.For instance, in just the year 2018, these disasters caused a staggering 264.5 billion Chinese yuan in economic losses in China.Around 20.8 million hectares of arable land were damaged, affecting a staggering 130 million people [29].Between 2007 and 2016 alone, the total net cost of crop insurance programs in the United States reached a whopping 72 billion US dollars, ranking second in its agricultural expenses [30].Currently, the usage of agricultural insurance among small-scale farmers in many low-income countries remains below 10% [31].One significant reason for this is the low level of trust farmers have in insurance providers.Often, after disasters occur, farmers find it challenging to receive the compensation they deserve.Therefore, there is a pressing need for a transparent and reliable insurance system.Recent studies emphasize the importance of insurance subsidies and innovative approaches to improve crop yield resiliency [32].By leveraging blockchain technology, we can create transparent and efficient insurance processes, ensuring that farmers receive timely and accurate compensation for their losses.

B. OVERVIEW OF THE ARCHITECTURE

30When dealing with the many challenges in modern agriculture, it's crucial to take a comprehensive approach.This means not just looking at traditional farming methods but also using innovative technologies to make significant improvements.Acknowledging problems in mechanization, data sharing, and insurance, we propose a complete solution 144860 VOLUME 12, 2024 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

31with a consortium blockchain designed specifically for agriculture.This system, supported by the strong structure of Hyperledger Fabric, aims to effectively fix the issues mentioned before.Now, we will explore how the system is designed.

32Our architecture comprises several key components, including peer nodes, orderer nodes, channels, smart contracts, membership service providers (MSP), a web interface, and a state database (CouchDB).These components work together to create a secure, scalable, and efficient blockchain network tailored for agricultural applications.

1) PEER NODES

33Peer nodes are the backbone of our blockchain network.They are responsible for endorsing and validating transactions, maintaining a copy of the ledger, and ensuring data consistency across the network.Each peer node is equipped with a state database (CouchDB) that stores the current state of the ledger, allowing for efficient data retrieval and complex queries.To enhance fault tolerance and ensure high availability, peers are distributed across multiple organizations, with each organization hosting several peer nodes.This distribution allows for redundancy and load balancing, ensuring that the network remains resilient even if some nodes fail.

2) ORDERER NODES

34Orderer nodes are crucial for achieving consensus and ensuring the correct sequencing of transactions.They collect transactions from peer nodes, order them into blocks, and distribute these blocks to the peers.Our system uses the Raft consensus algorithm for the ordering service in production deployments, providing fault tolerance and high availability.The Raft algorithm is chosen for its balance between performance and reliability, making it suitable for handling the high transaction throughput typical in agricultural applications.

3) CHANNELS

35Channels are a unique feature of Hyperledger Fabric that provide data partitioning and isolation.Each channel operates as a separate blockchain, with its own ledger and smart contracts.This architecture allows different agricultural services to operate independently within their respective channels, ensuring that sensitive data is only accessible to authorized participants.For instance, we have created separate channels for machinery services, data sharing, and insurance processes.This separation not only enhances security but also simplifies the management of different services by isolating their transaction flows and policies.

4) CHAINCODE

36In our system, chaincode is written in Go and deployed on peer nodes within each channel.Different chaincodes handle specific services, such as machinery booking, data logging, and insurance claim processing.By encapsulating the business logic in smart contracts, we ensure that transactions are processed consistently and automatically according to predefined rules.

5) MEMBERSHIP SERVICE PROVIDER

37The Membership Service Provider (MSP) is responsible for managing identities and providing authentication and authorization services.Each organization in our network has its own MSP, which issues digital certificates to its members.These certificates are used to sign transactions and authenticate participants, ensuring that only authorized entities can join the network and interact with the blockchain.This robust identity management system is crucial for maintaining the security and integrity of the network.

38To truly understand the system architecture envisioned for this agriculture-focused consortium blockchain, one must first grasp the overarching architecture that serves as the backbone for the individual operational chains.The backbone is structured as a multi-channel system built on the solid foundations of Hyperledger Fabric, revered for its remarkable scalability attributes, which will facilitate a seamless functional upgrade and iterations in real agricultural scenarios.To further illustrate this architecture, refer to Figure 2, which provides a graphical representation of the system architecture.In this figure, you will observe that users interact with the system through a user-friendly application interface.They can initiate proposals or requests, which are then processed through the corresponding channels designated for different functions such as Agricultural Machinery Service, Data Sharing, or Insurance.

39Each of these channels operates with a dedicated ledger and chaincode, encapsulating a set of policies and endorsements that govern the transactions carried out within them.Once a proposal is initiated, it undergoes a series of validations and endorsements by the peers in the network before being recorded on the blockchain, ensuring both security and consensus in every transaction.The peer nodes are integral in this process, as they hold the ledger and endorse the transactions, maintaining the trust in the system by verifying every transaction's legitimacy before it's added to the blockchain.This multi-channel setup allows for compartmentalized functionality, providing both security and efficiency, and ensuring the seamless operation of diverse agricultural processes through a single integrated system.

40Our system taps into the untapped potential of integrating blockchain technology into the agricultural domain, harnessing the strength of a small network of nodes to build the network, thus significantly enhancing transaction processing efficiency -a critical requirement in real-time agricultural applications.The multi-chain system conceptualized here encompasses several chains designed to function in synergy while targeting different facets of agriculture.These chains include Agricultural Machinery Service Chain, Agricultural Data Sharing Chain and Agricultural Insurance Chain.

C. DESIGN PRINCIPLES AND CONSIDERATIONS

41In the formulation of our consortium blockchain system, this research undertook a strategic approach grounded in three cardinal principles: scalability, efficiency, security.The overarching scheme was to foster a system equipped to adapt and evolve in sync with the dynamically changing demands of the agricultural landscape.It emphasized not only a high transaction processing efficiency but also a secured and regimented data access policy to ensure data integrity and foster trust within the ecosystem.Furthermore, this study aimed to encapsulate an intuitive user interface into the system's design, emphasizing easy navigation and simplified blockchain operations to cater to users with varying levels of tech proficiency, thereby encouraging wider acceptance and facilitating inclusive engagement.

D. INDIVIDUAL CHAINS

42This section will introduce each of the existing chains in the project, discussing their specific functionalities, workflows, and roles in the holistic operation of the system.

1) AGRICULTURE MACHINERY SERVICE CHAIN

43As the realm of agriculture steers towards modernization, mechanization stands as a cornerstone in enhancing efficiency and productivity.The Agricultural Machinery Service Chain is crafted to facilitate the optimal utilization of agricultural machinery resources, bridging the gap between farmers, service providers, and machine operators, thereby orchestrating a well-coordinated system that runs on the decentralized and transparent structure of blockchain technology.Figure 3 shows an overview of the functions and details in the Machinery Service Chain.This initiative brings about a more structured approach to agricultural machinery deployment, where the right resources are mobilized at the right time, effectively mitigating issues such as inadequate machinery during peak agricultural seasons and insufficient skilled machine operators.At the genesis of this chain are farmers who articulate their specific needs in the form of service orders.These orders encapsulate various details, including the nature of the service required, geographical location of the farm, the extent of land to be serviced, and the type of inputs needed, such as the kind of fertilizer to be used.This meticulous detailing ensures that the service provided is fine-tuned to meet the exact needs, heralding an era of personalized agricultural services.Upon receipt of the orders, service providers undertake a robust assessment process, scrutinizing the requisites and affirming the feasibility of fulfilling the order.Post-affirmation, they designate the tasks to the machine operators, establishing a conduit of seamless communication and task allocation, driven by the impeccable integrity assured by blockchain.The machine operators, who are the executors in this setup, carry out the services as delineated in the task orders.They log crucial data pertaining to the task execution -such as the trajectory followed, time invested, and the quantity of inputs utilized -into the blockchain.

44This diligent recording of data not only ensures transparency but also stands as a testament to the work executed, fostering trust and accountability.With the Agricultural Machinery Service Chain in place, a futuristic model of agricultural mechanization is conceived, where efficiency is propelled to unprecedented heights through the judicious allocation of resources.The system foresees a surge in the efficiency of machine operators, underlined by a framework where tasks are scientifically allocated, thereby minimizing downtime, and maximizing productivity.The meticulous recording of operational data facilitates an environment of trust, where every stakeholder has a clear view of the operations undertaken.

2) AGRICULTURE DATA SHARING CHAIN

45In the evolving landscape of agriculture, the decision-making process is gradually transitioning from reliance on anecdotal knowledge to data-driven strategies.Recognizing the importance of localized climatic and soil conditions -such as humidity, pH level, and temperature -in influencing critical agricultural decisions such as crop choice and cultivation strategies, the Agricultural Data Sharing Chain emerges as a timely intervention.This platform fosters a rich ecosystem of data sharing, leveraging blockchain technology to aggregate indispensable agricultural parameters, which were previously accessible only to individual farmers based on their localized experiences.Figure 4 provides a composite web page view of essential functions within the Agricultural Data Sharing Chain, showcasing key features by combining multiple web pages from this chain.crucial information derived from their first-hand experiences and observations.They upload data regarding the various parameters influencing their farmlands to the centralized system, contributing to a rich repository of information which can aid fellow farmers and agricultural researchers in making informed decisions.Research Institutions and weather agencies also can utilize the data available on the chain for various analytical and research-oriented purposes.Access to a comprehensive database with real-time updates empowers these stakeholders to undertake in-depth studies, enhance forecasting accuracy, and contribute towards the development of more adaptive and resilient agricultural strategies.

46The adoption of the Agricultural Data Sharing Chain promises a transformative impact on agriculture, heralding a new era of informed and collaborative decision-making.It fosters a community-centric approach where the cumulative knowledge of individual farmers is leveraged to benefit the larger agricultural fraternity.The system has immense potential to integrate with other technological advancements.The introduction of low-cost sensors in agricultural settings can enhance the precision of data collection, enabling real-time monitoring and updates to the chain, thereby elevating its functionality to new heights.

3) AGRICULTURE INSURANCE CHAIN

47In the agricultural landscape, a formidable adversary that constantly shadows the hard work of farmers is the unpredictability associated with natural disasters.These unforeseen events can potentially wipe out the cumulative efforts exerted throughout a farming cycle.Recognizing the critical role of agricultural insurance in safeguarding the interests of farmers, the Agriculture Insurance Chain emerges as a transformative solution, leveraging blockchain technology to instill transparency and veracity in data handling, and thereby overhauling the traditional insurance paradigm which has been impeded by incomplete and inaccurate data.Figure 5 offers an overview of the functions and detailed content within the Agricultural Insurance Chain.Farmers are central to this chain, acting as policyholders who opt for insurance coverages for their farmlands based on the stipulated terms of the insurance products, including the coverage amount and the claim rules.The selection process is guided by a comprehensive understanding of the different policy elements, empowering farmers to make informed choices that align with their specific needs and the risk profile of their agricultural operations.Insurance companies hold a pivotal role as the architects of insurance products, meticulously designing them to cater to the multifaceted needs of the agricultural domain.Beyond product creation, these entities facilitate the execution of various insurance processes through the deployment of smart contracts which encompass the functions of policy issuance, stipulating rules for refund, and delineating the governing principles for claim settlements.

48Implementing the Agriculture Insurance Chain promises to usher in a new era of efficiency and transparency in agricultural insurance processes.The inherent properties of blockchain technology, such as immutability and transparency, are poised to enhance trust between stakeholders.

IV. IMPLEMENTATION AND EVALUATION A. EXPERIMENTAL ENVIRONMENT

49This system was implemented and evaluated within a well-configured experimental environment, the details of which are outlined in the Table 2 In this setup, the primary workstation operated on an 11th Gen Intel ® Core TM i7-11800H processor, ensuring a smooth developmental process through a VMware virtual environment allocated with 4GB of RAM and 40GB of hard disk space.Ubuntu 18.04 LTS served as the foundation, offering a compatible and efficient platform for the Hyperledger Fabric network.The container of our system was Docker (version 20.10.12) as illustrated in Figure 6, facilitating a streamlined and isolated environment for deploying and running the Hyperledger Fabric network.This setup was complemented by the Go programming language, used for scripting the chaincode, and ensuring the execution of complex operations with high efficiency and reliability.The Docker containers were orchestrated adeptly through Docker Compose (version 1.29.2), a tool essential for defining running multi-container Docker applications.Through meticulous configuration, including the generation of necessary certificate files using the Cryptogen tool, this study fostered a secure and compliant environment.This prepared ground was pivotal in the successful deployment of smart contracts, laying a robust and resilient architecture ready for a detailed evaluation phase.

B. SYSTEM SETUP PROCEDURE

50The development of our blockchain system underwent a series of meticulously structured steps to ensure optimal functionality, as illustrated comprehensively in Figure 7.The development was initiated with the creation of configuration files for all necessary organizations, establishing the requisite groundwork for the network.This involved defining the organizational structure and network parameters in files such as 'configtx.yaml'and 'crypto-config.yaml'.These files specify the details of each organization, including their roles and permissions within the network.Subsequently, the Cryptogen tool was employed to generate cryptographic certificate files vital for secure communications and authentications within the network.These certificates form the cornerstone of security for the forthcoming operational stages, ensuring that only authorized entities can participate in the network.The final generated network details are shown in Figure 8.

51Next, the focus was on channel configuration, which included setting up privacy policies for each organization and node to enhance security in line with real operational demands.This phase involved the use of the 'Configtxgen' tool to create the genesis block and channel configuration files that embody our predefined rules and principles.The genesis block serves as the starting point of the blockchain, while the channel configuration files establish the channels that isolate transactions and data for different agricultural services.By doing so, we ensured that each service operates independently and securely within its dedicated channel.Figure 9 shows the channel details of our agricultural system.The next step was deploying the nodes using Docker containers to foster optimized resource allocation and scalability.Docker containers provide a lightweight and consistent environment for running the various components of the blockchain network.This stage saw the indispensable role of the Docker Compose tool in initializing the Docker containers.The 'docker-compose.yaml'file was configured to define the services, including peer nodes and orderer nodes, specifying their roles and how they interact within the network.This setup allowed us to efficiently manage and scale the network components, ensuring robust and flexible deployment.

52Following node deployment, we moved on to the deployment of smart contracts, also known as chaincode in the Hyperledger Fabric lexicon.These chaincodes, written in Golang, encapsulate the business logic across organizations and facilitate various functionalities.The chaincodes were installed on the peer nodes and instantiated on the channels.This step involved defining the endorsement policies, which specify the conditions under which transactions are considered valid.By doing so, we ensured that the business logic is executed consistently and securely across the network.

53To enhance user engagement with the system, a userfriendly web interface was integrated.This interface provides a frontend that allows users to interact effortlessly with the blockchain services.This integration ensures that users can access the system's functionalities securely and intuitively.

54Finally, network testing and validation were conducted to ensure all components function correctly.This included running performance benchmarks and validating flows to ensure the system's robustness and reliability.Hyperledger Caliper was used as the benchmarking tool to measure various performance metrics, such as transaction throughput, latency, and resource utilization.These tests helped identify potential bottlenecks and optimize the system for real-world deployment.By following these structured steps, we successfully built a consortium blockchain system tailored to meet the diverse requirements of agricultural applications.

C. PERFORMANCE EVALUATION

55Hyperledger Caliper, a pivotal part of the comprehensive Hyperledger project driven by The Linux Foundation, is a blockchain benchmark tool devised to gauge the performance of blockchain infrastructures meticulously.It functions by constituting a series of defined transactions and disseminating them across the network under varying conditions to accumulate vital metrics including transaction latency, resource utilization, and throughput, essential for identifying the potential strengths and bottlenecks of a blockchain system.

56This tool facilitates the provision of an extensive report after the benchmark testing, graphically illustrating diverse metrics and revealing the capabilities of the network under divergent strains.This mechanism is instrumental in aiding businesses and developers in honing their blockchain solutions to match the requisite performance norms for realworld applications.Moreover, its modular design sanctions seamless integration with a broad array of blockchain technologies, establishing it as a multifaceted instrument during the development process.A representation of Hyperledger Caliper's structure is showcased in Figure 10.In our performance evaluation, the extensive functionalities of Hyperledger Caliper were used to undertake a rigorous assessment of our blockchain system's performance through a well-defined set of use cases.Our strategy encompassed a detailed testing protocol using Caliper to pinpoint the precise transactions to be enacted on our blockchain network, subsequently setting the pace for these transactions.This methodology embraced a fixed-load rate control strategy, upholding a steady transaction load of five and commissioning five workers, thus guaranteeing a uniform testing milieu.This setup facilitated the execution of 5000 transactions each round, generating a robust dataset for scrutinization.Consequently, it not only offered a deep description of transaction latency, throughput, and resource utilization but also presented a profound performance analysis.Table 3 illustrates the system's formidable reliability, substantiated by a 100% success rate across all transaction categories, corroborating the system's proficiency in efficiently managing transactions devoid of failures.It evaluated the detailed evaluation of latency, recording the maximum, minimum, and average durations during the operations.The network displayed efficiency, registering a pinnacle latency of 2.27 seconds during the 'Query Data' procedure while ensuring brisk responses with a nadir latency of 0.04 seconds in the 'Create Data' function.

57Furthermore, our assessment delineated the throughput in Transactions Per Second (TPS), identifying the 'Create Policy' function as the spearhead with an unparalleled throughput of 34.1 TPS, trailed by 'Create Data' and 'Create Machine' operations.These performance examinations elucidate a promising trajectory for the system, mirroring a solid foundation with high reliability accompanied by potent latency and throughput parameters, embodying a dynamic and robust performance.

58In the evaluation of system scalability, the first step was to assess how effectively the blockchain system could manage increased workloads as the number of channels expanded.Performance of a specific function, ''Create Machine,'' was monitored under varying conditions to determine whether the system's efficiency was impacted by the addition of channels.As table 4 demonstrates, the success rate of all tested scenarios is 100%.This reliability reaffirms the system's capability to efficiently manage transactions even with the increased complexity introduced by multiple channels.Latency metrics was further assessed to understand the system's responsiveness under various conditions.The network consistently demonstrated good performance, with maximum latency remaining within acceptable bounds.The second step was to assess the system as the number of peers increased.The test results are shown in Table 5.Despite the continuous increase in the number of peers, the transaction success rate of the system remains stable at 100%.Meanwhile, with the growing number of peers, there is an increase in system latency, attributed to running all nodes on a single computer.In a real distributed environment, deploying nodes on different physical computers can alleviate potential communication and resource contention issues, thereby reducing latency.This test indicates that the system can maintain excellent success and reliability levels when facing deployments with varying scales of nodes.In addition to evaluating the system's performance with an increasing number of peers, a comparative analysis was conducted, benchmarking the results against the performance presented in Reference [7].The ensuing experiments aimed to provide insights into the system's latency and throughput compared to established benchmarks.Comparing the two systems, as depicted in Figure 11 for average latency and Figure 12 for throughput, our implementation consistently outperforms the benchmarks from Reference [7].While maintaining a fixed transaction per second (TPS) rate of 25, our system exhibits significantly lower average transaction latencies (1.19, 1.18, and 1.17 seconds for 50, 100, and 150 transactions, respectively) in contrast to the higher latencies reported in Reference [7].Simultaneously, the throughput results, illustrated in Figure 12, show our system's efficiency, revealing throughput values of 23.8, 24.4, and 24.8 transactions per second for the corresponding transaction volumes, surpassing the benchmarks presented in Reference [7].

59Upon reviewing the outcomes depicted in Figures 13 and 14, it is evident that our system consistently achieves lower average latencies across various transaction per second (TPS) rates when compared to Reference [7].Specifically, at TPS rates of 100, 200, and 250, our system with a fixed transaction number of 300, demonstrates average latencies of 2.43, 3.4, and 2.93 seconds, respectively, showcasing superior performance in latency metrics.Our system demonstrates superior throughput compared to the benchmarks presented in Reference [7].Specifically, at send rate of 100, 200, and 250, our system achieves higher throughputs of 58.5, 69.6, and 74 transactions per second.This result suggests that our system performs exceptionally well under varying transaction rates.

60In addition to the performance tests conducted, it's crucial to acknowledge that Hyperledger Fabric's system performance is influenced by various factors beyond the tested parameters, as outlined in the summarized table 6 below.Factors such as chaincode complexity, consensus algorithm choice, endorsement policies, and contract language can impact the overall system efficiency.

61We selected and configured several parameters to enhance the system's efficiency.For the network topology, peers were distributed three organizations, each hosting two peer nodes, while orderer nodes were set up in a Raft consensus with three orderer nodes for high availability and reliability, although Solo was used during testing for simplicity.Separate channels were created for different agricultural services, ensuring data isolation and reducing transaction complexity, with three channels designated for machinery services, data sharing, and insurance processes.The block size was set to 100 transactions per block, and the batch timeout was adjusted to 2 seconds to balance throughput and latency.We configured the endorsement policy to require endorsements from at least two peers from different organizations, enhancing security without compromising performance.TLS settings were optimized with default cryptographic algorithms to secure data transmission.Chaincode was written in Go, focusing on efficient execution of business logic, including functions for machinery booking, data logging, and insurance claim processing.We chose CouchDB for the state database due to its capability to handle complex queries and JSON data structures.Finally, all smart contracts were implemented in Go, following best practices to ensure efficient coding.Building upon these insights into the factors influencing system performance, we adjusted key parameters and conducted additional performance tests, as depicted in Figure 15.The results reveal a notable improvement in both throughput and latency compared to the earlier test results.It's noteworthy that the throughput reaches a saturation point after a transaction sending rate of 250 tps.That means our configuration supports a sending rate of 250 tps currently.This optimized setup positions our system to meet the current demand effectively.In future, further fine-tuning of system configurations can be explored to align with real-world requirements and continue optimizing performance.This iterative process ensures adaptability to evolving needs and sustained efficiency gains.

62In our blockchain system, security is of utmost importance.Transactions, as a core component of blockchain, come with unique security features.As shown in Figure 16, each transaction is equipped with a unique transaction ID.This not only aids in tracking and verifying specific transactions but also ensures their consistency and tamper-proof nature.The Membership Service Provider (MSP) identifies the organization to which they belong, ensuring that only legitimate entities can participate in transactions.The role of endorsers is crucial for authorizing and approving transactions, thereby maintaining data integrity and legitimacy.Blocks are fundamental part of the blockchain.As depicted in Figure 17, the channel name identifies the channel to which a block belongs, ensuring that transactions are sent to the correct destination while also achieving data isolation and privacy between channels.Block numbers and timestamps help ensure the chronological order and integrity of blocks.The hash value of a block is used to guarantee its integrity, as once data is stored, it cannot be altered.Linking to the hash value of the previous block ensures the continuity and security of the entire blockchain.Furthermore, the system incorporates multiple security mechanisms, enhancing overall system security.These mechanisms include identity authentication and authorization, channel isolation, endorsement policies, consensus mechanisms, among other security features.Combining these security mechanisms, our blockchain system ensures the security of transactions and blocks, safeguarding data confidentiality, integrity, and availability.

V. CONCLUSION

63This research aimed to address significant challenges in modern agriculture by developing a consortium blockchain system using the Hyperledger Fabric framework.The system's design focused on enhancing data sharing efficiency, machinery service coordination, and insurance claim processing through a multi-channel architecture tailored for various agricultural services.

64Our experimental results demonstrated notable improvements.The system facilitated more efficient and secure data sharing among stakeholders, reducing the time and complexity involved in accessing and verifying agricultural data.The machinery service coordination was streamlined, enabling better resource allocation and reducing downtime during peak agricultural seasons.Additionally, the transparency and reliability of insurance claim processing were significantly enhanced, ensuring that farmers receive timely and accurate compensation after natural disasters.

65In terms of technical performance, the system exhibited high throughput and low latency, even under increased transaction loads.The modular design of the Hyperledger Fabric framework allowed for scalable and flexible integration of new services, highlighting the system's potential for future expansion.

VI. FUTURE WORK

66Future work will focus on several key areas to further enhance the system's capabilities and address additional challenges in the agricultural sector:

A. INTEGRATION WITH IOT DEVICES

67Incorporating advanced IoT sensors and devices to provide real-time data collection and monitoring.This will enable more accurate and timely decision-making for farmers and other stakeholders.

B. ENHANCED SMART CONTRACTS

68Developing more sophisticated smart contracts to support complex agricultural processes, such as dynamic pricing models, predictive maintenance for machinery, and advanced insurance schemes.

C. LARGE-SCALE FIELD TRIALS

69Conducting extensive field trials to validate the system's performance and scalability in real-world agricultural environments.These trials will help identify any practical challenges and provide insights for further optimization.

D. INTEROPERABILITY WITH OTHER SYSTEMS

70Exploring the interoperability of our blockchain system with other existing agricultural management systems and supply chain platforms.This will ensure seamless integration and data exchange across different systems, enhancing overall efficiency.

71In conclusion, this study has successfully established a functional and scalable blockchain system for agriculture, leveraging the strengths of Hyperledger Fabric.The system's design and implementation offer a robust foundation for future enhancements, aiming to create a more secure, efficient, and transparent agricultural industry.Our vision is to foster a future where technology and agriculture are seamlessly integrated, paving the way for improved productivity and sustainability in the sector.

FIGURE 1 .

72FIGURE 1. Hyperledger fabric architectural overview.

FIGURE 2 .

73FIGURE 2. Agricultural multi-channel system architecture.

FIGURE 3 .

74FIGURE 3. Overview of functions and details in machinery service chain.

FIGURE 4 .

75FIGURE 4. Composite web page view of data sharing chain functions.Farmers are the primary stakeholders, often possessing an enriched understanding of the nuances of their local agricultural landscapes.Within this blockchain-facilitated platform, farmers take on the role of data contributors, volunteering

FIGURE 5 .

76FIGURE 5. Overview of functions and details in Insurance Chain.

FIGURE 6 .

77FIGURE 6. Docker containers for the agriculture system.

FIGURE 7 .

78FIGURE 7. Agriculture system setup procedure.

FIGURE 8 .

79FIGURE 8.The network details of the agricultural system.

FIGURE 9 .

80FIGURE 9.The channel details of the agricultural system.

FIGURE 10 .

81FIGURE 10.Hyperledger Caliper architecture.

FIGURE 11 .FIGURE 12 .

82FIGURE 11.Average latency comparison for different transaction numbers.

FIGURE 13 .

83FIGURE 13.Average latency comparison for different transaction rate.

FIGURE 14 .

84FIGURE 14. Throughput Comparison for different transaction rate.

FIGURE 15 .

85FIGURE 15.Optimized system performance with parameter adjustments.

FIGURE 16 .

86FIGURE 16.The transaction details of the agricultural system.

FIGURE 17 .

87FIGURE 17.The block details of the agricultural system.

TABLE 1 .

88A Comparative overview between general blockchain consensus mechanisms and the consensus mechanism in hyperledger fabric.

TABLE 2 .

89Details of experimental environment.

TABLE 3 .

90Summary of the agriculture system performance metrics.

TABLE 4 .

91Performance of ''create machine'' with different number of channels.

TABLE 5 .

92Performance of ''create machine'' with different number of peers.

TABLE 6 .

93Factors influencing Hyperledger Fabric efficiency.

참고문헌

참고문헌 정보가 없습니다.