Next Article in Journal
5G/B5G Service Classification Using Supervised Learning
Next Article in Special Issue
Fuzzy Risk Evaluation and Collision Avoidance Control of Unmanned Surface Vessels
Previous Article in Journal
Driving Behavior Modeling Based on Consistent Variable Selection in a PWARX Model
Previous Article in Special Issue
Undersampled Differential Phase Shift On–Off Keying for Visible Light Vehicle-to-Vehicle Communication
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Traceable and Verifiable Tobacco Products Logistics System with GPS and RFID Technologies

1
School of Computer and Information Engineering, Xiamen University of Technology, Xiamen 361024, China
2
School of Information Engineering, Changchun Sci-Tech University, Changchun 130600, China
3
Department of Computer Science and Information Engineering, Chaoyang University of Technology, 168 Jifeng East Road, Taichung 41349, Taiwan
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2021, 11(11), 4939; https://doi.org/10.3390/app11114939
Submission received: 7 May 2021 / Revised: 19 May 2021 / Accepted: 25 May 2021 / Published: 27 May 2021
(This article belongs to the Special Issue Secure and Intelligent Mobile Systems)

Abstract

:
Tobacco products are an addictive commodity. According to the World Health Organization’s (WHO) latest statistics data, tobacco kills more than eight million people each year. In 2003, the WHO proposed the Framework Convention on Tobacco Control (FCTC) to provide an effective framework for the control of tobacco products to governments around the world. In the field of tobacco products, the hardest problem is how to prevent counterfeit tobacco products and smuggling. To solve the problems, we proposed a blockchain-based traceable and verifiable logistics system for tobacco products with global positioning system (GPS) and radio-frequency identification (RFID) Technologies. In this research, we provide an overview of system architecture, and also define the protocol and the smart contract in every phase that stores data into the blockchain center. We realized a decentralized database and authentication system that uses blockchain and smart contract technology; every protocol in every phase was designed to achieve the integrity of data and non-repudiation of message. Every tobacco product’s shipping record will be completed by scanning the RFID tag and retrieving the GPS with a mobile reader, where the record will be updated and validated in the blockchain center. In the end, the security and costs of the system were analyzed, and a comparison was made with the EU’s (European Commission) method. Our system is more flexible for transportation, more secure in the communication protocol, and more difficult to tamper and forge data. In general, the proposed scheme solved the problem of tobacco products counterfeiting and tracking issues.

1. Introduction

1.1. Background

According to the Food and Drug Administration (FDA), tobacco products means “any product made or derived from tobacco that is intended for human consumption, including any component, part, or accessory of a tobacco product (except for raw materials other than tobacco used in manufacturing a component, part, or accessory of a tobacco product)” [1]. Tobacco products include cigarettes, cigars, etc. Tobacco contains the stimulant alkaloid nicotine, which easily makes people addicted.
Since the emergence of tobacco, there have been various studies showing the disadvantages of tobacco products, which can easily damage the lungs, heart, and liver. Common diseases of smoking tobacco include cancer, cardiovascular disease, chronic bronchitis, male sexual dysfunction, pregnant women affect the fetus, etc. Except for the diseases it causes to smokers, smoking tobacco also causes air pollution, and second-hand smoke will also affect the people around smokers. According to the World Health Organization’s (WHO) latest statistical data, tobacco kills more than eight million people each year, with seven million people deaths because of direct tobacco use and 1.2 million non-smokers who are exposed to second-hand smoke [2].
In 2003, the WHO published the Framework Convention on Tobacco Control (FCTC) which provides price and tax measures and non-price measures to reduce the demand for tobacco products [3]. In these decades, many countries worldwide are constantly following the framework established by the WHO, especially by raising the tax rate of tobacco products. Because of the increase in tax rates, the price of tobacco products to the consumer has also increased. Most of the manufacturers or retailers do not report the actual sales volume to the government to more profit, which means that more and more smuggled tobacco products are sold on the market. Smuggled tobacco products cannot be controlled and certified by the government, and there may be elements in the product that affect human health more [4]. In addition, the government has the responsibility to care nation’s health as well as the responsibility to eliminate the smuggled tobacco products.
Recently, to eliminate smuggled products, the European Commission has worked out the mechanisms of tobacco product tracking [5]. In addition, the United States’ FDA also regulates tobacco products with strict standards [6].
To track and identify products, we need a data carrier along with sticks or prints on the package of products. The most common and simple data carrier on the market is the barcode, which include one-dimensional (1D) and two-dimensional (2D) barcodes. GS1 is the largest not-for-profit organization [7], and they developed the global standards for barcodes, so that the standards can be universally used all over the world. Barcodes have many limitations that make them unsuitable for logistics tracking such as easy to damage, easy to copy, easy to decode, and they must be scanned individually. Because of these shortcomings, other options have to replace the barcode in the next technology, which is radio-frequency identification (RFID). RFID is a technology that is able to store and retrieve data in the RFID tags, so is the best method to use in supply chains [8,9]. RFID accelerates the speed of inventory, and it is more convenient to calculate the total amount of incoming and outgoing logistics.
Unfortunately, data carriers alone cannot track the delivery process of tobacco products. The information in the system can be easily maliciously or deliberately falsified by anyone. Blockchain technology can solve the problem of information reliability. Kamilaris et al. [10] proposed a blockchain-based method for agriculture and food supply chains, where the research showed that blockchain can make the supply chain more transparent and reliable. Therefore, blockchain is a new technology that can realize the traceability and authentication of the logistics record.
In this study, we proposed a traceable and verifiable tobacco products logistics system that involved blockchain, GPS and RFID technologies. All the tobacco packages produced by the manufacturer must have an RFID tag with ID. These IDs are issued by an official organization. After the tobacco products are produced, all the logistics processes must be sent and chained in the blockchain center. The proposed scheme achieves the goal of data decentralization, is hard to tamper with, has traceability, and is authenticated. It is also convenient for the consumer to verify, for manufacturers to manage, and for the auditor to audit.

1.2. Related Works

Several related works are listed in Table 1. The key points of concern are listed in the table.
RFID technology has been used in the trace system for supply chains for many years. Wyld [9] evaluated the uses of RFID tags on cigarette packs. The research explains how the RFID works as well as how the RFID can solve the products’ smuggling problem and inventory control as the technology can be scanned to verify whether the taxes have been paid or not. Wang et al. [11] redesigned a passive ultra high frequency (UHF) RFID tag and integrated it into a cigarette pack, where the tag was only 0.5 mm thick. Neither of these two studies mentioned how to use RFID to implement a supply chain system.
Some research has been implemented in the supply chain of non-tobacco products. In 2012, Carvalho et al. [8] deployed RFID technology in the case of fashion supply chain management (FSCM). Shi et al. [12] also proposed a RFID-enabled trace system implemented with the Electronic Product Code (EPC) global network, which is a global data exchange standard for supply chain networks, where the user can query product information via scanning the RFID with the EPC. These studies have proposed a good architecture for implementation in the supply chain, but the studies lacked integrity and traceability of data.
Aside from implementing RFID technology, global positioning system (GPS) can also be integrated into logistics tracking systems. Prasanna et al. [13] proposed a logistics vehicle tracking mechanism in 2012, where the authors implemented a GPS device in the vehicle to record and track the real-time location and used the global system for mobile communication (GSM) to upload those data to the server. The GPS helps to bind and record the delivery location of the products, and this location can improve the data completeness of the logistics system. Unfortunately, the authors did not analyze or prove the security of their system.
Regarding tobacco product-related systems, Li et al. [14] proposed a retroactive system with a database. Their system could solve the problem of product tracking, but the security of traditional databases may be challenged. For example, if the administrator’s account is maliciously logged in, the data in the database can be easily tampered with by the attacker and hard to trace. Liu et al. [15] briefly introduced a financial service platform for the tobacco supply chain. These studies have provided a framework of the tobacco products’ supply chain system, however, although the second research mentioned the use of blockchain technology, the description was not complete, and it did not mention how blockchain was applied.
Recently, Humayun et al. [16] applied blockchain technology and IoT in the logistics system. The research analyzed the advantages of applying blockchain and IoT technology, but they did not analyze the security issues.
The studies listed above have advantages and disadvantages for us to refer to. Consequently, we proposed a system with a comprehensive architecture with security. In this research, we applied blockchain, RFID, and GPS technology to achieve the complete tobacco products’ logistics system.
The remaining sections of this paper are organized as follows. Section 2 briefly introduces the technologies that are used in our proposed scheme. Section 3 proposes our scheme. Section 4 analyzes the security issues. The computation cost, communication performance, and comparison discussion are given in Section 5. Finally, Section 6 concludes this paper.

2. Preliminary

2.1. Consortium Blockchain and Smart Contract

