A Traceable and Reliable Electronic Supply Chain System Based on Blockchain Technology

Shaniar Tahir Mohammed*, Jamal Ali Hussien

Department of Computer, College of Science, University of Sulaimani, Sulaymaniyah, Iraq

Corresponding author’s e-mail: Shaniar Tahir Mohammed, Department of Computer, College of Science, University of Sulaimani, Sulaymaniyah, Iraq. E-mail: shaniar.mohammed@univsul.edu.iq
Received: 28-08-2020 Accepted: 03-12-2020 Published: 14-12-2020
DOI: 10.21928/uhdjst.v4n2y2020.pp132-140


ABSTRACT

Electronic supply chain (ESC) is a network among the parties of a supply chain system, such as manufacturers, suppliers, and retailers. It recodes all the processes involved in the distribution of specific products until transported to final customers. Blockchain (BC) technology is a decentralized network that records all the transactions in real-time and is used in many areas such as cryptocurrency. In this paper, we work on an ESC system that records all the transactions based on BC technology using a drug supply chain system as a case study. The recording of the transactions consists of three main stages. First, all the parties of the ESC system are represented in the BC network as clients with unique identities. Second, all the information related to a specific drug is recorded inside the transaction and each transaction has its own signature. Finally, all the transactions of the drug from the manufacture to the patient are recorded inside a block with a unique identity for each block. These steps inside the BC are performed based on security cryptography mechanisms, such as rivest-shamir-adleman (RSA) and secure hash algorithm SHA. The results illustrate that the proposed approach protects the drugs from counterfeiting, ensures the reliability, and provides a real-time tracking system for the transactions that have occurred among ESC parties.

Index Terms: Blockchain, Block, Electronic Supply Chain, Monitoring, Reliability, Traceability

1. INTRODUCTION

Supply chains can be defined as a series of interconnected activities between manufacturers and customers, which include the coordination, planning, and controlling of products and services [1]. The classical supply chain has many issues such as need for paperwork; speed limits; and lack of traceability, security, and reliability [2]. The ESC records all the activities and transactions of supply chains electronically [1], [2], [3]. In the logistics process in an ESC, the products can be transported in a way that the parties (manufacture, supplier, distributor, wholesaler, retailer, and customer) of the network can ensure the quality of goods [1], [4], [5].

The blockchain (BC) is a decentralized peer-to-peer (p2p) network distributed ledger, with unlimited digital transactions across the network without the need of third-parties. This technology can be used in different areas such as cryptocurrency, since it has a useful number of features such as reliability and traceability [6], [7], [8]. BC has different types depending on the organization or the company that uses it or on the architecture of the network [6]. In BC technology, every single node or client has a copy of the ledger in the network after a consensus from all participants [2], [6]. BC has four basic features: Decentralization, openness, security, and privacy [2], [4]. BC and distributed databases (DBs) are different in their structures. In addition, in BC systems the transactions are controlled and managed by all the participants while in database system DBs the transactions are managed by a single entity [6].

Many researchers have worked on the process of merging the electronic supply chain (ESC) with BC using different approaches. However, either the researches stay theoretical and have not been implemented [4] or it does not fully benefit from all the security features of BC for improving reliability, traceability, and the monitoring process of the ESC systems [9].

In this paper, BC technology is used to create a reliable architecture for the ESC process and solves the problem of supply chain systems, such as reliability and traceability. Regarding the drug safety issues, the aim of this research was to help authorities in Iraqi Kurdistan to monitor and trace drug transportation from the manufacturers all the way to the patients in a secure and reliable way. In particular, this model is helpful in reducing paperwork, monitoring drug flow between ESC clients, protecting the drug from counterfeiting, tracing the transactions, reducing cost, and protecting the information flow between clients.

The proposed model is based on three main parts of BC technology used in ESC architecture: Clients, Transactions, and Blocks. The Clients represent the ESC parties, such as suppliers and manufacturers. Each client has a unique identity based on the security mechanism RSA-1024. The Transactions hold the drug flow information in ESC between all parties. The proposed model generates a signature for each transaction based on RSA-1024 algorithm, for protecting the ESC from unknown transactions and also from modification. The Blocks hold the transaction between the ESC parties, each block holds five transactions from the manufacturer to the final destination, the patient. Each block has a unique identity based on the SHA-256 algorithm. The information flow of drug ESC model is decentralized and shared between all the clients and recorded in real-time enabling tracking and monitoring of the activities by all the participants.

