Next Article in Journal
The Performance of Hydrated Lime Derived from Industrial Brine Sludge Waste in Spray Dry Scrubbing of SO2
Previous Article in Journal
Exponential Particle Swarm Optimization Algorithm for Complexly Structured Images Segmentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Logistics Model Based on Smart Contracts on Blockchain and IoT †

Faculty of Computer Sciences and Automation, Technical University of Varna, 9010 Varna, Bulgaria
*
Author to whom correspondence should be addressed.
Presented at the International Conference on Electronics, Engineering Physics and Earth Science (EEPES’23), Kavala, Greece, 21–23 June 2023.
Eng. Proc. 2023, 41(1), 8; https://doi.org/10.3390/engproc2023041008
Published: 13 July 2023

Abstract

:
Many goods require certain conditions for their storage, such as temperature, humidity and arrangement, which are strictly specific. These include dangerous goods, medicines and goods with a limited shelf life. Servicing them in warehouses is an important task in order to be able to establish and monitor the flow of their transportation from the manufacturer’s warehouse to the end user. In this context, the use of modern technologies, such as IoT, makes it possible to facilitate the activity of logistics centers on the storage, receipt and loading of goods, tracking their location and condition, as well as the inventory of their availability. This paper proposes an integration model of blockchain technology and IoT for logistics business. This model uses smart contracts on the blockchain, and it is suitable for managing cross-docking warehouses and transportation.

1. Introduction

With the advent of the Internet of Things (IoT), the world is experiencing a technological revolution. One of the industries that IoT has impacted tremendously is logistics. Globally, the application of IoT in the logistics business was estimated at USD 34 billion in 2019, and according to Forbes forecasts, this share is expected to grow to USD 63.7 billion by 2026 [1].
Some goods that require special attention have individual storage spaces in which the temperature, humidity and arrangement are strictly specific. These include dangerous goods, medicines and goods with a limited shelf life. Warehouse layout is important to be able to establish the flow of their transportation from the manufacturer’s warehouse to their destination at the end user. In this context, IoT-based logistics focus on warehousing, receiving and loading goods, tracking their location and condition, and inventorying their availability. That is why the main applications of IoT in the logistics process are related to shipment/cargo tracking, the monitoring of shipments in cross-docking warehouses, inventory control, theft protection and product tracking. This ensures transparency of the entire process and minimizes the risks of theft, loss and damage to the tracked objects.
While barcodes are an effective technique used for inventory, which is a core process in logistics, wireless devices such as radio frequency identification (RFID) tags, eSIM and global positioning system (GPS) sensors offer logistics companies the ability to track the location, in real time, of shipments (objects), to monitor the temperature, relative humidity and other conditions of the containers in which they are located, whether in storage or during their transportation. With IoT technology, algorithms based on artificial intelligence can process these data to help route management, optimize cargo storage (especially those that require specific conditions), manage the company’s vehicle fleet in real time, and monitor the integrity of the cargo/shipment and of the entire supply chain.
From the perspective of reducing the risks of loss, theft and damage for which the company insures its cargo, the application of IoT with blockchain solutions implemented with smart contracts improves the transparency and security of the entire process, increases the trust between the logistics company and the insurance company, and reduces the possibility of fraud. The combination of both technologies is a prerequisite for the automation of warehouse operations, the optimization of both resources and the use of space in the premises, and the improvement of inventory and fleet management. The application of both technologies would turn cross-docking warehouses into modern intelligent logistics centers.
In this paper, an abstract model for the integration of blockchain technologies and IoT is proposed. By applying it, the authors’ proposed logistics business model based on IoT and smart-contracts on blockchain, suitable for managing cross-docking warehouses and transportation, is developed.

2. Related Works