Blockchain is a technology that was carried forward by Nakamoto [17], who used blockchain to realize a decentralized peer-to-peer cryptocurrency. Blockchain is a distributed database, with the characteristic that it is difficult to arbitrarily tamper.
A smart contract is a program that can be executed automatically. The most famous blockchain-based smart contract in the world was implemented by Buterin in 2014 [18], who also founded Ethereum. The blockchain-based smart contract can be implemented in various domains, for example, digital property [19], logistics systems [20], the exhibition of cultural relics [21], will management [22], firearm management [23], etc.
In general, the most widely used blockchain currently is Ethereum [18], which is a public blockchain where everyone can store and validate the block data transparently. In order to solve privacy issues and make blockchain technology more suitable for enterprises, more types of blockchain architectures have also been developed such as private blockchain [24] and consortium blockchain [25]. In particular, the consortium blockchain is a blockchain between public and private. Generally, it is possible to specify how many peers can own the ledger, and then which peer can conduct transactions and own part of the ledger. On the other hand, every blockchain system has an important consensus algorithm to validate the blockchain, and there are various types of consensus algorithms such as Proof-of-Work (PoW), Proof-of-Stake (PoS), and Practical Byzantine Fault Tolerance (PBFT) [26].
To solve the problems encountered in business such as data privacy issues, real-time transactions, modular expansion, etc., the Linux Foundation has developed a blockchain architecture of chaincode (also known as a smart contract with additional features) that is more suitable for commercial applications, the Hyperledger Fabric [27]. The Hyperledger Fabric is a permissioned blockchain, where the chain contains the chaincode, ledger, and channel. The common implementation of the consensus algorithm in the blockchain is PBFT. Therefore, it is different from other types of blockchain architecture because it does not need a cryptocurrency-based mechanism to mine, in order to validate the ledger or execute the smart contract.
Figure 1 shows an example of the Hyperledger Fabric network from the official documentation [28]. The notation of nodes in the figures are as follows: Application (A), Certificate Authority (CA), Channel (C), Peer (P), Ordering Service (O), Ledger (L), Chaincode (S), Organization (R), and Channel Configuration (CC). The organization is defined by the Membership Services Provider (MSP), where every organization configures the channel configuration and makes each node join in a secure private channel. The certificate authority generates the certificates to the nodes, and the certificates must be signed in every transaction. When any client executes an application, the application sends a transaction proposal to all endorsing peers via the configured channel. These peers reply to a signed proposal response to the application. The transaction will package into a block by ordering the service node; the node also orders and distributes it to every peer, then the transaction is done and updates to the blockchain network.
Our scheme proposes tobacco products logistics with Hyperledger Fabric framework, where the purpose is to have more throughput for the transactions, solve the personal privacy problem, and be more suitable for the government to manage.

2.2. ECDSA

The elliptic curve digital signature algorithm (ECDSA) is the derived type of the digital signature algorithm (DSA) [29]. Johnson et al. [30] introduced that ECDSA be accepted in any global standard. ECDSA is accepted in the following standards: ISO 14888-3, ANSI X9.62, IEEE 1363-2000, FIPS 186-4, ANSI X9.142-2020.
ECDSA involves the concept of elliptic curve cryptography (ECC), the characteristic of ECC reduces the key size in the algorithm and also provides a faster calculation speed compared to DSA. According to the NIST’s minimum security-strength requirement [31], the length of n with 224 bits and SHA-512/224 for digital signature generation is required.

2.3. BAN Logic

Burrows–Abadi–Needham Logic (BAN Logic) is a method of authenticating communication protocols that was first proposed by Burrows et al. [32] in 1990. It is important to prove the security and integrity of the protocol, and the main purpose is to prove that there are no security issues in the security protocol, and that the protocol can also meet the designer’s expectations of the method.

2.4. Threat Model

According to Table 1, we sorted and reviewed the past research, and found some research gaps. Therefore, we sorted out the threat patterns that need to be overcome. The threats are generally due to system security vulnerabilities, which may cause the system to be attacked illegally by an external malicious person, or may cause the system to crash and leak data. As a result, the tobacco products logistics system will suffer from potential risks. The related risks are defined as follows:
(1)
Data integrity issues: All data stored with the system must be integrated. The system must ensure that the data will not be modified by anyone during the transmission and storing process.
(2)
Decentralized database: The blockchain center can be known as the decentralized database, with multiple agencies maintaining the same ledger or data in different locations. Once the data are verified and added to the blockchain, the block is chained with a timestamp and the previous block hash value; every modification with the blockchain needs to be verified. Therefore, it is hard to change the data in the blockchain center, and the decentralization characteristics can achieve data transparency and reliability.
(3)
Decentralized authentication: The authentication inherits the decentralized database’s characteristics. This is more secure than the general database that is set up with the central server architecture.
(4)
Message repudiation issues: To ensure the undeniable transmission of the message sent by the sender, a signature mechanism needs to be implemented to prove the message is signed by the sender.
(5)
Message transmission issues: The system must be ensured that the message will not be intercepted and altered during transmission.
(6)
Tobacco product counterfeiting issues: The counterfeiting of tobacco products can harm the health of the smoker, they never know the legal origin and quality of the products. Furthermore, the counterfeiting products will also cause the original manufacturer to lose their reputation.
(7)
Tobacco product tracking issues: These issues are linked to counterfeit issues. The government needs a complete tracking system to manage the logistics status of tobacco products.
(8)
Fair arbitration: Every system that is managed or used by a human with multiple parties cannot avoid dispute. To avoid disputing the legality of tobacco products, fair arbitration should be considered to clarify smuggled tobacco products.
(9)
Known attacks:
  • Man-in-the-middle attack: The sender needs to communicate to the receiver, the attacker intercepts the message in the middle, then the attacker is able to obtain the message from the sender and resend the same message to the receiver. Therefore, the message will be exposed, because the attack can easily obtain the content of the message in the middle.
  • Replay attack: The attacker sniffs the message sent by the sender, so the attackers can replay the message.

3. The Proposed Scheme

In this research, we proposed a blockchain-based traceable and authenticated tobacco products logistics system with GPS and RFID technologies. The proposed system is constituted of the following twelve parties: ID issuer, tobacco ID tag, mobile reader, competent authorities, manufacturer, distributor, logistics, retailer, consumer, arbitrator, auditors, and blockchain center. The system framework is shown in Figure 2.

3.1. System Architecture

  • ID Issuer (IDI): An official organization authorized by the government of the country. They receive the application of the tobacco products’ ID from the manufacturer. This party checks the validity of the manufacturer; if they are a legal company, a list of tobacco products will be generated by the chaincode in the blockchain center.
  • Tobacco ID Tag (TID): A unique ID issued by the ID issuer. The ID is a sticker-based material with a RFID tag. Every pack of legal tobacco products should have one ID tag to prevent smuggled products.
  • Mobile reader (MR): A mobile device that can read tobacco ID tags and can position the location with GPS. Every party involved in the logistics phase must have at least one MR such as the manufacturer, logistics, distributor, or retailer. These parties need to log in to the MR with their private key. Every TID on the tobacco products should be scanned by MR when the tobacco products are produced, sent, or received by the shipper or recipient.
  • Competent authorities (CA): Multiple official organizations that are authorized by the government of the country such as the Food and Drug Administration (FDA), Federal Trade Commission (FTC), Tobacco Tax, Trade Bureau (TTB), etc. Every CA must have the ledger in the blockchain center to ensure and verify the integrity of the data. The CA that provide the permits for the production of tobacco products have the highest authority and mainly deal with any connection from other parties.
  • Manufacturer (MF): A company that produces tobacco products; it can also be a tobacco importer. Before producing tobacco products, they need to apply the product’s ID from the ID Issuer. The ID that is applied and obtained from the IDI should be applied to the tobacco package.
  • Blockchain Center (BCC): The blockchain that records the logistics information of the tobacco products. When a manufacturer needs to produce tobacco products, they need to apply an ID from the IDI, the ID is generated from the BCC’s chaincode, then the TID is sent to IDI via CA before finally going to the MF. Every record of the tobacco products will need to be chained with the given ID. The chaincode in the BCC keeps checking the number of tobaccos during the logistics.
  • Distributor (DI): A company buying a large number of tobacco products from the MF is known as a wholesaler. They are also sellers who sell products to retailers.
  • Logistics (LG): A company responsible for transporting the tobacco products. They mostly use trucks to transport the products. All products entering or leaving the transportation need to scan the logistics information via MR to BCC and chain it, for example, the ID, timestamp, and GPS location.
  • Retailer (RT): A shop or store selling the unit packet of tobacco products to the consumer.
  • Consumer (CS): An ordinary person that needs to buy tobacco products from the retailer.
  • Arbitrator (AB): An official agent that is able to use a mobile device with the Internet to find counterfeit or illegal tobacco products whether the tobacco products are in retailers, distributors, etc.
  • Auditors (AU): A third-party agency. If either party is unsure of the legal source of the tobacco products, the auditors have the right to prove if there are any problems in the logistics process.
Figure 2 presents the scenarios that illustrate the process of tobacco products from the manufacturer to consumers through the distributor, retailer, and multiple logistics. There will be more than one manufacturer, distributor, retailer, and logistics in reality, so we used the basic elements to represent in this figure. A detailed description is as follows:
Step 1.
All parties involved in the tobacco products logistics chain must register an account from the BCC to obtain a unique ID and a private and public key pair.
Step 2.
When the manufacturer needs to produce a batch of tobacco products, they need to apply to the IDI for the ID to every pack, batch, or any aggregation level of the tobacco products.
Step 3.
The IDI sends the application to the CA, then the CA requests from the BCC to execute a chaincode. The BCC responds to the IDI with a list of IDs that corresponds to every pack of tobacco products.
Step 4.
The IDI approves the application from the MF and responds a list of IDs to them.
Step 5.
After receiving the IDs, MF produces tobacco products. Every pack of tobacco products needs to send the GPS location, ID, the timestamp of production, and the MF’s ID by the MR to the CA, then the information is sent and chained in the BCC.
Step 6.
The MF requests LG to deliver the products to the DI to distribute the tobacco products.
Step 7.
When LG receive the products, they need to scan and send the products’ GPS location, ID, timestamp, and LG ID to the CA, then the information is sent and chained in the BCC.
Step 8.
After LG arrive at the DI, the information of the GPS location, ID, timestamp, and LG ID also needs to be sent and chained in the BCC via CA.
Step 9.
DI needs to scan and send the products’ GPS location, ID, timestamp, and DI’s ID to CA, the information is sent and chained in the BCC.
Step 10.
DI needs LG to deliver the products while the DI sells the tobacco products to the RT.
Step 11.
Once LG receives the products from the DI, they need to scan and send the products’ GPS location, ID, timestamp, and LG ID to the CA, then the information is sent and chained in the BCC.
Step 12.
LG delivers the tobacco products to the RT, the information of the GPS location, ID, timestamp, and LG ID also needs to be sent and chained in the BCC via the CA.
Step 13.
To ensure the validity and total amount, the RT requests to scan and send the products’ GPS location, ID, timestamp, and RT ID to the CA in the last logistics session, then the information is sent and chained in the BCC. Next, the retailer starts to sell tobacco products to the consumers.
Step 14.
A consumer goes to a retailer to buy tobacco products. The consumer needs to provide their ID for the legal transaction.
Step 15.
RT sends all the transactional information including the CS ID, transaction ID, RT ID, and timestamp to the CA, then the transactional information is sent and chained in the BCC.
Step 16.
The transaction is done between the RT and CS. The tobacco product is traced until this step.
Step 17.
If any party has a dispute or doubts the legality of the tobacco product, the party can submit an arbitration request to the arbitrator.
Step 18.
The details of the tobacco products’ logistic records were chained in the BCC, and the AB can retrieve and verify the logistics record from the BCC.