1.1. Problem Statement

The classical supply chain has some problems such as depending on paperwork to exchange information; high cost; and lack of reliability, traceability, and trust. While in the ESC, all the information and processes are captured and recorded in an electronic way, which is helpful in eliminating paperwork, reducing cost, and increasing reliability, since all processes can be monitored by all parties of the ESC system.

BC is a helpful technology that can be used with an ESC to record all the information in a decentralized way. Then, the processes of the ECS and can be monitored by all participants of the network without needing a third party. In addition, it increases reliability because in BC various security mechanisms are used when recording supply chain processes. Furthermore, traceability can be improved based on BC technology, since the encryption of the information prevents unknown transactions and unknown clients protecting the data from modification. All the transactions that have occurred in the ESC can be monitored in real-time.

In Iraqi Kurdistan, there does not exist an electronic system for recording and monitoring drug information and the transactions between the parties of the supply chain system. Therefore, it is difficult to establish reliability and provides an efficient traceability of drugs. For our case study, we work on the pharmaceutical system for drug transportation from manufacturers to final destination patients in Iraqi Kurdistan using ESC with BC technology.

The proposed system allows us to protect the drug from counterfeiting, enables traceability of drugs, and increase reliability between all parties in the ESC system. The information flow between all parties is held in BC in a secure way without a third-party involvement; therefore, the authorities can easily monitor drug transportation and transactions.

2. BACKGROUND

2.1. The Structure of ESC Systems

The ESC is a network between the producer of the specific product and the supplier to record the information about all the processes of product transportation and improving health and safety, speed, cost, scalability, and transparency while distributing to consumers [10], [11], [12]. In this network, there exist various entities, such as people, resources, and information that need to be recorded in a fast and secure way. The general structure of the ESC includes the following participants:

  • a) Provider: It provides raw materials to the suppliers, such as the raw materials used in producing drugs, food ingredients, and automobile parts [13].

  • b) Supplier: It is somebody who is responsible for the actions of producing the raw materials, like a farmer.

  • c) Manufacturer: The manufacturer performs various actions to produce specific products.

  • d) Distributor: The distributor is responsible for moving the product to the retailers.

  • e) Retailer: It is responsible for marketing the goods, such as local stores, supermarkets, pharmacies, or car shops [3], [14].

  • f) Consumer: The consumer buys a product and checked it to ensure originality. For instance, a patient who buys the drug in a pharmacy [13].

Fig. 1 illustrates all the stages of the general ESC process:

thumblarge

Fig. 1. General structure of the electronic supply chain.

2.2. BC Architecture

BC technology was conceptualized for the first time by Satoshi Nakamoto in 2008 and used in various areas especially for cryptocurrencies like “Bitcoin” [15], [16], [17]. This technology is a decentralized p2p mesh network of nodes linked to each other and contains blocks without the need to be managed by a third-party. Several layers govern BC operations and generate the protocols for BC applications. BC generally has two main types: Public BC and private BC. Public BC is decentralized where parties can access the current and previous records. While private BC is a centralized network that is privately available for organizations that have a limited number of participants. Private BC is less secure than public BC. Fig. 2 shows an overall structure of the BC architecture [18]:

thumblarge

Fig. 2. Block structure in the blockchain technology.

The BC contains a sequence of techniques that are used to recording transactions in real-time between the parties of the network (sender and recipient). The information is held inside blocks and each block links to a previous block, as shown in Fig. 2. The BC provides security features such as cryptographic hash, digital signature, and distributed consensus mechanism [13], [18], [19].

Fig. 3 illustrates the general architecture of BC in the Bitcoin process [15]. Each transaction that occurs in a BC encapsulates the phases is shown in Fig. 3. In the case of supply chain systems, all logistic processes from producing a specific good until delivering it to customers are recorded.

thumblarge

Fig. 3. Cryptocurrency with blockchain architecture.