Logistics in the general sense of the term is understood as the planning, development and implementation of a strategy in order to carry out a given operational activity and achieve a desired end result. In the context of this paper, logistics is understood as a management concept based on the integrated management of material flows. In this context, opportunities are provided to define different subsystems of the logistics system, specifying them according to the phases of movement of material flows (supply, production, distribution) or according to objects (physical elements and processes), namely those related to stocks, transport, warehousing, etc.
Existing commercial automated solutions are based on BigData, 5G and cloud platforms [2,3]. The data generated by the objects meet the characteristics of Big Data—large volume, high speed of generation, variety, etc. The data thus collected provide a complete view of every detail of the entire process by tracking the objects (shipments, expensive tools, containers, fleet) and tracking the location of the workers. The analysis of these data allows problems to be detected—where they occur, in what sequence of actions, and with which employees. If this is carried out in real time, immediate management response to an emergency can save facilities or personnel from perishing. If carried out offline, it leads to process optimization that will make the business more efficient, more profitable and safer for employees and the environment.
It was only after 2019 that approaches for using blockchain in logistics processes and the related transport of shipments/cargoes begun to be sought. In [4], the goals and participants in a cloud platform for logistics are analyzed, the factors that influence the sharing of information are systematized, and the advantages for the logistics industry that the creation of a logistics cloud platform based on blockchain would provide are presented. In [5], the impact of the use of blockchain technology and the possibility of its development in sustainable logistics and supply chain management are discussed. In [6], the application of blockchain technology in the logistics process is analyzed regarding the main challenges in logistics, such as order delay, goods damage, errors and multiple data entry. In [7,8], based on dynamic game theory, a concept for a new decision-making environment is proposed regarding the viability of intertwined supply networks and interconnected supply chains as a core part of the logistics process.
A pilot blockchain-based solution is presented in [9]. It has been applied in an agricultural logistics park in China. This comprehensive park integrates the government, enterprises, information platform, financial institutions and agricultural research units, and brings together various social service organizations. The control of agricultural finance, supply chain of agricultural products, and the traceability of agricultural product quality are ensured and there is an expected reduction in rural poverty from this decision.
Blockchain technologies are also finding their place in reverse logistics. In [10], a tracking mechanism for medical equipment renewal activities based on blockchain and smart contracts is presented. Various stakeholders (medical device manufacturers, hospitals, retailers, etc.) share critical reverse logistics information in a verifiable and secure manner. In [11], the remanufacturing/repair recovery option of mobile phones is considered and a back-end data sharing architecture based on smart contracts on private blockchain technology is proposed to track all remanufacturing/repair processes.
In [12], problems in the logistics process related to the confidentiality and security of personal information, customer information and product details are considered because they are shared between different logistics stakeholders during the logistics process. A secure communication between the interested parties in the logistics process based on a smart contract on the blockchain is proposed.
The European Parliament approved the Markets in Crypto-Assets (MiCA) regulation, which enters into force in 2024 [13]. This regulation aims to protect consumers, and safeguard financial stability and market integrity. This legal act ensures that crypto transfers, as is the case with any other financial operation, can always be traced and suspicious transactions blocked. At the moment, there are 13 active cryptocurrencies that finance logistics processes, and there are 5 more inactive ones [14], the most popular of which are presented in Figure 1.
The first is the universal platform VeChain (VET) [15], which works with smart contracts. The platform uses two tokens, VET and VTHO, to manage and create value based on its public Ve-ChainThor blockchain. VeChain has been able to demonstrate massively boosted efficiency, traceability and transparency across data trails, supply chains and within novel kinds of ecosystems, such as those in San Marino targeting UN SDGs. Origin Trail [16] is a web3 infrastructure project based on blockchain technologies and a permissionless open source network that increases transparency and security. OriginTrail runs on three blockchains: Ethereum, Polygon and Gnosis. It is designed for the supply chain sector and uses innovative uniform asset locators (UAL) to improve asset localization.
Based on the related works presented, it can be concluded that blockchain solutions in the field of logistics are few and relatively recent but offer different directions of application. A recurring pattern is observed in these solutions, different from the traditional cloud-based model. In light of this pattern, an abstract IoT and blockchain based model could be proposed because such a suitable model has not yet been proposed.