3.2. Notation

I D X X is the identity, issued by blockchain center. The format of the ID is [random serial number + timestamp] (total 144 bits)
T I D Y Y is the tobacco identity, which is issued by ID issuer. The format of the ID is [random serial numbers + ID Issuer ID + manufacturer ID + manufacturing timestamp] (total 224 bits)
q A k-bit of prime number
G F ( q ) Finite group of q
E The elliptic curve defined on finite group
G A generating point based on the elliptic curve E
k i The ith random value on the elliptic curve
( r X i , s X i ) Elliptic curve signature value of X
( x X i , y X i ) An ECDSA signature value of X
d X The ECDSA’s private key of party X
Q X The ECDSA’s public key of party X
P u k X The public key of party X, issued by the BCC
P r k X The private key of party X, issued by the BCC
C X i The ith ciphertext of X
H ( M ) One way hash function
h X i The ith hash value of X
T i The ith timestamp
τ The threshold for checking the validity of a timestamp
M i The ith message from a sender
E P u k X ( M ) / D P r k x X ( M ) Encrypt/decrypt message M with a public key or private key of party X
F 1 = ? F 2 Verify that F1 is equal to F2 or not

3.3. Initialization Phase

First, we raised a blockchain center network architecture, as shown in Figure 3. There are three types of peers in the network. The CA peer is the peer governed by multiple competent authorities, so every CA’s peer has a chaincode and blockchain ledger. The BCC network also has a blockchain certificate authority (BCA). The BCA is authorized by the government department to issue authorization-related certificates to every access party such as the MF, LG, DI, and RT. Every access party has its own private channel that connects to the CA’s network, and the ledger is synchronized with the CA’s peers. Every information update through the execution of chaincode must be verified and endorsed by the CA’s peer. If it is valid, the ordering peers will order the transaction record to all of the CA’s peers.
Figure 4 and Figure 5 show the fundamental chaincode structure of our scheme. Figure 4 shows the structure to store the information of the access parties (APs); the enumeration of the role type is defined on the right side. Figure 5 shows the structure to store the tobacco product information, where every detail of the tobacco product will be appended to the structure when it passes through each access party.

3.4. Registration Phase

All parties that want to be a part of the system need to register from the BCA. The BCA generates and sends the public key and private key pair to the parties. The registration process from any access party to the blockchain center is shown in Figure 6.
Step 1.
AP provides the primary information (e.g., name, role) and sends a registration request to the BCC.
Step 2.
BCC generates an ECDSA private key d X and calculates public key Q X :
Q X = d X G
The application of registration needs to be manually approved by the CA. If the application is approved, the chaincode “Registration” will be triggered; the algorithm is shown in Algorithm 1. Then, BCC sends ( I D X , d X , Q X ) parameters to the AP.
Step 3.
AP receives ( I D X , d X , Q X ) and keeps the parameters for signing the signature message.
Algorithm 1. Chaincode registration of the proposed scheme.
var AP []AP_Information
func Registration (X_name string, X_detail string, var X_role RoleType) (UID string) {
  UID = GenerateUniqueID()
  AP = append (AP, AP_Information{
   ID: UID,
   Name: X_name,
   Detail: X_detail,
   Role: X_role,
  })
  return UID
}

3.5. Authentication Phase

In this phase, we assumed that user A is a sender, and user B is a receiver. Every sender and receiver needs to sign and verify their message with the “Sign” and “Verify” function that is shown in Algorithm 2. These two functions implement the ECDSA to achieve identity authentication. The sender generates a signature with a “Sign” function to the receiver. When the receiver receives the message, they execute a “Verify” function to verify. Similarly, when the receiver needs to respond to a message from the sender, the receiver also needs to execute a “Sign” function, then the sender needs to execute the “Verify” function when receiving the response message to ensure each other’s true identities. The flow of the process is shown in Figure 7.
Step 1.
Firstly, user A chooses a random number k 1 , then generates the message:
M 1 = ( I D A | | I D B | | T 1 )
Next, user A calculates the parameters of ECDSA:
h 1 = H ( M 1 )
( x A 1 , y A 1 ) = k 1 G
Afterward, the signatures are generated by executing the function “Sign” in Algorithm 2. In detail, it generates the signatures with the parameters:
r A 1 = x A 1 mod n
s A 1 = x A 1 1 ( h 1 + r A 1 d A ) mod n
A message is encrypted by user B’s public key:
C A 1 = E P u k B ( M 1 )
User A sends a message ( I D A , I D B , C A 1 , ( r A 1 , s A 1 ) ) to user B.
Step 2.
IDI receives the message at T 2 and uses its private key to decrypt C A 1 :
M 1 = D P r k B ( C A 1 )
Then, user B checks for the validation of the timestamp:
( T 2 T 1 ) ? τ
Next, user B executes the function “Verify” in Algorithm 2. In detail, it calculates the following parameters:
h A 1 = H ( M 1 )
u 1 = h A 1 s A 1 1 mod n
u 2 = r A 1 s A 1 1 mod n
( x A 1 , y A 1 ) = u 1 G + u 2 Q A
User B uses those calculated parameters to validate the signature:
x A 1 = ? r A 1 mod n
If the signature is valid, then user B selects a random number k 2 and generates a message:
M 2 = ( I D B | | I D A | | T 3 )
Next, user B calculates the hash value and the parameters of ECDSA to generate the signatures ( r B 1 , s B 1 ) . The signatures are generated by executing the function “Sign” in Algorithm 2:
h B 1 = H ( M 2 )
( x B 1 , y B 1 ) = k 2 G
r B 1 = x B 1 mod n
s B 1 = x B 1 1 ( h B 1 + r B 1 d B ) mod n
A message is encrypted by user A’s public key:
C B 1 = E P u k A ( M 2 )
Then, user B sends the message ( I D B , I D A , C B 1 , ( r B 1 , s B 1 ) ) to user A.
Step 3.
User A receives the message at T 4 , then decrypts the cipher message by its private key:
M 2 = D P r k A ( C B 1 )
Then, user A checks for the validation of the timestamp:
( T 4 T 3 ) ? τ
Next, user A executes the function “Verify” in Algorithm 2. User A calculates the parameters:
h B 1 = H ( M 2 )
u 1 = h B 1 s B 1 1 mod n
u 2 = r B 1 s B 1 1 mod n
( x B 1 , y B 1 ) = u 1 G + u 2 Q B
User A uses those calculated parameters to validate the signature:
x B 1 = ? r B 1 mod n
Algorithm 2. Authentication of the proposed scheme.
func Sign (h string, k string, d string) (r string, s string) {
  (x, y) = k * G;
  r = x % n
  s = (h + r * d)/x % n
  return r, s
}

func Verify (h string, r string, s string) (result string) {
  u1 = h/s % n
  u2 = r/s % n
  (x, y) = u1 * G + u2 * Q
  if x == r {
    return “valid”
  }else{
    return “invalid”
  }
}

3.6. Issuing ID and Manufacture Phase