The Bitcoin cryptocurrency process consists of the following six stages. The same stages are used for our proposed system.

  • 1. The Transaction: The transaction holds information, for example, in an ESC transaction; it includes the sender and receipt identity, date and time, the quantity of the goods, name of the product, location, and so on.

  • 2. A cryptographic signature is the second stage of the BC architecture to provide a secure algorithm function to implement a cryptographic signature to both sender and receipt identity using cryptographic algorithms, such as SHA256, SHA512, and RSA.

  • 3. Broadcasting the Transaction: In this stage, the transaction must be broadcasted to the network for the authentication process.

  • 4. The transaction verification: The transaction must be authenticated and verified by all the parties inside the decentralized network.

  • 5. Digital ledger: After notifying all the parties of the BC of the new transactions, they are added to the digital ledger and appended to the BC.

  • 6. Transaction completion: Finally, the transaction is completed and the money or the information related to it is transferred to the receipt and added to the block. Each block is linked to the previous one.

2.3. Cryptographic Algorithms

The secure hash algorithm SHA is one of the cryptographic hash functions designed to hold data securely by transforming the data into hash code using its own family of types such as SHA1, SHA224, SHA256, and SHA512. Each of them has a different size in bytes [20].

The RSA cryptographic system is used for data encryption and decryption with two keys (private key and public key), when the private key is only known to the owner and the public key is publicly available and can be accessed by everyone [21], [22]. The size of the key of RSA should be 1024 bits or higher. The public key is used for encryption while the private key is used for decryption [21].

3. THE RUNNING EXAMPLE

We describe the supply chain process in an earlier section. We show a small example of a supply chain process between two clients known as the manufacturer and the supplier for transporting a drug between them. Table 1 shows the information related to one transaction occurred between two clients in the supply chain. This transaction is taken from a large set of transactions from the pharmaceutical system in the Iraqi Kurdistan. We use the information about a specific drug to demonstrate various transactions in our proposed ESC with BC. In the upcoming sections, we show more transactions about a specific drug. The structure of the transactions contains all the information needed for the drug supply chain process, such as drug_id, drug name, sender_id, recipient_id, location, size, and date and time.

TABLE 1 A simple transaction information occurred between two clients in a supply chain system

thumblarge

In ESC systems, the information can be stored electronically with a centralized system without real-time recording of the process, which is not secure. However, public BC systems with ESC are secure since they are decentralized and there is no need for third-parties to manage the process. Public BC systems are reliable and transactions can be traced at each stage of the ESC in real-time.

4. RELATED WORK

Randhit kumar and Rakish Tripathi [9] proposed a traceability structure for supply chain based on BC technology to medicine system or drug manufacturing to protect the drug while transported from the manufacturer to the consumer, they used BC to encrypt the QR code of the drugs to protect the drug from counterfeiting. The methodology of this research provides a structure to protect the medicine supply chain from a man-in-the-middle attack.

BC in various case studies and different sectors of industry such as the pharmaceutical supply chain is used by S. Aich, S. Chakraborty, M. Sain, H. Lee, and H. Kim [13] to ensure the tractability of drugs and to improve the efficiency of supply chain network. They mentioned the problems occurred in different sectors of the conventional supply chain and find solutions. They compare the traditional supply chain to a digital supply chain based on BC and Internet of Things (IoT) for pharmaceutical process to track and protect drugs from counterfeiting. IoT was used to record digital identification for all products to provide trustworthiness in the digital supply chain system. All the participants of the system in the network can ensure the transparency of the information recorded in the BC.

M. P. Caro, M. S. Ali, M. Vecchio, and R. Giaffreda [23] proposed a new agriculture food supply chain based BC architecture with IoT to keep the system from data tampering. The integrity of the data and traceability of the process is conducted using various BC mechanisms such as ethereum and hyperledger sawtooth.

A three-tier architecture based on BC was proposed by S. Malik [10] to ensure data availability to consumers and to provide scalability for handling transaction loads while keeping the history and confidential information safe when delivering to other parties of a supply chain process.

5. BC -BASED ESC SYSTEM

In this section, we propose an ESC model, which enables traceability, reliability, monitoring of drug transactions in the Iraqi Kurdistan based on the BC technology. We worked on the pharmaceutical supply chain by recording logistic steps of the ESC to transport a drug from the manufacturer to a patient using BC technologies. Fig. 4 shows a block diagram of the proposed model.