3. Traditional Cloud-Based Model for Logistics and Transportation

A traditional logistics process of parcel/cargo delivery, managed centrally with a cloud platform and based on IoT, is presented in Figure 2.
The logistics process is managed using a cloud platform and goes through the following stages:
  • Order to supplier;
  • Request for quantity in the manufacturer’s warehouse. Checking stock availability. The ordered quantity moves to transit warehouse/packing area. Here, the goods can be tracked with RFID. They are prepared for transport by installing IoT sensors. It is loaded onto a pallet/container and from there into a truck;
  • It is transported, and depending on the destination, the pallet/container can be stored in a cross-docking warehouse and loaded again on another transport. With IoT sensors, the storage and transportation conditions of the goods are controlled in real time;
  • Delivered to the final destination warehouse. The goods are unloaded and unpacked. When storing in the recipient’s warehouse, the information from the attached IoT sensors is no longer needed because the sensors in this warehouse are monitored. Here, again, goods can be tracked with RFID.
Data in IoT networks are generated at high speeds. Since many IoT devices have limited memory resources, they cannot store the captured data indefinitely, but rely on a stream-based processing concept. Thus, data storage systems must either have large input buffers to temporarily store new data for monitoring and further processing, or have the necessary capacity to handle voluminous data streams at the local hub/GW at the edge of the network. In the traditional model, these data are stored with big data.
Modern logistics center and cargo tracking architectures combine familiar technological means such as wireless communications, mathematical and simulation models for analysis and design, and big data analysis. Based on IoT, they are characterized by high requirements for cyber security and real-time operation. The tracking of cargo along the chain from the manufacturer to the customer through cross-docking warehouses, the insurance of the cargo, the risks during their transportation of damage, and the theft and loss of goods require a search for new approaches. These approaches must provide real-time observability, registration of the circumstances in which a given event occurred and the exact moment, the traceability of the responsibility for the event that occurred, an impossibility of forging and adding data, etc. Using blockchain and BigData together can solve some of these problems [17,18]. All these requirements clearly indicate that blockchain technologies, in combination with IoT, will solve these problems without increasing the cost of existing solutions, without changing the existing logistics infrastructure, and without the need to increase the qualifications of personnel or change their daily work behavior.

4. Proposed Abstract Model Based on Blockchain and IoT

Big data analytics is the use of techniques to extract qualitative data from large, unstructured and semi-structured data sources, such as the data needed to manage all aspects of the logistics process. The data are heterogeneous; however, in a blockchain, it is possible to store these in a common structure. Blockchain has a number of advantages (Figure 3); most importantly, however, it stores data permanently in such a way that these cannot be deleted or modified by other parties without the knowledge of the blockchain participants.
The proposed abstract model (Figure 4) integrates a smart contract with blockchain and IoT to perform secure transactions in any business and register heterogeneous data. In [19,20], an abstract model is presented, according to which blockchain technology works on six layers—the data layer, network layer, consensus layer, incentive layer, contract layer, and application layer. Technologies related to IoT work on the lower two layers of the OSI model (data link and physical layer). In the abstract model proposed by the authors, the integration of the two technologies is considered in seven layers—the upper five layers represent the operation of the blockchain technology, and the lower two layers form the IoT blockchain layer, which provides the communication channels between the IoT sensors, the physical wireless network and the blockchain network. At this layer, the data are collected and transmitted for recording on the blockchain network. In this way, the proposed abstract model represents the process of integrating the two technologies regardless of the chosen blockchain implementation (the type of consensus mechanism, the way the smart contract is written, whether it is a private or public blockchain, whether it is tied to cryptocurrency or not, etc.). On the other hand, it makes blockchain management independent of the selected sensors, the implemented physical network, the selected wireless communication technology, etc. Furthermore, sensors can be of different types—GPS sensors, RFID sensors and IoT sensors for BLE, ZigBee, 6loPan, etc.

5. Design of Logistics Model, Based on Blockchain and IoT