This is the most important phase to generate the ID of the tobacco products. The flowchart is shown in Figure 8. The related chaincode is shown in Algorithm 3.
Step 1.
Before the MF starts manufacturing the tobacco products, they need to send an application to the IDI to get a obtain of TID. First, the MF chooses a random number k 3 , then generates the message with the number and information of the tobacco products:
M 3 = ( I D M F | | I D I D I | | N u m | | I n f o | | T 5 )
Next, the MF calculates the hash value with the message:
h M F 1 = H ( M 3 )
and executes the function “Sign” shown in Algorithm 2 to generate the signatures:
( r M F 1 , s M F 1 ) = S i g n ( h M F 1 , k 3 , d M F )
A message is encrypted by the IDI’s public key:
C M F 1 = E P u k I D I ( M 3 )
MF sends a message ( I D M F , I D I D I , C M F 1 , ( r M F 1 , s M F 1 ) ) to IDI to apply TID.
Step 2.
IDI receives the message at T 6 and uses its private key to decrypt C M F 1 :
M 3 = D P r k I D I ( C M F 1 )
Then, the IDI checks for the validation of the timestamp:
( T 6 T 5 ) ? τ
Next, IDI calculates the parameters:
h M F 1 = H ( M 3 )
IDI executes the function “Verify” in Algorithm 2 to validate the signature:
V e r i f y ( h M F 1 , r M F 1 , s M F 1 )
If the signature is valid, then IDI sends a request to the CA for the further ID issuing process. IDI selects a random number k 4 and generates a message:
M 4 = ( I D M F | | I D I D I | | I D C A | | N u m | | I n f o | | T 7 )
Next, IDI calculates the hash value and executes the function “Sign” in Algorithm 2 to generate the signature:
h I D I 1 = H ( M 4 )
( r I D I 1 , s I D I 1 ) = S i g n ( h I D I 1 , k 4 , d I D I )
A message is encrypted by the CA’s public key:
C I D I 1 = E P u k C A ( M 4 )
Then, the IDI sends the message ( I D I D I , I D C A , C I D I 1 , ( r I D I 1 , s I D I 1 ) ) to the CA.
Step 3.
Once CA receives the message at T 8 , then decrypt the cipher message by its private key:
M 4 = D P r k C A ( C I D I 1 )
Then, CA checks for the validation of the timestamp:
( T 8 T 7 ) ? τ
Next, CA calculates the hash value:
h I D I 1 = H ( M 4 )
The CA executes the function “Verify” in Algorithm 2 to validate the signature:
V e r i f y ( h I D I 1 , r I D I 1 , s I D I 1 )
If the signature is valid, then the chaincode “IDIssue” is triggered to generate a list of TID, the algorithm of which is shown in Algorithm 3. First, CA selects a random number k 5 and generates a message with a list of TID:
M 5 = ( I D C A | | I D I D I | | I D M F | | L i s t < T I D > | | T 9 )
Next, the CA calculates the hash value and executes “Sign” in Algorithm 2 to generate the signature:
h C A 1 = H ( M 5 )
( r C A 1 , s C A 1 ) = S i g n ( h C A 1 , k 5 , d C A )
A message is encrypted by the CA’s public key:
C C A 1 = E P u k I D I ( M 5 )
Then, CA sends the message ( I D CA , I D I D I , C C A 1 , ( r C A 1 , s C A 1 ) ) to IDI.
Step 4.
IDI receives the message at T 10 , then decrypts the cipher message by its private key:
M 5 = D P r k IDI ( C C A 1 )
Then, IDI checks for the validation of the timestamp:
( T 10 T 9 ) ? τ
Next, IDI calculates the hash value:
h C A 1 = H ( M 5 )
IDI executes the function “Verify” in Algorithm 2 to validate the signature:
V e r i f y ( h C A 1 , r C A 1 , s C A 1 )
If the signature is valid, IDI sends a response message to MF with a list of TID. IDI selects a random number k 6 and generates a message:
M 6 = ( I D M F | | I D I D I | | L i s t < T I D > | | T 11 )
Next, IDI calculates the hash value and executes the function “Sign” in Algorithm 2 to generate the signature:
h I D I 2 = H ( M 6 )
( r I D I 2 , s I D I 2 ) = S i g n ( h I D I 2 , k 6 , d I D I )
A message is encrypted with MF’s public key:
C I D I 2 = E P u k M F ( M 6 )
Then, IDI sends the message ( I D I D I , I D M F , C I D I 2 , ( r I D I 2 , s I D I 2 ) ) to MF.
Step 4.
MF receives the message from IDI, then decrypts the cipher message by its private key:
M 6 = D P r k M F ( C I D I 2 )
Then, MF checks for the validation of the timestamp:
( T 12 T 11 ) ? τ
Next, MF calculates the parameter:
h I D I 2 = H ( M 6 )
MF executes the function “Verify” in Algorithm 2 to validate the signature:
V e r i f y ( h I D I 2 , r I D I 2 , s I D I 2 )
If the signature is valid, then the MF is able to use the list of TID to manufacture. When the MF produces a tobacco product, a TID should be stuck with the pack, then the MR is used to scan the tag, and a chaincode “Manufacture” is triggered to update the information of the tobacco product, the algorithm of which is shown in Algorithm 3.
Algorithm 3. Chaincode of issuing ID and manufacture of the proposed scheme.
var TP []Tobacco_Product
count:= 0
func IDIssue (Info string, string ID_MF, int num, string CA_Signature, IDI_Signature string, MF_Signature string) (list_TID []string){
  for i:= 0; i < num; i++ {
  count = count + 1
    TP = append (TP, new Tobacco_Product{
      TID: GenerateTID(),
      Product_Information: Info,
      Generate_Datetime: time.Now(),
      Manufacturer_ID: MID,
      CA_Signature: CA_Signature,
      IDI_Signature: IDI_Signature,
      MF_Signature: MF_Signature
    })

    list_TID = append(list_TID, TP[count].TID)
  }
  return list_TID
}
func Manufacture (
ID_MF string, TID string, GPSLoc string){
  index:= SearchTID(TP, TID)
  TP[index].Manufacturing_Datetime = time.Now()
  TP[index].Factory_ID = ID_MF
  TP[index].GPSLocation = GPSLoc
}

3.7. Logistics Phase

We assumed three roles to operate in this phase: shipper (SHP), logistics (LG), and the recipient (RCP). As per the system architecture shown in Figure 2, we can assume that the shipper is a manufacturer, distributor, or retailer; the recipient is a distributor or retailer; and the logistics is a company that transfers tobacco products between the shipper and recipient. The flowchart of the logistics phase is shown in Figure 9 and Figure 10. The chaincode of logistics is shown in Algorithm 4.
Step 1.
When the SHP needs to ship a batch of tobacco products to the RCP, SHP must ship via LG. Initially, SHP selects a random number k 7 and generates a message with a list of TID:
M 7 = ( I D S H P | | I D L G | | L i s t < T I D > | | T 13 )
SHP calculates the hash value and executes “Sign” in Algorithm 2 to generate signatures ( r S H P 1 , s S H P 1 ) :
h S H P 1 = H ( M 7 )
( r S H P 1 , s S H P 1 ) = S i g n ( h S H P 1 , k 7 , d S H P )
A message is encrypted by LG’s public key:
C S H P 1 = E P u k L G ( M 7 )
Then, SHP executes the chaincode function “Shipping”, as shown in Algorithm 4. Next, SHP sends the message ( I D S H P , I D L G , C S H P 1 , ( r S H P 1 , s S H P 1 ) ) to LG.
Step 2.
LG receives the message at T 14 , then decrypts the cipher message by its private key:
M 7 = D P r k L G ( C S H P 1 )
Then, LG checks for the validation of the timestamp:
( T 14 T 13 ) ? τ
Next, LG calculates the hash value to validate the signature via “Verify” in Algorithm 2:
h S H P 1 = H ( M 7 )
V e r i f y ( h S H P 1 , r S H P 1 , s S H P 1 )
If the signature is valid, LG using MR triggers a chaincode function “Receiving” to scan and check that L i s t < T I D > is equal to the actual tobacco products in the real world, the function of which is shown in Algorithm 4. Then, LG sends a response message to the SHP. LG selects a random number k 8 and generates a message:
M 8 = ( I D L G | | I D S H P | | T 15 )
Next, LG calculates the hash value to generate the signatures via executing a “Sign” function in Algorithm 2:
h L G 1 = H ( M 8 )
( r L G 1 , s L G 1 ) = S i g n ( h L G 1 , k 8 , d L G )
A response message is encrypted with SHP’s public key:
C L G 1 = E P u k S H P ( M 8 )
Then, LG sends the message ( I D L G , I D S H P , C L G 1 , ( r L G 1 , s L G 1 ) ) to SHP.
Step 3.
SHP receives the message from LG, then uses its private key to decrypt the cipher message:
M 8 = D P r k S H P ( C L G 1 )
Then, SHP checks for the validation of the timestamp:
( T 16 T 15 ) ? τ
If the timestamp is valid, SHP calculates the hash value to validate the signatures via executing a “Verify” function in Algorithm 2:
h L G 1 = H ( M 8 )
V e r i f y ( h L G 1 , r L G 1 , s L G 1 )
If the signature is valid, then SHP starts shipping these tobacco products to the RCP.
Algorithm 4. Chaincode of logistics of the proposed scheme.
func Shipping (
ID_SHP string, ID_RCP string, TIDs []string, GPSLoc string, Signature string) {
  for i:= 0; i < TIDs.Length; i++ {
    index:= SearchTID(TIDs[i]);
    TP[index].TransportRecord.Shipper_ID = ID_SHP
    TP[index].TransportRecord.Shipper_GPSLocation = GPSLoc
    TP[index].TransportRecord.Shipper_Datetime = time.Now()
    TP[index].TransportRecord.Recipient_ID = ID_LG
    TP[index].TransportRecord.SHP_Signature = Signature
  }
}
func Receiving (
ID_SHP string, ID_RCP string, TIDs []string, GPSLoc string, Signature string) {
  for i:= 0; i < TIDs.Length; i++ {
    index:= SearchTID(TIDs[i])
    TP[index].TransportRecord.Recipient_GPSLocation = GPSLoc
    TP[index].TransportRecord.Recipient_Datetime = time.Now()
    TP[index].TransportRecord.RCP_Signature = Signature
  }
}
Step 1.
When LG arrives at the RCP location, LG starts communication and sends the batch of tobacco products to RCP. First, LG selects a random number k 9 and generates a message with a list of TID:
M 9 = ( I D LG | | I D R C P | | L i s t < T I D > | | T 17 )
LG calculates the hash value and executes the function “Sign” in Algorithm 2 to generate the signature:
h L G 2 = H ( M 9 )
( r L G 2 , s L G 2 ) = S i g n ( h L G 2 , k 9 , d L G )
A message is encrypted by the RCP’s public key:
C L G 2 = E P u k R C P ( M 9 )
Then, LG executes chaincode “Shipping”, as shown in Algorithm 4. Next, LG sends the message ( I D L G , I D R C P , C L G 2 , ( r L G 2 , s L G 2 ) ) to RCP.
Step 2.
RCP receives the message at T 18 , then decrypts the cipher message by its private key:
M 9 = D P r k R C P ( C L G 2 )
Then, RCP checks for the validation of the timestamp:
( T 18 T 17 ) ? τ
Next, RCP calculates the hash value and executes the function “Verify” in Algorithm 2 to validate the signature:
h L G 2 = H ( M 9 )
V e r i f y ( h L G 2 , r L G 2 , s L G 2 )
If the signature is valid, RCP uses MR to trigger a chaincode “Receiving” to scan and check that L i s t < T I D > is equal to the actual tobacco products, as shown in Algorithm 4. If the batch of tobacco products has no problem, then RCP sends a response message to LG. RCP selects a random number k 10 and generates a message:
M 10 = ( I D R C P | | I D L G | | T 19 )
Next, RCP calculates the hash value and executes the function “Sign” to generate the signatures:
h R C P 1 = H ( M 10 )
( r R C P 1 , s R C P 1 ) = S i g n ( h R C P 1 , k 10 , d R C P )
A response message is encrypted with the LG’s public key:
C R C P 1 = E P u k L G ( M 10 )
Then, the RCP sends the message ( I D R C P , I D L G , C R C P 1 , ( r R C P 1 , s R C P 1 ) ) to LG.
Step 3.
LG receives the message, then uses its private key to decrypt the cipher message:
M 10 = D P r k L G ( C R C P 1 )
Then, LG checks for the validation of the timestamp:
( T 20 T 19 ) ? τ
If the timestamp is valid, LG calculates the hash value and executes the function “Verify” to validate the received signatures:
h R C P 1 = H ( M 10 )
V e r i f y ( h R C P 1 , r R C P 1 , s R C P 1 )
If the signature is valid, then a round of shipping from the SHP to RCP is done.