thumblarge

Fig. 4. Block diagram of the electronic supply chain process using blockchain technology.

In our proposed system, transactions occur among supply chain parties in pharmaceutical process according to these instructions:

  • 1. Capturing the transaction n in the pharmaceutical supply chain system between client A and client B.

  • 2. Based on the RSA-1024 algorithm, generating a unique identity for each one of the five different types of clients. The identities are shared between all the participants of the BC. Table 2 shows the client identities.

  • 3. Build a unique transaction signature using RSA-1024, which facilitates traceability and the identification of the drug transported between the clients.

  • 4. Each transaction holds the sender and recipient identities, item information, date and time, and other related information.

  • 5. Typically, each drug requires five transactions between the clients to be delivered from the manufacturer to the patient in the supply chain process. These transactions are added to a single block m.

  • 6. Before adding them to the BC, a unique identity based on the SHA-256 algorithm is generated for each block.

  • 7. The block m added to the BC and each block linked to the previous one. This makes blocks to be easily traceable and reliable, and facilitate real-time monitoring.

TABLE 2 Client identity while applied RSA-1024 algorithm in ESC

thumblarge

In Fig. 5, the main parts of the proposed ESC system are illustrated. The system records any transaction that has occurred inside the ESC using BC. The ESC includes five types of clients: Manufacturer, supplier, wholesaler, retailer, and patient. Drugs are produced by the manufacturer, transported to the supplier, wholesaler, and then to the warehouse or the retailer. Finally, the drugs will be delivered to the patient. All these transactions can be tracked and recorded securely without need to third-party’s involvement.

thumblarge

Fig. 5. Pharmaceutical supply chain process in ESC.

5.1. Transaction Processes

Each transaction has its own signature; they are created with RSA-1024 algorithm. With these signatures, we can protect our ESC transactions from any unknown transactions. Fig. 6 depicts a small transaction between two clients in the ESC.

thumblarge

Fig. 6. Transaction structure and signature in ESC.

We hold five transactions inside each block of the BC, one transaction between each two clients starting from the manufacturer and ending with the patient. Table 3 shows three transaction signatures as an example.

TABLE 3 Three transaction signature while applied RSA-1024 algorithm in ESC

thumblarge

5.2. The Block Structure of Our BC System

In this research, another main part is the generation of a unique block for the ESC’s transactions before adding it to the BC. Block identities are generated with the SHA-256 algorithm.

In general, inside the BC, we have an unlimited number of blocks, which means that the system can generate any number of blocks, but in the proposed approach worked on 2000 blocks, each block holds five transactions in the pharmaceutical supply chain process in Iraqi Kurdistan. The size of each block is between 830 and 890 bytes depending on the amount of information saved inside each transaction and held in a block, the BC is not reseted after holding the transaction, and the transactions history remain inside the blocks. Each block in the BC system is protected from modification because these blocks are shared in a decentralized network and each block is linked to the previous block with its own identity. Only the participants of the supply chain system can see the information inside the blocks, which enables the clients to easily monitor the processes of ESC. The average time duration between the current block and the previous block is 0.0056 ms. Table 4 shows four blocks with current and previous identities.

TABLE 4 Block identity in our blockchain system generating based on SHA-256

thumblarge

6. RESULTS AND DISCUSSION

In the proposed system, we can ensure drug quality and the correctness of information related to the drug manufacturing process. Our system creates a secure channel among parties based on BC technology, which provides traceability of drugs, reduces cost, enhances reliability, eliminates paperwork, and facilitates monitoring by all clients in the pharmaceutical process.