The proposed model modifies the traditional cloud-based model as shown in Figure 5. Real-time data collected from IoT sensors are recorded in the blockchain and processed using a smart contract. IoT sensor data are sent at fixed time periods that can be set by the management platform, with IoT sensor data for temperature, humidity, tilt when out of tolerances (which are pre-set in the local system) being sent over time. When transporting from the vehicle, data from IoT sensors for weight change and door opening are also sent over time. Data are logged in the cloud/web-based system and stored for subsequent analysis and verification of an event’s occurrence. In this way, the circumstances of the occurrence of an unwanted event, which may lead to damage to the goods, their destruction or their theft, are registered. Thus, the employees directly involved in this process can be held accountable, and compensation can be claimed against an insurer who was given access to the critical data through the smart contract running on the blockchain.
The implementation is carried out on the Hyperledger Fabric private blockchain. The architecture of Hyperledger has a modular structure, which allows the development of flexible solutions for different areas. Modules have different purposes, such as authentication, encryption, consensus mechanisms, database management, etc. Hyperledger has lower processing complexity compared to similar platforms, as transactions can be processed in parallel. Business logic is provided by smart contracts, which are called “chaincodes”. The implementation of the smart contract is in the Go language, which, because of the compiler, achieves a better performance compared to interpreters. In order for the smart contract to run, it must be installed on a peer and instantiated. External applications can then make calls to it.
Figure 6 shows the implementation of the proposed model as a Fabric network. The model does not reflect the relationship with a specific insurance policy, claim for the occurrence of an event or claim processing. Only the option through the smart contract for the insurer’s automated access to information to reliably prove the moment of occurrence of an insured event and the circumstances that led to it is reflected.
The Peer0 (“Insurer”) monitors events but cannot write data to the channel. In channel 2, the telemetry data are recorded when the goods are transported using a truck (peer 1). The records are made at fixed intervals or when an event occurs, for example, values going out of a certain range, changing position or opening a door.
The IoT peer (peer 2) records the information about the assets in each warehouse in channel 1. Logistics center (peer 3) has read-only access to all channels.
In the case of damage to goods or incorrect work of an employee, the logistics center will be able to determine the moment of occurrence of the event, as well as the reason for it. The impossibility of changing the information guarantees its authenticity.
Individual peers are implemented as docker containers (Figure 7). This provides an independent and encapsulated runtime environment that ensures application security. The communication between the individual components of the network is based on the TCP/IP protocol suite, which, in turn, enables the deployment of the application in a distributed environment.
To test the functionality of the smart contracts, a special docker cli container is used, in which commands are executed to send requests to the smart contracts. Figure 8 shows a successful execution of a request to write an object-goods when it is loaded into the means of a truck (recording in channel 2). In the request, information is sent about the state of the product (meat) loaded from the Varna warehouse, and the current values of certain parameters. The object attributes that are stored (name, warehouse, temperature, humidity, door opening, tilt) are shown. A successful execution is indicated with a result code of 200.
Testing and detecting a good according to its name is analogous, as shown in Figure 9. In the example, two goods with the same name (cheese), but loaded in a truck from different warehouses (Central WH and Sofia WH), were detected.
The experiments show the correct functioning of the smart contracts, which proves the applicability of the proposed model for logistics in real conditions.

6. Conclusions

The logistics process is extremely suitable for applying modern technologies, such as IoT, big data, blockchain, 5G, etc., because the large volume of data must be processed in real time, and the confidentiality and security of the personal information of customers and information about goods are a priority. At the same time, the information is shared or transferred from one participant in the logistics process to another. Smart contracts, blockchain, IoT sensors and related wireless technologies have the potential to provide a solution to these problems.
In the context of Industry 4.0, the proposed seven-layer abstract model for solutions based on smart contracts on blockchain and IoT can be used to manage a number of modern businesses. It registers the movement of data in the relevant business at multiple levels, which include multiple stakeholders in the management of the relevant business, ensuring the security and confidentiality of information about participants, objects and goods, increasing the effectiveness of the monitoring and management process of the relevant business.
In this paper, a logistics process management model is proposed, consistent with the presented abstract layered model. A smart contract implementation on HyperLedger Fabric is presented, which proves both the applicability of the proposed layered model and the effectiveness of the application of smart contracts on blockchain for logistics business.