3.8. Consumption Phase

When a consumer goes to purchase tobacco products from a retailer, the processing flow is shown in Figure 11.
Step 1.
CS goes into the RT location and selects one or more tobacco products, then proceeds to the checkout process.
Step 2.
RT starts the checkout process. First, the RT scans the TID of chosen tobacco products from CS. Then, RT selects a random number k 11 and generates a message with a list of TID:
M 11 = ( I D R T | | I D C A | | L i s t < ( T I D , P r i c e , D a t e T i m e ) > | | T 21 )
RT calculates the hash value and executes the function “Sign” in Algorithm 2 to generate the signatures:
h R T 1 = H ( M 11 )
( r R T 1 , s R T 1 ) = S i g n ( h R T 1 , k 11 , d R T )
A message is encrypted by CA’s public key:
C R T 1 = E P u k C A ( M 11 )
Then, RT sends the message ( I D L G , I D R C P , C L G 2 , ( r L G 2 , s L G 2 ) ) to CA.
Step 3.
CA receives the message at T 22 , then decrypts the cipher message by its private key:
M 11 = D P r k C A ( C R T 1 )
Then, CA checks for the validation of the timestamp:
( T 22 T 21 ) ? τ
Next, the CA calculates the hash value and executes the function “Verify” in Algorithm 2 to validate the signatures:
h R T 1 = H ( M 11 )
V e r i f y ( h R T 1 , r R T 1 , s R T 1 )
If the signature is valid, CA executes a chaincode “Purchase”, as shown in Algorithm 5, where a purchasing record is received and updated to the BCC. Then, CA selects a random number k 12 and generates a message:
M 12 = ( I D C A | | I D R T | | L i s t < P I D > | | T 23 )
Next, CA calculates the parameters and executes the function “Sign” to generate the signatures:
h C A 2 = H ( M 12 )
( r C A 2 , s C A 2 ) = S i g n ( h C A 2 , k 12 , d C A )
A response message is encrypted with RT’s public key:
C C A 2 = E P u k R T ( M 12 )
Then, CA sends the message ( I D CA , I D R T , C C A 2 , ( r C A 2 , s C A 2 ) ) to LG.
Step 4.
RT receives the message, then uses its private key to decrypt the cipher message:
M 12 = D P r k RT ( C C A 2 )
Then, RT checks for the validation of the timestamp:
( T 24 T 23 ) ? τ
If the timestamp is valid, RT calculates the hash value and executes the function “Verify” to validate the signatures:
h C A 2 = H ( M 12 )
V e r i f y ( h C A 2 , r C A 2 , s C A 2 )
If the signature is valid, then RT prints an invoice with the purchase information L i s t < ( T I D , P r i c e , D a t e T i m e , P I D , I D R T ) >
Step 5.
RT gives the printed invoice and tobacco products to the CS, then the transaction is completed.
Algorithm 5. Chaincode of consumption of the proposed scheme.
func Purchase (
ID_RT string, TIDs []string, Price []float, GPSLoc string) (Purchase_ID []string, Payment_DT []time.Time){

  for i:= 0; i < TIDs.Length; i++ {
    index:= SearchTID(TIDs[i])
    TP[index].Retailer_ID = ID_RT
    TP[index].Payment_Datetime = time.Now()
    TP[index].Payment_GPSLocation = GPSLoc
    TP[index].Purchase_ID = GeneratePurchaseID()
    TP[index].Payment_Price = Price[i]
    Purchase_ID = append(Purchase_ID, TP[index].Purchase_ID)
    Payment_Datetime = append(Payment_Datetime, TP[index].Payment_DT)
  }
  return Purchase_IDs
}

3.9. Verification Phase (Consumer-End)

Sometimes consumers may doubt the legality of the tobacco products that they purchased from the retailer, so they can use the mobile application to check the legality of the tobacco products. Figure 12 shows the consumer checking flowchart where the detailed steps are as follows:
Step 1.
Consumers are required to provide the consumption information by mobile application such as the tobacco ID (TID), retailer ID, purchase ID, and the timestamp purchase that is printed in the invoice.
Step 2.
The application executes a chaincode “GetTobaccoInfo”, as shown in Algorithm 6.
Step 3.
If the TID is valid, the BCC returns the tobacco detailed information. Otherwise, the BCC returns that the TID is not valid, so we can determine that this is an illegal tobacco product or trade.
Step 4.
The mobile application shows the results of the chaincode, where consumers can obtain the legality and logistics status of the tobacco products.
Algorithm 6. Chaincode verification of the proposed scheme.
func GetTobaccoInfo (TID string, RetailerID string, PurchaseID string, PurchaseDateTime time.Time) (result string){
  index:= SearchTID(TID)
  if index >= 0
  && TP[index]. Retailer_ID == RetailerID
  && TP[index]. Purchase_ID == PurchaseID
  && TP[index]. Payment_Datetime == PurchaseDateTime {
    result = TP[index]’s information
  }else{
    result = “Tobacco invalid”
}
  return result

}

func Verification (string ID_AP, string TID, RoleType type) (Is_legal bool){
  index:= SearchTID(TID)
  if type == RoleType.Manufacturer {
    If ID_AP!= TP[index].Manufacturer_ID {
      return false
    }
  }else{
    last_index:= len(TransportRecord)-1
    If ID_AP!= TP[index].TransportRecord[last_index].Recipient_ID {
      return false
    }
  }
  return true
}

3.10. Verification Phase (Auditor-End)

In particular, government agencies will regularly check whether there are counterfeit tobacco products on the market that have not been approved or authenticated by the CA. Figure 13 shows the audit mechanism flow to verify the tobacco products. The detailed steps are as follows:
Step 1.
AU uses the MR to scan the TID of tobacco products randomly from the company such as a retailer, logistics, distributor, or manufacturer.
Step 2.
The application will send the selected tobacco ID, company ID, and its role type to CA.
Step 3.
CA triggers a chaincode “Verification” in the BCC to verify the legality of tobacco products, where the chaincode is shown in Algorithm 6.
Step 4.
BCC returns the legality result to the CA.
Step 5.
CA responds to the result to the AU, if it is not legal, then the AU enforces the law on the illegal tobacco product and company.

3.11. Arbitration Phase

When any access party doubts the authenticity of the origin of the tobacco products, they can arbitrate its legality through a third-party arbitrator. The arbitration flow is shown in Figure 14. The detailed steps are described as follows:
Step 1.
AP provides the specific tobacco products’ TID to the AU.
Step 2.
AU sends a request message with their signature and TID to the BCC.
Step 3.
BCC checks the signature; if the signature is valid, then the AU responds to a list of signatures to the AU.
Step 4.
The AU starts to check the validity of signatures.
  • If the RT signature is illegal, then the record is forged by the RT.
  • Then, the AU extracts the list of the “Transport Record” of tobacco information and obtains the RCP and SHP signature.
  • If the RCP signature is illegal, then the record is forged by the RCP.
  • If the SHP signature is illegal, then the record is forged by the SHP.
  • Confirm that the record is the last data of the list of “Transport Record”. If it is not, go to step 4b, otherwise go to the next step.
  • If the MF signature is illegal, then the record is forged by the MF.
  • If there are no illegal signatures, then the logistics record is legal and verified by the AU.

4. Security Analysis

4.1. Mutual Authentication

We used BAN logic to verify the mutual authentication in the authentication phase. The notation of BAN logic is described below.
{ X } K The message X is encrypted by a key K
P S K Q P and Q use a shared key SK to communicate
P | X P believes X (belief rule)
P X P sees X (seeing rule)
P | X P once said X (message meaning rule)
P | X P has jurisdiction over X (jurisdiction rule)
# ( X ) The message X is new (freshness rule)
The goals of the authentication analysis are:
  • G1: A | A x A 1 B
  • G2:  A | B | A x A 1 B
  • G3:  B | A x B 1 B
  • G4:  B | A | A x B 1 B
  • G5: A | I D B
  • G6: A | B | I D B
  • G7:  B | I D A
  • G8: B | A | I D A
According to the authentication algorithm, BAN logic was used to produce an idealized form as follows:
  • M1: UserA→UserB ( { I D A , I D B , T 1 } P u k B , r A 1 , s A 1 )
  • M2: UserB→UserA ( { I D B , I D A , T 3 } P u k A , r B 1 , s B 1 )