Table 5 contains a chain of five transactions inside a single block (#block112) regarding the transportation of a specific drug from the manufacturer all the way to the patient. The drug has its own unique identifier. There are unique identifiers for each of the sender and the receiver per transaction along with the date and time of the transaction.

TABLE 5 Simple drug information for five transactions inside one block in the blockchain system

thumblarge

In Table 6, we choose a transaction (#transaction21) among the five transactions of the block (#block112) between the supplier, RASAN, and the wholesaler, KMCA, showing all the information of that transaction. The detail about the transaction includes the location, date, and time, and size.

TABLE 6 One transaction inside a block in our BC system from the ESC

thumblarge

6.1. Traceability

In our proposed system, each block contains the transactions that are related to one single drug. Each drug has a unique identifier, for example, #block112 is encrypted with the SHA-256 cryptography algorithm and linked to the previous block (Table 6). In this way, we can trace the transaction between these two clients. We can determine when the transaction has started (DateTime), which clients participate in the transaction (Sender and Recipient IDs), where is the current location of the drug (Supplier and Wholesaler locations), and whether the transaction has occurred or it is in a waiting state.

The information is recorded in real-time, which means we can trace each drug transported between the clients in real-time. The transactions can be monitored by all the participants, without modification by an unknown client or user. Since the network is decentralized, we do not need a third-party for managing the information of the transactions that are held inside the blocks.

6.2. Reliability and Monitoring

The reliability of the information is another feature of the proposed approach. Since our system uses several security mechanisms with BC technology, such as RSA-1024 and SHA-256 algorithms. These algorithms are used for generating a unique identity for each participant (sender identity and recipient identity), transaction (transaction identity), and block (block identity) of the ESC system, as shown in Table 5. With these identities, we can trust the transactions. BC has an important process called consensus algorithm, which provides agreements among clients of the BC network about the data. Based on the consensus algorithm a participant can generate new blocks that must be accepted by the other parties of the system. This is useful for improving the reliability and ensuring the traceability of the system.

There is an important feature inside the transactions, which is the transaction type. Its value is either verified or unverified. If a client notices that some identities have been changed or the drug information has been modified, then the value of the field transaction type is changed from verified to unverified and all the participants of the network are notified about this modification. This prevents the transaction to be faked and protects the drug from counterfeiting. This process enables the reliability of the ESC system and establishes trust among the participants of the network. Since all the transactions happen in real-time, all participants as well as the authorities can monitor the process of drug transportation between all the clients of the ESC system.

7. CONCLUSIONS AND FUTURE WORK

In this research work, BC technology is used for recording information flow between supply chain parties using the pharmaceutical supply chain system in Iraqi Kurdistan as a running example. The proposed system generates unique identifiers for the clients and the transactions regarding a specific drug and stores them along with the drug information inside a block of the BC system. The generation of identifiers and storing of information happen in real-time when the transactions occur. Therefore, the authorities and supply chain parties can easily monitor or track the transactions to protect the drug from counterfeiting and information from modification, thus establishing trust and reliability of the process. In addition, the process of recording and monitoring supply chain transactions electronically reduces cost and time and eliminates paperwork.

In the future, we want to implement our proposed model in other sectors, such as food and clothes, to provide reliability and traceability among vendors and customers. Furthermore, the Internet of Things IoT can be used to hold transaction information about physical things that are included in the ESC systems.

8. ACKNOWLEDGMENT

We would like to express thanks to Dr. Firdous Nuri, Dr. Dana Sardar, and Sulaimani Health Center for providing information about the drug manufacturer companies and pharmaceutical parties in Iraqi Kurdistan.

REFERENCES

[1]. K. Korpela and T. Dahlberg. “Digital Supply Chain Transformation Toward Blockchain Integration“. Hawaii International Conference on System Sciences (HICSS)At:Big Island, Hawaii, pp. 4182-4191, 2017.

[2]. D. Schniederjans, C. Curado and M. Khalajhedayati. “Supply chain digitisation trends:An integration of knowledge management“. International Journal of Production Economics, vol. 220, 107439, 2020.

[3]. S. Chen, R. Shi, Z. Ren, J. Yan, Y. Shi and J. Zhang. “A Blockchain-Based Supply Chain Quality Management Framework“. IEEE 14th International Conference on e-Business Engineering (ICEBE), Shanghai, pp. 172-176, 2017.

[4]. D. Tse, B. Zhang, Y. Yang, C. Cheng and H. Mu. “Blockchain Application in Food Supply Information Security“. IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), Singapore, pp. 1357-1361, 2017.

[5]. W. Kenton. “Supply Chain“. Available from:https://www.investopedia.com/terms/s/supplychain.asp. [Last accessed on 2020 Apr 01].

[6]. N. B. Al Barghuthi, H. J. Mohamed and H. E. Said. “Blockchain in Supply Chain Trading“. 5th HCT Information Technology Trends (ITT), Dubai, United Arab Emirates, 2018, pp. 336-341, 2018.

[7]. H. Min. “Blockchain technology for enhancing supply chain resilience“. Business Horizons, vol. 62, no. 1, pp. 35-45, 2019.

[8]. M. Nofer, P. Gomber, O. Hinz and D. Schiereck. “Blockchain“. Business and Information Systems Engineering, vol. 59, no. 3, pp. 183-187, 2017.

[9]. R. Kumar and R. Tripathi. “Traceability of Counterfeit Medicine Supply Chain through Blockchain“. 11th International Conference on Communication Systems and Networks (COMSNETS), Bengaluru, India, pp. 568-570, 2019.

[10]. S. Malik, S. S. Kanhere and R. Jurdak. “ProductChain:Scalable Blockchain Framework to Support Provenance in Supply Chains“. IEEE 17th International Symposium on Network Computing and Applications (NCA), Cambridge, MA, pp. 1-10, 2018.

[11]. G. Büyüközkan and F. Göçer. “Digital supply chain:Literature review and a proposed framework for future research“. Computers in Industry, vol. 97, pp. 157-177, 2018.

[12]. S. Kamble, A. Gunasekaran and S. Gawankar. “Achieving sustainable performance in a data-driven agriculture supply chain:A review for research and applications“. International Journal of Production Economics, vol. 219, pp. 179-194, 2020.

[13]. S. Aich, S. Chakraborty, M. Sain, H. Lee and H. Kim. “A Review on Benefits of IoT Integrated Blockchain based Supply Chain Management Implementations across Different Sectors with Case Study“. 21st International Conference on Advanced Communication Technology (ICACT), PyeongChang Kwangwoon Do, Korea (South), pp. 138-141, 2019.

[14]. S. R. Niya, D. Dordevic, A. G. Nabi, T. Mann and B. Stiller. “A Platform-independent, Generic-purpose, and Blockchain-based Supply Chain Tracking“. IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Seoul, Korea (South), pp. 11-12, 2019.

[15]. V. Morkunas, J. Paschen and E. Boon. “How blockchain technologies impact your business model“. Business Horizons, vol. 62, no. 3, pp. 295-306, 2019.

[16]. C. Schmidt and S. Wagner. “Blockchain and supply chain relations:A transaction cost theory perspective“. Journal of Purchasing and Supply Management, vol. 25, no. 4, 100552, 2019.

[17]. D. Macrinici, C. Cartofeanu and S. Gao. “Smart contract applications within blockchain technology:A systematic mapping study“. Telematics and Informatics, vol. 35, no. 8, pp. 2337-2354, 2018.

[18]. S. S. Hazari and Q. H. Mahmoud. “A Parallel Proof of Work to Improve Transaction Speed and Scalability in Blockchain Systems“. IEEE 9th Annual Computing and Communication Workshop and Conference (CCWC), Las Vegas, NV, USA, pp. 916-921, 2019.

[19]. A. A. Maksutov, M. S. Alexeev, N. O. Fedorova and D. A. Andreev, “Detection of Blockchain Transactions Used in Blockchain Mixer of Coin Join Type,“2019 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), Saint Petersburg and Moscow, Russia, pp. 274-277, 2019.

[20]. S. Gueron. “Speeding Up SHA-1, SHA-256 and SHA-512 on the 2nd Generation Intel®Core™Processors“. 9th International Conference on Information Technology New Generations, Las Vegas, NV, pp. 824-826, 2012.

[21]. A. Karakra and A. Alsadeh. “A-RSA:Augmented RSA“. SAI Computing Conference (SAI), London, pp. 1016-1023, 2016.

[22]. S. A. Nagar and S. Alshamma. “High Speed Implementation of RSA Algorithm with Modified Keys Exchange“. 6th International Conference on Sciences of Electronics, Technologies of Information and Telecommunications (SETIT), Sousse, pp. 639-642, 2012.

[23]. M. P. Caro, M. S. Ali, M. Vecchio and R. Giaffreda. “Blockchain-based Traceability in Agri-food Supply Chain Management:A Practical Implementation“. IoT Vertical and Topical Summit on Agriculture Tuscany (IOT Tuscany), Tuscany, pp. 1-4, 2018.