Author Contributions

Conceptualization, V.A. and H.V.; methodology, V.A.; software, H.V.; validation, A.H. and D.D.; investigation, V.A., H.V., A.H. and D.D.; data curation, V.A., H.V., A.H. and D.D.; writing—original draft preparation, V.A.; writing—review and editing, H.V., A.H. and D.D.; visualization, H.V. All authors have read and agreed to the published version of the manuscript.

Funding

The research the results of which are presented in the present paper, have been carried out under the National Science Program “Young Scientists and Postdoctoral Students 2—module “Postdoctoral students”, which is financed by the Bulgarian state budget.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Forbes. The IoT-Powered Logistics Industry: Use Cases, Benefits and Challenges. Available online: https://www.forbes.com/sites/forbestechcouncil/2023/02/21/the-iot-powered-logistics-industry-use-cases-benefits-and-challenges/?sh=1ef53f5f6622 (accessed on 14 April 2023).
  2. Losant. Available online: https://www.losant.com/iot-platform (accessed on 14 April 2023).
  3. Quuppa Real-Time Locating System. Available online: https://www.quuppa.com (accessed on 14 April 2023).
  4. Wang, Q.; Du, X. Design of Logistics Cloud Platform Based on Blockchain. In Proceedings of the 4th Blockchain and Internet of Things Conference, Tokyo, Japan, 8–10 July 2022; pp. 100–106. [Google Scholar] [CrossRef]
  5. Zhang, Z. Blockchain Technology in Logistics. In Proceedings of the 4th International Conference on Blockchain Technology, Shanghai, China, 25–27 March 2022; pp. 156–159. [Google Scholar] [CrossRef]
  6. Tian, Z.; Ray, Y.; Ali, Z.; Barenji, V.; Rong, Y. A blockchain-based evaluation approach for customer delivery satisfaction in sustainable urban logistics. Int. J. Prod. Res. 2020, 59, 2229–2249. [Google Scholar] [CrossRef]
  7. Koh, L.; Dolgui, A.; Sarkis, J. Blockchain in transport and logistics—Paradigms and transitions. Int. J. Prod. Res. 2020, 58, 2054–2062. [Google Scholar] [CrossRef] [Green Version]
  8. Dasaklis, T.K.; Casino, F.; Patsakis, C. Defining Granularity Levels for Supply Chain Traceability Based on IoT and Blockchain. In Proceedings of the International Conference on Omni-Layer Intelligent Systems, Crete, Greece, 5–7 May 2019; pp. 184–190. [Google Scholar]
  9. Ye, H.; Hu, X.; Xie, M.-E. Research on the Application of Blockchain in Agricultural Logistics Park. In Proceedings of the 7th International Conference on Intelligent Information Processing, Bucharest, Romania, 29–30 September 2022; pp. 1–7. [Google Scholar] [CrossRef]
  10. Douladiris, K.; Dasaklis, T.; Casino, F.; Douligeris, C. A Blockchain framework for reverse logistics of used medical equipment. In Proceedings of the 24th Pan-Hellenic Conference on Informatics, Athens, Greece, 20–22 November 2020; pp. 148–151. [Google Scholar] [CrossRef]
  11. Dasaklis, T.K.; Casino, F.; Patsakis, C. A traceability and auditing framework for electronic equipment reverse logistics based on blockchain: The case of mobile phones. In Proceedings of the 11th International Conference on Information, Intelligence, Systems and Applications, Piraeus, Greece, 15–17 July 2020; pp. 1–7. [Google Scholar] [CrossRef]
  12. Ugochukwu, N.; Goyal, S.B.; Arumugam, S. Blockchain-Based IoT-Enabled System for Secure and Efficient Logistics Management in the Era of IR 4.0. J. Nanomater. 2022, 2022, 7295395. [Google Scholar] [CrossRef]
  13. European Parliament. News. Crypto-Assets: Green Light to New Rules for Tracing Transfers in the EU. 20 April 2023. Available online: https://www.europarl.europa.eu/news/en/press-room/20230414IPR80133/crypto-assets-green-light-to-new-rules-for-tracing-transfers-in-the-eu (accessed on 21 April 2023).
  14. CoinMarketCap. Top Logistics Tokens by Market Capitalization. Available online: https://coinmarketcap.com/view/logistics/ (accessed on 21 April 2023).
  15. VeChain. Available online: https://www.vechain.org (accessed on 21 April 2023).
  16. Origin Trail. Available online: https://origintrail.io/ (accessed on 21 April 2023).
  17. Sokolov, S.; Vlaev, S.; Iliev, T. Technique for improvement of backup and restore strategy based on blockchain. In Proceedings of the 2022 International Conference on Communications, Information, Electronic and Energy Systems, Veliko Tarnovo, Bulgaria, 24–26 November 2022; pp. 1–6. [Google Scholar] [CrossRef]
  18. Hristova, T. The place of the blockchain in the recycling of raw materials. In Proceedings of the 8th International Conference on Energy Efficiency and Agricultural Engineering, Ruse, Bulgaria, 30 June–2 July 2022; pp. 1–4. [Google Scholar] [CrossRef]
  19. Zhang, R.; Xue, R.; Liu, L. Security and Privacy on Blockchain. ACM Comput. Surv. 2019, 52, 51. [Google Scholar] [CrossRef] [Green Version]
  20. Zhang, T.; Li, B.; Zhu, Y.; Han, T.; Wu, Q. Covert channels in blockchain and blockchain based covert communication: Overview, state-of-the-art, and future directions. Comput. Commun. 2023, 205, 136–146. [Google Scholar] [CrossRef]