To analyze the proposed scheme, the following assumptions were made:
  • A1: A | # ( T 1 )
  • A2: B | # ( T 1 )
  • A3: A | # ( T 3 )
  • A4: B | # ( T 3 )
  • A5: A | B | B x B 1 A
  • A6: B | A | A x A 1 B
  • A7: A | B | I D B
  • A8: B | A | I D A
  • User B authenticates user A
By M1 and the seeing rule, derive:
B ( { I D A , I D B , T 1 } P u k B , r A 1 , s A 1 ) (Statement 1)
By A2 and the freshness rule, derive:
B | # ( { I D A , I D B , T 1 } P u k B , r A 1 , s A 1 ) (Statement 2)
By (Statement 1) and the message meaning rule derive:
B | A | ~ ( I D A , I D B , T 1 , r A 1 , s A 1 ) (Statement 3)
By (Statement 2), (Statement 3) and the nonce verification rule, derive:
B | A | ( I D A , I D B , T 1 , r A 1 , s A 1 ) (Statement 4)
By (Statement 4) and the belief rule, derive (G4):
B | A | A x A 1 B (Statement 5)
By (Statement 5), A6, and the jurisdiction rule, derive (G3):
B | A x A 1 B (Statement 6)
By (Statement 4) and the belief rule, derive (G8):
B | A | I D A (Statement 7)
By (Statement 7), A8, and the belief rule, derive (G7):
B | I D A (Statement 8)
b.
User A authenticates user B
By M1 and the seeing rule, derive:
A ( { I D B , I D A , T 3 } P u k A , r B 1 , s B 1 ) (Statement 9)
By A3 and the freshness rule, derive:
A | # ( { I D B , I D A , T 3 } P u k A , r B 1 , s B 1 ) (Statement 10)
By (Statement 9) and the message meaning rule derive:
A | B | ~ ( I D B , I D A , T 3 , r B 1 , s B 1 ) (Statement 11)
By (Statement 10), (Statement 11) and the nonce verification rule, derive:
A | B | ( I D B , I D A , T 3 , r B 1 , s B 1 ) (Statement 12)
By (Statement 12) and the belief rule, derive (G2):
A | B | B x B 1 A (Statement 13)
By (Statement 13), A5 and the jurisdiction rule, derive (G1):
A | B x B 1 A (Statement 14)
By (Statement 12) and the belief rule, derive (G6):
A | B | I D B (Statement 15)
By (Statement 15), A7, and the belief rule, derive (G5):
A | I D B (Statement 16)
By (Statement 6), (Statement 8), (Statement 14), and (Statement 16), these statements authenticate the identities of user A and user B mutually in the proposed scheme.

4.2. Unforgeable Record

We implemented a blockchain-based system in the proposed scheme shown in Figure 15. Each CA had a ledger, and the blocks in the ledger were synchronized with the PBFT consensus algorithm. When an accessing party executes a chaincode function, the modification of the chaincode will be chained to the ledger. The latest ledger will be validated from every CA department that participates in the blockchain center. It is hard to modify and forge the data in the ledger.
Furthermore, we designed the structure of data as shown in Figure 4 and Figure 5. The structure of the chaincode stores the complete information of tobacco including the manufacturer and logistics record with GPS location. Therefore, all information and the logistics records of tobacco can be tracked. Consequently, the logistics records cannot be forged and can be tracked correctly in our blockchain-based system.

4.3. Non-Repudiation

In the proposed scheme, we used ECDSA to achieve the repudiation issues. Every message transmitted by the sender must sign with their private key, then the receiver can be verified using its public key. We have sorted a list of verification equations that need to be verified by the receiver in every phase, as shown in Table 2.

4.4. Integrity

To ensure the integrity of data when communicating between the sender and receiver, we used the hash function to hash data in the signature value. The signatures with the hash value of all the phases are listed in Table 3, for example, in the issuing and manufacture phase, the MF signs the signature s M F 1 with a hash value h M F 1 . All the signatures were calculated with the ECDSA and verified by the receiver, as shown in Table 2.

4.5. Resist Known Attacks

4.5.1. Replay Attack

To resist replay attack, every encrypted message is added to a sending timestamp and check to see whether the timespan is valid. The timestamp is validated in every phase to resist replay attack, and the validations are shown in Equations (9), (22), (33), (41), (49), (57), (65), (73), (81), (89), (97), and (105). For example, in the issuing ID and manufacture phase, MF adds a timestamp T 5 in the message M 3 , then encrypts the M 3 with a cipher message C M F 1 . The IDI decrypts the message after receiving the cipher message, then checks for the validation of the timestamp. The related equations are shown as follows:
M 3 = ( I D M F | | I D I D I | | N u m | | I n f o | | T 5 )
C M F 1 = E P u k I D I ( M 3 )
M 3 = D P r k I D I ( C M F 1 )
( T 6 T 5 ) ? τ
Scenario: The attacker listens to a message that is sent from the sender to the receiver. After that, the attacker re-sends the same message to the receiver to achieve a replay attack.
Analysis: The receiver decrypts and obtains the timestamp in the message, then subtracts the timestamp with the current time; if the timespan is larger than the threshold, it means that the message is a replay attack, so the attack is foiled.

4.5.2. Main-in-the-Middle Attack (MITM)

The MITM is an attack where an attacker will be in the middle of the sender and receiver, listening or modifying the messages between each other. In the method, we added an encryption and decryption mechanism to the communication protocol. These encrypted and decrypted scenarios are shown in Equations (7), (8), (20), (21), (31), (32), (39), (40), (47), (48), (55), (56), (63), (64), (71), (72), (79), (80), (87), (88), (95), (96), (103), and (104). For example, in the logistics shipping phase, SHP encrypts the message M 7 to a cipher message C S H P 1 with LG’s public key P u k L G . The LG decrypts the message after receiving the cipher message with their private key P r k L G . The related equations are shown as follows:
C S H P 1 = E P u k L G ( M 7 )
M 7 = D P r k L G ( C S H P 1 )
Scenario: The attacker eavesdrops or tampers with the communication messages between the sender and receiver and analyzes the content.
Analysis: The message is encrypted with the receiver’s public key, and the receiver must have a relevant private key to decrypt the message. However, the attacker did not have the private key of the receiver, so they are unable to decrypt the message to learn the content of the transmission.

5. Discussion

5.1. Computation Cost

First, we analyzed the computational costs of each phase. We used asymmetrical encryption/decryption, hash functions, addition, subtraction, multiplication, and division operation as the basis for calculating the costs. The costs of each phase are shown in Table 4.

5.2. Communication Performance

In Table 5, the communication performance was analyzed within every phase. The maximum transmission speed is 100 Mbps in a 4G environment, and the maximum transmission speed is 20 Gbps in a 5G environment [33].
In our analysis, it was assumed that an ID message required 144 bits, a cipher message required at least 512 bits, and a signature message required 1024 bits. We assumed 512 bits of a cipher message by the minimum length of the message (2 IDs, 1 Timestamp, and 2 others) that is sent at the issuing ID and manufacture phase, which is 2 × 144 bits + 1 × 64 bits + 2 × 80 bits = 512 bits.
With the above definition, we used the transmitted message as the calculated communication cost. For example, in the logistics shipping phase, SHP sends two IDs, one cipher message, one signature to LG, then LG sends two IDs, one cipher message, and one signature to SHP for a response message. In total, it requires 4 × 144 bits + 2 × 512 bits + 2 × 1024 bits. In a 4G environment, it only takes 36 µs to transfer all the messages. In a 5G environment, the transmission time only needs 0.18 us to complete the authentication phase.

5.3. Comparison

We used the EU’s final report [5] as the target of comparison, and Table 6 shows the comparison between our scheme and the EU’s tobacco products logistics tracking system.
The EU has proposed a scheme with a general database with the defined field. The flexibility of the general database is very low, because the predefined field is fixed in advance, and the query connection between multiple tables is hard to modify when the system needs to upgrade. Our scheme used a blockchain-based decentralized ledger, so the blockchain has the characteristics of high flexibility and data integrity. By the way, we used the signature mechanism to ensure the message non-repudiation issue.
Additionally, both systems can trace the data record. However, our scheme provides verifiability between the records as the blockchain system has a strong connection between every record with blocks, and the newly added block contains the hash value of the previous block to ensure that the data are not easily tampered with.
According to the EU’s scheme, they need to set up the routing path before generating the tobacco ID. Compared to the EU scheme, our method can update the routing path dynamically via the logistics phase, where every record is appended to the chaincode’s tobacco information. Therefore, the manufacturer, distributor, or retailer can transport the tobacco products more flexibly.
To sum up, our blockchain-based method can improve the security and integrity of data and provide greater flexibility in updating logistics information.

6. Conclusions

We proposed a traceable and verifiable blockchain-based logistics system for tobacco products. We also proposed the chaincode algorithm and complete system architecture was raised in the scheme. Every tobacco product’s logistics record can be scanned and recorded to the blockchain center via a mobile reader, so the authorized department or consumer can easily track the logistics of tobacco products. If there is any doubt about the tobacco products, any party is able to send a request to a third-party arbitrator to check which part in the supply chain is illegal.
For the security of our system, we applied the ECDSA in the communication protocol to achieve a more secure system. The security of the system was analyzed such as mutual authentication, unforgeable data, non-repudiation, and integrity. In particular, for mutual authentication, we used BAN logic to prove that the communication was secure. Furthermore, the proposed protocol also prevents replay attacks and man-in-the-middle attacks, and it is hard to attack our system with validation of the timestamp and encryption/decryption of communication messages.
We also compared our proposed scheme with the EU’s scheme. The EU provides a general framework for the system, whereas our scheme focused more on how to realize the system with blockchain-based, GPS and RFID technologies. In the comparison, we found that our system had higher flexibility and was more secure.
To sum up, our research achieved the following contributions:
(1)
Clarifies the Hyperledger Fabric architecture and applies the blockchain technology to the field of transporting tobacco products.
(2)
The proposed blockchain-based system synchronizes the logistics record in the ledger via a secure private channel. Tobacco products are hard to forge or smuggle by a malicious party.
(3)
A verification phase was designed to provide consumers and auditors with the ability to check the legality of tobacco products. When illegal tobacco products are found, the access party can raise any doubts and the arbitrator can find out which party acted illegally in the logistics process.
(4)
Compared with the EU’s scheme, the access party can scan the TID and update to the blockchain during the logistics phase, so the mechanism provides a flexible way to update the logistics records to the blockchain.
(5)
Provide security verification and simulation against known threats or attacks.
(6)
Use BAN Logic to prove the security of mutual authentication.
This research proposes a system architecture that uses blockchain, GPS and RFID technologies to trace logistics records. This structure is also applicable to the application example of information tracking of all enterprise organizations and alliance chains.