Figure 1. Top cryptocurrencies that offer tokens for logistics [14].
Figure 1. Top cryptocurrencies that offer tokens for logistics [14].
Engproc 41 00008 g001
Figure 2. A traditional cloud platform for IoT-based logistics.
Figure 2. A traditional cloud platform for IoT-based logistics.
Engproc 41 00008 g002
Figure 3. Features of blockchain technology.
Figure 3. Features of blockchain technology.
Engproc 41 00008 g003
Figure 4. Abstract model integrating IoT and blockchain.
Figure 4. Abstract model integrating IoT and blockchain.
Engproc 41 00008 g004
Figure 5. Proposed logistic model.
Figure 5. Proposed logistic model.
Engproc 41 00008 g005
Figure 6. Blockchain based solution of the proposed model.
Figure 6. Blockchain based solution of the proposed model.
Engproc 41 00008 g006
Figure 7. Docker containers of Fabric network.
Figure 7. Docker containers of Fabric network.
Engproc 41 00008 g007
Figure 8. Execution of write request.
Figure 8. Execution of write request.
Engproc 41 00008 g008
Figure 9. Execution of search request.
Figure 9. Execution of search request.
Engproc 41 00008 g009
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Aleksieva, V.; Valchanov, H.; Haka, A.; Dinev, D. Logistics Model Based on Smart Contracts on Blockchain and IoT. Eng. Proc. 2023, 41, 8. https://doi.org/10.3390/engproc2023041008

AMA Style

Aleksieva V, Valchanov H, Haka A, Dinev D. Logistics Model Based on Smart Contracts on Blockchain and IoT. Engineering Proceedings. 2023; 41(1):8. https://doi.org/10.3390/engproc2023041008

Chicago/Turabian Style

Aleksieva, Veneta, Hristo Valchanov, Aydan Haka, and Diyan Dinev. 2023. "Logistics Model Based on Smart Contracts on Blockchain and IoT" Engineering Proceedings 41, no. 1: 8. https://doi.org/10.3390/engproc2023041008

Article Metrics

Back to TopTop