Author Contributions

The authors’ contributions are summarized below. Z.-Y.L. and C.-L.C. made substantial contributions to the conception and design. Z.-Y.L. and C.-L.C. were involved in drafting the manuscript. Z.-Y.L. and Y.-Y.D. acquired data and analyzed and conducted the interpretation of the data. The critically important intellectual content of this manuscript was revised by H.-C.L., Y.-Y.D., and P.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (No. 61801 413).

Institutional Review Board Statement

This study was based entirely on theoretical basic research and did not involve humans.

Informed Consent Statement

This study was based entirely on theoretical basic research and did not involve humans.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. CTP Glossary|FDA—Tobacco Product. Available online: https://www.fda.gov/tobacco-products/compliance-enforcement-training/ctp-glossary#:~:text=Tobacco%20product%20%2D%20 (accessed on 12 March 2021).
  2. WHO—Tobacco. Available online: https://www.who.int/en/news-room/fact-sheets/detail/tobacco (accessed on 12 March 2021).
  3. WHO Framework Convention on Tobacco Control; World Health Organization: Geneva, Switzerland, 2003.
  4. Joossens, L.; Raw, M. From cigarette smuggling to illicit tobacco trade: Table 1. Tob. Control 2012, 21, 230–234. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Implementation Analysis Regarding the Technical Specifications and Other Key Elements for a Future EU System for Traceability and Security Features in the Field of Tobacco Products: Final Report; Consumers, Health, Agriculture and Food Executive Agency, Health Unit: Luxembourg, 2018; p. 114.
  6. Products, Guidance & Regulations|FDA. Available online: https://www.fda.gov/tobacco-products/products-guidance-regulations (accessed on 12 March 2021).
  7. GS1 Barcodes—Standards. Available online: https://www.gs1.org/standards/barcodes (accessed on 12 March 2021).
  8. Azevedo, S.G.; Carvalho, H. Contribution of RFID technology to better management of fashion supply chains. Int. J. Retail. Distrib. Manag. 2012, 40, 128–156. [Google Scholar] [CrossRef]
  9. Wyld, D.C. Death sticks and taxes: RFID tagging of cigarettes. Int. J. Retail. Distrib. Manag. 2008, 36, 571–582. [Google Scholar] [CrossRef]
  10. Kamilaris, A.; Fonts, A.; Prenafeta-Boldύ, F.X. The rise of blockchain technology in agriculture and food supply chains. Trends Food Sci. Technol. 2019, 91, 640–652. [Google Scholar] [CrossRef] [Green Version]
  11. Wang, S.; Tao, Y.; Wang, G. UHF RFID Tag for Integration into a Cigarette Pack. IEEE Antennas Wirel. Propag. Lett. 2011, 10, 1433–1436. [Google Scholar] [CrossRef]
  12. Shi, J.; Li, Y.; He, W.; Sim, D. SecTTS: A secure track & trace system for RFID-enabled supply chains. Comput. Ind. 2012, 63, 574–585. [Google Scholar] [CrossRef]
  13. Prasanna, K.; Hemalatha, M. RFID GPS and GSM based logistics vehicle load balancing and tracking mechanism. Procedia Eng. 2012, 30, 726–729. [Google Scholar] [CrossRef] [Green Version]
  14. Li, Y.; Xu, L.; Zhao, S. Tobacco Logistics Retroactive System Research Based on RFID Technology. Internet Things Cloud Comput. 2016, 4, 39. [Google Scholar] [CrossRef] [Green Version]
  15. Liu, H.; Li, Z.; Cao, N. Framework Design of Financial Service Platform for Tobacco Supply Chain Based on Blockchain. In Proceedings of the International Conference on Algorithms and Architectures for Parallel Processing, Guangzhou, China, 15–17 November 2018; pp. 145–150. [Google Scholar]
  16. Humayun, M.; Jhanjhi, N.; Hamid, B.; Ahmed, G. Emerging Smart Logistics and Transportation Using IoT and Blockchain. IEEE Internet Things Mag. 2020, 3, 58–62. [Google Scholar] [CrossRef]
  17. Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2019. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 11 February 2012).
  18. Buterin, V. A next-generation smart contract and decentralized application platform. Ethereum White Paper 2014, 3, 36. [Google Scholar]
  19. Wang, Y.-C.; Chen, C.-L.; Deng, Y.-Y. Authorization Mechanism Based on Blockchain Technology for Protecting Museum-Digital Property Rights. Appl. Sci. 2021, 11, 1085. [Google Scholar] [CrossRef]
  20. Chen, C.-L.; Deng, Y.-Y.; Weng, W.; Zhou, M.; Sun, H. A blockchain-based intelligent anti-switch package in tracing logistics system. J. Supercomput. 2021, 1–42. [Google Scholar] [CrossRef]
  21. Wang, Y.-C.; Chen, C.-L.; Deng, Y.-Y. Museum-Authorization of Digital Rights: A Sustainable and Traceable Cultural Relics Exhibition Mechanism. Sustainability 2021, 13, 2046. [Google Scholar] [CrossRef]
  22. Chen, C.-L.; Lin, C.-Y.; Chiang, M.-L.; Deng, Y.-Y.; Chen, P.; Chiu, Y.-J. A Traceable Online Will System Based on Blockchain and Smart Contract Technology. Symmetry 2021, 13, 466. [Google Scholar] [CrossRef]
  23. Chen, C.-L.; Chiang, M.-L.; Deng, Y.-Y.; Weng, W.; Wang, K.; Liu, C.-C. A Traceable Firearm Management System Based on Blockchain and IoT Technology. Symmetry 2021, 13, 439. [Google Scholar] [CrossRef]
  24. Kwak, K.H.; Kong, J.T.; Cho, S.I.; Phuong, H.T.; Gim, G.Y. A Study on the Design of Efficient Private Blockchain. In Artificial Intelligence: Foundations, Theory, and Algorithms; Springer Science and Business Media LLC: Berlin/Heidelberg, Germany, 2018; pp. 93–121. [Google Scholar]
  25. Li, Z.; Kang, J.; Yu, R.; Ye, D.; Deng, Q.; Zhang, Y. Consortium Blockchain for Secure Energy Trading in Industrial Internet of Things. IEEE Trans. Ind. Inform. 2017, 14, 1. [Google Scholar] [CrossRef] [Green Version]
  26. Mingxiao, D.; Xiaofeng, M.; Zhe, Z.; Xiangwei, W.; Qijun, C. A review on consensus algorithm of blockchain. In Proceedings of the 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Banff, AB, Canada, 5–8 October 2017; pp. 2567–2572. [Google Scholar]
  27. Androulaki, E.; Barger, A.; Bortnikov, V.; Cachin, C.; Christidis, K.; Caro, A.D.; Enyeart, D.; Ferris, C.; Laventman, G.; Manevich, Y.; et al. Hyperledger fabric: A distributed operating system for permissioned blockchains. In Proceedings of the Thirteenth EuroSys Conference, Porto, Portugal, 23–26 April 2018. [Google Scholar]
  28. How Fabric Networks Are Structured—Hyperledger-Fabricdocs Main Documentation. Available online: https://hyperledger-fabric.readthedocs.io/en/latest/network/network.html (accessed on 30 April 2021).
  29. Vanstone, S. Responses to NIST’s proposal. Commun. ACM 1992, 35, 50–52. [Google Scholar]
  30. Johnson, D.; Menezes, A.; Vanstone, S. The Elliptic Curve Digital Signature Algorithm (ECDSA). Int. J. Inf. Secur. 2001, 1, 36–63. [Google Scholar] [CrossRef]
  31. Elaine Barker, A.R. Transitioning the Use of Cryptographic Algorithms and Key Lengths; National Institute of Standards and Technology, Computer Security Division, Information Technology Laboratory: Gaithersburg, MD, USA, 2019.
  32. Burrows, M.; Abadi, M.; Needham, R.M. A logic of authentication. ACM Trans. Comput. Syst. 1990, 8, 18–36. [Google Scholar] [CrossRef]
  33. Kaur, K.; Kumar, S.; Baliyan, A. 5G: A new era of wireless communication. Int. J. Inf. Technol. 2020, 12, 619–624. [Google Scholar] [CrossRef]
Figure 1. Hyperledger Fabric blockchain network [28].
Figure 1. Hyperledger Fabric blockchain network [28].
Applsci 11 04939 g001
Figure 2. System architecture diagram.
Figure 2. System architecture diagram.
Applsci 11 04939 g002
Figure 3. Blockchain center network architecture.
Figure 3. Blockchain center network architecture.
Applsci 11 04939 g003
Figure 4. Chaincode structure of the access party and the enumeration of the role type.
Figure 4. Chaincode structure of the access party and the enumeration of the role type.
Applsci 11 04939 g004
Figure 5. The chaincode structure of the tobacco products.
Figure 5. The chaincode structure of the tobacco products.
Applsci 11 04939 g005
Figure 6. The flowchart of the registration phase.
Figure 6. The flowchart of the registration phase.
Applsci 11 04939 g006
Figure 7. The flowchart of the authentication phase.
Figure 7. The flowchart of the authentication phase.
Applsci 11 04939 g007
Figure 8. The flowchart of the issuing ID and manufacture phase.
Figure 8. The flowchart of the issuing ID and manufacture phase.
Applsci 11 04939 g008
Figure 9. The flowchart of the logistics phase from shipper to logistics.
Figure 9. The flowchart of the logistics phase from shipper to logistics.
Applsci 11 04939 g009
Figure 10. The flowchart of the logistics phase from logistics to the recipient.
Figure 10. The flowchart of the logistics phase from logistics to the recipient.
Applsci 11 04939 g010
Figure 11. The flowchart of the consumption phase.
Figure 11. The flowchart of the consumption phase.
Applsci 11 04939 g011
Figure 12. Consumer checking tobacco in the verification phase.
Figure 12. Consumer checking tobacco in the verification phase.
Applsci 11 04939 g012
Figure 13. The audit mechanism in the verification phase.
Figure 13. The audit mechanism in the verification phase.
Applsci 11 04939 g013
Figure 14. The validation flow in the arbitration phase.
Figure 14. The validation flow in the arbitration phase.
Applsci 11 04939 g014
Figure 15. The mechanism of the blockchain architecture.
Figure 15. The mechanism of the blockchain architecture.
Applsci 11 04939 g015
Table 1. Survey of related works.
Table 1. Survey of related works.
AuthorsYearObjectiveTechnologies123456
Wyld [9]2008RFID tag sticks to cigarettes and taxesRFIDNYNNYN
Wang et al. [11]2011RFID tag integration into a cigarette packRFIDNYNNYN
Carvalho et al. [8]2012Deploy RFID to fashion supply chainsRFIDNNYYYN
Shi et al. [12]2012Track and trace system for supply chainsRFIDNNYYYY
Prasanna et al. [13]2012Logistics vehicle load balancing and tracking mechanismRFID, GPS, GSMNNYYYN
Li et al. [14]2016Tobacco logistics retroactive systemRFID, databaseNYYYYN
Liu et al. [15]2018Financial service platform for tobacco supply chainBlockchainYYYNNN
Humayun et al. [16]2020Smart logistics and transportation using IoT and BlockchainBlockchain, IoTYNYYNN
Notes: 1: Focus on a blockchain, 2: Focus on tobacco products, 3: Proposing an architecture or framework, 4: Focus on logistics, 5. RFID/GPS-enabled, 6: Security analysis, Y: Yes, N: No.
Table 2. Non-repudiation’s verification of the proposed scheme.
Table 2. Non-repudiation’s verification of the proposed scheme.
PhasePartyVerification Function
SenderReceiver
Authentication PhaseAB V e r i f y ( h A 1 , r A 1 , s A 1 )
BA V e r i f y ( h B , r B 1 , s B 1 )
Issuing and Manufacture PhaseMFIDI V e r i f y ( h M F 1 , r M F 1 , s M F 1 )
IDICA V e r i f y ( h I D I 1 , r I D I 1 , s I D I 1 )
CAIDI V e r i f y ( h C A 1 , r C A 1 , s C A 1 )
IDIMF V e r i f y ( h I D I 2 , r I D I 2 , s I D I 2 )
Logistics Phase (Shipping)SHPLG V e r i f y ( h S H P 1 , r S H P 1 , s S H P 1 )
LGSHP V e r i f y ( h L G 1 , r L G 1 , s L G 1 )
Logistics Phase (Receiving)LGRCP V e r i f y ( h L G 2 , r L G 2 , s L G 2 )
RCPLG V e r i f y ( h R C P 1 , r R C P 1 , s R C P 1 )
Consumption PhaseRTCA V e r i f y ( h R T 1 , r R T 1 , s R T 1 )
CART V e r i f y ( h C A 2 , r C A 2 , s C A 2 )
Table 3. Non-repudiation’s verification of the proposed scheme.
Table 3. Non-repudiation’s verification of the proposed scheme.
PhasePartySignature
SenderReceiver
Authentication PhaseAB ( r A 1 , s A 1 ) = S i g n ( h A 1 , k 1 , d A )
BA ( r B 1 , s B 1 ) = S i g n ( h B 1 , k 2 , d B )
Issuing and Manufacture PhaseMFIDI ( r M F 1 , s M F 1 ) = S i g n ( h M F 1 , k 3 , d M F )
IDICA ( r I D I 1 , s I D I 1 ) = S i g n ( h I D I 1 , k 4 , d I D I )
CAIDI ( r C A 1 , s C A 1 ) = S i g n ( h C A 1 , k 5 , d C A )
IDIMF ( r I D I 2 , s I D I 2 ) = S i g n ( h I D I 2 , k 6 , d I D I )
Logistics Phase (Shipping)SHPLG ( r S H P 1 , s S H P 1 ) = S i g n ( h S H P 1 , k 7 , d S H P )
LGSHP ( r L G 1 , s L G 1 ) = S i g n ( h L G 1 , k 8 , d L G )
Logistics Phase (Receiving)LGRCP ( r L G 2 , s L G 2 ) = S i g n ( h L G 2 , k 9 , d L G )
RCPLG ( r R C P 1 , s R C P 1 ) = S i g n ( h R C P 1 , k 10 , d R C P )
Consumption PhaseRTCA ( r R T 1 , s R T 1 ) = S i g n ( h R T 1 , k 11 , d R T )
CART ( r C A 2 , s C A 2 ) = S i g n ( h C A 2 , k 12 , d C A )
Table 4. Computation costs of the proposed scheme.
Table 4. Computation costs of the proposed scheme.
Phase1st Role2nd Role3rd Role
Authentication PhaseUser A:
2Tasy + 2Th + 2Tadd + 1Tsub + 4Tmul + 3Tdiv
User B:
2Tasy + 2Th + 2Tadd + 1Tsub + 3Tmul + 3Tdiv
N/A
Issuing and Manufacture PhaseManufacturer:
2Tasy + 2Th + 2Tadd + 1Tsub + 4Tmul + 3Tdiv
IDI Issuer:
4Tasy + 4Th + 4Tadd + 2Tsub + 6Tmul + 6Tdiv
Competent Authorities:
2Tasy + 2Th + 2Tadd + 1Tsub + 3Tmul + 3Tdiv
Logistics Phase (Shipping)Shipper:
2Tasy + 2Th + 2Tadd + 1Tsub + 4Tmul + 3Tdiv
Logistics:
2Tasy + 2Th + 2Tadd + 1Tsub + 3Tmul + 3Tdiv
N/A
Logistics Phase (Receiving)Logistics:
2Tasy + 2Th + 2Tadd + 1Tsub + 4Tmul + 3Tdiv
Recipient:
2Tasy + 2Th + 2Tadd + 1Tsub + 3Tmul + 3Tdiv
N/A
Consumption PhaseConsumer:
N/A
Retailer:
2Tasy + 2Th + 2Tadd + 1Tsub + 4Tmul + 3Tdiv
Competent Authorities:
2Tasy + 2Th + 2Tadd + 1Tsub + 3Tmul + 3Tdiv
Notes: Tasy: asymmetrical encryption/decryption; Th: a hash operation; Tadd: an additional operation; Tsub: a subtraction operation. Tmul: a multiplication operation; Tdiv: a division operation; Texp: an exponential operation
Table 5. Communication costs of the proposed scheme.
Table 5. Communication costs of the proposed scheme.
Message Length4G (100 Mbps)5G (20 Gbps)
Authentication Phase3648 bits36 µs0.18 µs
Issuing and Manufacture Phase7296 bits71 µs0.36 µs
Logistics Phase (Shipping)3648 bits36 µs0.18 µs
Logistics Phase (Receiving)3648 bits36 µs0.18 µs
Consumption Phase3648 bits36 µs0.18 µs
Notes: LID: an ID (144 bits); Lm: a cipher message (512 bits); Lsig: signature parameters (1024 bits).
Table 6. Comparison of the tobacco products logistics system.
Table 6. Comparison of the tobacco products logistics system.
EU’s Scheme [5]Our Scheme
DatabaseGeneral databaseBlockchain-based
Decentralized ledger
FlexibilityLowHigh
Data integrityLowHigh
Message non-repudiationN/AHigh
Traceable recordYesYes
Verifiable recordNoYes
Tampering dataEasyHard
Tracking record establishmentPre-set routingUpdate routing dynamically
Security analysisYesYes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chen, C.-L.; Lim, Z.-Y.; Liao, H.-C.; Deng, Y.-Y.; Chen, P. A Traceable and Verifiable Tobacco Products Logistics System with GPS and RFID Technologies. Appl. Sci. 2021, 11, 4939. https://doi.org/10.3390/app11114939

AMA Style

Chen C-L, Lim Z-Y, Liao H-C, Deng Y-Y, Chen P. A Traceable and Verifiable Tobacco Products Logistics System with GPS and RFID Technologies. Applied Sciences. 2021; 11(11):4939. https://doi.org/10.3390/app11114939

Chicago/Turabian Style

Chen, Chin-Ling, Zi-Yi Lim, Hsien-Chou Liao, Yong-Yuan Deng, and Peizhi Chen. 2021. "A Traceable and Verifiable Tobacco Products Logistics System with GPS and RFID Technologies" Applied Sciences 11, no. 11: 4939. https://doi.org/10.3390/app11114939

APA Style

Chen, C. -L., Lim, Z. -Y., Liao, H. -C., Deng, Y. -Y., & Chen, P. (2021). A Traceable and Verifiable Tobacco Products Logistics System with GPS and RFID Technologies. Applied Sciences, 11(11), 4939. https://doi.org/10.3390/app11114939

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop